/**
 * E-News Article Reader Public Stylesheet (public/css/views/view-news.css)
 * 100% Pure Native Vanilla CSS.
 * Optimized for high-concurrency browser caching & Cloudflare edge caching.
 */

/* -------------------------------------------------------------------------
   Local High-Performance Bilingual Typography (@font-face with font-display: swap)
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'MandaliBold';
    src: url('/public/fonts/MandaliBold.woff2') format('woff2'),
         url('/public/fonts/MandaliBold.otf?v=2') format('opentype');
    unicode-range: U+0C00-U+0C7F;
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    ascent-override: 88%;
    descent-override: 28%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Subhadra';
    src: url('/public/fonts/Subhadra.woff2') format('woff2'),
         url('/public/fonts/Subhadra.ttf') format('truetype');
    unicode-range: U+0C00-U+0C7F;
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.font-telugu {
    font-family: 'MandaliBold', sans-serif !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.font-telugu-body {
    font-family: 'Subhadra', sans-serif !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.font-english-head {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.font-english-body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Outer Shell & Wrapper */
.news-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 16px 0 48px 0;
    box-sizing: border-box;
    font-family: inherit;
    min-height: calc(100vh - 120px);
}

.news-view-container {
    max-width: 1325px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 16px;
}

.news-view-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.6fr) minmax(350px, 1.05fr);
    gap: 15px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.news-main-col {
    min-width: 0;
    width: 100%;
}

.news-sidebar-col {
    min-width: 0;
    width: 100%;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7d2fe transparent;
}

.news-sidebar-col::-webkit-scrollbar {
    width: 4px;
}

.news-sidebar-col::-webkit-scrollbar-track {
    background: transparent;
}

.news-sidebar-col::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 4px;
}

.news-sidebar-col::-webkit-scrollbar-thumb:hover {
    background: #a5b4fc;
}

/* Admin Quick Toolbar (Visible only to authorized editors) */
.news-admin-quick-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #eef2ff;
    border-bottom: 1px solid #c7d2fe;
    border-radius: 16px 16px 0 0;
}

html.dark .news-admin-quick-bar {
    background: #1e1b4b;
    border-bottom-color: #3730a3;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
}

.news-badge-published {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.news-badge-draft {
    background: #fef7e0;
    color: #b06000;
    border: 1px solid #feefc3;
}

.news-badge-scheduled {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.news-badge-archived {
    background: #f1f3f4;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.news-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 36px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 8px rgba(49, 46, 129, 0.25);
    transition: all 0.2s ease;
}

.news-btn-primary:hover {
    background: linear-gradient(135deg, #171438 0%, #252363 50%, #372fa3 100%) !important;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.35);
}

.news-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 36px;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.news-btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* Article Reader Card */
.news-reader-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 100%;
    margin: 0;
}

html.dark .news-reader-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.news-main-col .news-reader-card {
    max-width: 100% !important;
    margin: 0 !important;
}

.news-reader-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 520px;
    overflow: hidden;
    background: #0f172a;
    border-radius: 12px;
    margin-bottom: 12px;
}

.news-reader-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* News Clip Action Bar (Exact match to reference screenshot media_1793601245048_f74b10a6.png) */
.news-clip-bar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 22px;
}

.news-clip-bar {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: rgba(99, 102, 241, 0.08); /* 8% soft indigo matching reference */
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 15px; /* 15px rounded corner matching reference */
    overflow: hidden;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

html.dark .news-clip-bar {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Left: Solid Indigo Block - Horizontal: [Icon] News Clip (No line below) */
.news-clip-left-block {
    display: flex;
    flex-direction: row; /* strictly horizontal side-by-side, no below line */
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #4338ca; /* solid indigo matching reference */
    color: #ffffff;
    padding: 10px 20px;
    flex-shrink: 0;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    user-select: none;
    -webkit-user-select: none;
}

html.dark .news-clip-left-block {
    background: #3730a3;
}

.news-clip-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.news-clip-left-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.4px;
    line-height: 1;
    white-space: nowrap;
}

/* Right: Soft Tint Dock with Split-Tone Buttons */
.news-clip-right-side {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    overflow: visible;
}

html.dark .news-clip-right-side {
    background: transparent;
}

/* Split-Tone Clip Buttons matching reference screenshot (Equal Width & Wide) */
.news-clip-item-btn {
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
    display: inline-flex;
    align-items: stretch;
    height: 38px;
    border-radius: 7px;
    border: none;
    overflow: hidden;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    transition: transform 0.16s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.16s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}

.news-clip-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

.news-clip-item-btn:active {
    transform: scale(0.98);
}

.news-clip-btn-icon-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 100%;
    flex-shrink: 0;
    color: #ffffff;
}

.news-clip-btn-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px 0 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-clip-text-desktop {
    display: inline;
}

.news-clip-text-mobile {
    display: none;
}

/* Download Clip: Royal Blue Split Tone (matching Facebook/Telegram split-button style) */
.news-clip-btn-download {
    background: #1d4ed8 !important;
}

.news-clip-btn-download .news-clip-btn-icon-side {
    background: #2563eb !important;
}

/* Share Clip: Emerald Green Split Tone (matching WhatsApp split-button style) */
.news-clip-btn-share {
    background: #21ba5a !important;
}

.news-clip-btn-share .news-clip-btn-icon-side {
    background: #25d366 !important;
}

.news-reader-content {
    padding: 5px 36px 32px 36px !important;
}

@media (max-width: 768px) {
    .news-reader-content {
        padding: 5px 12px 16px 12px !important;
    }
}

.news-reader-headline {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 36px;
    font-weight: 400 !important;
    color: #0f172a;
    line-height: 1.35 !important;
    margin: 0 !important;
    letter-spacing: normal;
}

.news-reader-headline.font-telugu {
    font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    margin-bottom: 0;
}

html.dark .news-reader-headline {
    color: #f8fafc;
}

@media (max-width: 768px) {
    .news-reader-headline {
        font-size: 26px;
        line-height: 1.25 !important;
        margin: 4px 0 0 0;
    }
}

/* Thin Gray Line Divider Below Title & Above User Card */
.news-title-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 2px 0 10px 0;
    width: 100%;
    border: none;
}

html.dark .news-title-divider {
    background: #334155;
}

/* Reader Byline & Meta Info Box */
.news-reader-meta-box,
.news-reader-meta-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 14px 6px 6px;
    margin-bottom: 10px;
    background: #eef2ff;
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.04);
    font-size: 13px;
    color: #475569;
    font-family: 'Subhadra', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
}

html.dark .news-reader-meta-box,
html.dark .news-reader-meta-bar {
    background: rgba(30, 27, 75, 0.55);
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    color: #94a3b8;
}

.news-meta-col-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-left: 8px;
    border-left: 1px solid rgba(99, 102, 241, 0.2);
}

html.dark .news-meta-col-right {
    border-left-color: rgba(99, 102, 241, 0.3);
}

.news-meta-divider {
    height: 1px;
    background: rgba(99, 102, 241, 0.16);
    width: 100%;
    margin: 4px 0 5px 0;
}

html.dark .news-meta-divider {
    background: rgba(99, 102, 241, 0.28);
}

.news-meta-avatar-round,
.news-meta-avatar-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.16);
    background: #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

html.dark .news-meta-avatar-round,
html.dark .news-meta-avatar-wrap {
    border-color: #312e81;
    background: #1e1b4b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.news-meta-avatar-img,
.news-meta-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.news-meta-author-details,
.news-meta-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5px;
    line-height: 1.2;
    padding-top: 5px; /* 5px gap above username */
}

.news-meta-author-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.015em;
}

html.dark .news-meta-author-name {
    color: #ffffff;
}

.news-meta-author-role {
    font-size: 12.5px;
    font-weight: 600;
    color: #4338ca;
    letter-spacing: 0.01em;
}

html.dark .news-meta-author-role {
    color: #c7d2fe;
}

/* Meta Pills Row: Date | Time | Views | Category (All in ONE single row, scrollable on desktop & mobile) */
.news-meta-pills-row,
.news-meta-info-cluster,
.news-meta-left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    width: 100%;
    line-height: 1.4;
    padding: 4px 0 6px 0;
}

.news-meta-pills-row::-webkit-scrollbar {
    display: none;
}

.news-meta-pill,
.news-meta-item {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    line-height: 1.4;
    flex-shrink: 0;
    white-space: nowrap;
}

.news-meta-pill time,
.news-meta-pill span {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
    vertical-align: middle;
    position: relative;
    top: 0.5px;
}

html.dark .news-meta-pill,
html.dark .news-meta-item {
    background: transparent;
    border: none;
    color: #cbd5e1;
    box-shadow: none;
}

.news-meta-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    user-select: none;
    font-size: 11px;
    font-weight: 400;
    margin: 0 6px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.4;
    opacity: 0.7;
    position: relative;
    top: 0;
}

html.dark .news-meta-sep {
    color: #64748b;
}

.news-meta-pill svg,
.news-meta-item svg {
    color: #6366f1;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    margin: 0;
}

.news-meta-cat-svg-icon {
    color: #6366f1;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    margin: 0 5px 0 0; /* Uniform 5px gap before first category, matching date/time/views */
}

html.dark .news-meta-pill svg,
html.dark .news-meta-item svg,
html.dark .news-meta-cat-svg-icon {
    color: #818cf8;
}

/* Right Section: Category Cluster & Chips in Meta Bar */
.news-meta-cats-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
    line-height: 1.4;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.news-meta-cats-row::-webkit-scrollbar {
    display: none;
}

.news-meta-cats-list {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1.4;
    flex-shrink: 0;
}

.news-meta-cats-inline {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1.4;
    flex-shrink: 0;
    vertical-align: middle;
}

.news-meta-cats-cluster {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    line-height: 1.4;
}

.news-meta-cat-chip {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #4338ca !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
    white-space: nowrap;
    line-height: 1.3;
    flex-shrink: 0;
    overflow: visible;
}

.news-meta-cat-chip.font-telugu {
    font-family: 'MandaliBold', sans-serif !important;
    line-height: 1.3;
    overflow: visible;
}

.news-meta-cat-chip .news-meta-cat-name {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.3;
    position: static;
    top: 0;
    overflow: visible;
}

.news-meta-cat-chip.font-telugu .news-meta-cat-name {
    font-size: 13px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    position: static;
    top: 0;
    overflow: visible;
}

.news-meta-cat-chip.font-telugu .news-meta-cat-svg-icon {
    position: static;
    top: 0;
    vertical-align: middle;
}

.news-meta-cat-chip:hover {
    color: #312e81 !important;
    text-decoration: underline !important;
    background: transparent !important;
    box-shadow: none !important;
}

.news-meta-cat-chip:hover .news-meta-cat-svg-icon {
    color: #312e81 !important;
}

html.dark .news-meta-cat-chip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #c7d2fe !important;
}

html.dark .news-meta-cat-chip:hover {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    text-decoration: underline !important;
    box-shadow: none !important;
}

.news-meta-cat-svg-icon {
    flex-shrink: 0;
    color: #4f46e5;
}

html.dark .news-meta-cat-svg-icon {
    color: #818cf8;
}

/* Explicitly hide views pill */
.news-meta-pill-views {
    display: none !important;
}

/* Mobile Responsive Optimization for Reader Meta Box */
@media (max-width: 768px) {
    .news-reader-meta-box,
    .news-reader-meta-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 3px 10px 3px 3px;
        margin-bottom: 8px !important;
        border-radius: 12px;
    }

    .news-meta-avatar-round,
    .news-meta-avatar-wrap {
        width: 54px;
        height: 54px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .news-meta-col-right {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-left: 10px;
        border-left: 1px solid rgba(99, 102, 241, 0.2);
    }

    .news-meta-author-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        line-height: 1.2;
        padding-top: 5px !important;
    }

    .news-meta-author-name {
        font-size: 16px;
        font-weight: 700;
    }

    .news-meta-author-role {
        font-size: 11.5px;
    }

    .news-meta-divider {
        display: block;
        height: 1px;
        background: rgba(99, 102, 241, 0.16);
        width: 100%;
        margin: 3px 0 3px 0;
    }

    html.dark .news-meta-divider {
        background: rgba(99, 102, 241, 0.28);
    }

    .news-meta-pills-row {
        display: flex;
        align-items: center;
        gap: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        padding: 3px 0 5px 0;
        line-height: 1.4;
    }

    .news-meta-pills-row::-webkit-scrollbar {
        display: none;
    }

    .news-meta-pill,
    .news-meta-item,
    .news-meta-cat-chip {
        flex-shrink: 0;
        font-size: 11px;
        padding: 0;
        gap: 4px;
        white-space: nowrap;
        line-height: 1.4;
        overflow: visible;
    }

    .news-meta-sep {
        font-size: 10px;
        margin: 0 4px;
        line-height: 1.4;
    }

    .news-meta-cat-svg-icon {
        margin: 0 4px 0 0;
    }

    .news-meta-cats-inline {
        display: inline-flex;
        align-items: center;
        gap: 0;
        line-height: 1.4;
        flex-shrink: 0;
        vertical-align: middle;
    }

.news-meta-cats-cluster {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
}

/* Excerpt Box */
.news-reader-excerpt {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.7;
    color: #0f172a;
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-left: 4px solid #4f46e5;
    padding: 9px 14px 6px 12px;
    margin: 20px 0 15px 0 !important;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0 10px 10px 0;
}

html.dark .news-reader-excerpt {
    color: #f1f5f9;
    background: rgba(99, 102, 241, 0.10);
    border-color: rgba(99, 102, 241, 0.22);
}

.news-excerpt-bullet {
    color: #4f46e5;
    font-size: 0.92em;
    margin-right: 6px;
    display: inline-block;
    vertical-align: 1px;
}

html.dark .news-excerpt-bullet {
    color: #818cf8;
}

/* Reader Story Typography */
.news-reader-story {
    font-family: 'Subhadra', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1.88 !important;
    color: #1e293b;
    word-break: break-word;
    margin-top: 0;
}

.news-reader-story > p:first-child,
.news-reader-story > div:first-child {
    margin-top: 0 !important;
}

html.dark .news-reader-story {
    color: #e2e8f0;
}

.news-reader-story p,
.news-reader-story div:not([class*="news-inpost-"]):not([class*="news-embed-"]):not(.news-post-figure),
.news-reader-story li,
.news-reader-story font,
.news-reader-story span:not([class*="news-inpost-"]):not([class*="badge"]):not([class*="tag"]) {
    font-size: 20px !important;
    line-height: 1.88 !important;
}

.news-reader-story p {
    margin-bottom: 1.4em;
}

.news-reader-story h2,
.news-reader-story h3,
.news-reader-story h4 {
    font-family: 'MandaliBold', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    margin: 24px 0 12px 0;
    line-height: 1.4;
    color: #0f172a;
}

html.dark .news-reader-story h2,
html.dark .news-reader-story h3,
html.dark .news-reader-story h4 {
    color: #f8fafc;
}

.news-reader-story blockquote {
    border-left: 4px solid #6366f1;
    padding: 10px 18px;
    margin: 18px 0;
    background: #f8fafc;
    color: #475569;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

html.dark .news-reader-story blockquote {
    background: #1e293b;
    color: #94a3b8;
}

.news-reader-story img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-reader-story a {
    color: #4f46e5;
    text-decoration: underline;
}

html.dark .news-reader-story a {
    color: #818cf8;
}

/* In-Story Inserted Media & Galleries */
.news-post-figure {
    margin: 16px 0;
    text-align: center;
}
.news-post-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.news-post-figure figcaption {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    margin-top: 6px;
}
.news-post-gallery {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}
.news-gallery-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.news-gallery-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
    .news-gallery-cols-2, .news-gallery-cols-3 {
        grid-template-columns: 1fr;
    }
}
.news-post-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Rich Media & Social Embeds */
.news-embed-wrap {
    margin: 16px 0;
    max-width: 100%;
}
.news-embed-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #000000;
}
.news-embed-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-embed-twitter,
.news-embed-instagram,
.news-embed-facebook {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}
.news-embed-twitter .twitter-tweet,
.news-embed-twitter .twitter-tweet-iframe,
.news-embed-instagram .instagram-media,
.news-embed-facebook .fb-post,
.news-embed-facebook .fb-video,
.news-embed-facebook iframe {
    margin: 0 auto !important;
}

.twitter-tweet-iframe {
    width: 100% !important;
    max-width: 550px !important;
    min-height: 360px;
    border: none !important;
    border-radius: 16px !important;
    margin: 16px auto !important;
    display: block !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}
html.dark .twitter-tweet-iframe {
    background: #000000 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Fallback & Loading Card Styles for Twitter Embeds */
.twitter-tweet:not(.twitter-tweet-rendered) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    border: 1px solid #cfd9de !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin: 16px auto !important;
    max-width: 550px !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: block !important;
    box-sizing: border-box !important;
}

.twitter-tweet:not(.twitter-tweet-rendered) p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 10px 0 !important;
    color: inherit !important;
    word-break: break-word !important;
}

.twitter-tweet:not(.twitter-tweet-rendered) a {
    color: #1d9bf0 !important;
    text-decoration: none !important;
}

/* In-Post "Also Read" Editorial List Design */
.news-inpost-alsoread {
    margin: 18px 0;
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.45) 0%, rgba(248, 250, 252, 0.7) 100%);
    border: 1px solid rgba(199, 210, 254, 0.6);
    border-left: 4px solid #4f46e5;
    border-radius: 12px;
    padding: 12px 14px 12px 10px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.04);
    box-sizing: border-box;
}

html.dark .news-inpost-alsoread {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.35) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    border-left-color: #6366f1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.news-inpost-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    padding-left: 2px;
    border-bottom: 1px solid rgba(199, 210, 254, 0.5);
}

html.dark .news-inpost-header {
    border-bottom-color: rgba(99, 102, 241, 0.25);
}

.news-inpost-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3.5px 9px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
    color: #ffffff;
    font-size: 12.5px !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 1px 4px rgba(67, 56, 202, 0.25);
}

.news-inpost-badge svg {
    color: #facc15;
}

.news-inpost-sub {
    font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 400;
    color: #475569;
}

html.dark .news-inpost-sub {
    color: #94a3b8;
}

.news-inpost-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-inpost-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 6px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(199, 210, 254, 0.5);
    text-decoration: none !important;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

html.dark .news-inpost-row {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.28);
}

.news-inpost-row:hover {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

html.dark .news-inpost-row:hover {
    background: rgba(99, 102, 241, 0.22);
    border-color: rgba(99, 102, 241, 0.5);
}

.news-inpost-counter {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 7px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.25);
    transition: all 0.15s ease;
    text-align: center;
}

.news-inpost-row:hover .news-inpost-counter {
    background: #3730a3;
    transform: scale(1.05);
}

html.dark .news-inpost-counter {
    background: #6366f1;
    color: #ffffff;
}

html.dark .news-inpost-row:hover .news-inpost-counter {
    background: #818cf8;
}

.news-inpost-title {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, sans-serif !important;
    margin: 0;
    font-size: 18.5px !important;
    font-weight: 400 !important;
    color: #312e81;
    line-height: 1.45 !important;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

html.dark .news-inpost-title {
    color: #f1f5f9;
}

.news-inpost-row:hover .news-inpost-title {
    color: #1e1b4b;
}

html.dark .news-inpost-row:hover .news-inpost-title {
    color: #c7d2fe;
}

.news-inpost-chevron {
    width: 16px;
    height: 16px;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.news-inpost-row:hover .news-inpost-chevron {
    color: #3730a3;
    transform: translateX(3px);
}

html.dark .news-inpost-chevron {
    color: #818cf8;
}

html.dark .news-inpost-row:hover .news-inpost-chevron {
    color: #ffffff;
}

/* Share Bar - Dual Indigo & Native Items Dock */
.news-reader-share-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 28px;
    margin-bottom: 8px;
}

.news-reader-share-bar {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: rgba(99, 102, 241, 0.08); /* 8% indigo */
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 15px; /* 15px rounded corner */
    overflow: visible !important;
    position: relative;
    z-index: 50;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

html.dark .news-reader-share-bar {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Left: Solid Indigo Share Block with White Icon & Text (Visible on desktop & mobile) */
.news-share-left-block {
    display: flex;
    background: #4338ca; /* solid indigo */
    color: #ffffff;
    padding: 14px 24px;
    min-width: 95px;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

html.dark .news-share-left-block {
    background: #3730a3;
}

.news-share-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.news-share-left-text {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 2px;
}

/* Right: 8% Indigo with Labeled Split-Tone Buttons Dock */
.news-share-right-side {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.08); /* 8% indigo */
    flex-wrap: nowrap;
    width: 100%;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    overflow: visible !important;
}

html.dark .news-share-right-side {
    background: transparent;
}

.news-share-item-btn {
    display: inline-flex;
    align-items: stretch;
    height: 38px;
    border-radius: 7px;
    border: none;
    overflow: hidden;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 1;
    min-width: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    transition: transform 0.16s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-share-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

.news-btn-icon-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 100%;
    flex-shrink: 0;
    color: #ffffff;
}

.news-btn-label {
    display: flex;
    align-items: center;
    padding: 0 10px 0 8px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
    color: #ffffff;
    white-space: nowrap;
}

/* Brand Split Colors matching screenshot reference media_1793563055547_8273c81e.png */
.news-btn-fb { background: #344f86; }
.news-btn-fb .news-btn-icon-side { background: #3b5998; }

.news-btn-tw { background: #18181b; }
.news-btn-tw .news-btn-icon-side { background: #000000; }

.news-btn-wa { background: #21ba5a; }
.news-btn-wa .news-btn-icon-side { background: #25d366; }

.news-btn-tg { background: #2791c5; }
.news-btn-tg .news-btn-icon-side { background: #2ca5e0; }

.news-btn-email { display: none !important; } /* Hidden on desktop view per request */

.news-btn-copy { 
    background: #4338ca; 
    position: relative !important;
    overflow: visible !important;
}
.news-btn-copy .news-btn-icon-side { 
    background: #4f46e5; 
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.news-copy-badge {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    line-height: 1.3;
}

.news-copy-badge::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.news-copy-badge:not(:empty),
.news-copy-badge.show-badge {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

.news-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.news-share-wa {
    background: #25D366;
    color: #ffffff;
}
.news-share-wa:hover {
    background: #1eb857;
}

.news-share-fb {
    background: #1877F2;
    color: #ffffff;
}
.news-share-fb:hover {
    background: #1464cc;
}

.news-share-x {
    background: #000000;
    color: #ffffff;
}
.news-share-x:hover {
    background: #1a1a1a;
}

.news-share-tg {
    background: #229ED9;
    color: #ffffff;
}
.news-share-tg:hover {
    background: #1d8bbf;
}

.news-share-copy {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}
.news-share-copy:hover {
    background: #e2e8f0;
    color: #0f172a;
}

html.dark .news-share-copy {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

/* Sidebar Recent News Card */
.news-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

html.dark .news-sidebar-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.news-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #3730a3 0%, #4338ca 50%, #4f46e5 100%);
    color: #ffffff;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: 0 2px 10px rgba(55, 48, 163, 0.25);
}

html.dark .news-sidebar-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #3730a3 100%);
}

.news-sidebar-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.news-sidebar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.news-sidebar-title-text,
.news-sidebar-title-text.font-telugu {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 24.5px !important;
    font-weight: 700 !important;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 2px;
}

.news-sidebar-more-btn,
.news-sidebar-pill-badge {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.news-sidebar-more-btn:hover,
.news-sidebar-pill-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-sidebar-more-btn:active,
.news-sidebar-pill-badge:active {
    transform: scale(0.95);
}

.news-sidebar-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.news-sidebar-more-btn:hover .news-sidebar-arrow-icon,
.news-sidebar-pill-badge:hover .news-sidebar-arrow-icon {
    transform: translateX(1.5px);
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
}

.news-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: none;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
    position: relative;
}

.news-sidebar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #e2e8f0;
}

.news-sidebar-item:last-child::after {
    display: none;
}

.news-sidebar-item:hover {
    background: #f8fafc;
}

html.dark .news-sidebar-item::after {
    background: #334155;
}

html.dark .news-sidebar-item:hover {
    background: #0f172a;
}

.news-sidebar-thumb {
    width: 76px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.news-sidebar-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.news-sidebar-item-cat {
    display: none;
}

.news-sidebar-item-title,
.news-sidebar-item-title.font-telugu {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 19.5px !important;
    font-weight: 700 !important;
    color: #0f172a;
    line-height: 1.38 !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.dark .news-sidebar-item-title {
    color: #f1f5f9;
}

.news-sidebar-item:hover .news-sidebar-item-title {
    color: #4338ca;
}

html.dark .news-sidebar-item:hover .news-sidebar-item-title {
    color: #818cf8;
}

.news-sidebar-item-date {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Horizontal Section Divider */
.news-section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.2) 0%, rgba(203, 213, 225, 0.9) 50%, rgba(226, 232, 240, 0.2) 100%);
    border: none;
    margin: 40px 0 32px 0;
}

html.dark .news-section-divider {
    background: linear-gradient(90deg, rgba(51, 65, 85, 0.2) 0%, rgba(71, 85, 105, 0.9) 50%, rgba(51, 65, 85, 0.2) 100%);
}

/* Same Category News Section */
.news-same-cat-section {
    margin-top: 10px;
}

.news-same-cat-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
}

html.dark .news-same-cat-container-card {
    background: #1e293b;
    border-color: #334155 !important;
    box-shadow: none !important;
}

.news-same-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(135deg, #3730a3 0%, #4338ca 50%, #4f46e5 100%);
    color: #ffffff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 10px rgba(55, 48, 163, 0.2);
    margin-bottom: 0;
}

.news-same-cat-content {
    padding: 22px;
}

html.dark .news-same-cat-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #3730a3 100%);
}

.news-same-cat-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.news-same-cat-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.news-same-cat-title-text,
.news-same-cat-title-text.font-telugu {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 22px;
    font-weight: 700 !important;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 2px;
}

.news-same-cat-view-btn {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.news-same-cat-view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-same-cat-view-btn:active {
    transform: scale(0.95);
}

.news-same-cat-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.news-same-cat-view-btn:hover .news-same-cat-arrow-icon {
    transform: translateX(1.5px);
}

.news-same-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.news-same-cat-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.news-same-cat-card:hover {
    transform: translateY(-2px);
    border-color: #94a3b8 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

html.dark .news-same-cat-card {
    background: #1e293b;
    border-color: #334155 !important;
    box-shadow: none !important;
}

html.dark .news-same-cat-card:hover {
    border-color: #64748b !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.news-same-cat-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.news-same-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.news-same-cat-card:hover .news-same-cat-img {
    transform: scale(1.04);
}

.news-same-cat-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-same-cat-card-title {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 21.5px !important;
    font-weight: 700 !important;
    color: #0f172a;
    line-height: 1.35 !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-same-cat-card-title.font-telugu {
    font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
    font-size: 21.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

html.dark .news-same-cat-card-title {
    color: #f1f5f9;
}

.news-same-cat-card:hover .news-same-cat-card-title {
    color: #4338ca;
}

html.dark .news-same-cat-card:hover .news-same-cat-card-title {
    color: #818cf8;
}

.news-same-cat-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.news-same-cat-pill-text {
    font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.2px;
    display: inline-block;
}

.news-same-cat-pill.font-telugu {
    padding: 4px 12px;
}

.news-same-cat-pill.font-telugu .news-same-cat-pill-text {
    font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1;
    display: inline-block;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1200px) {
    .news-same-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .news-view-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-sidebar-col {
        display: none !important;
    }
}

/* Mobile Layout Benchmark Parity (password-change / add-reporter standard) */
@media (max-width: 768px) {
    .news-wrapper {
        padding: 8px 0 76px 0 !important;
    }
    .news-view-container {
        padding: 0 10px !important;
    }
    .news-view-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .news-sidebar-col {
        display: none !important;
    }
    .news-reader-card {
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    }
    .news-admin-quick-bar {
        padding: 8px 12px !important;
        border-radius: 14px 14px 0 0 !important;
    }
    .news-reader-content {
        padding: 5px 12px 16px 12px !important;
    }
    .news-reader-hero {
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }
    .news-clip-bar-wrap {
        margin-top: 2px !important;
        margin-bottom: 16px !important;
    }
    .news-clip-bar {
        display: flex !important;
        width: 100% !important;
        border-radius: 14px !important;
    }
    .news-clip-left-block {
        padding: 8px 14px !important;
        gap: 7px !important;
        border-top-left-radius: 13px !important;
        border-bottom-left-radius: 13px !important;
    }
    .news-clip-icon-badge {
        width: 26px !important;
        height: 26px !important;
        border-radius: 6px !important;
    }
    .news-clip-icon-badge svg {
        width: 15px !important;
        height: 15px !important;
    }
    .news-clip-left-text {
        font-size: 12.5px !important;
    }
    .news-clip-right-side {
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .news-clip-item-btn {
        flex: 1 1 0 !important;
        width: 50% !important;
        min-width: 0 !important;
        height: 34px !important;
        border-radius: 6px !important;
    }
    .news-clip-btn-icon-side {
        width: 30px !important;
    }
    .news-clip-btn-icon-side svg {
        width: 15px !important;
        height: 15px !important;
    }
    .news-clip-btn-label {
        flex: 1 !important;
        padding: 0 6px !important;
        font-size: 11.5px !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .news-clip-text-desktop {
        display: none !important;
    }
    .news-clip-text-mobile {
        display: inline !important;
    }
    .news-reader-headline {
        font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, sans-serif !important;
        font-weight: 400 !important;
        font-size: 26px !important;
        line-height: 1.34 !important;
        margin: 0 !important;
    }
    .news-title-divider {
        margin: 8px 0 12px 0 !important;
    }
    .news-reader-excerpt {
        font-family: 'Ramabhadra', 'RamabhadraLocal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        padding: 9px 12px 5px 10px !important;
        margin: 0 0 10px 0 !important;
        font-size: 19px !important;
        font-weight: 400 !important;
        line-height: 1.65 !important;
        background: rgba(99, 102, 241, 0.05) !important;
        border: 1px solid rgba(99, 102, 241, 0.14) !important;
        border-left: 4px solid #4f46e5 !important;
        border-radius: 0 8px 8px 0 !important;
    }
    .news-reader-story,
    .news-reader-story p,
    .news-reader-story div:not([class*="news-inpost-"]):not([class*="news-embed-"]):not(.news-post-figure),
    .news-reader-story li,
    .news-reader-story font,
    .news-reader-story span:not([class*="news-inpost-"]):not([class*="badge"]):not([class*="tag"]) {
        font-size: 18px !important;
        line-height: 1.8 !important;
        margin-top: 0 !important;
    }
    .news-reader-story p {
        margin-bottom: 1.15em !important;
    }
    .news-inpost-alsoread {
        margin: 14px 0 !important;
        padding: 10px 12px 10px 8px !important;
        border-radius: 10px !important;
    }
    .news-inpost-row {
        padding: 7px 8px 7px 5px !important;
        gap: 8px !important;
        background: rgba(99, 102, 241, 0.08) !important;
        border: 1px solid rgba(199, 210, 254, 0.5) !important;
    }
    html.dark .news-inpost-row {
        background: rgba(99, 102, 241, 0.15) !important;
        border-color: rgba(99, 102, 241, 0.28) !important;
    }
    .news-inpost-badge {
        font-size: 11px !important;
        padding: 2.5px 7px !important;
    }
    .news-inpost-sub {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 13.5px !important;
    }
    .news-inpost-counter {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        background: #4f46e5 !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    html.dark .news-inpost-counter {
        background: #6366f1 !important;
    }
    .news-inpost-title {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1.42 !important;
        color: #312e81 !important;
    }
    html.dark .news-inpost-title {
        color: #f1f5f9 !important;
    }
    .news-inpost-chevron {
        color: #4f46e5 !important;
    }
    html.dark .news-inpost-chevron {
        color: #818cf8 !important;
    }
    .news-reader-share-wrap {
        margin-top: 20px !important;
        margin-bottom: 4px !important;
    }
    .news-reader-share-bar {
        display: flex !important;
        width: 100% !important;
        border-radius: 15px !important;
        margin-top: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background: rgba(99, 102, 241, 0.08) !important;
        border: 1px solid rgba(99, 102, 241, 0.22) !important;
        align-items: stretch !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 50 !important;
    }
    html.dark .news-reader-share-bar {
        background: rgba(99, 102, 241, 0.12) !important;
        border-color: rgba(99, 102, 241, 0.32) !important;
    }
    .news-share-left-block {
        display: flex !important;
        padding: 10px 16px !important;
        min-width: 72px !important;
        gap: 4px !important;
        background: #4338ca !important;
    }
    html.dark .news-share-left-block {
        background: #3730a3 !important;
    }
    .news-share-icon-badge {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }
    .news-share-icon-badge svg {
        width: 18px !important;
        height: 18px !important;
    }
    .news-share-left-text {
        font-size: 12px !important;
    }
    .news-share-right-side {
        padding: 10px 12px !important;
        gap: 8px !important;
        justify-content: space-evenly !important;
        flex: 1 !important;
        background: rgba(99, 102, 241, 0.08) !important;
        overflow: visible !important;
        scrollbar-width: none !important;
    }
    .news-share-item-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    .news-btn-label {
        display: none !important;
    }
    .news-btn-icon-side {
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .news-btn-fb { background: #1877f2 !important; }
    .news-btn-tw { background: #000000 !important; }
    .news-btn-wa { background: #25d366 !important; }
    .news-btn-tg { background: #229ed9 !important; }
    .news-btn-email { background: #ea4335 !important; display: inline-flex !important; }
    .news-btn-copy { 
        background: #4f46e5 !important;
        position: relative !important;
        overflow: visible !important;
    }
    .news-copy-badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
        bottom: calc(100% + 8px) !important;
    }
    .news-meta-cat-chip.font-telugu .news-meta-cat-name {
        font-size: 12.5px !important;
        position: static !important;
        top: 0 !important;
        line-height: 1.4 !important;
        overflow: visible !important;
    }
    .news-sidebar-card {
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    }
    .news-sidebar-header {
        padding: 10px 14px !important;
    }
    .news-sidebar-icon-box {
        width: 32px !important;
        height: 32px !important;
    }
    .news-sidebar-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .news-sidebar-title-text,
    .news-sidebar-title-text.font-telugu {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        top: 1.5px !important;
    }
    .news-sidebar-more-btn,
    .news-sidebar-pill-badge {
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
    }
    .news-sidebar-arrow-icon {
        width: 14px !important;
        height: 14px !important;
    }
    .news-sidebar-item {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .news-sidebar-thumb {
        width: 70px !important;
        height: 54px !important;
        border-radius: 6px !important;
    }
    .news-sidebar-item-title,
    .news-sidebar-item-title.font-telugu {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
    }
    .news-section-divider {
        margin: 22px 0 18px 0 !important;
    }
    .news-same-cat-container-card {
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }
    .news-same-cat-header {
        border-top-left-radius: 13px !important;
        border-top-right-radius: 13px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        padding: 10px 14px !important;
        margin-bottom: 0 !important;
    }
    .news-same-cat-content {
        padding: 14px 12px !important;
    }
    .news-same-cat-icon-box {
        width: 32px !important;
        height: 32px !important;
    }
    .news-same-cat-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .news-same-cat-title-text {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        top: 1.5px !important;
    }
    .news-same-cat-view-btn {
        width: 30px !important;
        height: 30px !important;
    }
    .news-same-cat-arrow-icon {
        width: 14px !important;
        height: 14px !important;
    }
    .news-same-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .news-same-cat-card {
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }
    .news-same-cat-body {
        padding: 10px !important;
    }
    .news-same-cat-card-title,
    .news-same-cat-card-title.font-telugu {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-weight: 700 !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
    }
    .news-same-cat-pill {
        top: 6px !important;
        left: 6px !important;
        padding: 2.5px 8px !important;
        border-radius: 6px !important;
    }
    .news-same-cat-pill.font-telugu {
        padding: 2.5px 8px !important;
    }
    .news-same-cat-pill.font-telugu .news-same-cat-pill-text {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-size: 12px !important;
        top: 1px !important;
    }
}

/* Compact Mobile View (<= 480px / 360px phones) */
@media (max-width: 480px) {
    .news-wrapper {
        padding: 6px 0 76px 0 !important;
    }
    .news-view-container {
        padding: 0 8px !important;
    }
    .news-view-grid {
        gap: 12px !important;
    }
    .news-reader-content {
        padding: 5px 10px 14px 10px !important;
    }
    .news-reader-headline {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-weight: 400 !important;
        font-size: 24px !important;
        line-height: 1.32 !important;
        margin: 0 !important;
    }
    .news-reader-excerpt {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-weight: 400 !important;
        font-size: 18.5px !important;
        line-height: 1.62 !important;
        padding: 9px 10px 5px 8px !important;
        margin: 0 0 10px 0 !important;
    }
    .news-same-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .news-same-cat-card-title,
    .news-same-cat-card-title.font-telugu {
        font-family: 'Ramabhadra', 'RamabhadraLocal', sans-serif !important;
        font-weight: 700 !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
    }
    .news-inpost-title {
        font-size: 17.5px !important;
        line-height: 1.38 !important;
    }
    .news-inpost-sub {
        font-size: 13px !important;
    }
    .news-reader-share-bar {
        border-radius: 15px !important;
    }
    .news-share-left-block {
        padding: 8px 12px !important;
        min-width: 62px !important;
    }
    .news-share-icon-badge {
        width: 28px !important;
        height: 28px !important;
        border-radius: 7px !important;
    }
    .news-share-icon-badge svg {
        width: 16px !important;
        height: 16px !important;
    }
    .news-share-left-text {
        font-size: 11px !important;
    }
    .news-share-right-side {
        padding: 8px 10px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }
    .news-share-item-btn {
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
    }
    .news-clip-left-block {
        padding: 6px 10px !important;
        gap: 5px !important;
    }
    .news-clip-icon-badge {
        width: 22px !important;
        height: 22px !important;
    }
    .news-clip-icon-badge svg {
        width: 13px !important;
        height: 13px !important;
    }
    .news-clip-left-text {
        font-size: 11.5px !important;
    }
    .news-clip-right-side {
        padding: 6px 8px !important;
        gap: 6px !important;
    }
    .news-clip-item-btn {
        flex: 1 1 0 !important;
        width: 50% !important;
        min-width: 0 !important;
        height: 32px !important;
    }
    .news-clip-btn-icon-side {
        width: 26px !important;
    }
    .news-clip-btn-icon-side svg {
        width: 13px !important;
        height: 13px !important;
    }
    .news-clip-btn-label {
        flex: 1 !important;
        padding: 0 4px !important;
        font-size: 10.5px !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   2K HD News Clip Generator: Toast & Share Modal Styles
   ========================================================================== */

/* Floating Toast Indicator */
.news-clip-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    pointer-events: none;
}

.news-clip-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.news-clip-toast-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: ncSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes ncSpin {
    to { transform: rotate(360deg); }
}

/* HD Clip Share Modal */
.news-clip-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.news-clip-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.news-clip-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-clip-modal-backdrop.show .news-clip-modal-card {
    transform: scale(1);
}

.news-clip-modal-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-clip-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.news-clip-modal-badge {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.news-clip-modal-close {
    background: #e2e8f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.15s ease;
}

.news-clip-modal-close:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.news-clip-modal-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-height: 75vh;
    overflow-y: auto;
}

.news-clip-preview-wrap {
    width: 100%;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.news-clip-preview-img {
    max-width: 100%;
    max-height: 42vh;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: block;
}

.news-clip-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.news-clip-btn-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.news-clip-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.news-clip-action-download {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.news-clip-action-download:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

.news-clip-action-wa {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.news-clip-action-wa:hover {
    background: #20ba5a;
}

.news-clip-action-copy {
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
}

.news-clip-action-copy:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.news-clip-action-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.news-clip-social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.news-clip-social-icon-btn:hover {
    transform: translateY(-2px);
}

.news-clip-social-tg { background: #229ed9; }
.news-clip-social-tw { background: #000000; }
.news-clip-social-fb { background: #1877f2; }

#clip_qr svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

