:root {
  color-scheme: light;
  --forest: #102f25;
  --green: #18543b;
  --dark: #142e25;
  --muted: #506559;
  --mint: #dceee2;
  --paper: #f9f7ee;
  --cream: #fffdf6;
  --gold: #f3d675;
  --border: #dbe4da;
  --heading: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--dark); background: var(--cream); font-family: var(--body); line-height: 1.65; }
body, button, input { font-size: 16px; }
button, summary { cursor: pointer; }
button, input { font-family: inherit; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #95720f; outline-offset: 4px; }
.hero :focus-visible, .band-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.13; text-wrap: balance; }
h1, h2 { font-family: var(--heading); font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.13rem; line-height: 1.35; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 72px, 1200px); margin-inline: auto; }
.readable { max-width: 66ch; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.skip { position: fixed; top: 10px; left: 14px; z-index: 20; background: white; color: var(--forest); padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.kicker { display: inline-flex; gap: 10px; align-items: center; font-size: .73rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; opacity: .68; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 100px; background: var(--mint); color: var(--forest); font-size: .75rem; font-weight: 750; }
.btn, .icon-btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-weight: 720; line-height: 1.25; transition: background .18s ease, color .18s ease, transform .18s ease; }
.btn { padding: 13px 20px; min-height: 46px; font-size: .94rem; }
.btn:hover, .icon-btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--green); }
.btn-primary:hover { background: var(--forest); }
.btn-gold { color: var(--forest); background: var(--gold); }
.btn-gold:hover { background: #ffe397; }
.btn-outline { color: var(--forest); border-color: #9cb1a3; background: transparent; }
.btn-outline:hover { background: var(--mint); }
.btn-light { color: white; border-color: #ffffff80; background: #ffffff12; }
.btn-light:hover { background: #ffffff24; }
.icon-btn { width: 43px; height: 43px; color: inherit; border-color: currentColor; background: transparent; }
.icon-btn:disabled { opacity: .4; cursor: default; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 740; text-underline-offset: 5px; }
.inline-link .icon { width: 17px; }
.button-link { border: 0; background: none; padding: 0; text-decoration: underline; text-align: left; }

.site-header { z-index: 9; top: 12px; left: 0; right: 0; position: fixed; }
.nav-shell { width: min(100% - 36px, 1300px); min-height: 66px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 15px 9px 13px; border-radius: 42px; border: 1px solid var(--border); background: var(--cream); }
.site-header.overlay:not(.is-scrolled):not(.menu-open) .nav-shell { color: white; background: #0d2e25b8; border-color: #ffffff35; }
.site-header.is-scrolled .nav-shell { box-shadow: 0 8px 32px #152a2020; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; color: var(--forest); background: var(--gold); }
.brand-mark .icon { width: 23px; height: 23px; }
.brand-copy { display: grid; line-height: 1.22; }
.brand-copy strong { font-size: .96rem; font-weight: 800; }
.brand-copy small { margin-top: 3px; font-size: .72rem; opacity: .83; }
.site-nav, .nav-dropdown > summary { display: flex; align-items: center; }
.site-nav { gap: 15px; }
.site-nav a:not(.btn), .nav-dropdown > summary { font-size: .87rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.btn):hover, .nav-dropdown > summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; gap: 3px; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary .icon { width: 15px; }
.nav-dropdown .drop-panel { position: absolute; top: calc(100% + 14px); left: -15px; display: grid; min-width: 190px; padding: 9px; border: 1px solid var(--border); border-radius: 14px; background: var(--cream); color: var(--forest); box-shadow: 0 8px 20px #13271a26; }
.drop-panel a { padding: 7px 10px; border-radius: 8px; }
.drop-panel a:hover { background: var(--mint); }
.menu-button { display: none; }

.hero { position: relative; isolation: isolate; min-height: min(720px, 100svh); display: grid; align-content: center; overflow: hidden; color: white; background: #153d2e; }
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 45%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0a281ff5 0%,#0a281fd8 33%,#0b302687 54%,#102f2530 76%,#102f2530 100%), linear-gradient(0deg,#0c271ed0, transparent 30%); }
.hero .wrap { padding-block: 128px 115px; }
.hero-slide { max-width: 670px; min-height: 312px; }
.hero h1, .hero-title { margin: 15px 0 18px; font: 500 clamp(3.25rem, 6.6vw, 6.1rem)/.99 var(--heading); letter-spacing: -.06em; }
.hero h1 span { display: block; }
.hero .kicker { color: #fae4a1; }
.hero-lead { max-width: 43ch; font-size: 1.1rem; color: #f4f6ed; line-height: 1.55; margin-bottom: 25px; }
.hero-tools { position: absolute; inset: auto 0 28px; display: flex; align-items: center; justify-content: space-between; }
.hero .hero-tools { padding-block: 0; }
.hero-controls { display: flex; gap: 9px; align-items: center; }
.hero-dots { display: flex; gap: 0; align-items: center; padding: 0 4px; }
.hero-dots button { border: 0; background: transparent; padding: 0; width: 24px; height: 42px; display: grid; place-items: center; }
.hero-dots button::after { content: ""; display: block; width: 8px; height: 8px; border-radius: 50px; background: #ffffff75; }
.hero-dots button[aria-current="true"]::after { width: 16px; background: var(--gold); }
.hero-caption { color: white; font-size: .76rem; background: #102f25da; border: 1px solid #ffffff4a; border-radius: 50px; padding: 4px 10px; }
.factbar { background: var(--forest); color: white; border-top: 1px solid #ffffff38; }
.facts { margin-block: 0; min-height: 106px; display: grid; grid-template-columns: repeat(3,1fr) auto; align-items: center; gap: 20px; }
.fact { display: grid; align-items: center; line-height: 1.28; }
.fact { position: relative; padding-inline-start: 33px; }
.fact .icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--gold); }
.fact dt { font-size: .74rem; color: #c6dbce; }
.fact dd { font-size: .94rem; font-weight: 740; margin: 2px 0 0; }
.facts .inline-link { color: #fae4a1; font-size: .9rem; }
.facts > div:not(:first-child) { border-left: 1px solid #ffffff2f; }
.facts > .fact:not(:first-child) { padding-left: 53px; }
.facts > .fact:not(:first-child) .icon { left: 20px; }
.fact-address { padding-left: 20px; }
.fact-address dd { margin: 0; }

.section { padding-block: clamp(58px, 8vw, 106px); }
.section-head { margin-bottom: 32px; }
.section-head h2, .split h2 { margin: 10px 0 14px; }
.section-head p, .split > div > p { max-width: 60ch; }
.section-head p { margin-bottom: 0; }
.band-mint { background: var(--mint); }
.band-paper { background: var(--paper); }
.band-dark { background: var(--green); color: white; }
.band-dark .kicker { color: var(--gold); }
.band-dark .muted { color: #e5eee7; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 85px); }
.welcome { grid-template-columns: .75fr 1.25fr; }
.portrait-slot { display: grid; justify-items: center; align-content: center; gap: 14px; width: min(100%, 360px); min-height: 285px; margin-inline: auto; border-radius: 46% 46% 20px 20px; background: radial-gradient(ellipse at 50% 10%,#fbfbec,#b5d7c1); border: 1px solid #b6d3c0; }
.portrait-slot .icon { width: 72px; height: 72px; stroke-width: .85; }
.program-layout { display: grid; grid-template-columns: 1.44fr 1fr; gap: 37px; align-items: start; }
.check-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid li { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border-radius: 14px; border: 1px solid var(--border); background: white; }
.check-grid li > .icon { padding: 5px; width: 30px; height: 30px; border-radius: 9px; color: var(--green); background: var(--mint); }
.check-grid strong { display: block; line-height: 1.3; }
.check-grid p { margin: 4px 0 0; font-size: .83rem; color: var(--muted); }
.photo-card { margin: 0; position: relative; overflow: hidden; min-height: 260px; border-radius: var(--radius); background: var(--mint); }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 80% 47%; }
.photo-card figcaption { position: absolute; right: 12px; bottom: 12px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 29px; }
.heading-row .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow: auto; scroll-snap-type: x mandatory; padding-bottom: 9px; scrollbar-width: thin; }
.carousel-track > * { scroll-snap-align: start; }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: white; color: var(--forest); overflow: hidden; }
.card-body { padding: 19px 21px 22px; }
.card-body p { color: var(--muted); margin: 8px 0 0; font-size: .91rem; }
.card-visual { display: grid; place-items: center; position: relative; isolation: isolate; min-height: 148px; background: #e1eddf; overflow: hidden; }
.card-visual::before { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; border: 1px solid #173e2c25; transform: rotate(45deg); border-radius: 26%; }
.card-visual::after { content: ""; position: absolute; z-index: -1; width: 132px; height: 132px; border: 1px solid #173e2c25; transform: rotate(45deg); border-radius: 26%; }
.card-visual .icon { width: 46px; height: 46px; stroke-width: 1.2; }
.card-visual.gold { background: #f8edcb; }
.card-visual.sage { background: #d3e5d6; }
.card-visual.peach { background: #f2e2d3; }
.facility-grid, .gallery-grid, .news-grid { display: grid; gap: 16px; }
.facility-grid { grid-template-columns: 1fr 1fr; }
.facility { min-height: 125px; padding: 17px; display: grid; align-content: center; justify-items: start; gap: 10px; background: #ffffffa0; }
.facility .icon { color: var(--green); width: 26px; height: 26px; }
.gallery-grid, .news-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery-item { display: grid; text-align: left; padding: 0; }
.gallery-item:hover { border-color: var(--green); }
.gallery-item .card-body { display: grid; gap: 4px; }
.gallery-item small { color: var(--muted); }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.filter-button { min-height: 41px; padding: 6px 15px; border-radius: 50px; border: 1px solid #a8bdad; background: transparent; font-size: .86rem; font-weight: 700; }
.filter-button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.news-card { display: grid; min-height: 235px; align-content: start; gap: 11px; padding: 22px; }
.news-card h3 { font-family: var(--heading); font-size: 1.55rem; }
.news-card p { margin: 0; font-size: .92rem; }
.news-card .inline-link { font-size: .87rem; justify-self: start; }
.news-card .tag { justify-self: start; }
.news-card time { color: var(--muted); font-size: .8rem; }
.admission-cta { border-radius: 28px; background: var(--forest); color: white; padding: clamp(27px, 5vw, 58px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.admission-cta h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin: 5px 0 11px; }
.admission-cta p { max-width: 54ch; margin: 0; color: #e7eee5; }
.admission-cta .btn { flex: none; }
.site-footer { background: var(--forest); color: #f2f7ef; padding: 57px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .7fr; gap: 25px; }
.footer-grid h2 { font: 750 1.05rem/1.3 var(--body); letter-spacing: 0; margin: 0 0 8px; }
.footer-grid p, .footer-grid address { color: #d9e6dd; font-size: .92rem; font-style: normal; margin: 9px 0; }
.footer-grid a { text-underline-offset: 4px; }
.footer-bottom { margin-top: 37px; padding-top: 16px; border-top: 1px solid #ffffff35; color: #d9e6dd; font-size: .8rem; }
.help { position: fixed; z-index: 8; right: 20px; bottom: 19px; }
.help summary { list-style: none; box-shadow: 0 4px 20px #102f2540; }
.help-panel { position: absolute; right: 0; bottom: 57px; width: min(315px,calc(100vw - 40px)); border: 1px solid var(--border); border-radius: 17px; padding: 17px; background: white; box-shadow: 0 12px 38px #102f2528; }
.help-panel p { font-size: .9rem; margin: 6px 0 10px; }

.sub-hero { padding-top: 137px; padding-bottom: 55px; background: var(--mint); }
.sub-hero h1 { font-size: clamp(3.25rem, 8vw, 6.25rem); margin: 8px 0 17px; }
.sub-hero p { font-size: 1.07rem; max-width: 60ch; }
.sub-hero .tag { background: #fff8dc; margin-bottom: 8px; }
.crumb { display: flex; gap: 8px; font-size: .86rem; margin-bottom: 17px; }
.crumb a { text-underline-offset: 4px; }
.identity { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.identity div { padding: 13px 15px; border-radius: 13px; border: 1px solid var(--border); background: white; }
.identity dt { color: var(--muted); font-size: .81rem; }
.identity dd { font-weight: 720; margin: 3px 0 0; }
.info-note { border-left: 4px solid #ab8524; border-radius: 0 10px 10px 0; background: #fbf0d0; padding: 15px 18px; }
.info-note p:last-child { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.steps li { border: 1px solid var(--border); border-radius: 18px; background: white; padding: 18px; }
.steps strong { display: grid; place-items: center; background: var(--green); color: white; border-radius: 50%; width: 36px; height: 36px; margin-bottom: 14px; }
.steps p { font-size: .9rem; margin: 6px 0 0; color: var(--muted); }
.faq { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq summary { font-weight: 750; }
.faq p { margin: 8px 0 0; }
dialog { width: min(calc(100% - 32px),560px); max-height: calc(100% - 32px); border: 1px solid var(--border); border-radius: 23px; padding: clamp(19px, 4vw, 32px); color: var(--forest); background: var(--cream); }
dialog::backdrop { background: #0a281fc4; }
dialog h2 { font-size: 2.2rem; margin: 8px 0 12px; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dialog-top .icon-btn { width: 40px; height: 40px; }
.dialog-preview { min-height: 160px; margin-block: 13px; border-radius: 12px; }
.ticket { border: 1px dashed #81a190; border-radius: 15px; background: var(--mint); padding: 16px; margin-bottom: 13px; }
.ticket p { margin: 0; }

@media (max-width: 1070px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); right: 18px; left: 18px; border-radius: 20px; background: var(--cream); color: var(--forest); padding: 14px; border: 1px solid var(--border); box-shadow: 0 10px 26px #102f252e; max-height: calc(100svh - 105px); overflow: auto; }
  .site-nav[data-open="true"] { display: grid; justify-items: stretch; gap: 5px; }
  .site-nav a:not(.btn), .nav-dropdown > summary { display: flex; align-items: center; min-height: 42px; padding: 6px 10px; }
  .nav-dropdown .drop-panel { position: static; box-shadow: none; border: 0; margin: 0 0 3px 11px; padding: 0; background: var(--mint); }
  .site-nav .btn { justify-self: start; margin-left: 9px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 650px; }
  .hero-slide { max-width: 530px; }
  .hero h1, .hero-title { font-size: clamp(3.05rem, 9vw, 4.7rem); }
  .hero::after { background: linear-gradient(90deg,#0a281ff5 0%,#0a281fbd 53%,#0b302640 100%),linear-gradient(0deg,#0c271ebf, transparent 26%); }
  .facts { padding-block: 18px; grid-template-columns: 1fr 1fr; }
  .facts > div:not(:first-child) { border-left: 0; }
  .facts > .fact:not(:first-child) { padding-left: 33px; }
  .facts > .fact:not(:first-child) .icon { left: 0; }
  .fact-address { padding-left: 0; }
  .program-layout { grid-template-columns: 1fr; }
  .photo-card img { aspect-ratio: 16/8; }
  .split { gap: 26px; }
  .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .footer-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 570px) {
  html { scroll-padding-top: 91px; }
  .wrap { width: calc(100% - 34px); }
  .site-header { top: 8px; }
  .nav-shell { width: calc(100% - 20px); min-height: 60px; padding: 7px 9px; }
  .site-nav { right: 10px; left: 10px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { font-size: .67rem; }
  .hero { display: block; align-content: start; min-height: 680px; }
  .hero-image { height: 55%; bottom: 0; top: auto; object-position: 78% 38%; }
  .hero::after { background: linear-gradient(180deg,#102f25 0%,#102f25 42%,#102f25df 53%,#102f2500 74%,#102f25a0 100%); }
  .hero .wrap { padding-top: 114px; padding-bottom: 83px; }
  .hero-slide { min-height: 0; }
  .hero h1, .hero-title { font-size: clamp(2.65rem, 10.8vw, 3.75rem); }
  .hero h1, .hero-title { margin: 12px 0 14px; }
  .hero-lead { font-size: .96rem; margin-bottom: 16px; }
  .hero .btn { padding-inline: 14px; font-size: .84rem; }
  .hero .hero-tools { padding: 0; bottom: 15px; }
  .hero-tools .icon-btn { width: 40px; height: 40px; }
  .hero-caption { max-width: 125px; font-size: .68rem; }
  .facts { gap: 15px 10px; }
  .facts > .fact, .facts > .fact:not(:first-child) { padding-left: 28px; }
  .fact dd { font-size: .83rem; }
  .factbar .inline-link { font-size: .83rem; }
  .split, .gallery-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .portrait-slot { order: 2; min-height: 190px; max-width: 230px; }
  .check-grid { grid-template-columns: 1fr; }
  .heading-row { align-items: start; flex-direction: column; }
  .carousel-track { grid-auto-columns: min(79%, 310px); }
  .carousel-track::after { content: ""; min-width: 1px; }
  .admission-cta { flex-direction: column; align-items: flex-start; }
  .help { bottom: 10px; right: 10px; }
  .help summary { width: 45px; height: 45px; padding: 0; }
  .help-label { display: none; }
  .help-panel { bottom: 49px; }
  .sub-hero { padding-top: 102px; padding-bottom: 39px; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .help, .actions, .skip { display: none !important; }
  .wrap { width: 100%; }
  .section, .sub-hero { padding-block: 20px; background: white; }
  .sub-hero h1 { font-size: 2.5rem; }
  .section h2 { font-size: 1.8rem; }
  .steps, .split { grid-template-columns: 1fr 1fr; }
  .steps li, .info-note, .faq { break-inside: avoid; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* CMS additive styles — retain original branding */
.cms-field{display:grid;gap:5px;min-width:0;font-size:.88rem;font-weight:700;color:var(--forest)}
.cms-field input,.cms-field textarea,.cms-field select{width:100%;border:1px solid #aabfb0;border-radius:11px;padding:11px 12px;background:#fff;color:#182d23;font:400 .94rem/1.5 var(--body);outline-offset:2px}
.cms-field textarea{resize:vertical}.cms-field input:focus,.cms-field textarea:focus,.cms-field select:focus{border-color:var(--green);outline:2px solid #a9cdb4}
.cms-field input[type=file]{font-size:.8rem}.cms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cms-form-grid>.full{grid-column:1/-1}
.cms-search-row{display:flex;flex-wrap:wrap;gap:15px;margin:0 0 25px}.cms-search-row .cms-field{flex:1;min-width:210px}
.cms-article-head h1{font-size:clamp(2.6rem,6vw,4.7rem);max-width:900px}.cms-article-layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(225px,1fr);gap:50px}
.cms-article-cover{width:100%;max-height:460px;object-fit:cover;border-radius:22px;margin-bottom:24px}.cms-prose{font-size:1.055rem;line-height:1.95;overflow-wrap:anywhere}.cms-prose p,.cms-prose ul,.cms-prose ol,.cms-prose blockquote{margin:0 0 1.25rem}.cms-prose h2,.cms-prose h3{font-family:var(--heading);font-size:1.8rem;margin:1.5rem 0 1rem}.cms-prose h3{font-size:1.4rem}.cms-prose blockquote{padding:12px 20px;border-left:4px solid var(--green);background:var(--mint);border-radius:0 10px 10px 0}.cms-prose a{color:#155d40;text-decoration:underline}.cms-prose img{max-width:100%;border-radius:12px}.cms-prose :first-child{margin-top:0}
.cms-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:24px 0;margin-top:24px;border-top:1px solid var(--border)}.cms-share>strong{margin-right:5px}.cms-share-btn{display:inline-flex;align-items:center;padding:9px 13px;border-radius:24px;border:1px solid #a8c6b0;font-size:.81rem;font-weight:700;background:white;color:var(--forest)}.cms-share-btn.whatsapp{color:white;border-color:#13be68;background:#13be68}.cms-share-btn.facebook{color:white;border-color:#1f73df;background:#1f73df}.cms-share-btn.telegram{color:white;border-color:#218dcc;background:#218dcc}.cms-share-btn.x{color:white;border-color:#121e33;background:#121e33}.cms-share-btn:hover{filter:brightness(.95)}
.cms-related{border-top:1px solid var(--border);padding-top:24px}.cms-related h2{font-family:var(--body);font-weight:800;font-size:1.2rem;letter-spacing:0}.cms-related ul{padding-left:19px}.cms-related a{color:var(--green);font-weight:750;text-decoration:none}.cms-related li{margin:9px 0}
.cms-side{border-left:1px solid var(--border);padding-left:25px}.cms-side>h3{margin-bottom:14px}.cms-side a{display:block;padding:9px 0;color:var(--green);font-weight:720;text-decoration:none;border-bottom:1px solid var(--border)}.cms-side-promo{margin-top:25px;padding:19px;border-radius:14px;background:var(--mint)}.cms-side-promo p{font-size:.9rem}.cms-side-promo a{display:inline-flex;color:white;padding:13px}
.cms-registration-section{border-top:1px solid var(--border)}.cms-registration-status{border-left:5px solid var(--green);border-radius:0 12px 12px 0;background:var(--mint);padding:17px 20px;margin-bottom:22px}.cms-registration-status.closed{border-color:#9d5b26;background:#fdf0d8}.cms-registration-form{max-width:950px}.cms-registration-form fieldset{border:1px solid var(--border);border-radius:17px;padding:23px;margin:0 0 22px}.cms-registration-form legend{font-weight:800;padding:0 10px;font-size:1.14rem}.cms-agree{display:flex;align-items:flex-start;gap:9px;font-size:.92rem;margin-bottom:20px}.cms-agree input{margin-top:7px;accent-color:var(--green)}.cms-registration-success{border:1px solid var(--border);background:var(--mint);padding:25px;border-radius:18px}.cms-message{font-size:.9rem;font-weight:650;color:#a13e2d}.cms-message.ok{color:#137046}
.cms-admin-hero{padding-bottom:40px}.cms-admin-hero h1{font-size:clamp(2.8rem,6vw,5rem)}.cms-admin-section{padding-top:42px}.cms-login-card{max-width:490px;margin:auto;border:1px solid var(--border);border-radius:23px;background:white;padding:30px;box-shadow:0 13px 34px #102f2511}.cms-login-card h2{font-size:2rem;margin-bottom:10px}.cms-login-card form{display:grid;gap:14px}.cms-login-card .btn{justify-self:start}.cms-login-card>p:last-child{margin-top:16px}
.cms-alert{border-left:4px solid #ab8524;background:#fff4d6;border-radius:0 10px 10px 0;padding:14px 18px;font-size:.88rem;margin-bottom:22px}.cms-console-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 18px}.cms-console-bar h2{font-size:2.2rem}.cms-dashboard-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:24px;align-items:start}.cms-side-nav{position:sticky;top:94px;display:grid;gap:5px;border-radius:15px;background:var(--mint);padding:10px}.cms-side-nav button{border:0;border-radius:9px;padding:11px 13px;background:transparent;text-align:left;font-weight:700;font-size:.88rem;color:var(--forest)}.cms-side-nav button:hover{background:#ffffff93}.cms-side-nav button.active{background:var(--green);color:white}
.cms-panel-area{padding:25px;min-height:400px;border:1px solid var(--border);border-radius:20px;background:#fff;overflow:hidden}.cms-panel-area h3{font-size:1.27rem;margin-bottom:15px}.cms-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}.cms-panel-heading h3{margin-bottom:5px}.cms-panel-heading p{margin:0}.cms-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.cms-stat{padding:20px;border-radius:13px;background:var(--mint)}.cms-stat strong{display:block;font-size:1.9rem;color:var(--forest)}.cms-stat span{font-size:.82rem;color:var(--muted)}
.cms-edit-form{border-top:1px solid var(--border);padding-top:18px;margin-top:22px}.cms-edit-form>.actions{margin-top:16px}.cms-table-wrap{max-width:100%;overflow:auto}.cms-table{width:100%;border-collapse:collapse;font-size:.86rem;text-align:left}.cms-table th,.cms-table td{border-bottom:1px solid var(--border);padding:12px 10px;vertical-align:top}.cms-table th{background:var(--mint);font-size:.82rem}.cms-mini-action{border:1px solid var(--border);background:#fff;border-radius:8px;padding:6px 9px;font-weight:650;margin:1px 4px 1px 0;color:var(--green)}.cms-mini-action.danger{color:#aa322c}.cms-status{border-radius:30px;background:#deefe4;padding:3px 8px;font-size:.72rem;font-weight:700}.cms-status.draft{background:#fff1cb}
.cms-rich-editor{min-height:270px;max-height:700px;overflow:auto;border:1px solid #9fb8a5;border-radius:0 0 12px 12px;background:white;padding:15px;outline-offset:2px;font-weight:400;line-height:1.8}.cms-rich-editor:empty:before{content:attr(data-placeholder);color:#809086}.cms-rich-editor h2{font-size:1.65rem}.cms-rich-editor h3{font-size:1.25rem}.cms-rich-editor blockquote{border-left:3px solid var(--green);padding:10px 14px;background:var(--mint)}.cms-editor-tools{display:flex;flex-wrap:wrap;gap:5px;padding:9px;border:1px solid #9fb8a5;border-bottom:0;border-radius:12px 12px 0 0;background:var(--paper)}.cms-editor-tools button{padding:5px 10px;border:1px solid #adc4b3;background:white;border-radius:5px;font-size:.78rem}
.cms-thumbnail{display:inline-block;max-height:72px;max-width:110px;object-fit:cover;border-radius:7px}.cms-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cms-media-grid .card{padding:10px}.cms-media-grid img{height:125px;width:100%;object-fit:cover;border-radius:8px}.cms-media-grid p{font-size:.84rem;margin:6px 0}.cms-media-grid .actions{gap:4px}.cms-hide{display:none!important}.cms-socials{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.cms-socials a{color:#faf1ca;border:1px solid #ffffff57;border-radius:20px;padding:4px 12px;text-decoration:none;font-size:.8rem}
@media (max-width:920px){.cms-article-layout{grid-template-columns:1fr}.cms-side{border-left:0;border-top:1px solid var(--border);padding:25px 0 0}.cms-dashboard-layout{grid-template-columns:1fr}.cms-side-nav{position:static;display:flex;overflow:auto;white-space:nowrap}.cms-side-nav button{flex:none}}
@media (max-width:570px){.cms-form-grid{grid-template-columns:1fr}.cms-form-grid>.full{grid-column:auto}.cms-console-bar{align-items:flex-start;flex-direction:column}.cms-panel-area{padding:17px}.cms-media-grid{grid-template-columns:1fr 1fr}.cms-stats{grid-template-columns:1fr 1fr}.cms-article-head h1{font-size:2.5rem}.cms-registration-form fieldset{padding:16px}.cms-login-card{padding:22px}}
@media print{#admin-page,.cms-share,.cms-side,.cms-related{display:none!important}.cms-registration-section .cms-registration-form{display:none!important}}



/* --- UI foto & media sosial v4 --- */
.cms-social-wrap{margin-top:18px}.cms-social-label{display:block;font-size:.75rem;letter-spacing:.04em;color:#b7d0c3;margin-bottom:9px;font-weight:700}
.cms-socials{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0}.cms-socials a,.cms-socials .cms-social-disabled{width:43px;height:43px;display:grid;place-items:center;border:1px solid #ffffff65;border-radius:13px;color:#fff;background:#ffffff14;transition:transform .2s,background .2s}
.cms-socials a:hover{background:#ffffff30;transform:translateY(-3px)}.cms-socials svg{width:22px;height:22px}.cms-socials .cms-social-disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.4)}
.cms-socials .cms-facebook{background:#1877f222}.cms-socials .cms-instagram{background:#e4405f22}.cms-socials .cms-tiktok{background:#ffffff22}.cms-socials .cms-youtube{background:#ff003322}
.cms-photo-note{display:inline-flex;gap:5px;align-items:center;font-size:.7rem;color:#6a765e}.hero .cms-photo-note{position:absolute;right:20px;bottom:38px;z-index:4;color:#fff;background:#112e24b5;border:1px solid #ffffff51;padding:3px 10px;border-radius:22px}
.news-card{padding:0;gap:0;overflow:hidden}.news-card .cms-news-info{display:grid;align-content:start;gap:10px;padding:20px 22px 23px;min-height:210px}.news-card .cms-news-image{width:100%;height:190px;object-fit:cover;display:block;background:var(--mint)}.news-card .cms-news-info h3{margin:0}
.news-card .cms-news-image-fallback{background:linear-gradient(125deg,#d9ebdf,#f6e4bf);display:grid;place-items:center;min-height:190px;color:var(--forest)}.news-card .cms-news-image-fallback svg{width:46px;height:46px}
.gallery-item{overflow:hidden}.gallery-item .card-visual{height:205px;min-height:205px}.gallery-item .card-visual img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.gallery-item:hover .card-visual img{transform:scale(1.045)}.gallery-item .card-body{padding:17px 20px}.gallery-item small{font-size:.78rem}
.cms-news-thumb{display:block;width:90px;height:66px;object-fit:cover;border-radius:8px}.cms-admin-preview{width:100%;max-height:175px;object-fit:cover;border-radius:10px;margin:9px 0}
.cms-img-error{background:var(--mint)!important}.cms-article-cover{aspect-ratio:16/9;height:auto;max-height:500px}.cms-article-head{overflow:hidden}
.cms-input-help{color:var(--muted);font-size:.8rem;font-weight:400;display:block;margin-top:4px}
@media(max-width:570px){.cms-socials a,.cms-socials .cms-social-disabled{width:41px;height:41px}.news-card .cms-news-image{height:210px}.cms-photo-note{font-size:.65rem}.hero .cms-photo-note{right:16px;bottom:65px}}
\n/* V5: program content and photo share one balanced grid, no intrinsic 900px gap */
#program .program-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,.90fr);align-items:stretch;gap:clamp(22px,3vw,42px)}
#program .check-grid{align-content:stretch;grid-auto-rows:minmax(0,1fr);min-width:0}
#program .check-grid li{min-width:0;min-height:0;align-items:center;padding:17px 18px}
#program .check-grid li div{min-width:0}
#program .check-grid li p{line-height:1.5}
#program .photo-card{position:relative;align-self:stretch;height:100%;min-height:0;aspect-ratio:auto;isolation:isolate}
#program .photo-card img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:57% 45%;z-index:1}
#program .photo-card figcaption{z-index:2}
/* V5: genuine photography thumbnails, consistent aspect ratio and crop */
#kartu-prestasi .card{display:flex;flex-direction:column;min-width:0;height:100%}
#kartu-prestasi .card-visual{height:205px;min-height:205px;position:relative;display:block;overflow:hidden}
#kartu-prestasi .achievement-photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
#kartu-prestasi .card:hover .achievement-photo{transform:scale(1.035)}
#kartu-prestasi .achievement-photo-label{position:absolute;right:12px;bottom:12px;z-index:1;padding:5px 10px;border-radius:99px;background:#102f25de;color:#fff;font-size:.68rem;font-weight:650;line-height:1.3}
#kartu-prestasi .card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:9px;padding:20px 22px 24px}
#kartu-prestasi .card-body h3{margin:0;font-size:1.24rem}
#kartu-prestasi .card-body p{margin:0;line-height:1.55}
#kartu-prestasi .card-body .tag{font-size:.71rem}
@media(max-width:820px){
 #program .program-layout{grid-template-columns:minmax(0,1fr)}
 #program .photo-card{height:auto;min-height:300px;aspect-ratio:16/8}
 #program .check-grid{grid-auto-rows:auto}
}
@media(max-width:570px){
 #program .check-grid{grid-template-columns:minmax(0,1fr)}
 #program .check-grid li{padding:14px 15px}
 #program .photo-card{width:100%;min-width:0;height:clamp(240px,62vw,310px);min-height:0;aspect-ratio:auto}
 #kartu-prestasi .card-visual{height:190px;min-height:190px}
}

/* Logo & Backend Status Extensions */
.brand-mark{overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.22)}
.brand-logo{width:100%;height:100%;object-fit:contain;display:block;padding:3px}
.cms-sync-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:700;background:#e8f5ee;color:#145338;border:1px solid #b8dec8}
.cms-sync-badge.offline{background:#fff8e6;color:#7a4f01;border-color:#f0d48a}
