/* Pixel Suggest advert — extracted from the advert's inline <style>.
   Inline it was 8.5KB re-sent on every page view and twice on the
   homepage, where the advert appears in two slots. As a file it is
   fetched and cached once. The @import was dropped: functions.php
   already loads Anek Bangla and Hind Siliguri, which the font stack
   below falls back to. */
.ps-ad-wrap-bn {
  --ps-red: #E0312C;
  --ps-green: #1FA13B;
  --ps-blue: #2A4DEA;
  --ps-yellow: #F4C430;
  --ps-violet: #9333EA;
  --ps-cyan: #06B6D4;
  --ps-ink: #111111;
  --ps-paper: #FFFFFF;
  --ps-paper-2: #FAFAFA;
  --ps-muted: #6B7280;
  --ps-line: #ECECEC;
  --ps-panel: #0A0A0A;

  container-type: inline-size;
  container-name: psadbn;
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 24px auto;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi', system-ui, sans-serif;
  color: var(--ps-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ps-ad-wrap-bn *,
.ps-ad-wrap-bn *::before,
.ps-ad-wrap-bn *::after { box-sizing: border-box; }

.ps-ad-bn {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: var(--ps-paper);
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ps-ad-bn:hover {
  transform: translateY(-2px);
  border-color: #d8d8d8;
  box-shadow: 0 22px 44px -22px rgba(17,17,17,.28);
}
.ps-ad-bn:focus-visible { outline: 3px solid var(--ps-blue); outline-offset: 3px; }

/* ===== Brand panel ===== */
.ps-ad-bn__brand {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--ps-panel);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 220px;
}
.ps-ad-bn__brand-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
/* Soft pulsing radial glow */
.ps-ad-bn__glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 45%,
    rgba(255, 100, 100, .22) 0%,
    rgba(60, 100, 230, .12) 30%,
    transparent 60%);
  animation: psGlow 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes psGlow {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50%      { opacity: 1;   transform: scale(1.04); }
}
.ps-ad-bn__icon {
  position: relative;
  width: 80px; height: 80px;
  display: block;
  flex-shrink: 0;
  animation: psSpin 90s linear infinite;
  mix-blend-mode: lighten;
}
@keyframes psSpin {
  to { transform: rotate(360deg); }
}
.ps-ad-bn__text-logo {
  position: relative;
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}

/* Brand-color divider that anchors the lockup to the tagline below */
.ps-ad-bn__brand-rule {
  position: relative;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  opacity: .9;
}
/* English brand tagline — sits with the mark, complements the Bengali headline */
.ps-ad-bn__brand-tagline {
  position: relative;
  font-family: 'Space Grotesk', 'Inter', 'Anek Bangla', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  line-height: 1;
}
.ps-ad-bn__brand-foot {
  position: relative;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}
.ps-ad-bn__brand-foot strong {
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

/* ===== Content panel ===== */
.ps-ad-bn__content {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.ps-ad-bn__eyebrow {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ps-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-ad-bn__eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ps-green);
  box-shadow: 0 0 0 3px rgba(31,161,59,.18);
  flex-shrink: 0;
}
.ps-ad-bn__headline {
  margin: 2px 0 0;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ps-ink);
}
.ps-ad-bn__headline em {
  font-style: normal;
  color: var(--ps-red);
}
.ps-ad-bn__sub {
  margin: 0;
  font-size: 14px;
  color: var(--ps-muted);
  line-height: 1.55;
  font-weight: 400;
}
.ps-ad-bn__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 2px;
}
.ps-ad-bn__chips span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ps-paper-2);
  border: 1px solid var(--ps-line);
  color: var(--ps-ink);
  line-height: 1.4;
}
.ps-ad-bn__chips span:nth-child(1) { border-color: rgba(224,49,44,.25); color: var(--ps-red); }
.ps-ad-bn__chips span:nth-child(2) { border-color: rgba(31,161,59,.25); color: var(--ps-green); }
.ps-ad-bn__chips span:nth-child(3) { border-color: rgba(42,77,234,.25); color: var(--ps-blue); }
.ps-ad-bn__chips span:nth-child(4) { border-color: rgba(147,51,234,.25); color: var(--ps-violet); }
.ps-ad-bn__chips span:nth-child(5) { border-color: rgba(6,182,212,.30); color: var(--ps-cyan); }
.ps-ad-bn__chips span:nth-child(6) { border-color: rgba(236,72,153,.28); color: var(--ps-pink); }

.ps-ad-bn__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--ps-line);
}
.ps-ad-bn__stat b {
  display: block;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.ps-ad-bn__stat:nth-child(1) b { color: var(--ps-red); }
.ps-ad-bn__stat:nth-child(2) b { color: var(--ps-green); }
.ps-ad-bn__stat:nth-child(3) b { color: var(--ps-blue); }
.ps-ad-bn__stat:nth-child(4) b { color: #B8860B; }
.ps-ad-bn__stat small {
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ps-muted);
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

.ps-ad-bn__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.ps-ad-bn__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ps-ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  transition: gap .2s ease, background .2s ease, padding-right .2s ease;
  white-space: nowrap;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
}
.ps-ad-bn:hover .ps-ad-bn__cta { gap: 12px; padding-right: 24px; background: var(--ps-green); }
.ps-ad-bn__cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ps-ad-bn:hover .ps-ad-bn__cta svg { transform: translateX(2px); }

.ps-ad-bn__fine {
  font-size: 11px;
  color: var(--ps-muted);
  line-height: 1.4;
  text-align: right;
}
.ps-ad-bn__fine strong { color: var(--ps-ink); font-weight: 600; }

/* ===== Narrow container — sidebar / mobile ===== */
@container psadbn (max-width: 540px) {
  .ps-ad-bn__brand-rule { width: 36px; height: 2px; }
  .ps-ad-bn__brand-tagline { font-size: 10px; letter-spacing: .22em; }
}
@container psadbn (max-width: 540px) {
  .ps-ad-bn { grid-template-columns: 1fr; }
  .ps-ad-bn__brand {
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 22px 22px 18px;
    gap: 12px;
  }
  .ps-ad-bn__brand-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
  }
  .ps-ad-bn__icon { width: 70px; height: 70px; }
  .ps-ad-bn__text-logo { width: 140px; }
  .ps-ad-bn__brand-foot { text-align: center; }
  .ps-ad-bn__content { padding: 20px 22px 22px; gap: 12px; }
  .ps-ad-bn__headline { font-size: 26px; }
}
@container psadbn (max-width: 380px) {
  .ps-ad-bn__icon { width: 58px; height: 58px; }
  .ps-ad-bn__text-logo { width: 120px; }
  .ps-ad-bn__stats { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  .ps-ad-bn__cta-row { flex-direction: column; align-items: stretch; }
  .ps-ad-bn__cta { justify-content: center; }
  .ps-ad-bn__fine { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-ad-bn, .ps-ad-bn__cta, .ps-ad-bn__cta svg { transition: none !important; }
  .ps-ad-bn:hover { transform: none; }
  .ps-ad-bn__icon, .ps-ad-bn__glow { animation: none !important; }
}
