/* UPep - laman utama */
.upep-home{--n:#0b2a4a;--n2:#143e6b;--g:#d9a521;--g2:#f1c75b;--ink:#14213d;--mut:#5b6b80;--ln:#e3e8ef;--bg:#f5f7fa;--ivory:#fbf8f1;
  font-family:"Segoe UI",Inter,system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);line-height:1.6}
.upep-home *{box-sizing:border-box}
.upep-home a{text-decoration:none}
.uh-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
.uh-sec{padding:72px 0}
.uh-kicker{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#a87a0c}
.uh-head{margin:0 0 32px}
.uh-head h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3.4vw,38px);line-height:1.2;color:var(--n);font-weight:700}
.uh-sub{margin:8px 0 0;color:var(--mut)}
.uh-head--row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.uh-head--light .uh-kicker{color:var(--g2)}.uh-head--light h2{color:#fff}
.uh-link{font-weight:700;color:var(--n2);border-bottom:2px solid var(--g);padding-bottom:2px}
.uh-link:hover{color:var(--n)}

/* Butang */
.uh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 26px;border-radius:12px;font-weight:700;font-size:15.5px;transition:transform .18s,box-shadow .18s,background .18s;border:2px solid transparent;cursor:pointer}
.uh-btn:hover{transform:translateY(-2px)}
.uh-btn--gold{background:linear-gradient(135deg,var(--g2),var(--g));color:#1a1202;box-shadow:0 8px 22px rgba(217,165,33,.35)}
.uh-btn--gold:hover{box-shadow:0 12px 28px rgba(217,165,33,.5);color:#1a1202}
.uh-btn--ghost{border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.06)}
.uh-btn--ghost:hover{background:rgba(255,255,255,.16);color:#fff}
.uh-btn--light{background:#fff;color:var(--n);width:100%}
.uh-btn--light:hover{color:var(--n);box-shadow:0 10px 24px rgba(0,0,0,.25)}

/* Hero */
.uh-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#071d35 0%,var(--n) 45%,var(--n2) 100%);padding:84px 0 92px}
.uh-hero__bg{position:absolute;inset:0;background:
  radial-gradient(600px 360px at 85% 10%,rgba(217,165,33,.22),transparent 70%),
  radial-gradient(520px 420px at 5% 95%,rgba(48,120,210,.28),transparent 70%),
  repeating-linear-gradient(115deg,rgba(255,255,255,.035) 0 1px,transparent 1px 38px)}
.uh-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,transparent,var(--g),transparent)}
.uh-hero__grid{position:relative;display:grid;grid-template-columns:1.35fr .8fr;gap:48px;align-items:center}
.uh-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--g2)}
.uh-eyebrow span{width:38px;height:2px;background:var(--g)}
.uh-hero h1{margin:0 0 18px;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(34px,5.4vw,64px);line-height:1.08;color:#fff;letter-spacing:-.01em}
.uh-hero h1 em{font-style:italic;color:var(--g2)}
.uh-lead{margin:0 0 30px;max-width:620px;font-size:clamp(16px,1.6vw,19px);color:#cfdcec}
.uh-cta{display:flex;gap:14px;flex-wrap:wrap}
.uh-chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 0;padding:0}
.uh-chips li{padding:6px 14px;border:1px solid rgba(255,255,255,.22);border-radius:99px;font-size:13px;color:#dbe6f3;background:rgba(255,255,255,.05)}
.uh-app{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:22px;backdrop-filter:blur(10px);box-shadow:0 24px 60px rgba(0,0,0,.35)}
.uh-app__tag{display:inline-block;margin-bottom:12px;padding:4px 12px;border-radius:99px;background:var(--g);color:#1a1202;font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.uh-app__img{display:block;border-radius:12px;overflow:hidden;background:#fff}
.uh-app__img img{display:block;width:100%;height:auto}
.uh-app p{margin:14px 0 16px;font-size:14.5px;color:#dbe6f3}

/* Akses pantas */
.uh-quick{background:var(--ivory);border-bottom:1px solid var(--ln)}
.uh-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.uh-tile{display:flex;flex-direction:column;gap:4px;height:100%;padding:24px 22px;background:#fff;border:1px solid var(--ln);border-radius:16px;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s;color:var(--ink)}
.uh-tile::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--g2),var(--g));transform:scaleY(0);transform-origin:top;transition:transform .25s}
.uh-tile:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(11,42,74,.13);border-color:#d4dbe6}
.uh-tile:hover::before{transform:scaleY(1)}
.uh-tile__ico{display:grid;place-items:center;width:52px;height:52px;margin-bottom:10px;border-radius:14px;background:linear-gradient(135deg,var(--n),var(--n2));color:var(--g2)}
.uh-tile__t{font-weight:800;font-size:17px;color:var(--n)}
.uh-tile__d{font-size:13.5px;color:var(--mut)}

/* Kiraan peperiksaan */
.uh-exam{background:linear-gradient(135deg,#071d35,var(--n));color:#fff}
.uh-exgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.uh-ex{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:24px}
.uh-ex h3{margin:0 0 4px;font-size:15.5px;line-height:1.4;color:#fff;font-weight:700}
.uh-ex__date{margin:0 0 16px;font-size:13px;color:var(--g2)}
.uh-cd{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.uh-cd div{text-align:center;padding:12px 4px;border-radius:12px;background:rgba(0,0,0,.25)}
.uh-cd b{display:block;font-family:Georgia,serif;font-size:30px;line-height:1.1;color:#fff;font-variant-numeric:tabular-nums}
.uh-cd small{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#b9c9de}

/* Berita */
.uh-news{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.uh-post{display:flex;flex-direction:column;background:#fff;border:1px solid var(--ln);border-radius:16px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.uh-post:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(11,42,74,.12)}
.uh-post__media{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,var(--n),var(--n2));overflow:hidden}
.uh-post__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.uh-post:hover .uh-post__media img{transform:scale(1.05)}
.uh-post__media.is-empty{display:grid;place-items:center}
.uh-post__media.is-empty span{display:grid;place-items:center;color:rgba(241,199,91,.85)}
.uh-post__body{padding:18px 20px 22px}
.uh-meta{display:flex;gap:10px;align-items:center;margin:0 0 8px;font-size:12.5px;color:var(--mut)}
.uh-meta span{padding:2px 10px;border-radius:99px;background:#fdf3d6;color:#7a5800;font-weight:700}
.uh-post h3{margin:0 0 8px;font-size:18px;line-height:1.35}
.uh-post h3 a{color:var(--n)}
.uh-post h3 a:hover{color:var(--n2);text-decoration:underline;text-decoration-color:var(--g);text-underline-offset:3px}
.uh-ex-t{margin:0;font-size:14.5px;color:var(--mut)}
.uh-post.is-lead{grid-column:span 2;grid-row:span 2}
.uh-post.is-lead .uh-post__media{aspect-ratio:21/10}
.uh-post.is-lead h3{font-size:26px;font-family:Georgia,serif}

/* Takwim & lokasi */
.uh-cal{background:var(--bg)}
.uh-frame{border-radius:18px;overflow:hidden;border:1px solid var(--ln);background:#fff;box-shadow:0 12px 34px rgba(11,42,74,.08)}
.uh-frame iframe{display:block;width:100%;border:0}
.uh-frame--cal iframe{height:min(80vh,760px);min-height:520px}
.uh-loc__grid{display:grid;grid-template-columns:.8fr 1.4fr;gap:40px;align-items:center}
.uh-loc__info h2{margin:0 0 14px;font-family:Georgia,serif;font-size:clamp(26px,3.2vw,36px);color:var(--n)}
.uh-loc__info p{color:var(--mut)}
.uh-frame--map iframe{height:380px}

/* Animasi masuk */
.uh-rv{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}
.uh-rv.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.uh-rv{opacity:1;transform:none;transition:none}.uh-btn,.uh-tile,.uh-post{transition:none}}

/* Responsif */
@media(max-width:1024px){
  .uh-tiles{grid-template-columns:repeat(2,1fr)}
  .uh-news{grid-template-columns:repeat(2,1fr)}
  .uh-post.is-lead{grid-column:span 2;grid-row:auto}
}
@media(max-width:860px){
  .uh-hero{padding:56px 0 64px}
  .uh-hero__grid,.uh-loc__grid{grid-template-columns:1fr;gap:32px}
  .uh-sec{padding:52px 0}
}
@media(max-width:560px){
  .uh-tiles,.uh-news{grid-template-columns:1fr}
  .uh-post.is-lead{grid-column:auto}
  .uh-post.is-lead h3{font-size:21px}
  .uh-btn{width:100%}
  .uh-cd b{font-size:24px}
}
body .upep-home.content-area{margin:0!important;padding:0!important}
body .upep-home .site-main{margin:0}
