/*
Theme Name: UNWAHA Kepegawaian
Theme URI: https://unwaha.ac.id/
Author: UNWAHA
Description: Theme portal modern untuk layanan kepegawaian Universitas KH. A. Wahab Hasbullah.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: unwaha-kepegawaian
*/
:root{--navy:#102747;--blue:#174b87;--blue2:#2368ae;--gold:#d9a844;--ink:#172b43;--muted:#6b7b8e;--line:#e5ebf1;--pale:#f4f7fa;--white:#fff;--shadow:0 18px 50px rgba(17,43,71,.10);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.7}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue2)}img{height:auto;max-width:100%}.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto!important;width:auto;height:auto;left:12px;top:12px;padding:12px;background:white;z-index:1000}.topbar{background:var(--navy);color:#c8d5e4;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:37px}.topbar a{color:#fff}.topbar-right{display:flex;gap:20px}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid rgba(229,235,241,.85)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:12px;min-width:220px;color:var(--navy)}.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:var(--navy);color:white;border-radius:14px;font-family:Georgia,serif;font-weight:700;font-size:22px;box-shadow:0 6px 15px #10274725}.brand-name{display:flex;flex-direction:column;line-height:1.2}.brand-name strong{font-size:16px;letter-spacing:.03em}.brand-name small{font-size:11px;color:var(--muted);margin-top:4px}.main-nav ul{list-style:none;display:flex;align-items:center;gap:27px;padding:0;margin:0}.main-nav a{font-size:13px;font-weight:650;color:#394b60}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--blue2)}.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;border-radius:9px;background:var(--blue);color:#fff!important;font-size:13px;font-weight:700;transition:.2s}.header-cta:hover,.button:hover{background:var(--navy);transform:translateY(-1px)}.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;padding:8px 11px;color:var(--ink);font-size:20px}.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#102747 0%,#174b87 69%,#2368ae 100%);color:white;padding:88px 0 84px}.hero:before{content:"";position:absolute;width:580px;height:580px;border:1px solid #ffffff18;border-radius:50%;right:-115px;top:-285px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.hero:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;background:#d9a84420;right:18%;bottom:-185px;filter:blur(2px)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:60px}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#dce9f8;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:750}.eyebrow:before{content:"";width:25px;height:2px;background:var(--gold)}.hero h1{max-width:690px;font-size:clamp(38px,5vw,61px);line-height:1.12;letter-spacing:-.04em;margin:18px 0 18px}.hero h1 em{font-style:normal;color:#f0c566}.hero-copy{max-width:610px;color:#d0ddec;font-size:16px;line-height:1.8;margin:0 0 28px}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.button-gold{background:var(--gold);color:#172b43!important}.button-gold:hover{background:#ecc15c}.text-link{color:white;font-size:13px;font-weight:650}.text-link span{margin-left:6px;color:#f0c566}.hero-card{position:relative;padding:27px;background:#ffffff12;border:1px solid #ffffff25;border-radius:20px;backdrop-filter:blur(10px);box-shadow:0 24px 55px #071a3028}.card-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff25;padding-bottom:18px;margin-bottom:19px}.card-top strong{font-size:14px}.live-pill{background:#d4f4df;color:#207442;border-radius:30px;padding:4px 9px;font-size:10px;font-weight:750}.hero-stat{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #ffffff19}.hero-stat:last-child{border:0;padding-bottom:0}.hero-stat span{font-size:12px;color:#d0ddec}.hero-stat strong{font-size:13px}.section{padding:82px 0}.section-soft{background:var(--pale)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:34px}.section-heading h2{font-size:32px;line-height:1.2;letter-spacing:-.03em;margin:9px 0 0;color:var(--navy)}.section-heading p{max-width:490px;color:var(--muted);margin:0;font-size:14px}.section-label{font-size:11px;color:var(--blue2);font-weight:750;letter-spacing:.14em;text-transform:uppercase}.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.service-card{position:relative;background:white;border:1px solid var(--line);border-radius:14px;padding:25px 22px;min-height:214px;transition:.22s}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#cbd9e7}.service-icon{width:47px;height:47px;border-radius:13px;display:grid;place-items:center;background:#eaf2fa;color:var(--blue);font-size:21px;margin-bottom:18px}.service-card h3{font-size:16px;line-height:1.35;color:var(--navy);margin:0 0 8px}.service-card p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}.service-arrow{position:absolute;right:20px;top:29px;color:#a9b8c8;font-size:18px}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.about-visual{min-height:340px;border-radius:20px;background:linear-gradient(145deg,#eaf2fa,#dce8f3);position:relative;overflow:hidden;padding:34px;display:flex;align-items:end}.about-visual:before,.about-visual:after{content:"";position:absolute;border:1px solid #174b871c;border-radius:50%}.about-visual:before{width:360px;height:360px;top:-130px;left:-65px;box-shadow:0 0 0 35px #174b8707,0 0 0 70px #174b8705}.about-visual:after{width:170px;height:170px;right:-42px;bottom:-58px;background:#d9a84435}.visual-caption{position:relative;z-index:1;background:white;padding:22px 25px;border-radius:13px;box-shadow:var(--shadow);width:min(290px,100%)}.visual-caption small{display:block;color:var(--blue2);font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:750}.visual-caption strong{display:block;color:var(--navy);font-size:16px;line-height:1.4;margin-top:7px}.about-copy h2{font-size:34px;color:var(--navy);line-height:1.2;letter-spacing:-.035em;margin:10px 0 16px}.about-copy>p{color:var(--muted);font-size:14px;line-height:1.85}.check-list{list-style:none;padding:0;margin:22px 0 27px;display:grid;gap:12px}.check-list li{display:flex;gap:11px;align-items:flex-start;color:#3e536b;font-size:13px}.check-list li:before{content:"✓";width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;border-radius:50%;background:#e6f4eb;color:#32834d;font-size:11px;font-weight:800}.updates-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.update-card{display:flex;gap:17px;background:white;border:1px solid var(--line);padding:21px;border-radius:13px}.date-box{width:55px;height:62px;flex:0 0 55px;border-radius:10px;background:#eef4fa;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--blue)}.date-box strong{font-size:21px;line-height:1.1}.date-box small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.update-card h3{font-size:14px;line-height:1.5;color:var(--navy);margin:1px 0 6px}.update-card p{font-size:11px;color:var(--muted);margin:0}.update-card a{color:inherit}.update-card a:hover{color:var(--blue2)}.cta-band{background:var(--navy);color:white;border-radius:18px;padding:36px 42px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{margin:0 0 5px;font-size:23px}.cta-band p{margin:0;color:#c0cede;font-size:13px}.site-footer{background:#0b1d33;color:#c3cfdd;padding:54px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:55px;padding-bottom:38px}.footer-brand .brand{color:white}.footer-brand .brand-name small{color:#9eafc2}.footer-brand p{max-width:350px;color:#aebdcd;font-size:12px;line-height:1.8;margin-top:20px}.footer-col h3{color:white;font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin:3px 0 15px}.footer-col ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}.footer-col a{color:#adbdce;font-size:12px}.footer-col a:hover{color:#f0c566}.footer-bottom{border-top:1px solid #ffffff18;padding-top:18px;display:flex;justify-content:space-between;gap:15px;color:#8295aa;font-size:10px}.content-area{padding:58px 0 78px}.page-title{font-size:36px;line-height:1.3;letter-spacing:-0.02em;color:var(--navy)}.entry-content{max-width:850px}.entry-content p{font-size:17px;line-height:1.75;letter-spacing:-0.01em;color:#24374e}.post-list{display:grid;gap:20px}.post-item{padding:24px;border:1px solid var(--line);border-radius:14px}.post-item h2{margin:0 0 8px;font-size:22px}.post-meta{font-size:12px;color:var(--muted)}.pagination{margin-top:28px}.pagination .nav-links{display:flex;gap:8px}.pagination a,.pagination span{border:1px solid var(--line);border-radius:7px;padding:7px 12px}.not-found{text-align:center;padding:80px 20px}.not-found h1{font-size:42px;color:var(--navy)}@media(max-width:950px){.main-nav ul{gap:15px}.main-nav a{font-size:12px}.header-cta{display:none}.services-grid{grid-template-columns:repeat(2,1fr)}.hero-grid{gap:30px}.about-grid{gap:40px}}@media(max-width:720px){.container{width:min(100% - 32px,560px)}.topbar-inner{justify-content:center}.topbar-right{display:none}.header-inner{height:72px}.brand{min-width:0}.brand-mark{width:42px;height:42px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:12px 20px 20px;border-bottom:1px solid var(--line);box-shadow:0 15px 25px #10274710}.main-nav.is-open{display:block}.main-nav ul{display:grid;gap:0}.main-nav li a{display:block;padding:11px 4px;font-size:14px}.hero{padding:64px 0 58px}.hero-grid{grid-template-columns:1fr;gap:36px}.hero h1{font-size:42px}.hero-card{max-width:480px}.section{padding:60px 0}.section-heading{display:block}.section-heading h2{font-size:28px}.section-heading p{margin-top:12px}.services-grid{gap:11px}.service-card{padding:19px 16px;min-height:205px}.service-card h3{font-size:14px}.service-card p{font-size:11px}.service-icon{width:42px;height:42px;margin-bottom:15px}.about-grid{grid-template-columns:1fr;gap:32px}.about-visual{min-height:260px}.about-copy h2{font-size:29px}.updates-grid{grid-template-columns:1fr}.cta-band{display:block;padding:28px}.cta-band .button{margin-top:20px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-brand{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:5px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Primary navigation dropdowns */
.main-nav>ul{gap:27px}
.main-nav li{position:relative}
.main-nav .sub-menu{display:block;position:absolute;top:100%;left:0;z-index:110;min-width:220px;padding:8px 0;margin:0;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.main-nav .sub-menu li{display:block;width:100%}
.main-nav .sub-menu a{display:block;padding:9px 15px;font-size:13px;white-space:normal}
.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.main-nav .sub-menu .sub-menu{top:-8px;left:100%}
@media(max-width:720px){
  .main-nav>ul{display:grid;gap:0}
  .main-nav .sub-menu,.main-nav .sub-menu .sub-menu{position:static;min-width:0;padding:0 0 4px 14px;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;opacity:1;visibility:visible;transform:none;transition:none}
  .main-nav .sub-menu a{padding:8px 4px;font-size:13px;color:var(--muted)}
}

/* Keep the uploaded site logo proportional within the header. */
.custom-logo-link{display:inline-flex;align-items:center;flex:0 0 auto}
.custom-logo,img.custom-logo{display:block;width:auto;height:48px;max-width:130px;max-height:48px;object-fit:contain}
@media(max-width:720px){.custom-logo,img.custom-logo{height:40px;max-width:96px;max-height:40px}}
