/* ==========================================================================
   PROFIL SEKOLAH: TEMA BIRU DONGKER & KUNING EMAS PRESTASI
   SMP NEGERI 2 TAROKAN
   ========================================================================== */

/* HERO BANNER */
.profile-hero {
    position: relative;
    background: linear-gradient(135deg, var(--school-navy-950) 0%, var(--school-navy-900) 50%, var(--school-navy-800) 100%);
    color: #ffffff;
    border-bottom: 3px solid var(--school-gold);
    overflow: hidden;
}
.profile-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.profile-hero-inner {
    padding: 60px 0 70px;
    position: relative;
    z-index: 2;
}

.profile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 18px;
}
.profile-breadcrumbs a {
    color: #cbd5e1;
    transition: color 0.2s;
}
.profile-breadcrumbs a:hover {
    color: var(--school-yellow);
}
.profile-breadcrumbs .active {
    color: var(--school-yellow);
    font-weight: 700;
}

.profile-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--school-yellow);
    margin-bottom: 14px;
}
.profile-hero-tag .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--school-yellow);
}

.profile-hero h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.profile-hero h1 span {
    color: var(--school-yellow);
}
.profile-hero p {
    max-width: 720px;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
.profile-card {
    background: #ffffff;
    border: 1px solid var(--school-line);
    border-radius: var(--school-radius-md);
    padding: 40px;
    box-shadow: var(--school-shadow-sm);
    margin-bottom: 36px;
    transition: all 0.25s ease;
}
.profile-card:hover {
    box-shadow: var(--school-shadow-md);
}

.card-pill {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.card-pill.blue {
    background: var(--school-blue-soft);
    color: var(--school-blue-600);
}
.card-pill.gold {
    background: var(--school-yellow-soft);
    color: var(--school-gold-hover);
}

/* SECTION 1: IDENTITY */
.profile-intro-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--school-line);
}
.profile-emblem-large {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #edf4fc);
    border: 2px solid var(--school-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--school-shadow-sm);
}
.profile-tag-blue {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--school-blue-600);
    margin-bottom: 4px;
}
.profile-intro-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--school-navy-900);
    letter-spacing: -0.02em;
}
.profile-intro-head p {
    margin: 4px 0 0;
    color: var(--school-text-muted);
    font-size: 13.5px;
}

.profile-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.data-item {
    background: var(--school-bg);
    border: 1px solid var(--school-line);
    border-radius: var(--school-radius-sm);
    padding: 16px 20px;
    border-left: 3.5px solid var(--school-blue-600);
}
.data-item:nth-child(2) {
    border-left-color: var(--school-yellow);
}
.data-item .lbl {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--school-text-muted);
    text-transform: uppercase;
}
.data-item .val {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--school-navy-900);
    margin-top: 5px;
    line-height: 1.4;
}
.data-item .val.gold {
    color: var(--school-gold-hover);
    font-size: 16px;
}
.data-item .val a {
    color: var(--school-blue-600);
}
.data-item .val a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   VISI & MISI
   ========================================================================== */
.profile-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}
.profile-vision-card {
    border-top: 4px solid var(--school-yellow);
}
.profile-mission-card {
    border-top: 4px solid var(--school-blue-600);
}
.card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.card-icon-wrap.gold {
    background: var(--school-yellow-soft);
    color: var(--school-gold-hover);
}
.card-icon-wrap.blue {
    background: var(--school-blue-soft);
    color: var(--school-blue-600);
}
.profile-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
    color: var(--school-navy-900);
    letter-spacing: -0.02em;
}
.vision-quote-box {
    background: var(--school-yellow-subtle);
    border-left: 4px solid var(--school-gold);
    padding: 20px;
    border-radius: 0 var(--school-radius-sm) var(--school-radius-sm) 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--school-navy-900);
    line-height: 1.8;
    margin-bottom: 18px;
}
.vision-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--school-text-muted);
}
.vision-indicator .ind-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--school-gold);
}
.mission-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--school-text-body);
}
.profile-vm-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--school-blue-600);
    text-decoration: none;
    transition: all 0.2s ease;
}
.profile-vm-link:hover {
    color: var(--school-gold-hover);
    gap: 9px;
}
.mission-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mission-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--school-navy-900);
}
.bullet-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ==========================================================================
   SEJARAH
   ========================================================================== */
.profile-history-card {
    border-top: 4px solid var(--school-blue-600);
}
.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.card-header-bar h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--school-navy-900);
}
.year-badge {
    background: var(--school-navy-900);
    color: var(--school-yellow);
    border: 1.5px solid var(--school-yellow);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.history-content {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--school-text-body);
    margin-bottom: 30px;
}

.history-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.highlight-item {
    background: var(--school-bg);
    border: 1px solid var(--school-line);
    border-radius: var(--school-radius-sm);
    padding: 22px;
    text-align: center;
    border-bottom: 3px solid var(--school-yellow);
}
.hl-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--school-navy-900);
    line-height: 1;
}
.hl-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--school-blue-600);
    margin: 6px 0;
}
.hl-desc {
    font-size: 12px;
    color: var(--school-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   STRUKTUR ORGANISASI
   ========================================================================== */
.profile-org-card h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--school-navy-900);
}
.org-diagram-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
}
.org-box {
    background: #ffffff;
    border: 1.5px solid var(--school-line);
    border-radius: var(--school-radius-sm);
    padding: 14px 24px;
    text-align: center;
    box-shadow: var(--school-shadow-sm);
    min-width: 220px;
}
.org-box.root {
    background: var(--school-navy-900);
    color: #ffffff;
    border-color: var(--school-yellow);
    border-width: 2px;
}
.org-box.root strong {
    color: var(--school-yellow);
    font-size: 15px;
}
.org-box.root span {
    color: #cbd5e1;
    font-size: 11px;
}
.org-box strong {
    display: block;
    font-size: 13.5px;
    color: var(--school-navy-900);
}
.org-box span {
    display: block;
    font-size: 11px;
    color: var(--school-text-muted);
    margin-top: 2px;
}
.org-box.sub {
    border-top: 3px solid var(--school-blue-600);
}
.org-box.leaf {
    border-top: 3px solid var(--school-gold);
    min-width: 0;
    flex: 1;
}
.org-connector {
    color: var(--school-gold);
    font-size: 20px;
    font-weight: 800;
}
.org-row {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 680px;
    justify-content: center;
}
.org-row.quad {
    max-width: 900px;
}

.org-footer-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .profile-data-grid, .profile-split-grid, .history-highlights-grid {
        grid-template-columns: 1fr;
    }
    .org-row {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .profile-hero-inner {
        padding: 36px 0 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-breadcrumbs {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 6px 15px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 12px;
        font-weight: 600;
        color: #cbd5e1;
        margin: 0 auto 14px auto;
        text-align: center;
    }
    .profile-hero-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 15px;
        border-radius: 999px;
        background: rgba(245, 158, 11, 0.18);
        border: 1px solid rgba(245, 158, 11, 0.42);
        color: #fcd34d;
        margin: 0 auto 14px auto;
    }
    .profile-hero h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.2;
    }
    .profile-hero p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
        line-height: 1.65;
    }
    .profile-intro-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .profile-card {
        padding: 24px 18px;
    }
    .card-header-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    .card-header-bar > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-card .home-accent {
        margin-left: auto;
        margin-right: auto;
    }
    .org-box {
        min-width: 0;
        width: 100%;
        padding: 12px 16px;
    }
    .org-row {
        width: 100%;
        flex-direction: column;
    }
    .data-item {
        padding: 12px 14px;
    }
    .org-footer-actions .public-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .profile-card {
        padding: 18px 14px;
    }
    .profile-hero h1 {
        font-size: 24px;
    }
}


