/* ==========================================================
   সীমান্ত জার্নাল — সব পেজের কনটেন্ট (bangladeshtimes.com ধাঁচের নিউজপেপার লুক)
   শুধু <main class="bt"> এর ভেতরে কাজ করে — হেডার/ফুটারে প্রভাব নেই
   ========================================================== */
.bt { --bt-red: var(--brand, #b21010); --bt-ink: #111; --bt-line: #e5e7eb; --bt-soft: #f6f7f9; --bt-r: 3px; }

/* ---------- কার্ড: কম গোল কোণ, ঝকঝকে নিউজ লুক ---------- */
.bt .pc--overlay { border-radius: var(--bt-r); }
.bt .pc__over { padding: 70px 18px 16px; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 50%, transparent); }
.bt .pc--overlay .pc__title { font-weight: 700; line-height: 1.4; }
.bt .hero__big .pc__title { font-size: 30px; }
.bt .chip { border-radius: 2px; background: var(--bt-red); font-size: 13px; padding: 1px 10px; font-weight: 600; letter-spacing: .2px; }
.bt .chip--on { left: 0; bottom: 0; border-radius: 0 2px 0 0; padding: 2px 12px; }
.bt .pc__mediawrap { border-radius: var(--bt-r); }
.bt .pc--stack .pc__title { font-weight: 700; font-size: 18px; line-height: 1.45; }
.bt .pc--stack:hover .pc__title a, .bt .pc--row:hover .pc__title a { color: var(--bt-red); }

/* ---------- হিরো নিচের ৩ কার্ড ---------- */
.bt .trio { gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--bt-line); }
.bt .trio .pc--stack + .pc--stack { position: relative; }

/* ---------- সর্বশেষ বক্স (ডানের তালিকা) ---------- */
.bt .latest-box { background: #fff; border: 1px solid var(--bt-line); border-top: 3px solid var(--bt-red); border-radius: 0; padding: 0 14px 6px; }
.bt .latest-box__head { padding: 12px 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--bt-line); }
.bt .latest-box__head h2 { font-size: 21px; color: var(--bt-ink); }
.bt .latest-box__head a { color: var(--bt-red); font-size: 14px; }
.bt .latest-box__head .dot { background: var(--bt-red); border-radius: 0; width: 8px; height: 8px; }
.bt .latest-box__list { gap: 0; }
.bt .latest-box .pc--row { background: transparent; border: 0; border-bottom: 1px dashed var(--bt-line); border-radius: 0; padding: 10px 0; box-shadow: none; }
.bt .latest-box .pc--row:last-child { border-bottom: 0; }
.bt .latest-box .pc__thumb { width: 92px; height: 62px; border-radius: 2px; }
.bt .latest-box .pc--row .pc__title { font-size: 16px; font-weight: 600; line-height: 1.45; }
.bt .latest-box .pc__cat { color: var(--bt-red); font-size: 13px; }

/* ---------- সেকশন শিরোনাম (সব সেকশনে এক) ---------- */
.bt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-bottom: 0; border-bottom: 1px solid var(--bt-line); position: relative; }
.bt-head__title { font-size: 23px; line-height: 1.3; color: var(--bt-ink); padding: 0 0 8px 14px; position: relative; }
.bt-head__title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 12px; width: 5px; background: var(--bt-red); border-radius: 1px; }
.bt-head__title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--bt-red); }
.bt-head__title a:hover { color: var(--bt-red); }
.bt-head__more { font-size: 14.5px; font-weight: 600; color: #555; padding-bottom: 8px; transition: color .2s; }
.bt-head__more::after { content: ' ›'; }
.bt-head__more:hover { color: var(--bt-red); }

/* ---------- ক্যাটাগরি ব্লক ---------- */
.bt-block { margin-top: 38px; min-width: 0; }
.bt-lead .pc__mediawrap { aspect-ratio: 16 / 10; }
.bt-lead .pc__title { font-size: 19px; margin-top: 10px; }
.bt-list { margin-top: 4px; }
.bt-list .pc--text { padding: 11px 0 11px 16px; border-bottom: 1px solid var(--bt-line); }
.bt-list li:last-child .pc--text { border-bottom: 0; }
.bt-list .pc--text::before { top: 22px; left: 2px; width: 6px; height: 6px; border-radius: 0; background: var(--bt-red); }
.bt-list .pc--text .pc__title { font-size: 17px; font-weight: 700; line-height: 1.5; color: #1b1b1b; }
.bt-list .pc--text .pc__title a:hover { color: var(--bt-red); }

.bt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.bt-grid .bt-block { padding-bottom: 6px; }

/* জাতীয় (ওয়াইড) */
.bt-wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: 'lead list' 'follow follow'; gap: 18px 30px; align-items: start; }
.bt-wide__lead { grid-area: lead; }
.bt-wide__list { grid-area: list; margin-top: 0; }
.bt-wide .bt-lead .pc__mediawrap { aspect-ratio: 16 / 9; }
.bt-wide .bt-lead .pc__title { font-size: 24px; }
.bt-wide__list .pc--text .pc__title { font-size: 18px; }
.bt-follow { grid-area: follow; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bt-follow__b { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--bt-line); border-radius: var(--bt-r); background: var(--bt-soft); color: #555; font-size: 14px; transition: border-color .2s, background .2s; }
.bt-follow__b b { display: block; color: var(--bt-ink); font-size: 16px; }
.bt-follow__b i { width: 38px; height: 38px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; }
.bt-follow__b--fb i { background: #1877f2; border-radius: 50%; }
.bt-follow__b--yt i { background: #f00; border-radius: 9px; }
.bt-follow__b:hover { background: #fff; border-color: #cfd4dc; }

/* ---------- ফটো গ্যালারি ---------- */
.bt .galhome { margin-top: 38px; }
.bt .galhome .sec-head { border-bottom: 1px solid var(--bt-line); margin-bottom: 16px; }
.bt .galhome .sec-title { font-size: 23px; padding: 0 0 8px 14px; }
.bt .galhome .sec-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 12px; width: 5px; background: var(--bt-red); border-radius: 1px; }
.bt .galhome .sec-more { font-size: 14.5px; }
.bt .galhome__grid { gap: 10px; grid-template-rows: 210px 210px; }
.bt .ph { border-radius: var(--bt-r); }
.bt .ph__cap em { color: #ffd36b; }

/* ---------- ভিডিও স্ট্রিপ (হালকা থিমই থাকছে, শুধু শিরোনাম/কার্ড নিউজ ধাঁচে) ---------- */
.bt .vstrip { margin: 38px 0 0; border-left: 0; border-right: 0; }
.bt .vstrip__head { border-bottom: 1px solid rgba(0,0,0,.08); margin-bottom: 16px; align-items: flex-end; }
.bt .vstrip__head h2 { font-size: 23px; padding: 0 0 8px 14px; position: relative; }
.bt .vstrip__head h2 .dot { display: none; }
.bt .vstrip__head h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 12px; width: 5px; background: var(--bt-red); border-radius: 1px; }
.bt .vstrip__head h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--bt-red); }
.bt .vstrip__nav { padding-bottom: 8px; }
.bt .vstrip__nav button { border-radius: var(--bt-r); width: 34px; height: 34px; box-shadow: none; }
.bt .vstrip__nav a { border-radius: var(--bt-r); border-width: 1px; padding: 6px 14px; font-size: 14.5px; }
.bt .vc--strip { border-radius: var(--bt-r); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.bt .vc--strip .vc__body h3 { font-weight: 700; line-height: 1.5; }
.bt .badge { border-radius: 2px; background: var(--bt-red); }

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 1100px) {
  .bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt .latest-box { margin-top: 6px; }
}
@media (max-width: 760px) {
  .bt-grid { grid-template-columns: 1fr; }
  .bt-wide { grid-template-columns: 1fr; grid-template-areas: 'lead' 'list' 'follow'; }
  .bt-wide .bt-lead .pc__title { font-size: 21px; }
  .bt-follow { grid-template-columns: 1fr; }
  .bt .hero__big .pc__title { font-size: 22px; }
  .bt .trio { gap: 16px; }
  .bt-head__title, .bt .galhome .sec-title, .bt .vstrip__head h2 { font-size: 20px; }
  .bt .galhome__grid { grid-template-rows: 220px 130px 130px; }
}

/* ==========================================================
   ক্যাটাগরি / সার্চ / সিংগেল পোস্ট / পেজ / ভিডিও / গ্যালারি / ৪০৪
   ========================================================== */
.bt .sec-head { border-bottom: 1px solid var(--bt-line); margin-bottom: 16px; align-items: center; }
.bt .sec-title { font-size: 23px; padding: 0 0 8px 14px; color: var(--bt-ink); }
.bt .sec-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 12px; width: 5px; background: var(--bt-red); border-radius: 1px; }
.bt .sec-title--lg { font-size: 30px; }
.bt .sec-head--page { margin-top: 24px; }
.bt .sec-more { font-size: 14.5px; }
.bt .twocol { gap: 32px; }

/* তালিকা পেজ */
.bt .cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.bt .cardgrid .pc__title { font-size: 17.5px; }
.bt .cardgrid__first { grid-column: 1 / -1; min-height: 380px; }
.bt .cardgrid__first .pc__title { font-size: 28px; }
.bt .pc__date { font-size: 13.5px; color: #777; margin-top: 6px; }
.bt .galgrid { gap: 12px; }
.bt .empty { text-align: center; background: var(--bt-soft); border: 1px dashed var(--bt-line); border-radius: var(--bt-r); }
.bt .inlinesearch input { border-radius: var(--bt-r); }
.bt .inlinesearch button, .bt .btn { border-radius: var(--bt-r); }
.bt .twocol .latest-box { margin-top: 24px; }

/* পেজিনেশন */
.bt .pager__btn, .bt .pager__num { border-radius: var(--bt-r); }

/* সিংগেল পোস্ট */
.bt .crumbs { font-size: 14.5px; }
.bt .crumbs a { color: var(--bt-red); }
.bt .chip--solid { border-radius: 2px; background: var(--bt-red); font-size: 14px; padding: 2px 12px; margin-bottom: 10px; }
.bt .article__title { font-size: 34px; line-height: 1.42; font-weight: 700; color: var(--bt-ink); margin-bottom: 12px; }
.bt .article__meta { border-top: 0; border-bottom: 1px solid var(--bt-line); padding: 0 0 10px; font-size: 14.5px; }
.bt .article__meta span { color: var(--bt-red); }
.bt .article__img { margin: 14px 0 18px; }
.bt .article__img img { border-radius: var(--bt-r); }
.bt .share__b { border-radius: 3px; padding: 5px 14px; font-size: 14.5px; }
.bt .entry { font-size: 19.5px; line-height: 2; color: #1b1b1b; }
.bt .entry a { color: var(--bt-red); }
.bt .entry blockquote { border-left: 4px solid var(--bt-red); background: var(--bt-soft); border-radius: 0 3px 3px 0; }
.bt .entry img { border-radius: var(--bt-r); }
.bt .related { margin-top: 40px; }
.bt .related__grid { gap: 20px; }
.bt .related .pc__title { font-size: 16.5px; }

/* মন্তব্য */
.comments { margin-top: 42px; }
.comments .bt-head__title small { font-size: 16px; color: #777; font-weight: 500; }
.cmt-list { list-style: none; margin: 0 0 8px; padding: 0; }
.cmt { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bt-line); }
.cmt--reply { margin-left: 52px; }
.cmt__av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--bt-red); color: #fff; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; }
.cmt__body { min-width: 0; flex: 1; }
.cmt__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; color: #777; }
.cmt__meta b { color: var(--bt-ink); font-size: 16.5px; }
.cmt__text { margin: 4px 0 0; font-size: 17px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.cmt-empty { padding: 18px; text-align: center; color: #666; background: var(--bt-soft); border: 1px dashed var(--bt-line); border-radius: var(--bt-r); margin: 0 0 18px; }
.cmt-formbox { margin-top: 22px; padding: 20px; background: var(--bt-soft); border: 1px solid var(--bt-line); border-top: 3px solid var(--bt-red); border-radius: var(--bt-r); }
.cmt-formbox__title { font-size: 20px; margin-bottom: 12px; }
.cmt-flash { display: none; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--bt-r); font-size: 16px; line-height: 1.6; }
.cmt-flash.is-ok { display: block; background: #e8f6ec; color: #17653a; border: 1px solid #bfe3cb; }
.cmt-flash.is-err { display: block; background: #fdecec; color: #a11b1b; border: 1px solid #f3c2c2; }
.cmt-form { display: grid; gap: 14px; }
.cmt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmt-field { display: block; }
.cmt-field > span { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 5px; }
.cmt-field em { color: var(--bt-red); font-style: normal; }
.cmt-field input, .cmt-field textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 17px; background: #fff; border: 1px solid #cfd4dc; border-radius: var(--bt-r); transition: border-color .2s, box-shadow .2s; }
.cmt-field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.cmt-field input:focus, .cmt-field textarea:focus { outline: 0; border-color: var(--bt-red); box-shadow: 0 0 0 3px rgba(178,16,16,.12); }
.cmt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cmt-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cmt-foot small { color: #777; font-size: 13.5px; line-height: 1.6; flex: 1 1 260px; }
.cmt-submit { background: var(--bt-red); color: #fff; border: 0; padding: 11px 28px; font-size: 17px; font-weight: 600; border-radius: var(--bt-r); transition: background .2s, opacity .2s; }
.cmt-submit:hover { background: var(--brand-dark, #710000); }
.cmt-submit:disabled { opacity: .6; cursor: wait; }

/* ভিডিও আর্কাইভ */
.bt .vbanner { border-radius: var(--bt-r); }
.bt .vc--hero, .bt .vc--stacked, .bt .vc--span2, .bt .vc--mid, .bt .vc--grid { border-radius: var(--bt-r); }
.bt .vc__body h3, .bt .vc__txt h4 { font-weight: 700; }
.bt .vc--row { border-radius: 0; border: 0; border-bottom: 1px dashed var(--bt-line); background: transparent; padding: 9px 0; }
.bt .vc--row .vc__thumb { border-radius: 2px; }
.bt .latest-box--video .latest-box__list { gap: 0; }

/* ৪০৪ */
.bt .errbox__code { color: var(--bt-red); }

@media (max-width: 1100px) {
  .bt .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bt .cardgrid { grid-template-columns: 1fr; }
  .bt .cardgrid__first { min-height: 260px; }
  .bt .cardgrid__first .pc__title { font-size: 21px; }
  .bt .article__title { font-size: 26px; }
  .cmt-row { grid-template-columns: 1fr; }
  .cmt--reply { margin-left: 24px; }
  .cmt-submit { width: 100%; }
  .bt .sec-title--lg { font-size: 25px; }
}
@media print { .comments { display: none; } }
