:root {
    --color-primary: #029049;
    --color-secondary: #006f39;
    --color-accent: #d7f7c5;
    --color-accent-bright: #f4ffe9;
    --color-dark: #052417;
    --color-green: #029049;
    --color-muted: #5d7469;
    --color-soft: #dff5e8;
    --color-light: #edf9f2;
    --color-white: #ffffff;
    --color-ink: #10251a;
    --color-text: #3f554a;
    --color-subtle: #f4fbf7;
    --color-line: #d5eadf;
    --shadow-soft: 0 24px 70px rgba(2, 80, 42, 0.16);
    --shadow-card: 0 18px 44px rgba(2, 80, 42, 0.1);
    --radius: 14px;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #f7fcf9;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.is-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.container.narrow {
    width: min(820px, calc(100% - 48px));
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 1000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: var(--color-dark);
    background: var(--color-accent-bright);
    border-radius: var(--radius);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(2, 144, 73, 0.12);
    backdrop-filter: blur(18px);
}

.top-info {
    color: rgba(255, 255, 255, 0.88);
    background: var(--color-secondary);
    font-size: 0.86rem;
    font-weight: 700;
}

.top-info-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 36px;
    gap: 18px;
}

.top-info a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-info svg {
    width: 15px;
    height: 15px;
    color: var(--color-accent);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--color-dark);
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--color-white);
    background: var(--color-primary);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: var(--color-primary);
    font-size: 0.98rem;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand small {
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.site-nav a {
    position: relative;
    min-height: 40px;
    padding: 9px 11px;
    color: #33483d;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 650;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--color-primary);
    background: var(--color-light);
}

.nav-toggle.icon-button {
    display: none;
}

.icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.icon-button svg,
.button svg,
.text-link svg,
.program-icon svg,
.mini-card svg,
.youtube-empty svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
}

.button-primary {
    color: var(--color-white);
    background: var(--color-primary);
}

.button-accent {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: var(--color-accent);
}

.button-ghost {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.45);
}

.button-outline {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: var(--color-line);
}

.button[hidden],
.album-actions[hidden] {
    display: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 800;
}

.text-link.inverted {
    color: var(--color-white);
}

.eyebrow {
    margin: 0 0 10px;
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    color: var(--color-primary);
    background: var(--color-light);
    border: 1px solid rgba(2, 144, 73, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--color-white);
    padding: 18px 0 0;
    background: #f7fcf9;
}

.hero-slides {
    position: relative;
    width: min(1160px, calc(100% - 48px));
    aspect-ratio: var(--hero-aspect-ratio, 1672 / 941);
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(2, 144, 73, 0.2);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(2, 80, 42, 0.22);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: zoom-in;
    background: transparent;
    border: 0;
    opacity: 0;
    transition: opacity 520ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide picture,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    object-fit: contain;
    object-position: center;
    transition: transform 260ms ease;
}

.hero-slide::after {
    display: none;
}

.hero-slide:hover img,
.hero-slide:focus-visible img {
    transform: scale(1.04);
}

.hero-slide:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: -6px;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(1160px, calc(100% - 48px));
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-dots button {
    pointer-events: auto;
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 13px;
    background: rgba(5, 36, 23, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(5, 36, 23, 0.22);
    backdrop-filter: blur(14px);
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.62);
    border: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition:
        width 220ms ease,
        background-color 220ms ease,
        opacity 220ms ease,
        transform 220ms ease;
}

.hero-dots button:hover,
.hero-dots button:focus-visible {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.12);
}

.hero-dots button.is-active {
    width: 30px;
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.spmb-marquee {
    overflow: hidden;
    margin-top: 20px;
    color: var(--color-white);
    background: var(--color-primary);
    border-block: 1px solid rgba(255, 255, 255, 0.22);
}

.spmb-marquee a {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 56px;
    padding: 12px 0;
    font-size: 0.96rem;
    font-weight: 850;
    white-space: nowrap;
    animation: spmb-marquee 34s linear infinite;
}

.spmb-marquee a:hover,
.spmb-marquee a:focus-visible {
    animation-play-state: paused;
    text-decoration: underline;
}

.spmb-marquee span {
    position: relative;
}

.spmb-marquee span::after {
    position: absolute;
    top: 50%;
    right: -34px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

@keyframes spmb-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 28px));
    }
}

.spmb-contact-strip {
    padding: 10px 0 12px;
    background: #f8fcfa;
    border-bottom: 1px solid rgba(2, 144, 73, 0.12);
}

.spmb-contact-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.spmb-contact-inner h2 {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 10px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.spmb-contact-list {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.spmb-contact-card {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 11px;
    color: var(--color-ink);
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.16);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(2, 80, 42, 0.06);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.spmb-contact-card:hover,
.spmb-contact-card:focus-visible {
    color: var(--color-primary);
    background: #f4fff8;
    border-color: rgba(2, 144, 73, 0.32);
    transform: translateY(-1px);
}

.spmb-contact-card svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--color-primary);
}

.spmb-contact-card strong {
    color: var(--color-ink);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.spmb-contact-card span {
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.section {
    padding: 86px 0;
}

.section-light {
    background: var(--color-subtle);
}

.section-heading,
.section-heading-row {
    margin-bottom: 32px;
}

.section-heading {
    max-width: 760px;
    text-align: center;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    line-height: 1.14;
}

h2 {
    margin: 0;
    font-size: 2.35rem;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.15rem;
}

.section-heading p:not(.eyebrow),
.section-heading-row p:not(.eyebrow) {
    margin: 12px 0 0;
    font-size: 1.04rem;
}

.news-grid,
.program-grid,
.teacher-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.latest-news-section {
    position: relative;
    overflow: hidden;
    background: #eff9f3;
}

.latest-news-section::before {
    display: none;
}

.latest-news-section .container {
    position: relative;
    z-index: 1;
}

.latest-news-section .section-heading-row {
    align-items: center;
    padding: 24px 26px;
    color: var(--color-white);
    background: var(--color-primary);
    border: 1px solid rgba(2, 144, 73, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(2, 80, 42, 0.16);
}

.latest-news-section .section-heading-row h2 {
    color: var(--color-white);
}

.latest-news-section .section-heading-row p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.82);
}

.latest-news-section .section-heading-row .eyebrow {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.26);
}

.latest-news-section .section-heading-row .text-link {
    min-height: 44px;
    padding: 10px 14px;
    color: var(--color-primary);
    background: var(--color-white);
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(5, 36, 23, 0.14);
}

.latest-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.76fr);
    gap: 20px;
    align-items: stretch;
}

.news-side-stack {
    display: grid;
    gap: 16px;
}

.news-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.program-card,
.teacher-card,
.testimonial-card,
.mini-card {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-card:hover,
.program-card:hover,
.teacher-card:hover,
.testimonial-card:hover,
.mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 144, 73, 0.34);
    box-shadow: 0 24px 56px rgba(2, 80, 42, 0.13);
}

.news-card {
    isolation: isolate;
}

.news-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--color-soft);
}

.news-image img,
.program-card > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 260ms ease;
}

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-body,
.program-body {
    padding: 20px;
}

.news-body h2,
.news-body h3 {
    margin: 10px 0;
}

.news-body h2 {
    font-size: 1.2rem;
}

.news-body p,
.program-body p,
.teacher-card p,
.testimonial-card blockquote,
.mini-card p {
    margin: 10px 0 0;
}

.news-card-featured {
    display: flex;
    min-height: 590px;
    align-items: flex-end;
    color: var(--color-white);
    background: var(--color-dark);
    border: 0;
}

.news-card-featured .news-image,
.news-card-featured .news-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.news-card-featured .news-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(5, 36, 23, 0.64);
}

.news-card-featured .news-body {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 40px;
}

.news-card-featured .news-body h3 {
    color: var(--color-white);
    font-size: 2.42rem;
}

.news-card-featured .news-body p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.03rem;
}

.news-card-featured .meta-row {
    color: rgba(255, 255, 255, 0.74);
}

.news-card-featured .meta-row span {
    color: var(--color-primary);
    background: var(--color-white);
}

.news-card-compact {
    display: grid;
    grid-template-columns: minmax(132px, 0.42fr) minmax(0, 0.58fr);
    min-height: 287px;
    background: var(--color-white);
}

.news-card-compact .news-image img {
    height: 100%;
}

.news-card-compact .news-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px;
}

.news-card-compact .news-body h3 {
    font-size: 1.25rem;
}

.news-card-compact .news-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-top: 18px;
    color: var(--color-primary);
    font-weight: 850;
}

.news-read-more svg {
    width: 18px;
    height: 18px;
}

.news-card-featured .news-read-more {
    min-height: 44px;
    padding: 11px 15px;
    color: var(--color-primary);
    background: var(--color-white);
    border-radius: 999px;
}

.news-card-compact .news-read-more {
    width: 42px;
    height: 42px;
    justify-content: center;
    margin-top: 16px;
    color: var(--color-white);
    background: var(--color-primary);
    border: 1px solid rgba(2, 144, 73, 0.22);
    border-radius: 50%;
}

.vision-mission-section {
    padding-top: 72px;
    padding-bottom: 72px;
    background: var(--color-white);
}

.vision-mission-simple {
    max-width: 980px;
}

.vision-mission-simple .section-heading {
    margin-bottom: 28px;
    text-align: left;
}

.school-motto {
    margin-top: 10px;
    color: var(--color-primary);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.55;
}

.vision-mission-content {
    display: grid;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
}

.vision-copy,
.mission-copy {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 22px;
}

.vision-copy h3,
.mission-copy h3 {
    color: var(--color-primary);
    font-size: 1.08rem;
}

.vision-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--color-ink);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.75;
}

.mission-list {
    display: grid;
    gap: 10px;
    padding-left: 22px;
    margin: 0;
}

.mission-list li {
    padding-left: 6px;
    color: var(--color-text);
    line-height: 1.68;
}

.meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    color: var(--color-primary);
    background: rgba(2, 144, 73, 0.11);
    border-radius: 999px;
    font-weight: 900;
}

.program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-card-modern {
    position: relative;
    overflow: hidden;
    min-height: 0;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(2, 80, 42, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 144, 73, 0.28);
    box-shadow: 0 26px 62px rgba(2, 80, 42, 0.13);
}

.program-card-modern.is-featured {
    grid-column: span 1;
}

.program-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 12px 12px 0;
    background: var(--color-soft);
    border-radius: 8px;
}

.program-card-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: rgba(5, 36, 23, 0.08);
}

.program-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    transition: transform 300ms ease;
}

.program-card-modern:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 20px;
}

.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 12px;
    margin-bottom: 16px;
}

.program-card-top span,
.program-card-top i {
    display: grid;
    place-items: center;
    color: var(--color-primary);
    background: rgba(2, 144, 73, 0.1);
    border-radius: 999px;
    font-weight: 900;
}

.program-card-top span {
    min-width: 50px;
    height: 32px;
    padding: 0 11px;
    background: rgba(2, 144, 73, 0.1);
    color: var(--color-primary);
    font-size: 0.82rem;
    letter-spacing: 0;
}

.program-card-top i {
    width: 38px;
    height: 38px;
    color: var(--color-primary);
    border: 1px solid rgba(2, 144, 73, 0.12);
    background: var(--color-light);
    box-shadow: none;
}

.program-card-content h2,
.program-card-content h3 {
    color: var(--color-ink);
    font-size: 1.24rem;
}

.program-card-content p {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.program-card-content a,
.tefa-card a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-top: 0;
    color: var(--color-primary);
    font-weight: 800;
}

.program-card-content a {
    align-self: flex-start;
    min-height: 40px;
    margin-top: auto;
    padding-top: 18px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 0.94rem;
}

.tefa-card .eyebrow {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: rgba(2, 144, 73, 0.14);
}

.tefa-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.16);
    border-left: 0;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(2, 80, 42, 0.055);
}

.tefa-card h3 {
    margin-top: 12px;
    color: var(--color-ink);
    font-size: 1.5rem;
}

.tefa-card p:not(.eyebrow) {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--color-muted);
}

.tefa-card a {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 12px 16px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 999px;
}

.program-card {
    display: flex;
    flex-direction: column;
}

.program-card > img {
    height: 190px;
}

.program-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.program-body .text-link {
    margin-top: auto;
    padding-top: 18px;
}

.program-icon {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 10px;
    color: var(--color-primary);
    background: var(--color-subtle);
    border-radius: 999px;
    font-weight: 900;
}

.principal-section {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.principal-section::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    content: "";
    background: var(--color-light);
}

.principal-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 64px;
}

.principal-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.12;
    object-fit: cover;
    border-radius: 0 28px 28px 0;
    box-shadow: 0 24px 56px rgba(2, 80, 42, 0.12);
}

.principal-copy {
    max-width: 720px;
    padding: 0;
    color: var(--color-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.principal-copy h2 {
    max-width: 680px;
    color: var(--color-ink);
    font-size: 2.7rem;
}

.principal-copy .eyebrow {
    color: var(--color-primary);
    background: var(--color-light);
}

.principal-message {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    max-width: 720px;
    gap: 18px;
    margin-top: 22px;
}

.principal-message i {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(2, 144, 73, 0.2);
}

.principal-message i svg {
    width: 26px;
    height: 26px;
}

.principal-message p {
    max-width: 680px;
    margin: 0;
    color: var(--color-text);
    font-size: 1.08rem;
    line-height: 1.86;
}

.principal-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.principal-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 0;
    border-top: 0;
}

.principal-signature > span {
    width: 54px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 999px;
}

.principal-signature strong,
.principal-signature small {
    display: block;
}

.principal-signature strong {
    color: var(--color-ink);
    font-size: 1.02rem;
}

.principal-signature small {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.principal-whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 9px;
    padding: 8px 10px 8px 8px;
    color: #11663a;
    background: rgba(31, 174, 91, 0.1);
    border: 1px solid rgba(31, 174, 91, 0.22);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 850;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.principal-whatsapp:hover,
.principal-whatsapp:focus-visible {
    background: rgba(31, 174, 91, 0.16);
    border-color: rgba(31, 174, 91, 0.38);
    transform: translateY(-1px);
}

.principal-whatsapp svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    fill: #1fae5b;
    stroke: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: start;
    gap: 54px;
}

.faq-image {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.faq-image img {
    width: 100%;
    aspect-ratio: 4 / 5.1;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(2, 80, 42, 0.12);
}

.faq-intro {
    max-width: 640px;
    margin: 16px 0 0;
    font-size: 1.04rem;
}

.faq-list {
    display: grid;
    gap: 0;
    margin-top: 34px;
    border-top: 1px solid var(--color-line);
}

.faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
    box-shadow: none;
}

.faq-item button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 74px;
    gap: 16px;
    padding: 20px 0;
    color: var(--color-ink);
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 850;
}

.faq-number {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.faq-item button svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform 180ms ease;
}

.faq-item.is-open button svg {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    max-width: 680px;
    padding: 0 42px 24px 47px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.faq-answer img {
    display: none;
}

.media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 28px;
    align-items: start;
}

.gallery-preview {
    position: relative;
    min-height: 560px;
    isolation: isolate;
}

.gallery-tile,
.album-image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    padding: 0;
    background: var(--color-soft);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(2, 80, 42, 0.11);
}

.gallery-tile img,
.album-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 260ms ease;
}

.album-image img {
    position: absolute;
    inset: 0;
}

.gallery-tile {
    position: absolute;
    min-height: 0;
}

.gallery-tile::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(5, 36, 23, 0.06);
    opacity: 0.5;
    transition: opacity 220ms ease;
}

.gallery-tile:nth-child(1) {
    top: 0;
    left: 0;
    width: 58%;
    height: 330px;
}

.gallery-tile:nth-child(2) {
    top: 92px;
    right: 0;
    width: 39%;
    height: 250px;
}

.gallery-tile:nth-child(3) {
    bottom: 0;
    left: 8%;
    width: 45%;
    height: 300px;
}

.gallery-tile:nth-child(4) {
    right: 7%;
    bottom: 64px;
    width: 36%;
    height: 220px;
}

.gallery-tile:hover img {
    transform: scale(1.04);
}

.gallery-tile:hover::after {
    opacity: 0.18;
}

.video-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    padding: 14px;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(2, 80, 42, 0.1);
    isolation: isolate;
}

.video-panel::before {
    display: none;
}

.video-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 0 2px;
    color: var(--color-ink);
}

.video-panel-header span,
.video-panel-header a,
.video-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-panel-header span {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.video-panel-header svg {
    width: 18px;
    height: 18px;
}

.video-panel-header span svg {
    color: #ff4d4d;
    fill: currentColor;
}

.video-panel-header a {
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--color-primary);
    background: var(--color-light);
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 50%;
}

.video-frame {
    position: relative;
    overflow: hidden;
    background: #020f0a;
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(2, 80, 42, 0.1);
}

.video-panel iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.video-panel-body {
    display: grid;
    gap: 10px;
    padding: 0 2px;
}

.video-panel-body .eyebrow {
    color: var(--color-primary);
    background: var(--color-light);
    border-color: rgba(2, 144, 73, 0.12);
}

.video-panel h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: var(--color-ink);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-channel-link {
    width: fit-content;
    min-height: 38px;
    padding: 8px 12px;
    color: var(--color-primary);
    background: var(--color-light);
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 650;
}

.video-channel-link svg {
    width: 17px;
    height: 17px;
}

.video-list {
    display: grid;
    gap: 8px;
    padding: 0;
}

.video-list a {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 8px;
    color: var(--color-ink);
    background: var(--color-subtle);
    border: 1px solid rgba(2, 144, 73, 0.1);
    border-radius: 8px;
    transition: background-color 180ms ease, transform 180ms ease;
}

.video-list a:hover {
    background: var(--color-light);
    transform: translateY(-2px);
}

.video-list img {
    width: 78px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
}

.video-list span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-text);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youtube-empty {
    display: grid;
    min-height: 360px;
    place-items: center;
    padding: 34px;
    color: var(--color-white);
    text-align: center;
}

.youtube-empty svg {
    width: 58px;
    height: 58px;
    color: #ff5555;
}

.youtube-empty h3 {
    color: var(--color-white);
    font-size: 1.6rem;
}

.teacher-section {
    overflow: hidden;
    background: #f3fbf6;
}

.teacher-spotlight {
    display: grid;
    gap: 18px;
}

.teacher-slider-viewport {
    position: relative;
    min-height: 520px;
}

.teacher-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    align-items: center;
    min-height: 520px;
    gap: 34px;
    padding: 34px;
    background: var(--color-white);
    border-color: rgba(2, 144, 73, 0.2);
}

.teacher-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(22px) scale(0.985);
    transition: opacity 420ms ease, transform 420ms ease;
}

.teacher-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.teacher-card::before {
    position: absolute;
    inset: 34px auto 34px 34px;
    width: 252px;
    content: "";
    background: var(--color-primary);
    border-radius: 8px;
    transform: rotate(-2.5deg);
    transform-origin: center;
}

.teacher-card::after {
    position: absolute;
    right: 24px;
    bottom: 18px;
    color: rgba(2, 144, 73, 0.08);
    font-size: clamp(3rem, 8vw, 6.6rem);
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.teacher-photo {
    position: relative;
    overflow: hidden;
    z-index: 1;
    align-self: stretch;
    width: min(100%, 292px);
    min-height: 448px;
    aspect-ratio: 3 / 4.7;
    background: var(--color-primary);
    border: 10px solid var(--color-white);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(2, 80, 42, 0.2);
    transform: rotate(1.6deg);
}

.teacher-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(5, 36, 23, 0.12);
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.05);
}

.teacher-card-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 38px 40px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(2, 144, 73, 0.18);
    border-radius: 8px;
    box-shadow: 0 26px 64px rgba(2, 80, 42, 0.15);
    backdrop-filter: blur(16px);
}

.teacher-card-copy::before {
    display: none;
    content: "";
}

.teacher-card h3 {
    margin-top: 16px;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.teacher-card p {
    display: -webkit-box;
    overflow: hidden;
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 1.05rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.teacher-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.teacher-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 12px;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(2, 80, 42, 0.08);
}

.teacher-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(2, 144, 73, 0.22);
    border: 0;
    border-radius: 999px;
    transition: width 180ms ease, background 180ms ease;
}

.teacher-dots button.is-active {
    width: 28px;
    background: var(--color-primary);
}

.teacher-role,
.testimonial-card span {
    display: block;
    margin-top: 5px;
    color: var(--color-primary);
    font-weight: 750;
}

.teacher-role {
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    padding: 7px 11px;
    overflow: hidden;
    background: rgba(2, 144, 73, 0.12);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-section {
    position: relative;
    overflow: hidden;
    background: #edf9f2;
}

.testimonial-experience {
    display: grid;
    gap: 18px;
}

.testimonial-stage {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-dark);
    border-radius: 8px;
    box-shadow: 0 28px 72px rgba(2, 80, 42, 0.2);
}

.testimonial-stage::after {
    display: none;
}

.testimonial-panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding: 44px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(34px) scale(0.985);
    transition: opacity 360ms ease, transform 360ms ease;
}

.testimonial-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.testimonial-portrait {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(100%, 320px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--color-accent);
    border: 10px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.24);
    transform: rotate(-1.5deg);
}

.testimonial-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.testimonial-copy > i {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    place-items: center;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 18px 38px rgba(5, 36, 23, 0.2);
}

.testimonial-copy blockquote {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(1.55rem, 3vw, 2.7rem);
    font-weight: 850;
    line-height: 1.16;
}

.testimonial-copy strong {
    display: block;
    margin-top: 24px;
    color: var(--color-white);
    font-size: 1.05rem;
}

.testimonial-copy span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 750;
}

.testimonial-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.testimonial-controls .icon-button {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: rgba(2, 144, 73, 0.16);
    box-shadow: 0 12px 28px rgba(2, 80, 42, 0.08);
}

.testimonial-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.testimonial-people button {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 8px 10px;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(2, 80, 42, 0.06);
    text-align: left;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.testimonial-people button:hover,
.testimonial-people button:focus-visible,
.testimonial-people button.is-active {
    background: var(--color-white);
    border-color: rgba(2, 144, 73, 0.42);
    box-shadow: 0 18px 38px rgba(2, 80, 42, 0.12);
    transform: translateY(-2px);
}

.testimonial-people img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 3px solid var(--color-light);
    border-radius: 50%;
}

.testimonial-people span {
    display: block;
    min-width: 0;
}

.testimonial-people strong,
.testimonial-people small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-people strong {
    color: var(--color-ink);
    font-size: 0.92rem;
}

.testimonial-people small {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.partners-section {
    padding-top: 70px;
}

.partner-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.partner-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1672 / 971;
    padding: 0;
    cursor: zoom-in;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(2, 80, 42, 0.08);
}

.partner-image:focus-visible {
    outline: 3px solid rgba(2, 144, 73, 0.38);
    outline-offset: 4px;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 260ms ease;
}

.partner-image:hover img,
.partner-image:focus-visible img {
    transform: scale(1.015);
}

.partner-logo {
    display: grid;
    min-height: 132px;
    place-items: center;
    gap: 9px;
    padding: 18px;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(2, 80, 42, 0.055);
    text-align: center;
}

.partner-logo span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-accent);
    border-radius: 16px;
    font-weight: 900;
}

.partner-logo strong {
    font-size: 0.88rem;
    line-height: 1.3;
}

.site-map-section {
    padding: 72px 0;
    background: var(--color-white);
}

.site-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 28px;
}

.site-map-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    background: var(--color-subtle);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
}

.site-map-copy h3 {
    font-size: 2rem;
}

.site-map-copy p {
    margin: 14px 0 22px;
    color: var(--color-muted);
    font-size: 1rem;
}

.site-map-frame {
    overflow: hidden;
    min-height: 330px;
    background: var(--color-soft);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.site-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: 0;
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: var(--color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    gap: 34px;
    padding: 54px 0 34px;
}

.footer-brand,
.footer-brand strong,
.footer h2,
.footer h3,
.site-footer h2,
.site-footer h3 {
    color: var(--color-white);
}

.footer-about p {
    max-width: 420px;
}

.footer-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.footer-list a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.page-hero {
    padding: 96px 0 74px;
    color: var(--color-white);
    background: var(--color-primary);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
    color: var(--color-white);
}

.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: 3.2rem;
}

.page-hero p:not(.eyebrow) {
    max-width: 700px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.article-page {
    background: var(--color-white);
}

.article-header {
    padding: 38px 0 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
}

.article-masthead {
    padding-bottom: 30px;
}

.article-back-link {
    margin-bottom: 24px;
    color: var(--color-muted);
}

.article-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-kicker span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 4px;
}

.article-kicker time::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    content: "";
    vertical-align: middle;
}

.article-header h1 {
    max-width: 900px;
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    line-height: 1;
}

.article-header p {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 1.18rem;
    line-height: 1.68;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 24px;
    padding-top: 18px;
    color: var(--color-muted);
    border-top: 1px solid var(--color-line);
    font-size: 0.92rem;
    font-weight: 750;
}

.article-byline span + span::before {
    margin-right: 14px;
    color: var(--color-line-strong);
    content: "|";
}

.article-cover {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: -72px;
    background: var(--color-subtle);
    border-radius: 0;
}

.article-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
}

.article-body-wrap {
    padding: 112px 0 84px;
    background: var(--color-subtle);
}

.article-content {
    padding: 0;
    color: var(--color-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.12rem;
    line-height: 1.86;
}

.article-content::before {
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 30px;
    background: var(--color-primary);
    content: "";
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content h2,
.article-content h3 {
    margin: 34px 0 14px;
    color: var(--color-ink);
    line-height: 1.24;
}

.article-content h2 {
    font-size: 1.68rem;
}

.article-content h3 {
    font-size: 1.28rem;
}

.article-content ul,
.article-content ol {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-content a {
    color: var(--color-primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content figure {
    margin: 30px 0;
}

.article-content figure img,
.article-content p img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(2, 80, 42, 0.1);
}

.article-content figcaption {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 0.92rem;
    text-align: center;
}

.related-news-section {
    border-top: 1px solid var(--color-line);
}

.article-hero .container {
    padding-top: 90px;
}

.article-hero {
    overflow: hidden;
    background-color: var(--color-ink);
}

.article-hero::before {
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: inherit;
    background-position: center;
    background-size: cover;
    content: "";
    filter: blur(6px);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 36, 23, 0.84), rgba(5, 36, 23, 0.46) 52%, rgba(5, 36, 23, 0.72));
}

.program-detail-hero .container {
    position: relative;
    z-index: 2;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-hero-meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    color: var(--color-ink);
    background: var(--color-accent);
    border-radius: 4px;
}

.article-hero-meta time::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    background: currentColor;
    border-radius: 50%;
    content: "";
    vertical-align: middle;
}

.article-detail-grid {
    align-items: start;
}

.news-clear-image {
    overflow: hidden;
    margin: 0 0 32px;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(2, 80, 42, 0.12);
}

.news-clear-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-side {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.article-side div {
    display: grid;
    gap: 3px;
    padding: 12px;
    background: var(--color-subtle);
    border-radius: 8px;
}

.article-side div span {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 900;
}

.article-side div strong {
    color: var(--color-ink);
}

.news-content-image,
.article-content figure.news-content-image {
    clear: both;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.12);
    border-radius: 8px;
}

.news-content-image img,
.article-content figure.news-content-image img {
    width: 100%;
    box-shadow: none;
}

.news-content-image figcaption,
.article-content figure.news-content-image figcaption {
    padding: 0 12px 12px;
}

.image-size-full {
    width: 100%;
}

.image-size-large {
    width: min(82%, 720px);
}

.image-size-medium {
    width: min(62%, 540px);
}

.image-size-small {
    width: min(44%, 360px);
}

.image-size-custom {
    width: var(--image-width, 100%);
}

.image-align-center {
    margin-right: auto;
    margin-left: auto;
}

.image-align-left {
    float: left;
    margin-right: 24px;
    margin-left: 0;
}

.image-align-right {
    float: right;
    margin-right: 0;
    margin-left: 24px;
}

.image-position-custom {
    float: none;
    margin-right: auto;
    margin-left: var(--image-left, 0);
}

.article-side-recommendations {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line);
}

.article-side-recommendations h3 {
    margin: 0 0 2px;
    color: var(--color-ink);
    font-size: 1rem;
}

.article-side-recommendations a {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.article-side-recommendations img {
    width: 76px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.article-side-recommendations small {
    display: block;
    margin-bottom: 3px;
    color: var(--color-primary);
    font-size: 0.74rem;
    font-weight: 900;
}

.article-side-recommendations strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-ink);
    font-size: 0.9rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.program-detail-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    color: var(--color-white);
    background-position: center;
    background-size: cover;
}

.program-detail-hero .container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.program-detail-hero h1 {
    max-width: 780px;
    margin: 10px 0 12px;
    color: var(--color-white);
    font-size: 3.4rem;
}

.program-detail-hero p:not(.eyebrow) {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}

.detail-copy {
    font-size: 1.08rem;
}

.detail-copy .button {
    margin-top: 18px;
}

.detail-side {
    display: grid;
    gap: 10px;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.detail-side h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.detail-side a {
    display: grid;
    gap: 2px;
    padding: 12px;
    background: var(--color-subtle);
    border-radius: var(--radius);
}

.detail-side a span {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 900;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-grid div {
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.stat-grid strong {
    display: block;
    color: var(--color-primary);
    font-size: 2rem;
}

.stat-grid span {
    font-weight: 750;
}

.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card {
    padding: 22px;
}

.mini-card svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.mini-card h3 {
    margin-top: 16px;
}

.album-stack {
    display: grid;
    gap: 28px;
}

.album-section {
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.album-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.album-heading h2 {
    font-size: 1.7rem;
}

.album-heading p {
    margin: 8px 0 0;
}

.album-heading span {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--color-primary);
    background: var(--color-subtle);
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 900;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}

.album-actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.album-image {
    aspect-ratio: 4 / 3;
    contain: layout paint;
}

.lightbox {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgba(13, 22, 15, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1080px, 100%);
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.whatsapp-float {
    position: fixed;
    z-index: 300;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--color-white);
    background: #1fae5b;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(5, 36, 23, 0.22);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #168a49;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: none;
}

.not-found {
    min-height: 58vh;
    display: flex;
    align-items: center;
}

.admin-body {
    min-height: 100vh;
    color: #2d3f36;
    background: #f1f5f3;
}

.admin-shell {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-header {
    position: sticky;
    z-index: 40;
    top: 0;
    height: 100vh;
    color: rgba(255, 255, 255, 0.82);
    background: #06351f;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 22px;
    padding: 22px 14px;
}

.admin-header .brand {
    width: 100%;
    padding: 8px 10px 20px;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-header .brand img,
.admin-header .brand-mark {
    width: 42px;
    height: 42px;
    background: var(--color-white);
    border-color: rgba(215, 247, 197, 0.55);
}

.admin-header .brand strong {
    color: var(--color-white);
    font-size: 0.92rem;
}

.admin-header .brand small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
}

.admin-nav {
    display: grid;
    width: 100%;
    gap: 6px;
}

.admin-nav a,
.admin-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.91rem;
    font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a:focus-visible,
.admin-nav a.is-active,
.admin-nav button:hover,
.admin-nav button:focus-visible {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-nav a.is-active {
    box-shadow: inset 3px 0 0 var(--color-accent);
}

.admin-nav svg {
    width: 16px;
    height: 16px;
}

.admin-nav form {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav button {
    color: #ffd8d3;
}

.admin-workspace {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    z-index: 35;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #d8e7df;
    backdrop-filter: blur(14px);
}

.admin-topbar span,
.admin-topbar strong {
    display: block;
}

.admin-topbar span {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-topbar strong {
    max-width: min(58vw, 720px);
    overflow: hidden;
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    color: var(--color-primary);
    background: var(--color-light);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-topbar svg {
    width: 16px;
    height: 16px;
}

.admin-main {
    min-height: calc(100vh - 68px);
}

.admin-login-main {
    min-height: 100vh;
    background: #f8fbf9;
}

.admin-auth {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px 18px;
}

.admin-auth-shell {
    display: grid;
    width: min(420px, 100%);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(60, 64, 67, 0.08);
}

.admin-auth-intro {
    display: grid;
    justify-items: center;
    gap: 16px;
    min-height: 0;
    padding: 34px 32px 10px;
    color: var(--color-ink);
    background: var(--color-white);
    text-align: center;
}

.admin-auth-mark {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--color-ink);
    background: var(--color-accent);
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 950;
}

.admin-auth-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.admin-auth-intro .eyebrow,
.admin-auth-intro h1,
.admin-auth-intro p {
    color: var(--color-ink);
}

.admin-auth-intro h1 {
    margin: 0;
    color: #202124;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

.admin-auth-intro p {
    margin: 8px 0 0;
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.55;
}

.admin-auth-notes {
    display: none;
}

.admin-auth-notes span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 7px 10px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.admin-auth-notes svg {
    width: 16px;
    height: 16px;
}

.admin-auth-card,
.admin-form-shell,
.admin-table-wrap {
    background: var(--color-white);
    border: 1px solid rgba(2, 144, 73, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(2, 80, 42, 0.08);
}

.admin-auth-card {
    display: grid;
    align-items: stretch;
    gap: 0;
    padding: 18px 32px 34px;
    border: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-auth-card .admin-form {
    width: 100%;
}

.admin-auth-card .admin-alert {
    width: 100%;
}

.admin-login-form {
    gap: 18px;
}

.admin-login-form label {
    gap: 8px;
    color: #202124;
    font-size: 0.86rem;
    font-weight: 650;
}

.admin-login-form input {
    min-height: 48px;
    padding: 12px 14px;
    color: #202124;
    background: var(--color-white);
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 1rem;
}

.admin-login-form input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8;
}

.admin-login-form .button {
    justify-self: end;
    min-width: 104px;
    min-height: 42px;
    padding: 10px 22px;
    background: var(--color-primary);
    border-radius: 4px;
    box-shadow: none;
}

.admin-auth-card h1,
.admin-page-head h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: 2rem;
}

.admin-auth-card p,
.admin-page-head p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.admin-section {
    padding: 28px 0 56px;
}

.admin-section > .container {
    width: min(1180px, calc(100% - 56px));
}

.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    background: var(--color-white);
    border: 1px solid #d8e7df;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(6, 53, 31, 0.06);
}

.admin-page-head .eyebrow {
    margin-bottom: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.admin-alert {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.admin-alert::before {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
}

.admin-auth-card .admin-alert {
    margin-bottom: 18px;
    padding: 11px 12px;
    font-size: 0.88rem;
}

.admin-alert p {
    grid-column: 2;
    margin: 0;
}

.admin-alert p + p {
    margin-top: 6px;
}

.admin-alert-success {
    color: #175c36;
    background: #f0f8f3;
    border: 1px solid #cce8d5;
}

.admin-alert-success::before {
    color: #137333;
    content: "✓";
    background: #dff3e7;
}

.admin-alert-error {
    color: #8c1d18;
    background: #fef7f6;
    border: 1px solid #f4c7c3;
}

.admin-alert-error::before {
    color: #c5221f;
    content: "!";
    background: #fce8e6;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-home-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
    gap: 18px;
    align-items: start;
}

.admin-panel {
    padding: 20px;
    background: var(--color-white);
    border: 1px solid #d8e7df;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(6, 53, 31, 0.06);
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dfeae4;
}

.admin-panel-head h2 {
    margin: 0;
    font-size: 1.16rem;
}

.admin-panel-head p {
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.admin-inline-form {
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #dfeae4;
}

.admin-inline-form .button {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
}

.admin-category-list {
    display: grid;
    gap: 8px;
}

.admin-category-list > p {
    margin: 0;
    color: var(--color-muted);
}

.admin-category-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f7fbf9;
    border: 1px solid #dfeae4;
    border-radius: 8px;
}

.admin-category-list strong,
.admin-category-list small {
    display: block;
}

.admin-category-list strong {
    color: var(--color-ink);
    font-size: 0.92rem;
}

.admin-category-list small {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.admin-category-list em {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-light);
    border-radius: 50%;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
}

.admin-news-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-news-card {
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid #d8e7df;
    border-radius: 8px;
}

.admin-news-card-image {
    display: block;
    background: #e8f3ed;
}

.admin-news-card-image img,
.admin-news-card-image span {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.admin-news-card-image img {
    object-fit: cover;
}

.admin-news-card-image span {
    display: grid;
    place-items: center;
    color: var(--color-primary);
}

.admin-news-card-image svg {
    width: 32px;
    height: 32px;
}

.admin-news-card-body {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.admin-news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-news-card-meta > span:first-child {
    overflow: hidden;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-news-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.28;
}

.admin-news-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.9em;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-news-card small {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.admin-empty-state {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 28px;
    color: var(--color-muted);
    background: #f7fbf9;
    border: 1px dashed #bfd4c9;
    border-radius: 8px;
    text-align: center;
}

.admin-empty-state svg {
    width: 34px;
    height: 34px;
    color: var(--color-primary);
}

.admin-empty-state strong {
    color: var(--color-ink);
}

.admin-summary-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: var(--color-white);
    border: 1px solid #d8e7df;
    border-top: 3px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(6, 53, 31, 0.05);
}

.admin-summary-grid span {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-summary-grid strong {
    color: var(--color-ink);
    font-size: 1.9rem;
    line-height: 1;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: var(--color-ink);
    font-size: 0.92rem;
    font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 11px 12px;
    color: var(--color-ink);
    background: #fbfdfc;
    border: 1px solid #cfded6;
    border-radius: 8px;
    outline: none;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: rgba(2, 144, 73, 0.58);
    box-shadow: 0 0 0 4px rgba(2, 144, 73, 0.1);
}

.admin-form-shell {
    padding: 22px;
}

.admin-category-form-shell {
    max-width: 680px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-cover-preview {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--color-subtle);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.admin-cover-preview img {
    width: 130px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.admin-cover-preview span {
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-editor {
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.admin-editor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: var(--color-ink);
    background: #f4f8f6;
    border-bottom: 1px solid var(--color-line);
    font-weight: 850;
}

.admin-editor-tabs {
    display: inline-flex;
    gap: 4px;
}

.admin-editor-tabs button,
.admin-editor-toolbar button,
.admin-editor-toolbar select {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--color-ink);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 800;
}

.admin-editor-tabs button.is-active,
.admin-editor-toolbar button:hover,
.admin-editor-toolbar button:focus-visible {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.admin-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 9px;
    background: #fbfdfc;
    border-bottom: 1px solid var(--color-line);
}

.admin-editor-canvas,
.admin-editor-html {
    min-height: 420px;
    padding: 22px;
    color: var(--color-ink);
    background: var(--color-white);
    outline: none;
}

.admin-editor-canvas {
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.78;
}

.admin-editor-canvas:empty::before {
    color: var(--color-muted);
    content: "Mulai tulis isi berita di sini...";
}

.admin-editor-canvas h2,
.admin-editor-canvas h3 {
    margin: 18px 0 10px;
}

.admin-editor-canvas p {
    margin: 0 0 14px;
}

.admin-editor-canvas figure {
    margin: 20px 0;
}

.admin-editor-canvas img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.admin-editor-canvas figcaption {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
}

.admin-editor-html {
    display: none;
    width: 100%;
    border: 0;
    border-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-editor.is-html-mode .admin-editor-canvas {
    display: none;
}

.admin-editor.is-html-mode .admin-editor-html {
    display: block;
}

.admin-editor-help {
    margin: 0;
    padding: 10px 14px;
    color: var(--color-muted);
    background: var(--color-subtle);
    border-top: 1px solid var(--color-line);
    font-size: 0.88rem;
}

.admin-seo-box {
    padding: 16px;
    background: var(--color-subtle);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.admin-seo-box summary {
    cursor: pointer;
    color: var(--color-ink);
    font-weight: 850;
}

.admin-seo-box .admin-form-grid {
    margin-top: 16px;
}

.admin-table-wrap {
    overflow-x: auto;
    border-color: #d8e7df;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #dfeae4;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: #345146;
    background: #f3f7f5;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: #fbfdfc;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    margin-top: 3px;
    color: var(--color-muted);
}

.admin-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-badge-published {
    color: #17613b;
    background: #e8f8ef;
}

.admin-badge-draft {
    color: #7a4b00;
    background: #fff3d8;
}

.admin-badge-archived {
    color: #5d6677;
    background: #eef2f6;
}

.admin-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-actions a,
.admin-actions button {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--color-primary);
    background: #f7fbf9;
    border: 1px solid #cfded6;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-actions button {
    color: #b42318;
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-home-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        position: sticky;
        height: auto;
        background: #06351f;
    }

    .admin-header-inner {
        flex-direction: row;
        align-items: center;
        min-height: 76px;
        padding: 12px 16px;
    }

    .admin-header .brand {
        width: auto;
        min-width: 220px;
        padding: 0;
        border-bottom: 0;
    }

    .admin-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        overflow-x: auto;
    }

    .admin-nav a,
    .admin-nav button {
        width: auto;
        white-space: nowrap;
    }

    .admin-nav form {
        margin: 0;
        padding: 0;
        border-top: 0;
    }
}

@media (max-width: 640px) {
    .admin-topbar {
        min-height: 60px;
        padding: 10px 16px;
    }

    .admin-topbar a span {
        display: none;
    }

    .admin-section > .container {
        width: min(100% - 28px, 1180px);
    }

    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .admin-page-head .button {
        width: 100%;
    }

    .admin-header-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .admin-header .brand {
        min-width: 0;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        overflow: visible;
    }

    .admin-nav a,
    .admin-nav button {
        justify-content: center;
        width: 100%;
    }

    .admin-news-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1120px) {
    .site-nav a {
        padding: 10px 8px;
        font-size: 0.88rem;
    }
}

@media (max-width: 1020px) {
    .hero-slides {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .hero-slides::-webkit-scrollbar {
        display: none;
    }

    .hero-slide {
        position: relative;
        inset: auto;
        flex: 0 0 100%;
        opacity: 1;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        transition: none;
    }

    .hero-slide.is-active {
        z-index: auto;
    }

    .hero-slide:hover img,
    .hero-slide:focus-visible img {
        transform: none;
    }

    .spmb-contact-inner {
        align-items: center;
    }

    .program-grid,
    .program-showcase,
    .compact,
    .album-grid,
    .partner-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tefa-card {
        grid-column: 1 / -1;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-panel {
        grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
        gap: 28px;
        padding: 34px;
    }

    .testimonial-stage {
        min-height: 390px;
    }

    .latest-news-layout {
        grid-template-columns: 1fr;
    }

    .news-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card-compact {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .news-card-compact .news-image img {
        height: 210px;
    }

    .teacher-card {
        grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
        gap: 24px;
        padding: 24px;
    }

    .teacher-card-copy {
        padding: 30px;
    }

    .teacher-card::before {
        width: 218px;
    }

    .teacher-photo {
        min-height: 390px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container,
    .container.narrow {
        width: min(100% - 32px, 1160px);
    }

    .nav-toggle.icon-button {
        display: inline-grid;
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        box-shadow: 0 10px 24px rgba(2, 80, 42, 0.08);
    }

    .brand {
        flex: 1 1 auto;
        max-width: calc(100% - 58px);
        gap: 10px;
    }

    .brand span:last-child {
        min-width: 0;
    }

    .brand strong {
        overflow: hidden;
        max-width: 100%;
        font-size: 0.9rem;
        text-overflow: ellipsis;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        z-index: 20;
        gap: 4px;
        padding: 10px;
        background: var(--color-white);
        border: 1px solid rgba(2, 144, 73, 0.14);
        border-radius: 8px;
        box-shadow: 0 22px 54px rgba(2, 80, 42, 0.16);
    }

    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 11px 12px;
        border-radius: 8px;
        font-size: 0.94rem;
        font-weight: 700;
    }

    .site-nav a.is-active {
        box-shadow: inset 3px 0 0 var(--color-primary);
    }

    .site-nav.is-open {
        display: flex;
    }

    .top-info-inner {
        justify-content: center;
        min-height: 34px;
        gap: 12px;
        font-size: 0.78rem;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading-row,
    .principal-grid,
    .faq-grid,
    .media-grid,
    .detail-grid,
    .site-map-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        min-height: 0;
    }

    .gallery-tile,
    .gallery-tile:nth-child(1),
    .gallery-tile:nth-child(2),
    .gallery-tile:nth-child(3),
    .gallery-tile:nth-child(4) {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .gallery-tile:nth-child(1) {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .gallery-tile:nth-child(2),
    .gallery-tile:nth-child(3),
    .gallery-tile:nth-child(4) {
        aspect-ratio: 1 / 1;
    }

    .section-heading-row {
        display: grid;
    }

    .latest-news-section .section-heading-row {
        padding: 20px;
    }

    .latest-news-section .section-heading-row .text-link {
        justify-self: start;
    }

    .principal-grid,
    .faq-grid {
        gap: 26px;
    }

    .principal-section::before {
        width: 100%;
        height: 36%;
        inset: 0 0 auto;
    }

    .principal-photo img {
        border-radius: 22px;
    }

    .principal-copy h2 {
        font-size: 2.1rem;
    }

    .principal-message {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .principal-message i {
        width: 48px;
        height: 48px;
    }

    .faq-image {
        position: static;
        display: block;
        order: -1;
        margin-bottom: 4px;
    }

    .faq-image img {
        aspect-ratio: 16 / 10;
        border-radius: 18px;
        box-shadow: 0 16px 36px rgba(2, 80, 42, 0.1);
    }

    .faq-answer img {
        display: none;
    }

    .page-hero h1,
    .article-header h1,
    .program-detail-hero h1 {
        font-size: 2.45rem;
    }

    .article-page {
        background: var(--color-white);
    }

    .article-header {
        padding-top: 32px;
    }

    .article-header p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .article-masthead {
        padding-bottom: 24px;
    }

    .article-byline span + span::before {
        display: none;
    }

    .article-cover {
        width: 100%;
        margin-bottom: -42px;
    }

    .article-cover img {
        aspect-ratio: 16 / 10;
    }

    .article-body-wrap {
        padding: 74px 0 64px;
    }

    .article-content {
        width: min(100% - 32px, 760px);
        font-size: 1rem;
        line-height: 1.74;
    }

    .article-content h2 {
        font-size: 1.34rem;
    }

    .article-content h3 {
        font-size: 1.16rem;
    }

    .article-hero {
        min-height: 460px;
    }

    .article-hero .container {
        padding-top: 70px;
        padding-bottom: 56px;
    }

    .article-hero-meta {
        margin-top: 16px;
    }

    .article-side {
        position: static;
    }

    .image-size-large,
    .image-size-medium,
    .image-size-small,
    .image-size-custom,
    .image-align-left,
    .image-align-right,
    .image-position-custom,
    .admin-editor-canvas .image-size-large,
    .admin-editor-canvas .image-size-medium,
    .admin-editor-canvas .image-size-small,
    .admin-editor-canvas .image-size-custom,
    .admin-editor-canvas .image-align-left,
    .admin-editor-canvas .image-align-right,
    .admin-editor-canvas .image-position-custom {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .brand small {
        display: none;
    }

    .brand-mark,
    .brand img {
        width: 42px;
        height: 42px;
    }

    .top-info-inner {
        justify-content: space-between;
        width: min(100% - 24px, 1160px);
    }

    .top-info span {
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-slides {
        aspect-ratio: var(--hero-aspect-ratio, 1213 / 1600);
        height: auto;
        width: min(100% - 32px, 1160px);
        border-radius: 8px;
    }

    .hero-controls {
        bottom: 14px;
        width: min(100% - 32px, 1160px);
    }

    .spmb-marquee {
        margin-top: 14px;
    }

    .spmb-marquee a {
        gap: 28px;
        padding: 10px 0;
        font-size: 0.86rem;
    }

    .spmb-marquee span::after {
        right: -18px;
        width: 6px;
        height: 6px;
    }

    .spmb-contact-strip {
        padding: 12px 0 14px;
        background: #f7fcf9;
    }

    .spmb-contact-inner {
        align-items: stretch;
        flex-direction: column;
        width: min(100% - 24px, 1160px);
        gap: 0;
        overflow: hidden;
        background: var(--color-white);
        border: 1px solid rgba(2, 144, 73, 0.14);
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(2, 80, 42, 0.07);
    }

    .spmb-contact-inner h2 {
        width: 100%;
        padding: 11px 12px 9px;
        color: var(--color-ink);
        background: transparent;
        border-bottom: 1px solid rgba(2, 144, 73, 0.1);
        border-radius: 0;
        font-size: 0.86rem;
        line-height: 1.2;
    }

    .spmb-contact-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        overflow: visible;
        padding: 0;
    }

    .spmb-contact-card {
        justify-content: flex-start;
        width: 100%;
        min-height: 52px;
        padding: 9px 12px;
        color: var(--color-ink);
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(2, 144, 73, 0.1);
        border-radius: 0;
        box-shadow: none;
    }

    .spmb-contact-card:last-child {
        border-bottom: 0;
    }

    .spmb-contact-card:hover,
    .spmb-contact-card:focus-visible {
        background: #f6fff9;
        transform: none;
    }

    .spmb-contact-card svg {
        width: 17px;
        height: 17px;
    }

    .spmb-contact-card strong {
        flex: 0 1 auto;
        font-size: 0.88rem;
    }

    .spmb-contact-card span {
        margin-left: auto;
        font-size: 0.84rem;
    }

    h2 {
        font-size: 1.72rem;
    }

    .news-grid,
    .latest-news-layout,
    .news-side-stack,
    .program-grid,
    .program-showcase,
    .compact,
    .album-grid,
    .partner-row,
    .footer-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        min-height: 470px;
    }

    .news-card-featured .news-body {
        padding: 26px;
    }

    .news-card-featured .news-body h3 {
        font-size: 1.62rem;
    }

    .news-card-compact {
        min-height: auto;
    }

    .news-card-compact .news-body {
        padding: 20px;
    }

    .vision-mission-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .vision-mission-simple .section-heading {
        margin-bottom: 18px;
    }

    .school-motto {
        font-size: 0.98rem;
        line-height: 1.48;
    }

    .vision-mission-content {
        gap: 18px;
        padding-top: 0;
        border-top: 0;
    }

    .vision-copy,
    .mission-copy {
        display: block;
        padding: 18px;
        background: var(--color-white);
        border: 1px solid var(--color-line);
        border-radius: 8px;
    }

    .vision-copy h3,
    .mission-copy h3 {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .vision-copy p {
        color: var(--color-text);
        font-size: 0.96rem;
        font-weight: 650;
        line-height: 1.62;
    }

    .mission-list {
        gap: 9px;
        padding-left: 20px;
    }

    .mission-list li {
        padding-left: 2px;
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .program-card-content {
        min-height: auto;
        padding: 20px;
    }

    .program-card-top {
        justify-content: space-between;
        min-height: 38px;
        margin-bottom: 16px;
    }

    .program-card-top span {
        min-width: 50px;
        height: 32px;
        font-size: 0.82rem;
    }

    .program-card-top i {
        color: var(--color-primary);
        background: var(--color-light);
        border-color: rgba(2, 144, 73, 0.12);
    }

    .program-card-content a {
        margin-top: auto;
    }

    .tefa-card {
        display: grid;
        padding: 22px;
    }

    .gallery-preview {
        gap: 10px;
        min-height: 0;
    }

    .gallery-tile:nth-child(1),
    .gallery-tile:nth-child(2),
    .gallery-tile:nth-child(3),
    .gallery-tile:nth-child(4) {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .gallery-tile:nth-child(1) {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .gallery-tile:nth-child(2),
    .gallery-tile:nth-child(3),
    .gallery-tile:nth-child(4) {
        aspect-ratio: 1 / 1;
    }

    .teacher-card {
        grid-template-columns: 1fr;
        min-height: 760px;
        gap: 16px;
        padding: 16px;
    }

    .teacher-photo {
        width: min(76vw, 300px);
        min-height: 420px;
        margin: 0 auto;
    }

    .teacher-card-copy {
        min-height: 280px;
        padding: 24px;
    }

    .teacher-card h3 {
        font-size: 2rem;
    }

    .teacher-card p {
        font-size: 0.98rem;
    }

    .teacher-slider-viewport {
        min-height: 760px;
    }

    .testimonial-stage {
        min-height: 520px;
        border-radius: 8px;
    }

    .testimonial-panel {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }

    .testimonial-portrait {
        width: min(58vw, 210px);
        border-width: 7px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        transform: rotate(-0.8deg);
    }

    .testimonial-copy {
        max-width: 100%;
    }

    .testimonial-copy > i {
        width: 40px;
        height: 40px;
        margin: 0 auto 12px;
    }

    .testimonial-copy blockquote {
        font-size: 1.18rem;
        line-height: 1.32;
        font-weight: 800;
    }

    .testimonial-copy strong {
        margin-top: 16px;
        font-size: 0.98rem;
    }

    .testimonial-copy span {
        font-size: 0.86rem;
    }

    .testimonial-controls {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 8px;
        align-items: center;
    }

    .testimonial-controls .icon-button {
        width: 40px;
        height: 40px;
    }

    .testimonial-people {
        display: flex;
        gap: 8px;
        min-width: 0;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .testimonial-people button {
        flex: 0 0 min(235px, 78vw);
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 56px;
        padding: 7px 9px;
        scroll-snap-align: center;
    }

    .testimonial-people img {
        width: 40px;
        height: 40px;
    }

    .album-section {
        padding: 16px;
    }

    .album-heading {
        display: grid;
    }

    .site-map-section {
        padding: 56px 0;
    }

    .site-map-copy {
        padding: 24px;
    }

    .site-map-frame,
    .site-map-frame iframe {
        min-height: 280px;
    }

    .footer-bottom {
        display: grid;
    }

    .admin-header-inner,
    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-auth {
        padding: 28px 16px;
    }

    .admin-auth-shell {
        grid-template-columns: 1fr;
    }

    .admin-auth-intro {
        min-height: auto;
        padding: 28px;
    }

    .admin-auth-intro h1 {
        font-size: 2rem;
    }

    .admin-auth-notes {
        margin-top: 24px;
    }

    .admin-auth-card {
        padding: 26px;
        border-left: 0;
        border-top: 1px solid rgba(2, 144, 73, 0.12);
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .admin-nav a,
    .admin-nav button {
        justify-content: center;
        width: 100%;
    }

    .admin-auth-card,
    .admin-form-shell {
        padding: 22px;
    }

    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-grid,
    .admin-cover-preview {
        grid-template-columns: 1fr;
    }

    .admin-editor-top {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-editor-toolbar {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .admin-editor-canvas,
    .admin-editor-html {
        min-height: 340px;
        padding: 16px;
    }

    .admin-cover-preview img {
        width: 100%;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 420px) {
    .spmb-contact-card {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 2px 8px;
        min-height: 58px;
    }

    .spmb-contact-card svg {
        grid-row: 1 / span 2;
        margin-top: 3px;
    }

    .spmb-contact-card strong {
        font-size: 0.86rem;
        line-height: 1.2;
        white-space: normal;
    }

    .spmb-contact-card span {
        margin-left: 0;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .testimonial-stage {
        min-height: 500px;
    }

    .testimonial-panel {
        padding: 18px;
    }

    .testimonial-portrait {
        width: min(54vw, 190px);
    }

    .testimonial-copy blockquote {
        font-size: 1.08rem;
    }

    .testimonial-copy strong {
        margin-top: 14px;
    }

    .testimonial-controls {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .testimonial-controls .icon-button {
        width: 38px;
        height: 38px;
    }

    .testimonial-people button {
        flex-basis: min(220px, 76vw);
    }
}

/* Refined admin dashboard: flatter, quieter, and closer to the main site palette. */
.admin-body {
    color: #202124;
    background: #f8faf9;
}

.admin-body.admin-modal-open {
    overflow: hidden;
}

.admin-body.admin-sidebar-open {
    overflow: hidden;
}

.admin-shell {
    grid-template-columns: 248px minmax(0, 1fr);
}

.admin-header {
    color: #3c4043;
    background: #ffffff;
    border-right: 1px solid #dadce0;
}

.admin-header-inner {
    gap: 18px;
    padding: 18px 12px;
}

.admin-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0f1;
}

.admin-header .brand {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 4px;
    color: #202124;
    border-bottom: 0;
}

.admin-header .brand img,
.admin-header .brand-mark {
    width: 40px;
    height: 40px;
    background: #f8faf9;
    border-color: #dadce0;
}

.admin-header .brand strong {
    color: #202124;
    font-size: 0.92rem;
    font-weight: 600;
}

.admin-header .brand small {
    color: #5f6368;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.admin-nav {
    gap: 4px;
}

.admin-nav a,
.admin-nav button {
    min-height: 40px;
    padding: 9px 11px;
    color: #3c4043;
    background: transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a:focus-visible,
.admin-nav a.is-active,
.admin-nav button:hover,
.admin-nav button:focus-visible {
    color: #137333;
    background: #e9f5ee;
    border-color: transparent;
}

.admin-nav a.is-active {
    box-shadow: none;
}

.admin-nav form {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eef0f1;
}

.admin-nav button {
    color: #a50e0e;
}

.admin-workspace {
    background: #f8faf9;
}

.admin-topbar {
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dadce0;
    backdrop-filter: blur(10px);
}

.admin-topbar span {
    color: #5f6368;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.admin-topbar strong {
    color: #202124;
    font-size: 0.98rem;
    font-weight: 600;
}

.admin-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #3c4043;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 50%;
}

.admin-drawer-close {
    display: none;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #3c4043;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 50%;
}

.admin-drawer-close svg {
    width: 18px;
    height: 18px;
}

.admin-menu-toggle svg {
    width: 20px;
    height: 20px;
}

.admin-sidebar-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: rgba(32, 33, 36, 0.34);
    border: 0;
}

.admin-sidebar-backdrop[hidden] {
    display: none;
}

.admin-section {
    padding: 24px 0 52px;
}

.admin-section > .container {
    width: min(1120px, calc(100% - 48px));
}

.admin-page-head {
    margin-bottom: 16px;
    padding: 8px 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-page-head .eyebrow {
    margin-bottom: 6px;
    color: #137333;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.admin-page-head h1 {
    color: #202124;
    font-size: 1.6rem;
    font-weight: 600;
}

.admin-page-head p {
    margin-top: 6px;
    color: #5f6368;
    font-size: 0.95rem;
}

.admin-summary-grid {
    gap: 12px;
    margin-bottom: 16px;
}

.admin-summary-grid div,
.admin-panel,
.admin-news-card {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: none;
}

.admin-summary-grid div {
    padding: 15px 16px;
    border-top: 1px solid #dadce0;
}

.admin-summary-grid span {
    color: #5f6368;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.admin-summary-grid strong {
    color: #202124;
    font-size: 1.65rem;
    font-weight: 500;
}

.admin-home-grid {
    grid-template-columns: minmax(240px, 0.3fr) minmax(0, 0.7fr);
    gap: 16px;
}

.admin-panel {
    padding: 18px;
}

.admin-panel-head {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f1;
}

.admin-panel-head h2 {
    color: #202124;
    font-size: 1.05rem;
    font-weight: 600;
}

.admin-panel-head p {
    color: #5f6368;
    font-size: 0.88rem;
}

.admin-panel-action {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: none;
}

.admin-panel-action-soft {
    color: #137333;
    background: #ffffff;
    border: 1px solid #dadce0;
}

.admin-panel-action-soft:hover,
.admin-panel-action-soft:focus-visible {
    color: #ffffff;
    background: #137333;
    border-color: #137333;
}

.admin-category-list {
    gap: 6px;
}

.admin-category-list div {
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eef0f1;
    border-radius: 0;
}

.admin-category-list div > span:first-child {
    min-width: 0;
}

.admin-category-list div:last-child {
    border-bottom: 0;
}

.admin-category-list strong {
    color: #202124;
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-category-list small {
    color: #5f6368;
}

.admin-category-list em {
    width: 28px;
    height: 28px;
    color: #137333;
    background: #e9f5ee;
    font-weight: 500;
}

.admin-category-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.admin-category-actions button {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #3c4043;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 50%;
}

.admin-category-actions button:hover,
.admin-category-actions button:focus-visible {
    color: #137333;
    background: #e9f5ee;
    border-color: #cce8d5;
}

.admin-category-actions form button {
    color: #a50e0e;
}

.admin-category-actions form button:hover,
.admin-category-actions form button:focus-visible {
    background: #fce8e6;
    border-color: #f4c7c3;
}

.admin-category-actions svg {
    width: 15px;
    height: 15px;
}

.admin-news-card-grid {
    gap: 16px;
}

.admin-news-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-news-card:hover {
    border-color: #c9d1d6;
    box-shadow: 0 10px 24px rgba(60, 64, 67, 0.08);
    transform: translateY(-1px);
}

.admin-news-card-image {
    position: relative;
    background: #f1f3f4;
}

.admin-news-card-image span {
    color: #5f6368;
}

.admin-news-card-body {
    align-content: start;
    gap: 10px;
    padding: 14px;
}

.admin-news-card-meta > span:first-child {
    min-width: 0;
    overflow: hidden;
    color: #137333;
    font-size: 0.78rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-news-card h3 {
    min-height: 2.5em;
    color: #202124;
    font-size: 1.02rem;
    font-weight: 600;
}

.admin-news-card h3 a {
    color: inherit;
}

.admin-news-card h3 a:hover,
.admin-news-card h3 a:focus-visible {
    color: #137333;
}

.admin-news-card p,
.admin-news-card small {
    color: #5f6368;
    font-weight: 400;
}

.admin-news-card small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-news-card small svg {
    width: 15px;
    height: 15px;
}

.admin-news-card .admin-actions {
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid #eef0f1;
}

.admin-actions a,
.admin-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    color: #137333;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
}

.admin-actions button {
    color: #a50e0e;
}

.admin-actions svg {
    width: 15px;
    height: 15px;
}

.admin-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 33, 36, 0.38);
}

.admin-modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    width: min(460px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow-y: auto;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(32, 33, 36, 0.22);
}

.admin-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.admin-modal-head h2 {
    margin: 0;
    color: #202124;
    font-size: 1.18rem;
    font-weight: 600;
}

.admin-modal-head p {
    margin: 5px 0 0;
    color: #5f6368;
    font-size: 0.9rem;
    line-height: 1.45;
}

.admin-modal-head button {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #3c4043;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 50%;
}

.admin-modal-head button:hover,
.admin-modal-head button:focus-visible {
    background: #f1f3f4;
}

.admin-modal-head svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-header {
        position: fixed;
        z-index: 90;
        inset: 12px 12px auto auto;
        width: min(330px, calc(100vw - 24px));
        height: auto;
        max-height: calc(100vh - 24px);
        overflow: hidden;
        border: 1px solid #e0e3e7;
        border-radius: 18px;
        box-shadow: 0 20px 55px rgba(32, 33, 36, 0.2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(0.98);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .admin-body.admin-sidebar-open .admin-header {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    .admin-header-inner {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 12px;
        padding: 14px;
    }

    .admin-header .brand {
        width: 100%;
        min-width: 0;
        padding: 0;
        border-bottom: 0;
    }

    .admin-header .brand img,
    .admin-header .brand-mark {
        width: 44px;
        height: 44px;
    }

    .admin-header .brand span {
        min-width: 0;
    }

    .admin-header .brand strong {
        overflow: hidden;
        font-size: 0.95rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-header .brand small {
        font-size: 0.78rem;
    }

    .admin-drawer-head {
        gap: 12px;
        padding: 0 0 12px;
        border-bottom: 1px solid #eef0f1;
    }

    .admin-drawer-close {
        display: grid;
        width: 42px;
        height: 42px;
        background: #f8faf9;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
        overflow: visible;
    }

    .admin-nav a,
    .admin-nav button {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        gap: 12px;
        padding: 11px 12px;
        border-radius: 14px;
        font-size: 0.95rem;
    }

    .admin-nav svg {
        width: 18px;
        height: 18px;
    }

    .admin-nav form {
        margin-top: 2px;
        padding-top: 8px;
        border-top: 1px solid #eef0f1;
    }

    .admin-menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        margin-left: auto;
        background: #f8faf9;
        box-shadow: none;
    }

    .admin-topbar {
        gap: 14px;
        min-height: 64px;
        padding: 10px 16px;
    }

    .admin-topbar > div {
        min-width: 0;
    }

    .admin-topbar strong {
        max-width: calc(100vw - 96px);
    }

    .admin-home-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-sidebar-backdrop {
        background: rgba(32, 33, 36, 0.44);
    }

    .admin-section > .container {
        width: min(100% - 28px, 1120px);
    }

    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-summary-grid,
    .admin-news-card-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 16px;
    }

    .admin-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-panel-action {
        justify-content: center;
        width: 100%;
    }

    .admin-category-list div {
        align-items: flex-start;
    }

    .admin-category-actions {
        margin-left: auto;
    }

    .admin-auth-intro h1 {
        font-size: 1.45rem;
    }
}
