/* ========================================
   SIKATIN - Components (Minifolio-inspired)
   ======================================== */

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    z-index: 9999;
    background: transparent;
    border-bottom: 1.5px solid transparent;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(6, 6, 6, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1.5px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    z-index: 10001;
}

.nav-brand img {
    height: 42px;
    width: auto;
}

.nav-brand span {
    color: var(--theme-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: all var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-color);
    border-radius: 1px;
    transition: width var(--transition-medium);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--theme-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 4px;
}

.nav-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 100px 32px 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links > a,
    .nav-links > .nav-dropdown > .nav-dropdown-trigger {
        font-family: var(--font-ui);
        font-size: 1.1rem;
        font-weight: 500;
        text-transform: none;
        color: var(--text-secondary);
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        width: 100%;
        display: block;
        letter-spacing: 0;
    }

    .nav-links > a:hover,
    .nav-links > a.active,
    .nav-links > .nav-dropdown > .nav-dropdown-trigger:hover {
        color: var(--theme-color);
    }

    .nav-links > a::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-dropdown .nav-dropdown-trigger {
        padding: 16px 0 !important;
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        padding: 0 0 12px 16px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .nav-dropdown .nav-dropdown-trigger svg {
        display: none;
    }

    .nav-dropdown-menu a {
        font-size: 0.95rem !important;
        font-weight: 400 !important;
        text-transform: none !important;
        padding: 10px 0 !important;
        border: none !important;
        border-radius: 0 !important;
        color: var(--text-muted) !important;
    }

    .nav-dropdown-menu a:hover {
        color: var(--theme-color) !important;
        background: transparent !important;
    }

    .nav-dropdown-menu a svg {
        width: 14px;
        height: 14px;
        opacity: 0.4;
    }
}

/* ---- Buttons (Minifolio style) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: var(--radius-xl);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--theme-color);
    color: var(--bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4ade80, #14b8a6);
    transition: left var(--transition-medium);
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(191, 247, 71, 0.25);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.85rem;
}

/* Icon button (Minifolio arrow style) */
.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    padding: 0;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    transform: rotate(-45deg);
    transition: transform var(--transition-fast);
}

.btn-icon:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--bg-primary);
}

.btn-icon:hover svg {
    transform: rotate(0deg);
}

/* ---- Cards (Minifolio style) ---- */
.card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.card:hover {
    border-color: var(--theme-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-medium);
}

.card-thumbnail-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.2;
    color: var(--theme-color);
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.card:hover .card-thumbnail img,
.card:hover .card-thumbnail-placeholder {
    transform: scale(1.08);
}

.card-body {
    padding: 28px;
}

.card-category {
    display: inline-block;
    padding: 5px 14px;
    background: var(--theme-color);
    color: var(--bg-primary);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    transition: color var(--transition-fast);
}

.card-title a:hover {
    color: var(--theme-color);
}

.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta .dot {
    width: 5px;
    height: 5px;
    background: var(--theme-color);
    border-radius: 50%;
}

/* ---- Article Grid ---- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---- Search Bar ---- */
.search-bar {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 16px 24px 16px 52px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px rgba(191, 247, 71, 0.08);
}

.search-bar svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

/* ---- Filter Chips ---- */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 10px 22px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-chip:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.filter-chip.active {
    background: var(--theme-color);
    color: var(--bg-primary);
    border-color: var(--theme-color);
    font-weight: 700;
}

/* ---- Sort Dropdown ---- */
.sort-select {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-select:focus {
    border-color: var(--theme-color);
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 180px 0 140px;
    background: var(--bg-secondary);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}

.hero h1 {
    margin-bottom: 28px;
    font-weight: 800;
    line-height: 1.05;
}

.hero p {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 44px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 247, 71, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--theme-color);
    top: 5%;
    left: -8%;
    animation: float-bob-y 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 250px;
    height: 250px;
    background: var(--accent-teal);
    bottom: 10%;
    right: -3%;
    animation: float-bob-y 6s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 180px;
    height: 180px;
    background: var(--accent-green);
    top: 55%;
    left: 12%;
    animation: float-bob-x 10s ease-in-out infinite;
}

/* Page Hero (shorter) */
.page-hero {
    padding: 160px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-bottom: 1.5px solid var(--border-color);
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---- Category Card ---- */
.category-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-6px);
}

.category-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.category-card:hover .icon {
    background: var(--theme-color);
    border-color: var(--theme-color);
}

.category-card h4 {
    margin-bottom: 8px;
    text-transform: none;
}

.category-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-secondary);
    border-top: 1.5px solid var(--border-color);
    padding: 80px 0 0;
    position: relative;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 36px;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--theme-color);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--theme-color);
}

.footer-bottom {
    border-top: 1.5px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

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

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(191, 247, 71, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(191, 247, 71, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--bg-primary);
}

/* ---- Newsletter ---- */
.newsletter-section {
    position: relative;
}

.newsletter-box {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box h3 {
    margin-bottom: 16px;
    text-transform: none;
}

.newsletter-box p {
    margin-bottom: 36px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--theme-color);
}

@media (max-width: 640px) {
    .newsletter-box {
        padding: 40px 24px;
    }

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

/* ---- Article Content ---- */
.article-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 56px 0 20px;
    text-transform: none;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    text-transform: none;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 28px 28px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 3px solid var(--theme-color);
    padding: 20px 28px;
    margin: 32px 0;
    background: rgba(191, 247, 71, 0.03);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content blockquote p {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 48px 0;
    padding-top: 28px;
    border-top: 1.5px solid var(--border-color);
}

.article-tag {
    padding: 6px 18px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.article-tag:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

/* Share */
.share-section {
    padding: 28px 0;
    border-top: 1.5px solid var(--border-color);
}

.share-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: none;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.share-btn:hover {
    background: var(--theme-color);
    color: var(--bg-primary);
    border-color: var(--theme-color);
}

/* ---- Contact Form ---- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px rgba(191, 247, 71, 0.06);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

/* ---- FAQ Accordion ---- */
.faq-item {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(191, 247, 71, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    cursor: pointer;
    background: var(--bg-card);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--theme-color);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ---- Stats ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.stat-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--theme-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-ui);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ---- Two Column Layout ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 100px 24px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0.3;
}

.empty-state h3 {
    margin-bottom: 12px;
    color: var(--text-secondary);
    text-transform: none;
}

.empty-state p {
    margin-bottom: 24px;
}

/* ---- Contact Info ---- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}

.contact-info-card:hover {
    border-color: var(--theme-color);
}

.contact-info-card .icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.contact-info-card:hover .icon-wrap {
    background: var(--theme-color);
    border-color: var(--theme-color);
}

.contact-info-card .icon-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--theme-color);
    transition: color var(--transition-fast);
}

.contact-info-card:hover .icon-wrap svg {
    color: var(--bg-primary);
}

.contact-info-card h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-transform: none;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Glass Panel ---- */
.glass-panel {
    background: var(--glass-bg);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    box-shadow: var(--glass-shadow);
}

/* ---- Vision/Mission Cards ---- */
.vm-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--theme-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.vm-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-4px);
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card .vm-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.vm-card:hover .vm-icon {
    background: var(--theme-color);
    border-color: var(--theme-color);
}

.vm-card:hover .vm-icon svg {
    color: var(--bg-primary);
}

.vm-card .vm-icon svg {
    width: 24px;
    height: 24px;
    color: var(--theme-color);
}

.vm-card h4 {
    margin-bottom: 12px;
    text-transform: none;
}

.vm-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ========================================
   Newsletter / Editorial Landing Page
   ======================================== */

/* ---- Masthead ---- */
.masthead {
    padding: 120px 0 48px;
    text-align: center;
    border-bottom: 2px solid var(--text-primary);
}

.masthead-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.masthead-logo img {
    height: 52px;
}

.masthead-logo h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 4px;
    line-height: 1;
}

.masthead-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

.masthead-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* ---- Featured / Hero Article ---- */
.featured-hero {
    padding: 64px 0;
    border-bottom: 1.5px solid var(--border-color);
}

.featured-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-hero-content .featured-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.featured-hero-content .featured-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--theme-color);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.featured-hero-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: -1px;
}

.featured-hero-content h2 a:hover {
    color: var(--theme-color);
}

.featured-hero-content .featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.featured-hero-content .featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.featured-hero-content .featured-meta .cat {
    padding: 4px 12px;
    background: var(--theme-color);
    color: var(--bg-primary);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-hero-thumb {
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.featured-hero-thumb:hover {
    border-color: var(--theme-color);
}

.featured-hero-thumb svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.15;
}

@media (max-width: 768px) {
    .featured-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .featured-hero-inner .featured-hero-thumb {
        order: -1;
        aspect-ratio: 16/9;
    }
}

/* ---- Editorial Grid (newspaper layout) ---- */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
}

.editorial-grid .grid-divider {
    background: var(--border-color);
}

.editorial-col {
    padding: 0 40px;
}

.editorial-col:first-child {
    padding-left: 0;
}

.editorial-col:last-child {
    padding-right: 0;
}

/* Headline Item (list-based, no card) */
.headline-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

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

.headline-item:hover {
    padding-left: 8px;
}

.headline-item .hl-category {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-color);
    margin-bottom: 10px;
    display: block;
}

.headline-item h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.3px;
}

.headline-item h3 a:hover {
    color: var(--theme-color);
}

.headline-item .hl-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-item .hl-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.headline-item .hl-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--theme-color);
    border-radius: 50%;
}

/* Big headline variant (for left column) */
.headline-item.headline-big h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.headline-item.headline-big .hl-excerpt {
    -webkit-line-clamp: 3;
    font-size: 1rem;
}

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

    .editorial-grid .grid-divider {
        height: 1px;
        width: 100%;
    }

    .editorial-col {
        padding: 0;
    }
}

/* ---- Section Title (editorial style) ---- */
.section-title-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
    padding: 20px 0;
    border-bottom: 2px solid var(--text-primary);
}

.section-title-bar h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    margin: 0;
}

.section-title-bar .title-line {
    flex: 1;
    height: 0;
}

.section-title-bar .title-count {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ---- Quick Topics Bar ---- */
.topics-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.topics-bar .topics-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-right: 8px;
}

.topics-bar a {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.topics-bar a:hover,
.topics-bar a.active {
    border-color: var(--theme-color);
    color: var(--bg-primary);
    background: var(--theme-color);
}

/* ---- Compact Newsletter CTA (inline) ---- */
.newsletter-inline {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 48px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
}

.newsletter-inline .nl-text {
    flex: 1;
}

.newsletter-inline .nl-text h3 {
    font-size: 1.5rem;
    text-transform: none;
    margin-bottom: 6px;
}

.newsletter-inline .nl-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.newsletter-inline .nl-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.newsletter-inline .nl-form input {
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 260px;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.newsletter-inline .nl-form input:focus {
    border-color: var(--theme-color);
}

@media (max-width: 768px) {
    .newsletter-inline {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 24px;
    }

    .newsletter-inline .nl-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-inline .nl-form input {
        width: 100%;
    }
}

/* ---- Read More Link (editorial) ---- */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap var(--transition-fast);
}

.read-more:hover {
    color: var(--theme-color);
    gap: 10px;
}

.read-more svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Google Ads Placements
   ======================================== */

.ad-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.ad-slot::after {
    content: 'Advertisement';
    position: absolute;
    top: 6px;
    right: 10px;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Leaderboard (728x90) - top of page */
.ad-leaderboard {
    max-width: 728px;
    min-height: 90px;
    margin: 0 auto;
}

/* In-article (responsive) */
.ad-in-article {
    min-height: 250px;
    margin: 40px 0;
}

/* Sidebar rectangle (300x250) */
.ad-rectangle {
    max-width: 300px;
    min-height: 250px;
}

/* Banner between sections */
.ad-banner {
    min-height: 100px;
    margin: 0;
}

/* Full-width responsive ad */
.ad-responsive {
    min-height: 120px;
}

/* Ad container with padding */
.ad-container {
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .ad-leaderboard {
        max-width: 100%;
        min-height: 60px;
    }

    .ad-in-article {
        min-height: 200px;
    }
}

/* ========================================
   Topic Landing Pages
   ======================================== */

/* Topic Hero */
.topic-hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1.5px solid var(--border-color);
}

.topic-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--topic-glow, rgba(191, 247, 71, 0.06)), transparent 70%);
    pointer-events: none;
}

.topic-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.topic-hero .topic-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.topic-hero .topic-icon svg {
    width: 32px;
    height: 32px;
    color: var(--theme-color);
}

.topic-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: -1px;
}

.topic-hero .topic-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.topic-hero .topic-stats {
    display: flex;
    gap: 32px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.topic-hero .topic-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-hero .topic-stats strong {
    color: var(--theme-color);
    font-weight: 700;
}

/* Topic Featured */
.topic-featured {
    padding: 64px 0;
    border-bottom: 1.5px solid var(--border-color);
}

.topic-featured-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.topic-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(191, 247, 71, 0.08);
    border: 1px solid rgba(191, 247, 71, 0.2);
    border-radius: var(--radius-xl);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.topic-featured-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--theme-color);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.topic-featured h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: -0.5px;
}

.topic-featured h2 a:hover {
    color: var(--theme-color);
}

.topic-featured .tf-excerpt {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.topic-featured .tf-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.topic-featured .tf-thumb {
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.topic-featured .tf-thumb:hover {
    border-color: var(--theme-color);
}

.topic-featured .tf-thumb svg {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    opacity: 0.15;
}

.topic-featured .tf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.topic-featured .tf-thumb:hover img {
    transform: scale(1.05);
}

.topic-featured .tf-thumb .tf-thumb-fallback svg {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    opacity: 0.15;
}

@media (max-width: 768px) {
    .topic-featured-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .topic-featured .tf-thumb {
        order: -1;
        aspect-ratio: 16/9;
    }
}

/* ========================================
   Modern News Grid (Multi-Headline)
   ======================================== */

/* News Section with category color strip */
.news-section {
    padding: 48px 0;
    border-bottom: 1.5px solid var(--border-color);
}

.news-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--theme-color);
}

.news-section-header .ns-icon {
    width: 40px;
    height: 40px;
    background: var(--theme-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-section-header .ns-icon svg {
    width: 20px;
    height: 20px;
    color: var(--bg-primary);
}

.news-section-header h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    flex: 1;
}

.news-section-header .ns-count {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.news-section-header .ns-link {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.news-section-header .ns-link svg {
    width: 12px;
    height: 12px;
}

/* News grid: featured left + list right */
.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.news-grid-featured {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.news-grid-featured .ngf-thumb {
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color var(--transition-fast);
}

.news-grid-featured .ngf-thumb:hover {
    border-color: var(--theme-color);
}

.news-grid-featured .ngf-thumb svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.15;
}

.news-grid-featured .ngf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.news-grid-featured .ngf-thumb:hover img {
    transform: scale(1.05);
}

.news-grid-featured .ngf-thumb .ngf-thumb-fallback svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.15;
}

.news-grid-featured h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    line-height: 1.2;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: -0.3px;
}

.news-grid-featured h3 a:hover {
    color: var(--theme-color);
}

.news-grid-featured .ngf-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-featured .ngf-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-grid-featured .ngf-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--theme-color);
    border-radius: 50%;
}

/* News list items (right side) */
.news-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

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

.news-list-item:hover {
    padding-left: 6px;
}

.news-list-item .nli-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(191, 247, 71, 0.15);
    line-height: 1;
    min-width: 36px;
    flex-shrink: 0;
}

.news-list-item .nli-content h4 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 6px;
    text-transform: none;
    font-weight: 600;
}

.news-list-item .nli-content h4 a:hover {
    color: var(--theme-color);
}

.news-list-item .nli-meta {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-list-item .nli-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 50%;
}

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

    .news-grid-featured {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 24px;
    }
}

/* ---- Trending Strip ---- */
.trending-strip {
    padding: 20px 0;
    border-bottom: 1.5px solid var(--border-color);
    overflow: hidden;
}

.trending-strip-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trending-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bg-primary);
    background: var(--theme-color);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    white-space: nowrap;
    flex-shrink: 0;
}

.trending-items {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trending-items::-webkit-scrollbar {
    display: none;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.trending-item:hover {
    color: var(--theme-color);
}

.trending-item .ti-num {
    font-weight: 700;
    color: var(--theme-color);
    font-size: 0.75rem;
}

/* ---- Multi-topic grid (landing page) ---- */
.topics-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.topics-showcase .topic-block {
    padding: 48px 40px;
    border: 0.5px solid var(--border-color);
    transition: all var(--transition-medium);
    position: relative;
}

.topics-showcase .topic-block:hover {
    background: rgba(191, 247, 71, 0.02);
}

.topics-showcase .topic-block .tb-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.topics-showcase .topic-block .tb-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.topics-showcase .topic-block:hover .tb-icon {
    background: var(--theme-color);
    border-color: var(--theme-color);
}

.topics-showcase .topic-block .tb-icon svg {
    width: 20px;
    height: 20px;
    color: var(--theme-color);
    transition: color var(--transition-fast);
}

.topics-showcase .topic-block:hover .tb-icon svg {
    color: var(--bg-primary);
}

.topics-showcase .topic-block .tb-header h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.topics-showcase .topic-block .tb-header .tb-link {
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.topics-showcase .topic-block:hover .tb-header .tb-link {
    opacity: 1;
}

.topics-showcase .tb-articles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.topics-showcase .tb-article {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.topics-showcase .tb-article:last-child {
    border-bottom: none;
}

.topics-showcase .tb-article:hover {
    padding-left: 6px;
}

.topics-showcase .tb-article h4 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 4px;
    text-transform: none;
    font-weight: 600;
}

.topics-showcase .tb-article h4 a:hover {
    color: var(--theme-color);
}

.topics-showcase .tb-article .tb-meta {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .topics-showcase {
        grid-template-columns: 1fr;
    }

    .topics-showcase .topic-block {
        padding: 32px 24px;
    }

    .topics-showcase .topic-block .tb-header .tb-link {
        opacity: 1;
    }
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown .nav-dropdown-trigger svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(6, 6, 6, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 10002;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: var(--font-ui) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: rgba(191, 247, 71, 0.06);
    color: var(--theme-color);
}

.nav-dropdown-menu a svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* ========================================
   Bloomberg/YouTube Dynamic Landing
   ======================================== */

/* ---- Live Ticker ---- */
.live-ticker {
    background: var(--bg-secondary);
    border-bottom: 1.5px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.live-ticker-inner {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

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

.live-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    white-space: nowrap;
    border-right: 1px solid var(--border-color);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.live-ticker-item:hover {
    color: var(--theme-color);
}

.live-ticker-item .tick-cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: var(--radius-xl);
    background: rgba(191, 247, 71, 0.1);
    color: var(--theme-color);
    flex-shrink: 0;
}

.live-ticker-item .tick-live {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-glow 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Bento Grid (Bloomberg-style mixed sizes) ---- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5px;
    background: var(--border-color);
    border: 1.5px solid var(--border-color);
}

.bento-item .bento-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    background: var(--bg-secondary);
}

.bento-item.bento-sm .bento-thumb {
    aspect-ratio: 16/10;
}

.bento-item .bento-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.bento-item:hover .bento-thumb img {
    transform: scale(1.05);
}

.bento-item .bento-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.bento-item .bento-thumb-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.15;
    color: var(--text-muted);
}

.bento-item {
    background: var(--bg-primary);
    padding: 28px;
    position: relative;
    transition: background var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    background: var(--bg-secondary);
}

/* Large - spans 8 cols */
.bento-item.bento-lg {
    grid-column: span 8;
    padding: 40px;
}

/* Medium - spans 4 cols */
.bento-item.bento-md {
    grid-column: span 4;
}

/* Small - spans 3 cols */
.bento-item.bento-sm {
    grid-column: span 3;
}

/* Full width */
.bento-item.bento-full {
    grid-column: span 12;
    display: flex;
    gap: 0;
}

.bento-item .bento-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.bento-item .bento-cat .cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.bento-item h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: -0.5px;
}

.bento-item h2 a:hover { color: var(--theme-color); }

.bento-item h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 10px;
    text-transform: none;
}

.bento-item h3 a:hover { color: var(--theme-color); }

.bento-item .bento-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.bento-item .bento-meta {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.bento-item .bento-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 50%;
}

.bento-item .bento-trend {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bento-item .bento-trend::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .bento-item.bento-lg { grid-column: span 12; }
    .bento-item.bento-md { grid-column: span 6; }
    .bento-item.bento-sm { grid-column: span 6; }
}

@media (max-width: 768px) {
    .bento-grid,
    .bento-grid-dense { grid-template-columns: 1fr !important; }
    .bento-item.bento-lg,
    .bento-item.bento-md,
    .bento-item.bento-sm,
    .bento-item.bento-full { grid-column: span 1 !important; }
    .bento-item.bento-full { flex-direction: column; }
}

/* ---- Category Color Dots ---- */
.cat-geopolitik { background: #ef4444; }
.cat-selfimprovement { background: #a855f7; }
.cat-history { background: #eab308; }
.cat-engineering { background: #3b82f6; }
.cat-pendidikan { background: #22c55e; }
.cat-teknologi { background: #06b6d4; }
.cat-tips { background: #f97316; }
.cat-kurikulum { background: #ec4899; }
.cat-literasi { background: #8b5cf6; }

.cat-text-geopolitik { color: #ef4444; }
.cat-text-selfimprovement { color: #a855f7; }
.cat-text-history { color: #eab308; }
.cat-text-engineering { color: #3b82f6; }
.cat-text-pendidikan { color: #22c55e; }
.cat-text-teknologi { color: #06b6d4; }
.cat-text-tips { color: #f97316; }
.cat-text-kurikulum { color: #ec4899; }
.cat-text-literasi { color: #8b5cf6; }

/* ---- Hot Topics Bar (YouTube-style pills) ---- */
.hot-topics {
    padding: 16px 0;
    border-bottom: 1.5px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hot-topics::-webkit-scrollbar { display: none; }

.hot-topics-inner {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.hot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.hot-pill:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.hot-pill.active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--bg-primary);
}

.hot-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hot-pill .pill-fire {
    font-size: 0.9em;
}

.hot-pill .pill-count {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ---- Dynamic Sections Container ---- */
#dynamicSections .news-section {
    opacity: 0;
    transform: translateY(20px);
    animation: sectionReveal 0.5s ease forwards;
}

#dynamicSections .news-section:nth-child(1) { animation-delay: 0s; }
#dynamicSections .news-section:nth-child(2) { animation-delay: 0.08s; }
#dynamicSections .news-section:nth-child(3) { animation-delay: 0.16s; }
#dynamicSections .news-section:nth-child(4) { animation-delay: 0.24s; }
#dynamicSections .news-section:nth-child(5) { animation-delay: 0.32s; }
#dynamicSections .news-section:nth-child(6) { animation-delay: 0.40s; }
#dynamicSections .news-section:nth-child(7) { animation-delay: 0.48s; }
#dynamicSections .news-section:nth-child(8) { animation-delay: 0.56s; }
#dynamicSections .news-section:nth-child(9) { animation-delay: 0.64s; }

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

/* ---- Article Sidebar Layout ---- */
.article-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-with-sidebar .article-main {
    min-width: 0;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--navbar-height) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--theme-color);
    margin-bottom: 16px;
}

.sidebar-section-title svg {
    width: 14px;
    height: 14px;
    color: var(--theme-color);
}

.sidebar-headline {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.sidebar-headline:last-child {
    border-bottom: none;
}

.sidebar-headline:hover {
    padding-left: 4px;
}

.sidebar-headline .sh-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    min-width: 28px;
    flex-shrink: 0;
    opacity: 0.15;
    color: var(--theme-color);
}

.sidebar-headline .sh-content h4 {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 4px;
    text-transform: none;
    font-weight: 600;
}

.sidebar-headline .sh-content h4 a:hover {
    color: var(--theme-color);
}

.sidebar-headline .sh-meta {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-headline .sh-meta .cat-badge {
    padding: 2px 6px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.55rem;
}

.sidebar-headline .sh-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .article-with-sidebar {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        max-height: none;
        border-top: 1.5px solid var(--border-color);
        padding-top: 32px;
    }
}

/* ---- Quick Mosaic (compact mixed grid for remaining articles) ---- */
.mosaic-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5px;
    background: var(--border-color);
    border-bottom: 1.5px solid var(--border-color);
}

.mosaic-row.mosaic-reverse {
    grid-template-columns: 1fr 1fr 2fr;
}

.mosaic-cell {
    background: var(--bg-primary);
    padding: 24px;
    transition: background var(--transition-fast);
}

.mosaic-cell:hover {
    background: var(--bg-secondary);
}

.mosaic-cell .mosaic-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    background: var(--bg-secondary);
}

.mosaic-cell:not(.mosaic-primary) .mosaic-thumb {
    aspect-ratio: 16/10;
}

.mosaic-cell .mosaic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.mosaic-cell:hover .mosaic-thumb img {
    transform: scale(1.05);
}

.mosaic-cell .mc-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mosaic-cell .mc-cat .cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 2px;
}

.mosaic-cell h3 {
    font-size: 1.1rem;
    line-height: 1.25;
    text-transform: none;
    margin-bottom: 8px;
}

.mosaic-cell h3 a:hover { color: var(--theme-color); }

.mosaic-cell.mosaic-primary h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.mosaic-cell .mc-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.mosaic-cell .mc-meta {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .mosaic-row,
    .mosaic-row.mosaic-reverse {
        grid-template-columns: 1fr;
    }
}

/* ---- Bento Reveal Animation ---- */
.bento-reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    animation: bentoReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--reveal-i, 0) * 0.08s);
}

@keyframes bentoReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bento-grid-dense {
    grid-template-columns: repeat(12, 1fr);
}

/* ---- Sidebar Scroll Animations ---- */
.sb-section-animate {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--sb-i, 0) * 0.15s);
}

.sb-section-animate.sh-visible {
    opacity: 1;
    transform: translateX(0);
}

.sh-animate {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--sh-i, 0) * 0.06s + 0.2s);
}

.sh-animate.sh-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar headline hover glow */
.sidebar-headline:hover .sh-num {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sidebar-headline:hover .sh-content h4 span {
    background: linear-gradient(90deg, var(--theme-color), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sidebar section title animated underline */
.sidebar-section-title {
    position: relative;
    overflow: hidden;
}

.sidebar-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-color), transparent);
    transform: translateX(-100%);
    animation: slideIn 0.8s ease forwards 0.3s;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

/* News section hover interactions */
.news-list-item {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.news-list-item:hover {
    transform: translateX(6px);
    background: rgba(255,255,255,0.02);
}

.news-list-item:hover .nli-num {
    color: var(--theme-color);
    opacity: 0.7;
}

/* ========================================
   INLINE VISUAL EDITOR (inline-editor.js)
   ======================================== */

/* --- FAB Button --- */
#sikatin-editor-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(191, 247, 71, 0.3);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    color: var(--theme-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#sikatin-editor-fab:hover {
    transform: scale(1.1);
    border-color: var(--theme-color);
    box-shadow: 0 0 24px rgba(191, 247, 71, 0.25);
}

#sikatin-editor-fab.active {
    background: var(--theme-color);
    color: #060606;
    border-color: var(--theme-color);
    box-shadow: 0 0 32px rgba(191, 247, 71, 0.4);
}

/* --- Top Toolbar --- */
#sie-top-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 44px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(191, 247, 71, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-family: var(--font-ui);
    animation: sieSlideDown 0.3s ease;
}

@keyframes sieSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sie-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sie-top-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-color);
    animation: siePulse 1.5s ease-in-out infinite;
}

@keyframes siePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(191, 247, 71, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(191, 247, 71, 0); }
}

.sie-top-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--theme-color);
    text-transform: uppercase;
}

.sie-top-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sie-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: var(--font-ui);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sie-top-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.sie-top-btn svg {
    flex-shrink: 0;
}

.sie-top-btn-accent {
    color: var(--theme-color);
}

.sie-top-btn-accent:hover {
    background: rgba(191, 247, 71, 0.12);
}

.sie-top-btn-close {
    color: #ff6b6b;
    margin-left: 4px;
}

.sie-top-btn-close:hover {
    background: rgba(255, 107, 107, 0.12);
}

.sie-top-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

/* Push page content down when toolbar active */
body.sikatin-editing {
    padding-top: 44px;
}

body.sikatin-editing .navbar {
    top: 44px;
}

/* --- Editable Elements --- */
.sie-editable {
    outline: 1px dashed rgba(191, 247, 71, 0.15);
    outline-offset: 2px;
    border-radius: 3px;
    transition: outline-color 0.2s ease, background 0.2s ease;
    cursor: text;
    min-height: 1em;
}

.sie-editable:hover {
    outline-color: rgba(191, 247, 71, 0.35);
}

.sie-editable.sie-active {
    outline: 2px solid rgba(191, 247, 71, 0.6);
    outline-offset: 3px;
    background: rgba(191, 247, 71, 0.03);
}

.sie-editable.sie-modified {
    border-left: 3px solid var(--theme-color);
    padding-left: 8px;
}

/* --- Floating Toolbar --- */
#sie-floating-toolbar {
    position: absolute;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: sieFadeIn 0.15s ease;
}

@keyframes sieFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

#sie-floating-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

#sie-floating-toolbar button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

#sie-floating-toolbar button.sie-tb-danger:hover {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.sie-tb-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 2px;
}

/* --- Toast --- */
.sie-toast {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 10002;
    padding: 10px 20px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(191, 247, 71, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.sie-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Export Modal --- */
.sie-export-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10010;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sieFadeIn 0.2s ease;
}

.sie-export-modal {
    width: 90%;
    max-width: 720px;
    max-height: 80vh;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sie-export-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sie-export-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sie-export-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sie-export-close:hover {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.sie-export-body {
    flex: 1;
    overflow: auto;
    padding: 16px 20px;
}

.sie-export-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}

.sie-export-footer {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sie-export-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sie-export-btn:hover {
    border-color: var(--theme-color);
    background: rgba(191, 247, 71, 0.08);
    color: var(--theme-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sie-top-actions {
        gap: 2px;
    }

    .sie-top-btn span:not(.sie-top-label) {
        display: none;
    }

    .sie-top-btn {
        padding: 5px 6px;
        font-size: 0;
    }

    .sie-top-btn svg {
        width: 16px;
        height: 16px;
    }

    #sie-floating-toolbar {
        flex-wrap: wrap;
        max-width: calc(100vw - 16px);
    }
}

/* ========================================
   MOBILE RESPONSIVE (Tablet / Large Phone)
   max-width: 768px
   ======================================== */
@media (max-width: 768px) {

    /* -- Masthead -- */
    .masthead {
        padding: 100px 0 36px;
    }

    .masthead-logo img {
        height: 36px;
    }

    .masthead-logo h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: 2px;
    }

    .masthead-tagline {
        font-size: 0.9rem;
    }

    .masthead-meta {
        gap: 14px;
        font-size: 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* -- Live Ticker -- */
    .live-ticker-item {
        padding: 10px 20px;
        font-size: 0.78rem;
        gap: 8px;
    }

    /* -- Bento Grid -- */
    .bento-grid,
    .bento-grid-dense {
        grid-template-columns: 1fr !important;
    }

    .bento-item.bento-lg,
    .bento-item.bento-md,
    .bento-item.bento-sm,
    .bento-item.bento-full {
        grid-column: span 1 !important;
    }

    .bento-item.bento-full {
        flex-direction: column;
    }

    .bento-item {
        padding: 20px;
    }

    .bento-item.bento-lg {
        padding: 24px;
    }

    .bento-item h2 {
        font-size: 1.35rem;
    }

    .bento-item h3 {
        font-size: 1rem;
    }

    .bento-item .bento-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .bento-item .bento-trend {
        font-size: 0.55rem;
        padding: 3px 8px;
    }

    .bento-item .bento-cat {
        font-size: 0.6rem;
        margin-bottom: 10px;
    }

    .bento-item .bento-meta {
        font-size: 0.65rem;
    }

    /* -- Mosaic Grid -- */
    .mosaic-cell {
        padding: 18px;
    }

    .mosaic-cell h3 {
        font-size: 1rem;
    }

    .mosaic-cell.mosaic-primary h3 {
        font-size: 1.15rem;
    }

    .mosaic-cell .mosaic-thumb {
        aspect-ratio: 16/10;
        margin-bottom: 10px;
    }

    .mosaic-cell .mc-excerpt {
        font-size: 0.8rem;
    }

    /* -- News Grid -- */
    .news-grid-featured h3 {
        font-size: 1.2rem;
    }

    .news-grid-featured .ngf-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .news-list-item .nli-num {
        font-size: 1.5rem;
        min-width: 28px;
    }

    .news-list-item .nli-content h4 {
        font-size: 0.92rem;
    }

    /* -- Page Hero -- */
    .page-hero {
        padding: 120px 0 48px;
    }

    .page-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    /* -- Article Content -- */
    .article-content {
        max-width: 100%;
        padding: 48px 20px;
    }

    .article-content h2 {
        font-size: 1.45rem;
        margin: 40px 0 16px;
    }

    .article-content h3 {
        font-size: 1.2rem;
        margin: 32px 0 12px;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
    }

    .article-content blockquote {
        padding: 16px 20px;
        margin: 24px 0;
    }

    /* -- Article Hero Image (inline on article pages) -- */
    .article-hero-img img {
        margin-top: -24px !important;
        border-radius: 8px !important;
    }

    /* -- Cards -- */
    .card-thumbnail {
        height: 180px;
    }

    .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-excerpt {
        font-size: 0.85rem;
    }

    /* -- Ad Slots -- */
    .ad-container {
        padding: 12px 0;
    }

    /* -- Back to Top -- */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }

    /* -- Section Header -- */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* -- News Section Header -- */
    .news-section-header {
        gap: 10px;
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .news-section-header h2 {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    /* -- Scrolling Marquee: overrides in animations.css -- */

    /* -- Two Col (About section) -- */
    .two-col img {
        max-width: 200px !important;
    }

    /* -- Topic Hero -- */
    .topic-hero {
        padding: 110px 0 56px;
    }

    .topic-hero .topic-desc {
        font-size: 1rem;
    }

    .topic-hero .topic-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    /* -- Headline items -- */
    .headline-item h3 {
        font-size: 1.2rem;
    }

    .headline-item.headline-big h3 {
        font-size: 1.35rem;
    }

    /* -- Stats Grid -- */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 32px 20px;
    }

    /* -- Inline Editor -- */
    #sikatin-editor-fab {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }

    #sie-top-toolbar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   MOBILE RESPONSIVE (Small Phone)
   max-width: 480px — targeting 375px devices
   ======================================== */
@media (max-width: 480px) {

    /* Base typography & container overrides are in style.css */

    /* -- Section Label -- */
    .section-label {
        font-size: 0.7rem;
        padding: 6px 14px;
        letter-spacing: 2px;
    }

    /* -- Buttons -- */
    .btn {
        padding: 14px 28px;
        font-size: 0.88rem;
    }

    .btn-sm {
        padding: 10px 20px;
        font-size: 0.82rem;
    }

    /* -- Masthead -- */
    .masthead {
        padding: 90px 0 28px;
    }

    .masthead-logo {
        gap: 10px;
        margin-bottom: 10px;
    }

    .masthead-logo img {
        height: 28px;
    }

    .masthead-logo h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .masthead-tagline {
        font-size: 0.82rem;
    }

    .masthead-meta {
        gap: 10px;
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        margin-top: 14px;
        padding-top: 14px;
    }

    /* -- Live Ticker -- */
    .live-ticker-item {
        padding: 8px 16px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .live-ticker-item .tick-cat {
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    /* -- Hot Topics -- */
    .hot-topics {
        padding: 10px 0;
    }

    .hot-topics-inner {
        gap: 6px;
    }

    .hot-pill {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 6px;
    }

    /* -- Bento Grid -- */
    .bento-grid,
    .bento-grid-dense {
        gap: 1px;
    }

    .bento-item {
        padding: 16px;
    }

    .bento-item.bento-lg {
        padding: 20px;
    }

    .bento-item .bento-thumb {
        margin-bottom: 12px;
        border-radius: 6px;
    }

    .bento-item h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .bento-item h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .bento-item .bento-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }

    /* Hide excerpt on small bento items at 375px */
    .bento-item.bento-sm .bento-excerpt {
        display: none;
    }

    .bento-item .bento-cat {
        font-size: 0.55rem;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .bento-item .bento-meta {
        font-size: 0.6rem;
        gap: 8px;
    }

    .bento-item .bento-trend {
        font-size: 0.5rem;
        padding: 2px 6px;
        top: 10px;
        right: 10px;
    }

    /* -- Mosaic Grid -- */
    .mosaic-row,
    .mosaic-row.mosaic-reverse {
        grid-template-columns: 1fr;
    }

    .mosaic-cell {
        padding: 14px;
    }

    .mosaic-cell h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .mosaic-cell.mosaic-primary h3 {
        font-size: 1.05rem;
    }

    .mosaic-cell .mosaic-thumb {
        aspect-ratio: 16/10;
        margin-bottom: 8px;
        border-radius: 4px;
    }

    .mosaic-cell .mc-excerpt {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .mosaic-cell .mc-cat {
        font-size: 0.55rem;
        margin-bottom: 6px;
    }

    .mosaic-cell .mc-meta {
        font-size: 0.6rem;
    }

    /* -- News Section -- */
    .news-section {
        padding: 32px 0;
    }

    .news-section-header {
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .news-section-header .ns-icon {
        width: 32px;
        height: 32px;
    }

    .news-section-header .ns-icon svg {
        width: 16px;
        height: 16px;
    }

    .news-section-header h2 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .news-section-header .ns-link {
        font-size: 0.65rem;
    }

    /* -- News Grid Featured -- */
    .news-grid-featured h3 {
        font-size: 1.1rem;
    }

    .news-grid-featured .ngf-excerpt {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
    }

    .news-grid-featured .ngf-meta {
        font-size: 0.68rem;
    }

    .news-grid-featured .ngf-thumb {
        aspect-ratio: 16/10;
    }

    /* -- News List Item -- */
    .news-list-item {
        gap: 10px;
        padding: 12px 0;
    }

    .news-list-item .nli-num {
        font-size: 1.3rem;
        min-width: 24px;
    }

    .news-list-item .nli-content h4 {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .news-list-item .nli-meta {
        font-size: 0.62rem;
    }

    /* -- Page Hero -- */
    .page-hero {
        padding: 100px 0 36px;
    }

    .page-hero h1 {
        font-size: clamp(1.4rem, 7vw, 2rem);
        margin-bottom: 10px;
    }

    .page-hero p {
        font-size: 0.88rem;
    }

    /* -- Article Content -- */
    .article-content {
        padding: 36px 14px;
    }

    .article-content h2 {
        font-size: 1.3rem;
        margin: 32px 0 12px;
    }

    .article-content h3 {
        font-size: 1.1rem;
        margin: 24px 0 10px;
    }

    .article-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .article-content li {
        font-size: 0.95rem;
    }

    .article-content blockquote {
        padding: 12px 16px;
        margin: 20px 0;
    }

    .article-content ul,
    .article-content ol {
        margin: 16px 0 20px 20px;
    }

    /* -- Article Hero Image -- */
    .article-hero-img {
        padding: 0 12px !important;
    }

    .article-hero-img img {
        margin-top: -20px !important;
        border-radius: 8px !important;
    }

    /* -- Article Tags -- */
    .article-tags {
        margin: 32px 0;
        padding-top: 20px;
        gap: 6px;
    }

    .article-tag {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    /* -- Article Sidebar Layout -- */
    .article-with-sidebar {
        padding: 36px 14px;
        gap: 32px;
    }

    /* -- Cards -- */
    .card-thumbnail {
        height: 160px;
    }

    .card-body {
        padding: 16px;
    }

    .card-title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .card-excerpt {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    .card-meta {
        font-size: 0.72rem;
        padding-top: 12px;
    }

    .card-category {
        font-size: 0.62rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .card:hover {
        transform: translateY(-4px);
    }

    /* -- Article Grid -- */
    .article-grid {
        gap: 16px;
    }

    /* -- Newsletter Inline -- */
    .newsletter-inline {
        padding: 24px 16px;
        gap: 18px;
    }

    .newsletter-inline .nl-text h3 {
        font-size: 1.2rem;
    }

    .newsletter-inline .nl-text p {
        font-size: 0.82rem;
    }

    .newsletter-inline .nl-form input {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    /* -- Newsletter Box -- */
    .newsletter-box {
        padding: 28px 16px;
    }

    .newsletter-box h3 {
        font-size: 1.2rem;
    }

    .newsletter-box p {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .newsletter-form input {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    /* -- Footer -- */
    .footer {
        padding: 48px 0 0;
    }

    .footer-grid {
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-brand span {
        font-size: 1.2rem;
    }

    .footer-desc {
        font-size: 0.82rem;
    }

    .footer h5 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .footer ul li {
        margin-bottom: 10px;
    }

    .footer ul li a {
        font-size: 0.82rem;
    }

    .footer-bottom {
        padding: 18px 0;
        font-size: 0.75rem;
    }

    /* -- Back to Top -- */
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

    .back-to-top svg {
        width: 16px;
        height: 16px;
    }

    /* -- Ad Slots -- */
    .ad-container {
        padding: 8px 0;
    }

    .ad-in-article {
        min-height: 180px;
        margin: 24px 0;
    }

    /* -- Section Header -- */
    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        margin-bottom: 14px;
    }

    .section-header p {
        font-size: 0.88rem;
    }

    /* -- Scrolling Marquee: overrides in animations.css -- */

    /* -- Section Title Bar -- */
    .section-title-bar {
        gap: 12px;
        padding: 14px 0;
    }

    .section-title-bar h2 {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    /* -- Category Grid -- */
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card {
        padding: 24px 16px;
    }

    .category-card .icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .category-card h4 {
        font-size: 1.1rem;
    }

    .category-card p {
        font-size: 0.78rem;
    }

    /* -- Topic Hero -- */
    .topic-hero {
        padding: 96px 0 40px;
    }

    .topic-hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .topic-hero .topic-desc {
        font-size: 0.92rem;
        margin-bottom: 20px;
    }

    .topic-hero .topic-stats {
        gap: 16px;
        font-size: 0.78rem;
    }

    .topic-hero .topic-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    /* -- Topic Featured -- */
    .topic-featured {
        padding: 40px 0;
    }

    .topic-featured h2 {
        font-size: 1.3rem;
    }

    .topic-featured .tf-excerpt {
        font-size: 0.9rem;
    }

    /* -- Featured Hero -- */
    .featured-hero {
        padding: 40px 0;
    }

    .featured-hero-content h2 {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .featured-hero-content .featured-excerpt {
        font-size: 0.92rem;
    }

    /* -- Headline Items -- */
    .headline-item {
        padding: 20px 0;
    }

    .headline-item h3 {
        font-size: 1.05rem;
    }

    .headline-item.headline-big h3 {
        font-size: 1.2rem;
    }

    .headline-item .hl-excerpt {
        font-size: 0.85rem;
    }

    /* -- Topics Showcase -- */
    .topics-showcase .topic-block {
        padding: 24px 16px;
    }

    .topics-showcase .tb-article h4 {
        font-size: 0.9rem;
    }

    /* -- Stats -- */
    .stat-number {
        font-size: 2rem;
    }

    .stat-card {
        padding: 28px 16px;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* -- Contact Info -- */
    .contact-info-card {
        padding: 18px;
        gap: 14px;
    }

    .contact-info-card .icon-wrap {
        width: 40px;
        height: 40px;
    }

    /* -- FAQ -- */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    .faq-answer-inner {
        padding: 0 18px 18px;
        font-size: 0.88rem;
    }

    /* -- Glass Panel -- */
    .glass-panel {
        padding: 28px 18px;
    }

    /* -- VM Card -- */
    .vm-card {
        padding: 28px 20px;
    }

    /* -- Share Section -- */
    .share-section {
        padding: 20px 0;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    /* -- Form -- */
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    /* -- Filter Bar -- */
    .filter-bar {
        gap: 6px;
        margin-bottom: 24px;
    }

    .filter-chip {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    /* -- Search Bar -- */
    .search-bar input {
        padding: 14px 20px 14px 44px;
        font-size: 0.88rem;
    }

    /* -- Sort Select -- */
    .sort-select {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    /* -- Inline Editor -- */
    #sikatin-editor-fab {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 16px;
    }

    .sie-toast {
        right: 12px;
        bottom: 64px;
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    /* -- Trending Strip -- */
    .trending-strip-inner {
        gap: 14px;
    }

    .trending-label {
        font-size: 0.62rem;
        padding: 5px 10px;
    }

    .trending-item {
        font-size: 0.78rem;
    }

    /* -- Empty State -- */
    .empty-state {
        padding: 60px 16px;
    }

    .empty-state svg {
        width: 56px;
        height: 56px;
    }

    /* -- Sidebar -- */
    .sidebar-headline .sh-content h4 {
        font-size: 0.82rem;
    }

    .sidebar-headline .sh-num {
        font-size: 1.2rem;
        min-width: 22px;
    }
}

/* ========================================
   BLOOMBERG-STYLE MOBILE REDESIGN
   This MUST remain at the very end of the file.
   Dense, editorial, dynamic mobile experience.
   ======================================== */
@media (max-width: 768px) {

    /* ── Navbar ── */
    .navbar {
        height: 60px !important;
    }

    .nav-brand img {
        height: 32px !important;
    }

    .nav-brand {
        font-size: 1.3rem !important;
        gap: 8px !important;
    }

    /* ── Masthead — compact Bloomberg header ── */
    .masthead {
        padding: 72px 0 20px !important;
        border-bottom: 2px solid var(--theme-color);
    }

    .masthead-logo {
        gap: 8px !important;
        margin-bottom: 6px !important;
    }

    .masthead-logo img {
        height: 28px !important;
    }

    .masthead-logo h1 {
        font-size: 1.8rem !important;
        letter-spacing: 3px !important;
    }

    .masthead-tagline {
        font-size: 0.72rem !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        opacity: 0.6;
    }

    .masthead-meta {
        font-size: 0.6rem !important;
        gap: 8px !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
        letter-spacing: 2px !important;
    }

    /* ── Live Ticker — tighter, Bloomberg-style ── */
    .live-ticker {
        border-top: 1px solid var(--border-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .live-ticker-item {
        padding: 8px 16px !important;
        font-size: 0.72rem !important;
        gap: 6px !important;
        font-weight: 600 !important;
    }

    .live-ticker-item .tick-cat {
        font-size: 0.55rem !important;
        padding: 2px 6px !important;
        letter-spacing: 0.5px !important;
    }

    .live-ticker-item .tick-live {
        width: 5px !important;
        height: 5px !important;
    }

    /* ── Hot Topics — compact scrollable pills ── */
    .hot-topics {
        padding: 10px 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .hot-topics-inner {
        gap: 6px !important;
    }

    .hot-pill {
        padding: 6px 14px !important;
        font-size: 0.7rem !important;
        gap: 5px !important;
        border-radius: 4px !important;
    }

    .hot-pill .pill-dot {
        width: 5px !important;
        height: 5px !important;
    }

    /* ── Bento Grid — Bloomberg card layout ── */
    .bento-grid,
    .bento-grid.bento-grid-dense,
    .bento-grid-dense {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        border-top: 1px solid var(--border-color);
    }

    .bento-item,
    .bento-item.bento-lg,
    .bento-item.bento-md,
    .bento-item.bento-sm,
    .bento-item.bento-full {
        grid-column: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        padding: 16px 20px !important;
    }

    .bento-item.bento-full {
        flex-direction: column !important;
    }

    /* Hero card — prominent with image */
    .bento-item.bento-lg {
        padding: 0 !important;
        border-bottom: 2px solid var(--theme-color) !important;
    }

    .bento-item.bento-lg .bento-thumb {
        border-radius: 0 !important;
        aspect-ratio: 16/9 !important;
        margin-bottom: 0 !important;
    }

    .bento-item.bento-lg .bento-cat,
    .bento-item.bento-lg h2,
    .bento-item.bento-lg .bento-excerpt,
    .bento-item.bento-lg .bento-meta {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .bento-item.bento-lg .bento-cat {
        padding-top: 14px !important;
    }

    .bento-item.bento-lg .bento-meta {
        padding-bottom: 16px !important;
    }

    .bento-item.bento-lg h2 {
        font-size: 1.3rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .bento-item.bento-lg .bento-excerpt {
        font-size: 0.82rem !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
    }

    /* Medium card — image + text side by side */
    .bento-item.bento-md {
        display: grid !important;
        grid-template-columns: 120px 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        gap: 0 14px !important;
        padding: 14px 20px !important;
        align-items: start !important;
    }

    .bento-item.bento-md .bento-thumb {
        grid-row: 1 / -1 !important;
        aspect-ratio: 1 !important;
        border-radius: 6px !important;
        margin-bottom: 0 !important;
        height: 100% !important;
        min-height: 100px !important;
    }

    .bento-item.bento-md .bento-cat {
        margin-bottom: 4px !important;
    }

    .bento-item.bento-md h3 {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }

    .bento-item.bento-md .bento-excerpt {
        font-size: 0.78rem !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 6px !important;
    }

    .bento-item.bento-md .bento-meta {
        font-size: 0.62rem !important;
    }

    /* Small cards — compact horizontal layout */
    .bento-item.bento-sm {
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 12px !important;
        padding: 12px 20px !important;
        align-items: center !important;
    }

    .bento-item.bento-sm .bento-thumb {
        grid-row: 1 / -1 !important;
        aspect-ratio: 1 !important;
        border-radius: 4px !important;
        margin-bottom: 0 !important;
        width: 80px !important;
        height: 80px !important;
    }

    .bento-item.bento-sm .bento-cat {
        font-size: 0.55rem !important;
        margin-bottom: 2px !important;
    }

    .bento-item.bento-sm h3 {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .bento-item.bento-sm .bento-excerpt {
        display: none !important;
    }

    .bento-item.bento-sm .bento-meta {
        font-size: 0.6rem !important;
    }

    /* Trending badge */
    .bento-item .bento-trend {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 6px 0 0 0 !important;
        font-size: 0.5rem !important;
        padding: 3px 8px !important;
    }

    .bento-item.bento-lg .bento-trend {
        top: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        border-radius: var(--radius-xl) !important;
    }

    .bento-item .bento-cat {
        font-size: 0.55rem !important;
        letter-spacing: 1.5px !important;
    }

    .bento-item .bento-meta {
        font-size: 0.6rem !important;
        color: var(--text-muted) !important;
    }

    /* ── News Sections — editorial Bloomberg style ── */
    .news-section {
        padding: 28px 0 !important;
    }

    .news-section-header {
        gap: 10px !important;
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
    }

    .news-section-header .ns-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 4px !important;
    }

    .news-section-header .ns-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .news-section-header h2 {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
    }

    .news-section-header .ns-link {
        font-size: 0.65rem !important;
    }

    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .news-grid-featured {
        border-right: none !important;
        padding-right: 0 !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid var(--border-color) !important;
        margin-bottom: 0 !important;
    }

    .news-grid-featured .ngf-thumb {
        aspect-ratio: 16/9 !important;
        border-radius: 8px !important;
        margin-bottom: 14px !important;
    }

    .news-grid-featured h3 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .news-grid-featured .ngf-excerpt {
        font-size: 0.82rem !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 8px !important;
    }

    .news-grid-featured .ngf-meta {
        font-size: 0.62rem !important;
    }

    .news-list-item {
        padding: 14px 0 !important;
    }

    .news-list-item .nli-num {
        font-size: 1.3rem !important;
        min-width: 28px !important;
        opacity: 0.15 !important;
    }

    .news-list-item .nli-content h4 {
        font-size: 0.88rem !important;
        line-height: 1.3 !important;
    }

    .news-list-item .nli-meta {
        font-size: 0.6rem !important;
    }

    /* ── Mosaic — compact card list ── */
    .mosaic-row,
    .mosaic-row.mosaic-reverse {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .mosaic-cell {
        padding: 16px 20px !important;
        border-bottom: 1px solid var(--border-color) !important;
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 12px !important;
        align-items: center !important;
    }

    .mosaic-cell .mosaic-thumb {
        grid-row: 1 / -1 !important;
        aspect-ratio: 1 !important;
        border-radius: 4px !important;
        margin-bottom: 0 !important;
        width: 80px !important;
        height: 80px !important;
    }

    .mosaic-cell.mosaic-primary {
        grid-template-columns: 1fr !important;
    }

    .mosaic-cell.mosaic-primary .mosaic-thumb {
        grid-row: auto !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        margin-bottom: 12px !important;
    }

    .mosaic-cell h3 {
        font-size: 0.88rem !important;
        margin-bottom: 4px !important;
        line-height: 1.25 !important;
    }

    .mosaic-cell.mosaic-primary h3 {
        font-size: 1.05rem !important;
    }

    .mosaic-cell .mc-cat {
        font-size: 0.55rem !important;
        margin-bottom: 3px !important;
    }

    .mosaic-cell .mc-excerpt {
        font-size: 0.78rem !important;
        -webkit-line-clamp: 2 !important;
    }

    .mosaic-cell .mc-meta {
        font-size: 0.58rem !important;
    }

    /* ── Scrolling Marquee — thinner, faster ── */
    .scrolling-wrap {
        padding: 12px 0 !important;
    }

    .scrolling-text span {
        font-size: clamp(1.2rem, 5vw, 2rem) !important;
    }

    /* ── Newsletter — compact stack ── */
    .newsletter-inline {
        padding: 24px 20px !important;
        flex-direction: column !important;
        gap: 16px !important;
        border-radius: 8px !important;
    }

    .newsletter-inline .nl-text h3 {
        font-size: 1.1rem !important;
    }

    .newsletter-inline .nl-text p {
        font-size: 0.82rem !important;
    }

    .newsletter-inline .nl-form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .newsletter-inline .nl-form input {
        width: 100% !important;
    }

    /* ── Two Column — stack ── */
    .two-col {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* ── Section Spacing — tighter ── */
    .section-padding {
        padding: 40px 0 !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ── Footer — Bloomberg-style compact ── */
    .footer {
        padding: 32px 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-grid h5 {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        margin-bottom: 8px !important;
        color: var(--text-muted) !important;
    }

    .footer-grid ul li {
        margin-bottom: 4px !important;
    }

    .footer-grid ul li a {
        font-size: 0.82rem !important;
    }

    .footer-brand {
        margin-bottom: 8px !important;
    }

    .footer-brand img {
        height: 28px !important;
    }

    .footer-brand span {
        font-size: 1.2rem !important;
    }

    .footer-desc {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 20px !important;
        padding-top: 16px !important;
        font-size: 0.7rem !important;
    }

    /* ── Ad containers ── */
    .ad-container {
        padding: 8px 0 !important;
    }

    /* ── Section Labels ── */
    .section-label {
        font-size: 0.65rem !important;
        padding: 5px 12px !important;
        letter-spacing: 2px !important;
    }

    /* ── Buttons ── */
    .btn {
        padding: 14px 24px !important;
        font-size: 0.85rem !important;
    }

    .btn-sm {
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
    }

    /* ── General Typography Bloomberg feel ── */
    h1 { font-size: clamp(1.6rem, 6vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.2rem, 4vw, 1.8rem) !important; }

    /* ── Article cards in listing page ── */
    .article-card {
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    /* ── Stats / Glass panels ── */
    .glass-panel {
        padding: 20px 16px !important;
        border-radius: 8px !important;
    }

    .stat-card {
        padding: 24px 16px !important;
    }

    /* ── Search & Filter ── */
    .search-bar input {
        padding: 12px 16px 12px 40px !important;
        font-size: 0.85rem !important;
    }

    .filter-bar {
        gap: 6px !important;
    }

    .filter-chip {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
    }
}

/* ── Extra small (375px devices) ── */
@media (max-width: 480px) {
    .bento-item.bento-md {
        grid-template-columns: 90px 1fr !important;
    }

    .bento-item.bento-sm {
        grid-template-columns: 70px 1fr !important;
    }

    .bento-item.bento-sm .bento-thumb {
        width: 70px !important;
        height: 70px !important;
    }

    .bento-item.bento-lg h2 {
        font-size: 1.15rem !important;
    }

    .mosaic-cell .mosaic-thumb {
        width: 70px !important;
        height: 70px !important;
    }

    .mosaic-cell {
        grid-template-columns: 70px 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .news-section-header h2 {
        font-size: 0.75rem !important;
    }
}
