/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 19 2026 | 17:20:59 */
/* ==========================================================================
   Fairhill Farm – Custom Styles

   Sections:
   1. Header
   2. Buttons
   3. Hero
   4. Ticker
   5. About Collage
   6. Cottages
   7. Seasons
   8. Herd
   9. Amenities
   10. Attractions
   11. Reviews
   12. Footer
   13. Utilities & Keyframes
   ========================================================================== */


/* ==========================================================================
   1. HEADER
   ========================================================================== */

.ff-hdr {
    position: fixed !important;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 999;
    transition: top 0.4s ease;
}

.ff-play .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.admin-bar .ff-hdr {
    top: 48px;
}

.ff-hdr.is-small {
    top: 8px;
}

.admin-bar .ff-hdr.is-small {
    top: 40px;
}

.ff-bar {
    border-radius: 16px;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120'%3E%3Cg fill='none' stroke='%23C9A25E' stroke-opacity='.28'%3E%3Cpath d='M0 20C40 5 80 35 120 20S200 5 240 20M0 45C40 30 80 60 120 45S200 30 240 45M0 70C40 55 80 85 120 70S200 55 240 70M0 95C40 80 80 110 120 95S200 80 240 95'/%3E%3C/g%3E%3C/svg%3E");
    transition: min-height 0.45s ease;
    animation: ffDrop 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ff-hdr.is-small .ff-bar {
    min-height: 70px !important;
}


/* Brand */

.ff-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 66px;
    color: var(--e-global-color-accent);
    text-decoration: none;
}

.ff-branch {
    position: absolute;
    left: -6px;
    top: -14px;
    width: 78px;
    height: 110px;
    color: var(--e-global-color-ffpine2);
    transform-origin: 10% 90%;
    animation: ffSway 5s ease-in-out infinite;
    pointer-events: none;
}

.ff-emblem {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--e-global-color-ffrust0);
    box-shadow:
        inset 0 0 0 3px var(--e-global-color-ffrust0),
        inset 0 0 0 4.5px rgba(243, 235, 221, 0.7);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-emblem svg {
    width: 30px;
    height: 30px;
    color: var(--e-global-color-ffcream);
}

.ff-brand:hover .ff-emblem {
    transform: rotate(360deg);
}

.ff-wordmark {
    line-height: 1;
}

.ff-wordmark b {
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.ff-wordmark i {
    font-family: var(--e-global-typography-ffscrpt-font-family);
    font-style: normal;
    font-size: 1.7rem;
    margin-left: 4px;
}

.ff-wordmark small {
    display: block;
    margin-top: 2px;
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 0.88rem;
    font-weight: 600;
}


/* Slanted Pine Menu Panel */

.ff-hdr-mid {
    position: relative;
    margin-inline: -14px !important;
}

.ff-hdr-mid::before,
.ff-hdr-mid::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.ff-hdr-mid::before {
    inset: 0;
    background: var(--e-global-color-accent);
    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - 30px) 100%,
        34px 100%
    );
    animation: ffPanel 1.1s 0.25s cubic-bezier(0.7, 0, 0.2, 1) both;
}

.ff-hdr-mid::after {
    inset: 6px 10px;
    border-block: 1px solid rgba(201, 162, 94, 0.4);
    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - 26px) 100%,
        30px 100%
    );
}

.ff-hdr-mid > * {
    position: relative;
    z-index: 1;
}


/* Desktop Navigation */

@media (min-width: 1025px) {

    .ff-hdr-mid .hfe-nav-menu > li {
        animation: ffFadeDown 0.6s both;
        animation-delay: calc(0.85s + var(--i, 0) * 60ms);
    }

    .ff-hdr-mid .sub-menu {
        border-top: 3px solid var(--e-global-color-ffgold0);
        border-radius: 14px;
        box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.45);
        /* not clipped, so a third-level menu can open beside the panel */
        overflow: visible;
    }

    .ff-hdr-mid .sub-menu > li:first-child > a,
    .ff-hdr-mid .sub-menu > li:first-child > .hfe-has-submenu-container > a {
        border-radius: 11px 11px 0 0;
    }

    .ff-hdr-mid .sub-menu > li:last-child > a,
    .ff-hdr-mid .sub-menu > li:last-child > .hfe-has-submenu-container > a {
        border-radius: 0 0 11px 11px;
    }

    /* Invisible bridge for dropdown hover */

    .ff-hdr-mid .hfe-nav-menu > li.menu-item-has-children::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 28px;
    }
}

.ff-magic {
    position: absolute;
    bottom: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--e-global-color-ffgold0);
    transition:
        left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.ff-hdr.is-small .ff-magic {
    bottom: 8px;
}


/* Tablet */

@media (max-width: 1024px) {

    .ff-hdr-mid {
        margin-inline: 0 !important;
    }

    .ff-hdr-mid::before,
    .ff-hdr-mid::after,
    .ff-magic {
        display: none;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .ff-brand {
        padding-left: 44px;
        gap: 10px;
    }

    .ff-branch {
        width: 60px;
    }

    .ff-emblem {
        width: 48px;
        height: 48px;
    }

    .ff-wordmark b {
        font-size: 1.15rem;
    }

    .ff-wordmark small {
        display: none;
    }
}


/* Header Button and Menu */

.ff-hdr-right .elementor-button {
    white-space: nowrap;
}

@media (min-width: 1025px) {

    .ff-hdr-mid .hfe-nav-menu {
        flex-wrap: nowrap;
    }
}


/* Small Laptops: 1025px–1320px */

@media (min-width: 1025px) and (max-width: 1320px) {

    .elementor .ff-bar > .ff-hdr-left.e-con {
        --width: 270px;
    }

    .elementor .ff-bar > .ff-hdr-right.e-con {
        --width: 214px;
    }

    .ff-hdr-left .ff-brand {
        padding-left: 46px;
        gap: 10px;
    }

    .ff-hdr-left .ff-branch {
        width: 64px;
    }

    .ff-hdr-left .ff-emblem {
        width: 46px;
        height: 46px;
    }

    .ff-hdr-left .ff-wordmark b {
        font-size: 1.1rem;
    }

    .ff-hdr-left .ff-wordmark i {
        font-size: 1.4rem;
    }

    .ff-hdr-left .ff-wordmark small {
        font-size: 0.72rem;
    }

    .ff-hdr-mid .hfe-nav-menu a.hfe-menu-item {
        font-size: 15px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .ff-hdr-right .elementor-button {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1180px) {

    .elementor .ff-bar > .ff-hdr-mid.e-con {
        --padding-left: 22px;
        --padding-right: 22px;
    }

    .ff-hdr-mid .hfe-nav-menu a.hfe-menu-item {
        font-size: 14px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1100px) {

    .elementor .ff-bar > .ff-hdr-left.e-con {
        --width: 236px;
    }

    .ff-hdr-left .ff-brand {
        padding-left: 14px;
    }

    .ff-hdr-left .ff-branch {
        display: none;
    }

    .ff-hdr-mid .hfe-nav-menu a.hfe-menu-item {
        font-size: 13.5px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
}


/* Tablet + Mobile Dropdown Menu */

@media (max-width: 1024px) {

    .ff-hdr-mid,
    .ff-hdr-mid .elementor-widget-navigation-menu {
        position: static !important;
    }

    .ff-hdr-mid nav.hfe-dropdown {
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        top: calc(100% + 10px) !important;
        margin-top: 0 !important;
        border-radius: 16px;
        overflow: hidden auto;
        max-height: calc(100vh - 150px);
        box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.5);
    }

    .ff-hdr-mid nav.hfe-dropdown .hfe-nav-menu {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
    }

    .ff-hdr-mid nav.hfe-dropdown .menu-item {
        width: 100%;
        flex-shrink: 0;
    }

    .ff-hdr-mid nav.hfe-dropdown .menu-item a.hfe-menu-item {
        justify-content: space-between;
        padding: 15px 22px !important;
        border-bottom: 1px solid rgba(15, 59, 46, 0.1);
        color: var(--e-global-color-accent) !important;
        font-family: var(--e-global-typography-ffmenu0-font-family) !important;
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .ff-hdr-mid nav.hfe-dropdown .current-menu-item > a.hfe-menu-item,
    .ff-hdr-mid nav.hfe-dropdown a.hfe-menu-item:hover {
        color: var(--e-global-color-ffrust0) !important;
    }

    .ff-hdr-mid nav.hfe-dropdown .sub-menu {
        position: static;
        width: 100% !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--e-global-color-ffcrem2);
    }

    .ff-hdr-mid nav.hfe-dropdown .sub-menu a.hfe-sub-menu-item {
        padding: 12px 22px 12px 38px !important;
        border-bottom: 1px solid rgba(15, 59, 46, 0.08);
        color: var(--e-global-color-accent) !important;
        font-size: 15px !important;
    }

    /* third-level items sit one step further in */
    .ff-hdr-mid nav.hfe-dropdown .sub-menu .sub-menu a.hfe-sub-menu-item {
        padding-left: 56px !important;
    }

    .ff-hdr-mid .hfe-nav-menu__toggle {
        cursor: pointer;
    }
}


/* ==========================================================================
   2. BUTTONS – COLOUR SWEEP ON HOVER
   ========================================================================== */

.ff-sweep .elementor-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ff-sweep .elementor-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ff-sweep, var(--e-global-color-ffrust0));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}

.ff-sweep .elementor-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.elementor-button .elementor-button-icon {
    transition: transform 0.3s;
}

.elementor-button:hover .elementor-button-icon {
    transform: translateX(4px);
}


/* ==========================================================================
   3. HERO
   ========================================================================== */

.ff-kicker .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ff-kicker .elementor-heading-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--e-global-color-secondary);
    animation: ffPulse 2.2s infinite;
}

.ff-hero-title em {
    font-style: italic;
    color: var(--e-global-color-secondary);
}

/* Hero only: highlighted words filled with a brand-colour gradient, same font (client request: no yellow) */
.ff-hero .ff-hero-title em {
    font-style: italic;
    color: #fff; /* fallback if gradient text isn't supported */
   
    
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    filter: drop-shadow(0 3px 14px rgba(23, 33, 38, 0.35));
    padding-right: 0.18em; /* keeps the last italic letter from being clipped */
}

.ff-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.06em;
}

.ff-word > span {
    display: inline-block;
    animation: ffRise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ff-play .elementor-button-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
}

.ff-play .elementor-button-icon::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--e-global-color-secondary);
    animation: ffSpin 9s linear infinite;
}

.ff-play .elementor-button:hover .elementor-button-icon {
    transform: none;
}

.ff-hero-side .elementor-heading-title {
    writing-mode: vertical-rl;
}

.ff-ridges {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100% !important;
    height: clamp(90px, 14vw, 200px);
    pointer-events: none;
    z-index: 2;
}

.ff-ridges svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ff-ridges .r1 {
    fill: var(--e-global-color-ffridgf);
    opacity: 0.55;
}

.ff-ridges .r2 {
    fill: var(--e-global-color-ffridgm);
    opacity: 0.8;
}

.ff-ridges .r3 {
    fill: var(--e-global-color-ffpaper);
}


/* Video Popup */

.ff-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(10, 15, 18, 0.88);
}

.ff-modal[hidden] {
    display: none;
}

.ff-modal video {
    width: min(1100px, 100%);
    max-height: 80vh;
    border-radius: 10px;
    background: #000;
}

.ff-modal button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==========================================================================
   4. TICKER
   ========================================================================== */

.ff-ticker-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: ffMarquee 38s linear infinite;
}

.ff-ticker span {
    display: flex;
    align-items: center;
    gap: 56px;
    white-space: nowrap;
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    color: var(--e-global-color-primary);
}

.ff-ticker span::after {
    content: "✦";
    font-size: 0.5em;
    color: var(--e-global-color-secondary);
}

.ff-ticker span:nth-child(even) {
    font-style: italic;
    color: var(--e-global-color-ffridgm);
}


/* ==========================================================================
   5. ABOUT COLLAGE
   ========================================================================== */

.ff-collage {
    position: relative;
    aspect-ratio: 1 / 1.05;
}

.ff-collage > .elementor-widget-image {
    position: absolute !important;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 30px 50px -30px rgba(23, 33, 38, 0.5);
}

.ff-collage .elementor-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-collage .elementor-widget-image:hover img {
    transform: scale(1.07);
}

.ff-collage .ff-c1 {
    inset: 0 22% 18% 0;
}

.ff-collage .ff-c2 {
    right: 0;
    bottom: 0;
    width: 46%;
    height: 44%;
    border: 8px solid var(--e-global-color-ffpaper);
}

.ff-collage .ff-c3 {
    right: 4%;
    top: 6%;
    width: 30%;
    height: 30%;
    border: 6px solid var(--e-global-color-ffpaper);
    border-radius: 50%;
}

.ff-collage .ff-c1 > div,
.ff-collage .ff-c2 > div,
.ff-collage .ff-c3 > div {
    height: 100%;
}

.ff-note {
    position: absolute !important;
    left: 4%;
    bottom: 4%;
    width: auto !important;
    transform: rotate(-5deg);
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--e-global-color-ffpaper);
    box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   6. COTTAGES
   ========================================================================== */

.ff-cottage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
}

.ff-cottage > .ff-cottage-img {
    position: absolute !important;
    inset: 0;
    z-index: -2;
    margin: 0 !important;
}

.ff-cottage-img div,
.ff-cottage-img img {
    width: 100%;
    height: 100%;
}

.ff-cottage-img img {
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-cottage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(23, 33, 38, 0) 35%,
        rgba(23, 33, 38, 0.92) 100%
    );
}

.ff-cottage:hover .ff-cottage-img img {
    transform: scale(1.08);
}

.ff-tag {
    position: absolute !important;
    top: 22px;
    left: 22px;
    width: auto !important;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.ff-go {
    position: absolute !important;
    top: 22px;
    right: 22px;
    width: auto !important;
    opacity: 0;
    transform: rotate(-45deg) scale(0.8);
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-cottage:hover .ff-go {
    opacity: 1;
    transform: none;
}

.ff-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.5s ease;
}

.ff-cottage:hover .ff-reveal {
    max-height: 220px;
    opacity: 1;
}

.ff-specs .elementor-icon-list-item {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 5px 14px !important;
}

@media (hover: none) {

    .ff-reveal {
        max-height: none;
        opacity: 1;
    }

    .ff-go {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================================================
   7. SEASONS
   ========================================================================== */

.ff-seasons {
    position: relative;
    overflow: hidden;
}

.ff-seasons > .ff-sbg {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    margin: 0 !important;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease;
}

.ff-sbg div,
.ff-sbg img {
    width: 100%;
    height: 100%;
}

.ff-sbg img {
    object-fit: cover;
}

.ff-seasons > .ff-sbg.is-on {
    opacity: 1;
    transform: none;
}

.ff-seasons::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(23, 33, 38, 0.85) 0%,
        rgba(23, 33, 38, 0.45) 55%,
        rgba(23, 33, 38, 0.15) 100%
    );
    pointer-events: none;
}

.ff-seasons > .e-con {
    position: relative;
    z-index: 2;
}

.ff-stabs {
    width: max-content;
    max-width: 100%;
    backdrop-filter: blur(8px);
}

.ff-stab .elementor-button {
    transition: background 0.3s, color 0.3s;
}

.ff-stab.is-on .elementor-button {
    background: var(--e-global-color-ffpaper) !important;
    color: var(--e-global-color-primary) !important;
}

.ff-scopy {
    display: none !important;
}

.ff-scopy.is-on {
    display: flex !important;
    animation: ffFade 0.8s both;
}


/* ==========================================================================
   8. HERD – HORIZONTAL DRAG SCROLL
   ========================================================================== */

.ff-herd {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--e-global-color-secondary) transparent;
    cursor: grab;
}

.ff-herd.is-drag {
    cursor: grabbing;
    scroll-snap-type: none;
}

.ff-pal {
    scroll-snap-align: start;
    user-select: none;
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.45s;
}

.ff-pal:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 24px 40px -24px rgba(23, 33, 38, 0.45);
}


/* ==========================================================================
   9. AMENITIES CARDS
   ========================================================================== */

.ff-box {
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.45s,
        border-color 0.45s;
}

.ff-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 44px -26px rgba(15, 59, 46, 0.45);
    border-bottom-color: var(--e-global-color-ffgold0) !important;
}

.ff-box .elementor-icon {
    border-style: dashed !important;
    transition: background 0.45s, color 0.45s, transform 0.7s;
}

.ff-box:hover .elementor-icon {
    background: var(--e-global-color-accent) !important;
    color: var(--e-global-color-ffgold0) !important;
    fill: var(--e-global-color-ffgold0) !important;
    transform: rotate(360deg);
}

.ff-over .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ff-over .elementor-heading-title::before,
.ff-over .elementor-heading-title::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--e-global-color-ffgold0);
}

.ff-eyebrow .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
}

.ff-eyebrow .elementor-heading-title::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}


/* ==========================================================================
   10. ATTRACTIONS
   ========================================================================== */

.ff-zoom {
    position: relative;
    overflow: hidden;
}

.ff-zoom img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-card:hover .ff-zoom img {
    transform: scale(1.08);
}

.ff-zoom .ff-img-note {
    position: absolute !important;
    left: 16px;
    bottom: 14px;
    width: auto !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {

    .ff-zoom img {
        aspect-ratio: 16 / 11;
    }
}


/* ==========================================================================
   11. REVIEWS SLIDER
   ========================================================================== */

.ff-slider {
    position: relative;
    display: grid !important;
    overflow: hidden;
}

.ff-slider > .ff-q {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateX(30px);
    transition:
        opacity 0.8s,
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.ff-slider > .ff-q.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.ff-q .elementor-testimonial-content::before {
    content: "\201C";
    display: block;
    margin-bottom: 10px;
    font-size: 4.5rem;
    line-height: 0.6;
    color: var(--e-global-color-secondary);
}

.ff-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.ff-dots button {
    position: relative;
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(23, 33, 38, 0.14);
    overflow: hidden;
    cursor: pointer;
}

.ff-dots button[aria-current="true"]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--e-global-color-secondary);
    transform-origin: left;
    animation: ffFill 7s linear forwards;
}

.ff-sweep {
    align-items: center;
    display: flex;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.ff-foot-ridges {
    position: relative;
    width: 100%;
    height: clamp(70px, 10vw, 140px);
    margin-top: -1px;
}

.ff-foot-ridges svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ff-foot-ridges .r0 {
    fill: var(--e-global-color-ffpaper);
}

.ff-foot-ridges .r1 {
    fill: var(--e-global-color-ffridgf);
    opacity: 0.35;
}

.ff-foot-ridges .r2 {
    fill: var(--e-global-color-primary);
    opacity: 0.45;
}

.ff-foot-brand {
    padding-left: 0;
    color: var(--e-global-color-ffpaper);
}

.ff-foot .ff-foot-brand {
    color: var(--e-global-color-ffpaper);
}


/* ==========================================================================
   13. UTILITIES & KEYFRAMES
   ========================================================================== */

.ff-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 3px;
    width: 0;
    background: var(--e-global-color-secondary);
}


/* Animations */

@keyframes ffDrop {
    from {
        transform: translateY(-130%);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes ffPanel {
    from {
        clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
    }

    to {
        clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 34px 100%);
    }
}

@keyframes ffFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ffSway {
    0%, 100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(4deg);
    }
}

@keyframes ffRise {
    from {
        transform: translateY(105%);
    }

    to {
        transform: none;
    }
}

@keyframes ffPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 150, 58, 0.7);
    }

    70%, 100% {
        box-shadow: 0 0 0 12px rgba(217, 150, 58, 0);
    }
}

@keyframes ffSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ffMarquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes ffFade {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ffFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {

    .ff-hdr *,
    .ff-hdr,
    .elementor-page * {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }

    .ff-ticker-track {
        animation: none;
    }
}


/* ==========================================================================
   Mobile overflow safety net
   Stops anything (hidden slides, off-screen animations) from widening the
   page sideways on phones.
   ========================================================================== */

html,
body {
    overflow-x: clip;
}


/* ==========================================================================
   Gallery page: equal tiles + gentle zoom
   (Elementor Basic Gallery / Image Carousel keep each photo's own shape)
   ========================================================================== */

.ff-gallery .gallery-item .gallery-icon {
    overflow: hidden;
    border-radius: 10px;
}

.ff-gallery .gallery-item img,
.ff-carousel .swiper-slide-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ff-gallery .gallery-item:hover img {
    transform: scale(1.06);
}

.ff-gallery .gallery-caption {
    text-align: center;
}

/* gallery columns on tablet and phone (Basic Gallery drops to 1 column) */
@media (max-width: 1024px) {
    .ff-gallery .gallery-item {
        max-width: 33.333% !important;
    }
}

@media (max-width: 767px) {
    .ff-gallery .gallery-item {
        max-width: 50% !important;
    }
}


/* ==========================================================================
   Contact Form 7: wedding + contact forms (forms have class .ff-cf7)
   CF7 has no Elementor style controls, so fields are styled here
   with the global colours and fonts.
   ========================================================================== */

.ff-cf7 .ff-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.ff-cf7 .ff-cf7-field {
    margin: 0 0 18px;
}

.ff-cf7 label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--e-global-typography-ffbrow0-font-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--e-global-color-accent);
}

.ff-cf7 input[type="text"],
.ff-cf7 input[type="email"],
.ff-cf7 input[type="tel"],
.ff-cf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--e-global-color-ffcrem2);
    border-radius: 10px;
    background: var(--e-global-color-ffwhite);
    font-family: var(--e-global-typography-text-font-family);
    font-size: 16px;
    color: var(--e-global-color-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ff-cf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.ff-cf7 input:focus,
.ff-cf7 textarea:focus {
    outline: none;
    border-color: var(--e-global-color-accent);
    box-shadow: 0 0 0 3px rgba(15, 59, 46, 0.15);
}

.ff-cf7 .ff-cf7-submit {
    margin: 4px 0 0;
}

.ff-cf7 input[type="submit"] {
    padding: 16px 32px;
    border: 0;
    border-radius: 999px;
    background: var(--e-global-color-accent);
    color: var(--e-global-color-ffcream);
    font-family: var(--e-global-typography-accent-font-family);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ff-cf7 input[type="submit"]:hover {
    background: var(--e-global-color-ffrust0);
    transform: translateY(-2px);
}

.ff-cf7 .wpcf7-spinner {
    margin: 0 0 0 12px;
}

.ff-cf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: var(--e-global-color-ffrust0);
}

.ff-cf7 .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 10px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .ff-cf7 .ff-cf7-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog – listing cards (UAE Basic Posts) and single posts
   ========================================================================== */
.ff-blog-grid .hfe-post-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.single-post .site-main.type-post {
    max-width: 860px;
    margin: 0 auto;
    padding: 170px 16px 100px;
}

.single-post .page-header .entry-title {
    margin-bottom: 30px;
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--e-global-color-primary);
}

.single-post .page-content h2,
.single-post .page-content h3,
.single-post .page-content h4 {
    margin: 40px 0 14px;
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--e-global-color-primary);
}

.single-post .page-content h2 {
    font-size: clamp(28px, 3.4vw, 38px);
}

.single-post .page-content h3 {
    font-size: clamp(22px, 2.6vw, 28px);
}

.single-post .page-content h4 {
    font-size: 22px;
}

.single-post .page-content p,
.single-post .page-content li {
    line-height: 1.75;
    color: var(--e-global-color-text);
}

.single-post .page-content a:not(.wp-block-button__link) {
    color: var(--e-global-color-accent);
    text-decoration: underline;
}

.single-post .page-content a:not(.wp-block-button__link):hover {
    color: var(--e-global-color-ffrust0);
}

.single-post .page-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.single-post .page-content .wp-block-button__link {
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--e-global-typography-accent-font-family), sans-serif;
    color: var(--e-global-color-ffcream);
    background: var(--e-global-color-accent);
    transition: background 0.3s;
}

.single-post .page-content .wp-block-button__link:hover {
    background: var(--e-global-color-ffrust0);
}

@media (max-width: 767px) {
    .single-post .site-main.type-post {
        padding: 130px 16px 70px;
    }
}

/* ==========================================================================
   Blog – search (Ivory Search form, live results and results page)
   ========================================================================== */
.ff-blog-search .is-search-form {
    position: relative;
}

.ff-blog-search .is-search-form label {
    width: 100% !important;
}

.ff-blog-search .is-search-form input.is-search-input {
    height: 58px;
    padding: 0 70px 0 26px;
    border: 1px solid var(--e-global-color-ffcrem2);
    border-radius: 999px;
    font-family: var(--e-global-typography-text-font-family), sans-serif;
    font-size: 16px;
    color: var(--e-global-color-primary);
    background: var(--e-global-color-ffwhite);
    box-shadow: 0 10px 30px rgba(23, 33, 38, 0.06);
}

.ff-blog-search .is-search-form input.is-search-input:focus {
    border-color: var(--e-global-color-secondary);
    outline: none;
}

.ff-blog-search .is-search-form button.is-search-submit {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--e-global-color-accent);
    transition: background 0.3s;
}

.ff-blog-search .is-search-form button.is-search-submit:hover {
    background: var(--e-global-color-ffrust0);
}

.ff-blog-search .is-search-form .is-search-icon {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    line-height: 46px;
    background: transparent;
}

.ff-blog-search .is-search-form .is-search-icon svg path {
    fill: var(--e-global-color-ffcream);
}

.ff-blog-search .is-search-form .is-loader-image {
    right: 64px;
}

.is-ajax-search-result,
.is-ajax-search-details {
    border-radius: 16px;
    font-family: var(--e-global-typography-text-font-family), sans-serif;
}

.is-ajax-search-result .is-title a {
    font-family: var(--e-global-typography-primary-font-family), serif;
    color: var(--e-global-color-primary);
}

.search-results .site-main,
.search-no-results .site-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 170px 16px 100px;
}

.search .site-main .page-header .entry-title {
    margin-bottom: 40px;
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 400;
    color: var(--e-global-color-primary);
}

.search-results .site-main .page-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.search-results .site-main article.post {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 24px 26px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--e-global-color-ffwhite);
    box-shadow: 0 10px 30px rgba(23, 33, 38, 0.08);
}

.search-results .site-main article.post > a:has(img) {
    order: -1;
    margin: 0 -24px 10px;
}

.search-results .site-main article.post img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.search-results .site-main article.post .entry-title {
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.search-results .site-main article.post .entry-title a {
    color: var(--e-global-color-primary);
}

.search-results .site-main article.post p {
    color: var(--e-global-color-text);
}

@media (max-width: 1024px) {
    .search-results .site-main .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .search-results .site-main,
    .search-no-results .site-main {
        padding: 130px 16px 70px;
    }

    .search-results .site-main .page-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Herd cards: animal photos (Home page)
   Photos can't be picked up while dragging the strip with a mouse.
   ========================================================================== */
.ff-herd img {
    pointer-events: none;
    -webkit-user-drag: none;
}
