/*
Theme Name: BedreJeg Child
Theme URI: https://bedrejeg.dk
Description: Child theme for BedreJeg.dk - a calm Danish self-development platform. Custom homepage built on the BedreJeg visual style guide (Lora + DM Sans, sage & amber palette). Built on the Kadence parent theme.
Author: BedreJeg.dk
Version: 1.0.0
Template: kadence
License: GNU General Public License v2 or later
Text Domain: bedrejeg-child
*/

/* ════════════════════════════════════════════════════════════
   BedreJeg.dk - Design Tokens
   ════════════════════════════════════════════════════════════ */
:root {
  --bj-bg-warm: #FAF8F5;
  --bj-bg-section: #F2EFEB;
  --bj-bg-card: #FFFFFF;
  --bj-text-primary: #2D2D2D;
  --bj-text-secondary: #6B6560;
  --bj-text-muted: #9B9590;
  --bj-sage: #7E9B8C;
  --bj-sage-light: #A8C4B5;
  --bj-sage-dark: #5C7A6B;
  --bj-teal: #6B9DA0;
  --bj-teal-light: #9DC4C6;
  --bj-amber: #C4956A;
  --bj-amber-light: #DDBFA0;
  --bj-amber-dark: #A87B52;
  --bj-border: #E8E4DF;
  --bj-shadow-soft: 0 2px 20px rgba(45, 45, 45, 0.06);
  --bj-shadow-medium: 0 4px 30px rgba(45, 45, 45, 0.10);
  --bj-shadow-lift: 0 12px 40px rgba(45, 45, 45, 0.13);
  --bj-radius-sm: 8px;
  --bj-radius-md: 12px;
  --bj-radius-lg: 20px;
  --bj-radius-xl: 28px;
}

/* ════════════════════════════════════════════════════════════
   Scoped reset - applies to the custom homepage and subpages
   ════════════════════════════════════════════════════════════ */
.bj-home *,
.bj-home *::before,
.bj-home *::after,
.bj-page *,
.bj-page *::before,
.bj-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bj-home,
.bj-page {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bj-bg-warm);
  color: var(--bj-text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bj-home img,
.bj-page img { max-width: 100%; display: block; }
.bj-home a,
.bj-page a { text-decoration: none; color: inherit; }
.bj-home ul,
.bj-page ul { list-style: none; }

/* Subtle grain for warmth and depth */
.bj-home::before,
.bj-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════════════════════════
   Layout helpers
   ════════════════════════════════════════════════════════════ */
.bj-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.bj-section {
  padding: 100px 0;
}

.bj-section--alt {
  background: var(--bj-bg-section);
}

.bj-section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.bj-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bj-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bj-sage);
  margin-bottom: 14px;
}

.bj-h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--bj-text-primary);
  letter-spacing: -0.01em;
}

.bj-h2 em { font-style: italic; color: var(--bj-sage-dark); }

.bj-section-desc {
  font-size: 1.05rem;
  color: var(--bj-text-secondary);
  margin-top: 16px;
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════
   Buttons
   ════════════════════════════════════════════════════════════ */
.bj-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  border-radius: var(--bj-radius-md);
  padding: 15px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.bj-btn--primary {
  background: var(--bj-amber);
  color: #fff;
}
.bj-btn--primary:hover {
  background: var(--bj-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 149, 106, 0.35);
}

.bj-btn--secondary {
  background: var(--bj-sage);
  color: #fff;
}
.bj-btn--secondary:hover {
  background: var(--bj-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126, 155, 140, 0.32);
}

.bj-btn--outline {
  background: transparent;
  color: var(--bj-text-primary);
  border: 1.5px solid var(--bj-border);
}
.bj-btn--outline:hover {
  border-color: var(--bj-sage);
  color: var(--bj-sage-dark);
  background: rgba(126, 155, 140, 0.05);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   Navigation
   ════════════════════════════════════════════════════════════ */
.bj-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bj-nav.is-scrolled {
  border-bottom-color: var(--bj-border);
  box-shadow: 0 1px 16px rgba(45, 45, 45, 0.04);
}

.bj-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bj-text-primary);
}

.bj-logo svg,
.bj-logo img { display: block; }

.bj-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.bj-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bj-nav-links a:not(.bj-btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bj-text-secondary);
  padding: 8px 16px;
  border-radius: var(--bj-radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.bj-nav-links a:not(.bj-btn):hover {
  color: var(--bj-sage-dark);
  background: rgba(126, 155, 140, 0.08);
}

.bj-nav-links .bj-btn {
  padding: 11px 22px;
  font-size: 0.9rem;
  margin-left: 8px;
}

.bj-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.bj-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--bj-text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bj-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bj-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.bj-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   Hero
   ════════════════════════════════════════════════════════════ */
.bj-hero {
  position: relative;
  min-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 100px;
  overflow: hidden;
  background: linear-gradient(160deg, #FAF8F5 0%, #EDE8E1 42%, #D6E4DB 100%);
}

.bj-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bj-hero-blob--1 {
  top: -28%;
  right: -16%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(126, 155, 140, 0.16) 0%, transparent 70%);
  animation: bj-float 22s ease-in-out infinite;
}

.bj-hero-blob--2 {
  bottom: -22%;
  left: -14%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.13) 0%, transparent 70%);
  animation: bj-float 28s ease-in-out infinite reverse;
}

@keyframes bj-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(34px, -22px) scale(1.06); }
  66% { transform: translate(-22px, 16px) scale(0.96); }
}

.bj-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.bj-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bj-sage-dark);
  background: rgba(126, 155, 140, 0.14);
  padding: 9px 22px;
  border-radius: 100px;
  margin-bottom: 30px;
}

.bj-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--bj-text-primary);
  margin-bottom: 22px;
}

.bj-hero h1 em {
  font-style: italic;
  color: var(--bj-sage-dark);
}

.bj-hero-sub {
  font-size: 1.15rem;
  color: var(--bj-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.bj-hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bj-sage);
  margin-top: 22px;
}

.bj-hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.bj-hero-trust {
  margin-top: 52px;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bj-text-muted);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   Trust strip
   ════════════════════════════════════════════════════════════ */
.bj-trust {
  background: var(--bj-text-primary);
  color: var(--bj-bg-warm);
  padding: 28px 0;
}

.bj-trust-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.bj-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.82);
}

.bj-trust-item strong {
  color: var(--bj-sage-light);
  font-weight: 600;
}

.bj-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bj-amber);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   How it works - 3 steps
   ════════════════════════════════════════════════════════════ */
.bj-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bj-step {
  background: var(--bj-bg-card);
  padding: 44px 34px;
  border-radius: var(--bj-radius-lg);
  box-shadow: var(--bj-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bj-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--bj-shadow-lift);
}

.bj-step-num {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--bj-sage);
  line-height: 1;
  margin-bottom: 18px;
}

.bj-step h3 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--bj-text-primary);
}

.bj-step p {
  font-size: 0.95rem;
  color: var(--bj-text-secondary);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   Series cards
   ════════════════════════════════════════════════════════════ */
.bj-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bj-series-card {
  background: var(--bj-bg-card);
  border-radius: var(--bj-radius-lg);
  overflow: hidden;
  box-shadow: var(--bj-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bj-series-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bj-shadow-lift);
}

.bj-series-img {
  height: 150px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.bj-series-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(196, 149, 106, 0.92);
  padding: 6px 13px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.bj-series-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bj-series-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bj-sage);
  margin-bottom: 8px;
}

.bj-series-title {
  font-family: 'Lora', serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bj-text-primary);
  margin-bottom: 9px;
}

.bj-series-desc {
  font-size: 0.88rem;
  color: var(--bj-text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.bj-series-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--bj-text-muted);
}

.bj-series-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--bj-bg-section);
}

.bj-series-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bj-text-primary);
}

.bj-series-price span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--bj-text-muted);
}

.bj-series-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bj-amber-dark);
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bj-series-card:hover .bj-series-link { gap: 9px; }

/* ════════════════════════════════════════════════════════════
   Why BedreJeg - feature rows
   ════════════════════════════════════════════════════════════ */
.bj-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bj-why-card {
  background: var(--bj-bg-card);
  border-radius: var(--bj-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--bj-shadow-soft);
  border-left: 3px solid var(--bj-sage);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bj-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bj-shadow-medium);
}

.bj-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(126, 155, 140, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bj-why-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 9px;
  color: var(--bj-text-primary);
}

.bj-why-card p {
  font-size: 0.94rem;
  color: var(--bj-text-secondary);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   Email capture
   ════════════════════════════════════════════════════════════ */
.bj-capture {
  background: linear-gradient(145deg, #EBF0ED 0%, #F2EFEB 100%);
  border-radius: var(--bj-radius-xl);
  padding: 60px 56px;
  box-shadow: var(--bj-shadow-soft);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.bj-capture h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--bj-text-primary);
}

.bj-capture p {
  font-size: 1rem;
  color: var(--bj-text-secondary);
  margin-bottom: 28px;
  line-height: 1.75;
}

.bj-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.bj-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  border: 1.5px solid var(--bj-border);
  border-radius: var(--bj-radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--bj-text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.bj-form input:focus { border-color: var(--bj-sage); }
.bj-form input::placeholder { color: var(--bj-text-muted); }

.bj-form-note {
  font-size: 0.8rem;
  color: var(--bj-text-muted);
  margin-top: 14px;
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.bj-faq {
  max-width: 760px;
  margin: 0 auto;
}

.bj-faq-item {
  background: var(--bj-bg-card);
  border-radius: var(--bj-radius-md);
  margin-bottom: 14px;
  box-shadow: var(--bj-shadow-soft);
  overflow: hidden;
}

.bj-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: 'Lora', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bj-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bj-faq-q::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bj-sage);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bj-faq-item.is-open .bj-faq-q::after {
  transform: rotate(45deg);
}

.bj-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.bj-faq-a p {
  padding: 0 26px 24px;
  font-size: 0.95rem;
  color: var(--bj-text-secondary);
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════
   Final CTA
   ════════════════════════════════════════════════════════════ */
.bj-final {
  text-align: center;
  background: linear-gradient(160deg, #D6E4DB 0%, #EDE8E1 55%, #FAF8F5 100%);
}

.bj-final h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--bj-sage-dark);
  margin-bottom: 16px;
}

.bj-final p {
  font-size: 1.08rem;
  color: var(--bj-text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════════════════ */
.bj-footer {
  background: var(--bj-text-primary);
  color: rgba(250, 248, 245, 0.7);
  padding: 64px 0 32px;
}

.bj-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 248, 245, 0.12);
}

.bj-footer-brand .bj-logo {
  color: var(--bj-bg-warm);
  margin-bottom: 14px;
}

.bj-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.bj-footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bj-sage-light);
  margin-bottom: 16px;
}

.bj-footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.7);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.bj-footer-col a:hover { color: var(--bj-amber-light); }

.bj-footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(250, 248, 245, 0.5);
}

/* ════════════════════════════════════════════════════════════
   Scroll-reveal animation
   ════════════════════════════════════════════════════════════ */
.bj-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.bj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .bj-reveal { opacity: 1; transform: none; transition: none; }
  .bj-hero-blob { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  .bj-series-grid { grid-template-columns: repeat(2, 1fr); }
  .bj-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .bj-section { padding: 70px 0; }

  .bj-nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bj-bg-warm);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--bj-border);
    box-shadow: var(--bj-shadow-medium);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }

  .bj-nav-links.is-open { transform: translateY(0); }

  .bj-nav-links a:not(.bj-btn) { padding: 12px 16px; }
  .bj-nav-links .bj-btn { margin-left: 0; margin-top: 8px; justify-content: center; }
  .bj-nav-toggle { display: flex; }

  .bj-steps { grid-template-columns: 1fr; }
  .bj-series-grid { grid-template-columns: 1fr; }
  .bj-why-grid { grid-template-columns: 1fr; }
  .bj-trust-inner { flex-direction: column; gap: 16px; }
  .bj-capture { padding: 44px 28px; }
  .bj-form { flex-direction: column; }
  .bj-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .bj-hero { min-height: auto; }
}

/* ════════════════════════════════════════════════════════════
   SESSION PAGE
   ════════════════════════════════════════════════════════════ */

/* Narrow, calm reading column */
.bj-session-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Session hero ---- */
.bj-session-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FAF8F5 0%, #EDE8E1 45%, #D6E4DB 100%);
  padding: 64px 24px 72px;
  text-align: center;
}

.bj-session-hero .bj-hero-blob--1 {
  top: -40%;
  right: -18%;
  width: 520px;
  height: 520px;
}

.bj-session-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.bj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--bj-text-secondary);
  margin-bottom: 24px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.bj-back-link:hover { color: var(--bj-sage-dark); gap: 9px; }

.bj-session-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bj-sage-dark);
  background: rgba(126, 155, 140, 0.14);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.bj-session-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--bj-text-primary);
  margin-bottom: 14px;
}

.bj-session-tagline {
  font-size: 1.08rem;
  color: var(--bj-text-secondary);
  max-width: 480px;
  margin: 0 auto 26px;
}

.bj-session-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bj-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bj-text-secondary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--bj-border);
  padding: 7px 15px;
  border-radius: 100px;
}

.bj-meta-pill.is-free {
  color: #fff;
  background: var(--bj-amber);
  border-color: var(--bj-amber);
}

/* ---- Player ---- */
.bj-player-section {
  margin-top: -44px;
  position: relative;
  z-index: 5;
  padding-bottom: 20px;
}

.bj-player-card {
  background: var(--bj-bg-card);
  border-radius: var(--bj-radius-lg);
  box-shadow: var(--bj-shadow-medium);
  padding: 28px;
}

.bj-player-card iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--bj-radius-sm);
}

/* Placeholder shown until the Transistor embed is added */
.bj-player-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 8px;
}

.bj-player-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bj-sage) 0%, var(--bj-sage-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bj-player-disc svg { display: block; }

.bj-player-placeholder-text h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bj-text-primary);
  margin-bottom: 4px;
}

.bj-player-placeholder-text p {
  font-size: 0.9rem;
  color: var(--bj-text-secondary);
  line-height: 1.6;
}

/* Faux waveform in the placeholder */
.bj-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.bj-wave span {
  width: 3px;
  border-radius: 3px;
  background: var(--bj-sage-light);
  opacity: 0.6;
}

/* ---- Generic session section ---- */
.bj-session-section {
  padding: 56px 0;
}

.bj-session-section--alt {
  background: var(--bj-bg-section);
}

.bj-session-section h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--bj-text-primary);
  margin-bottom: 16px;
}

.bj-session-section p.bj-lead {
  font-size: 1.02rem;
  color: var(--bj-text-secondary);
  line-height: 1.85;
}

/* Technique tags */
.bj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.bj-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bj-sage-dark);
  background: rgba(126, 155, 140, 0.1);
  padding: 7px 15px;
  border-radius: 100px;
}

/* How-to-listen list */
.bj-tips {
  margin-top: 8px;
}

.bj-tip {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bj-border);
}

.bj-tip:last-child { border-bottom: 0; }

.bj-tip-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(126, 155, 140, 0.14);
  color: var(--bj-sage-dark);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bj-tip p {
  font-size: 0.96rem;
  color: var(--bj-text-secondary);
  line-height: 1.6;
}

/* Session structure timeline */
.bj-timeline {
  margin-top: 10px;
  border-left: 2px solid var(--bj-border);
  padding-left: 26px;
}

.bj-tl-item {
  position: relative;
  padding-bottom: 28px;
}

.bj-tl-item:last-child { padding-bottom: 0; }

.bj-tl-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bj-sage);
  border: 3px solid var(--bj-bg-warm);
}

.bj-session-section--alt .bj-tl-item::before {
  border-color: var(--bj-bg-section);
}

.bj-tl-time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--bj-sage);
  margin-bottom: 3px;
}

.bj-tl-item h3 {
  font-family: 'Lora', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--bj-text-primary);
  margin-bottom: 5px;
}

.bj-tl-item p {
  font-size: 0.93rem;
  color: var(--bj-text-secondary);
  line-height: 1.65;
}

/* ---- Upsell / buy box ---- */
.bj-buy {
  background: linear-gradient(145deg, #EBF0ED 0%, #F2EFEB 100%);
  border-radius: var(--bj-radius-xl);
  padding: 44px 40px;
  box-shadow: var(--bj-shadow-soft);
}

.bj-buy-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bj-amber-dark);
  background: rgba(196, 149, 106, 0.14);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.bj-buy h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bj-text-primary);
  margin-bottom: 10px;
}

.bj-buy-desc {
  font-size: 0.98rem;
  color: var(--bj-text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
}

.bj-buy-list {
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
}

.bj-buy-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--bj-text-secondary);
}

.bj-buy-check {
  color: var(--bj-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.bj-buy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--bj-border);
}

.bj-buy-price {
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--bj-text-primary);
}

.bj-buy-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--bj-text-muted);
}

.bj-buy-price small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--bj-amber-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* ---- Disclaimer ---- */
.bj-disclaimer {
  padding: 40px 0 64px;
}

.bj-disclaimer-box {
  background: var(--bj-bg-card);
  border: 1px solid var(--bj-border);
  border-radius: var(--bj-radius-md);
  padding: 26px 28px;
}

.bj-disclaimer-box h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bj-text-muted);
  margin-bottom: 10px;
}

.bj-disclaimer-box p {
  font-size: 0.86rem;
  color: var(--bj-text-muted);
  line-height: 1.75;
}

/* Admin-only hint when a page slug has no matching session data */
.bj-admin-note {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 14px 18px;
  background: #FCF3E6;
  border: 1px solid var(--bj-amber-light);
  border-radius: var(--bj-radius-sm);
  font-size: 0.86rem;
  color: var(--bj-amber-dark);
}

@media (max-width: 720px) {
  .bj-session-section { padding: 44px 0; }
  .bj-player-section { margin-top: -36px; }
  .bj-player-card { padding: 18px; }
  .bj-player-placeholder { flex-direction: column; text-align: center; align-items: center; }
  .bj-buy { padding: 32px 24px; }
  .bj-buy-foot { flex-direction: column; align-items: stretch; }
  .bj-buy-foot .bj-btn { justify-content: center; }
}
