.zva-test {
  --zva-teal: #0b7f78;
  --zva-teal-dark: #055b56;
  --zva-burgundy: #5b0b24;
  --zva-gold: #bd9746;
  --zva-paper: #fffdf8;
  --zva-ink: #253833;
  color: var(--zva-ink);
  font-family: inherit;
  margin: 2rem 0;
}

.zva-test-app {
  background: linear-gradient(145deg, var(--zva-paper), #edf6f1);
  border: 1px solid rgba(11, 127, 120, .18);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(24, 63, 55, .09);
  padding: clamp(22px, 5vw, 44px);
}

.zva-test__progress { color: var(--zva-teal-dark); font-size: .85rem; font-weight: 700; }
.zva-test__track { background: rgba(11, 127, 120, .13); border-radius: 99px; display: block; height: 6px; margin-top: 9px; overflow: hidden; }
.zva-test__fill { background: linear-gradient(90deg, var(--zva-teal), var(--zva-gold)); border-radius: inherit; display: block; height: 100%; transition: width .25s ease; }
.zva-test__question { color: var(--zva-ink); font-size: clamp(1.35rem, 3vw, 2rem); margin: 24px 0 18px; }
.zva-test__options { display: grid; gap: 10px; }

.zva-test__choice,
.zva-test__next {
  appearance: none;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
}

.zva-test__choice {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(11, 127, 120, .2);
  color: var(--zva-ink);
  padding: 14px 16px;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.zva-test__choice:hover { border-color: var(--zva-teal); transform: translateY(-1px); }
.zva-test__choice.is-selected { background: rgba(11, 127, 120, .1); border-color: var(--zva-teal); box-shadow: inset 3px 0 0 var(--zva-teal); }
.zva-test__choice:focus-visible,
.zva-test__next:focus-visible { outline: 3px solid rgba(189, 151, 70, .55); outline-offset: 3px; }

.zva-test__actions { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-top: 24px; }
.zva-test__message { color: var(--zva-burgundy); font-size: .9rem; }
.zva-test__next { background: var(--zva-teal-dark); border: 0; color: white; font-weight: 700; padding: 13px 20px; }
.zva-test__next:hover { background: var(--zva-teal); }
.zva-test__next:disabled { cursor: not-allowed; opacity: .45; }
.zva-test__eyebrow { color: var(--zva-burgundy); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.zva-test__result h3 { color: var(--zva-teal-dark); font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 14px; }
.zva-test__result h4 { color: var(--zva-burgundy); margin: 22px 0 6px; }
.zva-test__lead { font-size: 1.08rem; }
.zva-test__disclaimer { border-top: 1px solid rgba(11, 127, 120, .18); color: #5d6c67; font-size: .86rem; margin-top: 24px; padding-top: 16px; }
.zva-test__result .zva-test__next { margin-top: 10px; }

@media (max-width: 520px) {
  .zva-test__actions { align-items: stretch; flex-direction: column; }
  .zva-test__next { width: 100%; }
}
.zva-test__options { border: 0; padding: 0; margin: 0; }
.zva-test__choice { display: flex; gap: 14px; align-items: center; }
.zva-test__choice input { flex-shrink: 0; width: 20px; height: 20px; accent-color: #074a40; }
.zva-test__choice:focus-within { outline: 3px solid #bd9746; outline-offset: 3px; }
.zva-test__result > button { margin: 10px 12px 0 0; }
.zva-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.zva-latest { margin: 3rem 0; }
.zva-latest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.zva-latest article { border: 1px solid #d8e3de; border-radius: 20px; background: #fffdf8; overflow: hidden; }
.zva-latest article a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #074a40; }
.zva-latest img { width: 100%; aspect-ratio: 3/2; object-fit: cover; height: auto; }
.zva-latest article a > div { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.zva-latest h3 { font-size: 1.6rem; line-height: 1.2; margin: 18px 0; }
.zva-latest p { font-size: 1rem; color: #50655e; }
.zva-latest time { font-size: .85rem; }
.zva-latest strong { margin-top: auto; padding-top: 16px; }
@media(max-width: 900px) { .zva-latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) { .zva-latest-grid { grid-template-columns: 1fr; } }
