/* ============================================================
   PPP additions — content-review v2
   Loaded after the Next.js bundle CSS so these rules win cascade.
   ============================================================ */

/* ---- Amazon Best Seller badge overlay (book + home heros) ---- */
.book-cover-with-badge {
  position: relative;
  display: inline-block;
}
.book-cover-with-badge .book-cover-image,
.book-cover-with-badge > img:first-child {
  display: block;
  width: 100%;
  height: auto;
}
.best-seller-badge {
  position: absolute;
  top: -8%;
  right: -8%;
  width: 32%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.20));
  pointer-events: none;
}
@media (max-width: 768px) {
  .best-seller-badge {
    width: 28%;
    top: -6%;
    right: -6%;
  }
}

/* ---- Best Seller eyebrow accent ---- */
.eyebrow--bestseller {
  color: #FACF65; /* ppp-yellow-sun */
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---- Book hero hook line ---- */
.hero__hook {
  font-family: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  color: #F5F0E4;
  margin: 1rem 0 1.25rem 0;
  line-height: 1.3;
}

/* ---- Champion outcome callout ---- */
.outcome-callout {
  background: rgba(250, 207, 101, 0.08);
  border-left: 4px solid #FACF65;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 1rem 0;
}
.outcome-callout strong {
  font-family: inherit;
  font-size: 1.5rem;
  color: #F5F0E4;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.outcome-callout p {
  color: rgba(245, 240, 228, 0.85);
  margin: 0;
}

/* ---- PPP Review form embed container ---- */
.ppp-review-form-mount {
  margin-top: 1.5rem;
}
.ppp-review-form-mount .ow-form-embed-card,
.be-on-the-show-form-mount .ow-form-embed-card {
  background: #F5F0E4;
  border-radius: 8px;
}

/* ---- Resources card badges (gated + featured variants) ---- */
.card-grid .card.card--gated,
.card-grid .card.card--featured {
  position: relative;
}
.card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(250, 207, 101, 0.18); /* yellow tint — gated */
  color: #1B3526;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  line-height: 1.4;
}
.card--featured .card__badge {
  background: rgba(97, 166, 14, 0.18); /* green tint — interactive */
  color: #1B3526;
}

/* ---- Resources page FAQ section ---- */
.faq-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.faq-section--paper {
  background: #F5F0E4;
}
.faq-section .container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.faq-section h2 {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1B3526;
  line-height: 1.2;
}
.faq-section .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(27, 53, 38, 0.88);
  margin-bottom: 2.25rem;
}
.faq-section .lede a {
  color: #1B3526;
  font-weight: 600;
  text-decoration: underline;
}
.faq-section .lede a:hover {
  color: #61a60e;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-list__subhead {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(27, 53, 38, 0.65);
  margin: 1.75rem 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(27, 53, 38, 0.15);
}
.faq-list__subhead:first-child {
  margin-top: 0;
}
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(27, 53, 38, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] {
  border-color: rgba(97, 166, 14, 0.55);
  box-shadow: 0 2px 12px rgba(27, 53, 38, 0.06);
}
.faq-item__q {
  display: block;
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.75rem 1rem 1.25rem;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 600;
  color: #1B3526;
  line-height: 1.45;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: #61a60e;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__q::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-item__q:hover {
  color: #61a60e;
}
.faq-item__q:focus-visible {
  outline: 2px solid #61a60e;
  outline-offset: -2px;
}
.faq-item__a {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: rgba(27, 53, 38, 0.9);
  line-height: 1.65;
  font-size: 1rem;
}
.faq-item__a p {
  margin: 0 0 0.85rem 0;
}
.faq-item__a p:last-child {
  margin-bottom: 0;
}
.faq-item__a ul {
  margin: 0 0 0.85rem 0;
  padding-left: 1.5rem;
}
.faq-item__a ul li {
  margin-bottom: 0.35rem;
}

/* ---- Resources page closing CTA ("Past the resources? Run a real review.") ---- */
.resources-closing-cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #F5F0E4;
  border-top: 1px solid rgba(27, 53, 38, 0.08);
  border-bottom: 1px solid rgba(27, 53, 38, 0.08);
}
.resources-closing-cta .container-narrow {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.resources-closing-cta__heading {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: #1B3526;
  line-height: 1.2;
}
.resources-closing-cta__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(27, 53, 38, 0.88);
  margin: 0 0 1.75rem 0;
}

/* ---- Glossary page (/glossary) ---- */
.glossary-section {
  padding-block: clamp(2rem, 5vw, 4rem);
}
.glossary-intro {
  max-width: 64ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(27, 53, 38, 0.85);
}
.glossary-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  background: rgba(250, 240, 220, 0.5);
  border-left: 4px solid #FACF65;
  border-radius: 4px;
  font-size: 0.875rem;
}
.glossary-toc__link {
  color: #1B3526;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.glossary-toc__link:hover {
  text-decoration: underline;
}
.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.glossary-entry {
  scroll-margin-top: 5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(27, 53, 38, 0.12);
}
.glossary-entry:last-child {
  border-bottom: none;
}
.glossary-term {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B3526;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
.glossary-def {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(27, 53, 38, 0.92);
}
.glossary-def p {
  margin: 0 0 0.75rem 0;
}
.glossary-def ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}
.glossary-def li {
  margin-bottom: 0.25rem;
}
.glossary-def strong a,
.glossary-def a {
  color: #1B3526;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: inherit;
}
.glossary-def strong a {
  font-weight: 600;
}
.glossary-def a:hover {
  color: #61a60e;
}
.glossary-seealso {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(27, 53, 38, 0.7);
  font-style: italic;
}
.glossary-seealso a {
  font-style: normal;
}

/* ---- Vendor Contract Audit (/vendor-contract-audit) ---- */
.audit-questions {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: #1B3526;
  color: #F5F0E4;
}
.audit-shell {
  max-width: 760px;
  margin: 0 auto;
  background: #F5F0E4;
  color: #1B3526;
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.audit-shell--done {
  /* hide questions UI once results render */
}
.audit-shell--done .audit-header,
.audit-shell--done #audit-questions-container,
.audit-shell--done .audit-nav {
  display: none;
}
.audit-header {
  margin-bottom: 1.5rem;
}
.audit-progress {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(27, 53, 38, 0.65);
  margin-bottom: 0.5rem;
}
.audit-progress-bar {
  height: 6px;
  background: rgba(27, 53, 38, 0.10);
  border-radius: 999px;
  overflow: hidden;
}
.audit-progress-fill {
  height: 100%;
  background: #61a60e;
  transition: width 240ms ease;
}
.audit-question {
  display: block;
}
.audit-question[hidden] {
  display: none;
}
.audit-question__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #61a60e;
  margin: 0 0 0.75rem 0;
}
.audit-question__text {
  font-family: inherit;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 1.75rem 0;
  color: #1B3526;
}
.audit-answer-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.audit-answer-btn {
  appearance: none;
  border: 2px solid rgba(27, 53, 38, 0.15);
  background: #FFFFFF;
  color: #1B3526;
  padding: 0.85rem 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, transform 80ms ease;
  min-height: 56px;
}
.audit-answer-btn:hover {
  border-color: #61a60e;
  background: rgba(97, 166, 14, 0.06);
}
.audit-answer-btn:active {
  transform: translateY(1px);
}
.audit-answer-btn--selected {
  border-color: #61a60e !important;
  background: #61a60e !important;
  color: #FFFFFF !important;
}
.audit-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.75rem;
  gap: 1rem;
}
.audit-nav .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.audit-restart-link {
  background: none;
  border: none;
  color: #1B3526;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.5rem;
}
@media (max-width: 540px) {
  .audit-answer-buttons {
    grid-template-columns: 1fr;
  }
}

/* ---- Audit results ---- */
.audit-results {
  max-width: 760px;
  margin: 2rem auto 0 auto;
  color: #F5F0E4;
}
.result-card {
  background: #F5F0E4;
  color: #1B3526;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  border-left: 6px solid #FACF65;
  margin-bottom: 2rem;
}
.result-card .eyebrow {
  color: rgba(27, 53, 38, 0.65);
}
.result-score {
  font-family: inherit;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem 0;
  color: #1B3526;
}
.score-number {
  color: #61a60e;
  font-size: 1.4em;
}
.result-tier {
  font-family: inherit;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1B3526;
  margin: 0 0 0.75rem 0;
}
.result-summary {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(27, 53, 38, 0.9);
  margin: 0;
}

.heatmap {
  background: #F5F0E4;
  color: #1B3526;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  margin-bottom: 2rem;
}
.heatmap-title {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: #1B3526;
}
.heatmap-rows {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.heatmap-row {
  display: grid;
  grid-template-columns: 220px 1fr 60px;
  gap: 1rem;
  align-items: center;
}
.heatmap-label {
  font-weight: 600;
  color: #1B3526;
  font-size: 0.95rem;
}
.heatmap-track {
  height: 22px;
  background: rgba(27, 53, 38, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.heatmap-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 600ms ease;
}
.heatmap-bar--green { background: #61a60e; }
.heatmap-bar--yellow { background: #FACF65; }
.heatmap-bar--orange { background: #E89F36; }
.heatmap-bar--red { background: #C75B45; }
.heatmap-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(27, 53, 38, 0.8);
  text-align: right;
}
@media (max-width: 600px) {
  .heatmap-row {
    grid-template-columns: 1fr 50px;
  }
  .heatmap-label {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }
  .heatmap-track {
    grid-column: 1 / 2;
  }
}

.recommendations {
  background: #F5F0E4;
  color: #1B3526;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  margin-bottom: 2rem;
}
.recommendations-title {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: #1B3526;
}
.recommendation {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(27, 53, 38, 0.10);
}
.recommendation:first-of-type {
  border-top: none;
  padding-top: 0;
}
.recommendation__cat {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #61a60e;
}
.recommendation p {
  margin: 0;
  line-height: 1.65;
  color: rgba(27, 53, 38, 0.92);
}
.recommendation--full .recommendation__cat {
  color: #61a60e;
}

.share-block {
  background: #F5F0E4;
  color: #1B3526;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
}
.share-block h3 {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1B3526;
}
.share-block > p {
  margin: 0 0 1rem 0;
  color: rgba(27, 53, 38, 0.85);
}
.share-block textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.75rem;
  border: 1px solid rgba(27, 53, 38, 0.20);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  background: #FFFFFF;
  color: #1B3526;
  line-height: 1.5;
}
.share-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.share-feedback {
  font-size: 0.875rem;
  color: #61a60e;
  font-weight: 600;
}

/* ---- /resources FAQ section ---- */
.faq-section {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.faq-section--paper {
  background: #F5F0E4;
  color: #1B3526;
}
.faq-section .lede {
  margin-top: 0;
  margin-bottom: 2rem;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-subsection {
  margin-bottom: 2.5rem;
}
.faq-subsection:last-child {
  margin-bottom: 0;
}
.faq-subsection__heading {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #61a60e;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(27, 53, 38, 0.12);
}
.faq-item {
  border-bottom: 1px solid rgba(27, 53, 38, 0.10);
  padding: 0.25rem 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.5rem 1rem 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1B3526;
  position: relative;
  line-height: 1.5;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: #61a60e;
  transition: transform 180ms ease;
  line-height: 1;
}
.faq-item[open] .faq-item__q::after {
  content: "−";
}
.faq-item__q:hover {
  color: #61a60e;
}
.faq-item__a {
  padding: 0 2.5rem 1.25rem 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(27, 53, 38, 0.92);
}
.faq-item__a a {
  color: #1B3526;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item__a a:hover {
  color: #61a60e;
}
.faq-item__a ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}
.faq-item__a li {
  margin-bottom: 0.25rem;
}

/* ---- /ppp-review form ---- */
#ppp-review-embed-mount {
  min-height: 60px;
}
.ppp-review-fallback {
  width: 100%;
}
.ppp-review-fallback__note {
  margin: 0 0 1.25rem 0;
  padding: 0.85rem 1rem;
  background: rgba(199, 91, 69, 0.10);
  border-left: 4px solid #C75B45;
  border-radius: 6px;
  font-size: 0.92rem;
  color: #1B3526;
  line-height: 1.5;
}
.ppp-review-form-mount {
  max-width: 720px;
  margin: 2rem auto 0 auto;
}
.ppp-review-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #F5F0E4;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 10px;
  border: 1px solid rgba(27, 53, 38, 0.10);
}
.ppp-review-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ppp-review-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1B3526;
  letter-spacing: 0.01em;
}
.ppp-review-form .form-req {
  color: #C75B45;
  margin-left: 0.15rem;
}
.ppp-review-form input[type="text"],
.ppp-review-form input[type="email"],
.ppp-review-form input[type="tel"],
.ppp-review-form select,
.ppp-review-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid rgba(27, 53, 38, 0.20);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #FFFFFF;
  color: #1B3526;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ppp-review-form input:focus,
.ppp-review-form select:focus,
.ppp-review-form textarea:focus {
  outline: none;
  border-color: #61a60e;
  box-shadow: 0 0 0 3px rgba(97, 166, 14, 0.18);
}
.ppp-review-form input:invalid:not(:placeholder-shown),
.ppp-review-form select:invalid:not([data-touched="false"]) {
  /* don't show invalid state until user touches */
}
.ppp-review-form textarea {
  resize: vertical;
  min-height: 100px;
}
.ppp-review-form .form-field--checkbox {
  flex-direction: row;
}
.ppp-review-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(27, 53, 38, 0.85);
}
.ppp-review-form .checkbox-label input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #61a60e;
  cursor: pointer;
}
.ppp-review-form .checkbox-label a {
  color: #1B3526;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ppp-review-form .checkbox-label a:hover {
  color: #61a60e;
}
.ppp-review-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.ppp-review-form .form-note {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(27, 53, 38, 0.65);
}
.ppp-review-form .form-error {
  padding: 0.75rem 1rem;
  background: rgba(199, 91, 69, 0.10);
  border-left: 3px solid #C75B45;
  border-radius: 4px;
  color: #8B2F1C;
  font-size: 0.95rem;
  margin: 0;
}

.form-success {
  max-width: 720px;
  margin: 2rem auto 0 auto;
  background: rgba(97, 166, 14, 0.08);
  border-left: 4px solid #61a60e;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 10px;
}
.form-success h3 {
  font-family: inherit;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #1B3526;
}
.form-success p {
  margin: 0 0 1.25rem 0;
  color: rgba(27, 53, 38, 0.9);
  line-height: 1.65;
}
.form-success__intro {
  margin: 0 0 1rem 0;
  color: rgba(27, 53, 38, 0.9);
  line-height: 1.65;
}
.form-success__steps {
  margin: 0 0 1.5rem 0;
  padding-left: 1.25rem;
  color: rgba(27, 53, 38, 0.92);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-success__steps li {
  padding-left: 0.25rem;
}
.form-success__steps li strong {
  color: #1B3526;
  font-weight: 700;
}
.form-success__cta-lede {
  margin: 0 0 0.75rem 0;
  font-weight: 600;
  color: #1B3526;
}
.form-success__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.form-success__attribution {
  margin: 1.25rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 53, 38, 0.12);
  font-size: 0.85rem;
  color: rgba(27, 53, 38, 0.7);
  line-height: 1.55;
}
.form-success__attribution a {
  color: #1B3526;
  text-decoration: underline;
  font-weight: 600;
}
.form-success__attribution a:hover {
  color: #61a60e;
}

/* ---- Podcast episode transcript (injected by scripts/regenerate-podcast.py) ---- */
.episode-transcript {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 53, 38, 0.12);
}
.episode-transcript__title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: var(--text, #1b3526);
}
.episode-transcript__body,
.episode-transcript__body--plain {
  font-size: var(--fs-body, 1rem);
  line-height: 1.7;
  color: rgba(27, 53, 38, 0.92);
}
.episode-transcript__body p {
  margin: 0 0 1rem 0;
}
.episode-transcript__body h2,
.episode-transcript__body h3,
.episode-transcript__body h4 {
  font-family: var(--font-display, inherit);
  margin: 1.75rem 0 0.75rem 0;
  font-weight: 700;
}
.episode-transcript__body h2:first-child,
.episode-transcript__body h3:first-child {
  margin-top: 0;
}
.episode-transcript__body--plain {
  white-space: pre-wrap;
}

/* ---- Standard footer: “Three ways in” — primary row + PPP Review ---- */
.cta-section.three-ways-blocks .three-ways-blocks__lede {
  color: rgba(245, 240, 228, 0.9);
}
.three-ways-blocks__cta-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  width: 100%;
}
.three-ways-blocks__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.three-ways-blocks__cta-row--secondary {
  margin-top: 0.15rem;
}
/* Secondary CTA: lighter outline on dark green (no btn-primary fill) */
.cta-section--dark.three-ways-blocks .three-ways-blocks__cta-review {
  background: transparent;
  color: #f5f0e4;
  border: 2px solid rgba(245, 240, 228, 0.88);
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  font-size: 0.98rem;
}
.cta-section--dark.three-ways-blocks .three-ways-blocks__cta-review:hover {
  background: rgba(245, 240, 228, 0.14);
  color: #fff;
  border-color: #f5f0e4;
}
@media (max-width: 640px) {
  .three-ways-blocks__cta-row--primary .btn-lg {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .cta-section--dark.three-ways-blocks .three-ways-blocks__cta-review {
    width: 100%;
    max-width: 22rem;
    text-align: center;
  }
}
/* Legacy three-column yellow cards (older exports only) */
.three-ways-blocks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}
.three-ways-blocks__block {
  background: #f4df9e;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(27, 53, 38, 0.14);
}
.three-ways-blocks__heading {
  font-family: inherit;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: #1b3526;
  margin: 0;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .three-ways-blocks__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Episode page enhancements (show notes + transcript + video facade)
   Added 2026-05-18 when the per-episode pages were rebuilt
   to surface full transcripts and structured show notes.
   ============================================================ */

/* ---- Section heads within the rich-content column ---- */
.rich-content__h2 {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  color: #1B3526;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.25;
}
.rich-content__h2:first-child {
  margin-top: 0;
}
.rich-content__list {
  margin: 0.5rem 0 1.5rem 1.25rem;
  padding: 0;
}
.rich-content__list li {
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

/* ---- Pull quote ---- */
.episode-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  background: rgba(97, 166, 14, 0.06);
  border-left: 4px solid #61a60e;
  border-radius: 0 8px 8px 0;
}
.episode-quote p {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-style: italic;
  font-weight: 500;
  color: #1B3526;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
}
.episode-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(27, 53, 38, 0.7);
  font-weight: 600;
}

/* ---- Key moments / chapters ---- */
.episode-chapters {
  list-style: none;
  margin: 0.75rem 0 1.5rem 0;
  padding: 0;
  border-top: 1px solid rgba(27, 53, 38, 0.12);
}
.episode-chapters li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(27, 53, 38, 0.08);
}
.episode-chapters__time {
  flex: 0 0 auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: #61a60e;
  min-width: 4.5em;
}
.episode-chapters__label {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #1B3526;
  line-height: 1.4;
}

/* ---- Episode listing cards: force art to square, center-crop 16:9 sources ---- */
.episode-card__art-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- YouTube facade (click-to-play poster) ---- */
.episode-video {
  margin: 0 0 1.5rem 0;
}
.episode-video__poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20, 33, 26, 0.18);
  background: #000;
  text-decoration: none;
}
.episode-video__poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 200ms ease;
}
.episode-video__poster:hover img,
.episode-video__poster:focus-visible img {
  transform: scale(1.02);
}
.episode-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #c40015;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, background 200ms ease;
}
.episode-video__poster:hover .episode-video__play,
.episode-video__poster:focus-visible .episode-video__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.episode-video__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

/* ---- Transcript expander ---- */
.episode-transcript {
  margin: 2rem 0 1.5rem 0;
  border: 1px solid rgba(27, 53, 38, 0.15);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.episode-transcript[open] {
  background: #fdfdfb;
}
.episode-transcript__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 3rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  background: linear-gradient(180deg, #fafaf6, #f4f1ea);
  border-bottom: 1px solid transparent;
  transition: background 150ms ease;
}
.episode-transcript[open] .episode-transcript__toggle {
  border-bottom-color: rgba(27, 53, 38, 0.1);
  background: linear-gradient(180deg, #f6f4ee, #efeae0);
}
.episode-transcript__toggle::-webkit-details-marker {
  display: none;
}
.episode-transcript__toggle::before {
  content: "+";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: #61a60e;
  transition: transform 200ms ease;
}
.episode-transcript[open] .episode-transcript__toggle::before {
  content: "−";
}
.episode-transcript__label {
  font-family: var(--font-display, inherit);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  color: #1B3526;
}
.episode-transcript__meta {
  font-size: 0.8rem;
  color: rgba(27, 53, 38, 0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.episode-transcript__body {
  padding: 1.5rem 1.5rem 1.75rem 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}
.episode-transcript__section {
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B3526;
  margin: 1.5rem 0 0.75rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 53, 38, 0.1);
  letter-spacing: 0.01em;
}
.episode-transcript__section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.episode-transcript__turn {
  margin: 0 0 0.85rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #2a3d31;
}
.episode-transcript__speaker {
  color: #1B3526;
  font-weight: 700;
}

/* ---- Connect / contact sections on episode pages ---- */
.episode-connect {
  margin: 2.5rem 0 2rem 0;
  padding: 1.75rem 1.5rem;
  background: rgba(27, 53, 38, 0.03);
  border: 1px solid rgba(27, 53, 38, 0.10);
  border-radius: 8px;
}
.episode-connect__heading {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: #1B3526;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}
.episode-connect__person {
  margin-bottom: 1rem;
}
.episode-connect__person:last-child {
  margin-bottom: 0;
}
.episode-connect__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1B3526;
  margin: 0 0 0.25rem 0;
}
.episode-connect__role {
  font-size: 0.85rem;
  color: rgba(27, 53, 38, 0.65);
  font-style: italic;
  margin: 0 0 0.4rem 0;
}
.episode-connect__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.episode-connect__links li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2a3d31;
}
.episode-connect__links a {
  color: #1B3526;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.episode-connect__links a:hover {
  color: #61a60e;
}
.episode-connect + .episode-connect {
  margin-top: 0;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.episode-connect:has(+ .episode-connect) {
  margin-bottom: 0;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Smaller screens: tighten meta + body padding */
@media (max-width: 640px) {
  .episode-transcript__toggle {
    padding-left: 2.5rem;
  }
  .episode-transcript__body {
    padding: 1.25rem 1rem 1.5rem 1rem;
    max-height: 60vh;
  }
  .episode-chapters li {
    flex-direction: column;
    gap: 0.15rem;
    align-items: flex-start;
  }
  .episode-video__play {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .episode-connect {
    padding: 1.25rem 1rem;
  }
}
