/* Site overrides matching original Flatsome custom CSS */

.button.instagram:not(.is-outline),
.button.instagram:hover {
    color: #e1306c !important;
}

.wpcf7-submit {
    background: #555555;
    color: #349247;
}

#footer .footer-2 {
    padding-top: 0px;
    margin-bottom: -24px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    font-weight: 500;
    color: #000000;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
}

#content a b {
    letter-spacing: 1px;
}

.event-flip a {
    position: relative;
    display: inline-block;
    perspective: 400px;
}

.event-flip .front,
.event-flip .back {
    display: block;
    transition: transform .4s;
}

.event-flip .back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateX(-90deg);
    opacity: 0;
}

.event-flip a:hover .front {
    transform: rotateX(90deg);
    opacity: 0;
}

.event-flip a:hover .back {
    transform: rotateX(0deg);
    opacity: 1;
}

/* Floating WhatsApp (matches common plugin placement on original) */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 95px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #02093f;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    display: flex;
}

.back-to-top:hover {
    background: #349247;
    color: #fff;
    transform: translateY(-2px);
}

/* Form feedback */
.form-success-message {
    background: #edf7ed;
    border: 1px solid #349247;
    color: #1e1e60;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.form-error-message {
    background: #fdecea;
    border: 1px solid #b20000;
    color: #b20000;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.field-error {
    color: #b20000;
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
}

input.is-invalid,
textarea.is-invalid {
    border-color: #b20000 !important;
}

/* Simple mobile menu overlay when Flatsome lightbox unavailable */
body.mobile-sidebar-open {
    overflow: hidden;
}

#main-menu.mobile-sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 86vw;
    background: #111 !important;
    z-index: 100001;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
    transform: none !important;
}

body.mobile-sidebar-open #main-menu.mobile-sidebar {
    display: block !important;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
}

body.mobile-sidebar-open .mobile-menu-overlay {
    display: block;
}

.mobile-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #333;
}

.mobile-sidebar__title {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-sidebar__close {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.mobile-sidebar .sidebar-menu {
    padding: 0 0 24px;
    background: #111 !important;
}

.mobile-sidebar .nav-sidebar {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-sidebar .nav-sidebar > li {
    border-top: 0;
    border-bottom: 1px solid #2a2a2a;
    background: transparent !important;
}

.mobile-sidebar .nav-sidebar > li > a {
    display: block;
    padding: 14px 18px;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
    text-decoration: none;
}

.mobile-sidebar .nav-sidebar > li.active > a,
.mobile-sidebar .nav-sidebar > li > a:hover {
    color: #51be67 !important;
    background: #1a1a1a;
}

.hamburger-icon {
    display: block;
    width: 22px;
    height: 16px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: relative;
}

.hamburger-icon::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    border-top: 2px solid #fff;
}

@media (max-width: 849px) {
    #logo {
        width: auto !important;
        max-width: 170px;
    }

    #logo img.header_logo,
    #logo img.header-logo,
    .brand-logo img {
        height: 48px !important;
        max-height: 48px !important;
        max-width: 170px !important;
    }

    .header-main {
        height: auto !important;
    }

    .js-open-mobile-menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
}

.login-modal-open #login-form-popup {
    display: block !important;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100002;
    background: #fff;
    max-width: 900px;
    width: 92%;
    max-height: 90vh;
    overflow: auto;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.login-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100001;
}

.login-modal-open .login-modal-overlay {
    display: block;
}

/* Brand logo — larger, readable in header */
.brand-logo {
    display: inline-block;
    text-decoration: none !important;
    line-height: 0;
    padding: 0;
}

.brand-logo img,
#logo img.header_logo,
#logo img.header-logo {
    display: block !important;
    width: auto !important;
    height: 84px !important;
    max-height: 84px !important;
    max-width: 320px !important;
    padding: 0 !important;
    object-fit: contain;
}

#logo {
    width: auto !important;
    max-width: 340px !important;
}

.header-main {
    background-color: #000000 !important;
    height: 92px !important;
}

.stuck .header-main {
    height: 84px !important;
}

.stuck #logo img.header_logo,
.stuck #logo img.header-logo,
.stuck .brand-logo img {
    height: 76px !important;
    max-height: 76px !important;
}

@media (max-width: 849px) {
    .brand-logo img,
    #logo img.header_logo,
    #logo img.header-logo {
        height: 64px !important;
        max-height: 64px !important;
        max-width: 240px !important;
    }
    #logo { max-width: 250px !important; }
    .header-main { height: 78px !important; }
}

/* Flush header to top — remove gap above top bar */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

#wrapper {
    margin: 0;
    padding: 0;
}

#header,
.header,
.header-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#top-bar.header-top,
.header-top {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 30px;
    line-height: 1.2;
}

.header-top .flex-row.container {
    min-height: 30px;
    align-items: center;
}

/* Header dropdowns — ensure visibility when .current-dropdown is set */
.header,
.header-wrapper,
.header-main,
.header-inner {
    overflow: visible !important;
}

.header-nav li.has-dropdown {
    position: relative;
}

.header-nav li.current-dropdown > .nav-dropdown,
.header-nav li.has-dropdown:hover > .nav-dropdown,
.header-search.current-dropdown > .nav-dropdown {
    left: -15px !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: table !important;
    z-index: 999 !important;
}

.header-nav.nav-right li.current-dropdown:last-child > .nav-dropdown,
.header-nav.nav-right li.has-dropdown:hover:last-child > .nav-dropdown {
    left: auto !important;
    right: -15px !important;
}

.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after,
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before,
.nav-dropdown-has-arrow li.has-dropdown:hover:after,
.nav-dropdown-has-arrow li.has-dropdown:hover:before {
    opacity: 1;
}

/* Leaders / review sliders */
#slider-1251893266,
#slider-2015610313 {
    overflow: hidden;
}

#slider-1251893266 .flickity-viewport,
#slider-2015610313 .flickity-viewport {
    overflow: hidden;
}

#slider-1251893266 .flickity-slider > *,
#slider-1251893266 .flickity-slider > .row {
    max-width: 65% !important;
    width: 65% !important;
}

@media (min-width: 550px) {
    #slider-1251893266 .flickity-slider > *,
    #slider-1251893266 .flickity-slider > .row {
        max-width: 20% !important;
        width: 20% !important;
    }
}

#slider-2015610313 .flickity-slider > *,
#slider-2015610313 .flickity-slider > .row {
    max-width: 70% !important;
    width: 70% !important;
}

@media (min-width: 550px) {
    #slider-2015610313 .flickity-slider > *,
    #slider-2015610313 .flickity-slider > .row {
        max-width: 20% !important;
        width: 20% !important;
    }
}

#slider-1251893266 .box-image img,
#slider-2015610313 .box-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#slider-1251893266 .box-text,
#slider-2015610313 .box-text {
    color: #fff;
}

#slider-1251893266 .flickity-button,
#slider-2015610313 .flickity-button {
    background: transparent;
    color: #fff;
}

#slider-1251893266 .flickity-prev-next-button,
#slider-2015610313 .flickity-prev-next-button {
    width: 44px;
    height: 44px;
}

.section-title-main {
    font-weight: 700;
}

/* Fix mojibake nbsp in clone */
.box-text-inner p {
    min-height: 0.5em;
}

.pum.pum-overlay {
    position: fixed;
    inset: 0;
    z-index: 1999999999;
    background: rgba(10, 0, 0, 0.30);
    overflow-y: auto;
    padding: 20px;
}

.pum.pum-overlay.is-active {
    display: block !important;
}

.pum-container {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ===== FULL-SITE BLACK BACKGROUND ===== */
html,
body,
#wrapper,
#main,
#main.dark,
#content,
.content-area,
.page-wrapper,
.sticky-add-to-cart--active {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #dddddd;
}

body {
    color: #dddddd !important;
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.section-title-main,
.widget-title {
    color: #ffffff !important;
}

p, li, td, th, label, span, .col-inner, .text-center {
    color: inherit;
}

a {
    color: #51be67;
}

a:hover {
    color: #ffffff;
}

/* Header + nav */
#header,
.header,
.header-wrapper,
.header-main,
.header-bg-color,
.header-bg-container,
.header-bottom,
.stuck .header-main,
.header.show-on-scroll {
    background-color: #000000 !important;
    background: #000000 !important;
}

.header-top,
#top-bar.header-top {
    background-color: #000000 !important;
}

.header:not(.transparent) .header-nav-main.nav > li > a {
    color: #ffffff !important;
}

.header:not(.transparent) .header-nav-main.nav > li > a:hover,
.header:not(.transparent) .header-nav-main.nav > li.active > a,
.header:not(.transparent) .header-nav-main.nav > li.current > a {
    color: #ffffff !important;
}

.header-nav-main.nav-line-grow > li > a:before,
.header-nav-main.nav-line-bottom > li > a:before {
    background-color: #b20000 !important;
}

.nav .nav-dropdown,
.nav-dropdown {
    background-color: #000000 !important;
    border-color: #333333 !important;
}

.nav-dropdown > li > a {
    color: #ffffff !important;
}

.nav-dropdown > li > a:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

.top-divider,
.is-divider,
.divider {
    background-color: #333333 !important;
}

/* Sections / cards / forms */
.section,
.section-content,
.banner,
.message-box-bg-overlay {
    background-color: transparent;
}

.icon-menu:before,
.mobile-nav .nav-icon a,
.mobile-nav .icon-menu {
    color: #ffffff !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.contact-form input,
.contact-form textarea {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #444444 !important;
}

.form-success-message {
    background: #000000 !important;
    border: 1px solid #349247;
    color: #51be67;
}

.form-error-message {
    background: #000000 !important;
    border: 1px solid #b20000;
    color: #ff6b6b;
}

/* Footer */
#footer,
.footer-wrapper,
.footer-1,
.footer-2,
.footer-widgets,
.absolute-footer,
html {
    background-color: #000000 !important;
    background: #000000 !important;
}

.footer a,
.absolute-footer,
.copyright-footer,
.copyright-footer span {
    color: #cccccc !important;
}

.absolute-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.absolute-footer .footer-primary,
.absolute-footer .footer-secondary {
    float: none;
}

.absolute-footer .footer-phone {
    color: #51be67 !important;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.absolute-footer .footer-phone:hover {
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .absolute-footer .container {
        justify-content: center;
        text-align: center;
    }
}

.footer .widget-title {
    color: #ffffff !important;
}

/* Mobile menu / modals */
.mobile-sidebar-open #main-menu,
#main-menu,
.sidebar-menu,
.login-modal-open #login-form-popup,
.pum-container {
    background-color: #000000 !important;
    color: #dddddd !important;
}

.mobile-sidebar .nav a,
.sidebar-menu a {
    color: #ffffff !important;
}

.back-to-top {
    background: #000000;
    border: 1px solid #444;
}

/* Full-bleed designed hero banners */
.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-banner__frame {
    position: relative;
    width: 100%;
    background: #000;
}

.hero-banner__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
}

.hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 18px 16px 8px;
    background: #000;
}

.hero-banner__actions .button {
    margin: 0;
}

.hero-banner__note {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin: 0;
    padding: 0 16px 22px;
    background: #000;
}

@media (min-width: 850px) {
    .hero-banner__actions {
        padding-top: 22px;
    }
}

/* Hero auto-rotating slideshow — simple, no Flatsome/Flickity conflict */
#awareness-hero {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    overflow: hidden;
}

.hero-rotator {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 438;
    background: #000;
    overflow: hidden;
}

.hero-rotator__slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-rotator__slide.is-active {
    display: block;
}

.hero-rotator__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
    border: 0;
}

.hero-rotator__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    box-sizing: border-box;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none;
    -webkit-appearance: none;
}

.hero-rotator__nav::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    flex: 0 0 auto;
}

.hero-rotator__nav--prev { left: 12px; }
.hero-rotator__nav--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.hero-rotator__nav--next { right: 12px; }
.hero-rotator__nav--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.hero-rotator__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.hero-rotator__dot {
    pointer-events: auto;
    box-sizing: border-box;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block !important;
    flex: 0 0 10px !important;
    line-height: 0 !important;
    font-size: 0 !important;
    overflow: hidden;
}

.hero-rotator__dot.is-active {
    background: #b20000 !important;
}

.hero-auto-footer {
    display: block;
    width: 100%;
    clear: both;
    background: #000;
    text-align: center;
    padding: 12px 16px 0;
}

.hero-auto-footer .hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.hero-auto-footer .hero-banner__note {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin: 0 auto;
    max-width: 720px;
    padding: 0;
    background: transparent;
}

/* Remove old broken Flickity hero rules */
.hero-auto-wrap,
#slider-hero-banners {
    display: none !important;
}

/* Section campaign graphics (portrait + landscape) */
.section-graphic {
    width: 100%;
    background: #000;
    margin: 0 0 28px;
}

.section-graphic--flush {
    margin-bottom: 0;
}

.section-graphic__frame {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    background: #000;
}

.section-graphic--wide .section-graphic__frame {
    max-width: 1100px;
}

.section-graphic__img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border: 0;
}

#devendra-account .devendra-account__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

#devendra-account .devendra-account__content {
    flex: 1 1 0;
    min-width: 0;
}

#devendra-account .devendra-account__text {
    color: #ddd;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

#devendra-account .devendra-account__phone {
    margin: 16px 0 0;
    color: #ddd;
    font-size: 1.05rem;
    font-weight: 600;
}

#devendra-account .devendra-account__phone a {
    color: #51be67;
    text-decoration: none;
    white-space: nowrap;
}

#devendra-account .devendra-account__phone a:hover {
    color: #fff;
}

#devendra-account .devendra-account__media {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    margin: 0;
}

#devendra-account .devendra-account__media img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 4px;
}

@media (max-width: 849px) {
    #devendra-account .devendra-account__layout {
        flex-direction: column;
        gap: 28px;
        padding: 0 20px;
    }

    #devendra-account .devendra-account__content,
    #devendra-account .devendra-account__media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    #devendra-account .devendra-account__text,
    #devendra-account .devendra-account__phone {
        text-align: center;
    }

    #devendra-account .devendra-account__media {
        max-width: 320px;
        margin: 0 auto;
    }
}

a.section-graphic__link {
    display: block;
    text-decoration: none;
}

a.section-graphic__link:focus {
    outline: 2px solid #b20000;
    outline-offset: 3px;
}

/* Video section below hero */
.video-feature__player {
    position: relative;
    background: #000;
    border: 1px solid #333;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.video-feature__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.video-feature__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    text-decoration: none !important;
}

.video-feature__play-icon,
.video-card__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-size: 22px;
    background: rgba(178, 0, 0, 0.85);
    padding-left: 4px;
}

.video-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #111 0%, #1a0000 55%, #000 100%);
    border: 1px solid #333;
    text-decoration: none !important;
}

.video-card__label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #aaa;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 16px;
    transform: translate(-50%, -50%);
}

.video-card__thumb:hover .video-card__play,
.video-feature__play:hover .video-feature__play-icon {
    background: #b20000;
}

/* Client videos Flickity slider — ~4–5 visible on desktop */
#slider-client-videos {
    overflow: hidden;
}

#slider-client-videos .flickity-viewport {
    overflow: hidden;
}

#slider-client-videos .flickity-slider > .col {
    width: 80% !important;
    max-width: 80% !important;
}

@media (min-width: 550px) {
    #slider-client-videos .flickity-slider > .col {
        width: 33.333% !important;
        max-width: 33.333% !important;
    }
}

@media (min-width: 850px) {
    #slider-client-videos .flickity-slider > .col {
        width: 33.333% !important;
        max-width: 33.333% !important;
    }
}

#slider-client-videos .flickity-button {
    background: transparent;
    color: #fff;
}

#slider-client-videos .flickity-prev-next-button {
    width: 44px;
    height: 44px;
}

.video-slide__card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none !important;
    color: #fff !important;
    font: inherit;
    cursor: pointer;
}

.video-slide__card--image {
    cursor: default;
}

.video-slide__card:focus {
    outline: 2px solid #b20000;
    outline-offset: 3px;
}

.video-slide__caption {
    margin: 6px 0 0;
    color: #999;
    font-size: 0.82rem;
    line-height: 1.4;
}

.video-slide__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid #333;
    background: #111;
}

.video-slide__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

video.video-slide__img {
    background: #111;
    pointer-events: none;
}

.video-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 45%, transparent 70%);
    pointer-events: none;
}

.video-slide__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(178, 0, 0, 0.9);
    color: #fff;
    font-size: 18px;
    padding-left: 3px;
    z-index: 2;
}

.video-slide__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.55);
    padding: 4px 8px;
}

.video-slide__title {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.video-slide__card:hover .video-slide__play,
.video-slide__card:focus .video-slide__play {
    background: #b20000;
}

/* Images never show play UI */
.video-slide__card--image .video-slide__play,
.video-slide__card--image .video-slide__badge,
.video-slide__card--image .video-slide__shade {
    display: none !important;
}

/* Video lightbox popup */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-lightbox[hidden] {
    display: none !important;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 14px 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    outline: none;
}

.video-lightbox__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.video-lightbox__title {
    color: #fff;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 6px;
    font-size: 1.05rem;
    line-height: 1.35;
}

/* Force perfect circle — Flatsome button styles otherwise stretch it */
#video-lightbox button.video-lightbox__close,
.video-lightbox__close {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    flex: 0 0 36px !important;
    box-sizing: border-box !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #b20000 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#video-lightbox button.video-lightbox__close span,
.video-lightbox__close span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

#video-lightbox button.video-lightbox__close:hover,
#video-lightbox button.video-lightbox__close:focus,
.video-lightbox__close:hover,
.video-lightbox__close:focus {
    background: #d40000 !important;
    outline: none !important;
}

#video-lightbox button.video-lightbox__close:focus-visible,
.video-lightbox__close:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
}

.video-lightbox__player {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.video-lightbox__video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    object-fit: contain;
}

.video-lightbox__status {
    margin: 10px 0 0;
    color: #ffb4b4;
    font-size: 0.9rem;
}

.video-lightbox__status[hidden] {
    display: none !important;
}

body.video-lightbox-open {
    overflow: hidden;
}

/* Keep play button clickable inside Flickity */
#slider-client-videos .js-open-video {
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
}

#slider-client-videos .video-slide__play {
    pointer-events: none;
}
