﻿/* New Style for Racing Event Hub Mobile Menu Start */

li.nav-right-item-bottom__mr-btn {
    margin-left: 0px !important;
    margin-right: 40px !important;
}

li.nav-right-item-bottom__book-now-btn {
    margin-left: 0px !important;
    margin-right: 20px !important;
    border-right: 1px solid #cccccc;
    padding-right: 40px;
}

li.nav-ewin {
    padding-left: 0px !important;
}

.left-1 {
    display: flex !important;
    flex: 0 0 100%;
    flex-wrap: wrap;
}

ul.nav-language-column {
    width: auto !important;
    display: flex;
    order: 2;
}

ul.nav-left-column {
    display: flex;
    order: 1;
    margin-right: 40px;
}

.burger.clicked {
    top: 20px;
}

.racing-mobile-navigation ul li ul {
    margin-top: 20px !important;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: rgba(255, 255, 255, 0.3);
    padding-top: 20px !important;
    padding-left: 20px !important;
    padding-bottom: 0px !important;
}

ul.racing-mobile-navigation-sub-list>li:first-child {
    margin-bottom: 0;
}

ul.racing-mobile-navigation-list>li {
    padding-bottom: 0px;
    border-bottom: 0px;
}

ul.racing-mobile-navigation-sub-list li>ul>li:last-child {
    float: none;
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    margin-bottom: 20px;
}

ul.racing-mobile-navigation-sub-list>li:nth-child(2) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
    border-color: rgba(255, 255, 255, 0.3);
    float: left;
    width: 50%;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

ul.racing-mobile-navigation-sub-list li:last-child {
    padding-bottom: 20px;
    border-bottom: 1px solid;
    border-color: rgba(255, 255, 255, 0.3);
    float: left;
    width: 50%;
    padding-left: 20px;
    padding-top: 20px;
}

ul.racing-mobile-navigation-sub-list>li>ul {
    border-bottom: none;
}

ul.racing-mobile-navigation-sub-list>li>ul>li:last-child {
    margin-bottom: 0;
}

.raw-html {
    display: flex !important;
    flex: 0 0 100%;
    order: 3;
}

aside#custom_post_widget-4 {
    display: flex;
    flex: 0 0 100%;
}

aside#custom_post_widget-4>.container {
    margin: 0;
    width: 100%;
}

@media screen and (max-width: 992px) {
    ul.nav-language-column {
        float: left;
        width: auto !important;
        margin-right: 40px;
    }

    ul.nav-left-column {
        width: auto;
        margin-bottom: 10px;
    }

    .racing-mobile-navigation>ul>li>ul {
        padding-bottom: 0;
    }
}

/* New Style for Racing Event Hub Mobile Menu End */

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    background-color: var(--rh-themecolor-highlight);
    color: var(--rh-global-black) !important;
}

.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open>.dropdown-toggle.btn-default.focus,
.open>.dropdown-toggle.btn-default:focus,
.open>.dropdown-toggle.btn-default:hover {
    color: var(--rh-themecolor-highlight) !important;
}

.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open>.dropdown-toggle.btn-default.focus,
.open>.dropdown-toggle.btn-default:focus,
.open>.dropdown-toggle.btn-default:hover>span#racing-hub-navigation-arrow {
    color: var(--rh-themecolor-highlight) !important;
}

.btn-default.active,
.btn-default:active,
.open>.dropdown-toggle.btn-default {
    background-color: transparent !important;
}

.btn-default.active,
.btn-default:active,
.open>.dropdown-toggle.btn-default {
    color: var(--rh-themecolor-highlight) !important;
    background-color: transparent !important;
}

.btn-default.active,
.btn-default:active,
.open>.dropdown-toggle.btn-default>span#racing-hub-navigation-arrow {
    color: var(--rh-themecolor-highlight) !important;
}

.subnav-item ul li a {
    color: #fff;
    padding-bottom: 5px;
    transition-timing-function: ease;
}

.subnav__link.subnav__link--active .subnav__link-anchor,
.subnav-item ul li a:hover {
    color: var(--rh-themecolor-highlight);
    border-bottom: 3px solid var(--rh-themecolor-highlight);
    text-decoration: none;
}

ul.dropdown-menu li {
    margin: 0px !important;
}

ul.dropdown-menu li a {
    float: left;
    width: 100%;
    padding: 10px 20px;
}

.subpage-top-container {
    display: none;
}

.slider-left {
    float: left;
    width: 20%;
}

.slider-right {
    float: left;
    width: 80%;
}

span#racing-hub-navigation-arrow {
    position: relative !important;
    top: -2px !important;
}

.subnav-item-group {
    /* display: flex;
    justify-content: space-between; */
}

.racing-promotion-banner-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

/* Safari CSS hack */
.racing-promotion-banner-container>div>ul>li>button {
    text-indent: 101%;
    white-space: nowrap;
    overflow: hidden;
}

.slider-left {
    float: left;
    width: 20%;
}

.slider-right {
    float: left;
    width: 80%;
}

.nav-right-item-top {
    width: auto !important;
}

.nav-right-item-top a {
    float: right;
}

a:hover>.nav-language>svg>.cls-1 {
    fill: var(--rh-themecolor-highlight);
}

a:hover>.nav-language {
    color: var(--rh-themecolor-highlight) !important;
}

ul.dropdown-menu {
    display: none !important;
}

.open>.dropdown-menu {
    display: block !important;
}

.dropdown>.btn {
    padding: 0;
    border: none;
    font-weight: bold;
}

.dropdown>.btn:hover,
.dropdown>.btn:focus {
    background-color: transparent !important;
    color: var(--rh-themecolor-highlight);
    outline: none;
}

.dropdown:hover>.btn>span#racing-hub-navigation-arrow {
    color: var(--rh-themecolor-highlight);
}

.nav-right-item-top>.dropdown {
    float: right;
    margin-right: 30px;
    margin-top: 8px;
}

.nav-right-item-top>.nav-language {
    float: right;
}

a>.nav-language>svg {
    width: 24px;
    position: relative;
    top: 6px;
    margin-right: 2px;
}

.dropdown>.btn:active {
    background-color: transparent !important;
    box-shadow: none !important;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.3s ease-in-out;
}

#navbar.hidden {
    transform: translateY(-100%);
}

.nav-right-item-bottom ul {
    display: block !important;
    float: right;
    margin-right: 40px;
    padding-right: 30px;
    position: relative;
}

.nav-right-item-bottom ul li {
    display: inline-block;
    vertical-align: middle;
}

li.nav-ewin {
    margin-right: 0px !important;
    border-left: 1px solid #cccccc;
    padding-left: 30px;
    margin-left: 20px !important;
}

li.nav-ewin>ul>li {
    display: block;
    margin-right: 0px !important;
}

li.nav-ewin>ul>li>a {
    display: block;
    font-size: 11px !important;

    line-height: 1.3em;
    color: #7b7135 !important;
    margin-right: 0px !important;
}

#navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

#navbar li {
    margin: 0 10px;
}

#navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

#navbar a:hover {
    color: var(--rh-themecolor-highlight);
}

#racing-promotion-banner {
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#subnav {
    position: relative;
    background: var(--rh-themecolor-gradient);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding-top: 20px;
    padding-bottom: 20px;
}

#subnav.sticky {
    position: fixed;
    top: 60px;
    /* Adjust this value to match the height of your navbar */
    width: 100%;
}

#subnav ul {
    /*display: inline-block;*/
    padding: 0;
    margin: 0;
    list-style: none;
}

#subnav li {
    display: inline-block;
    margin-right: 40px;
}

.subnav-item-button a {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    float: right;
    padding: 8px 40px;
    background-color: #8c1b42;
    color: #fff;
    font-size: 16px;
}

#main-content {
    margin-top: 0;
    min-height: 2000px;
}

.content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.content-wrapper img {
    width: 100%;
    margin-top: 60px;
}

#spacer {
    height: 60px;
    /* Adjust this value to match the height of your navbar */
}

.hkjc-logo {
    display: inline-block;
    float: left;
    width: 30%;
    margin-top: 20px;
}

/* .hkjc-logo img {
    width: 100%;
    max-width: 240px;
}


*:lang(zh-TW) .hkjc-logo img {
    width: 100%;
    max-width: 181px;
} */

/* Addtional for 140A Logo */
.hkjc-logo img {
    width: 100%;
    max-width: 295px;
}

/*
*:lang(zh-TW) .hkjc-logo img {
    width: 100%;
    max-width: 295px;
}*/

.mobile-view-140alogo {
    display: none;
}

.desktop-view-140alogo {
    display: block;
}

@media screen and (max-width: 1226px) {
    .mobile-view-140alogo {
        display: block;
    }

    .desktop-view-140alogo {
        display: none;
    }

    .hkjc-logo img {
        width: 100%;
        max-width: 166px;
    }

    /*
    *:lang(zh-TW) .hkjc-logo img {
        width: 100%;
        max-width: 166px;
    }*/
}

.nav-right-item-top {
    display: inline-block;
    float: right;
    font-size: 14px;
    line-height: 1.5em;
    margin-top: 2px;
    width: 100%;
    text-align: right;
}

.nav-bar-container {
    max-width: 1170px;
    margin: 0 auto;
}

img.dropdown-arrow {
    max-height: 10px;
    width: auto;
    margin-left: 4px;
}

img.global {
    max-height: 14px;
    width: auto;
    margin-right: 6px;
    position: relative;
    top: 2px;
}

img.ewin {
    width: 100%;
    max-width: 118px;
    height: auto;
    float: right;
}

.nav-right-item-bottom {
    display: inline-block;
    float: right;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 14px;
}

.nav-right-group {
    display: inline-block;
    float: right;
    width: 70%;
}

.nav-right-item-top ul {
    display: inline-block;
    float: right;
}

.nav-right-item-bottom img {}

li.nav-ewin>a>img {
    width: 40px;
    display: inline-block;
    float: right;
    box-sizing: border-box;
}

#racing-promotion-banner img {
    width: 100%;
    margin-top: 5px;
}

.subnav-container {
    max-width: 1170px;
    margin: 0 auto;
}

.subnav-item {
    /* display: flex; */
    color: #fff;
    /* align-items: center; */
}

.subnav-item-button {}

@media only screen and (max-width: 1200px) {
    .nav-bar-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .subnav-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .container {
        /* min-height: 2000vh; */
    }
}

#masthead {
    position: relative;
    z-index: 999;
}

#masthead nav,
#masthead .overlay {
    display: none;
}

body:not(.home) #racing-promotion-banner,
body.home .racing-promotion-static-banner {
    display: none;
}

.rh-header-blk {
    margin-top: 101px;
}

@media (min-width: 992px) {

    .racing-promotion-banner-container .inner-banner-mobile,
    .burger-container,
    .burger:not(.clicked) {
        display: none;
    }
}

@media (max-width: 991px) {
    .racing-promotion-banner-container .inner-banner-desktop {
        display: none;
    }

    .rh-header-blk {
        margin-top: 86px;
    }

    div#subnav {
        display: none;
    }

    .nav-bar-raw-html {
        display: none;
    }

    div#navbar {
        display: none;
    }

    .hkjc-logo {
        margin-top: 0px;
    }

    .hkjc-logo img {
        position: relative;
        top: 5px;
    }

    #racing-promotion-banner img {
        margin-top: 0px;
    }

    .burger-container {
        min-height: 86px;
    }

    .hkjc-logo {
        width: 240px;
    }

    /**:lang(zh-TW) .hkjc-logo {width: 181px;} */
}

@media (max-width: 350px) {
    .hkjc-logo {
        margin-top: 2px;
        width: 200px;
    }

    /*	*:lang(zh-TW) .hkjc-logo {width: 151px;} */
}

/*
.subnav-list-lv2 {
    position: absolute;
    top: 120%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background: var(--rh-themecolor-gradient);
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
  
}*/

.subnav-list-lv2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    margin-top: 30px !important;
    background-clip: padding-box;
}

*:lang(zh-TW) .subnav-list-lv2 {
    margin-top: 32px !important;
}

#subnav li span.caret {
    color: #fff;
    margin-left: 8px;
}

.subnav__link a:hover span.caret {
    color: var(--rh-themecolor-highlight) !important;
    margin-left: 8px;
}

.subnav__link:hover .subnav-list-lv2 {
    display: block;
}

#subnav li {
    display: inline-block;
    margin-right: 40px;
    position: relative;
}

.current-menu-item a {
    background: unset;
}

#subnav ul.subnav-list-lv2 li {
    display: flex;
}

.subnav-list-lv2--is-active {
    color: var(--rh-themecolor-highlight);
    border-bottom: 0px !important;
    /*text-decoration: underline;*/
}

ul.subnav-list-lv2 li.subnav__link {
    display: inline-block;
    margin-right: 0px !important;
    position: relative;
}

ul.subnav-list-lv2 li.subnav__link {
    /* display: inline-block; */
    margin-right: 0px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--rh-themecolor-gradient);
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

ul.subnav-list-lv2 li a {
    color: #fff;
    padding: 5px 10px;
}

ul.subnav-list-lv2 li a:hover {
    color: var(--rh-themecolor-highlight);
    border-bottom: 0px !important;
    text-decoration: underline;
}

ul.subnav-list-lv2 .subnav__link-anchor {
    border-bottom: 0px !important;
}

.subnav-list-lv2 li {
    display: inline-block;
}

.navbar .menu-item,
.navbar-nav>li>.subnav-list-lv2 {
    background: #0f4871;
}

.navbar-nav>li>.subnav-list-lv2 {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.subnav-list-lv2 {
    font-size: 15px;
}

.subnav-list .subnav-list-lv2--is-active a.subnav__link-anchor {
    color: var(--rh-themecolor-highlight);
    border-bottom: 3px solid var(--rh-themecolor-highlight);
    text-decoration: none;
}

.subnav-list .subnav-list-lv2--is-active a.subnav__link-anchor span {
    color: var(--rh-themecolor-highlight) !important;
}

.subnav-list .subnav-list-lv2 .subnav__link a {
    color: #fff;
}

.subnav-list .subnav-list-lv2 .subnav__link a:hover {
    color: var(--rh-themecolor-highlight) !important;
    text-decoration: underline !important;
}

.subnav-list li.subnav-list-lv2--is-active .subnav-list-lv2 .subnav__link--active a.subnav__link-anchor {
    color: var(--rh-themecolor-highlight) !important;
}

/* Full Right KV Slider */
.slider-right--full-w {
    width: 100% !important;
    max-width: 1920px;
}

/* KV Video */

/* Play Icon */
.video-play-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 11;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-right__slide a.video_open {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.video-play-icon__base {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rh-video-play-icon-bg-color);
    padding: 0.1em;
    border-radius: var(--rh-video-play-icon-border-radius);
    width: var(--rh-video-play-icon-w);
    height: var(--rh-video-play-icon-h);
    box-shadow: var(--rh-video-play-icon-shadow);
    -webkit-box-shadow: var(--rh-video-play-icon-shadow);
    -moz-box-shadow: var(--rh-video-play-icon-shadow);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

#racing-promotion-banner .video-play-icon__ico::before {
    content: url(https://campaign.hkjc.com/magnificent-raceday/images/global/svg-icon/svg-logo-play-video.svg);
    width: calc(var(--rh-video-play-icon-w) / 2);
    height: calc(var(--rh-video-play-icon-h) / 2);
    display: block;
    position: relative;
    right: -0.3em;
    top: -0.2em;
}

#racing-promotion-banner .kv-video-container {
    overflow: hidden;
    position: relative;
}

@media (min-width: 767.99px) {
    #racing-promotion-banner .kv-video-container {
        max-height: 604px;
        padding-bottom: 42.5%;
    }
}

#racing-promotion-banner .kv-video-container__video-blk {
    width: 100%;
    position: absolute;
    top: 5px;
    left: 0;
}

.slider-right__slide--video-loop {
    height: 100% !important;
}

@media screen and (max-width: 767px) {
    .slider-right__slide a.video_open {
        display: block;
        width: 100% !important;
        height: 100% !important;
    }

    .video-play-icon {
        width: inherit !important;
        height: inherit !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0 !important;
    }

    /* .kv-video-container { */
    /* padding-bottom: 95.8%; */
    /* } */

    #racing-promotion-banner .kv-video-container__video-blk {
        width: auto;
    }

    .video-blk {
        width: initial;
    }
}

.kv-embed-blk {
    float: left;
    width: 26.04%;
    position: relative;
    padding-bottom: 31.5%;
}

@media only screen and (max-width: 768px) {
    .kv-embed-blk {
        width: 100%;
        padding-bottom: 66.5%;
    }
}

.kv-embed-blk__item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.kv-embed-blk__item>* {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* New Style: 140 w/ HKJC logo */

@media screen and (min-width: 1226px) {
    .hkjc-140-blk {
        /* max-width: 362px; */
        column-gap: 30px !important;
    }

    .hkjc-140-blk__hkjc-icon {
        flex: 0 0 47%;
    }

    .hkjc-140-blk__140-icon {
        flex: 0 0 30% !important;
    }
}

.hkjc-140-blk__hkjc-icon,
.hkjc-140-blk__140-icon {
    display: flex;
}

.hkjc-140-blk {
    display: flex;
    align-items: center;
}

.hkjc-140-blk__140-icon {
    position: relative;
}

.hkjc-140-blk__140-icon::before {
    content: "";
    position: absolute;
    top: 0px !important;
    left: -15% !important;
    height: 100% !important;
    width: 1px;
    background: #232c65 !important;
}

@media screen and (max-width: 1226px) {
    .hkjc-logo {
        width: 23%;
    }
}

@media screen and (max-width: 992px) {
    .hkjc-logo {
        width: 240px;
    }

    .hkjc-logo img {
        top: 0;
    }
}

@media screen and (max-width: 1226px) {
    .hkjc-140-blk {
        column-gap: 32px;
    }

    .hkjc-140-blk__hkjc-icon {
        flex: 0 0 22% !important;
    }

    .hkjc-140-blk__140-icon {
        flex: 0 0 43% !important;
    }
}

@media screen and (max-width: 375px) {
    .hkjc-140-blk {
        column-gap: 25px;
    }

    .hkjc-140-blk__hkjc-icon {
        flex: 0 0 22%;
    }

    .hkjc-140-blk__140-icon {
        /* flex: 0 0 50%; */
    }

    .hkjc-140-blk__140-icon::before {
        top: 0;
        left: -14%;
    }
}

/* New Style: 140 w/ HKJC logo */

/* New Style: Club Nav style - 2025/26 */

@media (min-width: 992px) {
    .rh-header-blk {
        margin-top: 98px;
    }
}

.rh-header-blk {
    width: 100vw;
    z-index: 2;
}

.rh-header {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 2.5rem;
    position: fixed;
    top: 0;
    transition: transform 0.3s ease-in-out;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 1px 3px 0px #0000001a;
    z-index: 97;
    flex-wrap: wrap;
}

.rh-header .rh-header__segment {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    gap: 1rem;
}

.rh-header .rh-header-logo {
    display: flex;
    align-items: center;
    margin-top: 0;
}

.rh-header .rh-header-logo__img {
    height: 100%;
    width: 100%;
}

.rh-header .rh-header__nav-links {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.rh-header .rh-header__nav-links .rh-header__nav-items {
    display: flex;
    gap: 1rem;
}

.rh-header .rh-header__nav-links:first-child .rh-header__nav-links-btn a::before {
    position: absolute;
    top: 0;
    left: -1.25rem;
    display: block;
    height: 100%;
    width: 1px;
    background-color: rgb(204, 213, 224);
    content: "";
}

.rh-header .rh-header__nav-links .rh-header__nav-links-btn a {
    font-weight: 700;
    color: #022169;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color 0.3s;
}

.rh-header .rh-header__nav-links .rh-header__nav-links-btn a:hover {
    text-decoration: underline;
}

.rh-header .rh-header__right {
    position: relative;
    z-index: 102;
    display: flex;
    align-items: center;
    -moz-column-gap: 2.5rem;
    column-gap: 2.5rem;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 1820px) {
    .rh-header .rh-header__segment {
        gap: 0;
    }
}

@media (min-width: 992px) {
    .rh-header .rh-header-logo {
        height: 60px;
        width: 206px;
    }
}

/* .rh-header {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 2.5rem;
    position: fixed;
    top: 0;
    transition: transform 0.3s ease-in-out;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 1px 3px 0px #0000001a;
    z-index: 97;
    flex-wrap: wrap;

    .rh-header__segment {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 1920px;
        margin: 0 auto;
        gap: 1rem;

        @media (max-width: 1820px) {
            gap: 0;
        }
    }

    .rh-header-logo {
        display: flex;
        align-items: center;
        margin-top: 0;
    }

    .rh-header-logo__img {
        height: 100%;
        width: 100%;
    }

    @media (min-width: 992px) {
        .rh-header-logo {
            height: 60px;
            width: 206px;
        }
    }

    .rh-header__nav-links {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 2rem;

        .rh-header__nav-items {
            display: flex;
            gap: 1rem;
        }

        &:first-child .rh-header__nav-links-btn a::before {
            position: absolute;
            top: 0;
            left: -1.25rem;
            display: block;
            height: 100%;
            width: 1px;
            background-color: rgb(204, 213, 224);
            content: "";
        }

        .rh-header__nav-links-btn a {
            font-weight: 700;
            color: #022169;
            text-decoration: none;
            background-color: transparent;
            outline: none;
            cursor: pointer;
            transition: color 0.3s;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .rh-header__right {
        position: relative;
        z-index: 102;
        display: flex;
        align-items: center;
        -moz-column-gap: 2.5rem;
        column-gap: 2.5rem;
        justify-content: space-between;
        width: 100%;
    }
} */

/* .book-btn {
    padding: 10px 20px;
    gap: 2rem;
    min-width: 108px;
    border-radius: 100px;
    background: rgb(254, 207, 19);
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 800;
    color: #022169;
    display: flex;
    justify-content: center;
    align-items: center;

    &.book-btn--mobile {
        @media (min-width: 992px) {
            display: none;
        }
    }

    &:hover {
        text-decoration: none;
        box-shadow: var(--btn-shadow-hover);
    }
} */

.book-btn {
    padding: 10px 20px;
    gap: 2rem;
    min-width: 111px;
    border-radius: 100px;
    background: rgb(254, 207, 19);
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 800;
    color: #022169;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-btn:hover {
    text-decoration: none;
    box-shadow: var(--btn-shadow-hover);
}

@media (min-width: 992px) {
    .book-btn.book-btn--mobile {
        display: none;
    }
}

/* .rh-header__tool {
    display: flex;
    align-items: center;
    gap: 2.625rem;

    @media (max-width: 1820px) {
        gap: 1.5rem;
    }
} */

.rh-header__tool {
    display: flex;
    align-items: center;
    gap: 2.625rem;
}

@media (max-width: 1820px) {
    .rh-header__tool {
        gap: 1.5rem;
    }
}

.e-win-btn {
    display: inline-block;
    height: 30px;
    width: 66px;
}

.language-toggle {
    position: relative;
}

.language-toggle .language-toggle__btn {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
}

.language-toggle .language-toggle__btn svg,
.language-toggle .language-toggle__btn path {
    pointer-events: none;
}

.language-toggle .language-toggle__btn:hover,
.language-toggle .language-toggle__btn:focus {
    background: transparent !important;
}

.language-toggle .language-toggle__tool-panel {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 3rem;
    z-index: 1;
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    min-width: 110px;
    flex-direction: column;
    /* gap: 1rem;*/
    border-radius: 0.25rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(204, 213, 224, 1);
    background-color: rgba(255, 255, 255, 1);
    padding: 1.5rem;
}

.language-toggle .language-toggle__opt {
    font-size: 0.75rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    justify-self: center;
    color: rgba(48, 48, 48, 1);
}

.language-toggle .language-toggle__opt a {
    font-weight: 800;
    color: rgba(2, 33, 105, 1);
}

.language-toggle .language-toggle__opt.language-toggle__opt--en a {
    font-family: "Red Hat Text";
}

.language-toggle .language-toggle__opt.language-toggle__opt--ch a {
    font-family: "Noto Sans HK";
}

.language-toggle .language-toggle__opt.language-toggle__opt--sc a {
    font-family: "Noto Sans SC";
}

/* .language-toggle {
    position: relative;

    .language-toggle__btn {
        display: flex;
        align-items: center;
        padding: 0;
        background: transparent;

        &:hover,
        &:focus {
            background: transparent !important;
        }

        svg,
        path {
            pointer-events: none;
        }
    }

    .language-toggle__tool-panel {
        opacity: 0;
        position: absolute;
        right: 0;
        top: 3rem;
        z-index: 1;
        display: flex;
        width: -moz-fit-content;
        width: fit-content;
        min-width: 110px;
        flex-direction: column;
        gap: 1rem;
        border-radius: 0.25rem;
        border-width: 1px;
        border-style: solid;
        --tw-border-opacity: 1;
        border-color: rgb(204 213 224 / var(--tw-border-opacity, 1));
        --tw-bg-opacity: 1;
        background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
        padding: 1.5rem;
    }

    .language-toggle__opt {
        font-size: 0.75rem;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 0.3s;
        transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
        justify-self: center;
        --tw-text-opacity: 1;
        color: rgb(48 48 48 / var(--tw-text-opacity, 1));

        a {
            font-weight: 800;
            --tw-text-opacity: 1;
            color: rgb(2 33 105 / var(--tw-text-opacity, 1));
        }

        &.language-toggle__opt--en {
            a {
                font-family: "Red Hat Text";
            }
        }

        &.language-toggle__opt--tw {
            a {
                font-family: "Noto Sans HK";
            }
        }

        &.language-toggle__opt--cn {
            a {
                font-family: "Noto Sans SC";
            }
        }
    }
} */

/* html {
    &:lang(en-US) {
        .language-toggle__opt--en {
            display: none;
        }
    }

    &:lang(zh-TW) {
        .language-toggle__opt--ch {
            display: none;

            a {
                font-family: "Noto Sans HK";
            }
        }
    }

    &:lang(zh-CN) {
        .language-toggle__opt--sc {
            display: none;

            a {
                font-family: "Noto Sans SC";
            }
        }
    }
} */

html:lang(en-US) .language-toggle__opt--en {
    display: none;
}

html:lang(zh-TW) .language-toggle__opt--ch {
    display: none;
}

html:lang(zh-TW) .language-toggle__opt--ch a {
    font-family: "Noto Sans HK";
}

html:lang(zh-CN) .language-toggle__opt--sc {
    display: none;
}

html:lang(zh-CN) .language-toggle__opt--sc a {
    font-family: "Noto Sans SC";
}

@media (min-width: 992px) {
    .rh-header {
        /* gap: 2rem; */
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* @media (min-width: 1280px) {
    .theme-major-races {
        .rh-header {
            .rh-header__right {
                padding-left: 16px;
            }
        }
    }
} */

@media (min-width: 1280px) {
    .theme-major-races .rh-header .rh-header__right {
        padding-left: 16px;
    }
}


/* @media (max-width: 1366px) {
    .hkjc-logo__link {
        display: flex;
        width: 100%;

        .hkjc-logo__svg {
            width: 75%;
        }
    }

    .rh-header {
        display: none;

        & .rh-header__nav-links {
            .rh-header__nav-links-btn a {
                font-size: 14px;
            }
        }
    }

    .book-btn {
        font-size: 14px;
        width: 90px;
    }

    .has-alertbar .e-win-btn--mobile,
    .has-alertbar .book-btn--mobile {
        top: 65px;
    }

    .rh-header {
        gap: 0;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .rh-header {
        .rh-header__nav-links {
            gap: 1.25rem;
        }
    }
} */

@media (max-width: 1366px) {
    .hkjc-logo__link {
        display: flex;
        width: 100%;
    }

    .hkjc-logo__link .hkjc-logo__svg {
        width: 75%;
    }

    .rh-header .rh-header__nav-links .rh-header__nav-links-btn a {
        font-size: 14px;
    }

    .book-btn {
        font-size: 14px;
        width: 90px;
    }

    .has-alertbar .e-win-btn--mobile,
    .has-alertbar .book-btn--mobile {
        top: 65px;
    }

    .rh-header {
        gap: 0;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .rh-header .rh-header__nav-links {
        gap: 1.25rem;
    }
}

/* .burger {
    top: 25px;

    &.clicked span:before,
    &.clicked span:after {
        background-color: var(--rh-global-black);
    }
} */
.burger {
    top: 25px;
}

.burger.clicked span:before,
.burger.clicked span:after {
    background-color: var(--rh-global-black);
}

.burger-container {
    box-shadow: 0px 1px 3px 0px #0000001a;
}

.hkjc-140-blk {
    flex: 0 0 100%;
}

@media (max-width: 667px) {
    .theme-major-races .rh-header-blk {
        box-shadow: none;
        display: none;
    }
}

.theme-major-races .racing-mobile-navigation-list,
.theme-major-races .topItem>button {
    display: none !important;
}

@media (max-width: 992px) {
    .rh-header {
        display: none;
    }

    .theme-major-races .ul.racing-mobile-navigation-sub-list li:last-child {
        border-bottom: none;
    }

    .e-win-btn--mobile,
    .book-btn--mobile {
        position: fixed;
        top: 25px;
        right: 82px;
        width: 91px;
        z-index: 999;
    }

    ul.racing-mobile-navigation-sub-list li {
        width: 100% !important;
    }

    .hkjc-logo {
        margin-top: 13px !important;
    }
}

@media screen and (min-width: 1226px) {
    .hkjc-140-blk {
        /* max-width: 362px; */
        column-gap: 20px !important;
    }
}

/* Campaign Nav  */

#subnav {
    display: none;
}

/* .campaign-nav {
    display: flex;
    align-items: center;

    .campaign-nav__link {
        font-size: 0.875rem;
        color: var(--rh-themecolor-primary);
        font-weight: 800;
        position: relative;
        white-space: nowrap;
        padding: 0 0.5rem;

        &::after {
            content: "";
            height: 1.375rem;
            width: 1px;
            background-color: var(--rh-global-black);
            position: absolute;
            right: -1rem;
            top: 0;
        }
    }

    .subnav-list {
        --spacing-xl: 2rem;
        --moreButtonWidth: 80px;

        list-style: none;
        display: flex;
        gap: var(--spacing-xl);
        margin-left: var(--spacing-xl);
        margin-bottom: 0;
        align-items: center;

        @media (min-width: 1820px) {
            padding-left: 0;
        }

        @media (max-width: 1760px) {
            margin-left: 0;
            max-width: 1030px;
        }

        @media (max-width: 1670px) {
            max-width: 850px;
        }

        @media (max-width: 1600px) {
            max-width: 820px;
        }

        @media (max-width: 1576px) {
            max-width: 750px;
        }

        @media (max-width: 1460px) {
            max-width: 620px;
        }

        @media (max-width: 1380px) {
            max-width: 520px;
        }

        @media (max-width: 1300px) {
            max-width: 400px;
        }

        @media (max-width: 1200px) {
            max-width: 300px;
            padding-left: 1rem;
        }

        @media (max-width: 1100px) {
            max-width: 230px;
            padding-left: .5rem;

        }

        * {
            color: var(--rh-global-black);
            font-size: 0.875rem;
            font-weight: 500;
        }

        .subnav__link.subnav__link--active .subnav__link-anchor {
            color: var(--rh-global-black) !important;
        }

        li {
            flex-grow: 1;

            .subnav__link-anchor {
                white-space: nowrap;
                margin: 0 1rem;

                .caret {
                    margin-left: 8px;
                }
            }
        }

        .-more {
            position: relative;
            white-space: nowrap;
            padding: 0 1rem;
            background-color: var(--rh-themecolor-primary);
            box-shadow: inset 0 -0.2em 0 var(--rh-themecolor-primary);
            border-radius: 200px;
            cursor: default;

            &:hover {
                background-color: var(--rh-themecolor-highlight) !important;
                box-shadow: inset 0 -0.2em 0 var(--rh-themecolor-highlight);
            }

            button {
                width: 80px;
                background: var(--rh-themecolor-primary);
                color: var(--rh-global-white);
                cursor: default;

                &:hover {
                    background-color: var(--rh-themecolor-highlight) !important;
                }

                &:active {
                    background-color: var(--rh-themecolor-highlight);
                }

                span {
                    display: inline-block;
                    transition: transform 0.2s;
                    color: var(--rh-global-white);
                }
            }
        }

        .-secondary {
            list-style-type: none;
            max-width: 160%;
            min-width: 10em;
            display: none;
            position: absolute;
            top: 100%;
            right: -84px;
            box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.3);
            animation: nav-secondary 0.2s;
            background: white;
            flex-wrap: wrap;
            width: calc(100% + 100px);
            justify-content: flex-start;
            text-align: left;
            padding: 0;

            .subnav__link {
                padding: 0.5rem 0.5rem 0.5rem 0;

                &:hover {

                    &>.subnav__link-anchor {
                        color: var(--rh-themecolor-highlight);
                        border-bottom: 3px solid var(--rh-themecolor-highlight);

                        .caret {
                            color: var(--rh-themecolor-highlight);
                        }
                    }
                }

                .subnav-list-lv2 {
                    margin-top: 0 !important;
                    left: 100%;
                }
            }
        }

        &.--show-secondary {

            .-more {
                button {
                    background-color: var(--rh-themecolor-highlight) !important;
                }

                button span {
                    transform: rotate(180deg);
                }
            }

            .-secondary {
                display: block;
            }
        }
    }

    &.campaign-nav--alt-ver {
        width: 1920px;
        margin: 0 auto;

        .subnav-container {
            margin: 0;
        }

        .subnav-list {
            padding-left: 10px;
            margin-left: 0;
            margin-top: 1rem;
        }
    }
} */

.campaign-nav {
    display: flex;
    align-items: center;
}

.campaign-nav .campaign-nav__link {
    font-size: 0.875rem;
    color: var(--rh-themecolor-primary);
    font-weight: 800;
    position: relative;
    white-space: nowrap;
    padding: 0 0.5rem;
}

.campaign-nav .campaign-nav__link::after {
    content: "";
    height: 1.375rem;
    width: 1px;
    background-color: var(--rh-global-black);
    position: absolute;
    right: -1rem;
    top: 0;
}

.campaign-nav.campaign-nav--alt-ver {
    width: 1920px;
    margin: 0 auto;
}

.campaign-nav.campaign-nav--alt-ver .subnav-container {
    margin: 0;
}

.campaign-nav.campaign-nav--alt-ver .subnav-list {
    padding-left: 10px;
    margin-left: 0;
    margin-top: 1rem;
}

.campaign-nav .subnav-list {
    list-style: none;
    display: flex;
    margin-left: 2rem;
    margin-bottom: 0;
    align-items: center;
}

.campaign-nav .subnav-list * {
    color: var(--rh-global-black);
    font-size: 0.875rem;
    font-weight: 500;
}

.campaign-nav .subnav-list .subnav__link.subnav__link--active .subnav__link-anchor {
    color: var(--rh-global-black) !important;
}

.campaign-nav .subnav-list li {
    flex-grow: 1;
    margin-bottom: 0;
}

.campaign-nav .subnav-list li .subnav__link-anchor {
    white-space: nowrap;
    margin: 0 1rem;
}

.campaign-nav .subnav-list li .subnav__link-anchor .caret {
    margin-left: 8px;
}

.campaign-nav .subnav-list .-more {
    position: relative;
    white-space: nowrap;
    padding: 0 1rem;
    background-color: var(--rh-themecolor-primary);
    box-shadow: inset 0 -0.2em 0 var(--rh-themecolor-primary);
    border-radius: 200px;
    cursor: default;
}

.campaign-nav .subnav-list .-more button {
    width: 80px;
    background: var(--rh-themecolor-primary);
    color: var(--rh-global-white);
    cursor: default;
}

.campaign-nav .subnav-list .-more button span {
    display: inline-block;
    transition: transform 0.2s;
    color: var(--rh-global-white);
}

.campaign-nav .subnav-list .-more button:hover {
    background-color: var(--rh-themecolor-highlight) !important;
}

.campaign-nav .subnav-list .-more button:active {
    background-color: var(--rh-themecolor-highlight);
}

.campaign-nav .subnav-list .-more:hover {
    background-color: var(--rh-themecolor-highlight) !important;
    box-shadow: inset 0 -0.2em 0 var(--rh-themecolor-highlight);
}

.campaign-nav .subnav-list .-secondary {
    list-style-type: none;
    max-width: 160%;
    min-width: 10em;
    display: none;
    position: absolute;
    top: 100%;
    right: -84px;
    box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.3);
    animation: nav-secondary 0.2s;
    background: white;
    flex-wrap: wrap;
    width: calc(100% + 100px);
    justify-content: flex-start;
    text-align: left;
    padding: 0;
}

.campaign-nav .subnav-list .-secondary .subnav__link {
    padding: 0.5rem 0.5rem 0.5rem 0;
}

.campaign-nav .subnav-list .-secondary .subnav__link:hover>.subnav__link-anchor {
    color: var(--rh-themecolor-highlight);
    border-bottom: 3px solid var(--rh-themecolor-highlight);
}

.campaign-nav .subnav-list .-secondary .subnav__link:hover>.subnav__link-anchor .caret {
    color: var(--rh-themecolor-highlight);
}

.campaign-nav .subnav-list .-secondary .subnav__link .subnav-list-lv2 {
    margin-top: 0 !important;
    left: 100%;
}

.campaign-nav .subnav-list.--show-secondary .-more button {
    background-color: var(--rh-themecolor-highlight) !important;
}

.campaign-nav .subnav-list.--show-secondary .-more button span {
    transform: rotate(180deg);
}

.campaign-nav .subnav-list.--show-secondary .-secondary {
    display: block;
}

@media (min-width: 1820px) {
    .campaign-nav .subnav-list {
        padding-left: 0;
    }
}

@media (max-width: 1760px) {
    .campaign-nav .subnav-list {
        margin-left: 0;
        max-width: 1030px;
    }
}

@media (max-width: 1600px) {
    .campaign-nav .subnav-list {
        max-width: 820px;
    }
}

@media (max-width: 1576px) {
    .campaign-nav .subnav-list {
        max-width: 750px;
    }
}

@media (max-width: 1460px) {
    .campaign-nav .subnav-list {
        max-width: 620px;
    }
}

@media (max-width: 1380px) {
    .campaign-nav .subnav-list {
        max-width: 520px;
    }
}

@media (max-width: 1300px) {
    .campaign-nav .subnav-list {
        max-width: 400px;
    }
}

@media (max-width: 1200px) {
    .campaign-nav .subnav-list {
        max-width: 300px;
        padding-left: 1rem;
    }
}

@media (max-width: 1100px) {
    .campaign-nav .subnav-list {
        max-width: 230px;
        padding-left: 0.5rem;
    }
}

/* .racing-mobile-navigation-sub-list--new-theme {
    display: flex;
    padding: 0 !important;

    li:not(.sub-nav__new-item) {
        display: none;
    }
} */

.racing-mobile-navigation-sub-list--new-theme {
    display: flex;
    padding: 0 !important;
}

.racing-mobile-navigation-sub-list--new-theme li:not(.sub-nav__new-item) {
        display: none;
}

/* .mobile-new-theme {
    background: var(--rh-global-white) !important;

    ul.nav-left-column {
        width: 100%;
    }

    .nav-left-column-first-child {
        display: flex;
        flex-direction: row-reverse;
        gap: 2rem;
        align-items: center;
        margin-top: -10px;
        justify-content: space-between;
        padding-right: 2rem;

        .language-toggle {
            .language-toggle__btn {
                svg {
                    width: 1.75rem;
                    height: 1.75rem;

                    path {
                        fill: #022169;
                    }
                }
            }
        }

        .book-btn {
            display: none;
        }

        .e-win-btn {
            img {
                width: auto !important;
                height: auto !important;
            }
        }
    }

    .racing-mobile-navigation-sub-list {
        width: 100%;

        li {
            padding-left: 0 !important;
        }

        li:last-child {
            border-color: #E5EAEF;
        }
    }

    .racing-mobile-navigation {
        margin: 1.5rem 1.25rem 0 1.25rem;

        ul {
            padding-left: 0;

            li a {
                font-size: 1rem;
                color: var(--rh-global-black);
                font-weight: bold;

                &:hover {
                    color: rgb(254, 207, 19);
                }
            }
        }
    }

    span.topItem>button {
        font-size: 1rem !important;
        font-weight: bold;
        color: var(--rh-global-black);
        display: flex;

        &[aria-expanded]::after {
            display: inline-block;
            content: "";
            float: none;
            font-size: 30px;
            background: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6667 6.33334L6.00002 1.66668L1.33335 6.33334" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
            width: 12px;
            height: 8px;
            position: relative;
            margin-top: 8px;
            margin-left: 10px;
        }

        &[aria-expanded=true],
        &:hover {
            background-color: transparent !important;
            color: rgb(254, 207, 19);

            &[aria-expanded]::after {
                background: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6667 6.33334L6.00002 1.66668L1.33335 6.33334" stroke="rgb(254, 207, 19)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
            }
        }

        &:focus {
            background-color: transparent !important;
        }
    }

    .racing-mobile-navigation ul li ul {
        border-top: 1px solid #E5EAEF;
    }

    .racing-mobile-btm-tool {
        display: flex;
        width: 100%;
        z-index: 99;

        .book-btn {
            display: block;
        }
    }
} */

.mobile-new-theme {
    background: var(--rh-global-white) !important;
}

.mobile-new-theme ul.nav-left-column {
    width: 100%;
}

.mobile-new-theme .nav-left-column-first-child {
    display: flex;
    flex-direction: row-reverse;
    gap: 2rem;
    align-items: center;
    margin-top: -10px;
    justify-content: space-between;
    padding-right: 2rem;
}

.mobile-new-theme .nav-left-column-first-child .language-toggle .language-toggle__btn svg {
    width: 1.75rem;
    height: 1.75rem;
}

.mobile-new-theme .nav-left-column-first-child .language-toggle .language-toggle__btn svg path {
    fill: #022169;
}

.mobile-new-theme .nav-left-column-first-child .book-btn {
    display: none;
}

.mobile-new-theme .nav-left-column-first-child .e-win-btn img {
    width: auto !important;
    height: auto !important;
}

.mobile-new-theme .racing-mobile-navigation-sub-list {
    width: 100%;
}

.mobile-new-theme .racing-mobile-navigation-sub-list li {
    padding-left: 0 !important;
}

.mobile-new-theme .racing-mobile-navigation-sub-list li:last-child {
    border-color: #e5eaef;
}

.mobile-new-theme .racing-mobile-navigation {
    margin: 1.5rem 1.25rem 0 1.25rem;
}

.mobile-new-theme .racing-mobile-navigation ul {
    padding-left: 0;
}

.mobile-new-theme .racing-mobile-navigation ul li a {
    font-size: 1rem;
    color: var(--rh-global-black);
    font-weight: bold;
}

.mobile-new-theme .racing-mobile-navigation ul li a:hover {
    color: rgb(254, 207, 19);
}

.mobile-new-theme span.topItem>button {
    font-size: 1rem !important;
    font-weight: bold;
    color: var(--rh-global-black);
    display: flex;
}

.mobile-new-theme span.topItem>button[aria-expanded]::after {
    display: inline-block;
    content: "";
    float: none;
    font-size: 30px;
    background: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6667 6.33334L6.00002 1.66668L1.33335 6.33334" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
    width: 12px;
    height: 8px;
    position: relative;
    margin-top: 8px;
    margin-left: 10px;
}

.mobile-new-theme span.topItem>button[aria-expanded="true"],
.mobile-new-theme span.topItem>button:hover {
    background-color: transparent !important;
    color: rgb(254, 207, 19);
}

:is(.mobile-new-theme span.topItem > button[aria-expanded="true"],
    .mobile-new-theme span.topItem > button:hover)[aria-expanded]::after {
    background: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6667 6.33334L6.00002 1.66668L1.33335 6.33334" stroke="rgb(254, 207, 19)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
}

.mobile-new-theme span.topItem>button:focus {
    background-color: transparent !important;
}

.mobile-new-theme .racing-mobile-navigation ul li ul {
    border-top: 1px solid #e5eaef;
}

.mobile-new-theme .racing-mobile-btm-tool {
    display: flex;
    width: 100%;
    z-index: 99;
}

.mobile-new-theme .racing-mobile-btm-tool .book-btn {
    display: block;
}


.page-loading .page-icon {
    width: 17.5rem;
    left: 0;
}

/* .stickyBar {
    position: relative;
    z-index: 99;
    display: flex;
    background: var(--rh-themecolor-gradient);
    padding: 1rem 2rem;
    position: relative;
    width: 100%;

    &.active {
        position: fixed;
        bottom: 0;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .stickyBar__content {
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: space-around;

        @media (max-width: 992px) {
            gap: 1rem;
            flex-wrap: wrap;
        }

        .stickyBar__content-blk {
            display: flex;
            gap: 2rem;

            @media (max-width: 992px) {
                flex-wrap: wrap;
                text-align: center;
                gap: 0;
            }
        }

        .stickyBar__text {
            margin-bottom: 0;
            color: var(--rh-global-white) !important;
            position: relative;

            @media (max-width: 992px) {
                width: 100%;
            }

            &::before {
                content: '';
                width: 1px;
                height: 20px;
                background-color: var(--rh-global-white);
                position: absolute;
                left: -1rem;
                top: 20%;

                @media (max-width: 992px) {
                    display: none;
                }
            }

            &:first-child::before {
                display: none;
            }
        }

        .stickyBar__content-cta {
            display: flex;
            align-items: center;
            gap: 2rem;

            @media (max-width: 992px) {
                width: 100%;
                justify-content: center;
            }
        }

        .book-btn {
            background: var(--rh-themecolor-third);
        }

        .e-win-btn {
            background-color: var(--rh-global-white);
            padding: 0 20px;
            gap: 1.5rem;
            min-width: 107px;
            border-radius: 100px;
            width: 77px;
            height: 39px;
            display: flex;
            align-items: center;
        }
    }
} */

.stickyBar {
    /* position: relative; */
    /* display: flex; */
    /* background: var(--rh-themecolor-gradient); */
    /* padding: 1rem 2rem; */
    position: relative;
    width: 100%;
    z-index: 90;
    padding-top: 2rem;
}

@media (max-width: 640px)  {
    .stickyBar {
        /* padding: 1rem 0; */
    }
}

.stickyBar.active {
    position: fixed;
    z-index: 999;
    bottom: 0;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.stickyBar.floating:not(.active) {
    display: none;
}

.stickyBar .stickyBar__content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-around;
}

.stickyBar .stickyBar__content .stickyBar__content-blk {
    display: flex;
    gap: 2rem;
}

.stickyBar .stickyBar__content .stickyBar__text {
    margin-bottom: 0;
    color: var(--rh-global-white) !important;
    position: relative;
}

.stickyBar .stickyBar__content .stickyBar__text::before {
    content: "";
    width: 1px;
    height: 20px;
    background-color: var(--rh-global-white);
    position: absolute;
    left: -1rem;
    top: 20%;
}

.stickyBar .stickyBar__content .stickyBar__text:first-child::before {
    display: none;
}

.stickyBar .stickyBar__content .stickyBar__content-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stickyBar .stickyBar__content .book-btn {
    background: var(--rh-themecolor-third);
}

.stickyBar .stickyBar__content .e-win-btn {
    background-color: var(--rh-global-white);
    padding: 0 20px;
    gap: 1.5rem;
    min-width: 107px;
    border-radius: 100px;
    width: 77px;
    height: 39px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .stickyBar .stickyBar__content {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stickyBar .stickyBar__content .stickyBar__content-blk {
        flex-wrap: wrap;
        text-align: center;
        gap: 0;
    }

    .stickyBar .stickyBar__content .stickyBar__text {
        width: 100%;
    }

    .stickyBar .stickyBar__content .stickyBar__text::before {
        display: none;
    }

    .stickyBar .stickyBar__content .stickyBar__content-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Addtional Style - 29, SEP, 2025 */
.container__stickyBarBottom {
    position: relative;
    /*bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;*/
    z-index: 1000;
    width: 100%;
}

/* Toggle button - hidden on desktop, visible on mobile */
.container__stickyBarBottom .toggle-btn {
    padding: 10px;
    background: var(--rh-themecolor-gradient);
    color: white;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    position: absolute;
    top: -60px;
    left: 10px;
    z-index: 1002;
}

.container__stickyBarBottom .panel {
    height: 76px;
    /* Always visible on desktop */
    background: var(--rh-themecolor-gradient);
    /* box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);*/
    display: flex;
    align-items: center;
    border-radius: 20px 20px 0px 0px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
    margin: 0;
    /* Add cursor pointer for better UX */
}

.panel-content {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

/* Swiper Styles */
.swiper.stickyBar__swiperdesktop {
    width: 100%;
    height: 100%;
}

.swiper.stickyBar__swiperdesktop .swiper-slide,
.swiper.stickyBar__swipermobile .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stickyBar__text {
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0 15px;
}

/* Desktop Swiper */
.swiper.stickyBar__swiperdesktop {
    max-width: 550px;
    min-width: initial;
}

.swiper.stickyBar__swiperdesktop .stickyBar__text div {
    display: inline-block;
    /*margin: 0 20px;*/
    font-size: 18px;
}

/* Mobile Swiper - FIXED */
.swiper.stickyBar__swipermobile {
    display: none;
    width: 100%;
    height: 60px;
    /* Fixed height for mobile */
}

.swiper.stickyBar__swipermobile .stickyBar__text {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 10px;
}

/* CTA Buttons */
.stickyBar__content-cta {
    display: flex;
    min-width: 200px;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.stickyBar__content-cta .book-btn:after {
    display: none !important;
}


.container__stickyBarBottom .book-btn:after {
    display: none !important;
}

.container__stickyBarBottom .e-win-btn {
    background-color: var(--rh-global-white);
    padding: 0 20px;
    gap: 1.5rem;
    min-width: 107px;
    border-radius: 100px;
    width: 77px;
    height: 39px;
    display: flex;
    align-items: center;
}

.mobile-cta-container .e-win-btn {
    background-color: var(--rh-global-white);
    padding: 0 20px;
    gap: 1.5rem;
    min-width: 107px;
    border-radius: 100px;
    width: 77px;
    height: 39px;
    display: flex;
    align-items: center;
}



.container__stickyBarBottom .book-btn {

    height: 39px !important;
}


.mobile-cta-container .book-btn {

    height: 39px !important;
}

/* Pagination - FIXED */
.swiper.stickyBar__swipermobile .swiper-pagination {
    position: relative !important;
    margin-top: 0px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
}


.swiper.stickyBar__swipermobile .swiper-pagination-bullet {
    width: 4px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.swiper.stickyBar__swipermobile .swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Pagination - FIXED */
.swiper.stickyBar__swiperdesktop .swiper-pagination {
    position: relative !important;
    margin-top: -12px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    bottom: 0 !important;
}


.swiper.stickyBar__swiperdesktop .swiper-pagination-bullet {
    width: 4px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.swiper.stickyBar__swiperdesktop .swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Mobile CTA that stays visible */
.mobile-cta-container {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.4s 
ease-out;
    pointer-events: none;
}

.stickyBar:not(.floating) .mobile-cta-container {
    pointer-events: auto;
}

.mobile-cta-container.isClicked {
    opacity: 1;
    pointer-events: auto;
}

.mobile-cta-container .stickyBar__content-cta {
    width: 100%;
    justify-content: center;
}


.toggle-btn svg#open-date-calendar {
    position: relative;
    top: -2px;
    left: -1px;
}

.toggle-btn svg#close-date-calendar {
    position: relative;
    top: -2px;
    left: -1px;
}

/* Hide close icon by default */
#close-date-calendar {
    display: none;
}


@media only screen and (max-width: 800px) {

    .swiper.stickyBar__swiperdesktop {
        max-width: 530px;
    }
    .stickyBar__text {

        padding: 0px;
    }

    .stickyBar__content-cta {

        gap: 0.5rem;

    }
}

/* Mobile Responsive */
@media only screen and (max-width: 767px) {
    .stickyBar__content-cta {
        gap: 1.5rem;
    }

    .hidden-xs {
        display: none !important;
    }

    .container__stickyBarBottom .panel {
        height: 20px;
    }

    /* Show toggle button on mobile */
    .container__stickyBarBottom .toggle-btn {
        display: block;
        position: relative;
        top: 30px;
        right: 30px;
        z-index: 9996 !important;
    }

    /* Initially hide panel on mobile */
    .container__stickyBarBottom .panel {
        height: 20px;
        transition: height 0.4s ease-out;
        overflow: hidden;
        padding: 0;
    }

    /* Show panel when checkbox is checked */
    .container__stickyBarBottom .panel.active,
    .stickyBar:not(.floating) .container__stickyBarBottom .panel {
        height: 150px;
    }

    /* Show close icon and hide open icon when checked */
    .container__stickyBarBottom .toggle-btn.isClicked #open-date-calendar {
        display: none;
    }

    .container__stickyBarBottom .toggle-btn.isClicked #close-date-calendar {
        display: block;
    }

    .panel-content {
        flex-direction: column;
        padding: 15px;
        justify-content: flex-start;
    }

    .swiper.stickyBar__swiperdesktop {
        display: none;
    }

    /* FIXED: Mobile swiper styling */
    .swiper.stickyBar__swipermobile {
        /* display: none; */
        /* Hidden by default */
        height: 70px;
        margin-bottom: 10px;
    }

    /* Show mobile swiper when panel is open */
    .container__stickyBarBottom .toggle-btn.isClicked~.panel .stickyBar__swipermobile {
        display: block;
    }

    .mobile-cta-container {
        display: block;
        /* Show the always-visible mobile CTA */
    }

    .e-win-btn img {
        width: 60px;
    }

    .container__stickyBarBottom {
        bottom: 0px;
    }

    .mobile-cta-container {
        padding: 10px 5px;
        max-width: 280px;
        margin: 0 auto;
    }

    .stickyBar:not(.floating) .mobile-cta-container {
        opacity: 1;
    }

    .stickyBar:not(.floating) .swiper.stickyBar__swipermobile {
        display: block;
    }

    .swiper.stickyBar__swipermobile .stickyBar__text {
        font-size: 16px;
        line-height: 1.6em;
    }

}

@media only screen and (max-width: 480px) {
    .container__stickyBarBottom .toggle-btn.isClicked~.panel {
        height: 150px;
    }


    .mobile-cta-container .stickyBar__content-cta {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media only screen and (max-width: 350px) {
    .mobile-cta-container .stickyBar__content-cta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stickyBar:not(.floating) .toggle-btn {
    display: none !important;
}
