/* ============================================
   58Q.com - Global Stylesheet
   Dark Gaming Theme / Google SEO Optimized
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0e17;
    color: #e5e7eb;
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #10b981; text-decoration: none; transition: color .2s; }
a:hover { color: #34d399; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: #f9fafb; line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: .75rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; color: #d1d5db; }

.highlight { color: #10b981; }
.highlight-gold { color: #f59e0b; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 60px 0; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header .section-title { font-size: 2rem; margin-bottom: 12px; }
.section-header .section-subtitle { color: #9ca3af; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #34d399, #10b981); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,.35); }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #0a0e17; }
.btn-gold:hover { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0a0e17; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.35); }
.btn-outline { border: 2px solid #10b981; color: #10b981; background: transparent; }
.btn-outline:hover { background: #10b981; color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* --- Header --- */
.site-header {
    background: rgba(10, 14, 23, .95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform .3s;
}
.site-header.hide { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: #f9fafb; }
.logo .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #10b981, #059669); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: #fff; }
.logo .logo-text { font-size: 1.6rem; }
.logo .logo-text span { color: #10b981; }

.main-nav .nav-list {
    display: flex;
    gap: 6px;
}
.main-nav .nav-list a {
    display: block;
    padding: 8px 16px;
    border-radius: 6px;
    color: #d1d5db;
    font-size: .9rem;
    font-weight: 500;
    transition: all .2s;
}
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: #10b981;
    background: rgba(16,185,129,.1);
}

.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-login { background: transparent; border: 1px solid #374151; color: #d1d5db; padding: 8px 20px; border-radius: 6px; font-weight: 600; font-size: .9rem; }
.btn-login:hover { border-color: #10b981; color: #10b981; }
.btn-register { background: #10b981; color: #fff; padding: 8px 20px; border-radius: 6px; font-weight: 600; font-size: .9rem; }
.btn-register:hover { background: #34d399; color: #fff; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span { width: 24px; height: 2px; background: #d1d5db; transition: .3s; border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: #111827;
    z-index: 999;
    transition: right .3s;
    padding: 24px;
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-menu .mobile-nav-list { margin-bottom: 24px; }
.mobile-menu .mobile-nav-list li { margin-bottom: 4px; }
.mobile-menu .mobile-nav-list a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: #d1d5db;
    font-weight: 500;
}
.mobile-menu .mobile-nav-list a:hover,
.mobile-menu .mobile-nav-list a.active { background: rgba(16,185,129,.1); color: #10b981; }
.mobile-menu .mobile-actions { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu .mobile-actions .btn { width: 100%; text-align: center; }

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 16px 0;
    font-size: .85rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
}
.breadcrumbs li { display: flex; align-items: center; gap: 4px; color: #6b7280; }
.breadcrumbs li::after { content: '›'; margin: 0 4px; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs li:last-child { color: #10b981; }
.breadcrumbs a { color: #9ca3af; }
.breadcrumbs a:hover { color: #10b981; }

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #0a0e17 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { max-width: 640px; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero-content h1 .brand { color: #10b981; }
.hero-subtitle { font-size: 1.1rem; color: #9ca3af; margin-bottom: 28px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .stat-number { font-size: 1.5rem; font-weight: 800; color: #10b981; }
.hero-stat .stat-label { font-size: .8rem; color: #6b7280; margin-top: 4px; }

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all .3s;
}
.feature-card:hover { border-color: #10b981; transform: translateY(-4px); box-shadow: 0 8px 30px rgba(16,185,129,.1); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-title { font-size: 1rem; margin-bottom: 8px; }
.feature-text { font-size: .85rem; color: #9ca3af; margin-bottom: 0; }

/* --- Category Cards --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
    display: block;
}
.category-card:hover { border-color: #10b981; transform: translateY(-4px); box-shadow: 0 8px 30px rgba(16,185,129,.12); }
.category-card .card-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827, #1f2937);
    overflow: hidden;
}
.category-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.category-card:hover .card-icon img {
    transform: scale(1.05);
}
.category-card .card-body { padding: 16px; }
.category-card .card-title { font-size: 1rem; margin-bottom: 4px; }
.category-card .card-count { font-size: .8rem; color: #6b7280; margin-bottom: 0; }

/* --- Article Cards --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.article-card:hover { border-color: #10b981; transform: translateY(-4px); box-shadow: 0 8px 30px rgba(16,185,129,.12); }
.article-card .card-thumb {
    height: 180px;
    background: linear-gradient(135deg, #1f2937, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.article-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.article-card:hover .card-thumb img {
    transform: scale(1.05);
}
.article-card .card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16,185,129,.9);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.article-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card .card-title { font-size: 1.05rem; margin-bottom: 10px; }
.article-card .card-title a { color: #f3f4f6; }
.article-card .card-title a:hover { color: #10b981; }
.article-card .card-excerpt { font-size: .88rem; color: #9ca3af; margin-bottom: 14px; flex: 1; }
.article-card .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #6b7280; }

/* --- Promotion Cards --- */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.promotion-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 14px;
    display: flex;
    overflow: hidden;
    transition: all .3s;
}
.promotion-card:hover { border-color: #f59e0b; box-shadow: 0 8px 30px rgba(245,158,11,.1); }
.promotion-icon-box {
    width: 140px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937, #111827);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.promotion-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promotion-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: #0a0e17;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.promotion-body { padding: 20px; flex: 1; }
.promotion-title { font-size: 1.1rem; margin-bottom: 8px; }
.promotion-text { font-size: .88rem; color: #9ca3af; margin-bottom: 14px; }

/* --- VIP Section --- */
.vip-section { background: #111827; }
.vip-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vip-card {
    background: #0a0e17;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all .3s;
}
.vip-card:hover { transform: translateY(-4px); }
.vip-card-header {
    padding: 20px;
    font-size: 2rem;
}
.vip-card-header.bronze { background: linear-gradient(135deg, #92400e, #78350f); }
.vip-card-header.silver { background: linear-gradient(135deg, #6b7280, #4b5563); }
.vip-card-header.gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.vip-card-header.diamond { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.vip-card-header h4 { margin-top: 6px; font-size: 1rem; }
.vip-card-body { padding: 20px; }
.vip-card-body p { font-size: .85rem; margin-bottom: 8px; color: #9ca3af; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #064e3b, #065f46, #047857);
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { color: #a7f3d0; font-size: 1.05rem; margin-bottom: 24px; }
.cta-section .btn { background: #fff; color: #065f46; font-weight: 700; }
.cta-section .btn:hover { background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,.2); }

/* --- Article Page --- */
.article-page { padding: 20px 0 60px; }
.article-page .article-header { margin-bottom: 32px; }
.article-page .article-header h1 { font-size: 2rem; line-height: 1.4; }
.article-page .article-meta { display: flex; gap: 20px; color: #6b7280; font-size: .85rem; margin-top: 12px; }

.article-content { max-width: 800px; overflow-wrap: break-word; word-break: break-word; }
.article-content h2 { font-size: 1.5rem; margin-top: 36px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #1f2937; }
.article-content h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 12px; }
.article-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; color: #d1d5db; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content strong { color: #f9fafb; }

.article-content .info-box {
    background: #111827;
    border-left: 4px solid #10b981;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}
.article-content .info-box p { margin-bottom: 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: 8px; }
.game-table { width: 100%; border-collapse: collapse; min-width: 400px; }
.game-table th, .game-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #1f2937; white-space: nowrap; }
.game-table th { background: #111827; color: #10b981; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.game-table td { color: #d1d5db; font-size: .9rem; }
.game-table tr:hover td { background: rgba(16,185,129,.05); }

.faq-section { margin-top: 40px; }
.faq-item { background: #111827; border: 1px solid #1f2937; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 16px 20px; cursor: pointer; font-weight: 600; color: #f3f4f6; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.2rem; color: #10b981; transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .3s; }
.faq-item.active .faq-answer { padding: 0 20px 16px; max-height: 500px; }
.faq-answer p { font-size: .9rem; margin-bottom: 0; }

.article-sidebar {
    position: sticky;
    top: 90px;
}
.sidebar-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #1f2937; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card li a { color: #9ca3af; font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.sidebar-card li a:hover { color: #10b981; }
.sidebar-card li a::before { content: '›'; color: #10b981; font-weight: 700; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* --- Category Page --- */
.category-hero {
    padding: 48px 0 32px;
    background: linear-gradient(135deg, #0a0e17, #111827);
}
.category-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.category-hero p { color: #9ca3af; max-width: 600px; }

.category-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.category-article-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px;
    transition: all .3s;
}
.category-article-card:hover { border-color: #10b981; transform: translateY(-2px); }
.category-article-card h3 { margin-bottom: 10px; }
.category-article-card h3 a { color: #f3f4f6; }
.category-article-card h3 a:hover { color: #10b981; }
.category-article-card p { font-size: .9rem; color: #9ca3af; }
.category-article-card .meta { font-size: .8rem; color: #6b7280; margin-top: 12px; }

/* --- Footer --- */
.site-footer {
    background: #111827;
    border-top: 1px solid #1f2937;
    padding: 48px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #1f2937;
}
.footer-brand p { color: #6b7280; font-size: .88rem; margin-top: 12px; line-height: 1.6; }

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-nav-col h4 { font-size: .9rem; color: #f9fafb; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-nav-col li { margin-bottom: 8px; }
.footer-nav-col a { color: #6b7280; font-size: .88rem; }
.footer-nav-col a:hover { color: #10b981; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: .9rem;
    transition: all .2s;
}
.footer-social a:hover { background: #10b981; color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: #4b5563; margin-bottom: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #6b7280; font-size: .8rem; }
.footer-legal a:hover { color: #10b981; }

/* --- Mobile Bottom Bar --- */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    border-top: 1px solid #1f2937;
    z-index: 900;
    padding: 8px 16px;
    gap: 10px;
}
.mobile-bar .btn { flex: 1; text-align: center; padding: 12px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .vip-levels { grid-template-columns: repeat(2, 1fr); }
    .promotions-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    .section-padding { padding: 40px 0; }

    .main-nav { display: none; }
    .header-actions .btn-login,
    .header-actions .btn-register { display: none; }
    .menu-toggle { display: flex; }

    .hero-section { padding: 50px 0 40px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }

    .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .feature-card { padding: 20px 14px; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .articles-grid { grid-template-columns: 1fr; }
    .category-articles { grid-template-columns: 1fr; }
    .vip-levels { grid-template-columns: 1fr 1fr; gap: 14px; }
    .footer-nav-grid { grid-template-columns: 1fr 1fr; }

    .promotion-card { flex-direction: column; }
    .promotion-icon-box { width: 100%; min-height: 100px; }

    .game-table th, .game-table td { padding: 10px 12px; font-size: .82rem; }

    .article-cover { max-height: 260px; }

    .mobile-bar { display: flex; }
    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .vip-levels { grid-template-columns: 1fr; }
    .footer-nav-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .game-table th, .game-table td { padding: 8px 10px; font-size: .78rem; white-space: normal; }
    .game-table { min-width: 320px; }
    .article-cover { max-height: 200px; }
    .cta-section h2 { font-size: 1.4rem; }
    .cta-section p { font-size: .92rem; }
    .article-page .article-header h1 { font-size: 1.5rem; }
}

/* --- Image-enhanced Hero --- */
.hero-section.has-bg {
    background-size: cover;
    background-position: center;
}
.hero-section.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,23,.82) 0%, rgba(17,24,39,.75) 50%, rgba(10,14,23,.85) 100%);
    z-index: 0;
}
.hero-section.has-bg > .container {
    position: relative;
    z-index: 1;
}

.category-hero.has-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.category-hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,23,.78), rgba(17,24,39,.7));
    z-index: 0;
}
.category-hero.has-bg > .container {
    position: relative;
    z-index: 1;
}

/* --- Article Cover --- */
.article-cover {
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0 32px;
    max-height: 400px;
}
.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Footer Trust Badges --- */
.footer-badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-badges img {
    height: 32px;
    width: auto;
    opacity: .65;
    filter: grayscale(30%);
    transition: all .2s;
}
.footer-badges img:hover {
    opacity: 1;
    filter: none;
}

/* --- Provider Grid --- */
.provider-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.provider-grid img {
    height: 28px;
    width: auto;
    opacity: .5;
    filter: grayscale(100%);
    transition: all .3s;
}
.provider-grid img:hover {
    opacity: 1;
    filter: none;
}
