/* Home hero slider — full width with latest updates panel */
#rs-slider.site-home-slider {
    position: relative;
    background: #04121c;
    border-top: 4px solid #f9c833;
    overflow: hidden;
}

.site-home-slider-hero {
    position: relative;
    min-height: clamp(380px, 58vh, 620px);
}

.site-home-slider-main {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.site-home-slider-aside {
    position: absolute;
    top: clamp(28px, 5vh, 48px);
    right: clamp(16px, 2.5vw, 28px);
    bottom: clamp(28px, 5vh, 48px);
    width: min(340px, 32vw);
    z-index: 8;
    display: flex;
    align-items: stretch;
    background: transparent;
    padding: 0;
    pointer-events: none;
}

.site-home-slider-aside > * {
    pointer-events: auto;
}

/* Latest updates — floating glass panel */
#rs-slider.site-home-slider .site-slider-updates-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: rgba(4, 18, 28, 0.52);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow:
        0 18px 44px rgba(4, 18, 28, 0.22),
        0 0 0 1px rgba(249, 200, 51, 0.12);
    overflow: hidden;
}

#rs-slider.site-home-slider .site-slider-updates-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 16px 16px 14px;
    background: rgba(4, 18, 28, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-slider-updates-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 11px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(249, 200, 51, 0.32);
}

.site-slider-updates-icon i {
    font-size: 1rem;
}

#rs-slider.site-home-slider .site-slider-updates-title-wrap {
    min-width: 0;
    flex: 1;
    text-align: left;
}

#rs-slider.site-home-slider .site-slider-updates-title {
    margin: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0.01em;
}

#rs-slider.site-home-slider .site-slider-updates-subtitle {
    margin: 3px 0 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.62) !important;
    line-height: 1.4 !important;
}

.site-slider-updates-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 200, 51, 0.55) rgba(255, 255, 255, 0.06);
}

.site-slider-updates-scroll::-webkit-scrollbar {
    width: 6px;
}

.site-slider-updates-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.site-slider-updates-scroll::-webkit-scrollbar-thumb {
    background: rgba(249, 200, 51, 0.45);
    border-radius: 999px;
}

.site-slider-updates-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-slider-updates-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.site-slider-updates-item:hover {
    background: rgba(249, 200, 51, 0.08);
}

.site-slider-updates-item:last-child {
    border-bottom: none;
}

.site-slider-updates-date {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    padding: 7px 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
}

.site-slider-updates-date-day {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f9c833;
    line-height: 1.1;
}

.site-slider-updates-date-month {
    display: block;
    margin-top: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.site-slider-updates-content {
    min-width: 0;
    flex: 1;
}

.site-slider-updates-type {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(249, 200, 51, 0.18);
    border: 1px solid rgba(249, 200, 51, 0.28);
    border-radius: 999px;
}

.site-slider-updates-heading {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-slider-updates-heading i {
    margin-top: 3px;
    font-size: 0.68rem;
    color: rgba(249, 200, 51, 0.75);
    flex-shrink: 0;
}

.site-slider-updates-heading:hover {
    color: #f9c833;
}

.site-slider-updates-heading--static {
    cursor: default;
}

.site-slider-updates-date-text {
    display: block;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.48);
}

#rs-slider.site-home-slider .site-slider-updates-empty {
    padding: 28px 18px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.62) !important;
}

#rs-slider.site-home-slider .site-slider-updates-empty p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.62) !important;
}

#rs-slider.site-home-slider .site-slider-updates-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: rgba(249, 200, 51, 0.45);
}

/* Override legacy theme slider dot/nav rules */
#rs-slider.site-home-slider #home-slider.site-home-carousel .owl-dots {
    position: absolute !important;
    left: clamp(20px, 6vw, 80px) !important;
    right: auto !important;
    top: auto !important;
    bottom: clamp(22px, 3vw, 32px) !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

#rs-slider.site-home-slider #home-slider.site-home-carousel .owl-dots .owl-dot {
    width: 28px !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.35) !important;
}

#rs-slider.site-home-slider #home-slider.site-home-carousel .owl-dots .owl-dot + .owl-dot {
    margin-top: 0 !important;
}

#rs-slider.site-home-slider #home-slider.site-home-carousel .owl-dots .owl-dot.active {
    width: 42px !important;
    background: linear-gradient(90deg, #f9c833 0%, #f0b429 100%) !important;
}

#rs-slider.site-home-slider #home-slider.site-home-carousel .owl-nav {
    display: flex !important;
    position: absolute !important;
    right: clamp(16px, 3vw, 28px) !important;
    left: auto !important;
    top: auto !important;
    bottom: clamp(18px, 3vw, 28px) !important;
    transform: none !important;
}

#home-slider.site-home-carousel {
    width: 100%;
    height: 100%;
    min-height: clamp(380px, 58vh, 620px);
}

#home-slider.site-home-carousel .owl-stage-outer,
#home-slider.site-home-carousel .owl-stage,
#home-slider.site-home-carousel .owl-item,
#home-slider.site-home-carousel .item {
    height: 100%;
    min-height: clamp(380px, 58vh, 620px);
}

#home-slider.site-home-carousel .item {
    position: relative;
    overflow: hidden;
}

#home-slider.site-home-carousel .site-slide-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#home-slider.site-home-carousel .site-slide-media img {
    width: 100%;
    height: 100%;
    min-height: clamp(380px, 58vh, 620px);
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    transition: transform 8s ease;
}

#home-slider.site-home-carousel .owl-item.active .site-slide-media img {
    transform: scale(1.08);
}

#home-slider.site-home-carousel .site-slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    color: #ffffff;
    width: 100%;
    height: 100%;
}

#rs-slider.site-home-slider.slider-overlay-2 .site-slide-content::after {
    background: linear-gradient(
        105deg,
        rgba(4, 18, 28, 0.92) 0%,
        rgba(6, 26, 40, 0.78) 42%,
        rgba(8, 31, 47, 0.42) 72%,
        rgba(8, 31, 47, 0.18) 100%
    );
    opacity: 1;
}

#home-slider.site-home-carousel .site-slide-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f9c833 0%, #f0b429 100%);
    z-index: 2;
}

#home-slider.site-home-carousel .display-table {
    width: 100%;
    height: 100%;
}

#home-slider.site-home-carousel .display-table-cell {
    vertical-align: middle;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 6vw, 80px) clamp(56px, 8vw, 72px);
}

#home-slider.site-home-carousel .site-slide-inner {
    max-width: min(680px, calc(100% - min(340px, 32vw) - 48px));
    text-align: left;
}

@media (min-width: 992px) {
    #home-slider.site-home-carousel .display-table-cell {
        padding-right: calc(min(340px, 32vw) + clamp(28px, 4vw, 48px));
    }

    #rs-slider.site-home-slider #home-slider.site-home-carousel .owl-nav {
        right: calc(min(340px, 32vw) + clamp(24px, 3vw, 36px)) !important;
    }
}

#home-slider.site-home-carousel .site-slide-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(249, 200, 51, 0.28);
}

#home-slider.site-home-carousel .site-slide-title {
    margin: 0 0 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-transform: none;
}

#home-slider.site-home-carousel .site-slide-desc {
    margin: 0 0 24px;
    max-width: 520px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

#home-slider.site-home-carousel .site-slide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#home-slider.site-home-carousel .site-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#home-slider.site-home-carousel .site-slide-btn--primary {
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.3);
}

#home-slider.site-home-carousel .site-slide-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(249, 200, 51, 0.38);
    color: #04121c;
}

#home-slider.site-home-carousel .site-slide-btn--outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

#home-slider.site-home-carousel .site-slide-btn--outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(249, 200, 51, 0.65);
    color: #ffffff;
    transform: translateY(-2px);
}

#home-slider.site-home-carousel .owl-item.active .site-slide-badge,
#home-slider.site-home-carousel .owl-item.active .site-slide-title,
#home-slider.site-home-carousel .owl-item.active .site-slide-desc,
#home-slider.site-home-carousel .owl-item.active .site-slide-actions {
    animation: siteSlideFadeUp 0.8s ease both;
}

#home-slider.site-home-carousel .owl-item.active .site-slide-title {
    animation-delay: 0.1s;
}

#home-slider.site-home-carousel .owl-item.active .site-slide-desc {
    animation-delay: 0.2s;
}

#home-slider.site-home-carousel .owl-item.active .site-slide-actions {
    animation-delay: 0.3s;
}

@keyframes siteSlideFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home-slider.site-home-carousel .owl-nav {
    display: flex !important;
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    left: auto;
    bottom: clamp(18px, 3vw, 28px);
    top: auto;
    transform: none;
    z-index: 6;
    margin: 0;
    gap: 8px;
    pointer-events: none;
}

#home-slider.site-home-carousel .owl-nav button,
#home-slider.site-home-carousel .owl-nav > div,
#home-slider.site-home-carousel .owl-nav .owl-prev,
#home-slider.site-home-carousel .owl-nav .owl-next {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
}

#home-slider.site-home-carousel .owl-nav button {
    width: 38px;
    height: 38px;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: rgba(4, 18, 28, 0.72) !important;
    border: 1px solid rgba(249, 200, 51, 0.35) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 20px rgba(4, 18, 28, 0.28);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#home-slider.site-home-carousel .owl-nav button:hover {
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%) !important;
    border-color: #f9c833 !important;
    color: #061a28 !important;
    transform: translateY(-2px) !important;
}

#home-slider.site-home-carousel .owl-dots {
    position: absolute;
    left: clamp(20px, 6vw, 80px);
    bottom: clamp(22px, 3vw, 32px);
    right: auto;
    top: auto;
    transform: none;
    z-index: 6;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

#home-slider.site-home-carousel .owl-dots .owl-dot {
    width: 28px;
    height: 4px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.25s ease, background 0.25s ease;
}

#home-slider.site-home-carousel .owl-dots .owl-dot.active {
    width: 42px;
    background: linear-gradient(90deg, #f9c833 0%, #f0b429 100%);
}

#home-slider.site-home-carousel .owl-dots .owl-dot + .owl-dot {
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    .site-home-slider-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .site-home-slider-main {
        flex: 0 0 auto;
    }

    .site-home-slider-aside {
        position: static;
        width: 100%;
        padding: 0 clamp(14px, 4vw, 20px) clamp(18px, 3vh, 24px);
        margin-top: -12px;
    }

    #rs-slider.site-home-slider .site-slider-updates-panel {
        height: auto;
        max-height: 260px;
        background: rgba(4, 18, 28, 0.72);
        border: 1px solid rgba(249, 200, 51, 0.22);
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(4, 18, 28, 0.18);
    }

    .site-slider-updates-scroll {
        max-height: 170px;
    }

    #home-slider.site-home-carousel .display-table-cell {
        padding-right: clamp(20px, 6vw, 80px);
    }

    #home-slider.site-home-carousel .site-slide-inner {
        max-width: 100%;
    }

    #rs-slider.site-home-slider #home-slider.site-home-carousel .owl-nav {
        right: clamp(16px, 3vw, 28px) !important;
    }

    #home-slider.site-home-carousel,
    #home-slider.site-home-carousel .owl-stage-outer,
    #home-slider.site-home-carousel .owl-stage,
    #home-slider.site-home-carousel .owl-item,
    #home-slider.site-home-carousel .item,
    #home-slider.site-home-carousel .site-slide-media img {
        min-height: clamp(340px, 50vh, 460px);
    }

    #home-slider.site-home-carousel .site-slide-title {
        font-size: 1.55rem;
    }

    #home-slider.site-home-carousel .site-slide-desc {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 767px) {
    #home-slider.site-home-carousel .owl-nav button {
        width: 34px;
        height: 34px;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 575px) {
    #home-slider.site-home-carousel,
    #home-slider.site-home-carousel .owl-stage-outer,
    #home-slider.site-home-carousel .owl-stage,
    #home-slider.site-home-carousel .owl-item,
    #home-slider.site-home-carousel .item,
    #home-slider.site-home-carousel .site-slide-media img {
        min-height: 340px;
    }

    #home-slider.site-home-carousel .display-table-cell {
        padding: 24px 18px 64px;
    }

    #home-slider.site-home-carousel .site-slide-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #home-slider.site-home-carousel .site-slide-btn {
        width: 100%;
    }

    #home-slider.site-home-carousel .owl-dots {
        left: 18px;
        bottom: 18px;
    }

    #home-slider.site-home-carousel .owl-nav {
        right: 18px;
        bottom: 14px;
    }
}
