/* ============================================================
 * TENTANG SEKOLAH — Halaman Publik
 * Path: public/assets/css/profil-tentang-sekolah.css
 * ============================================================ */

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.ts-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
}

.ts-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ts-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.ts-hero-orb-1 {
    width: 380px;
    height: 380px;
    background: #2563eb;
    top: -120px;
    right: -80px;
}

.ts-hero-orb-2 {
    width: 320px;
    height: 320px;
    background: #f59e0b;
    bottom: -140px;
    left: -100px;
    opacity: 0.3;
}

.ts-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ts-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.ts-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.ts-breadcrumb a:hover { color: #fff; }

.ts-breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.ts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.ts-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.ts-hero-accent {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ts-hero-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 0 0 0.75rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.ts-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════════════════ */
.ts-main {
    background: #f8fafc;
    padding: 3rem 1rem 4rem;
    flex: 1;
}

.ts-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ═══════════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════════ */
.ts-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.ts-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.ts-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.ts-icon-blue { background: #eff6ff; color: #2563eb; }
.ts-icon-amber { background: #fffbeb; color: #f59e0b; }
.ts-icon-green { background: #ecfdf5; color: #059669; }

.ts-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ts-card-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-transform: uppercase;
}

.ts-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.ts-card-body { padding: 1.75rem; }

/* ═══════════════════════════════════════════════════
   IDENTITY GRID
   ═══════════════════════════════════════════════════ */
.ts-identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ts-identity-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ts-identity-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ts-identity-label i { color: #2563eb; font-size: 0.85rem; }

.ts-identity-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-word;
}

.ts-identity-value a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.ts-identity-value a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.ts-mono {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}

.ts-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.ts-badge-green { background: #dcfce7; color: #15803d; }

/* ═══════════════════════════════════════════════════
   ADDRESS
   ═══════════════════════════════════════════════════ */
.ts-address-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ts-address-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1e293b;
}

.ts-address-detail { color: #64748b; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════
   HISTORY TYPOGRAPHY (teks panjang dengan bab)
   ═══════════════════════════════════════════════════ */
.ts-history-h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dbeafe;
    line-height: 1.35;
}

.ts-history-h2:first-child {
    margin-top: 0;
}

.ts-history-h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 1.75rem 0 0.75rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ts-history-h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: #2563eb;
    border-radius: 2px;
    flex-shrink: 0;
}

.ts-history-p {
    font-size: 1rem;
    line-height: 1.85;
    color: #334155;
    margin: 0 0 1.1rem;
    text-align: justify;
}

.ts-history-ul {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.5rem;
    list-style: none;
}

.ts-history-li {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.ts-history-li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   VISI & MISI SECTION
   ═══════════════════════════════════════════════════ */
.ts-vision-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #0f172a;
    font-weight: 500;
    font-style: italic;
    padding: 1.25rem 1.5rem;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    margin: 0;
    text-align: center;
}

.ts-mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ts-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid #059669;
    transition: all 0.2s;
}

.ts-mission-item:hover {
    background: #ecfdf5;
    transform: translateX(3px);
}

.ts-mission-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.ts-mission-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #1e293b;
    padding-top: 2px;
}

/* ═══════════════════════════════════════════════════
   CTA (kalau dipakai di halaman lain)
   ═══════════════════════════════════════════════════ */
.ts-cta {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 1.75rem;
}

.ts-cta-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.ts-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ts-cta-text { flex: 1; min-width: 200px; }

.ts-cta-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.ts-cta-text p { font-size: 0.9rem; color: #475569; margin: 0; }

.ts-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.ts-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════ */
.ts-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.ts-empty i { font-size: 4rem; color: #cbd5e1; }

.ts-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1rem 0 0.5rem;
}

.ts-empty p { color: #64748b; margin-bottom: 1.5rem; }

.ts-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.ts-btn-back:hover { background: #1d4ed8; color: #fff; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Hero */
    .ts-hero { padding: 2.5rem 1rem 3rem; }

    /* Main */
    .ts-main { padding: 2rem 1rem 3rem; }

    /* Card */
    .ts-card-header,
    .ts-card-body { padding: 1.25rem; }

    /* Identity grid */
    .ts-identity-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* History typography */
    .ts-history-h2 {
        font-size: 1.15rem;
        margin: 2rem 0 0.85rem;
    }

    .ts-history-h3 { font-size: 1rem; }

    .ts-history-p,
    .ts-history-li {
        font-size: 0.95rem;
        text-align: left;
    }

    /* Visi & Misi */
    .ts-vision-text {
        font-size: 0.95rem;
        padding: 1rem 1.15rem;
    }

    .ts-mission-item {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }

    .ts-mission-text { font-size: 0.9rem; }

    /* CTA */
    .ts-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .ts-cta-btn {
        width: 100%;
        justify-content: center;
    }
}