:root {
    --green: #147a4b;
    --green-dark: #095c37;
    --green-soft: #e8f5ed;
    --yellow: #f7c928;
    --yellow-soft: #fff7cf;
    --blue: #2879d0;
    --blue-soft: #eaf3ff;
    --ink: #17352a;
    --text: #53665e;
    --muted: #7d8c85;
    --line: #e4ece7;
    --surface: #f7faf8;
    --white: #fff;
    --danger: #c73e48;
    --shadow-sm: 0 8px 25px rgba(17, 67, 46, .08);
    --shadow: 0 18px 55px rgba(17, 67, 46, .12);
    --radius: 20px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "Segoe UI", Aptos, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: inherit;
}

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

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
strong {
    color: var(--ink);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: #fff;
    background: var(--green-dark);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 30px rgba(13, 67, 45, .1);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    color: var(--green);
    background: #fff;
    border-radius: 15px;
    place-items: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .1);
}

.brand-mark svg {
    width: 40px;
    height: 40px;
}

.brand-copy {
    display: flex;
    line-height: 1.1;
    flex-direction: column;
}

.brand-copy strong {
    color: currentColor;
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: .02em;
}

.brand-copy small {
    margin-top: 5px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-nav a {
    position: relative;
    padding: 28px 2px 23px;
    font-size: .96rem;
    font-weight: 700;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 3px;
    content: "";
    border-radius: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: currentColor;
    background: transparent;
    border: 0;
}

.nav-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    border-radius: 5px;
}

.hero {
    position: relative;
    min-height: 760px;
    color: #fff;
    overflow: hidden;
    background: var(--green-dark);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    background-image: url("/assets/hero-sekolah.png");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 54, 32, .93) 0%, rgba(7, 72, 43, .8) 31%, rgba(9, 72, 44, .28) 62%, rgba(4, 39, 25, .08) 100%),
        linear-gradient(0deg, rgba(8, 83, 49, .32), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 760px;
    padding-top: 120px;
    padding-bottom: 80px;
    align-items: center;
}

.hero-copy {
    width: min(600px, 58%);
}

.eyebrow,
.section-kicker,
.admin-kicker,
.auth-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 22px;
    color: #fff;
}

.eyebrow i {
    width: 25px;
    height: 2px;
    margin-right: 10px;
    background: var(--yellow);
}

.hero h1 {
    max-width: 590px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(3.2rem, 5.6vw, 5.15rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .99;
}

.hero h1 em {
    position: relative;
    display: inline-block;
    color: var(--yellow);
    font-style: normal;
}

.hero h1 em::after {
    position: absolute;
    right: 4px;
    bottom: -8px;
    width: 80%;
    height: 7px;
    content: "";
    opacity: .65;
    border-radius: 50%;
    border-top: 3px solid var(--yellow);
    transform: rotate(-2deg);
}

.hero-copy > p {
    max-width: 540px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.14rem;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 22px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.35;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 8px 22px rgba(13, 111, 65, .24);
}

.button-primary:hover {
    background: var(--green-dark);
    box-shadow: 0 12px 28px rgba(13, 111, 65, .3);
}

.hero .button-primary {
    color: var(--ink);
    background: var(--yellow);
    box-shadow: 0 9px 26px rgba(247, 201, 40, .25);
}

.hero .button-primary:hover {
    background: #ffdb46;
}

.button-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
}

.button-light:hover {
    background: rgba(255, 255, 255, .18);
}

.button-outline {
    color: var(--green);
    border-color: #b9d4c5;
    background: #fff;
}

.button-outline:hover {
    color: #fff;
    border-color: var(--green);
    background: var(--green);
}

.button-yellow {
    color: var(--ink);
    background: var(--yellow);
    box-shadow: var(--shadow-sm);
}

.button-muted {
    color: var(--text);
    background: var(--surface);
    border-color: var(--line);
}

.button-ghost {
    color: var(--green);
    background: transparent;
    border-color: #bed8ca;
}

.button-small {
    min-height: 39px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: .86rem;
}

.button-full {
    width: 100%;
}

.hero-note {
    display: flex;
    margin-top: 35px;
    align-items: center;
    gap: 12px;
}

.hero-note-icon {
    display: grid;
    width: 39px;
    height: 39px;
    color: var(--green-dark);
    background: #fff;
    border-radius: 50%;
    place-items: center;
    font-weight: 900;
}

.hero-note > span:last-child {
    display: flex;
    flex-direction: column;
}

.hero-note strong {
    color: #fff;
    font-size: .93rem;
}

.hero-note small {
    color: rgba(255, 255, 255, .7);
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    right: -2px;
    bottom: -2px;
    left: -2px;
    height: 86px;
}

.hero-bottom svg {
    width: 100%;
    height: 100%;
}

.hero-shapes span {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.hero-shapes span:nth-child(1) {
    top: 180px;
    right: 8%;
    width: 130px;
    height: 130px;
}

.hero-shapes span:nth-child(2) {
    right: 2%;
    bottom: 120px;
    width: 50px;
    height: 50px;
    background: rgba(247, 201, 40, .45);
    border: 0;
}

.hero-shapes span:nth-child(3) {
    top: 120px;
    left: 49%;
    width: 14px;
    height: 14px;
    background: var(--yellow);
    border: 0;
}

.welcome-strip {
    position: relative;
    z-index: 4;
    padding: 12px 0 50px;
    background: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.value-item {
    display: flex;
    min-height: 80px;
    padding: 8px 32px;
    border-right: 1px solid var(--line);
    align-items: center;
    gap: 15px;
}

.value-item:first-child {
    padding-left: 0;
}

.value-item:last-child {
    padding-right: 0;
    border: 0;
}

.value-icon,
.stat-icon {
    display: grid;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    place-items: center;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.green {
    color: var(--green);
    background: var(--green-soft);
}

.yellow {
    color: #b98d00;
    background: var(--yellow-soft);
}

.blue {
    color: var(--blue);
    background: var(--blue-soft);
}

.value-item > div {
    display: flex;
    flex-direction: column;
}

.value-item strong {
    font-size: 1.02rem;
}

.value-item small {
    color: var(--muted);
    line-height: 1.45;
}

.section {
    padding: 105px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 95px;
}

.about-visual {
    position: relative;
    padding: 0 0 34px 34px;
}

.about-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: .93;
    border-radius: 90px 20px 90px 20px;
    box-shadow: var(--shadow);
}

.about-image-wrap::after {
    position: absolute;
    inset: 0;
    content: "";
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
}

.about-visual::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 72%;
    content: "";
    background: var(--yellow);
    border-radius: 70px 20px 70px 20px;
}

.about-badge {
    position: absolute;
    right: -32px;
    bottom: 74px;
    display: flex;
    min-width: 220px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    align-items: center;
    gap: 12px;
}

.about-badge > span {
    display: grid;
    width: 42px;
    height: 42px;
    color: #a97800;
    background: var(--yellow-soft);
    border-radius: 50%;
    place-items: center;
}

.about-badge div {
    display: flex;
    flex-direction: column;
}

.about-badge small {
    color: var(--muted);
    font-size: .77rem;
}

.dot-pattern {
    position: absolute;
    z-index: -1;
    top: -22px;
    right: 5px;
    width: 110px;
    height: 80px;
    opacity: .4;
    background-image: radial-gradient(var(--green) 2px, transparent 2px);
    background-size: 14px 14px;
}

.section-kicker {
    margin-bottom: 13px;
}

.section-kicker::before {
    width: 22px;
    height: 2px;
    margin-right: 9px;
    content: "";
    background: var(--yellow);
}

.section-kicker.light {
    color: #d8f2e4;
}

.about-copy h2,
.section-heading h2 {
    margin-bottom: 23px;
    color: var(--ink);
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 830;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.about-copy h2 span,
.section-heading h2 span {
    color: var(--green);
}

.about-copy > p {
    margin-bottom: 18px;
    font-size: 1.03rem;
}

.check-grid {
    display: grid;
    margin-top: 29px;
    grid-template-columns: 1fr 1fr;
    gap: 13px 20px;
}

.check-grid span {
    color: var(--ink);
    font-weight: 700;
}

.check-grid i {
    display: inline-grid;
    width: 23px;
    height: 23px;
    margin-right: 7px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    font-size: .75rem;
    font-style: normal;
    place-items: center;
}

.learning-section {
    position: relative;
    background: var(--surface);
    overflow: hidden;
}

.learning-section::before {
    position: absolute;
    top: -180px;
    left: -180px;
    width: 430px;
    height: 430px;
    content: "";
    opacity: .35;
    border: 70px solid var(--green-soft);
    border-radius: 50%;
}

.section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.section-heading.centered {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading.centered .section-kicker {
    justify-content: center;
}

.section-heading.centered > p {
    max-width: 650px;
    margin: 0 auto;
}

.program-grid,
.article-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    position: relative;
    min-height: 310px;
    padding: 38px 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(21, 73, 51, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.program-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.program-card::after {
    position: absolute;
    right: -25px;
    bottom: -34px;
    width: 100px;
    height: 100px;
    content: "";
    opacity: .55;
    border-radius: 50%;
}

.green-card::after {
    background: var(--green-soft);
}

.yellow-card::after {
    background: var(--yellow-soft);
}

.blue-card::after {
    background: var(--blue-soft);
}

.program-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #e3ece7;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.program-icon {
    display: grid;
    width: 61px;
    height: 61px;
    margin-bottom: 28px;
    border-radius: 18px;
    place-items: center;
}

.program-icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.green-card .program-icon {
    color: var(--green);
    background: var(--green-soft);
}

.yellow-card .program-icon {
    color: #ad8300;
    background: var(--yellow-soft);
}

.blue-card .program-icon {
    color: var(--blue);
    background: var(--blue-soft);
}

.program-card h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
}

.program-card p {
    margin: 0;
    font-size: .96rem;
}

.article-section {
    background: #fff;
}

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

.section-heading.split h2 {
    margin-bottom: 0;
}

.article-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(21, 73, 51, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.article-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.article-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.55;
    background: var(--surface);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.04);
}

.article-tag,
.article-label {
    display: inline-flex;
    color: var(--green-dark);
    background: var(--yellow);
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.article-tag {
    position: absolute;
    bottom: 14px;
    left: 15px;
    padding: 6px 11px;
}

.article-card-body {
    padding: 24px 25px 26px;
}

.article-card time {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 650;
}

.article-card h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
    line-height: 1.35;
}

.article-card h3 a:hover {
    color: var(--green);
}

.article-card p {
    min-height: 51px;
    margin-bottom: 18px;
    font-size: .91rem;
    line-height: 1.6;
}

.text-link {
    color: var(--green);
    font-size: .9rem;
    font-weight: 800;
}

.text-link span {
    display: inline-block;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.empty-public {
    padding: 55px 25px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed #b9d1c4;
    border-radius: var(--radius);
}

.empty-public > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    place-items: center;
    font-weight: 900;
}

.empty-public h2,
.empty-public h3 {
    margin-bottom: 8px;
}

.empty-public p {
    margin-bottom: 0;
}

.empty-public .button {
    margin-top: 20px;
}

.empty-public.large {
    padding: 85px 30px;
}

.cta-section {
    padding: 0 0 105px;
}

.cta-card {
    position: relative;
    display: flex;
    min-height: 250px;
    padding: 48px 58px;
    color: rgba(255, 255, 255, .82);
    background: var(--green-dark);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card > div:not(.cta-pattern) {
    max-width: 660px;
}

.cta-card h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -.04em;
    line-height: 1.12;
}

.cta-card p {
    margin: 0;
}

.cta-pattern {
    position: absolute;
    z-index: 0;
    top: -100px;
    right: -100px;
    width: 390px;
    height: 390px;
    opacity: .12;
    border: 55px solid #fff;
    border-radius: 50%;
}

.site-footer {
    color: rgba(255, 255, 255, .7);
    background: #0a2f22;
}

.footer-accent {
    height: 6px;
    background: linear-gradient(90deg, var(--green) 0 40%, var(--yellow) 40% 68%, var(--blue) 68%);
}

.footer-grid {
    display: grid;
    padding-top: 68px;
    padding-bottom: 50px;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 70px;
}

.footer-grid > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-grid > div:first-child p {
    max-width: 420px;
    margin-top: 22px;
}

.footer-brand {
    color: #fff;
}

.footer-grid h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-grid a:not(.brand) {
    margin-bottom: 8px;
}

.footer-grid a:not(.brand):hover {
    color: var(--yellow);
}

.footer-grid p {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, .11);
    font-size: .82rem;
}

.footer-bottom p {
    margin: 0;
}

/* Article pages */
.page-hero {
    position: relative;
    padding: 165px 0 90px;
    color: rgba(255, 255, 255, .8);
    background: linear-gradient(125deg, var(--green-dark), #168054);
    overflow: hidden;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    letter-spacing: -.055em;
    line-height: 1;
}

.page-hero p {
    max-width: 670px;
    margin: 0;
    font-size: 1.08rem;
}

.light-eyebrow {
    margin-bottom: 17px;
}

.page-hero-shape {
    position: absolute;
    top: -160px;
    right: -80px;
    width: 500px;
    height: 500px;
    opacity: .13;
    border: 70px solid #fff;
    border-radius: 50%;
}

.article-list-section {
    min-height: 500px;
}

.pagination {
    display: flex;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination a {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--green);
    border: 1px solid var(--line);
    border-radius: 10px;
    place-items: center;
    font-weight: 750;
}

.pagination a.active,
.pagination a:hover {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.not-found {
    padding-top: 160px;
}

.article-detail-header {
    padding: 160px 0 55px;
    background: linear-gradient(180deg, #edf8f1, #fff);
}

.article-narrow {
    max-width: 820px;
}

.back-link,
.admin-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--green);
    font-size: .9rem;
    font-weight: 750;
}

.article-label {
    display: table;
    padding: 7px 12px;
    margin-bottom: 17px;
}

.article-detail h1 {
    margin-bottom: 22px;
    font-size: clamp(2.45rem, 5.5vw, 4.2rem);
    letter-spacing: -.055em;
    line-height: 1.08;
}

.article-lead {
    color: #5b6f66;
    font-size: 1.15rem;
}

.article-meta {
    display: flex;
    margin-top: 25px;
    color: var(--muted);
    align-items: center;
    gap: 9px;
    font-size: .88rem;
}

.meta-dot {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--green-soft);
}

.article-cover {
    max-width: 1040px;
    margin-top: 35px;
}

.article-cover img {
    width: 100%;
    max-height: 610px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.article-content {
    padding-top: 62px;
    padding-bottom: 80px;
    color: #40534b;
    font-size: 1.08rem;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 25px;
}

.article-end-mark {
    display: flex;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.article-end-mark span {
    width: 35px;
    height: 1px;
    background: var(--line);
}

.article-end-mark i {
    width: 9px;
    height: 9px;
    background: var(--yellow);
    border-radius: 50%;
}

.article-back-cta {
    padding: 35px 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.article-back-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.article-back-cta strong {
    font-size: 1.1rem;
}

.article-back-cta p {
    margin: 3px 0 0;
    font-size: .9rem;
}

/* Authentication */
.auth-body {
    display: grid;
    min-height: 100vh;
    background: #fff;
    grid-template-columns: 1.05fr .95fr;
}

.auth-visual {
    position: relative;
    min-height: 100vh;
    background: url("/assets/hero-sekolah.png") center / cover;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 46, 28, .18), rgba(5, 63, 37, .9));
}

.auth-quote {
    position: absolute;
    right: 8%;
    bottom: 8%;
    left: 8%;
    z-index: 1;
    max-width: 580px;
    color: #fff;
}

.auth-quote > span {
    position: absolute;
    top: -35px;
    left: -10px;
    color: var(--yellow);
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
}

.auth-quote p {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.4;
}

.auth-quote strong {
    color: var(--yellow);
}

.auth-main {
    display: grid;
    min-height: 100vh;
    padding: 60px;
    place-items: center;
}

.auth-card {
    width: min(100%, 470px);
}

.auth-brand {
    margin-bottom: 55px;
    color: var(--ink);
}

.auth-brand .brand-mark {
    color: #fff;
    background: var(--green);
}

.auth-kicker {
    margin-bottom: 10px;
}

.auth-card h1 {
    margin-bottom: 10px;
    font-size: 2.35rem;
    letter-spacing: -.04em;
    line-height: 1.12;
}

.auth-card > p {
    margin-bottom: 27px;
}

.auth-form {
    margin-top: 25px;
}

.auth-form > label {
    display: block;
    margin: 15px 0 7px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 750;
}

.input-with-icon {
    position: relative;
}

.input-with-icon span {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #a8b9b0;
    font-size: .68rem;
    transform: translateY(-50%);
}

.input-with-icon input {
    width: 100%;
    height: 52px;
    padding: 10px 16px 10px 42px;
    border: 1px solid #d9e4de;
    outline: none;
    border-radius: 11px;
}

.input-with-icon input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(20, 122, 75, .1);
}

.auth-form .button {
    margin-top: 25px;
}

.auth-back {
    display: block;
    margin-top: 28px;
    color: var(--green);
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
}

.alert {
    padding: 13px 16px;
    margin: 20px 0;
    border: 1px solid;
    border-radius: 11px;
    font-size: .9rem;
}

.alert.error {
    color: #922b35;
    background: #fff0f1;
    border-color: #f2bdc1;
}

.alert.success {
    color: #17633f;
    background: #edf9f2;
    border-color: #b9e0ca;
}

/* Admin */
.admin-body {
    min-height: 100vh;
    background: #f5f8f6;
}

.admin-topbar {
    position: sticky;
    z-index: 50;
    top: 0;
    color: var(--ink);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-topbar-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-topbar .brand-mark {
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--green);
}

.admin-topbar .brand-mark svg {
    width: 35px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: .88rem;
}

.admin-user > span {
    color: var(--ink);
    font-weight: 700;
}

.admin-user > a {
    color: var(--green);
    font-weight: 700;
}

.admin-user form {
    margin: 0;
}

.admin-shell {
    display: grid;
    min-height: calc(100vh - 77px);
    grid-template-columns: 210px 1fr;
    gap: 40px;
}

.admin-sidebar {
    padding: 32px 0;
    border-right: 1px solid var(--line);
}

.admin-sidebar nav {
    position: sticky;
    top: 110px;
    display: flex;
    padding-right: 24px;
    flex-direction: column;
    gap: 5px;
}

.admin-sidebar a {
    display: flex;
    padding: 10px 13px;
    color: #60726a;
    border-radius: 9px;
    align-items: center;
    gap: 11px;
    font-size: .91rem;
    font-weight: 700;
}

.admin-sidebar a span {
    width: 20px;
    color: var(--green);
    text-align: center;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: var(--green-dark);
    background: var(--green-soft);
}

.admin-main {
    min-width: 0;
    padding: 45px 0 80px;
}

.admin-page-head {
    display: flex;
    margin-bottom: 30px;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
}

.admin-page-head h1 {
    margin: 2px 0 5px;
    font-size: 2.25rem;
    letter-spacing: -.04em;
}

.admin-page-head p {
    margin: 0;
}

.admin-kicker {
    color: var(--green);
    font-size: .7rem;
}

.stat-grid {
    display: grid;
    margin-bottom: 28px;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    display: flex;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(21, 73, 51, .04);
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 1.1rem;
    font-weight: 900;
}

.stat-card > div {
    display: flex;
    flex-direction: column;
}

.stat-card strong {
    font-size: 1.75rem;
    line-height: 1.15;
}

.stat-card small {
    color: var(--muted);
}

.admin-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(21, 73, 51, .04);
}

.panel-head {
    display: flex;
    padding: 23px 26px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.panel-head h2,
.form-panel h2 {
    margin-bottom: 2px;
    font-size: 1.05rem;
}

.panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.panel-head > a {
    color: var(--green);
    font-size: .88rem;
    font-weight: 750;
}

.admin-table-wrap {
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    background: #fafcfb;
    font-size: .72rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-table td {
    color: #64756d;
    font-size: .87rem;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

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

.admin-table td > strong {
    margin-bottom: 3px;
    font-size: .93rem;
}

.admin-table td > small {
    color: var(--muted);
}

.table-action,
.table-actions a,
.table-actions button {
    color: var(--green);
    font-size: .84rem;
    font-weight: 750;
}

.status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 800;
}

.status.published {
    color: var(--green-dark);
    background: var(--green-soft);
}

.status.draft {
    color: #826800;
    background: var(--yellow-soft);
}

.empty-admin {
    padding: 60px 25px;
    text-align: center;
}

.empty-admin > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    place-items: center;
}

.empty-admin h2,
.empty-admin h3 {
    margin-bottom: 5px;
}

.empty-admin p {
    margin-bottom: 18px;
    color: var(--muted);
}

.filter-tabs {
    display: flex;
    margin-bottom: 17px;
    gap: 8px;
}

.filter-tabs a {
    display: inline-flex;
    min-height: 39px;
    padding: 7px 13px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
}

.filter-tabs a span {
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    color: var(--muted);
    background: var(--surface);
    border-radius: 99px;
    place-items: center;
    font-size: .7rem;
}

.filter-tabs a.active {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.filter-tabs a.active span {
    color: var(--green);
    background: #fff;
}

.admin-article-cell {
    display: flex;
    min-width: 350px;
    align-items: center;
    gap: 13px;
}

.admin-article-cell img {
    width: 60px;
    height: 47px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-article-cell > div {
    display: flex;
    flex-direction: column;
}

.admin-article-cell small {
    color: var(--muted);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}

.table-actions form {
    margin: 0;
}

.table-actions button {
    padding: 0;
    color: var(--danger);
    background: none;
    border: 0;
    cursor: pointer;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 20px;
}

.form-panel {
    padding: 26px;
}

.editor-sidebar {
    display: grid;
    gap: 20px;
}

.field {
    margin-bottom: 23px;
}

.field:last-child {
    margin-bottom: 0;
}

.field > label:not(.upload-box) {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 750;
}

.field label > span {
    color: var(--danger);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 11px 13px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9e4de;
    outline: none;
    border-radius: 9px;
    line-height: 1.55;
}

.field textarea {
    resize: vertical;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .77rem;
    line-height: 1.5;
}

.form-actions {
    display: grid;
    margin-top: 23px;
    gap: 9px;
}

.current-image {
    width: 100%;
    margin: 14px 0;
    aspect-ratio: 1.55;
    object-fit: cover;
    border-radius: 10px;
}

.checkbox {
    display: flex;
    margin-bottom: 15px;
    color: var(--text);
    align-items: center;
    gap: 8px;
    font-size: .82rem;
}

.upload-box {
    display: grid;
    min-height: 140px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    border: 1px dashed #adcab9;
    border-radius: 11px;
    place-items: center;
    align-content: center;
}

.upload-box:hover {
    background: var(--green-soft);
}

.upload-box > span {
    display: grid;
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    place-items: center;
    font-size: 1.2rem;
}

.upload-box strong {
    font-size: .86rem;
}

.upload-box small {
    margin-top: 3px;
}

.visually-hidden-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 1000px) {
    .hero-copy {
        width: min(670px, 72%);
    }

    .about-grid {
        gap: 55px;
    }

    .about-badge {
        right: -15px;
    }

    .program-card {
        padding: 31px 25px;
    }

    .admin-shell {
        grid-template-columns: 175px 1fr;
        gap: 25px;
    }

    .admin-sidebar nav {
        padding-right: 15px;
    }
}

@media (max-width: 800px) {
    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 10px;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 15px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav a {
        padding: 12px 14px;
        border-radius: 9px;
    }

    .primary-nav a.active {
        color: var(--green);
        background: var(--green-soft);
    }

    .primary-nav a::after {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 700px;
    }

    .hero-image {
        background-position: 62% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4, 52, 31, .94), rgba(7, 70, 42, .67) 70%, rgba(5, 54, 33, .42));
    }

    .hero-copy {
        width: 75%;
    }

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

    .value-item,
    .value-item:first-child,
    .value-item:last-child {
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .value-item:last-child {
        border-bottom: 0;
    }

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

    .about-visual {
        max-width: 590px;
    }

    .program-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-card:last-child {
        grid-column: 1 / -1;
    }

    .cta-card {
        padding: 42px;
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

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

    .auth-visual {
        display: none;
    }

    .auth-main {
        padding: 40px 24px;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-sidebar nav {
        position: static;
        padding: 0;
        overflow-x: auto;
        flex-direction: row;
    }

    .admin-sidebar a {
        white-space: nowrap;
    }

    .admin-main {
        padding-top: 30px;
    }

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

    .editor-sidebar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .nav-wrap {
        min-height: 72px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .brand-mark svg {
        width: 35px;
        height: 35px;
    }

    .hero,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 105px;
    }

    .hero-image {
        background-position: 67% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4, 52, 31, .96), rgba(7, 70, 42, .76));
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4rem);
    }

    .hero-copy > p {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 75px 0;
    }

    .about-visual {
        padding: 0 0 20px 20px;
    }

    .about-image-wrap {
        border-radius: 55px 16px 55px 16px;
    }

    .about-badge {
        right: -5px;
        bottom: 45px;
        min-width: 195px;
        padding: 13px;
    }

    .about-badge > span {
        width: 36px;
        height: 36px;
    }

    .check-grid,
    .program-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .program-card:last-child {
        grid-column: auto;
    }

    .section-heading.split,
    .article-back-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading.split .button {
        width: 100%;
    }

    .cta-section {
        padding-bottom: 75px;
    }

    .cta-card {
        padding: 36px 25px;
        border-radius: 20px;
    }

    .cta-card .button {
        width: 100%;
    }

    .footer-grid {
        padding-top: 50px;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .page-hero {
        padding: 130px 0 70px;
    }

    .article-detail-header {
        padding-top: 125px;
    }

    .article-content {
        padding-top: 45px;
    }

    .admin-topbar-inner {
        min-height: 68px;
    }

    .admin-topbar .brand-copy small,
    .admin-user > span,
    .admin-user > a {
        display: none;
    }

    .admin-topbar .brand-mark {
        width: 40px;
        height: 40px;
    }

    .admin-user {
        gap: 8px;
    }

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

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

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

    .editor-sidebar {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 20px;
    }

    .filter-tabs {
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
