/* =============================================================
   LBS Course Detail — Design tokens + cd-* component rules
   Ported from references/Leiria-Business-School-Website/lib/
   colors_and_type.css and styles.css
   ============================================================= */

/* --- Design tokens --- */
:root {
  --lbs-navy:        #1E2F60;
  --lbs-navy-700:    #182650;
  --lbs-navy-500:    #2D4280;
  --lbs-navy-300:    #6675A8;
  --lbs-cyan:        #00A2C3;
  --lbs-cyan-700:    #0084A0;
  --lbs-cyan-300:    #7FD0E1;
  --lbs-gold:        #C49000;

  --lbs-ink:         #202020;
  --lbs-ink-600:     #3D3D3D;
  --lbs-ink-400:     #6B6B6B;

  --lbs-paper:       #FFFFFF;
  --lbs-bone:        #F4F6FB;
  --lbs-mist:        #E4E9F2;
  --lbs-slate-300:   #BFC8DD;
  --lbs-slate-500:   #8090B0;

  --color-bg:           var(--lbs-paper);
  --color-border:       var(--lbs-mist);
  --color-border-strong: var(--lbs-slate-300);
  --color-fg:           var(--lbs-ink);
  --color-fg-muted:     var(--lbs-ink-600);
  --color-fg-subtle:    var(--lbs-ink-400);
  --color-fg-inverse:   var(--lbs-paper);
  --color-accent:       var(--lbs-cyan);
  --color-accent-hover: var(--lbs-cyan-700);
  --color-success:      #2F8F5C;
  --color-warning:      #B07B12;
  --color-warning-bg:   #FBF3E0;

  /* Aliases used inline in ported rules */
  --accent:       var(--lbs-cyan);
  --accent-hover: var(--lbs-cyan-700);

  --font-sans: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;

  --shadow-sm: 0 1px 2px rgba(30,47,96,0.06);
  --shadow-md: 0 4px 16px rgba(30,47,96,0.10);
  --shadow-lg: 0 24px 60px rgba(30,47,96,0.18);
  --shadow-focus: 0 0 0 3px rgba(0,162,195,0.35);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

/* --- Barlow via Google Fonts — WP enqueues this automatically via font_family --- */

/* =====================================================================
   Buttons
   ===================================================================== */
.lbs-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 180ms var(--ease-out);
  font-size: 13px;
  padding: 13px 22px;
  white-space: nowrap;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.lbs-btn--primary { background: var(--lbs-navy); color: #fff; }
.lbs-btn--primary:hover { background: var(--lbs-navy-700); color: #fff; border-color: transparent; }
.lbs-btn--lg { padding: 16px 28px; font-size: 14px; }
.lbs-btn--block { width: 100%; justify-content: center; box-sizing: border-box; }
.lbs-btn--outline { background: transparent; color: var(--lbs-navy); border-color: var(--lbs-navy); }
.lbs-btn--outline:hover { background: var(--lbs-navy); color: #fff; }

/* =====================================================================
   Section wrappers
   ===================================================================== */
.cd-page .lbs-section { padding: 64px 48px; }
.cd-page .lbs-section--bone { background: var(--lbs-bone); }
.cd-page .lbs-section--navy { background: var(--lbs-navy); color: #fff; }
.cd-page .lbs-section__container { max-width: 1280px; margin: 0 auto; }
.cd-page .lbs-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.cd-page .lbs-section__title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--lbs-ink);
  margin: 0 0 28px;
}
/* small category eyebrow above each section title (ported from design .cd-block) */
.cd-block__small-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cd-block__small-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* =====================================================================
   Grid
   ===================================================================== */
.lbs-grid { display: grid; gap: 24px; }
.lbs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lbs-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Plain card (related courses) */
.cd-page .card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 20px;
  font-weight: 600;
  color: var(--lbs-ink);
  text-decoration: none;
  transition: border-color 160ms;
}
.cd-page .card:hover { border-color: var(--lbs-navy); }

/* =====================================================================
   Hero band + body band
   ===================================================================== */
/* Whole page: white base; navy comes from the hero's full-bleed ::before.
   overflow:clip contains the 100vw hero band without a horizontal scrollbar
   while still letting position:sticky work on the sidecard. */
.cd-page {
  position: relative;
  background: #fff;
  overflow: clip;
}
.cd-page__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
/* Single grid: hero (1,1) + body (2,1) in the left column; aside spans both
   rows in the right column so the sticky sidecard tracks the whole scroll. */
.cd-page__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-areas:
    "hero  aside"
    "body  aside";
  column-gap: 56px;
}
.cd-page__hero  { grid-area: hero; }
.cd-page__body  { grid-area: body; min-width: 0; }
.cd-page__aside { grid-area: aside; min-width: 0; padding-top: 48px; }
.cd-page__aside .cd-sidecard {
  position: sticky;
  top: 96px;
}

.cd-hero-band {
  position: relative;
  color: #fff;
  padding: 48px 0 64px;
  min-height: 420px;
  box-sizing: border-box;
}
.cd-hero-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* The hero sits in the LEFT grid column (not page-centred), so a 100vw band
     centred on it bleeds left but stops short of the right edge. Over-size the
     band to 300vw so it always covers the full viewport regardless of the
     column's offset; .cd-page's overflow:clip hides the excess (no scrollbar). */
  left: 50%;
  transform: translateX(-50%);
  width: 300vw;
  /* Design decoration (styles.css .cd-page::before): cyan glow top-right +
     faint diagonal stripes. The stripes tile, so the 300vw band doesn't
     matter; the glow is a 100vw no-repeat tile whose right edge must pin to
     the VIEWPORT's right edge — the band is centred on the hero column,
     which sits (380px aside + 56px gap)/2 = 218px left of viewport centre,
     so the viewport's right edge is 200vw + 218px into the band (tile left
     edge = 100vw + 218px). Keep in sync with .cd-page__grid columns. */
  background-color: var(--lbs-navy);
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgba(0,162,195,0.30), transparent 55%),
    repeating-linear-gradient(120deg, transparent 0, transparent 60px, rgba(127,208,225,0.06) 60px, rgba(127,208,225,0.06) 62px);
  background-size: 100vw 100%, auto;
  background-position: calc(100vw + 218px) 0, 0 0;
  background-repeat: no-repeat, repeat;
  z-index: -1;
}
.cd-body-band { background: transparent; }

/* Body sections become quiet divider blocks inside the left column
   (no full-width section bands; those are reserved for the related strip). */
.cd-page__body .lbs-section { padding: 40px 0; border-top: 1px solid var(--color-border); }
.cd-page__body .lbs-section:first-child { border-top: none; padding-top: 36px; }
.cd-page__body .lbs-section__container { max-width: none; margin: 0; }
/* The calendar section self-wraps as .cd-calendar (not .lbs-section), so it needs
   the same divider + vertical rhythm as its sibling body sections. */
.cd-page__body .cd-calendar { padding: 40px 0; border-top: 1px solid var(--color-border); }

/* =====================================================================
   Hero text elements
   ===================================================================== */
.cd-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.cd-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lbs-cyan-300);
  margin-bottom: 16px;
}
.cd-category::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--lbs-cyan-300);
}
.cd-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #fff;
}
.cd-deck {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 0 24px;
  max-width: 58ch;
}
.cd-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  align-items: center;
}
.cd-meta__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-meta__rating .score { font-weight: 900; color: #fff; }
.cd-meta b { color: #fff; font-weight: 700; }
.cd-instructor { display: inline-flex; align-items: center; gap: 6px; }
.cd-instructor .label { color: rgba(255,255,255,0.6); }
.cd-instructor a { color: var(--lbs-cyan-300); font-weight: 700; text-decoration: none; }
.cd-instructor a:hover { text-decoration: underline; }
.cd-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.cd-breadcrumb a:hover { color: #fff; }
.cd-breadcrumb__sep { color: rgba(255,255,255,0.35); }
.cd-breadcrumb__curr { color: #fff; }

/* =====================================================================
   Sidecard
   ===================================================================== */
.cd-sidecard {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  color: var(--lbs-ink);
}
.cd-sidecard__body {
  padding: 24px;
}
.cd-sidecard__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.cd-sidecard__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--lbs-navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cd-sidecard__price-old {
  font-size: 16px;
  color: var(--lbs-ink-400);
  text-decoration: line-through;
}
.cd-sidecard__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.cd-facts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 8px;
}
.cd-facts__cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

/* =====================================================================
   Outcomes
   ===================================================================== */
.cd-outcomes {
  border: 1px solid var(--color-border-strong);
  padding: 24px 28px;
  background: var(--lbs-paper);
}
.cd-outcomes__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.cd-outcomes__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lbs-ink);
}

/* =====================================================================
   Curriculum
   ===================================================================== */
.cd-curr {
  border: 1px solid var(--color-border);
}
.cd-curr__module {
  border-bottom: 1px solid var(--color-border);
}
.cd-curr__module:last-child { border-bottom: none; }
.cd-curr__head {
  padding: 18px 24px;
  background: var(--lbs-bone);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--lbs-ink-600);
}
.cd-curr__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--lbs-ink);
}
.cd-curr__meta {
  font-size: 12px;
  color: var(--lbs-ink-400);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cd-curr__lessons {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out);
}
.cd-curr__module[data-open="true"] .cd-curr__lessons {
  max-height: 600px;
}
.cd-curr__lessons-inner {
  padding: 0 24px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cd-curr__row {
  width: 100%;
  background: #fff;
  border: none;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background 160ms;
}
button.cd-curr__row:hover,
button.cd-curr__row:focus { background-color: var(--lbs-bone); color: inherit; }
.cd-curr__lesson {
  display: grid;
  /* design is 18px 1fr auto; we render an extra type label between title and
     length, so a 4th track keeps both labels on the single design line */
  grid-template-columns: 18px 1fr auto auto;
  gap: 12px;
  font-size: 13px;
  color: var(--lbs-ink-600);
  align-items: center;
}
.cd-curr__lesson-title { font-weight: 500; color: var(--lbs-ink); }
.cd-curr__lesson-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lbs-ink-400);
}
.cd-curr__lesson-len {
  font-size: 12px;
  color: var(--lbs-ink-400);
  white-space: nowrap;
}

/* =====================================================================
   List (requirements, audience)
   ===================================================================== */
.cd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cd-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lbs-ink);
}
.cd-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 9px;
}

/* =====================================================================
   Instructor
   ===================================================================== */
.cd-instr {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--lbs-paper);
  margin-bottom: 16px;
}
.cd-instr__avatar {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: var(--lbs-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.cd-instr__avatar--initials {
  /* fallback when no photo */
  background: var(--lbs-navy);
  color: #fff;
}
.cd-instr__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--lbs-navy);
}
.cd-instr__role {
  font-size: 13px;
  color: var(--lbs-ink-400);
  margin-bottom: 12px;
}
.cd-instr__stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--lbs-ink-600);
  margin-bottom: 14px;
}
.cd-instr__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cd-instr__stat svg { color: var(--lbs-navy); flex-shrink: 0; }
.cd-instr__stat-v {
  font-size: 15px;
  font-weight: 900;
  color: var(--lbs-navy);
}
.cd-instr__stat-l {
  font-size: 12px;
  color: var(--lbs-ink-600);
  letter-spacing: 0.02em;
}
.cd-instr__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lbs-ink-600);
  margin: 0;
  max-width: 60ch;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.cd-faq__row {
  border-top: 1px solid var(--color-border);
}
.cd-faq__row:last-child { border-bottom: 1px solid var(--color-border); }
button.cd-faq__q {
  width: 100%;
  background: none;
  border: none;
  white-space: normal;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--lbs-ink);
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.005em;
}
.cd-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out);
}
.cd-faq__row[data-open="true"] .cd-faq__a { max-height: 200px; }
.cd-faq__a-inner {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lbs-ink-600);
  max-width: 64ch;
}

/* =====================================================================
   Reviews section (native WC comments)
   ===================================================================== */

/* =====================================================================
   Accordion — curriculum toggle + chevron
   ===================================================================== */
/* module row button — neutral reset (layout comes from .cd-curr__row) */
.cd-curr__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
}
/* top summary bar "Expandir tudo" toggle */
button.cd-curr__expand-all {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-hover);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}
button.cd-curr__expand-all:hover,
button.cd-curr__expand-all:focus { background: none; color: var(--lbs-navy); }
/* M9 — specificity bump: reset.css `[type="button"]{border:1px solid #c36;border-radius:3px}`
   has (0,1,0); plain class selectors above tie and lose on load order (reset loads after this
   file). `button.X` = (0,1,1) > (0,1,0) so our intent wins regardless of load order. */
button.cd-faq__q,
button.cd-curr__toggle,
button.cd-curr__expand-all { border: 0; border-radius: 0; }
/* same reset.css fight for layout props: `[type="button"]` sets
   display:inline-block + padding .5rem 1rem and would flatten the row grid */
button.cd-curr__row {
  display: grid;
  width: 100%;
  padding: 16px 24px;
  background: #fff;
  color: inherit;
  text-align: left;
  white-space: normal;
}
/* design has no FAQ hover paint — neutralize reset.css's #c36 fill */
button.cd-faq__q:hover,
button.cd-faq__q:focus { background: none; color: var(--lbs-ink); }
.cd-curr__chev {
  transition: transform 200ms var(--ease-out);
  color: var(--lbs-ink-400);
}
.cd-curr__module[data-open="true"] .cd-curr__chev { transform: rotate(90deg); }
.cd-curr__lesson svg { color: var(--lbs-ink-400); }

/* =====================================================================
   Accordion — FAQ icon
   ===================================================================== */
.cd-faq__icon {
  flex-shrink: 0;
  color: var(--lbs-ink-400);
  transition: transform 200ms;
}
.cd-faq__row[data-open="true"] .cd-faq__icon { transform: rotate(45deg); color: var(--lbs-navy); }

/* =====================================================================
   Icon sizing helpers
   ===================================================================== */
.cd-facts__cell svg { color: var(--lbs-cyan-300); flex-shrink: 0; }
.cd-facts__cell b { color: #fff; font-weight: 700; }
.cd-outcomes__list svg {
  color: var(--lbs-navy);
  flex-shrink: 0;
  margin-top: 3px;
}
.cd-meta__rating .cd-stars { display: inline-flex; gap: 2px; color: var(--lbs-cyan-300); }

/* =====================================================================
   Stars helper (.cd-stars from lbs_stars())
   ===================================================================== */
.cd-stars { display: inline-flex; gap: 2px; color: var(--lbs-cyan); line-height: 0; }
.cd-stars .cd-star { color: var(--lbs-slate-300); }
.cd-stars .cd-star--on { color: var(--lbs-cyan); }

/* =====================================================================
   Sidecard — missing rules (thumb, play, discount, urgency, includes)
   ===================================================================== */
.cd-sidecard__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.cd-sidecard__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}
.cd-sidecard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.95);
  color: var(--lbs-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 180ms;
}
.cd-sidecard__thumb:hover .cd-sidecard__play { transform: translate(-50%, -50%) scale(1.08); }
.cd-sidecard__preview-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.cd-sidecard__discount {
  display: inline-block;
  background: var(--lbs-bone);
  color: var(--lbs-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.cd-sidecard__urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  font-size: 12px;
  color: var(--color-warning);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cd-sidecard__urgency svg { flex-shrink: 0; }
.cd-sidecard__guarantee {
  font-size: 12px;
  color: var(--lbs-ink-400);
  text-align: center;
  margin-bottom: 12px;
}
.cd-sidecard__cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.cd-sidecard__cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--lbs-cyan-300);
  background: rgba(0, 162, 195, 0.07);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lbs-navy);
}
.cd-sidecard__cert-badge svg { color: var(--accent); flex-shrink: 0; }
.cd-sidecard__cert-note {
  font-size: 11px;
  color: var(--lbs-ink-400);
}
.cd-sidecard__includes-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lbs-ink);
  margin-bottom: 12px;
}
.cd-sidecard__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--lbs-ink-600);
}
.cd-sidecard__includes li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cd-sidecard__includes svg {
  color: var(--accent);
  flex-shrink: 0;
}
.cd-sidecard__share {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}
.cd-sidecard__share button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lbs-ink-600);
  transition: all 140ms;
}
.cd-sidecard__share button:hover,
.cd-sidecard__share button:focus { background-color: transparent; color: var(--lbs-navy); border-color: var(--lbs-navy); }

/* =====================================================================
   Reviews block (designed .cd-reviews / .cd-review)
   ===================================================================== */
.cd-reviews {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.cd-reviews__score {
  text-align: center;
}
.cd-reviews__score-num {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lbs-navy);
  margin-bottom: 6px;
}
.cd-reviews__stars {
  display: inline-flex;
  gap: 4px;
  color: var(--lbs-gold);
  margin-bottom: 10px;
}
.cd-reviews__stars .cd-stars,
.cd-reviews__stars .cd-star--on { color: var(--lbs-gold); }
.cd-reviews__bar .cd-stars,
.cd-reviews__bar .cd-star--on { color: var(--lbs-gold); }
.cd-reviews__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lbs-ink-600);
}
.cd-reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.cd-reviews__bar {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--lbs-ink-600);
}
.cd-reviews__bar-track {
  height: 6px;
  background: var(--lbs-bone);
  overflow: hidden;
}
.cd-reviews__bar-fill {
  height: 100%;
  background: var(--lbs-gold);
}
.cd-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cd-review {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.cd-review:last-child { border-bottom: none; }
.cd-review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cd-review__avatar {
  width: 36px;
  height: 36px;
  background: var(--lbs-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.cd-review__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--lbs-ink);
}
.cd-review__date {
  font-size: 11px;
  color: var(--lbs-ink-400);
  margin-left: auto;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cd-review__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--lbs-gold);
  margin-bottom: 6px;
}
.cd-review__stars .cd-stars,
.cd-review__stars .cd-star--on { color: var(--lbs-gold); }
.cd-review__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lbs-ink-600);
  margin: 0;
}

/* =====================================================================
   Instructor — text column wrapper
   ===================================================================== */
.cd-instr__main { min-width: 0; }

/* =====================================================================
   Certificate band
   ===================================================================== */
.cd-cert {
  background: var(--lbs-bone);
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
}
.cd-cert__seal {
  width: 56px;
  height: 56px;
  background: var(--lbs-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cd-cert__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--lbs-ink);
}
.cd-cert__desc {
  font-size: 13px;
  color: var(--lbs-ink-600);
  line-height: 1.5;
  margin: 0;
}

/* =====================================================================
   Reviews — native WooCommerce list + form, styled into the design
   (right column of .cd-reviews; left is .cd-reviews__score)
   ===================================================================== */
.cd-reviews__score { position: sticky; top: 96px; }
.cd-reviews__native { min-width: 0; }
/* our section <h2> already says "Avaliações" — drop WC's duplicate heading */
.cd-reviews__native .woocommerce-Reviews-title { display: none; }
.cd-reviews__native #comments { margin: 0; }
.cd-reviews__native .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cd-reviews__native .commentlist li.review,
.cd-reviews__native .commentlist li.comment { margin: 0; }
.cd-reviews__native .comment_container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.cd-reviews__native .commentlist > li:last-child .comment_container { border-bottom: none; }
.cd-reviews__native img.avatar {
  position: static;
  float: none;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--color-border);
  background: var(--lbs-bone);
}
/* initials-square avatar (via get_avatar filter) inside native review list */
.cd-reviews__native .cd-review__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 14px;
  border: none;
}
.cd-reviews__native .comment-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}
.cd-reviews__native .meta {
  font-size: 12px;
  color: var(--lbs-ink-400);
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}
.cd-reviews__native .woocommerce-review__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--lbs-ink);
  font-style: normal;
}
.cd-reviews__native .woocommerce-review__dash,
.cd-reviews__native .woocommerce-review__published-date { color: var(--lbs-ink-400); }
.cd-reviews__native .star-rating {
  color: var(--lbs-gold);
  float: none;
  margin: 4px 0 8px;
  font-size: 13px;
}
.cd-reviews__native .description p { margin: 0; }
.cd-reviews__native .description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lbs-ink-600);
}

/* Review submission form */
.cd-reviews__native #review_form_wrapper { margin-top: 28px; }
.cd-reviews__native #reply-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--lbs-ink);
  display: block;
  margin-bottom: 12px;
}
.cd-reviews__native .comment-form-rating label { display: block; margin-bottom: 6px; }
.cd-reviews__native .comment-form-rating .stars a { color: var(--lbs-gold); }
.cd-reviews__native p.comment-form-comment,
.cd-reviews__native p.comment-form-author,
.cd-reviews__native p.comment-form-email { margin: 0 0 14px; }
.cd-reviews__native label {
  font-size: 13px;
  font-weight: 600;
  color: var(--lbs-ink-600);
  display: block;
  margin-bottom: 6px;
}
.cd-reviews__native input[type="text"],
.cd-reviews__native input[type="email"],
.cd-reviews__native textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--lbs-ink);
}
.cd-reviews__native input[type="text"]:focus,
.cd-reviews__native input[type="email"]:focus,
.cd-reviews__native textarea:focus {
  outline: none;
  border-color: var(--lbs-navy);
  box-shadow: var(--shadow-focus);
}
.cd-reviews__native .form-submit input,
.cd-reviews__native #submit {
  background: var(--lbs-navy);
  color: #fff;
  border: 1px solid var(--lbs-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 26px;
  cursor: pointer;
  transition: background 180ms var(--ease-out);
}
.cd-reviews__native .form-submit input:hover,
.cd-reviews__native .form-submit input:focus,
.cd-reviews__native #submit:hover,
.cd-reviews__native #submit:focus { background: var(--lbs-navy-700); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .cd-page__inner { padding: 0 24px; }
  .cd-page__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "aside" "body";
    column-gap: 0;
  }
  .cd-page__aside { padding-top: 24px; }
  .cd-page__aside .cd-sidecard { position: static; }
  .cd-hero-band { padding: 32px 0 40px; min-height: 0; }
  /* Single column: the hero cell is page-centred, no aside offset. */
  .cd-hero-band::before { background-position: 100vw 0, 0 0; }
  .cd-outcomes__list { grid-template-columns: 1fr; }
  .cd-instr { grid-template-columns: 1fr; }
  .cd-reviews { grid-template-columns: 1fr; gap: 32px; }
  .cd-reviews__score { position: static; text-align: left; }
  .lbs-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cd-page .lbs-section { padding: 48px 24px; }
}
@media (max-width: 640px) {
  .lbs-grid--3 { grid-template-columns: 1fr; }
  /* lessons keep their grid on phones (design has no override); the type
     label is the one nicety we hide to give the title room, and the 64px
     lesson indent is too deep for a phone column */
  .cd-curr__lesson-type { display: none; }
  .cd-curr__lessons-inner { padding-left: 24px; }
}

/* ===== Course calendar (ported from design styles.css lines 2465-2813) ===== */
.cal-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--lbs-ink-600);
  max-width: 64ch;
  margin: -4px 0 24px;
}

/* Featured edition panel */
.cal-feature {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  background: var(--lbs-paper);
}
.cal-feature__cal {
  background: var(--lbs-navy);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cal-feature__info {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cal-feature__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lbs-cyan-700);
}
.cal-feature__date {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--lbs-ink);
  margin: 8px 0 14px;
}
.cal-feature__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border: 1px solid var(--color-border);
  color: var(--lbs-ink-600);
  background: var(--lbs-bone);
}
.cal-chip--accent {
  background: var(--lbs-navy);
  border-color: var(--lbs-navy);
  color: #fff;
}
.cal-chip--warn {
  background: var(--color-warning-bg);
  border-color: #e7c98a;
  color: #8a5a00;
}
.cal-seats { gap: 7px; }
.cal-seats .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--color-success); flex: none; }
.cal-seats--low .dot { background: var(--color-warning); }
.cal-seats--soon .dot { background: var(--lbs-slate-500); }
.cal-seats--closed .dot { background: var(--lbs-slate-300); }

.cal-feature__rows {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-feature__rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--lbs-ink-600);
}
.cal-feature__rows li svg { color: var(--lbs-navy); flex: none; }

.cal-feature__deadline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--lbs-bone);
  border-left: 3px solid var(--lbs-cyan);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lbs-ink-600);
  margin-bottom: 20px;
}
.cal-feature__deadline svg { color: var(--lbs-cyan-700); flex: none; margin-top: 1px; }
.cal-feature__deadline b { color: var(--lbs-ink); }

.cal-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.cal-feature__actions .lbs-btn { gap: 8px; }

/* Mini month grid */
.cal-grid__month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lbs-cyan-300);
  margin-bottom: 14px;
}
.cal-grid__wd,
.cal-grid__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-grid__wd {
  margin-bottom: 6px;
}
.cal-grid__wd span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}
.cal-grid__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}
.cal-grid__cell--empty { color: transparent; }
.cal-grid__cell.is-start {
  background: var(--lbs-cyan);
  color: var(--lbs-navy);
  font-weight: 800;
}
.cal-grid__cell.is-enroll {
  box-shadow: inset 0 0 0 1.5px rgba(127, 208, 225, 0.85);
  color: #fff;
  font-weight: 700;
}
.cal-grid__cell.is-enroll.is-start {
  box-shadow: none;
}
.cal-feature__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}
.cal-feature__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { width: 11px; height: 11px; flex: none; }
.cal-dot--start { background: var(--lbs-cyan); }
.cal-dot--enroll { box-shadow: inset 0 0 0 1.5px rgba(127, 208, 225, 0.85); }

/* Year timeline ribbon */
.cal-timeline {
  margin: 28px 0 8px;
  padding: 40px 24px 56px;
}
.cal-timeline__track {
  position: relative;
  height: 2px;
  background: var(--lbs-mist);
}
.cal-timeline__track::before,
.cal-timeline__track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--lbs-mist);
  transform: translateY(-50%);
}
.cal-timeline__track::before { left: -3px; }
.cal-timeline__track::after { right: -3px; }
.cal-timeline__today {
  position: absolute;
  top: -14px;
  bottom: -14px;
  width: 0;
  border-left: 1.5px dashed var(--lbs-cyan);
  transform: translateX(-0.75px);
}
.cal-timeline__today-label {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lbs-cyan-700);
  white-space: nowrap;
}
/* button.* bumps throughout the calendar: reset.css's [type=button] rule
   (pink border/text, .5rem padding, nowrap, #c36 hover/focus fill) loads
   after us and ties plain class selectors — (0,1,1)+ wins per property */
button.cal-timeline__pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  white-space: normal;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
button.cal-timeline__pin:hover,
button.cal-timeline__pin:focus { background: none; color: inherit; }
.cal-timeline__pin-dot {
  width: 14px;
  height: 14px;
  background: var(--lbs-paper);
  border: 2px solid var(--lbs-slate-500);
  border-radius: 9999px;
  transition: transform var(--dur-base, .2s) var(--ease-out, ease), border-color var(--dur-base, .2s);
}
.cal-timeline__pin.is-done .cal-timeline__pin-dot { border-color: var(--lbs-slate-300); }
.cal-timeline__pin.is-running .cal-timeline__pin-dot { border-color: var(--color-warning); }
.cal-timeline__pin.is-sel .cal-timeline__pin-dot {
  background: var(--lbs-cyan);
  border-color: var(--lbs-navy);
  transform: scale(1.25);
}
.cal-timeline__pin-label {
  position: absolute;
  top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  line-height: 1.15;
}
.cal-timeline__pin-label b { font-size: 13px; font-weight: 800; color: var(--lbs-ink); }
.cal-timeline__pin-label em { font-style: normal; font-size: 11px; color: var(--lbs-ink-400); }
.cal-timeline__pin.is-sel .cal-timeline__pin-label b { color: var(--lbs-navy); }
.cal-timeline__pin:hover .cal-timeline__pin-dot { border-color: var(--lbs-navy); }

/* Edition list */
.cal-list {
  border: 1px solid var(--color-border);
  border-bottom: none;
}
.cal-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--color-border);
}
.cal-row.is-sel { background: var(--lbs-bone); }
.cal-row.is-sel .cal-row__pick { box-shadow: inset 3px 0 0 var(--lbs-cyan); }
button.cal-row__pick {
  flex: 1;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  white-space: normal;
  cursor: pointer;
  text-align: left;
  transition: background var(--dur-base, .2s);
}
button.cal-row__pick:hover,
button.cal-row__pick:focus { background-color: var(--lbs-bone); color: inherit; }
.cal-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  border-right: 1px solid var(--color-border);
  padding-right: 14px;
}
.cal-row__date b { font-size: 24px; font-weight: 900; color: var(--lbs-navy); letter-spacing: -0.02em; }
.cal-row__date em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lbs-ink-400); margin-top: 3px; }
.cal-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-row__label { font-size: 15px; font-weight: 700; color: var(--lbs-ink); }
.cal-row__detail { font-size: 12.5px; color: var(--lbs-ink-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-row__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lbs-ink-600);
  white-space: nowrap;
}
.cal-row__status .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--color-success); flex: none; }
.cal-row__status--low .dot { background: var(--color-warning); }
.cal-row__status--closed .dot { background: var(--lbs-slate-300); }
button.cal-row__ics {
  flex: none;
  width: 56px;
  padding: 0;
  border: none;
  border-left: 1px solid var(--color-border);
  border-radius: 0;
  background: none;
  color: var(--lbs-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base, .2s), color var(--dur-base, .2s);
}
button.cal-row__ics:hover,
button.cal-row__ics:focus { background-color: var(--lbs-navy); color: #fff; }

/* Stack the featured panel while the page is still two-column with a narrow
   main column (page collapses at 900px) — keep the calendar as a side row. */
@media (max-width: 1080px) {
  .cal-feature { grid-template-columns: 1fr; }
  .cal-feature__cal { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .cal-feature__cal > .cal-grid { flex: 1; min-width: 220px; }
  .cal-feature__legend { align-items: center; }
  .cal-feature__actions .lbs-btn { flex: 1; justify-content: center; }
}

@media (max-width: 720px) {
  .cal-feature__date { font-size: 32px; }
  .cal-timeline { padding: 40px 4px 56px; }
  .cal-row__pick { grid-template-columns: 52px 1fr; }
  .cal-row__status { display: none; }
  .cal-row__detail { white-space: normal; }
}
