/* ============================================================================
   ARTICLE & BLOG STYLES — 2026 Dark Theme
   Modern glassmorphism, refined typography, premium feel
   ============================================================================ */

/* ─── BREADCRUMBS ────────────────────────────── */
.breadcrumbs {
    padding: 14px 0;
    background: linear-gradient(180deg, rgba(13,13,26,0.95) 0%, rgba(8,8,16,0.9) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
}

.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: rgba(255,255,255,0.45);
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
}

.breadcrumbs-list a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs-list a:hover {
    color: #818cf8;
}

.breadcrumbs-list .current {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* ─── ARTICLE LAYOUT ─────────────────────────── */
.single-post-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

@media (min-width: 1024px) {
    .single-post-wrap {
        grid-template-columns: 1fr 340px;
        padding: 48px 24px 100px;
    }
}

/* ─── ARTICLE CARD ────────────────────────────── */
.article-main {
    min-width: 0;
}

.article-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .article-card {
        padding: 24px 18px;
        border-radius: 16px;
    }
}

/* ─── CATEGORY BADGE ──────────────────────────── */
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.1) 100%);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1px solid rgba(99,102,241,0.2);
    text-decoration: none;
    transition: all 0.25s;
}

.category-link:hover {
    background: rgba(99,102,241,0.25);
    color: #c7d2fe;
    border-color: rgba(99,102,241,0.4);
}

/* ─── ARTICLE HEADER ──────────────────────────── */
.article-header {
    margin-bottom: 32px;
}

.article-header .entry-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* ─── POST META ───────────────────────────────── */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 32px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.meta-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.meta-item a:hover {
    color: #818cf8;
}

.meta-item .author-name {
    color: #c7d2fe;
    font-weight: 600;
}

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

/* ─── FEATURED IMAGE ──────────────────────────── */
.article-featured-img {
    margin-bottom: 32px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-img figcaption {
    padding: 10px 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    background: rgba(0,0,0,0.3);
}

/* ─── ARTICLE CONTENT ─────────────────────────── */
.article-body {
    font-size: 1.06rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.82);
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body > *:last-child {
    margin-bottom: 0;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin: 36px 0 12px;
}

.article-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin: 28px 0 10px;
}

.article-body p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.78);
}

.article-body a {
    color: #818cf8;
    text-decoration: none;
    border-bottom: 1px solid rgba(129,140,248,0.3);
    transition: all 0.2s;
}

.article-body a:hover {
    color: #a5b4fc;
    border-bottom-color: #a5b4fc;
}

.article-body strong {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.article-body ul, .article-body ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.78);
}

.article-body li::marker {
    color: #6366f1;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: rgba(99,102,241,0.06);
    border-left: 3px solid #6366f1;
    border-radius: 0 12px 12px 0;
    color: rgba(255,255,255,0.75);
    font-style: italic;
}

.article-body code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;
    font-size: 0.88em;
    padding: 2px 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    color: #c7d2fe;
}

.article-body pre {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow-x: auto;
}

.article-body pre code {
    background: transparent;
    padding: 0;
    color: rgba(255,255,255,0.8);
}

/* ─── ARTICLE TABLES ──────────────────────────── */
.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    font-size: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.article-body table th {
    padding: 14px 18px;
    background: rgba(99,102,241,0.15);
    color: #c7d2fe;
    font-weight: 600;
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-body table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.75);
}

.article-body table tr:last-child td {
    border-bottom: none;
}

.article-body table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.article-body table tr:hover {
    background: rgba(99,102,241,0.05);
}

@media (max-width: 768px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ─── TAGS ────────────────────────────────────── */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.tags-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.tag-link {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: all 0.2s;
}

.tag-link:hover {
    background: rgba(99,102,241,0.1);
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.25);
}

/* ─── SHARE BUTTONS ───────────────────────────── */
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.share-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.25s;
}

.share-btn:hover {
    background: rgba(99,102,241,0.12);
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* ─── AUTHOR BOX ──────────────────────────────── */
.article-author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(139,92,246,0.04) 100%);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 16px;
}

.article-author-box .author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(99,102,241,0.3);
    object-fit: cover;
}

.article-author-box .author-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.article-author-box .author-title {
    font-size: 0.78rem;
    color: #818cf8;
    font-weight: 500;
    margin-bottom: 8px;
}

.article-author-box .author-bio p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 12px;
    line-height: 1.6;
}

.article-author-box .author-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.article-author-box .author-link:hover {
    color: #a5b4fc;
}

@media (max-width: 640px) {
    .article-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ─── POST NAVIGATION ─────────────────────────── */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.article-nav .nav-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.article-nav .nav-link:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(99,102,241,0.2);
}

.article-nav .nav-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 6px;
}

.article-nav .nav-title {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    line-height: 1.4;
}

.article-nav .nav-next {
    text-align: right;
}

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

/* ─── RELATED POSTS ───────────────────────────── */
.related-section {
    margin-top: 48px;
}

.related-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s;
}

.related-card:hover {
    border-color: rgba(99,102,241,0.2);
    transform: translateY(-2px);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card .card-body {
    padding: 14px;
}

.related-card h3 {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin-bottom: 6px;
}

.related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.related-card .card-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

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

/* ─── SIDEBAR ──────────────────────────────────── */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.sidebar-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h3 .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(139,92,246,0.15) 100%);
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Sidebar Search */
.sidebar-search {
    display: flex;
    gap: 8px;
}

.sidebar-search input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.sidebar-search input::placeholder {
    color: rgba(255,255,255,0.3);
}

.sidebar-search input:focus {
    border-color: rgba(99,102,241,0.4);
}

.sidebar-search button {
    padding: 10px 14px;
    background: #6366f1;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.sidebar-search button:hover {
    background: #5558e6;
}

/* Sidebar Post List */
.sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-posts li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sidebar-posts li:first-child {
    padding-top: 0;
}

.sidebar-posts li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-posts a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-posts a:hover {
    color: #a5b4fc;
}

.sidebar-posts .post-meta {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    margin-top: 3px;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-categories li {
    margin-bottom: 6px;
}

.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.84rem;
    transition: all 0.2s;
}

.sidebar-categories li a:hover {
    background: rgba(99,102,241,0.08);
    color: #a5b4fc;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.08) 100%) !important;
    border-color: rgba(99,102,241,0.2) !important;
    text-align: center;
}

.sidebar-cta p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
    line-height: 1.5;
}

.sidebar-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #6366f1;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s;
}

.sidebar-cta .cta-btn:hover {
    background: #5558e6;
    transform: translateY(-1px);
}

/* Sidebar Trust Signals */
.trust-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.65);
}

.trust-checks .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(34,197,94,0.12);
    border-radius: 6px;
    color: #22c55e;
    flex-shrink: 0;
}

.trust-checks .check-icon svg {
    width: 12px;
    height: 12px;
}

/* ─── MOBILE NAV OVERLAY (old) — HIDE ─────────── */
.mobile-menu {
    display: none !important;
}

/* ============================================================================
   ARTICLE PAGE TEMPLATES (is-iptv-legal-uk, what-is-iptv, devices, etc.)
   Full dark-theme layout for custom page templates
   ============================================================================ */

/* ── Base page wrapper ─────────────────────────── */
.article-page {
    background: #0d0d1a;
    min-height: 100vh;
    color: rgba(255,255,255,0.82);
}

/* ── Hero section ──────────────────────────────── */
.article-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #0a0a1a 60%, #0d0d1a 100%);
    padding: 48px 24px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.article-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.article-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover { color: #818cf8; }

.article-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.article-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 720px;
}

.article-hero .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    margin: 0;
}

/* ── Banner image with overlay stats ───────────── */
.article-banner {
    position: relative;
    background: #080812;
    overflow: hidden;
    max-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-banner-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0.75;
}

.article-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8,8,18,0.95) 0%, rgba(8,8,18,0.5) 60%, transparent 100%);
    padding: 24px;
}

.article-banner-stats {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ab-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 14px;
    backdrop-filter: blur(8px);
}

.ab-stat strong {
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.ab-stat em {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-style: normal;
    display: block;
    line-height: 1.2;
}

.ab-icon {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .article-banner { max-height: 220px; }
    .article-banner-img { height: 220px; }
    .article-banner-stats { gap: 10px; }
    .ab-stat { padding: 6px 10px; }
    .ab-stat strong { font-size: 0.75rem; }
    .ab-stat em { font-size: 0.68rem; }
}

/* ── Main article body ─────────────────────────── */
section.article-body {
    background: #0d0d1a;
    padding: 48px 24px 80px;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Answer / Quick-answer box ──────────────────── */
.answer-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.answer-yes {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.25);
}

.answer-no {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
}

.answer-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.answer-content strong {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.answer-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.answer-content em {
    color: #a5b4fc;
    font-style: normal;
}

/* ── Article sections ──────────────────────────── */
.article-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.article-section:last-child {
    border-bottom: none;
}

.article-section h2 {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.article-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin: 24px 0 10px;
}

.article-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin: 0 0 16px;
}

.article-section p:last-child { margin-bottom: 0; }

.article-section strong {
    color: rgba(255,255,255,0.92);
}

.article-section em {
    color: #a5b4fc;
    font-style: italic;
}

.article-section ul, .article-section ol {
    margin: 12px 0 20px;
    padding-left: 22px;
}

.article-section li {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 6px;
    font-size: 1rem;
}

.article-section li::marker { color: #6366f1; }

/* ── Legal comparison grid ──────────────────────── */
.legal-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .legal-comparison-grid { grid-template-columns: 1fr; }
}

.legal-card {
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid;
}

.legal-ok {
    background: rgba(34,197,94,0.07);
    border-color: rgba(34,197,94,0.2);
}

.legal-risk {
    background: rgba(245,158,11,0.07);
    border-color: rgba(245,158,11,0.2);
}

.legal-card h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
    color: #ffffff !important;
}

.legal-ok h3 { color: #4ade80 !important; }
.legal-risk h3 { color: #fbbf24 !important; }

.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-card li {
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    line-height: 1.5;
}

.legal-card li:last-child { border-bottom: none; }
.legal-card li::marker { display: none; }

/* ── Info callout box ───────────────────────────── */
.info-callout {
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.25);
    border-left: 4px solid #6366f1;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

.info-callout strong {
    color: #a5b4fc;
    display: block;
    margin-bottom: 4px;
}

/* ── Trust badges ───────────────────────────────── */
.trust-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
    flex: 1;
    min-width: 120px;
    line-height: 1.3;
    font-weight: 500;
}

@media (max-width: 480px) {
    .trust-badges-row { gap: 8px; }
    .trust-badge { min-width: 100px; padding: 10px 12px; }
}

/* ── Styled ordered list ────────────────────────── */
.styled-ol {
    counter-reset: styled-counter;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.styled-ol li {
    counter-increment: styled-counter;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 1rem;
    color: rgba(255,255,255,0.75) !important;
    line-height: 1.65;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.styled-ol li::before {
    content: counter(styled-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.styled-ol li::marker { display: none; }

/* ── FAQ list (article pages) ───────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-list .faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-list .faq-item:hover {
    border-color: rgba(99,102,241,0.25);
}

.faq-list .faq-q {
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    position: relative;
    padding-right: 44px;
    display: block;
    line-height: 1.4;
}

.faq-list .faq-q::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6366f1;
    line-height: 1;
    transition: transform 0.25s;
}

.faq-list .faq-a {
    padding: 0 20px 16px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    display: block;
}

/* ── Article CTA banner ─────────────────────────── */
.article-cta-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.1) 100%);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    margin: 48px 0 40px;
}

.article-cta-banner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.article-cta-banner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}

.article-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.5);
    background: linear-gradient(135deg, #5558e6, #7c3aed);
}

@media (max-width: 600px) {
    .article-cta-banner { padding: 28px 20px; }
    .article-cta-banner h3 { font-size: 1.2rem; }
    .article-cta-btn { padding: 12px 24px; font-size: 0.92rem; }
}

/* ── Related guides grid ────────────────────────── */
.article-related {
    margin-top: 16px;
}

.article-related h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 600px) {
    .article-related-grid { grid-template-columns: 1fr; }
}

.article-related .related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.article-related .related-card:hover {
    background: rgba(99,102,241,0.07);
    border-color: rgba(99,102,241,0.25);
    transform: translateY(-2px);
}

.article-related .related-card strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.article-related .related-card span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* ── General mobile tweaks for article pages ─────── */
@media (max-width: 768px) {
    .article-hero { padding: 32px 16px 28px; }
    section.article-body { padding: 32px 16px 60px; }
    .article-section { padding: 28px 0; }
    .answer-box { padding: 16px; gap: 12px; }
    .article-cta-banner { margin: 32px 0 28px; }
}

@media (max-width: 480px) {
    .article-hero h1 { font-size: 1.45rem; }
    .article-subtitle { font-size: 0.95rem; }
    section.article-body { padding: 24px 14px 48px; }
    .article-section h2 { font-size: 1.2rem; }
    .article-section p, .article-section li { font-size: 0.95rem; }
    .trust-badge { font-size: 0.72rem; }
}

/* ============================================================================
   ARCHIVE / CATEGORY PAGE STYLES
   ============================================================================ */

/* Hero Card */
.archive-hero-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
}

.archive-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(99,102,241,0.15);
    border-radius: 14px;
    color: #818cf8;
    margin-bottom: 1.25rem;
}

.archive-title {
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.archive-description {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.archive-count {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.archive-count strong {
    color: #818cf8;
}

/* Archive Grid */
.archive-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Archive Card */
.archive-card {
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(15,15,30,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
}

.archive-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}

/* Card Image */
.archive-card-img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.archive-card:hover .archive-card-img img {
    transform: scale(1.04);
}

/* Card Body */
.archive-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Card Meta */
.archive-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.archive-card-meta time,
.archive-read-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.archive-card-meta svg {
    opacity: 0.6;
}

.archive-card-meta .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #475569;
}

/* Card Title */
.archive-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.archive-card-title a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s;
}

.archive-card-title a:hover {
    color: #818cf8;
}

/* Card Excerpt */
.archive-card-excerpt {
    color: #94a3b8;
    font-size: 0.925rem;
    line-height: 1.65;
}

.archive-card-excerpt p {
    margin: 0;
}

/* Read More Link */
.archive-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #818cf8;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}

.archive-read-more:hover {
    color: #a5b4fc;
    gap: 10px;
}

/* Pagination */
.archive-pagination {
    margin-top: 2.5rem;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #94a3b8;
    background: rgba(15,15,30,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all 0.2s;
}

.archive-pagination .page-numbers:hover {
    color: #f1f5f9;
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.1);
}

.archive-pagination .page-numbers.current {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}

.archive-pagination .prev,
.archive-pagination .next {
    padding: 0 16px;
}

/* Desktop: side-by-side layout */
@media (min-width: 768px) {
    .archive-card {
        grid-template-columns: 280px 1fr;
    }

    .archive-card-img {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* ─── RESPONSIVE TWEAKS ───────────────────────── */
@media (max-width: 1024px) {
    .article-sidebar {
        position: static;
    }
}

/* ─── ARTICLE FEATURED IMAGE ─────────────────── */
.article-featured-img {
    background: linear-gradient(to bottom, #0d1b3e 0%, #0d0d1a 100%);
    padding: 0 24px 52px;
    text-align: center;
}

.article-featured-img img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .article-featured-img {
        padding: 0 14px 36px;
    }
    .article-featured-img img {
        border-radius: 10px;
        box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    }
}

@media (max-width: 480px) {
    .article-featured-img {
        padding: 0 10px 28px;
    }
    .article-featured-img img {
        border-radius: 8px;
    }
}

/* Fix duplicate/overlapping images generated via SEO injection */
.article-body > figure.wp-block-image:first-child,
.article-content > figure.wp-block-image:first-child {
    display: none !important;
}

/* Ensure any other Gutenberg images dont overlap */
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Fix duplicate/overlapping images generated via SEO injection */
.article-body > figure.wp-block-image:first-child,
.article-content > figure.wp-block-image:first-child {
    display: none !important;
}

/* Ensure any other Gutenberg images don't overlap */
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
