:root {
    --school-primary: #1a5276;
    --school-secondary: #2e86c1;
    --school-accent: #f39c12;
    --school-green: #27ae60;
    --school-light: #eaf4fb;
    --school-dark: #0d2d4a;
    --school-text: #2c3e50;

    --bs-primary: #1a5276;
    --bs-primary-rgb: 26, 82, 118;
    --bs-primary-bg-subtle: #eaf4fb;
    --bs-primary-border-subtle: #bcd6ea;
    --bs-primary-text-emphasis: #1a5276;
    --bs-link-color-rgb: 26, 82, 118;
    --bs-link-hover-color-rgb: 46, 134, 193;
    --bs-body-font-family:
        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--school-text);
}

body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.card-title,
.widget-title,
.footer-heading,
.page-title h1 {
    font-family: "Poppins", sans-serif;
}

main {
    flex: 1 0 auto;
}

.btn-primary {
    --bs-btn-bg: #1a5276;
    --bs-btn-border-color: #1a5276;
    --bs-btn-hover-bg: #16405c;
    --bs-btn-hover-border-color: #16405c;
    --bs-btn-active-bg: #16405c;
    --bs-btn-active-border-color: #16405c;
    --bs-btn-disabled-bg: #1a5276;
    --bs-btn-disabled-border-color: #1a5276;
}

.btn-outline-primary {
    --bs-btn-color: #1a5276;
    --bs-btn-border-color: #1a5276;
    --bs-btn-hover-bg: #1a5276;
    --bs-btn-hover-border-color: #1a5276;
    --bs-btn-active-bg: #1a5276;
    --bs-btn-active-border-color: #1a5276;
    --bs-btn-disabled-color: #1a5276;
    --bs-btn-disabled-border-color: #1a5276;
}

.site-header {
    border-bottom: 3px solid var(--school-primary);
}

.topbar {
    border-bottom: 2px solid var(--school-accent);
}

.topbar a {
    color: #cde6f5;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--school-accent);
}

.page-title {
    background: linear-gradient(
        135deg,
        var(--school-dark) 0%,
        var(--school-secondary) 100%
    );
    color: #fff;
    padding: 2.5rem 0 1.75rem;
    position: relative;
    overflow: hidden;
}

.page-title h1 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.page-title .breadcrumb {
    margin-bottom: 0;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
}

.page-title .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.page-title .breadcrumb a:hover {
    color: var(--school-accent);
}

.page-title .breadcrumb-item.active {
    color: var(--school-accent);
    font-weight: 600;
}

.page-title .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.section-title {
    text-align: center;
    padding-bottom: 1.75rem;
}

.section-title .badge-label {
    display: inline-block;
    background: var(--school-light);
    color: var(--school-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(26, 82, 118, 0.15);
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--school-primary);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    max-width: 37rem;
    margin: 0 auto;
    font-size: 0.95rem;
}

.section-title .title-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 0.85rem auto 0;
    background: linear-gradient(
        90deg,
        var(--school-primary),
        var(--school-accent)
    );
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: var(--school-dark);
    overflow: hidden;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 45, 74, 0.92) 0%,
        rgba(26, 82, 118, 0.75) 100%
    );
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero .hero-content h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero .hero-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 34rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

@media (max-width: 991px) {
    .hero {
        min-height: 400px;
    }
    .hero .hero-content h1 {
        font-size: 2rem;
    }
}

.cta {
    background: linear-gradient(135deg, var(--school-accent) 0%, #e67e22 100%);
    padding: 3rem 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.card-hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.75rem 2rem rgba(26, 82, 118, 0.18) !important;
}

.team-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(26, 82, 118, 0.2);
}

.footer-heading {
    color: var(--school-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(243, 156, 18, 0.3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition:
        color 0.2s,
        padding-left 0.2s;
}

.footer-link::before {
    content: "\203A";
    color: var(--school-accent);
    margin-right: 0.4rem;
}

.footer-link:hover {
    color: var(--school-accent);
    padding-left: 0.25rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.footer-social a.wa {
    background: #25d366;
}
.footer-social a.ig {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}
.footer-social a.fb {
    background: #1877f2;
}
.footer-social a.tw {
    background: #000;
}
.footer-social a.yt {
    background: #ff0000;
}

.article-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Konten artikel responsif di mobile */
.article-body--responsive table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
}

.article-body--responsive table td,
.article-body--responsive table th {
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.article-body--responsive iframe,
.article-body--responsive video,
.article-body--responsive embed {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0.25rem;
}

.article-body--responsive p,
.article-body--responsive ul,
.article-body--responsive ol {
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .article-body--responsive img {
        width: 100% !important;
        height: auto !important;
    }

    .article-body--responsive * {
        max-width: 100%;
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroll-top {
    width: 44px;
    height: 44px;
}
