/* ============================================================================
   QWIK STUDY - BLOG MODULE STYLESHEET (Extends index.css variables)
   ============================================================================ */

.reading-progress-bar {
    position: fixed;
    top: 66px;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary-grad);
    z-index: 1005;
    transition: width 0.1s linear;
}
@media (min-width: 768px) {
    .reading-progress-bar { top: 84px; }
}

/* Blog Hero */
.blog-hero { padding: 18px 0 16px; }
.blog-hero-card {
    background: var(--primary-grad);
    border-radius: 20px;
    padding: 28px 18px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
    .blog-hero { padding: 30px 0 22px; }
    .blog-hero-card { padding: 40px 36px; border-radius: var(--radius-lg); }
}
.blog-hero-card h1 {
    font-size: clamp(1.5rem, 4.5vw, 2.65rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.18;
}
.blog-hero-card p {
    font-size: clamp(0.86rem, 2.3vw, 1.02rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 660px;
    margin: 0 auto;
    font-weight: 500;
}

/* Filter & Search Controls */
.blog-controls-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-controls-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) {
    .blog-controls-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .blog-search-box { width: 280px; }
}

.blog-subcategory-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-subtle);
    flex-wrap: wrap;
}
.subcat-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.blog-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
    flex-wrap: wrap;
}
.blog-breadcrumb {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}
.blog-breadcrumb strong { color: var(--text-main); }

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}
@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.blog-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9; /* <--- फिक्स हाइट हटाकर 16:9 आस्पेक्ट रेशियो कर दिया ताकि लोगो और टेक्स्ट न कटे */
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.12) 0%, rgba(255, 122, 0, 0.14) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img {
    transform: scale(1.04);
}
.blog-thumb-placeholder {
    font-size: 2.4rem;
    color: var(--primary);
    opacity: 0.75;
}

.blog-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.blog-card-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.blog-cat-pill {
    background: rgba(255, 0, 122, 0.1);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.blog-subcat-pill {
    background: var(--bg-card-subtle);
    color: var(--text-main);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}
.blog-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.blog-read-cta {
    color: var(--primary);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Single Article Reader View */
.blog-article-wrapper {
    padding-top: 22px;
    padding-bottom: 64px;
    max-width: 880px;
}
.article-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.article-reader-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reader-tool-btn {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}
.reader-tool-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.article-card-surface {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 24px 18px;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
    .article-card-surface { padding: 40px 44px; }
}

.article-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.article-main-title {
    font-size: clamp(1.55rem, 4.5vw, 2.35rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.22;
    margin-bottom: 14px;
}
.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 600;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
}
.article-cover-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
}

/* Article Typography (Selectable for Readers) */
.article-prose {
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--text-main);
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}
.article-prose h2 {
    font-size: 1.45rem;
    margin: 28px 0 12px;
    color: var(--text-main);
}
.article-prose h3 {
    font-size: 1.2rem;
    margin: 22px 0 10px;
    color: var(--text-main);
}
.article-prose p { margin-bottom: 16px; }
.article-prose ul, .article-prose ol {
    margin: 0 0 18px 22px;
}
.article-prose li { margin-bottom: 8px; }
.article-prose blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-page);
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-muted);
}
.article-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
    overflow-x: auto;
    display: block;
}
.article-prose th, .article-prose td {
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    text-align: left;
}
.article-prose th {
    background: var(--bg-card-subtle);
    font-weight: 800;
}

.article-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}
.article-tag-chip {
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.article-share-box {
    margin-top: 24px;
    padding: 16px 18px;
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.related-articles-section { margin-top: 44px; }

/* ============================================================================
   Default Blog Cover + Dynamic Date
   The date sits on the yellow strip of blog-default-cover.webp (1672x941).
   Measured on the image: strip centre = 50% / 57.1%, usable width = ~39%
   (between the two navy dashes). Everything is sized in container units (cqw)
   so the date scales with the cover in cards AND in the article page.
   ============================================================================ */
.blog-cover-wrapper,
.article-cover-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    container-type: inline-size;
}
.blog-cover-wrapper { position: absolute; inset: 0; }   /* fills the 16:9 card thumb */
.article-cover-wrapper {
    aspect-ratio: 16 / 9;                                 /* same ratio as the image: no cropping */
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--bg-card-subtle);
}
.blog-cover-wrapper img,
.article-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-cover-wrapper .article-cover-img {
    max-height: none;
    margin-bottom: 0;
    border-radius: 0;
}

.blog-cover-date {
    position: absolute;
    left: 50%;
    top: 57.3%;                         /* strip centre 57.1% + optical correction for caps */
    transform: translate(-50%, -50%);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    font-style: italic;                 /* matches the italic headline style of the cover */
    font-size: clamp(8px, 1.7vw, 15px); /* fallback for browsers without container units */
    font-size: max(8px, 2.75cqw);
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #14245C;                     /* brand navy, same as "Learn Faster, Study Smarter" */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

/* Bilingual Language Switcher Pill */
.lang-switcher-pill {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 2px;
}
.lang-switch-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.lang-switch-btn.active {
    background: var(--primary-grad);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

/* ============================================================================
   CURRENT AFFAIRS POST LAYOUT  (generated by generate-ca-post.js)
   section -> .ca-section  |  news card -> .ca-news  |  GK -> .static-gk-box
   ============================================================================ */

/* Section colour themes (match the icon colours of the cover image) */
.ca-sec-national      { --sec: #E11D2E; --sec-solid: #D91A2B; --sec-rgb: 225, 29, 46; }
.ca-sec-international { --sec: #1D4ED8; --sec-solid: #1E50C8; --sec-rgb: 29, 78, 216; }
.ca-sec-economy       { --sec: #15803D; --sec-solid: #16A34A; --sec-rgb: 22, 163, 74; }
.ca-sec-science       { --sec: #7C3AED; --sec-solid: #7C3AED; --sec-rgb: 124, 58, 237; }
.ca-sec-sports        { --sec: #EA580C; --sec-solid: #F97316; --sec-rgb: 249, 115, 22; }
.ca-sec-awards        { --sec: #0F766E; --sec-solid: #0D9488; --sec-rgb: 13, 148, 136; }
.ca-sec-books         { --sec: #BE185D; --sec-solid: #DB2777; --sec-rgb: 219, 39, 119; }
.ca-sec-days          { --sec: #1E3A8A; --sec-solid: #1E3A8A; --sec-rgb: 30, 58, 138; }
.ca-sec-appoint       { --sec: #4F46E5; --sec-solid: #4F46E5; --sec-rgb: 79, 70, 229; }
.ca-sec-obit          { --sec: #475569; --sec-solid: #475569; --sec-rgb: 71, 85, 105; }
.ca-sec-reports       { --sec: #B45309; --sec-solid: #D97706; --sec-rgb: 217, 119, 6; }
.ca-sec-defence       { --sec: #3F6212; --sec-solid: #4D7C0F; --sec-rgb: 77, 124, 15; }
.ca-sec-default       { --sec: #EC108B; --sec-solid: #EC108B; --sec-rgb: 236, 16, 139; }
[data-theme="dark"] .ca-sec-national      { --sec: #FB7185; --sec-rgb: 251, 113, 133; }
[data-theme="dark"] .ca-sec-international { --sec: #60A5FA; --sec-rgb: 96, 165, 250; }
[data-theme="dark"] .ca-sec-economy       { --sec: #4ADE80; --sec-rgb: 74, 222, 128; }
[data-theme="dark"] .ca-sec-science       { --sec: #A78BFA; --sec-rgb: 167, 139, 250; }
[data-theme="dark"] .ca-sec-sports        { --sec: #FB923C; --sec-rgb: 251, 146, 60; }
[data-theme="dark"] .ca-sec-awards        { --sec: #2DD4BF; --sec-rgb: 45, 212, 191; }
[data-theme="dark"] .ca-sec-books         { --sec: #F472B6; --sec-rgb: 244, 114, 182; }
[data-theme="dark"] .ca-sec-days          { --sec: #93C5FD; --sec-rgb: 147, 197, 253; }
[data-theme="dark"] .ca-sec-appoint       { --sec: #A5B4FC; --sec-rgb: 165, 180, 252; }
[data-theme="dark"] .ca-sec-obit          { --sec: #CBD5E1; --sec-rgb: 203, 213, 225; }
[data-theme="dark"] .ca-sec-reports       { --sec: #FBBF24; --sec-rgb: 251, 191, 36; }
[data-theme="dark"] .ca-sec-defence       { --sec: #A3E635; --sec-rgb: 163, 230, 53; }

/* Intro + jump-to chips */
.ca-intro {
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.07) 0%, rgba(255, 122, 0, 0.08) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 8px;
}
.ca-intro p { margin: 0 0 14px; font-size: 0.97em; }
.ca-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ca-toc-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 2px;
}
.ca-toc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    color: var(--sec);
    background: rgba(var(--sec-rgb), 0.09);
    border: 1px solid rgba(var(--sec-rgb), 0.35);
    transition: var(--transition);
}
.ca-toc-chip:hover { background: var(--sec-solid); border-color: var(--sec-solid); color: #fff; transform: translateY(-1px); }

/* Section banner */
.ca-section { scroll-margin-top: 100px; }
.ca-section-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 34px 0 16px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12)), var(--sec-solid, var(--primary));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(var(--sec-rgb, 236, 16, 139), 0.28);
}
.ca-section-banner > i { font-size: 1.05rem; }
.ca-banner-title { flex: 1; min-width: 0; }
.ca-count {
    margin-left: auto;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.22);
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* News card */
.ca-news {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--sec, var(--primary));
    border-radius: 16px;
    padding: 18px 18px 6px;
    margin: 0 0 18px;
    box-shadow: var(--shadow-sm);
}
.ca-news-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ca-news-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sec-solid, var(--primary));
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
    margin-top: 1px;
}
.article-prose .ca-news-head h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 800;
}
.article-prose .ca-points { list-style: none; margin: 0 0 14px; padding: 0; }
.ca-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.97em;
    line-height: 1.7;
}
.ca-points li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--sec, var(--primary));
    transform: rotate(45deg);
}
.ca-points strong { color: var(--sec, var(--primary)); font-weight: 800; }

/* Sub-points inside a bullet (bulleted or numbered) */
.article-prose .ca-points .ca-sub,
.article-prose .static-gk-box .ca-sub { list-style: none; margin: 8px 0 2px; padding: 0; }
.ca-sub li { position: relative; padding-left: 24px; margin-bottom: 7px; font-size: 0.96em; line-height: 1.65; }
ul.ca-sub > li::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0.78em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sec, var(--primary));
    opacity: 0.75;
    transform: none;
}
ol.ca-sub { counter-reset: casub; }
ol.ca-sub > li { counter-increment: casub; }
ol.ca-sub > li::before {
    content: counter(casub) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    transform: none;
    font-weight: 800;
    font-size: 0.9em;
    color: var(--sec, var(--primary));
}

/* Static GK Booster box */
.static-gk-box {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-left: 4px solid #10B981;
    border-radius: 12px;
    padding: 12px 14px 4px;
    margin: 6px 0 14px;
    font-size: 0.93em;
}
.static-gk-title {
    font-weight: 800;
    color: #059669;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88em;
    letter-spacing: 0.01em;
}
[data-theme="dark"] .static-gk-title { color: #34D399; }
.article-prose .static-gk-box ul { list-style: none; margin: 0; padding: 0; }
.static-gk-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.65;
}
.static-gk-box li::before {
    content: "\2605";
    position: absolute;
    left: 0;
    top: 0;
    color: #10B981;
    font-size: 0.8em;
    line-height: 2;
}
.static-gk-box strong { color: #059669; font-weight: 800; }
[data-theme="dark"] .static-gk-box strong { color: #34D399; }

/* Closing call-to-action */
.ca-cta {
    margin-top: 34px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--primary-grad);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.ca-cta-text { display: flex; flex-direction: column; gap: 2px; min-width: 200px; flex: 1; }
.ca-cta-text strong { font-size: 1.02rem; }
.ca-cta-text span { font-size: 0.86rem; opacity: 0.92; }
.ca-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}
.ca-cta-btn.primary { background: #fff; color: var(--primary); border-color: #fff; }
.ca-cta-btn:hover { transform: translateY(-2px); }

/* Hindi reading comfort (Inter has no Devanagari glyphs) */
.article-prose:lang(hi) {
    font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;
    line-height: 1.95;
}
.article-prose:lang(hi) h2,
.article-prose:lang(hi) h3 { font-family: inherit; line-height: 1.5; }
.article-main-title:lang(hi),
.blog-card-title:lang(hi),
.blog-card-excerpt:lang(hi) { font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; }
.article-main-title:lang(hi) { line-height: 1.4; }

@media (max-width: 480px) {
    .ca-news { padding: 14px 13px 4px; }
    .ca-section-banner { font-size: 0.9rem; padding: 11px 13px; }
    .ca-cta { padding: 16px; }
}

/* ============================================================================
   Article cards are real links now / older-newer navigation / print
   ============================================================================ */
a.blog-card { text-decoration: none; color: inherit; }
a.blog-card:focus-visible,
.pager-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}
.pager-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    background: var(--bg-page);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}
.pager-link:hover { border-color: var(--primary); transform: translateY(-2px); }
.pager-link.newer { text-align: right; align-items: flex-end; }
.pager-dir {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
}
.pager-title {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 560px) {
    .article-pager { grid-template-columns: 1fr; }
    .pager-link.newer { text-align: left; align-items: flex-start; }
}

@media print {
    @page { margin: 14mm; }
    html, html[data-theme] {
        --bg-page: #FFFFFF; --bg-card: #FFFFFF; --bg-card-subtle: #F3F4F6;
        --text-main: #111111; --text-muted: #444444; --border-subtle: #D1D5DB;
    }
    body { background: #FFFFFF !important; color: #111111 !important; }
    .navbar, .mobile-sidebar, .sidebar-overlay, .reading-progress-bar, .main-footer,
    .scroll-to-top, .toast-notification, .article-top-nav, .article-share-box, .article-pager,
    .related-articles-section, .article-tags-row, .ca-toc, .ca-cta, #blog-listing-view { display: none !important; }
    .blog-article-wrapper { padding: 0 !important; max-width: 100% !important; }
    .article-card-surface { border: none !important; box-shadow: none !important; padding: 0 !important; }
    .article-cover-wrapper, .ca-news, .static-gk-box { break-inside: avoid; }
    .ca-section-banner, .ca-news-num, .blog-cover-date, .ca-count {
        -webkit-print-color-adjust: exact; print-color-adjust: exact;
    }
    .article-prose a { color: inherit; text-decoration: none; }
}
