/*
 * Redesign skin for the captured inner pages (PUBLIC_DESIGN=v2). Those pages keep their
 * WordPress/Spectra layout; this only brings type, buttons, cards and colours in line with the
 * new header, footer and homepage. Round 2 rebuilds the service and city layouts themselves.
 */
body.v2 { font-family: var(--v2-body); color: var(--v2-text); }
body.v2 #content :is(p, li, td, dd, blockquote, .uagb-ifb-desc, .uagb-desc-text, .uagb-ifb-content, .uagb-desc) { font-family: var(--v2-body); }
body.v2 #content :is(h1, h2, h3, h4, h5, h6),
body.v2 #content .uagb-heading-text,
body.v2 #content :is(h1, h2, h3, h4, h5, h6) * {
  font-family: var(--v2-head) !important;
  letter-spacing: -0.025em;
}
body.v2 #content :is(h1, h2) { font-weight: 800 !important; line-height: 1.08 !important; }
body.v2 #content :is(h3, h4) { font-weight: 700 !important; }

/* Buttons: pill + brand gradient, same as the new header and homepage. */
body.v2 #content :is(.wp-block-button__link, .uagb-buttons-repeater, .ast-button, .cwd-button, .uagb-cta__button-link-wrapper, input[type="submit"], button.button) {
  border-radius: 999px !important;
  background: var(--v2-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-family: var(--v2-head) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px -14px rgba(235, 103, 51, 0.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.v2 #content :is(.wp-block-button__link, .uagb-buttons-repeater, .ast-button, .cwd-button):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(235, 103, 51, 0.9);
}

/* Cards and images: the redesign's softer corners. */
body.v2 #content :is(.wp-block-image img, .uagb-image__figure img, .uag-image-gallery img, .wp-post-image) { border-radius: 16px; }
body.v2 #content :is(.cwd-reviews__card, .cwd-faq__item, .uagb-post__inner-wrap) { border-radius: 18px !important; }
body.v2 #content .cwd-faq__item { border-color: var(--v2-line) !important; }

/* Leaflet map card */
body.v2 #content #allay-map { border-radius: 20px; }

/* Astra reserved room for the sticky WordPress header, which is gone. */
body.v2 .ast-header-sticked, body.v2 #ast-fixed-header { display: none !important; }
body.v2 #page { padding-top: 0 !important; }
