/* ==========================================================================
   WordPress layer for Design A. Loads after the design CSS and only adds what
   WordPress needs: the admin bar, uploaded logos, text pages and the footer legal line.
   The design files themselves (home-1.css, inner.css, page-*.css) are unchanged.
   ========================================================================== */

/* ---------- Admin bar (logged-in editors only) ---------- */
.admin-bar .site-header { top: 32px; }
.admin-bar .menu-panel { top: calc(var(--head-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .menu-panel { top: calc(var(--head-h) + 46px); }
}
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* ---------- Logos uploaded in AD Settings (the built-in vector logo needs none of this) ---------- */
.brand-img { display: block; height: 26px; width: auto; max-width: 60vw; }
@media (min-width: 900px) { .brand-img { height: 34px; } }
.footer-brand .brand-img { width: clamp(170px, 20vw, 240px); height: auto; max-width: none; }

/* ---------- Footer legal line ---------- */
.footer-legal { white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.footer-legal:hover { color: #fff; }
.footer-reg { flex-basis: 100%; }

/* ---------- Contact Form 7 inside the design's quote form ---------- */
.quote-form .wpcf7-form-control-wrap { display: block; }
.quote-form .wpcf7-not-valid { border-color: var(--error) !important; }
.quote-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--error); }
.wpcf7 .quote-form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 0; border-left: 3px solid var(--error) !important; background: #F5E6E2; color: #7A1D14; font-size: 15px; }
.wpcf7 .quote-form.sent .wpcf7-response-output { display: none; }
.quote-form.submitting .btn-submit { opacity: .7; cursor: progress; pointer-events: none; }
.wpcf7[hidden] { display: none; }

/* ---------- Text pages (privacy notice, 404) ---------- */
.page-text { padding-top: clamp(40px, 5vw, 72px); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 {
  margin-top: 1.8em; font-family: var(--f-head); font-stretch: 82%; font-weight: 600; line-height: 1.15; letter-spacing: -.01em;
}
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.prose h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { max-width: 100%; height: auto; }

/* Plain link list (404 and search) */
.page-links { list-style: none; display: grid; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.page-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.15rem; line-height: 1.2;
}
.page-links .icon { width: 18px; height: 18px; color: var(--accent); }
.page-links a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 640px) { .page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1000px) { .page-links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }

/* ---------- About page: smaller intro paragraph (client request, 24 November 2026; the homepage keeps the large size) ---------- */
.about-statement { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
