.blog-detail-page .site-header {
  position: relative;
  background: #18213e;
}

.blog-detail-page .site-header.is-sticky {
  position: fixed;
  background: rgba(24, 33, 62, 0.98);
}

.blog-detail-page .site-header + .fp-breadcrumb {
  margin-top: 0;
}

/* ------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------ */
.bd-section {
  padding: 2.25rem 0 2.75rem;
}

.bd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .bd-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 2.75rem;
    align-items: start;
  }
}

/* ------------------------------------------------------------------
   Article head
   ------------------------------------------------------------------ */
.bd-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  color: #18213e;
}

.bd-meta {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.bd-meta span {
  margin: 0 0.3rem;
  color: #b3b9c2;
}

.bd-meta a {
  color: #6b7280;
  text-decoration: underline;
}

/* Audio player ---------------------------------------------------- */
.bd-audio {
  padding: 0.85rem 1.1rem 0.7rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: 1px solid #e3e7ec;
}

.bd-audio__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bd-audio__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  font-size: calc(1.1rem + 2px);
  color: #18213e;
  background: transparent;
  border: 1.5px solid #18213e;
  border-radius: 50%;
}

.bd-audio__play:hover {
  color: #ffffff;
  background: #18213e;
}

.bd-audio__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #18213e;
}

.bd-audio__length {
  font-size: 0.82rem;
  color: #8a93a1;
}

.bd-audio__track {
  height: 3px;
  margin: 0.75rem 0 0.55rem;
  background: #e3e7ec;
}

.bd-audio__progress {
  display: block;
  width: 12%;
  height: 100%;
  background: #24bad5;
}

.bd-audio__row--foot {
  gap: 0.5rem;
}

.bd-audio__time {
  font-size: 0.78rem;
  color: #8a93a1;
}

.bd-audio__tools {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.bd-audio__tools button {
  padding: 0;
  font-size: 0.95rem;
  color: #6b7280;
  background: transparent;
  border: 0;
}

.bd-audio__tools button:hover {
  color: #18213e;
}

/* Hero image ------------------------------------------------------ */
.bd-hero {
  margin: 0 0 1.75rem;
}

.bd-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Article body
   ------------------------------------------------------------------ */
.bd-content h2 {
  margin: 2rem 0 0.85rem;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #18213e;
}

.bd-content h2:first-child {
  margin-top: 0;
}

.bd-content p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.85;
  color: #2f3642;
}

.bd-content ul {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
}

.bd-content li {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #2f3642;
}

/* Share ----------------------------------------------------------- */
.bd-share {
  margin-top: 2rem;
}

.bd-share__label {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a4250;
}

.bd-share__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.bd-share__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  color: #29b6d8;
}

.bd-share__list a:hover {
  color: #1aa7c1;
}

.bd-share__list .bd-share__x {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.95rem;
  color: #ffffff;
  background: #29b6d8;
  border-radius: 50%;
}

.bd-share__list .bd-share__x:hover {
  color: #ffffff;
  background: #1aa7c1;
}

/* ------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------ */
@media (min-width: 992px) {
  .bd-sidebar {
    align-self: stretch;
    padding-left: 2.5rem;
    border-left: 6px solid #24bad5;
  }
}

.bd-sep {
  height: 1px;
  margin: 0 0 1.5rem;
  background: #dfe5eb;
  border: 0;
  opacity: 1;
}

.video-detail-page .bd-sep {
  margin: 1.5rem 0;
  background: #b8c0ca;
}

.bd-promo {
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1.75rem;
  background: #18213e;
  border-radius: 10px;
}

.bd-promo__title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #24bad5;
}

.bd-promo__text {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffffff;
}

.bd-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 6px;
  text-decoration: none;
}

.bd-promo__link i {
  font-size: 1.25rem;
  color: #24bad5;
}

.bd-promo__link:hover {
  color: #18213e;
  background: #ffffff;
}

.bd-promo__link:hover i {
  color: #18213e;
}

/* Post lists ------------------------------------------------------ */
.bd-posts {
  margin-bottom: 1.75rem;
}

.bd-posts__title {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #18213e;
}

.bd-posts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bd-posts__list li {
  margin-bottom: 1.05rem;
}

.bd-posts__list a {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #18213e;
  text-decoration: none;
}

.bd-posts__list a:hover {
  color: #24bad5;
}

.bd-posts__meta {
  display: block;
  font-size: 0.8rem;
  color: #8a93a1;
}

/* Sticky CTA cards ------------------------------------------------ */
.bd-cta {
  padding: 1.35rem;
  margin-bottom: 1.15rem;
  background: #18213e;
  border-radius: 10px;
}

.bd-cta__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #24bad5;
}

.bd-cta__text {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #ffffff;
}

.bd-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: #24bad5;
  border-radius: 6px;
  text-decoration: none;
}

.bd-cta__btn:hover {
  color: #ffffff;
  background: #1aa7c1;
}

/* ------------------------------------------------------------------
   About the author
   ------------------------------------------------------------------ */
.bd-author {
  padding: 2.5rem 0;
  background: #bfe8f2;
}

.bd-author__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  justify-content: start;
}

@media (min-width: 768px) {
  .bd-author__grid {
    grid-template-columns: minmax(0, 26rem) 16rem;
    gap: 2rem;
  }
}

.bd-author__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #18213e;
}

.bd-author__text {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.95;
  color: #2f3642;
}

.bd-author__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  min-height: 2.5rem;
  padding: 0.5rem calc(1.5rem + 4px);
  font-size: 0.95rem;
  font-weight: 700;
  color: #18213e;
  background: #4cc5da;
  border-radius: 4px;
  text-decoration: none;
}

.bd-author__btn:hover {
  color: #18213e;
  background: #35b9d1;
}

.bd-author__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 767.98px) {
  .bd-section {
    padding: 1.5rem 0 2rem;
  }

  .bd-author {
    padding: 1.75rem 0;
  }

  .bd-audio__tools {
    gap: 0.9rem;
  }
}
