/*
Theme Name: Muddy Paws Enterprise
Theme URI: https://muddypawsfields.co.uk/
Author: Muddy Paws Fields
Author URI: https://muddypawsfields.co.uk/
Description: A modern, premium WordPress theme for Muddy Paws Fields, designed around a simple and scalable booking journey.
Version: 0.5.46
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: muddy-paws-enterprise
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, e-commerce
*/

:root {
    --mpf-ink: #17231d;
    --mpf-ink-soft: #4f5d56;
    --mpf-green: #155b3a;
    --mpf-green-bright: #2e8b57;
    --mpf-green-pale: #e9f4ed;
    --mpf-brown: #795b45;
    --mpf-canvas: #f7f5f0;
    --mpf-white: #ffffff;
    --mpf-line: #dfe6e1;
    --mpf-shadow: 0 24px 70px rgba(23, 35, 29, 0.12);
    --mpf-radius-sm: 18px;
    --mpf-radius-md: 26px;
    --mpf-radius-lg: 36px;
    --mpf-width: 1380px;
    --mpf-content: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--mpf-canvas);
    color: var(--mpf-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.admin-bar .mpf-site-header {
    top: 32px;
}

a {
    color: var(--mpf-green);
}

img {
    height: auto;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    background: var(--mpf-white);
    border-radius: 10px;
}

.mpf-container {
    width: min(calc(100% - 48px), var(--mpf-width));
    margin-inline: auto;
}

.mpf-content-width {
    width: min(calc(100% - 48px), var(--mpf-content));
    margin-inline: auto;
}

.mpf-site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(247, 245, 240, 0.96);
    border-bottom: 1px solid rgba(121, 91, 69, 0.10);
    backdrop-filter: blur(18px);
}

.mpf-header-inner {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 80px;
}

.mpf-brand {
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 250px;
    text-decoration: none;
}

.mpf-header-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    transform: translateY(4px);
}

.mpf-header-brand .custom-logo-link {
    display: inline-flex;
    width: 100%;
    max-width: 250px;
    align-items: center;
}

.mpf-brand img,
.mpf-brand .custom-logo,
.mpf-header-brand .custom-logo-link img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.mpf-site-title {
    color: var(--mpf-ink);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mpf-primary-nav {
    justify-self: end;
}

.mpf-primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mpf-primary-nav > ul > li {
    position: relative;
}

.mpf-primary-nav li {
    list-style: none;
}

.mpf-primary-nav > ul > li > a {
    position: relative;
    display: inline-flex;
    min-height: 80px;
    align-items: center;
    color: var(--mpf-ink);
    font-size: 0.9rem;
    font-weight: 680;
    text-decoration: none;
}

.mpf-primary-nav > ul > li > a::after {
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--mpf-green);
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mpf-primary-nav > ul > li > a:hover,
.mpf-primary-nav > ul > li > a:focus-visible,
.mpf-primary-nav > ul > .current-menu-item > a,
.mpf-primary-nav > ul > .current-menu-ancestor > a {
    color: var(--mpf-green);
}

.mpf-primary-nav > ul > li > a:hover::after,
.mpf-primary-nav > ul > li > a:focus-visible::after,
.mpf-primary-nav > ul > .current-menu-item > a::after,
.mpf-primary-nav > ul > .current-menu-ancestor > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.mpf-primary-nav .sub-menu {
    position: absolute;
    z-index: 60;
    top: calc(100% - 12px);
    left: 50%;
    display: grid;
    width: max-content;
    min-width: 205px;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--mpf-line);
    border-radius: 16px;
    background: var(--mpf-white);
    box-shadow: 0 18px 48px rgba(23, 35, 29, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
}

.mpf-primary-nav li:hover > .sub-menu,
.mpf-primary-nav li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.mpf-primary-nav .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--mpf-ink);
    font-size: 0.86rem;
    font-weight: 640;
    text-decoration: none;
    white-space: nowrap;
}

.mpf-primary-nav .sub-menu a:hover,
.mpf-primary-nav .sub-menu a:focus-visible,
.mpf-primary-nav .sub-menu .current-menu-item > a {
    background: var(--mpf-green-pale);
    color: var(--mpf-green);
}

.mpf-primary-nav .sub-menu li {
    position: relative;
}

.mpf-primary-nav .sub-menu .sub-menu {
    top: -10px;
    left: calc(100% - 2px);
    transform: translate(8px, 0);
}

.mpf-primary-nav .sub-menu li:hover > .sub-menu,
.mpf-primary-nav .sub-menu li:focus-within > .sub-menu {
    transform: translate(0, 0);
}

.mpf-primary-nav .sub-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 34px;
}

.mpf-primary-nav .sub-menu .menu-item-has-children > a::after {
    position: absolute;
    top: 50%;
    right: 12px;
    content: "›";
    font-size: 1.15em;
    line-height: 1;
    transform: translateY(-52%);
}

.mpf-header-cta {
    min-height: 46px;
    padding: 11px 19px;
}

.mpf-button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 0;
    border-radius: 14px;
    background: var(--mpf-green);
    color: var(--mpf-white) !important;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mpf-button:hover,
.mpf-button:focus-visible,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #0f4930;
    box-shadow: 0 10px 28px rgba(21, 91, 58, 0.22);
    transform: translateY(-1px);
}

.mpf-button--light {
    background: var(--mpf-white);
    color: var(--mpf-green) !important;
}

.mpf-button--light:hover,
.mpf-button--light:focus-visible {
    color: var(--mpf-white) !important;
}

.mpf-button--outline {
    background: transparent;
    border: 1px solid var(--mpf-line);
    color: var(--mpf-ink) !important;
}

.mpf-button--outline:hover,
.mpf-button--outline:focus-visible {
    color: var(--mpf-white) !important;
}

.mpf-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--mpf-line);
    border-radius: 14px;
    background: var(--mpf-white);
    color: var(--mpf-ink);
}

.mpf-menu-toggle svg {
    width: 23px;
    height: 23px;
}

.mpf-main {
    min-height: 65vh;
}

/* SlotLogix's standalone route normally breaks out with 100vw. Browsers count
   the vertical scrollbar in that unit, creating a narrow horizontal overflow.
   The theme main element is already viewport-wide, so no breakout is needed. */
body.slotlogix-booking-route:not(.slotlogix-booking-route--match-website) .slotlogix-route-main {
    left: auto !important;
    width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
}

/* The sticky theme header remains in normal document flow, so SlotLogix must
   not add the measured header height as a second blank offset. */
body.slotlogix-booking-route .slotlogix-route-main {
    padding-top: 24px !important;
}

.mpf-hero-shell {
    padding: 26px 0 0;
}

.mpf-hero-frame {
    padding: 15px;
    border: 1px solid rgba(121, 91, 69, 0.10);
    border-radius: var(--mpf-radius-lg);
    background: var(--mpf-white);
    box-shadow: 0 16px 48px rgba(23, 35, 29, 0.08);
}

.mpf-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 25px;
    background-color: #294d3b;
    isolation: isolate;
}

.mpf-hero-slides,
.mpf-hero-slide {
    position: absolute;
    inset: 0;
}

.mpf-hero-slides {
    z-index: -2;
}

.mpf-hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 900ms ease;
}

.mpf-hero-slide.is-active {
    opacity: 1;
}

.mpf-hero-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    max-width: min(420px, calc(100% - 40px));
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 12px;
    background: rgba(15, 35, 25, 0.72);
    color: var(--mpf-white);
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1.25;
    text-align: right;
    backdrop-filter: blur(9px);
}

.mpf-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 26, 18, 0.16), rgba(10, 26, 18, 0.02) 62%);
    content: "";
}

.mpf-hero-copy {
    position: absolute;
    top: 42px;
    bottom: 42px;
    left: 56px;
    display: flex;
    width: min(490px, calc(100% - 112px));
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border: 1px solid rgba(121, 91, 69, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 58px rgba(23, 35, 29, 0.16);
    color: var(--mpf-ink);
    backdrop-filter: blur(12px);
}

.mpf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: inherit;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mpf-eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: "";
    opacity: 0.65;
}

.mpf-hero-copy .mpf-eyebrow {
    margin-bottom: 18px;
    color: var(--mpf-brown);
}

.mpf-hero h1 {
    max-width: 430px;
    margin: 0;
    color: var(--mpf-green);
    font-size: clamp(2.8rem, 4vw, 3.7rem);
    font-weight: 820;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.mpf-hero-copy > p:not(.mpf-eyebrow) {
    max-width: 410px;
    margin: 22px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
}

.mpf-hero-copy > .mpf-button {
    align-self: flex-start;
    margin-top: 24px;
}

.mpf-hero-controls {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(15, 35, 25, 0.68);
    backdrop-filter: blur(9px);
    transform: translateX(-50%);
}

.mpf-hero-controls > button {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--mpf-white);
    cursor: pointer;
}

.mpf-hero-controls > button svg {
    display: block;
    width: 16px;
    height: 16px;
}

.mpf-hero-controls > button:hover,
.mpf-hero-controls > button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.mpf-hero-dots {
    display: flex;
    gap: 6px;
}

.mpf-hero-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
}

.mpf-hero-dots button.is-active {
    background: var(--mpf-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.mpf-finder {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    scroll-margin-top: 120px;
    padding: 30px;
    border: 1px solid rgba(121, 91, 69, 0.10);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 14px 44px rgba(23, 35, 29, 0.08);
    color: var(--mpf-ink);
}

.mpf-finder-heading {
    display: grid;
    grid-template-columns: minmax(190px, 0.75fr) minmax(420px, 1.25fr) auto;
    align-items: center;
    gap: 28px;
    margin-bottom: 22px;
}

.mpf-finder-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.mpf-booking-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mpf-booking-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--mpf-ink-soft);
    font-size: 0.82rem;
    font-weight: 750;
}

.mpf-booking-steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: 12px;
    left: 88px;
    height: 1px;
    background: var(--mpf-line);
    content: "";
}

.mpf-booking-steps li span {
    display: inline-flex;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c5d1c9;
    border-radius: 50%;
    background: var(--mpf-white);
    color: var(--mpf-green);
    font-size: 0.78rem;
    font-weight: 850;
}

.mpf-booking-steps .is-current {
    color: var(--mpf-ink);
}

.mpf-booking-steps .is-current span {
    border-color: var(--mpf-green);
    background: var(--mpf-green);
    color: var(--mpf-white);
}

.mpf-live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--mpf-ink-soft);
    font-size: 0.75rem;
    white-space: nowrap;
}

.mpf-live-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #36a66a;
    box-shadow: 0 0 0 4px rgba(54, 166, 106, 0.12);
}

.mpf-booking-console {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
    overflow: hidden;
    border: 1px solid var(--mpf-line);
    border-radius: 20px;
    background: #fbfcfb;
}

.mpf-location-stage {
    padding: 24px;
    background: var(--mpf-white);
}

.mpf-location-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.mpf-search-field {
    position: relative;
}

.mpf-search-field svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 21px;
    height: 21px;
    color: var(--mpf-green);
    pointer-events: none;
    transform: translateY(-50%);
}

.mpf-search-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 46px;
    border: 1px solid #cfdad3;
    border-radius: 14px;
    background: var(--mpf-white);
    color: var(--mpf-ink);
    outline: none;
}

.mpf-search-field input:focus {
    border-color: var(--mpf-green);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.12);
}

.mpf-use-location {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid #cfdad3;
    border-radius: 14px;
    background: var(--mpf-white);
    color: var(--mpf-green);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 780;
    cursor: pointer;
}

.mpf-use-location:hover,
.mpf-use-location:focus-visible {
    border-color: var(--mpf-green);
    background: var(--mpf-green-pale);
}

.mpf-location-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 17px;
}

.mpf-location-option {
    padding: 2px 18px;
    border: 0;
    border-right: 1px solid var(--mpf-line);
    background: transparent;
    color: var(--mpf-ink-soft);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
}

.mpf-location-option:first-child {
    padding-left: 0;
}

.mpf-location-option:last-of-type {
    border-right: 0;
}

.mpf-location-option:hover,
.mpf-location-option:focus-visible,
.mpf-location-option.is-selected {
    color: var(--mpf-green);
}

.mpf-location-option.is-selected::before {
    margin-right: 7px;
    content: "✓";
}

.mpf-location-option[hidden] {
    display: none;
}

.mpf-location-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
}

.mpf-view-all {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mpf-green);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 780;
    text-decoration: none;
    cursor: pointer;
}

.mpf-view-all:hover,
.mpf-view-all:focus-visible {
    text-decoration: underline;
}

.mpf-continue-button {
    min-width: 138px;
}

.mpf-continue-button[aria-disabled="true"] {
    background: #9da9a2;
    pointer-events: none;
}

.mpf-next-steps {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.mpf-next-steps > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 24px;
    border-left: 1px solid var(--mpf-line);
    color: #929e97;
    font-size: 0.92rem;
    font-weight: 750;
}

.mpf-next-steps > div + div {
    border-top: 1px solid var(--mpf-line);
}

.mpf-next-steps span:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mpf-next-steps b {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd4ce;
    border-radius: 50%;
    font-size: 0.76rem;
}

.mpf-no-results {
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--mpf-green-pale);
    color: var(--mpf-ink-soft);
}

/* Proximity finder */
.mpf-finder-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
}

.mpf-finder-intro {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 0.94rem;
}

.mpf-booking-console {
    grid-template-columns: 1fr;
}

.mpf-location-search-row {
    grid-template-columns: minmax(260px, 1fr) minmax(160px, 190px) auto;
    align-items: stretch;
}

.mpf-radius-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 12px 0 15px;
    border: 1px solid #cfdad3;
    border-radius: 14px;
    background: var(--mpf-white);
    color: var(--mpf-ink-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

.mpf-radius-field select {
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--mpf-ink);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.mpf-search-button {
    min-width: 132px;
    justify-content: center;
}

.mpf-search-support {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
    margin-top: 13px;
}

.mpf-search-support .mpf-use-location {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.mpf-change-location {
    padding: 0 0 0 17px;
    border: 0;
    border-left: 1px solid var(--mpf-line);
    background: transparent;
    color: var(--mpf-green);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 780;
    cursor: pointer;
}

.mpf-change-location:hover,
.mpf-change-location:focus-visible {
    text-decoration: underline;
}

.mpf-change-location[hidden] {
    display: none;
}

.mpf-search-support p {
    flex: 1 1 280px;
    margin: 0;
    color: var(--mpf-ink-soft);
    font-size: 0.82rem;
}

.mpf-location-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.mpf-location-options[hidden] {
    display: none;
}

.mpf-location-option,
.mpf-location-option:first-child,
.mpf-location-option:last-of-type {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px;
    border: 1px solid var(--mpf-line);
    border-radius: 15px;
    background: #fbfcfb;
    color: var(--mpf-ink);
    text-align: left;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mpf-location-option:hover,
.mpf-location-option:focus-visible,
.mpf-location-option.is-selected {
    border-color: #8bb59d;
    background: var(--mpf-green-pale);
    color: var(--mpf-ink);
    transform: translateY(-2px);
}

.mpf-location-option.is-selected::before {
    display: none;
}

.mpf-location-options .mpf-location-option[hidden] {
    display: none !important;
}

.mpf-location-option strong,
.mpf-location-option small {
    display: block;
}

.mpf-location-option strong {
    font-size: 0.98rem;
}

.mpf-location-option small {
    overflow: hidden;
    margin-top: 4px;
    color: var(--mpf-ink-soft);
    font-size: 0.76rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpf-distance {
    flex: 0 0 auto;
    color: var(--mpf-green);
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.mpf-no-results {
    display: grid;
    gap: 3px;
    margin-top: 22px;
}

.mpf-no-results[hidden] {
    display: none;
}

.mpf-trust-section {
    padding: 0 0 30px;
}

.mpf-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
    width: min(calc(100% - 48px), var(--mpf-width));
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid rgba(121, 91, 69, 0.10);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 14px 44px rgba(23, 35, 29, 0.06);
}

.mpf-section-label {
    margin: 0 0 18px;
    color: var(--mpf-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mpf-section-title {
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 4.8rem);
    font-weight: 820;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.mpf-section-copy {
    margin: 26px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 1.08rem;
}

.mpf-trust-points {
    display: grid;
    gap: 14px;
}

.mpf-trust-point {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-sm);
    background: rgba(255, 255, 255, 0.70);
}

.mpf-trust-number {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--mpf-green-pale);
    color: var(--mpf-green);
    font-weight: 850;
}

.mpf-trust-point h3 {
    margin: 0 0 4px;
    font-size: 1.06rem;
    line-height: 1.3;
}

.mpf-trust-point p {
    margin: 0;
    color: var(--mpf-ink-soft);
    font-size: 0.94rem;
}

.mpf-story {
    padding: 18px 0 24px;
}

.mpf-story-card {
    display: grid;
    min-height: 450px;
    grid-template-columns: 1.12fr 0.88fr;
    overflow: hidden;
    border-radius: var(--mpf-radius-lg);
    background: var(--mpf-green);
    color: var(--mpf-white);
}

.mpf-story-image {
    min-height: 420px;
    background-position: center;
    background-size: cover;
}

.mpf-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 5vw, 66px);
}

.mpf-story-copy h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3.4vw, 3.35rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.mpf-story-copy p {
    margin: 24px 0 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
}

.mpf-page-shell {
    padding: 64px 0 96px;
}

.mpf-page-shell--standard {
    padding-top: 28px;
    padding-bottom: 24px;
}

.mpf-standard-page {
    margin: 0;
}

.mpf-page-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    overflow: hidden;
    border: 12px solid var(--mpf-white);
    border-radius: var(--mpf-radius-lg);
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.13), transparent 28%),
        linear-gradient(135deg, #155b3a, #10492f);
    box-shadow: 0 18px 54px rgba(23, 35, 29, 0.09);
    color: var(--mpf-white);
}

.mpf-page-hero.has-featured-image {
    min-height: 410px;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

.mpf-page-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 78px);
}

.mpf-page-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mpf-page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--mpf-white);
    font-size: clamp(2.7rem, 5.6vw, 5.5rem);
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.mpf-page-introduction {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.6;
}

.mpf-page-hero-media {
    min-height: 386px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
}

.mpf-page-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpf-page-content-card {
    margin-top: 22px;
    padding: clamp(34px, 6vw, 76px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 18px 50px rgba(23, 35, 29, 0.06);
}

.mpf-page-card {
    padding: clamp(28px, 5vw, 70px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 18px 50px rgba(23, 35, 29, 0.07);
}

.mpf-page-card h1,
.mpf-archive-header h1 {
    margin-top: 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.mpf-location-page {
    display: grid;
    gap: 22px;
}

.mpf-location-breadcrumb {
    margin: 0 0 18px;
    font-size: 0.9rem;
    font-weight: 750;
}

.mpf-location-breadcrumb a {
    color: var(--mpf-green);
    text-decoration: none;
}

.mpf-location-breadcrumb a:hover,
.mpf-location-breadcrumb a:focus-visible {
    text-decoration: underline;
}

.mpf-location-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.mpf-location-summary h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.7rem, 5.6vw, 5.5rem);
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.mpf-location-summary-copy {
    max-width: 760px;
}

.mpf-location-summary-copy > :last-child {
    margin-bottom: 0;
}

.mpf-location-details {
    padding: 28px;
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-sm);
    background: var(--mpf-green-pale);
}

.mpf-location-details dl {
    margin: 0;
}

.mpf-location-details div + div {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(21, 91, 58, 0.13);
}

.mpf-location-details dt {
    color: var(--mpf-ink-soft);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.mpf-location-details dd {
    margin: 4px 0 0;
    color: var(--mpf-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.mpf-location-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mpf-location-actions-row .mpf-button {
    margin: 0;
}

.mpf-location-page--multi {
    display: grid;
    gap: 24px;
}

.mpf-multi-location-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 4.2vw, 54px);
    border-radius: var(--mpf-radius-lg);
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.13), transparent 32%),
        linear-gradient(135deg, #0f4b30 0%, #176b43 100%);
    box-shadow: var(--mpf-shadow);
    color: var(--mpf-white);
}

.mpf-multi-location-hero::after {
    position: absolute;
    right: clamp(34px, 6vw, 90px);
    bottom: -76px;
    width: clamp(180px, 26vw, 360px);
    height: clamp(180px, 26vw, 360px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
}

.mpf-multi-location-hero > * {
    position: relative;
    z-index: 1;
}

.mpf-multi-location-hero .mpf-location-breadcrumb {
    margin-bottom: clamp(24px, 3vw, 36px);
}

.mpf-multi-location-hero .mpf-location-breadcrumb a,
.mpf-multi-location-hero .mpf-section-label {
    color: rgba(255, 255, 255, 0.86);
}

.mpf-multi-location-hero h1 {
    max-width: 1180px;
    margin: 10px 0 17px;
    color: var(--mpf-white);
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.mpf-multi-location-hero > p:not(.mpf-location-breadcrumb):not(.mpf-section-label) {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}

.mpf-field-choice-panel {
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-lg);
    background: var(--mpf-white);
    box-shadow: 0 18px 54px rgba(23, 35, 29, 0.08);
}

.mpf-field-choice-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.mpf-field-choice-heading h2 {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.mpf-field-choice-heading > p {
    margin: 0;
    color: var(--mpf-ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.mpf-field-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mpf-field-choice-card {
    position: relative;
    display: flex;
    min-height: 310px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 3.5vw, 42px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: #f4f7f5;
}

.mpf-field-choice-card::after {
    position: absolute;
    top: -70px;
    right: -58px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    content: "";
}

.mpf-field-choice-card--green {
    border-color: rgba(21, 91, 58, 0.18);
    background: linear-gradient(145deg, #edf7f0, #dceee2);
}

.mpf-field-choice-card--red {
    border-color: rgba(145, 77, 68, 0.18);
    background: linear-gradient(145deg, #fbf3f1, #f3e3df);
}

.mpf-field-choice-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mpf-field-colour-mark {
    width: 11px;
    height: 11px;
    flex: none;
    border-radius: 50%;
    background: var(--mpf-green);
    box-shadow: 0 0 0 5px rgba(21, 91, 58, 0.10);
}

.mpf-field-choice-card--red .mpf-field-colour-mark {
    background: #a34f43;
    box-shadow: 0 0 0 5px rgba(163, 79, 67, 0.10);
}

.mpf-field-choice-card-top p {
    margin: 0;
    color: var(--mpf-ink-soft);
    font-size: 0.76rem;
    font-weight: 820;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mpf-field-choice-card h3 {
    position: relative;
    z-index: 1;
    margin: 26px 0 12px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.mpf-field-choice-card > p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--mpf-ink-soft);
    line-height: 1.65;
}

.mpf-field-choice-card .mpf-button {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.mpf-location-visit-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.4fr) auto;
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-green-pale);
}

.mpf-location-visit-panel h2 {
    margin: 7px 0 0;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.mpf-location-visit-panel dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.mpf-location-visit-panel dt {
    color: var(--mpf-ink-soft);
    font-size: 0.7rem;
    font-weight: 820;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mpf-location-visit-panel dd {
    margin: 5px 0 0;
    color: var(--mpf-ink);
    font-size: 0.95rem;
    font-weight: 720;
    line-height: 1.45;
}

.mpf-location-visit-panel .mpf-button {
    margin: 0;
    white-space: nowrap;
}

.mpf-find-us-details-link {
    display: inline-flex;
    grid-column: 1 / -1;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 4px;
    color: var(--mpf-green);
    font-size: 0.9rem;
    font-weight: 780;
    text-decoration: none;
}

.mpf-find-us-details-link:hover,
.mpf-find-us-details-link:focus-visible {
    text-decoration: underline;
}

.mpf-entry-content > * {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.mpf-entry-content > .alignwide {
    max-width: 1100px;
}

.mpf-entry-content > .alignfull {
    max-width: none;
}

.mpf-entry-content h2,
.mpf-entry-content h3 {
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.mpf-entry-content h2 {
    margin-top: 2.2em;
    margin-bottom: 0.65em;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.mpf-entry-content h3 {
    margin-top: 1.9em;
    margin-bottom: 0.55em;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.mpf-entry-content > :first-child {
    margin-top: 0;
}

.mpf-entry-content > :last-child {
    margin-bottom: 0;
}

.mpf-entry-content p,
.mpf-entry-content ul,
.mpf-entry-content ol {
    margin-top: 0;
    margin-bottom: 1.35em;
}

.mpf-entry-content li + li {
    margin-top: 0.5em;
}

.mpf-entry-content blockquote {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 24px 28px;
    border-left: 5px solid var(--mpf-green);
    border-radius: 0 18px 18px 0;
    background: var(--mpf-green-pale);
    color: var(--mpf-ink);
    font-size: 1.08rem;
}

.mpf-entry-content blockquote > :last-child {
    margin-bottom: 0;
}

.mpf-entry-content figure,
.mpf-entry-content .wp-block-image img,
.mpf-entry-content .wp-block-cover,
.mpf-entry-content .wp-block-media-text {
    border-radius: var(--mpf-radius-sm);
}

.mpf-entry-content .wp-block-image,
.mpf-entry-content .wp-block-gallery,
.mpf-entry-content .wp-block-cover,
.mpf-entry-content .wp-block-media-text,
.mpf-entry-content .wp-block-table {
    margin-top: 2em;
    margin-bottom: 2em;
}

.mpf-entry-content table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.mpf-entry-content th,
.mpf-entry-content td {
    padding: 13px 15px;
    border: 1px solid var(--mpf-line);
    text-align: left;
}

.mpf-entry-content th {
    background: var(--mpf-green-pale);
}

.mpf-entry-content hr {
    margin-top: 2.6em;
    margin-bottom: 2.6em;
    border: 0;
    border-top: 1px solid var(--mpf-line);
}

.mpf-entry-content a:not(.wp-element-button):not(.button) {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mpf-page-links,
.mpf-page-edit-link {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.mpf-page-edit-link {
    margin-top: 36px;
    margin-bottom: 0;
    padding-top: 18px;
    border-top: 1px solid var(--mpf-line);
    font-size: 0.86rem;
}

.mpf-standard-page .mpf-entry-content > *,
.mpf-standard-page .mpf-page-links,
.mpf-standard-page .mpf-page-edit-link {
    max-width: 100%;
}

.mpf-partner-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 22px;
    margin-top: 22px;
}

.mpf-partner-panel,
.mpf-partner-proof,
.mpf-partner-services,
.mpf-partner-process,
.mpf-partner-faq,
.mpf-partner-enquiry {
    border-radius: var(--mpf-radius-md);
    box-shadow: 0 18px 50px rgba(23, 35, 29, 0.06);
}

.mpf-partner-panel {
    padding: clamp(34px, 5vw, 64px);
}

.mpf-partner-panel--light,
.mpf-partner-services {
    border: 1px solid var(--mpf-line);
    background: var(--mpf-white);
}

.mpf-partner-panel--green,
.mpf-partner-enquiry {
    background: var(--mpf-green);
    color: var(--mpf-white);
}

.mpf-partner-panel h2,
.mpf-partner-section-heading h2,
.mpf-partner-proof h2,
.mpf-partner-enquiry h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    letter-spacing: -0.052em;
    line-height: 1.03;
}

.mpf-partner-panel > p:not(.mpf-section-eyebrow):not(.mpf-partner-note),
.mpf-partner-editor-copy {
    margin-top: 24px;
    color: var(--mpf-ink-soft);
    font-size: 1.05rem;
}

.mpf-partner-panel--green .mpf-section-eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.mpf-partner-checklist {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.mpf-partner-checklist li {
    position: relative;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.mpf-partner-checklist li::before {
    position: absolute;
    top: 0.03em;
    left: 0;
    color: #b9dfc4;
    content: "✓";
    font-weight: 850;
}

.mpf-partner-note {
    margin: 28px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.mpf-partner-services,
.mpf-partner-process,
.mpf-partner-faq {
    margin-top: 22px;
    padding: clamp(38px, 5vw, 66px);
}

.mpf-partner-section-heading {
    max-width: 800px;
}

.mpf-partner-section-heading > p:last-child {
    margin: 22px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 1.05rem;
}

.mpf-partner-proof {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 5vw, 70px);
    margin-top: 22px;
    padding: clamp(38px, 5vw, 66px);
    background: #1d2a24;
    color: var(--mpf-white);
}

.mpf-partner-proof-copy p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.02rem;
}

.mpf-partner-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mpf-partner-proof-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 4px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.mpf-partner-proof-grid strong {
    font-size: 1rem;
    line-height: 1.3;
}

.mpf-partner-proof-grid span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.mpf-partner-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.mpf-partner-service-grid > div {
    padding: 24px;
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-sm);
    background: var(--mpf-canvas);
}

.mpf-partner-service-grid h3 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: -0.025em;
}

.mpf-partner-service-grid p {
    margin: 12px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 0.92rem;
}

.mpf-partner-process {
    background: var(--mpf-green-pale);
}

.mpf-partner-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(21, 91, 58, 0.14);
    border-radius: var(--mpf-radius-sm);
    background: rgba(21, 91, 58, 0.14);
}

.mpf-partner-process-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: #f7fbf7;
}

.mpf-partner-process-grid strong {
    color: var(--mpf-green);
    font-size: 1.02rem;
}

.mpf-partner-process-grid span {
    color: var(--mpf-ink-soft);
    font-size: 0.93rem;
}

.mpf-partner-faq {
    border: 1px solid var(--mpf-line);
    background: var(--mpf-white);
}

.mpf-partner-faq-list {
    margin-top: 32px;
    border-top: 1px solid var(--mpf-line);
}

.mpf-partner-faq-list details {
    border-bottom: 1px solid var(--mpf-line);
}

.mpf-partner-faq-list summary {
    position: relative;
    padding: 22px 48px 22px 0;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 760;
    list-style: none;
}

.mpf-partner-faq-list summary::-webkit-details-marker {
    display: none;
}

.mpf-partner-faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--mpf-green);
    content: "+";
    font-size: 1.5rem;
    font-weight: 500;
    transform: translateY(-50%);
}

.mpf-partner-faq-list details[open] summary::after {
    content: "−";
}

.mpf-partner-faq-list details p {
    max-width: 850px;
    margin: -5px 0 24px;
    color: var(--mpf-ink-soft);
}

.mpf-partner-enquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    align-items: start;
    gap: clamp(34px, 5vw, 68px);
    margin-top: 22px;
    padding: clamp(38px, 5vw, 66px);
}

.mpf-partner-enquiry-copy {
    position: sticky;
    top: calc(var(--mpf-header-height, 92px) + 28px);
}

.mpf-partner-enquiry-copy p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.mpf-partner-enquiry-copy .mpf-button {
    min-width: 220px;
    margin-top: 28px;
}

.mpf-partner-form-card {
    padding: clamp(26px, 3.5vw, 42px);
    border-radius: var(--mpf-radius-sm);
    background: var(--mpf-white);
    color: var(--mpf-ink);
}

.mpf-partner-form-card h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    letter-spacing: -0.035em;
}

.mpf-partner-form-card > p {
    margin: 10px 0 0;
    color: var(--mpf-ink-soft);
}

.mpf-partner-form {
    margin-top: 26px;
}

.mpf-partner-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mpf-partner-form-grid label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 720;
}

.mpf-partner-form-wide {
    grid-column: 1 / -1;
}

.mpf-partner-form input[type="text"],
.mpf-partner-form input[type="email"],
.mpf-partner-form input[type="tel"],
.mpf-partner-form textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #cfd8d2;
    border-radius: 10px;
    background: #fff;
    color: var(--mpf-ink);
    font: inherit;
    font-weight: 500;
}

.mpf-partner-form textarea {
    min-height: 128px;
    resize: vertical;
}

.mpf-partner-form input:focus,
.mpf-partner-form textarea:focus {
    border-color: var(--mpf-green);
    outline: 3px solid rgba(21, 91, 58, 0.12);
}

.mpf-partner-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    margin-top: 20px;
    color: var(--mpf-ink-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mpf-partner-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--mpf-green);
}

.mpf-partner-consent a {
    color: var(--mpf-green);
    font-weight: 700;
}

.mpf-partner-form .mpf-button {
    width: 100%;
    margin-top: 22px;
}

.mpf-partner-form-assurance {
    margin: 12px 0 0;
    color: var(--mpf-ink-soft);
    font-size: 0.78rem;
    text-align: center;
}

.mpf-partner-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mpf-form-notice {
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.mpf-form-notice--success {
    background: #e8f5eb;
    color: #164e31;
}

.mpf-form-notice--error {
    background: #fff0ed;
    color: #8a2d20;
}

.mpf-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
    align-items: stretch;
    gap: 22px;
    margin-top: 22px;
}

.mpf-contact-primary,
.mpf-contact-support {
    padding: clamp(30px, 4.6vw, 58px);
    border-radius: var(--mpf-radius-md);
    box-shadow: 0 18px 50px rgba(23, 35, 29, 0.06);
}

.mpf-contact-primary {
    border: 1px solid var(--mpf-line);
    background: var(--mpf-white);
}

.mpf-contact-primary h2,
.mpf-contact-support h2 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.mpf-contact-primary h2 {
    color: var(--mpf-green);
    font-size: clamp(2.15rem, 4vw, 3.7rem);
}

.mpf-contact-intro {
    max-width: 620px;
    margin: 18px 0 30px;
    color: var(--mpf-ink-soft);
    font-size: 1rem;
}

.mpf-contact-methods {
    display: grid;
    gap: 12px;
}

.mpf-contact-method {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 84px;
    padding: 16px 18px;
    border: 1px solid var(--mpf-line);
    border-radius: 18px;
    background: var(--mpf-white);
    color: var(--mpf-ink);
    text-decoration: none;
    cursor: pointer !important;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a.mpf-contact-method.customize-unpreviewable {
    cursor: pointer !important;
}

.mpf-contact-method:hover,
.mpf-contact-method:focus-visible {
    border-color: rgba(21, 91, 58, 0.5);
    background: var(--mpf-green-pale);
    box-shadow: 0 10px 28px rgba(21, 91, 58, 0.08);
    transform: translateY(-1px);
}

.mpf-contact-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--mpf-green-pale);
    color: var(--mpf-green);
}

.mpf-contact-icon svg {
    width: 23px;
    height: 23px;
}

.mpf-contact-method strong,
.mpf-contact-method small {
    display: block;
}

.mpf-contact-method strong {
    font-size: 1rem;
}

.mpf-contact-method small {
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--mpf-ink-soft);
    font-size: 0.84rem;
}

.mpf-contact-arrow {
    color: var(--mpf-green);
    font-size: 1.35rem;
    font-weight: 750;
    transition: transform 180ms ease;
}

.mpf-contact-method:hover .mpf-contact-arrow,
.mpf-contact-method:focus-visible .mpf-contact-arrow {
    transform: translateX(3px);
}

.mpf-contact-support {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.13), transparent 30%),
        linear-gradient(145deg, var(--mpf-green), #10492f);
    color: var(--mpf-white);
}

.mpf-contact-support-block + .mpf-contact-support-block {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mpf-contact-support h2 {
    color: var(--mpf-white);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.mpf-contact-support p {
    margin: 14px 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.mpf-contact-support .mpf-button {
    width: 100%;
}

.mpf-contact-edit-link {
    max-width: none;
    margin-top: 22px;
}

.mpf-find-us-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    align-items: stretch;
    gap: 22px;
    margin-top: 22px;
}

.mpf-find-us-list,
.mpf-find-us-map-panel {
    padding: clamp(24px, 3.4vw, 42px);
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 18px 50px rgba(23, 35, 29, 0.06);
}

.mpf-find-us-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.mpf-find-us-list {
    display: flex;
    flex-direction: column;
    max-height: 680px;
}

.mpf-find-us-heading h2,
.mpf-find-us-map-heading h2 {
    margin: 2px 0 0;
    color: var(--mpf-green);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.mpf-find-us-options {
    display: grid;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
    overscroll-behavior: contain;
}

.mpf-find-us-option {
    overflow: hidden;
    border: 1px solid var(--mpf-line);
    border-radius: 18px;
    background: var(--mpf-white);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mpf-find-us-option.is-active {
    border-color: rgba(21, 91, 58, 0.55);
    box-shadow: 0 10px 26px rgba(21, 91, 58, 0.09);
}

.mpf-find-us-select {
    display: grid;
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: var(--mpf-ink);
    text-align: left;
    cursor: pointer;
}

.mpf-find-us-select:hover,
.mpf-find-us-select:focus-visible,
.mpf-find-us-option.is-active .mpf-find-us-select {
    background: var(--mpf-green-pale);
}

.mpf-find-us-pin {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--mpf-white);
    color: var(--mpf-green);
}

.mpf-find-us-pin svg {
    width: 22px;
    height: 22px;
}

.mpf-find-us-select strong {
    display: block;
    font-size: 1.08rem;
}

.mpf-find-us-select address {
    margin-top: 3px;
    color: var(--mpf-ink-soft);
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.45;
}

.mpf-find-us-chevron {
    color: var(--mpf-green);
    font-size: 1.8rem;
    line-height: 1;
}

.mpf-find-us-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px 18px;
    background: var(--mpf-green-pale);
}

.mpf-find-us.is-enhanced .mpf-find-us-actions {
    display: none;
}

.mpf-find-us.is-enhanced .mpf-find-us-option.is-active .mpf-find-us-actions {
    display: grid;
}

.mpf-find-us-actions .mpf-button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.86rem;
    cursor: pointer !important;
}

.mpf-find-us-actions .mpf-button--outline {
    background: var(--mpf-white);
}

.mpf-find-us-actions .mpf-button--outline:hover,
.mpf-find-us-actions .mpf-button--outline:focus-visible {
    background: var(--mpf-green);
}

.mpf-find-us-map-panel {
    position: sticky;
    top: 102px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mpf-find-us-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.mpf-map-show-all {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--mpf-line);
    border-radius: 999px;
    background: var(--mpf-white);
    color: var(--mpf-green);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    cursor: pointer;
}

.mpf-map-show-all:hover,
.mpf-map-show-all:focus-visible {
    border-color: var(--mpf-green);
    background: var(--mpf-green-pale);
}

.mpf-find-us-map-frame {
    position: relative;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    border: 1px solid var(--mpf-line);
    border-radius: 20px;
    background: var(--mpf-green-pale);
}

.mpf-google-map {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.mpf-find-us-map-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, #f4faf6, var(--mpf-green-pale));
    color: var(--mpf-green);
    font-size: 0.86rem;
    font-weight: 750;
}

.mpf-find-us-map-loading[hidden] {
    display: none;
}

.mpf-map-loading-mark {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(21, 91, 58, 0.18);
    border-top-color: var(--mpf-green);
    border-radius: 50%;
    animation: mpf-map-loading 700ms linear infinite;
}

@keyframes mpf-map-loading {
    to {
        transform: rotate(360deg);
    }
}

.mpf-find-us-map-empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--mpf-ink-soft);
    text-align: center;
}

.mpf-find-us-map-empty[hidden],
.mpf-google-map[hidden] {
    display: none;
}

.mpf-map-information {
    display: grid;
    gap: 5px;
    max-width: 230px;
    padding: 2px 1px;
    color: var(--mpf-ink);
    font-family: inherit;
}

.mpf-map-information strong {
    font-size: 0.95rem;
}

.mpf-map-information span {
    color: var(--mpf-ink-soft);
    font-size: 0.8rem;
}

.mpf-map-information-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 6px;
}

.mpf-map-information .mpf-map-popup-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid var(--mpf-green);
    border-radius: 9px;
    background: var(--mpf-green);
    color: var(--mpf-white) !important;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer !important;
}

.mpf-map-information .mpf-map-popup-button--outline {
    background: var(--mpf-white);
    color: var(--mpf-green) !important;
}

.mpf-map-information .mpf-map-popup-button:hover,
.mpf-map-information .mpf-map-popup-button:focus-visible {
    background: #0f4930;
    color: var(--mpf-white) !important;
}

.mpf-find-us-content {
    margin-top: 22px;
}

.mpf-archive-header {
    padding: 72px 0 40px;
}

.mpf-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 100px;
}

.mpf-directory-card {
    overflow: hidden;
    border: 1px solid var(--mpf-line);
    border-radius: var(--mpf-radius-md);
    background: var(--mpf-white);
    box-shadow: 0 15px 44px rgba(23, 35, 29, 0.07);
}

.mpf-directory-card-image {
    display: block;
    height: 260px;
    background: var(--mpf-green-pale);
}

.mpf-directory-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpf-directory-card-body {
    padding: 26px;
}

.mpf-directory-card h2 {
    margin: 0 0 8px;
    font-size: 1.55rem;
    letter-spacing: -0.035em;
}

.mpf-directory-card p {
    color: var(--mpf-ink-soft);
}

.mpf-site-footer {
    padding: 48px 0 26px;
    background: #14251c;
    color: rgba(255, 255, 255, 0.72);
}

.mpf-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, 0.6fr));
    gap: 60px;
}

.mpf-footer-grid--compact {
    grid-template-columns: minmax(300px, 1.6fr) minmax(220px, 0.5fr);
}

.mpf-footer-grid > :last-child {
    width: max-content;
    max-width: 100%;
    justify-self: end;
    text-align: left;
}

.mpf-footer-logo {
    display: inline-block;
}

.mpf-footer-brand img {
    display: block;
    width: auto;
    max-width: 280px;
}

.mpf-footer-brand p {
    max-width: 480px;
    margin: 22px 0 0;
}

.mpf-footer-heading {
    margin: 0 0 16px;
    color: var(--mpf-white);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mpf-footer-menu,
.mpf-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mpf-footer-menu li,
.mpf-footer-links li {
    margin: 9px 0;
}

.mpf-site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.mpf-site-footer a:hover,
.mpf-site-footer a:focus-visible {
    color: var(--mpf-white);
}

.mpf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.mpf-footer-bottom p {
    margin: 0;
}

.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    min-height: 48px;
    border: 1px solid var(--mpf-line);
    border-radius: 12px;
}

.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--mpf-green);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--mpf-green);
}

@media (max-width: 1050px) {
    .mpf-header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .mpf-primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 24px;
        left: 24px;
        display: none;
        padding: 18px;
        border: 1px solid var(--mpf-line);
        border-radius: 18px;
        background: var(--mpf-white);
        box-shadow: var(--mpf-shadow);
        max-height: calc(100dvh - 112px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mpf-primary-nav.is-open {
        display: block;
    }

    .mpf-primary-nav > ul {
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
    }

    .mpf-primary-nav > ul > li > a {
        display: block;
        min-height: 0;
        padding: 11px 12px;
        border-radius: 10px;
    }

    .mpf-primary-nav > ul > li > a::after {
        display: none;
    }

    .mpf-primary-nav .sub-menu {
        position: static;
        display: grid;
        width: auto;
        min-width: 0;
        margin: 0 0 4px 14px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .mpf-primary-nav .sub-menu a {
        padding: 9px 12px;
        font-size: 0.84rem;
    }

    .mpf-primary-nav .sub-menu .sub-menu {
        position: static;
        margin-left: 14px;
        transform: none;
    }

    .mpf-primary-nav .sub-menu .menu-item-has-children > a {
        padding-right: 12px;
    }

    .mpf-primary-nav .sub-menu .menu-item-has-children > a::after {
        display: none;
    }

    .mpf-menu-toggle {
        display: inline-flex;
    }

    .mpf-hero-copy {
        top: 32px;
        bottom: 32px;
        left: 40px;
        width: min(460px, calc(100% - 80px));
        padding: 34px;
    }

    .mpf-hero-caption {
        top: 24px;
        right: 24px;
        bottom: auto;
        max-width: min(350px, calc(100% - 540px));
    }

    .mpf-hero-controls {
        top: auto;
        right: clamp(90px, 11vw, 150px);
        bottom: 24px;
        left: auto;
        transform: none;
    }

    .mpf-finder-heading {
        grid-template-columns: 1fr auto;
    }

    .mpf-live-status {
        grid-column: 1 / -1;
    }

    .mpf-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mpf-trust-grid {
        grid-template-columns: 1fr;
    }

    .mpf-contact-layout {
        grid-template-columns: 1fr;
    }

    .mpf-partner-intro {
        grid-template-columns: 1fr;
    }

    .mpf-partner-proof,
    .mpf-partner-enquiry {
        grid-template-columns: 1fr;
    }

    .mpf-partner-enquiry-copy {
        position: static;
    }

    .mpf-partner-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mpf-location-option,
    .mpf-location-option:first-child,
    .mpf-location-option:last-of-type {
        min-height: 126px;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .mpf-location-option > span:first-child {
        width: 100%;
        min-width: 0;
    }

    .mpf-location-option small {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .mpf-distance {
        align-self: flex-start;
        white-space: normal;
    }

    .mpf-contact-support {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 34px;
    }

    .mpf-contact-support-block {
        display: flex;
        flex-direction: column;
    }

    .mpf-contact-support-block .mpf-button {
        margin-top: auto;
    }

    .mpf-contact-support-block + .mpf-contact-support-block {
        margin-top: 0;
        padding-top: 0;
        padding-left: 34px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .mpf-find-us-layout {
        grid-template-columns: 1fr;
    }

    .mpf-find-us-list,
    .mpf-find-us-map-panel {
        position: static;
    }

    .mpf-find-us-list {
        max-height: none;
    }

    .mpf-find-us-options {
        overflow: visible;
        padding-right: 0;
    }

    .mpf-find-us-map-frame {
        height: 520px;
        flex: none;
    }
}

@media (max-width: 900px) {
    .mpf-page-hero.has-featured-image {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .mpf-page-hero-media {
        min-height: 340px;
        height: 340px;
    }

    .mpf-location-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    body.slotlogix-booking-route {
        overflow-x: clip;
    }

    body.slotlogix-booking-route .slotlogix-route-main {
        padding-top: 14px !important;
    }

    body.admin-bar .mpf-site-header {
        top: 46px;
    }

    .mpf-container,
    .mpf-content-width {
        width: min(calc(100% - 28px), var(--mpf-width));
    }

    .mpf-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 68px;
        gap: 12px;
    }

    .mpf-header-brand {
        max-width: min(180px, calc(100vw - 94px));
    }

    .mpf-brand img,
    .mpf-brand .custom-logo,
    .mpf-header-brand .custom-logo-link img {
        max-height: 42px;
    }

    .mpf-header-cta {
        display: none;
    }

    .mpf-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 46px;
        height: 46px;
    }

    .mpf-primary-nav {
        right: 14px;
        left: 14px;
        max-height: calc(100dvh - 82px);
        padding: 12px;
        border-radius: 16px;
    }

    .mpf-primary-nav > ul > li > a {
        min-height: 46px;
        padding: 11px 12px;
    }

    .mpf-hero-shell {
        padding-top: 14px;
    }

    .mpf-page-shell--standard {
        padding-top: 14px;
        padding-bottom: 24px;
    }

    .mpf-page-hero {
        min-height: 0;
        border-width: 8px;
        border-radius: 24px;
    }

    .mpf-page-hero-copy {
        padding: 36px 26px;
    }

    .mpf-page-hero h1 {
        font-size: clamp(2.15rem, 9vw, 3.45rem);
        line-height: 1;
    }

    .mpf-page-hero-media {
        min-height: 0;
        height: clamp(230px, 68vw, 340px);
        border-radius: 18px;
    }

    .mpf-page-content-card {
        margin-top: 14px;
        padding: 34px 26px;
        border-radius: 22px;
    }

    .mpf-partner-intro,
    .mpf-partner-proof,
    .mpf-partner-services,
    .mpf-partner-process,
    .mpf-partner-faq,
    .mpf-partner-enquiry {
        margin-top: 14px;
    }

    .mpf-partner-process-grid {
        grid-template-columns: 1fr;
    }

    .mpf-partner-enquiry-copy .mpf-button {
        width: 100%;
        min-width: 0;
    }

    .mpf-hero-frame {
        padding: 8px;
        border-radius: 24px;
    }

    .mpf-hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-radius: 17px;
        background: var(--mpf-white);
        isolation: auto;
    }

    .mpf-hero-slides {
        position: relative;
        z-index: 0;
        inset: auto;
        width: 100%;
        height: clamp(260px, 80vw, 420px);
        flex: 0 0 auto;
    }

    .mpf-hero-slide {
        z-index: 0;
        background-position: center;
    }

    .mpf-hero::before {
        display: none;
    }

    .mpf-hero-copy {
        position: relative;
        inset: auto;
        width: auto;
        padding: 30px 26px 32px;
        border: 0;
        border-radius: 0;
        background: var(--mpf-white);
        box-shadow: none;
        backdrop-filter: none;
    }

    .mpf-hero h1 {
        max-width: 510px;
        font-size: clamp(2.15rem, 9vw, 3.15rem);
        line-height: 1;
    }

    .mpf-hero-caption {
        right: 16px;
        top: 16px;
        bottom: auto;
        max-width: calc(100% - 32px);
    }

    .mpf-hero-controls {
        top: clamp(208px, calc(80vw - 52px), 368px);
        right: auto;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .mpf-finder {
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 14px;
        padding: 24px;
    }

    .mpf-finder-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mpf-finder-title {
        font-size: clamp(1.65rem, 6vw, 2rem);
    }

    .mpf-booking-steps {
        width: 100%;
    }

    .mpf-live-status {
        grid-column: auto;
    }

    .mpf-booking-console {
        grid-template-columns: 1fr;
    }

    .mpf-location-search-row {
        grid-template-columns: 1fr;
    }

    .mpf-search-button {
        width: 100%;
        grid-column: auto;
    }

    .mpf-location-options {
        grid-template-columns: 1fr;
    }

    .mpf-location-option,
    .mpf-location-option:first-child,
    .mpf-location-option:last-of-type {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        overflow: hidden;
    }

    .mpf-location-option > span:first-child {
        min-width: 0;
    }

    .mpf-location-option small {
        white-space: normal;
        overflow-wrap: anywhere;
        text-overflow: clip;
    }

    .mpf-distance {
        max-width: 100%;
        justify-self: end;
    }

    .mpf-location-stage {
        padding: 20px;
    }

    .mpf-next-steps {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .mpf-next-steps > div {
        border-top: 1px solid var(--mpf-line);
        border-left: 0;
    }

    .mpf-next-steps > div + div {
        border-left: 1px solid var(--mpf-line);
    }

    .mpf-trust-section {
        padding-top: 14px;
    }

    .mpf-trust-grid {
        width: min(calc(100% - 28px), var(--mpf-width));
        padding: 34px 24px;
    }

    .mpf-story-card,
    .mpf-footer-grid {
        grid-template-columns: 1fr;
    }

    .mpf-story-image {
        min-height: 0;
        height: clamp(260px, 72vw, 380px);
    }

    .mpf-story-copy {
        padding: 38px 26px 42px;
    }

    .mpf-story-copy h2,
    .mpf-section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.02;
    }

    .mpf-directory-grid {
        grid-template-columns: 1fr;
    }

    .mpf-find-us-map-panel {
        order: -1;
    }

    .mpf-find-us-map-frame {
        height: clamp(300px, 82vw, 420px);
    }

    .mpf-find-us-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .mpf-map-show-all {
        min-height: 44px;
    }

    .mpf-location-summary h1,
    .mpf-page-card h1,
    .mpf-archive-header h1 {
        font-size: clamp(2.15rem, 9vw, 3.45rem);
        line-height: 1;
    }

    .mpf-location-actions-row .mpf-button {
        flex: 1 1 220px;
    }

    .mpf-footer-grid {
        gap: 38px;
    }

    .mpf-footer-grid > :last-child {
        width: 100%;
        justify-self: start;
    }

    .mpf-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    body.slotlogix-booking-route:not(.slotlogix-booking-route--match-website) .slotlogix-route-main {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    body.slotlogix-booking-route:not(.slotlogix-booking-route--match-website) .slotlogix-route-frame {
        width: 100%;
        min-width: 0;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.slotlogix-booking-route .slotlogix-route-frame > .slotlogix-native-root,
    body.slotlogix-booking-route .slotlogix-route-frame > .slotlogix-native-root > * {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .mpf-page-hero-copy {
        padding: 30px 20px;
    }

    .mpf-page-kicker {
        margin-bottom: 14px;
    }

    .mpf-page-introduction {
        margin-top: 18px;
    }

    .mpf-page-hero-media {
        min-height: 240px;
        height: 240px;
    }

    .mpf-page-content-card {
        padding: 28px 20px;
    }

    .mpf-partner-panel,
    .mpf-partner-proof,
    .mpf-partner-services,
    .mpf-partner-process,
    .mpf-partner-faq,
    .mpf-partner-enquiry {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .mpf-partner-proof-grid,
    .mpf-partner-form-grid {
        grid-template-columns: 1fr;
    }

    .mpf-partner-proof-grid > div {
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .mpf-partner-form-wide {
        grid-column: auto;
    }

    .mpf-partner-form-card {
        padding: 24px 18px;
    }

    .mpf-partner-service-grid {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .mpf-contact-primary,
    .mpf-contact-support {
        padding: 28px 22px;
    }

    .mpf-contact-method {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 13px;
    }

    .mpf-contact-icon {
        width: 40px;
        height: 40px;
    }

    .mpf-contact-support {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .mpf-contact-support-block {
        display: block;
        width: 100%;
    }

    .mpf-contact-support-block + .mpf-contact-support-block {
        margin-top: 24px;
        padding-top: 24px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .mpf-find-us-list,
    .mpf-find-us-map-panel {
        padding: 22px 18px;
    }

    .mpf-find-us-actions {
        grid-template-columns: 1fr;
    }

    .mpf-find-us-map-frame {
        height: 300px;
    }

    .mpf-hero {
        min-height: 0;
    }

    .mpf-hero-copy {
        inset: auto;
        padding: 26px 20px 28px;
    }

    .mpf-hero-copy .mpf-eyebrow {
        margin-bottom: 13px;
        font-size: 0.68rem;
    }

    .mpf-hero h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .mpf-hero-copy > .mpf-button {
        width: 100%;
    }

    .mpf-hero-copy > p:not(.mpf-eyebrow) {
        font-size: 0.96rem;
    }

    .mpf-finder {
        padding: 18px;
        border-radius: 21px;
    }

    .mpf-location-stage {
        padding: 16px;
    }

    .mpf-location-search-row {
        grid-template-columns: 1fr;
    }

    .mpf-use-location {
        min-height: 46px;
    }

    .mpf-location-options {
        grid-template-columns: 1fr;
    }

    .mpf-location-option,
    .mpf-location-option:first-child,
    .mpf-location-option:last-of-type {
        display: grid;
        padding: 16px;
        border: 1px solid var(--mpf-line);
        text-align: left;
    }

    .mpf-search-support {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .mpf-change-location {
        padding-left: 0;
        border-left: 0;
    }

    .mpf-search-support p {
        flex-basis: auto;
    }

    .mpf-location-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mpf-continue-button {
        width: 100%;
    }

    .mpf-booking-steps li {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .mpf-booking-steps li:not(:last-child)::after {
        display: none;
    }

    .mpf-trust-point {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .mpf-trust-number {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .mpf-trust-grid {
        padding: 28px 18px;
    }

    .mpf-footer-brand img {
        max-width: 230px;
    }

    .mpf-location-actions-row {
        flex-direction: column;
    }

    .mpf-location-actions-row .mpf-button {
        width: 100%;
        flex-basis: auto;
    }

    .mpf-entry-content .wp-block-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 380px) {
    .mpf-container,
    .mpf-content-width {
        width: min(calc(100% - 20px), var(--mpf-width));
    }

    .mpf-hero-shell,
    .mpf-page-shell--standard {
        padding-top: 10px;
    }

    .mpf-hero-frame {
        padding: 6px;
        border-radius: 20px;
    }

    .mpf-hero-slides {
        height: 260px;
    }

    .mpf-hero-controls {
        top: 208px;
    }

    .mpf-hero-copy,
    .mpf-story-copy,
    .mpf-page-hero-copy,
    .mpf-page-content-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mpf-finder {
        padding: 14px;
    }

    .mpf-location-stage {
        padding: 14px;
    }

    .mpf-location-option,
    .mpf-location-option:first-child,
    .mpf-location-option:last-of-type {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .mpf-distance {
        justify-self: start;
    }

    .mpf-find-us-list,
    .mpf-find-us-map-panel,
    .mpf-contact-primary,
    .mpf-contact-support {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mpf-contact-arrow {
        display: none;
    }
}

/* Apply the short landscape hero treatment only after the hero has switched
   to its stacked mobile layout. Applying it to the tablet overlay layout
   shortens only the photograph layer and exposes the green fallback below. */
@media (max-width: 782px) and (orientation: landscape) {
    .mpf-hero-slides {
        height: min(72vh, 400px);
        min-height: 260px;
    }

    .mpf-hero-controls {
        top: auto;
        bottom: calc(100% - min(72vh, 400px) + 16px);
    }
}

@media (max-width: 980px) {
    .mpf-field-choice-heading,
    .mpf-location-visit-panel {
        grid-template-columns: 1fr;
    }

    .mpf-field-choice-heading {
        align-items: start;
    }

    .mpf-location-visit-panel .mpf-button {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .mpf-multi-location-hero {
        padding: 30px 22px;
        border-radius: var(--mpf-radius-md);
    }

    .mpf-multi-location-hero .mpf-location-breadcrumb {
        margin-bottom: 34px;
    }

    .mpf-multi-location-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.2rem);
    }

    .mpf-field-choice-panel {
        padding: 26px 18px;
        border-radius: var(--mpf-radius-md);
    }

    .mpf-field-choice-grid,
    .mpf-location-visit-panel dl {
        grid-template-columns: 1fr;
    }

    .mpf-field-choice-card {
        min-height: 290px;
        padding: 26px 22px;
    }

    .mpf-location-visit-panel {
        padding: 26px 22px;
    }

    .mpf-location-visit-panel .mpf-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
