/*
Theme Name:  Northlight (Divi child)
Theme URI:   https://www.northlight.clinic/
Description: Northlight Orthopaedics on Divi 5. Pages, header, footer and consultant templates are Divi 5 layouts; consultants and locations are ACF data pulled in with Divi Dynamic Content. The clinic's original stylesheet (assets/css/custom.css) styles the Divi modules through CSS classes.
Author:      Logan Web
Author URI:  https://www.loganweb.co.uk/
Template:    Divi
Version:     1.0.0
Text Domain: northlight
*/

/*
 * The original site's stylesheet lives in assets/css/custom.css (copied verbatim
 * from the live site). This file adds what WordPress / Divi need on top, and the
 * "Divi 5 bridge" at the end, which lets custom.css style the Divi modules.
 */

/* Visible keyboard focus (the live site removes it on the toggler only) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #A1946D;
    outline-offset: 2px;
}
.navbar-toggler:focus-visible { outline: 3px solid #A1946D; outline-offset: 2px; }

/* Bootstrap dropdown from wp_nav_menu */
.dropdown-item { font-weight: 400; }

/* ---------- Contact Form 7, using the original Umbraco Forms markup ---------- */
/* Fields use .form-control / .form-label / legend etc., styled by custom.css. */

.nl-form-wrap .wpcf7 { margin-top: 40px; }
.wpcf7 .screen-reader-response,
.nl-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-not-valid-tip { display: block; color: red; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting { opacity: .7; }

/* Consent checkbox (classes added by forms.js to match Bootstrap's form-check) */
.wpcf7-acceptance .wpcf7-list-item { display: inline; margin: 0; }
.wpcf7-acceptance .wpcf7-list-item > label { display: inline; font-weight: normal; }
.wpcf7-acceptance .form-check-label { display: inline-block; margin-left: 3px; font-weight: normal; }

/* Step navigation */
.nl-step[hidden] { display: none !important; }
.umbraco-forms-navigation .btn + .btn { margin-left: 0; }
.nl-enquiry .wpcf7-submit { border: 0; }

/* Messages: field errors only (no summary box), green confirmation like the original */
.wpcf7 .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    display: block;
    margin: 0;
    font-weight: 900;
    background: #286E6C;
    color: white;
    border-radius: 6px;
    width: 100%;
    padding: 30px;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { background: #8a1c1c; }
.wpcf7 form.sent .nl-form-body { display: none; }

/* Screen-reader helper */
.nl-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Page-specific rules carried over from the live templates ---------- */

/* Standard pages (Referrals, Contact us, Privacy Policy) */
body.page:not(.home) .hero-full { padding-top: 30px; padding-bottom: 30px; }
body.page:not(.home) .hero-large img { height: auto; width: 100%; object-fit: cover; }
body.page:not(.home) .hero-large { height: auto; width: 100%; }

/* Consultant profile (applies to every .consultant-image on the page, as live) */
body.single-nl_consultant .consultant-image { margin-bottom: 50px; margin-top: 50px; margin-right: 0px; }
@media (max-width: 768px) {
    body.single-nl_consultant .consultant-image { margin-left: 0px; margin-bottom: 10px; }
}

/* Skip link becomes visible when focused with the keyboard */
.nl-sr-only:focus {
    position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
    z-index: 2000; background: #fff; color: #000; padding: 10px 16px; border-radius: 6px; white-space: normal;
}

/* =====================================================================
 * Divi 5 bridge
 * Layout classes used in the Divi layouts (set under each module's
 * Advanced › CSS ID & Classes):
 *   nl-sec        section with no Divi padding (spacing comes from custom.css)
 *   nl-container  row at the original Bootstrap container width
 *   nl-full       full-width row with no gutters
 *   nl-center     centre the columns
 *   nl-group      group carrying the original site's classes (hero-left, …)
 * ===================================================================== */

:root { --nl-gutter: 24px; }

/* Sections */
#page-container #et-boc .et_pb_section.nl-sec { padding: 0; background-color: transparent; }
#page-container #et-boc .et_pb_section.nl-sec.block-green { background-color: #286E6C; }
#page-container #et-boc .et_pb_section.nl-sec.block-blue { background-color: #394D62; }
#page-container #et-boc .et_pb_section.nl-sec.hero-full { background-color: #A1946D; }
#page-container #et-boc .et_pb_section.nl-sec.block-outer { padding: 120px 0; }
@media (max-width: 768px) { #page-container #et-boc .et_pb_section.nl-sec.block-outer { padding: 80px 25px; } }
#page-container #et-boc .et_pb_section.nl-sec p { padding-bottom: 0; }
#page-container #et-boc .nl-mt-100 { margin-top: 100px; }

/* Rows */
#page-container #et-boc .et_pb_row.nl-row {
	width: 100%; max-width: none; margin: 0 auto; padding: 0;
	--horizontal-gap: var(--nl-gutter); --vertical-gap: 0px; row-gap: 0;
	align-items: stretch;
}
#page-container #et-boc .et_pb_row.nl-row > .et_pb_column { --horizontal-gap-parent: var(--nl-gutter); --vertical-gap: 0px; row-gap: 0; }
#page-container #et-boc .et_pb_row.nl-container { padding-left: 24px; padding-right: 24px; }
@media (min-width: 576px)  { #page-container #et-boc .et_pb_row.nl-container { max-width: 540px; } }
@media (min-width: 768px)  { #page-container #et-boc .et_pb_row.nl-container { max-width: 720px; } }
@media (min-width: 992px)  { #page-container #et-boc .et_pb_row.nl-container { max-width: 960px; } }
@media (min-width: 1200px) { #page-container #et-boc .et_pb_row.nl-container { max-width: 1140px; } }
@media (min-width: 1400px) { #page-container #et-boc .et_pb_row.nl-container { max-width: 1320px; } }
#page-container #et-boc .et_pb_row.nl-full { --horizontal-gap: 0px; }
#page-container #et-boc .et_pb_row.nl-full > .et_pb_column { --horizontal-gap-parent: 0px; }
#page-container #et-boc .et_pb_row.nl-center { justify-content: center; }
@media (max-width: 980px) { #page-container #et-boc .et_pb_row.nl-container { row-gap: 24px; } }

/* Modules: no Divi spacing, full width */
#page-container #et-boc .nl-sec .et_pb_module, #page-container #et-boc .nl-footer .et_pb_module { margin-bottom: 0; }
#page-container #et-boc .et_pb_group.nl-group { display: block; width: 100%; flex: 1 1 auto; }
#page-container #et-boc .nl-group .et_pb_image, #page-container #et-boc .nl-group .et_pb_image_wrap { display: block; width: 100%; max-width: none; text-align: left; }
#page-container #et-boc .nl-sec .et_pb_text { color: inherit; }
#page-container #et-boc .nl-sec .et_pb_text ul { padding: 0; }
#page-container #et-boc .nl-sec .et_pb_heading .et_pb_module_header { padding-bottom: 0; }
#page-container #et-boc .et_pb_heading.heading .et_pb_module_header { font: inherit; color: inherit; line-height: inherit; text-align: inherit; margin: 0; }
#page-container #et-boc .nl-vcenter { justify-content: center; }

/* Home hero */
#page-container #et-boc .et_pb_group.hero-left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
#page-container #et-boc .hero-left .et_pb_module { width: 100%; }
#page-container #et-boc .hero-left .et_pb_module_header { color: #fff; font-size: 60px; line-height: 1.1; font-family: 'Northlight Display', sans-serif; }
#page-container #et-boc .et_pb_group.hero-full-width { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
#page-container #et-boc .hero-full-width .et_pb_text { position: relative; z-index: 2; text-align: center; }
#page-container #et-boc .hero-full-width .et_pb_image.northlight-graphic-lg { position: absolute; width: 50%; z-index: 1; }
#page-container #et-boc .hero-full-width .northlight-graphic-lg img { width: 100%; }
#page-container #et-boc .col-left p, #page-container #et-boc .col-right p { margin-bottom: 1rem; }

/* Headings inside the coloured bands */
#page-container #et-boc .hero-full .et_pb_module_header { color: #fff; font-size: 60px; font-family: 'Northlight Display', sans-serif; margin-bottom: 15px; }
#page-container #et-boc .nl-page-title .et_pb_module_header { margin-bottom: 0; }
@media (max-width: 768px) { #page-container #et-boc .hero-full .et_pb_module_header { font-size: 40px; } }
#page-container #et-boc .hero-left .et_pb_module_header { margin-bottom: 24px; }

/* Consultant and location cards */
#page-container #et-boc .nl-cards .nl-card { margin-bottom: 0; }
@media (max-width: 991px) { #page-container #et-boc .nl-cards .nl-card { margin-bottom: 24px; } }
#page-container #et-boc .nl-card-link { display: block; text-decoration: none; color: #fff; font-weight: 400; }
#page-container #et-boc .nl-card-link:hover { color: #fff; }
#page-container #et-boc .consultant-image { background-color: lightgray; background-position: 50%; background-repeat: no-repeat; }
#page-container #et-boc .nl-card-margins .consultant-image { margin: inherit auto 30px; }
#page-container #et-boc .nl-map-link { color: rgba(255, 255, 255, 0.70); font-size: 15px; font-style: normal; font-weight: 400; line-height: normal; }
#page-container #et-boc .nl-map-link--dark { color: rgba(0, 0, 0, 0.70); }
#page-container #et-boc .location-address p { margin: 0 0 1rem; }

/* Get in touch */
#page-container #et-boc .nl-cta .heading { margin-bottom: 50px; }
#page-container #et-boc .et_pb_row.nl-cta-buttons { max-width: 1100px; }
#page-container #et-boc .nl-cta-buttons .et_pb_button_module_wrapper, #page-container #et-boc .nl-cta-buttons .et_pb_button { width: 100%; }
@media (max-width: 991px) { #page-container #et-boc .nl-cta-buttons .nl-cta-col { margin-bottom: 1rem; } }

/* Buttons: original look instead of Divi's */
#page-container #et-boc .et_pb_button.btn { border: 0; display: inline-block; font-size: 18px; line-height: 37px; padding: 10px 20px !important; margin: 0; letter-spacing: 0; }
#page-container #et-boc .et_pb_button.btn:after, #page-container #et-boc .et_pb_button.btn:before { display: none !important; }
#page-container #et-boc .et_pb_button.btn-white { color: #000; }
#page-container #et-boc .et_pb_button.btn-white:hover { background: #dfe9e9; color: #000; }
#page-container #et-boc .et_pb_button.btn-green:hover { background: #dfe9e9; }

/* Breadcrumb */
#page-container #et-boc .et_pb_section.nl-breadcrumb .et_pb_row { padding-top: 24px; padding-bottom: 24px; }
#page-container #et-boc .nl-breadcrumb ul.breadcrumb { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
#page-container #et-boc .nl-breadcrumb .divider { margin-right: 5px; }

/* Consultant profile */
#page-container #et-boc .et_pb_section.nl-profile-body { margin: 60px 0 100px; }
#page-container #et-boc .nl-profile-body .et_pb_row { padding-top: 24px; padding-bottom: 24px; }
#page-container #et-boc .et_pb_row.nl-profile-details { margin-top: 80px; }
#page-container #et-boc .nl-loc-name { display: block; font-size: 18px; font-weight: bold; text-align: left; }
#page-container #et-boc .nl-loc-address { display: block; font-size: 18px; font-weight: normal; text-align: left; }
#page-container #et-boc .hero-specialism.nl-strong { font-weight: 900; }
#page-container #et-boc .hero-specialism.nl-last { margin-bottom: 0; }
#page-container #et-boc .nl-profile-hero .et_pb_column.nl-vcenter { display: flex; flex-direction: column; justify-content: center; }

/* Standard pages */
#page-container #et-boc .et_pb_section.nl-page-body { margin: 60px 0 100px; }
#page-container #et-boc .nl-page-body .et_pb_row { padding-top: 24px; padding-bottom: 24px; }
body.page:not(.home) #page-container #et-boc .et_pb_section.hero-full { padding: 30px 0; }
@media (max-width: 768px) { #page-container #et-boc .et_pb_section.nl-sec.hero-full { padding: 30px 20px; } }

/* Header (Theme Builder) */
#page-container #et-boc .et-l--header .et_pb_section.nav-outer { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 40px 30px; transition: all 0.3s; background-color: #f5f4f0; }
.admin-bar #page-container #et-boc .et-l--header .et_pb_section.nav-outer { top: 32px; }
@media (max-width: 782px) { .admin-bar #page-container #et-boc .et-l--header .et_pb_section.nav-outer { top: 46px; } }
@media (max-width: 991px) { #page-container #et-boc .et-l--header .et_pb_section.nav-outer { padding: 20px 30px; } }
@media (max-width: 530px) { #page-container #et-boc .et-l--header .et_pb_section.nav-outer { padding: 20px; } }
#page-container #et-boc .et-l--header .et_pb_section.nav-outer.scrolled { padding: 10px 30px; }
#page-container #et-boc #et-main-area { margin-top: 203px; }
@media (max-width: 991px) { #page-container #et-boc #et-main-area { margin-top: 142px; } }
@media (max-width: 530px) { #page-container #et-boc #et-main-area { margin-top: 132px; } }
#page-container #et-boc .et_pb_menu.nl-menu { background-color: transparent !important; }
#page-container #et-boc .nl-menu .et_pb_menu_inner_container { align-items: center; }
#page-container #et-boc .nl-menu .et_pb_menu__logo img { height: 90px; width: auto; max-height: none; transition: all 0.3s; }
#page-container #et-boc .scrolled .nl-menu .et_pb_menu__logo img { height: 80px; }
@media (max-width: 991px) { #page-container #et-boc .nl-menu .et_pb_menu__logo img { height: 70px; } }
@media (max-width: 530px) { #page-container #et-boc .nl-menu .et_pb_menu__logo img, #page-container #et-boc .scrolled .nl-menu .et_pb_menu__logo img { height: 60px; } }
#page-container #et-boc .nl-menu .et_pb_menu__wrap { justify-content: flex-end; flex: 1 1 auto; }
#page-container #et-boc .nl-menu .et-menu > li > a { font-family: Manrope, sans-serif; font-size: 18px; font-weight: 400; color: #000; }
#page-container #et-boc .nl-menu .et-menu > li > a:hover { color: #286E6C; opacity: 1; }
#page-container #et-boc .nl-menu .et-menu > li { padding-left: 8px; padding-right: 8px; }
#page-container #et-boc .nl-menu .nav li ul { border-top: 0; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 8px 0; width: 260px; }
#page-container #et-boc .nl-menu .nav li ul a { font-size: 16px; font-weight: 400; color: #000; width: 100%; padding: 6px 16px; }
#page-container #et-boc .nl-menu .nav li ul a:hover { background-color: #A1946D; color: #fff; opacity: 1; }
#page-container #et-boc .nl-menu .et_mobile_nav_menu .mobile_nav .mobile_menu_bar:before { color: #000; }

/* Footer (Theme Builder) */
#page-container #et-boc .et_pb_section.nl-footer { padding: 40px 80px; background: transparent; }
@media (max-width: 991px) { #page-container #et-boc .et_pb_section.nl-footer { padding: 20px 30px; } }
@media (max-width: 530px) { #page-container #et-boc .et_pb_section.nl-footer { padding: 20px; } }
#page-container #et-boc .nl-footer-logo img { height: 70px; width: auto; }
#page-container #et-boc .nl-footer-right .et_pb_text { text-align: right; }
#page-container #et-boc .nl-copyright { font-size: 15px; }
@media (max-width: 980px) { #page-container #et-boc .nl-footer .et_pb_column { margin-bottom: 24px; } #page-container #et-boc .nl-footer-right .et_pb_text { text-align: left; } }

/* Fine-tuning after visual comparison */
#page-container #et-boc .et_pb_section.nl-sec, #page-container #et-boc .et_pb_section.nl-footer { row-gap: 0; --vertical-gap: 0px; }
#page-container #et-boc .nl-sec .et_pb_image img { vertical-align: top; display: block; }
#page-container #et-boc .location-address { font-size: 18px; font-weight: normal; }
#page-container #et-boc .et_pb_button.btn-white, #page-container #et-boc .et_pb_button.btn-white:hover { color: #212529; }
#page-container #et-boc .nl-cta-buttons .et_pb_column > .et_pb_module, #page-container #et-boc .nl-cta-buttons .et_pb_button_module_wrapper { width: 100%; align-self: stretch; }
#page-container #et-boc .nl-cta-buttons .et_pb_button { display: block; width: 100%; text-align: center; }
#page-container #et-boc .nl-footer .et_pb_image { text-align: left; align-self: flex-start; margin-left: 0; }
#page-container #et-boc .nl-footer .et_pb_image_wrap { display: block; }
#page-container #et-boc .nl-footer .et_pb_column.nl-footer-right { align-items: stretch; }
#page-container #et-boc .et_pb_menu.nl-menu .et_pb_menu__wrap { flex: 1 1 auto !important; justify-content: flex-end !important; }
/* Divi writes per-module button/heading styles with high specificity; these keep the original look. */
body #page-container .et_pb_button.btn-white, body #page-container .et_pb_button.btn-white span { color: #212529 !important; }
body #page-container .et_pb_button.btn-green, body #page-container .et_pb_button.btn-green span { color: #fff !important; }
body #page-container .et_pb_button.btn-green:hover, body #page-container .et_pb_button.btn-green:hover span { color: #286E6C !important; }
#page-container #et-boc .nl-cta-buttons .et_pb_button.btn { width: 100% !important; }
#page-container #et-boc .et_pb_section.nl-sec .et_pb_heading.heading { margin-bottom: 80px !important; }
#page-container #et-boc .et_pb_section.nl-sec.nl-cta .et_pb_heading.heading { margin-bottom: 50px !important; }
@media (max-width: 530px) { #page-container #et-boc .et_pb_section.nl-sec .et_pb_heading.heading { font-size: 35px; } }
#page-container #et-boc .nl-footer .et_pb_column > .et_pb_image { align-self: flex-start !important; margin-right: auto !important; }
#page-container #et-boc footer.et-l--footer { padding: 0; }
#page-container #et-boc .nl-sec .et_pb_text, #page-container #et-boc .nl-footer .et_pb_text { font-size: inherit; line-height: inherit; }
/* Divi's theme options print body { font-size: 14px } after this file; keep the original type. */
html body { font-family: "Manrope", sans-serif; font-size: 18px; line-height: 30px; font-weight: 400; color: #212529; }
#page-container #et-boc .nl-sec .et_pb_text ul:not(.expertise):not(.breadcrumb):not(.nl-sites-list):not(.nl-booking-list) { padding-left: 2rem; list-style: disc; margin-bottom: 1rem; }
#page-container #et-boc .nl-sec .et_pb_text ul:not(.expertise):not(.breadcrumb):not(.nl-sites-list):not(.nl-booking-list) li { padding: 0; }
#page-container #et-boc .nl-cta-buttons .et_pb_button.btn { max-width: none !important; }
/* Mobile menu: let the dropdown show below the fixed header */
#page-container #et-boc .et-l--header .et_pb_section.nav-outer, #page-container #et-boc .et-l--header .nav-outer .et_pb_row, #page-container #et-boc .et-l--header .nav-outer .et_pb_column, #page-container #et-boc .nl-menu, #page-container #et-boc .nl-menu .et_pb_menu_inner_container, #page-container #et-boc .nl-menu .et_pb_menu__wrap { overflow: visible !important; }
#page-container #et-boc .nl-menu .et_mobile_menu { max-height: calc(100vh - 140px); overflow-y: auto; border-top-color: #286E6C; }
#page-container #et-boc .nl-menu .et_mobile_menu a { font-size: 18px; font-weight: 400; color: #000; }
#page-container #et-boc .et-l--header .nav-outer .et_pb_row.nl-row { padding-top: 16px; padding-bottom: 16px; } /* matches the original Bootstrap navbar height */
#page-container #et-boc .et_pb_section.nl-sr-only-section { height: 0; overflow: hidden; padding: 0; }
#page-container #et-boc .hero-specialism.nl-gmc { font-size: 15px; opacity: .85; }
#page-container #et-boc .et_pb_row.nl-cards { justify-content: center; row-gap: 40px; } /* odd numbers of cards centre, as on the original */
/* Team cards on the home page, /consultants/, /physiotherapists/ and /physiotherapy/ (page 128): 3 cards on the first row, the rest centred below (Dec 2026) */
@media (min-width: 981px) {
	body.home #page-container #et-boc .block-green .et_pb_row.nl-cards,
	body.post-type-archive-nl_consultant #page-container #et-boc .block-green .et_pb_row.nl-cards,
	body.post-type-archive-nl_physio #page-container #et-boc .block-blue .et_pb_row.nl-cards,
	body.page-id-128 #page-container #et-boc .block-blue .et_pb_row.nl-cards { max-width: 1000px; margin-left: auto; margin-right: auto; }
	body.home #page-container #et-boc .block-green .nl-cards > .nl-card,
	body.post-type-archive-nl_consultant #page-container #et-boc .block-green .nl-cards > .nl-card,
	body.post-type-archive-nl_physio #page-container #et-boc .block-blue .nl-cards > .nl-card,
	body.page-id-128 #page-container #et-boc .block-blue .nl-cards > .nl-card { width: 300px; flex: 0 0 300px; max-width: 300px; }
}

/* ---------- Referrals / Contact sections (Nov 2026 brief) ---------- */
#page-container #et-boc .et_pb_section.nl-band { padding: 50px 0; }
#page-container #et-boc .et_pb_section.nl-band-first { padding-top: 70px; }
#page-container #et-boc .et_pb_section.nl-band-last { padding-bottom: 110px; }
#page-container #et-boc .et_pb_section.nl-band-sand { background-color: #f5f4f0; }
#page-container #et-boc .nl-section-heading .et_pb_module_header { font-family: 'Northlight Display', sans-serif; font-size: 40px; line-height: 1.2; color: #000; margin: 0 0 24px; }
@media (max-width: 530px) { #page-container #et-boc .nl-section-heading .et_pb_module_header { font-size: 32px; } }
#page-container #et-boc .nl-lead { font-size: 24px; line-height: 1.4; margin-bottom: 24px; }
#page-container #et-boc .nl-jump { display: flex; flex-wrap: wrap; gap: 12px; }
#page-container #et-boc .nl-jump a { display: inline-block; padding: 8px 18px; border: 1px solid #286E6C; border-radius: 6px; color: #286E6C; font-weight: 800; }
#page-container #et-boc .nl-jump a:hover { background: #286E6C; color: #fff; }
#page-container #et-boc .nl-callout { border-left: 20px solid #286E6C; background: rgba(177, 165, 131, 0.20); border-radius: 6px; padding: 23px 28px; margin-bottom: 24px; }
#page-container #et-boc .nl-callout p { margin: 0; }
#page-container #et-boc .nl-band a:not(.btn):not(.nl-jump a) { color: #286E6C; font-weight: 800; }
#page-container #et-boc .nl-band a:not(.btn):hover { color: #A1946D; }
/* Anchored sections clear the fixed header */
#page-container #et-boc .et_pb_section[id] { scroll-margin-top: 220px; }
@media (max-width: 991px) { #page-container #et-boc .et_pb_section[id] { scroll-margin-top: 150px; } }
html { scroll-behavior: smooth; }
/* Contact */
#page-container #et-boc .nl-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 6px; }
#page-container #et-boc .nl-address { font-size: 20px; line-height: 1.5; }
#page-container #et-boc .nl-esc-heading { margin-top: 80px; }
#page-container #et-boc .nl-sites-heading { color: #fff; font-family: 'Northlight Display', sans-serif; font-size: 32px; font-weight: 400; text-align: center; margin-bottom: 50px; }
#page-container #et-boc .nl-privacy-note { font-size: 15px; margin-top: 8px; }
/* Form help text */
.nl-form-wrap .help-block { display: block; font-size: 15px; color: rgba(0,0,0,.65); margin-bottom: 6px; }
/* Map is a static picture: page scrolling never gets caught by it. "View larger map" opens OSM. */
#page-container #et-boc .nl-map iframe { pointer-events: none; }
#page-container #et-boc .nl-map-larger { display: inline-block; margin-top: 10px; font-size: 15px; }

/* ---------- Physiotherapy section ---------- */
#page-container #et-boc .nl-booking { background: #f5f4f0; border-radius: 6px; padding: 28px 30px; }
#page-container #et-boc .nl-booking h3 { font-family: 'Northlight Display', sans-serif; font-size: 28px; font-weight: 400; margin: 0 0 12px; color: #000; }
#page-container #et-boc .nl-sec .et_pb_text ul.nl-booking-list { list-style: none; padding-left: 0; margin: 0; }
#page-container #et-boc .nl-booking-list li { padding: 4px 0; }
#page-container #et-boc .nl-booking a { color: #286E6C; font-weight: 800; }
#page-container #et-boc .nl-profile-body .nl-booking { margin-top: 30px; }
#page-container #et-boc .nl-insurers { margin-bottom: 0; }
#page-container #et-boc .nl-physio-intro { margin-top: -40px; margin-bottom: 60px; color: #fff; text-align: center; }
#page-container #et-boc .nl-physio-intro p { color: #fff; }
#page-container #et-boc .nl-physio-summary { font-size: 16px; line-height: 22px; font-weight: 600; }
#page-container #et-boc .block-blue .consultant-image { border-color: rgba(255, 255, 255, 0.25); }
#page-container #et-boc .nl-sec .et_pb_text ul.nl-sites-list { list-style: none; padding-left: 0; }
#page-container #et-boc .nl-sites-list li { padding: 6px 0; border-bottom: 1px solid rgba(40,110,108,.2); }

/* =====================================================================
 * Mobile menu: off-canvas panel (assets/js/mobile-menu.js)
 * Slides in from the right over a frosted backdrop. ≤980px only.
 * ===================================================================== */
#page-container #et-boc .nl-menu .et_mobile_nav_menu { display: none !important; } /* Divi's own dropdown */
.nl-burger { display: none; }
@media (max-width: 980px) {
	#page-container #et-boc .nl-menu .et_pb_menu__menu { display: none !important; }
	.nl-burger {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; margin: 0 -8px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; color: #000;
	}
	.nl-burger__bars { position: relative; display: block; width: 28px; height: 18px; }
	.nl-burger__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease, width .3s ease; }
	.nl-burger__bars span:nth-child(1) { top: 0; }
	.nl-burger__bars span:nth-child(2) { top: 8px; width: 72%; left: 28%; }
	.nl-burger__bars span:nth-child(3) { top: 16px; }
	.nl-burger:hover .nl-burger__bars span:nth-child(2) { width: 100%; left: 0; }
	.nl-burger:focus-visible { outline: 3px solid #A1946D; outline-offset: 2px; border-radius: 6px; }
}

html.nl-oc-lock, html.nl-oc-lock body { overflow: hidden; }

.nl-oc { position: fixed; inset: 0; z-index: 100000; }
.nl-oc[hidden] { display: none; }
.nl-oc__backdrop {
	position: absolute; inset: 0;
	background: rgba(40, 110, 108, 0.18);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	opacity: 0; transition: opacity .4s ease;
}
.nl-oc__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px);
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: rgba(245, 244, 240, 0.96);
	box-shadow: -18px 0 50px rgba(0, 0, 0, 0.14);
	transform: translateX(104%); transition: transform .42s cubic-bezier(.22, .8, .24, 1);
	outline: none; font-family: Manrope, sans-serif; color: #000;
	padding: 0 28px calc(28px + env(safe-area-inset-bottom));
}
.nl-oc.is-open .nl-oc__backdrop { opacity: 1; }
.nl-oc.is-open .nl-oc__panel { transform: translateX(0); }

.nl-oc__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
.nl-oc__logo img { height: 52px; width: auto; display: block; }
.nl-oc__close { width: 44px; height: 44px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #000; cursor: pointer; transition: background .2s ease, transform .3s ease; }
.nl-oc__close:hover { background: rgba(0,0,0,.06); transform: rotate(90deg); }

.nl-oc__list { list-style: none; margin: 10px 0 0; padding: 0; }
.nl-oc__item { border-bottom: 1px solid rgba(0,0,0,.08); }
/* items drift in after the panel */
.nl-oc__item, .nl-oc__foot { opacity: 0; transform: translateX(18px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,.8,.24,1); }
.nl-oc.is-open .nl-oc__item, .nl-oc.is-open .nl-oc__foot { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }

.nl-oc__toggle, .nl-oc__link {
	display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 0; border: 0; background: transparent; cursor: pointer; text-align: left; text-decoration: none;
	font-family: 'Northlight Display', serif; font-size: 30px; line-height: 1.15; font-weight: 400; color: #000;
}
.nl-oc__toggle:hover, .nl-oc__link:hover { color: #286E6C; }
.nl-oc__link[aria-current="page"], .nl-oc__item.is-current > .nl-oc__toggle { color: #286E6C; }
.nl-oc__chev { flex: none; transition: transform .35s cubic-bezier(.22,.8,.24,1); color: #286E6C; }
.nl-oc__item.is-open .nl-oc__chev { transform: rotate(180deg); }

/* accordion: animate 0fr -> 1fr */
.nl-oc__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.22,.8,.24,1); }
.nl-oc__item.is-open .nl-oc__sub { grid-template-rows: 1fr; }
.nl-oc__subinner { overflow: hidden; min-height: 0; list-style: none; margin: 0; padding: 0; }
.nl-oc__subinner li:last-child { padding-bottom: 16px; }
.nl-oc__subinner a {
	display: block; padding: 10px 0 10px 16px; border-left: 2px solid rgba(40,110,108,.25);
	font-size: 18px; font-weight: 600; color: #212529; text-decoration: none; transition: color .2s ease, border-color .2s ease, padding .2s ease;
}
.nl-oc__subinner a:hover, .nl-oc__subinner a[aria-current="page"] { color: #286E6C; border-left-color: #286E6C; padding-left: 20px; }

.nl-oc__foot { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.nl-oc__cta { display: block; text-align: center; padding: 14px 20px; border-radius: 6px; background: #286E6C; color: #fff !important; font-weight: 800; font-size: 17px; text-decoration: none; }
.nl-oc__cta:hover { background: #1f5755; }
.nl-oc__contact { color: #286E6C; font-weight: 700; font-size: 16px; text-decoration: none; }

.nl-oc a:focus-visible, .nl-oc button:focus-visible { outline: 3px solid #A1946D; outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
	.nl-oc__backdrop, .nl-oc__panel, .nl-oc__item, .nl-oc__foot, .nl-oc__sub, .nl-oc__chev, .nl-burger__bars span { transition: none !important; }
}
/* Logged-in admin bar sits above the panel */
.admin-bar .nl-oc__panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .nl-oc__panel { top: 46px; } }
