:root[data-theme="dark"] {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1f;
    --bg-card: #0d0d2b;
    --bg-glass: rgba(13, 13, 43, 0.7);
    --text-primary: #f0f0ff;
    --text-secondary: #9090c0;
    --text-muted: #5050a0;
    --border: rgba(100, 100, 255, 0.15);
    --border-glow: rgba(120, 80, 255, 0.4);
    --accent1: #7c3aed;
    --accent2: #06b6d4;
    --accent3: #f59e0b;
    --accent4: #ec4899;
    --accent5: #10b981;
    --neon-purple: #a855f7;
    --neon-cyan: #22d3ee;
    --neon-pink: #f472b6;
    --gradient-hero: linear-gradient(
        135deg,
        #0a0a2e 0%,
        #1a0533 50%,
        #0a1a2e 100%
    );
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
    --shadow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
}

:root[data-theme="light"] {
    --bg-primary: #f5f5ff;
    --bg-secondary: #eeeeff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #0a0a2e;
    --text-secondary: #3a3a6e;
    --text-muted: #8080b0;
    --border: rgba(100, 100, 255, 0.2);
    --border-glow: rgba(120, 80, 255, 0.3);
    --accent1: #7c3aed;
    --accent2: #0891b2;
    --accent3: #d97706;
    --accent4: #db2777;
    --accent5: #059669;
    --neon-purple: #7c3aed;
    --neon-cyan: #0891b2;
    --neon-pink: #db2777;
    --gradient-hero: linear-gradient(
        135deg,
        #e8e8ff 0%,
        #f5e8ff 50%,
        #e8f5ff 100%
    );
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
    --shadow-cyan: 0 0 20px rgba(6, 182, 212, 0.15);
}

:root[data-theme="dark"] {
    --bg: #04040f;
    --bg-2: #070714;
    --bg-card: #0b0b20;
    --bg-glass: rgba(11, 11, 32, 0.8);
    --surface: #111130;
    --text: #ededff;
    --text-2: #8888bb;
    --text-3: #4a4a7a;
    --border: rgba(100, 100, 220, 0.12);
    --border-hi: rgba(140, 80, 255, 0.35);
    --accent: #8b5cf6;
    --accent-b: #06b6d4;
    --accent-c: #f472b6;
    --accent-d: #f59e0b;
    --glow: 0 0 40px rgba(139, 92, 246, 0.25);
    --glow-b: 0 0 30px rgba(6, 182, 212, 0.2);
    --reading-bg: #06061a;
    --reading-text: #d8d8f0;
    --code-bg: #0d0d28;
    --overlay: linear-gradient(180deg, transparent 0%, #04040f 100%);
}

:root[data-theme="light"] {
    --bg: #f8f8ff;
    --bg-2: #f2f2fe;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --surface: #eeeeff;
    --text: #0c0c2e;
    --text-2: #444480;
    --text-3: #9090c0;
    --border: rgba(100, 100, 220, 0.15);
    --border-hi: rgba(140, 80, 255, 0.25);
    --accent: #7c3aed;
    --accent-b: #0891b2;
    --accent-c: #db2777;
    --accent-d: #d97706;
    --glow: 0 0 40px rgba(139, 92, 246, 0.1);
    --glow-b: 0 0 30px rgba(6, 182, 212, 0.1);
    --reading-bg: #fafafe;
    --reading-text: #1a1a3e;
    --code-bg: #eeeeff;
    --overlay: linear-gradient(180deg, transparent 0%, #f8f8ff 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* font-family: "Inter", sans-serif; */
    font-family: "Cormorant Garamond", serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    /* overflow-x: hidden; */
    transition:
        background 0.4s,
        color 0.4s;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* ── ANIMATED BACKGROUND ── */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: var(--accent1);
    top: -100px;
    left: -150px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--accent2);
    top: 40%;
    right: -100px;
    animation-delay: -4s;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: var(--accent4);
    bottom: -80px;
    left: 30%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ── LAYOUT ── */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.full-width {
    width: 100%;
}

.sticky {
    position: sticky;
    top: 120px;
    /* display: flex;
    flex-direction: column;
    gap: 22px; */
    align-self: start; /* 🔥 INI PENTING */
}

.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
    /* max-width: 100%; */
    width: 100%;
    padding: 20px 16px;
    /* margin-top: 100px; */
}

/* .article-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
    max-width: 1500px;
    width: 100%;
    padding: 20px 16px;
} */

.center-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ad-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── HEADER ── */
header {
    width: 100%;
    background: rgba(5, 5, 16, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

[data-theme="light"] header {
    background: rgba(245, 245, 255, 0.92);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    gap: 20px;
}

.logo {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    font-size: 0.6rem;
    display: block;
    letter-spacing: 4px;
    font-weight: 400;
    opacity: 0.7;
    -webkit-text-fill-color: var(--text-secondary);
    margin-top: -2px;
}

nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

nav a:hover {
    color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.08);
}

nav a.active {
    color: var(--neon-purple);
    background: rgba(168, 85, 247, 0.12);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 7px 14px;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--neon-purple);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.82rem;
    width: 140px;
    font-family: inherit;
}

.search-box svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.btn-theme {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-theme:hover {
    border-color: var(--neon-purple);
    box-shadow: var(--shadow-glow);
}

.btn-sub {
    background: linear-gradient(135deg, var(--accent1), var(--neon-pink));
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-sub:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
}

/* ── TICKER ── */
.ticker-bar {
    width: 100%;
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.sidebar .sidebar-head {
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    color: #fff;
}

.sidebar-item {
    margin-bottom: 10px;
}

.ticker-inner {
    display: flex;
    align-items: center;
}

.ticker-label {
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 3px 12px;
    letter-spacing: 2px;
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 0;
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    display: flex;
    gap: 0;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 6px;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── AD SIDEBAR ── */
.ad-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.ad-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.ad-content-box {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.ad-icon {
    font-size: 2.5rem;
}

.ad-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.ad-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.ad-cta {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 0.5px;
    width: 100%;
}

.ad-cta.purple {
    background: linear-gradient(135deg, var(--accent1), var(--neon-pink));
    color: #fff;
}

.ad-cta.cyan {
    background: linear-gradient(135deg, var(--accent2), var(--accent5));
    color: #fff;
}

.ad-cta.amber {
    background: linear-gradient(135deg, var(--accent3), var(--accent4));
    color: #fff;
}

.ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ad-glow-purple {
    box-shadow:
        inset 0 0 30px rgba(124, 58, 237, 0.1),
        0 0 0 1px rgba(124, 58, 237, 0.2);
}

.ad-glow-cyan {
    box-shadow:
        inset 0 0 30px rgba(6, 182, 212, 0.1),
        0 0 0 1px rgba(6, 182, 212, 0.2);
}

.ad-glow-amber {
    box-shadow:
        inset 0 0 30px rgba(245, 158, 11, 0.1),
        0 0 0 1px rgba(245, 158, 11, 0.2);
}

.ad-tall {
    height: 340px;
}

.ad-tall .ad-content-box {
    height: 100%;
    justify-content: center;
}

.ad-strip {
    width: 100%;
    height: 100px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    overflow: hidden;
}

.ad-strip .ad-icon {
    font-size: 2rem;
}

.ad-strip-text {
    flex: 1;
}

.ad-strip-text .ad-title {
    font-size: 0.9rem;
    text-align: left;
}

.ad-strip-text .ad-sub {
    font-size: 0.75rem;
    text-align: left;
}

.ad-strip .ad-cta {
    width: auto;
    padding: 8px 20px;
    white-space: nowrap;
}

/* ── HERO CAROUSEL ── */
.hero-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* .slide-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    opacity: 0.07;
} */

.slide-gradient {
    position: absolute;
    inset: 0;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 36px 30px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.slide-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.slide-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.slide-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.slide-read-btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.slide-read-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(124, 58, 237, 0.6);
    border-color: var(--neon-purple);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 14px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 20px;
    background: #fff;
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    animation: progressBar 5s linear infinite;
}

@keyframes progressBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ── SECTION HEADER ── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-cyan));
}

.view-all {
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: gap 0.2s;
}

.view-all:hover {
    gap: 8px;
}

/* ── NEWS GRID ── */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.news-grid-1 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 14px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-muted);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.news-card.featured .card-img {
    height: 100%;
    min-height: 220px;
}

.card-img-overlay {
    position: absolute;
    inset: 0;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
}

.cat-tech {
    background: rgba(124, 58, 237, 0.2);
    color: var(--neon-purple);
}

.cat-science {
    background: rgba(6, 182, 212, 0.2);
    color: var(--neon-cyan);
}

.cat-business {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent3);
}

.cat-world {
    background: rgba(236, 72, 153, 0.2);
    color: var(--neon-pink);
}

.cat-health {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent5);
}

.card-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
    flex: 1;
}

.news-card.featured .card-title {
    font-size: 1.1rem;
}

.card-excerpt {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: auto;
}

.card-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.card-meta-sep {
    color: var(--border);
}

/* ── TRENDING ── */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s;
}

.trending-item:hover {
    border-color: var(--border-glow);
    transform: translateX(3px);
}

.trending-num {
    font-family: "Orbitron", sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
}

.num-1 {
    color: var(--neon-purple);
}

.num-2 {
    color: var(--neon-cyan);
}

.num-3 {
    color: var(--neon-pink);
}

.num-4 {
    color: var(--accent3);
}

.num-5 {
    color: var(--accent5);
}

.trending-body {
    flex: 1;
}

.trending-cat {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.trending-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.trending-views {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── LIVE FEED ── */
.live-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.live-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

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

.live-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-cyan);
    font-family: "Orbitron", sans-serif;
    white-space: nowrap;
    padding-top: 2px;
    min-width: 42px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.live-text {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.live-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── CATEGORY PILLS ── */
.cat-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-pill {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
}

.cat-pill:hover,
.cat-pill.active {
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    color: #fff;
    border-color: transparent;
}

/* ── VIDEO SECTION ── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.video-thumb {
    height: 110px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--accent1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
    font-family: "Orbitron", sans-serif;
}

.video-info {
    padding: 10px 12px;
}

.video-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.video-meta {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── WEATHER WIDGET ── */
.weather-widget {
    background: linear-gradient(135deg, #0f0f3d, #1a1040);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

[data-theme="light"] .weather-widget {
    background: linear-gradient(135deg, #f0f0ff, #efe8ff);
}

.weather-icon {
    font-size: 3.5rem;
}

.weather-temp {
    font-family: "Orbitron", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.weather-city {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.weather-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.weather-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── OPINION CARDS ── */
.opinion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.opinion-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.opinion-card::before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
    right: 10px;
    opacity: 0.05;
    color: var(--neon-purple);
    line-height: 1;
}

.opinion-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.opinion-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

/* ── FOOTER ── */
footer {
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
}

.footer-brand .logo img {
    width: auto;
    max-height: 150px;
    height: auto;
    max-width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-brand .logo img {
        max-height: 80px;
    }
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-head {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon-purple);
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
    color: var(--text-secondary);
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    transform: translateY(-2px);
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: "Orbitron", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── TAG CLOUD ── */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
}

.tag:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.08);
}

/* ── NEWSLETTER ── */
.newsletter-box {
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.newsletter-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.83rem;
    font-family: inherit;
    outline: none;
    transition: border 0.3s;
}

.newsletter-input:focus {
    border-color: var(--neon-purple);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent1), var(--neon-pink));
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

/* ── NOTIFICATION BANNER ── */
.notif-banner {
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.2),
        rgba(6, 182, 212, 0.15)
    );
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f87171;
    flex-shrink: 0;
    animation: livePulse 1.5s infinite;
}

.notif-banner strong {
    color: var(--text-primary);
}

/* ── SCROLL BAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent1);
    border-radius: 3px;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim {
    animation: fadeInUp 0.5s ease both;
}

.anim-d1 {
    animation-delay: 0.1s;
}

.anim-d2 {
    animation-delay: 0.2s;
}

.anim-d3 {
    animation-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .main-layout {
        grid-template-columns: 180px 1fr 180px;
    }
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .ad-sidebar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ad-sidebar .ad-box {
        flex: 1;
        min-width: 200px;
    }

    .ad-tall {
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .opinion-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .header-inner {
        padding: 0 12px;
    }

    nav {
        display: none;
    }

    .search-box input {
        width: 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        flex-wrap: wrap;
        gap: 12px;
    }

    .stat-divider {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== MENU BUTTON ===== */
.btn-menu {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 14px;
        gap: 10px;
    }

    .search-box input {
        width: 90px;
    }

    nav {
        gap: 2px;
    }

    nav a {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .btn-menu {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.show {
        max-height: 400px;
    }

    nav a {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .header-actions {
        margin-left: auto;
        gap: 6px;
    }

    .search-box {
        display: none;
        /* biar clean di mobile */
    }

    .btn-sub {
        display: none;
        /* optional */
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo span {
        display: none;
    }
}

/* ===== NAV BASE ===== */
nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    transition: all 0.2s;
    white-space: nowrap;
}

nav a:hover {
    color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.08);
}

/* ===== DROPDOWN ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    display: none;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown:hover > .dropdown-menu {
    display: flex;
}

/* ===== SUB DROPDOWN ===== */
.dropdown-sub {
    position: relative;
}

.dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 170px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    display: none;
    flex-direction: column;
}

.dropdown-sub:hover > .dropdown-submenu {
    display: flex;
}

/* hover effect */
.dropdown-menu a,
.dropdown-submenu a {
    padding: 8px 10px;
    border-radius: 6px;
}

.dropdown-menu a:hover,
.dropdown-submenu a:hover {
    background: rgba(168, 85, 247, 0.12);
    color: var(--neon-purple);
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-menu,
    .dropdown-submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 12px;
    }

    .dropdown.open > .dropdown-menu {
        display: flex;
    }

    .dropdown-sub.open > .dropdown-submenu {
        display: flex;
    }
}

/* .slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
} */

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 16, 0.35),
        rgba(5, 5, 16, 0.9)
    );
}

/* Update */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    /* overflow-x: hidden; */
    transition:
        background 0.4s,
        color 0.4s;
}

/* ── AMBIENT BG ── */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.amb-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.07;
}

.amb1 {
    width: 600px;
    height: 600px;
    background: #8b5cf6;
    top: -200px;
    left: -200px;
    animation: blobDrift 18s ease-in-out infinite;
}

.amb2 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    top: 30%;
    right: -150px;
    animation: blobDrift 14s ease-in-out infinite reverse;
}

.amb3 {
    width: 350px;
    height: 350px;
    background: #f472b6;
    bottom: 10%;
    left: 20%;
    animation: blobDrift 20s ease-in-out infinite 5s;
}

@keyframes blobDrift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -40px) scale(1.08);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.93);
    }
}

/* ── READING PROGRESS BAR ── */
#readProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #f472b6);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
}

/* ── ARTICLE HERO ── */
.article-hero {
    position: relative;
    /* min-height: 520px; */
    display: flex;
    align-items: flex-end;
    /* padding-top: 60px; */
    overflow: hidden;
}

a {
    text-decoration: none;
}

.hero-visual {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0025 0%, #001225 40%, #120035 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14rem;
    opacity: 0.08;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid-lines svg {
    width: 100%;
    height: 100%;
    opacity: 0.04;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 4, 15, 0.2) 0%,
        rgba(4, 4, 15, 0.7) 60%,
        var(--bg) 100%
    );
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(248, 248, 255, 0.1) 0%,
        rgba(248, 248, 255, 0.6) 60%,
        var(--bg) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 28px 52px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-3);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #a78bfa;
}

.breadcrumb-sep {
    color: var(--text-3);
}

.art-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.2);
    color: var(--text);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.art-category .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c4b5fd;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.art-headline {
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.art-headline em {
    font-style: italic;
    color: #c4b5fd;
}

.art-subhead {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 28px;
    max-width: 680px;
}

.art-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 6px 14px 6px 6px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.author-role {
    font-size: 0.65rem;
    color: var(--text-2);
}

.meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-3);
}

.meta-item {
    font-size: 0.75rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item svg {
    color: var(--text-3);
    flex-shrink: 0;
}

/* ── ACTION BAR ── */
.action-bar {
    position: sticky;
    top: 95px;
    z-index: 2;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.action-bar-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    gap: 12px;
}

.action-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    display: none;
}

.action-title.show {
    display: block;
}

/* .action-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
} */

.action-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-2);
    border-radius: 10px;
    padding: 7px 13px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.25s;
}

.action-btn:hover {
    border-color: var(--border-hi);
    color: var(--text);
}

.action-btn.liked {
    border-color: #f472b6;
    color: #f472b6;
    background: rgba(244, 114, 182, 0.08);
}

.action-btn.bookmarked {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139, 92, 246, 0.08);
}

.font-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-2);
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
    font-family: "DM Serif Display", serif;
    font-size: 0.85rem;
    transition: all 0.25s;
}

.font-btn:hover {
    border-color: var(--border-hi);
}

.read-time-badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0.5px;
}

/* ── MAIN LAYOUT ── */
.main-wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 44px 28px 60px;
}

/* ── ARTICLE BODY ── */
.article-col {
    min-width: 0;
}

.article-image-hero {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
    position: relative;
    border: 1px solid var(--border);
}

.art-img {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #0d0035, #002035, #150040);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    position: relative;
    overflow: hidden;
}

.art-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15),
        rgba(6, 182, 212, 0.1)
    );
}

.img-caption {
    padding: 12px 18px;
    background: var(--bg-card);
    font-size: 0.75rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.img-caption::before {
    content: "▸";
    color: var(--accent);
    font-size: 0.65rem;
}

/* ── ARTICLE TEXT ── */
.article-body {
    font-family: "DM Sans", sans-serif;
    font-size: var(--font-size, 1.05rem);
    line-height: 1.85;
    color: var(--reading-text);
    transition: font-size 0.3s;
}

.article-body p {
    margin-bottom: 1.4em;
}

.article-body h2 {
    font-family: "DM Serif Display", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text);
    margin: 2.2em 0 0.8em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--border);
    line-height: 1.25;
}

.article-body h3 {
    font-family: "DM Serif Display", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    margin: 1.8em 0 0.6em;
}

.article-body strong {
    color: var(--text);
    font-weight: 600;
}

.article-body a {
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: #c4b5fd;
}

/* Drop cap */
.article-body .dropcap::first-letter {
    font-family: "DM Serif Display", serif;
    float: left;
    font-size: 4.2em;
    line-height: 0.78;
    margin: 0.04em 0.12em -0.04em 0;
    color: #a78bfa;
}

/* Pull quote */
.pullquote {
    margin: 2em 0;
    padding: 24px 28px;
    position: relative;
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #8b5cf6, #06b6d4) 1;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.07),
        rgba(6, 182, 212, 0.04)
    );
    border-radius: 0 12px 12px 0;
}

.pullquote p {
    font-family: "DM Serif Display", serif;
    font-size: 1.22rem !important;
    font-style: italic;
    color: var(--text) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.pullquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem !important;
    color: var(--text-2) !important;
    font-style: normal !important;
}

.pullquote cite::before {
    content: "— ";
}

/* Infographic box */
.info-box {
    margin: 2em 0;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    border-top: 3px solid var(--accent);
}

.info-box-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.info-stat .num {
    font-family: "Orbitron", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-stat .lbl {
    font-size: 0.72rem;
    color: var(--text-2);
    margin-top: 3px;
}

/* Timeline */
.timeline {
    margin: 1.8em 0;
    padding: 0;
    list-style: none;
}

.tl-item {
    display: flex;
    gap: 16px;
    padding-bottom: 22px;
    position: relative;
}

.tl-item::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 24px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.tl-item:last-child::before {
    display: none;
}

.tl-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    margin-top: 1px;
}

.tl-body {
}

.tl-time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    color: var(--accent-b);
    font-weight: 600;
    margin-bottom: 4px;
}

.tl-text {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.5;
}

.tl-text strong {
    color: var(--text);
}

/* Code / data block */
.data-block {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 1.4em 0;
    font-family: "Courier New", monospace;
    font-size: 0.82rem;
    color: #22d3ee;
    overflow-x: auto;
    line-height: 1.6;
}

.data-block .comment {
    color: var(--text-3);
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    /* margin: 2.5em 0 0; */
}

.tag {
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
}

.tag:hover {
    border-color: var(--accent-b);
    color: var(--accent-b);
    background: rgba(6, 182, 212, 0.06);
}

/* ── SHARE SECTION ── */
.share-section {
    margin-top: 36px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.share-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-2);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.share-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.25s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.tw:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.07);
}

.share-btn.fb:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.07);
}

.share-btn.wa:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.07);
}

.share-btn.link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139, 92, 246, 0.07);
}

/* ── AUTHOR BOX ── */
.author-box {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(139, 92, 246, 0.35);
}

.author-box-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.author-box-role {
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.author-box-bio {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.6;
}

.author-follow-btn {
    margin-top: 12px;
    padding: 7px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border: none;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.author-follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

/* ── SIDEBAR ── */

.sidebar {
    position: sticky;
    display: flex;
    top: 160px;
    flex-direction: column;
    gap: 22px;
    align-self: start; /* 🔥 INI PENTING */
}

.home .sidebar {
    top: 130px !important;
}

/* STICKY SIDEBAR */
.sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.sidebar .sidebar-head {
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    color: #fff;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.sidebar .sidebar-head::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: white;
}

.sidebar-head {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-head::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-b));
}

/* Related */
.related-item {
    display: flex;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

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

.related-item:hover {
    background: rgba(139, 92, 246, 0.06);
}

.related-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.related-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 5px;
}

.related-meta {
    font-size: 0.68rem;
    color: var(--text-3);
}

/* Live updates sidebar */
.live-update-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.live-update-item:last-child {
    border-bottom: none;
}

.lu-time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    color: var(--accent-b);
    font-weight: 600;
    white-space: nowrap;
    padding-top: 2px;
    min-width: 36px;
}

.lu-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.lu-text {
    font-size: 0.78rem;
    color: var(--text-2);
    line-height: 1.45;
}

.lu-text strong {
    color: var(--text);
}

/* Ad sidebar */
.side-ad {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.side-ad-label {
    font-size: 0.58rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 14px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.side-ad-body {
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.side-ad-icon {
    font-size: 2.4rem;
}

.side-ad-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.side-ad-sub {
    font-size: 0.72rem;
    color: var(--text-2);
    line-height: 1.5;
}

.side-ad-btn {
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.side-ad-btn.purple {
    background: linear-gradient(135deg, #7c3aed, #f472b6);
    color: #fff;
}

.side-ad-btn.cyan {
    background: linear-gradient(135deg, #06b6d4, #10b981);
    color: #fff;
}

.side-ad-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Poll widget */
.poll-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.poll-option:last-of-type {
    border-bottom: none;
}

.poll-option:hover {
    background: rgba(139, 92, 246, 0.06);
}

.poll-label {
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.poll-label strong {
    color: var(--text);
}

.poll-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--surface);
    overflow: hidden;
}

.poll-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-footer {
    padding: 10px 16px;
    font-size: 0.68rem;
    color: var(--text-3);
    text-align: center;
}

/* ── COMMENTS ── */
.comments-section {
    margin-top: 48px;
}

.comments-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.comment-form .author-avatar {
    width: 38px;
    height: 38px;
}

.comment-input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.85rem;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border 0.3s;
    min-height: 80px;
    line-height: 1.5;
}

.comment-textarea:focus {
    border-color: var(--accent);
}

.comment-send-btn {
    align-self: flex-end;
    padding: 8px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.comment-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.comment-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.comment-bubble {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0 14px 14px 14px;
    padding: 14px 16px;
}

.comment-user {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.comment-time {
    font-size: 0.68rem;
    color: var(--text-3);
    margin-bottom: 8px;
}

.comment-text {
    font-size: 0.83rem;
    color: var(--text-2);
    line-height: 1.55;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.comment-act-btn {
    font-size: 0.7rem;
    color: var(--text-3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s;
}

.comment-act-btn:hover {
    color: var(--accent);
}

/* ── MORE ARTICLES ── */
.more-section {
    margin-top: 52px;
}

.more-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.more-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.more-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hi);
    box-shadow: var(--glow);
}

.more-thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.more-body {
    padding: 14px;
}

.more-cat {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.more-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
}

.more-meta {
    font-size: 0.68rem;
    color: var(--text-3);
}

/* ── NEWSLETTER INLINE ── */
.inline-newsletter {
    margin: 2.5em 0;
    padding: 26px 28px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.12),
        rgba(6, 182, 212, 0.07)
    );
    border: 1px solid var(--border-hi);
    border-radius: 16px;
    text-align: center;
}

.nl-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 6px;
}

.nl-sub {
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 14px;
}

.nl-form {
    display: flex;
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.nl-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 14px;
    color: var(--text);
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    transition: border 0.3s;
}

.nl-input:focus {
    border-color: var(--accent);
}

.nl-btn {
    background: linear-gradient(135deg, #7c3aed, #f472b6);
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.3s;
}

.nl-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

/* ── FOOTER ── */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 36px 28px 20px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-3);
}

.footer-links-row {
    display: flex;
    gap: 16px;
}

.footer-links-row a {
    font-size: 0.75rem;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-row a:hover {
    color: #a78bfa;
}

/* ── SCROLL TO TOP ── */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#scrollTop.show {
    display: flex;
}

#scrollTop:hover {
    transform: translateY(-3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .main-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        position: static;
    }

    .more-grid {
        grid-template-columns: 1fr 1fr;
    }

    header .header-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .art-headline {
        font-size: 1.7rem;
    }

    .hero-content {
        padding: 36px 18px 36px;
    }

    .main-wrap {
        padding: 24px 16px 40px;
    }

    .more-grid {
        grid-template-columns: 1fr;
    }

    .share-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nl-form {
        flex-direction: column;
    }

    .action-bar-inner {
        padding: 10px 16px;
    }
}

/* ── ANIM ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fu {
    animation: fadeUp 0.6s ease both;
}

.fu1 {
    animation-delay: 0.1s;
}

.fu2 {
    animation-delay: 0.2s;
}

.fu3 {
    animation-delay: 0.3s;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s;
}
.icon-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--glow);
}
.sub-btn {
    background: linear-gradient(135deg, #7c3aed, #f472b6);
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s;
}
.sub-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.5);
}

/* Featured item */
.featured {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.related-thumb-large {
    width: 100%;
    height: 120px;
}

.related-thumb-large img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.related-title-large {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* List item */
.related-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.related-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.text-theme {
    color: var(--text-2) !important;
}

.ad-image-link {
    display: block;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.ad-box:hover .ad-image {
    transform: scale(1.03);
}

.logo img {
    max-height: 50px;
    transition: 0.3s ease;
}

.logo img:hover {
    opacity: 0.85;
}

.news-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.left-column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

/* IMAGE */
.card-img {
    height: 200px;
    overflow: hidden;
}

.big-card .card-img {
    height: 65%;
    min-height: 65%;
}

/* Image fit */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BIG CARD FULL HEIGHT */
/* .big-card {
    display: flex;
    flex-direction: column;
}

.big-card .card-img {
    flex: 1;
}

.big-card .card-body {
    padding: 20px;
} */

/* Small card body */
.small-card .card-body {
    padding: 16px;
}

/* Title size */
.big-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.tag-cloud {
    max-height: 250px; /* tinggi maksimal */
    overflow-y: auto; /* scroll kalau lebih */
    padding-right: 6px; /* biar ga nabrak scrollbar */
}

/* Optional: scrollbar lebih cantik */
.tag-cloud::-webkit-scrollbar {
    width: 6px;
}

.tag-cloud::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.tag-cloud::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.ad-label {
    position: absolute;
    top: 0;
    left: 0;
    background: #ffcc00;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-bottom-right-radius: 8px;
}

.ad-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    flex-wrap: nowrap;
}

/* Wrapper konten kiri */
.ad-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* CTA */
.ad-cta {
    white-space: nowrap;
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
    .ad-strip {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 16px;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    /* .ad-strip .ad-label {
        font-size: 0.6rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 6px 10px;
        text-align: center;
        border-bottom: 1px solid var(--border);
    } */

    .ad-strip .ad-content {
        padding: 16px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .ad-icon {
        font-size: 2.5rem;
    }

    .ad-strip .ad-title {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.3;
    }

    .ad-strip .ad-sub {
        font-size: 0.7rem;
        color: var(--text-secondary);
        line-height: 1.4;
    }

    .ad-strip .ad-cta {
        font-size: 0.72rem;
        font-weight: 600;
        padding: 7px 16px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        transition: all 0.3s;
        font-family: inherit;
        letter-spacing: 0.5px;
        width: 100%;
    }
}

/* .action-bar {
    padding-top: 10px;
} */
/* .action-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
} */

.action-title {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Group tombol kanan */
.action-group {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;

    overflow-x: auto;
    white-space: nowrap;

    flex: 1;
    min-width: 0;
}

/* Supaya tiap item tidak mengecil */
.action-group > * {
    flex-shrink: 0;
}

/* Scrollbar kecil saja */
.action-group::-webkit-scrollbar {
    height: 4px;
}
