/* ==========================================================================
   A2 SATTA KING - MODERN BLOG & EDITORIAL DESIGN SYSTEM
   Supports both:
   1) Blog Archive / Listing Page (/blogs)
   2) Single Blog Post View (/blogs/blog-url)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
    /* Brand & Editorial Colors */
    --blog-primary: #1d4ed8;
    --blog-primary-hover: #1e40af;
    --blog-primary-light: #eff6ff;
    --blog-primary-subtle: #dbeafe;
    --blog-accent-gold: #ffd800;
    --blog-accent-gold-dark: #b45309;
    --blog-accent-gold-light: #fefce8;
    --blog-accent-amber: #f59e0b;
    --blog-accent-emerald: #10b981;
    --blog-accent-emerald-light: #ecfdf5;
    --blog-dark: #0f172a;
    --blog-dark-soft: #1e293b;

    /* Text Colors */
    --blog-text-main: #0f172a;
    --blog-text-body: #334155;
    --blog-text-muted: #64748b;
    --blog-text-light: #94a3b8;

    /* Backgrounds & Surfaces */
    --blog-bg-body: #f8fafc;
    --blog-bg-card: #ffffff;
    --blog-bg-subtle: #f1f5f9;

    /* Borders */
    --blog-border-light: #e2e8f0;
    --blog-border-medium: #cbd5e1;
    --blog-border-focus: #3b82f6;

    /* Radius */
    --blog-radius-sm: 6px;
    --blog-radius-md: 10px;
    --blog-radius-lg: 16px;
    --blog-radius-xl: 22px;
    --blog-radius-pill: 9999px;

    /* Shadows */
    --blog-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --blog-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --blog-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --blog-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --blog-shadow-hover: 0 14px 28px rgba(37, 99, 235, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);

    /* Typography */
    --blog-font: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Backward compatibility aliases */
    --radius-sm: var(--blog-radius-sm);
    --radius-md: var(--blog-radius-md);
    --radius-lg: var(--blog-radius-lg);
    --radius-pill: var(--blog-radius-pill);
    --border-light: var(--blog-border-light);
    --border-medium: var(--blog-border-medium);
    --shadow-sm: var(--blog-shadow-sm);
    --text-main: var(--blog-text-main);
    --text-muted: var(--blog-text-muted);
    --color-blue: var(--blog-primary);
}

/* ===== READING PROGRESS BAR ===== */
#readingProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd800 0%, #f59e0b 35%, #2563eb 100%);
    width: 0%;
    z-index: 999999;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
    transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== MAIN WRAPPER ===== */
.blog-page-wrapper {
    max-width: 1140px;
    margin: 24px auto 60px auto;
    padding: 0 16px;
    font-family: var(--blog-font);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* ===== 1. HERO HEADER (BLOG ARCHIVE) ===== */
.blog-hero-card {
    background: #ffffff;
    border-radius: var(--blog-radius-lg);
    border: 1px solid var(--blog-border-light);
    border-top: 4px solid var(--blog-accent-gold);
    padding: 32px 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--blog-shadow-sm);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 216, 0, 0.08) 0%, transparent 65%);
}

.blog-hero-card h1 {
    font-size: 28px;
    font-weight: 900;
    color: var(--blog-text-main);
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-hero-card p {
    color: var(--blog-text-muted);
    font-size: 15px;
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.6;
}

/* ===== SEARCH & CATEGORY FILTER CONTROLS ===== */
.blog-controls-bar {
    background: #ffffff;
    border-radius: var(--blog-radius-lg);
    border: 1px solid var(--blog-border-light);
    padding: 18px 20px;
    margin-bottom: 28px;
    box-shadow: var(--blog-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-search-box {
    position: relative;
    width: 100%;
}

.blog-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s;
}

.blog-search-input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    border-radius: var(--blog-radius-pill);
    border: 1.5px solid var(--blog-border-light);
    background: #f8fafc;
    font-size: 14px;
    color: var(--blog-text-main);
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.blog-search-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.blog-search-box:focus-within i {
    color: #2563eb;
}

.blog-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--blog-radius-pill);
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.cat-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.cat-pill.active {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}

/* Empty Search State */
#noBlogResults {
    background: #ffffff;
    border-radius: var(--blog-radius-lg);
    border: 1px solid var(--blog-border-light);
    box-shadow: var(--blog-shadow-sm);
    padding: 44px 20px;
    text-align: center;
    margin-bottom: 30px;
}

#noBlogResults button {
    background: #ffffff;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--blog-radius-pill);
    cursor: pointer;
    transition: all 0.2s;
}

#noBlogResults button:hover {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ===== 2. BLOG CARDS GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--blog-border-light);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-hover);
    border-color: #cbd5e1;
}

.blog-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.06);
}

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffd800;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--blog-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--blog-text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-row i {
    color: #94a3b8;
    font-size: 12px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: var(--blog-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--blog-primary);
}

.blog-card-excerpt {
    color: var(--blog-text-body);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.blog-tag-pill {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--blog-radius-pill);
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.blog-tag-pill:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: var(--blog-radius-md);
    text-decoration: none !important;
    transition: all 0.25s ease;
    width: 100%;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    box-sizing: border-box;
}

.blog-read-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.blog-read-btn i {
    transition: transform 0.2s ease;
    font-size: 12px;
}

.blog-read-btn:hover i {
    transform: translateX(4px);
}

/* ===== 3. SINGLE BLOG POST VIEW ===== */
.post-article-card {
    background: #ffffff;
    border: 1px solid var(--blog-border-light);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow-sm);
    padding: 24px 20px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .post-article-card {
        padding: 40px 48px;
    }
}

.post-breadcrumbs {
    font-size: 12.5px;
    color: var(--blog-text-muted);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.post-breadcrumbs a {
    color: var(--blog-primary);
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s;
}

.post-breadcrumbs a:hover {
    color: var(--blog-primary-hover);
    text-decoration: underline !important;
}

.post-breadcrumbs span.sep {
    color: #cbd5e1;
}

.post-breadcrumbs strong {
    color: var(--blog-text-main);
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.post-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--blog-text-main);
    line-height: 1.3;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .post-title {
        font-size: 34px;
        line-height: 1.25;
    }
}

.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    font-size: 13px;
    color: var(--blog-text-muted);
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--blog-border-light);
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.post-meta-item i {
    font-size: 13px;
}

/* Fact-check badge */
.badge-factchecked {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: var(--blog-radius-pill);
    font-weight: 700;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #bbf7d0;
}

/* Social Share Action Strip */
.post-share-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    padding: 12px 18px;
    background: #f8fafc;
    border-radius: var(--blog-radius-md);
    border: 1px solid var(--blog-border-light);
}

.share-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--blog-radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.share-wa {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.share-tg {
    background: #0088cc;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 136, 204, 0.3);
}

.share-copy {
    background: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Featured Cover Image */
.post-featured-image {
    width: 100%;
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    background: #0f172a;
    border: 1px solid var(--blog-border-light);
    box-shadow: var(--blog-shadow-sm);
}

.post-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Table of Contents (TOC) */
.post-toc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--blog-primary);
    border-radius: var(--blog-radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.post-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 14.5px;
    color: #0f172a;
    user-select: none;
}

.post-toc-list {
    margin: 12px 0 0 22px;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.post-toc-list li {
    margin-bottom: 6px;
}

.post-toc-list a {
    color: var(--blog-primary);
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s;
}

.post-toc-list a:hover {
    color: var(--blog-primary-hover);
    text-decoration: underline !important;
}

/* Post Body Typography */
.post-content-body {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.post-content-body h2,
.post-content-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 34px 0 14px 0;
    padding-left: 14px;
    border-left: 4px solid var(--blog-primary);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .post-content-body h2,
    .post-content-body h3 {
        font-size: 24px;
    }
}

.post-content-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 10px 0;
    line-height: 1.4;
}

.post-content-body p {
    margin-bottom: 18px;
}

.post-content-body strong {
    font-weight: 700;
    color: #0f172a;
}

.post-content-body ul,
.post-content-body ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.post-content-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-content-body blockquote {
    border-left: 4px solid #cbd5e1;
    padding: 14px 20px;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 0 var(--blog-radius-md) var(--blog-radius-md) 0;
    font-style: italic;
    color: #475569;
}

/* Responsive Table Wrapper */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: var(--blog-radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: var(--blog-shadow-xs);
}

.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 !important;
    border: none !important;
    background: #ffffff;
}

.post-content-body table th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    font-size: 13.5px;
    border-bottom: 2px solid #1e293b;
}

.post-content-body table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    line-height: 1.6;
}

.post-content-body table tr:nth-child(even) td {
    background: #f8fafc;
}

.post-content-body table tr:hover td {
    background: #f1f5f9;
}

/* Info & Disclaimer Boxes */
.blog-info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border-left: 4px solid #2563eb;
    padding: 18px 22px;
    border-radius: 0 var(--blog-radius-md) var(--blog-radius-md) 0;
    margin: 28px 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.blog-info-box h4 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: 15.5px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-info-box p,
.blog-info-box ul {
    color: #1e40af;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.blog-disclaimer-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    padding: 18px 22px;
    border-radius: 0 var(--blog-radius-md) var(--blog-radius-md) 0;
    margin: 30px 0;
    font-size: 13.5px;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.06);
}

.blog-disclaimer-box h4 {
    color: #78350f;
    margin-top: 0;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-disclaimer-box p {
    margin-bottom: 8px;
}

.blog-disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Author & Editorial Trust Box */
.post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--blog-radius-lg);
    padding: 22px 24px;
    margin: 36px 0 24px 0;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.author-info h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.author-info p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Prev / Next Article Switcher */
.post-prev-next-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 32px 0 24px 0;
    padding-top: 24px;
    border-top: 1px solid var(--blog-border-light);
}

@media (min-width: 576px) {
    .post-prev-next-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.prev-next-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--blog-radius-md);
    padding: 16px 20px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s ease;
}

.prev-next-card:hover {
    background: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--blog-shadow-md);
}

.prev-next-card .direction {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--blog-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.prev-next-card .p-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Articles Section */
.related-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #e2e8f0;
}

.related-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Floating Toast Notification */
#blogToast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--blog-radius-pill);
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

#blogToast.show {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ===== 4. LEGACY COMPATIBILITY STYLES ===== */
.blog-page {
    padding: 24px 0 60px 0;
    font-family: var(--blog-font);
}

.blog-header {
    background: linear-gradient(135deg, #38083c 0%, #540d58 100%);
    border-radius: var(--blog-radius-lg);
    border-bottom: 4px solid var(--blog-accent-gold);
    padding: 30px 24px;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--blog-shadow-md);
}

.blog-header h1 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.blog-content {
    background: #ffffff;
    border: 1px solid var(--blog-border-light);
    border-radius: var(--blog-radius-lg);
    padding: 30px;
    box-shadow: var(--blog-shadow-sm);
}

.article-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--blog-text-body);
}

.article-body h2,
.article-body h3 {
    color: var(--blog-text-main);
    font-weight: 800;
    margin: 28px 0 12px 0;
    padding-left: 14px;
    border-left: 4px solid var(--blog-primary);
}

.article-body p {
    margin-bottom: 16px;
}

.blog_main_section {
    padding: 30px 0;
}

.blog_top_heading {
    text-align: center;
    margin-bottom: 24px;
}

.blog_top_heading a {
    font-size: 18px;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    padding: 12px 30px;
    border-radius: var(--blog-radius-pill);
    text-decoration: none !important;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: all 0.25s ease;
}

.blog_top_heading a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.blog_bg_area {
    padding: 10px 0;
}

.blog_bg_area .row {
    display: flex;
    flex-wrap: wrap;
}

.blog_bg_area .row > div {
    display: flex;
}

.blog_bg_area a {
    width: 100%;
    display: block;
    text-decoration: none !important;
}

.blog_single_card {
    background: #fff;
    border-radius: var(--blog-radius-lg);
    border: 1px solid var(--blog-border-light);
    overflow: hidden;
    box-shadow: var(--blog-shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.blog_single_card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-hover);
    border-color: #cbd5e1;
}

.blog_img_area {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.blog_img_area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog_single_card:hover .blog_img_area img {
    transform: scale(1.06);
}

.blog_text_area {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog_text_area h4 {
    font-size: 16.5px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--blog-text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog_date {
    display: block;
    font-size: 12px;
    color: var(--blog-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.blog_tags {
    font-size: 12px;
    color: var(--blog-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.blog_description {
    font-size: 13.5px;
    color: var(--blog-text-body);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Grid for Legacy Area */
@media (min-width: 992px) {
    .blog_bg_area .row > div {
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) and (min-width: 576px) {
    .blog_bg_area .row > div {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .blog_bg_area .row > div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .blog-page-wrapper {
        margin: 16px auto 40px auto;
        padding: 0 12px;
    }

    .blog-hero-card {
        padding: 22px 16px;
    }

    .blog-hero-card h1 {
        font-size: 22px;
    }

    .post-article-card {
        padding: 20px 16px;
    }

    .post-title {
        font-size: 22px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .post-author-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
}


/* ==========================================================================
   FAQ SECTION (PRESERVED)
   ========================================================================== */
.faq-section {
    width: 100%;
    padding: 30px 0;
    background: #ffffff;
}

.faq-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* FAQ Heading */
.faq-section h2 {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    background: linear-gradient(180deg, #ff9000, #ffe400);
    border-top: 2px solid #000;
    border-bottom: 1px solid #000;
    margin: 20px 0 25px;
    border-radius: 4px;
}

/* FAQ Accordion Group */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FAQ Card */
.faq-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Card Hover */
.faq-item-card:hover {
    border-color: #ff9900;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.12);
}

/* FAQ Question Button */
.faq-question-btn {
    width: 100%;
    text-align: left;
    background: #f8fafc;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Question Hover */
.faq-question-btn:hover {
    background: #fff7e6;
    color: #e87500;
}

/* Active Question */
.faq-item-card.active .faq-question-btn {
    background: #fff3d6;
    color: #d97706;
}

/* Chevron Icon */
.faq-chevron {
    font-size: 13px;
    color: #f28c00;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Rotate Chevron When Active */
.faq-item-card.active .faq-chevron {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer-panel {
    padding: 14px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

/* Keyboard Focus */
.faq-question-btn:focus-visible {
    outline: 2px solid #ff9900;
    outline-offset: -3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 20px 0;
    }

    .faq-section h2 {
        font-size: 1.6rem;
        padding: 10px;
        margin: 15px 0 20px;
    }

    .faq-question-btn {
        padding: 14px;
        font-size: 14px;
    }

    .faq-answer-panel {
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 1.35rem;
    }

    .faq-question-btn {
        font-size: 13px;
        gap: 10px;
    }
}


/* ==========================================================================
   A2 SATTA & A7 SATTA - RESULT NOTIFICATION & PWA WEB APP STYLES
   Matches a7satta-result.com & satta-king-fast.com specification
   ========================================================================== */

/* 1. TOP NAVBAR BUTTONS */
.newnav ul li a.nav-notify-btn {
    background: rgba(255, 216, 0, 0.18) !important;
    color: #ffd800 !important;
    border: 1px solid #ffd800 !important;
    border-radius: 20px;
    padding: 6px 14px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 3px;
    transition: all 0.25s ease;
}
.newnav ul li a.nav-notify-btn:hover {
    background: #ffd800 !important;
    color: #2b032d !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 216, 0, 0.35);
}
.newnav ul li a.nav-notify-btn i {
    font-size: 14px;
}

.newnav ul li a.nav-pwa-btn {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
    border: 1px solid #22c55e !important;
    border-radius: 20px;
    padding: 6px 14px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 3px;
    transition: all 0.25s ease;
    animation: a2PwaBtnGlow 2.5s infinite alternate;
}
.newnav ul li a.nav-pwa-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.55);
}
.newnav ul li a.nav-pwa-btn i {
    font-size: 13px;
}

@keyframes a2PwaBtnGlow {
    0% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.4); }
    100% { box-shadow: 0 0 14px rgba(34, 197, 94, 0.9); }
}

/* 2. FLOATING NOTIFICATION BELL WIDGET (Matching a7satta-result.com) */
.a2satta-floating-bell-wrap {
    position: fixed;
    bottom: 37px;
    left: 18px;
    z-index: 9998;
}
.a2satta-floating-bell {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd800 0%, #ff9900 100%);
    border: 2px solid #ffffff;
    color: #2b032d;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    padding: 0;
}
.a2satta-floating-bell:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(255, 216, 0, 0.65);
}
.a2satta-floating-bell:active {
    transform: scale(0.96);
}

.bell-ring-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2.5px solid #ffd800;
    animation: a2BellWave 2.2s infinite ease-out;
    pointer-events: none;
}
@keyframes a2BellWave {
    0% { transform: scale(0.95); opacity: 0.9; }
    50% { transform: scale(1.3); opacity: 0.4; }
    100% { transform: scale(1.55); opacity: 0; }
}

.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 12px;
    border: 1.5px solid #ffffff;
    line-height: 1;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.bell-badge.active {
    background: #16a34a !important;
}

.a2satta-floating-bell.ringing i {
    animation: a2BellShake 0.6s infinite ease-in-out;
    transform-origin: top center;
    color: #c10b0b;
}
@keyframes a2BellShake {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(18deg); }
    40%, 80% { transform: rotate(-18deg); }
}

/* 3. SWEETALERT2 STYLING HARMONIZATION (a7satta-result.com standard) */
div:where(.swal2-container).swal2-bottom {
    z-index: 100005 !important;
}
div:where(.swal2-container).swal2-bottom > .swal2-popup {
    grid-row: auto !important;
}
div:where(.swal2-container) .swal2-popup {
    border-radius: 18px !important;
    border: 2px solid #ffd800 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
    font-family: 'Plus Jakarta Sans', 'Outfit', 'Noto Sans Devanagari', sans-serif !important;
    padding: 22px 18px !important;
}
div:where(.swal2-container) .swal2-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
div:where(.swal2-container) .swal2-html-container {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    line-height: 1.5 !important;
    margin: 12px 0 18px 0 !important;
}
div:where(.swal2-container) .swal2-confirm {
    background-color: #2E7D32 !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 12px 22px !important;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.4) !important;
    transition: all 0.2s ease !important;
}
div:where(.swal2-container) .swal2-confirm:hover {
    background-color: #1b5e20 !important;
    transform: translateY(-1px);
}
div:where(.swal2-container) .swal2-cancel {
    background-color: #F44336 !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 12px 22px !important;
    box-shadow: 0 4px 14px rgba(244, 67, 54, 0.35) !important;
    transition: all 0.2s ease !important;
}
div:where(.swal2-container) .swal2-cancel:hover {
    background-color: #d32f2f !important;
    transform: translateY(-1px);
}

/* 4. MODALS (PWA Download & Direct Notification Prompt) */
.a2satta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: a2FadeIn 0.25s ease-out;
}
@keyframes a2FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.a2satta-popup-card {
    background: #ffffff;
    border-radius: 18px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    padding: 24px 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    border: 3px solid #ffd800;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    position: relative;
    box-sizing: border-box;
    animation: a2ZoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes a2ZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.a2satta-modal-close-x {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #6b7280;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.a2satta-modal-close-x:hover {
    background: #e5e7eb;
    color: #111;
}

.a2satta-bell-halo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd800, #ff8c00);
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 216, 0, 0.25);
    animation: a2BellPulse 1.8s infinite;
}
@keyframes a2BellPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 216, 0, 0.6); transform: scale(1); }
    50% { box-shadow: 0 0 0 14px rgba(255, 216, 0, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(255, 216, 0, 0); transform: scale(1); }
}
.a2satta-bell-halo i {
    font-size: 34px;
    color: #2f0732;
}

.a2satta-popup-title {
    margin: 0 0 6px 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
}

.a2satta-btn-allow-primary {
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    padding: 13px 18px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.45);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.a2satta-btn-allow-primary:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.55);
}

.pwa-app-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}
.pwa-app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    border: 2px solid #ffd800;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    object-fit: cover;
    flex-shrink: 0;
}
.pwa-app-meta h4 {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: 900;
    color: #1f2937;
}
.pwa-app-meta .pwa-app-tag {
    color: #16a34a;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pwa-app-meta .pwa-app-stats {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.pwa-inst-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 14px 0;
    text-align: left;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
}
.pwa-inst-box strong {
    color: #0f172a;
}
.pwa-inst-box ol {
    padding-left: 18px;
    margin: 6px 0 0 0;
}
.pwa-inst-box li {
    margin-bottom: 4px;
}

/* 5. STICKY PWA BOTTOM DOWNLOAD BAR */
.a2satta-pwa-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2b032d 0%, #150017 100%);
    border-top: 2.5px solid #ffd800;
    padding: 10px 14px;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    animation: a2SlideUp 0.4s ease-out;
}
@keyframes a2SlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pwa-bar-content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.pwa-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #ffd800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    flex-shrink: 0;
    object-fit: cover;
}
.pwa-bar-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pwa-bar-text strong {
    color: #ffd800;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-bar-text span {
    color: #e5e7eb;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-bar-actions {
  
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.pwa-bar-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: 1px solid #22c55e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.pwa-bar-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-1px);
}
.pwa-bar-close {
    background: transparent;
    color: #9ca3af;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}
.pwa-bar-close:hover {
    color: #ffffff;
}

/* 6. LIVE REAL-TIME IN-PAGE RESULT NOTIFICATION TOAST */
.a2satta-live-banner {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1f0424 0%, #3d0946 100%);
    color: #ffffff;
    border: 2px solid #ffd800;
    border-radius: 40px;
    padding: 10px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 20px rgba(255,216,0,0.4);
    z-index: 100010;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: a2BannerDrop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 92%;
    cursor: pointer;
}
@keyframes a2BannerDrop {
    from { transform: translate(-50%, -80px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
.live-pulse-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    animation: a2BadgePulse 1.2s infinite alternate;
}
@keyframes a2BadgePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); background: #ef4444; }
}
.live-game-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-game-name {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}
.live-result-number {
    background: #ffd800;
    color: #1f0424;
    font-size: 16px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #ffffff;
}
.live-time {
    font-size: 11px;
    color: #d1d5db;
    margin-left: 4px;
}

@media (max-width: 600px) {
    .a2satta-live-banner {
        top: 12px;
        padding: 8px 14px;
        gap: 8px;
    }
    .live-game-name {
        font-size: 13px;
    }
    .live-result-number {
        font-size: 14px;
        padding: 2px 8px;
    }
    .live-time {
        display: none;
    }
    .a2satta-floating-bell-wrap {
        bottom: 37px;
        left: 12px;
    }
    .a2satta-floating-bell {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
