/**
 * Home Banners - Public Styles
 */
 #auto-scroll-slider{
    border-bottom: 4px solid #000;
 }
 .splide__track {
    height: 500px !important;
 }

 .text-banner-slide {
    height: 100% !important;
    width: 100% !important;
    position: relative;
    overflow: hidden;
 }
 .text-banner-slide .banner-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 1;
 }
 .text-banner-slide .banner-image.inside {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
 .text-banner-slide .text-banner-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100% !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
 }
 .text-banner-slide-link{
    display: inline-block;
    padding: 12px 30px;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-shadow: none;
 }
 .text-banner-slide-link:hover {
    text-decoration: underline;
 }

.text-banner-slider, .video-banner-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.video-banner-slide {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 40px 20px;
    box-sizing: border-box;
}
.video-banner-slide .banner-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2;
    pointer-events: none;
}
.video-banner-slide .video-play-trigger {
    right: auto;
    bottom: auto;
    width: 72px;
    height: 72px;
    opacity: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}
.video-banner-slide .banner-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-banner-slide.has-preview:hover .banner-preview {
    opacity: 1;
    visibility: visible;
}
.video-banner-slide .video-play-trigger::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 4px;
}
/* Modal styles */
.hb-video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hb-video-modal.is-open {
    display: flex;
}

.hb-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.hb-video-modal__dialog {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: transparent;
}

.hb-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.hb-video-modal__content {
    width: 100%;
}

.hb-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.hb-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.hb-modal-open {
    overflow: hidden;
}

/* Credit Note */
.hb-credit-note {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    color: #000;
    display: none;
    height: 200px;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.hb-credit-note__short {
    display: block;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    background: #fff;
}

.hb-credit-note__text {
    flex: 1;
    line-height: 1.4;
    font-weight: 500;
    font-family: 'Arimo', Arial, sans-serif;
}

.hb-credit-note__expand {
    background: transparent;
    border: 0;
    color: #000;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
}

.hb-credit-note__expand:hover {
    opacity: 0.8;
}

.hb-credit-note__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.hb-credit-note__close:hover {
    opacity: 0.8;
}

.hb-credit-note__content {
    font-weight: 500;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Arimo', Arial, sans-serif;
    margin-top: 15px;
}

/* Modal footer with link */
.hb-video-modal__footer {
    background: #fff;
    padding: 20px;
    text-align: center;
    display: none;
}

.hb-video-modal__footer:has(.hb-video-link:not(:empty)) {
    display: block;
}

.hb-video-link {
    text-align: center;
}

.hb-video-link:empty {
    display: none;
}

.hb-video-link-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hb-video-link-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.splide__arrow{
    opacity: 1;
    height: 4em;
    width: 4em;
}
.splide__arrow svg {
    fill: #fff;
    height: 2em;
    width: 2em;
}