/* ═══════════════════════════════════════════════════
   DESIGN SYSTEM — MAN 3 BANJAR WEBSITE
   ═══════════════════════════════════════════════════ */
:root {
    --c-emerald-950: #022c22;
    --c-emerald-900: #064e3b;
    --c-emerald-800: #065f46;
    --c-emerald-700: #047857;
    --c-emerald-600: #059669;
    --c-emerald-500: #10b981;
    --c-emerald-400: #34d399;
    --c-emerald-300: #6ee7b7;
    --c-emerald-200: #a7f3d0;
    --c-emerald-100: #d1fae5;
    --c-emerald-50:  #ecfdf5;

    --c-slate-900: #0f172a;
    --c-slate-800: #1e293b;
    --c-slate-700: #334155;
    --c-slate-600: #475569;
    --c-slate-500: #64748b;
    --c-slate-400: #94a3b8;
    --c-slate-300: #cbd5e1;
    --c-slate-200: #e2e8f0;
    --c-slate-100: #f1f5f9;
    --c-slate-50:  #f8fafc;

    --c-amber-500: #f59e0b;
    --c-amber-400: #fbbf24;
    --c-amber-50:  #fffbeb;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.1);
    --shadow-green: 0 12px 40px rgba(16,185,129,.18);

    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--c-slate-900);
    background: var(--c-slate-50);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ─── Topbar ─── */
.web-topbar {
    background: var(--c-emerald-950);
    color: var(--c-emerald-200);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 0;
    letter-spacing: .2px;
}
.web-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── Navbar ─── */
.web-navbar {
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--c-slate-200);
    box-shadow: none;
    transition: box-shadow .3s;
}
.web-navbar.scrolled { box-shadow: var(--shadow-md); }

.web-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.web-brand-logo {
    width: 42px; height: 42px;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px;
    color: var(--c-emerald-900);
    flex-shrink: 0;
}
.web-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.web-brand-text strong {
    display: block;
    color: var(--c-emerald-900);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.15;
}
.web-brand-text small {
    display: block;
    color: var(--c-slate-500);
    font-size: 11px;
    font-weight: 600;
}

.web-menu .nav-link {
    color: var(--c-slate-600);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 8px 14px !important;
    transition: all .2s;
}
.web-menu .nav-link:hover {
    color: var(--c-emerald-700);
    background: var(--c-emerald-50);
}

.web-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--c-emerald-700), var(--c-emerald-500));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-green);
    transition: all .2s;
}
.web-login-btn:hover { color: #fff; transform: translateY(-1px); }

.web-toggler { border: 1px solid var(--c-slate-300); }

/* ─── Hero ─── */
.web-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 72px;
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(16,185,129,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(14,165,233,.08) 0%, transparent 50%),
        linear-gradient(180deg, #fff 0%, var(--c-slate-50) 100%);
}
.web-hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-emerald-200), transparent);
}

.web-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--c-emerald-50);
    color: var(--c-emerald-700);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 18px;
    border: 1px solid var(--c-emerald-100);
}

.web-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--c-emerald-950);
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.web-hero-sub {
    font-size: 17px;
    font-weight: 500;
    color: var(--c-slate-500);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px;
}

.web-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 15px;
    transition: all .25s;
    cursor: pointer;
}

.web-btn-primary {
    background: linear-gradient(135deg, var(--c-emerald-800), var(--c-emerald-500));
    color: #fff;
    border: none;
    box-shadow: var(--shadow-green);
}
.web-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 50px rgba(16,185,129,.28); }

.web-btn-outline {
    background: #fff;
    border: 1.5px solid var(--c-emerald-200);
    color: var(--c-emerald-700);
}
.web-btn-outline:hover { background: var(--c-emerald-50); color: var(--c-emerald-800); }

.web-hero-stat-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.web-hero-stat {
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--c-slate-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 120px;
}
.web-hero-stat strong {
    display: block;
    color: var(--c-emerald-700);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}
.web-hero-stat span {
    display: block;
    color: var(--c-slate-500);
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ─── Sections Generic ─── */
.web-section { padding: 72px 0; }
.web-soft { background: #fff; }

.web-section-head {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}
.web-section-row {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    text-align: left;
}
.web-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--c-emerald-50);
    color: var(--c-emerald-700);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 14px;
    border: 1px solid var(--c-emerald-100);
}
.web-section-head h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--c-slate-900);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -.5px;
}
.web-section-head p {
    font-size: 15px;
    color: var(--c-slate-500);
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}
.web-more-link {
    white-space: nowrap;
    color: var(--c-emerald-700);
    font-weight: 700;
    font-size: 14px;
    transition: color .2s;
}
.web-more-link:hover { color: var(--c-emerald-500); }

.web-empty {
    min-height: 140px;
    border: 1.5px dashed var(--c-slate-300);
    border-radius: var(--radius-lg);
    background: var(--c-slate-50);
    color: var(--c-slate-500);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 14px;
}

/* ─── News — Featured + Grid ─── */
.web-news-featured {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-bottom: 20px;
}
.web-news-featured-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-xl);
    color: var(--c-slate-900);
    box-shadow: var(--shadow-md);
    transition: all .3s;
}
.web-news-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--c-slate-900);
}
.web-news-featured-card img,
.web-news-featured-placeholder {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: var(--c-emerald-50);
}
.web-news-featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-emerald-700);
    font-weight: 800;
    font-size: 18px;
}
.web-news-featured-body {
    padding: 24px;
}
.web-news-featured-body small {
    color: var(--c-slate-500);
    font-size: 12px;
    font-weight: 700;
}
.web-news-featured-body h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0;
}
.web-news-featured-body p {
    color: var(--c-slate-500);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 14px;
}
.web-news-featured-body .web-read-more {
    color: var(--c-emerald-700);
    font-weight: 700;
    font-size: 14px;
}

.web-news-side-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.web-news-side-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-md);
    color: var(--c-slate-900);
    transition: all .2s;
    flex: 1;
}
.web-news-side-card:hover {
    border-color: var(--c-emerald-300);
    box-shadow: var(--shadow-sm);
    color: var(--c-slate-900);
}
.web-news-side-card img,
.web-news-side-placeholder {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--c-emerald-50);
}
.web-news-side-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-emerald-700);
    font-weight: 700;
    font-size: 12px;
}
.web-news-side-card h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 4px 0 0;
}
.web-news-side-card small {
    font-size: 11px;
    color: var(--c-slate-500);
    font-weight: 600;
}

/* Old grid (used by arsip) */
.web-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.web-news-card {
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-lg);
    color: var(--c-slate-900);
    box-shadow: var(--shadow-sm);
    transition: all .25s;
}
.web-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--c-slate-900);
}
.web-news-card img,
.web-news-placeholder {
    width: 200px;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--c-emerald-50);
}
.web-news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-emerald-700);
    font-weight: 700;
}
.web-news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.web-news-body small { color: var(--c-slate-500); font-size: 12px; font-weight: 700; }
.web-news-body h5 { font-weight: 800; line-height: 1.35; margin: 8px 0; font-size: 16px; }
.web-news-body p { color: var(--c-slate-500); font-size: 13px; font-weight: 500; line-height: 1.6; margin-bottom: 12px; flex: 1; }
.web-news-body span { color: var(--c-emerald-700); font-weight: 700; font-size: 13px; }
.web-news-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.web-news-meta-row em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--c-emerald-50);
    color: var(--c-emerald-700);
}
.web-news-view-badge {
    background: var(--c-slate-100) !important;
    color: var(--c-slate-500) !important;
}

/* ─── Profile ─── */
.web-profile-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 24px;
    align-items: stretch;
}

.web-profile-card,
.web-headmaster-card,
.web-vision-card,
.web-video-card,
.web-pamflet-card,
.web-about-story,
.web-about-mini,
.web-ptk-card,
.web-service-card,
.web-ppdb-card,
.web-contact-card {
    background: #fff;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.web-profile-card { padding: 32px; }
.web-profile-card h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}
.web-profile-card p {
    color: var(--c-slate-600);
    font-weight: 500;
    line-height: 1.85;
}
.web-profile-points { display: grid; gap: 12px; margin-top: 22px; }
.web-profile-points div {
    display: flex; gap: 10px; align-items: flex-start;
    color: var(--c-slate-700); font-weight: 600; font-size: 14px;
}
.web-profile-points span {
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--c-emerald-50); color: var(--c-emerald-600);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0; font-size: 13px;
}

/* ─── Headmaster ─── */
.web-headmaster-card {
    position: relative; overflow: hidden;
    padding: 28px; text-align: center; color: #fff;
    background:
        radial-gradient(circle at top right, rgba(250,204,21,.2), transparent 30%),
        linear-gradient(135deg, var(--c-emerald-950), var(--c-emerald-700));
}
.web-headmaster-label {
    display: inline-flex; padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 11px; font-weight: 700; margin-bottom: 18px;
}
.web-headmaster-photo, .web-headmaster-avatar {
    width: 130px; height: 160px; border-radius: var(--radius-lg);
    margin: 0 auto 16px;
    border: 3px solid rgba(255,255,255,.2);
    box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.web-headmaster-photo { object-fit: cover; background: var(--c-emerald-50); }
.web-headmaster-avatar {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.12); color: #fff;
    font-size: 48px; font-weight: 900;
}
.web-headmaster-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.web-headmaster-card p { color: rgba(255,255,255,.75); font-weight: 500; font-size: 14px; }
.web-headmaster-info {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-md); padding: 12px; text-align: left; margin-top: 14px;
}
.web-headmaster-info small { display: block; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; }
.web-headmaster-info strong { color: #fff; font-weight: 700; font-size: 14px; }

/* ─── Vision ─── */
.web-vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.web-vision-card { padding: 28px; }
.web-vision-main {
    background:
        radial-gradient(circle at top right, rgba(250,204,21,.18), transparent 32%),
        linear-gradient(135deg, var(--c-emerald-950), var(--c-emerald-700));
    color: #fff;
}
.web-vision-card span {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--c-emerald-50); color: var(--c-emerald-700);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.web-vision-main span { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.web-vision-card h4 { font-weight: 800; margin-bottom: 8px; }
.web-vision-card p { color: var(--c-slate-500); font-weight: 500; line-height: 1.75; margin: 0; font-size: 14px; }
.web-vision-main p { color: rgba(255,255,255,.8); }

/* ─── Media ─── */
.web-media {
    background:
        radial-gradient(circle at top left, rgba(250,204,21,.08), transparent 28%),
        linear-gradient(135deg, #fff, var(--c-slate-50));
}
.web-media-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.web-video-card, .web-pamflet-card { padding: 20px; }
.web-video-frame {
    overflow: hidden; border-radius: var(--radius-lg);
    background: var(--c-slate-900); aspect-ratio: 16/9;
}
.web-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.web-video-caption { padding: 18px 4px 4px; }
.web-video-caption h4 { font-weight: 800; }
.web-video-caption p { color: var(--c-slate-500); font-weight: 500; line-height: 1.7; font-size: 14px; margin-top: 6px; }
.web-pamflet-head {
    display: flex; justify-content: space-between;
    align-items: center; gap: 12px; margin-bottom: 16px;
}
.web-pamflet-head h4 { font-weight: 800; }
.web-pamflet-head span { color: var(--c-slate-500); font-size: 13px; font-weight: 500; }
.web-pamflet-list { display: grid; gap: 12px; }
.web-pamflet-item {
    display: flex; gap: 14px; align-items: center;
    padding: 10px; border-radius: var(--radius-md);
    border: 1px solid var(--c-slate-200); color: var(--c-slate-900);
    transition: all .2s;
}
.web-pamflet-item:hover { border-color: var(--c-emerald-300); background: var(--c-emerald-50); color: var(--c-slate-900); }
.web-pamflet-item img, .web-pamflet-placeholder {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0; background: var(--c-emerald-50);
}
.web-pamflet-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--c-emerald-700); font-weight: 700; font-size: 11px;
}
.web-pamflet-item small { font-size: 11px; color: var(--c-slate-500); font-weight: 600; }
.web-pamflet-item strong { font-size: 13px; font-weight: 700; display: block; }
.web-pamflet-item span { font-size: 12px; color: var(--c-emerald-700); font-weight: 700; }

/* ─── About ─── */
.web-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.web-about-story { padding: 28px; }
.web-about-story h3 { font-weight: 800; margin-bottom: 12px; }
.web-about-story p { color: var(--c-slate-600); font-weight: 500; line-height: 1.8; font-size: 14px; }
.web-map-box { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; }
.web-map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.web-about-stack { display: flex; flex-direction: column; gap: 16px; }
.web-about-mini { padding: 22px; }
.web-about-mini h4 { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.web-about-item { display: flex; gap: 8px; align-items: flex-start; color: var(--c-slate-700); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.web-about-item span { color: var(--c-emerald-600); font-weight: 700; flex-shrink: 0; }

/* ─── PTK MODERN PREMIUM ─── */
.web-ptk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.web-ptk-card {
    padding: 24px 20px;
    text-align: center;
    transition: all .25s ease;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(15,23,42,.03);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.web-ptk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(15,23,42,.08);
    border-color: var(--c-emerald-300);
}
.web-ptk-card img, .web-ptk-avatar {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 14px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.18);
    transition: transform .25s ease;
}
.web-ptk-card:hover img, .web-ptk-card:hover .web-ptk-avatar {
    transform: scale(1.05);
}
.web-ptk-avatar {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    font-size: 32px; font-weight: 900;
    border: 3px solid #ffffff;
}
.web-ptk-avatar.kependidikan {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.15);
}
.web-ptk-card h5 {
    font-weight: 800;
    font-size: 15px;
    color: var(--c-slate-900);
    margin-bottom: 4px;
    line-height: 1.35;
}
.web-ptk-card p {
    color: var(--c-slate-500);
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 8px 0;
}
.web-ptk-role-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}
.role-pendidik { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.role-kependidikan { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

.web-ptk-tag-mapel {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Gallery ─── */
.web-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.web-gallery-card {
    display: block; overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: all .25s;
}
.web-gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.web-gallery-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.web-gallery-card div {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.web-gallery-card small { font-size: 11px; font-weight: 600; opacity: .8; }
.web-gallery-card h5 { font-size: 13px; font-weight: 700; margin-top: 2px; }

/* ─── Service ─── */
.web-service-section { background: var(--c-slate-50); }
.web-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.web-service-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.web-service-card { padding: 22px; transition: all .2s; }
.web-service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.web-service-card span {
    display: flex; width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--c-emerald-50); color: var(--c-emerald-700);
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; margin-bottom: 10px;
}
.web-service-card h5 { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.web-service-card p { color: var(--c-slate-500); font-size: 13px; font-weight: 500; line-height: 1.5; margin: 0; }
.web-ppdb-card {
    padding: 36px; color: #fff;
    background:
        radial-gradient(circle at top right, rgba(250,204,21,.2), transparent 30%),
        linear-gradient(135deg, var(--c-emerald-950), var(--c-emerald-700));
    display: flex; flex-direction: column; justify-content: center;
}
.web-ppdb-card span { display: inline-block; font-size: 12px; font-weight: 700; opacity: .7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.web-ppdb-card h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.web-ppdb-card p { color: rgba(255,255,255,.75); font-weight: 500; margin-bottom: 20px; font-size: 14px; line-height: 1.6; }
.web-ppdb-card .web-btn-primary {
    background: #fff; color: var(--c-emerald-800);
    box-shadow: var(--shadow-md); align-self: flex-start;
}
.web-ppdb-card .web-btn-primary:hover { box-shadow: var(--shadow-lg); color: var(--c-emerald-900); }

/* ─── Contact ─── */
.web-contact-section { background: #fff; }
.web-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.web-contact-card { padding: 28px; }
.web-contact-card h3 { font-weight: 800; margin-bottom: 8px; }
.web-contact-card > p { color: var(--c-slate-500); font-size: 14px; font-weight: 500; line-height: 1.6; margin-bottom: 20px; }
.web-contact-list { display: grid; gap: 16px; }
.web-contact-list > div { display: flex; gap: 12px; align-items: flex-start; }
.web-contact-list span {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--c-emerald-50); color: var(--c-emerald-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.web-contact-list strong { display: block; font-size: 13px; font-weight: 700; }
.web-contact-list p { margin: 2px 0 0; color: var(--c-slate-500); font-size: 13px; font-weight: 500; }
.web-contact-map {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid var(--c-slate-200);
}
.web-contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ─── Footer ─── */
.web-footer {
    background: var(--c-emerald-950);
    color: rgba(255,255,255,.6);
    padding: 48px 0 28px;
    font-size: 13px;
    font-weight: 500;
}
.web-footer a { color: rgba(255,255,255,.6); transition: color .2s; }
.web-footer a:hover { color: var(--c-emerald-300); }
.web-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.web-footer-grid h3 { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.web-footer-grid h5 { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.web-footer-grid p { line-height: 1.7; }
.web-footer-grid span { display: block; margin-bottom: 6px; }
.web-footer-grid a { display: block; margin-bottom: 8px; }
.web-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

/* ─── WA Floating ─── */
.web-floating-wa {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700;
    box-shadow: 0 8px 30px rgba(37,211,102,.35);
    z-index: 50;
    transition: all .2s;
}
.web-floating-wa:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 40px rgba(37,211,102,.45); }

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Archive Pages ─── */
.web-archive-hero {
    background: 
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.35), transparent 50%),
        radial-gradient(circle at bottom left, rgba(2, 44, 34, 0.5), transparent 50%),
        linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 55px 0 50px;
    text-align: center;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.web-archive-hero::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.web-archive-hero .container {
    position: relative;
    z-index: 2;
}
.web-archive-hero h1 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.18);
    letter-spacing: -0.02em;
}
.web-archive-hero p {
    color: #ecfdf5 !important;
    font-size: 15px;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}
.web-archive-hero .detail-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13.5px;
}
.web-archive-hero .detail-breadcrumb a {
    color: #a7f3d0 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.web-archive-hero .detail-breadcrumb a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
.web-archive-hero .detail-breadcrumb span {
    color: rgba(255, 255, 255, 0.4) !important;
}
.web-archive-hero .detail-breadcrumb strong {
    color: #ffffff !important;
    font-weight: 700;
}
.web-archive-hero .web-section-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ─── Sub-Nav Pills Profil Madrasah ─── */
.web-subnav-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.web-subnav-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.web-subnav-pills .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.web-subnav-pills .nav-link:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}
.web-subnav-pills .nav-link.active {
    background: #065f46;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.25);
    border-color: #047857;
}

/* ─── Standardized Content Card ─── */
.web-content-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.web-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}
.web-archive-filter {
    margin-bottom: 28px;
}
.web-filter-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.web-filter-grid input[type="text"],
.web-filter-grid input[type="month"],
.web-filter-grid select {
    min-height: 44px;
    padding: 8px 16px;
    border: 1.5px solid var(--c-slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 600;
    font-size: 13px;
    background: #fff;
    transition: border-color .2s;
    flex: 1;
    min-width: 140px;
}
.web-filter-grid input:focus,
.web-filter-grid select:focus {
    outline: none;
    border-color: var(--c-emerald-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.web-filter-grid button {
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(135deg, var(--c-emerald-700), var(--c-emerald-500));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}
.web-filter-grid button:hover { transform: translateY(-1px); box-shadow: var(--shadow-green); }
.web-filter-grid a {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--c-slate-200);
    color: var(--c-slate-500);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: all .2s;
}
.web-filter-grid a:hover { border-color: var(--c-slate-400); color: var(--c-slate-700); }
.web-archive-result-info {
    color: var(--c-slate-500);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ─── Detail Berita ─── */
.detail-news-hero {
    background: 
        radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 48px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.detail-news-hero::before {
    display: none;
}
.detail-news-hero .container {
    position: relative;
    z-index: 2;
}
.detail-news-hero-inner { max-width: 820px; }
.detail-breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px; font-weight: 600; margin-bottom: 16px; flex-wrap: wrap;
}
.detail-news-hero .detail-breadcrumb a { color: #64748b; }
.detail-news-hero .detail-breadcrumb a:hover { color: var(--c-emerald-600); }
.detail-news-hero .detail-breadcrumb span { color: #cbd5e1; }
.detail-news-hero .detail-breadcrumb strong { color: #0f172a; }
.detail-news-label {
    display: inline-flex; padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #ecfdf5; color: var(--c-emerald-700);
    font-size: 12px; font-weight: 700; margin-bottom: 12px;
    border: 1px solid #dcfce7;
}
.detail-news-hero h1 {
    font-size: 2.5rem; font-weight: 800;
    line-height: 1.3; letter-spacing: -0.025em;
    color: #0f172a;
    text-shadow: none;
}
.detail-news-meta {
    display: flex; gap: 10px; align-items: center; margin-top: 14px;
    font-size: 14px; font-weight: 600; color: #64748b;
}

.detail-news-section { padding: 40px 0 72px; }
.detail-news-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}
.detail-news-article {
    background: #fff;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.detail-news-image {
    width: 100%; max-height: 480px; object-fit: cover; display: block;
}
.detail-news-image-empty {
    width: 100%; height: 280px;
    background: var(--c-emerald-50);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-emerald-700); font-weight: 700; font-size: 16px;
}
.detail-news-gallery {
    display: flex; gap: 8px; padding: 12px 24px 0; flex-wrap: wrap;
}
.detail-news-gallery img {
    width: 80px; height: 80px; border-radius: var(--radius-sm);
    object-fit: cover;
}
.detail-news-content {
    padding: 28px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    color: var(--c-slate-700);
    word-wrap: break-word;
}
.detail-news-article-content { max-width: none; }
.detail-share-box {
    margin: 0 28px; padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: var(--c-slate-50);
    border: 1px solid var(--c-slate-200);
    display: flex; justify-content: space-between;
    align-items: center; gap: 16px; flex-wrap: wrap;
}
.detail-share-box small { display: block; font-size: 12px; color: var(--c-slate-500); font-weight: 600; }
.detail-share-box strong { display: block; font-weight: 700; font-size: 14px; }
.detail-share-wa {
    padding: 10px 20px; border-radius: var(--radius-full);
    background: #25D366; color: #fff; font-weight: 700; font-size: 13px;
    transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
}
.detail-share-wa:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.detail-news-footer {
    padding: 20px 28px;
    display: flex; gap: 12px; flex-wrap: wrap;
}
.detail-back-btn, .detail-home-btn {
    padding: 10px 18px; border-radius: var(--radius-full);
    font-weight: 700; font-size: 13px; transition: all .2s;
}
.detail-back-btn { background: var(--c-emerald-50); color: var(--c-emerald-700); border: 1px solid var(--c-emerald-100); }
.detail-back-btn:hover { background: var(--c-emerald-100); color: var(--c-emerald-800); }
.detail-home-btn { background: var(--c-slate-100); color: var(--c-slate-600); border: 1px solid var(--c-slate-200); }
.detail-home-btn:hover { background: var(--c-slate-200); color: var(--c-slate-700); }

.detail-news-sidebar { display: flex; flex-direction: column; gap: 18px; }
.detail-side-card {
    background: #fff; border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-lg); padding: 20px;
    box-shadow: var(--shadow-sm);
}
.detail-side-card h4 { font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.detail-side-list { display: grid; gap: 10px; }
.detail-side-item {
    display: flex; gap: 12px; align-items: center;
    padding: 8px; border-radius: var(--radius-sm);
    color: var(--c-slate-900); transition: all .2s;
}
.detail-side-item:hover { background: var(--c-slate-50); color: var(--c-slate-900); }
.detail-side-item img, .detail-side-placeholder {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0; background: var(--c-emerald-50);
}
.detail-side-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--c-emerald-700); font-weight: 700; font-size: 11px;
}
.detail-side-item small { display: block; font-size: 11px; color: var(--c-slate-500); font-weight: 600; }
.detail-side-item strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; }
.detail-empty-mini {
    padding: 20px; text-align: center;
    color: var(--c-slate-500); font-size: 13px; font-weight: 600;
}
.detail-info-item { padding: 8px 0; border-bottom: 1px solid var(--c-slate-100); }
.detail-info-item:last-child { border-bottom: none; }
.detail-info-item small { display: block; font-size: 11px; color: var(--c-slate-500); font-weight: 600; }
.detail-info-item strong { font-size: 14px; font-weight: 700; }

/* ─── Pagination ─── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: var(--radius-sm);
    font-weight: 700; font-size: 13px;
    border: 1px solid var(--c-slate-200);
    color: var(--c-slate-600);
    background: #fff;
    transition: all .2s;
}
.pagination a:hover { border-color: var(--c-emerald-300); color: var(--c-emerald-700); }
.pagination .active span {
    background: linear-gradient(135deg, var(--c-emerald-700), var(--c-emerald-500));
    color: #fff; border-color: transparent;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
    .web-hero { padding: 56px 0 48px; }
    .web-news-featured { grid-template-columns: 1fr; }
    .web-profile-grid { grid-template-columns: 1fr; }
    .web-vision-grid { grid-template-columns: 1fr; }
    .web-media-grid { grid-template-columns: 1fr; }
    .web-about-grid { grid-template-columns: 1fr; }
    .web-ptk-grid { grid-template-columns: repeat(2, 1fr); }
    .web-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .web-service-grid { grid-template-columns: 1fr; }
    .web-contact-grid { grid-template-columns: 1fr; }
    .web-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .detail-news-layout { grid-template-columns: 1fr; }
    .web-news-grid { grid-template-columns: 1fr; }
    .web-news-card { flex-direction: row; }
}

@media (max-width: 768px) {
    .web-topbar-inner { justify-content: center; text-align: center; }
    .web-hero h1 { letter-spacing: -.8px; }
    .web-hero-actions { flex-direction: column; align-items: stretch; padding: 0 16px; }
    .web-hero-stat-grid { flex-direction: column; align-items: stretch; padding: 0 24px; }
    .web-ptk-grid { grid-template-columns: repeat(2, 1fr); }
    .web-gallery-grid { grid-template-columns: 1fr 1fr; }
    .web-service-card-grid { grid-template-columns: 1fr; }
    .web-section-row { flex-direction: column; text-align: center; align-items: center; }
    .web-news-card { flex-direction: column; }
    .web-news-card img, .web-news-placeholder { width: 100%; min-height: 180px; }
    .detail-news-hero h1 { font-size: 24px; }
    .detail-news-content { padding: 20px; font-size: 15px; }
    .detail-share-box { margin: 0 20px; flex-direction: column; text-align: center; }
    .web-filter-grid { flex-direction: column; }
    .web-filter-grid input, .web-filter-grid select { width: 100%; }
}

/* ═══ NAVBAR DROPDOWN STYLING ═══ */
.web-navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 12px 8px;
    margin-top: 0;
    animation: dropFade 0.2s ease-out;
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.web-navbar .dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-slate-700);
    transition: all 0.2s ease;
}
.web-navbar .dropdown-item:hover,
.web-navbar .dropdown-item:focus {
    background-color: var(--c-emerald-50);
    color: var(--c-emerald-600);
}
.web-navbar .dropdown-divider {
    margin: 8px 0;
    border-color: var(--c-slate-100);
}

@media (min-width: 992px) {
    .web-navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ═══ PORTAL NEWS LAYOUT ═══ */
.web-portal-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.web-portal-main {
    flex: 1;
    min-width: 0; /* prevent flex blowout */
}
.web-portal-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Featured Portal (Main & Secondary) */
.web-portal-featured {
    margin-bottom: 32px;
}
.web-portal-featured-main {
    margin-bottom: 24px;
}
.web-portal-featured-main .web-portal-card {
    display: block;
}
.web-portal-featured-main img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.web-portal-featured-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.web-portal-featured-sub img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* List News Item */
.web-list-news {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.web-list-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid var(--c-slate-100);
    padding-bottom: 24px;
    transition: transform 0.2s;
}
.web-list-card:last-child {
    border-bottom: none;
}
.web-list-card:hover {
    transform: translateY(-2px);
}
.web-list-card img, .web-list-placeholder {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.web-list-placeholder {
    background: var(--c-slate-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-slate-300);
    font-size: 32px;
}
.web-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.web-list-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-slate-800);
    margin-bottom: 8px;
    line-height: 1.4;
}
.web-list-body h3:hover {
    color: var(--c-emerald-600);
}
.web-list-body p {
    font-size: 14px;
    color: var(--c-slate-600);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Sidebar Widgets */
.web-widget {
    background: #fff;
    border: 1px solid var(--c-slate-100);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.web-widget h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-slate-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-slate-100);
    display: flex;
    align-items: center;
    gap: 8px;
}
.web-widget h4 i {
    color: var(--c-emerald-500);
}

.web-cat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.web-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--c-slate-50);
    border-radius: 8px;
    color: var(--c-slate-700);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.web-cat-list a:hover, .web-cat-list a.active {
    background: var(--c-emerald-50);
    color: var(--c-emerald-600);
}

.web-pop-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.web-pop-item {
    display: flex;
    gap: 12px;
}
.web-pop-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.web-pop-body h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-slate-800);
    line-height: 1.4;
    margin-bottom: 4px;
}
.web-pop-body h5:hover {
    color: var(--c-emerald-600);
}
.web-pop-body small {
    font-size: 12px;
    color: var(--c-slate-500);
}

@media (max-width: 991px) {
    .web-portal-layout {
        flex-direction: column;
    }
    .web-portal-sidebar {
        width: 100%;
    }
    .web-portal-featured-sub {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .web-list-card {
        flex-direction: column;
    }
    .web-list-card img, .web-list-placeholder {
        width: 100%;
        height: 200px;
    }
}