/*
Theme Name: BanglaNews Pro
Theme URI: https://example.com/banglanews-pro
Author: TrustSoft
Author URI: https://example.com
Description: বাংলা নিউজ পোর্টালের জন্য সম্পূর্ণ ওয়ার্ডপ্রেস থিম — হোমপেজ সেকশন বিল্ডার, থিম অপশন প্যানেল, কাস্টমাইজার, ব্রেকিং নিউজ টিকার, বঙ্গাব্দ তারিখ ও বাংলা সংখ্যা সাপোর্টসহ।
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: banglanews
Tags: news, blog, three-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */
:root {
    --bn-primary: #d21f2b;          /* লাল অ্যাকসেন্ট */
    --bn-primary-dark: #a81822;
    --bn-heading: #16213e;          /* শিরোনামের গাঢ় নেভি */
    --bn-link-hover: #1256b0;       /* হোভারে নীল */
    --bn-tab-active: #1565c0;
    --bn-green: #0f8a4f;            /* ফুটারের সবুজ */
    --bn-text: #2b2b2b;
    --bn-text-light: #6d6d6d;
    --bn-border: #e6e6e6;
    --bn-border-soft: #efefef;
    --bn-bg: #ffffff;
    --bn-bg-soft: #f7f8fa;
    --bn-font: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--bn-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--bn-text);
    background: var(--bn-bg);
    word-break: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--bn-link-hover); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.45; font-weight: 700; color: var(--bn-heading); }

.bn-container { max-width: 1230px; margin: 0 auto; padding: 0 15px; }
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px; overflow: hidden;
}

/* ==========================================================================
   2. Header (সাদা: লোগো বাঁয়ে, ডানে তারিখ/লিংক/সোশ্যাল)
   ========================================================================== */
.bn-header { background: #fff; }
.bn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 10px;
}
.bn-logo img { max-height: 64px; width: auto; }
.bn-logo-text {
    font-size: 40px;
    font-weight: 800;
    color: #1256b0;
    line-height: 1;
}
.bn-logo-text:hover { color: var(--bn-primary); }
.bn-site-tagline { font-size: 13px; color: var(--bn-text-light); margin-top: 3px; }

.bn-header-meta { text-align: right; font-size: 14px; }
.bn-header-date {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: var(--bn-heading);
    font-weight: 600;
}
.bn-header-date svg { color: var(--bn-primary); }
.bn-header-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 8px;
}
.bn-header-links .bn-quick-menu { display: flex; gap: 14px; }
.bn-header-links .bn-quick-menu a { color: var(--bn-primary); font-weight: 600; font-size: 14px; }
.bn-header-links .bn-quick-menu a:hover { color: var(--bn-link-hover); }
.bn-social { display: flex; gap: 6px; }
.bn-social a {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 4px;
    color: #fff;
}
.bn-social a:hover { opacity: .85; color: #fff; }
.bn-social .bn-sc-fb { background: #1877f2; }
.bn-social .bn-sc-x { background: #1da1f2; }
.bn-social .bn-sc-yt { background: #ff0000; }
.bn-social .bn-sc-ig { background: #c13584; }

/* ==========================================================================
   3. Navigation (সাদা বার, কালো টেক্সট)
   ========================================================================== */
.bn-nav {
    background: #fff;
    border-top: 1px solid var(--bn-border);
    border-bottom: 1px solid var(--bn-border);
    position: relative;
    z-index: 60;
}
.bn-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.bn-menu { display: flex; flex-wrap: wrap; }
.bn-menu > li { position: relative; }
.bn-menu > li > a {
    display: block;
    color: var(--bn-heading);
    padding: 13px 15px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.bn-menu > li:hover > a,
.bn-menu > li.current-menu-item > a { color: var(--bn-primary); }
.bn-menu .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 215px;
    background: #fff;
    border-top: 2px solid var(--bn-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    z-index: 99;
}
.bn-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bn-menu .sub-menu li a {
    display: block;
    padding: 9px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--bn-border-soft);
    color: var(--bn-text);
}
.bn-menu .sub-menu li:last-child a { border-bottom: 0; }
.bn-menu .sub-menu li a:hover { background: var(--bn-bg-soft); color: var(--bn-primary); }
.bn-menu .sub-menu .sub-menu { top: 0; left: 100%; }

.bn-nav-search { position: relative; }
.bn-search-toggle {
    background: transparent;
    color: var(--bn-heading);
    border: 0;
    padding: 13px 10px;
    cursor: pointer;
    line-height: 1;
}
.bn-search-toggle:hover { color: var(--bn-primary); }
.bn-search-drop {
    position: absolute;
    right: 0; top: 100%;
    width: 290px;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--bn-border);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    display: none;
    z-index: 99;
}
.bn-search-drop.open { display: block; }
.bn-search-form { display: flex; }
.bn-search-form input[type="search"] {
    flex: 1;
    border: 1px solid var(--bn-border);
    padding: 8px 10px;
    font-family: var(--bn-font);
    font-size: 14px;
    outline: none;
}
.bn-search-form input[type="search"]:focus { border-color: var(--bn-primary); }
.bn-search-form button {
    background: var(--bn-primary);
    color: #fff;
    border: 0;
    padding: 8px 14px;
    cursor: pointer;
    font-family: var(--bn-font);
}
.bn-menu-toggle {
    display: none;
    background: transparent;
    color: var(--bn-heading);
    border: 0;
    font-size: 22px;
    padding: 9px 12px;
    cursor: pointer;
}

/* ==========================================================================
   4. Breaking ticker (ঐচ্ছিক)
   ========================================================================== */
.bn-ticker { background: #fff; border-bottom: 1px solid var(--bn-border); overflow: hidden; }
.bn-ticker-inner { display: flex; align-items: stretch; height: 38px; }
.bn-ticker-label {
    background: var(--bn-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex; align-items: center;
    padding: 0 16px;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}
.bn-ticker-label::after {
    content: "";
    position: absolute;
    right: -8px; top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--bn-primary);
}
.bn-ticker-track { flex: 1; overflow: hidden; }
.bn-ticker-list {
    display: flex; align-items: center;
    height: 38px;
    animation: bn-ticker-scroll 40s linear infinite;
    width: max-content;
}
.bn-ticker-track:hover .bn-ticker-list { animation-play-state: paused; }
.bn-ticker-list li { padding: 0 28px; position: relative; white-space: nowrap; font-size: 14px; }
.bn-ticker-list li::before {
    content: "";
    position: absolute;
    left: 8px; top: 50%;
    transform: translateY(-50%);
    width: 7px; height: 7px;
    background: var(--bn-primary);
    border-radius: 50%;
}
@keyframes bn-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   5. হাইলাইট স্ট্রিপ (মেনুর নিচে ৪টি ছোট বক্স)
   ========================================================================== */
.bn-hl-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bn-border-soft);
}
.bn-hl-item {
    display: flex;
    gap: 10px;
    border: 1px solid var(--bn-border);
    padding: 7px;
    background: #fff;
    align-items: center;
}
.bn-hl-item .bn-hl-thumb { flex-shrink: 0; width: 100px; overflow: hidden; }
.bn-hl-item .bn-hl-thumb img { transition: transform .35s; }
.bn-hl-item:hover .bn-hl-thumb img { transform: scale(1.06); }
.bn-hl-item h3 {
    font-size: 14.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   6. জেনেরিক কার্ড
   ========================================================================== */
.bn-card { position: relative; }
.bn-card-thumb { position: relative; overflow: hidden; display: block; background: var(--bn-bg-soft); }
.bn-card-thumb img { width: 100%; transition: transform .4s; }
.bn-card:hover .bn-card-thumb img { transform: scale(1.05); }
.bn-card-title { font-size: 16.5px; margin-top: 10px; }
.bn-card-title a:hover { color: var(--bn-link-hover); }
.bn-card-meta { font-size: 12.5px; color: var(--bn-text-light); margin-top: 4px; }
.bn-card-excerpt { font-size: 14px; color: var(--bn-text-light); margin-top: 7px; line-height: 1.75; }

/* ওভারলে কার্ড (ছবির ওপর সাদা শিরোনাম) */
.bn-overlay-card { position: relative; overflow: hidden; background: #111; }
.bn-overlay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; opacity: .93; }
.bn-overlay-card:hover img { transform: scale(1.05); }
.bn-overlay-card .bn-overlay-title {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 40px 15px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
    color: #fff;
    font-size: 16px;
    z-index: 2;
}
.bn-overlay-card .bn-overlay-title a { color: #fff; }
.bn-overlay-card .bn-overlay-title a:hover { color: #ffd54f; }

/* ছোট লিস্ট আইটেম: থাম্ব বাঁয়ে + শিরোনাম */
.bn-mini-list li {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bn-border-soft);
    align-items: flex-start;
}
.bn-mini-list li:first-child { padding-top: 0; }
.bn-mini-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.bn-mini-list .bn-mini-thumb { flex-shrink: 0; width: 78px; overflow: hidden; }
.bn-mini-list .bn-mini-thumb img { transition: transform .35s; }
.bn-mini-list li:hover .bn-mini-thumb img { transform: scale(1.07); }
.bn-mini-list .bn-mini-title { font-size: 14.5px; font-weight: 600; line-height: 1.55; }

/* থাম্ব ডানে ভ্যারিয়েন্ট (দেশজুড়ে সাইড বক্স) */
.bn-mini-list.thumb-right li { flex-direction: row-reverse; }

/* ==========================================================================
   7. সেকশন হেডার (লাল রিবন + শিরোনাম + লাইন + সব লিংক)
   ========================================================================== */
.bn-sec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.bn-ribbon {
    flex-shrink: 0;
    width: 15px; height: 21px;
    background: var(--bn-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 68%, 0 100%);
    transform: rotate(180deg) skewX(-8deg);
}
.bn-sec-title { font-size: 21px; font-weight: 700; color: var(--bn-heading); white-space: nowrap; }
.bn-sec-title a:hover { color: var(--bn-primary); }
.bn-sec-line { flex: 1; height: 2px; background: #d5d5d5; border-radius: 2px; }
.bn-sec-more {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bn-primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.bn-sec-more:hover { color: var(--bn-link-hover); }

.bn-section { padding: 22px 0 8px; }

/* ==========================================================================
   8. লিড সেকশন (বাঁ লিস্ট বক্স + মাঝে বড় নিউজ + ডানে ট্যাব)
   ========================================================================== */
.bn-lead-grid {
    display: grid;
    grid-template-columns: 268px 1fr 272px;
    gap: 22px;
    padding: 20px 0;
}

/* বাঁ কলাম: বর্ডার বক্স — প্রথমটা ছবি কার্ড, বাকিগুলো টেক্সট */
.bn-lead-side { border: 1px solid var(--bn-border); padding: 12px; align-self: start; }
.bn-lead-side .bn-card-title { font-size: 16px; }
.bn-lead-side .bn-text-list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--bn-border-soft);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--bn-heading);
}
.bn-lead-side .bn-text-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.bn-lead-side .bn-card { margin-bottom: 6px; }

/* মাঝ কলাম: বড় ছবি + পাশে শিরোনাম */
.bn-lead-main-story {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}
.bn-lead-main-story .bn-lead-headline { font-size: 27px; line-height: 1.45; }
.bn-lead-main-story .bn-lead-headline a:hover { color: var(--bn-link-hover); }
.bn-lead-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    border-top: 1px solid var(--bn-border-soft);
    padding-top: 18px;
}
.bn-lead-sub-grid .bn-card-title { font-size: 15px; margin-top: 8px; }

/* ডান কলাম: সর্বশেষ/জনপ্রিয় ট্যাব */
.bn-tab-box { border: 1px solid var(--bn-border); align-self: start; }
.bn-tab-nav { display: flex; border-bottom: 1px solid var(--bn-border); }
.bn-tab-nav button {
    flex: 1;
    background: #fff;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 11px 8px;
    font-family: var(--bn-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: var(--bn-text-light);
}
.bn-tab-nav button.active { color: var(--bn-tab-active); border-bottom-color: var(--bn-tab-active); }
.bn-tab-pane { display: none; max-height: 470px; overflow-y: auto; padding: 5px 14px; }
.bn-tab-pane.active { display: block; }
.bn-num-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bn-border-soft);
    align-items: flex-start;
}
.bn-num-list li:last-child { border-bottom: 0; }
.bn-num-list .bn-num-title { font-size: 14.5px; font-weight: 600; line-height: 1.55; color: var(--bn-heading); }
.bn-num-list .bn-num {
    flex-shrink: 0;
    font-size: 21px;
    font-weight: 700;
    color: #c9c9c9;
    line-height: 1.2;
}
.bn-tab-foot {
    display: block;
    text-align: center;
    border-top: 1px solid var(--bn-border);
    padding: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--bn-heading);
}
.bn-tab-foot:hover { color: var(--bn-primary); }

/* ==========================================================================
   9. বিজ্ঞাপন
   ========================================================================== */
.bn-ad { text-align: center; padding: 14px 0; }
.bn-ad img { display: inline-block; }
.bn-ad-label { display: block; font-size: 10px; color: #b5b5b5; text-transform: uppercase; letter-spacing: 1.5px; }

/* ==========================================================================
   10. সেকশন স্টাইল: featured (ফুল-উইডথ ফিচার্ড গ্রিড)
   ========================================================================== */
.bn-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.bn-featured-grid .bn-card-title { font-size: 17px; }
.bn-featured-grid .bn-card:first-child .bn-card-excerpt { display: block; }
.bn-featured-sub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid var(--bn-border-soft);
    margin-top: 20px;
    padding-top: 20px;
}
.bn-featured-sub .bn-card-title { font-size: 15px; }

/* ==========================================================================
   11. সেকশন স্টাইল: block4 (৪-কলাম ক্যাটাগরি ব্লক)
   ========================================================================== */
.bn-row4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px 0 14px;
}
.bn-row4 > .bn-block {
    padding: 0 20px;
    border-left: 1px solid var(--bn-border-soft);
    min-width: 0;
}
.bn-row4 > .bn-block:first-child { padding-left: 0; border-left: 0; }
.bn-row4 > .bn-block:last-child { padding-right: 0; }
.bn-block .bn-sec-head { margin-bottom: 15px; }
.bn-block .bn-sec-title { font-size: 18px; }
.bn-block .bn-ribbon { width: 13px; height: 18px; }
.bn-block > .bn-card > .bn-card-title { font-size: 16.5px; }
.bn-block .bn-lead-card { padding-bottom: 14px; border-bottom: 1px solid var(--bn-border-soft); margin-bottom: 4px; }
.bn-block .bn-mini-list .bn-mini-thumb { width: 72px; }
.bn-block .bn-mini-list .bn-mini-title { font-size: 14px; }

/* ==========================================================================
   12. সেকশন স্টাইল: feature3 (দুই পাশে লিস্ট, মাঝে বড় নিউজ)
   ========================================================================== */
.bn-feature3 {
    display: grid;
    grid-template-columns: 285px 1fr 285px;
    gap: 20px;
}
.bn-feature3-side {
    border: 1px solid var(--bn-border);
    background: #fcfcfc;
    padding: 6px 14px;
    align-self: start;
}
.bn-feature3-side .bn-mini-title { font-size: 14.5px; }
.bn-feature3-center { border: 1px solid var(--bn-border); padding: 14px; }
.bn-feature3-center .bn-feature3-title { font-size: 23px; margin-top: 14px; line-height: 1.5; }
.bn-feature3-center .bn-card-excerpt { font-size: 14.5px; }

/* ==========================================================================
   13. সেকশন স্টাইল: intl (২/৩ গ্রিড + ১/৩ মতামত লিস্ট)
   ========================================================================== */
.bn-intl-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 26px;
}
.bn-intl-main { border-right: 1px solid var(--bn-border-soft); padding-right: 26px; }
.bn-intl-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}
.bn-intl-grid .bn-intl-big { display: grid; gap: 18px; align-content: start; }
.bn-intl-grid .bn-overlay-card { min-height: 205px; }
.bn-intl-grid .bn-card-title { font-size: 15.5px; }

/* মতামত: গোল অথর ছবি + শিরোনাম + নাম */
.bn-opinion-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bn-border-soft);
    align-items: center;
}
.bn-opinion-list li:first-child { padding-top: 4px; }
.bn-opinion-list li:last-child { border-bottom: 0; }
.bn-opinion-list .bn-op-thumb {
    flex-shrink: 0;
    width: 66px; height: 66px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bn-bg-soft);
}
.bn-opinion-list .bn-op-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bn-opinion-list .bn-op-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.bn-opinion-list .bn-op-author { font-size: 13px; color: var(--bn-text-light); margin-top: 3px; }

/* ==========================================================================
   14. সেকশন স্টাইল: photogrid (ডার্ক ফটো মোজাইক — বিনোদন)
   ========================================================================== */
.bn-photogrid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 235px 235px;
    gap: 4px;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #1565c0, #d81b60) 1;
}
.bn-photogrid .bn-overlay-card:nth-child(1) { grid-column: 2; grid-row: 1 / span 2; }
.bn-photogrid .bn-overlay-card:nth-child(1) .bn-overlay-title { font-size: 19px; }

/* ==========================================================================
   15. আর্কাইভ / সিঙ্গেল / পেজ
   ========================================================================== */
.bn-main-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 25px 0 40px;
}
.bn-main-wrap.no-sidebar { grid-template-columns: 1fr; }

.bn-archive-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--bn-border-soft);
}
.bn-archive-item .bn-card-title { font-size: 19px; margin-top: 0; }
.bn-archive-item.no-thumb { grid-template-columns: 1fr; }

.bn-single-cat a {
    display: inline-block;
    background: var(--bn-primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
}
.bn-single-cat a:hover { background: var(--bn-primary-dark); color: #fff; }
.bn-single-title { font-size: 30px; margin-bottom: 10px; }
.bn-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--bn-text-light);
    padding: 10px 0;
    border-top: 1px solid var(--bn-border-soft);
    border-bottom: 1px solid var(--bn-border-soft);
    margin-bottom: 18px;
}
.bn-single-thumb { margin-bottom: 18px; }
.bn-single-thumb figcaption { font-size: 13px; color: var(--bn-text-light); padding: 6px 0; border-bottom: 1px solid var(--bn-border-soft); }
.bn-content { font-size: 17px; line-height: 1.95; }
.bn-content p, .bn-content ul, .bn-content ol, .bn-content blockquote,
.bn-content figure, .bn-content h2, .bn-content h3, .bn-content h4 { margin-bottom: 18px; }
.bn-content ul { list-style: disc; padding-left: 22px; }
.bn-content ol { list-style: decimal; padding-left: 22px; }
.bn-content a { color: var(--bn-link-hover); }
.bn-content blockquote {
    border-left: 4px solid var(--bn-primary);
    background: var(--bn-bg-soft);
    padding: 15px 20px;
    font-style: italic;
}
.bn-content img { margin: 0 auto; }

.bn-tags { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bn-tags a {
    display: inline-block;
    background: var(--bn-bg-soft);
    border: 1px solid var(--bn-border);
    font-size: 13px;
    padding: 3px 13px;
    border-radius: 20px;
}
.bn-tags a:hover { background: var(--bn-primary); border-color: var(--bn-primary); color: #fff; }

.bn-share { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.bn-share a { color: #fff; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 3px; }
.bn-share a:hover { opacity: .85; color: #fff; }
.bn-share-fb { background: #1877f2; }
.bn-share-x { background: #111; }
.bn-share-wa { background: #25d366; }

.bn-related { margin-top: 30px; }
.bn-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bn-related .bn-card-title { font-size: 14.5px; }

.bn-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bn-pagination .page-numbers {
    display: inline-block;
    border: 1px solid var(--bn-border);
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
}
.bn-pagination .page-numbers.current,
.bn-pagination .page-numbers:hover { background: var(--bn-primary); border-color: var(--bn-primary); color: #fff; }

/* Comments */
.bn-comments { margin-top: 35px; }
.bn-comments-title {
    font-size: 20px;
    border-bottom: 2px solid var(--bn-primary);
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.comment-list .comment { border: 1px solid var(--bn-border); padding: 15px; margin-bottom: 15px; }
.comment-list .children { margin: 15px 0 0 25px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--bn-text-light); margin: 4px 0 10px; }
.comment-content { font-size: 15px; }
.comment-reply-link { font-size: 13px; color: var(--bn-primary); font-weight: 600; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--bn-border);
    padding: 9px 12px;
    margin-bottom: 14px;
    font-family: var(--bn-font);
    font-size: 15px;
    outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--bn-primary); }
.comment-form .submit {
    background: var(--bn-primary);
    color: #fff;
    border: 0;
    padding: 10px 26px;
    font-family: var(--bn-font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.comment-form .submit:hover { background: var(--bn-primary-dark); }

/* ==========================================================================
   16. সাইডবার / উইজেট
   ========================================================================== */
.bn-widget { margin-bottom: 30px; }
.bn-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 16px;
}
.bn-widget-title::before {
    content: "";
    width: 13px; height: 18px;
    background: var(--bn-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 68%, 0 100%);
    transform: rotate(180deg) skewX(-8deg);
}
.bn-widget-title::after { content: ""; flex: 1; height: 2px; background: #d5d5d5; }
.bn-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--bn-border-soft); font-size: 15px; }
.bn-widget ul li:last-child { border-bottom: 0; }
.bn-widget select, .bn-widget input[type="search"] { width: 100%; padding: 8px; border: 1px solid var(--bn-border); font-family: var(--bn-font); }
.bn-widget .bn-mini-list li { padding: 10px 0; }

/* ==========================================================================
   17. ফুটার (হালকা, সবুজ অ্যাকসেন্ট)
   ========================================================================== */
.bn-footer { margin-top: 35px; }
.bn-footer-menubar { background: var(--bn-bg-soft); border-top: 1px solid var(--bn-border); border-bottom: 1px solid var(--bn-border); }
.bn-footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding: 13px 0;
}
.bn-footer-menu a { font-size: 15px; font-weight: 600; color: var(--bn-heading); }
.bn-footer-menu a:hover { color: var(--bn-primary); }

.bn-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0 10px;
}
.bn-footer-widgets:empty { display: none; padding: 0; }

.bn-publisher-line {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--bn-heading);
    padding: 20px 0 16px;
}

.bn-footer-contact {
    background: var(--bn-bg-soft);
    border-radius: 8px;
    padding: 20px 25px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
    font-size: 14.5px;
    margin-bottom: 22px;
}
.bn-footer-contact .bn-fc-item { display: flex; gap: 9px; align-items: flex-start; line-height: 1.8; }
.bn-footer-contact .bn-fc-item svg { flex-shrink: 0; margin-top: 6px; color: var(--bn-green); }
.bn-footer-contact strong { color: var(--bn-heading); }
.bn-footer-contact a { color: var(--bn-green); font-weight: 600; }
.bn-footer-contact a:hover { color: var(--bn-primary); }

.bn-footer-bottom { border-top: 1px solid var(--bn-border); padding: 14px 0; font-size: 14px; }
.bn-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.bn-footer-bottom a { color: var(--bn-green); font-weight: 600; }
.bn-footer-bottom a:hover { color: var(--bn-primary); }

.bn-backtop {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 42px; height: 42px;
    background: #fff;
    color: var(--bn-heading);
    border: 1px solid var(--bn-border);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden;
    transition: all .3s;
    z-index: 999;
}
.bn-backtop:hover { background: var(--bn-primary); color: #fff; border-color: var(--bn-primary); }
.bn-backtop.show { opacity: 1; visibility: visible; }

/* 404 & no results */
.bn-notfound { text-align: center; padding: 60px 0; }
.bn-notfound h1 { font-size: 90px; color: var(--bn-primary); line-height: 1; }
.bn-notfound p { margin: 15px 0 25px; color: var(--bn-text-light); }
.bn-notfound .bn-search-form { max-width: 420px; margin: 0 auto; }

/* Archive page ribbon title */
.bn-page-title-bar { margin-bottom: 20px; }
.bn-page-title { font-size: 22px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 20px 15px 0; }
.alignright { float: right; margin: 0 0 15px 20px; }
.aligncenter { display: block; margin: 0 auto 15px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--bn-text-light); text-align: center; padding: 5px 0; }
.sticky {}
.bypostauthor {}
.gallery-caption {}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .bn-lead-grid { grid-template-columns: 1fr 1fr; }
    .bn-lead-side { order: 3; }
    .bn-lead-latest { grid-column: auto; }
    .bn-hl-strip { grid-template-columns: repeat(2, 1fr); }
    .bn-row4 { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .bn-row4 > .bn-block:nth-child(odd) { padding-left: 0; border-left: 0; }
    .bn-row4 > .bn-block:nth-child(even) { padding-right: 0; }
    .bn-featured-grid, .bn-featured-sub { grid-template-columns: repeat(2, 1fr); }
    .bn-feature3 { grid-template-columns: 1fr 1fr; }
    .bn-feature3-center { grid-column: 1 / -1; order: -1; }
    .bn-intl-wrap { grid-template-columns: 1fr; }
    .bn-intl-main { border-right: 0; padding-right: 0; }
    .bn-related-grid { grid-template-columns: repeat(2, 1fr); }
    .bn-main-wrap { grid-template-columns: 1fr; }
    .bn-footer-contact { grid-template-columns: 1fr; }
    .bn-footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .bn-photogrid { grid-template-rows: 200px 200px; }
}

@media (max-width: 768px) {
    .bn-menu-toggle { display: block; }
    .bn-nav-inner { flex-wrap: wrap; }
    .bn-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        order: 3;
        border-top: 1px solid var(--bn-border);
    }
    .bn-menu.open { display: flex; }
    .bn-menu > li > a { padding: 11px 10px; border-bottom: 1px solid var(--bn-border-soft); }
    .bn-menu .sub-menu {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 0;
        background: var(--bn-bg-soft);
        display: none;
    }
    .bn-menu li.open-sub > .sub-menu { display: block; }
    .bn-header-inner { flex-direction: column; gap: 8px; text-align: center; }
    .bn-header-meta { text-align: center; }
    .bn-header-date, .bn-header-links { justify-content: center; }
    .bn-lead-grid { grid-template-columns: 1fr; }
    .bn-lead-main-story { grid-template-columns: 1fr; gap: 10px; }
    .bn-lead-main-story .bn-lead-headline { font-size: 21px; }
    .bn-lead-sub-grid { grid-template-columns: repeat(2, 1fr); }
    .bn-feature3 { grid-template-columns: 1fr; }
    .bn-archive-item { grid-template-columns: 1fr; }
    .bn-single-title { font-size: 23px; }
    .bn-photogrid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bn-photogrid .bn-overlay-card { min-height: 210px; }
    .bn-photogrid .bn-overlay-card:nth-child(1) { grid-column: auto; grid-row: auto; }
    .bn-intl-grid { grid-template-columns: 1fr 1fr; }
    .bn-intl-grid .bn-intl-big { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .bn-hl-strip { grid-template-columns: 1fr; }
    .bn-row4 { grid-template-columns: 1fr; }
    .bn-row4 > .bn-block { padding: 0 !important; border-left: 0 !important; }
    .bn-featured-grid, .bn-featured-sub { grid-template-columns: 1fr; }
    .bn-lead-sub-grid { grid-template-columns: 1fr; }
    .bn-related-grid { grid-template-columns: 1fr; }
    .bn-footer-widgets { grid-template-columns: 1fr; }
    .bn-intl-grid { grid-template-columns: 1fr; }
    .bn-logo-text { font-size: 30px; }
    .bn-footer-bottom-inner { justify-content: center; text-align: center; }
}
