/* ══════════════════════════════════════════════════════════
   Article page  — /news/{slug}
   ══════════════════════════════════════════════════════════ */

.article-page {
    padding: 14px 0 52px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.article-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,253,248,.92);
    border: 1px solid #e8dfd0;
    font-size: 13px;
    font-weight: 700;
    color: #6f6256;
    width: fit-content;
    max-width: 100%;
}

.article-crumb a        { color: #9a3412; text-decoration: none; transition: color .15s; }
.article-crumb a:hover  { color: #c2410c; }

.article-crumb__sep {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #c18b2f;
    flex-shrink: 0;
}

.article-crumb__current { color: #17120f; font-weight: 800; }

/* ══════════════════════════════════════════════════════════
   HERO ROW — cover image LEFT | title + excerpt RIGHT
   ══════════════════════════════════════════════════════════ */
.article-hero-row {
    display: grid;
    grid-template-columns: 30% 70%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8dfd0;
    box-shadow: 0 20px 56px rgba(23,18,15,.13);
    margin-bottom: 28px;
    min-height: 360px;
    background: #fff;
}

/* Left: image */
.article-hero-row__media {
    position: relative;
    overflow: hidden;
    background: #f0e8da;
    min-height: 320px;
}

.article-hero-row__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.article-hero-row:hover .article-hero-row__media img {
    transform: scale(1.03);
}

.article-hero-row__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #f4eee3, #ebe4d8);
    font-family: var(--font-serif, "Tiro Bangla", Georgia, serif);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    opacity: .35;
}

/* Right: text block */
.article-hero-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 40px);
    border-left: 1px solid #e8dfd0;
    position: relative;
    background: linear-gradient(160deg, #fffdf8 0%, #fff 60%, #faf6ef 100%);
}

/* Accent bar at top of text block */
.article-hero-row__bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--accent, #c2410c) 0%,
        #c18b2f 55%,
        rgba(23,18,15,.12) 100%
    );
}

/* Category chip */
.article-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #c2410c) 13%, white);
    border: 1px solid color-mix(in srgb, var(--accent, #c2410c) 32%, transparent);
    color: var(--accent, #9a3412);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-decoration: none;
    width: fit-content;
    transition: transform .15s, box-shadow .15s;
}

.article-chip::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.article-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(154,52,18,.18);
}

/* Title */
.article-hero-row__title {
    font-family: var(--font-serif, "Tiro Bangla", Georgia, serif);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.22;
    font-weight: 900;
    color: #17120f;
    margin: 0;
    letter-spacing: -.02em;
}

/* Excerpt */
.article-hero-row__deck {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.78;
    color: #4a4038;
    margin: 0;
    max-width: 58ch;
    border-left: 3px solid color-mix(in srgb, var(--accent, #c2410c) 55%, #c18b2f);
    padding-left: 14px;
}

/* Meta row */
.article-meta {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-meta li {
    display: grid; gap: 2px;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(255,255,255,.85);
    border: 1px solid #ebe4d8;
    min-width: 0;
}

.article-meta__label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a7b6c;
}

.article-meta strong,
.article-meta time {
    font-size: 12.5px;
    font-weight: 800;
    color: #17120f;
}

/* ══════════════════════════════════════════════════════════
   BODY LAYOUT — content + sticky sidebar, full-width
   ══════════════════════════════════════════════════════════ */
.article-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

/* Content column */
.article-layout-grid .article-content {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8dfd0;
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 8px 28px rgba(23,18,15,.07);
}

/* Sidebar — sticky */
.article-layout-grid .premium-sidebar {
    position: sticky;
    top: 76px;
}

/* ── Share strip ────────────────────────────────────────── */
.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebe4d8;
}

.article-share__label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #8a7b6c;
}

.article-share__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.article-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .15s, filter .15s;
}

.article-share__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23,18,15,.12);
    filter: brightness(1.08);
}

.article-share__btn--facebook { background: #1877f2; color: #fff; }
.article-share__btn--x        { background: #17120f; color: #fff; }
.article-share__btn--whatsapp { background: #25d366; color: #fff; }

/* ── Prose ──────────────────────────────────────────────── */
.article-prose {
    font-family: var(--font-serif, "Tiro Bangla", Georgia, serif);
    font-size: clamp(1.05rem, 1.9vw, 1.18rem);
    line-height: 1.95;
    color: #2a221c;
}

.article-prose p { margin: 0 0 1.2em; }
.article-prose p:last-child { margin-bottom: 0; }

.article-prose__lead {
    font-size: clamp(1.1rem, 2.1vw, 1.25rem);
    line-height: 1.85;
    color: #3d342c;
    font-weight: 500;
}

.article-prose__lead::first-letter {
    float: left;
    font-size: 3.3em;
    line-height: .83;
    padding: .06em .12em 0 0;
    font-weight: 900;
    color: #9a3412;
}

/* Inline ad spacing */
.article-prose .ad-slot { margin: 1.5em 0; border-radius: 10px; overflow: hidden; }

/* ── End note ───────────────────────────────────────────── */
.article-note {
    margin-top: 28px;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, #faf8f2 0%, #fffdf8 100%);
    border: 1px solid #e8dfd0;
    border-left: 4px solid #17120f;
}

.article-note strong { display: block; font-size: 13px; font-weight: 900; color: #17120f; margin-bottom: 5px; }
.article-note p { margin: 0; font-size: 13px; line-height: 1.65; color: #6f6256; }

/* ══════════════════════════════════════════════════════════
   RELATED ARTICLES — inline, right after the article body
   ══════════════════════════════════════════════════════════ */
.article-related-inline {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid #e8dfd0;
}

.article-related-inline__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.article-related-inline__label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #17120f;
    padding-left: 10px;
    border-left: 3px solid #9a3412;
}

.article-related-inline__more {
    font-size: 12px;
    font-weight: 800;
    color: #9a3412;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.article-related-inline__more:hover { color: #c2410c; }

/* Card grid */
.article-related-inline__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Individual card */
.ari-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e8dfd0;
    background: #fffdf8;
    transition: background .18s, border-color .18s, transform .18s;
}

.ari-card:hover {
    background: #fff;
    border-color: #c18b2f;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23,18,15,.09);
}

.ari-card__thumb {
    flex-shrink: 0;
    width: 88px;
    height: 68px;
    border-radius: 7px;
    overflow: hidden;
    background: #f0e8da;
}

.ari-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.ari-card:hover .ari-card__thumb img { transform: scale(1.05); }

.ari-card__thumb--blank {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--c, #9a3412) 15%, white),
        color-mix(in srgb, var(--c, #9a3412) 5%,  white)
    );
}

.ari-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ari-card__cat {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ari-card__title {
    font-family: var(--font-serif, "Tiro Bangla", Georgia, serif);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.45;
    color: #17120f;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: color .15s;
}

.ari-card:hover .ari-card__title { color: #9a3412; }

.ari-card__time {
    font-size: 10.5px;
    color: #8a7b6c;
    font-weight: 600;
    margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* Tablet landscape → hero stacks, but sidebar stays */
@media (max-width: 1080px) {
    .article-layout-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 22px;
    }
}

/* Tablet portrait → hero stacks, layout goes single col */
@media (max-width: 900px) {
    .article-hero-row {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .article-hero-row__media {
        min-height: 260px;
        max-height: 380px;
    }

    .article-hero-row__body {
        border-left: none;
        border-top: 1px solid #e8dfd0;
    }

    .article-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-layout-grid .premium-sidebar {
        position: static;
    }

    /* Move sidebar below content on tablet */
    .article-layout-grid .premium-sidebar {
        order: 2;
    }

    .article-layout-grid .article-content {
        order: 1;
    }

    .article-related-inline__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .article-crumb {
        border-radius: 10px;
        width: 100%;
    }

    .article-hero-row {
        border-radius: 12px;
    }

    .article-hero-row__media { min-height: 200px; max-height: 280px; }

    .article-hero-row__title { font-size: 1.35rem; }

    .article-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .article-meta li:last-child { grid-column: 1 / -1; }

    .article-share {
        flex-direction: column;
        align-items: stretch;
    }

    .article-share__actions { width: 100%; }

    .article-share__btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .article-prose__lead::first-letter { font-size: 2.7em; }

    .article-related-inline__list {
        grid-template-columns: 1fr;
    }

    .ari-card__thumb { width: 76px; height: 60px; }
}
