/* ==========================================================================
   FactCheck Kerala — News article redesign (scoped to body.fc-article)
   ========================================================================== */

body.fc-article {
    --h-ink: #0b1220;
    --h-ink-2: #1f2937;
    --h-teal: #4f46e5;
    --h-teal-dark: #3730a3;
    --h-emerald: #7c3aed;
    --h-gold: #f59e0b;
    --h-bg: #f4f6fb;
    --h-card: #ffffff;
    --h-line: #e5ebea;
    --h-muted: #64748b;
    --h-slate: #475569;
    --h-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    --h-shadow: 0 16px 44px rgba(11, 18, 32, .08);
    --h-shadow-lg: 0 34px 80px rgba(11, 18, 32, .16);

    background: var(--h-bg);
    color: var(--h-slate);
    font-family: 'Noto Sans Malayalam', sans-serif;
}

/* ===== Article hero ===== */
.fc-article .art-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 320px at 90% -20%, rgba(255, 255, 255, .14), transparent 60%),
        var(--h-grad);
    padding: 42px 0 56px;
    color: #fff;
}
.fc-article .art-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.fc-article .art-hero .container { position: relative; z-index: 2; }
.fc-article .art-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 16px;
}
.fc-article .art-crumb a { color: rgba(255, 255, 255, .85); }
.fc-article .art-crumb a:hover { color: #fff; }
.fc-article .art-crumb i { font-size: 10px; opacity: .7; }
.fc-article .art-crumb span { color: #fff; font-weight: 600; }
.fc-article .art-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.fc-article .art-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 5px 14px;
    border-radius: 999px;
}
.fc-article .art-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .85);
}
.fc-article .art-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
    max-width: 52ch;
}

/* ===== Share buttons ===== */
.fc-article .share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.fc-article .share-row .s-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .7);
    margin-right: 4px;
}
.fc-article .share-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    font-size: 16px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    transition: background .2s ease, transform .2s ease;
}
.fc-article .share-btn:hover { background: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-2px); }
.fc-article .share-btn.fb { background: #1877f2; border-color: #1877f2; }
.fc-article .share-btn.tw { background: #111418; border-color: #111418; }
.fc-article .share-btn.wa { background: #25d366; border-color: #25d366; }
.fc-article .share-btn.mail { background: #ea4335; border-color: #ea4335; }
.fc-article .share-btn.copy { background: var(--h-emerald); border-color: var(--h-emerald); }

/* ===== Article card ===== */
.fc-article .art-card {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(11, 18, 32, .06);
}
.fc-article .art-img {
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc-article .art-img a { display: block; width: 100%; }
.fc-article .art-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.fc-article .art-body { padding: 30px 34px 10px; }
.fc-article .art-body p,
.fc-article .art-body span,
.fc-article .art-body li {
    font-size: 1.06rem;
    line-height: 2.05;
    color: #334155;
}
.fc-article .art-body img { max-width: 100%; height: auto; border-radius: 12px; }
.fc-article .art-body blockquote {
    border-left: 4px solid var(--h-teal);
    background: #f5f6ff;
    border-radius: 0 12px 12px 0;
    padding: 14px 20px;
    margin: 18px 0;
}

/* ===== Tags ===== */
.fc-article .art-tags {
    padding: 8px 34px 26px;
}
.fc-article .art-tags-title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--h-muted);
    margin: 0 0 10px;
}
.fc-article .tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--h-teal-dark);
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 5px 14px;
    border-radius: 999px;
    margin: 0 6px 8px 0;
    transition: all .2s ease;
}
.fc-article .tag-chip:hover { background: var(--h-teal-dark); color: #fff; border-color: var(--h-teal-dark); }

/* ===== Share bar (bottom of card) ===== */
.fc-article .art-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 34px;
    border-top: 1px solid var(--h-line);
    background: #f8faff;
}
.fc-article .art-share-bar .s-label { color: var(--h-slate); margin-right: 4px; }
.fc-article .art-share-bar .share-btn.fb { background: #1877f2; border-color: #1877f2; }
.fc-article .art-share-bar .share-btn.tw { background: #111418; border-color: #111418; }
.fc-article .art-share-bar .share-btn.wa { background: #25d366; border-color: #25d366; }
.fc-article .art-share-bar .share-btn.mail { background: #ea4335; border-color: #ea4335; }
.fc-article .art-share-bar .share-btn.copy { background: var(--h-emerald); border-color: var(--h-emerald); }

/* ===== Related ===== */
.fc-article .related-block { margin-top: 34px; }
.fc-article .block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}
.fc-article .kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--h-teal-dark);
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, .12);
    margin-bottom: 6px;
}
.fc-article .block-head h2 { font-size: 1.4rem; font-weight: 700; color: var(--h-ink); margin: 0; }

.fc-article #related-news-carousel.owl-carousel .owl-item { padding: 6px; }
.fc-article .rel-card {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(11, 18, 32, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: block;
    color: inherit;
    height: 100%;
}
.fc-article .rel-card:hover { transform: translateY(-5px); box-shadow: var(--h-shadow); border-color: #c7d2fe; color: inherit; }
.fc-article .rel-media {
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fc-article .rel-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.fc-article .rel-body { padding: 14px 15px 16px; }
.fc-article .rel-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--h-muted);
    margin-bottom: 6px;
}
.fc-article .rel-date i { color: var(--h-teal); }
.fc-article .rel-title {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--h-ink);
    margin: 0;
}
.fc-article .rel-card:hover .rel-title { color: var(--h-teal-dark); }

/* ===== Sidebar ===== */
.fc-article .side-panel { position: sticky; top: 96px; }
.fc-article .side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--h-ink);
    padding: 14px 0;
    margin: 0 0 18px;
    border-bottom: 2px solid var(--h-line);
}
.fc-article .side-title i { color: var(--h-teal); }
.fc-article .pop-list { list-style: none; margin: 0; padding: 0; }
.fc-article .pop-list > li {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(11, 18, 32, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fc-article .pop-list > li:hover { transform: translateY(-3px); box-shadow: var(--h-shadow); }
.fc-article .pop-list .post.small-post {
    display: flex;
    gap: 12px;
    padding: 11px;
    align-items: center;
}
.fc-article .pop-list .entry-header { flex: 0 0 84px; }
.fc-article .pop-list .entry-thumbnail a { display: block; }
.fc-article .pop-list .entry-thumbnail img {
    width: 84px;
    height: 70px;
    object-fit: contain;
    background: #eef2ff;
    border-radius: 9px;
    display: block;
}
.fc-article .pop-list .entry-title {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
    color: var(--h-ink);
}
.fc-article .pop-list .entry-title a { color: inherit; }
.fc-article .pop-list .entry-title a:hover { color: var(--h-teal-dark); }

/* ===== Missing ===== */
.fc-article .art-missing {
    max-width: 560px;
    margin: 60px auto;
    background: #fff;
    border: 1px dashed var(--h-line);
    border-radius: 18px;
    text-align: center;
    padding: 50px 30px;
    color: var(--h-muted);
}
.fc-article .art-missing i { font-size: 42px; color: #c7d2fe; display: block; margin-bottom: 12px; }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .fc-article .art-hero { padding: 34px 0 44px; }
    .fc-article .art-title { font-size: 1.45rem; }
    .fc-article .art-body,
    .fc-article .art-tags,
    .fc-article .art-share-bar { padding-left: 22px; padding-right: 22px; }
    .fc-article .side-panel { position: static; margin-top: 36px; }
}
@media (max-width: 575.98px) {
    .fc-article .art-title { font-size: 1.25rem; }
    .fc-article .art-body p { font-size: 1rem; }
}