/* ==========================================================================
   Salsabila Edu — main.css
   ========================================================================== */

:root {
	--ss-primary: #0f6b4f;
	--ss-accent: #e0a526;
	--ss-ink: #13241d;
	--ss-muted: #5a6b63;
	--ss-line: #e1e9e5;
	--ss-soft: #f3f8f5;
	--ss-surface: #ffffff;
	--ss-dark: color-mix(in srgb, var(--ss-primary) 30%, #04140e);
	--ss-primary-600: color-mix(in srgb, var(--ss-primary) 85%, #000);
	--ss-primary-50: color-mix(in srgb, var(--ss-primary) 8%, #fff);
	--ss-accent-ink: color-mix(in srgb, var(--ss-accent) 30%, #2a1d00);

	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(10, 40, 28, .04), 0 12px 32px -12px rgba(10, 40, 28, .18);
	--shadow-lg: 0 30px 60px -24px rgba(10, 40, 28, .35);
	--container: 1240px;
	--header-h: 80px;
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Cpath d='M40 18l15.6 6.4L62 40l-6.4 15.6L40 62l-15.6-6.4L18 40l6.4-15.6z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M0 0l8 8M80 0l-8 8M0 80l8-8M80 80l-8-8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Reset & dasar ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--ss-ink); background: var(--ss-surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ss-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ss-primary-600); }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ss-ink); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ss-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ss-accent); color: #1a1200; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ss-ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 860px; }

/* Tombol ------------------------------------------------------------------- */
.btn { --b: var(--ss-primary); --t: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; border: 0; background: var(--b); color: var(--t); font-weight: 700; font-size: 15.5px; line-height: 1.2; text-align: center; transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { color: var(--t); transform: translateY(-2px); box-shadow: 0 12px 24px -12px var(--b); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .ic-arrow-right { transform: translateX(3px); }
.btn--primary { --b: var(--ss-primary); }
.btn--accent { --b: var(--ss-accent); --t: var(--ss-accent-ink); }
.btn--wa { --b: #1fae55; }
.btn--ghost { background: transparent; color: var(--ss-primary); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: var(--ss-primary); background: var(--ss-primary-50); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { padding: .6em 1.15em; font-size: 14px; }
.btn--lg { padding: 1em 1.9em; font-size: 16.5px; }
.btn--block { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ss-soft); color: var(--ss-ink); transition: background .2s, color .2s, transform .2s; }
.icon-btn:hover { background: var(--ss-primary); color: #fff; }
.icon-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); }
.icon-btn--glass:hover { background: #fff; color: var(--ss-primary); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ss-primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ss-accent); border-radius: 2px; }
.eyebrow--light { color: var(--ss-accent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--ss-accent); border-radius: 2px; }
.sec-title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 12px; max-width: 22ch; }
.sec-head--center .sec-title { margin-inline: auto; }
.sec-desc { color: var(--ss-muted); font-size: 17.5px; max-width: 60ch; margin: 0; }
.sec-head--center .sec-desc { margin-inline: auto; }
.lead { font-size: 18px; color: var(--ss-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ss-primary); white-space: nowrap; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic, a:hover .link-arrow .ic { transform: translateX(4px); }
.link-arrow--light { color: var(--ss-accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ss-primary); background: var(--ss-primary-50); padding: 4px 10px; border-radius: 999px; }
.tag--light { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(4px); }
.arabic { font-family: "Amiri", serif; }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--ss-soft); }
.section--dark { background: var(--ss-dark); color: #dfe9e4; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; pointer-events: none; }

/* Placeholder gambar ------------------------------------------------------- */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; color: color-mix(in srgb, var(--ss-primary) 55%, #fff); background: linear-gradient(135deg, var(--ss-primary-50), color-mix(in srgb, var(--ss-accent) 14%, #fff)); }
.ph .ic { width: 42px; height: 42px; opacity: .7; }
.ph--pattern { background: var(--pattern) center/90px, linear-gradient(135deg, var(--ss-primary), var(--ss-dark)); color: rgba(255, 255, 255, .7); }
.ph--pattern .ic { width: 72px; height: 72px; }

/* Topbar ------------------------------------------------------------------- */
.topbar { background: var(--ss-dark); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 42px; }
.topbar__text { margin: 0; flex: 1; }
.topbar__contact { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--ss-accent); }
.topbar .ic { width: 15px; height: 15px; }

.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ss-soft); color: var(--ss-ink); transition: .2s; }
.social a:hover { background: var(--ss-primary); color: #fff; transform: translateY(-2px); }
.social .ic { width: 18px; height: 18px; }
.social--sm a { width: 28px; height: 28px; background: transparent; color: rgba(255, 255, 255, .78); }
.social--sm a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.social--sm .ic { width: 15px; height: 15px; }
.social--footer a { background: rgba(255, 255, 255, .08); color: #fff; }
.social--footer a:hover { background: var(--ss-accent); color: var(--ss-accent-ink); }
.social--lg { margin-top: 24px; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, color .3s; }
.site-header.is-scrolled { border-color: var(--ss-line); box-shadow: 0 8px 30px -18px rgba(10, 40, 28, .3); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ss-ink); flex: none; }
.brand:hover { color: var(--ss-ink); }
.brand__img { max-height: 52px; width: auto; }
.brand__img--white { display: none; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ss-primary); color: #fff; }
.brand__mark .ic { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 17px; letter-spacing: -.01em; }
.brand__text small { font-size: 12px; color: var(--ss-muted); max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; }

/* Header transparan di atas hero */
.has-transparent-header .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.has-transparent-header .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; color: #fff; }
.has-transparent-header .site-header:not(.is-scrolled) .brand,
.has-transparent-header .site-header:not(.is-scrolled) .brand__text small { color: #fff; }
.has-transparent-header .site-header:not(.is-scrolled) .brand__mark { background: rgba(255, 255, 255, .15); }
.has-transparent-header .site-header:not(.is-scrolled) .brand__img--default:only-child { filter: brightness(0) invert(1); }
.has-transparent-header .site-header:not(.is-scrolled) .brand__img--default:not(:only-child) { display: none; }
.has-transparent-header .site-header:not(.is-scrolled) .brand__img--white { display: block; }
.has-transparent-header .site-header:not(.is-scrolled) .icon-btn { background: rgba(255, 255, 255, .14); color: #fff; }
@media (min-width: 1101px) {
	.has-transparent-header .site-header:not(.is-scrolled) .menu > li > a { color: #fff; }
	.has-transparent-header .site-header:not(.is-scrolled) .menu > li > a::after { background: var(--ss-accent); }
}

/* Navigasi desktop */
.nav { flex: 1; display: flex; justify-content: center; }
.nav__head, .nav__foot { display: none; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ss-ink); border-radius: 10px; position: relative; }
.menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ss-primary); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease); }
.menu > li:hover > a::after, .menu > .current-menu-item > a::after, .menu > .current-menu-ancestor > a::after, .menu > .current_page_item > a::after { transform: scaleX(1); }
.menu-caret { width: 15px; height: 15px; transition: transform .2s; }
.menu li:hover > a .menu-caret, .menu li:focus-within > a .menu-caret { transform: rotate(180deg); }
.menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--ss-line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); z-index: 10; }
.menu .sub-menu .sub-menu { top: -8px; left: 100%; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ss-ink); font-size: 14.5px; font-weight: 500; }
.menu .sub-menu a:hover { background: var(--ss-soft); color: var(--ss-primary); }
.sub-toggle { display: none; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(6, 26, 18, .92); backdrop-filter: blur(8px); display: grid; align-items: start; padding-top: 18vh; animation: fadeIn .25s; }
.search-overlay[hidden] { display: none; }
.search-overlay .container { max-width: 760px; position: relative; }
.search-overlay__close { position: absolute; right: 24px; top: -70px; background: rgba(255, 255, 255, .12); color: #fff; }
.search-overlay__hint { color: rgba(255, 255, 255, .6); margin-top: 16px; font-size: 14px; }
.search-form { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; border: 1.5px solid var(--ss-line); }
.search-form > .ic { color: var(--ss-muted); }
.search-form input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; min-width: 0; color: var(--ss-ink); }
.search-overlay .search-form { padding: 10px 10px 10px 24px; }
.search-overlay .search-form input { font-size: 20px; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--ss-dark); isolation: isolate; }
.hero__slides { position: relative; min-height: clamp(600px, 92vh, 880px); }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--pattern) center/96px, radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--ss-primary) 70%, transparent), transparent 60%), linear-gradient(135deg, var(--ss-primary-600), var(--ss-dark)); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg img { transform: scale(1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 22, 15, .86) 0%, rgba(4, 22, 15, .55) 50%, rgba(4, 22, 15, .15) 100%), linear-gradient(0deg, rgba(4, 22, 15, .6), transparent 40%); }
.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 140px; }
.hero__content > * { max-width: 680px; }
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ss-accent); margin-bottom: 18px; }
.hero__label::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero__title { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; text-wrap: balance; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .84); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__slide.is-active .hero__label, .hero__slide.is-active .hero__title, .hero__slide.is-active .hero__sub, .hero__slide.is-active .hero__actions { animation: heroIn .9s var(--ease) both; }
.hero__slide.is-active .hero__title { animation-delay: .1s; }
.hero__slide.is-active .hero__sub { animation-delay: .2s; }
.hero__slide.is-active .hero__actions { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 48px; display: flex; align-items: center; gap: 24px; z-index: 2; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 44px; height: 24px; border: 0; background: transparent; padding: 0; display: grid; align-items: center; }
.hero__dots span { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero__dots .is-active span::after { content: ""; position: absolute; inset: 0; background: var(--ss-accent); transform-origin: left; animation: dotFill var(--hero-delay, 7s) linear forwards; }
.hero.is-paused .hero__dots .is-active span::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }
.hero__card { position: absolute; z-index: 3; right: max(32px, calc((100vw - var(--container)) / 2 + 32px)); bottom: 96px; width: 340px; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, .96); color: var(--ss-ink); box-shadow: var(--shadow-lg); animation: heroIn 1s .5s var(--ease) both; }
.hero__card-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ss-primary); }
.hero__card-title { display: block; font-size: 19px; line-height: 1.3; margin: 8px 0 16px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; margin-bottom: 16px; }
.countdown:has(> :nth-child(4)) { --n: 4; }
.countdown > div { background: var(--ss-soft); border-radius: 14px; padding: 10px 6px; text-align: center; }
.countdown b { display: block; font-size: 26px; line-height: 1.1; color: var(--ss-primary); font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11.5px; color: var(--ss-muted); text-transform: uppercase; letter-spacing: .08em; }
.countdown--lg { max-width: 420px; margin: 24px 0 28px; }
.countdown--lg > div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.countdown--lg b { color: #fff; font-size: 34px; }
.countdown--lg small { color: rgba(255, 255, 255, .7); }
.countdown.is-over { display: none; }

/* Stats -------------------------------------------------------------------- */
.stats { position: relative; z-index: 4; margin-top: -1px; background: var(--ss-surface); border-bottom: 1px solid var(--ss-line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.stat { display: flex; align-items: center; gap: 16px; padding: 34px 24px; border-right: 1px solid var(--ss-line); }
.stat:last-child { border-right: 0; }
.stat__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ss-primary-50); color: var(--ss-primary); flex: none; }
.stat__icon .ic { width: 26px; height: 26px; }
.stat__num { font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { font-size: 26px; font-weight: 800; color: var(--ss-accent); margin-left: 2px; }
.stat__label { display: block; color: var(--ss-muted); font-size: 14.5px; margin-top: 4px; }

/* About -------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about__img img, .about__img .ph { width: 100%; height: 100%; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: 28px; border: 2px solid var(--ss-accent); z-index: -1; }
.about__badge { position: absolute; left: -24px; bottom: 40px; background: #fff; border-radius: 20px; padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center; }
.about__badge .arabic { display: block; font-size: 34px; line-height: 1.3; color: var(--ss-primary); }
.about__badge small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ss-muted); }
.tabs { margin: 28px 0; }
.tabs__list { display: inline-flex; gap: 4px; padding: 4px; background: var(--ss-soft); border-radius: 999px; margin-bottom: 18px; }
.tabs__list button { border: 0; background: transparent; padding: 9px 22px; border-radius: 999px; font-weight: 700; color: var(--ss-muted); transition: .2s; }
.tabs__list button.is-active { background: #fff; color: var(--ss-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.visi { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.5; padding-left: 20px; border-left: 4px solid var(--ss-accent); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ss-primary); color: #fff; margin-top: 2px; stroke-width: 3; }

/* Jenjang ------------------------------------------------------------------ */
.jenjang__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.jenjang-card { display: grid; grid-template-columns: 220px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.jenjang-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.jenjang-card__media { position: relative; overflow: hidden; }
.jenjang-card__media img, .jenjang-card__media .ph { width: 100%; height: 100%; object-fit: cover; }
.jenjang-card__body { padding: 28px; }
.jenjang-card__abbr { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; background: var(--ss-accent); color: var(--ss-accent-ink); padding: 3px 10px; border-radius: 8px; margin-bottom: 12px; }
.jenjang-card h3 { font-size: 22px; margin-bottom: 4px; }
.jenjang-card__meta { font-size: 14px; color: var(--ss-primary); font-weight: 600; }
.jenjang-card p { color: var(--ss-muted); font-size: 15px; }

/* Program / feature -------------------------------------------------------- */
.program__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { position: relative; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--ss-line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--ss-primary-50); transition: transform .5s var(--ease); z-index: 0; }
.feature > * { position: relative; z-index: 1; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { transform: scale(5); }
.feature__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ss-primary); color: #fff; margin-bottom: 22px; box-shadow: 0 10px 20px -10px var(--ss-primary); }
.feature__icon .ic { width: 28px; height: 28px; }
.feature__title { font-size: 21px; margin-bottom: 2px; }
.feature__sub { font-size: 14px; font-weight: 700; color: var(--ss-accent-ink); color: color-mix(in srgb, var(--ss-accent) 70%, #000); margin-bottom: 12px; }
.feature__text { color: var(--ss-muted); font-size: 15.5px; margin: 0; }
.feature .link-arrow { margin-top: 14px; }

/* Keunggulan --------------------------------------------------------------- */
.keunggulan__grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
.keunggulan__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.keunggulan__intro p { color: rgba(255, 255, 255, .72); font-size: 17px; margin-bottom: 28px; }
.keunggulan__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.usp { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.usp:hover { background: rgba(255, 255, 255, .09); border-color: color-mix(in srgb, var(--ss-accent) 50%, transparent); transform: translateY(-4px); }
.usp__num { position: absolute; right: 22px; top: 18px; font-size: 40px; font-weight: 800; color: rgba(255, 255, 255, .06); line-height: 1; }
.usp__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ss-accent); color: var(--ss-accent-ink); margin-bottom: 18px; }
.usp h3 { font-size: 19px; margin-bottom: 6px; }
.usp p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 15px; }

/* Kartu artikel ------------------------------------------------------------ */
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ss-line); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ss-soft); }
.card__media img, .card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ss-muted); margin-bottom: 10px; flex-wrap: wrap; }
.card__title { font-size: 19px; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.01em; }
.card__title a { color: var(--ss-ink); background: linear-gradient(currentColor, currentColor) 0 100%/0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.card__title a:hover { color: var(--ss-primary); background-size: 100% 2px; }
.card__excerpt { color: var(--ss-muted); font-size: 15px; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.layout--sidebar .card-grid { grid-template-columns: repeat(2, 1fr); }

/* Kabar -------------------------------------------------------------------- */
.news__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.news-lead { position: relative; border-radius: 24px; overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.news-lead__media { position: absolute; inset: 0; z-index: -1; }
.news-lead__media img, .news-lead__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-lead:hover .news-lead__media img { transform: scale(1.05); }
.news-lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 22, 15, .92), rgba(4, 22, 15, .1) 70%); pointer-events: none; }
.news-lead__body { padding: 32px; }
.news-lead .card__meta { color: rgba(255, 255, 255, .8); }
.news-lead h3 { font-size: clamp(22px, 2.4vw, 30px); }
.news-lead h3 a { color: #fff; }
.news-lead h3 a:hover { color: var(--ss-accent); }
.news-lead p { color: rgba(255, 255, 255, .78); margin: 0; }
.news__list { display: grid; gap: 14px; align-content: start; }
.news-row { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 18px; border: 1px solid var(--ss-line); transition: .25s var(--ease); }
.news-row:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateX(4px); }
.news-row__media { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.news-row__media img, .news-row__media .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.news-row__media .ph .ic { width: 28px; height: 28px; }
.news-row time { font-size: 13px; color: var(--ss-muted); }
.news-row h3 { font-size: 16.5px; line-height: 1.4; margin: 4px 0 0; }
.news-row h3 a { color: var(--ss-ink); }
.news-row h3 a:hover { color: var(--ss-primary); }

/* Rail (gulir horizontal) -------------------------------------------------- */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 24px; margin: -6px -4px 0; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 10px; justify-content: flex-end; }
.rail__nav .icon-btn { background: #fff; box-shadow: var(--shadow); }
.rail__nav .icon-btn:hover { background: var(--ss-primary); }
.rail__nav .icon-btn:disabled { opacity: .35; pointer-events: none; }

/* Agenda ------------------------------------------------------------------- */
.agenda__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.agenda-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 128px 32px 32px; border-radius: 24px; color: #fff; background: var(--pattern) center/80px, linear-gradient(150deg, var(--ss-primary), var(--ss-dark)); }
.agenda-feature:hover { color: #fff; }
.agenda-feature__date { position: absolute; top: 28px; left: 32px; text-align: center; background: var(--ss-accent); color: var(--ss-accent-ink); border-radius: 18px; padding: 12px 18px; line-height: 1; }
.agenda-feature__date strong { display: block; font-size: 40px; }
.agenda-feature__date span { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.agenda-feature .tag { align-self: flex-start; margin-bottom: 12px; }
.agenda-feature h3 { color: #fff; font-size: 26px; }
.agenda-feature p { color: rgba(255, 255, 255, .78); }
.agenda__list, .agenda-list { display: grid; gap: 14px; align-content: start; }
.agenda-item { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ss-line); transition: .25s var(--ease); }
.agenda-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.agenda-item__date { text-align: center; border-radius: 14px; background: var(--ss-primary-50); color: var(--ss-primary); padding: 10px 6px; line-height: 1.1; }
.agenda-item__date strong { display: block; font-size: 28px; }
.agenda-item__date span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.agenda-item__date--lg { min-width: 110px; padding: 16px; }
.agenda-item__date--lg strong { font-size: 44px; }
.agenda-item h3 { font-size: 17px; margin-bottom: 6px; }
.agenda-item h3 a { color: var(--ss-ink); }
.agenda-item h3 a:hover { color: var(--ss-primary); }
.agenda-item.is-past { opacity: .7; }
.agenda-item.is-past .agenda-item__date { background: var(--ss-soft); color: var(--ss-muted); }
.agenda-item__badge { position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 700; background: var(--ss-soft); color: var(--ss-muted); padding: 2px 8px; border-radius: 6px; }
.meta-list { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ss-muted); }
.meta-list li { display: inline-flex; align-items: center; gap: 6px; }
.meta-list .ic { width: 16px; height: 16px; color: var(--ss-primary); }
.meta-list--light { color: rgba(255, 255, 255, .82); }
.meta-list--light .ic { color: var(--ss-accent); }
.meta-list--stack { flex-direction: column; gap: 10px; font-size: 16px; }
.list-title { font-size: 22px; margin: 8px 0 18px; }
.list-title:not(:first-child) { margin-top: 48px; }
.event-box { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius); background: var(--ss-soft); margin-bottom: 32px; }
.event-box .meta-list { flex: 1; min-width: 220px; }

/* Guru --------------------------------------------------------------------- */
.person { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--ss-soft); }
.person__photo img, .person__photo .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__body { padding: 18px 16px 22px; }
.person h3 { font-size: 17px; margin-bottom: 2px; }
.person__role { font-size: 14px; color: var(--ss-primary); font-weight: 600; margin: 0; }
.person__sub { font-size: 13.5px; color: var(--ss-muted); margin: 2px 0 0; }
.rail__item--narrow { }
.guru .rail__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-link { color: inherit; display: block; }
.person-link:hover { color: inherit; }
.person-grid .person { border: 1px solid var(--ss-line); }
.guru-profile { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.guru-profile__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.guru-profile__photo img, .guru-profile__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.guru-profile__data { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0; }
.guru-profile__data dt { font-weight: 700; color: var(--ss-muted); }
.guru-profile__data dd { margin: 0; }

/* Galeri ------------------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; grid-auto-flow: dense; }
.mosaic__cell:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__cell:nth-child(3) { grid-row: span 2; }
.mosaic__cell:nth-child(6) { grid-column: span 2; }
.gal-item { position: relative; display: block; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: var(--ss-soft); color: #fff; }
.gal-item img, .gal-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); min-height: 0; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 22, 15, .8), transparent 55%); opacity: .0; transition: opacity .3s; }
.gal-item:hover::after, .gal-item:focus-visible::after { opacity: 1; }
.gal-item__cap { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; font-weight: 700; font-size: 15px; transform: translateY(8px); opacity: 0; transition: .3s var(--ease); }
.gal-item:hover .gal-item__cap, .gal-item:focus-visible .gal-item__cap { opacity: 1; transform: none; }
.gal-item .ph + .gal-item__cap, .gal-item .ph ~ .gal-item__cap { opacity: 1; transform: none; color: var(--ss-primary); }
.gal-item__play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ss-primary); box-shadow: 0 0 0 10px rgba(255, 255, 255, .2); transition: transform .3s var(--ease); }
.gal-item__play .ic { width: 24px; height: 24px; margin-left: 4px; }
.gal-item:hover .gal-item__play { transform: translate(-50%, -50%) scale(1.1); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid__cell { aspect-ratio: 4/3; }
.gallery-grid__cell.is-hidden { display: none; }

/* Testimoni ---------------------------------------------------------------- */
.testi__slider { overflow: hidden; }
.testi__track { display: flex; gap: 24px; transition: transform .6s var(--ease); }
.testi-card { flex: 0 0 calc((100% - 48px) / 3); margin: 0; background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; position: relative; border: 1px solid var(--ss-line); }
.testi-card__quote { position: absolute; right: 26px; top: 22px; color: var(--ss-primary-50); }
.testi-card__quote .ic { width: 52px; height: 52px; color: color-mix(in srgb, var(--ss-primary) 12%, #fff); }
.stars { display: flex; gap: 2px; color: var(--ss-accent); margin-bottom: 14px; }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }
.testi-card blockquote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.7; flex: 1; }
.testi-card blockquote p:last-child { margin: 0; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ss-line); }
.testi-card figcaption strong { display: block; font-size: 15.5px; }
.testi-card figcaption small { color: var(--ss-muted); font-size: 13.5px; }
.avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: var(--ss-primary); color: #fff; font-weight: 800; font-size: 20px; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.testi__nav .icon-btn { background: #fff; box-shadow: var(--shadow); }
.testi__nav .icon-btn:hover { background: var(--ss-primary); }
.testi__dots { display: flex; gap: 6px; }
.testi__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: var(--ss-line); transition: .3s; }
.testi__dots button.is-active { width: 28px; background: var(--ss-primary); }

/* PPDB CTA ----------------------------------------------------------------- */
.ppdb-cta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: 32px; color: #fff; background: radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--ss-accent) 30%, transparent), transparent 60%), linear-gradient(135deg, var(--ss-primary), var(--ss-dark)); }
.ppdb-cta__box .pattern { opacity: 1.4; }
.ppdb-cta__content, .ppdb-steps { position: relative; }
.ppdb-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.ppdb-cta p { color: rgba(255, 255, 255, .8); font-size: 17.5px; max-width: 52ch; }
.ppdb-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.ppdb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.ppdb-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.ppdb-steps__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--ss-primary); flex: none; }
.ppdb-steps small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ss-accent); font-weight: 700; }
.ppdb-steps strong { display: block; font-size: 17px; }
.ppdb-steps div > span { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* FAQ ---------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro p { color: var(--ss-muted); font-size: 17px; }
.accordion { display: grid; gap: 12px; }
.accordion__item { border: 1px solid var(--ss-line); border-radius: 18px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.accordion__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 17px; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ss-soft); flex: none; transition: background .3s, transform .3s; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ss-primary); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item[open] .accordion__icon { background: var(--ss-primary); }
.accordion__item[open] .accordion__icon::before, .accordion__item[open] .accordion__icon::after { background: #fff; }
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__body { padding: 0 24px 20px; color: var(--ss-muted); }
.accordion__body p:last-child { margin: 0; }

/* Mitra -------------------------------------------------------------------- */
.mitra { padding-block: 48px; border-top: 1px solid var(--ss-line); overflow: hidden; }
.mitra__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ss-muted); margin-bottom: 24px; }
.marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; padding-right: 64px; list-style: none; margin: 0; padding-left: 0; flex: none; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: .3s; }
.marquee__track a:hover img { filter: none; opacity: 1; }
.mitra__name { font-size: 22px; font-weight: 800; color: color-mix(in srgb, var(--ss-ink) 40%, #fff); white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Kontak ------------------------------------------------------------------- */
.kontak { background: var(--ss-soft); }
.kontak__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.kontak__info > p { color: var(--ss-muted); font-size: 17px; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--ss-primary); flex: none; box-shadow: var(--shadow); }
.contact-list small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ss-muted); }
.contact-list a { color: var(--ss-ink); font-weight: 600; }
.contact-list a:hover { color: var(--ss-primary); }
.kontak__map { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow-lg); }
.kontak__map iframe, .map-full iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-full { height: 440px; }

/* Halaman dalam ------------------------------------------------------------ */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); background: var(--pattern) center/84px, radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--ss-accent) 22%, transparent), transparent 60%), linear-gradient(135deg, var(--ss-primary), var(--ss-dark)); }
.page-hero__title { color: #fff; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.03em; margin: 12px 0 10px; max-width: 24ch; text-wrap: balance; }
.page-hero__desc { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 62ch; }
.page-hero__desc p { margin: 0; }
.page-hero--article .tag { margin-top: 8px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--ss-accent); }
.crumbs [aria-current] { color: #fff; font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ss-line); background: #fff; color: var(--ss-ink); font-weight: 600; font-size: 14.5px; transition: .2s; }
.chip .ic { width: 14px; height: 14px; }
.chip:hover { border-color: var(--ss-primary); color: var(--ss-primary); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ss-primary); border-color: var(--ss-primary); color: #fff; }
.chips__sep { width: 1px; height: 24px; background: var(--ss-line); margin-inline: 6px; }

.layout--sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.layout__side .widget { padding: 24px; border-radius: var(--radius); background: var(--ss-soft); margin-bottom: 24px; }
.widget-title { font-size: 17px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--ss-line); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ss-line); color: var(--ss-ink); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--ss-primary); color: #fff; border-color: var(--ss-primary); }
.page-numbers.dots { border: 0; }

/* Konten artikel ----------------------------------------------------------- */
.entry-content { font-size: 17.5px; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 23px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin-inline: 0; padding: 20px 26px; border-left: 4px solid var(--ss-accent); background: var(--ss-soft); border-radius: 0 16px 16px 0; font-size: 19px; }
.entry-content img, .entry-content figure img { border-radius: 16px; }
.entry-content figcaption { font-size: 14px; color: var(--ss-muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--ss-line); text-align: left; }
.entry-content thead th { background: var(--ss-primary); color: #fff; }
.entry-content thead th:first-child { border-radius: 12px 0 0 0; }
.entry-content thead th:last-child { border-radius: 0 12px 0 0; }
.entry-content tbody tr:nth-child(even) { background: var(--ss-soft); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe { width: 100%; border-radius: 16px; }
.entry-content .alignwide { margin-inline: calc(-1 * min(120px, 8vw)); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.wp-block-button__link { border-radius: 999px; background: var(--ss-primary); padding: .85em 1.6em; font-weight: 700; text-decoration: none !important; }
.single__cover { margin: 0 0 32px; border-radius: 24px; overflow: hidden; }
.single__cover img { width: 100%; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; margin-bottom: 28px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.single__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--ss-line); }
.tags a { display: inline-block; font-size: 14px; padding: 4px 12px; border-radius: 99px; background: var(--ss-soft); margin: 0 6px 6px 0; color: var(--ss-ink); }
.share { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.share__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ss-soft); color: var(--ss-ink); transition: .2s; }
.share__btn .ic { width: 18px; height: 18px; }
.share__btn:hover { background: var(--ss-primary); color: #fff; }
.share__btn--wa:hover { background: #1fae55; }
.share__btn--fb:hover { background: #1877f2; }
.share__btn--tg:hover { background: #229ed9; }
.share__btn.is-copied { background: var(--ss-primary); color: #fff; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-navigation a { display: block; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--ss-line); color: var(--ss-ink); height: 100%; transition: .25s; }
.post-navigation a:hover { border-color: var(--ss-primary); box-shadow: var(--shadow); }
.post-navigation .nav-next { text-align: right; }
.post-navigation small { display: block; font-size: 13px; color: var(--ss-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.post-navigation span { font-weight: 700; line-height: 1.4; }
.comments { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px; border-radius: 16px; background: var(--ss-soft); margin-bottom: 14px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--ss-line); }

/* Pencarian, kosong, 404 --------------------------------------------------- */
.search-inline { margin-bottom: 32px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.search-results li { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--ss-line); }
.search-results h2 { font-size: 20px; margin: 8px 0 6px; }
.search-results h2 a { color: var(--ss-ink); }
.search-results p { color: var(--ss-muted); margin: 0; }
.empty { text-align: center; padding: 48px 24px; border-radius: 24px; background: var(--ss-soft); }
.empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--ss-primary); margin-bottom: 16px; }
.empty .search-form { max-width: 520px; margin: 24px auto 0; }
.notfound { text-align: center; }
.notfound__code { font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.06em; background: linear-gradient(135deg, var(--ss-primary), var(--ss-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .search-form { max-width: 520px; margin: 24px auto; }
.notfound__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.notice-box { padding: 18px 22px; border-radius: 14px; background: #fff7e0; border-left: 4px solid var(--ss-accent); }

/* PPDB & kontak ------------------------------------------------------------ */
.ppdb-page__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.ppdb-page__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card { padding: 24px; border-radius: var(--radius); background: var(--ss-soft); }
.side-card h3 { font-size: 18px; }
.side-card p { color: var(--ss-muted); font-size: 15px; }
.side-card--accent { background: linear-gradient(135deg, var(--ss-primary), var(--ss-dark)); color: #fff; }
.side-card--accent h3 { color: #fff; }
.side-card--accent p { color: rgba(255, 255, 255, .8); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ss-line); color: var(--ss-ink); font-weight: 600; }
.side-links li:last-child a { border: 0; }
.side-links a:hover { color: var(--ss-primary); }
.side-links .ic { color: var(--ss-primary); width: 18px; height: 18px; }
.countdown--dark > div { background: #fff; }
.ppdb-page .entry-content { font-size: 16.5px; }
.contact-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-page__form h2 { font-size: 26px; }

/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--ss-dark); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; opacity: .7; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand__text small { color: rgba(255, 255, 255, .6); }
.site-footer .brand__mark { background: rgba(255, 255, 255, .1); }
.site-footer .brand__img--default:only-child { filter: brightness(0) invert(1); }
.site-footer .brand__img--default:not(:only-child) { display: none; }
.site-footer .brand__img--white { display: block; }
.footer-col--about p { max-width: 38ch; margin-bottom: 22px; }
.footer-title { color: #fff; font-size: 16px; letter-spacing: .02em; margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover, .footer-contact a:hover { color: var(--ss-accent); }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ss-accent); opacity: .6; }
.footer-brosur { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ss-accent); font-weight: 700; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li, .footer-address { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ic, .footer-address .ic { color: var(--ss-accent); margin-top: 3px; width: 18px; height: 18px; }
.footer-address { margin-bottom: 14px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }

/* Tombol melayang ---------------------------------------------------------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 16px; border-radius: 999px; background: #1fae55; color: #fff; font-weight: 700; box-shadow: 0 12px 28px -8px rgba(31, 174, 85, .6); transition: transform .25s var(--ease); }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .ic { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 174, 85, .5); animation: pulse 2.2s infinite; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 89; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ss-primary); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ss-primary); color: #fff; }

/* Lightbox ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(3, 14, 10, .94); display: grid; place-items: center; padding: 64px 72px; animation: fadeIn .25s; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; max-width: min(1200px, 100%); width: 100%; text-align: center; }
.lightbox__media img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox__media .video-embed { margin: 0; }
.lightbox__cap { color: rgba(255, 255, 255, .85); margin-top: 14px; font-weight: 600; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: var(--ss-ink); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }

/* Animasi muncul ----------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
body.nav-open, body.lb-open { overflow: hidden; }

/* Responsif ---------------------------------------------------------------- */
@media (max-width: 1180px) {
	.hero__card { display: none; }
	.program__grid { grid-template-columns: repeat(2, 1fr); }
	.rail__track, .guru .rail__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.person-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
	:root { --header-h: 70px; }
	/* backdrop-filter membuat containing block baru bagi elemen fixed, jadi drawer harus bebas darinya. */
	.site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.has-transparent-header .site-header:not(.is-scrolled) { background: transparent; }
	.nav-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(400px, 88vw); flex-direction: column; justify-content: flex-start; background: #fff; color: var(--ss-ink); transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg); }
	.nav-open .nav { transform: none; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--ss-line); position: sticky; top: 0; background: #fff; z-index: 2; }
	.nav__head .brand, .nav__head .brand__text small { color: var(--ss-ink) !important; }
	.nav__head .brand__img--white { display: none !important; }
	.nav__head .brand__img--default { display: block !important; filter: none !important; }
	.nav__foot { display: grid; gap: 10px; padding: 20px 18px 32px; margin-top: auto; }
	.menu { flex-direction: column; align-items: stretch; padding: 10px; gap: 0; }
	.menu > li > a { padding: 14px 12px; font-size: 16.5px; color: var(--ss-ink) !important; }
	.menu > li > a::after { display: none; }
	.menu li { border-bottom: 1px solid var(--ss-line); }
	.menu .sub-menu li { border: 0; }
	.menu-caret { display: none; }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; background: transparent; }
	.menu .sub-menu.is-open { display: block; }
	.sub-toggle { display: grid; place-items: center; position: absolute; right: 4px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--ss-soft); color: var(--ss-ink); }
	.sub-toggle .ic { width: 18px; height: 18px; transition: transform .25s; }
	.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
	.nav-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(4, 20, 14, .5); opacity: 0; visibility: hidden; transition: .3s; }
	.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
	.keunggulan__grid, .faq__grid, .about__grid, .news__grid, .agenda__grid, .kontak__grid, .ppdb-cta__box, .contact-page, .ppdb-page__grid, .layout--sidebar { grid-template-columns: 1fr; }
	.keunggulan__intro, .faq__intro, .ppdb-page__side { position: static; }
	.about__media { max-width: 520px; }
	.testi-card { flex-basis: calc((100% - 24px) / 2); }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--ss-line); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.topbar__text, .topbar .social { display: none; }
	.topbar__inner { justify-content: center; }
	body { font-size: 16px; }
	.sec-head { flex-direction: column; align-items: flex-start; }
	.sec-head--center { align-items: center; }
	.hero__content { padding-bottom: 120px; }
	.hero__arrows { display: none; }
	.program__grid, .keunggulan__list, .card-grid, .layout--sidebar .card-grid { grid-template-columns: 1fr; }
	.jenjang-card { grid-template-columns: 1fr; }
	.jenjang-card__media { aspect-ratio: 16/9; }
	.rail__track, .guru .rail__track { grid-auto-columns: 78%; }
	.guru .rail__track { grid-auto-columns: 62%; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.testi-card { flex-basis: 100%; }
	.news-lead { min-height: 380px; }
	.news-row { grid-template-columns: 88px 1fr; }
	.person-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.about__badge { left: 12px; bottom: 16px; }
	.about__media::before { inset: 16px -12px -16px 16px; }
	.stat { padding: 22px 12px; gap: 12px; flex-direction: column; text-align: center; }
	.guru-profile { grid-template-columns: 1fr; }
	.guru-profile__photo { max-width: 260px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.wa-float__label { display: none; }
	.wa-float { padding: 0; width: 56px; justify-content: center; }
	.lightbox { padding: 64px 12px; }
	.lightbox__nav { top: auto !important; bottom: 14px; transform: none !important; }
	.lightbox__nav--prev { left: calc(50% - 54px); }
	.lightbox__nav--next { right: calc(50% - 54px); }
	.event-box { flex-direction: column; align-items: flex-start; }
	.entry-content .alignwide { margin-inline: 0; }
}

@media (max-width: 480px) {
	.brand__text small { display: none; }
	.brand__text strong { font-size: 16px; }
	.header-actions { gap: 6px; }
	.icon-btn { width: 40px; height: 40px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.topbar__contact li:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
}

@media print {
	.topbar, .site-header, .site-footer, .wa-float, .to-top, .share, .post-navigation { display: none !important; }
	.page-hero { background: none; color: #000; padding: 0; }
	.page-hero__title, .crumbs a { color: #000; }
}

/* ==========================================================================
   Artikel (v1.0.3): galeri otomatis, tipografi baca, progres baca
   ========================================================================== */
.page-hero--article { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--article .page-hero__title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; max-width: 30ch; margin-top: 16px; }
.page-hero--article .meta-list { margin-top: 18px; }
.single .section--tight { padding-top: 0; }
.single__cover { margin: -36px 0 40px; position: relative; z-index: 2; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--ss-soft); }
.single__cover a, .single__cover img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.entry-content--article { font-size: 18px; line-height: 1.85; color: color-mix(in srgb, var(--ss-ink) 88%, #fff); }
.entry-content--article > p:first-child { font-size: 20px; line-height: 1.7; color: var(--ss-ink); }
.entry-content--article > p:first-child strong:first-child { color: var(--ss-primary); }
.entry-content--article strong { color: var(--ss-ink); }
.entry-content hr { border: 0; height: 1px; background: var(--ss-line); margin: 2.4em 0; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 45%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 45%; }
.entry-content::after { content: ""; display: table; clear: both; }

.post-gallery { display: grid; gap: 12px; margin: 2em calc(-1 * min(72px, 5vw)); grid-template-columns: repeat(2, 1fr); }
.post-gallery--1 { grid-template-columns: 1fr; margin-inline: 0; }
.post-gallery--3 { grid-template-columns: repeat(6, 1fr); }
.post-gallery--3 .post-gallery__item:nth-child(1) { grid-column: span 6; }
.post-gallery--3 .post-gallery__item:nth-child(n+2) { grid-column: span 3; }
.post-gallery--many { grid-template-columns: repeat(3, 1fr); }
.post-gallery--many .post-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.post-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--ss-soft); aspect-ratio: 4 / 3; cursor: zoom-in; }
.post-gallery--1 .post-gallery__item { aspect-ratio: auto; max-height: 640px; }
.post-gallery--3 .post-gallery__item:nth-child(1) { aspect-ratio: 16 / 9; }
.post-gallery--many .post-gallery__item:first-child { aspect-ratio: auto; }
.entry-content .post-gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; max-width: none; transition: transform .6s var(--ease); }
.post-gallery--1 .post-gallery__item img { max-height: 640px; object-fit: contain; background: var(--ss-soft); }
.post-gallery__item::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b4f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transform: scale(.8); transition: .25s var(--ease); }
.post-gallery__item:hover img { transform: scale(1.05); }
.post-gallery__item:hover::after, .post-gallery__item:focus-visible::after { opacity: 1; transform: none; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ss-accent), var(--ss-primary)); transform-origin: left; transform: scaleX(0); }

@media (max-width: 782px) {
	.admin-bar .read-progress { top: 46px; }
	.single__cover { margin-top: -24px; border-radius: 18px; }
	.entry-content--article { font-size: 17px; }
	.entry-content--article > p:first-child { font-size: 18px; }
	.post-gallery { margin-inline: 0; gap: 8px; }
	.post-gallery--many { grid-template-columns: repeat(2, 1fr); }
	.post-gallery__item { border-radius: 12px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 1em 0; }
}
