:root {
    --bs-body-font-family: 'Poppins', sans-serif;
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --public-header-height: 76px;
    --color-primary: #2e7d32;
    --color-primary-dark: #1b5e20;
    --color-accent: #f2c94c;
    --color-accent-soft: #fff6d8;
    --color-bg: #fafaf5;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-primary-soft: #eaf4ea;
    --color-footer-text: #e8f5e9;
    --shadow-sm: 0 8px 24px rgba(31, 41, 55, 0.07);
    --shadow-md: 0 18px 48px rgba(27, 94, 32, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

@media (max-width: 991.98px) {
    :root {
        --public-header-height: 70px;
    }
}

html {
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
}

/* Enforce Poppins typography across all public elements */
html,
body,
button,
input,
optgroup,
select,
textarea,
.btn,
.navbar,
.card,
.badge,
.table,
.dropdown-menu,
.form-control,
.form-select,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Ensure Material Design Icons font glyphs are preserved */
.mdi::before,
[class*=" mdi-"]::before,
[class^="mdi-"]::before {
    font-family: "Material Design Icons" !important;
}

.public-anchor-section,
#visi-misi,
#profil,
#sejarah,
#struktur,
#struktur-organisasi,
#program,
#guru,
#kontak,
#beranda {
    scroll-margin-top: var(--public-header-height);
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    /* overflow-x: hidden; */
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
}

.public-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 6px 24px rgba(31, 41, 55, 0.05);
    min-height: 76px;
    backdrop-filter: blur(14px);
}

.school-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.75rem;
    margin-right: 1rem;
    max-width: min(380px, 70vw);
}

.school-logo,
.school-logo-placeholder {
    align-items: center;
    background: var(--color-primary);
    border: 3px solid var(--color-accent-soft);
    border-radius: 50%;
    color: var(--color-surface);
    display: inline-flex;
    flex: 0 0 46px;
    font-size: 0.84rem;
    font-weight: 700;
    height: 46px;
    justify-content: center;
    letter-spacing: 0.04em;
    object-fit: cover;
    width: 46px;
}

.school-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.school-brand-text strong {
    color: var(--color-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.school-brand-text small {
    color: var(--color-muted);
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.public-navbar .nav-link {
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.6rem 0.58rem !important;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus {
    color: var(--color-primary);
}

.public-navbar .nav-link-portal {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.public-navbar .nav-link-portal:hover {
    color: var(--color-primary-dark) !important;
    background-color: var(--color-primary-soft);
    transform: translateY(-1px);
}

.public-navbar .dropdown-menu {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    min-width: 200px;
    padding: 0.5rem 0;
}

.public-navbar .dropdown-item {
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    transition: background-color 150ms ease, color 150ms ease;
}

.public-navbar .dropdown-item:hover,
.public-navbar .dropdown-item:focus {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
}

.navbar-toggler {
    border-color: var(--color-border);
    box-shadow: none !important;
}

.nav-contact-button {
    padding: 0.55rem 1rem;
}

.btn-primary-custom,
.btn-accent-custom,
.btn-outline-light-custom {
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.7rem 1.3rem;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: var(--color-surface);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: var(--color-primary-dark);
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.22);
    color: var(--color-surface);
    transform: translateY(-1px);
}

.btn-accent-custom {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-accent-custom:hover,
.btn-accent-custom:focus {
    background: var(--color-accent-soft);
    box-shadow: 0 10px 24px rgba(242, 201, 76, 0.25);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-outline-light-custom {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--color-surface);
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus {
    background: var(--color-surface);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.hero-section {
    align-items: center;
    background-color: var(--color-primary-dark);
    background-image: var(--hero-background-image, radial-gradient(circle at center, var(--color-primary-dark), var(--color-primary)));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-surface);
    display: flex;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    position: relative;
}

.hero-section::before,
.hero-section::after {
    display: none;
}

.hero-section::before {
    height: 360px;
    left: -130px;
    top: -130px;
    width: 360px;
}

.hero-section::after {
    bottom: -170px;
    height: 440px;
    right: -170px;
    width: 440px;
}

.hero-overlay {
    background:
        linear-gradient(135deg, rgba(16, 66, 25, 0.25) 0%, rgba(27, 94, 32, 0.20) 50%, rgba(46, 125, 50, 0.12) 100%),
        radial-gradient(circle at center, rgba(14, 52, 20, 0.08) 0%, rgba(14, 52, 20, 0.15) 100%);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.hero-content {
    margin-inline: auto;
    max-width: 900px;
    padding-bottom: 7rem;
    padding-top: 7rem;
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.3rem, 5.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
    margin: 0 0 0.9rem;
    text-wrap: balance;
}

.hero-subtitle {
    color: var(--color-accent);
    font-size: clamp(1.08rem, 2.2vw, 1.40rem);
    font-weight: 600;
    margin: 0 auto 1rem;
    max-width: 720px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.97rem, 1.5vw, 1.08rem);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2.25rem;
}

.section-spacing {
    padding: 5.75rem 0;
}

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

.section-heading {
    margin: 0 auto 2.75rem;
    max-width: 720px;
}

.section-kicker {
    color: var(--color-primary);
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.section-kicker-light {
    color: var(--color-accent);
}

.section-title {
    color: var(--color-primary-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 1.03rem;
    margin-bottom: 1.3rem;
}

.section-copy {
    color: var(--color-text);
    font-size: 1.03rem;
    line-height: 1.9;
}

.profile-highlights {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.7rem;
}

.profile-highlight-card {
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem;
}

.profile-highlight-icon {
    align-items: center;
    background: var(--color-primary-soft);
    border-radius: 50%;
    color: var(--color-primary);
    display: flex;
    flex: 0 0 34px;
    font-size: 0.66rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
}

.profile-highlight-card h3 {
    color: var(--color-primary-dark);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.25rem;
}

.profile-highlight-card p {
    color: var(--color-muted);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0;
}

.profile-info-column {
    display: flex;
    align-items: center;
}

.info-card,
.vision-card,
.mission-card,
.program-card,
.teacher-card,
.history-card,
.detail-content-card,
.teacher-profile-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-card {
    padding: clamp(1.45rem, 3vw, 2rem);
    position: relative;
    width: 100%;
}

.info-card::before {
    background: var(--color-accent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    content: "";
    height: 6px;
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px;
}

.info-card-label,
.program-label {
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-card h3 {
    color: var(--color-primary-dark);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0.55rem 0 1.25rem;
}

.school-info-list {
    margin: 0;
}

.school-info-list > div,
.teacher-contact-list > div {
    border-top: 1px solid var(--color-border);
    padding: 0.9rem 0;
}

.school-info-list dt,
.teacher-contact-list dt {
    color: var(--color-muted);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.school-info-list dd,
.teacher-contact-list dd {
    color: var(--color-text);
    margin: 0.25rem 0 0;
}

.vision-card,
.mission-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.vision-card {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-surface);
}

.mission-card {
    border-top: 5px solid var(--color-accent);
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    position: relative;
}

.mission-card h3 {
    color: var(--color-primary-dark);
}

.vision-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
}

.mission-list {
    counter-reset: mission;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mission-list li {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    counter-increment: mission;
    display: flex;
    gap: 0.85rem;
    line-height: 1.6;
    padding: 0.62rem 0;
}

.mission-list li::before {
    align-items: center;
    background: var(--color-primary-soft);
    border-radius: 50%;
    color: var(--color-primary);
    content: counter(mission);
    display: flex;
    flex: 0 0 28px;
    font-size: 0.74rem;
    font-weight: 600;
    height: 28px;
    justify-content: center;
    margin-top: 0.05rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.65rem;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.program-card:hover {
    border-color: rgba(46, 125, 50, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.program-image {
    border-radius: var(--radius-sm);
    height: 150px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    width: 100%;
}

.program-card h3 {
    color: var(--color-primary-dark);
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0.35rem 0 0.7rem;
}

.program-card p {
    color: var(--color-muted);
    flex: 1;
    font-size: 0.94rem;
    line-height: 1.75;
}

.program-link {
    font-size: 0.88rem;
    font-weight: 600;
}

.history-card {
    padding: clamp(1.5rem, 4vw, 2.8rem);
}

.history-card-expanded {
    width: 100%;
}

.history-image,
.history-placeholder {
    border-radius: var(--radius-md);
    height: 100%;
    min-height: 440px;
    width: 100%;
}

.history-image {
    object-fit: cover;
}

.history-placeholder {
    align-items: center;
    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(242, 201, 76, 0.38),
            transparent 26%
        ),
        linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.history-placeholder > span {
    align-items: center;
    background: var(--color-accent);
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--color-primary-dark);
    display: flex;
    font-size: 1.4rem;
    font-weight: 700;
    height: 105px;
    justify-content: center;
    width: 105px;
}

.history-line {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    position: absolute;
}

.history-line-one {
    height: 280px;
    width: 280px;
}

.history-line-two {
    height: 390px;
    width: 390px;
}

.history-timeline {
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.25rem;
    padding-top: 1.65rem;
}

.history-timeline article {
    align-items: flex-start;
    display: flex;
    gap: 0.7rem;
}

.history-timeline article > span {
    background: var(--color-accent);
    border: 4px solid var(--color-accent-soft);
    border-radius: 50%;
    flex: 0 0 22px;
    height: 22px;
    margin-top: 0.2rem;
}

.history-timeline h3 {
    color: var(--color-primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 0.3rem;
}

.history-timeline p {
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0;
}

.history-card .section-title {
    font-size: clamp(2.15rem, 4vw, 3.35rem);
}

.history-card .section-copy {
    font-size: 1.08rem;
    line-height: 1.95;
}

.teacher-tools {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    margin: 0 auto 2rem;
    max-width: 760px;
}

.teacher-tools .form-control,
.teacher-tools .form-select {
    border-color: var(--color-border);
    border-radius: 999px;
    min-height: 48px;
    padding-inline: 1.2rem;
}

.teacher-tools .form-control:focus,
.teacher-tools .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.12);
}

.teacher-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.teacher-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.teacher-card-header {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.teacher-avatar,
.teacher-avatar-placeholder {
    border-radius: 50%;
    flex: 0 0 64px;
    height: 64px;
    width: 64px;
}

.teacher-avatar {
    object-fit: cover;
}

.teacher-avatar-placeholder,
.teacher-detail-avatar {
    align-items: center;
    background: linear-gradient(
        145deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    border: 4px solid var(--color-accent-soft);
    color: var(--color-surface);
    display: flex;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.04em;
}

.teacher-card-header h3 {
    color: var(--color-primary-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.2rem;
}

.teacher-card-header p {
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.teacher-education {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
}

.teacher-meta {
    margin-bottom: 0.85rem;
}

.teacher-meta-label {
    color: var(--color-muted);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
}

.soft-badge,
.outline-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    padding: 0.32rem 0.6rem;
}

.teacher-card .btn {
    margin-top: 0.9rem;
}

.soft-badge {
    background: var(--color-accent-soft);
    color: var(--color-primary-dark);
}

.outline-badge {
    background: var(--color-surface);
    border: 1px solid rgba(46, 125, 50, 0.25);
    color: var(--color-primary);
}

.text-muted-small {
    color: var(--color-muted);
    font-size: 0.8rem;
}

.empty-state {
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-muted);
    padding: 2rem;
    text-align: center;
}

.contact-section {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(242, 201, 76, 0.12),
            transparent 32%
        ),
        var(--color-primary-dark);
    color: var(--color-surface);
}

.contact-intro {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 2rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    align-items: flex-start;
    display: flex;
    gap: 0.9rem;
}

.contact-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-accent);
    display: flex;
    flex: 0 0 42px;
    font-size: 0.78rem;
    font-weight: 700;
    height: 42px;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.map-card {
    background: var(--color-surface);
    border: 7px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    height: 100%;
    min-height: 430px;
    overflow: hidden;
}

.map-card iframe {
    border: 0;
    height: 100%;
    min-height: 430px;
    width: 100%;
}

.map-placeholder {
    align-items: center;
    background:
        linear-gradient(rgba(250, 250, 245, 0.9), rgba(250, 250, 245, 0.9)),
        repeating-linear-gradient(
            45deg,
            var(--color-border) 0,
            var(--color-border) 1px,
            transparent 1px,
            transparent 20px
        );
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 430px;
    padding: 2rem;
    text-align: center;
}

.map-pin {
    background: var(--color-primary);
    border-radius: 50% 50% 50% 0;
    display: block;
    height: 42px;
    margin-bottom: 1.4rem;
    position: relative;
    transform: rotate(-45deg);
    width: 42px;
}

.map-pin::after {
    background: var(--color-accent);
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 14px;
    position: absolute;
    top: 14px;
    width: 14px;
}

.map-placeholder strong {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

.map-placeholder p {
    color: var(--color-muted);
    margin: 0.4rem 0;
    max-width: 420px;
}

.map-placeholder small {
    color: var(--color-muted);
}

.public-footer {
    background: #103d17;
    color: var(--color-footer-text);
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.school-logo-placeholder-light {
    background: var(--color-accent);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--color-primary-dark);
}

.school-logo-footer {
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-brand-text {
    min-width: 0;
}

.footer-brand h2 {
    color: var(--color-surface);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p,
.footer-contact {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.87rem;
    line-height: 1.75;
    margin: 0;
}

.public-footer h3 {
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.45rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.87rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
    display: flex;
    font-size: 0.76rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.3rem;
}

.page-header {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(242, 201, 76, 0.2),
            transparent 28%
        ),
        linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-surface);
    padding: 3.25rem 0;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 0.5rem 0;
}

.page-header p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.back-link {
    color: rgba(255, 255, 255, 0.78);
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: var(--color-accent);
}

.teacher-page-header {
    min-height: 280px;
    padding: 2.75rem 0 5.25rem;
}

.teacher-breadcrumb {
    align-items: center;
    color: rgba(255, 255, 255, 0.56);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.teacher-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.teacher-breadcrumb a:hover {
    color: var(--color-accent);
}

.teacher-breadcrumb > span:last-child {
    color: var(--color-accent-soft);
}

.teacher-detail-overlap {
    padding-top: 1rem;
    position: relative;
}

.teacher-detail-overlap > .container {
    margin-top: -2.25rem;
    position: relative;
    z-index: 2;
}

.teacher-profile-card {
    padding: 1.8rem;
    text-align: center;
}

.teacher-detail-photo,
.teacher-detail-avatar {
    border-radius: 50%;
    height: 168px;
    margin: 0 auto 1.4rem;
    width: 168px;
}

.teacher-detail-photo {
    object-fit: cover;
}

.teacher-detail-avatar {
    font-size: 2.5rem;
}

.teacher-profile-card h2 {
    color: var(--color-primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.teacher-detail-position {
    color: var(--color-primary);
    font-weight: 600;
}

.teacher-contact-list {
    margin: 1.35rem 0 0;
    text-align: left;
}

.detail-content-card {
    padding: clamp(1.5rem, 3vw, 2.15rem);
}

.detail-content-card h2 {
    color: var(--color-primary-dark);
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.detail-content-card p {
    color: var(--color-muted);
    line-height: 1.8;
    margin: 0;
}

.teaching-table {
    margin: 1.25rem 0 0;
    min-width: 620px;
}

.teaching-table th {
    background: var(--color-primary-soft);
    border-bottom-color: rgba(46, 125, 50, 0.18);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 0.9rem;
    text-transform: uppercase;
}

.teaching-table td {
    border-bottom-color: var(--color-border);
    color: var(--color-text);
    padding: 1rem 0.9rem;
}

@media (max-width: 991.98px) {
    .public-navbar {
        min-height: 70px;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }

    .public-navbar .navbar-collapse {
        background: var(--color-surface);
        border-top: 1px solid var(--color-border);
        margin: 0.75rem -0.75rem -0.5rem;
        padding: 0.8rem 1rem 1rem;
    }

    .public-navbar .nav-link {
        padding: 0.65rem 0 !important;
    }

    .public-navbar .dropdown-menu {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .public-navbar .dropdown-item {
        padding: 0.65rem 0;
    }

    .nav-contact-button {
        margin-top: 0.5rem;
        width: 100%;
    }

    .hero-section {
        min-height: calc(100vh - 76px);
    }

    .section-spacing {
        padding: 4.25rem 0;
    }

    .map-card,
    .map-card iframe,
    .map-placeholder {
        min-height: 360px;
    }

    .history-image,
    .history-placeholder {
        min-height: 340px;
    }

    .history-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .public-navbar {
        min-height: 70px;
    }

    .school-logo,
    .school-logo-placeholder {
        flex-basis: 40px;
        height: 40px;
        width: 40px;
    }

    .school-brand-text strong {
        font-size: 0.8rem;
    }

    .school-brand-text small {
        display: none;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-content {
        padding-bottom: 5.5rem;
        padding-top: 5rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 11vw, 2.75rem);
    }

    .hero-description {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-inline: auto;
        max-width: 280px;
    }

    .section-spacing {
        padding: 3.75rem 0;
    }

    .profile-highlights {
        grid-template-columns: 1fr;
    }

    .vision-card,
    .mission-card {
        min-height: auto;
        padding: 1.45rem;
    }

    .teacher-tools {
        grid-template-columns: 1fr;
    }

    .teacher-card-header {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.35rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .teacher-page-header {
        min-height: 240px;
        padding-bottom: 4.25rem;
    }

    .teacher-detail-overlap > .container {
        margin-top: -1.25rem;
    }

    .teacher-card {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Layout Refinement — Per-Section Vertical Rhythm
   Additive overrides on top of .section-spacing.
   Nothing below removes or changes existing rules above.
   ========================================================================== */

/* Heading block: tighten default gap so title feels anchored to its content */
.section-heading {
    margin-bottom: 2.25rem;
}

/* Profil — two-column layout, let content define height naturally */
.section-profile {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Visi & Misi — cards carry their own min-height; outer padding stays compact */
.section-vision {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
}

/* Program — card grid's own padding dominates; section padding stays moderate */
.section-program {
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
}

/* Sejarah — large internal card already has clamp padding; trim the wrapper */
.section-history {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

/* Guru — teacher cards create height; section follows content naturally */
.section-teacher {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Kontak — dark closing section; extra bottom creates a smooth transition
   into the dark footer without an abrupt line */
.section-contact {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
}

/* Hero — subtle rhythm improvement: the gradient footer of hero should
   feather towards Profil. No design changes, just a softer bottom edge. */
.hero-section {
    padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive — tablet (≤ 991 px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .section-heading {
        margin-bottom: 2rem;
    }

    .section-profile {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .section-vision {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .section-program {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
    .section-history {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
    .section-teacher {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .section-contact {
        padding-top: 3.75rem;
        padding-bottom: 4.5rem;
    }
}

/* --------------------------------------------------------------------------
   Responsive — mobile (≤ 767 px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .section-heading {
        margin-bottom: 1.75rem;
    }

    .section-profile {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
    .section-vision {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }
    .section-program {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .section-history {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .section-teacher {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
    .section-contact {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }
}

.hero-foundation {
    color: rgba(255,255,255,.9);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: .5rem;
    text-transform: none;
}


/* --------------------------------------------------------------------------
   PUBLIC DEDICATED PAGES & NAVBAR REFINEMENTS
   -------------------------------------------------------------------------- */

.public-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    font-size: 0.85rem;
}
.public-breadcrumb-bar .breadcrumb {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}
.public-breadcrumb-bar .breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
.public-breadcrumb-bar .breadcrumb-item a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}
.public-breadcrumb-bar .breadcrumb-item.active {
    color: #64748b;
    font-weight: 600;
}

.editorial-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #ffffff;
    padding: 3.75rem 0 3.25rem;
    position: relative;
    overflow: hidden;
}
.editorial-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.editorial-hero-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}
.editorial-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef3c7;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.editorial-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.85rem;
}
.editorial-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 720px;
}

.editorial-article,
.profile-content-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}
.editorial-institution-name {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.15rem;
    line-height: 1.3;
}
.editorial-prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}
.editorial-prose p {
    margin-bottom: 1.25rem;
}
.editorial-prose p:last-child {
    margin-bottom: 0;
}
.editorial-values-grid {
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.editorial-values-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.25rem;
}
.value-card {
    background: #fafafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 180px;
    height: 100%;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.value-card:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(6, 78, 59, 0.3);
}
.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.value-card p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.school-identity-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    position: sticky;
    top: 96px;
}
.identity-header {
    text-align: center;
}
.identity-logo {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 0.85rem;
}
.identity-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}
.identity-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}
.identity-tagline {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.identity-foundation-badge {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}
.identity-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1.5rem 0;
}
.identity-meta-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.identity-meta-list dt {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.identity-meta-list dd {
    font-size: 0.92rem;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}
.identity-meta-list dd a,
.identity-contact-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}
.identity-meta-list dd a:hover,
.identity-contact-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.section-soft-tint {
    background: #f8fafc;
}
.vision-mission-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2.25rem;
    position: relative;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.vision-mission-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.card-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}
.card-badge-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}
.card-badge-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
}
.editorial-mission-list {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.editorial-mission-list li {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #334155;
}

/* Vision & Mission Dedicated Page Styles */
.section-vision-focus {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.vision-highlight-panel {
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, #0d3829 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(13, 56, 41, 0.15);
    padding: 3.75rem 3.5rem;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-highlight-panel::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.vision-highlight-header {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.vision-highlight-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fef3c7;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.35rem 1.15rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.vision-statement-text {
    position: relative;
    z-index: 1;
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    max-width: 900px;
    padding: 0;
    border: none;
    font-style: normal;
}

.vision-institution-label {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.section-mission-body {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
}

.mission-section-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.editorial-mission-numbered {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.mission-item-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2.25rem;
    border-bottom: 1px solid var(--color-border);
    transition: background-color 150ms ease;
}

.mission-item-row:last-child {
    border-bottom: none;
}

.mission-item-row:hover {
    background-color: #f8fafc;
}

.mission-num-wrapper {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.mission-num {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.9;
    letter-spacing: -0.02em;
}

.mission-content-box {
    flex: 1;
}

.mission-text {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
}

/* Neutral Closing Section */
.section-cta-neutral {
    background: #f8fafc;
}

.cta-neutral-box {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cta-neutral-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.cta-neutral-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Bridge Callout from Profile to Vision Mission */
.profile-vision-bridge-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-sm);
}

.bridge-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
}

.bridge-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .vision-highlight-panel {
        padding: 2.5rem 1.5rem;
    }
    .vision-statement-text {
        font-size: 1.35rem;
        line-height: 1.55;
    }
    .mission-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.5rem 1.25rem;
    }
    .mission-num-wrapper {
        width: auto;
        text-align: left;
    }
    .mission-num {
        font-size: 1.75rem;
    }
    .mission-text {
        font-size: 1rem;
    }
    .cta-neutral-box {
        padding: 2rem 1.25rem;
    }
    .profile-vision-bridge-box {
        padding: 1.5rem 1.25rem;
    }
}

.editorial-hero-history {
    background: linear-gradient(135deg, #1b4d3e 0%, #0d3829 100%);
}
.history-story-container {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2.75rem;
}
.history-story-figure {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #f8fafc;
}
.history-story-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.history-story-caption {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.history-story-placeholder {
    height: 380px;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #e2e8f0 100%);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
}
.history-placeholder-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}
.history-placeholder-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.35rem;
}
.history-placeholder-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}
.story-dropcap-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
}
.story-content-paragraphs {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
}
.story-content-paragraphs p {
    margin-bottom: 1.35rem;
}
.story-commitment-box {
    background: var(--color-primary-soft);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem 1.75rem;
    position: relative;
}
.commitment-quote-icon {
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}
.commitment-quote-text {
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-primary-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.commitment-quote-author {
    display: block;
    font-size: 0.85rem;
    color: #475569;
    font-style: normal;
    font-weight: 500;
}
.history-navigation-bridge {
    border-top: 1px solid var(--color-border);
}
.bridge-text {
    color: #64748b;
    font-size: 0.95rem;
}
.btn-outline-primary-custom {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background: transparent;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    transition: all 150ms ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-outline-primary-custom:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.org-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}
.org-member-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease;
    overflow: hidden;
}
.org-member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.org-member-card-inner {
    padding: 2.25rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.org-photo-wrapper {
    margin-bottom: 1.25rem;
}
.org-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary-soft);
    box-shadow: var(--shadow-sm);
}
.org-photo-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    border: 3px solid #e2e8f0;
}
.org-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}
.org-member-position-badge {
    display: inline-block;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.org-member-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}
.org-governance-notice {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.notice-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}
.notice-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
}

/* Navbar Dropdown Refinements */
.public-navbar .dropdown-toggle::after {
    display: none !important;
}
.public-navbar .dropdown-chevron {
    font-size: 1.1rem;
    margin-left: 0.25rem;
    vertical-align: -2px;
    transition: transform 200ms ease;
    display: inline-block;
}
.public-navbar .dropdown.show .dropdown-chevron,
.public-navbar .dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.public-navbar .profile-dropdown-menu {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    min-width: 230px;
    padding: 0.5rem 0;
    margin-top: 0.4rem;
    z-index: 1050;
    background: #ffffff;
}

.public-navbar .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    color: #334155;
    transition: background-color 150ms ease, color 150ms ease, padding-left 150ms ease;
}
.public-navbar .dropdown-item-icon {
    font-size: 1.15rem;
    color: var(--color-primary);
    opacity: 0.85;
}
.public-navbar .dropdown-item:hover,
.public-navbar .dropdown-item:focus {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    padding-left: 1.4rem;
}
.public-navbar .dropdown-item.active {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-weight: 700;
}
.public-navbar .nav-link.active {
    color: var(--color-primary) !important;
    font-weight: 700;
}

/* Responsive Dropdown & Accordion on Mobile */
@media (max-width: 991.98px) {
    .public-navbar .dropdown-menu.profile-dropdown-menu {
        border: none;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 8px;
        padding: 0.35rem 0.5rem;
        margin: 0.25rem 0 0.5rem 0.5rem;
        border-left: 3px solid var(--color-primary);
        display: none;
    }
    .public-navbar .dropdown-menu.profile-dropdown-menu.show {
        display: block;
    }
    .public-navbar .dropdown-menu.profile-dropdown-menu .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.5rem 0.85rem;
        border-radius: 6px;
        font-size: 0.92rem;
    }
    .public-navbar .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
    }
    .public-navbar .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}


/* ==========================================================================
   UI/UX Refinements: Hero Button, Back Navigation, Archival Card,
   Documentation Timeline & Lightbox, and Registration Cards
   ========================================================================== */

/* 1. Hero Button "Lihat Program" (Ghost Button) */
.btn-hero-program {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 44px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease-in-out;
}
.btn-hero-program:hover {
    background-color: #ffffff;
    color: #1b5e20 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-hero-program:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

/* 2. Breadcrumb Deterministic Back Navigation */
.breadcrumb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    background-color: rgba(27, 94, 32, 0.08);
    border: 1px solid rgba(27, 94, 32, 0.16);
    min-height: 44px;
    min-width: 44px;
    transition: all 0.2s ease;
}
.breadcrumb-back-link:hover {
    color: #ffffff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateX(-2px);
}
.breadcrumb-back-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* 3. History Archival Institutional Card */
.history-archive-card {
    background: #fbfdfb;
    border: 1px solid rgba(27, 94, 32, 0.18);
    border-left: 4px solid var(--color-primary);
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.archive-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(27, 94, 32, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
}
.archive-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-accent-dark, #b38600);
    margin-bottom: 0.5rem;
}
.archive-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.65rem;
}
.archive-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 4. Documentation Timeline & Editorial Gallery Redesign */
.doc-hero {
    /* Uses .editorial-hero and .vm-hero shared gradient & wave styles */
}
.doc-section-divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.doc-divider-line {
    width: 48px;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
    display: inline-block;
}
.doc-section-title {
    font-size: 1.95rem;
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.02em;
}
.doc-section-subtitle {
    font-size: 1rem;
    color: #4b5563;
    max-width: 620px;
    margin: 0 auto;
}

/* Documentation Filter & Sort Controls */
.doc-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s ease;
}
.doc-filter-pill:hover {
    border-color: #155e3e;
    color: #155e3e;
    background: #f0fdf4;
}
.doc-filter-pill.active {
    background: #155e3e;
    color: #ffffff;
    border-color: #155e3e;
    box-shadow: 0 2px 8px rgba(21, 94, 62, 0.25);
}
.doc-sort-pills {
    border: 1px solid #e5e7eb;
    background: #ffffff;
}
.doc-sort-btn {
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}
.doc-sort-btn.active {
    background: #155e3e;
    color: #ffffff;
}
.doc-sort-btn:hover:not(.active) {
    background: #f3f4f6;
    color: #155e3e;
}

/* Event Gallery Card */
.doc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
}
.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(21, 94, 62, 0.12);
    border-color: #a7f3d0;
}
.doc-card:focus-visible {
    outline: 3px solid #155e3e;
    outline-offset: 3px;
}
.doc-card-media-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}
.doc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.doc-card:hover .doc-card-img {
    transform: scale(1.05);
}
.doc-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4 0%, #e2e8f0 100%);
}
.doc-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    pointer-events: none;
    z-index: 2;
}
.doc-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.doc-card-badge-date {
    background: rgba(255, 255, 255, 0.94);
    color: #155e3e;
    border: 1px solid rgba(21, 94, 62, 0.18);
}
.doc-card-badge-count {
    background: rgba(255, 255, 255, 0.94);
    color: #1b4332;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.doc-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}
.doc-card:hover .doc-card-title {
    color: #155e3e;
}
.doc-card-description {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.doc-card-action-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    color: #155e3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.2s ease;
    pointer-events: none;
}
.doc-card:hover .doc-card-action-btn {
    background: #155e3e;
    color: #ffffff;
    border-color: #155e3e;
    transform: translateX(3px);
}

/* Lightbox Modal */
.doc-gallery-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}
.doc-modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #155e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 10;
}
.doc-modal-nav-btn:hover {
    background: #155e3e;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}
.doc-modal-nav-prev {
    left: 20px;
}
.doc-modal-nav-next {
    right: 20px;
}
.doc-thumb-item {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #1e293b;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.doc-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doc-thumb-item:hover {
    opacity: 0.9;
    border-color: #a7f3d0;
}
.doc-thumb-item.active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.05);
}

/* Custom Pagination */
.doc-pagination-wrapper .pagination {
    gap: 6px;
    margin-bottom: 0;
}
.doc-pagination-wrapper .page-item .page-link {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1b4332;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    transition: all 0.2s ease;
}
.doc-pagination-wrapper .page-item .page-link:hover {
    background: #e8f5e9;
    color: #155e3e;
    border-color: #a7f3d0;
}
.doc-pagination-wrapper .page-item.active .page-link {
    background: #155e3e;
    border-color: #155e3e;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(21, 94, 62, 0.25);
}
.doc-pagination-wrapper .page-item.disabled .page-link {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #f3f4f6;
}

/* Legacy aliases retained for test compatibility */
.doc-timeline-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}
.doc-year-badge-wrapper {
    margin-bottom: 1.75rem;
}
.doc-year-badge {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
}
.doc-event-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.doc-event-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.doc-event-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}
.doc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.doc-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}
.doc-gallery-trigger {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.doc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doc-lightbox-modal .modal-content {
    border-radius: 12px;
    border: none;
}
.doc-modal-image-wrapper {
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
}
#docLightboxModalImg {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.doc-modal-caption {
    font-size: 0.9rem;
    color: #475569;
}

/* 5. Registration Admission Portal Redesign */
.reg-hero {
    /* Uses .editorial-hero and .vm-hero shared gradient & wave styles */
}
.reg-hero-cta-btn {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #0f3d26;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}
.reg-hero-cta-btn:hover {
    background-color: #c59f2e;
    border-color: #c59f2e;
    color: #0f3d26;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
}
.reg-hero-contact-btn {
    transition: all 0.25s ease;
}
.reg-hero-contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Wave Selector Tabs */
.reg-wave-tabs-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
}
.reg-wave-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.reg-wave-tab-btn:hover:not(.active) {
    color: #155e3e;
    background: #f0fdf4;
}
.reg-wave-tab-btn.active {
    background: #155e3e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(21, 94, 62, 0.28);
}
.reg-wave-tab-btn:focus-visible {
    outline: 2px solid #155e3e;
    outline-offset: 2px;
}
.reg-wave-status-pill {
    font-size: 0.74rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.reg-wave-pill-open {
    background: #dcfce7;
    color: #15803d;
}
.reg-wave-tab-btn.active .reg-wave-pill-open {
    background: #ffffff;
    color: #155e3e;
}
.reg-wave-pill-done {
    background: #f3f4f6;
    color: #6b7280;
}
.reg-wave-tab-btn.active .reg-wave-pill-done {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.reg-wave-pill-upcoming {
    background: #e0f2fe;
    color: #0369a1;
}
.reg-wave-tab-btn.active .reg-wave-pill-upcoming {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.reg-wave-pill-closed {
    background: #fee2e2;
    color: #b91c1c;
}
.reg-wave-tab-btn.active .reg-wave-pill-closed {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Selected Wave Card */
.reg-wave-card {
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}
.reg-wave-indicator {
    width: 4px;
    height: 40px;
    background: #155e3e;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Connected Horizontal Timeline — Zero Overflow System */
.reg-timeline-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.reg-timeline-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}
.reg-timeline-col {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
}
.reg-timeline-node-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.75rem;
}
.reg-timeline-node {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #155e3e;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.reg-timeline-segment {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 1;
}
.reg-timeline-col:last-child .reg-timeline-segment {
    display: none !important;
}
.reg-timeline-content {
    width: 100%;
}
.reg-info-pill-box {
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.reg-info-pill-box:hover {
    border-color: #a7f3d0;
    transform: translateY(-2px);
}

/* Program Education Cards */
.reg-program-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.reg-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(21, 94, 62, 0.12);
    border-color: #a7f3d0;
}
.reg-prog-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Requirements & Schedule Cards */
.reg-requirements-card,
.reg-schedule-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

/* Contact & Assistance Box */
.reg-contact-card {
    background: linear-gradient(135deg, #0f3d26 0%, #155e3e 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.reg-closing-banner {
    background: linear-gradient(135deg, #0f3d26 0%, #1b4332 100%);
    border-radius: 20px;
}

/* Mobile Responsiveness for Registration */
@media (max-width: 767.98px) {
    .reg-timeline-track {
        display: none;
    }
    .reg-timeline-row {
        flex-direction: column;
        gap: 0;
    }
    .reg-timeline-col {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left !important;
        padding: 0;
        gap: 14px;
        position: relative;
        margin-bottom: 0;
    }
    .reg-timeline-node-wrap {
        width: auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        flex-shrink: 0;
        position: relative;
    }
    .reg-timeline-node {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.95rem;
        margin-bottom: 0 !important;
    }
    .reg-timeline-segment {
        position: static;
        width: 2px;
        min-height: 28px;
        flex: 1 0 auto;
        transform: none;
        margin: 4px auto 0;
        background: #e5e7eb;
    }
    .reg-timeline-content {
        padding-top: 2px;
        padding-bottom: 1.25rem;
        flex: 1;
    }
    .reg-timeline-content h4 {
        justify-content: flex-start !important;
        font-size: 0.92rem;
    }
    .reg-timeline-content p {
        font-size: 0.8rem;
    }
    .reg-wave-tabs-bar {
        border-radius: 16px;
        width: 100%;
        justify-content: center;
    }
    .reg-wave-tab-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Legacy aliases retained for backward compatibility */
.registration-main-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.registration-closed-alert {
    border-left: 4px solid #d97706;
    background-color: #fffbeb;
    border-radius: 8px;
    padding: 1.25rem;
    color: #92400e;
}
.registration-cards-stack {
    display: grid;
    gap: 1.75rem;
}
.registration-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.75rem;
}
.registration-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}
.reg-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.reg-card-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(27, 94, 32, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.reg-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
}
.reg-formatted-content {
    color: #334155;
    line-height: 1.75;
    font-size: 0.95rem;
}
.registration-contact-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}
.registration-cta-banner {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.06) 0%, rgba(27, 94, 32, 0.02) 100%);
    border: 1px dashed rgba(27, 94, 32, 0.3);
}

@media (max-width: 767.98px) {
    .registration-main-card {
        padding: 1.5rem;
    }
    .registration-info-card {
        padding: 1.25rem;
    }
    .doc-event-card {
        padding: 1.25rem;
    }
    .doc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Nav Contact Button is an action button, not a tracked navigation item */
.nav-contact-button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Editorial Hero Responsive Typography */
@media (max-width: 767.98px) {
    .editorial-hero {
        padding: 2.5rem 0 2rem;
    }
    .editorial-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    .editorial-subtitle {
        font-size: 0.95rem;
    }
}
@media (max-width: 991.98px) {
    .profile-content-card {
        padding: 1.75rem 1.5rem;
    }
    .school-identity-card {
        position: static;
        margin-top: 1.5rem;
    }
}
@media (max-width: 575.98px) {
    .profile-content-card {
        padding: 1.5rem 1.25rem;
    }
    .editorial-institution-name {
        font-size: 1.4rem;
    }
    .editorial-values-grid {
        margin-top: 1.75rem;
        padding-top: 1.5rem;
    }
    .profile-content-card .value-card {
        padding: 1.25rem 1rem;
        min-height: auto;
    }
}
@media (max-width: 480px) {
    .editorial-title {
        font-size: 1.45rem;
    }
}

/* ==========================================================================
   Organization Structure Carousel & Editorial Sections
   ========================================================================== */
.org-hero {
    /* Inherits .vm-hero styling for seamless design consistency */
}

.org-eyebrow-badge {
    /* Inherits .vm-eyebrow-badge styling */
}

.org-section {
    padding: 3.5rem 0 3rem;
    background-color: #fcfbf7;
}

.org-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.org-carousel-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.org-nav-btn,
.org-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1b4d3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    z-index: 10;
    flex-shrink: 0;
}

.org-nav-btn:hover:not(:disabled),
.org-carousel-btn:hover:not(:disabled) {
    background: #1b4d3e;
    color: #ffffff;
    border-color: #1b4d3e;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(27, 77, 62, 0.25);
}

.org-nav-btn:focus-visible,
.org-carousel-btn:focus-visible {
    outline: 3px solid #e0b44c;
    outline-offset: 2px;
}

.org-nav-btn:disabled,
.org-nav-btn[aria-disabled="true"],
.org-carousel-btn:disabled,
.org-carousel-btn[aria-disabled="true"] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.org-nav-btn-prev {
    margin-right: 1.25rem;
}

.org-nav-btn-next {
    margin-left: 1.25rem;
}

.org-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.25rem 1.5rem;
}

.org-carousel-track::-webkit-scrollbar {
    display: none;
}

.org-carousel-track:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.org-carousel-item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    /* Desktop (>= 1024px): 4 cards visible */
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
    max-width: calc((100% - 3 * 1.5rem) / 4);
    min-width: 0;
}

.org-carousel-item .structure-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.structure-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.structure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27, 77, 62, 0.12);
}

.structure-card-body {
    padding: 2.25rem 1.5rem 1.75rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.structure-photo-wrap {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    padding: 4px;
    background: #ffffff;
    border: 2px solid #e8f5e9;
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.08);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.structure-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.structure-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e8f5e9;
    color: #1b4d3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
}

.structure-name {
    color: #1b4d3e;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    line-height: 1.35;
    text-align: center;
}

.structure-card-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;
    margin: 0 auto 0.75rem;
    gap: 0.4rem;
}

.structure-divider-line {
    flex: 1;
    height: 1px;
    background: #e0b44c;
    opacity: 0.6;
}

.structure-divider-icon {
    color: #e0b44c;
    font-size: 0.95rem;
    line-height: 1;
}

.structure-position-wrap {
    margin-top: auto;
    padding-top: 0.25rem;
}

.structure-position-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #1b4d3e;
    border-radius: 9999px;
    padding: 0.35rem 1.15rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.structure-card-accent {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #1b4d3e 0%, #2e7d32 100%);
}

.structure-description {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0.5rem 0 0;
}

/* Panel Komitmen Kepengurusan */
.org-commitment-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    max-width: 960px;
    margin: 3rem auto 0;
}

.org-commitment-icon-wrap {
    font-size: 2.25rem;
    color: #1b4d3e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #e8f5e9;
}

.org-commitment-divider {
    width: 2px;
    height: 44px;
    background: #e0b44c;
    flex-shrink: 0;
}

.org-commitment-text {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1b4d3e;
    line-height: 1.6;
}

/* Closing CTA */
.org-cta-section {
    padding: 1rem 0 4rem;
    background-color: #fcfbf7;
}

.org-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* Intermediate Tablet (769px - 1023px): 3 cards visible */
@media (min-width: 769px) and (max-width: 1023.98px) {
    .org-carousel-track {
        gap: 1.25rem;
    }
    .org-carousel-item {
        flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
        max-width: calc((100% - 2 * 1.25rem) / 3);
    }
    .org-nav-btn,
    .org-carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }
    .org-nav-btn-prev {
        margin-right: 0.75rem;
    }
    .org-nav-btn-next {
        margin-left: 0.75rem;
    }
}

/* Standard Tablet (576px - 768px): 2 cards visible */
@media (min-width: 576px) and (max-width: 768.98px) {
    .org-carousel-track {
        gap: 1.25rem;
    }
    .org-carousel-item {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        max-width: calc((100% - 1.25rem) / 2);
    }
    .structure-card-body {
        padding: 1.75rem 1.25rem;
    }
    .org-nav-btn,
    .org-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    .org-nav-btn-prev {
        margin-right: 0.5rem;
    }
    .org-nav-btn-next {
        margin-left: 0.5rem;
    }
}

/* Mobile (360px - 575.98px): 1 card full + sneak peek preview (~18%) */
@media (max-width: 575.98px) {
    .org-section {
        padding: 2.5rem 0 2rem;
    }
    .org-carousel-outer {
        padding: 0;
    }
    .org-carousel-track {
        gap: 1rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .org-carousel-item {
        flex: 0 0 84%;
        max-width: 84%;
    }
    .structure-card-body {
        padding: 1.75rem 1rem 1.5rem;
    }
    .org-nav-btn,
    .org-carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    .org-nav-btn-prev {
        margin-right: 0.35rem;
    }
    .org-nav-btn-next {
        margin-left: 0.35rem;
    }
    .org-commitment-panel {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
        gap: 1rem;
    }
    .org-commitment-divider {
        width: 40px;
        height: 2px;
    }
    .org-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .structure-card,
    .org-nav-btn,
    .org-carousel-btn {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   VISION & MISSION REDESIGN EDITORIAL SECTIONS (Mockup Match)
   ========================================================================== */

/* 1. Hero Section with Building Background & Organic Wave (Standardized Across All Subpages) */
.vm-hero,
.editorial-hero,
.profile-hero,
.hist-hero,
.org-hero,
.doc-hero,
.reg-hero {
    position: relative;
    background-color: var(--color-primary-dark, #14532d);
    background-image: linear-gradient(90deg, rgba(16, 61, 23, 0.96) 0%, rgba(20, 83, 45, 0.88) 50%, rgba(20, 83, 45, 0.42) 100%), var(--vm-hero-bg, var(--hist-hero-bg, none));
    background-size: cover;
    background-position: center right;
    color: #ffffff;
    padding: 2.25rem 0 5.5rem;
    overflow: hidden;
}

.vm-hero-container,
.hist-hero-container {
    position: relative;
    z-index: 2;
}

.vm-hero-back-wrap {
    margin-bottom: 2rem;
}

.vm-hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    min-height: 44px;
    min-width: 44px;
    transition: all 0.2s ease;
}

.vm-hero-back-link:hover {
    background: #ffffff;
    color: #14532d;
    border-color: #ffffff;
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.vm-hero-back-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.vm-eyebrow-badge,
.profile-eyebrow-badge,
.hist-eyebrow-badge,
.org-eyebrow-badge,
.doc-eyebrow-badge,
.reg-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(212, 175, 55, 0.7);
    background: rgba(212, 175, 55, 0.12);
    color: #fef08a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.vm-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.vm-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    line-height: 1.65;
    margin: 0;
}

.vm-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.vm-wave-svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* 2. Section Headings (Centered with Gold Accent Lines) */
.vm-section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.vm-section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-primary-dark, #14532d);
    margin: 0;
}

.vm-title-line {
    width: 44px;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
    flex-shrink: 0;
}

.vm-section-subtitle {
    color: #64748b;
    font-size: 0.975rem;
    max-width: 620px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}

/* 3. Visi Lembaga Section & Deep Green Golden Card */
.vm-vision-section {
    background: #fcfbf7;
    padding: 3.5rem 0 2.25rem;
}

.vm-vision-card-wrapper {
    position: relative;
    max-width: 880px;
    margin: 2.25rem auto 0;
    padding-top: 28px;
}

.vm-vision-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fffde7;
    border: 2.5px solid #d4af37;
    color: var(--color-primary, #1b5e20);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.18);
}

.vm-vision-card {
    background: linear-gradient(135deg, #134e1c 0%, #1e6b29 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    padding: 3.25rem 2.5rem 2.25rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(20, 83, 45, 0.16);
    position: relative;
}

.vm-quote-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
}

.vm-quote-mark {
    font-family: "Poppins", sans-serif;
    font-size: 2.75rem;
    line-height: 1;
    color: #d4af37;
    font-weight: 700;
    flex-shrink: 0;
    user-select: none;
}

.vm-vision-text {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.7;
    color: #ffffff;
    margin: 0;
    max-width: 720px;
}

.vm-vision-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.vm-attr-line {
    width: 36px;
    height: 1.5px;
    background: rgba(212, 175, 55, 0.65);
    border-radius: 1px;
}

.vm-attr-text {
    font-size: 0.775rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #fef08a;
    text-transform: uppercase;
}

/* 4. Misi Kami Section & 2x2 Grid Cards */
.vm-mission-section {
    background: #fcfbf7;
    padding: 2.25rem 0 3.5rem;
}

.vm-mission-grid {
    max-width: 960px;
    margin: 0 auto;
}

.vm-mission-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 6px solid var(--color-primary, #1b5e20);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vm-mission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vm-card-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.vm-card-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-primary, #1b5e20);
    line-height: 1;
    letter-spacing: -0.02em;
}

.vm-card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(27, 94, 32, 0.08);
    color: var(--color-primary, #1b5e20);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vm-card-divider {
    width: 1.5px;
    height: 44px;
    background: rgba(212, 175, 55, 0.45);
    margin: 0 1.15rem;
    flex-shrink: 0;
}

.vm-card-body {
    flex: 1;
    min-width: 0;
}

.vm-card-text {
    font-size: 0.935rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.55;
    margin: 0;
}

/* 5. Visi dan Misi Sebagai Pedoman Panel */
.vm-pedoman-panel {
    max-width: 960px;
    margin: 2.25rem auto 0;
    display: flex;
    align-items: center;
    background: #edf7ee;
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.04);
}

.vm-pedoman-icon-box {
    font-size: 2.25rem;
    color: var(--color-primary, #1b5e20);
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.vm-pedoman-divider {
    width: 2px;
    height: 38px;
    background: #d4af37;
    margin: 0 1.35rem;
    flex-shrink: 0;
    border-radius: 2px;
}

.vm-pedoman-text {
    font-size: 0.985rem;
    font-weight: 700;
    color: #134e1c;
    line-height: 1.5;
}

/* 6. Closing CTA Banner Section */
.vm-closing-cta-section {
    background: #fcfbf7;
    padding: 1rem 0 4.5rem;
}

.vm-closing-cta-card {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, #134e1c 0%, #1e6b29 100%);
    border-radius: 22px;
    padding: 3.25rem 2.25rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(20, 83, 45, 0.18);
    position: relative;
    overflow: hidden;
}

.vm-cta-title {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.vm-cta-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 660px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.vm-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-vm-primary {
    background: #ffffff;
    color: #14532d;
    font-weight: 700;
    font-size: 0.925rem;
    border-radius: 50px;
    padding: 0.75rem 1.65rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 2px solid #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.btn-vm-primary:hover {
    background: #f8fafc;
    color: #0b3818;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-vm-primary:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

.btn-vm-outline {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.925rem;
    border-radius: 50px;
    padding: 0.75rem 1.65rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-vm-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-vm-outline:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* 7. Responsive Adjustments */
@media (max-width: 767.98px) {
    .vm-hero,
    .editorial-hero,
    .profile-hero,
    .hist-hero,
    .org-hero,
    .doc-hero,
    .reg-hero {
        padding: 1.75rem 0 4rem;
        background-position: center;
    }
    .vm-hero-wave {
        bottom: 0;
    }
    .vm-wave-svg {
        height: 40px;
    }
    .vm-vision-card {
        padding: 2.75rem 1.25rem 1.75rem;
    }
    .vm-mission-card {
        padding: 1rem 1.15rem;
    }
    .vm-card-num {
        font-size: 1.5rem;
    }
    .vm-card-icon-box {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .vm-card-divider {
        margin: 0 0.85rem;
        height: 36px;
    }
    .vm-card-text {
        font-size: 0.875rem;
    }
    .vm-pedoman-panel {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }
    .vm-pedoman-divider {
        display: none;
    }
    .vm-closing-cta-card {
        padding: 2.5rem 1.25rem;
        border-radius: 18px;
    }
    .vm-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vm-card-left {
        gap: 0.5rem;
    }
    .vm-card-divider {
        margin: 0 0.65rem;
    }
}

/* 8. Empty States */
.vm-empty-state {
    max-width: 680px;
    margin: 1.5rem auto 0;
    background: #ffffff;
    border: 1.5px dashed rgba(20, 83, 45, 0.25);
    border-radius: 18px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.vm-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary, #1b5e20);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.vm-empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark, #14532d);
    margin-bottom: 0.65rem;
}

.vm-empty-desc {
    font-size: 0.925rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .vm-hero-back-link,
    .vm-mission-card,
    .btn-vm-primary,
    .btn-vm-outline {
        transition: none !important;
        transform: none !important;
    }
}


/* ==========================================================================
   HISTORY REDESIGN EDITORIAL SECTIONS (.hist-* prefix, isolated)
   ========================================================================== */

/* 1. Hero — reuses vm-hero system with banner photo + gradient */
.hist-hero {
    position: relative;
    background-color: var(--color-primary-dark, #14532d);
    background-image: linear-gradient(90deg, rgba(16, 61, 23, 0.97) 0%, rgba(20, 83, 45, 0.90) 55%, rgba(20, 83, 45, 0.45) 100%), var(--hist-hero-bg, none);
    background-size: cover;
    background-position: center right;
    color: #ffffff;
    padding: 2.25rem 0 5.5rem;
    overflow: hidden;
}

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

.hist-hero-content {
    max-width: 640px;
}

.hist-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(212, 175, 55, 0.7);
    background: rgba(212, 175, 55, 0.12);
    color: #fef08a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* 2. Journey Section */
.hist-journey-section {
    background: #fcfbf7;
    padding: 3.5rem 0 3rem;
}

.hist-split-layout {
    margin-top: 2.25rem;
}

/* 3. Photo column */
.hist-photo-wrap {
    position: relative;
}

.hist-photo-figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(20, 83, 45, 0.14);
}

.hist-photo-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hist-photo-banner-crop {
    object-position: center 25%;
}

.hist-photo-caption {
    background: rgba(20, 83, 45, 0.88);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    text-align: center;
}

.hist-photo-placeholder {
    background: #ffffff;
    border: 1.5px dashed rgba(20, 83, 45, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hist-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary, #1b5e20);
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hist-placeholder-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 0.5rem;
    display: block;
}

.hist-placeholder-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark, #14532d);
    margin-bottom: 0.5rem;
}

.hist-placeholder-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 4. Timeline (editorial narrative — single CMS text as 2-node arc) */
.hist-narrative {
    padding-left: 0.5rem;
}

.hist-timeline {
    position: relative;
    padding-left: 2.25rem;
}

.hist-timeline-track {
    position: absolute;
    left: 10px;
    top: 14px;
    bottom: 14px;
    width: 2.5px;
    background: linear-gradient(to bottom, var(--color-primary, #1b5e20) 0%, rgba(27, 94, 32, 0.15) 100%);
    border-radius: 2px;
}

.hist-timeline-node {
    position: relative;
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hist-timeline-node:last-child {
    margin-bottom: 0;
}

.hist-tl-dot {
    position: absolute;
    left: -2.25rem;
    top: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary, #1b5e20);
    border: 3px solid #fcfbf7;
    box-shadow: 0 0 0 2.5px var(--color-primary, #1b5e20);
    flex-shrink: 0;
    z-index: 1;
}

.hist-tl-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--color-primary, #1b5e20);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hist-tl-header {
    margin-bottom: 0.85rem;
}

.hist-tl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(27, 94, 32, 0.08);
    color: var(--color-primary-dark, #14532d);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.hist-tl-badge-now {
    background: rgba(212, 175, 55, 0.12);
    color: #92670a;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.hist-tl-body {
    font-size: 0.925rem;
    color: #374151;
    line-height: 1.65;
}

/* 5. Institutional Value Panel */
.hist-value-section {
    background: #fcfbf7;
    padding: 0 0 2.5rem;
}

.hist-value-panel {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(135deg, #134e1c 0%, #1e6b29 100%);
    border-radius: 20px;
    padding: 2.75rem 3rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    box-shadow: 0 16px 40px rgba(20, 83, 45, 0.18);
    position: relative;
    overflow: hidden;
}

.hist-value-icon-wrap {
    flex-shrink: 0;
}

.hist-value-quote-mark,
.hist-value-quote-end {
    font-size: 3.25rem;
    color: rgba(212, 175, 55, 0.65);
    line-height: 1;
    display: block;
}

.hist-value-content {
    flex: 1;
    text-align: center;
}

.hist-value-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 0.75rem;
}

.hist-value-attr {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fef08a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hist-value-deco {
    flex-shrink: 0;
}

/* 6. CTA Section — reuses vm-closing-cta-card */
.hist-cta-section {
    background: #fcfbf7;
    padding: 1rem 0 4.5rem;
}

.hist-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 7. Responsive */
@media (max-width: 991.98px) {
    .hist-hero {
        padding: 2rem 0 5rem;
    }
    .hist-photo-img {
        height: 380px;
    }
    .hist-value-panel {
        padding: 2.25rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .hist-hero {
        padding: 1.75rem 0 4rem;
        background-position: center;
    }
    .hist-journey-section {
        padding: 2.5rem 0 2rem;
    }
    .hist-photo-img {
        height: 260px;
    }
    .hist-timeline {
        padding-left: 1.75rem;
    }
    .hist-tl-dot {
        left: -1.75rem;
        width: 16px;
        height: 16px;
        top: 16px;
    }
    .hist-tl-card {
        padding: 1rem 1.15rem;
    }
    .hist-value-panel {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.25rem;
        gap: 1rem;
        border-radius: 18px;
    }
    .hist-cta-section {
        padding: 1rem 0 3.5rem;
    }
    .hist-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hist-timeline {
        padding-left: 1.5rem;
    }
    .hist-tl-dot {
        left: -1.5rem;
    }
    .hist-value-quote-mark,
    .hist-value-quote-end {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hist-tl-card,
    .hist-photo-figure {
        transition: none !important;
        transform: none !important;
    }
}


/* ==========================================================================
   Public Profile Redesign (Editorial Institutional Identity)
   ========================================================================== */
.profile-hero {
    /* Inherits .vm-hero styling for seamless design consistency */
}

.profile-eyebrow-badge {
    /* Inherits .vm-eyebrow-badge styling */
}

.profile-identity-section {
    padding: 3.5rem 0 3rem;
    background-color: #fcfbf7;
}

/* Dynamic Equal-Height Grid Architecture */
.profile-identity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: stretch; /* Critical: stretches both cards to match the tallest */
}

.profile-identity-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2.25rem 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-identity-card:hover {
    box-shadow: 0 8px 30px rgba(27, 77, 62, 0.08);
}

/* Left Narrative Card */
.profile-narrative-card {
    border-left: 5px solid #1b4d3e;
}

.profile-card-header {
    margin-bottom: 1.25rem;
}

.profile-card-title {
    color: #1b4d3e;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}

.profile-narrative-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.profile-narrative-text p:last-child {
    margin-bottom: 0;
}

.profile-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.profile-photo-figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    background: #f1f5f9;
}

.profile-photo-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-photo-caption {
    padding: 0.65rem 1rem;
    background: #ffffff;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-top: 1px solid #f1f5f9;
}

.profile-photo-placeholder {
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    text-align: center;
    font-size: 0.9rem;
}

/* Right Info Card */
.profile-official-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.profile-official-logo-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
}

.profile-official-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.profile-official-logo-placeholder {
    font-size: 2rem;
    color: #1b4d3e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-official-title-wrap {
    min-width: 0;
}

.profile-official-name {
    color: #1b4d3e;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.profile-official-tagline {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.4;
}

.profile-info-divider {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 1.5rem;
}

.profile-meta-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.profile-meta-dt {
    color: #1b4d3e;
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.profile-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e8f5e9;
    color: #1b4d3e;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.profile-meta-dd {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0 2rem;
}

.profile-contact-link {
    color: #1b4d3e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-contact-link:hover {
    color: #15803d;
    text-decoration: underline;
}

.profile-info-actions {
    margin-top: auto;
    padding-top: 1.75rem;
}

.btn-profile-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    background: #2e7d32;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.25s ease;
    min-height: 48px;
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
}

.btn-profile-register:hover {
    background: #143d31;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27, 77, 62, 0.3);
}

/* Nilai & Fokus Pembelajaran Section */
.profile-values-section {
    padding: 3rem 0 3.5rem;
    background-color: #fcfbf7;
}

.profile-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.profile-value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    padding: 1.75rem 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.profile-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(27, 77, 62, 0.1);
}

.profile-value-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #1b4d3e;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    flex-shrink: 0;
}

.profile-value-title {
    color: #1b4d3e;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.profile-value-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Closing CTA */
.profile-cta-section {
    padding: 1rem 0 4rem;
    background-color: #fcfbf7;
}

.profile-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
    .profile-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .profile-identity-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .profile-identity-card {
        padding: 1.75rem 1.5rem;
    }
    .profile-photo-img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .profile-values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .profile-identity-section {
        padding: 2.5rem 0 2rem;
    }
    .profile-values-section {
        padding: 2rem 0 2.5rem;
    }
    .profile-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-identity-card,
    .profile-value-card,
    .btn-profile-register {
        transition: none !important;
        transform: none !important;
    }
}
