/**
 * Anupurvi Magazine — Coloured Smart Grid Stylesheet
 * Inspired by Robbar.in & Aaro Ananda Digital Magazine Visuals
 * File: assets/css/anupurvi-grid.css
 */

:root {
    --anupurvi-font-serif: 'Noto Serif Bengali', Georgia, serif;
    --anupurvi-font-sans: 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
    --anupurvi-crimson: #7A2E27;
    --anupurvi-ruby: #991B1B;
    --anupurvi-dark: #181514;
}

/* Base Wrapper & Bengali Font Rendering Optimization */
.anupurvi-wrapper {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 3rem) 5rem;
    font-family: var(--anupurvi-font-sans);
    color: var(--text-main, #1F2937);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "clig" 1;
}

.anupurvi-wrapper h1,
.anupurvi-wrapper h2,
.anupurvi-wrapper h3,
.anupurvi-wrapper h4 {
    font-family: var(--anupurvi-font-serif);
    letter-spacing: -0.015em;
}

/* ==========================================================================
   1. ROBBAR-STYLE CRIMSON MASTHEAD STRIP (রোববারীয় নান্দনিক স্ট্রিপ)
   ========================================================================== */
.robbar-masthead-strip {
    background: linear-gradient(135deg, #7A2E27 0%, #991B1B 45%, #4A0404 100%);
    color: #FFFFFF;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(122, 46, 39, 0.18);
}

.robbar-masthead-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FDE68A;
}

.robbar-masthead-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.robbar-masthead-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}

.robbar-masthead-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.9;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.robbar-masthead-links a:hover {
    opacity: 1;
    color: #FDE68A;
    text-decoration: underline;
}

/* ==========================================================================
   2. HORIZONTAL CATEGORY NAVIGATION RIBBON (রঙিন বিষয়বস্তু স্ট্রিপ)
   ========================================================================== */
.smart-category-ribbon {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 0.35rem 0.2rem 1.1rem;
    margin-bottom: 1.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.smart-category-ribbon::-webkit-scrollbar {
    height: 4px;
}

.smart-category-ribbon::-webkit-scrollbar-thumb {
    background: rgba(122, 46, 39, 0.25);
    border-radius: 9999px;
}

.smart-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.48rem 1rem;
    border-radius: 9999px;
    font-family: var(--anupurvi-font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-surface, #FFFFFF);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    scroll-snap-align: start;
}

.smart-cat-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.smart-cat-pill .pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ==========================================================================
   3. HERO EDITORIAL SMART GRID (প্রধান নির্বাচিত ও আলোড়ন)
   ========================================================================== */
.smart-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 420px);
    gap: 2.25rem;
    margin-bottom: 3.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .smart-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Centerpiece Lead Hero Card */
.lead-centerpiece-card {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.lead-centerpiece-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.lead-centerpiece-thumb {
    position: relative;
    aspect-ratio: 16/9.5;
    overflow: hidden;
    background: #1C1917;
}

.lead-centerpiece-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-centerpiece-card:hover .lead-centerpiece-thumb img {
    transform: scale(1.04);
}

/* Anupurvi "সাম্প্রতিক" Recent Articles Stack */
.aaro-trending-box {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.aaro-trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--accent, #991B1B);
    margin-bottom: 0.75rem;
}

.aaro-trending-title {
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--accent, #991B1B);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aaro-trending-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.aaro-ranked-item {
    display: grid;
    grid-template-columns: 36px 1fr 75px;
    gap: 12px;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-color, #E5E7EB);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.aaro-ranked-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aaro-ranked-item:hover {
    transform: translateX(4px);
}

.ranked-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-family: var(--anupurvi-font-serif);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   4. CURATED TWINS GRID (সম্পাদকীয় দ্বৈত সম্ভার)
   ========================================================================== */
.curated-twins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

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

.twin-smart-card {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.twin-smart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* ==========================================================================
   5. THEMATIC SECTIONS & SMART CARDS (বিভাগভিত্তিক রঙিন স্মার্ট গ্রিড)
   ========================================================================== */
.theme-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 0.85rem;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.theme-section-title {
    font-family: var(--anupurvi-font-serif);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-section-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted, #6B7280);
    margin-top: 4px;
}

.theme-section-cta {
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.15s ease;
}

.theme-section-cta:hover {
    transform: translateX(3px);
}

.smart-card {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.smart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.smart-card-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #1C1917;
    position: relative;
}

.smart-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
    transition: transform 0.4s ease;
}

.smart-card:hover .smart-card-thumb img {
    transform: scale(1.05);
}

/* Poetry Special Card */
.poetry-smart-card {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poetry-smart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.poetry-smart-card:hover .smart-card-thumb img {
    transform: scale(1.05);
}

.poetry-quote-mark {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    line-height: 1;
    color: #BE185D;
    opacity: 0.25;
    margin-bottom: -0.45rem;
}

/* ==========================================================================
   6. 3D PRINTED MAGAZINE SHOWCASE (মুদ্রিত বিশেষ ক্রোড়পত্র)
   ========================================================================== */
.magazine-showcase-box {
    background: linear-gradient(135deg, #181514 0%, #261E1A 50%, #151110 100%);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    color: #FFFFFF;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
    .magazine-showcase-box {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
    }
}

.magazine-cover-3d {
    max-width: 260px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: -12px 14px 28px rgba(0,0,0,0.6), 0 0 10px rgba(255,255,255,0.1);
    will-change: transform;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.magazine-cover-3d:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) translateY(-6px);
    box-shadow: -16px 20px 36px rgba(0,0,0,0.7), 0 0 16px rgba(253,230,138,0.2);
}

/* ==========================================================================
   7. CATEGORY HUBS GRID (আমাদের বিভাগসমূহ)
   ========================================================================== */
.category-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.15rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 1100px) {
    .category-hubs-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-hub-card {
    padding: 1.25rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, #E5E7EB);
}

.category-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

/* ==========================================================================
   8. DARK MODE COLOR TUNING (ডার্ক মোড সমর্থন)
   ========================================================================== */
[data-theme="dark"] .anupurvi-wrapper {
    color: #EDEBE6;
}

[data-theme="dark"] .smart-cat-pill,
[data-theme="dark"] .lead-centerpiece-card,
[data-theme="dark"] .aaro-trending-box,
[data-theme="dark"] .twin-smart-card,
[data-theme="dark"] .smart-card,
[data-theme="dark"] .poetry-smart-card,
[data-theme="dark"] .category-hub-card {
    background: #1C1A17 !important;
    border-color: #2F2B26 !important;
}

[data-theme="dark"] .aaro-ranked-item,
[data-theme="dark"] .twin-smart-card,
[data-theme="dark"] .smart-card {
    border-color: #2F2B26 !important;
}

/* ==========================================================================
   9. KOLKATA STREET ART / LITERARY CATEGORY MASTHEAD (কলকাতা হেরিটেজ ব্যাকড্রপ)
   Inspired by Daakbangla & Bengal Little Magazine Heritage Sketches
   ========================================================================== */
.anupurvi-category-hero {
    position: relative;
    background: linear-gradient(180deg, #F6EFE7 0%, #EDE3D8 100%);
    border-bottom: 2px solid #D8CFC4;
    overflow: hidden;
    padding: 3.5rem 0 3.25rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .anupurvi-category-hero {
    background: linear-gradient(180deg, #1C1815 0%, #13100E 100%);
    border-bottom: 1px solid #332B25;
}

.kolkata-heritage-backdrop {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 1150px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.34;
    background-image: url('../images/anupurvi/kolkata_street_sketch.svg');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 12%, rgba(0,0,0,0.7) 40%, black 85%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 12%, rgba(0,0,0,0.7) 40%, black 85%);
}

[data-theme="dark"] .kolkata-heritage-backdrop {
    opacity: 0.22;
    filter: invert(0.85) sepia(0.3) brightness(1.2);
}

.anupurvi-category-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 3rem);
}

.anupurvi-category-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1px solid;
    font-family: var(--anupurvi-font-sans, 'Noto Sans Bengali', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.15s ease;
}

.anupurvi-category-heading {
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif) !important;
    font-size: clamp(2.2rem, 4vw, 3.15rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.65rem 0;
    color: var(--text-main, #1C1917);
    letter-spacing: -0.015em;
}

[data-theme="dark"] .anupurvi-category-heading {
    color: #FAF7F2;
}

.anupurvi-category-accent-bar {
    width: 52px;
    height: 3.5px;
    border-radius: 2px;
    margin-bottom: 0.95rem;
}

.anupurvi-category-desc {
    font-family: var(--anupurvi-font-sans, 'Noto Sans Bengali', sans-serif);
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-muted, #57534E);
    max-width: 760px;
    margin: 0;
}

[data-theme="dark"] .anupurvi-category-desc {
    color: #D6D3D1 !important;
}

@media (max-width: 768px) {
    .anupurvi-category-hero {
        padding: 2.5rem 0 2rem;
    }
    .kolkata-heritage-backdrop {
        width: 100%;
        opacity: 0.20;
        background-size: cover;
        background-position: center bottom;
    }
}

/* ==========================================================================
   10. ANUPURVI CREATIVE AUTHORS SALON (যাঁদের কলমে আনুপূর্বী)
   ========================================================================== */
.creative-authors-section {
    position: relative;
    margin-bottom: 4.5rem;
}

.creative-author-card,
.anupurvi-author-card {
    position: relative;
    background: linear-gradient(145deg, #FCFAF7 0%, #F5EFE7 100%);
    border: 1px solid #E5DDD0;
    border-radius: 14px;
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 4px 16px rgba(122, 46, 39, 0.04);
}

.creative-author-card:hover,
.anupurvi-author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(122, 46, 39, 0.09) !important;
    border-color: var(--accent, #7A2E27) !important;
}

.creative-author-watermark {
    position: absolute;
    right: 14px;
    top: -8px;
    font-size: 5.5rem;
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif);
    line-height: 1;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
}

.creative-craft-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--anupurvi-font-sans, 'Noto Sans Bengali', sans-serif);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 9999px;
    border: 1px solid;
    transition: transform 0.15s ease;
}

.creative-author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid;
    box-shadow: 0 0 0 3px #FAF7F2, 0 3px 10px rgba(0,0,0,0.08);
    background: #FAF7F2;
    transition: transform 0.2s ease;
}

.creative-author-card:hover .creative-author-avatar {
    transform: scale(1.04);
}

.creative-author-avatar-fallback {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2.5px solid;
    box-shadow: 0 0 0 3px #FAF7F2;
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creative-author-quill {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    border: 2px solid #FAF7F2;
}

.creative-author-name {
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif) !important;
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 0 0.2rem 0;
    line-height: 1.35;
}

.creative-author-name a {
    color: var(--text-main, #1C1917);
    text-decoration: none;
    transition: color 0.15s ease;
}

.creative-author-name a:hover {
    color: var(--accent, #7A2E27);
}

.creative-author-quote {
    margin: 0.95rem 0 1.15rem 0;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.75);
    border-left: 3px solid;
    border-radius: 0 8px 8px 0;
    font-family: var(--anupurvi-font-serif, 'Noto Serif Bengali', serif);
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-main, #1F2937);
    flex: 1;
}

.creative-author-quote p {
    margin: 0;
}

.creative-author-bio {
    margin: 0.95rem 0 1.15rem 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-muted, #57534E);
    flex: 1;
}

.creative-author-bio p {
    margin: 0;
}

.creative-author-work {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1.15rem;
    font-size: 0.82rem;
}

.creative-author-work .work-header {
    font-size: 0.7rem;
    color: var(--text-muted, #78716C);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.creative-author-work .work-cat {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 4px;
}

.creative-author-work .work-title {
    color: var(--text-main, #1C1917);
    font-weight: 700;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.creative-author-work .work-title:hover {
    color: var(--accent, #7A2E27);
}

.creative-author-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    border-top: 1px dashed rgba(0,0,0,0.1);
    padding-top: 0.85rem;
    margin-top: auto;
    transition: all 0.15s ease;
}

.creative-author-btn .btn-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.15s ease;
}

.creative-author-card:hover .btn-arrow {
    transform: translateX(4px);
}

/* Dark Mode for Creative Authors Salon */
[data-theme="dark"] .creative-author-card,
[data-theme="dark"] .anupurvi-author-card {
    background: linear-gradient(145deg, #1D1A17 0%, #151311 100%) !important;
    border-color: #2F2A24 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}

[data-theme="dark"] .creative-author-quote {
    background: rgba(255, 255, 255, 0.04);
    color: #FAF7F2;
}

[data-theme="dark"] .creative-author-work {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .creative-author-work .work-title {
    color: #FAF7F2;
}

[data-theme="dark"] .creative-author-btn {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   11. ANUPURVI AUTHOR SHOWCASE BANNER (articles?q=Author)
   ========================================================================== */
.anupurvi-author-hero-card {
    display: flex;
    gap: 2.25rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.anupurvi-author-hero-avatar {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.anupurvi-author-hero-avatar:hover {
    transform: scale(1.04);
}

.anupurvi-author-bio-box {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 12px 12px 0;
    padding: 1.15rem 1.45rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(122, 46, 39, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .anupurvi-author-bio-box {
    background: rgba(28, 24, 21, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .anupurvi-author-bio-box div {
    color: #FAF7F2 !important;
}

@media (max-width: 640px) {
    .anupurvi-author-hero-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }
    .anupurvi-author-bio-box {
        text-align: left;
    }
}



