/* Newspaper Child — single post only. Homepage is inherited from parent Newspaper. */
.bp-single-grid.bp-three-column{display:grid!important;grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(190px,240px);gap:22px;align-items:start}
.bp-single-grid .bp-single-main{width:auto!important;float:none!important;grid-column:2;min-width:0}
.bp-single-grid .bp-latest-sidebar{grid-column:1;grid-row:1}
.bp-single-grid .bp-popular-sidebar{grid-column:3;grid-row:1}
.bp-sidebar-section{margin:0 0 22px;border:1px solid #e8e8e8;border-radius:5px;background:#fff;overflow:hidden}
.bp-sidebar-heading{font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:700;line-height:1.35;padding:12px 14px;border-bottom:2px solid #e31e24;color:#222}
.bp-sidebar-news-list{list-style:none;margin:0;padding:0 12px}
.bp-sidebar-news-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #eee}
.bp-sidebar-news-item:last-child{border-bottom:0}
.bp-sidebar-news-item img{width:82px;height:62px;object-fit:cover;border-radius:4px;border:1px solid #eee}
.bp-sidebar-news-item a{font-family:Arial,Helvetica,sans-serif;text-decoration:none;color:#222;font-size:14px;font-weight:700;line-height:1.4}
.bp-sidebar-news-date{display:block;margin-top:5px;font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#777}
.bp-news-single,.bp-news-single *{font-family:Arial,Helvetica,sans-serif}
.bp-news-title{font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;line-height:1.2}
.bp-news-subtitle{font-family:Arial,Helvetica,sans-serif!important;font-size:19px;line-height:1.55;margin:12px 0 18px;color:#555}
.bp-news-body{font-family:Arial,Helvetica,sans-serif!important;font-size:18px;line-height:1.85}
.bp-news-body p,.bp-news-body li,.bp-news-body h2,.bp-news-body h3,.bp-news-body h4{font-family:Arial,Helvetica,sans-serif!important}
.bp-featured-image img{border-radius:5px;border:1px solid #eee}
.bp-author-share-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:10px 0;margin:16px 0 22px}
.bp-author-summary{display:flex;align-items:center;gap:10px;min-width:0}.bp-author-avatar-img{width:46px;height:46px;border-radius:50%;object-fit:cover}.bp-author-name{font-weight:700;color:#222;text-decoration:none;display:block}.bp-news-date-time{display:block;color:#777;font-size:13px;margin-top:3px}
.bp-share-panel{display:flex;align-items:center;gap:6px;white-space:nowrap;flex-wrap:nowrap}.bp-share-count{font-size:12px;color:#777;margin-right:4px}.bp-share-action{width:30px;height:30px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:50%;background:#fff;color:#333;text-decoration:none;cursor:pointer;font-family:Arial,Helvetica,sans-serif!important;padding:0}.bp-print-icon{width:16px;height:16px}
.bp-news-view-count{margin:30px 0;padding:12px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;color:#666;font-family:Arial,Helvetica,sans-serif;text-align:center}
@media(max-width:900px){.bp-single-grid.bp-three-column{grid-template-columns:1fr;gap:18px}.bp-single-grid .bp-single-main,.bp-single-grid .bp-latest-sidebar,.bp-single-grid .bp-popular-sidebar{grid-column:1;grid-row:auto}.bp-single-grid .bp-single-main{order:1}.bp-single-grid .bp-latest-sidebar{order:2}.bp-single-grid .bp-popular-sidebar{order:3}.bp-author-share-bar{align-items:flex-start}.bp-share-panel{width:100%;overflow:hidden;justify-content:flex-start}.bp-share-action{flex:0 0 30px}.bp-share-count{flex:0 0 auto}.bp-news-body{font-size:17px}}
@media(max-width:420px){.bp-share-panel{gap:4px}.bp-share-action{width:28px;height:28px;flex-basis:28px;font-size:12px}.bp-share-count{font-size:11px}.bp-sidebar-news-item{grid-template-columns:76px minmax(0,1fr)}.bp-sidebar-news-item img{width:76px;height:58px}}

/* === Final single-news editorial rules === */
.bp-single-wrap,
.bp-single-wrap * {
    font-family: "Noto Serif Bengali" !important;
}
.bp-single-wrap .td-icon,
.bp-single-wrap [class*="td-icon"] {
    font-family: "newspaper-icons" !important;
}
.bp-single-wrap .bp-sidebar-section {
    border: 1px solid rgba(20,20,20,.07);
    border-radius: 7px;
    box-shadow: none;
}
.bp-single-wrap .bp-sidebar-news-item {
    min-height: 76px;
}
.bp-single-wrap .bp-sidebar-news-item img {
    border-radius: 6px;
}
.bp-single-wrap .bp-sidebar-news-item a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: "Noto Serif Bengali" !important;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}
.bp-single-wrap .bp-sidebar-news-date {
    display: block;
    margin-top: 4px;
    font-family: "Noto Serif Bengali" !important;
    font-size: 11px;
    line-height: 1.35;
    color: #777;
    white-space: nowrap;
}
.bp-single-wrap .bp-news-view-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: "Noto Serif Bengali" !important;
}
.bp-single-wrap .bp-news-view-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    flex: 0 0 20px;
}
.bp-single-wrap .bp-news-view-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.bp-single-wrap .bp-news-body,
.bp-single-wrap .bp-news-body p,
.bp-single-wrap .bp-news-body li,
.bp-single-wrap .bp-news-body h1,
.bp-single-wrap .bp-news-body h2,
.bp-single-wrap .bp-news-body h3,
.bp-single-wrap .bp-news-body h4,
.bp-single-wrap .bp-news-body h5,
.bp-single-wrap .bp-news-body h6,
.bp-single-wrap .bp-news-title,
.bp-single-wrap .bp-news-subtitle,
.bp-single-wrap .bp-author-name,
.bp-single-wrap .bp-news-date-time,
.bp-single-wrap .bp-share-count,
.bp-single-wrap .bp-share-action,
.bp-single-wrap .bp-sidebar-heading,
.bp-single-wrap .bp-sidebar-news-item a,
.bp-single-wrap .bp-sidebar-news-date {
    font-family: "Noto Serif Bengali" !important;
}
.bp-single-wrap .bp-featured-image img,
.bp-single-wrap .bp-news-body img {
    border-radius: 7px !important;
}
@media (max-width: 900px) {
    .bp-single-wrap .bp-sidebar-news-item a {
        -webkit-line-clamp: 2;
        font-size: 14px;
    }
}


/* =========================================================
   BANGLAR PATRIKA
   SINGLE POST AUTHOR / DATE / SHARE
   ========================================================= */

.bp-single-meta-share {
    width: 100%;
    margin: 8px 0 18px;
    padding: 12px 0 10px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-family: "Noto Serif Bengali", serif;
}


/* AUTHOR ROW */

.bp-author-row {
    display: flex;
    align-items: center;
    min-height: 48px;
}


/* AUTHOR PHOTO */

.bp-author-photo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 50%;
}

.bp-author-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* AUTHOR INFORMATION */

.bp-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bp-author-name {
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #222;
}

.bp-post-date {
    margin-top: 1px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #555;
}


/* SHARE ROW */

.bp-share-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
}


/* SHARE COUNT */

.bp-share-count {
    width: 45px;
    margin-right: 3px;
    text-align: center;
    line-height: 1;
}

.bp-share-number {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

.bp-share-label {
    display: block;
    margin-top: 4px;
    font-family: Arial, sans-serif;
    font-size: 8px;
    line-height: 9px;
    color: #777;
}


/* BUTTON */

.bp-share-button {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #eeeeee;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
    transition: background .15s ease;
}

.bp-share-button:hover {
    background: #dddddd;
}


/* FACEBOOK */

.bp-facebook {
    font-weight: 700;
}


/* BENGALI FONT BUTTONS */

.bp-font-plus,
.bp-font-minus {
    font-family: "Noto Serif Bengali", serif;
    font-size: 13px;
    font-weight: 600;
}


/* PRINT */

@media print {

    .bp-single-meta-share {
        display: none !important;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .bp-single-meta-share {
        margin-top: 6px;
        margin-bottom: 15px;
        padding-top: 10px;
        padding-bottom: 9px;
    }

    .bp-author-photo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .bp-author-name {
        font-size: 14px;
    }

    .bp-post-date {
        font-size: 12px;
    }

    .bp-share-row {
        gap: 4px;
    }

    .bp-share-button {
        width: 29px;
        height: 29px;
    }

}

/* ==========================================================
   GLOBAL BANGLA TYPOGRAPHY
   The whole child site uses Noto Serif Bengali. Newspaper's
   icon font is explicitly protected below.
   ========================================================== */
html, body,
body *,
body input,
body textarea,
body select,
body button,
body option,
body optgroup,
body table,
body th,
body td {
    font-family: "Noto Serif Bengali" !important;
}

/* Preserve Newspaper icon glyphs. */
[class^="td-icon"],
[class*=" td-icon"],
.td-icon,
.td-icon-menu,
.td-icon-search,
.td-icon-comments,
.td-icon-facebook,
.td-icon-twitter,
.td-icon-instagram,
.td-icon-youtube,
.td-icon-print,
.td-icon-close,
.td-icon-down,
.td-icon-up,
.td-icon-right,
.td-icon-left {
    font-family: "newspaper-icons" !important;
}

/* Generic icon fonts from plugins should not be replaced by Bengali glyphs. */
.fa, [class^="fa-"], [class*=" fa-"] {
    font-family: FontAwesome !important;
}

/* Homepage: Newspaper's native latest stream + compact most-read panel. */
.bp-home-wrap .bp-home-top-row {
    display: flex;
    align-items: flex-start;
}
.bp-home-wrap .bp-home-latest-column,
.bp-home-wrap .bp-home-most-read {
    float: none;
}
.bp-home-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}
.bp-home-section-heading h2 {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif Bengali" !important;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #222;
}
.bp-section-mark {
    width: 4px;
    height: 22px;
    border-radius: 3px;
    background: #e31e24;
    flex: 0 0 4px;
}
.bp-home-most-read {
    padding-left: 20px;
}
.bp-home-popular-box {
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
}
.bp-home-popular-box .bp-home-section-heading {
    margin: 0;
    padding: 12px 14px 10px;
    background: #fafafa;
}
.bp-home-popular-list {
    padding: 0 14px;
}
.bp-home-popular-item {
    display: grid;
    grid-template-columns: 24px 72px minmax(0,1fr);
    gap: 9px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.bp-home-popular-item:last-child { border-bottom: 0; }
.bp-home-popular-rank {
    font-family: "Noto Serif Bengali" !important;
    font-size: 17px;
    font-weight: 700;
    color: #d71920;
    text-align: center;
}
.bp-home-popular-thumb img {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.06);
}
.bp-home-popular-copy { min-width: 0; }
.bp-home-popular-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: "Noto Serif Bengali" !important;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}
.bp-home-popular-title:hover { color: #d71920; }
.bp-home-popular-date {
    display: block;
    margin-top: 3px;
    font-family: "Noto Serif Bengali" !important;
    font-size: 10px;
    line-height: 1.35;
    color: #777;
    white-space: nowrap;
}
.bp-home-empty {
    margin: 0;
    padding: 18px 0;
    font-family: "Noto Serif Bengali" !important;
    color: #777;
}

@media (max-width: 900px) {
    .bp-home-wrap .bp-home-top-row { display: block; }
    .bp-home-most-read { padding-left: 0; margin-top: 24px; }
}

/* ====== Final homepage + reader fixes ====== */
.bp-news-body {
    --bp-reader-scale: 1;
    font-size: calc(18px * var(--bp-reader-scale, 1)) !important;
}
.bp-news-body p,
.bp-news-body li,
.bp-news-body blockquote,
.bp-news-body td,
.bp-news-body th {
    font-size: inherit !important;
}

/* The header/menu/footer must use the same editorial font as the rest of the site. */
html body #td-outer-wrap .td-header-wrap,
html body #td-outer-wrap .td-header-wrap a,
html body #td-outer-wrap .td-header-wrap span,
html body #td-outer-wrap .td-header-wrap li,
html body #td-outer-wrap .td-header-wrap input,
html body #td-mobile-nav,
html body #td-mobile-nav a,
html body #td-mobile-nav span,
html body #td-mobile-nav li,
html body #td-outer-wrap .td-footer-page,
html body #td-outer-wrap .td-footer-page a,
html body #td-outer-wrap .td-footer-page span,
html body #td-outer-wrap .td-footer-page li {
    font-family: "Noto Serif Bengali" !important;
}

/* Keep only icon glyphs on their icon font. */
html body #td-outer-wrap .td-header-wrap [class^="td-icon"],
html body #td-outer-wrap .td-header-wrap [class*=" td-icon"],
html body #td-mobile-nav [class^="td-icon"],
html body #td-mobile-nav [class*=" td-icon"] {
    font-family: "newspaper-icons" !important;
}

/* Homepage top block: latest six beside most-read. */
.bp-home-top-news {
    width: 100%;
    background: #fff;
    padding: 22px 0 12px;
    font-family: "Noto Serif Bengali" !important;
}
.bp-home-top-inner {
    width: 1140px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(300px, .9fr);
    gap: 24px;
    align-items: start;
}
.bp-home-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, .9fr);
    gap: 18px;
}
.bp-home-featured {
    border: 1px solid rgba(0,0,0,.065);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.bp-home-featured-image { display:block; }
.bp-home-featured-image img {
    display:block;
    width:100%;
    aspect-ratio: 16/9;
    object-fit:cover;
    border-radius: 7px;
}
.bp-home-featured-copy { padding: 12px 14px 14px; }
.bp-home-featured-copy h3 { margin:0; }
.bp-home-featured-copy h3 a {
    font-family:"Noto Serif Bengali" !important;
    color:#d71920;
    font-size:24px;
    line-height:1.35;
    font-weight:800;
    text-decoration:none;
}
.bp-home-featured-copy p {
    margin:7px 0 8px;
    font-family:"Noto Serif Bengali" !important;
    font-size:14px;
    line-height:1.65;
    color:#555;
}
.bp-home-featured-copy time,
.bp-home-card-copy time,
.bp-home-popular-date {
    font-family:"Noto Serif Bengali" !important;
    font-size:11px;
    line-height:1.4;
    color:#777;
}
.bp-home-latest-list { display:flex; flex-direction:column; }
.bp-home-latest-card {
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    gap:10px;
    padding:0 0 11px;
    margin:0 0 11px;
    border-bottom:1px solid rgba(0,0,0,.08);
}
.bp-home-latest-card:last-child { margin-bottom:0; }
.bp-home-card-thumb img {
    display:block;
    width:100px;
    height:72px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid rgba(0,0,0,.06);
}
.bp-home-card-copy h3 { margin:0 0 4px; }
.bp-home-card-copy h3 a {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    font-family:"Noto Serif Bengali" !important;
    font-size:15px;
    line-height:1.45;
    font-weight:650;
    color:#222;
    text-decoration:none;
}
.bp-home-most-read-panel { min-width:0; }
.bp-home-most-read-panel .bp-home-popular-box {
    border:1px solid rgba(0,0,0,.07);
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}
.bp-home-popular-list { padding:0 14px; }
.bp-home-popular-item {
    display:grid;
    grid-template-columns:25px 78px minmax(0,1fr);
    gap:9px;
    padding:10px 0;
    border-bottom:1px solid rgba(0,0,0,.07);
    align-items:center;
}
.bp-home-popular-item:last-child { border-bottom:0; }
.bp-home-popular-rank {
    font-family:"Noto Serif Bengali" !important;
    color:#d71920;
    font-size:16px;
    font-weight:800;
}
.bp-home-popular-thumb img {
    display:block;
    width:78px;
    height:58px;
    object-fit:cover;
    border-radius:6px;
}
.bp-home-popular-title {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    font-family:"Noto Serif Bengali" !important;
    color:#222;
    font-size:14px;
    line-height:1.45;
    font-weight:600;
    text-decoration:none;
}

@media (max-width: 900px) {
    .bp-home-top-inner { grid-template-columns:1fr; max-width:calc(100% - 20px); }
    .bp-home-latest-grid { grid-template-columns:1fr; }
    .bp-home-most-read-panel { margin-top:6px; }
}
@media (max-width: 520px) {
    .bp-home-top-news { padding-top:14px; }
    .bp-home-featured-copy h3 a { font-size:20px; }
    .bp-home-latest-card { grid-template-columns:88px minmax(0,1fr); }
    .bp-home-card-thumb img { width:88px; height:64px; }
}

/* ========================================================================
   FINAL GLOBAL TYPOGRAPHY + HOMEPAGE TOP NEWS FIX
   ======================================================================== */
:root { --bp-font: "Noto Serif Bengali"; }
html, body,
html body #td-outer-wrap,
html body #td-outer-wrap *,
html body #td-mobile-nav,
html body #td-mobile-nav *,
html body .td-header-wrap,
html body .td-header-wrap *,
html body .td-footer-page,
html body .td-footer-page * {
    font-family: "Noto Serif Bengali" !important;
}
/* Icons are glyphs, not editorial text. Keep Newspaper's icon font intact. */
html body [class^="td-icon-"],
html body [class*=" td-icon-"],
html body .td-icon,
html body .td-icon-font,
html body .td-social-icon-wrap,
html body .fa,
html body [class^="fa-"],
html body [class*=" fa-"] {
    font-family: "newspaper-icons" !important;
}

/* Homepage injected immediately below the Newspaper menu. */
.bp-home-top-news {
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 0 0;
    background: #fff;
    font-family: "Noto Serif Bengali" !important;
}
.bp-home-top-inner {
    width: 1068px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr);
    gap: 22px;
}
.bp-home-latest-panel,
.bp-home-most-read-panel {
    min-width: 0;
}
.bp-home-section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 11px;
    padding: 0 0 7px;
    border-bottom: 2px solid #b51e28;
}
.bp-home-section-heading .bp-section-mark {
    width: 5px;
    height: 22px;
    border-radius: 2px;
    background: #b51e28;
    flex: 0 0 5px;
}
.bp-home-section-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Noto Serif Bengali" !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #181818 !important;
}
.bp-home-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
    gap: 14px;
}
.bp-home-featured {
    min-width: 0;
    border-right: 1px solid #e8e8e8;
    padding-right: 14px;
}
.bp-home-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 7px;
}
.bp-home-featured-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.bp-home-featured-copy h3 {
    margin: 8px 0 4px !important;
    font-family: "Noto Serif Bengali" !important;
    font-size: 25px !important;
    line-height: 1.38 !important;
    font-weight: 800 !important;
}
.bp-home-featured-copy h3 a {
    color: #b51e28 !important;
    text-decoration: none !important;
}
.bp-home-featured-copy p {
    margin: 4px 0 !important;
    font-family: "Noto Serif Bengali" !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #666 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-home-featured-copy time,
.bp-home-latest-card time,
.bp-home-popular-date {
    display: block;
    margin-top: 3px;
    font-family: "Noto Serif Bengali" !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    color: #888 !important;
}
.bp-home-latest-list {
    display: flex;
    flex-direction: column;
}
.bp-home-latest-card {
    display: grid;
    grid-template-columns: 104px minmax(0,1fr);
    gap: 9px;
    padding: 0 0 9px;
    margin: 0 0 9px;
    border-bottom: 1px solid #e8e8e8;
}
.bp-home-latest-card:last-child { border-bottom: 0; margin-bottom: 0; }
.bp-home-card-thumb {
    display: block; width: 104px; height: 70px; overflow: hidden;
    border: 1px solid rgba(0,0,0,.06); border-radius: 6px;
}
.bp-home-card-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.bp-home-card-copy h3 {
    margin: 0 !important;
    font-family: "Noto Serif Bengali" !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-home-card-copy h3 a { color:#202020 !important; text-decoration:none !important; }
.bp-home-card-copy h3 a:hover { color:#b51e28 !important; }
.bp-home-most-read-panel {
    border-left: 1px solid #e4e4e4;
    padding-left: 16px;
}
.bp-home-popular-box {
    border: 1px solid #e4e4e4;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}
.bp-home-popular-item {
    display: grid;
    grid-template-columns: 28px 82px minmax(0,1fr);
    gap: 8px;
    align-items: center;
    padding: 9px;
    border-bottom: 1px solid #ececec;
}
.bp-home-popular-item:last-child { border-bottom: 0; }
.bp-home-popular-rank {
    font-family: "Noto Serif Bengali" !important;
    font-size: 14px;
    font-weight: 800;
    color: #b51e28;
    text-align: center;
}
.bp-home-popular-thumb {
    display:block; width:82px; height:58px; overflow:hidden;
    border:1px solid rgba(0,0,0,.06); border-radius:6px;
}
.bp-home-popular-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.bp-home-popular-title {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    font-family:"Noto Serif Bengali" !important;
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
    color:#202020 !important;
    text-decoration:none !important;
}
.bp-home-popular-title:hover { color:#b51e28 !important; }
.bp-home-top-news + .td-main-content-wrap { margin-top: 0 !important; }

@media (max-width: 900px) {
    .bp-home-top-inner { grid-template-columns: 1fr; }
    .bp-home-most-read-panel { border-left:0; padding-left:0; }
    .bp-home-latest-grid { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 767px) {
    .bp-home-top-inner { max-width: calc(100% - 22px); grid-template-columns: 1fr; }
    .bp-home-latest-grid { grid-template-columns: 1fr; }
    .bp-home-featured { border-right:0; padding-right:0; }
    .bp-home-latest-list { border-top:1px solid #e5e5e5; padding-top:9px; }
    .bp-home-featured-copy h3 { font-size:22px !important; }
    .bp-home-latest-card { grid-template-columns:90px minmax(0,1fr); }
    .bp-home-card-thumb { width:90px; height:62px; }
}
.bp-news-body,
.bp-news-body p,
.bp-news-body li,
.bp-news-body blockquote,
.bp-news-body td,
.bp-news-body th {
    font-family: "Noto Serif Bengali" !important;
}
.bp-news-body { font-size: calc(18px * var(--bp-reader-scale, 1)) !important; }
.bp-news-body p,.bp-news-body li,.bp-news-body blockquote,.bp-news-body td,.bp-news-body th { font-size: inherit !important; }


/* ==========================================================
   FINAL BANGlar PATRIKA SINGLE-NEWS FIXES
   ========================================================== */

/* Comfortable breathing room below the Newspaper menu. */
.bp-single-wrap .bp-news-header {
    padding-top: 36px !important;
}

/* Author photo in the article header and author box. */
.bp-single-wrap .bp-author-avatar-img,
.bp-single-wrap .bp-author-box-photo {
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.bp-single-wrap .bp-author-box-photo {
    width: 96px;
    height: 96px;
}

/* Keep the share controls on one compact line on phones. */
@media (max-width: 900px) {
    .bp-single-wrap .bp-author-share-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        white-space: nowrap;
    }
    .bp-single-wrap .bp-author-share-bar::-webkit-scrollbar { display: none; }
    .bp-single-wrap .bp-author-summary { flex: 0 0 auto; }
    .bp-single-wrap .bp-share-panel {
        width: auto !important;
        flex: 0 0 auto !important;
        margin-left: auto;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
}

/* ==========================================================
   PRINT: site header + current article + site footer only
   ========================================================== */
.bp-print-header,
.bp-print-footer { display: none; }

@media print {
    @page { margin: 16mm 14mm; }

    html, body, body * {
        font-family: "Noto Serif Bengali" !important;
    }

    body {
        background: #fff !important;
        color: #111 !important;
    }

    /* Newspaper chrome and all non-article UI. */
    .td-header-wrap,
    .td-header-menu-wrap,
    .td-mobile-header,
    .td-footer-wrap,
    .td-footer-container,
    .td-footer-page-wrap,
    .td-menu-background,
    .td-menu-socials-wrap,
    .td-breadcrumbs,
    .bp-latest-sidebar,
    .bp-popular-sidebar,
    .bp-mobile-infinite-sentinel,
    .bp-news-navigation,
    .bp-page-navigation,
    .bp-author-box,
    .bp-share-panel,
    .bp-author-share-bar,
    .td-post-sharing,
    .td-social-sharing,
    .td-post-source-tags,
    .td-post-next-prev,
    .td-comments,
    #comments,
    .comments,
    .comment-respond,
    .td_block_related_posts,
    .td-related-row,
    aside,
    nav {
        display: none !important;
    }

    .bp-single-wrap,
    .bp-single-wrap .td-container,
    .bp-single-wrap .bp-single-grid,
    .bp-single-wrap .bp-single-main,
    .bp-single-wrap .td-ss-main-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .bp-print-header {
        display: block !important;
        text-align: center !important;
        padding: 0 0 12px !important;
        margin: 0 0 24px !important;
        border-bottom: 1px solid #222 !important;
    }
    .bp-print-logo img {
        display: inline-block !important;
        max-width: 260px !important;
        max-height: 85px !important;
        width: auto !important;
        height: auto !important;
    }
    .bp-print-site-title {
        font-size: 30px !important;
        font-weight: 800 !important;
    }
    .bp-print-site-url {
        margin-top: 4px !important;
        font-size: 10px !important;
    }

    .bp-news-single {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .bp-single-wrap .bp-news-header {
        padding-top: 0 !important;
    }
    .bp-single-wrap .bp-news-title {
        font-size: 30px !important;
        line-height: 1.45 !important;
        margin: 0 0 10px !important;
        color: #111 !important;
    }
    .bp-single-wrap .bp-news-subtitle {
        display: block !important;
        font-size: 18px !important;
        line-height: 1.65 !important;
        margin: 0 0 16px !important;
        color: #444 !important;
    }
    .bp-single-wrap .bp-news-content,
    .bp-single-wrap .bp-news-body {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 17px !important;
        line-height: 1.95 !important;
    }
    .bp-single-wrap .bp-news-body p,
    .bp-single-wrap .bp-news-body li,
    .bp-single-wrap .bp-news-body blockquote,
    .bp-single-wrap .bp-news-body td,
    .bp-single-wrap .bp-news-body th {
        font-size: inherit !important;
        line-height: inherit !important;
    }
    .bp-single-wrap .bp-featured-image,
    .bp-single-wrap .bp-featured-image figure {
        display: block !important;
        width: 100% !important;
        margin: 18px 0 !important;
    }
    .bp-single-wrap .bp-featured-image img {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 250mm !important;
        margin: 0 auto !important;
    }
    .bp-single-wrap .bp-image-caption {
        font-size: 11px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    .bp-single-wrap .bp-news-view-count {
        display: flex !important;
        justify-content: center !important;
        margin: 24px 0 0 !important;
        padding: 10px 0 !important;
        border-top: 1px solid #aaa !important;
        border-bottom: 0 !important;
        font-size: 12px !important;
    }
    .bp-print-footer {
        display: block !important;
        text-align: center !important;
        margin-top: 28px !important;
        padding-top: 10px !important;
        border-top: 1px solid #222 !important;
        font-size: 10px !important;
        line-height: 1.7 !important;
    }
    .bp-print-footer-line { display: none !important; }
    .bp-print-footer span { display: block !important; }

    /* Prevent accidental page breaks inside editorial blocks. */
    figure, blockquote, .bp-news-view-count {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
    a { color: inherit !important; text-decoration: none !important; }
    * { box-shadow: none !important; text-shadow: none !important; }
}


/* ==========================================================
   PRINT V2 — Banglar Patrika official print identity
   ========================================================== */
@media print {
    @page { margin: 14mm 13mm 16mm 13mm; }

    html,
    body,
    body *,
    .bp-print-header,
    .bp-print-header *,
    .bp-print-footer,
    .bp-print-footer * {
        font-family: "Noto Serif Bengali" !important;
    }

    .bp-print-header {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0 0 8mm !important;
        margin: 0 0 8mm !important;
        border-bottom: 1px solid #222 !important;
    }

    .bp-print-logo {
        display: block !important;
        text-align: center !important;
        margin: 0 0 3mm !important;
    }

    .bp-print-logo img {
        display: inline-block !important;
        width: 300px !important;
        max-width: 70% !important;
        height: auto !important;
        max-height: 72px !important;
        object-fit: contain !important;
    }

    .bp-print-site-url {
        display: block !important;
        font-size: 10pt !important;
        line-height: 1.5 !important;
    }

    .bp-print-footer {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 12mm !important;
        padding-top: 5mm !important;
        border-top: 1px solid #222 !important;
        font-size: 9.5pt !important;
        line-height: 1.75 !important;
        color: #222 !important;
    }

    .bp-print-footer strong {
        display: block !important;
        margin-bottom: 2mm !important;
        font-size: 13pt !important;
        font-weight: 700 !important;
    }

    .bp-print-footer span {
        display: block !important;
        margin: 0 !important;
    }

    .bp-print-footer a {
        color: #111 !important;
        text-decoration: none !important;
        overflow-wrap: anywhere !important;
    }

    /* Keep only the current article in print. */
    .bp-single-wrap .bp-single-grid {
        display: block !important;
        width: 100% !important;
    }

    .bp-single-wrap .bp-single-main {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
