
/* BLOG_PREMIUM_START */
html.blog-page,
html.blog-detail {
  --bp-ink: #0f1f1d;
  --bp-muted: #4a5c59;
  --bp-line: rgba(15, 31, 29, 0.1);
  --bp-soft: #eef5f4;
  --bp-paper: #f7faf9;
  --bp-deep: #057a73;
  --bp-deep-ink: #034e4a;
}

html.blog-page body,
html.blog-detail body {
  font-family: "Source Sans 3", "Noto Sans Bengali", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(5, 122, 115, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(10, 143, 150, 0.06), transparent 50%),
    var(--bp-paper) !important;
  color: var(--bp-ink);
}

html.blog-page main.pt-24 {
  padding-top: 6.5rem !important;
  padding-bottom: 5rem !important;
}

html.blog-page main > section:first-of-type {
  margin-bottom: 2.25rem !important;
}

html.blog-page main > section:first-of-type > div {
  text-align: left !important;
  max-width: 72rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 0.25rem;
}

html.blog-page main > section:first-of-type .inline-flex {
  display: none !important;
}

html.blog-page main > section:first-of-type h1 {
  font-family: "Fraunces", "Noto Serif Bengali", Georgia, serif !important;
  font-weight: 650 !important;
  font-size: clamp(2.6rem, 5vw, 4.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  max-width: 14ch;
  margin-bottom: 1rem !important;
  color: var(--bp-ink) !important;
}

html.blog-page main > section:first-of-type h1 .text-gradient {
  background: none !important;
  -webkit-text-fill-color: var(--bp-deep) !important;
  color: var(--bp-deep) !important;
}

html.blog-page main > section:first-of-type p {
  max-width: 38rem;
  font-size: 1.125rem !important;
  line-height: 1.65 !important;
  color: var(--bp-muted) !important;
}

html.blog-page main > section:nth-of-type(2) {
  margin-bottom: 2.5rem !important;
}

html.blog-page main > section:nth-of-type(2) > div {
  max-width: 72rem !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bp-line);
}

html.blog-page main > section:nth-of-type(2) input {
  background: #fff !important;
  border: 1px solid var(--bp-line) !important;
  border-radius: 0.75rem !important;
  height: 2.85rem;
  box-shadow: none !important;
}

html.blog-page main > section:nth-of-type(2) .flex.gap-2.flex-wrap {
  gap: 0.35rem !important;
}

html.blog-page main > section:nth-of-type(2) .flex.gap-2.flex-wrap > div {
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--bp-muted) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.9rem !important;
}

html.blog-page main > section:nth-of-type(2) .flex.gap-2.flex-wrap > div.bg-primary,
html.blog-page main > section:nth-of-type(2) .flex.gap-2.flex-wrap > div[class*="bg-primary"] {
  background: var(--bp-deep) !important;
  color: #fff !important;
  border-color: var(--bp-deep) !important;
}

html.blog-page main > section:nth-of-type(3) > div.grid {
  max-width: 72rem !important;
  gap: 1.5rem !important;
  grid-template-columns: 1fr !important;
}

@media (min-width: 900px) {
  html.blog-page main > section:nth-of-type(3) > div.grid {
    grid-template-columns: repeat(12, 1fr) !important;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child {
    grid-column: 1 / -1;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:not(:first-child) {
    grid-column: span 4;
  }
}

html.blog-page main > section:nth-of-type(3) article {
  background: #fff !important;
  border: 1px solid var(--bp-line) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 1px 0 rgba(15, 31, 29, 0.03) !important;
  backdrop-filter: none !important;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

html.blog-page main > section:nth-of-type(3) article:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 122, 115, 0.35) !important;
  box-shadow: 0 18px 40px -28px rgba(3, 78, 74, 0.45) !important;
}

html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child article {
  display: grid !important;
  grid-template-columns: 1fr;
  min-height: 100%;
}

@media (min-width: 900px) {
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child article {
    grid-template-columns: 1.15fr 1fr;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child .aspect-video {
    aspect-ratio: auto !important;
    min-height: 100%;
    height: 100%;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child .aspect-video img {
    min-height: 320px;
    height: 100%;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child article > div.p-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem !important;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.9rem !important;
  }
  html.blog-page main > section:nth-of-type(3) > div.grid > *:first-child p.text-sm {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    -webkit-line-clamp: 4 !important;
  }
}

html.blog-page main > section:nth-of-type(3) h2 {
  font-family: "Fraunces", "Noto Serif Bengali", Georgia, serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
  color: var(--bp-ink) !important;
}

html.blog-page main > section:nth-of-type(3) .group:hover h2 {
  color: var(--bp-deep) !important;
}

html.blog-page main > section:nth-of-type(3) article .p-6 {
  padding: 1.35rem 1.35rem 1.25rem !important;
}

html.blog-page main > section:nth-of-type(3) article .aspect-video {
  background: linear-gradient(135deg, #dceceb, #f3f7f6);
}

html.blog-page main > section:nth-of-type(3) .text-xs,
html.blog-page main > section:nth-of-type(3) .text-sm {
  color: var(--bp-muted) !important;
}

html.blog-page main > section:nth-of-type(3) .text-primary {
  color: var(--bp-deep) !important;
  font-weight: 650 !important;
}

.bp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bp-deep);
}
.bp-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--bp-deep);
}

html.blog-detail main.pt-24 {
  padding-top: 5.5rem !important;
  padding-bottom: 5rem !important;
}

html.blog-detail main > article {
  max-width: 46rem !important;
  position: relative;
}

html.blog-detail .bp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--bp-deep), #0a8f96);
  transition: width 0.05s linear;
}

html.blog-detail main > article > div.mb-8 h1 {
  font-family: "Fraunces", "Noto Serif Bengali", Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: var(--bp-ink) !important;
  margin-bottom: 1rem !important;
}

html.blog-detail main > article > div.mb-8 > p.text-lg {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  color: var(--bp-muted) !important;
}

html.blog-detail main > article .aspect-video {
  border-radius: 1.35rem !important;
  border: none !important;
  box-shadow: 0 24px 50px -34px rgba(3, 78, 74, 0.55);
  margin-bottom: 2.5rem !important;
}

html.blog-detail .prose {
  font-size: 1.125rem !important;
  line-height: 1.85 !important;
  color: #243330 !important;
}

html.blog-detail .prose h2,
html.blog-detail .prose h3 {
  font-family: "Fraunces", "Noto Serif Bengali", Georgia, serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  color: var(--bp-ink) !important;
  margin-top: 2.4rem !important;
}

html.blog-detail .prose p {
  margin-top: 1.15rem !important;
  margin-bottom: 1.15rem !important;
}

html.blog-detail .prose a {
  color: var(--bp-deep) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.blog-detail .prose blockquote {
  border-left: 3px solid var(--bp-deep) !important;
  background: var(--bp-soft);
  padding: 1rem 1.25rem !important;
  border-radius: 0 0.75rem 0.75rem 0;
  color: var(--bp-ink) !important;
  font-style: normal !important;
}

html.blog-detail .bp-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bp-line);
}

html.blog-detail .bp-share span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-muted);
  margin-right: 0.35rem;
}

html.blog-detail .bp-share a,
html.blog-detail .bp-share button {
  appearance: none;
  border: 1px solid var(--bp-line);
  background: #fff;
  color: var(--bp-ink);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

html.blog-detail .bp-share a:hover,
html.blog-detail .bp-share button:hover {
  border-color: var(--bp-deep);
  color: var(--bp-deep);
  background: var(--bp-soft);
}

html.blog-detail .bp-cta {
  margin-top: 2.75rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(5, 122, 115, 0.1), rgba(10, 143, 150, 0.05)),
    #fff;
  border: 1px solid rgba(5, 122, 115, 0.18);
}

html.blog-detail .bp-cta h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--bp-ink);
  margin: 0 0 0.5rem;
}

html.blog-detail .bp-cta p {
  color: var(--bp-muted);
  margin: 0 0 1.1rem;
  line-height: 1.6;
  max-width: 36rem;
}

html.blog-detail .bp-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bp-deep);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

html.blog-detail .bp-cta a:hover {
  background: var(--bp-deep-ink);
  transform: translateY(-1px);
}

html.blog-detail .bp-toc {
  display: none;
}

@media (min-width: 1200px) {
  html.blog-detail .bp-toc {
    display: block;
    position: fixed;
    top: 8rem;
    right: max(1.25rem, calc(50vw - 40rem));
    width: 12.5rem;
    font-size: 0.82rem;
    color: var(--bp-muted);
  }
  html.blog-detail .bp-toc strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bp-ink);
    margin-bottom: 0.7rem;
  }
  html.blog-detail .bp-toc a {
    display: block;
    padding: 0.3rem 0 0.3rem 0.75rem;
    border-left: 2px solid var(--bp-line);
    color: inherit;
    text-decoration: none;
    line-height: 1.35;
  }
  html.blog-detail .bp-toc a:hover,
  html.blog-detail .bp-toc a.active {
    border-left-color: var(--bp-deep);
    color: var(--bp-deep);
  }
}

@keyframes bp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
html.blog-page main > section:first-of-type,
html.blog-detail main > article > div.mb-8 {
  animation: bp-rise 0.7s ease both;
}
html.blog-page main > section:nth-of-type(3) > div.grid > * {
  animation: bp-rise 0.65s ease both;
}
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(1) { animation-delay: 0.05s; }
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(2) { animation-delay: 0.12s; }
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(3) { animation-delay: 0.18s; }
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(4) { animation-delay: 0.24s; }
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(5) { animation-delay: 0.3s; }
html.blog-page main > section:nth-of-type(3) > div.grid > *:nth-child(6) { animation-delay: 0.36s; }
/* BLOG_PREMIUM_END */
