/*
Theme Name: Zen Builder 5 Child
Template: zenbuilder5
Theme URI: https://theme-zen.com/
Author: ThemeZen
Author URI: https://theme-zen.com/
Description: Make custom changes for your website in this child theme.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 7.4
Version: 1.0.0
License: ThemeZen Licence
License URI:
Text Domain: zenbuilder5
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

/*-------------------------------------------------------------
Haywood Farm — child theme CSS

Colours, fonts, type scale, radii, buttons, cards, accordion, forms
and section spacing are set in Zen Builder > Theme Options (the
generated Bootstrap stylesheet). This file only holds what those
settings and the Zen Builder blocks can't do on their own.

Globals (GLOB)
    GLOB - Tokens
    GLOB - Typography
    GLOB - Links
    GLOB - Photo scrims
Header (HEAD)
    HEAD - Transparent over hero / solid on scroll
    HEAD - Logo & title
    HEAD - Navigation
    HEAD - Actions
    HEAD - Mobile
Hero (HERO)
Components (COMP)
    COMP - Quick links & trust strip
    COMP - Features
    COMP - Cards
    COMP - Tiles & stats
    COMP - Mosaic
    COMP - Switch off
    COMP - Detail sidebar
    COMP - FAQ
    COMP - Tables
    COMP - Forms
    COMP - Reviews
    COMP - Filter tags
Footer (FOOT)
-------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Tokens (from the Haywood Farm design kit)
--------------------------------------------------------------*/
:root {
    --hf-display: 'Young Serif', Georgia, 'Times New Roman', serif;
    --hf-forest-950: #171F13;
    --hf-forest-900: #1E2A18;
    --hf-moss-700: #3A4F2B;
    --hf-moss-600: #4C6632;
    --hf-leaf-500: #6E9135;
    --hf-lime-300: #B7D16A;
    --hf-sage-200: #CFD8BC;
    --hf-sage-100: #E4E9D8;
    --hf-cream-50: #FBF8F1;
    --hf-cream-100: #F5EFE3;
    --hf-oat-200: #ECE3D2;
    --hf-sand-300: #DDD0B8;
    --hf-ink-900: #1C2118;
    --hf-ink-700: #3D4336;
    --hf-ink-500: #666B5E;
    --hf-inverse-muted: #C9CDBE;
    --hf-border-subtle: #E7DFCF;
    --hf-shadow-xs: 0 1px 2px rgba(30, 42, 24, .06);
    --hf-shadow-sm: 0 2px 8px rgba(30, 42, 24, .07), 0 1px 2px rgba(30, 42, 24, .05);
    --hf-shadow-md: 0 10px 30px -10px rgba(30, 42, 24, .18), 0 2px 6px rgba(30, 42, 24, .06);
    --hf-shadow-lg: 0 24px 60px -20px rgba(30, 42, 24, .28);
    --hf-scrim-hero: linear-gradient(180deg, rgba(23, 31, 19, .55) 0%, rgba(23, 31, 19, .15) 40%, rgba(23, 31, 19, .65) 100%);
    --hf-scrim-bottom: linear-gradient(180deg, rgba(23, 31, 19, 0) 35%, rgba(23, 31, 19, .78) 100%);
    --hf-ease: cubic-bezier(.22, .61, .36, 1);
    --hf-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
GLOB - Typography
--------------------------------------------------------------*/
body {
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .h1, .h2, .h3,
[class*="is-style-display-"], [class*="display-"] {
    letter-spacing: -0.015em;
    text-wrap: balance;
}

/* Design kit: Young Serif for h1–h3 and display, Figtree 600 for h4–h6 */
body :is(h4, h5, h6, .h4, .h5, .h6, .is-style-h4, .is-style-h5, .is-style-h6, .foot-title) {
    font-family: var(--bs-body-font-family);
    font-weight: 600;
    letter-spacing: 0;
}

.h-sm {
    font-size: 1.75rem;
}

p {
    text-wrap: pretty;
}

.eyebrow {
    margin-bottom: .875rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hf-leaf-500);
}

.eyebrow-light {
    color: var(--hf-lime-300);
}

.prose {
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--hf-ink-500);
}

/* Page body text with no style class gets the same look as .prose. Pressing Return at the end of a
   .prose paragraph starts a new paragraph without the class, which used to fall back to the
   larger, darker body style. Only paragraphs with no class of their own (alignment aside) are
   matched, so lead, eyebrow, small etc. are untouched; cards and FAQ answers keep their own text.
   The remaining selectors are the same thing for the page editor. There paragraphs carry extra
   editor classes, so the styled ones are excluded by name instead, and the selectors are strong
   enough to beat the parent theme's ".editor-styles-wrapper p { font-size: 16px }". If you add a
   new paragraph style class, add it to both :not() lists so the editor preview stays accurate. */
.page-custom-layout-editor-styles :is(p[class="wp-block-paragraph"], p[class="has-text-align-center wp-block-paragraph"], p[class="has-text-align-left wp-block-paragraph"], p[class="has-text-align-right wp-block-paragraph"]):not(.card *, .accordion-body *),
.editor-styles-wrapper p.prose,
:where(.post-type-page) .editor-styles-wrapper p.wp-block-paragraph:not(.lead, .small, .eyebrow, .eyebrow-light, .hero-lede, .text-muted, .text-center, .mosaic-cap, .rating-score, .got-title, .side-cta-call, .foot-brand-name, .signoff, .has-text-color, [class*="-font-size"], [class*="is-style-"], [class*="card-"], [class*="text-inverse"], [class*="mb-"], [class*="mt-"], .card *, .accordion-body *),
.editor-styles-wrapper:where(.post-type-page) p.wp-block-paragraph:not(.lead, .small, .eyebrow, .eyebrow-light, .hero-lede, .text-muted, .text-center, .mosaic-cap, .rating-score, .got-title, .side-cta-call, .foot-brand-name, .signoff, .has-text-color, [class*="-font-size"], [class*="is-style-"], [class*="card-"], [class*="text-inverse"], [class*="mb-"], [class*="mt-"], .card *, .accordion-body *) {
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--hf-ink-500);
}

/* Bullet, numbered and tick lists in page sections look like Prose text (same size, line height and grey).
   Without this a new list fell back to the darker body colour. Lists with their own text colour, on dark
   sections, in cards, tiles, accordions, the footer, header and hero keep their own styling. The second
   selector is the same thing for the page editor. */
.zenbuilder5-section :is(ul.wp-block-list, ol.wp-block-list, ul.zenbuilder5-icon-list):not(.list-unstyled, .has-text-color, .zb5-icon-list-has-text-color, .card *, .tile *, .accordion-body *, .side-links *, .site-footer *, .awards-strip *, .page-hero *, nav *, [class*="text-inverse"] *, .text-light *, .text-white *),
:where(.post-type-page) .editor-styles-wrapper :is(ul.wp-block-list, ol.wp-block-list, ul.zenbuilder5-icon-list):not(.list-unstyled, .has-text-color, .zb5-icon-list-has-text-color, .card *, .tile *, .accordion-body *, [class*="text-inverse"] *, .text-light *, .text-white *) {
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--hf-ink-500);
}

/* Review cards don't show a date. The reviews have no review date saved and the Reviews plugin then prints
   today's date. To show dates again, fill in the review dates and remove this rule. */
.card-review-date {
    display: none;
}

.hero-lede {
    color: rgba(251, 248, 241, .9);
}

.text-inverse-muted {
    color: var(--hf-inverse-muted);
}

.font-display {
    font-family: var(--hf-display);
}

/*--------------------------------------------------------------
GLOB - Links
--------------------------------------------------------------*/
.lead a,
.prose a,
.accordion-body a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Every link inside body text (paragraphs and lists in page sections) is underlined the same way, whether
   or not the paragraph has the Prose style, e.g. a paragraph started by pressing Return. Buttons, card and tile
   links, the side links, breadcrumbs, hero, header and footer links keep their own styling. */
.zenbuilder5-section :is(p, li):not(.card-cta, .card *, .tile *, .side-links *, .hero-crumbs *, .breadcrumb *, .page-hero *, .site-footer *, .awards-strip *, .book-bar *, nav *) a:not(.btn, .stretched-link, .icon-link, .page-link) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/*--------------------------------------------------------------
GLOB - Photo scrims (Zen divs with a background photo)
--------------------------------------------------------------*/
.scrim-hero,
.scrim-bottom {
    position: relative;
    background-size: cover;
}

.scrim-hero::before,
.scrim-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--hf-scrim-hero);
    pointer-events: none;
}

.scrim-bottom::before {
    background: var(--hf-scrim-bottom);
}

.scrim-hero > *,
.scrim-bottom > * {
    position: relative;
    z-index: 1;
}

/* Section gradient overlay sits under the content */
.zenbuilder5-section:has(> .custom-background-gradient) > .zenbuilder5-container {
    position: relative;
    z-index: 2;
}

/*--------------------------------------------------------------
HEAD - Transparent over hero / solid on scroll
--------------------------------------------------------------*/
header.wp-block-template-part {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0;
    right: 0;
    background-color: rgba(251, 248, 241, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--hf-border-subtle);
    transition: background-color .22s var(--hf-ease), box-shadow .22s var(--hf-ease);
}

body.trans-header-logo-page header.wp-block-template-part:not(.section-header-nav-sticky):not(:has(.navbar-collapse.show)) {
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.hf-navbar {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
    transition: padding .22s var(--hf-ease);
}

.section-header-nav-sticky .hf-navbar {
    padding-top: .625rem;
    padding-bottom: .625rem;
}

.hf-navbar .navbar-nav-wrap {
    align-items: center;
    gap: .75rem;
}

/*--------------------------------------------------------------
HEAD - Logo & title
--------------------------------------------------------------*/
body.trans-header-logo-page header .wp-block-site-logo,
header .hf-logo {
    display: flex !important;
    margin: 0;
    padding: 6px 8px;
    background-color: var(--hf-cream-50);
    border-radius: 12px;
    transition: all .22s var(--hf-ease);
}

header .hf-logo .custom-logo-link {
    max-width: none;
}

header .hf-logo img {
    width: auto !important;
    height: 36px;
    max-width: none;
}

header.section-header-nav-sticky .hf-logo {
    padding: 0;
    background-color: transparent;
}

header.section-header-nav-sticky .hf-logo img {
    height: 40px;
}

.hf-site-title {
    margin: 0;
    font-family: var(--hf-display);
    font-size: 1.375rem;
    white-space: nowrap;
}

.hf-site-title a {
    color: var(--hf-ink-900);
    text-decoration: none;
}

/*--------------------------------------------------------------
HEAD - Navigation
--------------------------------------------------------------*/
/* Desktop: dropdown arrows sit closer to their link (mobile keeps the theme's 50px tap area) */
@media (min-width: 992px) {
    #primary-menu.navbar-nav .nav-link.dropdown-toggle {
        padding-right: 30px !important;
    }

    #primary-menu .btn.zenbuilder5-dropdown-toggle {
        width: 30px;
    }
}

@media (max-width: 991.98px) {
    #primary-menu.navbar-nav .nav-link.dropdown-toggle {
        padding-right: 50px !important;
    }
}

.hf-navbar .nav-link {
    padding: .625rem .75rem !important;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--hf-ink-900);
    white-space: nowrap;
}

.hf-navbar .nav-link:hover,
.hf-navbar .nav-link:focus,
.hf-navbar .current-menu-item > .nav-link,
.hf-navbar .current-menu-ancestor > .nav-link {
    color: var(--hf-moss-600);
}

.hf-navbar .zenbuilder5-dropdown-toggle {
    color: inherit;
}

.hf-navbar .dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border: 0;
    border-radius: 14px;
    background-color: var(--hf-cream-50);
    box-shadow: var(--hf-shadow-lg);
}

.hf-navbar .dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .9375rem;
    color: var(--hf-ink-700);
}

.hf-navbar .dropdown-item:hover,
.hf-navbar .dropdown-item:focus,
.hf-navbar .dropdown-item.active {
    background-color: var(--hf-cream-100);
    color: var(--hf-ink-900);
}

/* Transparent state (over the hero): light text */
@media (min-width: 992px) {
    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-site-title a,
    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-navbar .navbar-nav > li > .nav-link,
    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-navbar .navbar-nav > li > .zenbuilder5-dropdown-toggle {
        color: var(--hf-cream-50);
    }

    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-navbar .navbar-nav > li > .nav-link:hover {
        background-color: rgba(251, 248, 241, .12);
    }

    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-navbar .navbar-nav > .current-menu-item > .nav-link,
    body.trans-header-logo-page header:not(.section-header-nav-sticky) .hf-navbar .navbar-nav > .current-menu-ancestor > .nav-link {
        color: var(--hf-lime-300);
    }

    header.section-header-nav-sticky .hf-navbar .nav-link:hover {
        background-color: var(--hf-cream-100);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hf-site-title {
        display: none;
    }
}

/* Seven top-level menu items: tighten link spacing and keep "Call us"
   for very wide screens (it is also in the mobile booking bar) */
@media (min-width: 992px) {
    /* Equal padding so the hover pill sits evenly round links without a dropdown
       (Blog, Contact); dropdown links get their right padding from the arrow rule */
    .hf-navbar .navbar-nav > li > .nav-link {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .hf-navbar .navbar-nav-wrap {
        gap: .5rem;
    }
}

@media (max-width: 1399.98px) {
    .header-actions .hf-call {
        display: none !important;
    }
}

/*--------------------------------------------------------------
HEAD - Actions
--------------------------------------------------------------*/
.header-actions {
    gap: .625rem;
    margin-left: 0;
    white-space: nowrap;
}

header.section-header-nav-sticky .hf-call {
    border-color: transparent;
    color: var(--hf-moss-700);
}

header.section-header-nav-sticky .hf-call:hover {
    background-color: var(--hf-cream-100);
    color: var(--hf-moss-700);
}

header.section-header-nav-sticky .hf-book {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--hf-cream-50);
}

/*--------------------------------------------------------------
HEAD - Mobile
--------------------------------------------------------------*/
.hf-navbar .navbar-toggler {
    order: 3;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    color: var(--hf-ink-900);
}

.hf-navbar .navbar-toggler svg {
    width: 22px;
    height: 22px;
}

body.trans-header-logo-page header:not(.section-header-nav-sticky):not(:has(.navbar-collapse.show)) .hf-navbar .navbar-toggler {
    color: var(--hf-cream-50);
    border-color: rgba(251, 248, 241, .2);
    background-color: rgba(23, 31, 19, .45);
}

body.trans-header-logo-page header:not(.section-header-nav-sticky):not(:has(.navbar-collapse.show)) .hf-site-title a {
    color: var(--hf-cream-50);
}

@media (max-width: 991.98px) {
    .hf-navbar .navbar-toggler {
        display: inline-flex;
    }

    /* Mobile menu button: white icon on a solid forest disc, in every header state,
       so it stays readable on the cream header and over the hero photo */
    body header .hf-navbar .navbar-toggler,
    body header:not(.section-header-nav-sticky) .hf-navbar .navbar-toggler {
        color: #fff !important;
        background-color: var(--hf-forest-900) !important;
        border-color: var(--hf-forest-900) !important;
    }

    .hf-navbar .navbar-collapse {
        order: 4;
        width: 100%;
        padding: 0 1.25rem;
        background-color: var(--hf-cream-50);
    }

    .hf-navbar .navbar-nav {
        padding: .5rem 0 1rem;
    }

    .hf-navbar .navbar-nav > li {
        border-bottom: 1px solid var(--hf-border-subtle);
    }

    .hf-navbar .navbar-nav .nav-link {
        padding: .875rem 0 !important;
        font-size: 1.0625rem;
        border-radius: 0;
    }

    .hf-navbar .navbar-nav-wrap {
        flex-wrap: wrap !important;
    }
}

/*--------------------------------------------------------------
HERO
--------------------------------------------------------------*/
.hero-home,
.page-hero {
    background-color: var(--hf-moss-700);
}

.hero-crumbs,
.hero-crumbs a,
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb-item.active {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(251, 248, 241, .8);
}

.page-hero .breadcrumb {
    margin-bottom: .875rem;
    padding: 0;
    background: none;
}

.page-hero .breadcrumb a:hover {
    color: var(--hf-cream-50);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: var(--hf-lime-300);
}

/* The slash between breadcrumb links: fainter than the links */
.hero-crumbs .separator,
.page-hero .breadcrumb .separator {
    color: rgba(251, 248, 241, .45);
}

/*--------------------------------------------------------------
COMP - Quick links & trust strip
--------------------------------------------------------------*/
.quick-links {
    position: relative;
    z-index: 3;
    box-shadow: var(--hf-shadow-md);
}

.quick-link.btn {
    justify-content: center;
    gap: .5rem;
    padding: 1.5rem 1rem;
    border-radius: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--hf-ink-900);
    text-decoration: none;
}

.quick-link.btn:hover,
.quick-link.btn:focus {
    background-color: var(--hf-sage-100);
    color: var(--hf-ink-900);
}

.quick-link .btn-icon-wrapper {
    color: var(--hf-leaf-500);
}

.quick-links .zenbuilder5-col + .zenbuilder5-col {
    border-top: 1px solid var(--hf-border-subtle);
}

@media (min-width: 768px) {
    .quick-links .zenbuilder5-col + .zenbuilder5-col {
        border-top: 0;
        border-left: 1px solid var(--hf-border-subtle);
    }
}

.rating-score {
    font-family: var(--hf-display);
    font-size: 1.875rem;
    line-height: 1;
    color: var(--hf-moss-600);
}

.rating-src {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--hf-ink-900);
}

.rating-lbl,
.rating-lbl a {
    font-size: .78rem;
    color: var(--hf-ink-500);
}

/*--------------------------------------------------------------
COMP - Features
--------------------------------------------------------------*/
.feature .wp-block-zenbuilder5-icon,
.tile .wp-block-zenbuilder5-icon {
    display: block;
}

/*--------------------------------------------------------------
COMP - Cards
--------------------------------------------------------------*/
.card-hf,
.card-post {
    overflow: hidden;
    color: inherit;
}

.card-hf .card-img-top,
.card-post .card-img-top {
    overflow: hidden;
}

.card-hf .card-img-top img,
.card-post .card-img-top img {
    width: 100%;
    height: 100%;
    transition: transform .42s var(--hf-ease);
}

.card-hf:hover .card-img-top img,
.card-post:hover .card-img-top img {
    /* transform: scale(1.03); */
}

.card-hf .card-body,
.card-post .card-body {
    position: static;
    display: flex;
    flex-direction: column;
}

.card-post .card-body {
    padding: 1.375rem 1.625rem 1.875rem;
}

.card-title-hf {
    font-size: 1.5rem;
    line-height: 1.2;
}

.card-title-hf a {
    color: inherit;
}

.card-post:hover .card-title-hf,
.card-title-hf a:hover {
    color: var(--hf-moss-600);
}

.card-text-hf {
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--hf-ink-500);
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: .625rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--hf-moss-600);
}

.card-cta::after,
.side-links a::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: var(--hf-arrow) center / contain no-repeat;
    mask: var(--hf-arrow) center / contain no-repeat;
    transition: transform .22s var(--hf-ease);
}

.card-hf:hover .card-cta::after,
.side-links a:hover::after {
    transform: translateX(3px);
}

.card-foot {
    gap: 12px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--hf-border-subtle);
}

.price {
    font-family: var(--hf-display);
    font-size: 1.625rem;
    line-height: 1;
    color: var(--hf-ink-900);
}

.price small {
    margin-left: 6px;
    font-family: var(--bs-body-font-family);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--hf-ink-500);
}

.card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-glass.badge {
    padding: 4px 10px;
    border-radius: 999px;
    background-color: rgba(251, 248, 241, .78) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: .75rem;
    font-weight: 600;
    color: var(--hf-ink-900) !important;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: .75rem;
    font-size: .875rem;
    color: var(--hf-ink-700);
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-meta span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--hf-leaf-500);
}

/*--------------------------------------------------------------
COMP - Tiles & stats
--------------------------------------------------------------*/
.tile {
    box-shadow: var(--hf-shadow-xs);
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.stat-num .zenbuilder5-counter-number {
    font-family: var(--hf-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--hf-moss-600);
}

/*--------------------------------------------------------------
COMP - Mosaic
--------------------------------------------------------------*/
.mosaic-cap {
    font-family: var(--hf-display);
    font-size: 1.375rem;
    color: var(--hf-cream-50);
}

@media (max-width: 991.98px) {
    .mosaic-tile {
        min-height: 200px !important;
    }
}

/*--------------------------------------------------------------
COMP - Switch off
--------------------------------------------------------------*/
.switch-off {
    color: var(--hf-cream-50);
}

.switch-list .zenbuilder5-icon-list-item {
    margin-bottom: .875rem;
    font-size: 1.25rem;
}

.campfire {
    max-width: 460px;
    font-family: var(--hf-display);
    font-size: 1.625rem;
    line-height: 1.35;
    color: var(--hf-sage-200);
}

/*--------------------------------------------------------------
COMP - Detail sidebar
--------------------------------------------------------------*/
@media (min-width: 992px) {
    .aside-sticky {
        position: sticky;
        top: 112px;
    }
}

.glance-row {
    gap: 12px;
    font-size: .9375rem;
}

.glance-row + .glance-row {
    margin-top: .625rem;
}

.side-list-title {
    margin-bottom: .375rem;
    padding-bottom: .875rem;
    border-bottom: 1px solid var(--hf-sand-300);
}

.side-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    color: var(--hf-ink-900);
    text-decoration: none;
}

.side-links a::after {
    color: var(--hf-leaf-500);
}

.side-links a:hover {
    color: var(--hf-moss-600);
}

.side-cta-call a {
    color: rgba(251, 248, 241, .85);
}

.side-cta-call a:hover {
    color: var(--hf-cream-50);
}

.ticks .zenbuilder5-icon-list-item {
    margin-bottom: .625rem;
    align-items: flex-start;
    font-size: 1.03rem;
    line-height: 1.6;
    color: var(--hf-ink-500);
}

/*--------------------------------------------------------------
COMP - FAQ
--------------------------------------------------------------*/
.got-photo {
    background-size: cover;
}

.got-box {
    max-width: 300px;
    background-color: rgba(251, 248, 241, .78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.got-title {
    font-family: var(--hf-display);
    font-size: 1.375rem;
    color: var(--hf-ink-900);
}

.accordion-hf .accordion-item {
    margin-bottom: .625rem;
    overflow: hidden;
    border-radius: .875rem !important;
}

.accordion-hf .accordion-item:has(.accordion-collapse.show),
.accordion-hf .accordion-item:has(.accordion-collapse.collapsing),
.accordion-hf .accordion-item:has(.accordion-button:not(.collapsed)) {
    background-color: #fff;
    box-shadow: inset 0 0 0 1.5px var(--hf-sage-200);
}

.accordion-hf .accordion-header,
.accordion-hf .accordion-button {
    font-family: var(--bs-body-font-family);
    letter-spacing: 0;
}

.accordion-hf .accordion-button {
    font-size: .97rem;
    font-weight: 600;
    border-radius: .875rem !important;
}

.accordion-hf .accordion-button:not(.collapsed) {
    background-color: var(--hf-sage-100);
    color: var(--hf-ink-900);
    box-shadow: none;
    border-radius: .875rem .875rem 0 0 !important;
}

.accordion-hf .accordion-body {
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--hf-ink-500);
}

/*--------------------------------------------------------------
COMP - Tables
--------------------------------------------------------------*/
.wp-block-table.tariff {
    overflow-x: auto;
    border-radius: 1.125rem;
    box-shadow: var(--hf-shadow-xs);
}

.wp-block-table.tariff table {
    min-width: 560px;
    margin: 0;
    border-collapse: collapse;
    background-color: #fff;
}

.wp-block-table.tariff thead {
    border: 0;
}

.wp-block-table.tariff th,
.wp-block-table.tariff td {
    padding: 1rem 1.25rem;
    border: 0;
    border-bottom: 1px solid var(--hf-border-subtle);
    font-size: .9375rem;
    text-align: left;
    color: var(--hf-ink-700);
}

.wp-block-table.tariff th {
    background-color: var(--hf-forest-900);
    font-weight: 600;
    color: var(--hf-cream-50);
}

.wp-block-table.tariff tr:last-child td {
    border-bottom: 0;
}

.wp-block-table.tariff td:first-child {
    font-weight: 600;
    color: var(--hf-ink-900);
}

/*--------------------------------------------------------------
COMP - Forms (Contact Form 7)
--------------------------------------------------------------*/
.wpcf7 .form-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--hf-ink-900);
}

.wpcf7 .form-control,
.wpcf7 .form-select {
    margin-top: .4375rem;
    border-width: 1.5px;
    border-color: var(--hf-sand-300);
}

.wpcf7 .form-control:focus,
.wpcf7 .form-select:focus {
    border-color: var(--hf-moss-600);
    box-shadow: 0 0 0 4px rgba(76, 102, 50, .12);
}

.wpcf7 .wpcf7-list-item {
    margin: 0;
    font-weight: 500;
    color: var(--hf-ink-900);
}

.wpcf7 .wpcf7-list-item input {
    width: 20px;
    height: 20px;
    margin-right: .625rem;
    vertical-align: middle;
    accent-color: var(--hf-moss-600);
}

.wpcf7 .wpcf7-response-output {
    margin: 1rem 0 0 !important;
    padding: .875rem 1rem !important;
    border: 0 !important;
    border-radius: .75rem;
    background-color: var(--hf-sage-100);
    color: var(--hf-ink-900);
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 .wpcf7-response-output:empty {
    display: none;
}

.newsletter-form .wpcf7-form-control-wrap {
    flex: 1;
}

.newsletter-form .form-control {
    margin: 0;
    border-color: transparent;
}

/*--------------------------------------------------------------
COMP - Reviews & news (Zen Builder dynamic featured cards)
--------------------------------------------------------------*/
.reviews-hf .card,
.news-hf .card {
    height: 100%;
    background-color: #fff;
    box-shadow: var(--hf-shadow-xs);
}

/*--------------------------------------------------------------
COMP - Filter tags
--------------------------------------------------------------*/
.filter-tags {
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tags .js-filter.btn {
    border-width: 1px;
    border-color: var(--hf-sand-300);
    background-color: #fff;
    font-weight: 500;
    color: var(--hf-ink-700);
}

.filter-tags .js-filter.btn:hover {
    border-color: #B9AB91;
    background-color: var(--hf-cream-100);
}

.filter-tags .js-filter.btn.is-selected {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    color: var(--hf-cream-50);
}

/*--------------------------------------------------------------
FOOT - Layout
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--hf-forest-950);
    color: var(--hf-inverse-muted);
}

.site-footer .newsletter {
    border-bottom: 1px solid rgba(251, 248, 241, .18);
}

.foot-brand .wp-block-image {
    padding: 6px 8px;
    border-radius: 12px !important;
    background-color: var(--hf-cream-50);
}

.foot-brand img {
    width: auto;
    height: 34px;
}

.foot-brand-name {
    margin-left: .75rem;
    font-family: var(--hf-display);
    font-size: 1.375rem;
    color: var(--hf-cream-50);
}

.signoff {
    font-family: var(--hf-display);
    font-size: 1.0625rem;
    color: var(--hf-sage-200);
}

.foot-title {
    margin-bottom: .75rem;
    font-family: var(--bs-body-font-family);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--hf-cream-50);
}

.foot-links li {
    padding: 4px 0;
}

.site-footer a {
    color: var(--hf-inverse-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--hf-cream-50);
}

.foot-base {
    font-size: .84rem;
}

/* Award logo strip: its own white section above the footer; equal-width columns, logos share one height */
.foot-award img {
    width: auto;
    max-width: 100%;
    height: 130px;
    object-fit: contain;
    border-radius: 12px;
}

@media (min-width: 992px) {
    .foot-award img {
        height: 150px;
    }
}

.socials .wp-block-zenbuilder5-icon {
    display: inline-block;
}

/* Mobile booking bar */
.book-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 45;
    padding: 8px;
    border-radius: 999px;
    background-color: var(--hf-forest-900);
    box-shadow: var(--hf-shadow-lg);
}

@media (max-width: 991.98px) {
    .site-footer {
        padding-bottom: 5rem;
    }

    /* Lift the back to top button above the booking bar */
    #btn-back-to-top.btn {
        bottom: 5.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/*--------------------------------------------------------------
COMP - Single review layout
--------------------------------------------------------------*/
/* Review card and booking card share one height; the booking card fills its column */
.single-cpt_zb5_review .aside-sticky {
    display: flex;
    flex-direction: column;
}

.single-cpt_zb5_review .aside-sticky .side-cta {
    flex: 1 1 auto;
}

/* Divider between the review text and the reviewer details */
.single-cpt_zb5_review .review-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hf-border-subtle);
}

/* Reviewer name in bold */
.single-cpt_zb5_review .review-name,
.single-cpt_zb5_review .review-name * {
    font-weight: 700;
    color: var(--hf-ink-900);
}

/* Equal-height review and booking cards: stretch both columns to the row height */
.single-cpt_zb5_review .row.align-items-stretch > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.single-cpt_zb5_review .review-card,
.single-cpt_zb5_review .aside-sticky {
    flex: 1 1 auto;
}

/* Zen Builder carousel galleries (cottage pages): no bullets, rounded images and thumbnails to match the page images */
.zb5-gallery .swiper-pagination {
	display: none;
}
.zb5-gallery .swiper-slide img {
	border-radius: var(--bs-border-radius-xl);
}
.zb5-gallery > .swiper:not(.zb5-gallery__thumbs) .swiper-slide img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.zb5-gallery__thumbs .swiper-slide {
	border-radius: var(--bs-border-radius-lg);
	overflow: hidden;
}

/* Home video hero: full screen height on tablet and mobile (svh avoids the mobile address bar) */
@media (max-width: 991.98px) {
	.home .wp-block-cover {
		min-height: calc(100vh + 5px);
		min-height: calc(100svh + 5px);
	}
}

/* Home hero: sit the heading and intro higher. The row is 760px tall with its text pinned to the
   bottom, which on phones left the intro under the booking bar. Desktop: more space below the text.
   Tablet and mobile: drop the fixed row height and centre the text between the header and the booking bar. */
@media (min-width: 992px) {
	.home .wp-block-cover .zenbuilder5-row {
		padding-bottom: 10.5rem !important;
	}
}
@media (max-width: 991.98px) {
	.home .wp-block-cover .zenbuilder5-row {
		min-height: 0 !important;
		padding-top: 5rem;
		padding-bottom: 5rem !important;
	}
}

/* Core gallery thumbnails: rounded corners to match the page images */
.wp-block-gallery .wp-block-image img,
.wp-block-gallery .wp-block-image a {
	border-radius: var(--bs-border-radius-lg);
	overflow: hidden;
}

/* Rounded image frames: make smaller image files fill the frame so all four corners show */
.wp-block-image.rounded-4 img {
	width: 100%;
}

/* Page heroes: keep long titles clear of the header (only affects heroes whose text fills the banner) */
.page-hero > .container > .row {
	padding-top: 8rem;
}

/* Linked tiles (whole card clickable via .stretched-link on the heading) */
.tile h3 a.stretched-link {
	color: inherit;
	text-decoration: none;
}
.tile:has(.stretched-link) {
	transition: box-shadow .2s ease, transform .2s ease;
}
.tile:has(.stretched-link):hover {
	box-shadow: var(--hf-shadow-lg);
	transform: translateY(-2px);
}
.tile:has(.stretched-link):focus-within {
	outline: 2px solid var(--hf-sage-200);
	outline-offset: 2px;
}

/* GemaPark booking search (Book page): GemaPark leaves empty space above its form for the date picker,
   which opens upwards. Pull the (transparent) frame up over the gap below the intro rather than cropping it,
   so the picker still has room; then separate the search results from the form. */
.gema-search.gemawidgetcontainer {
	position: relative;
	z-index: 2;
	margin-top: -76px !important;
}
/* GemaPark's own stylesheet pulls its widget boxes together (negative margin), so this needs to win */
.gema-search + .gema-results.gemawidgetcontainer {
	margin-top: 1rem !important;
	padding-top: 1rem;
	border-top: 1px solid var(--hf-sage-200);
}
.gema-search.is-active iframe {
	position: absolute;
	top: 0;
	left: 0;
	min-height: 560px;
}
