/* VELAXIZ v1.45.0 — CTA color normalization, Support collapsibles and Video categories. */
:root {
    --velaxiz-cta-color: var(--primary);
    --velaxiz-cta-hover: #222;
}

/* Keep each component's original geometry; only normalize CTA colors/states. */
a.btn-contact,
.btn-contact,
.page-banner .btn-contact,
.header-right .btn-contact,
.mod-mores,
.prodeta-expand-btn,
.support-expand-btn,
.support-video-readmore,
.blog-cta-button,
.home-about .about__btn,
.app-section .app__btn,
.feature__btn,
.prodeta-info-group .prodeta-info-btn,
.solution-form .form__btn,
.footer .newsletter__btn,
input[type="submit"] {
    background-color: var(--velaxiz-cta-color) !important;
    color: #fff !important;
    border-color: var(--velaxiz-cta-color) !important;
}

a.btn-contact:hover,
a.btn-contact:focus-visible,
.btn-contact:hover,
.btn-contact:focus-visible,
.page-banner .btn-contact:hover,
.page-banner .btn-contact:focus-visible,
.header-right .btn-contact:hover,
.header-right .btn-contact:focus-visible,
.mod-mores:hover,
.mod-mores:focus-visible,
.prodeta-expand-btn:hover,
.prodeta-expand-btn:focus-visible,
.support-expand-btn:hover,
.support-expand-btn:focus-visible,
.support-video-readmore:hover,
.support-video-readmore:focus-visible,
.blog-cta-button:hover,
.blog-cta-button:focus-visible,
.home-about .about__btn:hover,
.home-about .about__btn:focus-visible,
.app-section .app__btn:hover,
.app-section .app__btn:focus-visible,
.feature__btn:hover,
.feature__btn:focus-visible,
.prodeta-info-group .prodeta-info-btn:hover,
.prodeta-info-group .prodeta-info-btn:focus-visible,
.solution-form .form__btn:hover,
.solution-form .form__btn:focus-visible,
.footer .newsletter__btn:hover,
.footer .newsletter__btn:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
    background-color: var(--velaxiz-cta-hover) !important;
    color: #fff !important;
    border-color: var(--velaxiz-cta-hover) !important;
}

/* The fixed contact tools use the same Banner CTA palette. */
.sidebar-icons.sidebar-color a span {
    background-color: var(--velaxiz-cta-color) !important;
}
.sidebar-icons.sidebar-color a:hover span,
.sidebar-icons.sidebar-color a:focus-visible span {
    background-color: var(--velaxiz-cta-hover) !important;
}

/* Product detail's pre-existing View More / Show Less now starts as a filled Banner CTA. */
.prodeta-expand-btn {
    border-color: var(--velaxiz-cta-color) !important;
}

/* Support FAQ / Terminology module-level collapse. Individual FAQ accordions stay unchanged. */
.support-module-collapsible.js-collapsible {
    position: relative;
    overflow: hidden;
    transition: max-height .4s ease;
}
.support-module-collapsible.js-collapsible.is-collapsed::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    pointer-events: none;
    content: "";
}
.support-faq .support-module-collapsible.js-collapsible.is-collapsed::after {
    background: linear-gradient(to bottom, rgba(245,247,250,0), #f5f7fa 90%);
}
.support-term .support-module-collapsible.js-collapsible.is-collapsed::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
}
.support-expand-btn {
    display: flex;
    width: max-content;
    min-width: 142px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 0;
    padding: 10px 22px;
    border: 1px solid var(--velaxiz-cta-color);
    border-radius: 2px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.support-expand-btn::after {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
}
.support-expand-btn[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
}

/* Videos: collection and taxonomy pages share one Blog-style left/right layout. */
.video-library-main {
    padding: var(--padd64) 0;
}
.video-library-main .themeflat-container2 {
    width: 90%;
    max-width: 100%;
}
.video-library-flexs {
    display: flex;
    align-items: flex-start;
}
.video-library-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    padding-right: 30px;
    flex: 0 0 300px;
}
.video-library-sidebar-title {
    margin-bottom: 20px;
    color: #222;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.video-library-content {
    width: calc(100% - 300px);
    min-width: 0;
}
.video-library-flexs.no-sidebar .video-library-content {
    width: 100%;
}
.video-library-content .mod_header {
    margin-bottom: 30px;
    text-align: left;
}
.video-category-nav,
.video-category-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.video-cat-item {
    margin-bottom: 10px;
}
.video-cat-row {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #222;
    font-size: 17px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.video-cat-row:hover,
.video-cat-row:focus-visible,
.video-cat-item.active > .video-cat-row {
    background: var(--primary);
    color: #fff;
    outline: none;
}
.video-cat-parent.is-parent-active > .video-cat-row {
    color: var(--primary);
    box-shadow: inset 3px 0 0 var(--primary);
}
.video-cat-parent.is-parent-active > .video-cat-row:hover,
.video-cat-parent.is-parent-active > .video-cat-row:focus-visible {
    color: #fff;
    box-shadow: none;
}
.video-cat-children {
    margin-top: 7px !important;
    padding-left: 16px !important;
}
.video-cat-child {
    margin-bottom: 6px;
}
.video-cat-child .video-cat-row {
    min-height: 42px;
    padding: 8px 16px;
    background: #f7f7f7;
    font-size: 15px;
}
.video-library-content .support-video-list {
    justify-content: flex-start;
}
.video-library-content .support-video-cont .tits {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .video-library-flexs {
        flex-direction: column;
    }
    .video-library-sidebar,
    .video-library-content {
        width: 100%;
    }
    .video-library-sidebar {
        position: static;
        flex-basis: auto;
        margin-bottom: 28px;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .support-expand-btn {
        min-width: 132px;
    }
    .video-library-sidebar-title {
        font-size: 21px;
    }
    .video-cat-row {
        min-height: 44px;
        padding: 9px 15px;
        font-size: 16px;
    }
    .video-library-content .mod_header {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-module-collapsible.js-collapsible,
    .support-expand-btn,
    .support-expand-btn::after,
    .video-cat-row {
        transition: none;
    }
}
