/*
 Theme Name:   London Homestays UKSE Skin Child
 Theme URI:    https://staging-jan2026.londonhomestays.com
 Description:  Child theme for London Homestays redesign. Inherits from londonhomestays parent theme.
 Author:       London Homestays
 Author URI:   https://londonhomestays.com
 Template:     londonhomestays
 Version:      2.8.0
 License:      Private
 Text Domain:  londonhomestays-ukse-skin-child
*/

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */

:root {
    /* Brand Colours - LH Official */
    --lh-primary: #2294D2;           /* Primary blue */
    --lh-primary-dark: #000032;      /* Dark blue (nav, footer, hover) */
    --lh-primary-light: #4fb3e8;     /* Lighter blue for accents */
    --lh-magenta: #E6007E;           /* Magenta accent */
    --lh-secondary: #E61E29;         /* Secondary red */
    --lh-secondary-dark: #c41a24;    /* Darker red for hover */

    /* Neutral Palette */
    --lh-white: #ffffff;
    --lh-off-white: #f8f9fa;
    --lh-grey-100: #f1f3f5;
    --lh-grey-200: #e9ecef;
    --lh-grey-300: #dee2e6;
    --lh-grey-400: #ced4da;
    --lh-grey-500: #adb5bd;
    --lh-grey-600: #6c757d;
    --lh-grey-700: #495057;
    --lh-grey-800: #343a40;
    --lh-grey-900: #212529;
    --lh-black: #000000;

    /* Typography - Proxima Nova loaded via Adobe Typekit in parent theme */
    --lh-font-sans: "proxima-nova", "Proxima Nova", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --lh-font-primary: var(--lh-font-sans);
    --lh-font-heading: var(--lh-font-sans);
    --lh-font-size-base: 16px;
    --lh-line-height-base: 1.6;
    --lh-line-height-heading: 1.3;

    /* Spacing Scale */
    --lh-space-xs: 0.25rem;   /* 4px */
    --lh-space-sm: 0.5rem;    /* 8px */
    --lh-space-md: 1rem;      /* 16px */
    --lh-space-lg: 1.5rem;    /* 24px */
    --lh-space-xl: 2rem;      /* 32px */
    --lh-space-2xl: 3rem;     /* 48px */

    /* Border Radius */
    --lh-radius-sm: 4px;
    --lh-radius-md: 8px;
    --lh-radius-lg: 12px;
    --lh-radius-full: 9999px;

    /* Shadows */
    --lh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --lh-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --lh-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --lh-transition-fast: 150ms ease;
    --lh-transition-base: 250ms ease;
}

/* ==========================================================================
   Global Base Styles (Scoped to body.lh-ukse-skin)
   These styles only apply when the body has the lh-ukse-skin class,
   preventing regressions in parent theme styling.
   ========================================================================== */

/* Body defaults - scoped to prevent parent override */
body.lh-ukse-skin {
    font-family: var(--lh-font-primary);
    font-size: var(--lh-font-size-base);
    line-height: var(--lh-line-height-base);
    color: var(--lh-grey-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Proxima Nova override - fix parent theme 'proxima_nova' (underscore) typos */
/* Parent theme incorrectly uses 'proxima_nova' but Typekit defines "proxima-nova" (hyphen) */
/* Excludes FontAwesome icons via separate rule below */
body.lh-ukse-skin,
body.lh-ukse-skin p,
body.lh-ukse-skin span:not([class*="fa-"]),
body.lh-ukse-skin a,
body.lh-ukse-skin li,
body.lh-ukse-skin button,
body.lh-ukse-skin input,
body.lh-ukse-skin select,
body.lh-ukse-skin textarea,
body.lh-ukse-skin div,
body.lh-ukse-skin article,
body.lh-ukse-skin section,
body.lh-ukse-skin table,
body.lh-ukse-skin th,
body.lh-ukse-skin td,
body.lh-ukse-skin blockquote,
body.lh-ukse-skin label,
body.lh-ukse-skin legend,
body.lh-ukse-skin figcaption {
    font-family: "proxima-nova", "Proxima Nova", system-ui, -apple-system, sans-serif !important;
}

/* Preserve FontAwesome icons */
body.lh-ukse-skin i,
body.lh-ukse-skin i.fa,
body.lh-ukse-skin i.fab,
body.lh-ukse-skin i.fas,
body.lh-ukse-skin i.far,
body.lh-ukse-skin i.fal,
body.lh-ukse-skin [class^="fa-"],
body.lh-ukse-skin [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome", sans-serif !important;
}

/* Headings - scoped to prevent parent override */
/* Parent theme sets h1-h6 to 'ligurino_condensedregular' - must use !important */
/* NOTE: Do NOT set color here - let specific heading styles set their own colors */
body.lh-ukse-skin h1,
body.lh-ukse-skin h2,
body.lh-ukse-skin h3,
body.lh-ukse-skin h4,
body.lh-ukse-skin h5,
body.lh-ukse-skin h6 {
    font-family: "proxima-nova", "Proxima Nova", system-ui, -apple-system, sans-serif !important;
    line-height: var(--lh-line-height-heading);
    margin-top: 0;
}

/* Links - scoped to prevent parent override */
body.lh-ukse-skin a {
    color: var(--lh-primary);
    text-decoration: none;
    transition: color var(--lh-transition-fast);
}

body.lh-ukse-skin a:hover,
body.lh-ukse-skin a:focus {
    color: var(--lh-primary-dark);
    text-decoration: underline;
}

/* Buttons - scoped to prevent parent override */
body.lh-ukse-skin button,
body.lh-ukse-skin .button,
body.lh-ukse-skin input[type="submit"],
body.lh-ukse-skin input[type="button"] {
    font-family: var(--lh-font-primary);
    font-size: inherit;
    cursor: pointer;
    border-radius: var(--lh-radius-sm);
    transition: background-color var(--lh-transition-fast),
                border-color var(--lh-transition-fast),
                box-shadow var(--lh-transition-fast);
}

/* Primary button style (opt-in class) */
.lh-btn-primary {
    display: inline-block;
    padding: var(--lh-space-sm) var(--lh-space-lg);
    background-color: var(--lh-primary);
    color: var(--lh-white);
    border: none;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.lh-btn-primary:hover,
.lh-btn-primary:focus {
    background-color: var(--lh-primary-dark);
    color: var(--lh-white);
    text-decoration: none;
}

/* Secondary button style (opt-in class) */
.lh-btn-secondary {
    display: inline-block;
    padding: var(--lh-space-sm) var(--lh-space-lg);
    background-color: transparent;
    color: var(--lh-primary);
    border: 2px solid var(--lh-primary);
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.lh-btn-secondary:hover,
.lh-btn-secondary:focus {
    background-color: var(--lh-primary);
    color: var(--lh-white);
    text-decoration: none;
}

/* ==========================================================================
   M2: Container Utilities
   ========================================================================== */

.lh-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--lh-space-lg);
    padding-right: var(--lh-space-lg);
}

.lh-container-narrow {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--lh-space-lg);
    padding-right: var(--lh-space-lg);
}

.lh-container-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--lh-space-lg);
    padding-right: var(--lh-space-lg);
}

/* Responsive padding - smaller on mobile */
@media (max-width: 768px) {
    .lh-container,
    .lh-container-narrow,
    .lh-container-wide {
        padding-left: var(--lh-space-md);
        padding-right: var(--lh-space-md);
    }
}

/* ==========================================================================
   M2: Button Refinements
   ========================================================================== */

/* Magenta button variant */
.lh-btn-magenta {
    display: inline-block;
    padding: var(--lh-space-sm) var(--lh-space-lg);
    background-color: var(--lh-magenta);
    color: var(--lh-white);
    border: none;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--lh-transition-fast),
                box-shadow var(--lh-transition-fast);
}

.lh-btn-magenta:hover,
.lh-btn-magenta:focus {
    background-color: #c40069; /* Darker magenta */
    color: var(--lh-white);
    text-decoration: none;
}

/* Button size variants */
.lh-btn-sm {
    padding: var(--lh-space-xs) var(--lh-space-md);
    font-size: 0.875rem;
}

.lh-btn-lg {
    padding: var(--lh-space-md) var(--lh-space-xl);
    font-size: 1.125rem;
}

/* Focus-visible for accessibility (keyboard navigation) */
.lh-btn-primary:focus-visible,
.lh-btn-secondary:focus-visible,
.lh-btn-magenta:focus-visible {
    outline: 3px solid var(--lh-primary-light);
    outline-offset: 2px;
}

/* ==========================================================================
   M2: Link Improvements (Scoped)
   ========================================================================== */

body.lh-ukse-skin a:hover,
body.lh-ukse-skin a:focus {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

body.lh-ukse-skin a:focus-visible {
    outline: 2px solid var(--lh-primary);
    outline-offset: 2px;
    border-radius: var(--lh-radius-sm);
}

/* ==========================================================================
   M2: Section Spacing Utilities
   ========================================================================== */

.lh-section {
    padding-top: var(--lh-space-2xl);
    padding-bottom: var(--lh-space-2xl);
}

.lh-section-sm {
    padding-top: var(--lh-space-xl);
    padding-bottom: var(--lh-space-xl);
}

.lh-section-lg {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Responsive section spacing */
@media (max-width: 768px) {
    .lh-section {
        padding-top: var(--lh-space-xl);
        padding-bottom: var(--lh-space-xl);
    }

    .lh-section-sm {
        padding-top: var(--lh-space-lg);
        padding-bottom: var(--lh-space-lg);
    }

    .lh-section-lg {
        padding-top: var(--lh-space-2xl);
        padding-bottom: var(--lh-space-2xl);
    }
}

/* ==========================================================================
   M3: Card Component
   ========================================================================== */

.lh-card {
    background-color: var(--lh-white);
    border: 1px solid var(--lh-grey-200);
    border-radius: var(--lh-radius-md);
    padding: var(--lh-space-lg);
    box-shadow: var(--lh-shadow-sm);
    transition: box-shadow var(--lh-transition-base),
                transform var(--lh-transition-base);
}

/* Flat variant - no shadow */
.lh-card--flat {
    box-shadow: none;
    border-color: var(--lh-grey-300);
}

/* Hover variant - lift effect on hover */
.lh-card--hover:hover {
    box-shadow: var(--lh-shadow-lg);
    transform: translateY(-2px);
}

/* Card with image header */
.lh-card__image {
    margin: calc(-1 * var(--lh-space-lg));
    margin-bottom: var(--lh-space-lg);
    border-radius: var(--lh-radius-md) var(--lh-radius-md) 0 0;
    overflow: hidden;
}

.lh-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.lh-card__title {
    margin-bottom: var(--lh-space-sm);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lh-grey-900);
}

.lh-card__text {
    color: var(--lh-grey-600);
    margin-bottom: var(--lh-space-md);
}

/* ==========================================================================
   M3: Grid Utilities
   ========================================================================== */

.lh-grid {
    display: grid;
    gap: var(--lh-space-lg);
}

/* 2-column grid */
.lh-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3-column grid */
.lh-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4-column grid */
.lh-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Auto-fit responsive grid */
.lh-grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .lh-grid--2,
    .lh-grid--3,
    .lh-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 2 columns for 3+ grids */
@media (min-width: 769px) and (max-width: 1024px) {
    .lh-grid--3,
    .lh-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   M3: Typography Refinements
   ========================================================================== */

/* Heading scale using tokens (opt-in refinements) */
.lh-h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-lg);
}

.lh-h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-md);
}

.lh-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-md);
}

.lh-h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-sm);
}

.lh-h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-sm);
}

.lh-h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: var(--lh-line-height-heading);
    margin-bottom: var(--lh-space-sm);
}

/* Lead paragraph */
.lh-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--lh-grey-700);
}

/* Small/muted text */
.lh-small {
    font-size: 0.875rem;
    color: var(--lh-grey-600);
}

/* Text alignment utilities */
.lh-text-center { text-align: center; }
.lh-text-left { text-align: left; }
.lh-text-right { text-align: right; }

/* Responsive typography */
@media (max-width: 768px) {
    .lh-h1 { font-size: 2rem; }
    .lh-h2 { font-size: 1.625rem; }
    .lh-h3 { font-size: 1.25rem; }
}

/* ==========================================================================
   Child Theme Customisations
   ========================================================================== */

/* ==========================================================================
   Button Polish (Override inherited link styles)
   ========================================================================== */

/* Base button reset - ensure buttons don't inherit link underlines */
.lh-btn-primary,
.lh-btn-secondary,
.lh-btn-magenta,
a.lh-btn-primary,
a.lh-btn-secondary,
a.lh-btn-magenta,
body.lh-ukse-skin a.lh-btn-primary,
body.lh-ukse-skin a.lh-btn-secondary,
body.lh-ukse-skin a.lh-btn-magenta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--lh-radius-sm);
    text-decoration: none;
    transition: background-color var(--lh-transition-fast),
                border-color var(--lh-transition-fast),
                box-shadow var(--lh-transition-fast),
                transform var(--lh-transition-fast);
}

/* Primary button - white text on blue */
.lh-btn-primary,
a.lh-btn-primary,
body.lh-ukse-skin a.lh-btn-primary {
    background-color: var(--lh-primary);
    color: var(--lh-white);
    border: 2px solid var(--lh-primary);
}

.lh-btn-primary:hover,
.lh-btn-primary:focus,
a.lh-btn-primary:hover,
a.lh-btn-primary:focus,
body.lh-ukse-skin a.lh-btn-primary:hover,
body.lh-ukse-skin a.lh-btn-primary:focus {
    background-color: var(--lh-primary-dark);
    border-color: var(--lh-primary-dark);
    color: var(--lh-white);
    text-decoration: none;
}

/* Magenta button - white text on magenta */
.lh-btn-magenta,
a.lh-btn-magenta,
body.lh-ukse-skin a.lh-btn-magenta {
    background-color: var(--lh-magenta);
    color: var(--lh-white);
    border: 2px solid var(--lh-magenta);
}

.lh-btn-magenta:hover,
.lh-btn-magenta:focus,
a.lh-btn-magenta:hover,
a.lh-btn-magenta:focus,
body.lh-ukse-skin a.lh-btn-magenta:hover,
body.lh-ukse-skin a.lh-btn-magenta:focus {
    background-color: #c40069;
    border-color: #c40069;
    color: var(--lh-white);
    text-decoration: none;
}

/* Secondary button - blue text with border, no underline */
.lh-btn-secondary,
a.lh-btn-secondary,
body.lh-ukse-skin a.lh-btn-secondary {
    background-color: transparent;
    color: var(--lh-primary);
    border: 2px solid var(--lh-primary);
}

.lh-btn-secondary:hover,
.lh-btn-secondary:focus,
a.lh-btn-secondary:hover,
a.lh-btn-secondary:focus,
body.lh-ukse-skin a.lh-btn-secondary:hover,
body.lh-ukse-skin a.lh-btn-secondary:focus {
    background-color: var(--lh-primary);
    color: var(--lh-white);
    text-decoration: none;
}

/* Focus-visible states for accessibility */
.lh-btn-primary:focus-visible,
.lh-btn-secondary:focus-visible,
.lh-btn-magenta:focus-visible,
a.lh-btn-primary:focus-visible,
a.lh-btn-secondary:focus-visible,
a.lh-btn-magenta:focus-visible {
    outline: 3px solid var(--lh-primary-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(34, 148, 210, 0.25);
}

/* Small button adjustments */
.lh-btn-sm,
a.lh-btn-sm {
    min-height: 36px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* Large button adjustments */
.lh-btn-lg,
a.lh-btn-lg {
    min-height: 52px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Card Polish
   ========================================================================== */

.lh-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--lh-space-md);
    color: var(--lh-grey-900);
}

.lh-card__text {
    line-height: 1.7;
    color: var(--lh-grey-700);
    margin-bottom: var(--lh-space-lg);
}

/* Ensure card buttons don't inherit odd link styles */
.lh-card a.lh-btn-primary,
.lh-card a.lh-btn-secondary,
.lh-card a.lh-btn-magenta {
    text-decoration: none;
}

.lh-card a.lh-btn-primary:hover,
.lh-card a.lh-btn-secondary:hover,
.lh-card a.lh-btn-magenta:hover {
    text-decoration: none;
}

/* ==========================================================================
   Style Guide Page Only: Neutralise parent theme title banner
   ========================================================================== */

body.page-id-14838 .home_title {
    display: none;
}

/* ==========================================================================
   Home Page: 3-Column Quick Links Section (.section_option)
   ========================================================================== */

/* Section container spacing */
.section_option {
    padding-top: var(--lh-space-xl);
    padding-bottom: var(--lh-space-2xl);
}

/* Blue icon button menu - use brand primary (high specificity) */
.section_option .option_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.section_option .option_menu li {
    margin-bottom: var(--lh-space-sm);
}

.section_option .option_menu li a {
    display: flex;
    align-items: center;
    background-color: var(--lh-primary);
    color: var(--lh-white);
    text-decoration: none;
    border-radius: var(--lh-radius-sm);
    padding: var(--lh-space-sm) var(--lh-space-md);
    transition: background-color var(--lh-transition-fast),
                transform var(--lh-transition-fast);
}

.section_option .option_menu li a:hover,
.section_option .option_menu li a:focus {
    background-color: var(--lh-primary-dark);
    color: var(--lh-white);
    text-decoration: none;
    transform: translateX(4px);
}

.section_option .option_menu a i {
    font-size: 1.75rem;
    width: 2.5rem;
    text-align: center;
    flex-shrink: 0;
}

.section_option .option_menu a span {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: var(--lh-space-sm) 0;
}

/* Image card CTAs - fix white text on colored backgrounds (high specificity) */
.section_option .option_module h3,
.section_option .residence_module h3 {
    color: var(--lh-white) !important;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.03em;
    margin: 0;
    padding: var(--lh-space-md) var(--lh-space-lg);
    transition: filter var(--lh-transition-fast);
}

.option_module a:hover h3,
.option_module a:focus h3,
.residence_module a:hover h3,
.residence_module a:focus h3 {
    filter: brightness(0.9);
}

/* Ensure card images have consistent aspect ratio */
.option_module img,
.residence_module img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card container polish */
.option_module,
.residence_module {
    border-radius: var(--lh-radius-md);
    overflow: hidden;
    box-shadow: var(--lh-shadow-sm);
    transition: box-shadow var(--lh-transition-base),
                transform var(--lh-transition-base);
}

.option_module:hover,
.residence_module:hover {
    box-shadow: var(--lh-shadow-md);
    transform: translateY(-2px);
}

/* ==========================================================================
   LH Header (UKSE port) — Top Bar + Sticky Nav + Mobile Drawer
   ========================================================================== */

/* ---------------------------------------------------------------------
   CSS Custom Properties for Navigation
   --------------------------------------------------------------------- */

:root {
    /* Container widths (UKSE-style) */
    --lh-wrap-base-width: 80%;
    --lh-wrap-desktop-width: 85%;
    --lh-wrap-wide-width: 96%;
    --lh-grid-max-width: 1200px;

    /* Navigation z-index */
    --lh-nav-toggle-size: 48px;
    --lh-header-z: 9999;
    --lh-overlay-z: 1350;
    --lh-drawer-z: 1400;
    --lh-topbar-z: 1000;

    /* Navigation colors */
    --lh-nav-text: rgba(0, 0, 50, 0.6);
    --lh-nav-hover: var(--lh-primary);
}

/* ---------------------------------------------------------------------
   Container (.wrap) - UKSE responsive widths
   --------------------------------------------------------------------- */

.header .wrap,
.header_bottom .wrap {
    width: var(--lh-wrap-wide-width); /* 96% at ≥1030px */
    max-width: var(--lh-grid-max-width); /* 1200px */
    margin: 0 auto;
}

@media (max-width: 1029px) {
    .header .wrap,
    .header_bottom .wrap {
        width: var(--lh-wrap-desktop-width); /* 85% */
    }
}

@media (max-width: 767px) {
    .header .wrap,
    .header_bottom .wrap {
        width: var(--lh-wrap-base-width); /* 80% */
    }
}

/* ---------------------------------------------------------------------
   Header Bottom (Logo + Nav row) - UKSE layout
   --------------------------------------------------------------------- */

.header_bottom {
    display: block;
    min-height: 132px; /* UKSE: 132px - creates ~25px bottom gap implicitly */
    padding: 30px 0 0 0; /* UKSE: 30px top only */
    background-color: #ffffff;
}

.header_bottom .grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end; /* KEY: logo & nav baseline-align */
    flex-wrap: wrap;
    gap: 24px; /* UKSE: 24px */
}

/* Logo column */
.header_bottom .grid__item:first-child {
    display: block;
    flex: 0 0 auto; /* doesn't grow/shrink */
    width: auto;
}

/* Nav column */
.header_bottom .grid__item:last-child {
    display: block;
    flex: 1 1 auto; /* fills remaining space */
    width: auto;
}

/* ---------------------------------------------------------------------
   Top Bar
   --------------------------------------------------------------------- */

.top-bar {
    background-color: var(--lh-primary-dark);
    color: var(--lh-white);
    padding: 0.35rem 0;
    font-size: 0.9rem; /* UKSE: 14.4px */
    position: relative;
    z-index: var(--lh-topbar-z);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar__left,
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lh-white);
    text-decoration: none;
    transition: opacity var(--lh-transition-fast);
}

body.lh-ukse-skin .top-bar__contact-link:hover,
body.lh-ukse-skin .top-bar__contact-link:focus {
    color: var(--lh-magenta); /* Magenta on hover */
    text-decoration: none;
}

.top-bar__contact-link i {
    font-size: 0.875rem;
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar__social a {
    color: var(--lh-white);
    font-size: 1rem;
    transition: opacity var(--lh-transition-fast);
}

body.lh-ukse-skin .top-bar__social a:hover,
body.lh-ukse-skin .top-bar__social a:focus {
    color: var(--lh-magenta); /* Magenta on hover */
    text-decoration: none;
}

/* Top bar hidden when sticky */
.top-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   Language Dropdown (Desktop - in Top Bar)
   --------------------------------------------------------------------- */

.top-bar .language_option {
    position: relative;
}

.top-bar .language_option button[data-header-language-toggle] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: none;
    color: var(--lh-white);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--lh-radius-sm);
    transition: background-color var(--lh-transition-fast);
}

.top-bar .language_option button[data-header-language-toggle]:hover,
.top-bar .language_option button[data-header-language-toggle]:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-bar .language_option .header-language-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.top-bar .language_option .header-language-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.top-bar .language_option button[aria-expanded="true"] .header-language-icon {
    transform: rotate(180deg);
}

.top-bar .language_option ul[data-header-language-menu] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: var(--lh-white);
    border-radius: var(--lh-radius-sm);
    box-shadow: var(--lh-shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 140px;
    z-index: 1001;
}

.top-bar .language_option .header-language-option {
    margin: 0;
}

.top-bar .language_option .header-language-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--lh-grey-800);
    text-decoration: none;
    transition: background-color var(--lh-transition-fast);
}

.top-bar .language_option .header-language-link:hover,
.top-bar .language_option .header-language-link:focus {
    background-color: var(--lh-grey-100);
    color: var(--lh-primary);
    text-decoration: none;
}

.top-bar .language_option .header-language-option.is-active .header-language-link {
    background-color: var(--lh-grey-100);
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   Header Base & Sticky
   --------------------------------------------------------------------- */

.header {
    position: relative;
    background-color: var(--lh-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ready state - JS initialized */
.header.sticky-nav-ready {
    will-change: transform;
}

/* Sticky state */
.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--lh-header-z);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

/* Header hidden on scroll down */
body.header-hidden .header {
    transform: translateY(-100%);
}

/* Body padding when sticky */
body.header-sticky {
    /* JS sets this dynamically, but provide fallback */
}

/* Sticky logo shrink */
.header.sticky .logo img {
    max-height: 58px;
    transition: max-height 0.3s ease;
}

/* Header bottom sizing adjustments when sticky */
.header.sticky .header_bottom {
    min-height: 82px;
    padding: 16px 0 12px;
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------------------------------------------------------------------
   Desktop Navigation (UKSE-style)
   --------------------------------------------------------------------- */

.header_nav {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 0;
    padding: 8px 0 !important; /* UKSE: 8px 0 */
    background: #ffffff !important;
    float: right; /* legacy; flex overrides */
}

/* Logo sizing - UKSE: max-height 77px */
.header .logo img {
    max-height: 77px;
}

.header_nav ul.nav,
.header_nav .nav.top-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 0;
    height: 44px;
    border-top: 1px solid rgb(224, 224, 224); /* UKSE: top border */
    border-bottom: 1px solid rgb(224, 224, 224); /* UKSE: bottom border */
    background-color: #ffffff; /* UKSE: white background */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px 0px; /* UKSE: subtle shadow */
}

.header_nav .nav.top-nav > li,
.header_nav ul.nav > li {
    display: inline-flex !important; /* UKSE: inline-flex */
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    position: relative;
}

.header_nav .nav.top-nav > li > a,
.header_nav ul.nav > li > a {
    display: block;
    position: relative;
    padding: 12px 16px 14px; /* UKSE: 12px sides 16px, bottom 14px */
    margin: 0;
    color: var(--lh-nav-text); /* UKSE: rgba(0, 0, 50, 0.6) */
    background: transparent !important; /* Override parent theme #eee */
    font-family: 'proxima-nova', sans-serif;
    font-size: 13px !important; /* UKSE: 13px */
    font-weight: 600; /* UKSE: 600 semibold */
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0; /* UKSE: 0 */
    line-height: 1.2;
    height: 42px;
    box-sizing: border-box;
    transition: color 0.3s ease !important;
}

/* Animated gradient underline */
.header_nav .nav.top-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #EE7218 0%, #E6007E 50%, #6ACAF3 100%);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.header_nav .nav.top-nav > li > a:hover,
.header_nav .nav.top-nav > li > a:focus,
.header_nav ul.nav > li > a:hover,
.header_nav ul.nav > li > a:focus {
    color: #000032 !important; /* Full navy on hover (not blue) */
    text-decoration: none !important;
}

/* CTA hover - magenta text */
.header_nav .nav.top-nav > li:last-child > a:hover,
.header_nav .nav.top-nav > li:last-child > a:focus {
    color: #E6007E !important; /* Magenta for CTA hover */
}

.header_nav .nav.top-nav > li > a:hover::after {
    transform: scaleX(0.5); /* 50% width preview on hover */
}

/* Focus state for accessibility */
.header_nav .nav.top-nav > li > a:focus-visible {
    outline: 2px solid #6ACAF3;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Current/active page - full underline */
.header_nav .nav.top-nav > li.current-menu-item > a,
.header_nav .nav.top-nav > li.current_page_item > a {
    color: #000032;
}

.header_nav .nav.top-nav > li.current-menu-item > a::after,
.header_nav .nav.top-nav > li.current_page_item > a::after {
    transform: scaleX(1); /* Full width for current page */
}

/* CTA link (last nav item) - UKSE style: transparent bg, dark text, glow */
.header_nav .nav.top-nav > li:last-child > a {
    border-radius: 9999px; /* Pill shape */
    box-shadow: rgba(230, 0, 126, 0.45) 0px 0px 12px 0px; /* Magenta glow */
    background: transparent; /* UKSE: transparent in normal state */
    color: rgb(0, 0, 50); /* UKSE: dark navy text */
    font-weight: 700;
    padding: 0.65rem 1.4rem;
}

/* CTA hover - UKSE style: orange text, enhanced glow, transparent bg */
.header_nav .nav.top-nav > li:last-child > a:hover,
.header_nav .nav.top-nav > li:last-child > a:focus {
    background: transparent;
    color: rgb(238, 114, 24); /* UKSE: orange text on hover */
    box-shadow: rgba(230, 0, 126, 0.6) 0px 0px 18px 0px;
    opacity: 0.9;
}

/* No underline on CTA */
.header_nav .nav.top-nav > li:last-child > a::after {
    display: none;
}

/* ---------------------------------------------------------------------
   Header Controls (Hamburger + CTA)
   --------------------------------------------------------------------- */

.header_controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger button */
.menu_icon.nav-toggle {
    display: none; /* Hidden on desktop */
    width: var(--lh-nav-toggle-size);
    height: var(--lh-nav-toggle-size);
    min-height: 48px;
    padding: 0;
    background: var(--lh-magenta); /* UKSE: rgb(230, 0, 126) */
    border: none;
    cursor: pointer;
    position: relative;
    z-index: var(--lh-topbar-z);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: var(--lh-radius-sm);
}

.menu_icon.nav-toggle .nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--lh-white); /* White on magenta background */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger to X animation when open */
body.mobile-nav-open .menu_icon.nav-toggle .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mobile-nav-open .menu_icon.nav-toggle .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

body.mobile-nav-open .menu_icon.nav-toggle .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------------
   Mobile Navigation Overlay
   --------------------------------------------------------------------- */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 50, 0);
    z-index: var(--lh-overlay-z);
    pointer-events: none;
    transition: background-color 0.4s ease;
}

.mobile-nav-overlay.active {
    background: rgba(0, 0, 50, 0.8);
    pointer-events: auto;
}

/* ---------------------------------------------------------------------
   Mobile Navigation Drawer
   --------------------------------------------------------------------- */

.site_navigation.mob {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px; /* UKSE: 420px */
    height: 100%;
    background: var(--lh-primary-dark);
    color: var(--lh-white);
    z-index: var(--lh-drawer-z);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -12px 0 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site_navigation.mob.is-open {
    transform: translateX(0);
}

/* Mobile nav header */
.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
    width: var(--lh-nav-toggle-size);
    height: var(--lh-nav-toggle-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--lh-white);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--lh-radius-sm);
    transition: background-color var(--lh-transition-fast);
}

.mobile-nav-close:hover,
.mobile-nav-close:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile nav scrollable area */
.mobile-nav-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Mobile language switcher */
.mobile-lang-switcher {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile nav sections */
.mobile-nav-section {
    margin-bottom: 1.5rem;
}

/* Mobile primary menu */
.mobile-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-primary-menu li {
    margin: 0;
}

.mobile-primary-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--lh-white);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left var(--lh-transition-fast);
}

.mobile-primary-menu a:hover,
.mobile-primary-menu a:focus {
    padding-left: 0.5rem;
    color: var(--lh-white);
    text-decoration: none;
}

/* Mobile submenu */
.mobile-primary-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
}

.mobile-primary-menu .sub-menu a {
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* Mobile sites menu */
.mobile-sites-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-sites-menu li {
    margin-bottom: 0.5rem;
}

.mobile-sites-menu a {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lh-white);
    text-decoration: none;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    transition: background-color var(--lh-transition-fast);
}

.mobile-sites-menu a:hover,
.mobile-sites-menu a:focus {
    background: rgba(255, 255, 255, 0.2);
    color: var(--lh-white);
    text-decoration: none;
}

/* Mobile contact */
.mobile-contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--lh-white);
    text-decoration: none;
    font-size: 0.9375rem;
}

.mobile-contact__link:hover,
.mobile-contact__link:focus {
    color: var(--lh-white);
    opacity: 0.9;
    text-decoration: none;
}

.mobile-contact__link i {
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
}

/* Body scroll lock when mobile nav open */
body.mobile-nav-open {
    overflow: hidden;
}

/* Header z-index adjustment when mobile nav open */
body.mobile-nav-open .header {
    z-index: 997;
}

/* ---------------------------------------------------------------------
   Responsive Breakpoints
   --------------------------------------------------------------------- */

/* Mobile: <=767px */
@media (max-width: 767px) {
    /* Show hamburger */
    .menu_icon.nav-toggle {
        display: flex;
    }

    /* Hide desktop nav */
    .header_nav {
        display: none;
    }

    /* Hide desktop mega menu */
    .site_navigation.desk {
        display: none;
    }

    /* Top bar adjustments */
    .top-bar__contact-link span {
        display: none; /* Show icon only */
    }

    .top-bar__inner {
        justify-content: flex-end;
    }

    .top-bar__left {
        display: none; /* Hide contact on mobile - shown in drawer */
    }

    /* Header always fixed on mobile */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--lh-header-z);
    }

    /* Body padding for fixed header - UKSE: 64px */
    body.lh-ukse-skin {
        padding-top: 64px;
    }

    /* Header bottom sizing - UKSE: 64px mobile header */
    .header_bottom {
        min-height: auto;
        padding: 8px 16px;
    }

    /* Mobile grid: horizontal flex layout for logo + hamburger */
    .header_bottom .grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header_bottom .grid__item {
        display: block;
        width: auto;
        float: none;
    }

    .header_bottom .grid__item:first-child {
        flex: 0 0 auto;
    }

    .header_bottom .grid__item:last-child {
        flex: 0 0 auto;
        margin-left: auto;
    }

    /* Top bar hidden on mobile for smaller header */
    .top-bar {
        display: none;
    }

    /* Logo sizing */
    .header .logo img {
        max-height: 44px;
    }

    /* Fix hamburger positioning */
    .header_controls {
        margin: 0;
    }

    .menu_icon.nav-toggle {
        margin: 0;
    }
}

/* Large desktop nav: 1025px - 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
    .header_nav .nav.top-nav > li > a,
    .header_nav ul.nav > li > a {
        font-size: 12px !important; /* UKSE: 12px at ≤1200px */
        padding: 6px 10px; /* UKSE: tighter padding */
    }
}

/* Tablet: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tighter nav padding - UKSE responsive */
    .header_nav .nav.top-nav > li > a,
    .header_nav ul.nav > li > a {
        font-size: 11px !important; /* UKSE: 11px at ≤1024px */
        padding: 5px 8px; /* UKSE: tighter padding */
    }

    /* Body padding when sticky (tablet) */
    body.header-sticky {
        padding-top: 76px;
    }
}

/* Desktop: >=768px */
@media (min-width: 768px) {
    /* Hide hamburger */
    .menu_icon.nav-toggle {
        display: none;
    }

    /* Show desktop nav */
    .header_nav {
        display: block;
    }

    /* Hide mobile nav completely */
    .site_navigation.mob {
        display: none;
    }

    .mobile-nav-overlay {
        display: none;
    }
}

/* Large desktop: >=1025px */
@media (min-width: 1025px) {
    /* Ensure mobile elements are hidden */
    .site_navigation.mob,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Hide legacy header_top (parent theme) */
.lh-ukse-skin .header_top {
    display: none;
}

/* Hide legacy mobile site_navigation (parent theme style) */
.lh-ukse-skin .site_navigation.mob .megamenu {
    display: none;
}

/* ---------------------------------------------------------------------
   Partner Bar (UKSE-style)
   --------------------------------------------------------------------- */

.partner-bar {
    background-color: rgb(245, 245, 247);
    border-bottom: 1px solid rgb(226, 227, 234);
    height: 43px;
    padding: 0;
}

.partner-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    height: 100%;
}

.partner-bar__label {
    color: rgb(91, 94, 111);
    font-size: 12.8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.024px;
}

.partner-bar__logos {
    display: flex;
    gap: 12px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-bar__logos li {
    display: flex;
    align-items: center;
}

.partner-bar__logos img {
    height: 30px;
    width: auto;
}

.partner-bar__link {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.partner-bar__link:hover,
.partner-bar__link:focus {
    opacity: 0.8;
    text-decoration: none;
}

/* Hide partner bar on mobile */
@media (max-width: 767px) {
    .partner-bar {
        display: none;
    }
}

/* Hide partner bar when sticky */
.header.sticky + .partner-bar,
body.header-sticky .partner-bar {
    display: none;
}

/* ---------------------------------------------------------------------
   WPML Language Dropdown - Dark Navy Background (UKSE-style)
   --------------------------------------------------------------------- */

/* Desktop dropdown in top-bar */
.top-bar .language_option ul[data-header-language-menu] {
    background-color: rgb(0, 0, 50) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 18px 0px !important;
    padding: 4px 0 !important;
}

.top-bar .language_option .header-language-option {
    background-color: rgb(0, 0, 50);
}

.top-bar .language_option .header-language-link {
    color: var(--lh-white) !important;
    background-color: rgb(0, 0, 50) !important;
    padding: 6px 12px !important;
    font-size: 14px;
}

.top-bar .language_option .header-language-link:hover,
.top-bar .language_option .header-language-link:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--lh-primary) !important; /* Blue on hover */
}

.top-bar .language_option .header-language-option.is-active .header-language-link {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--lh-primary) !important; /* Blue for active */
}

/* ==========================================================================
   LH Footer (UKSE-style port)
   ========================================================================== */

/* ---------------------------------------------------------------------
   0. Global Overflow Fix
   --------------------------------------------------------------------- */

/* Prevent horizontal scrollbar from carousel overflow */
body.lh-ukse-skin,
body.lh-ukse-skin #container {
    overflow-x: hidden;
}

/* ---------------------------------------------------------------------
   0.5 Testimonials Section (UKSE Splide Parity)
   --------------------------------------------------------------------- */

/* Section Container */
.section_testimonial {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Heading with Magenta Underline Bar (UKSE Style) */
html body .section_testimonial h2 {
    font-family: var(--lh-font-heading) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--lh-primary-dark, #000032) !important;
    text-align: center !important;
    margin: 40px 0 30px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    background: none !important;
    text-transform: none !important;
}

html body .section_testimonial h2::after {
    content: '' !important;
    display: block !important;
    width: 300px !important;
    height: 4px !important;
    background: var(--lh-magenta, #E6007E) !important;
    margin: 15px auto 0 !important;
}

.section_testimonial h2 span {
    display: none;
}

/* Carousel Track */
.home-testimonials__carousel .splide__track {
    padding: 16px 0 24px;
    overflow: clip visible;
}

.home-testimonials__carousel .splide__slide {
    display: flex;
    justify-content: center;
}

/* Testimonial Card (Item) - Grid Layout */
.home-testimonials__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

/* Author Image - Circular with Shadow */
.home-testimonials__item .author_image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 50, 0.12);
}

.home-testimonials__item .author_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial Content & Author Name */
.home-testimonials__item .testimonial_cont {
    font-size: 0.95rem;
    line-height: 1.6;
}

.home-testimonials__item .testimonial_cont span {
    display: block;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 10px;
}

/* Arrows (Hidden - UKSE uses pagination only) */
.home-testimonials__carousel .splide__arrows {
    display: none;
}

/* Pagination Dots (Magenta active) */
.home-testimonials__carousel .splide__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: static;
}

.home-testimonials__carousel .splide__pagination__page {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 50, 0.15);
    border: none;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-testimonials__carousel .splide__pagination__page.is-active,
.home-testimonials__carousel .splide__pagination__page:hover,
.home-testimonials__carousel .splide__pagination__page:focus-visible {
    background: var(--lh-magenta, #E6007E);
    transform: scale(1.15);
}

/* Responsive (Mobile ≤640px) */
@media (max-width: 640px) {
    .home-testimonials__item {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
    }

    .home-testimonials__item .author_image {
        justify-self: center;
        width: 80px;
        height: 80px;
    }

    .home-testimonials__carousel .splide__pagination {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   1. Blog Slider Section
   --------------------------------------------------------------------- */

.section_latest_blog.lh-blog-slider {
    background-color: #ffffff;
    padding: var(--lh-space-2xl) 0;
    position: relative;
    z-index: 1;
}

/* Blog title - UKSE Style */
/* Higher specificity + !important to override parent's .section_latest_blog h2 { letter-spacing: 0px } */
body.lh-ukse-skin .blog-slider__title,
.blog-slider__title {
    font-family: proxima-nova, "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px !important;
    text-transform: none;
    color: #000032; /* Navy - UKSE style */
    text-align: center;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
    position: relative;
    display: block;
    background: none;
    border: none;
}

/* Underline - magenta accent */
.blog-slider__title::after {
    content: "";
    display: block;
    width: 300px;
    height: 4px;
    background: #E6007E; /* Magenta */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Blog slide card - UKSE exact specs */
.blog_slide {
    background: #ffffff;
    width: 370px; /* UKSE: 370px */
    max-width: 370px; /* UKSE: 370px */
    height: 450px; /* Fixed height for uniform cards with button padding */
    margin: 0 15px; /* UKSE: 0 15px */
    padding: 30px; /* UKSE: 30px */
    border-radius: 12px; /* UKSE: 12px */
    border: 1px solid rgba(0, 0, 50, 0.05); /* UKSE: subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 50, 0.1); /* UKSE: simpler shadow */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* UKSE: space-between */
    text-align: start; /* UKSE: start (left) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Contain content within fixed height */
}

.blog_slide:hover {
    transform: translateY(-5px); /* UKSE: -5px */
    box-shadow: 0 8px 25px rgba(0, 0, 50, 0.15); /* UKSE: enhanced shadow */
    background: #ffffff !important; /* Override parent brand.css blue bg */
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 50, 0.05) !important; /* Keep subtle border */
}

/* Override parent theme button hover on card hover */
.blog_slide:hover a.blog-button,
.blog_slide:hover .blog-button {
    background: linear-gradient(135deg, #2294D2 0%, #1a7ab8 100%) !important; /* Keep LH blue */
    color: #ffffff !important; /* Keep white text */
    border-color: #2294D2 !important;
}

.blog_slide__date {
    display: block;
    font-size: 12px; /* UKSE: 12px */
    font-weight: 600; /* UKSE: 600 */
    color: var(--lh-grey-600);
    margin-bottom: var(--lh-space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog_slide__title {
    font-size: 24.8px; /* UKSE: 24.8px */
    font-weight: 700; /* UKSE: 700 */
    color: #000032; /* UKSE: navy */
    text-align: center; /* UKSE: center */
    letter-spacing: 0.5px; /* UKSE: 0.5px */
    margin: 0 0 18px 0; /* UKSE: 0 0 18px 0 */
    line-height: 1.35; /* UKSE: ~33.48px/24.8px */
    position: relative;
    padding-bottom: 20px;
}

/* UKSE: Title magenta separator line */
.blog_slide__title::after {
    content: "";
    display: block;
    width: 300px;
    max-width: 100%;
    height: 4px;
    background: #E6007E;
    margin: 15px auto 0;
    border-radius: 2px;
}

.blog_slide__excerpt {
    font-size: 14px; /* UKSE: 14px */
    color: #495057; /* UKSE: #495057 */
    line-height: 1.6;
    margin-bottom: 20px; /* UKSE: 20px */
    flex: 1; /* UKSE: fills available space */
}

.blog_slide .blog-button {
    display: block; /* UKSE: block */
    align-self: flex-start; /* UKSE: left-aligned */
    margin-top: auto; /* UKSE: push to bottom */
    padding: 12px 20px;
    background: linear-gradient(135deg, #2294D2 0%, #1a7ab8 100%); /* LH blue gradient */
    color: #ffffff;
    font-size: 14px; /* UKSE: 14px */
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase; /* UKSE: uppercase */
    letter-spacing: 0.5px; /* UKSE: 0.5px */
    text-align: center; /* UKSE: text-align center */
    border-radius: 8px;
    border: 2px solid #2294D2; /* LH blue border */
    transition: all 0.3s ease;
}

.blog_slide .blog-button:hover,
.blog_slide .blog-button:focus,
.blog_slide:hover .blog-button:hover,
.blog_slide:hover .blog-button:focus {
    background: transparent !important; /* Button hover: transparent */
    color: #2294D2 !important; /* Button hover: LH blue text */
    transform: translateY(-2px);
    text-decoration: none !important;
    border-color: #2294D2 !important;
}

/* Splide carousel container - ensure pagination sits below */
.section_latest_blog .splide {
    padding-bottom: 60px; /* Space for pagination below cards */
    position: relative;
}

.section_latest_blog .splide__track {
    overflow: hidden; /* Contain the carousel */
    padding: 10px 0; /* Padding for hover transform */
}

/* Ensure splide list stays in single row - override any inherited wrap */
.section_latest_blog .splide__list {
    flex-wrap: nowrap !important;
}

/* Contain the section to prevent horizontal page scroll */
.section_latest_blog.lh-blog-slider {
    overflow-x: hidden;
}

/* Splide pagination - positioned below cards */
.section_latest_blog .splide__pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    gap: 10px; /* UKSE: 10px */
}

.section_latest_blog .splide__pagination__page {
    width: 12px; /* UKSE: 12px */
    height: 12px; /* UKSE: 12px */
    background: rgba(0, 0, 50, 0.15);
    border-radius: 50%;
    margin: 0; /* Reset margin, using gap on parent */
    transition: background-color var(--lh-transition-fast), transform var(--lh-transition-fast);
}

.section_latest_blog .splide__pagination__page.is-active {
    background: #e6007e;
    transform: scale(1.15); /* UKSE: 1.15 */
}

/* Splide arrows - if enabled, position below cards */
.section_latest_blog .splide__arrows {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.section_latest_blog .splide__arrow {
    position: static;
    transform: none;
}

/* ---------------------------------------------------------------------
   2. Partners Logo Strip
   --------------------------------------------------------------------- */

.partners-section.lh-partners-strip {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: none;
    border-bottom: none;
}

.partners-section.lh-partners-strip .wrap,
.partners-section .wrap,
.lh-partners-strip .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px !important; /* UKSE: 12px vertical */
    display: flex !important; /* UKSE: flex */
    justify-content: space-evenly !important; /* UKSE: space-evenly */
    align-items: center !important; /* UKSE: center */
    gap: 32px !important; /* UKSE: 32px */
    flex-wrap: wrap;
}

/* Partner logos - evenly distributed across full width */
.partner-logos-fallback {
    display: flex;
    justify-content: space-evenly; /* UKSE: space-evenly */
    align-items: center;
    flex-wrap: wrap;
    gap: 32px; /* UKSE: 32px */
    padding: 12px 0; /* UKSE: 12px 0 */
}

.partner-logos-fallback .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--lh-transition-fast);
}

.partner-logos-fallback .partner-logo:hover {
    opacity: 0.7;
}

.partner-logos-fallback .partner-logo img {
    height: 45px;
    width: auto;
    max-width: 140px;
    max-height: 50px; /* UKSE: 50px */
    object-fit: contain;
}

/* Widget-based partner logos (if using widget instead of fallback) */
.partners-section.lh-partners-strip .widget,
.widget_partners_logo_widget {
    display: flex !important; /* UKSE: flex */
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: wrap;
}

.partners-section.lh-partners-strip .widget img,
.partners-section img,
.lh-partners-strip img {
    height: 45px;
    width: auto;
    max-width: 140px;
    max-height: 50px !important; /* UKSE: 50px */
    object-fit: contain;
    vertical-align: middle;
}

/* ---------------------------------------------------------------------
   3. Skyline Divider
   --------------------------------------------------------------------- */

.footer_skyline.lh-skyline {
    height: 120px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* ---------------------------------------------------------------------
   4. Footer Base
   --------------------------------------------------------------------- */

.footer.lh-enhanced-footer {
    background-color: var(--lh-primary-dark);
    color: var(--lh-white);
}

/* ---------------------------------------------------------------------
   5. Footer Mega Menu (Service Panels)
   --------------------------------------------------------------------- */

/* Footer Mega Menu - UKSE Style */
.footer-mega-menu {
    display: block;
    padding: 60px 0 40px;
    border-bottom: 2px solid rgba(238, 114, 24, 0.2); /* UKSE: orange tint */
    background: linear-gradient(#000000 0%, #000032 100%) !important;
}

.footer-mega-menu .wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch; /* KEY: equal height panels */
    justify-content: normal;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Service panel base - UKSE Style */
.footer-service-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 23px); /* UKSE exact calc */
    min-width: 220px;
    box-sizing: border-box;
    padding: 0 0 0 20px;
    background: transparent;
    border-left: 4px solid var(--lh-primary);
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.footer-service-panel:hover {
    background: transparent;
}

/* Panel title - UKSE Style */
/* min-height ensures alignment even with text wrapping */
.footer-service-panel .service-panel-title {
    display: flex;
    align-items: flex-start; /* UKSE: flex-start */
    justify-content: space-between;
    min-height: 58.24px; /* KEY: fixed min-height for alignment */
    width: 100%;
    padding: 0;
    margin: 0 0 15px 0; /* UKSE: 15px bottom */
    background: transparent;
    border: none;
    color: var(--lh-white);
    font-size: 20.8px; /* UKSE: 20.8px */
    font-weight: 700;
    line-height: 27.04px; /* UKSE: 27.04px */
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: default;
}

/* Panel title brand colors */
.footer-service-panel.london-homestays .service-panel-title {
    color: #2294d2;
}

.footer-service-panel.study-english .service-panel-title {
    color: #ee7218;
}

.footer-service-panel.uk-residences .service-panel-title {
    color: #b1cb0c;
}

.footer-service-panel.guardianship .service-panel-title {
    color: #e6007e;
}

/* Accordion icon - hidden on desktop */
.footer-service-panel .accordion-icon {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.footer-service-panel .accordion-icon::before,
.footer-service-panel .accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--lh-white);
    transition: transform 0.3s ease;
}

.footer-service-panel .accordion-icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-service-panel .accordion-icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Panel content - UKSE Style */
.footer-service-panel .service-panel-content {
    display: flex;
    flex-direction: column;
    gap: 16px; /* UKSE: 16px */
    height: 100%; /* KEY: fills remaining panel height */
}

/* Service logo - UKSE Style */
/* Fixed height container ensures alignment */
.footer-service-panel .service-logo {
    max-width: 180px;
    height: 55px; /* KEY: fixed height for alignment */
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* UKSE: 8px */
}

.footer-service-panel .service-logo-image {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Service links - UKSE style */
/* Container reset */
.footer-service-panel .service-links,
.footer-service-panel .service-links li {
    list-style: none !important;
}

/* Container */
.footer-service-panel .service-links {
    margin: 0 0 25px !important;
    padding: 0 !important;
    flex: 1 1 0% !important;
}

/* List items */
.footer-service-panel .service-links li {
    margin: 0 0 8px !important;
    padding: 0 !important;
}

.footer-service-panel .service-links li::before {
    content: none !important;
    display: none !important;
}

/* Links - Normal */
.footer-service-panel .service-links a {
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 22.4px !important;
    text-decoration: none !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

/* Links - Hover (slide-right effect + light blue) */
.footer-service-panel .service-links a:hover,
.footer-service-panel .service-links a:focus {
    color: #6ACAF3 !important;
    border-bottom-color: rgba(106, 202, 243, 0.3) !important;
    padding-left: 8px !important;
    text-decoration: none !important;
}

/* Service CTA button - LH Style */
/* Normal: transparent bg, brand border, LH blue text */
/* Hover: transparent bg, brand text, translateY(-2px) */
.footer-service-panel .service-panel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: #2294D2; /* LH blue text for all in normal state */
    border: 2px solid #2294D2; /* Default border (London Homestays) */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.footer-service-panel .service-panel-cta:hover,
.footer-service-panel .service-panel-cta:focus {
    background: transparent;
    text-decoration: none;
    transform: translateY(-2px);
}

/* CTA button brand-colored borders per panel */
/* Normal: brand border, LH blue text */
/* Hover: brand text */

/* London Homestays - Blue */
.footer-service-panel.london-homestays .service-panel-cta {
    border-color: #2294D2;
}

.footer-service-panel.london-homestays .service-panel-cta:hover,
.footer-service-panel.london-homestays .service-panel-cta:focus {
    color: #2294D2;
}

/* Study English - Orange */
.footer-service-panel.study-english .service-panel-cta {
    border-color: #EE7218;
}

.footer-service-panel.study-english .service-panel-cta:hover,
.footer-service-panel.study-english .service-panel-cta:focus {
    color: #EE7218;
}

/* UK Residences - Lime */
.footer-service-panel.uk-residences .service-panel-cta {
    border-color: #B1CB0C;
}

.footer-service-panel.uk-residences .service-panel-cta:hover,
.footer-service-panel.uk-residences .service-panel-cta:focus {
    color: #B1CB0C;
}

/* Guardianship - Magenta */
.footer-service-panel.guardianship .service-panel-cta {
    border-color: #E6007E;
}

.footer-service-panel.guardianship .service-panel-cta:hover,
.footer-service-panel.guardianship .service-panel-cta:focus {
    color: #E6007E;
}

/* Panel brand colour variants */
.footer-service-panel.london-homestays {
    border-left-color: var(--lh-primary); /* Blue */
}

.footer-service-panel.study-english {
    border-left-color: #EE7218; /* Orange */
}

.footer-service-panel.uk-residences {
    border-left-color: #B1CB0C; /* Green */
}

.footer-service-panel.guardianship {
    border-left-color: var(--lh-magenta); /* Magenta */
}

/* ---------------------------------------------------------------------
   6. Footer Top (Useful Information Widget)
   --------------------------------------------------------------------- */

.footer-top {
    background: rgba(0, 0, 50, 0.8); /* UKSE: semi-transparent overlay */
    padding: 40px 0; /* UKSE: 40px 0 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top__widget {
    text-align: left; /* UKSE: left aligned to wrap */
}

/* Footer widget titles - UKSE: white */
.footer-top .widget-title,
.footer-top h2,
.footer-top h3,
.footer-top h4,
.footer-top .textwidget h2,
.footer-top .textwidget h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* UKSE: 0.5px */
    margin-bottom: 20px; /* UKSE: 20px */
    text-align: left; /* UKSE: left aligned */
}

/* Footer widget list styling - remove bullets, left aligned */
.footer-top .widget ul,
.footer-top ul {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0 !important;
    padding-left: 0 !important;
    text-align: left !important; /* UKSE: left aligned */
}

.footer-top .widget ul li,
.footer-top ul li {
    list-style: none !important;
    list-style-type: none !important; /* UKSE: no bullets */
    margin-bottom: 0; /* UKSE: 0 */
    padding-left: 0 !important;
}

/* Footer widget links - white */
.footer-top .widget ul li a,
.footer-top ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500 !important; /* UKSE: 500 */
    text-decoration: none;
    transition: color var(--lh-transition-fast);
}

.footer-top .widget ul li a:hover,
.footer-top .widget ul li a:focus {
    color: #ffffff;
    text-decoration: underline;
}

/* Menu sitemap - blue links with magenta hover */
.footer-top .menu-sitemap a,
.footer-top .widget_nav_menu a,
.footer-top__widget .menu a {
    color: var(--lh-primary) !important; /* LH blue */
    text-decoration: none;
}

.footer-top .menu-sitemap a:hover,
.footer-top .menu-sitemap a:focus,
.footer-top .widget_nav_menu a:hover,
.footer-top .widget_nav_menu a:focus,
.footer-top__widget .menu a:hover,
.footer-top__widget .menu a:focus {
    color: #e6007e !important; /* Magenta on hover */
    text-decoration: underline;
}

/* Footer column paragraphs - left aligned */
.footer-top .footer-column p,
.footer-top__widget .footer-column p,
.footer-top .textwidget p,
.footer-top__widget p {
    text-align: left !important;
}

/* Footer column links - magenta hover */
.footer-top .footer-column a,
.footer-top__widget .footer-column a,
.footer-top .textwidget a,
.footer.lh-enhanced-footer .footer-top a {
    transition: color var(--lh-transition-fast);
}

.footer-top .footer-column a:hover,
.footer-top .footer-column a:focus,
.footer-top__widget .footer-column a:hover,
.footer-top__widget .footer-column a:focus,
.footer-top .textwidget a:hover,
.footer-top .textwidget a:focus,
.footer.lh-enhanced-footer .footer-top a:hover,
.footer.lh-enhanced-footer .footer-top a:focus {
    color: #e6007e !important; /* Magenta on hover */
    text-decoration: underline;
}

/* ---------------------------------------------------------------------
   7. Footer Language Switcher
   --------------------------------------------------------------------- */

.footer-middle {
    padding: var(--lh-space-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-language-container {
    text-align: center;
}

#footer_language_list {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 16px 64px;
}

#footer_language_list ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--lh-space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer_language_list li {
    display: inline-flex;
    align-items: center;
}

#footer_language_list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 6px;
    color: #ee7218; /* UKSE: inactive languages are orange */
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--lh-radius-sm);
    transition: color var(--lh-transition-fast);
}

#footer_language_list a:hover,
#footer_language_list a:focus {
    color: #ffffff;
    text-decoration: none;
}

#footer_language_list .current-language {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 6px;
    background: transparent;
    color: #ffffff; /* UKSE: active language is white */
    font-size: 0.875rem;
    font-weight: 700; /* UKSE: 700 */
    text-decoration: none;
    border-radius: var(--lh-radius-sm);
}

#footer_language_list img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* ---------------------------------------------------------------------
   8. Footer Social Icons
   --------------------------------------------------------------------- */

.footer-social {
    text-align: center; /* UKSE: text-align center */
    padding: 0; /* UKSE: 0 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a {
    display: inline-block; /* UKSE: inline-block */
    background: transparent;
    color: #ee7218;
    border-radius: 0;
    font-size: 1.1rem;
    text-decoration: none;
    margin: 0 8px; /* UKSE: 0 8px */
    padding: 0; /* UKSE: 0 */
    transition: color var(--lh-transition-fast), opacity var(--lh-transition-fast);
}

.footer-social a:hover,
.footer-social a:focus,
.footer.lh-enhanced-footer .footer-social a:hover,
.footer.lh-enhanced-footer .footer-social a:focus {
    background: transparent !important;
    color: #e6007e !important; /* Magenta on hover */
    opacity: 1 !important;
    text-decoration: none !important;
}

/* WhatsApp specific hover - green */
.footer-social a[aria-label="WhatsApp"]:hover,
.footer-social a[aria-label="WhatsApp"]:focus {
    color: rgb(37, 211, 102); /* UKSE: WhatsApp green */
}

/* ---------------------------------------------------------------------
   9. Footer Copyright Bar
   --------------------------------------------------------------------- */

.footer-bottom {
    background-color: #000020;
    padding: 20px 0;
}

.footer-copyright {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
    text-align: center;
}

/* ---------------------------------------------------------------------
   Footer Responsive: Tablet (768px - 1024px)
   --------------------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-mega-menu .wrap {
        justify-content: center;
    }

    .footer-service-panel {
        flex: 1 1 calc(50% - var(--lh-space-lg));
        max-width: calc(50% - var(--lh-space-lg));
    }
}

/* ---------------------------------------------------------------------
   Footer Responsive: Mobile (<=768px)
   --------------------------------------------------------------------- */

@media (max-width: 768px) {
    /* Blog slider */
    .section_latest_blog.lh-blog-slider {
        padding: var(--lh-space-xl) 0;
    }

    .blog-slider__title {
        font-size: 24px;
        margin: 30px auto;
    }

    .blog-slider__title::after {
        width: 200px;
        height: 3px;
        margin: 12px auto 0;
    }

    .blog_slide {
        min-width: 280px;
        max-width: 100%;
    }

    /* Partners strip */
    .partner-logos-fallback {
        gap: var(--lh-space-lg);
    }

    .partner-logos-fallback .partner-logo img {
        height: 36px;
    }

    /* Skyline */
    .footer_skyline.lh-skyline {
        height: 80px;
    }

    /* Mega menu: Accordion mode */
    .footer-mega-menu {
        padding: var(--lh-space-lg) 0;
    }

    .footer-mega-menu .wrap {
        flex-direction: column;
        gap: 0;
    }

    .footer-service-panel {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 0;
        margin: 0;
        background: transparent;
        border-radius: 0;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-service-panel:hover {
        background: transparent;
    }

    /* Title as button */
    .footer-service-panel .service-panel-title {
        padding: var(--lh-space-md) 0;
        cursor: pointer;
        margin-bottom: 0;
    }

    /* Show accordion icon on mobile */
    .footer-service-panel .accordion-icon {
        display: block;
    }

    /* Rotate icon when expanded */
    .footer-service-panel.is-expanded .accordion-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
        opacity: 0;
    }

    /* Content hidden by default on mobile */
    .footer-service-panel .service-panel-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    /* Content visible when expanded */
    .footer-service-panel.is-expanded .service-panel-content {
        max-height: 500px;
        padding: 0 0 var(--lh-space-md) 0;
    }

    /* Footer top */
    .footer-top {
        padding: var(--lh-space-xl) 0;
    }

    .footer-top__widget,
    .footer-top__contact {
        flex: 1 1 100%;
        margin-bottom: var(--lh-space-lg);
    }

    .footer-top__contact {
        margin-bottom: 0;
    }

    /* Language switcher */
    #footer_language_list ul {
        gap: var(--lh-space-sm);
    }

    /* Social icons */
    .footer-social {
        gap: 4px;
    }

    .footer-social a {
        font-size: 1rem;
        padding: 0 6px;
    }

    /* Language switcher mobile */
    #footer_language_list {
        padding: 12px 24px;
    }
}

/* ---------------------------------------------------------------------
   Screen Reader Only (Accessibility)
   --------------------------------------------------------------------- */

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

/* =====================================================================
   Canonical CTA Button Component (.lh-btn)
   UKSE Pill Contract (behaviour parity) + LH palette.

   DESIGN RULES:
   - NO underline on hover/focus/active/visited (enforced via !important)
   - Pill shape (border-radius: 999px)
   - Primary: gradient + translateY(-2px) + shadow lift on hover/focus
   - Secondary: true outline, no transform, no shadow; colour shift on hover
   - focus-visible uses outline + offset (not box-shadow)
   - Use double-class specificity (.lh-btn.lh-btn--primary) to beat theme defaults
   ===================================================================== */

/* Base button — resets and shared properties */
.lh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--lh-font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    user-select: none;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

/* Ensure no underline on ANY interactive state */
.lh-btn:link,
.lh-btn:visited,
.lh-btn:hover,
.lh-btn:focus,
.lh-btn:focus-visible,
.lh-btn:active {
    text-decoration: none !important;
}

/* Accessible focus state — LH blue ring */
.lh-btn:focus-visible {
    outline: 3px solid #2294D2;
    outline-offset: 2px;
}

/* Primary: Magenta gradient, white text, shadow lift on hover */
.lh-btn.lh-btn--primary,
.lh-btn.lh-btn--primary:link,
.lh-btn.lh-btn--primary:visited {
    background: linear-gradient(135deg, #E6007E 0%, #B80066 100%);
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px rgba(230, 0, 126, 0.25);
}

.lh-btn.lh-btn--primary:hover,
.lh-btn.lh-btn--primary:focus {
    background: linear-gradient(135deg, #E6007E 0%, #B80066 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(184, 0, 102, 0.25);
}

/* Secondary (canonical): True outline — transparent bg, navy text, colour shift on hover */
.lh-btn.lh-btn--secondary,
.lh-btn.lh-btn--secondary:link,
.lh-btn.lh-btn--secondary:visited {
    background: transparent;
    border: 2px solid #2294D2;
    color: #000032 !important;
    box-shadow: none;
}

.lh-btn.lh-btn--secondary:hover,
.lh-btn.lh-btn--secondary:focus {
    background: transparent;
    border-color: #2294D2;
    color: #2294D2 !important;
    transform: none;
    box-shadow: none;
}

/* Hero-scoped override: filled secondary for contrast over video */
.lh-hero .lh-btn.lh-btn--secondary,
.lh-hero .lh-btn.lh-btn--secondary:link,
.lh-hero .lh-btn.lh-btn--secondary:visited {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #2294D2;
    color: #000032 !important;
}

.lh-hero .lh-btn.lh-btn--secondary:hover,
.lh-hero .lh-btn.lh-btn--secondary:focus {
    background: rgba(255, 255, 255, 1);
    color: #2294D2 !important;
}

/* Compact variant — smaller padding, uppercase */
.lh-btn.lh-btn--compact {
    padding: 8px 16px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Mobile: full-width buttons when stacked */
@media (max-width: 768px) {
    .lh-btn--full-mobile {
        width: 100%;
        max-width: 280px;
    }
}

/* =====================================================================
   LH Section Titles (H2) — canonical class
   Use: <h2 class="lh-title">...</h2>
   With underline: <h2 class="lh-title lh-title--underline">...</h2>
   Legacy aliases: .home-testimonials-heading, .blog-slider-title
   ===================================================================== */

.lh-title,
.home-testimonials-heading,
.blog-slider-title {
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.1;
    margin: 0 0 18px;
    color: #000032;
}

/* Modifier: magenta underline accent (opt-in) */
.lh-title--underline::after {
    content: "";
    display: block;
    width: 300px;
    max-width: 100%;
    height: 4px;
    background: #E6007E;
    margin: 15px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .lh-title--underline::after {
        width: 200px;
        height: 3px;
        margin: 12px auto 0;
    }
}

/* ---------------------------------------------------------------------
   Hero Section (Home Page)
   --------------------------------------------------------------------- */

.lh-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.lh-hero__video-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
    background-color: var(--lh-primary-dark);
}

.lh-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero content overlay — full height, left-aligned with smooth horizontal gradient */
.lh-hero__content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* Desktop: content positioned higher with generous top padding */
    padding: clamp(48px, 8vh, 100px) var(--lh-space-lg) var(--lh-space-xl);
    /* Smoother horizontal fade: solid left, gradual transition, clear right side */
    background: linear-gradient(90deg,
        rgba(0, 0, 50, 0.78) 0%,
        rgba(0, 0, 50, 0.62) 40%,
        rgba(0, 0, 50, 0.25) 65%,
        rgba(0, 0, 50, 0) 85%
    );
    color: var(--lh-white);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 620px;
}

.lh-hero__heading {
    font-family: var(--lh-font-heading);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: var(--lh-line-height-heading);
    margin: 0 0 var(--lh-space-sm);
    color: var(--lh-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero heading spans for multi-line support */
.lh-hero__heading-line1,
.lh-hero__heading-line2 {
    display: block;
}

.lh-hero__heading-line2 {
    /* Optional: slightly smaller or different weight for line 2 */
}

.lh-hero__subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.5;
    margin: 0 0 var(--lh-space-lg);
    opacity: 0.95;
}

/* Hero CTAs — left-aligned on desktop */
.lh-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--lh-space-md);
    margin-top: var(--lh-space-md);
}

/* Hero CTA layout helper — button styling now comes from .lh-btn component */
.lh-hero__cta {
    /* Layout-specific overrides only; button styles from .lh-btn */
}

/* Mobile: shorter hero, stacked CTAs */
@media (max-width: 768px) {
    .lh-hero__video-wrapper {
        height: 50vh;
        min-height: 300px;
        max-height: 450px;
    }

    .lh-hero__content {
        padding: var(--lh-space-lg) var(--lh-space-md);
    }

    .lh-hero__ctas {
        flex-direction: column;
    }

    .lh-hero__cta {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile: centre hero content and restore vertical centering */
@media (max-width: 640px) {
    .lh-hero__content {
        text-align: center;
        align-items: center;
        justify-content: center;
        max-width: none;
        margin: 0 auto;
        padding: var(--lh-space-lg) var(--lh-space-md);
        /* Mobile: full overlay for readability */
        background: linear-gradient(180deg,
            rgba(0, 0, 50, 0.5) 0%,
            rgba(0, 0, 50, 0.7) 100%
        );
    }

    .lh-hero__ctas {
        justify-content: center;
        align-items: center;
    }
}

/* ---------------------------------------------------------------------
   Info Bar (Announcement Bar below Hero)
   --------------------------------------------------------------------- */

.lh-info-bar {
    background-color: var(--lh-primary-dark);
    color: var(--lh-white);
    padding: var(--lh-space-md) var(--lh-space-lg);
    text-align: center;
}

.lh-info-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lh-info-bar__text {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.lh-info-bar__link {
    color: var(--lh-white);
    text-decoration: underline;
    font-weight: 600;
    margin-left: var(--lh-space-sm);
    transition: opacity var(--lh-transition-fast);
}

.lh-info-bar__link:hover,
.lh-info-bar__link:focus {
    opacity: 0.85;
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .lh-info-bar {
        padding: var(--lh-space-sm) var(--lh-space-md);
    }

    .lh-info-bar__text {
        font-size: 0.9375rem;
    }

    .lh-info-bar__link {
        display: inline-block;
        margin-left: 0;
        margin-top: var(--lh-space-xs);
    }
}

/* ---------------------------------------------------------------------
   3-Card Trust Band (#home-info-bar) — UKSE Parity
   Matches UKSE computed styles exactly (see docs/UKSE_Home_Info_Bar_Computed_Styles.md)
   --------------------------------------------------------------------- */

#home-info-bar.home-info-bar {
    display: block;
    padding: 20px 0 12px;
    margin: 0;
    background: linear-gradient(rgb(245, 247, 251) 0%, rgb(255, 255, 255) 70%);
    border: none;
    border-radius: 0;
    font-family: var(--lh-font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--lh-primary-dark);
}

#home-info-bar .wrap {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-info-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-info-bar__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(9, 26, 63, 0.08);
    border-radius: 16px;
    box-shadow: 0px 10px 24px 0px rgba(9, 26, 63, 0.06);
}

.home-info-bar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    color: var(--lh-magenta);
}

.home-info-bar__icon i {
    display: block;
    font-size: 32px;
    font-weight: 900;
    line-height: 32px;
    color: inherit;
}

.home-info-bar__text {
    flex: 1;
    min-width: 0;
}

.home-info-bar__title {
    display: block;
    font-family: var(--lh-font-sans);
    font-size: 16.8px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lh-primary-dark);
    margin: 0 0 4px;
}

.home-info-bar__description {
    display: block;
    font-family: var(--lh-font-sans);
    font-size: 14.4px;
    font-weight: 400;
    line-height: 1.35;
    color: #49536a;
    margin: 0;
}

/* Optional link below description (LH extension, not in UKSE) */
.home-info-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lh-primary);
    text-decoration: none;
    transition: color var(--lh-transition-fast);
}

.home-info-bar__link:hover,
.home-info-bar__link:focus {
    color: var(--lh-primary-dark);
    text-decoration: underline;
}

.home-info-bar__link i {
    font-size: 11px;
    transition: transform var(--lh-transition-fast);
}

.home-info-bar__link:hover i {
    transform: translateX(2px);
}

/* Tablet/Mobile: single column stacked (UKSE behaviour) */
@media (max-width: 1199px) {
    .home-info-bar__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #home-info-bar .wrap {
        padding: 0 20px;
    }
}

/* Mobile refinements */
@media (max-width: 640px) {
    #home-info-bar .wrap {
        padding: 0 16px;
    }

    .home-info-bar__item {
        padding: 12px 14px;
    }
}

/* ---------------------------------------------------------------------
   Journey Sections (Home Page)
   --------------------------------------------------------------------- */

.lh-home-journeys {
    padding: var(--lh-space-2xl) var(--lh-space-lg);
    background-color: var(--lh-off-white);
}

.lh-journey {
    max-width: 1200px;
    margin: 0 auto var(--lh-space-2xl);
    padding: var(--lh-space-xl);
    background-color: var(--lh-white);
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow-md);
}

.lh-journey:last-child {
    margin-bottom: 0;
}

.lh-journey__header {
    text-align: center;
    margin-bottom: var(--lh-space-xl);
}

.lh-journey__heading {
    font-family: var(--lh-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--lh-primary-dark);
    margin: 0 0 var(--lh-space-md);
    line-height: var(--lh-line-height-heading);
}

.lh-journey__intro {
    font-size: 1.0625rem;
    color: var(--lh-grey-700);
    line-height: 1.6;
    margin: 0 0 var(--lh-space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Journey CTA layout helper — button styling now comes from .lh-btn component */
.lh-journey__cta {
    /* Layout-specific overrides only; button styles from .lh-btn */
}

/* Journey Cards Grid */
.lh-journey__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lh-space-lg);
}

@media (max-width: 992px) {
    .lh-journey__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lh-journey__cards {
        grid-template-columns: 1fr;
    }
}

/* Individual Journey Card */
.lh-journey-card {
    padding: var(--lh-space-lg);
    background-color: var(--lh-grey-100);
    border-radius: var(--lh-radius-md);
    text-align: center;
    transition: box-shadow var(--lh-transition-base), transform var(--lh-transition-base);
}

.lh-journey-card:hover {
    box-shadow: var(--lh-shadow-md);
    transform: translateY(-2px);
}

.lh-journey-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--lh-space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lh-primary);
    color: var(--lh-white);
    border-radius: var(--lh-radius-full);
    font-size: 1.5rem;
}

.lh-journey-card__label {
    font-family: var(--lh-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lh-primary-dark);
    margin: 0 0 var(--lh-space-sm);
    line-height: var(--lh-line-height-heading);
}

.lh-journey-card__label a {
    color: inherit;
    text-decoration: none;
    transition: color var(--lh-transition-fast);
}

.lh-journey-card__label a:hover {
    color: var(--lh-primary);
}

.lh-journey-card__text {
    font-size: 0.9375rem;
    color: var(--lh-grey-700);
    line-height: 1.5;
    margin: 0;
}

/* Journey section colour variants (optional brand differentiation) */
.lh-journey--students .lh-journey-card__icon {
    background-color: var(--lh-primary);
}

.lh-journey--hosts .lh-journey-card__icon {
    background-color: var(--lh-magenta);
}

.lh-journey--partners .lh-journey-card__icon {
    background-color: var(--lh-secondary);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lh-home-journeys {
        padding: var(--lh-space-xl) var(--lh-space-md);
    }

    .lh-journey {
        padding: var(--lh-space-lg);
    }
}
