:root{
  --accent:#2b6ef6;
  --muted:#666;
  --card:#ffffffee;
  --bg:#f6f8fb;
  --glass: rgba(255,255,255,0.7);
}
*{box-sizing:border-box}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin:0; color:#222; background:var(--bg)}
.container{max-width:1100px;margin:0 auto;padding:28px}
.flex{display:flex;gap:28px;align-items:center}

body.public-home,
body.all-news-page{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}

body.public-home img,
body.all-news-page img{
  -webkit-user-drag:none;
}

body.public-home input,
body.public-home textarea,
body.public-home select,
body.public-home button,
body.all-news-page input,
body.all-news-page textarea,
body.all-news-page select,
body.all-news-page button{
  -webkit-user-select:auto;
  user-select:auto;
}

/* Hero */
.hero{position:relative;height:72vh;min-height:420px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.carousel, .carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.carousel img{opacity:0;transition:opacity 1s ease;filter:brightness(0.88) contrast(1.03)}
.carousel img.active{opacity:1}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(8,12,20,0.08), rgba(8,12,20,0.28));}
.hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:20px}
.logo{width:120px;height:120px;border-radius:20px;object-fit:cover;border:4px solid rgba(255,255,255,0.18);box-shadow:0 8px 30px rgba(10,10,60,0.3)}
.hero-content h1{margin:14px 0;font-size:2.1rem;letter-spacing:0.6px}
.tagline{opacity:0.95}

/* school name and tagline drop shadow for legibility (stronger) */
#schoolName, .tagline { text-shadow: 0 8px 28px rgba(0,0,0,0.72), 0 2px 6px rgba(0,0,0,0.45); }
.down-arrow{position:absolute;bottom:18px;z-index:3;color:#fff;font-size:28px;text-decoration:none}

/* Carousel controls */
.carousel-controls{position:absolute;inset:auto 18px 18px 18px;display:flex;justify-content:space-between;align-items:center;z-index:30;pointer-events:auto}
.carousel-controls button{background:rgba(0,0,0,0.45);color:#fff;border:0;padding:8px 12px;border-radius:8px;font-size:20px;cursor:pointer;backdrop-filter:blur(4px)}
.carousel-controls button:hover{background:rgba(0,0,0,0.65)}
.carousel-prev{margin-right:auto}
.carousel-next{margin-left:auto}

/* Navbar - modern aesthetic */
.site-nav{position:fixed;left:12px;right:12px;top:16px;z-index:9999}
.site-nav .nav-inner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));backdrop-filter:blur(6px);padding:10px 14px;border-radius:12px}

/* scrolled state: solid dark background without blur */
.site-nav.scrolled .nav-inner{background:rgba(0,0,0,0.95);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 12px 30px rgba(0,0,0,0.5)}
.site-nav.scrolled .nav-title,.site-nav.scrolled .nav-list a,.site-nav.scrolled .drop-btn{color:#fff}
.site-nav.scrolled .nav-menu{background:rgba(0,0,0,0.98);color:#fff}
.site-nav.scrolled .drop-menu{background:rgba(255,255,255,0.04)}

/* Force links/buttons transparent on scrolled state to avoid Chrome native blocks */
.site-nav.scrolled .nav-list li,
.site-nav.scrolled .nav-list a,
.site-nav.scrolled .drop-btn,
.site-nav.scrolled .nav-list a:focus,
.site-nav.scrolled .drop-btn:focus{
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  mix-blend-mode: normal !important;
}

/* Additional override: remove any backdrop-filter, clip or isolation that could create dark blocks in Chrome */
.site-nav.scrolled .nav-list a,
.site-nav.scrolled .drop-btn,
.site-nav.scrolled .nav-list li{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
  background-clip: padding-box !important;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}
.nav-logo{width:44px;height:44px;border-radius:10px;object-fit:cover;border:2px solid rgba(255,255,255,0.12)}
.nav-title{font-weight:700;font-size:1rem;color:#fff}
.nav-menu{display:block}
.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:14px;align-items:center}
.nav-list li{position:relative}
.nav-list a, .drop-btn{color:#fff;text-decoration:none;padding:8px 12px;border-radius:8px;background:transparent;border:0;cursor:pointer;font-weight:600}
.nav-list a:hover, .drop-btn:hover{background:rgba(255,255,255,0.06)}
.nav-list a, .drop-btn, .nav-title, .drop-menu a { text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.nav-dropdown .drop-menu{position:absolute;top:100%;right:0;margin-top:0;background:rgba(255,255,255,0.06);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.08);color:#fff;border-radius:10px;box-shadow:0 12px 30px rgba(10,20,50,0.12);display:none;min-width:220px;padding:8px 0;z-index:2200;list-style:none;margin:0}
.nav-dropdown:hover .drop-menu,
.nav-dropdown:focus-within .drop-menu{display:block}
.nav-dropdown.open .drop-menu{display:block}
.nav-dropdown.open .drop-menu{display:block}
.drop-menu li{padding:6px 8px}
.drop-menu a{color:#fff}
.nav-toggle{display:none;background:transparent;border:0;color:#fff;font-size:22px;padding:8px 10px;border-radius:8px;cursor:pointer}

/* Mobile behavior */
@media(max-width:860px){
  .nav-list{gap:8px}
  .nav-title{display:none}
}

@media(max-width:960px){
  .nav-toggle{display:flex}
  .nav-menu{position:fixed;left:12px;right:12px;top:76px;background:#fff;color:#16325c;border-radius:12px;padding:12px;flex-direction:column;gap:8px;max-height:0;overflow:auto;opacity:0;transform-origin:top;box-shadow:0 18px 40px rgba(10,20,50,0.15);transition:max-height .36s ease,opacity .28s ease}
  .site-nav.open .nav-menu{max-height:calc(100vh - 96px);opacity:1}
  .nav-list{flex-direction:column}
  .nav-list a{color:#16325c;padding:10px;border-radius:8px}
  .drop-btn{color:#16325c;padding:10px;border-radius:8px;background:transparent;border:0;text-align:left;width:100%}
  .nav-list a, .drop-btn, .nav-title, .drop-menu a { text-shadow: 0 1px 2px rgba(255,255,255,0.65); }
  .drop-btn .caret{margin-left:8px}

/* Remove native button blocks and shadows that can appear in some browsers */
.drop-btn{appearance:none !important;-webkit-appearance:none !important;background:none !important;box-shadow:none !important;border:none !important}
.nav-list a, .drop-btn{background-color:transparent !important;background:none !important}
.nav-list li, .drop-menu li{background:transparent}
.drop-btn, .nav-list a{ -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none }
.drop-btn::before, .drop-btn::after{display:none}
  .nav-dropdown .drop-menu{position:relative;top:auto;right:auto;background:transparent;box-shadow:none;padding-left:12px;margin-top:6px}
  .nav-dropdown .drop-menu a{color:#16325c}
  .nav-dropdown:hover .drop-menu{display:none}
  /* ensure submenu is visible when `.open` is toggled by JS on mobile */
  .nav-dropdown.open .drop-menu{display:block}
  .brand{z-index:1500}
  .nav-toggle{position:absolute;right:18px;top:18px;z-index:1600;background:rgba(255,255,255,0.06);backdrop-filter:blur(6px)}
  .hero{padding-top:110px}
}

/* Desktop: animate submenu open with fade+slide (keeps mobile unchanged) */
@media (min-width:721px) {
  .nav-dropdown .drop-menu{display:block;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .22s ease, transform .22s ease;pointer-events:none}
  .nav-dropdown:hover .drop-menu,.nav-dropdown:focus-within .drop-menu,.nav-dropdown.open .drop-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
  .nav-dropdown .drop-menu li:hover{background:rgba(255,255,255,0.04)}
}

.section{padding:60px 0;background:transparent}
.welcome .container{align-items:flex-start}
.photo img{width:260px;border-radius:12px;object-fit:cover;box-shadow:0 10px 30px rgba(20,30,60,0.12)}
.welcome-text h2{margin-top:0}

.news-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:18px}
.news-teaser-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin-top:18px}
.all-news-list{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:18px;align-items:stretch}
.news-teaser{background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(10,20,50,0.06);display:flex;flex-direction:column;height:100%}
.news-teaser .thumb{position:relative;height:220px;overflow:hidden}
.news-teaser .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.date-badge{position:absolute;top:14px;right:14px;background:#fff;color:#0b1220;padding:8px 10px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.12);text-align:center;font-weight:700}
.date-badge .db-day{font-size:18px;line-height:1}
.date-badge .db-month{font-size:11px;opacity:0.9}
.news-teaser .body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.news-teaser h4,.news-teaser h2.news-card-title{margin:0 0 8px;font-size:1.05rem;font-weight:700;line-height:1.35}
/* limit preview to 4 lines for tidy grid layout */
.all-news-list .news-teaser .body p{margin:0;color:var(--muted);font-size:0.96rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.read-more{display:inline-block;margin-top:12px;color:var(--accent);font-weight:700}
/* reduce read-more size by 25% on all-news grid */
.all-news-list .read-more{font-size:0.75rem}
@media(max-width:1200px){.all-news-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:920px){.all-news-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.all-news-list{grid-template-columns:repeat(1,1fr)}.news-teaser .thumb{height:160px}}
@media(max-width:720px){
  .all-news-page-shell{padding-top:18px;padding-bottom:42px}
  .all-news-hero{padding:22px;border-radius:22px}
  .all-news-brand{flex-direction:column;align-items:flex-start}
  .all-news-brand-mark{width:74px;height:74px;flex-basis:74px;border-radius:22px}
  .all-news-hero h1{font-size:2.3rem}
  .all-news-panel{padding:18px}
  .all-news-filter-form{align-items:stretch}
  .all-news-filter-fields{width:100%}
  .all-news-month-select,.all-news-filter-button,.all-news-search-field{width:100%}
  .all-news-search-field{flex-basis:100%;min-width:0}
}

/* Featured pinned news styles */
.news-feature{display:flex;flex-direction:column;background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 18px 40px rgba(10,20,50,0.08);margin-bottom:20px}
.news-feature .thumb{height:420px;overflow:hidden}
.news-feature .thumb img{width:100%;height:100%;object-fit:cover}
.news-feature .feature-body{padding:26px;position:relative}
.news-feature h3{margin:0 0 12px;font-size:1.6rem}
.feature-excerpt{color:var(--muted);font-size:1.03rem;line-height:1.6}
@media(max-width:920px){.news-feature .thumb{height:280px}}@media(max-width:720px){.news-feature .thumb{height:200px}.news-feature h3{font-size:1.2rem}}

.feature-meta{color:#6b7280;font-size:0.95rem;margin:8px 0 12px}
.feature-meta .feature-author{font-weight:700;color:#16325c}
.feature-meta .feature-date{color:#9aa0a6}

.meta-row{display:flex;gap:8px;align-items:center;color:#9aa0a6;font-size:0.95rem;margin:6px 0}
.meta-author{font-weight:700;color:#16325c}

/* Blue meta box used for author + date */
.meta-box{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(90deg,var(--accent),#4a8ffd);color:#fff;padding:6px 10px;border-radius:10px;font-weight:700;font-size:0.58rem}
.meta-box .meta-author{color:#fff;font-weight:800}
.meta-box .date-text{color:#eaf2ff;font-weight:600}
.meta-box .feature-author{color:#fff}
.meta-box .feature-date{color:#eaf2ff}

/* slightly smaller box on small cards (50% smaller than previous) */
.news-teaser.small .meta-box{padding:6px 8px;font-size:0.55rem;border-radius:8px}

/* Hover effects: subtle zoom and drop shadow for all news cards */
.news-list-card, .news-teaser, .admin-news-card, .news-feature, .news-grid .news-item {
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease;
  transform-origin: center;
}
.news-list-card:hover, .news-teaser:hover, .admin-news-card:hover, .news-feature:hover, .news-grid .news-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 3;
}
.news-list-card .meta-box{width:100%;display:flex;justify-content:flex-start}

/* Two-column news layout: pinned left, stacked teasers right */
.news-columns{display:flex;gap:20px;align-items:stretch}
.news-left{flex:1 1 60%}
.news-right{flex:0 0 36%;display:flex;flex-direction:column;gap:12px;overflow-y:auto;padding:4px}
.news-right .news-teaser.small{display:flex;gap:14px;align-items:flex-start;background:transparent;border-radius:10px;padding:12px 6px}
.news-teaser.small.admin-news-card{display:flex;align-items:flex-start;gap:12px;padding:10px 6px;border-radius:10px;background:transparent}
.news-teaser.small.admin-news-card .admin-news-thumb{width:140px;height:92px;object-fit:cover;border-radius:8px;flex:0 0 140px}
.news-teaser.small.admin-news-card .admin-news-body{flex:1;min-width:0;padding:4px 6px}
.news-teaser.small.admin-news-card .admin-news-title{font-weight:700;font-size:1rem;margin-bottom:8px;color:#16325c}
.news-teaser.small.admin-news-card .admin-news-meta{color:#9aa0a6;font-size:0.95rem}
.news-right .news-teaser.small.admin-news-card + .news-teaser.small.admin-news-card{border-top:1px solid #eef3f8;padding-top:12px;margin-top:6px}
.news-right{max-height:520px}

/* Card wrapper for right-column news list */
.news-list-card{background:var(--card);padding:12px;border-radius:12px;box-shadow:0 10px 30px rgba(10,20,50,0.06);display:flex;flex-direction:column}
.news-list-card .side-card-title{margin:0 0 10px;font-size:1.03rem;color:#16325c;font-weight:800}
.news-list-card .side-card-body{display:flex;flex-direction:column;gap:6px;overflow:auto}
.news-list-card .admin-news-thumb{flex:0 0 100px;width:100px;height:64px}
.news-list-card .admin-news-title{font-size:0.98rem}
.news-list-card .admin-news-meta{font-size:0.9rem}

@media(max-width:920px){.news-list-card{padding:10px}} 

@media(max-width:920px){.news-columns{flex-direction:column}.news-right{max-height:none;flex-basis:auto}}

/* small date badge adjustments */
.date-badge.small-badge{width:48px;height:48px;right:8px;top:8px;font-size:12px}
.date-badge.small-badge .db-day{font-size:16px;line-height:18px}
.date-badge.small-badge .db-month{font-size:10px}

.footer{background:#0b1220;color:#fff;padding:18px 0}
.footer .container{display:flex;justify-content:space-between;align-items:center}
.footer a{color:var(--accent)}

/* Admin */
.admin-page{background:#eef3ff}
.admin-container{max-width:1100px;margin:24px auto;padding:0}
.card{background:var(--card);padding:16px;border-radius:10px;margin-bottom:18px}
form label{display:block;margin-bottom:10px}
input[type=text], textarea{width:100%;padding:8px;border-radius:6px;border:1px solid #d8dbe5}
button{background:var(--accent);color:#fff;padding:10px 14px;border:none;border-radius:8px;cursor:pointer}
.admin-news-list .admin-news{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #e6e9f2}
.admin-actions{display:flex;gap:12px;align-items:center;margin-top:12px}
.back-link{margin-left:auto}

/* Admin news card layout */
.admin-news-card{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:10px;background:var(--card);box-shadow:0 8px 24px rgba(10,20,50,0.06);margin-bottom:12px}
.admin-news-thumb{width:140px;height:92px;object-fit:cover;border-radius:8px;flex:0 0 140px}
.admin-news-body{flex:1;min-width:0}
.admin-news-title{display:block;margin-bottom:6px;font-size:1rem}
.admin-news-meta{color:var(--muted);font-size:0.88rem;margin-bottom:6px}
.admin-news-excerpt{margin:0;color:#444;font-size:0.95rem}
.admin-news-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
@media(max-width:720px){.admin-news-card{flex-direction:column}.admin-news-thumb{width:100%;height:160px;flex:0 0 auto}.admin-news-actions{flex-direction:row;justify-content:flex-end;width:100%}}

/* Modal styles for admin add-news */
.btn-primary { background:#2b6cb0; color:#fff; border:0; cursor:pointer }
.modal button[type="submit"]{background:#2f9e44;color:#fff;border:0;cursor:pointer}
.modal button[type="submit"]:hover{background:#2b8a3e}
.modal { position:fixed; inset:0; background:rgba(0,0,0,0.45); display:flex; align-items:center; justify-content:center; z-index:1200 }
.modal-panel { background:#fff; padding:18px; width:100%; max-width:560px; border-radius:10px; box-shadow:0 8px 30px rgba(0,0,0,0.15); position:relative; max-height:85vh; overflow:auto }
.modal-panel h3 { margin-top:0 }
.modal-panel label { display:block; margin-top:8px }
.modal-panel input[type="text"], .modal-panel textarea { width:100%; padding:8px; border:1px solid #ddd; border-radius:6px; box-sizing:border-box }
.modal-close { position:absolute; right:10px; top:8px; border:0; background:transparent; font-size:22px; line-height:1; cursor:pointer }

/* three-column image upload in add-news */
.image-upload-grid input[type="file"]{width:100%}

@media (max-width:520px){
  .modal-panel { margin:16px; width:auto; max-width:calc(100% - 32px) }
}

/* Pagination and controls for all-news */
.all-news-controls{margin-bottom:12px}
.per-page-select{padding:6px;border-radius:6px;border:1px solid #d8dbe5}
.pagination-link{display:inline-block;padding:8px 10px;border-radius:8px;background:#fff;color:#16325c;border:1px solid #e6eef8;text-decoration:none}
.pagination-link[aria-current="page"]{background:linear-gradient(90deg,var(--accent),#5aa0ff);color:#fff;border-color:transparent}
.pagination-link:hover{box-shadow:0 8px 20px rgba(10,20,50,0.08)}

.all-news-page{
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:linear-gradient(180deg, #f8fafc 0%, #eef3ff 100%);
}
.all-news-page-shell{padding-top:28px;padding-bottom:56px}
.site-breadcrumb{
  margin:0 0 14px;
}
.site-breadcrumb__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 2px;
  margin:0;
  padding:0;
  list-style:none;
  color:#64748b;
  font-size:.88rem;
  font-weight:600;
  line-height:1.4;
}
.site-breadcrumb__item{
  display:inline-flex;
  align-items:center;
  min-width:0;
  max-width:100%;
}
.site-breadcrumb__item:not(:last-child)::after{
  content:"›";
  margin:0 8px 0 6px;
  color:#94a3b8;
  font-weight:700;
}
.site-breadcrumb__link{
  color:#0f766e;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.site-breadcrumb__link:hover{
  color:#0b5f59;
  border-bottom-color:rgba(15,118,110,.35);
}
.site-breadcrumb__current{
  color:#334155;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:min(100%, 42ch);
}
.all-news-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:22px;
  padding:30px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(15,118,110,0.92), rgba(15,23,42,0.96));
  color:#fff;
  box-shadow:0 28px 58px rgba(15,23,42,0.18);
  margin-bottom:22px;
}
.all-news-brand{display:flex;align-items:center;gap:18px;min-width:0}
.all-news-brand-mark{
  width:88px;
  height:88px;
  border-radius:26px;
  overflow:hidden;
  flex:0 0 88px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
}
.all-news-brand-mark img{width:100%;height:100%;object-fit:cover;display:block}
.all-news-brand-mark span{color:#fff;font-family:"Cormorant Garamond", serif;font-size:2.6rem;font-weight:700}
.all-news-brand-copy{min-width:0}
.all-news-kicker{display:inline-flex;margin-bottom:8px;color:rgba(255,255,255,0.74);font-size:.8rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.all-news-hero h1{margin:0;font-family:"Cormorant Garamond", serif;font-size:3rem;line-height:.94;letter-spacing:-.02em}
.all-news-hero p{margin:10px 0 0;max-width:720px;color:rgba(255,255,255,0.84);line-height:1.75}
.all-news-hero-actions{display:flex;align-items:flex-end;flex-shrink:0}
.all-news-home-link{white-space:nowrap}
.all-news-panel{padding:22px}
.all-news-filter-form{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap}
.all-news-filter-copy{display:flex;flex-direction:column;gap:6px;color:#475569}
.all-news-filter-copy strong{font-size:1rem;color:#14212b}
.all-news-filter-fields{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.all-news-search-field{display:block;min-width:min(100%,280px);flex:1 1 280px}
.all-news-search-input{
  width:100%;
  min-height:42px;
  padding:10px 14px;
  border:1px solid #d8dbe5;
  border-radius:10px;
  background:#fff;
  color:#14212b;
  font:inherit;
}
.all-news-search-input:focus{
  outline:2px solid rgba(15,118,110,0.28);
  outline-offset:1px;
  border-color:#0f766e;
}
.all-news-month-select{min-width:220px;padding:10px 12px;border-radius:10px}
.all-news-filter-button{min-height:42px;padding:0 14px;border-radius:10px}
.all-news-reset-link{display:inline-flex;align-items:center;color:#475569;text-decoration:none;font-weight:700}
.all-news-summary{margin:12px 0 4px;color:#64748b;line-height:1.7}
.catalog-list{margin-top:18px}
.catalog-meta-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.catalog-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#edf7f5;color:#0f766e;font-size:.78rem;font-weight:800}
.catalog-pill-muted{background:#f3f4f6;color:#4b5563}
.all-news-thumb-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(15,118,110,0.14), rgba(217,119,6,0.14));
  color:#475569;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.all-news-empty{
  margin-top:18px;
  padding:20px;
  border-radius:16px;
  background:#fff;
  border:1px dashed #d8dbe5;
  color:#64748b;
  line-height:1.75;
}
.teacher-directory-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-top:18px;
}
.teacher-directory-card{
  background:#fff;
  border:1px solid rgba(226,232,240,0.9);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 38px rgba(15,23,42,0.08);
  display:flex;
  flex-direction:column;
  height:100%;
}
.teacher-directory-media{
  position:relative;
  aspect-ratio:3 / 4;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(15,118,110,0.12), rgba(217,119,6,0.16));
}
.teacher-directory-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.teacher-directory-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f766e;
  font-family:"Cormorant Garamond", serif;
  font-size:4rem;
  font-weight:700;
}
.teacher-directory-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.teacher-directory-name{
  margin:0;
  color:#14212b;
  font-size:1.24rem;
  line-height:1.2;
}
.teacher-directory-role{
  margin:0;
  color:#475569;
  font-weight:600;
  line-height:1.7;
}
.teacher-directory-facts{
  display:grid;
  gap:10px;
  margin-top:4px;
}
.teacher-directory-fact{
  padding:12px 14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(226,232,240,0.9);
}
.teacher-directory-fact-label{
  display:block;
  color:#64748b;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.teacher-directory-fact-value{
  display:block;
  margin-top:5px;
  color:#16242f;
  line-height:1.65;
  font-size:.95rem;
}
.all-news-pagination{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}

@media(max-width:720px){
  .all-teachers-page .all-news-hero{
    flex-direction:column;
    align-items:stretch;
    gap:18px;
    padding:20px 18px;
  }
  .all-teachers-page .all-news-brand{
    flex-direction:row;
    align-items:flex-start;
    gap:14px;
  }
  .all-teachers-page .all-news-brand-mark{
    width:60px;
    height:60px;
    flex-basis:60px;
    border-radius:18px;
  }
  .all-teachers-page .all-news-brand-copy{
    flex:1;
  }
  .all-teachers-page .all-news-kicker{
    margin-bottom:6px;
    font-size:.68rem;
    letter-spacing:.14em;
  }
  .all-teachers-page .all-news-hero h1{
    font-size:1.95rem;
    line-height:1.02;
  }
  .all-teachers-page .all-news-hero p{
    margin-top:8px;
    font-size:.95rem;
    line-height:1.6;
  }
  .all-teachers-page .all-news-hero-actions{
    width:100%;
  }
  .all-teachers-page .all-news-home-link{
    display:flex;
    justify-content:center;
    width:100%;
    padding:12px 14px;
    white-space:normal;
  }
}

@media(max-width:480px){
  .all-teachers-page .all-news-brand{
    gap:12px;
  }
  .all-teachers-page .all-news-brand-mark{
    width:52px;
    height:52px;
    flex-basis:52px;
    border-radius:16px;
  }
  .all-teachers-page .all-news-hero h1{
    font-size:1.72rem;
  }
}

/* Admin sidebar */
body.admin-page{
  --sidebar-width:280px;
  --sidebar-collapsed:84px;
}
.admin-sidebar{width:var(--sidebar-width,280px);flex:0 0 var(--sidebar-width,280px);position:fixed;left:0;top:0;bottom:0;z-index:1300;overflow:hidden;transition:width .28s cubic-bezier(.2,.9,.2,1);padding:18px 0 18px 18px}
.admin-side-inner{position:relative;padding:18px 16px 18px;background:linear-gradient(180deg,#08111f 0%,#102038 52%,#0b1527 100%);border-radius:0 30px 30px 0;height:calc(100vh - 36px);overflow:auto;display:flex;flex-direction:column;gap:16px;color:#fff;border:1px solid rgba(148,163,184,0.12);border-left:0;box-shadow:0 28px 70px rgba(8,15,29,0.34)}
.admin-side-inner::before{content:'';position:absolute;inset:0 0 auto 0;height:180px;background:radial-gradient(circle at top left, rgba(96,165,250,0.34), transparent 58%),radial-gradient(circle at top right, rgba(45,212,191,0.22), transparent 42%);pointer-events:none}
.admin-side-inner::after{content:'';position:absolute;inset:auto 16px 82px 16px;height:1px;background:linear-gradient(90deg, transparent, rgba(148,163,184,0.24), transparent);pointer-events:none}
.sidebar-topbar,.sidebar-nav,.sidebar-footer{position:relative;z-index:1}
.sidebar-topbar{position:relative;display:flex;justify-content:center;padding-top:8px}
.sidebar-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;width:100%;text-align:center}
.sidebar-brand-mark{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg, rgba(96,165,250,0.96), rgba(37,99,235,0.88));color:#fff;font-size:1.12rem;font-weight:900;letter-spacing:.08em;box-shadow:0 18px 30px rgba(37,99,235,0.28), inset 0 1px 0 rgba(255,255,255,0.26)}
.sidebar-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:7px;background:rgba(255,255,255,0.94)}
.sidebar-brand-copy{min-width:0;display:flex;align-items:center;justify-content:center;width:100%}
.admin-side-inner h3,.sidebar-title{margin:0;font-size:1.02rem;line-height:1.2;color:#f8fafc;letter-spacing:.08em;font-weight:800;text-transform:uppercase}
.sidebar-nav{display:flex;flex-direction:column;gap:12px}
.sidebar-section-label{margin:0;padding:0 4px;color:rgba(148,163,184,0.72);font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.admin-menu{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.admin-menu li{margin:0}
.admin-menu a,.sidebar-logout-button{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border-radius:18px;color:#e2e8f0;text-decoration:none;background:rgba(255,255,255,0.03);border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.02);transition:transform .2s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, color .18s ease}
.admin-menu a:hover,.sidebar-logout-button:hover{transform:translateX(4px);background:rgba(148,163,184,0.1);border-color:rgba(148,163,184,0.18);box-shadow:0 10px 22px rgba(8,15,29,0.18), inset 0 1px 0 rgba(255,255,255,0.05);color:#fff}
.admin-menu li.active > a,.admin-menu .has-children.active > a{background:linear-gradient(135deg, rgba(37,99,235,0.98), rgba(59,130,246,0.9));border-color:rgba(147,197,253,0.42);color:#fff;box-shadow:0 16px 30px rgba(37,99,235,0.28), inset 0 1px 0 rgba(255,255,255,0.18)}
.admin-menu li.active > a::after,.admin-menu .has-children.active > a::after{content:'';position:absolute;right:12px;top:50%;width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,0.92);transform:translateY(-50%);box-shadow:0 0 0 4px rgba(255,255,255,0.14)}
.admin-menu li.logout{margin-top:8px;padding-top:8px;border-top:1px solid rgba(148,163,184,0.14)}
.sidebar-logout-button{cursor:pointer;font:inherit;text-align:left;background:linear-gradient(135deg, rgba(127,29,29,0.52), rgba(153,27,27,0.34));color:#fee2e2;border-color:rgba(248,113,113,0.16)}
.sidebar-logout-button:hover{background:linear-gradient(135deg, rgba(220,38,38,0.78), rgba(249,115,22,0.6));border-color:rgba(252,165,165,0.3);color:#fff}
.menu-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;border-radius:14px;background:rgba(255,255,255,0.07);color:#eff6ff;transition:transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,0.08)}
.menu-icon svg{width:18px;height:18px;display:block;fill:currentColor}
.admin-menu a:hover .menu-icon,.sidebar-logout-button:hover .menu-icon{transform:scale(1.04);background:rgba(255,255,255,0.16);color:#fff;box-shadow:0 8px 18px rgba(8,15,29,0.18), inset 0 1px 0 rgba(255,255,255,0.12)}
.admin-menu li.active > a .menu-icon,.admin-menu .has-children.active > a .menu-icon{background:rgba(255,255,255,0.16);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,0.16)}
.menu-text{white-space:nowrap;display:inline-block;vertical-align:middle;max-width:300px;opacity:1;transition:opacity .18s ease, max-width .24s cubic-bezier(.2,.9,.2,1);overflow:hidden;font-weight:700;letter-spacing:-.01em}
.sidebar-toggle{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;background:rgba(148,163,184,0.12);border:1px solid rgba(148,163,184,0.16);cursor:pointer;padding:0;border-radius:14px;font-size:14px;color:#e2e8f0;box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease}
.sidebar-toggle:hover{transform:translateY(-1px);background:rgba(96,165,250,0.16);border-color:rgba(96,165,250,0.32);color:#fff}

/* collapsed state: icon-only sidebar */
.sidebar-collapsed .admin-sidebar{width:var(--sidebar-collapsed,84px);flex:0 0 var(--sidebar-collapsed,84px)}
.sidebar-collapsed .admin-content{margin-left:var(--sidebar-collapsed,84px)}
.sidebar-collapsed .admin-side-inner{padding:18px 10px;border-radius:0 26px 26px 0}
.sidebar-collapsed .sidebar-brand{justify-content:center;width:100%}
.sidebar-collapsed .sidebar-brand-copy,.sidebar-collapsed .sidebar-section-label,.sidebar-collapsed .sidebar-footer{opacity:0;max-height:0;overflow:hidden;pointer-events:none;margin:0;padding:0;border:0}
.sidebar-collapsed .menu-text{opacity:0;max-width:0;margin:0;padding:0}
.sidebar-collapsed .sidebar-title{opacity:0;height:0;margin:0}
.sidebar-collapsed .sidebar-toggle{position:static}
.sidebar-collapsed .admin-menu a,.sidebar-collapsed .sidebar-logout-button{justify-content:center;padding:10px}
.sidebar-collapsed .admin-menu li.active > a::after,.sidebar-collapsed .admin-menu .has-children.active > a::after,.sidebar-collapsed .caret,.sidebar-collapsed .sub-menu{display:none !important}
.sidebar-collapsed .sidebar-topbar{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:0}
.admin-content{margin-left:var(--sidebar-width,280px);transition:margin-left .28s cubic-bezier(.2,.9,.2,1)}

@media(max-width:900px){
  .admin-sidebar{position:relative;width:100%;flex:0 0 auto;padding:0}
  .admin-side-inner{height:auto;border-radius:28px;padding:18px 16px}
  .sidebar-topbar{padding-top:0}
  .sidebar-toggle{top:0;right:0}
  .admin-content{margin-left:0}
}

/* sidebar footer */
.sidebar-footer{margin-top:auto;padding:16px 10px 6px;border-top:1px solid rgba(148,163,184,0.14);display:flex;flex-direction:column;gap:4px}
.sidebar-footer-title{font-size:.92rem;font-weight:800;color:#f8fafc;letter-spacing:-.01em}
.sidebar-footer-copy{font-size:.78rem;color:rgba(191,219,254,0.68);line-height:1.55}

/* Submenu (Data) styles: animated open/close using max-height */
.admin-menu .has-children > a{display:flex;align-items:center}
.admin-menu .sub-menu{list-style:none;margin:8px 0 0;padding:8px;max-height:0;overflow:hidden;opacity:0;transition:max-height .28s cubic-bezier(.2,.9,.2,1), opacity .22s ease, transform .22s ease;background:rgba(15,23,42,0.34);border:1px solid rgba(148,163,184,0.1);border-radius:18px;transform:translateY(-4px)}
.admin-menu .has-children.open .sub-menu{opacity:1;max-height:440px;transform:translateY(0)}
.admin-menu .has-children .caret{margin-left:auto;transition:transform .18s ease,color .18s ease;color:rgba(255,255,255,0.8);font-size:12px}
.admin-menu .has-children.open > a .caret{transform:rotate(180deg)}
.admin-menu .sub-menu a{padding:9px 10px;border-radius:14px;display:flex;align-items:center;color:#dbeafe;text-decoration:none;background:transparent}
.admin-menu .sub-menu .menu-icon{width:36px;height:36px;min-width:36px;border-radius:12px;background:rgba(255,255,255,0.05);color:rgba(239,246,255,0.86)}
.admin-menu .sub-menu li.active a{background:rgba(96,165,250,0.16);border-color:transparent;box-shadow:none}
.admin-menu .sub-menu li.active a::after{display:none}

/* News modal (Tambah Berita) */
#newsModal{display:none;position:fixed;inset:0;background:rgba(2,6,23,0.6);align-items:center;justify-content:center;padding:20px;z-index:1400}
#newsModal.open,#newsModal[style*="display:flex"]{display:flex}
#newsModal .modal-inner{width:820px;max-width:100%;background:#fff;color:#111;padding:18px;border-radius:12px;box-shadow:0 12px 40px rgba(2,6,23,0.06);border:1px solid rgba(0,0,0,0.06)}
#newsModal h3{margin:0 0 12px;font-size:1.2rem;color:#111}
#newsModal label{display:block;font-size:13px;margin-bottom:8px;color:rgba(0,0,0,0.8)}
#newsModal .input,#newsModal textarea{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08);background:#fff;color:#111;outline:none}
#newsModal .input:focus,#newsModal textarea:focus{border-color:rgba(90,160,255,0.9);box-shadow:0 6px 24px rgba(90,160,255,0.06)}
#newsModal .modal-inner .btn{padding:8px 12px;border-radius:8px;border:0;cursor:pointer;margin-left:8px}
#newsModal .btn{background:rgba(0,0,0,0.04);color:#111}
#newsModal .btn-primary,#newsModal button[type="submit"]{background:linear-gradient(90deg,#2f9e44,#37b24d);color:#fff}
#newsModal .modal-inner .col-right{width:320px}
#newsModal input[type=file]{color:#111}
#newsModal .news-images-preview{display:flex;gap:8px;margin-top:8px}
#newsModal .news-images-preview img{width:120px;height:80px;object-fit:cover;border-radius:6px;border:1px solid rgba(0,0,0,0.06)}
#newsModal .modal-inner form{display:block}

/* Jadwal modal compact selects */
#jadwalModal .jadwal-form-grid{display:grid;grid-template-columns:160px 240px;gap:14px;align-items:end;justify-content:flex-start;margin-bottom:12px}
#jadwalModal .jadwal-modal-field{display:block;margin:0}
#jadwalModal .jadwal-select{width:100%;min-height:44px;padding:10px 12px;border-radius:10px;border:1px solid rgba(15,23,42,0.12);background:linear-gradient(180deg,#ffffff,#f6faf7);color:#0f172a;font-weight:600;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,0.7)}
#jadwalModal .jadwal-select:focus{border-color:rgba(47,158,68,0.55);box-shadow:0 0 0 4px rgba(47,158,68,0.12);background:#fff}
#jadwalModal .jadwal-select:disabled{color:#94a3b8;background:#f3f4f6;cursor:not-allowed;box-shadow:none}
#jadwalModal .jadwal-field-tingkat{max-width:160px}
#jadwalModal .jadwal-field-kelas{max-width:240px}

@media(max-width:900px){
  #newsModal .modal-inner{padding:14px}
  #newsModal .modal-inner .col-right{width:40%}
}

@media(max-width:640px){
  #jadwalModal .jadwal-form-grid{grid-template-columns:1fr;gap:12px}
  #jadwalModal .jadwal-field-tingkat,
  #jadwalModal .jadwal-field-kelas{max-width:none}
}

/* Admin news list layout */
.news-list{list-style:none;padding:0;margin:0}
.news-item{display:flex;gap:14px;padding:12px 10px;border-bottom:1px solid rgba(0,0,0,0.06);align-items:flex-start;background:transparent}
.news-item .thumb{flex:0 0 140px}
.news-item .thumb img{width:140px;height:100px;object-fit:cover;border-radius:6px;border:1px solid rgba(0,0,0,0.06)}
.thumb-placeholder{width:140px;height:100px;border-radius:6px;background:linear-gradient(180deg,#f0f0f0,#e6e6e6);display:block;border:1px solid rgba(0,0,0,0.04)}
.news-content{flex:1}
.news-title{margin:0 0 6px;color:#111;font-size:1.05rem}
.news-item .meta{font-size:13px;color:#666;margin-bottom:8px}
.news-item .excerpt{margin:0;color:#333;max-height:5.6rem;overflow:hidden}

@media(max-width:700px){
  .news-item{flex-direction:column}
  .news-item .thumb{flex:0 0 auto;width:100%}
  .news-item .thumb img,.thumb-placeholder{width:100%;height:180px}
}

/* News cards grid */
.news-list-compact{display:flex;flex-direction:column;gap:10px;margin:0;padding:0}
.news-card.compact{display:flex;align-items:center;gap:14px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 6px 14px rgba(0,0,0,0.04);border:1px solid rgba(0,0,0,0.04);padding:10px}
.news-card.compact .card-thumb{flex:0 0 120px}
.news-card.compact .card-thumb img{width:120px;height:84px;object-fit:cover;border-radius:6px}
.news-card.compact .thumb-placeholder{width:120px;height:84px;border-radius:6px;background:linear-gradient(180deg,#f0f0f0,#e6e6e6)}
.news-card.compact .card-body{flex:1;padding:4px 0}
.news-card.compact .news-title{margin:0 0 6px;color:#111;font-size:1rem}
.news-card.compact .meta{font-size:13px;color:#666}

@media(max-width:700px){
  .news-card.compact{flex-direction:row}
}

@media(max-width:520px){
  .news-card.compact{flex-direction:row;gap:10px}
  .news-card.compact .card-thumb img,.news-card.compact .thumb-placeholder{width:100px;height:72px}
}

/* Styled file upload button inside modal */
.file-upload{display:block;margin-bottom:8px;font-size:13px;color:rgba(0,0,0,0.8)}
.file-upload .file-btn{display:inline-block;padding:8px 10px;border-radius:8px;background:rgba(0,0,0,0.06);color:#111;cursor:pointer;border:1px solid rgba(0,0,0,0.06);margin-top:6px}
.file-upload input[type=file]{display:none}
.file-upload .file-name{display:inline-block;margin-left:8px;font-size:13px;color:#444;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.news-images-preview{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;max-width:100%;overflow:hidden}
.news-images-preview .preview-item{width:100px;height:66px;flex:0 0 auto;border-radius:6px;overflow:hidden}
.news-images-preview .preview-item img{width:100%;height:100%;object-fit:cover;display:block}

/* Danger button (e.g. delete) */
.btn-danger { background: #e53e3e; color: #fff; border: 0; cursor: pointer }
.btn-danger:hover { background: #c53030 }
.btn-sm { padding:6px 8px; font-size:0.85rem; border-radius:6px }

/* Layout when using admin layout */
.admin-layout{display:flex;gap:18px}
.admin-content{flex:1;padding:18px}

@media(max-width:900px){
  .admin-layout{flex-direction:column}
  .admin-sidebar{width:100%}
}

@media(max-width:700px){.flex{flex-direction:column}.hero-content h1{font-size:1.6rem}.photo img{width:200px}}

/* Public landing page redesign */
html{scroll-behavior:smooth}

body.public-home{
  --landing-bg:#f4efe7;
  --landing-surface:#fffdf9;
  --landing-surface-strong:#ffffff;
  --landing-ink:#1f2933;
  --landing-muted:#5b6470;
  --landing-line:rgba(31,41,51,0.08);
  --landing-accent:#0f766e;
  --landing-accent-deep:#115e59;
  --landing-warm:#d97706;
  --landing-shadow:0 24px 60px rgba(31,41,51,0.10);
  margin:0;
  color:var(--landing-ink);
  background:
    radial-gradient(circle at top left, rgba(217,119,6,0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(15,118,110,0.10), transparent 24%),
    linear-gradient(180deg, #f9f4ec 0%, #f4efe7 34%, #fbf8f3 100%);
  font-family:'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.public-home .container{max-width:1200px;padding:0 28px}
body.public-home h1,
body.public-home h2,
body.public-home h3,
body.public-home .nav-title,
body.public-home .hero-panel-brand strong,
body.public-home .feature-card h3,
body.public-home .activity-card h3,
body.public-home .data-card-modern h3{
  font-family:'Cormorant Garamond', Georgia, serif;
  letter-spacing:.01em;
}

body.public-home .hero{
  min-height:100svh;
  padding:124px 0 98px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}

body.public-home .carousel,
body.public-home .carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.public-home .carousel img{opacity:0;transition:opacity 900ms ease;filter:saturate(1.08) contrast(1.05) brightness(0.64)}
body.public-home .carousel img.active{opacity:1}
body.public-home .carousel-controls{inset:auto 24px 24px auto;gap:10px;justify-content:flex-end}
body.public-home .carousel-controls button{
  width:46px;
  height:46px;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:1.5rem;
  backdrop-filter:blur(10px);
}
body.public-home .carousel-controls button:hover{background:rgba(255,255,255,0.22)}

body.public-home .hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(15,23,42,0.28) 0%, rgba(15,23,42,0.52) 36%, rgba(17,24,39,0.72) 100%);
}
body.public-home .hero-mesh{
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.1));
  opacity:.26;
}
body.public-home .hero-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(16px);
  opacity:.75;
}
body.public-home .hero-orb-left{
  width:220px;
  height:220px;
  left:8%;
  top:18%;
  background:radial-gradient(circle, rgba(217,119,6,0.38), transparent 72%);
}
body.public-home .hero-orb-right{
  width:280px;
  height:280px;
  right:7%;
  bottom:16%;
  background:radial-gradient(circle, rgba(15,118,110,0.40), transparent 70%);
}

body.public-home .landing-nav{
  position:fixed;
  top:12px;
  left:12px;
  right:12px;
  z-index:10040;
}
body.public-home .landing-nav .container{position:relative}
body.public-home .landing-nav__surface{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:24px;
  background:rgba(248,242,232,0.14);
  border:1px solid rgba(255,255,255,0.14);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 42px rgba(15,23,42,0.18);
}
body.public-home .landing-nav.is-scrolled .landing-nav__surface{
  background:rgba(17,24,39,0.84);
  border-color:rgba(255,255,255,0.10);
  box-shadow:0 22px 54px rgba(15,23,42,0.28);
}
body.public-home .landing-nav__brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:#fff;
  text-decoration:none;
}
body.public-home .landing-nav__brand-mark{
  width:50px;
  height:50px;
  border-radius:16px;
  overflow:hidden;
  flex:0 0 50px;
  box-shadow:0 10px 24px rgba(0,0,0,0.16);
}
body.public-home .landing-nav__brand-logo,
body.public-home .landing-nav__brand-fallback{
  width:100%;
  height:100%;
  display:block;
}
body.public-home .landing-nav__brand-logo{object-fit:cover;border:1px solid rgba(255,255,255,0.16)}
body.public-home .landing-nav__brand-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(217,119,6,0.94), rgba(15,118,110,0.94));
  color:#fff;
  font-weight:800;
}
body.public-home .landing-nav__brand-copy{display:flex;flex-direction:column;min-width:0}
body.public-home .landing-nav__brand-name{
  display:block;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.24rem;
  line-height:1;
  color:#fff;
}
body.public-home .landing-nav__brand-subtitle{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,0.74);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.02em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.public-home .landing-nav__toggle,
body.public-home .landing-nav__close{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  cursor:pointer;
}
body.public-home .landing-nav__toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  justify-self:end;
  min-height:46px;
  padding:0 15px;
  border-radius:999px;
  background:rgba(255,255,255,0.10);
  color:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,0.14);
}
body.public-home .landing-nav__toggle-box{
  position:relative;
  width:18px;
  height:14px;
  display:inline-block;
}
body.public-home .landing-nav__toggle-box span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .22s ease, opacity .22s ease, top .22s ease;
}
body.public-home .landing-nav__toggle-box span:nth-child(1){top:0}
body.public-home .landing-nav__toggle-box span:nth-child(2){top:6px}
body.public-home .landing-nav__toggle-box span:nth-child(3){top:12px}
body.public-home .landing-nav__toggle-text{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.public-home .landing-nav.is-open .landing-nav__toggle-box span:nth-child(1){top:6px;transform:rotate(45deg)}
body.public-home .landing-nav.is-open .landing-nav__toggle-box span:nth-child(2){opacity:0}
body.public-home .landing-nav.is-open .landing-nav__toggle-box span:nth-child(3){top:6px;transform:rotate(-45deg)}
body.public-home .landing-nav__panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  display:grid;
  gap:18px;
  padding:18px;
  border-radius:28px;
  background:rgba(255,250,243,0.98);
  color:#16325c;
  border:1px solid rgba(19,32,40,0.08);
  box-shadow:0 30px 60px rgba(19,32,40,0.28);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-10px) scale(.98);
  transform-origin:top center;
  transition:opacity .22s ease, transform .26s ease, visibility .22s ease;
  max-height:calc(100vh - 112px);
  overflow-y:auto;
}
body.public-home .landing-nav.is-open .landing-nav__panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
body.public-home .landing-nav__panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(19,32,40,0.08);
}
body.public-home .landing-nav__panel-copy{min-width:0}
body.public-home .landing-nav__panel-kicker{
  display:block;
  color:#0f766e;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
body.public-home .landing-nav__panel-title{
  display:block;
  margin-top:8px;
  color:#132028;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.65rem;
  line-height:1;
}
body.public-home .landing-nav__panel-text{
  margin:8px 0 0;
  color:#5b6470;
  font-size:.92rem;
  line-height:1.65;
}
body.public-home .landing-nav__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  padding:0;
  border-radius:999px;
  background:#eff5f4;
  color:#16325c;
  border:1px solid rgba(19,32,40,0.08);
  font-size:1.5rem;
  line-height:1;
}
body.public-home .landing-nav__links{
  list-style:none;
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
}
body.public-home .landing-nav__links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:54px;
  padding:0 16px;
  border-radius:18px;
  color:#16325c;
  text-decoration:none;
  font-size:.95rem;
  font-weight:700;
  background:rgba(15,118,110,0.05);
  border:1px solid rgba(15,118,110,0.08);
  transition:transform .22s ease, background-color .22s ease, border-color .22s ease;
}
body.public-home .landing-nav__links a::after{
  content:'›';
  color:rgba(22,50,92,0.42);
  font-size:1rem;
  font-weight:700;
}
body.public-home .landing-nav__links a:hover{
  transform:translateY(-1px);
  background:rgba(15,118,110,0.08);
  border-color:rgba(15,118,110,0.14);
}
body.public-home .landing-nav__links a.is-active,
body.public-home .landing-nav__links a[aria-current="page"]{
  color:#0f3d3a;
  background:rgba(15,118,110,0.14);
  border-color:rgba(15,118,110,0.26);
  box-shadow:0 12px 24px rgba(15,118,110,0.12);
}
body.public-home .landing-nav__links a.is-active::after,
body.public-home .landing-nav__links a[aria-current="page"]::after{color:#0f766e}
body.public-home .landing-nav__backdrop{
  position:fixed;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  border:0;
  background:rgba(8,15,20,0.42);
  backdrop-filter:blur(6px);
  transition:opacity .22s ease, visibility .22s ease;
  z-index:1;
}
body.public-home .landing-nav.is-open .landing-nav__backdrop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

body.public-home .footer-brand-mark,
body.public-home .hero-school-fallback,
body.public-home .principal-photo-fallback,
body.public-home .activity-icon-fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

body.public-home .hero-shell{
  position:relative;
  z-index:3;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-items:center;
  align-items:center;
}
body.public-home .hero-copy{
  max-width:860px;
  color:#fff;
  text-align:center;
}
body.public-home .hero-school-mark{
  width:173px;
  height:173px;
  margin:0 auto 22px;
  padding:13px;
  border-radius:35px;
  background:linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 22px 44px rgba(15,23,42,0.22);
  backdrop-filter:blur(10px);
}
body.public-home .hero-school-logo,
body.public-home .hero-school-fallback{
  width:100%;
  height:100%;
  display:block;
  border-radius:26px;
}
body.public-home .hero-school-logo{
  object-fit:cover;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.10);
}
body.public-home .hero-school-fallback{
  background:linear-gradient(135deg, rgba(217,119,6,0.96), rgba(15,118,110,0.96));
  color:#fff;
  font-size:4rem;
}
body.public-home .hero-copy h1{
  margin:18px 0 18px;
  font-size:clamp(3.2rem, 6vw, 5.5rem);
  line-height:.95;
  color:#fff;
  text-wrap:balance;
}
body.public-home .hero-accent{
  display:block;
  color:#fff4df;
  font-family:'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size:90%;
  font-weight:700;
  letter-spacing:-0.02em;
}
body.public-home .hero-heading-line{
  display:block;
  margin-top:12px;
  font-family:'Vartigo', cursive;
  font-size:clamp(1.34rem, 2.3vw, 2.11rem);
  font-weight:400;
  line-height:1.12;
  color:rgba(255,245,230,0.92);
  letter-spacing:0;
}
body.public-home .hero-lead{
  max-width:660px;
  margin:0 auto 26px;
  color:rgba(255,255,255,0.86);
  font-size:1.05rem;
  line-height:1.75;
}
body.public-home .hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:0}
body.public-home .hero-announcement{
  width:min(760px, 100%);
  margin:18px auto 0;
  padding:10px 12px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  border-radius:18px;
  background:rgba(10,18,28,0.54);
  border:1px solid rgba(255,255,255,0.14);
  box-shadow:0 20px 36px rgba(15,23,42,0.20);
  backdrop-filter:blur(14px);
  text-align:left;
  overflow:hidden;
}
body.public-home .hero-announcement__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  width:44px;
  min-width:44px;
  padding:0;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(245,158,11,0.96), rgba(217,119,6,0.96));
  color:#fff;
  box-shadow:0 10px 22px rgba(217,119,6,0.24);
  flex-shrink:0;
}
body.public-home .hero-announcement__badge svg{
  display:block;
  width:18px;
  height:18px;
}
body.public-home .hero-announcement__viewport{min-width:0;overflow:hidden}
body.public-home .hero-announcement__track{
  width:max-content;
  min-width:100%;
  display:flex;
  align-items:center;
  animation:heroAnnouncementMarquee 18s linear infinite;
}
body.public-home .hero-announcement__track span{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding-right:44px;
  color:rgba(255,247,237,0.95);
  font-size:.96rem;
  font-weight:600;
  line-height:1.5;
}
body.public-home .hero-announcement__track span::after{
  content:'•';
  margin-left:22px;
  color:rgba(245,158,11,0.92);
  font-size:1rem;
}

@keyframes heroAnnouncementMarquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

@media(prefers-reduced-motion: reduce){
  body.public-home .hero-announcement__track{animation:none}
}

body.public-home .hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 20px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
body.public-home .hero-btn:hover{transform:translateY(-2px)}
body.public-home .hero-btn-primary{
  background:linear-gradient(135deg, #f59e0b, #d97706);
  color:#fff;
  box-shadow:0 18px 28px rgba(217,119,6,0.28);
}
body.public-home .hero-btn-secondary{
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
}

body.public-home.is-homepage-popup-open{overflow:hidden}
body.public-home .homepage-popup{
  position:fixed;
  inset:0;
  z-index:20050;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  padding:
    max(24px, calc(env(safe-area-inset-top) + 12px))
    max(24px, calc(env(safe-area-inset-right) + 12px))
    max(24px, calc(env(safe-area-inset-bottom) + 12px))
    max(24px, calc(env(safe-area-inset-left) + 12px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .24s ease, visibility .24s ease;
}
body.public-home .homepage-popup.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
body.public-home .homepage-popup__backdrop{
  position:absolute;
  inset:0;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
body.public-home .homepage-popup__dialog{
  position:relative;
  z-index:1;
  width:min(760px, calc(100vw - 32px));
  max-width:100%;
  max-height:min(calc(100vh - 48px), calc(100dvh - 48px));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:18px;
  border-radius:30px;
  background:rgba(2, 6, 23, 0.44);
  border:1px solid rgba(255,255,255,0.14);
  box-shadow:0 36px 80px rgba(2, 6, 23, 0.56);
  backdrop-filter:blur(12px);
  transform:translateY(18px) scale(.98);
  transition:transform .24s ease;
}
body.public-home .homepage-popup.is-visible .homepage-popup__dialog{transform:translateY(0) scale(1)}
body.public-home .homepage-popup__close{
  --countdown-progress:1;
  position:absolute;
  top:14px;
  right:14px;
  z-index:50;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  overflow:hidden;
  background:transparent;
  color:#fff;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(2, 6, 23, 0.34);
  transition:transform .2s ease, box-shadow .2s ease;
}
body.public-home .homepage-popup__close::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:conic-gradient(#f59e0b calc(var(--countdown-progress, 1) * 1turn), rgba(255,255,255,0.16) 0);
}
body.public-home .homepage-popup__close::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:inherit;
  background:rgba(3, 7, 18, 0.9);
}
body.public-home .homepage-popup__close-icon,
body.public-home .homepage-popup__close-count{
  position:relative;
  z-index:1;
}
body.public-home .homepage-popup__close-icon{
  font-size:1.28rem;
  font-weight:700;
  line-height:1;
}
body.public-home .homepage-popup__close-count{
  position:absolute;
  right:2px;
  bottom:1px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f59e0b;
  color:#fff;
  font-size:.62rem;
  font-weight:800;
  line-height:1;
  box-shadow:0 6px 14px rgba(245,158,11,0.35);
}
body.public-home .homepage-popup__close:hover{
  transform:scale(1.04);
  box-shadow:0 16px 30px rgba(2, 6, 23, 0.4);
}
body.public-home .homepage-popup__image{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(calc(100vh - 104px), calc(100dvh - 104px));
  margin:0 auto;
  border-radius:22px;
  object-fit:contain;
  background:transparent;
}

body.public-home .homepage-popup__media{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:100%;
}

body.public-home .homepage-popup__video-wrap{
  display:none;
  position:relative;
  width:100%;
  max-width:100%;
  isolation:isolate;
}

body.public-home .homepage-popup__video-frame{
  position:relative;
  z-index:0;
  width:100%;
  max-width:100%;
  border-radius:18px;
  overflow:hidden;
  background:#000;
}

body.public-home .homepage-popup__video{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:min(calc(70vh - 104px), calc(70dvh - 104px));
  margin:0 auto;
  border-radius:0;
  background:#000;
  object-fit:contain;
  /* biar klik ke tombol mute, bukan tertelan oleh layer compose <video> */
  pointer-events:none;
}

body.public-home .homepage-popup--video-native-controls .homepage-popup__video{
  pointer-events:auto;
}

body.public-home .homepage-popup__mute-toggle{
  box-sizing:border-box;
  position:absolute;
  left:clamp(10px, 3vw, 16px);
  bottom:clamp(10px, 3vw, 16px);
  z-index:40;
  width:44px;
  height:44px;
  display:none;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid rgba(255,255,255,0.22);
  border-radius:999px;
  background:rgba(3, 7, 18, 0.88);
  color:#fff;
  cursor:pointer;
  pointer-events:auto;
  box-shadow:0 10px 24px rgba(2, 6, 23, 0.45);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  transform:translate3d(0, 0, 0);
  -webkit-tap-highlight-color:transparent;
}

body.public-home .homepage-popup__mute-toggle:hover{
  transform:translate3d(0,0,0) scale(1.06);
  background:rgba(3, 7, 18, 0.95);
  border-color:rgba(255,255,255,0.32);
}

body.public-home .homepage-popup__mute-toggle:focus-visible{
  outline:2px solid #f59e0b;
  outline-offset:2px;
}

body.public-home .homepage-popup__mute-icon{
  width:22px;
  height:22px;
  display:block;
}

body.public-home .homepage-popup__mute-toggle .homepage-popup__mute-icon--sound{ display:none }
body.public-home .homepage-popup__mute-toggle.is-unmuted .homepage-popup__mute-icon--muted{ display:none }
body.public-home .homepage-popup__mute-toggle.is-unmuted .homepage-popup__mute-icon--sound{ display:block }

/* When playing video, hide the image and show the video (+ controls) */
body.public-home .homepage-popup.is-playing-video .homepage-popup__image{ display:none }
body.public-home .homepage-popup.is-playing-video .homepage-popup__video-wrap{ display:block }
body.public-home .homepage-popup.is-playing-video .homepage-popup__mute-toggle{
  display:flex;
}
body.public-home .homepage-popup--video-only .homepage-popup__close::before,
body.public-home .homepage-popup--video-only .homepage-popup__close-count{
  display:none;
}
body.public-home .homepage-popup--video-only .homepage-popup__close-icon{
  opacity:1;
}

@media(max-width:640px){
  body.public-home .homepage-popup{
    padding:
      max(12px, calc(env(safe-area-inset-top) + 8px))
      max(12px, calc(env(safe-area-inset-right) + 8px))
      max(12px, calc(env(safe-area-inset-bottom) + 8px))
      max(12px, calc(env(safe-area-inset-left) + 8px));
  }
  body.public-home .homepage-popup__dialog{
    width:min(100%, 480px);
    max-height:min(calc(100vh - 24px), calc(100dvh - 24px));
    padding:clamp(10px, 3.5vw, 14px);
    border-radius:22px;
  }
  body.public-home .homepage-popup__close{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
  }
  body.public-home .homepage-popup__close::after{inset:3px}
  body.public-home .homepage-popup__close-count{
    right:0;
    bottom:0;
    min-width:16px;
    height:16px;
    font-size:.58rem;
  }
  body.public-home .homepage-popup__image{
    max-height:min(calc(100vh - 72px), calc(100dvh - 72px));
    border-radius:18px;
  }
}

@media(max-width:420px){
  body.public-home .homepage-popup{
    padding:
      max(8px, calc(env(safe-area-inset-top) + 6px))
      max(8px, calc(env(safe-area-inset-right) + 6px))
      max(8px, calc(env(safe-area-inset-bottom) + 6px))
      max(8px, calc(env(safe-area-inset-left) + 6px));
  }
  body.public-home .homepage-popup__dialog{
    width:100%;
    max-height:min(calc(100vh - 16px), calc(100dvh - 16px));
    padding:10px;
    border-radius:18px;
  }
  body.public-home .homepage-popup__close{
    top:10px;
    right:10px;
    width:40px;
    height:40px;
  }
  body.public-home .homepage-popup__image{
    max-height:min(calc(100vh - 52px), calc(100dvh - 52px));
    border-radius:16px;
  }
}

body.public-home .down-arrow{
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  width:52px;
  height:52px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.14);
  color:#fff;
  backdrop-filter:blur(12px);
}

body.public-home .landing-main{position:relative;z-index:2}
body.public-home .section{padding:88px 0}
body.public-home .landing-ribbon{margin-top:-36px;padding-top:0;padding-bottom:36px}
body.public-home .ribbon-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body.public-home .ribbon-card{
  padding:22px;
  border-radius:24px;
  background:rgba(255,253,249,0.88);
  border:1px solid rgba(255,255,255,0.55);
  box-shadow:var(--landing-shadow);
}
body.public-home .ribbon-card span{display:block;color:var(--landing-accent-deep);font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.public-home .ribbon-card strong{display:block;margin:14px 0 10px;font-size:1.5rem;font-family:'Cormorant Garamond', Georgia, serif}
body.public-home .ribbon-card p{margin:0;color:var(--landing-muted);line-height:1.65}

body.public-home .landing-section{position:relative}
body.public-home .section-heading{max-width:760px;margin-bottom:30px}
body.public-home .section-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--landing-accent-deep);font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.public-home .section-heading h2,
body.public-home .profile-copy h2,
body.public-home .cta-copy h2{
  margin:10px 0 12px;
  font-size:clamp(2.1rem, 4vw, 3.4rem);
  line-height:.98;
  color:#14212b;
  text-wrap:balance;
}
body.public-home .section-heading p,
body.public-home .section-intro,
body.public-home .cta-copy p{
  margin:0;
  color:var(--landing-muted);
  font-size:1rem;
  line-height:1.8;
}
body.public-home .section-news.has-static-news-background,
body.public-home .section-prestasi.has-static-prestasi-background{
  background-color:#132028;
  background-size:cover;
  background-position:center calc(50% + var(--mobile-fixed-offset, 0px));
  background-repeat:no-repeat;
  background-attachment:scroll;
}
@media(min-width:1101px) and (prefers-reduced-motion:no-preference){
  body.public-home .section-news.has-static-news-background,
  body.public-home .section-prestasi.has-static-prestasi-background{background-attachment:fixed}
}
body.public-home .section-news.has-static-news-background .container,
body.public-home .section-prestasi.has-static-prestasi-background .container{position:relative;z-index:1}
body.public-home .section-news.has-static-news-background .section-eyebrow,
body.public-home .section-prestasi.has-static-prestasi-background .section-eyebrow{color:#f7d8a6}
body.public-home .section-news.has-static-news-background .section-heading h2,
body.public-home .section-news.has-static-news-background .section-heading p,
body.public-home .section-news.has-static-news-background .section-intro,
body.public-home .section-prestasi.has-static-prestasi-background .section-heading h2,
body.public-home .section-prestasi.has-static-prestasi-background .section-heading p,
body.public-home .section-prestasi.has-static-prestasi-background .section-intro{color:#fff7ed}
body.public-home .section-news.has-static-news-background .news-card-surface,
body.public-home .section-news.has-static-news-background .empty-state,
body.public-home .section-news.has-static-news-background .news-board__card,
body.public-home .section-news.has-static-news-background .news-board__side,
body.public-home .section-prestasi.has-static-prestasi-background .news-card-surface,
body.public-home .section-prestasi.has-static-prestasi-background .empty-state{
  background:rgba(255,253,249,0.97);
  border-color:rgba(255,255,255,0.82);
  box-shadow:0 18px 44px rgba(15,23,42,0.16);
}
body.public-home .section-news.has-static-news-background .news-date-badge-home,
body.public-home .section-prestasi.has-static-prestasi-background .news-date-badge-home{background:#fff4df}
body.public-home .section-news.has-static-news-background .news-meta-modern,
body.public-home .section-prestasi.has-static-prestasi-background .news-meta-modern{color:#5f6974}

body.public-home .profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:start;
}
body.public-home .profile-copy{max-width:860px}
body.public-home .profile-pillars{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  margin-top:0;
}
body.public-home .purpose-html{
  margin-top:10px;
  color:var(--landing-muted);
  line-height:1.7;
}
body.public-home .purpose-html > *:first-child{margin-top:0}
body.public-home .purpose-html > *:last-child{margin-bottom:0}
body.public-home .purpose-html p{margin:0 0 10px;line-height:1.7}
body.public-home .purpose-html ol,
body.public-home .purpose-html ul{
  margin:12px 0 0;
  padding-left:1.4rem;
  display:grid;
  gap:10px;
}
body.public-home .purpose-html li{line-height:1.75;padding-left:4px}
body.public-home .purpose-html ol li::marker{font-weight:800;color:#0f766e}
body.public-home .purpose-html a{color:#0f766e;font-weight:700;text-decoration:underline}
body.public-home .pillar-card,
body.public-home .principal-card,
body.public-home .feature-card,
body.public-home .activity-card,
body.public-home .data-card-modern,
body.public-home .cta-shell,
body.public-home .news-card-surface,
body.public-home .empty-state{
  background:rgba(255,253,249,0.88);
  border:1px solid rgba(255,255,255,0.65);
  box-shadow:var(--landing-shadow);
}
body.public-home .pillar-card{
  padding:18px;
  border-radius:22px;
}
body.public-home .pillar-card strong{display:block;font-size:1.22rem;color:#16242f}
body.public-home .pillar-card p{margin:10px 0 0;color:var(--landing-muted);line-height:1.7}
body.public-home .mission-list{
  margin:12px 0 0;
  padding-left:1.4rem;
  color:var(--landing-muted);
  display:grid;
  gap:10px;
}
body.public-home .mission-list li{line-height:1.75;padding-left:4px}
body.public-home .mission-list li::marker{font-weight:800;color:#0f766e}

body.public-home .principal-card{
  display:grid;
  grid-template-columns:minmax(260px,.42fr) minmax(0,.58fr);
  align-items:stretch;
  border-radius:30px;
  overflow:hidden;
}
body.public-home .principal-media{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(15,118,110,0.10), rgba(217,119,6,0.12));
  padding:18px;
  user-select:none;
  -webkit-user-select:none;
}
body.public-home .principal-media img,
body.public-home .principal-photo-fallback{
  width:100%;
  max-width:360px;
  height:auto;
  aspect-ratio:3 / 4;
  min-height:288px;
  border-radius:24px;
}
body.public-home .principal-media img{object-fit:cover;display:block}
body.public-home .protected-principal-photo{
  pointer-events:none;
  -webkit-user-drag:none;
}
body.public-home .principal-photo-fallback{background:linear-gradient(135deg,#0f766e,#d97706);color:#fff;font-size:4rem}
body.public-home .principal-body{display:flex;flex-direction:column;justify-content:center;padding:28px}
body.public-home .principal-body h3{margin:10px 0 12px;font-size:2.2rem;color:#14212b}
body.public-home .principal-body p{margin:0;color:var(--landing-muted);line-height:1.85}
body.public-home .principal-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
body.public-home .principal-meta span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f2ece4;color:#4a5561;font-size:.86rem;font-weight:700}

body.public-home .news-grid-modern,
body.public-home .feature-grid,
body.public-home .activity-grid{display:grid;gap:18px}
body.public-home .news-grid-modern{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.public-home .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.public-home .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.public-home .section-news-marquee-row{
  display:block;
}
body.public-home .section-news-marquee{
  position:relative;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 0 12px;
  mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(22,50,92,0.34) transparent;
  cursor:grab;
}
body.public-home .section-news-marquee:focus-visible{
  outline:2px solid rgba(15,118,110,0.48);
  outline-offset:6px;
}
body.public-home .section-news-marquee.is-dragging{
  cursor:grabbing;
  user-select:none;
}
body.public-home .section-news-marquee::-webkit-scrollbar{height:10px}
body.public-home .section-news-marquee::-webkit-scrollbar-track{background:transparent}
body.public-home .section-news-marquee::-webkit-scrollbar-thumb{
  background:rgba(22,50,92,0.28);
  border-radius:999px;
  border:2px solid rgba(255,253,249,0.75);
}
body.public-home .section-news-marquee__track{
  display:flex;
  width:max-content;
  align-items:stretch;
}
body.public-home .section-news-marquee__track.is-animated{
  animation:newsMarqueeLeft 40s linear infinite;
  transform:translateX(0);
}
body.public-home .section-news-marquee:hover .section-news-marquee__track.is-animated{
  animation-play-state:paused;
}
body.public-home .section-news-marquee.is-manual-active .section-news-marquee__track.is-animated,
body.public-home .section-news-marquee:focus-within .section-news-marquee__track.is-animated{
  animation-play-state:paused;
}
body.public-home .section-news-marquee__track.is-static{width:100%}
body.public-home .section-news-marquee__group{
  display:flex;
  align-items:stretch;
  gap:16px;
  padding-right:16px;
}
body.public-home .news-card-modern--ticker{
  flex:0 0 286px;
  width:286px;
}
body.public-home .news-card-modern--ticker .news-card-surface{border-radius:24px}
body.public-home .news-card-modern--ticker .news-media-modern{height:196px}
body.public-home .news-card-modern--ticker .news-content-modern{padding:15px 15px 17px}
body.public-home .news-card-modern--ticker .news-content-modern h3{
  margin:12px 0 10px;
  font-size:1.22rem;
  line-height:1.16;
}
body.public-home .news-card-modern--ticker .news-meta-modern{margin-top:12px}
body.public-home .section-news-marquee__cta{
  flex:0 0 248px;
  width:248px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:20px 22px;
  border-radius:26px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg, #16325c, #0f766e);
  box-shadow:0 20px 38px rgba(15,23,42,0.18);
  transition:transform .22s ease, box-shadow .22s ease;
}
body.public-home .section-news-marquee__cta:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 44px rgba(15,23,42,0.22);
}
body.public-home .section-news-marquee__cta-copy{
  font-size:1rem;
  font-weight:800;
  line-height:1.45;
  text-wrap:balance;
}
body.public-home .section-news-marquee__cta-arrow{
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.2);
  font-size:1.4rem;
  flex:0 0 46px;
}
@keyframes newsMarqueeLeft{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

body.public-home .news-card-modern,
body.public-home .feature-card,
body.public-home .activity-card{height:100%}
body.public-home .news-card-modern{display:flex}
body.public-home .news-card-surface,
body.public-home .feature-card,
body.public-home .activity-card{
  border-radius:26px;
  overflow:hidden;
}
body.public-home .news-card-surface{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
}
body.public-home .news-media-modern,
body.public-home .feature-card-media{
  position:relative;
  overflow:hidden;
}
body.public-home .news-media-modern{height:268px;background:#e8dfd1}
body.public-home .feature-card-media{height:210px;background:#e8dfd1}
body.public-home .news-media-modern img,
body.public-home .feature-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
body.public-home .news-card-modern:hover img,
body.public-home .feature-card:hover img{transform:scale(1.06)}
body.public-home .news-media-placeholder,
body.public-home .feature-card-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7b8790;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:linear-gradient(135deg, rgba(15,118,110,0.10), rgba(217,119,6,0.10));
}
body.public-home .news-content-modern,
body.public-home .feature-card-body{padding:18px 18px 20px}
body.public-home .news-content-modern{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:16px 16px 18px;
}
body.public-home .news-date-badge-home{background:#edf7f5;color:var(--landing-accent-deep)}
body.public-home .news-date-badge-home .db-day{font-size:18px;line-height:1;color:#16325c}
body.public-home .news-date-badge-home .db-month{font-size:11px;color:#51606d;opacity:1}
body.public-home .news-content-modern h3,
body.public-home .feature-card h3,
body.public-home .activity-card h3{
  margin:14px 0 10px;
  font-size:1.95rem;
  line-height:1;
  color:#16242f;
}
body.public-home .news-content-modern h3{
  font-size:1.46rem;
  line-height:1.12;
  min-height:0;
  display:block;
  overflow:visible;
}
body.public-home .news-content-modern p,
body.public-home .feature-card p,
body.public-home .activity-card p{margin:0;color:var(--landing-muted);line-height:1.75}
body.public-home .news-content-modern p{
  flex:1;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
body.public-home .news-meta-modern{margin-top:14px;color:#77818a;font-size:.88rem;font-weight:700}
.news-card-taxonomy{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.news-category-chip,
.news-tag-chip{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  background:#edf7f5;
  color:#0f766e;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.02em;
}
body.public-home .section-news-actions,
body.public-home .section-facilities-actions,
body.public-home .section-prestasi-actions{display:flex;justify-content:center;margin-top:26px}
body.public-home .section-news-button,
body.public-home .section-facilities-button,
body.public-home .section-prestasi-button{
  min-width:220px;
  background:#14212b;
  color:#fff;
  box-shadow:0 18px 30px rgba(15,23,42,0.18);
}
body.public-home .section-news-button{
  background:linear-gradient(135deg, #f59e0b, #d97706);
  color:#fff;
  border:0;
  box-shadow:0 18px 28px rgba(217,119,6,0.28);
}

body.public-home .news-board{
  display:grid;
  gap:22px;
}
body.public-home .news-board__top{
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(280px,.95fr);
  gap:18px;
  align-items:stretch;
}
body.public-home .news-board__top--solo{grid-template-columns:minmax(0,1fr)}
body.public-home .news-board__featured{
  position:relative;
  display:block;
  min-height:420px;
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  background:#1b2a35;
  box-shadow:var(--landing-shadow);
}
body.public-home .news-board__featured-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  transition:transform .45s ease;
}
body.public-home .news-board__featured:hover .news-board__featured-image{transform:scale(1.04)}
body.public-home .news-board__featured-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(12,20,28,0.08) 28%, rgba(12,20,28,0.78) 100%);
}
body.public-home .news-board__featured--empty{
  background:linear-gradient(135deg, rgba(15,118,110,0.35), rgba(20,33,43,0.92));
}
body.public-home .news-board__featured-copy{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  display:grid;
  gap:12px;
  padding:28px 26px 24px;
}
body.public-home .news-board__featured-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:clamp(1.55rem, 2.1vw, 2.15rem);
  line-height:1.15;
  font-weight:700;
  color:#fff;
  text-shadow:0 10px 28px rgba(0,0,0,0.28);
}
body.public-home .news-board__badge{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:8px;
  background:linear-gradient(135deg, #f59e0b, #d97706);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.public-home .news-board__badge--compact{
  position:static;
  padding:4px 9px;
  border-radius:6px;
  font-size:.68rem;
}
body.public-home .news-board__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color:#77818a;
  font-size:.82rem;
  font-weight:600;
}
body.public-home .news-board__meta--light{color:rgba(255,247,237,0.92)}
body.public-home .news-board__meta-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
body.public-home .news-board__meta-item svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
body.public-home .news-board__side{
  display:flex;
  flex-direction:column;
  gap:0;
  min-height:100%;
  padding:8px 14px;
  border-radius:18px;
  background:rgba(255,253,249,0.94);
  border:1px solid rgba(255,255,255,0.72);
  box-shadow:var(--landing-shadow);
}
body.public-home .news-board__side-item{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:14px 4px;
  text-decoration:none;
  color:inherit;
  border-bottom:1px solid rgba(31,41,51,0.08);
}
body.public-home .news-board__side-item:last-child{border-bottom:0}
body.public-home .news-board__side-item:hover .news-board__side-title{color:var(--landing-accent-deep)}
body.public-home .news-board__side-media{
  width:84px;
  height:68px;
  border-radius:12px;
  overflow:hidden;
  background:#e8dfd1;
}
body.public-home .news-board__side-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  transition:transform .35s ease;
}
body.public-home .news-board__side-item:hover .news-board__side-media img{transform:scale(1.06)}
body.public-home .news-board__side-media--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(15,118,110,0.18), rgba(217,119,6,0.18));
  color:#fff;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.6rem;
  font-weight:700;
}
body.public-home .news-board__side-body{
  min-width:0;
  display:grid;
  gap:6px;
}
body.public-home .news-board__side-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  color:#16242f;
  font-size:.98rem;
  font-weight:700;
  line-height:1.35;
  transition:color .2s ease;
}
body.public-home .news-board__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
body.public-home .news-board__card{
  display:flex;
  flex-direction:column;
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,253,249,0.96);
  border:1px solid rgba(255,255,255,0.72);
  box-shadow:var(--landing-shadow);
}
body.public-home .news-board__card-media{
  display:block;
  height:190px;
  overflow:hidden;
  background:#e8dfd1;
  text-decoration:none;
}
body.public-home .news-board__card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  transition:transform .45s ease;
}
body.public-home .news-board__card:hover .news-board__card-media img{transform:scale(1.05)}
body.public-home .news-board__card-media--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7b8790;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:linear-gradient(135deg, rgba(15,118,110,0.10), rgba(217,119,6,0.10));
}
body.public-home .news-board__card-body{
  display:grid;
  gap:10px;
  padding:16px 16px 18px;
  flex:1;
}
body.public-home .news-board__card-title{
  margin:0;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.35rem;
  line-height:1.2;
  font-weight:700;
}
body.public-home .news-board__card-title a{
  color:#16242f;
  text-decoration:none;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
body.public-home .news-board__card-title a:hover{color:var(--landing-accent-deep)}
body.public-home .news-board__card-excerpt{
  margin:0;
  color:var(--landing-muted);
  font-size:.92rem;
  line-height:1.65;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
body.public-home .section-news.has-static-news-background .section-news-button{
  background:linear-gradient(135deg, #f59e0b, #d97706);
  border:0;
  box-shadow:0 18px 28px rgba(217,119,6,0.28);
}
body.public-home .section-news.has-static-news-background .section-news-marquee__cta,
body.public-home .section-prestasi.has-static-prestasi-background .section-news-marquee__cta{
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:none;
}
body.public-home .section-news.has-static-news-background .section-news-marquee__cta-arrow,
body.public-home .section-prestasi.has-static-prestasi-background .section-news-marquee__cta-arrow{
  background:rgba(255,255,255,0.18);
}
body.public-home .section-prestasi.has-static-prestasi-background .section-prestasi-button{
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.24);
  box-shadow:none;
}

body.public-home .activity-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px;
}
body.public-home .activity-icon-wrap{flex:0 0 72px}
body.public-home .activity-icon,
body.public-home .activity-icon-fallback{
  width:72px;
  height:72px;
  border-radius:22px;
}
body.public-home .activity-icon{object-fit:cover;display:block;border:1px solid rgba(15,23,42,0.08);background:#fff}
body.public-home .activity-icon-fallback{background:linear-gradient(135deg,#0f766e,#d97706);color:#fff;font-size:1.8rem}

body.public-home .prestasi-list{
  display:grid;
  gap:12px;
  max-width:920px;
  margin:0 auto;
}
body.public-home .prestasi-row{
  display:grid;
  grid-template-columns:96px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  min-height:96px;
  padding:10px 16px 10px 10px;
  border-radius:20px;
  text-decoration:none;
  color:inherit;
  background:rgba(255,253,249,0.88);
  border:1px solid rgba(255,255,255,0.65);
  box-shadow:var(--landing-shadow);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.public-home .prestasi-row:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(15,23,42,0.12);
  border-color:rgba(15,118,110,0.18);
}
body.public-home .prestasi-row__media{
  width:96px;
  height:76px;
  border-radius:14px;
  overflow:hidden;
  background:#e8dfd1;
  flex:0 0 96px;
}
body.public-home .prestasi-row__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
body.public-home .prestasi-row:hover .prestasi-row__media img{transform:scale(1.06)}
body.public-home .prestasi-row__media--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(15,118,110,0.18), rgba(217,119,6,0.2));
  color:#fff;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.8rem;
  font-weight:700;
}
body.public-home .prestasi-row__body{
  min-width:0;
  display:grid;
  gap:4px;
}
body.public-home .prestasi-row__date{
  color:#77818a;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
}
body.public-home .prestasi-row__title{
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:1.28rem;
  line-height:1.2;
  color:#16242f;
  font-weight:700;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
body.public-home .prestasi-row__excerpt{
  color:var(--landing-muted);
  font-size:.9rem;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  line-clamp:1;
  overflow:hidden;
}
body.public-home .prestasi-row__arrow{
  width:36px;
  height:36px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,118,110,0.08);
  color:var(--landing-accent-deep);
  font-size:1.05rem;
  transition:transform .2s ease, background .2s ease;
}
body.public-home .prestasi-row:hover .prestasi-row__arrow{
  transform:translateX(3px);
  background:rgba(15,118,110,0.14);
}
body.public-home .section-prestasi.has-static-prestasi-background .prestasi-row{
  background:rgba(255,253,249,0.97);
  border-color:rgba(255,255,255,0.82);
  box-shadow:0 14px 32px rgba(15,23,42,0.14);
}

body.public-home .data-grid-modern{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
body.public-home .data-card-modern{
  --data-accent:15,118,110;
  --data-accent-strong:13,148,136;
  --data-accent-soft:217,119,6;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:24px;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,253,249,0.98), rgba(255,255,255,0.96)),
    linear-gradient(135deg, rgba(var(--data-accent),0.08), rgba(var(--data-accent-soft),0.05));
  isolation:isolate;
}
body.public-home .data-card-modern > *{
  position:relative;
  z-index:1;
}
body.public-home .data-card-modern::before{
  content:'';
  position:absolute;
  right:-48px;
  top:-42px;
  width:180px;
  height:180px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(var(--data-accent),0.18), rgba(var(--data-accent),0) 70%);
  pointer-events:none;
}
body.public-home .data-card-modern::after{
  content:'';
  position:absolute;
  inset:auto 18px 16px auto;
  width:110px;
  height:110px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(var(--data-accent),0.08), rgba(var(--data-accent-soft),0.14));
  filter:blur(2px);
  opacity:.72;
  pointer-events:none;
}
body.public-home .data-card-link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}
body.public-home .data-card-link .data-card-modern{
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.public-home .data-card-link:hover .data-card-modern,
body.public-home .data-card-link:focus-visible .data-card-modern{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(15,23,42,0.14);
  border-color:rgba(15,118,110,0.18);
}
body.public-home .data-card-link:focus-visible{
  outline:none;
}
body.public-home .data-card-modern--teacher{
  --data-accent:15,118,110;
  --data-accent-strong:5,150,105;
  --data-accent-soft:217,119,6;
}
body.public-home .data-card-modern--staff{
  --data-accent:37,99,235;
  --data-accent-strong:14,165,233;
  --data-accent-soft:56,189,248;
}
body.public-home .data-card-modern--graduation{
  --data-accent:217,119,6;
  --data-accent-strong:245,158,11;
  --data-accent-soft:16,185,129;
}
body.public-home .data-card-wide{grid-column:span 1}
body.public-home .data-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
body.public-home .data-card-top h3{margin:0;font-size:2rem;line-height:1;color:#14212b}
body.public-home .data-card-kicker{
  display:inline-flex;
  margin-bottom:8px;
  color:rgba(var(--data-accent-strong),0.95);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.public-home .data-card-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(var(--data-accent),0.08);
  border:1px solid rgba(var(--data-accent),0.12);
  color:rgba(var(--data-accent-strong),0.9);
  font-size:.78rem;
  font-weight:800;
  white-space:nowrap;
}
body.public-home .data-card-metric-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}
body.public-home .data-card-metric{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:0;
}
body.public-home .data-card-metric strong{
  font-size:clamp(3.1rem, 6vw, 4.4rem);
  line-height:.9;
  color:#14212b;
  letter-spacing:-.05em;
}
body.public-home .data-card-metric span{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,0.16);
  color:#475569;
  font-size:.84rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.public-home .data-card-summary{
  margin:0;
  color:#5b6875;
  line-height:1.8;
  font-size:.96rem;
}
body.public-home .data-card-mini-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(108px,1fr));
  gap:10px;
  margin-top:18px;
}
body.public-home .data-card-mini-grid:empty{display:none}
body.public-home .data-card-mini-stat{
  padding:14px 14px 13px;
  border-radius:18px;
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(226,232,240,0.92);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.78);
}
body.public-home .data-card-mini-stat strong{
  display:block;
  color:#16242f;
  font-size:1.45rem;
  line-height:1;
}
body.public-home .data-card-mini-stat span{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.public-home .data-card-orbit{
  position:relative;
  width:94px;
  height:94px;
  flex:0 0 94px;
  border-radius:999px;
  border:1px solid rgba(var(--data-accent),0.12);
  background:
    radial-gradient(circle at center, rgba(var(--data-accent),0.16), rgba(var(--data-accent),0.05) 40%, rgba(255,255,255,0) 42%),
    conic-gradient(from 180deg, rgba(var(--data-accent-soft),0.28), rgba(var(--data-accent),0.08), rgba(var(--data-accent-strong),0.22), rgba(var(--data-accent-soft),0.28));
  box-shadow:inset 0 0 0 10px rgba(255,255,255,0.76);
}
body.public-home .data-card-orbit span{
  position:absolute;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(var(--data-accent-strong),0.96), rgba(var(--data-accent-soft),0.82));
  box-shadow:0 10px 22px rgba(15,23,42,0.12);
  animation:dataCardOrbitFloat 6.5s ease-in-out infinite;
}
body.public-home .data-card-orbit span:nth-child(1){
  width:16px;
  height:16px;
  left:12px;
  top:14px;
}
body.public-home .data-card-orbit span:nth-child(2){
  width:11px;
  height:11px;
  right:14px;
  top:24px;
  animation-delay:-2.1s;
}
body.public-home .data-card-orbit span:nth-child(3){
  width:14px;
  height:14px;
  right:18px;
  bottom:14px;
  animation-delay:-3.4s;
}
body.public-home .data-card-ambient{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
body.public-home .data-card-ambient span{
  position:absolute;
  border-radius:999px;
  filter:blur(2px);
  opacity:.9;
}
body.public-home .data-card-ambient span:first-child{
  width:118px;
  height:118px;
  left:-30px;
  bottom:28px;
  background:radial-gradient(circle, rgba(var(--data-accent-soft),0.18), rgba(var(--data-accent-soft),0) 72%);
}
body.public-home .data-card-ambient span:last-child{
  width:86px;
  height:86px;
  right:26px;
  top:72px;
  background:radial-gradient(circle, rgba(var(--data-accent),0.14), rgba(var(--data-accent),0) 72%);
}
body.public-home .person-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
body.public-home .person-list li{display:flex;gap:12px;align-items:flex-start}
body.public-home .person-dot{width:11px;height:11px;margin-top:8px;border-radius:999px;background:linear-gradient(135deg,#d97706,#0f766e);flex:0 0 11px}
body.public-home .person-list strong{display:block;color:#16242f;font-size:1rem}
body.public-home .person-list span{display:block;margin-top:4px;color:var(--landing-muted);line-height:1.65;font-size:.92rem}
body.public-home .data-card-empty{margin:0;color:var(--landing-muted);line-height:1.7}
body.public-home .data-card-cta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,0.08);
  color:#0f766e;
  font-size:.88rem;
  font-weight:800;
}
body.public-home .data-card-cta span:last-child{
  color:#64748b;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body.public-home .graduation-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
body.public-home .graduation-stat-box{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(255,255,255,0.68);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.82);
}
body.public-home .graduation-stat-box strong{display:block;font-size:1.8rem;color:#16242f}
body.public-home .graduation-stat-box span{display:block;margin-top:6px;color:var(--landing-muted);font-size:.9rem}
body.public-home .graduation-year-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
body.public-home .graduation-year-list span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#edf7f5;color:var(--landing-accent-deep);font-size:.86rem;font-weight:700}

@keyframes dataCardOrbitFloat{
  0%, 100%{transform:translate3d(0, 0, 0) scale(1)}
  50%{transform:translate3d(0, -6px, 0) scale(1.04)}
}

body.public-home .app-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
body.public-home .app-card{height:100%}
body.public-home .app-card-link{
  display:flex;
  align-items:center;
  gap:18px;
  height:100%;
  padding:20px;
  border-radius:26px;
  text-decoration:none;
  color:inherit;
  background:rgba(255,253,249,0.94);
  border:1px solid rgba(255,255,255,0.72);
  box-shadow:var(--landing-shadow);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.public-home .app-card-link:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(15,23,42,0.14);
  border-color:rgba(15,118,110,0.18);
}
body.public-home .app-card-logo-wrap{
  flex:0 0 76px;
  width:76px;
  height:76px;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(15,118,110,0.14), rgba(217,119,6,0.14));
  display:flex;
  align-items:center;
  justify-content:center;
}
body.public-home .app-card-logo,
body.public-home .app-card-logo-fallback{
  width:100%;
  height:100%;
  display:block;
}
body.public-home .app-card-logo{object-fit:cover}
body.public-home .app-card-logo-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f766e;
  font-size:1.7rem;
  font-weight:800;
}
body.public-home .app-card-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
body.public-home .app-card-title{
  font-size:1.35rem;
  font-weight:800;
  line-height:1.15;
  color:#14212b;
}
body.public-home .app-card-meta{
  color:var(--landing-muted);
  line-height:1.6;
  word-break:break-word;
}
body.public-home .app-card-action{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#edf7f5;
  color:var(--landing-accent-deep);
  font-size:.84rem;
  font-weight:800;
}

body.public-home .cta-shell{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:34px;
  border-radius:32px;
  background:linear-gradient(135deg, rgba(15,118,110,0.10), rgba(217,119,6,0.10)), rgba(255,253,249,0.92);
}
body.public-home .cta-copy{max-width:720px}
body.public-home .cta-actions{display:flex;gap:14px;flex-wrap:wrap}

body.public-home .empty-state{
  padding:22px;
  border-radius:24px;
  color:var(--landing-muted);
  line-height:1.75;
}

body.public-home .footer{
  background:#132028;
  color:#eef2f4;
  padding:30px 0;
}
body.public-home .footer-shell{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
body.public-home .footer-brand-block{display:flex;align-items:center;gap:16px}
body.public-home .footer-brand-mark{
  width:62px;
  height:62px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(217,119,6,0.92), rgba(15,118,110,0.92));
  color:#fff;
  overflow:hidden;
}
body.public-home .footer-brand-logo{width:100%;height:100%;object-fit:cover;display:block}
body.public-home .footer-brand-block strong{display:block;font-size:1.1rem}
body.public-home .footer-tagline{margin-top:4px;color:rgba(238,242,244,0.72);font-size:.94rem}
body.public-home .footer-copy-group{display:flex;flex-direction:column;gap:10px;align-items:flex-end;color:rgba(238,242,244,0.80);text-align:right}
body.public-home .footer-social-links{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.public-home .footer-social-link{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff7ed;
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease;
}
body.public-home .footer-social-link:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,0.16);
  border-color:rgba(255,255,255,0.22);
}
body.public-home .footer-social-link svg{width:20px;height:20px;display:block}
body.public-home .footer a{color:#fff2d8}
body.public-home .footer-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,0.1);
  color:rgba(238,242,244,0.72);
  font-size:.86rem;
  line-height:1.5;
  text-align:center;
}
body.public-home .footer-meta p{margin:0}
body.public-home .footer-meta a{
  color:#f7d8a6;
  font-weight:700;
  text-decoration:none;
}
body.public-home .footer-meta a:hover{text-decoration:underline}
body.public-home .live-viewer-row{display:flex;justify-content:center;margin:-8px auto 42px;padding:0 20px}
body.public-home .footer-stats-group{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}
body.public-home .footer-visitor-counter{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:15px;
  background:#163744;
  border:1px solid #1f4d5d;
  box-shadow:0 14px 28px rgba(15,23,42,0.14);
  color:#f8fafc;
}
body.public-home .footer-visitor-counter__icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:linear-gradient(135deg, rgba(217,119,6,0.92), rgba(15,118,110,0.92));
  color:#fff;
  box-shadow:0 8px 16px rgba(15,23,42,0.14);
}
body.public-home .footer-visitor-counter__icon svg{width:16px;height:16px;display:block}
body.public-home .footer-visitor-counter__content{display:flex;flex-direction:column;gap:1px;min-width:0;text-align:left}
body.public-home .footer-visitor-counter__label{font-size:.64rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgba(238,242,244,0.64)}
body.public-home .footer-visitor-counter__value{font-size:1rem;line-height:1.05;font-weight:800;color:#fff}
body.public-home .footer-visitor-counter__status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.14);
  color:rgba(248,250,252,0.88);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.02em;
}
body.public-home .footer-visitor-counter__status::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:999px;
  background:#34d399;
  box-shadow:0 0 0 0 rgba(52,211,153,0.5);
  animation:footerViewerPulse 1.8s ease-out infinite;
}
body.public-home .footer-visitor-counter__status--static::before{
  background:#94a3b8;
  box-shadow:none;
  animation:none;
}

@keyframes footerViewerPulse{
  0%{box-shadow:0 0 0 0 rgba(52,211,153,0.5)}
  70%{box-shadow:0 0 0 10px rgba(52,211,153,0)}
  100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}
}

body.public-home [data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .7s ease, transform .7s ease;will-change:opacity, transform}
body.public-home [data-reveal].is-visible{opacity:1;transform:none}

@media(max-width:1100px){
  body.public-home .hero-shell,
  body.public-home .news-grid-modern,
  body.public-home .feature-grid,
  body.public-home .data-grid-modern,
  body.public-home .app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.public-home .hero-shell{grid-template-columns:minmax(0,1fr)}
  body.public-home .hero-copy{max-width:none}
  body.public-home .principal-card{grid-template-columns:minmax(240px,.46fr) minmax(0,.54fr)}
  body.public-home .news-board__top{grid-template-columns:minmax(0,1fr)}
  body.public-home .news-board__featured{min-height:360px}
  body.public-home .news-board__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(min-width:1101px){
  body.public-home .section-news-marquee-row{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
  body.public-home .section-news-marquee{
    padding:4px 0 12px;
    mask-image:none;
  }
  body.public-home .news-content-modern p{line-height:1.68}
}

@media(max-width:860px){
  body.public-home .ribbon-grid,
  body.public-home .profile-grid,
  body.public-home .profile-pillars,
  body.public-home .activity-grid,
  body.public-home .feature-grid,
  body.public-home .news-grid-modern,
  body.public-home .data-grid-modern,
  body.public-home .app-grid,
  body.public-home .graduation-summary-grid{grid-template-columns:1fr}
  body.public-home .profile-grid{gap:22px}
  body.public-home .news-media-modern{height:clamp(300px, 62vw, 380px)}
  body.public-home .news-board__featured{min-height:300px}
  body.public-home .news-board__featured-copy{padding:22px 18px 18px}
  body.public-home .news-board__side{padding:4px 10px}
  body.public-home .news-board__side-item{
    grid-template-columns:72px minmax(0,1fr);
    gap:12px;
    padding:12px 2px;
  }
  body.public-home .news-board__side-media{width:72px;height:60px}
  body.public-home .news-board__grid{grid-template-columns:1fr}
  body.public-home .news-board__card-media{height:200px}
  body.public-home .prestasi-row{
    grid-template-columns:84px minmax(0,1fr);
    gap:12px;
    padding:10px;
  }
  body.public-home .prestasi-row__media{width:84px;height:68px}
  body.public-home .prestasi-row__arrow{display:none}
  body.public-home .prestasi-row__excerpt{display:none}
  body.public-home .cta-shell{flex-direction:column;align-items:flex-start}
  body.public-home .footer-copy-group{align-items:flex-start;text-align:left}
  body.public-home .footer-meta{
    align-items:center;
    text-align:center;
  }
  body.public-home .live-viewer-row{justify-content:flex-start;margin:-4px auto 34px;padding:0 20px}
  body.public-home .footer-stats-group{justify-content:flex-start}
  body.public-home .footer-visitor-counter{flex-wrap:wrap}
  body.public-home .principal-card{grid-template-columns:1fr}
  body.public-home .principal-body{padding:22px}
  body.public-home .principal-media img,
  body.public-home .principal-photo-fallback{
    max-width:100%;
    height:clamp(220px, 56vw, 320px);
    min-height:0;
    aspect-ratio:4 / 3;
  }
  body.public-home .section-news-marquee{mask-image:none}
  body.public-home .news-card-modern--ticker{flex-basis:252px;width:252px}
  body.public-home .news-card-modern--ticker .news-media-modern{height:180px}
  body.public-home .section-news-marquee__cta{flex-basis:232px;width:232px;padding:18px 18px}
  body.public-home .data-card-orbit{width:82px;height:82px;flex-basis:82px}
}

@media(max-width:720px){
  body.public-home .landing-nav{left:10px;right:10px;top:10px}
  body.public-home .landing-nav__surface{padding:11px 12px;border-radius:22px}
  body.public-home .landing-nav__brand-name{font-size:1.18rem}
  body.public-home .landing-nav__brand-subtitle{font-size:.74rem}
  body.public-home .landing-nav__panel{padding:16px;border-radius:24px}
  body.public-home .hero{height:auto;min-height:72vh;min-height:72svh;align-items:flex-start;padding:156px 0 76px}
  body.public-home .hero-school-mark{width:154px;height:154px;margin-top:10px;padding:11px;border-radius:32px}
  body.public-home .hero-copy h1{font-size:clamp(2.4rem, 13vw, 4rem)}
  body.public-home .hero-heading-line{font-size:clamp(1.15rem, 4.8vw, 1.54rem)}
  body.public-home .hero-announcement{grid-template-columns:1fr;gap:8px;padding:10px 11px}
  body.public-home .hero-announcement__badge{justify-self:flex-start;min-height:32px;width:40px;min-width:40px}
  body.public-home .hero-announcement__badge svg{width:16px;height:16px}
  body.public-home .hero-announcement__track span{font-size:.9rem;padding-right:36px}
  body.public-home .pillar-card,
  body.public-home .news-card-surface,
  body.public-home .feature-card,
  body.public-home .activity-card,
  body.public-home .data-card-modern,
  body.public-home .cta-shell,
  body.public-home .ribbon-card{border-radius:22px}
  body.public-home .data-card-top{flex-direction:column;align-items:flex-start}
  body.public-home .data-card-metric-row{align-items:flex-start}
  body.public-home .data-card-cta{flex-direction:column;align-items:flex-start}
  body.public-home .section{padding:72px 0}
  body.public-home .landing-ribbon{margin-top:-20px}
  body.public-home .section-news.has-static-news-background,
  body.public-home .section-prestasi.has-static-prestasi-background{background-attachment:scroll}
}

@media(max-width:560px){
  body.public-home .container{padding:0 18px}
  body.public-home .landing-nav__surface{padding:10px 11px;border-radius:20px}
  body.public-home .landing-nav__brand-mark{width:46px;height:46px;flex-basis:46px;border-radius:14px}
  body.public-home .landing-nav__brand-name{font-size:1.08rem}
  body.public-home .landing-nav__brand-subtitle{display:none}
  body.public-home .landing-nav__toggle{padding:0 12px;min-height:44px}
  body.public-home .landing-nav__toggle-text{display:none}
  body.public-home .landing-nav__panel{left:-4px;right:-4px;padding:15px;border-radius:22px}
  body.public-home .landing-nav__panel-title{font-size:1.5rem}
  body.public-home .hero{padding:168px 0 72px}
  body.public-home .hero-school-mark{width:134px;height:134px;margin:12px auto 18px;padding:10px;border-radius:27px}
  body.public-home .hero-school-logo,
  body.public-home .hero-school-fallback{border-radius:19px}
  body.public-home .hero-school-fallback{font-size:3rem}
  body.public-home .hero-actions,
  body.public-home .cta-actions{flex-direction:column;width:100%}
  body.public-home .hero-btn{width:100%}
  body.public-home .principal-body h3,
  body.public-home .news-content-modern h3,
  body.public-home .feature-card h3,
  body.public-home .activity-card h3,
  body.public-home .data-card-top h3{font-size:1.7rem}
  body.public-home .prestasi-row__title{font-size:1.12rem}
  body.public-home .data-card-metric strong{font-size:2.8rem}
  body.public-home .app-card-link{align-items:flex-start}
  body.public-home .app-card-title{font-size:1.22rem}
  body.public-home .principal-media img,
  body.public-home .principal-photo-fallback{min-height:240px}
  body.public-home .footer-brand-block{align-items:flex-start}
}

@media (prefers-reduced-motion: reduce){
  body.public-home .data-card-link .data-card-modern{
    transition:none !important;
  }
  body.public-home .data-card-orbit span{
    animation:none !important;
  }
}

@media(min-width:901px){
  body.public-home .landing-nav{left:20px;right:20px;top:18px}
  body.public-home .landing-nav__surface{
    grid-template-columns:auto minmax(0,1fr);
    gap:20px;
    padding:14px 20px;
    border-radius:26px;
  }
  body.public-home .landing-nav__brand-mark{width:54px;height:54px;flex-basis:54px;border-radius:18px}
  body.public-home .landing-nav__brand-name{font-size:1.6rem}
  body.public-home .landing-nav__brand-subtitle{font-size:.84rem}
  body.public-home .landing-nav__toggle,
  body.public-home .landing-nav__close,
  body.public-home .landing-nav__backdrop{display:none}
  body.public-home .landing-nav__panel{
    position:static;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    padding:0;
    margin-left:auto;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    max-height:none;
    overflow:visible;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
  }
  body.public-home .landing-nav__panel-head{display:none}
  body.public-home .landing-nav__links{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
  }
  body.public-home .landing-nav__links a{
    min-height:46px;
    padding:0 16px;
    border-radius:999px;
    color:#fff;
    background:transparent;
    border:0;
  }
  body.public-home .landing-nav__links a::after{display:none}
  body.public-home .landing-nav__links a:hover{background:rgba(255,255,255,0.10);border-color:transparent}
  body.public-home .landing-nav__links a.is-active,
  body.public-home .landing-nav__links a[aria-current="page"]{
    color:#fff4df;
    background:rgba(255,255,255,0.14);
    border-color:transparent;
    box-shadow:none;
  }
  body.public-home .landing-nav.is-scrolled .landing-nav__links a.is-active,
  body.public-home .landing-nav.is-scrolled .landing-nav__links a[aria-current="page"]{background:rgba(255,255,255,0.10)}
}

.news-read-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-top:auto;
  color:#0f766e;
  font-size:.92rem;
  font-weight:800;
  text-decoration:none;
}
.news-read-link::after{
  content:'->';
  font-size:.82rem;
  transition:transform .2s ease;
}
.news-read-link:hover::after{transform:translateX(2px)}

.news-detail-shell{padding-top:28px;padding-bottom:64px}
.news-detail-hero{align-items:flex-end;gap:20px}
.news-detail-actions{display:flex;gap:10px;flex-wrap:wrap}
.news-detail-panel{padding:clamp(22px, 3vw, 34px)}
.news-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
  color:#6a7380;
  font-size:.92rem;
  font-weight:700;
}
.news-detail-meta span{
  display:inline-flex;
  align-items:center;
  padding:9px 14px;
  border-radius:999px;
  background:#f3f5f7;
}
.news-detail-taxonomy{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}
.news-detail-cover,
.news-detail-carousel{
  overflow:hidden;
  border-radius:24px;
  background:#eef2f6;
  box-shadow:0 20px 40px rgba(15, 23, 42, 0.10);
}
.news-detail-cover img,
.news-detail-carousel-slide img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.news-detail-carousel{
  position:relative;
  touch-action:pan-y;
}
.news-detail-carousel-track{
  position:relative;
  width:100%;
}
.news-detail-carousel-slide{
  margin:0;
  display:none;
  pointer-events:none;
}
.news-detail-carousel-slide.is-active{display:block;pointer-events:auto}
.news-detail-carousel-slide img{
  object-fit:contain;
  object-position:center center;
}
.news-detail-carousel:focus-visible{outline:3px solid rgba(15,118,110,0.38);outline-offset:4px}
.news-detail-carousel-controls{
  position:absolute;
  inset:auto 16px 16px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  z-index:2;
}
.news-detail-carousel-button{
  width:46px;
  height:46px;
  border:0;
  border-radius:999px;
  background:rgba(15, 23, 42, 0.55);
  color:#fff;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.news-detail-carousel-button:hover{background:rgba(15, 23, 42, 0.72)}
.news-detail-carousel-dots{
  display:flex;
  flex:1;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.news-detail-carousel-dot{
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,0.58);
  cursor:pointer;
}
.news-detail-carousel-dot.is-active{
  width:28px;
  background:#fff;
}
.news-detail-content{
  margin-top:28px;
  color:#20313d;
  line-height:1.85;
  font-size:1rem;
}
.news-detail-content > :first-child{margin-top:0}
.news-detail-content p,
.news-detail-content ul,
.news-detail-content ol,
.news-detail-content blockquote,
.news-detail-content figure{margin:0 0 1.15em}
.news-detail-content img{
  display:block;
  width:min(100%, 760px) !important;
  max-width:100% !important;
  height:auto !important;
  max-height:540px;
  margin:22px auto;
  padding:10px;
  border-radius:20px;
  background:#f7f9fb;
  object-fit:contain;
  box-shadow:0 14px 30px rgba(15, 23, 42, 0.10);
}
.news-detail-content a{color:#0f766e}

.news-share{
  margin-top:34px;
  padding-top:24px;
  border-top:1px solid rgba(15,23,42,0.08);
}
.news-share__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.news-share__label{
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}
.news-share__hint{
  font-size:.86rem;
  font-weight:700;
  color:#0f766e;
}
.news-share__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.news-share__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,0.08);
  background:#fff;
  color:#14212b;
  font:inherit;
  font-size:.9rem;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.news-share__btn svg{width:16px;height:16px;flex:0 0 16px;display:block}
.news-share__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(15,23,42,0.08);
}
.news-share__btn--link{background:#fff7ed;border-color:rgba(217,119,6,0.22);color:#b45309}
.news-share__btn--ig{background:linear-gradient(135deg,#f58529,#dd2a7b 48%,#8134af);border-color:transparent;color:#fff}
.news-share__btn--tiktok{background:#111827;border-color:#111827;color:#fff}
.news-share__btn--fb{background:#1877f2;border-color:#1877f2;color:#fff}

@media(max-width:720px){
  .news-share__btn{flex:1 1 calc(50% - 10px);min-width:140px}
}

@media(max-width:720px){
  .news-detail-shell{padding-top:18px;padding-bottom:42px}
  .news-detail-hero{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:18px 16px;
  }
  .news-detail-hero .all-news-brand{
    flex-direction:row;
    align-items:flex-start;
    gap:12px;
  }
  .news-detail-hero .all-news-brand-mark{width:58px;height:58px;flex-basis:58px;border-radius:18px}
  .news-detail-hero .all-news-brand > div{width:100%}
  .news-detail-hero .all-news-kicker{margin-bottom:5px;font-size:.7rem;letter-spacing:.12em}
  .news-detail-hero h1{
    font-size:clamp(1.65rem, 7.4vw, 2.05rem);
    line-height:1.08;
    text-wrap:balance;
  }
  .news-detail-hero p{
    margin-top:6px;
    font-size:.9rem;
    line-height:1.55;
  }
  .news-detail-actions{
    width:auto;
    max-width:100%;
    gap:8px;
    justify-content:flex-start;
  }
  .news-detail-actions .pagination-link{
    display:inline-flex;
    align-items:center;
    flex:0 1 auto;
    justify-content:center;
    min-height:40px;
    padding-inline:12px;
    font-size:.88rem;
    white-space:nowrap;
  }
  .news-detail-panel{padding:18px}
  .news-detail-cover,
  .news-detail-carousel,
  .news-detail-content img{border-radius:18px}
  .news-detail-meta{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    margin-bottom:16px;
  }
  .news-detail-meta span{
    width:100%;
    justify-content:flex-start;
    padding:10px 12px;
    border-radius:14px;
  }
  .news-detail-taxonomy{gap:8px;margin-bottom:16px}
  .news-detail-carousel-controls{inset:auto 12px 12px 12px}
  .news-detail-carousel-button{width:40px;height:40px;font-size:1.55rem}
}

@media(max-width:460px){
  .news-detail-hero{gap:12px;padding:16px 14px}
  .news-detail-hero .all-news-brand{gap:10px}
  .news-detail-hero .all-news-brand-mark{width:50px;height:50px;flex-basis:50px;border-radius:16px}
  .news-detail-hero h1{font-size:clamp(1.4rem, 7.8vw, 1.75rem)}
  .news-detail-hero p{font-size:.84rem;line-height:1.5}
  .news-detail-actions .pagination-link{min-height:38px;padding-inline:11px;font-size:.82rem}
}
