/* =============================================================
   Bright Companion — Single post (blog details)
   Elegant editorial layout. Uses brand CSS variables from :root.
   ============================================================= */

.bc-single {
  --bc-radius-card: 18px;
  --bc-radius-pill: 999px;
  --bc-shadow-soft: 0 4px 14px rgba(15, 42, 71, 0.06);
  --bc-shadow-card: 0 18px 40px rgba(15, 42, 71, 0.10);
  --bc-shadow-hero: 0 30px 80px -20px rgba(15, 42, 71, 0.28);
  --bc-side-w: 320px;
  --bc-share-w: 56px;
  --bc-prose-max: 68ch;
  color: var(--bc-charcoal);
  background: #fff;
  position: relative;
}

/* ---------- Reading progress bar ---------- */
.bc-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.bc-reading-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bc-teal) 0%, var(--bc-sun) 100%);
  box-shadow: 0 0 12px rgba(43, 181, 196, 0.45);
  transition: width 0.08s ease-out;
  transform-origin: left center;
}

/* ---------- Hero band ---------- */
.bc-single__hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(43, 181, 196, 0.10), transparent 60%),
    radial-gradient(700px 340px at 100% 0%, rgba(244, 169, 60, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bc-cream) 0%, #ffffff 100%);
  overflow: hidden;
  text-align: center;
}
.bc-single__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 42, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 71, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at top, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 0%, transparent 70%);
  pointer-events: none;
}
.bc-single__hero-inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.bc-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--bc-grey);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.bc-breadcrumb a {
  color: var(--bc-grey);
  text-decoration: none;
  transition: color 0.18s ease;
  position: relative;
}
.bc-breadcrumb a:hover { color: var(--bc-teal); }
.bc-breadcrumb span { color: #B6BCC6; font-weight: 700; }

.bc-single__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border-radius: var(--bc-radius-pill);
  background: rgba(43, 181, 196, 0.10);
  color: var(--bc-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(43, 181, 196, 0.18);
  transition: all 0.2s ease;
}
.bc-single__eyebrow:hover {
  background: rgba(43, 181, 196, 0.18);
  color: var(--bc-teal);
  transform: translateY(-1px);
}
.bc-single__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bc-teal);
  box-shadow: 0 0 0 4px rgba(43, 181, 196, 0.18);
}

.bc-single__title {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--bc-navy);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 auto 1.25rem;
  max-width: 22ch;
  text-wrap: balance;
}

.bc-single__deck {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--bc-grey);
  max-width: 58ch;
  margin: 0 auto 2rem;
  text-wrap: pretty;
}

.bc-single__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  color: var(--bc-grey);
  font-size: 0.9rem;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(15, 42, 71, 0.04);
}
.bc-single__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.bc-single__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(15, 42, 71, 0.12);
}
.bc-single__author-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.bc-single__author-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bc-grey);
}
.bc-single__author-name { color: var(--bc-navy); font-weight: 600; font-size: 0.9rem; }
.bc-single__meta-rule {
  width: 1px;
  height: 16px;
  background: var(--bc-line);
  display: inline-block;
}
.bc-single__date,
.bc-single__read {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--bc-navy);
}
.bc-single__date svg, .bc-single__read svg { color: var(--bc-teal); flex-shrink: 0; }

/* ---------- Featured thumb (cinematic) ---------- */
.bc-single__thumb {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem) 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, transparent 50%, transparent 100%);
}
.bc-single__thumb-frame {
  position: relative;
  border-radius: var(--bc-radius-card);
  overflow: hidden;
  box-shadow: var(--bc-shadow-hero);
  background: #E8EDF3;
  aspect-ratio: 16 / 8;
  max-height: 600px;
}
.bc-single__thumb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(15, 42, 71, 0.18) 100%);
  pointer-events: none;
}
.bc-single__thumb-img,
.bc-single__thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bc-single__thumb-caption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--bc-grey);
  text-align: center;
  font-style: italic;
  font-family: "Playfair Display", Georgia, serif;
}

/* ---------- Body + sidebar grid ---------- */
.bc-single__body {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  position: relative;
}
.bc-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  position: relative;
}
@media (min-width: 1024px) {
  .bc-single__grid {
    grid-template-columns: minmax(0, 1fr) var(--bc-side-w);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Article ---------- */
.bc-single__article {
  min-width: 0;
  position: relative;
  margin-inline: auto;
  max-width: 760px;
}
@media (min-width: 1024px) {
  .bc-single__article { margin-inline: 0; }
}

/* ---------- Floating share rail (desktop) ---------- */
.bc-share-rail {
  display: none;
}
@media (min-width: 1280px) {
  .bc-share-rail {
    position: absolute;
    top: 0.5rem;
    left: calc(-1 * (var(--bc-share-w) + 32px));
    width: var(--bc-share-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.5rem;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius-pill);
    box-shadow: var(--bc-shadow-soft);
  }
  .bc-share-rail__label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--bc-navy);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 0.25rem;
  }
  .bc-share-rail__line {
    width: 18px;
    height: 1px;
    background: var(--bc-line);
    margin: 0.1rem 0 0.3rem;
  }
}

.bc-share-rail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F6F9;
  color: var(--bc-navy);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bc-share-rail__btn:hover {
  background: var(--bc-navy);
  color: #fff;
  transform: translateY(-2px);
}
.bc-share-rail__copy.is-copied {
  background: rgba(43, 181, 196, 0.18);
  color: var(--bc-teal);
  transform: scale(1.05);
}

/* ---------- Article prose ---------- */
.bc-single__prose {
  max-width: var(--bc-prose-max);
  font-size: 1.075rem;
  line-height: 1.78;
  color: var(--bc-charcoal);
  margin-inline: auto;
}
.bc-single__prose > * + * { margin-top: 1.15rem; }
.bc-single__prose p { margin: 0 0 1.15rem; }
.bc-single__prose > p:first-child::first-letter,
.bc-single__prose > p:first-of-type::first-letter {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2rem;
  line-height: 0.95;
  float: left;
  padding: 0.4rem 0.7rem 0 0;
  color: var(--bc-navy);
  font-weight: 700;
  background: linear-gradient(180deg, var(--bc-navy) 0%, #1B4068 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bc-single__prose h2,
.bc-single__prose h3,
.bc-single__prose h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--bc-navy);
  letter-spacing: -0.012em;
  font-weight: 600;
  scroll-margin-top: 96px;
}
.bc-single__prose h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.22;
  margin: 2.75rem 0 0.9rem;
  position: relative;
  padding-top: 0.5rem;
}
.bc-single__prose h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--bc-teal) 0%, var(--bc-sun) 100%);
  border-radius: 3px;
  margin-bottom: 1rem;
}
.bc-single__prose h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.3;
  margin: 2.25rem 0 0.7rem;
}
.bc-single__prose h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 1.75rem 0 0.6rem;
}
.bc-single__prose h2 + p,
.bc-single__prose h3 + p,
.bc-single__prose h4 + p { margin-top: 0; }

.bc-single__prose a {
  color: var(--bc-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.bc-single__prose a:hover {
  color: #1A7E89;
  text-decoration-thickness: 2px;
}

.bc-single__prose strong { color: var(--bc-navy); font-weight: 700; }
.bc-single__prose em { color: var(--bc-charcoal); }

.bc-single__prose img,
.bc-single__prose .wp-block-image img {
  border-radius: 14px;
  margin: 2rem 0;
  box-shadow: var(--bc-shadow-card);
  max-width: 100%;
  height: auto;
}
.bc-single__prose figure { margin: 2rem 0; }
.bc-single__prose figcaption {
  font-size: 0.85rem;
  color: var(--bc-grey);
  text-align: center;
  margin-top: 0.6rem;
  font-style: italic;
  font-family: "Playfair Display", Georgia, serif;
}

/* Elegant blockquote with quote ornament */
.bc-single__prose blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(135deg, var(--bc-cream) 0%, #FFFEF9 100%);
  border-radius: 16px;
  border-left: 3px solid var(--bc-sun);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--bc-navy);
}
.bc-single__prose blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--bc-sun);
  opacity: 0.4;
  font-style: normal;
}
.bc-single__prose blockquote p { margin: 0; position: relative; }
.bc-single__prose blockquote p + p { margin-top: 0.6rem; }
.bc-single__prose blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--bc-grey);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bc-single__prose blockquote cite::before { content: "— "; }

.bc-single__prose ul,
.bc-single__prose ol {
  margin: 0 0 1.25rem;
  padding-left: 0;
}
.bc-single__prose ul { list-style: none; }
.bc-single__prose ul li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.6rem;
}
.bc-single__prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bc-teal);
  box-shadow: 0 0 0 4px rgba(43, 181, 196, 0.15);
}
.bc-single__prose ol { padding-left: 1.5rem; }
.bc-single__prose ol li { margin-bottom: 0.6rem; padding-left: 0.5rem; }
.bc-single__prose ol li::marker {
  color: var(--bc-teal);
  font-weight: 700;
}

.bc-single__prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bc-line), transparent);
  margin: 3rem 0;
}

.bc-single__prose code {
  background: var(--bc-cream);
  border: 1px solid #F0E2C8;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.88em;
  color: #875517;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.bc-single__prose pre {
  background: var(--bc-navy);
  color: #E8EDF3;
  padding: 1.4rem;
  border-radius: 14px;
  overflow-x: auto;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  box-shadow: var(--bc-shadow-card);
}
.bc-single__prose pre code {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
}

.bc-single__prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bc-shadow-soft);
}
.bc-single__prose th {
  background: var(--bc-navy);
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bc-single__prose td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--bc-line);
}
.bc-single__prose tr:nth-child(even) td { background: var(--bc-cream); }

/* Ornament divider */
.bc-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 3rem auto 2.5rem;
  max-width: var(--bc-prose-max);
}
.bc-ornament span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bc-line);
}
.bc-ornament span:nth-child(2) {
  background: var(--bc-sun);
  width: 8px;
  height: 8px;
}

/* Tags */
.bc-single__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  max-width: var(--bc-prose-max);
}
.bc-single__tags-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bc-navy);
  margin-right: 0.5rem;
}
.bc-single__tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bc-single__tags a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-pill);
  font-size: 0.82rem;
  color: var(--bc-navy);
  text-decoration: none;
  transition: all 0.2s ease;
}
.bc-single__tags a:hover {
  background: var(--bc-navy);
  color: #fff;
  border-color: var(--bc-navy);
  transform: translateY(-1px);
}

/* Mobile share row */
.bc-single__share-mobile {
  margin: 2.5rem auto;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bc-cream) 0%, #ffffff 100%);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-card);
  text-align: center;
  max-width: var(--bc-prose-max);
}
.bc-single__share-mobile-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bc-navy);
  margin-bottom: 0.85rem;
}
.bc-single__share-mobile-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
@media (min-width: 1280px) {
  .bc-single__share-mobile { display: none; }
}

/* Author signature card */
.bc-author-card {
  position: relative;
  margin: 2.5rem auto;
  padding: 2rem 2rem 2rem 2.25rem;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(43, 181, 196, 0.08), transparent 70%),
    linear-gradient(160deg, var(--bc-cream) 0%, #FFFEF9 60%, #ffffff 100%);
  border: 1px solid #F0E2C8;
  border-radius: var(--bc-radius-card);
  overflow: hidden;
  max-width: var(--bc-prose-max);
}
.bc-author-card__quote {
  position: absolute;
  top: -1.5rem;
  right: 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--bc-sun);
  opacity: 0.18;
  pointer-events: none;
}
.bc-author-card__inner {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  position: relative;
}
@media (min-width: 640px) {
  .bc-author-card__inner { flex-direction: row; align-items: flex-start; }
}
.bc-author-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(15, 42, 71, 0.12);
  flex: 0 0 88px;
}
.bc-author-card__body { flex: 1; min-width: 0; }
.bc-author-card__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bc-sun);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}
.bc-author-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: var(--bc-navy);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.bc-author-card__bio {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--bc-grey);
}
.bc-author-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bc-teal);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.bc-author-card__link:hover { gap: 0.6rem; color: #1A7E89; }

/* Post nav */
.bc-single__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2.5rem auto 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--bc-line);
  max-width: var(--bc-prose-max);
}
@media (min-width: 640px) {
  .bc-single__nav { grid-template-columns: 1fr 1fr; }
}
.bc-single__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.bc-single__nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bc-teal), var(--bc-sun));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.bc-single__nav-link:hover {
  border-color: rgba(43, 181, 196, 0.4);
  box-shadow: var(--bc-shadow-card);
  transform: translateY(-2px);
}
.bc-single__nav-link:hover::before { transform: scaleX(1); }
.bc-single__nav-link--next { text-align: right; }
.bc-single__nav-link--next::before { transform-origin: right center; }
.bc-single__nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bc-teal);
  font-weight: 700;
}
.bc-single__nav-link--next .bc-single__nav-dir { justify-content: flex-end; }
.bc-single__nav-title {
  color: var(--bc-navy);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  font-family: "Playfair Display", Georgia, serif;
}

/* ---------- Sidebar ---------- */
.bc-single__sidebar { min-width: 0; }
@media (min-width: 1024px) {
  .bc-single__sidebar-inner {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 4px;
  }
  .bc-single__sidebar-inner::-webkit-scrollbar { width: 5px; }
  .bc-single__sidebar-inner::-webkit-scrollbar-thumb { background: var(--bc-line); border-radius: 3px; }
  .bc-single__sidebar-inner::-webkit-scrollbar-thumb:hover { background: var(--bc-teal); }
}
@media (max-width: 1023px) {
  .bc-single__sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}

.bc-side-card {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-card);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 42, 71, 0.03);
  transition: box-shadow 0.2s ease;
}
.bc-side-card:hover { box-shadow: var(--bc-shadow-soft); }
.bc-side-card__eyebrow {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bc-sun);
  margin-bottom: 0.35rem;
}
.bc-side-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  color: var(--bc-navy);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* Table of contents */
.bc-side-card--toc[hidden] { display: none; }
.bc-side-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: bc-toc;
  position: relative;
}
.bc-side-toc::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bc-line);
}
.bc-side-toc li {
  counter-increment: bc-toc;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.bc-side-toc li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bc-line);
  transition: all 0.2s ease;
}
.bc-side-toc li.is-active::before {
  border-color: var(--bc-teal);
  background: var(--bc-teal);
  box-shadow: 0 0 0 4px rgba(43, 181, 196, 0.15);
}
.bc-side-toc li.is-sub { padding-left: 2.25rem; font-size: 0.85rem; }
.bc-side-toc li.is-sub::before {
  left: 17px;
  width: 6px;
  height: 6px;
  top: 10px;
}
.bc-side-toc a {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--bc-grey);
  text-decoration: none;
  transition: color 0.18s ease;
}
.bc-side-toc a:hover { color: var(--bc-navy); }
.bc-side-toc li.is-active > a {
  color: var(--bc-navy);
  font-weight: 600;
}

/* CTA card (navy) */
.bc-side-card--cta {
  background:
    radial-gradient(500px 200px at 0 0, rgba(43, 181, 196, 0.18), transparent 70%),
    linear-gradient(160deg, var(--bc-navy) 0%, #1B3D63 100%);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.bc-side-card--cta::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(244, 169, 60, 0.22);
  filter: blur(28px);
}
.bc-side-card--cta::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(43, 181, 196, 0.18);
  filter: blur(28px);
}
.bc-side-card--cta > * { position: relative; }
.bc-side-card--cta .bc-side-card__title { color: #fff; }
.bc-side-card--cta .bc-side-card__eyebrow { color: var(--bc-sun-light); }
.bc-side-card--cta p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.bc-side-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bc-sun-light);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  transition: color 0.18s ease;
}
.bc-side-card__phone:hover { color: #fff; }
.bc-side-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bc-sun);
  color: var(--bc-navy);
  font-weight: 700;
  border-radius: var(--bc-radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(244, 169, 60, 0.35);
  transition: all 0.2s ease;
}
.bc-side-card__btn:hover {
  background: #D88E29;
  color: var(--bc-navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(244, 169, 60, 0.45);
}

/* Categories list */
.bc-side-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-side-cats li + li { border-top: 1px solid var(--bc-line); }
.bc-side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  color: var(--bc-navy);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.18s ease;
}
.bc-side-cats a:hover {
  color: var(--bc-teal);
  padding-left: 0.3rem;
}
.bc-side-cats__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: var(--bc-radius-pill);
  background: var(--bc-cream);
  color: var(--bc-sun);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Recent posts list */
.bc-side-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bc-side-recent a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  padding: 0.45rem;
  border-radius: 10px;
  transition: background 0.18s ease;
}
.bc-side-recent a:hover { background: var(--bc-cream); }
.bc-side-recent__thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #E8EDF3;
  display: block;
  flex: 0 0 64px;
}
.bc-side-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bc-side-recent a:hover .bc-side-recent__thumb img { transform: scale(1.08); }
.bc-side-recent__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--bc-navy);
  background: linear-gradient(135deg, #E5F7F9, #FEF6E7);
}
.bc-side-recent__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.bc-side-recent__title {
  color: var(--bc-navy);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-side-recent a:hover .bc-side-recent__title { color: var(--bc-teal); }
.bc-side-recent__date {
  font-size: 0.74rem;
  color: var(--bc-grey);
}

/* Tag cloud */
.bc-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-side-tags a {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: #F4F6F9;
  color: var(--bc-navy);
  border-radius: var(--bc-radius-pill);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.18s ease;
}
.bc-side-tags a:hover {
  background: var(--bc-teal);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Newsletter / CTA band ---------- */
.bc-single__cta-band {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bc-cream) 100%);
}
.bc-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(43, 181, 196, 0.22), transparent 70%),
    radial-gradient(500px 280px at 0 100%, rgba(244, 169, 60, 0.18), transparent 70%),
    linear-gradient(140deg, var(--bc-navy) 0%, #163659 70%, #0A1F36 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--bc-shadow-hero);
  isolation: isolate;
}
@media (min-width: 768px) {
  .bc-cta-card {
    grid-template-columns: 1.5fr auto;
    align-items: center;
    gap: 2.5rem;
  }
}
.bc-cta-card__glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(244, 169, 60, 0.28);
  filter: blur(60px);
  z-index: -1;
}
.bc-cta-card__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bc-sun-light);
  margin-bottom: 0.8rem;
}
.bc-cta-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.bc-cta-card__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}
.bc-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.bc-cta-card__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  background: var(--bc-sun);
  color: var(--bc-navy);
  font-weight: 700;
  border-radius: var(--bc-radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(244, 169, 60, 0.35);
  transition: all 0.2s ease;
}
.bc-cta-card__primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 255, 255, 0.18);
}
.bc-cta-card__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  border-radius: var(--bc-radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}
.bc-cta-card__secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Related posts ---------- */
.bc-single__related {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bc-cream);
  border-top: 1px solid var(--bc-line);
}
.bc-single__related-head {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-inline: auto;
}
.bc-single__related-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--bc-navy);
  margin: 0.25rem 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bc-single__related-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--bc-grey);
  line-height: 1.6;
}
.bc-single__related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) { .bc-single__related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bc-single__related-grid { grid-template-columns: repeat(3, 1fr); } }

.bc-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--bc-radius-card);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(15, 42, 71, 0.03);
}
.bc-related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bc-shadow-card);
  border-color: rgba(43, 181, 196, 0.3);
}
.bc-related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #E8EDF3;
}
.bc-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.bc-related-card:hover .bc-related-card__media img { transform: scale(1.06); }
.bc-related-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bc-navy);
  background: linear-gradient(135deg, #E5F7F9, #FEF6E7);
}
.bc-related-card__body {
  padding: 1.4rem 1.5rem 1.65rem;
}
.bc-related-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bc-teal);
  text-decoration: none;
  margin-bottom: 0.65rem;
}
.bc-related-card__cat:hover { color: #1A7E89; }
.bc-related-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--bc-navy);
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.bc-related-card__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--bc-teal), var(--bc-teal));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}
.bc-related-card:hover .bc-related-card__title a {
  background-size: 100% 2px;
}
.bc-related-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--bc-grey);
}

/* Comments wrapper */
.bc-single__comments {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: #fff;
}

/* Accessibility helpers */
.bc-single .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .bc-related-card,
  .bc-related-card__media img,
  .bc-share-rail__btn,
  .bc-single__nav-link,
  .bc-side-recent__thumb img,
  .bc-cta-card__primary,
  .bc-cta-card__secondary,
  .bc-reading-progress__bar {
    transition: none;
  }
}
