/* ============================================================================
   NUTHURST GRANGE — LUXURY EDITORIAL EXPERIENCE & UNIFIED CHROME STYLESHEET
   Elevates individual WordPress Event Posts (single.php), Legal/Editorial
   Pages (page.php), Unified Navigation Book & Buy Dropdown, Sidebar Drawer,
   and Mobile UX while preserving 100% of existing homepage visual styling.
   ============================================================================ */

/* --- 1. Unified Top Navigation Architecture (Zero Logo Overlap & Zero Horizontal Overflow at All Viewports) --- */
html, body {
    overflow-x: clip;
}

#main-nav {
    box-sizing: border-box;
    max-width: 100%;
}

#main-nav .nav-container {
    width: min(94vw, 1400px) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 clamp(14px, 2vw, 32px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(16px, 2vw, 32px) !important;
}

#main-nav .logo {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

#main-nav .logo img {
    width: clamp(114px, 10.5vw, 152px) !important;
    max-width: 152px !important;
    height: auto !important;
    transform: none !important;
    display: block !important;
}

#main-nav .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: clamp(0.65rem, 1.3vw, 1.65rem) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

#main-nav .nav-links > li {
    flex: 0 0 auto;
    white-space: nowrap;
}

#main-nav .nav-links > li > a {
    font-size: clamp(11.5px, 0.9vw, 13.5px) !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
}

#main-nav .nav-dropdown > .btn-book {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.52rem clamp(0.85rem, 1.1vw, 1.25rem) !important;
}

/* Switch cleanly from full horizontal desktop nav to unified MENU drawer before any crowding occurs */
@media (max-width: 1140px) {
    #main-nav .nav-links {
        display: none !important;
    }
    #main-nav {
        padding: 0.85rem 0 !important;
    }
    #main-nav .logo {
        position: static !important;
        left: auto !important;
        top: auto !important;
    }
    #main-nav .logo img {
        width: clamp(118px, 28vw, 148px) !important;
    }
    #persistent-nav-btn.hidden {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    #persistent-nav-btn {
        top: 0.85rem !important;
        right: clamp(14px, 3vw, 26px) !important;
        height: 42px !important;
    }
}

#main-nav .nav-dropdown .dropdown-menu {
    background: rgba(14, 13, 12, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    padding: 0.65rem 0;
    min-width: 210px;
    border-radius: 2px;
    z-index: 250;
}

#main-nav .nav-dropdown--right .dropdown-menu {
    left: auto;
    right: 0;
}

#main-nav .dropdown-menu li a {
    color: #E8E3D8;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.65rem 1.35rem;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}

#main-nav .dropdown-menu li a:hover,
#main-nav .dropdown-menu li a:focus-visible {
    color: #C5A059;
    background: rgba(197, 160, 89, 0.08);
    padding-left: 1.6rem;
}

/* Keyboard accessibility focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* --- 2. Enriched Unified Sidebar Drawer --- */
#sidebar-menu {
    padding: 3rem 2.5rem 2.5rem;
    justify-content: flex-start;
}

#sidebar-menu .sidebar-links {
    gap: 1.05rem;
    margin-bottom: 2rem;
}

#sidebar-menu .sidebar-links li a {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    line-height: 1.25;
    color: #F3EEE3;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, transform 0.25s ease;
}

#sidebar-menu .sidebar-links li a:hover {
    color: #C5A059;
    transform: translateX(6px);
}

#sidebar-menu .sidebar-divider {
    height: 1px;
    background: rgba(197, 160, 89, 0.2);
    margin: 0.5rem 0 1.5rem;
}

#sidebar-menu .sidebar-secondary-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-bottom: 2rem;
}

#sidebar-menu .sidebar-secondary-links a {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C9C4B8;
    text-decoration: none;
    transition: color 0.25s ease;
}

#sidebar-menu .sidebar-secondary-links a:hover {
    color: #C5A059;
}

#sidebar-menu .sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(250, 249, 246, 0.08);
}

#sidebar-menu .sidebar-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    background: #C5A059;
    color: #12110F;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

#sidebar-menu .sidebar-cta-primary:hover {
    background: #D9B56F;
    transform: translateY(-1px);
}

#sidebar-menu .sidebar-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

#sidebar-menu .sidebar-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: #FAF9F6;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

#sidebar-menu .sidebar-cta-outline:hover {
    border-color: #C5A059;
    color: #C5A059;
    background: rgba(197, 160, 89, 0.08);
}

#sidebar-menu .sidebar-phone {
    margin-top: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #A8A399;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.08em;
}

#sidebar-menu .sidebar-phone strong {
    color: #FAF9F6;
    font-weight: 500;
}

/* Always show persistent menu button cleanly on mobile even at scroll top */
@media (max-width: 1024px) {
    #persistent-nav-btn.hidden {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    #persistent-nav-btn {
        top: 1.15rem;
        right: 1.25rem;
    }
}

/* --- 3. Editorial Page & Event Post Canvas Reset + Guaranteed High-Contrast Nav --- */
body.ng-editorial-body {
    background-color: #FAF9F6 !important;
    color: #2D2B28 !important;
}

/* Architectural Frosted Obsidian Navigation Bar (AAA legibility over any hero photo) */
body.ng-editorial-body #main-nav {
    background: rgba(12, 11, 10, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.24);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 0 !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.ng-editorial-body #main-nav .nav-links > li > a {
    color: #FAF9F6 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    font-weight: 500;
}

body.ng-editorial-body #main-nav .nav-links > li > a:hover,
body.ng-editorial-body #main-nav .nav-links > li > a:focus-visible {
    color: #DFC07A !important;
}

body.ng-editorial-body #main-nav .nav-dropdown > .btn-book {
    background: rgba(197, 160, 89, 0.16);
    border: 1px solid rgba(197, 160, 89, 0.78);
    color: #FAF9F6 !important;
    padding: 0.58rem 1.25rem;
}

body.ng-editorial-body #main-nav .nav-dropdown > .btn-book:hover {
    background: #C5A059;
    border-color: #C5A059;
    color: #141311 !important;
}

/* --- 4. Monumental Luxury Event Hero (single.php — Clean Photography Only) --- */
.ng-event-hero {
    position: relative;
    min-height: clamp(460px, 56vh, 600px);
    display: flex;
    align-items: flex-end;
    background-color: #11100E;
    overflow: hidden;
    padding: 152px 0 64px;
    color: #FAF9F6;
}

.ng-event-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ng-event-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.015);
    filter: brightness(0.84) contrast(1.02);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ng-event-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10, 10, 9, 0.42) 0%, rgba(10, 10, 9, 0.18) 40%, rgba(12, 11, 10, 0.72) 76%, rgba(12, 11, 10, 0.92) 100%);
}

.ng-event-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
}

.ng-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.72);
    margin-bottom: 1.5rem;
}

.ng-breadcrumbs a {
    color: #D7BA7A;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ng-breadcrumbs a:hover {
    color: #FAF9F6;
}

.ng-breadcrumbs__sep {
    color: rgba(197, 160, 89, 0.55);
}

.ng-event-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(197, 160, 89, 0.55);
    background: rgba(16, 15, 13, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #DFC07A;
    margin-bottom: 1.35rem;
}

.ng-event-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.4vw, 3.85rem);
    font-weight: 400;
    line-height: 1.12;
    color: #FAF9F6;
    max-width: 880px;
    margin: 0 0 1.4rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.ng-event-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: rgba(250, 249, 246, 0.9);
    margin-bottom: 2rem;
}

.ng-event-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ng-event-hero__meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C5A059;
    flex-shrink: 0;
}

.ng-event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.ng-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.9rem;
    background: #C5A059;
    color: #131210;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #C5A059;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ng-btn-gold:hover {
    background: #DBBA75;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ng-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.65rem;
    background: rgba(15, 14, 12, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FAF9F6;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(197, 160, 89, 0.6);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ng-btn-ghost:hover {
    background: rgba(197, 160, 89, 0.16);
    border-color: #C5A059;
    color: #DFC07A;
    transform: translateY(-2px);
}

/* --- 5. Two-Column Editorial Event Body + Sticky Concierge Sidebar --- */
.ng-event-shell {
    background: #FAF9F6;
    padding: clamp(3rem, 5vw, 4.75rem) 0 clamp(4rem, 6vw, 5.5rem);
}

.ng-event-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
    gap: clamp(2.5rem, 4.5vw, 4.5rem);
    align-items: start;
}

/* Museum-Matted Uncropped Event Poster Showcase (Zero cropping on any aspect ratio) */
.ng-event-poster-showcase {
    margin: 0 0 2.75rem;
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 22px 54px rgba(20, 18, 15, 0.08);
    overflow: hidden;
}

.ng-event-poster-showcase__mat {
    background: radial-gradient(circle at 50% 40%, #1F1D1A 0%, #11100E 100%);
    padding: clamp(14px, 2.2vw, 26px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-event-poster-showcase__mat img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ng-event-poster-showcase__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.35rem;
    background: #FAF8F3;
    border-top: 1px solid rgba(197, 160, 89, 0.22);
}

.ng-event-poster-showcase__label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6B6459;
}

.ng-event-poster-showcase__zoom {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8E6E2E;
    cursor: pointer;
    padding: 0.25rem 0.1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ng-event-poster-showcase__zoom:hover {
    color: #191816;
    border-color: #191816;
}

/* Full-Size Poster Lightbox */
.ng-poster-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(10, 10, 9, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 48px);
}

.ng-poster-lightbox.is-open {
    display: flex;
}

.ng-poster-lightbox__img {
    max-width: min(94vw, 1180px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(197, 160, 89, 0.35);
}

.ng-poster-lightbox__close {
    position: fixed;
    top: 22px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.55);
    background: rgba(14, 13, 12, 0.9);
    color: #FAF9F6;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.ng-poster-lightbox__close:hover {
    background: #C5A059;
    color: #141311;
}

/* Refined Prose Styling for WordPress Event Content (Preserves 100% of Original Content) */
.ng-editorial-prose {
    color: #3C3A36;
    font-family: var(--font-sans);
    font-size: 1.04rem;
    line-height: 1.82;
}

.ng-editorial-prose > p:first-of-type {
    font-size: 1.15rem;
    line-height: 1.78;
    color: #22201D;
}

.ng-editorial-prose p {
    margin: 0 0 1.35rem;
}

.ng-editorial-prose h2,
.ng-editorial-prose h3,
.ng-editorial-prose h4 {
    font-family: var(--font-serif);
    color: #191816;
    font-weight: 500;
    line-height: 1.25;
    margin: 2.35rem 0 1rem;
}

.ng-editorial-prose h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.2rem);
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.ng-editorial-prose h3 {
    font-size: clamp(1.38rem, 2vw, 1.7rem);
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.28);
}

.ng-editorial-prose h4 {
    font-size: clamp(1.18rem, 1.6vw, 1.38rem);
    color: #2B2925;
}

.ng-editorial-prose strong {
    color: #191816;
    font-weight: 600;
}

.ng-editorial-prose ul,
.ng-editorial-prose ol {
    margin: 0 0 1.6rem 0;
    padding-left: 1.35rem;
}

.ng-editorial-prose ul li,
.ng-editorial-prose ol li {
    margin-bottom: 0.65rem;
    padding-left: 0.25rem;
}

.ng-editorial-prose ul li::marker {
    color: #C5A059;
}

.ng-editorial-prose a {
    color: #8E6E2E;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.ng-editorial-prose a:hover {
    color: #191816;
}

.ng-editorial-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 1.25rem 0;
}

.ng-editorial-prose hr,
.ng-editorial-prose .wp-block-separator {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.5), rgba(197, 160, 89, 0.08));
    margin: 2.25rem 0;
}

.ng-editorial-prose blockquote {
    border-left: 3px solid #C5A059;
    background: #F4EFE4;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: #252320;
}

/* ============================================================================
   PREMIUM LUXURY FORM PRESENTATION — WPCODE 10568 (#ng-event-enquiry) & WPFORMS
   High-specificity overrides aligned with Nuthurst Grange obsidian, warm ivory
   and champagne-gold identity. Preserves 100% of fields, logic & integrations.
   ============================================================================ */
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry,
body.ng-editorial-body .ng-editorial-prose .ng-event-enquiry {
    --ng-green: #141311;
    --ng-green-hover: #C5A059;
    --ng-cream: #FFFFFF;
    --ng-cream-mid: #F8F5EE;
    --ng-gold: #C5A059;
    --ng-gold-light: #DFC07A;
    --ng-text: #1B1A17;
    --ng-text-mid: #534F47;
    --ng-text-muted: #8C867B;
    --ng-border: rgba(28, 27, 25, 0.16);
    --ng-border-focus: #C5A059;
    --ng-error: #9E2A2B;
    --ng-error-bg: #FDF6F6;
    --ng-font-serif: 'Playfair Display', Georgia, serif;
    --ng-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    background: #FFFFFF !important;
    border: 1px solid rgba(197, 160, 89, 0.32) !important;
    border-top: 3px solid #C5A059 !important;
    border-radius: 2px !important;
    box-shadow: 0 24px 60px rgba(18, 16, 13, 0.08) !important;
    padding: clamp(1.85rem, 4vw, 3.1rem) !important;
    margin: 2.75rem 0 1.25rem !important;
    max-width: 100% !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__header {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.24) !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__heading {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
    font-weight: 400 !important;
    color: #161513 !important;
    letter-spacing: 0.01em !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 0 0.75rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__heading-rule {
    width: 56px !important;
    height: 1.5px !important;
    background: #C5A059 !important;
    margin: 0.85rem 0 0 !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__intro {
    font-family: var(--font-sans) !important;
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    color: #534F47 !important;
    margin: 1.15rem 0 0 !important;
    max-width: 600px !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__grid {
    gap: 1.35rem 1.65rem !important;
    margin-bottom: 1.35rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__label {
    font-family: var(--font-sans) !important;
    font-size: 0.71rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #2B2925 !important;
    margin-bottom: 0.15rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__input,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__select,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__textarea {
    background: #FCFBF8 !important;
    border: 1px solid rgba(28, 27, 25, 0.18) !important;
    border-radius: 2px !important;
    color: #191816 !important;
    font-family: var(--font-sans) !important;
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    padding: 0.85rem 1rem !important;
    min-height: 48px !important;
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__select {
    padding-right: 2.6rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__textarea {
    min-height: 138px !important;
    padding: 0.95rem 1rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__input:hover,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__select:hover,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__textarea:hover {
    border-color: rgba(197, 160, 89, 0.65) !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__input:focus,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__select:focus,
body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__textarea:focus {
    background: #FFFFFF !important;
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18) !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__event-locked {
    background: #FBF9F4 !important;
    border: 1px solid rgba(197, 160, 89, 0.42) !important;
    border-left: 3px solid #C5A059 !important;
    border-radius: 2px !important;
    padding: 0.8rem 1rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__notice {
    background: #F8F5EE !important;
    border: 1px solid rgba(197, 160, 89, 0.26) !important;
    border-left: 3px solid #C5A059 !important;
    border-radius: 2px !important;
    padding: 1rem 1.2rem !important;
    margin: 1.5rem 0 1.65rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__consent {
    gap: 1rem !important;
    padding: 1.15rem 1.25rem !important;
    background: #FCFBF8 !important;
    border: 1px solid rgba(28, 27, 25, 0.08) !important;
    border-radius: 2px !important;
    margin-bottom: 1.85rem !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__checkbox {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    accent-color: #141311 !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__consent-label {
    font-size: 0.82rem !important;
    line-height: 1.62 !important;
    color: #4E4A42 !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__submit {
    background: #141311 !important;
    color: #FAF9F6 !important;
    border: 1px solid #C5A059 !important;
    border-radius: 2px !important;
    padding: 1.1rem 2rem !important;
    font-family: var(--font-sans) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__submit:hover:not(:disabled) {
    background: #C5A059 !important;
    color: #141311 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 26px rgba(20, 19, 17, 0.16) !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__error {
    font-size: 0.8rem !important;
    color: #9E2A2B !important;
    font-weight: 500 !important;
}

body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__success {
    background: #FAF8F2 !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    padding: 2.25rem 1.75rem !important;
}

@media (max-width: 680px) {
    body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__grid {
        grid-template-columns: 1fr !important;
    }
    body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__input,
    body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__select,
    body.ng-editorial-body .ng-editorial-prose #ng-event-enquiry .ng-event-enquiry__textarea {
        font-size: 16px !important; /* Prevents iOS Safari zoom on input focus */
    }
}

/* Luxury WPForms Elevation (e.g. Robert Burns Night & WordPress Pages) */
body.ng-editorial-body .ng-editorial-prose .wpforms-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(197, 160, 89, 0.32) !important;
    border-top: 3px solid #C5A059 !important;
    border-radius: 2px !important;
    padding: clamp(1.75rem, 3.8vw, 2.85rem) !important;
    margin: 2.5rem 0 1.25rem !important;
    box-shadow: 0 24px 60px rgba(18, 16, 13, 0.08) !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-title {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important;
    font-weight: 400 !important;
    color: #161513 !important;
    margin-bottom: 0.75rem !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-description {
    font-family: var(--font-sans) !important;
    font-size: 0.95rem !important;
    color: #534F47 !important;
    margin-bottom: 1.5rem !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-field {
    padding: 0 0 1.2rem !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-field-label {
    font-family: var(--font-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #2B2925 !important;
    margin-bottom: 0.45rem !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-required-label {
    color: #C5A059 !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container input[type="text"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container input[type="email"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container input[type="tel"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container input[type="number"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container input[type="date"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container select,
body.ng-editorial-body .ng-editorial-prose .wpforms-container textarea {
    border: 1px solid rgba(28, 27, 25, 0.18) !important;
    background: #FCFBF8 !important;
    color: #191816 !important;
    border-radius: 2px !important;
    padding: 0.8rem 1rem !important;
    min-height: 48px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.96rem !important;
    box-shadow: none !important;
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container input:focus,
body.ng-editorial-body .ng-editorial-prose .wpforms-container select:focus,
body.ng-editorial-body .ng-editorial-prose .wpforms-container textarea:focus {
    background: #FFFFFF !important;
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18) !important;
    outline: none !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container label.wpforms-error {
    color: #9E2A2B !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    margin-top: 0.35rem !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container button[type="submit"],
body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-submit {
    background: #141311 !important;
    color: #FAF9F6 !important;
    border: 1px solid #C5A059 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    font-family: var(--font-sans) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 1rem 2.25rem !important;
    min-height: 50px !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

body.ng-editorial-body .ng-editorial-prose .wpforms-container button[type="submit"]:hover,
body.ng-editorial-body .ng-editorial-prose .wpforms-container .wpforms-submit:hover {
    background: #C5A059 !important;
    color: #141311 !important;
    transform: translateY(-1px) !important;
}

/* --- 6. Sticky Luxury Event Concierge Sidebar --- */
.ng-event-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ng-concierge-card {
    background: #141311;
    color: #FAF9F6;
    border: 1px solid rgba(197, 160, 89, 0.32);
    padding: 2rem 1.85rem;
    box-shadow: 0 24px 56px rgba(15, 14, 12, 0.16);
}

.ng-concierge-card__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5A059;
    margin-bottom: 0.65rem;
    display: block;
}

.ng-concierge-card__title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    color: #FAF9F6;
    line-height: 1.25;
    margin: 0 0 0.85rem;
}

.ng-concierge-card__text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.65;
    color: #CBC6BC;
    margin: 0 0 1.5rem;
}

.ng-concierge-facts {
    list-style: none;
    padding: 1.15rem 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ng-concierge-facts li {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.ng-concierge-facts__label {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C5A059;
}

.ng-concierge-facts__val {
    font-size: 0.92rem;
    color: #FAF9F6;
    text-decoration: none;
}

.ng-concierge-facts a.ng-concierge-facts__val:hover {
    color: #DFC07A;
}

.ng-concierge-card .ng-btn-gold,
.ng-concierge-card .ng-btn-ghost {
    width: 100%;
    text-align: center;
}

.ng-concierge-card__stack {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ng-stay-card {
    background: #F3EEE3;
    border: 1px solid rgba(28, 27, 25, 0.09);
    padding: 1.65rem 1.75rem;
}

.ng-stay-card__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8E6E2E;
    display: block;
    margin-bottom: 0.5rem;
}

.ng-stay-card__title {
    font-family: var(--font-serif);
    font-size: 1.32rem;
    color: #1C1B19;
    font-weight: 500;
    margin: 0 0 0.6rem;
}

.ng-stay-card__text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4E4C46;
    margin: 0 0 1.15rem;
}

.ng-stay-card__link {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1C1B19;
    text-decoration: none;
    border-bottom: 1px solid #C5A059;
    padding-bottom: 3px;
    transition: color 0.2s ease;
}

.ng-stay-card__link:hover {
    color: #8E6E2E;
}

/* --- 7. Related Upcoming Events Strip --- */
.ng-related-events {
    background: #F2EDE2;
    border-top: 1px solid rgba(28, 27, 25, 0.08);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.ng-related-events__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
}

.ng-related-events__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ng-related-events__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8E6E2E;
    margin-bottom: 0.5rem;
    display: block;
}

.ng-related-events__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #1C1B19;
    margin: 0;
}

.ng-related-events__all {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1C1B19;
    text-decoration: none;
    border-bottom: 1px solid #C5A059;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.ng-related-events__all:hover {
    color: #8E6E2E;
}

.ng-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.ng-related-card {
    background: #FFFFFF;
    border: 1px solid rgba(28, 27, 25, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ng-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(20, 18, 15, 0.09);
    border-color: rgba(197, 160, 89, 0.45);
}

.ng-related-card__media {
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at 50% 40%, #23201C 0%, #12110F 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ng-related-card__media--poster {
    padding: 12px;
}

.ng-related-card__media--poster img {
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.ng-related-card:hover .ng-related-card__media img {
    transform: scale(1.04);
}

.ng-related-card__body {
    padding: 1.45rem 1.5rem 1.65rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ng-related-card__cat {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8E6E2E;
    margin-bottom: 0.55rem;
}

.ng-related-card__name {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    line-height: 1.3;
    color: #1C1B19;
    font-weight: 500;
    margin: 0 0 1rem;
    flex: 1;
}

.ng-related-card__cta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8E6E2E;
}

/* --- 8. Elevated Utility / Legal Page Layout (page.php) --- */
.ng-page-hero {
    background: linear-gradient(135deg, #0D0C0B 0%, #1B1915 100%);
    color: #FAF9F6;
    padding: 155px 0 60px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.ng-page-hero__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 5%;
}

.ng-page-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 400;
    line-height: 1.15;
    color: #FAF9F6;
    margin: 0;
}

.ng-page-shell {
    background: #FAF9F6;
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 6vw, 5.5rem);
}

.ng-page-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 9. Mobile Sticky Action Bar (Event Posts Only) --- */
.ng-mobile-event-bar {
    display: none;
}

@media (max-width: 960px) {
    .ng-event-grid {
        grid-template-columns: 1fr;
    }
    .ng-event-sidebar {
        position: static;
    }
    .ng-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .ng-event-hero {
        min-height: 400px;
        padding: 118px 0 44px;
    }
    .ng-related-grid {
        grid-template-columns: 1fr;
    }
    .ng-event-hero__actions .ng-btn-gold,
    .ng-event-hero__actions .ng-btn-ghost {
        width: 100%;
    }
    .ng-mobile-event-bar {
        display: grid;
        grid-template-columns: 1fr 1.25fr;
        gap: 0.65rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 160;
        padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(15, 14, 12, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(197, 160, 89, 0.32);
    }
    .ng-mobile-event-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.78rem 0.6rem;
        font-family: var(--font-sans);
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-decoration: none;
    }
    .ng-mobile-event-bar__call {
        border: 1px solid rgba(197, 160, 89, 0.55);
        color: #FAF9F6;
    }
    .ng-mobile-event-bar__enquire {
        background: #C5A059;
        color: #141311;
    }
    body.ng-has-mobile-bar .site-footer {
        padding-bottom: 92px !important;
    }
}

/* Reduced Motion Respect (WCAG 2.2 SC 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
