/* WordPress-specific additions: things the static site didn't need. */

/* Bold text is navy throughout (was an inline style on every <strong>). */
strong { color: var(--navy); }
.disclaimer-box strong, .cta-band strong { color: inherit; }

/* Image blocks sit exactly where the plain <img> tags used to. */
figure.wp-block-image { margin: 0; }
figure.wp-block-image img { display: block; max-width: 100%; height: auto; }
.result-pair figure.wp-block-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; height: auto; }

/* FAQ dropdowns built with the Details block keep the original look. */
details.wp-block-details { margin: 0; }

/* Accessibility: keyboard "skip to content" link. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: var(--cream); padding: 10px 16px; font-size: 13px; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Mobile menu (the static site hid the menu on phones with no replacement) ---------- */
.menu-toggle { display: none; background: none; border: 1px solid var(--hairline); width: 42px; height: 42px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--hairline); padding: 8px 24px 24px; background: var(--cream); max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.mobile-menu > a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: 20px; width: 100%; justify-content: center; }
.mobile-menu .mobile-phone { display: block; text-align: center; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 560px) {
  .nav-row { padding: 14px 18px; }
  .nav-cta { display: none; }
}

/* ---------- Contact form ---------- */
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 16px 18px; margin-bottom: 22px; font-size: 14px; line-height: 1.5; border: 1px solid var(--hairline); }
.form-message--ok { background: #eef3ea; border-color: #b9ccae; color: #2f4a26; }
.form-message--error { background: #f8ecea; border-color: #e0b9b2; color: #7a2c20; }
.form-message strong { color: inherit; }
.form-note a { text-decoration: underline; }

/* ---------- Privacy policy & other plain text pages ---------- */
.legal-page .wrap { max-width: 820px; }
.legal-page h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page a { text-decoration: underline; }

.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--navy); }

/* Google map on the Contact page */
.map-embed { aspect-ratio: 16/9; margin-top: 28px; border: 1px solid var(--hairline); background: var(--cream-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
