/* বাংলাদেশ পাঠাগার আন্দোলন — রং নতুন লোগো (বই ও লাল সূর্য) থেকে নেওয়া */
:root {
  --sobuj: #056739;          /* গাঢ় সবুজ — লোগোর বইয়ের বাঁ পাতা */
  --sobuj-dark: #034d2a;
  --halka-sobuj: #5ea745;    /* হালকা সবুজ — লোগোর ডান পাতা */
  --nil: #2e3092;            /* নীল — লোগোর নামলিপি; বোতাম ও ছোট শিরোনাম */
  --nil-dark: #20226e;
  --lal: #ec1b24;            /* লাল — লোগোর সূর্য; কেবল সরু রেখা ও চিহ্নে */
  --phika: #dcefd3;          /* ফিকে সবুজ — গাঢ় পটে লেখা, হালকা পট */
  --krim: #fbf8f2;           /* পাতার পট */

  --ink: #1f2a25;
  --ink-soft: #4a5751;
  --line: #e4ddd0;
  --paper: #ffffff;
  --tint: #f4efe5;

  --font-head: "Noto Serif Bengali", "Kalpurush", serif;
  --font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", sans-serif;

  --radius: 10px;
  --wrap: 1120px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(20, 65, 47, .06), 0 6px 18px rgba(20, 65, 47, .07);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--krim);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--sobuj); }
a:hover { color: var(--nil-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.4;
  margin: 0 0 .5em;
  color: var(--sobuj-dark);
}

p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--nil); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }

/* ---------- খসড়া ফিতা ---------- */
.draft-bar {
  background: var(--phika);
  color: var(--sobuj-dark);
  text-align: center;
  font-size: 14px;
  padding: 4px var(--gutter);
}

/* ---------- হেডার ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--sobuj-dark); font-size: 18px; }
.brand-sub { font-size: 13px; color: var(--nil-dark); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.is-current { background: var(--tint); color: var(--sobuj); }
.site-nav a.nav-cta { background: var(--sobuj); color: #fff; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--sobuj-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--sobuj-dark);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- বোতাম ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--nil); color: #fff; }
.btn-primary:hover { background: var(--nil-dark); color: #fff; }
.btn-ghost { border-color: var(--sobuj); color: var(--sobuj); }
.btn-ghost:hover { background: var(--sobuj); color: #fff; }

/* ---------- প্রথম দর্শন ---------- */
.hero {
  background:
    linear-gradient(90deg, var(--sobuj) 0 8px, transparent 8px),
    var(--krim);
  padding: 72px 0 64px;
  border-bottom: 6px solid var(--lal);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  color: var(--nil-dark);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .6em;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art {
  justify-self: center;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.hero-art img { width: 62%; height: auto; }

/* ---------- অংশ ---------- */
.section { padding: 72px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); }
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--lal);
  border-radius: 2px;
  margin-top: 10px;
}
.section-intro { color: var(--ink-soft); max-width: 46em; margin-bottom: 32px; }
.fineprint { font-size: 15px; color: var(--ink-soft); margin-top: 24px; }

.prostabona { background: var(--paper); }
.pull {
  margin: 28px 0 0;
  padding: 18px 24px;
  border-left: 5px solid var(--lal);
  background: var(--tint);
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--sobuj-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- গ্রিড ও কার্ড ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- মূলমন্ত্র ---------- */
.mulmontro { background: var(--sobuj); color: var(--krim); }
.mulmontro .section-title,
.mulmontro h3 { color: #fff; }
.mulmontro .section-intro,
.mulmontro .fineprint { color: rgba(251, 248, 242, .82); }

.motto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin: 8px 0 28px;
}
.motto-word {
  font-family: var(--font-head);
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 800;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  color: rgba(251, 248, 242, .55);
  padding: 0 6px 4px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.motto-word:hover { color: var(--krim); }
.motto-word.is-active { color: var(--phika); border-color: var(--lal); }
.motto-dash { font-size: clamp(24px, 4vw, 40px); color: var(--phika); }

.motto-panel {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(220, 239, 211, .35);
  border-radius: var(--radius);
  padding: 22px 26px;
  min-height: 150px;
}
.motto-def { font-size: 19px; }
.motto-def strong { color: var(--phika); }
.motto-map { margin: 0; font-size: 15px; color: rgba(251, 248, 242, .8); }
.motto-map a {
  display: inline-block;
  color: var(--sobuj-dark);
  background: var(--phika);
  border-radius: 999px;
  padding: 0 10px;
  margin: 2px 4px 2px 0;
  text-decoration: none;
  font-size: 14px;
}
.motto-map a:hover { background: #fff; }

/* ---------- ঐতিহাসিক অঙ্গীকার ---------- */
.ongikar .card { border-top: 4px solid var(--sobuj); }

/* ---------- মূলনীতি ---------- */
.mulniti { background: var(--paper); }
.niti-list { display: grid; gap: 12px; }
.niti {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--krim);
  transition: box-shadow .2s, border-color .2s;
}
.niti[open] { background: var(--paper); box-shadow: var(--shadow); }
.niti.is-flash { border-color: var(--lal); box-shadow: 0 0 0 3px rgba(236, 27, 36, .2); }
.niti summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
}
.niti summary::-webkit-details-marker { display: none; }
.niti summary::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  color: var(--lal);
  transition: transform .2s;
}
.niti[open] summary::after { transform: rotate(45deg); }
.niti-num {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sobuj);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}
.niti-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--sobuj-dark); }
.niti-body { padding: 0 18px 18px 74px; color: var(--ink-soft); }
.niti-decl { color: var(--ink); }

/* ---------- সীমারেখা ---------- */
.limit {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--lal);
}
.limit-tag {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--nil-dark);
}
.limit h3 { font-size: 22px; }
.limit p:last-child { margin: 0; color: var(--ink-soft); }

/* ---------- কর্মসূচি ---------- */
.korsuchi { background: var(--tint); }
.prog { position: relative; padding-top: 28px; }
.prog-letter {
  position: absolute;
  top: -16px; left: 22px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--nil);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}
.korsuchi .grid { row-gap: 36px; padding-top: 16px; }

/* ---------- যুক্ত হোন ---------- */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.member-types { padding-left: 1.1em; margin: 0; }
.member-types li { margin-bottom: 8px; }

.join-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sobuj);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-note { font-size: 14px; color: var(--ink-soft); }
.join-form > label { display: block; font-weight: 600; margin: 14px 0 4px; }
.join-form input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 9px 12px;
  border: 1px solid #cfc6b6;
  border-radius: 6px;
  background: var(--krim);
}
.join-form input:focus { outline: 2px solid var(--sobuj); border-color: var(--sobuj); }
.join-form input.is-invalid { border-color: #b3261e; background: #fdf0ef; }
.interests { border: 0; padding: 0; margin: 18px 0 0; }
.interests legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.interests label,
.guardian label { display: flex; gap: 8px; align-items: center; margin: 2px 0; }
.interests input,
.guardian input { accent-color: var(--sobuj); width: 18px; height: 18px; }
.guardian {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--tint);
  border-radius: 6px;
}
.form-msg { min-height: 1.8em; margin: 14px 0 10px; font-weight: 500; }
.form-msg.is-error { color: #b3261e; }
.form-msg.is-ok { color: var(--sobuj); }

/* ---------- দলিলপত্র ---------- */
.dolil { background: var(--paper); }
.doc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--krim);
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--nil); color: var(--ink); }
.doc-kind { font-size: 14px; color: var(--nil-dark); font-weight: 600; }
.doc-name { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--sobuj-dark); }
.doc-meta { font-size: 14px; color: var(--ink-soft); }

/* ---------- ফুটার ---------- */
.site-footer {
  background: var(--sobuj-dark);
  color: rgba(251, 248, 242, .85);
  padding: 44px 0 36px;
  border-top: 6px solid var(--lal);
}
.footer-inner { display: grid; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { border: 1px solid rgba(255, 255, 255, .2); }
.footer-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 20px; margin: 0; }
.footer-slogan { margin: 0; color: var(--phika); }
.footer-note { font-size: 15px; max-width: 52em; margin: 0; }
.to-top { color: var(--phika); justify-self: start; }
.to-top:hover { color: #fff; }

/* ---------- ধীরে ফুটে ওঠা ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- ছোট পর্দা ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* মেনুতে ৭টি আইটেম; এর চেয়ে সরু পর্দায় এক লাইনে ধরে না */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--krim);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 820px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: 160px; }
  .join-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand-name { font-size: 16px; }
  .brand img { height: 36px; }
  .niti-body { padding-left: 18px; }
  .niti summary { gap: 12px; }
  .niti-title { font-size: 17px; }
  .motto-panel { padding: 18px; }
}

/* ---------- শাখা খোলার আবেদন ---------- */
.btn-sm { padding: 6px 16px; font-size: 15px; }

.abedon-wrap { max-width: 900px; }
.abedon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.abedon-head .section-title { margin-bottom: 0; }
.abedon-sub { color: var(--nil-dark); font-weight: 600; margin: 8px 0 20px; }
.abedon-intro {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--lal);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.abedon-steps { margin: 0; padding-left: 1.1em; }
.abedon-steps li { margin-bottom: 4px; }

.abedon-form { display: grid; gap: 22px; }
.ab-block {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sobuj);
  border-radius: var(--radius);
  padding: 18px 22px 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.ab-block legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--sobuj-dark);
}
.ab-block legend + * { clear: left; }

.ab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.ab-grid .ab-wide { grid-column: span 2; }
.ab-grid:has(.ab-wide) { grid-template-columns: repeat(3, 1fr); }
.ab-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ab-full { margin-top: 12px; }
.ab-full:first-of-type { margin-top: 0; }
.ab-label { font-weight: 600; font-size: 15px; }
.ab-choices { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ab-choices label { display: flex; gap: 8px; align-items: center; }
.ab-hint { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }

.abedon-form input[type="text"],
.abedon-form input[type="tel"],
.abedon-form input[type="email"],
.abedon-form select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid #cfc6b6;
  border-radius: 6px;
  background: var(--krim);
  color: var(--ink);
}
.abedon-form input:focus,
.abedon-form select:focus { outline: 2px solid var(--sobuj); border-color: var(--sobuj); }
.abedon-form input[type="radio"],
.abedon-form input[type="checkbox"] { accent-color: var(--sobuj); width: 18px; height: 18px; flex: none; }
.abedon-form .is-invalid { border-color: #b3261e !important; background: #fdf0ef !important; outline-color: #b3261e; }
input[type="radio"].is-invalid,
input[type="checkbox"].is-invalid { outline: 2px solid #b3261e; outline-offset: 2px; }

.table-scroll { overflow-x: auto; margin-top: 12px; }
.ab-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.ab-table th {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  background: var(--tint);
  padding: 6px 8px;
  border-bottom: 2px solid var(--line);
}
.ab-table td { padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ab-table .c-check { text-align: center; width: 56px; }
.ab-table .c-num { width: 52px; text-align: center; color: var(--ink-soft); }
#committee td:first-child { width: 22%; }
#committee td:nth-child(3) { width: 24%; }
.ab-post { font-weight: 600; color: var(--sobuj-dark); }
.ab-dash { color: var(--ink-soft); padding-left: 10px; }

.ab-row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ab-quota,
.ab-count { margin: 12px 0 0; font-size: 15px; font-weight: 500; }
.is-ok { color: var(--sobuj); }
.is-warn { color: #9a5b00; }

.ab-pledge {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--tint);
  border-radius: 6px;
  font-weight: 500;
}
.ab-pledge input { margin-top: 5px; }

.ab-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.abedon .form-msg { margin: 0; }
.abedon .form-msg ul { margin: 0; padding-left: 1.1em; }
.form-msg.is-info { color: var(--sobuj-dark); background: var(--tint); padding: 10px 14px; border-radius: 6px; }
.form-msg.is-error:not(:empty) { background: #fdf0ef; padding: 10px 14px; border-radius: 6px; }

.join-branch {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sobuj);
  border-radius: var(--radius);
}
.join-branch h3 { font-size: 19px; margin-bottom: 4px; }
.join-branch p { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }

.print-only { display: none; }

@media (max-width: 760px) {
  .ab-grid,
  .ab-grid:has(.ab-wide) { grid-template-columns: 1fr 1fr; }
  .ab-grid .ab-wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .ab-grid,
  .ab-grid:has(.ab-wide) { grid-template-columns: 1fr; }
  .ab-grid .ab-wide { grid-column: auto; }
  .ab-block { padding: 14px 14px 18px; }
}

/* ---------- ছাপা ---------- */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body { background: #fff; font-size: 12.5px; line-height: 1.5; }
  .draft-bar, .site-header, .site-footer, .no-print, .ab-trap, .form-msg { display: none !important; }
  .print-only { display: block; }
  .section { padding: 0; }
  .abedon-wrap { max-width: none; padding: 0; }
  .abedon-head { border-bottom: 2px solid var(--sobuj); margin-bottom: 10px; }
  .abedon-head .section-title { font-size: 22px; }
  .abedon-head .section-title::after { display: none; }
  .abedon-sub { margin: 2px 0 8px; }
  .abedon-form { gap: 10px; }
  .ab-block { box-shadow: none; border: 1px solid #bbb; border-top: 3px solid var(--sobuj); padding: 8px 12px 10px; break-inside: avoid; }
  .ab-block legend { font-size: 15px; margin-bottom: 4px; }
  .ab-hint { font-size: 11px; margin-top: 4px; }
  .ab-grid { gap: 8px; margin-top: 6px; }
  .abedon-form input[type="text"],
  .abedon-form input[type="tel"],
  .abedon-form input[type="email"],
  .abedon-form select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #555;
    border-radius: 0;
    padding: 2px 2px;
    min-height: 22px;
    font-size: 12.5px;
  }
  .abedon-form select { appearance: none; }
  .abedon-form input::placeholder { color: transparent; }
  .table-scroll { overflow: visible; }
  .ab-table { min-width: 0; }
  .ab-table td { padding: 2px 4px; }
  .ab-pledge { background: none; padding: 4px 0; }
  .ab-quota, .ab-count { display: none; }
  .ab-label { font-size: 12px; }
  .ab-block legend + * { margin-top: 0; }
  .ab-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; text-align: center; font-size: 12px; }
  .ab-sign span { display: block; border-top: 1px solid #333; margin-bottom: 4px; }
  .ab-office { margin-top: 12px; padding-top: 8px; border-top: 1px dashed #777; font-size: 11.5px; }
  .ab-office.print-only, .ab-sign.print-only { display: grid; }
  .ab-office.print-only { display: block; }
  img.print-only { display: block; }
}

/* ছোট পর্দায় কমিটির প্রতিটি সারি একটি কার্ড */
@media (max-width: 600px) {
  .ab-table { min-width: 0; }
  #committee thead { display: none; }
  #committee tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  #committee td { border: 0; padding: 0; width: auto !important; }
  #committee td:nth-child(-n+3) { grid-column: 1 / -1; }
  #committee td.no-phone { display: none; }
  #committee td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }
  #committee td.c-check { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 8px; text-align: left; }
  #committee td.c-check::before { display: inline; margin: 0; font-size: 15px; color: var(--ink); }
}
@media print {
  #committee td[data-label]::before { content: none; }
}

.ab-turnstile { min-height: 65px; }

/* ---------- তথ্য যাচাইয়ের উপায় ---------- */
.prog-link { display: inline-block; margin-top: 6px; font-weight: 600; }
.jachai-guide {
  display: grid;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--lal);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
}
.jachai-guide p { margin: 0; }
.jachai-list { display: grid; gap: 28px; }
.jachai-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sobuj);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.jachai-thumb {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.jachai-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.jachai-thumb img { width: 100%; height: auto; }
.jachai-kind { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--nil-dark); }
.jachai-body h2 { font-size: 24px; margin-bottom: 6px; }
.jachai-body > p { color: var(--ink-soft); }
.jachai-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.jachai-text {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--krim);
  padding: 4px 16px;
}
.jachai-text summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--sobuj);
  padding: 8px 0;
}
.jachai-text[open] { padding-bottom: 12px; }
.jachai-text h3 { font-size: 17px; margin: 12px 0 6px; }
.jachai-text ol { margin: 0 0 10px; padding-left: 1.4em; }
.jachai-text li { margin-bottom: 8px; }
.jachai-text p { margin: 8px 0 0; }
.sift-steps { list-style: none; padding-left: 0 !important; }
.kousol {
  display: block;
  margin-top: 4px;
  padding: 6px 10px;
  border-left: 3px solid var(--lal);
  background: var(--tint);
  font-size: 15px;
  color: var(--ink-soft);
}
.jachai-source { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }

@media (max-width: 760px) {
  .jachai-card { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .jachai-thumb { max-width: 220px; }
}
.jachai-note { font-size: 14px; color: var(--ink-soft); }

/* ---------- প্রথম সম্মেলনের কাউন্টডাউন ---------- */
.sommelon {
  background: var(--sobuj);
  color: #fff;
  border-bottom: 4px solid var(--lal);
  padding: 22px 0;
}
.sommelon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.sommelon-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--phika);
}
.sommelon h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 2px 0 6px; }
.sommelon-when { margin: 0 0 6px; font-weight: 500; }
.sommelon-program { margin: 0; padding-left: 1.1em; font-size: 15px; color: var(--phika); }
.sommelon-program strong { color: #fff; }
.countdown { text-align: center; }
.countdown-label { margin: 0 0 6px; font-size: 14px; color: var(--phika); }
.countdown-boxes { display: flex; gap: 10px; justify-content: center; }
.countdown-boxes div {
  min-width: 70px;
  padding: 8px 6px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(220, 239, 211, .35);
}
.countdown-boxes span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown-boxes small { font-size: 13px; color: var(--phika); }
.countdown-done { margin: 0; font-size: 20px; font-weight: 700; }

@media (max-width: 600px) {
  .sommelon-inner { flex-direction: column; align-items: stretch; }
  .countdown-boxes div { min-width: 0; flex: 1; }
}

/* ---------- লেখা ---------- */
.lekha-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lekha-card a {
  display: block; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line);
  border-left: 5px solid var(--sobuj); border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.lekha-card a:hover { border-left-color: var(--lal); box-shadow: var(--shadow); color: var(--ink); }
.lekha-card h2 { font-size: 22px; margin-bottom: 4px; }
.lekha-meta { font-size: 14px; color: var(--ink-soft); margin: 0 0 6px; }
.lekha-summary { margin: 0; color: var(--ink-soft); }
.lekha-back { margin: 0 0 12px; font-size: 15px; }
.lekha-title { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 8px; }
.lekha-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.lekha-topics span { background: var(--phika); color: var(--sobuj-dark); font-size: 13px; padding: 1px 10px; border-radius: 999px; }
.lekha-lead { font-size: 19px; color: var(--ink-soft); border-left: 4px solid var(--lal); padding-left: 14px; margin: 0 0 24px; }
.lekha-body { font-size: 18px; line-height: 1.9; }
.lekha-body h2 { font-size: 26px; margin: 34px 0 10px; }
.lekha-body h3 { font-size: 21px; margin: 26px 0 8px; }
.lekha-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px auto; }
.lekha-body blockquote { margin: 18px 0; padding: 10px 18px; border-left: 4px solid var(--sobuj); background: var(--tint); }
.lekha-body ul, .lekha-body ol { padding-left: 1.3em; }
.lekha-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.lekha-body table { border-collapse: collapse; width: 100%; font-size: 16px; }
.lekha-body th, .lekha-body td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.yt { position: relative; aspect-ratio: 16 / 9; margin: 18px 0; background: var(--sobuj-dark); border-radius: 8px; overflow: hidden; }
.yt-play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fff; font: inherit; font-size: 20px; font-weight: 600; cursor: pointer; }
.yt-play small { display: block; font-size: 13px; color: var(--phika); font-weight: 400; }
.yt-play:hover { background: rgba(255, 255, 255, .06); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- এডমিন-পাতা ---------- */
.admin-wrap { max-width: 900px; display: grid; gap: 20px; }
.admin-wrap > [hidden] { display: none !important; }
#admin-app { display: grid; gap: 20px; }
.admin-dry { background: #fff4e0; color: #7a4a00; padding: 10px 14px; border-radius: 6px; margin: 0; }
.admin-off { color: var(--ink-soft); }
.admin-key { display: grid; gap: 8px; max-width: 420px; }
.admin-key h2, .admin-list h2 { font-size: 20px; margin: 0; }
.admin-key input { font: inherit; padding: 8px 10px; border: 1px solid #cfc6b6; border-radius: 6px; }
.admin-drop {
  display: grid; gap: 4px; place-items: center; text-align: center; padding: 28px 16px; cursor: pointer;
  border: 2px dashed var(--halka-sobuj); border-radius: var(--radius); background: var(--krim);
}
.admin-drop.is-over { background: var(--phika); border-color: var(--sobuj); }
.admin-drop small { color: var(--ink-soft); }
.admin-images { margin-top: 12px; display: grid; gap: 4px; font-size: 15px; }
.admin-checklist, .admin-warnings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.admin-checklist li { font-weight: 500; }
.admin-checklist li.is-ok { color: var(--sobuj); }
.admin-checklist li.is-bad { color: #b3261e; }
.admin-checklist li.is-key { font-weight: 700; }
.admin-checklist small { display: block; font-weight: 400; color: var(--ink-soft); margin-left: 1.3em; }
.admin-warnings { margin-top: 12px; }
.admin-warnings li { color: #9a5b00; font-size: 15px; }
.admin-warnings li::before { content: "সতর্কতা: "; font-weight: 600; }
.admin-child { margin-top: 14px; padding: 12px 14px; background: var(--tint); border-radius: 6px; }
.admin-child .ab-label { margin: 0 0 6px; }
.admin-preview { border: 2px solid var(--phika); border-radius: var(--radius); background: var(--paper); padding: 0 24px 24px; }
.admin-preview-label { font-size: 14px; color: var(--nil); margin: 0 -24px 18px; padding: 8px 24px; background: var(--phika); font-family: var(--font-body); }
.admin-preview-label::after { display: none; }
.admin-list ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.admin-list li small { color: var(--ink-soft); flex: 1; }
