/* Credit quiz — baycorp.co.nz/credit-quiz */

/* Header + intro/question hero ≈ 90vh */
.bc-layout-quiz {
  --bc-quiz-stack-h: 90vh;
  --bc-quiz-chrome-top: calc(var(--bc-header-h, 74px) + var(--bc-announcement-bar-h, 0px));
}

.bc-layout-quiz #main-content {
  padding: 0;
}

.bc-layout-quiz.bc-quiz-hero-stage-visible .gnw {
  min-height: var(--bc-quiz-stack-h);
}

.bc-credit-quiz-page {
  background: #f4f7f8;
}

.bc-credit-quiz-page.bc-credit-quiz-page--result {
  background: var(--bc-cyan, #00b0cc);
}

.bc-credit-quiz {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.bc-credit-quiz.bc-credit-quiz--hero-stage {
  max-width: none;
  margin: 0;
  padding: 0;
}

.bc-quiz-panel[hidden] {
  display: none !important;
}

/* ===== Intro + question hero (full-width cyan, two columns) ===== */
.bc-quiz-hero {
  display: flex;
  align-items: center;
  min-height: calc(var(--bc-quiz-stack-h) - var(--bc-quiz-chrome-top));
  background: var(--bc-cyan, #00b0cc);
  color: #fff;
}

.bc-quiz-hero__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}

.bc-quiz-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bc-quiz-hero__title {
  margin: 0 0 1.25rem;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.bc-quiz-hero__title--question {
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.bc-quiz-hero__lead {
  max-width: 34rem;
  margin-bottom: 1.75rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: var(--bc-teal, #003d52);
}

.bc-quiz-hero__lead.rte p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.bc-quiz-hero__lead.rte p:last-child {
  margin-bottom: 0;
}

.bc-quiz-progress {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.bc-quiz-progress__current {
  color: #fff;
}

.bc-quiz-progress__rest {
  color: #003d52;
}

.bc-quiz-hero--question .bc-quiz-question-intro {
  max-width: 34rem;
  margin: -0.75rem 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  font-size: 1.0625rem !important;
    line-height: 1.7 !important;
  color: #fff;
}

.bc-quiz-btn-begin {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--bc-teal, #003d52);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
  transition: background 0.15s ease;
}

.bc-quiz-btn-begin:hover,
.bc-quiz-btn-begin:focus-visible {
  background: var(--bc-teal-dark, #002835);
  color: #fff;
}

.bc-quiz-btn-next {
  margin-top: 1.75rem;
  padding: 0.8rem 4rem;
  min-width: 10.5rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.bc-quiz-btn-next:hover:not(:disabled),
.bc-quiz-btn-next:focus-visible:not(:disabled) {
  background: var(--bc-teal, #003d52);
  border-color: #fff;
  color: #fff;
}

.bc-quiz-btn-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bc-quiz-answers {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bc-quiz-answers__item {
  margin: 0;
}

.bc-quiz-answer {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--bc-teal, #003d52);
  font-size: clamp(1rem, 1.75vw, 1.125rem);
  font-weight: 600;
  line-height: 1.45;
}

.bc-quiz-answer:hover:not(.is-selected) .bc-quiz-answer__radio,
.bc-quiz-answer:focus-visible:not(.is-selected) .bc-quiz-answer__radio {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.bc-quiz-answer__radio {
  position: relative;
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.bc-quiz-answer__radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0, 40, 53, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.bc-quiz-answer.is-selected .bc-quiz-answer__radio {
  background: var(--bc-teal, #003d52);
  border-color: #fff;
  box-shadow: inset 0 0 0 3px var(--bc-cyan, #00b0cc);
}

.bc-quiz-answer.is-selected .bc-quiz-answer__radio::after {
  display: none;
}

.bc-quiz-answer__label {
  flex: 1 1 auto;
}

.bc-quiz-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bc-quiz-hero__figure {
  margin: 0;
  width: 100%;
  max-width: 420px;
}

.bc-quiz-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .bc-layout-quiz.bc-quiz-hero-stage-visible .gnw {
    min-height: 0;
  }

  /* Intro mobile — title → image → lead → button (baycorp.co.nz credit-quiz) */
  .bc-quiz-panel--intro .bc-quiz-hero {
    align-items: stretch;
    min-height: calc(var(--bc-quiz-stack-h) - var(--bc-quiz-chrome-top));
  }

  .bc-quiz-panel--intro .bc-quiz-hero__container {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    padding-block: clamp(2rem, 6vh, 3.5rem);
  }

  .bc-quiz-panel--intro .bc-quiz-hero__row {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 5vw, 2.25rem);
    text-align: center;
  }

  .bc-quiz-panel--intro .bc-quiz-hero__row > .col-lg-1,
  .bc-quiz-panel--intro .bc-quiz-hero__copy,
  .bc-quiz-panel--intro .bc-quiz-hero__media {
    display: contents;
  }

  .bc-quiz-panel--intro .bc-quiz-hero__title {
    order: 1;
    width: 100%;
    max-width: 18.5rem;
    margin: 0;
    font-size: clamp(1.5rem, 6.8vw, 2rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .bc-quiz-panel--intro .bc-quiz-hero__figure {
    order: 2;
    max-width: min(39vw, 170px);
    margin: 0;
  }

  .bc-quiz-panel--intro .bc-quiz-hero__img {
    max-height: min(21vh, 150px);
  }

  .bc-quiz-panel--intro .bc-quiz-hero__lead {
    order: 3;
    width: 100%;
    max-width: min(21rem, 90vw);
    margin: 0;
    text-align: center;
    font-size: clamp(0.9375rem, 3.6vw, 1.05rem);
    line-height: 1.55;
  }

  .bc-quiz-panel--intro .bc-quiz-btn-begin {
    order: 4;
    margin-top: 0.25rem;
  }

  /* Question mobile — progress → image → question → answers → next */
  .bc-quiz-panel--question .bc-quiz-hero {
    align-items: stretch;
    min-height: 0;
  }

  .bc-quiz-panel--question .bc-quiz-hero__container {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-block: clamp(1.5rem, 4vh, 2.5rem) clamp(1.25rem, 3vh, 1.75rem);
    padding-inline: clamp(1.75rem, 8vw, 2.75rem);
  }

  .bc-quiz-panel--question .bc-quiz-hero__row {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 4vw, 1.75rem);
  }

  .bc-quiz-panel--question .bc-quiz-hero__row > .col-lg-1,
  .bc-quiz-panel--question .bc-quiz-hero__copy,
  .bc-quiz-panel--question .bc-quiz-hero__media {
    display: contents;
  }

  .bc-quiz-panel--question .bc-quiz-progress {
    order: 1;
    align-self: flex-start;
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: clamp(1.0625rem, 4.5vw, 1.3125rem);
  }

  .bc-quiz-panel--question .bc-quiz-progress__current {
    color: #fff;
  }

  .bc-quiz-panel--question .bc-quiz-progress__rest {
    color: #003d52;
  }

  .bc-quiz-panel--question .bc-quiz-hero__figure {
    order: 2;
    max-width: min(36vw, 150px);
    margin: 0;
  }

  .bc-quiz-panel--question .bc-quiz-hero__img {
    max-height: min(16vh, 120px);
  }

  .bc-quiz-panel--question .bc-quiz-hero__title--question {
    order: 3;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    text-align: center;
    font-size: clamp(1.25rem, 5.2vw, 1.75rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.06em;
  }

  .bc-quiz-panel--question .bc-quiz-question-intro {
    order: 4;
    width: 100%;
    max-width: min(21rem, 90vw);
    margin: 0;
    text-align: center;
  }

  .bc-quiz-panel--question .bc-quiz-answers {
    order: 5;
    align-self: stretch;
    width: 100%;
    max-width: none;
    gap: 1.25rem;
  }

  .bc-quiz-panel--question .bc-quiz-answer {
    gap: 0.65rem;
    font-size: clamp(0.8125rem, 3.2vw, 0.9375rem);
    font-weight: 600;
    line-height: 1.45;
  }

  .bc-quiz-panel--question .bc-quiz-answer__radio {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    border-width: 1.5px;
  }

  .bc-quiz-panel--question .bc-quiz-answer__radio::after {
    inset: 3px;
  }

  .bc-quiz-panel--question .bc-quiz-answer.is-selected .bc-quiz-answer__radio {
    box-shadow: inset 0 0 0 2px var(--bc-cyan, #00b0cc);
  }

  .bc-quiz-panel--question .bc-quiz-btn-next {
    order: 6;
    align-self: center;
    margin-top: 0.5rem;
  }
}

/* ===== Details / result (card layout) ===== */
.bc-quiz-panel__inner {
  background: #fff;
  border: 1px solid rgba(0, 61, 82, 0.15);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 61, 82, 0.06);
}

.bc-quiz-panel--empty .bc-quiz-panel__inner {
  max-width: 720px;
  margin: 2.5rem auto 4rem;
}

/* ===== Result (baycorp.co.nz credit-quiz — cyan hero + share footer) ===== */
.bc-credit-quiz.bc-credit-quiz--result-stage {
  max-width: none;
  margin: 0;
  padding: 0;
}

.bc-layout-quiz.bc-quiz-result-stage-visible .gnw {
  min-height: auto;
}

.bc-quiz-result-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--bc-quiz-chrome-top));
  min-height: calc(100svh - var(--bc-quiz-chrome-top));
  background: var(--bc-cyan, #00b0cc);
}

.bc-quiz-result-hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.bc-quiz-result-hero__inner {
  width: 100%;
  max-width: min(54rem, 92vw);
  margin: 0 auto;
  text-align: center;
}

.bc-quiz-result-title {
  margin: 0 0 1.5rem;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.bc-quiz-result-figure {
  margin: 0 auto 1.75rem;
  max-width: 260px;
}

.bc-quiz-result-figure__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vh, 300px);
  margin: 0 auto;
  object-fit: contain;
}

.bc-quiz-result-body {
  margin: 0 auto 1.25rem;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--bc-teal-dark, #002835);
  text-align: center;
}

.bc-quiz-result-body.rte p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.bc-quiz-result-body.rte p:last-child {
  margin-bottom: 0;
}

.bc-quiz-result-body.rte strong,
.bc-quiz-result-body.rte b {
  font-weight: 700;
}

.bc-quiz-result-body.rte a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-quiz-result-contact {
  max-width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--bc-teal-dark, #002835);
  text-align: center;
}

.bc-quiz-result-contact a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-quiz-result-share {
  flex-shrink: 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  background: var(--bc-cyan, #00b0cc);
}

.bc-quiz-result-share__heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.bc-quiz-result-share__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.bc-quiz-result-share__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 4px;
  /* background: var(--bc-teal-dark, #002835); */
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.bc-quiz-result-share__social-link:hover,
.bc-quiz-result-share__social-link:focus-visible {
  /* background: var(--bc-teal, #003d52); */  
  color: #fff;
}

.bc-quiz-result-share__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.bc-quiz-result-share__icon svg {
  display: block;
}

.bc-quiz-result-share__icon-img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.bc-quiz-result-share__copy {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 40, 53, 0.12);
  display:none;
}

.bc-quiz-result-share__copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 0;
  background: #fff;
  color: var(--bc-teal-dark, #002835);
  cursor: pointer;
}

.bc-quiz-result-share__copy-btn:hover,
.bc-quiz-result-share__copy-btn:focus-visible {
  background: #f0f4f6;
}

.bc-quiz-result-share__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 0;
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--bc-teal-dark, #002835);
}

.bc-quiz-result-share__input:focus {
  outline: none;
}

/* ===== Details form (cyan hero, baycorp.co.nz credit-quiz) ===== */
.bc-quiz-hero--details {
  align-items: flex-start;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.bc-quiz-hero__container--details {
  max-width: 960px;
}

.bc-quiz-details-heading {
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.bc-quiz-details-intro {
  max-width: 40rem;
  margin: -1rem auto 1.75rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bc-teal-dark, #002835);
}

.bc-quiz-details-intro.rte p {
  margin: 0 0 0.5rem;
  color: inherit;
}

.bc-quiz-details-form__grid {
  margin-top: 0.5rem;
}

.bc-quiz-field-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--bc-teal-dark, #002835);
}

.bc-quiz-field-input,
.bc-quiz-field-select {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--bc-teal, #003d52);
  font-size: 1rem;
  line-height: 1.4;
}

.bc-quiz-field-input:focus,
.bc-quiz-field-select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 1px;
}

.bc-quiz-field-select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23003d52' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
}

.bc-quiz-details-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
  padding-top: 0.75rem;
}

.bc-quiz-details-optout {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.bc-quiz-details-optout__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bc-quiz-details-optout__radio {
  position: relative;
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 0.05rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  box-shadow: none;
}

.bc-quiz-details-optout__radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0, 40, 53, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.bc-quiz-details-optout__input:checked + .bc-quiz-details-optout__radio {
  background: var(--bc-teal, #003d52);
  box-shadow: inset 0 0 0 3px var(--bc-cyan, #00b0cc);
}

.bc-quiz-details-optout__input:checked + .bc-quiz-details-optout__radio::after {
  display: none;
}

.bc-quiz-details-optout__text {
  flex: 0 1 auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--bc-teal-dark, #002835);
  white-space: nowrap;
}

.bc-quiz-btn-submit {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.7rem 3rem;
  min-width: 11rem;
  border: 0;
  border-radius: 999px;
  background: var(--bc-teal, #003d52);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease;
}

.bc-quiz-btn-submit:hover,
.bc-quiz-btn-submit:focus-visible {
  background: var(--bc-teal-dark, #002835);
  color: #fff;
}

@media (max-width: 767.98px) {
  .bc-quiz-details-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .bc-quiz-details-optout__text {
    white-space: normal;
  }

  .bc-quiz-btn-submit {
    width: 100%;
    margin-left: 0;
  }
}

.bc-quiz-empty {
  text-align: center;
  color: #5a6770;
  font-style: italic;
  padding: 2rem 1rem;
}

/* ===== Debt recovery odds calculator (baycorp.co.nz/calculator) ===== */
.bc-credit-quiz-page--debt-recovery,
.bc-credit-quiz--debt-recovery {
  --bc-quiz-surface: #004a5e;
  --bc-quiz-cta-top: #a6ce39;
  --bc-quiz-cta-bottom: #84b026;
  --bc-quiz-cta-hover-top: #b5da4a;
  --bc-quiz-cta-hover-bottom: #93be32;
  --bc-quiz-answer-top: #6dd4e4;
  --bc-quiz-answer-bottom: #00b0cc;
  --bc-quiz-answer-hover-top: #7edbea;
  --bc-quiz-answer-hover-bottom: #12b8d4;
}

.bc-credit-quiz-page--debt-recovery {
  background: var(--bc-quiz-surface);
}

.bc-credit-quiz--debt-recovery .bc-quiz-hero,
.bc-credit-quiz--debt-recovery .bc-quiz-panel--thanks .bc-quiz-thanks,
.bc-credit-quiz--debt-recovery .bc-quiz-result-page,
.bc-credit-quiz--debt-recovery .bc-quiz-result-share {
  background: var(--bc-quiz-surface);
}

.bc-credit-quiz-page--debt-recovery.bc-credit-quiz-page--result {
  background: var(--bc-quiz-surface);
}

.bc-credit-quiz--debt-recovery .bc-quiz-progress__current,
.bc-credit-quiz--debt-recovery .bc-quiz-progress__rest {
  color: #fff;
}

.bc-credit-quiz--debt-recovery .bc-quiz-field-label {
  color: #fff;
}

.bc-credit-quiz--debt-recovery .bc-quiz-hero__title {
  max-width: 25rem;
  line-height: 1.08;
}

/* Image before text (baycorp.co.nz/calculator) */
@media (min-width: 992px) {
  .bc-credit-quiz--debt-recovery .bc-quiz-hero__row > .col-lg-1 {
    order: 1;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-hero__media {
    order: 2;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-hero__copy {
    order: 3;
  }
}

@media (max-width: 991.98px) {
  .bc-credit-quiz--debt-recovery .bc-quiz-panel--intro .bc-quiz-hero__figure {
    order: 1;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-panel--intro .bc-quiz-hero__title {
    order: 2;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-panel--intro .bc-quiz-hero__lead {
    order: 3;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-panel--intro .bc-quiz-btn-begin {
    order: 4;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
  }
}

/* Start / Next — lime pill (baycorp.co.nz/calculator) */
.bc-credit-quiz--debt-recovery .btn.bc-quiz-btn-begin,
.bc-credit-quiz--debt-recovery .bc-quiz-btn-begin,
.bc-credit-quiz--debt-recovery .bc-quiz-btn-next {
  display: inline-block;
  min-width: 8.75rem;
  margin-top: 1.75rem;
  padding: 0.5rem 2.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--bc-quiz-cta-top) 0%,
    var(--bc-quiz-cta-top) 50%,
    var(--bc-quiz-cta-bottom) 50%,
    var(--bc-quiz-cta-bottom) 100%
  );
  box-shadow: none;
  color: #fff;
  font-family: var(--bc-font-ui, Arial, Helvetica, sans-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.bc-credit-quiz--debt-recovery .bc-quiz-btn-begin {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
}

.bc-credit-quiz--debt-recovery .bc-quiz-panel--intro .bc-quiz-btn-begin {
  margin-top: 0.25rem;
}

.bc-credit-quiz--debt-recovery .btn.bc-quiz-btn-begin:hover,
.bc-credit-quiz--debt-recovery .btn.bc-quiz-btn-begin:focus-visible,
.bc-credit-quiz--debt-recovery .bc-quiz-btn-begin:hover,
.bc-credit-quiz--debt-recovery .bc-quiz-btn-begin:focus-visible,
.bc-credit-quiz--debt-recovery .bc-quiz-btn-next:hover:not(:disabled),
.bc-credit-quiz--debt-recovery .bc-quiz-btn-next:focus-visible:not(:disabled) {
  background: linear-gradient(
    180deg,
    var(--bc-quiz-cta-hover-top) 0%,
    var(--bc-quiz-cta-hover-top) 50%,
    var(--bc-quiz-cta-hover-bottom) 50%,
    var(--bc-quiz-cta-hover-bottom) 100%
  );
  border: 0;
  color: #fff;
  filter: brightness(1.04);
}

.bc-credit-quiz--debt-recovery .bc-quiz-btn-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.bc-credit-quiz--debt-recovery .bc-quiz-btn-next {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
}

/* Answer pills — 3 per row, cyan (baycorp.co.nz/calculator) */
.bc-credit-quiz--debt-recovery .bc-quiz-answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: none;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answers__item {
  margin: 0;
  min-width: 0;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--bc-quiz-answer-top) 0%,
    var(--bc-quiz-answer-top) 50%,
    var(--bc-quiz-answer-bottom) 50%,
    var(--bc-quiz-answer-bottom) 100%
  );
  color: #fff;
  font-family: var(--bc-font-ui, Arial, Helvetica, sans-serif);
  font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answer__radio {
  display: none !important;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answer__label {
  flex: none;
  max-width: 100%;
  line-height: inherit;
  letter-spacing: inherit;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answer:hover:not(.is-selected),
.bc-credit-quiz--debt-recovery .bc-quiz-answer:focus-visible:not(.is-selected) {
  background: linear-gradient(
    180deg,
    var(--bc-quiz-answer-hover-top) 0%,
    var(--bc-quiz-answer-hover-top) 50%,
    var(--bc-quiz-answer-hover-bottom) 50%,
    var(--bc-quiz-answer-hover-bottom) 100%
  );
  filter: brightness(1.03);
  box-shadow: none;
}

.bc-credit-quiz--debt-recovery .bc-quiz-answer.is-selected {
  box-shadow: 0 0 0 3px #fff;
}

@media (min-width: 992px) {
  .bc-credit-quiz--debt-recovery .bc-quiz-answer {
    min-height: 3rem;
    padding: 0.45rem 0.65rem;
    font-size: clamp(0.8125rem, 1.05vw, 1rem);
  }
}

@media (max-width: 991.98px) {
  .bc-credit-quiz--debt-recovery .bc-quiz-panel--question .bc-quiz-answers {
    order: 5;
    align-self: stretch;
    gap: 0.5rem;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-panel--question .bc-quiz-answer {
    min-height: 2.5rem;
    padding: 0.35rem 0.3rem;
    font-size: clamp(0.6875rem, 2.85vw, 0.8125rem);
    line-height: 1.08;
  }

  .bc-credit-quiz--debt-recovery .bc-quiz-panel--question .bc-quiz-btn-next {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
  }
}

.bc-quiz-slider {
  width: 100%;
  max-width: 34rem;
  margin-top: 0.5rem;
}

.bc-quiz-slider__value {
  margin: 0 0 1rem;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
}

.bc-quiz-slider__input {
  width: 100%;
  height: 6px;
  margin: 0 0 0.75rem;
  accent-color: var(--bc-teal, #003d52);
  cursor: pointer;
}

.bc-quiz-slider__hint {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bc-teal, #003d52);
}

.bc-quiz-panel--thanks .bc-quiz-thanks {
  min-height: calc(var(--bc-quiz-stack-h) - var(--bc-quiz-chrome-top));
  background: var(--bc-quiz-surface, var(--bc-cyan, #00b0cc));
  color: #fff;
}

.bc-quiz-thanks__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.bc-quiz-thanks__title {
  margin: 0 0 2rem;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.bc-quiz-next-steps {
  margin-bottom: 2rem;
  color: var(--bc-teal-dark, #002835);
}

.bc-quiz-next-steps__heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.bc-quiz-next-steps__body.rte p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.bc-quiz-next-steps__cta {
  margin: 1.5rem 0 0;
}

.bc-quiz-next-steps__cta .bc-split-cta {
  left: auto;
  margin: 0 auto;
}

.bc-quiz-next-steps__phone {
  margin: 1rem 0 0;
  font-weight: 600;
}

.bc-quiz-next-steps__phone a {
  color: inherit;
  text-decoration: underline;
}

.bc-quiz-btn-try-again {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bc-quiz-btn-try-again:hover,
.bc-quiz-btn-try-again:focus-visible {
  background: var(--bc-teal, #003d52);
  color: #fff;
}

.bc-quiz-disclaimer {
  background: #f4f7f8;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid rgba(0, 61, 82, 0.1);
}

.bc-quiz-disclaimer__inner {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #5a6770;
  text-align: center;
}

.bc-quiz-disclaimer__inner.rte p {
  margin: 0;
  color: inherit;
}

.bc-layout-quiz.bc-quiz-thanks-stage-visible .gnw {
  min-height: auto;
}
