/* SMKN11TNG Public UI V3
   Menyamakan halaman publik dengan bahasa visual dashboard: ringan, rapi, kartu putih, biru sebagai aksen. */

:root{
  --v3-surface:#ffffff;
  --v3-soft:#f6f9fe;
  --v3-soft-blue:#eef5ff;
  --v3-border:#dce7f4;
  --v3-border-strong:#c8daf0;
  --v3-text:#0b2447;
  --v3-muted:#6b7c93;
  --v3-shadow:0 14px 36px rgba(15,45,91,.08);
  --v3-shadow-hover:0 20px 46px rgba(15,45,91,.13);
}

/* ---------- Header ---------- */
.site-header{box-shadow:0 1px 0 rgba(15,45,91,.03)}
.main-nav>a{transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.main-nav>a.active{box-shadow:inset 0 -2px 0 var(--site-secondary)}
.nav-search{background:#fff}

/* ---------- Public page hero: dashboard-like panel ---------- */
.page-hero.page-hero-v3{
  padding:34px 0 18px;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
  border-bottom:0;
}
.page-hero-v3-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  min-height:210px;
  overflow:hidden;
  padding:38px 42px;
  border:1px solid var(--v3-border);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 18%,rgba(147,197,253,.45),transparent 27%),
    linear-gradient(135deg,#fff 0%,#f1f7ff 58%,#e7f1ff 100%);
  box-shadow:var(--v3-shadow);
}
.page-hero-v3-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(37,99,235,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.03) 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(90deg,#000,transparent 82%);
}
.page-hero-v3-copy{position:relative;z-index:1;max-width:790px}
.page-hero.page-hero-v3 h1{font-size:clamp(2rem,3.3vw,3.2rem);color:var(--v3-text);margin:0;letter-spacing:-.035em}
.page-hero.page-hero-v3 p{max-width:720px;margin:13px 0 0;color:var(--v3-muted);font-size:1rem;line-height:1.75}
.page-hero-v3-mark{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:104px;
  height:104px;
  border-radius:28px;
  background:linear-gradient(145deg,var(--site-primary),var(--site-secondary));
  color:#fff;
  box-shadow:0 18px 36px rgba(37,99,235,.2);
}
.page-hero-v3-mark span{font-size:2rem;font-weight:900}

/* ---------- Main public content ---------- */
.page-hero-v3 + .section,
main > .section:not(.home-v2-section):not(.section-dark){padding-top:42px}

.filter-chips{gap:9px;margin-bottom:24px}
.filter-chips a{
  border-color:var(--v3-border);
  background:#fff;
  color:#38516f;
  box-shadow:0 3px 10px rgba(15,45,91,.025);
}
.filter-chips a:hover,.filter-chips a.active{
  background:linear-gradient(135deg,var(--site-primary),var(--site-secondary));
  border-color:transparent;
  color:#fff;
  box-shadow:0 8px 20px rgba(37,99,235,.16);
}

.content-card,
.achievement-list-card,
.agenda-page-item,
.announcement-page-item,
.contact-card,
.download-item,
.vision-grid article,
.mini-card,
.detail-aside,
.profile-meta div,
.search-results a,
.empty-state{
  border-color:var(--v3-border);
  box-shadow:0 8px 24px rgba(15,45,91,.045);
}
.content-card,
.achievement-list-card,
.contact-card,
.download-item,
.vision-grid article,
.mini-card,
.empty-state{border-radius:18px}
.content-card:hover,
.achievement-list-card:hover,
.agenda-page-item:hover,
.announcement-page-item:hover,
.contact-card:hover,
.download-item:hover,
.search-results a:hover{
  transform:translateY(-2px);
  border-color:#bfd6f3;
  box-shadow:var(--v3-shadow-hover);
}
.card-image{background:#edf4fc}
.card-body{padding:22px}
.card-body h2,.card-body h3{color:var(--v3-text)}
.card-body p,.download-item p,.agenda-page-item p{color:var(--v3-muted)}
.card-meta span{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef5ff;color:#1d5fc6}

/* ---------- Detail / article ---------- */
.article-hero{
  padding:42px 0 34px;
  background:linear-gradient(180deg,#f7faff,#fff);
  border-bottom:0;
}
.article-shell{
  padding:32px 36px;
  max-width:930px;
  border:1px solid var(--v3-border);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--v3-shadow);
}
.article-hero h1{color:var(--v3-text);font-size:clamp(2rem,3.6vw,3.25rem)}
.article-cover{border:1px solid var(--v3-border);box-shadow:var(--v3-shadow)}
.prose{color:#40546d}
.detail-grid{gap:32px}
.detail-aside{overflow:hidden;background:#fff}
.detail-aside>div{background:#fff}

/* ---------- Lists ---------- */
.announcement-page-item,.agenda-page-item,.download-item{transition:.18s ease;background:#fff}
.announcement-dot{box-shadow:0 0 0 6px #edf5ff}
.agenda-date{background:linear-gradient(145deg,#f3f8ff,#e8f2ff);border:1px solid #d7e6f8}
.file-icon{border:1px solid #d5e5f8}

/* ---------- Search ---------- */
.search-form input{border-color:var(--v3-border);background:#fff;box-shadow:0 4px 14px rgba(15,45,91,.03)}
.search-summary,.notice{background:#eef5ff;border:1px solid #d9e8f9}

/* ---------- Footer V3 ---------- */
.site-footer.footer-v3{
  margin-top:38px;
  padding:0;
  background:#071a36;
  color:#dbeafe;
}
.footer-v3-main{
  display:grid;
  grid-template-columns:1.45fr .8fr .85fr 1.25fr;
  gap:46px;
  padding-top:54px;
  padding-bottom:42px;
}
.footer-v3-brandline{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.footer-v3-brandline img{width:54px;height:54px;object-fit:contain}
.footer-v3-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,#1d5fc6,#3b82f6);font-weight:900;color:#fff;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.footer-v3-brandline strong,.footer-v3-brandline small{display:block}
.footer-v3-brandline strong{font-size:1rem;color:#fff}
.footer-v3-brandline small{margin-top:2px;color:#98afd0;font-size:.72rem}
.footer-v3-brand>p{max-width:360px;margin:0;color:#9bb0cb;line-height:1.75;font-size:.88rem}
.footer-v3-column h2{margin:4px 0 16px;color:#fff;font-size:.92rem;letter-spacing:.01em}
.footer-v3-links{display:grid;gap:9px}
.footer-v3-links a{width:max-content;max-width:100%;color:#b9c9dc;font-size:.86rem;transition:.18s ease}
.footer-v3-links a:hover{color:#fff;transform:translateX(2px)}
.footer-v3-social{display:flex;gap:8px;margin-top:18px}
.footer-v3-social a{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#102d57;border:1px solid #274a78;color:#dbeafe;font-size:.65rem;font-weight:900}
.footer-v3-contact-list{display:grid;gap:10px}
.footer-v3-contact-list p{display:grid;grid-template-columns:24px 1fr;gap:8px;margin:0;color:#aebfd3;font-size:.84rem;line-height:1.6}
.footer-v3-contact-list p>span:first-child{display:grid;place-items:start;color:#7fb3fa}
.footer-v3-contact-empty{padding:14px;border:1px solid rgba(147,197,253,.16);border-radius:13px;background:rgba(255,255,255,.035)}
.footer-v3-contact-empty strong,.footer-v3-contact-empty span{display:block}
.footer-v3-contact-empty strong{color:#e6f0ff;font-size:.82rem}
.footer-v3-contact-empty span{margin-top:5px;color:#8ea6c5;font-size:.76rem;line-height:1.55}
.footer-v3-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 22px;border-top:1px solid rgba(255,255,255,.085);color:#6f89aa;font-size:.78rem}

/* ---------- Home refinements ---------- */
.hero-v2-note{max-width:260px}
.hero-v2-note strong{font-size:1rem}

/* ---------- Responsive ---------- */
@media(max-width:1050px){
  .footer-v3-main{grid-template-columns:1.2fr 1fr 1fr}
  .footer-v3-contact{grid-column:1/-1}
}
@media(max-width:820px){
  .page-hero-v3-card{min-height:0;padding:30px 28px}
  .page-hero-v3-mark{width:78px;height:78px;border-radius:22px}
  .page-hero-v3-mark span{font-size:1.5rem}
  .footer-v3-main{grid-template-columns:1fr 1fr;gap:34px}
  .footer-v3-brand,.footer-v3-contact{grid-column:1/-1}
}
@media(max-width:620px){
  .page-hero.page-hero-v3{padding:20px 0 8px}
  .page-hero-v3-card{padding:26px 22px;border-radius:18px}
  .page-hero-v3-mark{display:none}
  .article-shell{padding:24px 20px;border-radius:18px}
  .footer-v3-main{grid-template-columns:1fr;padding-top:42px;padding-bottom:34px;gap:28px}
  .footer-v3-brand,.footer-v3-contact{grid-column:auto}
  .footer-v3-bottom{align-items:flex-start;flex-direction:column;gap:6px}
}
