/* Shared navigation and contact areas. Loaded after saved page/component styles. */
.md-site-header, .md-site-drawer, .md-site-footer, .md-enquiry-dialog {
  --md-chrome-font: "DM Sans", Arial, sans-serif;
  font-family: var(--md-chrome-font);
}
.md-header.md-site-header { border-bottom: 1px solid #e8e9ed; background: #fff; }
.md-site-header .md-header-inner {
  width: min(1180px, calc(100% - 48px)); min-height: 104px; gap: 12px;
  padding: 14px 0; margin-inline: auto;
}
.md-site-header .md-brand img { width: 64px; max-height: 76px; }
.md-site-header .md-nav > ul, .md-site-header .md-nav > div > ul, .md-site-header .md-nav .menu {
  flex-wrap: nowrap; justify-content: center; gap: 0 8px;
}
.md-site-header .md-nav > ul > li { display: flex; align-items: center; }
.md-site-header .md-nav li > a {
  font-family: var(--md-chrome-font); font-size: 13px; font-weight: 600;
  line-height: 1.35; letter-spacing: 0; white-space: nowrap; color: #2e3074;
}
.md-site-header .md-nav .sub-menu { min-width: 250px; padding: 8px; border-radius: 12px; border-color: #e0e2e8; box-shadow: 0 14px 36px #1c204a1a; }
.md-site-header .md-nav .sub-menu li > a { white-space: normal; font-size: 14px; padding: 11px 12px; border-radius: 6px; }
.md-site-header .md-nav .md-submenu-toggle { width: 24px; min-height: 44px; }
.md-site-header .md-nav a[aria-current="page"], .md-site-header .md-nav .current-menu-item > a { color: #286800; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.md-site-header .md-menu-toggle {
  font-family: var(--md-chrome-font); font-size: 13px; font-weight: 600;
  line-height: 1.3; padding: 10px 12px; border: 1px solid #d8dce5; border-radius: 9px;
  gap: 7px; color: #2e3074; background: #fff;
}
.md-site-header .md-menu-toggle svg { width: 16px; height: 16px; }
.md-site-header .md-menu-toggle[data-md-menu-toggle="md-menu-children"] { background: #f0f8e9; border-color: #d7e8c8; color: #286800; }
.md-site-header .md-menu-toggle[data-md-menu-toggle="md-menu-adults"] { background: #2e3074; border-color: #2e3074; color: #fff; }
.md-site-header .md-menu-toggle:hover { box-shadow: inset 0 0 0 1px currentColor; }
.md-site-header a:focus-visible, .md-site-header button:focus-visible, .md-site-drawer a:focus-visible, .md-site-drawer button:focus-visible { outline: 3px solid #286800; outline-offset: 3px; }
.md-header--home.md-site-header .md-header-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; padding: 16px 0; min-height: 112px; }
.md-header--home.md-site-header .md-brand img { width: 120px; max-height: 80px; }
.md-site-header .md-tagline { font-size: clamp(22px, 2.4vw, 30px); color: #2e3074; }
.md-site-header .md-phone { font-family: var(--md-chrome-font); font-size: 17px; font-weight: 700; }
.md-menu-panel.md-site-drawer { padding: 24px 20px 32px; width: min(380px, calc(100vw - 24px)); }
.md-site-drawer .md-menu-panel-header { padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid #e4e7ed; }
.md-site-drawer .md-menu-panel-title { font-size: 29px; }
.md-site-drawer ul a { font-family: var(--md-chrome-font); font-size: 15px; font-weight: 600; line-height: 1.45; padding: 12px 6px; }
.md-site-drawer .sub-menu { margin-bottom: 8px; }
.md-site-drawer .sub-menu a { font-size: 14px; font-weight: 400; }

.md-footer.md-site-footer { margin-top: 0; padding: 56px 0 80px; border-top: 1px solid #e5e7e0; background: #f6f7f4; color: #2e3074; }
.md-site-footer > .md-container { width: min(1180px, calc(100% - 48px)); }
.md-site-footer .md-reviews { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid #dfe3db; }
.md-site-footer .md-reviews > h2 { max-width: 760px; margin: 0 auto 28px; color: #2e3074; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.md-site-footer .md-review-link { margin: 22px 0 0; text-align: center; font-size: 14px; }
.md-site-footer .md-review-link a { font-weight: 600; text-underline-offset: 4px; }
.md-site-footer .md-footer-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.md-site-footer .md-footer-grid > section { min-width: 0; padding: 28px; border: 1px solid #e0e4db; border-radius: 16px; background: #fff; }
.md-site-footer .md-footer-grid h2 { margin: 0 0 18px; color: #2e3074; font-size: 29px; line-height: 1.2; }
.md-site-footer p { font-size: 15px; line-height: 1.65; }
.md-site-footer .md-footer-grid > .md-footer-reservation { display: flex; flex-direction: column; align-items: flex-start; background: #2e3074; border-color: #2e3074; color: #fff; }
.md-site-footer .md-footer-reservation h2 { color: #fff; }
.md-site-footer .md-footer-reservation p { margin: 0 0 24px; color: #f1f2ff; }
.md-site-footer .md-footer-enquiry { margin-top: auto; width: 100%; min-height: 48px; padding: 13px 16px; border: 1px solid #fff; border-radius: 9px; color: #2e3074; background: #fff; font-family: var(--md-chrome-font); font-size: 15px; font-weight: 700; }
.md-site-footer .md-footer-enquiry:hover { background: #e9f5df; border-color: #e9f5df; color: #244f0e; }
.md-site-footer .md-footer-enquiry svg { width: 20px; height: 20px; flex: 0 0 20px; }
.md-site-footer .md-footer-enquiry:focus-visible { outline-color: #bde99a; }
.md-site-footer .md-location-address { display: grid; gap: 5px; margin: 0 0 24px; font-size: 16px; line-height: 1.5; }
.md-site-footer .md-location-address strong { font-size: 18px; font-weight: 600; }
.md-site-footer .md-location-address span { font-size: 15px; color: #565b72; }
.md-site-footer .md-location-media { min-width: 0; }
.md-site-footer .md-location-action { display: flex; justify-content: flex-start; align-items: center; gap: 12px; aspect-ratio: auto; min-height: 60px; width: 100%; padding: 14px; border: 1px solid #d7e8c8; border-radius: 10px; background: #f0f8e9; color: #286800; font-size: 15px; font-weight: 600; text-decoration: none; }
.md-site-footer .md-location-action::after { content: none; }
.md-site-footer .md-location-action svg { width: 25px; height: 25px; flex: 0 0 25px; }
.md-site-footer .md-location-action:hover { border-color: #286800; background: #e5f2da; }
.md-site-footer .md-location-media iframe.md-embed--map { width: 100%; height: auto; aspect-ratio: 4 / 3; border: 1px solid #dce2d5; border-radius: 10px; }
.md-site-footer .md-contact-details li { gap: 10px; margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
.md-site-footer .md-contact-details svg { margin-top: 2px; }
.md-site-footer .md-contact-details a { text-decoration: none; }
.md-site-footer .md-contact-details a:hover { text-decoration: underline; }
.md-site-footer .md-social-links { gap: 6px; margin: 22px 0 16px; }
.md-site-footer .md-social-links a { min-width: 0; min-height: 44px; padding: 7px 10px; border: 1px solid #dce0e8; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.md-site-footer .md-social-links a:hover { background: #f0f8e9; color: #286800; border-color: #b9d6a5; }
.md-site-footer .md-footer-related { font-size: 13px; }
.md-site-footer .md-footer-menu { justify-content: flex-start; gap: 4px 22px; padding-top: 24px; margin-top: 28px; border-top: 1px solid #dfe3db; }
.md-site-footer .md-footer-menu li { margin: 0; }
.md-site-footer .md-footer-menu a { font-family: var(--md-chrome-font); font-size: 13px; font-weight: 400; min-height: 36px; text-decoration: none; }
.md-site-footer .md-footer-menu a:hover { text-decoration: underline; }
.md-site-footer .md-copyright { margin-top: 18px; text-align: left; color: #565b72; font-size: 12px; }
.md-enquiry-dialog { border-radius: 16px; padding: 32px; }
.md-enquiry-dialog > h2 { font-size: 34px; line-height: 1.15; color: #2e3074; }
.md-enquiry-dialog > address { font-size: 14px; line-height: 1.5; }
.md-enquiry-dialog > h3 { margin-top: 24px; font-family: var(--md-chrome-font); font-size: 17px; font-weight: 600; }

/* Style the existing CF7 fields, including legacy forms stored in one paragraph. */
.md-form .wpcf7, .md-form .wpcf7-form, .md-form .wpcf7-form-control-wrap { min-width: 0; max-width: 100%; }
.md-form .wpcf7-form-control-wrap { display: block; }
.md-form .wpcf7-form > p { margin: 0 0 18px; }
.md-form .wpcf7-form label { margin: 0; font-family: var(--md-body); font-size: 14px; font-weight: 600; color: #2e3074; }
.md-form .wpcf7-form label > .wpcf7-form-control-wrap { margin-top: 6px; }
.md-form .wpcf7-form > p:has(> .wpcf7-form-control-wrap),
.md-form .wpcf7-form > p:has(> label) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.md-form .wpcf7-form > p:has(> .wpcf7-form-control-wrap) > br,
.md-form .wpcf7-form > p:has(> label) > br { display: none; }
.md-form .wpcf7-form > p:has(> input[type="submit"]) { position: relative; }
.md-form .wpcf7-form > p > input[type="submit"] { width: 100%; }
.md-form .wpcf7-form > p > input[type="submit"] ~ .wpcf7-spinner { position: absolute; right: 14px; bottom: 12px; margin: 0; }
.md-form .wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.md-form .wpcf7-form select, .md-form .wpcf7-form textarea { min-width: 0; max-width: 100%; min-height: 48px; font-weight: 400; }
.md-form .wpcf7-form textarea { min-height: 150px; }
.md-form .wpcf7-form [readonly] { background: #f3f5f0; border-color: #c7cec0; color: #2e3074; }
.md-form .wpcf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; line-height: 1.5; color: #9e2020; font-weight: 400; }
.md-form .wpcf7-form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.md-form .wpcf7-form[data-status="invalid"] .wpcf7-response-output,
.md-form .wpcf7-form[data-status="failed"] .wpcf7-response-output,
.md-form .wpcf7-form[data-status="spam"] .wpcf7-response-output { border-color: #9e2020; color: #851b1b; background: #fff5f3; }
.md-form .wpcf7-form[data-status="sent"] .wpcf7-response-output { border-color: #286800; color: #244f0e; background: #f0f8e9; }
/* Only form 190 has the observed screen-reader spans and single-paragraph layout. */
.md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p > label > span:first-child:not(.wpcf7-form-control-wrap) {
  position: static !important; display: block; width: auto !important; height: auto !important;
  padding: 0 !important; margin: 0 0 6px !important; overflow: visible !important;
  clip: auto !important; clip-path: none !important; white-space: normal !important;
}
.md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p > label > .wpcf7-form-control-wrap { margin-top: 0; }
.md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-quiz-label { display: block; margin-bottom: 6px; font-weight: 400; }
.md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-quiz { max-width: 180px; }
@media (min-width: 768px) {
  .md-contact-page .md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .md-contact-page .md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p > label:has(textarea),
  .md-contact-page .md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p > .wpcf7-form-control-wrap,
  .md-contact-page .md-form .wpcf7[id^="wpcf7-f190-"] .wpcf7-form > p > input[type="submit"] { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .md-site-header .md-nav--primary { display: none; }
  .md-site-header .md-menu-toggle--primary { display: inline-flex; }
  .md-header.md-site-header:not(.md-header--home) .md-header-inner { display: grid; grid-template-columns: 1fr auto auto; min-height: 94px; gap: 12px; }
  .md-site-footer .md-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-site-footer .md-footer-grid > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .md-site-footer .md-footer-reservation p { max-width: 620px; }
  .md-site-footer .md-footer-enquiry { width: auto; min-width: 220px; }
}
@media (max-width: 640px) {
  .md-site-header .md-header-inner, .md-site-footer > .md-container { width: calc(100% - 32px); }
  .md-header.md-site-header:not(.md-header--home) .md-header-inner { min-height: 86px; gap: 8px; padding-block: 12px; }
  .md-site-header .md-brand img { width: 54px; max-height: 64px; }
  .md-site-header .md-menu-toggle { padding: 10px; font-size: 13px; gap: 6px; }
  .md-header--home.md-site-header .md-header-inner { grid-template-columns: auto 1fr; grid-template-areas: "brand phone" "tagline tagline"; min-height: 0; gap: 10px 16px; padding: 16px 0 20px; }
  .md-header--home.md-site-header .md-brand { grid-area: brand; }
  .md-header--home.md-site-header .md-brand img { width: 96px; max-height: 64px; }
  .md-header--home.md-site-header .md-tagline { grid-area: tagline; font-size: 25px; }
  .md-header--home.md-site-header .md-phone { grid-area: phone; justify-self: end; font-size: 16px; }
  .md-footer.md-site-footer { padding: 36px 0 76px; }
  .md-site-footer .md-reviews { padding-bottom: 26px; margin-bottom: 26px; }
  .md-site-footer .md-footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .md-site-footer .md-footer-grid > section { padding: 24px; }
  .md-site-footer .md-footer-enquiry { width: 100%; min-width: 0; }
  .md-site-footer .md-footer-menu { gap: 4px 18px; padding-top: 20px; margin-top: 24px; }
  .md-enquiry-dialog { padding: 26px 22px; }
}
@media (max-width: 420px) {
  .md-header.md-site-header:not(.md-header--home) .md-header-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 10px 14px; }
  .md-header.md-site-header:not(.md-header--home) .md-brand { grid-column: 1 / -1; justify-self: center; }
  .md-header.md-site-header:not(.md-header--home) .md-menu-toggle { width: 100%; justify-content: center; padding-inline: 8px; font-size: 13px; }
}
@media print {
  .md-footer.md-site-footer { background: #fff; padding-block: 16px; }
  .md-site-footer .md-footer-grid { display: block; }
  .md-site-footer .md-footer-grid > section { border: 0; padding: 10px 0; background: #fff; color: #000; }
  .md-site-footer .md-footer-reservation, .md-site-footer .md-location-media { display: none !important; }
}
/* Compact review heading and refined contact cards retain the familiar footer. */
.md-site-footer .md-reviews { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 32px; }
.md-site-footer .md-reviews > h2 { grid-column: 1; margin: 0; max-width: 680px; font-size: clamp(24px,2.5vw,30px); text-align: start; line-height: 1.3; }
.md-site-footer .md-review-link { grid-column: 2; grid-row: 1; margin: 0; max-width: 280px; font-size: 14px; text-align: start; }
.md-site-footer .md-review-link a { display: inline-block; padding-block: 10px; }
.md-site-footer .md-reviews > :not(h2):not(.md-review-link) { grid-column: 1 / -1; }
.md-site-footer .md-reviews > pre { margin: 0; padding: 0; white-space: normal; background: none; border: 0; }
.md-site-footer .md-footer-grid > section { padding: 30px; border-radius: 18px; }
.md-site-footer .md-footer-grid h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.md-site-footer .md-footer-grid p { font-size: 16px; }
.md-site-footer .md-footer-reservation { background: linear-gradient(135deg,#303278,#24265e) !important; }
.md-site-footer .md-footer-reservation p { margin-bottom: 30px; }
.md-site-footer .md-location-address strong { font-size: 20px; }
.md-site-footer .md-social-links a { background: #f7f8fa; border-color: #e7e9ee; border-radius: 8px; }
.md-site-header .md-tagline, .md-site-drawer .md-menu-panel-title { font-weight: 700; letter-spacing: -.025em; }
@media (max-width: 640px) {
  .md-site-footer .md-reviews { grid-template-columns: minmax(0,1fr); row-gap: 12px; }
  .md-site-footer .md-review-link { grid-column: 1; grid-row: 2; max-width: none; }
  .md-site-footer .md-footer-grid > section { padding: 26px 24px; }
}
