বিষয়বস্তুতে চলুন

মিডিয়াউইকি:Common.css

সুফিবাংলা থেকে

লক্ষ্য করুন: প্রকাশ করার পর, পরিবর্তনগুলো দেখতে আপনাকে আপনার ব্রাউজারের ক্যাশে পরিষ্কার করার প্রয়োজন হতে পারে।

  • ফায়ারফক্স / সাফারি: পুনরায় লোড-এ ক্লিক করার সময় শিফট টিপে ধরে রাখুন, অথবা হয় Ctrl-F5 বা Ctrl-R টিপুন (ম্যাকে ⌘-R টিপুন)
  • গুগল ক্রোম: Ctrl-Shift-R (ম্যাকে ⌘-Shift-R) টিপুন
  • এজ: Ctrl ধরে রাখা অবস্থায় Refresh-এ ক্লিক করুন, অথবা Ctrl-F5 টিপুন।
  • অপেরা: Ctrl-F5 টিপুন।
/* ===== সুফিবাংলা: সবুজ-সোনালী থিম ===== */
:root {
  --sb-green: #1f5a3a;
  --sb-green-mid: #2e7d4f;
  --sb-green-light: #eef6f0;
  --sb-green-line: #d6e9dc;
  --sb-gold: #c9a227;
  --sb-gold-light: #f7efd4;
  --sb-text: #202122;
  --sb-muted: #54595d;
}
body, .mw-body, .vector-body, input, select, textarea, button {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', sans-serif;
}
.vector-body { font-size: 1.0625rem; line-height: 1.8; color: var(--sb-text); }
.mw-body h1, .mw-body-content h1, .mw-body-content h2, .sb-box-title, .sb-featured-name, .sb-ib-name {
  font-family: 'Noto Serif Bengali', serif;
}
.mw-body h1.firstHeading { color: var(--sb-green); }
.mw-body-content h2 {
  color: var(--sb-green);
  border-bottom: 2px solid var(--sb-gold);
  padding-bottom: .2em;
}
.mw-body-content h3 { color: var(--sb-green); }

/* লিংক: কার্সর রাখলে সবুজ ঘরে সাদা লেখা */
a, a:visited { color: var(--sb-green); }
.mw-body-content a.new { color: #b32424; }
.mw-body-content a:not(.mw-file-description):not(.image):not(.cdx-button):hover,
.sb-nav a:hover, .vector-menu-content a:hover {
  background: var(--sb-green-mid);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* ওপরের সোনালী রেখা ও সবুজ নেভিগেশন বার */
.vector-header-container { border-bottom: 3px solid var(--sb-gold); }
#siteNotice { margin: 0; }
.sb-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  background: var(--sb-green); border-bottom: 3px solid var(--sb-gold);
  border-radius: 8px; padding: 8px 12px; margin: 8px 0 12px;
}
.sb-nav a, .sb-nav a:visited { color: var(--sb-gold-light); font-size: 1.05rem; padding: 2px 10px; }

/* প্রধান পাতা */
.page-Main_Page .vector-page-titlebar, .page-Main_Page .vector-page-toolbar,
.page-Main_Page #siteSub, .page-Main_Page #contentSub { display: none; }
.sb-hero {
  background: var(--sb-green-light); border: 1px solid var(--sb-green-line);
  border-radius: 14px; padding: 28px 16px 32px; text-align: center; margin-bottom: 22px;
}
.sb-hero-logo {
  width: 420px; max-width: 86%; aspect-ratio: 800 / 573; margin: 0 auto;
  background: url('/logo/sufibangla-logo.png') center / contain no-repeat;
}
.sb-gold-rule { width: 96px; height: 3px; background: var(--sb-gold); margin: 14px auto 16px; }
.sb-hero-tag { font-size: 1.3rem; font-weight: 600; color: var(--sb-green-mid); }
.sb-hero-text { max-width: 720px; margin: 10px auto 0; font-size: 1.1rem; color: #3a3f3c; }
.sb-hero-search { margin-top: 24px; }
.sb-hero-search form { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.sb-hero-search .cdx-text-input { flex: 1 1 340px; max-width: 520px; }
.sb-hero-search .cdx-text-input__input {
  width: 100%; height: 50px; box-sizing: border-box; border: 2px solid var(--sb-gold); border-radius: 26px;
  padding: 0 20px; font-size: 1.1rem; background: #fff;
}
.sb-hero-search .cdx-text-input__input:focus { border-color: var(--sb-green-mid); box-shadow: 0 0 0 2px var(--sb-gold-light); outline: none; }
.sb-hero-search .cdx-button {
  height: 50px; border-radius: 26px; background: var(--sb-green); color: #fff; border: none;
  padding: 0 28px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
}
.sb-hero-search .cdx-button:hover { background: var(--sb-green-mid); color: #fff; }
.sb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.sb-stat {
  background: #fff; border: 1px solid var(--sb-green-line); border-top: 3px solid var(--sb-gold);
  border-radius: 10px; padding: 14px; text-align: center;
}
.sb-stat-num { font-size: 1.9rem; font-weight: 600; color: var(--sb-green); }
.sb-stat-label { color: var(--sb-muted); }
.sb-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.sb-row > .sb-box { margin-bottom: 0; }
.sb-box {
  background: #fff; border: 1px solid var(--sb-green-line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 22px;
}
.sb-box-featured { flex: 999 1 480px; min-width: 0; background: var(--sb-gold-light); border-color: #e3cf8f; }
.sb-box-tariqa { flex: 1 1 260px; min-width: 0; }
.sb-box-title {
  font-size: 1.35rem; font-weight: 700; color: var(--sb-green);
  border-bottom: 2px solid var(--sb-gold); padding-bottom: 6px; margin-bottom: 12px;
}
.sb-help { color: var(--sb-muted); font-size: .92rem; }
.sb-empty { color: var(--sb-muted); }
.sb-chips { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.sb-chip a { display: inline-block; padding: 1px 7px; border-radius: 5px; }
.sb-divisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 26px; }
.sb-division-name { font-weight: 600; color: var(--sb-green); margin-bottom: 2px; }
.sb-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sb-letter {
  min-width: 38px; height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--sb-gold); border-radius: 8px; font-weight: 600; color: var(--sb-green); cursor: pointer;
}
.sb-letter:hover, .sb-letter.sb-active { background: var(--sb-green-mid); color: #fff; border-color: var(--sb-green-mid); }
.sb-country-row { display: flex; gap: 12px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--sb-green-light); }
.sb-country-letter { flex: 0 0 30px; font-size: 1.25rem; font-weight: 700; color: var(--sb-gold); font-family: 'Noto Serif Bengali', serif; }
.sb-country-row.sb-hidden { display: none; }
.sb-tariqa-list .sb-tariqa-opt { display: inline-block; margin: 2px 4px 2px 0; }
.sb-tariqa-select { width: 100%; height: 46px; border: 1px solid var(--sb-gold); border-radius: 8px; padding: 0 10px; font-size: 1.05rem; background: #fff; }
.sb-tariqa-go {
  margin-top: 10px; width: 100%; height: 46px; border: none; border-radius: 8px;
  background: var(--sb-green-mid); color: #fff; font-size: 1.05rem; font-weight: 600; cursor: pointer;
}
.sb-tariqa-go:hover { background: var(--sb-green); }
.sb-featured-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.sb-featured-img img { border: 3px solid var(--sb-gold); border-radius: 8px; }
.sb-featured-text { flex: 1 1 260px; min-width: 0; }
.sb-featured-name { font-size: 1.45rem; font-weight: 700; }
.sb-featured-meta { color: var(--sb-muted); font-size: .95rem; }
.sb-featured-sum { margin-top: 8px; }
.sb-featured-more { margin-top: 8px; font-weight: 600; }
.sb-featured-empty { color: var(--sb-muted); }
.sb-bottom-links { text-align: center; color: var(--sb-muted); margin: 6px 0 10px; }

/* জীবনীর পাতা */
.sb-tagline { color: var(--sb-muted); margin: -.2em 0 .8em; }
.sb-tagline span + span::before { content: " · "; color: var(--sb-gold); font-weight: 700; }
.sb-infobox {
  float: right; clear: right; width: 310px; margin: 0 0 1em 1.4em; border-collapse: collapse;
  background: #fff; border: 1px solid var(--sb-green-line); font-size: .92rem; line-height: 1.55;
}
.sb-infobox th, .sb-infobox td { padding: 5px 10px; vertical-align: top; text-align: left; border-bottom: 1px solid #f0f3f1; }
.sb-infobox th { width: 38%; color: var(--sb-text); }
.sb-ib-title { background: var(--sb-green); color: #fff !important; text-align: center !important; padding: 12px !important; border-bottom: 3px solid var(--sb-gold) !important; }
.sb-ib-name { font-size: 1.3rem; font-weight: 700; }
.sb-ib-orig { font-family: 'Amiri', serif; font-size: 1.3rem; color: var(--sb-gold-light); font-weight: normal; }
.sb-ib-image { text-align: center !important; }
.sb-ib-image img { border: 3px solid var(--sb-gold); border-radius: 8px; max-width: 100%; height: auto; }
.sb-ib-caption { color: var(--sb-muted); font-size: .88rem; margin-top: 4px; }
.sb-ib-head { background: var(--sb-green-light); color: var(--sb-green) !important; text-align: center !important; border-bottom: 1px solid var(--sb-gold) !important; }
.sb-ib-warn { color: #b32424; font-weight: 600; }
.sb-summaries { display: flow-root; background: var(--sb-green-light); border: 1px solid var(--sb-green-line); border-radius: 10px; padding: 12px 16px; margin: 1em 0; font-size: .97rem; }
.sb-summaries > div + div { margin-top: 10px; }
.sb-sum-ar { font-family: 'Amiri', serif; font-size: 1.15rem; }
.sb-books { display: flex; flex-direction: column; gap: 10px; }
.sb-book {
  overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  border: 1px solid var(--sb-green-line); border-radius: 10px; padding: 12px 16px;
}
.sb-book-title { font-weight: 600; color: var(--sb-green); font-size: 1.08rem; }
.sb-book-orig { font-family: 'Amiri', serif; color: var(--sb-muted); }
.sb-book-meta { color: var(--sb-muted); font-size: .92rem; }
.sb-btn a, .sb-btn a:visited {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--sb-green-line); border-radius: 20px;
  background: var(--sb-green-light); color: var(--sb-green); font-weight: 600;
}
.sb-btn-gold a, .sb-btn-gold a:visited { border: 2px solid var(--sb-gold); background: #fff; }
.sb-btn a.external { background-image: none; padding-right: 16px; }
.sb-author {
  clear: both; margin-top: 2em; padding: 14px 18px; border-top: 3px solid var(--sb-gold);
  background: var(--sb-green-light); border-radius: 0 0 10px 10px; font-size: .97rem;
}
.sb-author-label { font-weight: 600; color: var(--sb-green); }
.sb-author-bio { color: #3a3f3c; margin: 4px 0 8px; }
.sb-district .wikitable, .sb-district table { width: 100%; }
table.cargoTable th, .wikitable > tr > th, .wikitable > * > tr > th { background: var(--sb-green-light); }

/* ফর্ম */
.sb-form-intro { background: var(--sb-gold-light); border: 1px solid #e3cf8f; border-radius: 10px; padding: 12px 16px; margin-bottom: 1em; }
.sb-req { color: #b32424; }
.mw-body-content table.sb-formtable { width: 100%; table-layout: fixed; border-collapse: collapse; }
.sb-formtable th { width: 32%; text-align: left; vertical-align: top; padding: 10px 14px 10px 0; font-weight: 600; line-height: 1.5; }
.sb-formtable th small { font-weight: normal; }
.sb-formtable tr + tr > * { border-top: 1px solid var(--sb-green-light); }
.sb-formtable td { padding: 6px 0; }
.sb-formtable textarea, .sb-formtable input[type="text"] { width: 100%; box-sizing: border-box; }
.sb-form-save { margin-top: 1.5em; padding-top: 1em; border-top: 2px solid var(--sb-gold); }

@media (max-width: 720px) {
  .sb-infobox { float: none; width: 100%; margin: 0 0 1em 0; }
  .sb-formtable th, .sb-formtable td { display: block; width: auto; }
  .sb-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
}
/* প্রধান পাতায় ওপরের অনুসন্ধান-ঘর লুকানো; নিচে বড় অনুসন্ধান-ঘর আছে */
.page-প্রধান_পাতা .vector-header .vector-search-box,
.page-Main_Page .vector-header .vector-search-box {
  display: none;
}
/* ===== মাজার, খানকা ও স্মৃতিস্থান ===== */
.sb-place-summary { background: var(--sb-gold-light); border: 1px solid #e3cf8f; border-radius: 10px; padding: 12px 16px; margin: .6em 0 1em; }
.sb-place-total { font-size: 1.1rem; color: var(--sb-green); }
.sb-place-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sb-count-chip { display: inline-block; background: #fff; border: 1px solid var(--sb-gold); border-radius: 16px; padding: 2px 12px; }
.sb-place-map { margin: 1em 0; border-radius: 10px; overflow: hidden; }
.sb-place-list, .sb-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 1em 0; }
.sb-place { border: 1px solid var(--sb-green-line); border-top: 3px solid var(--sb-gold); border-radius: 10px; padding: 10px 14px; background: #fff; }
.sb-place-type { display: inline-block; background: var(--sb-green); color: #fff; font-size: .82rem; border-radius: 4px; padding: 0 8px; }
.sb-place-name { font-weight: 700; color: var(--sb-green); }
.sb-place-sufi, .sb-place-loc, .sb-place-addr { font-size: .93rem; color: var(--sb-muted); margin-top: 3px; }
.sb-place-go { margin-top: 6px; font-weight: 600; }
.sb-place-go a.external { background-image: none; padding-right: 0; }
/* ===== জেলা ও দেশের সারসংক্ষেপ ===== */
.sb-area-summary { background: var(--sb-green-light); border: 1px solid var(--sb-green-line); border-radius: 10px; padding: 10px 16px; margin: .5em 0 1em; font-size: 1.05rem; }
.sb-area-summary b { color: var(--sb-green); }
body:has(.sb-hide-catlist) .mw-category-generated { display: none; }

/* ===== ধরন অনুযায়ী সংখ্যা, সারণি, খোঁজার পাতা, তথ্যছকের পদ ===== */
.sb-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: .6em 0 1em; }
.sb-stat a.external { display: block; background: #fff; border: 1px solid var(--sb-green-line); border-top: 3px solid var(--sb-gold); padding: 10px; text-align: center; text-decoration: none; background-image: none; }
.sb-stat a.external:hover { background: var(--sb-green-light); }
.sb-stat .sb-stat-n { display: block; font-size: 1.7rem; font-weight: 700; color: var(--sb-green); line-height: 1.2; }
.sb-stat .sb-stat-t { display: block; color: var(--sb-muted); }
.sb-finder-link { margin: .4em 0 .8em; font-weight: 600; }
.sb-finder-link a.external, .sb-pivot a.external { background-image: none; padding-right: 0; }
h3.sb-type-head { color: var(--sb-green); border-bottom: 1px solid var(--sb-gold); padding-bottom: 3px; margin-top: 1.2em; }
.sb-pivot { width: 100%; border-collapse: collapse; margin: .6em 0 1em; }
.sb-pivot th { background: var(--sb-green); color: #fff; padding: 6px 8px; }
.sb-pivot td { border-bottom: 1px solid var(--sb-green-line); padding: 6px 8px; text-align: center; }
.sb-pivot td:first-child, .sb-pivot th:first-child { text-align: left; }
.sb-pivot-total, .sb-pivot-sum td { font-weight: 700; }
.sb-pivot-sum td { background: var(--sb-gold-light); }
.sb-finder-head { background: var(--sb-green-light); border: 1px solid var(--sb-green-line); border-radius: 10px; padding: 10px 16px; margin: 1em 0; font-size: 1.1rem; }
.sb-finder-table td { vertical-align: top; }
.sb-ib-office { background: var(--sb-gold-light) !important; color: var(--sb-green) !important; }
.sb-cap { margin-left: 8px; }
.sb-stats .sb-stat { border: none; padding: 0; background: none; box-shadow: none; border-radius: 0; }

/* === SB2 main page redesign START === */
/* প্রধান পাতার নতুন নকশা। সব ক্লাস sb2- দিয়ে শুরু, তাই অন্য পাতায় প্রভাব নেই।
   শুধু শেষের "অনিবন্ধিত পাঠক" অংশটি সব পাতায় প্রযোজ্য। */
body:has(.sb2-main) .vector-page-titlebar,
body:has(.sb2-main) .vector-page-toolbar,
body:has(.sb2-main) #siteSub,
body:has(.sb2-main) #contentSub,
body:has(.sb2-main) .vector-header .vector-search-box { display: none; }
.sb2-main { --sb2-g: #1f5a3a; --sb2-gm: #2e7d4f; --sb2-gl: #eef6f0; --sb2-line: #d6e9dc; --sb2-gold: #c9a227; --sb2-goldl: #f7efd4; --sb2-muted: #54595d; overflow-x: hidden; }
.sb2-main *, .sb2-main *::before, .sb2-main *::after { box-sizing: border-box; }
.sb2-main p:empty, .sb2-main p > br:only-child { display: none; }

/* হিরো */
.sb2-hero { text-align: center; padding: 14px 16px 16px; margin: 0 0 16px; border-radius: 14px;
  background: radial-gradient(circle at 50% 0, #fff 0, var(--sb2-gl) 70%); border: 1px solid var(--sb2-line); border-bottom: 3px solid var(--sb2-gold); }
.sb2-logo { width: 150px; aspect-ratio: 800 / 573; margin: 0 auto; background: url('/logo/sufibangla-logo.png') center / contain no-repeat; }
.sb2-hero-title { font-family: 'Noto Serif Bengali', serif; font-size: 1.35rem; font-weight: 700; color: var(--sb2-g); margin: 4px 0 10px; line-height: 1.4; }
.sb2-search form { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: nowrap; max-width: 620px; margin: 0 auto; }
.sb2-search .cdx-text-input { flex: 1 1 auto; min-width: 0; }
.sb2-search .cdx-text-input__input { width: 100%; height: 52px; border: 2px solid var(--sb2-gold); border-radius: 26px; padding: 0 20px; font-size: 1.1rem; background: #fff; }
.sb2-search .cdx-text-input__input:focus { border-color: var(--sb2-gm); box-shadow: 0 0 0 3px var(--sb2-goldl); outline: none; }
.sb2-search .cdx-button { flex: 0 0 auto; height: 52px; min-width: 96px; border-radius: 26px; background: var(--sb2-g); color: #fff; border: none; padding: 0 24px; font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.sb2-search .cdx-button:hover { background: var(--sb2-gm); }
.sb2-search input[name="fulltext"] { display: none; }
.sb2-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin-top: 10px; color: var(--sb2-muted); }
.sb2-stat + .sb2-stat::before { content: "·"; color: var(--sb2-gold); font-weight: 700; padding: 0 10px; }
.sb2-stat a, .sb2-stat a:visited { color: var(--sb2-muted); padding: 2px 4px; }
.sb2-stat b { color: var(--sb2-g); font-size: 1.15rem; }

/* গ্রিড ও কার্ড */
.sb2-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.sb2-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb2-grid-21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.sb2-grid-bottom { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.sb2-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sb2-card { background: #fff; border: 1px solid var(--sb2-line); border-top: 3px solid var(--sb2-gold); border-radius: 12px; padding: 14px 18px; min-width: 0; }
.sb2-grid > .sb2-card { margin: 0; }
.sb2-recent { margin-bottom: 16px; }
.sb2-card-title { font-family: 'Noto Serif Bengali', serif; font-size: 1.2rem; font-weight: 700; color: var(--sb2-g); margin-bottom: 10px; line-height: 1.4; }
.sb2-more { margin-top: 8px; font-weight: 600; }
.sb2-note, .sb2-sub, .sb2-empty { color: var(--sb2-muted); font-size: .88rem; }
.sb2-sub { margin: -6px 0 8px; }

/* নির্বাচিত জীবনী */
.sb2-card-feat { background: var(--sb2-goldl); border-color: #e3cf8f; border-top-color: var(--sb2-gold); }
.sb2-feat-img { margin: 0 0 10px; }
.sb2-feat-img a { display: block; }
.sb2-feat-img a:hover { background: none; }
.sb2-feat-img .sb2-lazyimg { display: block; width: 100%; height: 170px; border-radius: 8px; border: 2px solid var(--sb2-gold); overflow: hidden; background: var(--sb2-gl) url('/logo/sufibangla-135.png') center / 72px no-repeat; }
.sb2-lazyimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sb2-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sb2-feat-name { font-family: 'Noto Serif Bengali', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.sb2-feat-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: .97rem; line-height: 1.65; }

/* আজকের স্মরণ */
.sb2-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sb2-date { background: var(--sb2-g); color: #fff; border-radius: 16px; padding: 2px 12px; font-weight: 600; font-size: .95rem; }
.sb2-date-h { background: var(--sb2-goldl); color: var(--sb2-g); border: 1px solid var(--sb2-gold); }
.sb2-smaran-list ul { margin: 0 0 0 1.1em; }
.sb2-smaran-list li { margin: 0 0 4px; font-size: .97rem; line-height: 1.6; }
.sb2-smaran-empty { display: none; color: var(--sb2-muted); }
.sb2-smaran-list:not(:has(li)) + .sb2-smaran-empty { display: block; }
.sb2-card-smaran .sb2-note { margin-top: 8px; }

/* এই মাসের উরস */
.sb2-urs-list { max-height: 300px; overflow-y: auto; }
.sb2-urs-row { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-bottom: 1px solid var(--sb2-gl); line-height: 1.45; }
.sb2-urs-day { flex: 0 0 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sb2-gl); color: var(--sb2-g); font-weight: 700; border: 1px solid var(--sb2-line); }
.sb2-urs-row.sb2-today { background: var(--sb2-goldl); border-radius: 8px; }
.sb2-urs-row.sb2-today .sb2-urs-day { background: var(--sb2-gold); color: #fff; border-color: var(--sb2-gold); }

/* অঞ্চল ধরে খুঁজুন */
.sb2-tabs { display: none; gap: 6px; margin-bottom: 12px; border-bottom: 2px solid var(--sb2-line); }
.sb2-js .sb2-tabs { display: flex; }
.sb2-tab { min-height: 44px; padding: 8px 20px; display: inline-flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--sb2-g); border-radius: 10px 10px 0 0; margin-bottom: -2px; border: 2px solid transparent; }
.sb2-tab:hover { background: var(--sb2-gl); }
.sb2-tab.sb2-on { background: #fff; border-color: var(--sb2-line) var(--sb2-line) #fff; border-top: 3px solid var(--sb2-gold); }
.sb2-tab:focus-visible, .sb2-divbtn:focus-visible { outline: 3px solid var(--sb2-gold); outline-offset: 1px; }
.sb2-js .sb2-panel { display: none; }
.sb2-js .sb2-panel.sb2-on { display: block; }
.sb2-panel + .sb2-panel { margin-top: 14px; }
.sb2-js .sb2-panel + .sb2-panel { margin-top: 0; }
.sb2-panel-head { color: var(--sb2-muted); font-size: .92rem; margin-bottom: 8px; }
.sb2-divbtns { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sb2-js .sb2-divbtns { display: grid; }
.sb2-divbtn { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 8px; border: 1px solid var(--sb2-gold); border-radius: 10px; color: var(--sb2-g); font-weight: 600; cursor: pointer; background: #fff; line-height: 1.3; }
.sb2-divbtn:hover { background: var(--sb2-gl); }
.sb2-divbtn.sb2-on { background: var(--sb2-g); color: #fff; border-color: var(--sb2-g); }
.sb2-divpanel { margin-top: 10px; }
.sb2-js .sb2-divpanel { display: none; background: var(--sb2-gl); border-radius: 10px; padding: 10px 12px; }
.sb2-js .sb2-divpanel.sb2-on { display: block; }
.sb2-divname { font-weight: 700; color: var(--sb2-g); margin-bottom: 4px; }
.sb2-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sb2-chip a, .sb2-chip a:visited { display: inline-flex; align-items: center; min-height: 36px; padding: 2px 12px; border: 1px solid var(--sb2-line); border-radius: 18px; background: #fff; color: var(--sb2-g); }
.sb2-chip a:hover { background: var(--sb2-gm); border-color: var(--sb2-gm); color: #fff; }
.sb2-chip small { color: var(--sb2-muted); margin-left: 4px; }
.sb2-chip a:hover small { color: #fff; }

/* তরিকা (আগের মতোই, সামান্য সাজ) */
.sb2-tariqa .sb-help { margin-bottom: 10px; }
.sb2-tariqa .sb-tariqa-select, .sb2-tariqa .sb-tariqa-go { min-height: 46px; }

/* সদ্য যুক্ত জীবনী */
.sb2-minis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sb2-mini { text-align: center; min-width: 0; }
.sb2-mini-img a { display: block; }
.sb2-mini-ph { display: block; width: 100%; height: 110px; overflow: hidden; border-radius: 10px; border: 2px solid var(--sb2-gold); }
.sb2-mini-ph { background: var(--sb2-gl) url('/logo/sufibangla-135.png') center / 64px no-repeat; }
.sb2-mini-img a:hover { background: none; }
.sb2-mini-name { margin-top: 6px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.sb2-mini-name a { display: inline-block; min-height: 44px; padding-top: 2px; }

/* বাণীর ফটোকার্ড */
.sb2-quote { background: var(--sb2-g); border-radius: 14px; padding: 8px; box-shadow: 0 2px 10px rgba(31, 90, 58, .25); }
.sb2-quote-inner { position: relative; border: 2px solid var(--sb2-gold); outline: 1px solid rgba(201, 162, 39, .5); outline-offset: -7px; border-radius: 10px; padding: 18px 20px 14px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 0, #2e7d4f 0, #1f5a3a 75%); }
.sb2-quote-logo { width: 54px; height: 54px; margin: 0 auto 6px; background: url('/logo/sufibangla-135.png') center / contain no-repeat; }
.sb2-quote-text { font-family: 'Noto Serif Bengali', serif; font-size: 1.3rem; line-height: 1.7; font-weight: 600; color: #fff; }
.sb2-quote-text::before { content: "❝"; display: block; color: var(--sb2-gold); font-size: 2rem; line-height: 1; }
.sb2-quote-by { margin-top: 10px; font-size: 1.05rem; }
.sb2-quote-by a, .sb2-quote-by a:visited { color: #f3d98a; font-weight: 700; }
.sb2-quote-by a:hover { background: var(--sb2-gold); color: var(--sb2-g); }
.sb2-quote-brand { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(201, 162, 39, .55); font-size: .82rem; letter-spacing: .03em; color: var(--sb2-goldl); }
.sb2-card-quote .sb2-more { text-align: right; }

/* লিংক কার্ড */
.sb2-link-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.sb2-link-card > :not(.sb2-link-icon) { grid-column: 2; }
.sb2-link-card .sb2-link-icon { grid-row: 1 / span 3; margin: 0; }
.sb2-link-card .sb2-card-title { margin-bottom: 4px; }
.sb2-link-text { color: #3a3f3c; font-size: .97rem; }
.sb2-link-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sb2-gl); border: 2px solid var(--sb2-gold); margin-bottom: 8px; position: relative; }
.sb2-icon-map::after { content: ""; position: absolute; left: 50%; top: 45%; width: 18px; height: 18px; transform: translate(-50%, -50%) rotate(-45deg); background: var(--sb2-g); border-radius: 50% 50% 50% 0; }
.sb2-icon-about::after { content: "i"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 1.4rem/1 Georgia, serif; color: var(--sb2-g); }
.sb2-soon { color: var(--sb2-muted); font-weight: 600; }
.sb2-foot { text-align: center; color: var(--sb2-muted); margin: 4px 0 10px; }
.sb2-foot a { display: inline-block; padding: 8px 4px; }

/* ট্যাবলেট */
@media (max-width: 1000px) {
  .sb2-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb2-grid-3 > .sb2-card-urs { grid-column: 1 / -1; }
  .sb2-grid-21, .sb2-grid-bottom { grid-template-columns: minmax(0, 1fr); }
  .sb2-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* মোবাইল: এক কলাম */
@media (max-width: 720px) {
  .sb2-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sb2-hero { padding: 10px 10px 12px; }
  .sb2-logo { width: 116px; }
  .sb2-hero-title { font-size: 1.12rem; }
  .sb2-search .cdx-button { min-width: 0; padding: 0 16px; }
  .sb2-divbtns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb2-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb2-chip a { min-height: 44px; }
  .sb2-card { padding: 12px 14px; }
  .sb2-quote-text { font-size: 1.15rem; }
  .sb2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: .9rem; }
  .sb2-stat + .sb2-stat::before { content: none; }
  .sb2-stat a { display: block; min-height: 44px; padding: 4px 2px; line-height: 1.3; background: #fff; border: 1px solid var(--sb2-line); border-radius: 10px; }
  .sb2-stat b { display: block; font-size: 1.1rem; }
  .sb2-more a, .sb2-feat-name a, .sb2-urs-name a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* অনিবন্ধিত পাঠকের কাছে Vector-এর "অবয়ব" প্যানেল লুকানো (সব পাতায়) */
body:has(#pt-login) #vector-appearance-dropdown,
body:has(#pt-login) #vector-appearance-pinned-container,
body:has(#pt-login) #vector-appearance-unpinned-container,
body:has(#pt-login-2) #vector-appearance-dropdown,
body:has(#pt-login-2) #vector-appearance-pinned-container { display: none !important; }
.sb2-up { margin-top: 12px; border-top: 1px dashed #d4af37; padding-top: 8px; }
.sb2-up-title { font-weight: 600; color: #1f5a3a; margin-bottom: 4px; }
.sb2-up-row { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; border-bottom: 1px solid #eef2ec; }
.sb2-up-day { min-width: 1.8em; text-align: center; background: #1f5a3a; color: #ecd27a; border-radius: 999px; font-size: .85rem; padding: 0 6px; }
.sb2-up-name { flex: 1; }
.sb2-up-ev { font-size: .85rem; color: #6b6b5a; }
.sb2-up-none { color: #6b6b5a; font-size: .9rem; border: 0; }
.sb2-sm { padding: 6px 0 10px; border-bottom: 1px solid #eef2ec; }
.sb2-sm:last-child { border-bottom: 0; }
.sb2-sm-when { font-size: .85rem; color: #7a5208; background: #fff6e0; border: 1px dashed #d4af37; border-radius: 8px; padding: 3px 8px; margin-bottom: 6px; }
.sb2-sm-name { font-size: 1.2rem; font-weight: 700; }
.sb2-sm-meta { font-size: .85rem; color: #6b6b5a; margin: 2px 0 6px; }
.sb2-sm-sum { line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* === SB2 END === */

/* === মাজারের মানচিত্র (এলাকা/জেলা/দেশ মানচিত্র; টেমপ্লেট:এলাকার মানচিত্র) === */
.sb-area-map { margin: .5em 0 1.2em; border: 1px solid #ddd5c3; border-radius: 10px; overflow: hidden; }
.sb-area-map .mapCanvas, .sb-place-map .mapCanvas { width: 100% !important; max-width: 100%; }
.sb-area-map .leaflet-popup-content h2, .sb-place-map .leaflet-popup-content h2 { font-size: 1.05em; font-family: inherit; margin: 0 0 .35em; padding: 0; border: 0; line-height: 1.35; }
.sb-area-map .leaflet-popup-content p, .sb-place-map .leaflet-popup-content p { margin: 0; font-size: .92em; line-height: 1.45; }
.sb-area-map .leaflet-popup-content > div, .sb-place-map .leaflet-popup-content > div { padding-bottom: 0 !important; min-height: 0 !important; }
.sb-map-note { margin: 0; padding: .8em 1em; background: #faf7f0; color: #5a5348; font-size: .95em; }
@media (max-width: 720px) {
  .sb-area-map .mapCanvas { height: 300px !important; }
  .sb-place-map .mapCanvas { height: 260px !important; }
}

/* ===== বিষয়শ্রেণী পাতা: নামগুলো পাশাপাশি বক্সে (২০২৬-১১-০৮) ===== */
#mw-pages .mw-category, #mw-pages .mw-category.mw-category-columns { column-count: auto !important; columns: auto !important; column-width: auto !important; }
#mw-pages .mw-category-group { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin: 0 0 12px; break-inside: auto; page-break-inside: auto; }
#mw-pages .mw-category-group h3 { margin: 0 !important; padding: 4px 12px; min-width: 2em; text-align: center; background: var(--sb-green, #1f5a3a); color: #fff; border-radius: 6px; font-size: 1em; font-weight: 700; line-height: 1.5; border: 0; }
#mw-pages .mw-category-group ul { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#mw-pages .mw-category-group li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#mw-pages .mw-category-group li::before, #mw-pages .mw-category-group li::marker { content: none; }
#mw-pages .mw-category-group li a { display: inline-block; padding: 4px 11px; line-height: 1.5; background: #eef6f0; border: 0; border-radius: 6px; color: var(--sb-green, #1f5a3a); text-decoration: none; }
#mw-pages .mw-category-group li a:hover { background: #d6e9dc; text-decoration: none; }
#mw-pages .mw-category-group li a.new { color: #b32424; }

/* ===== বিষয়শ্রেণী: বর্ণমালা সূচি (২০২৬-১১-০৮) ===== */
.sb-letters { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 14px; }
.sb-letters a { display: inline-block; min-width: 1.9em; text-align: center; padding: 3px 9px; line-height: 1.5; background: #eef6f0; color: var(--sb-green, #1f5a3a); border-radius: 6px; text-decoration: none; font-weight: 600; }
.sb-letters a:hover { background: #d6e9dc; text-decoration: none; }
.sb-letters a.sb-on { background: var(--sb-green, #1f5a3a); color: #fff; }

/* ===== পুরো পর্দাজুড়ে প্রস্থ ও মোবাইল (২০২৬-১১-০৮) ===== */
.mw-page-container, .vector-feature-limited-width-clientpref-1 .mw-page-container, .vector-feature-limited-width-content-enabled .mw-content-container { max-width: none !important; }
.vector-feature-limited-width-clientpref-1 .mw-content-container, .vector-feature-limited-width-clientpref-1 .mw-body { max-width: none !important; }
.vector-column-end:not(:has(.vector-pinnable-element)) { display: none !important; }
img, video, iframe { max-width: 100%; height: auto; }
.mw-parser-output { overflow-wrap: anywhere; }
@media (max-width: 720px) {
 .mw-page-container { padding-left: 10px !important; padding-right: 10px !important; }
 .mw-parser-output table { display: block; max-width: 100%; overflow-x: auto; }
 .mw-parser-output .infobox, .mw-parser-output table.infobox, .mw-parser-output .sb-infobox { float: none !important; width: 100% !important; margin: 0 0 1em !important; }
 .mw-parser-output [style*="float:right"], .mw-parser-output [style*="float: right"], .mw-parser-output [style*="float:left"], .mw-parser-output [style*="float: left"] { float: none !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }
 .mw-parser-output [style*="width:"] { max-width: 100% !important; }
 .mw-parser-output [style*="column-count"], .mw-parser-output [style*="columns:"] { column-count: 1 !important; columns: auto !important; }
 h1.firstHeading { font-size: 1.5rem; }
 .sb-letters a { padding: 2px 7px; }
 #mw-pages .mw-category-group h3 { padding: 3px 9px; }
}

/* উপবিষয়শ্রেণী: বর্ণ-শিরোনাম ছাড়া সাধারণ তালিকা */
#mw-subcategories .mw-category-group h3 { display: none; }
#mw-subcategories .mw-category, #mw-subcategories .mw-category.mw-category-columns { column-count: auto !important; columns: auto !important; }
#mw-subcategories .mw-category-group ul { margin-top: 0; }

/* বিষয়শ্রেণী: পাতা-নম্বর */
.sb-pager { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.sb-pager a { display: inline-block; min-width: 2.2em; text-align: center; padding: 3px 9px; line-height: 1.5; border: 1px solid #d6e9dc; background: #fff; color: var(--sb-green, #1f5a3a); border-radius: 6px; text-decoration: none; font-weight: 600; }
.sb-pager a:hover { background: #eef6f0; text-decoration: none; }
.sb-pager a.sb-on { background: var(--sb-green, #1f5a3a); border-color: var(--sb-green, #1f5a3a); color: #fff; }
/* === SB-LANGBAR START: ভাষা বাছাই বার (LANG-1, ২০২৬-১১-১৩) === */
.sb-langwrap { margin: 6px 0 10px; }
.sb-langbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 0.95em; line-height: 1.6; }
.sb-langbar .sb-lang { display: inline-block; padding: 1px 12px; border: 1px solid #d6e9dc; border-radius: 999px; background: #f4faf6; color: #1f5a3a; text-decoration: none; white-space: nowrap; }
.sb-langbar .sb-lang:hover, .sb-langbar .sb-lang:focus { background: #d6e9dc; text-decoration: none; }
.sb-langbar .sb-lang.sb-on { background: #1f5a3a; border-color: #1f5a3a; color: #fff; font-weight: bold; }
.sb-langbar .sb-lang-pending:not(.sb-on) { border-style: dashed; }
.sb-langbar .sb-lang-ar { font-family: "Noto Naskh Arabic", "Amiri", "Scheherazade New", "Traditional Arabic", serif; font-size: 1.05em; }
.sb-langbar .sb-lang-sep { color: #c9a227; }
.sb-lang-note { margin-top: 6px; padding: 4px 10px; border-left: 3px solid #c9a227; background: #fffaf0; color: #54595d; font-size: 0.9em; }
.sb-lang-note[dir="rtl"] { border-left: 0; border-right: 3px solid #c9a227; }
/* প্রধান পাতা: হিরো অংশে মাঝখানে, বড় করে */
.sb-langwrap-main { margin: 8px auto 12px; text-align: center; }
.sb-langwrap-main .sb-langbar { justify-content: center; font-size: 1.1em; }
.sb-langwrap-main .sb-lang { padding: 3px 18px; background: #fff; }
.sb-langwrap-main .sb-lang-note { display: inline-block; }
@media print { .sb-langwrap { display: none; } }
/* === SB-LANGBAR END === */

/* SB-LANG2: translation pages (/ar) — infobox on the left, right-aligned labels */
.sb-translation[dir="rtl"] .sb-infobox { float: left; margin: 0 0 1em 1.4em; }
.sb-translation[dir="rtl"] .sb-infobox th { text-align: right; }