/* ==========================================================================
   SPACE THEME - CLEAN HEADER SYSTEM
   Based on the proven Event Organiser header architecture
   ========================================================================== */

.space-site-header,
.space-site-header *,
.space-mobile-menu,
.space-mobile-menu * {
    box-sizing: border-box;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.space-site-header {
    position: relative;
    width: 100%;
    z-index: 1050;
    background: var(--space-header-bg);
}

.space-header-main {
    position: relative;
    width: 100%;
    background: var(--space-header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.space-header-container {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
}

.space-header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 30px;
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.space-header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.space-header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.space-header-logo img {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 66px;
    object-fit: contain;
}


/* ==========================================================================
   DESKTOP NAVIGATION
   ========================================================================== */

.space-header-navigation {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.space-header-navigation nav {
    width: auto;
}

.space-navigation {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.space-navigation > li {
    position: relative;
    list-style: none;
}

.space-navigation > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 34px 13px;
    color: var(--space-menu-colour);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.space-navigation > li > a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 23px;
    height: 1px;
    background: var(--space-hover-colour);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.space-navigation > li:hover > a,
.space-navigation > li:focus-within > a {
    color: var(--space-hover-colour);
}

.space-navigation > li:hover > a::after,
.space-navigation > li:focus-within > a::after {
    transform: scaleX(1);
}

.space-navigation > li > a i {
    font-size: 11px;
}


/* ==========================================================================
   DROPDOWNS
   ========================================================================== */

.space-submenu {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    width: 230px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--space-dropdown-bg);
    border-radius: 4px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
    z-index: 1100;
}

.space-navigation > li:hover > .space-submenu,
.space-navigation > li:focus-within > .space-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.space-submenu li {
    display: block;
    width: 100%;
    list-style: none;
}

.space-submenu li a {
    display: block;
    padding: 11px 18px;
    color: var(--space-dropdown-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.space-submenu li a:hover,
.space-submenu li a:focus {
    color: var(--space-dropdown-hover);
    padding-left: 22px;
}


/* ==========================================================================
   HEADER ACTIONS
   ========================================================================== */

.space-header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
}

.space-header-icon-btn,
.space-header-cart,
.space-header-account {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--space-menu-colour);
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.space-header-icon-btn:hover,
.space-header-cart:hover,
.space-header-account:hover {
    color: var(--space-hover-colour);
    background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   HEADER MINI BASKET
   ========================================================================== */

.space-header-cart-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.space-header-cart-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.space-mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 6000;

    width: 360px;
    max-width: calc(100vw - 24px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.space-header-cart-wrap:hover .space-mini-cart,
.space-header-cart-wrap:focus-within .space-mini-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
}

.space-mini-cart-inner {
    overflow: hidden;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid rgba(10, 18, 24, 0.10);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.16);
}

.space-mini-cart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 16px 18px;

    background: var(--space-header-bg);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.space-mini-cart-title {
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

.space-mini-cart-count {
    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
}

.space-mini-cart-items {
    max-height: 320px;
    overflow-y: auto;
}

.space-mini-cart-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;

    padding: 13px 16px;

    border-bottom: 1px solid rgba(10, 18, 24, 0.07);
}

.space-mini-cart-thumb {
    width: 54px;
    height: 54px;

    overflow: hidden;

    border-radius: 10px;

    background: #f4f4f4;
}

.space-mini-cart-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.space-mini-cart-content {
    min-width: 0;
}

.space-mini-cart-name {
    color: #1a2730;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;
}

.space-mini-cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 5px;

    color: #74808a;

    font-size: 11px;
}

.space-mini-cart-price {
    color: #1a2730;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.space-mini-cart-more {
    padding: 10px 16px;

    color: #74808a;

    font-size: 11px;

    text-align: center;

    border-bottom: 1px solid rgba(10, 18, 24, 0.07);
}

.space-mini-cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 16px;

    color: #52606a;

    font-size: 13px;

    border-bottom: 1px solid rgba(10, 18, 24, 0.07);
}

.space-mini-cart-summary strong {
    color: #17232b;

    font-size: 15px;
}

.space-mini-cart-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;

    padding: 14px 16px;
}

.space-mini-cart-button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.space-mini-cart-button-light {
    background: #f5f6f7;

    color: #25323a;

    border: 1px solid rgba(10, 18, 24, 0.08);
}

.space-mini-cart-button-light:hover {
    background: #ebedef;

    color: #17232b;
}

.space-mini-cart-button-primary {
    background: var(--space-accent-bg);

    color: var(--space-accent-text);

    border: 1px solid transparent;
}

.space-mini-cart-button-primary:hover {
    background: var(--space-hover-colour);

    color: #ffffff;
}

.space-mini-cart-empty {
    padding: 24px 18px;

    color: #6d7880;

    font-size: 13px;

    text-align: center;
}


/* ==========================================================================
   SOCIAL ICONS
   ========================================================================== */

.space-header-social {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 2px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.space-header-social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--space-social-colour);
    text-decoration: none;
    font-size: 13px;
    border-radius: 50%;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.space-header-social a:hover {
    color: var(--space-social-hover);
    transform: translateY(-2px);
}

.space-header-social img {
    width: 11px;
    height: 11px;
    object-fit: contain;
}


/* ==========================================================================
   CART COUNT
   ========================================================================== */

.space-cart-count {
    position: absolute;
    top: 1px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--space-accent-bg);
    color: var(--space-accent-text);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}


/* ==========================================================================
   LOGIN / REGISTER
   ========================================================================== */

.space-header-auth {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.space-login-link,
.space-register-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--space-menu-colour);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.space-login-link:hover,
.space-register-link:hover {
    background: transparent;
    border-color: transparent;
    color: var(--space-hover-colour);
}

.space-register-link::before {
    content: "";
    width: 1px;
    height: 13px;
    margin-right: 10px;
    background: var(--space-menu-colour);
    opacity: 0.3;
}

/* ==========================================================================
   BOOK A READING BUTTON
   ========================================================================== */

.space-header-booking {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.space-booking-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--space-booking-bg);
    border-radius: 3px;
    background: var(--space-booking-bg);
    color: var(--space-booking-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.025em;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.space-booking-btn:hover {
    background: transparent;
    color: var(--space-hover-colour);
    border-color: var(--space-hover-colour);
    transform: translateY(-1px);
}


/* ==========================================================================
   MOBILE TOGGLE
   ========================================================================== */

.space-mobile-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.space-mobile-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--space-menu-colour);
    transition: background 0.2s ease;
}

.space-mobile-toggle:hover span {
    background: var(--space-hover-colour);
}


/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */

.space-search-panel {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 110px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.space-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.space-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
}

.space-search-box {
    position: relative;
    z-index: 2;
    width: min(680px, calc(100% - 40px));
    padding: 38px;
    border-radius: 16px;
    background: var(--space-navigation-bg);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
}

.space-search-heading {
    margin-bottom: 20px;
    color: #06234b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}

.space-search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #06234b;
    font-size: 18px;
    cursor: pointer;
}

.space-search-close:hover {
    color: var(--space-hover-colour);
}

.space-search-form {
    position: relative;
    display: flex;
    align-items: stretch;
}

.space-search-form input {
    width: 100%;
    height: 56px;
    padding: 0 58px 0 18px;
    border: 0px solid rgba(6, 35, 75);
    border-radius: 0;
    outline: none;
    background: #06234b;
    color: #fff;
    font-size: 15px;
}

.space-search-form input::placeholder {
    color: var(--space-menu-colour);
    opacity: 0.65;
}

.space-search-form input:focus {
    border-color: var(--space-hover-colour);
}

.space-search-form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #06234b;
    color: var(--space-accent-text);
    cursor: pointer;
}


/* ==========================================================================
   STICKY HEADER
   ========================================================================== */

.space-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
    background: var(--space-header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.space-sticky-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.space-sticky-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.space-sticky-logo {
    flex: 0 0 auto;
}

.space-sticky-logo a {
    display: flex;
    align-items: center;
}

.space-sticky-logo img {
    display: block;
    width: auto;
    max-width: 185px;
    max-height: 50px;
    object-fit: contain;
}

.space-sticky-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.space-sticky-header .space-navigation > li > a {
    padding-top: 27px;
    padding-bottom: 27px;
}

.space-sticky-header .space-navigation > li > a::after {
    bottom: 18px;
}

.space-sticky-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ==========================================================================
   MOBILE OFFCANVAS
   ========================================================================== */

.space-mobile-menu {
    width: min(400px, 92vw) !important;
    background: var(--space-navigation-bg);
    color: var(--space-menu-colour);
}

.space-mobile-menu .offcanvas-header {
    min-height: 82px;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.space-mobile-menu .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.space-mobile-logo {
    display: inline-flex;
    align-items: center;
}

.space-mobile-logo img {
    width: auto;
    max-width: 190px;
    max-height: 52px;
    object-fit: contain;
}

.space-mobile-menu .offcanvas-body {
    padding: 22px;
}


/* Mobile booking */

.space-mobile-booking {
    margin-bottom: 22px;
}

.space-mobile-booking-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--space-booking-bg);
    border-radius: 3px;
    background: var(--space-booking-bg);
    color: var(--space-booking-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* Mobile navigation */

.space-mobile-navigation,
.space-mobile-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.space-mobile-navigation > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.space-mobile-nav-row {
    display: flex;
    align-items: center;
}

.space-mobile-nav-row > a {
    flex: 1;
    padding: 15px 0;
    color: var(--space-menu-colour);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.space-mobile-nav-row > button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--space-menu-colour);
}

.space-mobile-submenu {
    padding: 0 0 12px 14px;
}

.space-mobile-submenu li a {
    display: block;
    padding: 9px 0;
    color: var(--space-dropdown-text);
    font-size: 14px;
    text-decoration: none;
    opacity: 0.85;
}


/* Mobile account */

.space-mobile-account,
.space-mobile-basket,
.space-mobile-social,
.space-mobile-language {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.space-mobile-account-btn,
.space-mobile-basket > a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--space-menu-colour);
    text-decoration: none;
}

.space-mobile-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.space-mobile-login,
.space-mobile-register {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--space-menu-colour);
    text-decoration: none;
}

.space-mobile-register {
    background: var(--space-register-bg);
    color: var(--space-register-text);
}

.space-mobile-cart-count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--space-accent-bg);
    color: var(--space-accent-text);
    font-size: 10px;
}


/* Mobile social */

.space-mobile-social-title,
.space-mobile-language-title {
    margin-bottom: 12px;
    color: var(--space-menu-colour);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.space-mobile-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.space-mobile-social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--space-social-colour);
    text-decoration: none;
}

.space-mobile-social-links a:hover {
    color: var(--space-social-hover);
    border-color: var(--space-social-hover);
}

.space-mobile-social-links img {
    width: 11px;
    height: 11px;
}


/* Mobile language */

.space-mobile-language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.space-mobile-language-options form {
    margin: 0;
}

.space-mobile-language-options button {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: var(--space-menu-colour);
    font-size: 12px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {

    .space-header-container {
        width: min(100% - 36px, 1180px);
    }

    .space-header-navigation {
        display: none;
    }

    .space-header-social {
        display: none;
    }

    .space-mobile-toggle {
        display: flex;
    }

    .space-sticky-navigation {
        display: none;
    }

    .space-sticky-actions .space-mobile-toggle {
        display: flex;
    }

}


@media (max-width: 767px) {

    .space-header-container {
        width: calc(100% - 28px);
    }

    .space-header-inner {
        min-height: 76px;
        gap: 15px;
    }

    .space-header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .space-header-logo img {
        max-width: 180px;
        max-height: 52px;
    }

    .space-header-actions {
        gap: 5px;
    }

    .space-header-icon-btn,
    .space-header-cart,
    .space-header-account {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .space-header-auth {
        display: none;
    }

    .space-header-booking {
        display: none;
    }

    .space-search-panel {
        padding-top: 80px;
    }

    .space-search-box {
        width: calc(100% - 28px);
        padding: 28px 22px;
    }

    .space-search-heading {
        font-size: 26px;
    }

    .space-sticky-inner {
        min-height: 64px;
    }

    .space-sticky-logo {
        flex: 1 1 auto;
    }

    .space-sticky-logo img {
        max-width: 155px;
        max-height: 44px;
    }

    .space-sticky-actions .space-booking-btn {
        display: none;
    }

}


@media (max-width: 480px) {

    .space-header-logo img {
        max-width: 155px;
    }

    .space-header-actions {
        gap: 2px;
    }

    .space-header-icon-btn {
        display: none;
    }

    .space-mobile-menu .offcanvas-body {
        padding: 20px;
    }

}
/* ==========================================================================
   SPACE THEME - TABLET / MOBILE HEADER FINAL OVERRIDES
   ========================================================================== */

@media (max-width: 1200px) {

    /* Main header */
    .space-header-inner {
        min-height: 78px;
    }

    .space-header-navigation,
    .space-header-social,
    .space-header-auth,
    .space-header-icon-btn,
    .space-header-booking {
        display: none !important;
    }

    .space-header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .space-header-logo img {
        width: auto;
        max-width: 220px;
        max-height: 56px;
    }

    .space-header-actions {
        flex: 0 0 auto;
        gap: 10px;
    }

    /* Keep basket available */
    .space-header-cart {
        display: inline-flex !important;
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    /* Hamburger */
    .space-mobile-toggle {
        display: flex !important;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }

    .space-mobile-toggle span {
        display: block;
        width: 25px;
        height: 1px;
        margin: 0;
        background: var(--space-menu-colour);
    }

    /* Offcanvas */
.offcanvas.space-mobile-menu {
    width: min(390px, 90vw) !important;
    max-width: 90vw !important;
    background: var(--space-header-bg) !important;
    color: var(--space-menu-colour) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 0 !important;
}

    .space-mobile-menu .offcanvas-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 82px !important;
        padding: 15px 22px !important;
        background: var(--space-header-bg) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .space-mobile-logo {
        display: flex !important;
        align-items: center !important;
        max-width: 210px !important;
    }

    .space-mobile-logo img {
        display: block !important;
        width: auto !important;
        max-width: 200px !important;
        max-height: 52px !important;
        object-fit: contain !important;
    }

    .space-mobile-menu .btn-close {
        position: static !important;
        display: block !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 8px !important;
        opacity: 1 !important;
        filter: invert(1) grayscale(1) brightness(2) !important;
        box-shadow: none !important;
    }

.space-mobile-menu .offcanvas-body {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 22px 28px !important;
    overflow-y: auto !important;
    background: var(--space-header-bg) !important;
    color: var(--space-menu-colour) !important;
}

    /* Mobile navigation */
    .space-mobile-navigation {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .space-mobile-navigation > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .space-mobile-nav-row {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 52px !important;
    }

    .space-mobile-nav-row > a {
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: center !important;
        min-height: 52px !important;
        padding: 0 !important;
        color: var(--space-menu-colour) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        text-decoration: none !important;
    }

    .space-mobile-nav-row > a:hover {
        color: var(--space-hover-colour) !important;
    }

    .space-mobile-nav-row > button {
        display: flex !important;
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--space-menu-colour) !important;
    }

    .space-mobile-submenu {
        position: static !important;
        display: none;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 12px 14px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .space-mobile-submenu.show {
        display: block !important;
    }

    .space-mobile-submenu li {
        display: block !important;
        width: 100% !important;
    }

    .space-mobile-submenu li a {
        display: block !important;
        padding: 9px 0 !important;
        color: var(--space-dropdown-text) !important;
        font-size: 14px !important;
        text-decoration: none !important;
    }

    /* Login / Register */
    .space-mobile-account {
        display: block !important;
        margin: 22px 0 0 !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .space-mobile-auth-grid {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .space-mobile-login,
    .space-mobile-register {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 5px 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--space-menu-colour) !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        text-decoration: none !important;
    }

    .space-mobile-login {
        padding-left: 0 !important;
    }

    .space-mobile-register {
        position: relative !important;
    }

    .space-mobile-register::before {
        content: "";
        width: 1px;
        height: 14px;
        margin-right: 12px;
        background: var(--space-menu-colour);
        opacity: 0.3;
    }

    .space-mobile-login:hover,
    .space-mobile-register:hover {
        color: var(--space-hover-colour) !important;
    }

    /* Basket inside menu */
    .space-mobile-basket {
        display: block !important;
        margin: 20px 0 0 !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .space-mobile-basket > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 40px !important;
        gap: 10px !important;
        color: var(--space-menu-colour) !important;
        text-decoration: none !important;
    }

    /* Socials */
    .space-mobile-social {
        display: block !important;
        margin: 20px 0 0 !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .space-mobile-social-links {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Sticky tablet/mobile */
    .space-sticky-navigation {
        display: none !important;
    }

    .space-sticky-actions .space-booking-btn {
        display: none !important;
    }
}


@media (max-width: 767px) {

    .space-header-container {
        width: calc(100% - 28px) !important;
    }

    .space-header-inner {
        min-height: 76px !important;
    }

    .space-header-logo img {
        max-width: 175px !important;
        max-height: 50px !important;
    }

    .space-header-actions {
        gap: 5px !important;
    }

    .offcanvas.space-mobile-menu {
        width: 88vw !important;
        max-width: 360px !important;
    }

    .space-mobile-logo img {
        max-width: 175px !important;
    }
}


@media (max-width: 420px) {

    .space-header-logo img {
        max-width: 155px !important;
    }

    .space-header-cart {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
    }

    .space-mobile-toggle {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }
}
/* ==========================================================================
   MOBILE SOCIAL ICON POLISH
   ========================================================================== */

.space-mobile-social-links a {
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: var(--space-social-colour) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.space-mobile-social-links a:hover {
    color: var(--space-hover-colour) !important;
    border-color: var(--space-hover-colour) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-2px);
}

.space-mobile-social-links a img {
    width: 11px !important;
    height: 11px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.space-mobile-social-links a:hover img {
    filter: none !important;
}
/* ==========================================================================
   MOBILE ACCOUNT POLISH
   ========================================================================== */

/* Navigation already provides the dividing line */
.space-mobile-account {
    border-top: 0 !important;
    margin-top: 22px !important;
    padding-top: 8px !important;
}

/* Even Login | Register spacing */
.space-mobile-login,
.space-mobile-register {
    padding: 5px 12px !important;
}

.space-mobile-login {
    padding-left: 0 !important;
}

.space-mobile-register::before {
    content: "";
    width: 1px;
    height: 14px;
    margin-right: 12px;
    background: var(--space-menu-colour);
    opacity: 0.3;
}
/* ==========================================================================
   MOBILE BASKET / WISHLIST
   ========================================================================== */

.space-mobile-basket {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.space-mobile-basket > a {
    flex: 1 1 50%;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 10px 12px !important;
    color: var(--space-menu-colour) !important;
    text-decoration: none !important;
}

.space-mobile-basket > a:first-child {
    padding-left: 0 !important;
}

.space-mobile-basket > a + a {
    border-top: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.space-mobile-basket .fa-heart {
    color: var(--space-hover-colour);
}

.space-mobile-cart-count,
.space-mobile-wishlist-count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--space-accent-bg);
    color: var(--space-accent-text);
    font-size: 10px;
    line-height: 1;
}
/* ==========================================================================
   TABLET / MOBILE WISHLIST ICON
   ========================================================================== */

.space-header-wishlist {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    border-radius: 50%;
    background: transparent;
    color: var(--space-hover-colour);
    font-size: 16px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.space-header-wishlist:hover {
    color: var(--space-menu-colour);
    background: rgba(255, 255, 255, 0.06);
}

.space-wishlist-count {
    position: absolute;
    top: 0;
    right: -3px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--space-accent-bg);
    color: var(--space-accent-text);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

/* Keep desktop cleaner */
@media (min-width: 1201px) {
    .space-header-wishlist {
        display: none;
    }
}

@media (max-width: 1200px) {
    .space-header-wishlist {
        display: inline-flex;
    }
}
/* ==========================================================================
   FIX MOBILE / TABLET WISHLIST COUNT POSITION
   ========================================================================== */

.space-mobile-basket .space-mobile-wishlist-count {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    margin-left: auto !important;

    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;

    background: var(--space-accent-bg) !important;
    color: #000 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}



/* ==========================================================================
   SPACE THEME
   Footer
   ========================================================================== */

.space-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(56, 88, 160, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(156, 119, 62, 0.11),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #050b1d 0%,
            #020611 100%
        );
    color: rgba(255, 255, 255, 0.8);
}

.space-footer-main {
    position: relative;
    padding: 78px 0 46px;
}

.space-footer-container {
    position: relative;
    z-index: 3;
    width: min(92%, 1500px);
    margin: 0 auto;
}


/* Background effects */

.space-footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.45;
}

.space-footer-glow-left {
    width: 320px;
    height: 320px;
    left: -100px;
    top: 60px;
    background: rgba(54, 92, 173, 0.25);
}

.space-footer-glow-right {
    width: 300px;
    height: 300px;
    right: -100px;
    top: 20px;
    background: rgba(203, 162, 85, 0.12);
}

.space-footer-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.45) 1px, transparent 1px);
    background-size:
        80px 80px,
        135px 135px;
    background-position:
        0 0,
        45px 25px;
}


/* Main grid */

.space-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.35fr)
        repeat(3, minmax(150px, 0.72fr))
        minmax(240px, 1fr);
    gap: 42px;
    align-items: start;
}

.space-footer-column {
    min-width: 0;
}


/* Brand */

.space-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.space-footer-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 72px;
    object-fit: contain;
}

.space-footer-about-text {
    max-width: 360px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    line-height: 1.75;
}


/* Eyebrows / headings */

.space-footer-eyebrow {
    margin-bottom: 7px;
    color: var(--space-footer-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.space-footer-title {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 13px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.2;
}

.space-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 1px;
    background: linear-gradient(
        90deg,
        var(--space-footer-accent),
        transparent
    );
}


/* Links */

.space-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.space-footer-links li {
    margin: 0;
}

.space-footer-links a {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.space-footer-links a::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--space-footer-accent);
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.22s ease;
}

.space-footer-links a:hover {
    color: var(--space-footer-accent);
    transform: translateX(8px);
}

.space-footer-links a:hover::before {
    opacity: 1;
}


/* Socials */

.space-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.space-footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    text-decoration: none;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
}

.space-footer-social a:hover {
    color: var(--space-footer-accent);
    border-color: rgba(210, 179, 107, 0.4);
    background: rgba(210, 179, 107, 0.08);
    transform: translateY(-2px);
}

.space-footer-social img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* Account */

.space-footer-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
}

.space-footer-account a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.space-footer-account a:hover {
    color: var(--space-footer-accent);
}

.space-footer-account span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}


/* Stay Connected */

.space-footer-connect-text {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.7;
}

.space-footer-newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(221, 189, 111, 0.35);
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            rgba(213, 181, 106, 0.16) 0%,
            rgba(240, 214, 154, 0.08) 100%
        );
    color: #f0d69a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.space-footer-newsletter-btn:hover {
    background:
        linear-gradient(
            135deg,
            rgba(213, 181, 106, 0.25) 0%,
            rgba(240, 214, 154, 0.13) 100%
        );
    border-color: rgba(221, 189, 111, 0.5);
    transform: translateY(-1px);
}

.space-footer-contact {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.space-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.45;
}

.space-footer-contact i {
    margin-top: 2px;
    color: var(--space-footer-accent);
    font-size: 13px;
}

.space-footer-contact a {
    color: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    word-break: break-word;
}

.space-footer-contact a:hover {
    color: var(--space-footer-accent);
}


/* ==========================================================================
   Cosmic divider
   ========================================================================== */

.space-footer-divider {
    position: relative;
    z-index: 3;
    width: min(92%, 1500px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.space-footer-divider > span {
    height: 1px;
    flex: 1;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(210, 179, 107, 0.22),
            transparent
        );
}

.space-footer-orbit {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(210, 179, 107, 0.38);
    border-radius: 50%;
}

.space-footer-orbit::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.space-footer-orbit i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e2c77f;
    box-shadow:
        0 0 8px rgba(226, 199, 127, 0.85),
        0 0 20px rgba(226, 199, 127, 0.45);
    transform: translate(-50%, -50%);
}


/* ==========================================================================
   Bottom bar
   ========================================================================== */

.space-footer-bottom {
    position: relative;
    z-index: 3;
    padding: 22px 0 26px;
}

.space-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.space-footer-copyright,
.space-footer-legal {
    color: rgba(255, 255, 255, 0.44);
    font-size: 12px;
    line-height: 1.55;
}

.space-footer-copyright a,
.space-footer-legal a {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
    transition: color 0.2s ease;
}

.space-footer-copyright a:hover,
.space-footer-legal a:hover {
    color: var(--space-footer-accent);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1300px) {

    .space-footer-grid {
        grid-template-columns:
            minmax(260px, 1.3fr)
            repeat(2, minmax(150px, 0.75fr))
            minmax(230px, 1fr);
    }

    .space-footer-grid > .space-footer-column:nth-child(4) {
        grid-column: 2 / 3;
    }
}


@media (max-width: 1000px) {

    .space-footer-main {
        padding-top: 62px;
    }

    .space-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 50px;
    }

    .space-footer-grid > .space-footer-column:nth-child(4) {
        grid-column: auto;
    }

    .space-footer-about {
        grid-column: 1 / -1;
    }

    .space-footer-about-text {
        max-width: 600px;
    }
}


@media (max-width: 680px) {

    .space-footer-main {
        padding: 52px 0 32px;
    }

    .space-footer-container,
    .space-footer-divider {
        width: 88%;
    }

.space-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
}

.space-footer-about {
    grid-column: 1 / -1;
}

.space-footer-connect {
    grid-column: 1 / -1;
}

    .space-footer-logo img {
        max-width: 190px;
    }

    .space-footer-title {
        font-size: 20px;
    }

    .space-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .space-footer-legal {
        text-align: left;
    }
}
/* ==========================================================================
   SPACE THEME
   Full width page safeguard
   ========================================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#space-homepage,
.space-homepage {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.space-site-header,
.space-footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ==========================================================================
   SPACE THEME
   Homepage Hero
   ========================================================================== */

.space-home-hero {
    position: relative;
    width: 100%;
    min-height: 540px;
    overflow: hidden;
    isolation: isolate;
    background: #030817;
    color: #ffffff;
}


/* ==========================================================================
   Background images
   ========================================================================== */

.space-home-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.space-home-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0;
    transform: scale(1.025);

    transition:
        opacity 1.1s ease,
        transform 6s ease;
}

.space-home-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}


/* ==========================================================================
   Cosmic overlays
   ========================================================================== */

.space-home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2, 7, 19, 0.94) 0%,
            rgba(3, 9, 24, 0.86) 22%,
            rgba(4, 11, 27, 0.58) 36%,
            rgba(3, 8, 20, 0.16) 48%,
            rgba(2, 6, 15, 0.03) 60%,
            transparent 72%
        );
}

.space-home-hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    box-shadow:
        inset 0 100px 110px rgba(0, 0, 0, 0.18),
        inset 0 -130px 130px rgba(0, 0, 0, 0.48);
}

.space-home-hero-glow {
    position: absolute;
    z-index: 2;
    top: 18%;
    left: 7%;

    width: 460px;
    height: 460px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(59, 105, 193, 0.15) 0%,
            rgba(42, 76, 148, 0.07) 38%,
            transparent 70%
        );

    filter: blur(15px);
    pointer-events: none;
}

.space-home-hero-stars {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    opacity: 0.18;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.9) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle,
            rgba(255,255,255,0.6) 1px,
            transparent 1px
        );

    background-size:
        120px 120px,
        190px 190px;

    background-position:
        30px 20px,
        80px 60px;
}


/* ==========================================================================
   Main content container
   ========================================================================== */

.space-home-hero-container {
    position: relative;
    z-index: 5;

    width: min(90%, 1440px);
    min-height: 540px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}

.space-home-hero-content {
    width: min(680px, 55%);
    padding: 80px 0 100px;
}


/* ==========================================================================
   Eyebrow
   ========================================================================== */

.space-home-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 23px;

    color: #d8bc75;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.space-home-hero-eyebrow-line {
    width: 46px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(216,188,117,0.2),
            rgba(216,188,117,0.95)
        );
}


/* ==========================================================================
   Main title
   ========================================================================== */

.space-home-hero-title {
    max-width: 680px;

    margin: 0;

    color: var(--space-hero-title-colour);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 6vw, 64px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;

    text-wrap: balance;

    text-shadow:
        0 3px 25px rgba(0, 0, 0, 0.28);
}


/* ==========================================================================
   Roles
   ========================================================================== */

.space-home-hero-roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 24px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.space-home-hero-roles i {
    color: #d8bc75;
    font-size: 8px;
    font-style: normal;

    text-shadow:
        0 0 10px rgba(216, 188, 117, 0.55);
}


/* ==========================================================================
   Caption
   ========================================================================== */

.space-home-hero-caption {
    max-width: 590px;

    margin: 31px 0 0;

    color: var(--space-hero-caption-colour);

    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.88;

    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.22);
}


/* ==========================================================================
   CTA
   ========================================================================== */

.space-home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 34px;
}

.space-home-hero-primary {
    position: relative;
    overflow: hidden;

    min-height: 50px;

    padding: 0 25px;

    border: 1px solid rgba(241, 215, 157, 0.5);
    border-radius: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    background:
        linear-gradient(
            135deg,
            #d4b466 0%,
            #f0d89e 52%,
            #b98f42 100%
        );

    color: var(--space-hero-button-text);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.025em;

    text-decoration: none;

    box-shadow:
        0 7px 25px rgba(206, 167, 78, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.space-home-hero-primary::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -65%;

    width: 40%;
    height: 260%;

    background: rgba(255, 255, 255, 0.25);

    transform: rotate(24deg);

    transition: left 0.55s ease;
}

.space-home-hero-primary:hover {
    color: var(--space-hero-button-text);

    transform: translateY(-2px);

    box-shadow:
        0 11px 32px rgba(206, 167, 78, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.space-home-hero-primary:hover::before {
    left: 130%;
}

.space-home-hero-primary span,
.space-home-hero-primary i {
    position: relative;
    z-index: 1;
}

.space-home-hero-primary i {
    font-size: 13px;
}


/* ==========================================================================
   Right-hand vertical detail
   ========================================================================== */

.space-home-hero-side-detail {
    position: absolute;

    z-index: 5;

    right: 26px;
    top: 50%;

    display: flex;
    align-items: center;
    gap: 18px;

    transform:
        translateY(-50%)
        rotate(90deg);

    transform-origin: center;

    color: rgba(255, 255, 255, 0.46);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;

    white-space: nowrap;
}

.space-home-hero-side-line {
    display: block;

    width: 45px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 188, 117, 0.65)
        );
}


/* ==========================================================================
   Slide navigation
   ========================================================================== */

.space-home-hero-navigation {
    position: absolute;

    z-index: 6;

    left: 5%;
    bottom: 42px;

    display: flex;
    align-items: center;
    gap: 9px;
}

.space-home-hero-nav {
    position: relative;

    width: 34px;
    height: 18px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.space-home-hero-nav span {
    position: absolute;

    left: 0;
    top: 50%;

    width: 100%;
    height: 1px;

    background: rgba(255, 255, 255, 0.28);

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        width 0.25s ease;
}

.space-home-hero-nav.is-active {
    width: 56px;
}

.space-home-hero-nav.is-active span {
    background:
        linear-gradient(
            90deg,
            #d8bc75,
            rgba(216, 188, 117, 0.35)
        );
}


/* ==========================================================================
   Scroll detail
   ========================================================================== */

.space-home-hero-scroll {
    position: absolute;

    z-index: 6;

    left: 50%;
    bottom: 20px;

    width: 1px;
    height: 38px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.12);

    transform: translateX(-50%);
}

.space-home-hero-scroll span {
    position: absolute;

    top: -20px;
    left: 0;

    width: 1px;
    height: 20px;

    background:
        linear-gradient(
            180deg,
            transparent,
            #d8bc75
        );

    animation:
        spaceHeroScroll 2.1s ease-in-out infinite;
}

@keyframes spaceHeroScroll {

    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(58px);
        opacity: 0;
    }
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1100px) {

    .space-home-hero,
    .space-home-hero-container {
        min-height: 650px;
    }

    .space-home-hero-container {
        width: 88%;
    }

    .space-home-hero-content {
        width: min(650px, 68%);
    }

    .space-home-hero-title {
        font-size: clamp(52px, 7vw, 76px);
    }

    .space-home-hero-side-detail {
        display: none;
    }
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 760px) {

    .space-home-hero {
        min-height: 690px;
    }

    .space-home-hero-container {
        width: 86%;
        min-height: 690px;

        align-items: flex-end;
    }

    .space-home-hero-content {
        width: 100%;

        padding:
            120px
            0
            92px;
    }

    .space-home-hero-slide {
        background-position: center top;
    }

    .space-home-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2, 7, 19, 0.15) 0%,
                rgba(3, 8, 21, 0.26) 28%,
                rgba(3, 8, 21, 0.72) 58%,
                rgba(2, 6, 16, 0.97) 100%
            );
    }

    .space-home-hero-vignette {
        box-shadow:
            inset 0 60px 80px rgba(0, 0, 0, 0.1),
            inset 0 -100px 100px rgba(0, 0, 0, 0.48);
    }

    .space-home-hero-glow {
        width: 280px;
        height: 280px;

        left: -60px;
        top: 42%;
    }

    .space-home-hero-eyebrow {
        gap: 10px;

        margin-bottom: 16px;

        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .space-home-hero-eyebrow-line {
        width: 28px;
    }

    .space-home-hero-title {
        max-width: 100%;

        font-size: clamp(45px, 13vw, 64px);
        line-height: 1;
    }

    .space-home-hero-roles {
        gap: 7px;

        margin-top: 18px;

        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .space-home-hero-caption {
        margin-top: 18px;

        font-size: 16px;
        line-height: 1.55;
    }

    .space-home-hero-actions {
        margin-top: 25px;
    }

    .space-home-hero-primary {
        min-height: 48px;

        padding: 0 21px;

        font-size: 13px;
    }

    .space-home-hero-navigation {
        left: 7%;
        bottom: 32px;
    }

    .space-home-hero-scroll {
        display: none;
    }
}


/* ==========================================================================
   Small mobile
   ========================================================================== */

@media (max-width: 480px) {

    .space-home-hero,
    .space-home-hero-container {
        min-height: 560px;
    }

    .space-home-hero-container {
        width: 92%;
    }

    .space-home-hero-content {
        width: 96%;
        padding-bottom: 40px;
        transform: translateX(4px);
    }

    .space-home-hero-title {
        max-width: 290px;

        font-size: clamp(30px, 10.8vw, 36px);
        line-height: 1.08;
    }

    .space-home-hero-roles {
        max-width: 380px;

        gap: 5px;

        font-size: 10px;
        letter-spacing: 0.07em;
        line-height: 1.65;
    }

    .space-home-hero-caption {
        max-width: 305px;

        font-size: 15px;
        line-height: 1.5;
    }

    .space-home-hero-primary {
        padding: 0 19px;

        font-size: 12px;
    }
}

/* ==========================================================================
   SPACE THEME
   Courses / Explore Jordon's World
   ========================================================================== */

.space-courses {
    position: relative;
    overflow: hidden;
    padding: 34px 0 38px;
    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(47, 89, 159, 0.22),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #061326 0%,
            #07182c 48%,
            #061322 100%
        );
    border-top: 1px solid rgba(215, 184, 105, 0.22);
    border-bottom: 1px solid rgba(215, 184, 105, 0.22);
    color: #ffffff;
}

.space-courses-container {
    position: relative;
    z-index: 4;
    width: min(90%, 1500px);
    margin: 0 auto;
}


/* ==========================================================================
   Background detail
   ========================================================================== */

.space-courses-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    opacity: 0.18;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.75) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle,
            rgba(255,255,255,0.38) 1px,
            transparent 1px
        );

    background-size:
        110px 110px,
        170px 170px;

    background-position:
        20px 20px,
        75px 55px;
}

.space-courses-glow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
}

.space-courses-glow-left {
    width: 360px;
    height: 360px;
    left: -150px;
    top: -100px;
    background: rgba(39, 89, 172, 0.18);
}

.space-courses-glow-right {
    width: 330px;
    height: 330px;
    right: -140px;
    bottom: -120px;
    background: rgba(207, 165, 77, 0.1);
}


/* ==========================================================================
   Heading
   ========================================================================== */

.space-courses-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
    text-align: center;
}

.space-courses-heading-line {
    width: 150px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(214, 183, 105, 0.65)
        );
}

.space-courses-heading-line:last-child {
    transform: scaleX(-1);
}

.space-courses-eyebrow {
    color: #d9bd76;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.space-courses-title {
    margin: 0;
    color: #e5c882;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2vw, 31px);
    font-weight: 400;
    line-height: 1.2;
}


/* ==========================================================================
   Card
   ========================================================================== */

.space-course-card {
    min-width: 0;
}

.space-course-card-link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 208px;
    overflow: hidden;

    border: 1px solid rgba(221, 190, 113, 0.72);
    border-radius: 9px;

    background: #071322;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.space-course-card-link:hover {
    transform: translateY(-4px);

    border-color: rgba(238, 208, 137, 0.95);

    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(211, 175, 92, 0.1);
}


/* ==========================================================================
   Image
   ========================================================================== */

.space-course-image {
    position: absolute;
    inset: 0;
}

.space-course-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s ease,
        filter 0.5s ease;
}

.space-course-card-link:hover .space-course-image img {
    transform: scale(1.045);
}

.space-course-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 11, 24, 0.42) 0%,
            rgba(4, 11, 24, 0.62) 36%,
            rgba(4, 11, 24, 0.89) 72%,
            rgba(4, 11, 24, 0.96) 100%
        );
}


/* ==========================================================================
   Content
   ========================================================================== */

.space-course-content {
    position: relative;
    z-index: 3;

    min-height: 208px;

    padding: 26px 25px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.space-course-icon {
    width: 46px;
    height: 46px;

    margin-bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #dfbe6c;

    font-size: 31px;

    text-shadow:
        0 0 14px rgba(223, 190, 108, 0.2);
}

.space-course-title {
    max-width: 330px;

    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(19px, 1.45vw, 25px);
    font-weight: 400;
    line-height: 1.12;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.75);
}

.space-course-description {
    max-width: 330px;

    margin: 9px 0 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 12px;
    line-height: 1.48;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.65);
}

.space-course-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 12px;

    color: #e4bd59;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.015em;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}

.space-course-card-link:hover .space-course-more {
    gap: 12px;
    color: #f0d487;
}

.space-course-more i {
    font-size: 10px;
}


/* ==========================================================================
   Subtle inner frame
   ========================================================================== */

.space-course-card-link::after {
    content: "";

    position: absolute;

    inset: 7px;

    z-index: 2;

    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 5px;

    pointer-events: none;
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1200px) {

    /* Normal header */

    .space-header-inner {
        min-height: 78px;
    }

    .space-header-navigation,
    .space-header-social,
    .space-header-auth,
    .space-booking-btn {
        display: none !important;
    }

    .space-header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .space-header-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .space-mobile-toggle {
        display: inline-flex !important;
    }


    /* Sticky header */

    .space-sticky-navigation {
        display: none !important;
    }

    .space-sticky-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .space-sticky-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .space-sticky-actions .space-booking-btn {
        display: none !important;
    }

    .space-sticky-actions .space-mobile-toggle {
        display: inline-flex !important;
    }
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 700px) {

    .space-courses {
        padding: 30px 0 34px;
    }

    .space-courses-container {
        width: 88%;
    }

    .space-courses-heading {
        gap: 11px;
        margin-bottom: 20px;
    }

    .space-courses-heading-line {
        width: 42px;
    }

    .space-courses-eyebrow {
        font-size: 9px;
        letter-spacing: 0.13em;
    }

    .space-courses-title {
        font-size: 22px;
    }

    .space-courses-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .space-course-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .space-course-card-link,
    .space-course-content {
        min-height: 220px;
    }

    .space-course-content {
        padding: 28px 22px 24px;
    }

    .space-course-title {
        font-size: 23px;
    }

    .space-course-description {
        font-size: 13px;
    }
}

/* ==========================================================================
   SPACE COURSES
   Carousel layout
   ========================================================================== */

.space-courses-header {
    position: relative;
    margin-bottom: 18px;
}

.space-courses-navigation {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(-50%);
}

.space-courses-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(216, 188, 117, 0.28);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    color: #e2c477;
    cursor: pointer;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.space-courses-arrow:hover {
    background: rgba(216, 188, 117, 0.08);
    border-color: rgba(216, 188, 117, 0.5);
    transform: translateY(-1px);
}

.space-courses-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;

    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;

    cursor: grab;
}

.space-courses-carousel.is-dragging {
    cursor: grabbing;
}

.space-courses-carousel img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.space-courses-track {
    display: flex;
    gap: 16px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.space-course-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
}


/* Delivery badge */

.space-course-delivery {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 30px;
    padding: 0 11px;

    border: 1px solid rgba(220, 188, 111, 0.3);
    border-radius: 20px;

    background: rgba(3, 10, 23, 0.72);

    color: #e3c67d;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.space-course-delivery i {
    font-size: 11px;
}


/* Tablet */

@media (max-width: 1050px) {

    .space-course-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .space-courses-heading {
        justify-content: flex-start;
        text-align: left;
        padding-right: 100px;
    }

    .space-courses-heading-line {
        display: none;
    }
}


/* Mobile */

@media (max-width: 700px) {

    .space-courses-header {
        margin-bottom: 20px;
    }

    .space-courses-heading {
        padding-right: 0;
        text-align: center;
        justify-content: center;
    }

    .space-courses-navigation {
        position: static;
        justify-content: center;
        margin-top: 14px;
        transform: none;
    }

    .space-course-card {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   SPACE COURSES
   Split image / content cards
   ========================================================================== */

.space-course-card-link {
    position: relative;
    display: grid;
    grid-template-columns: 42% 58%;

    min-height: 220px;

    overflow: hidden;

    border: 1px solid rgba(221, 190, 113, 0.78);
    border-radius: 9px;

    background: #071426;

    text-decoration: none;

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.space-course-card-link:hover {
    transform: translateY(-4px);

    border-color: rgba(240, 207, 126, 0.98);

    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.36),
        0 0 26px rgba(211, 175, 92, 0.08);
}


/* Image side */

.space-course-media {
    position: relative;
    min-width: 0;
    overflow: hidden;

    border-right: 1px solid rgba(221, 190, 113, 0.28);
}

.space-course-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.space-course-card-link:hover .space-course-media img {
    transform: scale(1.05);
}

.space-course-media-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 22, 0.04) 0%,
            rgba(4, 10, 22, 0.08) 56%,
            rgba(4, 10, 22, 0.28) 100%
        );

    pointer-events: none;
}


/* Content side */

.space-course-panel {
    position: relative;

    min-width: 0;

    padding: 18px 22px 18px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(40, 81, 139, 0.11),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #08182d 0%,
            #071426 100%
        );

    text-align: left;
}


/* Delivery badge */

.space-course-panel .space-course-delivery {
    position: static;

    margin-bottom: 14px;

    width: fit-content;

    min-height: 30px;
    padding: 0 11px;

    border: 1px solid rgba(222, 190, 113, 0.42);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);

    color: #e0bf70;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Title */

.space-course-panel .space-course-title {
    max-width: none;

    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1.14;

    text-align: left;

    text-shadow: none;
}


/* Description */

.space-course-panel .space-course-description {
    max-width: none;

    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    line-height: 1.55;

    text-align: left;

    text-shadow: none;
}


/* Divider */

.space-course-divider {
    width: 34px;
    height: 1px;

    margin: 14px 0 12px;

    background: rgba(224, 191, 111, 0.58);
}


/* Link */

.space-course-panel .space-course-more {
    margin-top: 0;

    color: #dfba5c;

    font-size: 11px;
    font-weight: 800;
}

.space-course-card-link:hover .space-course-more {
    color: #f0d487;
}


/* Remove old inner frame */

.space-course-card-link::after {
    display: none;
}


/* Tablet */

@media (max-width: 1050px) {

    .space-course-card-link {
        grid-template-columns: 40% 60%;
        min-height: 240px;
    }

    .space-course-panel {
        padding: 20px;
    }
}


/* Mobile */

@media (max-width: 700px) {

    .space-course-card-link {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .space-course-media {
        height: 210px;

        border-right: 0;
        border-bottom: 1px solid rgba(221, 190, 113, 0.28);
    }

    .space-course-panel {
        padding: 22px 22px 24px;
    }

    .space-course-panel .space-course-title {
        font-size: 23px;
    }

    .space-course-panel .space-course-description {
        font-size: 13px;
    }
}

/* ==========================================================================
   SPACE WELCOME / MEET JORDON
   ========================================================================== */

.space-welcome {
    position: relative;
    padding: 46px 0 48px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(218, 188, 122, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fbf9f4 0%,
            #f7f3eb 100%
        );

    color: #091a30;
}

.space-welcome-container {
    width: min(90%, 1460px);
    margin: 0 auto;
}

.space-welcome-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.9fr)
        minmax(340px, 1.08fr)
        minmax(350px, 1.05fr);

    gap: 42px;
    align-items: stretch;
}


/* ==========================================================================
   LEFT IMAGE
   ========================================================================== */

.space-welcome-image {
    position: relative;
    min-height: 390px;
    overflow: hidden;

    border: 1px solid rgba(180, 145, 76, 0.35);
    border-radius: 8px;

    background: #eee8dd;
}

.space-welcome-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.space-welcome-image:hover img {
    transform: scale(1.025);
}


/* ==========================================================================
   CENTRE COPY
   ========================================================================== */

.space-welcome-copy {
    padding: 10px 0 4px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.space-welcome-kicker {
    margin-bottom: 10px;

    color: #9b7832;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.space-welcome-title {
    max-width: 520px;
    margin: 0;

    color: #071a32;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 49px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.space-welcome-text {
    max-width: 560px;

    margin-top: 18px;

    color: #485260;

    font-size: 15px;
    line-height: 1.62;
}

.space-welcome-actions {
    width: 100%;

    margin-top: auto;
    padding-top: 24px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.space-welcome-signature {
    max-width: 190px;
}

.space-welcome-signature img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 74px;

    object-fit: contain;
}

.space-welcome-button {
    flex: 0 0 auto;

    min-height: 45px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid #0b2849;
    border-radius: 6px;

    background: #071d36;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.space-welcome-button:hover {
    background: #0d3157;
    border-color: #0d3157;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ==========================================================================
   RIGHT COLUMN
   ========================================================================== */

.space-welcome-side {
    position: relative;

    padding-left: 34px;

    border-left: 1px solid rgba(13, 35, 61, 0.12);
}


/* ==========================================================================
   LIVE CARD
   ========================================================================== */

.space-welcome-live {
    position: relative;

    min-height: 180px;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;

    border: 1px solid rgba(213, 178, 96, 0.45);
    border-radius: 8px;

    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(65, 92, 168, 0.34),
            transparent 40%
        ),
        linear-gradient(
            120deg,
            #06162d 0%,
            #091b37 55%,
            #101b3d 100%
        );

    box-shadow: 0 14px 32px rgba(4, 17, 34, 0.14);
}

.space-welcome-live::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.32;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.7) 1px,
            transparent 1px
        );

    background-size: 54px 54px;
}

.space-welcome-live-copy {
    position: relative;
    z-index: 3;

    padding: 19px 8px 18px 22px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.space-welcome-live-label {
    margin-bottom: 8px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #dfbd68;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.space-welcome-live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff7426;

    box-shadow:
        0 0 0 4px rgba(255, 116, 38, 0.1),
        0 0 12px rgba(255, 116, 38, 0.55);

    animation: spaceLivePulse 1.8s ease-in-out infinite;
}

@keyframes spaceLivePulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.82);
    }
}

.space-welcome-live h3 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.15;
}

.space-welcome-live p {
    max-width: 290px;

    margin: 7px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    line-height: 1.45;
}

.space-welcome-live-actions {
    margin-top: 12px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.space-welcome-live-button,
.space-welcome-live-payment {
    min-height: 34px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 18px;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

.space-welcome-live-button {
    border: 1px solid #e2bd64;

    background:
        linear-gradient(
            135deg,
            #f1d783,
            #d6aa4e
        );

    color: #07182b;
}

.space-welcome-live-button:hover {
    color: #07182b;
    transform: translateY(-1px);
}

.space-welcome-live-payment {
    border: 1px solid rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.space-welcome-live-payment:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}


/* Live image */

.space-welcome-live-image {
    position: relative;
    z-index: 2;

    min-width: 0;
    overflow: hidden;
}

.space-welcome-live-image::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            90deg,
            #091a35 0%,
            rgba(9, 26, 53, 0.28) 38%,
            transparent 70%
        );

    pointer-events: none;
}

.space-welcome-live-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================================
   LATEST
   ========================================================================== */

.space-welcome-latest {
    margin-top: 17px;
}

.space-welcome-latest-header {
    position: relative;

    margin-bottom: 9px;

    display: flex;
    align-items: center;
    gap: 13px;

    color: #6f624b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.space-welcome-latest-header::after {
    content: "";

    flex: 1;

    height: 1px;

    background: rgba(20, 37, 55, 0.16);
}

.space-welcome-latest-list {
    display: flex;
    flex-direction: column;
}

.space-welcome-latest-item {
    min-height: 74px;

    padding: 8px 0;

    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 13px;
    align-items: center;

    border-bottom: 1px solid rgba(15, 35, 57, 0.08);
}

.space-welcome-latest-item:last-child {
    border-bottom: 0;
}

.space-welcome-latest-image {
    width: 72px;
    height: 62px;

    display: block;
    overflow: hidden;

    border-radius: 5px;

    background: #e5dfd4;
}

.space-welcome-latest-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.space-welcome-latest-item:hover
.space-welcome-latest-image img {
    transform: scale(1.05);
}

.space-welcome-latest-copy {
    min-width: 0;
}

.space-welcome-latest-copy h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.space-welcome-latest-copy h3 a {
    color: #14253a;
    text-decoration: none;
}

.space-welcome-latest-copy h3 a:hover {
    color: #a57d2f;
}

.space-welcome-latest-copy p {
    margin: 4px 0 0;

    color: #68717a;

    font-size: 10px;
    line-height: 1.35;
}

.space-welcome-latest-date {
    display: block;

    margin-top: 4px;

    color: #a08042;

    font-size: 9px;
    font-weight: 700;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1180px) {

    .space-welcome-grid {
        grid-template-columns:
            minmax(250px, 0.85fr)
            minmax(340px, 1.15fr);

        gap: 32px;
    }

    .space-welcome-side {
        grid-column: 1 / -1;

        padding-left: 0;
        padding-top: 28px;

        border-left: 0;
        border-top: 1px solid rgba(13, 35, 61, 0.12);

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .space-welcome-latest {
        margin-top: 0;
    }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {
    
    .space-welcome-latest-copy p {
    font-size: 12px;
    line-height: 1.35;
}

    .space-welcome {
        padding: 34px 0 38px;
    }

    .space-welcome-container {
        width: 88%;
    }

    .space-welcome-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .space-welcome-image {
        min-height: 0;
        aspect-ratio: 4 / 4.4;
    }

    .space-welcome-copy {
        padding: 0;
    }

    .space-welcome-title {
        font-size: 38px;
    }

    .space-welcome-text {
        font-size: 14px;
    }

    .space-welcome-actions {
        margin-top: 22px;
        padding-top: 0;

        align-items: center;
    }

    .space-welcome-signature {
        max-width: 150px;
    }

    .space-welcome-side {
        grid-column: auto;

        padding-top: 24px;

        display: block;
    }

    .space-welcome-live {
        grid-template-columns: 1fr 120px;
        min-height: 190px;
    }

    .space-welcome-live-copy {
        padding: 18px 6px 18px 18px;
    }

    .space-welcome-latest {
        margin-top: 24px;
    }
}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    .space-welcome-title {
        font-size: 34px;
    }

    .space-welcome-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .space-welcome-live {
        grid-template-columns: 1fr;
    }

    .space-welcome-live-image {
        height: 180px;
        order: -1;
    }

    .space-welcome-live-image::before {
        background:
            linear-gradient(
                180deg,
                transparent 50%,
                #091a35 100%
            );
    }
}

/* ==========================================================
   SPACE FEATURED SHOWCASE
========================================================== */

.space-featured {
    position: relative;
    overflow: hidden;
    background-color: #071427;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.space-featured-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 16, 34, 0.78) 0%,
            rgba(5, 20, 42, 0.48) 32%,
            rgba(7, 22, 46, 0.18) 50%,
            rgba(5, 18, 39, 0.42) 72%,
            rgba(4, 16, 34, 0.72) 100%
        );
    z-index: 1;
}

.space-featured-stars {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        radial-gradient(circle at 12% 25%, rgba(255,255,255,.85) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 70%, rgba(255,255,255,.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 53% 18%, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 74% 62%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 91% 30%, rgba(255,255,255,.8) 0 1px, transparent 1.5px);
}

.space-featured-container {
    position: relative;
    z-index: 3;
    width: min(1540px, calc(100% - 80px));
    margin: 0 auto;
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: 98px;
    padding: 52px 0;
}

.space-featured-copy {
    position: relative;
    z-index: 4;
    max-width: 470px;
}

.space-featured-kicker {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d9b76d;
}

.space-featured-title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1;
    font-weight: 500;
    color: #f3d18a;
}

.space-featured-tagline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #e0c17e;
}

.space-featured-tagline span {
    opacity: 0.75;
}

.space-featured-description {
    margin: 0 0 24px;
    max-width: 470px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
}

.space-featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d9ad55 0%, #f0c76d 100%);
    color: #071427;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.space-featured-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.3);
    color: #071427;
}

.space-featured-visual {
    position: relative;
    z-index: 3;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.space-featured-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(226, 181, 90, 0.18) 0%,
        rgba(97, 126, 214, 0.12) 38%,
        transparent 70%
    );
    filter: blur(8px);
}

.space-featured-visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 460px;
    max-height: 340px;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 18px rgba(226, 181, 90, 0.18));
    animation: spaceFeaturedFloat 5s ease-in-out infinite;
    will-change: transform;
}

@keyframes spaceFeaturedFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .space-featured-visual img {
        animation: none;
    }
}

.space-featured-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.space-featured-feature {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.space-featured-feature-icon {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(220, 182, 98, 0.72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e3bd68;
    font-size: 20px;
    background: rgba(4, 18, 40, 0.48);
    box-shadow: inset 0 0 0 4px rgba(222, 181, 92, 0.03);
}

.space-featured-feature h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

.space-featured-feature-copy p {
    margin: 5px 0 0;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255,255,255,.72);
}

@media (max-width: 1100px) {
    .space-featured-container {
        grid-template-columns: 1fr 1fr;
    }

    .space-featured-visual {
        order: 3;
        grid-column: 1 / -1;
        min-height: 240px;
    }

    .space-featured-visual img {
        max-height: 240px;
    }
}

@media (max-width: 760px) {
    .space-featured-container {
        width: min(100% - 36px, 680px);
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 42px 0;
    }

    .space-featured-copy {
        max-width: none;
    }

    .space-featured-visual {
        order: initial;
        grid-column: auto;
        min-height: auto;
    }

    .space-featured-features {
        gap: 18px;
    }

    .space-featured-title {
        font-size: 36px;
    }
}

/* ==========================================================
   SPACE SERVICES
========================================================== */

.space-services {
    position: relative;
    overflow: hidden;
    padding: 18px 0 22px;
    background:
        linear-gradient(
            180deg,
            #f8f3e9 0%,
            #fbf8f1 100%
        );
    color: #0b1830;
}

.space-services-container {
    width: min(1540px, calc(100% - 80px));
    margin: 0 auto;
}

.space-services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.space-services-heading-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 18px;
}

.space-services-heading-wrap::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(
        90deg,
        rgba(190, 148, 74, .55),
        rgba(190, 148, 74, .08)
    );
}

.space-services-kicker {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #8c6430;
}

.space-services-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #15243d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}

.space-services-view-all:hover {
    color: #a77735;
    transform: translateX(2px);
}

.space-services-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.space-services-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
}

.space-service-card {
    flex: 0 0 300px;
    width: 300px;
    overflow: hidden;
    border: 1px solid rgba(15, 31, 55, .07);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(34, 37, 42, .06);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.space-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(34, 37, 42, .1);
}

.space-service-card-image {
    position: relative;
    display: block;
    height: 118px;
    overflow: hidden;
    background: #e9e2d7;
}

.space-service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.space-service-card:hover .space-service-card-image img {
    transform: scale(1.035);
}

.space-service-card-body {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: 14px 16px 15px;
}

.space-service-card-body h3 {
    margin: 0 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

.space-service-card-body h3 a {
    color: #18243a;
    text-decoration: none;
}

.space-service-card-body p {
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1.42;
    color: #596170;
}

.space-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
    color: #a06e2d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .2s ease,
        gap .2s ease;
}

.space-service-card-link:hover {
    color: #7c501b;
    gap: 11px;
}

@media (max-width: 1100px) {
    .space-services-container {
        width: min(100% - 48px, 1100px);
    }

    .space-service-card {
        flex-basis: 280px;
        width: 280px;
    }
}

@media (max-width: 760px) {
    .space-services {
        padding: 22px 0 26px;
    }

    .space-services-container {
        width: min(100% - 32px, 680px);
    }

    .space-services-header {
        align-items: flex-start;
        gap: 12px;
    }

    .space-services-heading-wrap::after {
        display: none;
    }

    .space-services-view-all {
        white-space: nowrap;
    }

    .space-service-card {
        flex-basis: 265px;
        width: 265px;
    }

    .space-service-card-image {
        height: 112px;
    }
}

/* ==========================================================
   SPACE SERVICES - SLIDER INTERACTION
========================================================== */

.space-services-slider {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.space-services-slider.is-dragging {
    cursor: grabbing;
}

.space-services-track {
    will-change: transform;
}

.space-services-slider.is-dragging a {
    pointer-events: none;
}

/* ==========================================================
   SPACE EVENTS
========================================================== */

.space-events {
    position: relative;
    overflow: hidden;
    padding: 18px 0 22px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(32, 73, 112, .22),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #07182b 0%,
            #061426 100%
        );
    color: #ffffff;
    border-top: 1px solid rgba(218, 176, 88, .18);
    border-bottom: 1px solid rgba(218, 176, 88, .18);
}

.space-events-container {
    width: min(1540px, calc(100% - 80px));
    margin: 0 auto;
}

.space-events-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.space-events-heading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    color: #d7ad5d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.space-events-heading i {
    font-size: 14px;
}

.space-events-header-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(
        90deg,
        rgba(215, 173, 93, .35),
        rgba(215, 173, 93, .06)
    );
}

.space-events-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #d7ad5d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}

.space-events-view-all:hover {
    color: #f0ca79;
    transform: translateX(2px);
}

.space-events-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.space-events-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.space-event-item {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 7px;
    background: rgba(2, 12, 25, .46);
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.space-event-item:hover {
    transform: translateY(-2px);
    border-color: rgba(215, 173, 93, .24);
    background: rgba(7, 24, 43, .82);
}

.space-event-link {
    display: grid;
    grid-template-columns: 58px 76px minmax(0, 1fr);
    align-items: center;
    min-height: 82px;
    color: inherit;
    text-decoration: none;
}

.space-event-date {
    width: 46px;
    min-height: 58px;
    margin-left: 6px;
    overflow: hidden;
    border: 1px solid rgba(226, 183, 94, .75);
    border-radius: 6px;
    background: linear-gradient(
        180deg,
        #e8bb64 0%,
        #f1ce82 100%
    );
    color: #07182b;
    text-align: center;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
}

.space-event-date strong {
    display: block;
    padding-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

.space-event-date span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .08em;
}

.space-event-image {
    width: 64px;
    height: 56px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
}

.space-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.space-event-item:hover .space-event-image img {
    transform: scale(1.05);
}

.space-event-copy {
    min-width: 0;
    padding: 10px 14px 10px 2px;
}

.space-event-copy h3 {
    margin: 0 0 5px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    text-overflow: ellipsis;
}

.space-event-copy p {
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .66);
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .space-events-container {
        width: min(100% - 48px, 1100px);
    }

    .space-event-item {
        flex: 0 0 360px;
    }
}

@media (max-width: 760px) {
    .space-events {
        padding: 18px 0 20px;
    }

    .space-events-container {
        width: min(100% - 32px, 680px);
    }

    .space-events-header-line {
        display: none;
    }

    .space-events-header {
        justify-content: flex-start;
    }

    .space-events-track {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .space-events-track::-webkit-scrollbar {
        display: none;
    }

    .space-event-item {
        flex: 0 0 315px;
    }
}
/* ==========================================================
   SPACE TESTIMONIALS
========================================================== */

.space-testimonials {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 28px 0 34px;
    background:
        radial-gradient(
            circle at 72% 22%,
            rgba(225, 183, 92, .12),
            transparent 18%
        ),
        radial-gradient(
            circle at 25% 45%,
            rgba(62, 100, 151, .20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #08172b 0%,
            #0b1c34 48%,
            #071426 100%
        );
    color: #ffffff;
    border-top: 1px solid rgba(215, 173, 93, .16);
    border-bottom: 1px solid rgba(215, 173, 93, .16);
}

.space-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image:
        radial-gradient(circle at 8% 18%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
        radial-gradient(circle at 19% 72%, rgba(255,255,255,.65) 0 1px, transparent 1.5px),
        radial-gradient(circle at 39% 24%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 78%, rgba(255,255,255,.6) 0 1px, transparent 1.5px),
        radial-gradient(circle at 77% 32%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
        radial-gradient(circle at 91% 68%, rgba(255,255,255,.7) 0 1px, transparent 1.5px);
}

.space-testimonials-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3, 13, 27, .78) 0%,
            rgba(3, 13, 27, .60) 38%,
            rgba(3, 13, 27, .42) 62%,
            rgba(3, 13, 27, .68) 100%
        );
}

.space-testimonials-container {
    position: relative;
    z-index: 2;
    width: min(1540px, calc(100% - 80px));
    margin: 0 auto;
}

.space-testimonials-content {
    width: 70%;
    max-width: 1080px;
}

.space-testimonials-header {
    width: calc(100% / 0.70);
    max-width: none;
    margin-bottom: 14px;
}

.space-testimonials-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.space-testimonials-header-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(
        90deg,
        rgba(215, 173, 93, .38),
        rgba(215, 173, 93, .06)
    );
}

.space-testimonials-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.space-testimonials-slider {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.space-testimonials-track {
    display: flex;
    align-items: stretch;
    gap: 44px;
    transition: transform .55s ease;
    will-change: transform;
}

.space-testimonial-card {
    position: relative;
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 0;
    padding: 2px 20px 6px 0;
}

.space-testimonial-card + .space-testimonial-card {
    padding-left: 44px;
    border-left: 1px solid rgba(215, 173, 93, .20);
}

.space-testimonial-quote {
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    line-height: 1;
    color: rgba(218, 176, 89, .35);
    pointer-events: none;
}

.space-testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    color: #e2b65c;
    font-size: 11px;
}

.space-testimonial-card blockquote {
    position: relative;
    z-index: 2;
    margin: 0 0 17px;
    max-width: 620px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.55;
    font-style: italic;
    color: rgba(255, 255, 255, .90);
}

.space-testimonial-person {
    display: flex;
    align-items: center;
    gap: 26px;
}

.space-testimonial-person img {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(218, 176, 89, .48);
    border-radius: 50%;
    object-fit: cover;
}

.space-testimonial-person strong {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
}

.space-testimonial-person span {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 255, 255, .58);
}

.space-testimonials-nav {
    display: flex;
    gap: 9px;
    align-self: center;
}

.space-testimonials-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(218, 176, 89, .50);
    border-radius: 50%;
    background: rgba(4, 17, 34, .55);
    color: #e0b65f;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.space-testimonials-nav button:hover {
    transform: translateY(-1px);
    background: #d9ad55;
    color: #071427;
}

.space-testimonials-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d9af5d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .2s ease,
        gap .2s ease;
}

.space-testimonials-view-all:hover {
    gap: 12px;
    color: #f0ca79;
}

.space-testimonials-kicker {
    margin-top: 10px;
    color: #f3d18a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.28);
}

@media (max-width: 900px) {
    
    .space-testimonials-content {
    width: 100%;
    max-width: none;
}

.space-testimonials-stage {
    grid-template-columns: 1fr;
}

    .space-testimonial-card {
        flex-basis: 100%;
        padding-right: 5px;
    }

    .space-testimonial-card + .space-testimonial-card {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .space-testimonials {
        padding: 34px 0 28px;
    }

    .space-testimonials-container {
        width: min(100% - 32px, 680px);
    }

    .space-testimonials-header h2 {
        font-size: 24px;
    }

    .space-testimonial-card blockquote {
        font-size: 16px;
    }

}

/* ==========================================================
   SPACE NEWSLETTER STRIP
========================================================== */

.space-newsletter {
    position: relative;
    overflow: hidden;
    padding: 14px 0;
    background:
    radial-gradient(
        circle at 8% 50%,
        rgba(218, 176, 89, .12),
        transparent 20%
    ),
    linear-gradient(
        180deg,
        #fbf7ee 0%,
        #f5efe3 100%
    );
   border-top: 1px solid rgba(171, 128, 49, .22);
   border-bottom: 1px solid rgba(171, 128, 49, .18);
}

.space-newsletter-container {
    width: min(1540px, calc(100% - 80px));
    margin: 0 auto;
}

.space-newsletter-panel {
    display: grid;
    grid-template-columns:
        minmax(300px, 1.15fr)
        minmax(180px, .55fr)
        minmax(390px, 1fr);
    align-items: center;
    gap: 28px;
}

.space-newsletter-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.space-newsletter-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(218, 176, 89, .62);
    border-radius: 50%;
    font-size: 19px;
    color: #a87625;
    background: rgba(255, 255, 255, .58);
    box-shadow:
        0 0 0 5px rgba(218, 176, 89, .035),
        0 0 24px rgba(218, 176, 89, .12);
}

.space-newsletter-icon::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(218, 176, 89, .16);
    border-radius: 50%;
}

.space-newsletter-copy {
    min-width: 0;
}

.space-newsletter-kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #d9af5d;
}

.space-newsletter-copy p {
    margin: 0;
    max-width: 390px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(7, 20, 39, .72);
}

.space-newsletter-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.space-newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        #d9ad55 0%,
        #f0c76d 100%
    );
    color: #071427;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.space-newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
}

.space-newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
}

.space-newsletter-benefit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 58px;
    padding: 0 10px;
    text-align: center;
}

.space-newsletter-benefit + .space-newsletter-benefit {
    border-left: 1px solid rgba(7, 20, 39, .10);
}

.space-newsletter-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    color: #d9af5d;
    font-size: 20px;
}

.space-newsletter-benefit span {
    font-size: 11px;
    line-height: 1.25;
    font-weight: 600;
    color: rgba(7, 20, 39, .78);
}

@media (max-width: 1100px) {
    .space-newsletter-container {
        width: min(100% - 48px, 1100px);
    }

    .space-newsletter-panel {
        grid-template-columns: 1fr auto;
    }

    .space-newsletter-benefits {
        grid-column: 1 / -1;
        width: min(100%, 520px);
        margin: 4px auto 0;
    }
}

@media (max-width: 760px) {
    .space-newsletter {
        padding: 18px 0;
    }

    .space-newsletter-container {
        width: min(100% - 32px, 680px);
    }

    .space-newsletter-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .space-newsletter-intro {
        align-items: flex-start;
    }

    .space-newsletter-action {
        justify-content: flex-start;
    }

    .space-newsletter-button {
        width: 100%;
        max-width: 320px;
    }

    .space-newsletter-benefits {
        grid-column: auto;
        width: 100%;
        margin: 2px 0 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .space-newsletter-benefit {
        flex-direction: row;
        justify-content: flex-start;
        min-height: 42px;
        padding: 0;
        text-align: left;
    }

    .space-newsletter-benefit + .space-newsletter-benefit {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .space-newsletter-benefit-icon {
        width: 30px;
        justify-content: flex-start;
        font-size: 17px;
    }
}

/* ==========================================================
   SPACE FOOTER - SHARE
========================================================== */

.space-footer-share {
    margin-top: 20px;
}

.space-footer-share-title {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--space-footer-accent);
}

.space-footer-share-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.space-footer-share-icons li {
    margin: 0;
    padding: 0;
}

.space-footer-share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(210, 179, 107, .34);
    border-radius: 50%;
    background: rgba(255, 255, 255, .025);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.space-footer-share-icons a:hover {
    transform: translateY(-2px);
    border-color: var(--space-footer-accent);
    background: var(--space-footer-accent);
    color: var(--space-footer-button-text);
}

.space-footer-share-icons img {
    display: block;
    width: 12px;
    height: 12px;
    color: #fff !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.space-footer-share-icons a:hover img {
    filter: brightness(0) saturate(100%);
}

/* ==========================================================================
   SPACE THEME - TABLET / MOBILE HEADER FINAL OVERRIDES
   ========================================================================== */

@media (max-width: 1200px) {

    /* Offcanvas */

    .offcanvas.space-mobile-menu {
        width: min(390px, 90vw) !important;
        max-width: 90vw !important;

        background:
            radial-gradient(
                circle at top right,
                rgba(47, 75, 139, 0.22),
                transparent 35%
            ),
            linear-gradient(
                180deg,
                #09162e 0%,
                #040918 100%
            ) !important;

        background-color: #040918 !important;

        color: #ffffff !important;

        border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: 0 !important;
    }


    .space-mobile-menu .offcanvas-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        min-height: 82px !important;

        padding: 15px 22px !important;

        background: #050b1d !important;

        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    }


    .space-mobile-logo {
        display: flex !important;
        align-items: center !important;

        max-width: 210px !important;
    }


    .space-mobile-logo img {
        display: block !important;

        width: auto !important;

        max-width: 200px !important;
        max-height: 52px !important;

        object-fit: contain !important;
    }


    .space-mobile-menu .btn-close {
        position: static !important;

        display: block !important;

        flex: 0 0 34px !important;

        width: 34px !important;
        height: 34px !important;

        margin: 0 !important;
        padding: 8px !important;

        opacity: 1 !important;

        filter: invert(1) grayscale(1) brightness(2) !important;

        box-shadow: none !important;
    }


    .space-mobile-menu .offcanvas-body {
        display: block !important;

        position: relative !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 14px 22px 28px !important;

        overflow-y: auto !important;

        background:
            linear-gradient(
                180deg,
                #09162e 0%,
                #040918 100%
            ) !important;

        color: #ffffff !important;
    }
}
/* ==========================================================================
   SPACE MOBILE MENU - KEEP ABOVE STICKY HEADER
   ========================================================================== */

.space-mobile-menu {
    z-index: 6000 !important;
}

.offcanvas-backdrop {
    z-index: 5990 !important;
}
/* ==========================================================================
   SPACE MOBILE - HIDE HEADER BASKET
   ========================================================================== */

@media (max-width: 767px) {

    .space-header-cart,
    .space-sticky-header .space-header-cart {
        display: none !important;
    }
}
/* ==========================================================================
   SPACE TESTIMONIAL MEDIA BUTTON
   ========================================================================== */

.space-testimonial-media-btn {
    position: absolute;
    right: -2px;
    bottom: -2px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(4, 14, 29, 0.95);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #e7c978 0%,
            #c79c42 100%
        );

    color: #071427;

    font-size: 12px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28);

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.space-testimonial-media-btn:hover {
    transform: scale(1.08);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.38);

    color: #071427;
}
.space-testimonial-image {
    position: relative;
}

/* ==========================================================================
   SPACE TESTIMONIAL MEDIA
   ========================================================================== */

.space-testimonial-photo {
    position: relative;
    flex: 0 0 auto;
}

.space-testimonial-photo > img {
    display: block;
}

.space-testimonial-media-btn {
    position: absolute;
    right: -20px;
    bottom: -7px;
    z-index: 5;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #071427;
    border-radius: 50%;

    background: #d9ad55;
    color: #071427;

    font-size: 11px;
    text-decoration: none;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .30);

    transition:
        transform .2s ease,
        background .2s ease;
}

.space-testimonial-media-btn:hover {
    transform: scale(1.08);
    background: #f0ca79;
    color: #071427;
}

/* ==========================================================================
   SPACE HERO - TABLET SLIDE 2 POSITION
   ========================================================================== */

@media (min-width: 761px) and (max-width: 1200px) {

    #spaceHeroSlide1 {
        background-position: 38% center;
    }
    
     #spaceHeroSlide2 {
        background-position: 68% center;
    }

}
/* ==========================================================================
   SPACE TESTIMONIALS - SMALL DESKTOP / LAPTOP
   ========================================================================== */

@media (min-width: 901px) and (max-width: 1400px) {

    .space-testimonials-content {
        width: 82%;
        max-width: none;
    }

    .space-testimonials-header {
        width: calc(100% / 0.82);
    }

    .space-testimonials-stage {
        gap: 28px;
    }

    .space-testimonials-track {
        gap: 26px;
    }

    .space-testimonial-card {
        flex-basis: calc((100% - 26px) / 2);
        padding-right: 12px;
    }

    .space-testimonial-card + .space-testimonial-card {
        padding-left: 26px;
    }

    .space-testimonial-card blockquote {
        font-size: 15px;
        line-height: 1.5;
    }

    .space-testimonial-person {
        gap: 14px;
    }

}