/* ==========================================================================
   HAMASTA MEDIA - HIGH-END EDITORIAL ARTICLE EXPERIENCE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700;1,800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- Reading Progress Bar --- */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--maroon, #800000) 0%, #dc2626 60%, #fbbf24 100%);
    z-index: 999999;
    transition: width 0.08s ease-out;
    box-shadow: 0 0 8px rgba(128, 0, 0, 0.4);
}

/* --- Breadcrumb Trail --- */
.article-breadcrumbs {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
    font-size: 13px;
    color: #64748b;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-list a:hover {
    color: var(--maroon, #800000);
}

.breadcrumb-list .separator {
    font-size: 9px;
    color: #cbd5e1;
}

.breadcrumb-list .active {
    color: #0f172a;
    font-weight: 700;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Container & Grid --- */
.article-full-container {
    padding: 36px 20px 80px;
    max-width: 1240px;
    margin: 0 auto;
}

.article-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .article-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Header & Badges --- */
.premium-article-header {
    margin-bottom: 24px;
}

.header-badges-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--maroon, #800000);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.22);
}

.article-category-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.article-topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(128, 0, 0, 0.08);
    color: var(--maroon, #800000);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.article-read-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

/* Headline */
.premium-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 18px 0;
    word-break: break-word;
}

/* Standfirst / Journalistic Subtitle Deck */
.article-standfirst {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    font-weight: 400;
    margin: 0 0 24px 0;
    border-left: 3.5px solid var(--maroon, #800000);
    padding-left: 18px;
    font-style: normal;
}

.article-standfirst:empty {
    display: none;
}

/* --- Author Meta Row --- */
.author-meta-premium-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.author-basic-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-mini-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
}

.author-mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--maroon, #800000);
    padding: 2px;
    background: #ffffff;
}

.author-text-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.by-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.by-text .author-highlight {
    color: var(--maroon, #800000);
    font-weight: 800;
}

.verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.publish-time-text {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Social Share Circles */
.author-social-share {
    display: flex;
    gap: 8px;
    align-items: center;
}

.meta-share-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.meta-share-circle.fb { background: #1877f2; }
.meta-share-circle.tw { background: #000000; }
.meta-share-circle.ln { background: #0a66c2; }
.meta-share-circle.wa { background: #25d366; }
.meta-share-circle.cp { background: var(--maroon, #800000); }

.meta-share-circle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* --- Utility Toolbar --- */
.modern-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 18px;
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
}

.meta-bar-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.meta-bar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.meta-item i {
    color: var(--maroon, #800000);
    font-size: 14px;
}

.interaction-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.interaction-btn:hover {
    color: var(--maroon, #800000);
    background: rgba(128, 0, 0, 0.05);
}

.font-size-controls {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.font-size-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.font-size-btn:hover {
    background: var(--maroon, #800000);
    color: #ffffff;
}

.bookmark-action-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.bookmark-action-btn:hover,
.bookmark-action-btn.bookmarked {
    border-color: var(--maroon, #800000);
    color: var(--maroon, #800000);
}

/* TTS Read Aloud Pill */
.tts-pill-btn {
    background: linear-gradient(135deg, var(--maroon, #800000) 0%, #b91c1c 100%);
    border: none;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.25);
}

.tts-pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.35);
    filter: brightness(1.08);
}

.tts-pill-btn.active {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* --- Hero Media Stack --- */
.article-media-stack {
    margin: 28px 0 36px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.16);
    background: #0f172a;
    position: relative;
}

.article-hero-container {
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-caption {
    background: #0f172a;
    color: #94a3b8;
    padding: 12px 20px;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-caption i {
    color: #fbbf24;
    margin-right: 6px;
}

.caption-source-tag {
    font-size: 11px;
    font-weight: 800;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Premium Article Body Typography --- */
.premium-body {
    font-size: 18.5px;
    line-height: 1.84;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.005em;
    word-break: break-word;
    transition: font-size 0.2s ease;
}

.premium-body p {
    margin-bottom: 26px;
}

/* Editorial Drop Cap */
.has-dropcap::first-letter,
.premium-body > p:first-of-type::first-letter {
    float: left;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.8rem;
    line-height: 0.82;
    padding-top: 6px;
    padding-right: 14px;
    padding-bottom: 2px;
    font-weight: 900;
    color: var(--maroon, #800000);
}

/* Headings in body */
.premium-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 48px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.premium-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.35;
    margin: 36px 0 16px;
}

/* Key Story Takeaways Box */
.editorial-takeaways {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.04) 0%, rgba(251, 191, 36, 0.06) 100%);
    border: 1px solid rgba(128, 0, 0, 0.12);
    border-left: 5px solid var(--maroon, #800000);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 36px 0 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.takeaways-header {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--maroon, #800000);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.takeaways-header i {
    color: #d97706;
}

.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.takeaways-list li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
}

.takeaways-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.1);
    color: var(--maroon, #800000);
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Stat Grid */
.article-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .article-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.08);
    border-color: rgba(128, 0, 0, 0.25);
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--maroon, #800000);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-num small {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.stat-sub {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

/* Pullquote */
.editorial-pullquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-style: italic;
    line-height: 1.5;
    color: #0f172a;
    background: #f8fafc;
    border-left: 5px solid var(--maroon, #800000);
    border-radius: 0 18px 18px 0;
    padding: 32px 36px 32px 40px;
    margin: 45px 0;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.editorial-pullquote::before {
    content: "“";
    position: absolute;
    top: -15px;
    left: 18px;
    font-size: 90px;
    opacity: 0.12;
    color: var(--maroon, #800000);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}

.editorial-pullquote cite {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-style: normal;
    font-weight: 700;
    color: #64748b;
    margin-top: 16px;
    letter-spacing: 0.2px;
}

/* Editorial Callout */
.editorial-callout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 38px 0;
}

.callout-icon {
    font-size: 24px;
    color: #2563eb;
    line-height: 1;
    padding-top: 2px;
}

.callout-body h4 {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1e40af;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.callout-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #1e3a8a;
    margin: 0;
}

/* --- Reader Sentiment / Reactions --- */
.reader-sentiment-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 30px;
    margin: 45px 0 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.sentiment-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.sentiment-card-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}

.sentiment-buttons-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sentiment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sentiment-btn:hover {
    border-color: var(--maroon, #800000);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(128, 0, 0, 0.1);
}

.sentiment-btn.reacted {
    border-color: var(--maroon, #800000);
    background: rgba(128, 0, 0, 0.08);
    color: var(--maroon, #800000);
}

.sentiment-btn .reaction-count {
    font-size: 12px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 7px;
    border-radius: 20px;
}

.sentiment-btn.reacted .reaction-count {
    background: var(--maroon, #800000);
    color: #ffffff;
}

/* --- Hamasta Reader Reward Banner --- */
.hamasta-reward-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1e2f 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 22px 28px;
    margin: 25px 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.reward-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reward-coin-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #78350f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
    flex-shrink: 0;
}

.reward-text-block h4 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.reward-text-block p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}

.reward-text-block strong {
    color: #fbbf24;
}

.reward-action-btn {
    background: #fbbf24;
    color: #78350f;
    font-weight: 800;
    font-size: 12.5px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.reward-action-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(251, 191, 36, 0.4);
}

/* --- Social Share Strip --- */
.article-share-strip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 28px;
    margin: 35px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.share-strip-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.share-pill-btn.wa { background: #25d366; }
.share-pill-btn.fb { background: #1877f2; }
.share-pill-btn.tw { background: #000000; }
.share-pill-btn.ln { background: #0a66c2; }
.share-pill-btn.cp { background: #475569; }

.share-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    filter: brightness(1.08);
}

/* --- Author Signature Box --- */
.author-signature {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    padding: 32px;
    border-radius: 20px;
    display: flex;
    gap: 24px;
    margin: 45px 0;
    align-items: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.author-signature::after {
    content: "VERIFIED EDITOR";
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 9px;
    font-weight: 800;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 50px;
}

.author-img-premium {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(128, 0, 0, 0.15);
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.author-info-premium {
    flex: 1;
}

.author-info-premium h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.author-info-premium p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 14px 0;
}

.author-social-links {
    display: flex;
    gap: 12px;
}

.author-social-links a {
    color: #64748b;
    font-size: 14px;
    transition: color 0.2s, transform 0.2s;
}

.author-social-links a:hover {
    color: var(--maroon, #800000);
    transform: translateY(-2px);
}

/* --- Related Discovery Stories Grid --- */
#readAlsoSection {
    margin: 45px 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 40px;
}

.read-also-header {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-also-header i {
    color: var(--maroon, #800000);
}

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

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

.related-story-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.related-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(128, 0, 0, 0.3);
}

.related-card-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f1f5f9;
}

.related-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-category {
    font-size: 10px;
    font-weight: 800;
    color: var(--maroon, #800000);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Comments Section Architecture --- */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.comments-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.comments-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title i {
    color: var(--maroon, #800000);
}

.comment-count-pill {
    background: var(--maroon, #800000);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

/* Comment Form Card */
.comment-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 45px;
}

@media (max-width: 768px) {
    .comment-form-card {
        padding: 24px 18px;
    }
}

.comment-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .comment-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.premium-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}

.comment-form-card .form-control {
    width: 100%;
    padding: 13px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14.5px;
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.comment-form-card .form-control:focus {
    border-color: var(--maroon, #800000);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.08);
    outline: none;
}

.comment-form-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

#postCommentBtn {
    background: linear-gradient(135deg, var(--maroon, #800000) 0%, #a30000 100%);
    color: #ffffff;
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.2);
}

#postCommentBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(128, 0, 0, 0.3);
    filter: brightness(1.06);
}

/* --- Comment Items List --- */
.comment-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 22px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s;
}

.comment-item:hover {
    border-color: #e2e8f0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.comment-content {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 14px;
    word-break: break-word;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #f8fafc;
    padding-top: 12px;
}

.comment-action-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.comment-action-btn:hover {
    color: var(--maroon, #800000);
}

/* --- Sidebar Styling --- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1025px) {
    .sidebar {
        position: sticky;
        top: 90px;
    }
}

.glass-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.widget-title-premium {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--maroon, #800000);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title-premium i {
    color: var(--maroon, #800000);
}



/* Newsletter Widget */
.newsletter-sub-text {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.5;
}

.newsletter-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.newsletter-input-group input:focus {
    border-color: var(--maroon, #800000);
    outline: none;
}

.newsletter-btn {
    background: var(--maroon, #800000);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background: #a30000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

/* Strategic Partner Spotlight */
.partner-spotlight-card {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(128, 0, 0, 0.12);
    background: linear-gradient(180deg, #800000 0%, #111827 100%);
    padding: 32px 24px;
    text-align: center;
    color: #ffffff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.partner-spotlight-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.35);
    color: #fbbf24;
    padding: 3px 8px;
    border-radius: 20px;
}

.partner-logo {
    width: 72px;
    height: 72px;
    filter: brightness(0) invert(1);
    margin: 0 auto 18px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.partner-pretitle {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.partner-heading {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.partner-desc {
    font-size: 13px;
    opacity: 0.82;
    line-height: 1.55;
    margin-bottom: 22px;
}

.partner-cta-btn {
    background: #ffffff;
    color: var(--maroon, #800000);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.partner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
}

/* Toast styling enhancement if needed */
.hm-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideUp 0.3s ease;
}

@keyframes toastSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile refinements */
@media (max-width: 640px) {
    .article-full-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        max-width: 100vw !important;
    }
    .article-main-grid {
        padding: 0 12px !important;
    }
    .article-content {
        padding: 0 !important;
    }
    .premium-title {
        font-size: 26px !important;
    }
    .article-standfirst {
        font-size: 1.05rem !important;
        padding-left: 12px !important;
    }
    .author-meta-premium-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .author-social-share {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-top: 5px !important;
    }
    .modern-meta-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 16px !important;
    }
    .meta-item {
        flex: 1 1 40% !important;
        justify-content: center !important;
        font-size: 13px !important;
    }
    .meta-item:last-child {
        flex: 1 1 100% !important;
    }
    #ttsBtn {
        width: 100% !important;
        justify-content: center !important;
    }
    .meta-bar-controls {
        width: 100%;
        justify-content: space-between;
    }
    .author-signature {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .author-signature::after {
        position: static;
        margin-bottom: 12px;
        display: inline-block;
    }
    .author-social-links {
        justify-content: center;
    }
    .hamasta-reward-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .reward-action-btn {
        width: 100%;
        text-align: center;
    }
}
/* =====================================================================
   TRENDING NOW (article sidebar), rendered by NewsManager.initTrendingSidebar
   ===================================================================== */
#trendingContainer { display: flex; flex-direction: column; gap: 4px; counter-reset: none; }

#trendingContainer .trending-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin: 0 -10px;
    border: 0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}
#trendingContainer .trending-item + .trending-item { position: relative; }
#trendingContainer .trending-item + .trending-item::before {
    content: "";
    position: absolute; top: -2px; left: 56px; right: 10px;
    height: 1px; background: #f1f5f9;
}
#trendingContainer .trending-item:hover,
#trendingContainer .trending-item:focus-visible {
    background: #fdf6f6;
    outline: none;
}
#trendingContainer .trending-item:focus-visible { box-shadow: inset 0 0 0 2px var(--maroon, #800000); }

/* Rank badge: fixed width and never wraps (the page sets word-break globally) */
#trendingContainer .trending-rank {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font: 800 15px/1 'Outfit', sans-serif;
    white-space: nowrap; word-break: keep-all;
    background: #f1f5f9; color: #64748b;
    margin: 0;
}
#trendingContainer .trending-rank.rank-1 { background: var(--maroon, #800000); color: #fff; box-shadow: 0 6px 14px rgba(128, 0, 0, 0.25); }
#trendingContainer .trending-rank.rank-2 { background: rgba(128, 0, 0, 0.12); color: var(--maroon, #800000); }
#trendingContainer .trending-rank.rank-3 { background: rgba(128, 0, 0, 0.07); color: var(--maroon, #800000); }

#trendingContainer .trending-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#trendingContainer .trending-cat {
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--maroon, #800000);
}
#trendingContainer .trending-item h4 {
    margin: 0;
    font-size: 14px; font-weight: 700; line-height: 1.35; color: #0f172a;
    word-break: normal; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    transition: color 0.2s;
}
#trendingContainer .trending-item:hover h4 { color: var(--maroon, #800000); }

#trendingContainer .trending-meta { display: flex; gap: 12px; font-size: 12px; font-weight: 600; color: #94a3b8; }
#trendingContainer .trending-meta span { display: inline-flex; align-items: center; gap: 5px; }

#trendingContainer .trending-thumb {
    width: 64px; height: 64px; border-radius: 12px; object-fit: cover;
    background: #f1f5f9;
    transition: transform 0.3s ease;
}
#trendingContainer .trending-item:hover .trending-thumb { transform: scale(1.04); }

#trendingContainer .trending-empty { font-size: 13px; color: #94a3b8; margin: 0; }

/* Loading shimmer */
#trendingContainer .trending-skeleton { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 0; }
#trendingContainer .trending-skeleton span,
#trendingContainer .trending-skeleton i {
    display: block; border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: HMShimmer 1.5s infinite linear;
}
#trendingContainer .trending-skeleton span { width: 34px; height: 34px; border-radius: 10px; }
#trendingContainer .trending-skeleton i { height: 11px; margin: 4px 0 8px; }
#trendingContainer .trending-skeleton i + i { width: 60%; }
@keyframes HMShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

@media (max-width: 380px) {
    #trendingContainer .trending-item { grid-template-columns: 30px minmax(0, 1fr) 54px; gap: 10px; }
    #trendingContainer .trending-thumb { width: 54px; height: 54px; }
}
