.video-hub-page {
    padding-top: 72px;
    background: url("../../imgs/single-video-bg.png") center top no-repeat,
                linear-gradient(to bottom, #071523 0%, #071523 50%, #0e2b42 100%);
    background-size: 100% auto;
}
.big-bar {
    width: 60px;
    height: 5px;
    display: block;
    margin: 0;
    background: #FFD13F;
}
#loader_image {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 20%);
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: -1;
}
#loader_image.show-loader {
    opacity: 1;
    z-index: 99999;
}
.carousel-container .owl-dots {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.carousel-container .owl-stage {
    display: flex;
}
.carousel-container .owl-dots .owl-dot {
    border-radius: 0;
    width: 31px;
    height: 5px;
    font-size: 0;
    border: none;
    margin: 0 !important;
    padding: 0;
    opacity: 0.25;
}
.carousel-container .owl-dots .owl-dot {
    background-color: #39BADD;
}
.carousel-container .owl-dots .owl-dot.active {
    opacity: 1;
}
.carousel-container .owl-nav button {
    border: 0;
    position: absolute;
    top: calc(50% - 15px);
    width: 52px;
    height: 30px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}
.carousel-container .owl-nav button span {
    display: none;
}
.carousel-container .owl-nav .owl-prev {
    background-image: url("/wp-content/uploads/2025/09/thin-arrow-prev.svg");
}
.carousel-container .owl-nav .owl-next {
    background-image: url("/wp-content/uploads/2025/09/thin-arrow-next.svg");
}

/* Hero */
.pubm-videohub__hero-content h2 {
    color: #fff;
    font-family: 'TVNordEF-Regular', sans-serif;
}
.pubm-videohub__hero-content p {
    color: #fff;
    margin: 0;
    font-size: 18px;
    line-height: 27px;
}

/* Videos Section */
.pubm-videohub__videos {
    position: relative;
}
.pubm-videohub__videos .container h1 {
    color: #fff;
    text-transform: uppercase;
}
.pubm-videohub__videos-carousel:not(.owl-loaded) {
    opacity: 0;
}
.pubm-videohub__videos-carousel {
    position: relative;
    overflow: hidden;
    transition: opacity .3s ease;
}
.pubm-videohub__videos-carousel .owl-stage {
    justify-content: center;
    transition-timing-function: ease-in-out;
}
.pubm-videohub__videos-carousel .owl-item .video-box {
    position: relative;
}
.pubm-videohub__videos-carousel .owl-item .video-box:after {
    content: '';
    background: #333;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    z-index: -1;
}
.pubm-videohub__videos-carousel .owl-item:not(.center) .video-box:after {
    opacity: 0.62;
    transition: opacity .3s ease-in-out;
    z-index: 1;
}
.pubm-videohub__videos-carousel .play-btn {
    background: url("/wp-content/themes/pubmatic/imgs/cta-video-play.svg") no-repeat 50% 50%;
    background-size: 60px auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.pubm-videohub__videos-carousel .video-card,
.pubm-videohub__videos-carousel .video-card-back {
    color: #fff;
    background: linear-gradient(90deg, #39BADD 0%, #6F6CD7 100%);
    box-shadow: 0 3px 6px #00000029;
}
.pubm-videohub__videos-carousel .video-card h3,
.pubm-videohub__videos-carousel .video-card-back h3 {
    color: #fff;
    font-family: 'TVNordEF-Black', sans-serif;
    font-size: 26px;
    line-height: 1.25;
}
.pubm-videohub__videos-carousel .video-card p:last-of-type,
.pubm-videohub__videos-carousel .video-card-back p:last-of-type {
    margin-bottom: 0;
}

.videos-grid-section {
    margin: 0;
}
.videos-grid-filters {
    padding: 25px 0;
    background-color: #173A56;
}
.videos-grid-filters .container:before {
    content: none;
}
.videos-grid-filters .container,
.videos-grid-filters .container > label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    font-size: 22px;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    white-space: nowrap;
}
.videos-grid-filters .container > label:last-of-type {
    padding-left: 50px;
    margin-bottom: 0;
    margin-left: 50px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.videos-grid-filters label .dropdown {
    min-width: 288px;
}
.videos-grid-filters .wrapper-dropdown label{
    font-weight: 400;
}
.videos-grid-filters .wrapper-dropdown {
    position: relative;
    width: 288px;
    padding: 14px 13px 11px;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    color: #999;
    border: 1px solid #999;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.videos-grid-filters .wrapper-dropdown:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #000 transparent;
    pointer-events: none;
}
.videos-grid-filters .wrapper-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    border-radius: 0;
    -webkit-box-shadow: 0px 15px 20px #00000066;
    box-shadow: 0px 15px 20px #00000066;
    z-index: 2;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-top: none;
    border-bottom: none;
    list-style: none;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}
.videos-grid-filters .wrapper-dropdown .dropdown:focus-visible {
    outline: none;
}
.videos-grid-filters .wrapper-dropdown.active {
    box-shadow: none;
    border-bottom: none;
}
.videos-grid-filters .wrapper-dropdown span.select2.select2-container {
    min-width: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100% !important;
    opacity: 0;
}
.videos-grid-filters span.select2 .selection {
    height: 100%;
}
.videos-grid-filters span.selection,
.videos-grid-filters span.selection span {
    min-width: 100%;
    height: 100%;
    cursor: pointer;
}
.videos-grid-filters .wrapper-dropdown {
    margin: 0;
    font-weight: inherit;
}
ul li.select2-results__option,
span.select2-container--default .select2-results__option--selected,
span.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: transparent;
    color: inherit;
    white-space: normal;
}
.select2-results__option:first-child {
    padding: 15px;
    margin-bottom: 5px;
    position: relative;
}
.select2-results__option:first-child::after {
    content: '';
    position: absolute;
    width: calc(100% - 30px);
    height: 1px;
    background-color: #b9b9b9;
    top: 100%;
    left: 15px;
}
.select2-results__options::-webkit-scrollbar {
    width: 16px;
    background-clip: padding-box;
}
.select2-results__options::-webkit-scrollbar-track {
    background-color: #F4F4F4;
    height: 8px;
    background-clip: padding-box;
    border-right: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
}
.select2-results__options::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: #0F2464;
    border-right: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
}
.select2-results__options::-webkit-scrollbar-button {
    display: none;
}
.select2-container .select2-selection--multiple .select2-selection__rendered,
ul.select2-selection__rendered {
    display: none;
    pointer-events: none;
}
.videos-grid-filters .select2-container--default .select2-results>.select2-results__options {
    max-height: 280px;
    overflow-y: auto;
}
.videos-grid-filters option,
ul li.select2-results__option {
    cursor: pointer;
    padding: 10px 15px;
    display: grid;
    grid-template-columns: 24px 1fr;
}
.videos-grid-filters .select2-search__field {
    cursor: pointer;
    pointer-events: none;
}
.videos-grid-filters option:not(.emptyMsg)::before,
.select2-results__option::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background-color: #A8A8A8;
    display: inline-block;
    margin-right: 10px;
    margin-top: 3px;
    opacity: 0.5;
}
.select2-dropdown li.select2-results__option--disabled {
    cursor: not-allowed;
}
.select2-dropdown li.select2-results__option--disabled:before {
    content: none;
}
.videos-grid-filters option:checked,
.select2-results__option.select2-results__option--selected {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.videos-grid-filters option:checked::before,
.select2-results__option.select2-results__option--selected::before {
    background-color: #50C9ED;
    opacity: 1;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 17.837 17.837' style='enable-background:new 0 0 17.837 17.837;' xml:space='preserve'%3e%3cg%3e%3cpath style='fill:%23ffffff;' d='M16.145,2.571c-0.272-0.273-0.718-0.273-0.99,0L6.92,10.804l-4.241-4.27 c-0.272-0.274-0.715-0.274-0.989,0L0.204,8.019c-0.272,0.271-0.272,0.717,0,0.99l6.217,6.258c0.272,0.271,0.715,0.271,0.99,0 L17.63,5.047c0.276-0.273,0.276-0.72,0-0.994L16.145,2.571z'/%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3cg%3e%3c/g%3e%3c/svg%3e");
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}
.videos-grid-filters option:first-child::after,
.select2-results__option:first-child::after {
    content: '';
    position: absolute;
    width: calc(100% - 30px);
    height: 1px;
    background-color: #b9b9b9;
    top: 100%;
    left: 15px;
}
.videos-grid-filters .wrapper-dropdown.active:after {
    border-color: #82d1ff transparent;
}
.videos-grid-filters .wrapper-dropdown.active .dropdown {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    max-height: 185px;
    overflow-y: auto;
}
.videos-grid-filters .select2-container--open .select2-dropdown {
    box-sizing: content-box;
    margin-left: -2px;
    margin-top: -1px;
}

.videos-grid {
    min-height: 230px;
}
.videos-grid-no-results {
    font-family: 'TVNordEF-Black', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
.videos-grid-items-type {
    position: relative;
    padding: 60px 0;
}
.videos-grid-items-type:not(:last-of-type):after {
    content: '';
    display: flex;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(to right, #fff 20%, rgba(168, 168, 168, 0) 5%);
    background-size: 4px 1px;
    padding: 1px 0 0;
}
.videos-grid-items-type.visible.no-border:after {
    background-image: none;
    content: none;
}
.videos-grid-type-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 25px;
}
.videos-grid-type-header .btn-view-all {
    font-family: 'TVNordEF-BlackCon', sans-serif;
    font-size: 22px;
    line-height: 25px;
    letter-spacing: -0.22px;
    color: #39BADD;
    text-transform: uppercase;
}
.videos-grid-items-type h3 {
    margin: 0;
    font-size: 24px;
    line-height: 24px;
    color: #39BADD;
    text-transform: uppercase;
}
.videos-grid-items-type ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px 32px;
    padding: 0;
    list-style-type: none;
}
.videos-grid-items-type .videos-grid-item {
    width: calc(33.3% - 21px);
}
.videos-grid-items-type .videos-grid-item a {
    color: #000;
}
.videos-grid-items-type .videos-grid-item figure {
    position: relative;
    margin: 0 0 16px;
}
.videos-grid-items-type .videos-grid-item figure:after {
    content: '';
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #173a56;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.2s all;
}
.videos-grid-items-type .videos-grid-item:hover figure:after {
    opacity: 0.3;
    visibility: visible;
}
.videos-grid-items-type .videos-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.videos-grid-items-type .videos-grid-item strong {
    font-family: 'TVNordEF-Black', sans-serif;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
}
.videos-grid-items-type .videos-grid-item strong strong {
    font-weight: 700;
}

.videos-hub-grid-footer {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
    padding: 40px 0 60px;

    text-align: center;
    position: relative;
}

.videos-hub-grid-footer:before {
    content: '';
    display: flex;
    width: 100%;
    position: absolute;
    top: 0;
    background-image: linear-gradient(to right, #fff 20%, rgba(168, 168, 168, 0) 5%);
    background-size: 4px 1px;
    padding: 1px 0 0;
}

.videos-hub-grid-footer p {
    margin: 0;

    font-family: 'TVNordEF-Regular', sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
}

.videos-hub-grid-footer .archive-btn-black {
    border: 1px solid #ffffff;
    text-align: center;
    display: block;
    width: fit-content;
    color: #fff;
    padding: 16.5px 34px;
    text-transform: uppercase;
    font-family: 'TVNordEF-BlackCon';
    font-size: 22px;
    transition: 0.2s all;
}

.videos-hub-grid-footer .archive-btn-black:hover {
    color: #000;
    text-decoration: none;
    background: #fff;
}

@media (min-width: 768px) {
    .pubm-videohub__videos .container h1 {
        font-size: 64px;
        line-height: 0.9;
        letter-spacing: 1.28px;
        margin-bottom: 25px;
    }
    .pubm-videohub__hero-content h2 {
        font-size: 26px;
        line-height: 1.45;
        margin: 30px 0 13px;
    }
    .pubm-videohub__videos-carousel .owl-nav .owl-prev {
        right: calc(100% - 60px);
    }
    .pubm-videohub__videos-carousel .owl-nav .owl-next {
        left: calc(100% - 60px);
    }
}

@media (min-width: 992px) {
    .pubm-videohub__videos {
        padding-top: 85px;
        margin-bottom: 70px;
    }
    .pubm-videohub__videos-carousel {
        padding-top: 60px;
        padding-bottom: 60px;
        margin-top: 48px;
    }
    .pubm-videohub__videos-carousel .owl-nav {
        opacity: 0;
    }
    .pubm-videohub__videos-carousel.animate-in .owl-nav {
        opacity: 1;
        transition: opacity .3s 1.5s ease-in-out;
    }
    .pubm-videohub__videos-carousel:not(.animate-in) .owl-item {
        opacity: 0;
        transform: translateY(30px);
        transition: all .4s ease-in-out;
    }
    .pubm-videohub__videos-carousel.animate-in .owl-item {
        opacity: 1;
        transform: translateY(0);
        transition: all .4s ease-in-out;
    }
    .pubm-videohub__videos-carousel.animate-in .owl-item.active.center {
        transition-delay: .3s;
    }
    .pubm-videohub__videos-carousel.animate-in .owl-item:not(.active):not(.center) {
        transition-delay: .6s;
    }
    .pubm-videohub__videos-carousel.animate-in .owl-item.active:not(.center) {
        transition-delay: .9s;
    }
    .pubm-videohub__videos-carousel .owl-item .video-item {
        width: 790px;
        position: relative;
        transition: all .5s ease-in-out;
    }
    .pubm-videohub__videos-carousel .owl-item.center .video-item {
        width: 940px;
        padding-right: 150px;
    }
    .pubm-videohub__videos-carousel .owl-item:not(.center) .video-item {
        transform: scale(0.9);
        opacity: 0.5;
    }
    .pubm-videohub__videos-carousel .video-card,
    .pubm-videohub__videos-carousel .video-card-back {
        position: absolute;
        right: 0;
        top: -43px;
        padding: 43px 41px 41px 25px;
        width: 375px;
        opacity: 0;
        z-index: 1;
        transition: all .5s ease-in-out;
    }
    .pubm-videohub__videos-carousel .owl-item:not(.center) .video-card {
        transform: scale(0.7);
        transform-origin: 50% 50%;
    }
    .pubm-videohub__videos-carousel .video-card-back {
        z-index: -1;
    }
    .pubm-videohub__videos-carousel .owl-item.center .video-card {
        opacity: 1;
        transform: scale(1);
        transition-delay: .3s;
    }
    .pubm-videohub__videos-carousel .owl-item.center .bring-card .video-card {
        opacity: 0;
    }
    .pubm-videohub__videos-carousel .owl-item.center .bring-card .video-card-back {
        opacity: 1;
    }
    .pubm-videohub__videos-carousel .video-card h3,
    .pubm-videohub__videos-carousel .video-card-back h3 {
        letter-spacing: 0.72px;
        margin: 17px 0 23px;
    }
}

@media (min-width: 1200px) {
    .pubm-videohub__videos-carousel .owl-item .video-item {
        width: 908px;
        position: relative;
    }
    .pubm-videohub__videos-carousel .owl-item.center .video-item {
        width: 1140px;
        padding-right: 232px;
    }
}

@media (min-width: 1360px) {
    .pubm-videohub__videos-carousel .owl-nav .owl-prev {
        right: calc(((100vw - 1140px) / 2) + 1140px + 55px);
    }
    .pubm-videohub__videos-carousel .owl-nav .owl-next {
        left: calc(((100vw - 1140px) / 2) + 1140px + 55px);
    }
}

@media only screen and (max-width: 1199px) {
    .videos-grid-filters .container,
    .videos-grid-filters .container > label,
    .videos-grid-filters .wrapper-dropdown {
        font-size: 18px;
        flex-direction: column;
    }
    .videos-grid-filters label .dropdown {
        width: 100%;
        max-width: 100%;
    }
    .videos-grid-filters .container {
        align-items: flex-start;
    }
    .videos-grid-filters .container:before,
    .videos-grid-filters .container:after {
        content: inherit;
        display: none;
    }
    .videos-grid-filters .wrapper-dropdown {
        width: 100%;
        align-items: flex-start;
    }
    .videos-grid-filters .container > label:last-of-type {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 10px;
        align-items: flex-start;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    .videos-grid-items-type .videos-grid-item {
        width: calc(50% - 16px);
    }
}

@media (max-width: 991px) {
    .pubm-videohub__videos {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .pubm-videohub__videos-carousel {
        margin-top: 32px;
        padding-bottom: 40px;
    }
    .pubm-videohub__videos-carousel .video-card-back {
        display: none;
    }
    .pubm-videohub__videos-carousel .video-card {
        padding: 43px 25px;
        width: 100%;
    }
    .pubm-videohub__videos-carousel .video-card h3 {
        letter-spacing: 0.6px;
        margin: 23px 0 16px;
    }
    .pubm-videohub__videos-carousel .owl-nav {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .video-hub-page {
        background-size: 900px auto;
    }
    .pubm-videohub__hero-content h2 {
        font-family: 'TVNordEF-Regular', sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 27px;
        margin: 14px 0 30px;
    }
    .videos-grid-items-type .videos-grid-item {
        width: 100%;
    }
}
