/**
 * Blog — index, archives, search and single posts.
 * Enqueued only on those views (see functions.php).
 */

/* ── Hero ───────────────────────────────────────────────── */
.blog-hero .gps-crumbs { margin-bottom: 14px; }
.gps-crumbs ol {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  list-style: none; margin: 0; padding: 0; font-size: .86rem;
}
.gps-crumbs li { display: inline-flex; align-items: center; }
.gps-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .55; }
.gps-crumbs a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.gps-crumbs a:hover { color: var(--gold); }
.gps-crumbs [aria-current="page"] { opacity: .85; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.blog-hero__intro { max-width: 62ch; margin: 14px auto 0; opacity: .92; font-size: clamp(.95rem, 1.4vw, 1.08rem); }
.blog-hero__cat { margin: 0 0 12px; }
.blog-hero__cat a {
  display: inline-block; background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px;
  font: 800 .72rem/1.4 var(--font-display); text-transform: uppercase; letter-spacing: .1em;
}
.blog-hero__cat a:hover { background: var(--mint); color: var(--ink); }
.blog-hero--single h1 { max-width: 22ch; margin-inline: auto; }
.blog-hero h1 span { color: var(--gold); }

.post-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px;
  margin: 16px 0 0; font-size: .9rem; opacity: .92;
}
.post-meta a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* ── Layout ─────────────────────────────────────────────── */
.blog-main { padding-block: clamp(36px, 6vw, 72px); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 50px); }
.blog-layout.has-sidebar { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); }
@media (max-width: 900px) {
  .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); }
}

/* ── Card grid ──────────────────────────────────────────── */
.post-grid {
  display: grid; gap: clamp(18px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.blog-modern .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .blog-modern .post-grid { grid-template-columns: minmax(0, 1fr); } }

.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e3eaf6; border-radius: 14px;
  overflow: hidden; box-shadow: 0 4px 18px rgba(30, 64, 175, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30, 64, 175, .16); }

.post-card__media-wrap { position: relative; }
.post-card__media { display: block; aspect-ratio: 16 / 7.6; background: #eaf1fd; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dbe8ff, #eef4ff); }

.post-card__date {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: flex; align-items: center; gap: 8px; max-width: 110px;
  background: #fff; color: #1b2a4a; border-radius: 10px; padding: 7px 11px;
  font: 600 .76rem/1.2 var(--font-body); box-shadow: 0 4px 12px rgba(15, 23, 42, .15);
}
.post-card__date svg { flex: none; color: #1e3a8a; }

.post-card__cat {
  position: absolute; left: 12px; bottom: -13px; z-index: 1;
  display: inline-block; padding: 5px 13px; border-radius: 8px;
  font: 700 .76rem/1.3 var(--font-body); color: #fff !important; background: #2563eb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .18); text-decoration: none;
}
.post-card__cat--0 { background: #2563eb; }
.post-card__cat--1 { background: #22a559; }
.post-card__cat--2 { background: #7c4dde; }
.post-card__cat--3 { background: #f08a1c; }
.post-card__cat--4 { background: #e0457b; }
.post-card__cat--5 { background: #0e9aa7; }
.post-card__cat:hover { filter: brightness(1.08); }

.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 18px 16px; }
.post-card__title { font: 700 clamp(1.02rem, 1.5vw, 1.18rem)/1.35 var(--font-display); margin: 0 0 8px; text-wrap: balance; }
.post-card__title a { color: #0f1d3d; }
.post-card__title a:hover { color: #1d4ed8; }
.post-card__excerpt { color: #4b5873; font-size: .9rem; line-height: 1.55; flex: 1; }
.post-card__excerpt p { margin: 0 0 14px; }

.post-card__footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px;
  padding-top: 12px; border-top: 1px solid #edf1f9;
}
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: .76rem; color: #5b6784; }
.post-card__meta-item { display: inline-flex; align-items: center; gap: 5px; }
.post-card__meta-item + .post-card__meta-item { margin-left: 10px; padding-left: 10px; border-left: 1px solid #d5dcea; }
.post-card__more { font: 700 .82rem var(--font-body); color: #1d4ed8; white-space: nowrap; }
.post-card__more:hover { color: #1e3a8a; }

.blog-empty { text-align: center; padding: clamp(32px, 6vw, 64px) 0; }

/* ── Single post ────────────────────────────────────────── */
.post-single__media { margin: 0 0 clamp(24px, 4vw, 36px); }
.post-single__media img {
  width: 100%; height: auto; display: block;
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.post-single__media figcaption { margin-top: 10px; font-size: .82rem; color: var(--grey); text-align: center; }

.post-single__content { max-width: 72ch; margin-inline: auto; font-size: 1.06rem; line-height: 1.8; }
.post-single__content > * + * { margin-top: 1.1em; }
.post-single__content h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 1.9em 0 .6em; scroll-margin-top: 90px; }
.post-single__content h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.post-single__content a { text-decoration: underline; text-underline-offset: 3px; }
.post-single__content img { max-width: 100%; height: auto; }
.post-single__content pre { overflow-x: auto; background: var(--ink); color: var(--cream); padding: 18px; border-radius: var(--radius-sm); }
.post-single__content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.post-single__content th, .post-single__content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

.page-links { max-width: 72ch; margin: 24px auto 0; display: flex; gap: 8px; flex-wrap: wrap; font-weight: 700; }

.post-single__tags {
  max-width: 72ch; margin: 32px auto 0; padding-top: 20px; border-top: 2px dashed var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.post-single__tags-label { font: 700 .85rem var(--font-display); color: var(--grey); }
.post-single__tags a {
  border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px;
  font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--cream);
}
.post-single__tags a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

/* Author box */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 72ch; margin: 36px auto 0; padding: 20px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
}
.author-box__avatar { border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.author-box__name { font: 800 1.05rem var(--font-display); margin: 0 0 4px; }
.author-box__name a { color: var(--ink); }
.author-box__bio { margin: 0; color: var(--grey); font-size: .94rem; }

/* Prev / next */
.post-navigation { max-width: 72ch; margin: 36px auto 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-navigation .nav-previous a, .post-navigation .nav-next a {
  display: block; height: 100%; padding: 14px 16px; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--cream);
  transition: background .15s, color .15s;
}
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-previous { grid-column: 1; }
.post-navigation a:hover { background: var(--ink); color: var(--cream); }
.post-navigation .nav-subtitle { display: block; font: 700 .75rem var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--violet); }
.post-navigation a:hover .nav-subtitle { color: var(--gold); }
.post-navigation .nav-title { display: block; font-weight: 600; margin-top: 4px; line-height: 1.35; }
@media (max-width: 560px) {
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next, .post-navigation .nav-previous { grid-column: 1; text-align: left; }
}

/* Related posts */
.related-posts { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 2px solid var(--ink); }
.related-posts > h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 22px; }

/* Comments sit in the reading column */
.blog-content .comments-area { max-width: 72ch; margin-inline: auto; }

/* Sidebar (legacy widget area on single posts) */
.blog-layout .widget-area { align-self: start; }
@media (min-width: 901px) { .blog-layout .widget-area { position: sticky; top: 96px; } }

@media (prefers-reduced-motion: reduce) {
  .post-card, .post-navigation a { transition: none; }
  .post-card:hover { transform: none; }
}


/* ==========================================================================
   Modern blog index / archive
   ========================================================================== */
.blog-modern { background: #fff; padding-top: clamp(20px, 3vw, 32px); }
.blog-modern .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 36px); }
@media (max-width: 960px) { .blog-modern .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.blog-hero-modern {
  background: linear-gradient(105deg, #e6efff 0%, #dbe8ff 55%, #c8dcfb 100%);
  position: relative; overflow: hidden;
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
}
.blog-hero-modern::before, .blog-hero-modern::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none;
}
.blog-hero-modern::before { width: 420px; height: 420px; right: -90px; top: -160px; }
.blog-hero-modern::after  { width: 260px; height: 260px; left: 38%; bottom: -170px; }
.blog-hero-modern__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.blog-hero-modern__text { max-width: 560px; }
.blog-hero-modern h1 { font: 800 clamp(2rem, 4.6vw, 3rem)/1.1 var(--font-display); color: #0f1d3d; margin: 0 0 10px; }
.blog-hero-modern__intro { color: #1f2d4d; font-size: clamp(.95rem, 1.4vw, 1.08rem); margin: 0 0 18px; }
.blog-hero-modern__intro p { margin: 0; }
.blog-hero-modern__art { flex: none; width: clamp(220px, 32vw, 380px); }
.blog-hero-modern__art svg { width: 100%; height: auto; display: block; }
@media (max-width: 680px) { .blog-hero-modern__art { display: none; } }

.blog-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: #1f2d4d; }
.blog-crumbs li { display: inline-flex; align-items: center; }
.blog-crumbs li + li::before { content: "\203A"; margin: 0 8px; opacity: .6; }
.blog-crumbs a { display: inline-flex; align-items: center; gap: 5px; color: #1d4ed8; text-decoration: none; font-weight: 500; }
.blog-crumbs a:hover { text-decoration: underline; }
.blog-crumbs [aria-current="page"] { font-weight: 500; }

/* Filter pills */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 6px; }
.blog-filters a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: #fff; color: #1b2a4a; border: 1px solid #e0e8f6;
  font: 600 .82rem/1.2 var(--font-body); text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 64, 175, .06); transition: background .15s, color .15s, transform .15s;
}
.blog-filters a:hover { background: #eef4ff; color: #1d4ed8; transform: translateY(-1px); }
.blog-filters a.is-active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; box-shadow: 0 6px 14px rgba(29, 78, 216, .3); }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; align-self: start; }
@media (min-width: 961px) { .blog-sidebar { position: sticky; top: 96px; } }

.blog-search { position: relative; }
.blog-search input[type="search"] {
  width: 100%; height: 44px; padding: 0 46px 0 16px; border-radius: 12px;
  border: 1px solid #e0e8f6; background: #fff; font: 400 .88rem var(--font-body); color: #0f1d3d;
  box-shadow: 0 2px 8px rgba(30, 64, 175, .05);
}
.blog-search input[type="search"]:focus { outline: 2px solid #2563eb; outline-offset: 1px; }
.blog-search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: transparent; color: #0f1d3d; cursor: pointer; border-radius: 10px; }
.blog-search button:hover { background: #eef4ff; color: #1d4ed8; }

.blog-box { background: #fff; border: 1px solid #e3eaf6; border-radius: 14px; padding: 18px; box-shadow: 0 4px 18px rgba(30, 64, 175, .07); }
.blog-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 1.05rem/1.2 var(--font-display); color: #0f1d3d; text-transform: none; letter-spacing: 0; border: 0; padding: 0; }
.blog-box__title svg { color: #1d4ed8; flex: none; }

.blog-popular__list { list-style: none; margin: 0; padding: 0; }
.blog-popular__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #edf1f9; }
.blog-popular__list li:first-child { border-top: 0; padding-top: 0; }
.blog-popular__list li:last-child { padding-bottom: 0; }
.blog-popular__num { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e6efff; color: #1d4ed8; font: 700 .72rem/22px var(--font-body); text-align: center; }
.blog-popular__thumb { flex: none; width: 52px; height: 42px; border-radius: 8px; overflow: hidden; background: #eaf1fd; }
.blog-popular__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-popular__title { font: 600 .78rem/1.35 var(--font-body); color: #0f1d3d; text-decoration: none; }
.blog-popular__title:hover { color: #1d4ed8; }

.blog-news { background: linear-gradient(160deg, #e3eeff, #d4e4ff); border-color: #cfe0fb; }
.blog-news p { margin: 0 0 14px; color: #2a3a5c; font-size: .84rem; line-height: 1.5; }
.blog-news .blog-news__msg { padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.blog-news__msg.is-ok { background: #dcfce7; color: #166534; }
.blog-news__msg.is-err { background: #fee2e2; color: #991b1b; }
.blog-news__form { display: flex; flex-direction: column; gap: 10px; }
.blog-news__form input[type="email"] { height: 42px; padding: 0 14px; border-radius: 8px; border: 1px solid #cfdcf3; background: #fff; font: 400 .86rem var(--font-body); width: 100%; }
.blog-news__form input[type="email"]:focus { outline: 2px solid #2563eb; outline-offset: 1px; }
.blog-news__form button {
  align-self: flex-end; height: 42px; padding: 0 24px; border: 0; border-radius: 8px;
  background: #1d4ed8; color: #fff; font: 700 .88rem var(--font-body); cursor: pointer;
  box-shadow: 0 6px 14px rgba(29, 78, 216, .3); transition: background .15s, transform .15s;
}
.blog-news__form button:hover { background: #1e40af; transform: translateY(-1px); }

/* Pagination to match */
.blog-modern .pagination a, .blog-modern .pagination span { border: 1px solid #e0e8f6; border-radius: 10px; background: #fff; color: #1b2a4a; }
.blog-modern .pagination .current { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.blog-modern .pagination a:hover { background: #eef4ff; border-color: #bcd0f5; color: #1d4ed8; }


/* ==========================================================================
   Modern single post
   ========================================================================== */
.post-hero { background: linear-gradient(105deg, #f2f7ff 0%, #e6efff 100%); padding: clamp(22px, 3.5vw, 36px) 0 clamp(24px, 4vw, 38px); border-bottom: 1px solid #e3eaf6; }
.post-hero .gps-crumbs { margin-bottom: 14px; }
.post-hero .gps-crumbs ol { justify-content: flex-start; font-size: .84rem; color: #1f2d4d; }
.post-hero .gps-crumbs a { color: #1d4ed8; text-decoration: none; }
.post-hero .gps-crumbs a:hover { text-decoration: underline; }
.post-hero .gps-crumbs li + li::before { content: "\203A"; }
.post-hero__cat { margin: 0 0 10px; }
.post-hero__cat a { display: inline-block; padding: 5px 14px; border-radius: 8px; background: #1d4ed8; color: #fff; font: 700 .76rem/1.3 var(--font-body); text-decoration: none; }
.post-hero__cat a:hover { background: #1e40af; }
.post-hero h1 { font: 800 clamp(1.7rem, 3.8vw, 2.5rem)/1.2 var(--font-display); color: #0f1d3d; max-width: 26ch; text-wrap: balance; margin: 0; }
.post-hero .post-meta { justify-content: flex-start; margin: 14px 0 0; font-size: .86rem; color: #4b5873; opacity: 1; }
.post-hero .post-meta a { color: #1d4ed8; text-decoration: none; font-weight: 600; }

.blog-modern--single { padding-top: clamp(24px, 4vw, 40px); }
.blog-modern--single .post-single__media img { border: 1px solid #e3eaf6; border-radius: 14px; box-shadow: 0 8px 26px rgba(30, 64, 175, .12); }
.blog-modern--single .post-single__content,
.blog-modern--single .post-single__tags,
.blog-modern--single .author-box,
.blog-modern--single .post-navigation,
.blog-modern--single .page-links,
.blog-modern--single .comments-area { max-width: none; margin-inline: 0; }
.blog-modern--single .post-single__content { font-size: 1.02rem; line-height: 1.75; color: #1f2d4d; }
.blog-modern--single .post-single__content h2 { color: #0f1d3d; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 1.7em 0 .5em; }
.blog-modern--single .post-single__content h3 { color: #0f1d3d; }
.blog-modern--single .post-single__content a { color: #1d4ed8; }
.blog-modern--single .post-single__content ul, .blog-modern--single .post-single__content ol { padding-left: 1.3em; }
.blog-modern--single .post-single__content li + li { margin-top: .35em; }
.blog-modern--single .post-single__tags { border-top: 1px solid #edf1f9; }
.blog-modern--single .post-single__tags a { border: 1px solid #d5dcea; background: #fff; color: #1b2a4a; }
.blog-modern--single .post-single__tags a:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.blog-modern--single .author-box { background: #f5f8ff; border: 1px solid #e3eaf6; border-radius: 14px; }
.blog-modern--single .author-box__avatar { border: 0; }
.blog-modern--single .post-navigation .nav-previous a, .blog-modern--single .post-navigation .nav-next a { border: 1px solid #e3eaf6; border-radius: 12px; background: #fff; }
.blog-modern--single .post-navigation a:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.blog-modern--single .post-navigation .nav-subtitle { color: #1d4ed8; }
.blog-modern--single .post-navigation a:hover .nav-subtitle { color: #fff; }

/* Related articles sidebar */
.blog-related .blog-popular__list li { align-items: flex-start; }
.blog-related__thumb { width: 72px; height: 54px; }
.blog-related__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.blog-related__text time { font-size: .72rem; color: #6b7794; }

/* Comments */
.blog-modern--single .comments-area { margin-top: 40px; padding: 22px; background: #fff; border: 1px solid #e3eaf6; border-radius: 14px; box-shadow: 0 4px 18px rgba(30, 64, 175, .06); }
.blog-modern--single .comment-reply-title { font: 700 1.2rem var(--font-display); color: #0f1d3d; margin: 0 0 14px; }
.blog-modern--single .comment-form textarea,
.blog-modern--single .comment-form input[type="text"],
.blog-modern--single .comment-form input[type="email"],
.blog-modern--single .comment-form input[type="url"] { width: 100%; border: 1px solid #d5dcea; border-radius: 10px; padding: 10px 14px; font: 400 .92rem var(--font-body); background: #fff; }
.blog-modern--single .comment-form textarea:focus,
.blog-modern--single .comment-form input:focus { outline: 2px solid #2563eb; outline-offset: 1px; }
.blog-modern--single .comment-form .submit { background: #1d4ed8; color: #fff; border: 0; border-radius: 10px; padding: 11px 26px; font: 700 .9rem var(--font-body); cursor: pointer; box-shadow: 0 6px 14px rgba(29, 78, 216, .3); }
.blog-modern--single .comment-form .submit:hover { background: #1e40af; }


/* Category list box */
.blog-cats__list { list-style: none; margin: 0; padding: 0; }
.blog-cats__list li + li { border-top: 1px solid #edf1f9; }
.blog-cats__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 8px; border-radius: 8px; color: #0f1d3d; font: 600 .86rem/1.3 var(--font-body); text-decoration: none; transition: background .15s, color .15s; }
.blog-cats__list a:hover { background: #eef4ff; color: #1d4ed8; }
.blog-cats__list em { font: 700 .72rem/1 var(--font-body); font-style: normal; min-width: 24px; text-align: center; padding: 4px 8px; border-radius: 999px; background: #e6efff; color: #1d4ed8; }
.blog-cats__list .is-current a { background: #1d4ed8; color: #fff; }
.blog-cats__list .is-current em { background: rgba(255, 255, 255, .22); color: #fff; }


/* ==========================================================================
   Language (Bangla / English)
   ========================================================================== */
[lang="bn"], [lang="bn"] h1, [lang="bn"] h2, [lang="bn"] h3, [lang="bn"] .post-card__title,
.blog-lang a[lang="bn"], .post-card__lang--bangla {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Kalpurush', var(--font-body);
}
[lang="bn"] .post-card__excerpt, [lang="bn"].post-single .post-single__content { line-height: 1.85; }

.blog-lang { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 0 14px; }
.blog-lang__label { font: 600 .82rem var(--font-body); color: #4b5873; margin-right: 4px; }
.blog-lang a {
  display: inline-block; padding: 6px 16px; border-radius: 8px;
  background: #fff; border: 1px solid #d5dcea; color: #1b2a4a;
  font: 600 .82rem/1.2 var(--font-body); text-decoration: none; transition: background .15s, color .15s;
}
.blog-lang a:hover { background: #eef4ff; color: #1d4ed8; }
.blog-lang a.is-active { background: #0f1d3d; border-color: #0f1d3d; color: #fff; }

.post-card__lang {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 999px; background: rgba(15, 29, 61, .82); color: #fff;
  font: 700 .7rem/1.2 var(--font-body); letter-spacing: .03em; backdrop-filter: blur(4px);
}
.post-card__lang--bangla { background: rgba(22, 130, 70, .9); }

.post-hero .post-meta__lang { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #0f1d3d; color: #fff; font-size: .78rem; }
.post-hero .post-meta__lang:hover { background: #1d4ed8; }
