/* Welsh tools 2026-09-04 */
.welsh-tools {
  --welsh-navy: #1d3557;
  --welsh-cream: #f4efe4;
  --welsh-ink: #243044;
  --welsh-line: #d8d0c2;
  --welsh-ok: #2a6f4f;
  --welsh-bad: #8b3a2f;
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto 3rem;
  padding: 1.25rem 1.1rem 2rem;
  background: var(--welsh-cream);
  color: var(--welsh-ink);
  border-radius: 12px;
  font-family: "Proza Libre", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}
.welsh-tools *,
.welsh-tools *::before,
.welsh-tools *::after { box-sizing: border-box; }
.welsh-tools h1,
.welsh-tools h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--welsh-navy);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.welsh-tools h1 { font-size: 2.05rem; }
.welsh-tools h2 { font-size: 1.7rem; }
.welsh-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--welsh-navy);
  margin: 0 0 0.35rem;
}
.welsh-lead { margin: 0 0 1.1rem; }
.welsh-note, .welsh-fine { font-size: 0.95rem; color: #3b4658; }
.welsh-progress {
  font-weight: 700;
  color: var(--welsh-navy);
  margin: 0 0 0.85rem;
}
.welsh-step { display: none; }
.welsh-step.is-active { display: block; }
.welsh-q {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  color: var(--welsh-navy);
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.welsh-opts {
  display: grid;
  gap: 0.65rem;
}
.welsh-opt,
.welsh-btn,
.welsh-startover,
.welsh-form button,
.welsh-form input,
.welsh-form select,
.welsh-form textarea {
  font: inherit;
}
.welsh-opt {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--welsh-navy);
  background: #fff;
  color: var(--welsh-navy);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.welsh-opt:hover,
.welsh-opt:focus {
  background: var(--welsh-navy);
  color: var(--welsh-cream);
  outline: 3px solid #b4926b;
  outline-offset: 2px;
}
.welsh-opt.is-picked {
  background: var(--welsh-navy);
  color: var(--welsh-cream);
}
.welsh-result { display: none; margin-top: 0.5rem; }
.welsh-result.is-visible { display: block; }
.welsh-result ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.welsh-result li { margin: 0 0 0.45rem; }
.welsh-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0;
}
.welsh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  border: 2px solid var(--welsh-navy);
}
.welsh-btn-primary {
  background: var(--welsh-navy);
  color: var(--welsh-cream) !important;
}
.welsh-btn-ghost {
  background: transparent;
  color: var(--welsh-navy) !important;
}
.welsh-btn:hover,
.welsh-btn:focus {
  filter: brightness(1.08);
  outline: 3px solid #b4926b;
  outline-offset: 2px;
}
.welsh-more a { color: var(--welsh-navy); }
.welsh-startover {
  background: none;
  border: 0;
  color: var(--welsh-navy);
  text-decoration: underline;
  cursor: pointer;
  min-height: 2.75rem;
  padding: 0.4rem 0;
}
.welsh-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
  width: 1px !important;
}
.welsh-form { margin-top: 1rem; position: relative; }
.welsh-field { margin: 0 0 1rem; }
.welsh-field label {
  display: block;
  font-weight: 700;
  color: var(--welsh-navy);
  margin: 0 0 0.35rem;
}
.welsh-req { font-weight: 500; color: #5c6573; font-size: 0.9rem; }
.welsh-form input,
.welsh-form select,
.welsh-form textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--welsh-navy);
  border-radius: 8px;
  background: #fff;
  color: var(--welsh-ink);
}
.welsh-form textarea { min-height: 8rem; resize: vertical; }
.welsh-form input:focus,
.welsh-form select:focus,
.welsh-form textarea:focus {
  outline: 3px solid #b4926b;
  outline-offset: 2px;
}
.welsh-cover {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.welsh-cover.is-ok { color: var(--welsh-ok); }
.welsh-cover.is-bad { color: var(--welsh-bad); }
.welsh-form-error { color: var(--welsh-bad); font-weight: 700; min-height: 1.2em; }
.welsh-success { display: none; }
.welsh-success.is-visible { display: block; }
body.page-id-placeholder .entry-title,
.welsh-tools + .et_pb_section { }

@media (min-width: 700px) {
  .welsh-tools { padding: 1.75rem 1.75rem 2.25rem; }
  .welsh-tools h1 { font-size: 2.4rem; }
  .welsh-opts { gap: 0.75rem; }
}

body.page .entry-content .welsh-tools a { color: var(--welsh-navy); }
body.page .entry-content .welsh-btn-primary { color: var(--welsh-cream) !important; }
