/*
Theme Name: Sahityapata Modern
Theme URI: https://sahityapata.com/
Author: সাহিত্যপাতা
Description: সাহিত্যপাতা পত্রিকার জন্য আধুনিক বাংলা ওয়ার্ডপ্রেস থিম। সকল ক্যাটাগরি, পোস্ট ও মিডিয়া অক্ষত থাকে।
Version: 3.12.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sahityapata
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --c-bg: #f7f4ef;
  --c-surface: rgba(255,255,255,.72);
  --c-solid: #ffffff;
  --c-text: #1a1416;
  --c-muted: #6e6366;
  --c-line: rgba(26,20,22,.09);
  --c-brand: #8E0021;
  --c-brand-2: #012e48;
  --c-brand-soft: rgba(125,29,46,.08);
  --c-ink-panel: #1a1416;
  --c-on-panel: #f6efe9;
  --f-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --f-head: "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
  --w: 1200px;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow-sm: 0 1px 2px rgba(20,10,14,.05);
  --shadow-lg: 0 20px 50px -20px rgba(60,10,22,.28);
  --ease: cubic-bezier(.2,.8,.2,1);
  --grad: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-2) 100%);
}

:root[data-theme="dark"] {
  --c-bg: #0f0c0d;
  --c-surface: rgba(30,24,26,.7);
  --c-solid: #1a1517;
  --c-text: #f3ecea;
  --c-muted: #a69a9c;
  --c-line: rgba(255,255,255,.08);
  --c-brand: #e0637a;
  --c-brand-2: #ff9a8b;
  --c-brand-soft: rgba(224,99,122,.14);
  --c-ink-panel: #1a1517;
  --shadow-lg: 0 20px 50px -20px rgba(0,0,0,.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #0f0c0d;
    --c-surface: rgba(30,24,26,.7);
    --c-solid: #1a1517;
    --c-text: #f3ecea;
    --c-muted: #a69a9c;
    --c-line: rgba(255,255,255,.08);
    --c-brand: #e0637a;
    --c-brand-2: #ff9a8b;
    --c-brand-soft: rgba(224,99,122,.14);
    --c-ink-panel: #1a1517;
    --shadow-lg: 0 20px 50px -20px rgba(0,0,0,.6);
  }
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 500px at 90% -10%, var(--c-brand-soft), transparent 60%),
    radial-gradient(800px 400px at -10% 20%, var(--c-brand-soft), transparent 60%),
    var(--c-bg);
  background-attachment: fixed;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-brand); }
:focus-visible { outline: 2px solid var(--c-brand-2); outline-offset: 3px; border-radius: 6px; }
h1,h2,h3,h4 { font-family: var(--f-head); line-height: 1.35; margin: 0 0 .45em; color: var(--c-text); }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.12rem; }
.container { width: min(var(--w), 92vw); margin-inline: auto; }
.container--narrow { width: min(780px, 92vw); margin-inline: auto; }
.skip-link { position:absolute; left:-999px; top:0; background:var(--c-brand); color:#fff; padding:.5rem 1rem; z-index:100; }
.skip-link:focus { left:1rem; top:1rem; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); height:1px; overflow:hidden; position:absolute !important; width:1px; }
[hidden] { display: none !important; }

/* ==========================================================================
   3. Top bar (date · social · ad)
   ========================================================================== */
.topbar { font-size: .85rem; color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
.topbar__inner { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.5rem 0; flex-wrap:wrap; }
.topbar__social { display:flex; gap:.4rem; }
.topbar__social a {
  width:30px; height:30px; border-radius:50%; display:inline-grid; place-items:center;
  background: var(--c-surface); border:1px solid var(--c-line); color: var(--c-text);
}
.topbar__social a:hover { background: var(--grad); color:#fff; border-color: transparent; }
.topbar__social svg { width:14px; height:14px; }

/* Ad banner */
.ad-banner {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  margin: .9rem auto 0; padding: .9rem 1.2rem; border-radius: var(--r-lg);
  background: var(--c-ink-panel); color: var(--c-on-panel); box-shadow: var(--shadow-sm);
  position:relative; overflow:hidden;
}
.ad-banner::before {
  content:""; position:absolute; inset:0; background: var(--grad); opacity:.18; pointer-events:none;
}
.ad-banner > * { position:relative; }
.ad-banner strong { font-family: var(--f-head); font-size: 1.1rem; }
.ad-banner a.ad-banner__cta {
  background:#fff; color:var(--c-brand); padding:.45rem 1rem; border-radius:999px; font-weight:700; font-size:.9rem; white-space:nowrap;
}
.ad-banner a.ad-banner__cta:hover { color: var(--c-brand); filter: brightness(.95); }
@media (max-width:640px){ .ad-banner { flex-direction:column; align-items:flex-start; } }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: sticky; top:0; z-index:60;
  background: color-mix(in srgb, var(--c-bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.6rem 0; }
.site-brand { display:flex; align-items:center; gap:.6rem; }
.site-brand img { height:46px; width:auto; }
.site-brand__name { font-family: var(--f-head); font-weight:700; font-size:1.7rem; color: var(--c-brand); letter-spacing:.3px; }
.header-actions { display:flex; align-items:center; gap:.5rem; }
.icon-btn {
  appearance:none; border:1px solid var(--c-line); background: var(--c-surface); color: var(--c-text);
  width:40px; height:40px; border-radius:999px; display:inline-grid; place-items:center; cursor:pointer;
  transition: transform .2s var(--ease), background .2s;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn svg { width:18px; height:18px; }
.btn-write {
  padding:.5rem 1.05rem; border-radius:999px; background: var(--grad); color:#fff !important;
  font-weight:600; font-size:.92rem; box-shadow: 0 8px 20px -8px var(--c-brand);
}
.btn-write:hover { filter: brightness(1.08); }

/* Category nav — maroon pill bar */
.primary-nav { background: var(--c-brand); }
.primary-nav ul { list-style:none; margin:0; padding:0; display:flex; gap:.15rem; overflow-x:auto; scrollbar-width:none; }
.primary-nav ul::-webkit-scrollbar { display:none; }
.primary-nav li { flex-shrink:0; }
.primary-nav a {
  display:block; color:#fff; padding:.8rem .95rem; font-size:.97rem; font-weight:600; white-space:nowrap;
  transition: background .2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-cat > a { background: rgba(255,255,255,.14); color:#fff; }
/* ড্রপডাউন (উপ-ক্যাটাগরি, যেমন সাতক্ষীরার উপজেলা) */
.primary-nav li { position: relative; }
.primary-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 70;
  flex-direction: column; gap: 0; padding: .4rem; margin: 0;
  background: var(--c-solid); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.primary-nav .sub-menu a { color: var(--c-text); background: none; font-weight: 500; font-size: .93rem; }
.primary-nav .sub-menu a:hover { background: var(--c-brand-soft); color: var(--c-brand); }
@media (min-width: 900px) {
  .primary-nav ul { overflow: visible; }
  .primary-nav li:hover > .sub-menu,
  .primary-nav li:focus-within > .sub-menu { display: flex; }
}

/* Breaking-news ticker */
.ticker { display:flex; align-items:center; gap:.8rem; margin: 1rem 0 0; overflow:hidden; }
.ticker__label {
  flex-shrink:0; background: var(--grad); color:#fff; font-weight:700; font-size:.85rem;
  padding:.35rem .9rem; border-radius:999px; box-shadow: 0 6px 16px -6px var(--c-brand);
}
.ticker__track { overflow:hidden; flex:1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__inner { display:inline-flex; gap:2.5rem; white-space:nowrap; animation: tick 40s linear infinite; }
.ticker__inner a { font-weight:500; color: var(--c-text); }
.ticker__inner a::before { content:"◆"; color: var(--c-brand-2); margin-right:.6rem; font-size:.7rem; }
.ticker:hover .ticker__inner { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   5. Layout: hero + sidebar
   ========================================================================== */
.home-grid { display:grid; grid-template-columns: minmax(0,1fr) 340px; gap:1.75rem; padding: 1.5rem 0 2rem; align-items:start; }
.main-col { min-width:0; }

/* Hero slider (scroll-snap, no JS needed) */
.hero-slider {
  display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:0; scrollbar-width:none;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.hero-slider::-webkit-scrollbar { display:none; }
.hero-slide {
  flex: 0 0 100%; scroll-snap-align:start; position:relative; min-height:440px;
  display:flex; align-items:flex-end; color:#fff; background:#2a2224 center/cover no-repeat;
}
.hero-slide::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(15,8,10,.92)); }
.hero-slide__body { position:relative; z-index:1; padding: 2rem; width:100%; }
.hero-slide h2 { color:#fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: .5rem 0; }
.hero-slide a { color:#fff; }
.hero-slide .badge { background: rgba(255,255,255,.18); color:#fff; backdrop-filter: blur(6px); }
.hero-slide__date { font-size:.85rem; opacity:.85; }

.badge {
  display:inline-block; font-size:.75rem; font-weight:700; padding:.25rem .7rem; border-radius:999px;
  background: var(--c-brand-soft); color: var(--c-brand); width:fit-content; letter-spacing:.2px;
}

/* Latest / popular tabs */
.tabs { margin-top: 1.5rem; }
.tabs__nav {
  display:inline-flex; gap:.3rem; padding:.3rem; border-radius:999px;
  background: var(--c-surface); border:1px solid var(--c-line); box-shadow: var(--shadow-sm);
}
.tabs__btn {
  appearance:none; border:0; background:transparent; color:var(--c-muted); font:inherit; font-weight:600;
  padding:.5rem 1.1rem; border-radius:999px; cursor:pointer; transition: all .25s var(--ease);
}
.tabs__btn[aria-selected="true"] { background: var(--grad); color:#fff; box-shadow: 0 6px 16px -6px var(--c-brand); }
.tabs__panel { margin-top: 1rem; }
.rank-list { list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
.rank-list li {
  display:grid; grid-template-columns: 44px 84px 1fr; gap:.9rem; align-items:center;
  background: var(--c-surface); border:1px solid var(--c-line); border-radius: var(--r-md); padding:.6rem;
  transition: transform .2s var(--ease);
}
.rank-list li:hover { transform: translateX(3px); }
.rank-list__num { font-family: var(--f-head); font-size:1.6rem; font-weight:700; color: var(--c-brand-2); text-align:center; }
.rank-list img { width:84px; height:56px; object-fit:cover; border-radius:10px; }
.rank-list a.t { font-weight:600; line-height:1.4; }

/* Section heading */
.section { margin-top: 2.5rem; }
.section__head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 1rem; }
.section__head h2 { margin:0; display:flex; align-items:center; gap:.6rem; }
.section__head h2::before { content:""; width:6px; height:1.2em; border-radius:4px; background: var(--grad); }
.section__head a { font-size:.9rem; font-weight:600; color: var(--c-brand); }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.grid { display:grid; gap:1.25rem; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); }
.card {
  position:relative; background: var(--c-solid); border:1px solid var(--c-line); border-radius: var(--r-lg);
  overflow:hidden; display:flex; flex-direction:column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__thumb { aspect-ratio:16/9; overflow:hidden; background: var(--c-line); }
.card__thumb img { width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.06); }
.card__body { padding: 1rem 1.1rem 1.15rem; display:flex; flex-direction:column; gap:.4rem; flex:1; }
.card__title { font-size:1.1rem; margin:0; }
.card__title a { color: var(--c-text); }
.card__excerpt { color: var(--c-muted); font-size:.93rem; margin:0; }
.card__meta { font-size:.8rem; color: var(--c-muted); margin-top:auto; }
.card--compact { flex-direction:row; border-radius: var(--r-md); }
.card--compact .card__thumb { width:110px; flex-shrink:0; aspect-ratio:auto; }
.card--compact .card__body { padding:.7rem .85rem; }
.card--compact .card__title { font-size:.98rem; }

/* Video card play icon */
.card--video .card__thumb { position:relative; }
.card--video .card__thumb::after {
  content:"▶"; position:absolute; inset:0; display:grid; place-items:center; font-size:2rem;
  color:#fff; background: rgba(0,0,0,.25); text-shadow:0 2px 12px rgba(0,0,0,.5);
}

/* ==========================================================================
   7. Sidebar
   ========================================================================== */
.side-col { display:grid; gap:1.25rem; position:sticky; top:110px; }
.panel {
  background: var(--c-surface); border:1px solid var(--c-line); border-radius: var(--r-lg);
  padding:1.1rem; box-shadow: var(--shadow-sm);
}
.panel h3 { font-size:1.05rem; display:flex; align-items:center; gap:.5rem; margin-bottom:.8rem; }
.panel h3::before { content:""; width:10px; height:10px; border-radius:50%; background: var(--grad); }
.panel .card { box-shadow:none; border-radius: var(--r-md); }
.panel .card:hover { transform:none; }
.panel-stack { display:grid; gap:.7rem; }

/* ==========================================================================
   8. Video gallery (dark band)
   ========================================================================== */
.video-band {
  margin-top: 3rem; padding: 2.5rem 0; background: var(--c-ink-panel); color: var(--c-on-panel);
}
.video-band h2 { color:#fff; }
.video-band .section__head a { color: var(--c-brand-2); }
.video-band .card { background: #241d20; border-color: rgba(255,255,255,.06); }
.video-band .card__title a { color:#fff; }
.video-band .card__excerpt, .video-band .card__meta { color:#b7aaad; }

/* ==========================================================================
   9. Single / pages
   ========================================================================== */
.entry { padding: 2.5rem 0 3rem; }
.entry__header { text-align:center; margin-bottom:1.5rem; }
.entry__header .badge { margin-bottom:.8rem; }
.entry__meta { color: var(--c-muted); font-size:.9rem; display:flex; gap:.7rem; justify-content:center; flex-wrap:wrap; }
.entry__thumb { border-radius: var(--r-lg); overflow:hidden; margin: 1.5rem auto 2rem; box-shadow: var(--shadow-lg); }
.entry__content { font-size:1.12rem; line-height:1.95; }
.entry__content > * + * { margin-top:1.1em; }
.entry__content blockquote {
  margin:1.6em 0; padding:1rem 1.3rem; border-left:4px solid var(--c-brand-2);
  background: var(--c-brand-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--f-head); font-style:italic; color: var(--c-muted);
}
.entry__content img { border-radius: var(--r-md); margin-inline:auto; }
.entry__tags { margin-top:2rem; display:flex; gap:.5rem; flex-wrap:wrap; }
.entry__tags a { font-size:.85rem; background: var(--c-surface); border:1px solid var(--c-line); padding:.25rem .75rem; border-radius:999px; }
.entry__nav { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2.5rem; }
.entry__nav a { background: var(--c-surface); border:1px solid var(--c-line); border-radius: var(--r-md); padding:1rem; font-weight:600; }
.entry__nav small { display:block; color: var(--c-muted); font-weight:400; font-size:.8rem; }
.entry__nav .next { text-align:right; }

.archive-head { padding: 2.5rem 0 1rem; text-align:center; }
.archive-head p { color: var(--c-muted); max-width:60ch; margin: .5rem auto 0; }
.pagination { margin: 2.5rem 0; display:flex; justify-content:center; gap:.4rem; flex-wrap:wrap; }
.pagination .page-numbers {
  min-width:40px; height:40px; display:inline-grid; place-items:center; padding:0 .75rem; border-radius:999px;
  border:1px solid var(--c-line); background: var(--c-surface);
}
.pagination .current { background: var(--grad); border-color: transparent; color:#fff; }

.search-form { display:flex; gap:.5rem; max-width:520px; margin:1rem auto 0; }
.search-form input[type="search"] {
  flex:1; padding:.75rem 1.1rem; border-radius:999px; border:1px solid var(--c-line);
  background: var(--c-solid); color: var(--c-text); font:inherit;
}
.search-form button { padding:.75rem 1.3rem; border-radius:999px; border:0; background: var(--grad); color:#fff; font-weight:600; cursor:pointer; }
.not-found { text-align:center; padding:4rem 0; }
.search-panel { padding: .9rem 0; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { margin-top: 3rem; background: var(--c-ink-panel); color: var(--c-on-panel); padding: 3rem 0 1.5rem; }
.site-footer a { color: var(--c-on-panel); }
.site-footer a:hover { color: var(--c-brand-2); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:2rem; }
.footer-grid h3 { color:#fff; font-size:1rem; font-family: var(--f-body); font-weight:700; margin-bottom:.8rem; }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:.4rem; }
.footer-brand .site-brand__name { color:#fff; }
.footer-brand p { color:#b7aaad; font-size:.93rem; }
.team p { margin:.2rem 0; font-size:.93rem; color:#d8cfd1; }
.team strong { color:#fff; font-weight:600; }
.footer-social { display:flex; gap:.5rem; margin-top:.9rem; }
.footer-social a {
  width:38px; height:38px; border-radius:50%; display:inline-grid; place-items:center;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1);
}
.footer-social a:hover { background: var(--grad); border-color: transparent; }
.footer-social svg { width:16px; height:16px; }
.site-footer__bottom {
  margin-top:2.5rem; padding-top:1.2rem; border-top:1px solid rgba(255,255,255,.1);
  color:#a99c9f; font-size:.85rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
}

/* সাইডবার উইজেট (ভিডিও ও লেখা) */
.side-col .widget iframe, .side-col .widget video { width: 100%; border-radius: var(--r-md); aspect-ratio: 16 / 9; height: auto; }
.side-col .widget .wp-block-embed, .side-col .widget .wp-block-video { margin: 0; }
.side-col .widget p { font-size: .95rem; color: var(--c-muted); }

/* লাল পালসিং সূচক (লাইভ / ভিডিও) */
.pulse-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e11d2e;
  position: relative; margin-right: .5rem; vertical-align: middle;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #e11d2e;
  animation: sp-pulse 2s var(--ease) infinite;
}
@keyframes sp-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.ticker__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: .5rem;
  animation: sp-pulse-w 1.6s infinite;
}
@keyframes sp-pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.ticker__label { display: inline-flex; align-items: center; }

/* বিভাগ-খোঁজার বক্স */
.division-finder {
  margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-ink-panel), #0c2238); color: #f6efe9;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.division-finder h2 { color: #fff; margin: 0; font-size: 1.3rem; }
.division-finder select {
  padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; font: inherit; min-width: 240px; cursor: pointer;
}
.division-finder select option { color: #1a1416; }

/* বিজ্ঞাপন: ছবি ও কোড */
.ad-banner--image { display: block; padding: 0; background: transparent; box-shadow: var(--shadow-sm); }
.ad-banner--image img { width: 100%; height: auto; border-radius: var(--r-lg); }
.ad-banner--code { display: block; background: var(--c-surface); color: var(--c-text); }

/* মোবাইল লোগো */
.logo-mobile { display: none; height: 46px; width: auto; }
@media (max-width: 600px) {
  .logo-mobile { display: block; }
  .site-brand .custom-logo { display: none; }
}

/* ফেসবুক পেজ ফিড */
.panel--fb iframe { width: 100%; height: 400px; border: 0; border-radius: var(--r-md); }

/* ক্যাটাগরি ব্লক: একটি বড় লিড খবর + পাশে তালিকা */
.cat-wrap { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: start; }
.cat-lead { display: block; color: inherit; text-decoration: none; }
.cat-lead__img { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); }
.cat-lead__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.cat-lead:hover .cat-lead__img img { transform: scale(1.04); }
.cat-lead h3 { font-size: 1.25rem; margin: .8rem 0 .35rem; line-height: 1.45; }
.cat-lead p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { padding: .75rem 0; border-bottom: 1px solid var(--c-line); }
.cat-list li:first-child { padding-top: 0; }
.cat-list a { color: inherit; text-decoration: none; font-weight: 600; line-height: 1.5; }
.cat-list a:hover { color: var(--c-brand); }
@media (max-width: 800px) { .cat-wrap { grid-template-columns: 1fr; } }

/* জনপ্রিয় বিষয় */
.topic-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.topic-pills a {
  padding: .35rem .8rem; border-radius: 999px; font-size: .88rem; text-decoration: none;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text);
}
.topic-pills a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* হোমপেজ সেকশন — শিরোনামের ১০টি স্টাইল */
.sec { margin-top: 2.5rem; }
.sec__title { margin: 0; }
.sec--style2 .section__head { border-bottom: 2px solid var(--c-brand); padding-bottom: .5rem; }
.sec--style3 .sec__title { border-left: 5px solid var(--c-brand); padding-left: .6rem; }
.sec--style4 .sec__title {
  display: inline-block; background: var(--c-brand); color: #fff; padding: .3rem 1rem; border-radius: 999px; font-size: 1.05rem;
}
.sec--style5 .sec__title::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e11d2e;
  margin-right: .5rem; vertical-align: middle; animation: sp-pulse-w 1.6s infinite;
}
.sec--style6 .section__head {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: .7rem 1rem;
}
.sec--style7 .sec__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); }
.sec--style8 .section__head { border-top: 3px double var(--c-brand); border-bottom: 3px double var(--c-brand); padding: .5rem 0; }
.sec--style9 .sec__title {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec--style10 .section__head { flex-direction: column; align-items: center; text-align: center; gap: .3rem; }

/* স্ক্রল টেক্সট: উপরে / নিচে / ফুটারে */
.ticker--top-scroll, .ticker--bottom-scroll, .ticker--footer-scroll { border-radius: 0; }
.ticker--footer-scroll { margin: 0 0 1.5rem; }

/* বাইরের সংবাদ ফিড */
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-list li { padding: .6rem 0; border-bottom: 1px solid var(--c-line); }
.feed-list li:last-child { border-bottom: 0; }
.feed-list a { color: inherit; text-decoration: none; font-weight: 600; line-height: 1.5; }
.feed-list a:hover { color: var(--c-brand); }
.feed-list small { display: block; color: var(--c-muted); font-size: .8rem; margin-top: .15rem; }

/* পোস্টে ছবি কার্ড বাটন */
.card-maker {
  font: inherit; font-size: .95rem; cursor: pointer; margin: 0 0 1.5rem;
  padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--c-brand);
  background: transparent; color: var(--c-brand); transition: background .2s, color .2s;
}
.card-maker:hover { background: var(--c-brand); color: #fff; }

/* লোগোর আকার: খুব বড় না হয়, মূল 620×120 অনুপাত মেনে */
.site-brand img, .site-brand .custom-logo {
  display: block; width: auto; height: auto; max-width: min(100%, 420px); max-height: 96px;
}
@media (max-width: 600px) {
  .site-brand img, .site-brand .custom-logo { max-height: 56px; max-width: 260px; }
}

/* কোথাও ফাঁকা না রাখা: সাইডবার স্ক্রলের সঙ্গে থাকে, ক্যাটাগরি তালিকা ছোট বাটনে */
.side-col { position: sticky; top: 96px; align-self: start; }
.side-col .widget_categories ul,
.side-col .widget_archive ul,
.side-col .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.side-col .widget_categories li,
.side-col .widget_archive li,
.side-col .widget_nav_menu li { border: 0; padding: 0; margin: 0; }
.side-col .widget_categories a,
.side-col .widget_archive a,
.side-col .widget_nav_menu a {
  display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .88rem;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); text-decoration: none;
}
.side-col .widget_categories a:hover,
.side-col .widget_archive a:hover,
.side-col .widget_nav_menu a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.side-col .widget_categories .children { display: flex; flex-wrap: wrap; gap: .4rem; }
.fb-fallback { display: inline-block; margin-top: .8rem; }

/* একক পোস্ট: তিন কলাম */
.entry-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 1.5rem; align-items: start; margin-top: 1.2rem; }
.entry-side { position: sticky; top: 96px; align-self: start; }
.entry-layout .entry { min-width: 0; max-width: none; }
.entry-side .panel { margin-bottom: 1.2rem; }
.entry-side h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.crumbs { font-size: .88rem; color: var(--c-muted); margin-bottom: .8rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--c-brand); }
.entry__avatar { border-radius: 50%; vertical-align: middle; margin-right: .4rem; }
.entry__meta a { color: var(--c-brand); font-weight: 600; text-decoration: none; }
.mini { display: flex; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--c-line); color: inherit; text-decoration: none; }
.mini:last-child { border-bottom: 0; }
.mini__img { width: 84px; height: 62px; flex: none; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); display: block; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini > span:last-child { font-weight: 600; font-size: .92rem; line-height: 1.45; }
.mini:hover > span:last-child { color: var(--c-brand); }
.mini--lead { flex-direction: column; align-items: stretch; }
.mini--lead .mini__img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 1100px) {
  .entry-layout { grid-template-columns: minmax(0, 1fr); }
  .entry-side { position: static; }
  .entry-side--left { order: 2; }
  .entry-side--right { order: 3; }
}

/* একক পোস্টের ডান সাইডবারেও ক্যাটাগরি তালিকা ছোট বাটনে */
.entry-side .widget_categories ul,
.entry-side .widget_archive ul,
.entry-side .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.entry-side .widget_categories li,
.entry-side .widget_archive li,
.entry-side .widget_nav_menu li { border: 0; padding: 0; margin: 0; }
.entry-side .widget_categories a,
.entry-side .widget_archive a,
.entry-side .widget_nav_menu a {
  display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .88rem;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); text-decoration: none;
}
.entry-side .widget_categories a:hover,
.entry-side .widget_archive a:hover,
.entry-side .widget_nav_menu a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* আর্কাইভ শিরোনাম: ছোট, বাম পাশে */
.archive-head { margin: 1.2rem 0 1rem; text-align: left; }
.archive-head h1 {
  display: inline-block; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4;
  padding: .35rem .9rem; border-radius: 999px; background: var(--c-brand); color: #fff;
}
.archive-head p { margin: .6rem 0 0; color: var(--c-muted); font-size: .92rem; }

/* সবার উপরের লিডারবোর্ড */
.top-ad { background: var(--c-surface); padding: .6rem 0 0; text-align: center; }
.top-ad img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* হেডার: বাম (তারিখ) — মাঝে (লোগো) — ডানে (বাটন) */
.hdr3 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .9rem 0; }
.hdr3__left { display: flex; align-items: center; gap: .6rem; color: var(--c-muted); font-size: .9rem; }
.hdr3__right { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; flex-wrap: wrap; }
.hdr-btn {
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--c-brand);
  color: var(--c-brand); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.hdr-btn:hover { background: var(--c-brand); color: #fff; }
.site-header .site-brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
.site-tagline { display: block; font-size: .82rem; color: var(--c-muted); margin-top: .25rem; }
@media (max-width: 800px) {
  .hdr3 { grid-template-columns: 1fr; text-align: center; }
  .hdr3__left, .hdr3__right { justify-content: center; }
}

/* শিরোনাম টিকার: ধূসর বার, বুলেট দিয়ে আলাদা করা */
.ticker { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.ticker__inner > a { margin-right: 2rem; }
.ticker__inner > a::before {
  content: "●"; color: var(--c-brand); font-size: .55rem; margin-right: .6rem; vertical-align: middle;
}

/* কালবেলা-ধাঁচ: সেকশন শিরোনামের নিচে ভারী রেখা */
.section__head { border-bottom: 3px solid var(--c-text); padding-bottom: .45rem; }

/* আর্কাইভ ড্রপডাউন */
.panel--archive select {
  width: 100%; padding: .6rem .8rem; border-radius: var(--r-md); border: 1px solid var(--c-line);
  background: var(--c-surface); color: var(--c-text); font: inherit;
}

/* উপরে যাওয়ার গোল বাটন */
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--c-brand); color: #fff; font-size: 1.2rem; cursor: pointer; z-index: 60;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; pointer-events: none;
  box-shadow: var(--shadow-md, 0 6px 18px rgba(0,0,0,.2));
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ফুটার — বিডি প্রতিদিন-ধাঁচ */
.footer-band { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-band__editor { font-size: 1rem; }
.footer-band__logo img { max-height: 48px; width: auto; }
.footer-grid > :nth-child(3) { border-left: 3px solid #1f9d55; padding-left: 1rem; }
.app-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.app-links a {
  padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  color: #fff; text-decoration: none; font-size: .85rem;
}
.app-links a:hover { background: rgba(255,255,255,.1); }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 .8rem; padding: 0; }
.legal-links li::before { content: "●"; color: var(--c-brand); font-size: .55rem; margin-right: .4rem; vertical-align: middle; }
.legal-links a { color: inherit; text-decoration: none; }
.legal-links a:hover { color: #ffa500; }

/* লেখার অতিরিক্ত তথ্য */
.entry__sub { font-size: 1.1rem; color: var(--c-muted); margin: .45rem 0 0; line-height: 1.6; }
.entry__rep { display: inline-flex; align-items: center; gap: .35rem; }
.entry__rep-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.loc-chip {
  padding: .15rem .6rem; border: 1px solid var(--c-line); border-radius: 999px; font-size: .8rem;
  color: var(--c-brand); text-decoration: none;
}
.loc-chip:hover { background: var(--c-brand); color: #fff; }
.entry__audio { margin: 1rem 0; }
.entry__audio audio { width: 100%; }
.entry__video { margin: 1rem 0; }
.entry__video iframe, .entry__video video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }

/* ==========================================================================
   বাংলা টেলিগ্রাফ-ধাঁচ: উপরের অংশ ও নিচের অংশে নেভি রং ও সৃজনশীল গ্রাফিক্স
   (স্ক্রিনশট থেকে আনুমানিক রং: নেভি #163d62, উজ্জ্বল নেভি #21507f)
   ========================================================================== */
:root {
  --tg-navy: #163d62;
  --tg-navy-2: #21507f;
  --tg-sky: #8fc1ec;
}

/* উপরের অংশ */
.topbar { background: var(--tg-navy); color: #dbe7f4; border-bottom: 0; }
.topbar a, .topbar svg { color: #dbe7f4; }
.topbar a:hover { color: #fff; }

.site-header {
  position: relative; overflow: hidden; background: var(--tg-navy); color: #fff;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 14px 14px;
}
.site-header > * { position: relative; }
.hdr3__left, .site-tagline { color: #cfe0f2; }
.site-header .site-brand__name { color: #fff; }
.site-header .icon-btn { color: #fff; }
.site-header .hdr-btn { border-color: #cfe0f2; color: #fff; }
.site-header .hdr-btn:hover { background: #fff; color: var(--tg-navy); }

/* প্রধান মেনু */
.primary-nav { background: var(--tg-navy-2); }
.primary-nav a { color: #fff; }
.primary-nav a:hover { color: var(--tg-sky); }

/* নিচের অংশ (ফুটার) — উপরে ঢেউ-আকৃতির গ্রাফিক্স */
.site-footer {
  position: relative; background: var(--tg-navy); color: #dbe7f4; margin-top: 3.5rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'><path d='M0 28 C360 0 1080 0 1440 28 Z' fill='%23163d62'/></svg>") center / 100% 100% no-repeat;
}
.site-footer h3 { color: #fff; }
.site-footer a { color: #dbe7f4; }
.site-footer a:hover { color: var(--tg-sky); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.app-links a { border-color: rgba(255,255,255,.3); }

/* ছবিঘর — বাম স্লাইডার, ডান ছোট গ্রিড */
.photo-block .section__head { border-bottom: 0; padding-bottom: 0; }
.photo-block .sec__title {
  display: inline-block; font-size: 1.35rem; padding-bottom: .3rem; border-bottom: 3px solid var(--c-brand);
}
.photo-block__wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.2rem; margin-top: 1rem; align-items: start; }
.photo-slider { position: relative; }
.photo-slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-md);
}
.photo-slider__track::-webkit-scrollbar { display: none; }
.photo-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.photo-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.photo-slide figcaption { font-size: .95rem; line-height: 1.6; margin-top: .6rem; color: var(--c-text); }
.ps-btn {
  position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.5); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.ps-prev { left: 10px; }
.ps-next { right: 10px; }
.ps-btn:hover { background: var(--c-brand); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-card { text-decoration: none; color: inherit; display: block; }
.photo-card__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.photo-card:hover .photo-card__img img { transform: scale(1.05); }
.photo-card__title { display: block; font-weight: 700; line-height: 1.5; margin-top: .5rem; }
.photo-card:hover .photo-card__title { color: var(--c-brand); }
@media (max-width: 800px) {
  .photo-block__wrap { grid-template-columns: 1fr; }
}

/* ভিডিও গ্যালারি — বাম বড় ভিডিও, ডান ২×২ গ্রিড */
.video-block .section__head { border-bottom: 0; padding-bottom: 0; }
.video-block .sec__title {
  display: inline-block; font-size: 1.35rem; padding-bottom: .3rem; border-bottom: 3px solid var(--c-brand);
}
.video-block__wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.2rem; margin-top: 1rem; align-items: start; }
.vid-lead__media {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
}
.vid-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-lead__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-lead figcaption { font-size: 1.1rem; font-weight: 700; line-height: 1.6; margin-top: .6rem; }
.vid-lead figcaption a { color: inherit; text-decoration: none; }
.vid-lead figcaption a:hover { color: var(--c-brand); }
.vid-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: #e11d2e; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; padding-left: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); pointer-events: none;
}
.vid-play--sm { width: 44px; height: 44px; font-size: 1rem; padding-left: 3px; }
.vid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vid-card { text-decoration: none; color: inherit; display: block; }
.vid-card__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); }
.vid-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.vid-card:hover .vid-card__img img { transform: scale(1.05); }
.vid-card__title { display: block; font-weight: 700; line-height: 1.5; margin-top: .5rem; }
.vid-card:hover .vid-card__title { color: var(--c-brand); }
@media (max-width: 800px) {
  .video-block__wrap { grid-template-columns: 1fr; }
}

/* হেডার: লোগো বাম পাশে ছোট, তারিখ ও বাটন ডানে (newsg24-ধাঁচ) */
.site-header .hdr3 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; flex-wrap: nowrap; }
.site-header .site-brand {
  order: -1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; margin: 0;
}
.site-header .site-brand img,
.site-header .site-brand .custom-logo { max-height: 62px; width: auto; max-width: 260px; }
.site-header .site-tagline { font-size: .75rem; margin-top: .15rem; }
.site-header .hdr3__left { order: 1; margin-left: auto; }
.site-header .hdr3__right { order: 2; }
@media (max-width: 800px) {
  .site-header .hdr3 { flex-wrap: wrap; justify-content: center; }
  .site-header .site-brand { align-items: center; text-align: center; order: 0; width: 100%; }
  .site-header .hdr3__left, .site-header .hdr3__right { margin: 0; width: 100%; justify-content: center; }
}

/* বিজ্ঞাপন স্লট (AdSense) */
.ad-slot { margin: 1.6rem auto; text-align: center; min-height: 0; overflow: hidden; }

/* ফুটার: আমাদের টিম */
.footer-staff { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.footer-staff__item {
  font-size: .9rem; padding: .3rem .75rem; border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; color: #e8dfe2;
}

/* Hero: ছবির উপরের অংশ যেন না কাটে */
.hero-slide { background-position: center 25%; }

/* ছবি না থাকলে কার্ডের প্লেসহোল্ডার */
.card__thumb--empty {
  aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 2.2rem; font-weight: 700;
  color: #fff; background: var(--grad); font-family: var(--f-head);
}
.card--video .card__thumb--empty::after { content: none; }

/* Ad / CTA: fallback text color in dark mode */
.ad-banner a.ad-banner__cta { color: var(--c-brand); }

/* Footer contact + sidebar panel text */
.footer-contact { font-size: .95rem; color: #d8cfd1; margin: 0 0 .6rem; }
.footer-contact a { color: #fff; }
.panel-text { margin: 0 0 .7rem; font-size: .95rem; color: var(--c-muted); }

/* ==========================================================================
   11. Responsive & motion
   ========================================================================== */
@media (max-width: 1000px) {
  .home-grid { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .site-brand__name { font-size: 1.35rem; }
  .btn-write { display:none; }
  .hero-slide { min-height: 360px; }
  .hero-slide__body { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .entry__nav { grid-template-columns: 1fr; }
  .entry__nav .next { text-align:left; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition:none !important; animation:none !important; scroll-behavior:auto !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .ad-banner, .side-col, .entry__nav { display:none; }
  body { background:#fff; color:#000; }
}

/* ===== একক লেখা পেজ: পরিষ্কার ও পেশাদার লেআউট (v3.11.0) ===== */
.single .entry-page { padding-top: 1.2rem; }
.single .entry-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 280px; gap: 2rem; align-items: start; margin-top: 0; }
.single .entry { padding: 0 0 2.5rem; max-width: none; min-width: 0; }
.single .entry-side { position: sticky; top: 96px; align-self: start; }
.single .entry-side .panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1rem 1.05rem; }
.single .crumbs { font-size: .85rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--c-line); }
.single .entry__header { text-align: left; margin: 0 0 1.3rem; }
.single .entry__header h1 { font-family: var(--f-head); font-size: clamp(1.75rem, 3.2vw, 2.45rem); line-height: 1.35; font-weight: 700; margin: 0 0 .6rem; color: var(--c-text); }
.single .entry__sub { font-size: 1.05rem; margin: 0 0 .9rem; }
.single .entry__meta { justify-content: flex-start; align-items: center; font-size: .92rem; gap: .45rem .75rem; padding: .75rem 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.single .entry__meta > span:not(.entry__rep) { color: var(--c-muted); }
.single .entry__thumb { margin: 0 0 1.6rem; border-radius: var(--r-md); overflow: hidden; box-shadow: none; }
.single .entry__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.single .entry__audio, .single .entry__video { margin: 0 0 1.4rem; }
.single .card-maker { margin: 0 0 1.4rem; }
.single .entry__content { font-size: 1.08rem; line-height: 1.95; max-width: 74ch; }
.single .entry__content p { margin: 0 0 1.1em; }
.single .entry__content h2, .single .entry__content h3 { font-family: var(--f-head); line-height: 1.4; margin: 1.6em 0 .6em; }
.single .entry__tags { margin-top: 1.8rem; }
.single .entry__nav { margin-top: 2rem; }
.single .sec--more { margin-top: 2.5rem; }
.single .sec--more .grid { gap: 1.1rem; }

@media (max-width: 1280px) {
	.single .entry-layout { grid-template-columns: minmax(0, 1fr) 260px; }
	.single .entry-side--left { display: none; }
}
@media (max-width: 1100px) {
	.single .entry-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.single .entry-side { position: static; }
	.single .entry-side--right { order: 3; }
	.single .entry-side--left { display: block; order: 2; }
	.single .entry__content { max-width: none; }
}
@media (max-width: 600px) {
	.single .entry__header h1 { font-size: 1.6rem; }
	.single .entry__content { font-size: 1.02rem; line-height: 1.85; }
	.single .entry__meta { font-size: .86rem; }
}
