/* General */
html {
    scroll-behavior: smooth;
}

header {
    z-index: 9999;
}

.link {
    font-size: 1.125rem;
    line-height: 1.1;
    font-weight: 400;
    color: #F15A24;
    text-decoration: none;
    transition: color .3s;
}

.link:hover {
    color: #fff;
}

.font-extrabold {
    font-weight: 600 !important;
}

/* Hero */

.s-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.s-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.s-hero__video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(4, 4, 5, 0.92) 0%, rgba(14, 14, 15, 0.85) 100%);
    opacity: .8;
    z-index: 0;
}

.s-hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.s-hero__text {
    position: relative;
    margin-top: clamp(100px, 35vh,200px);
    z-index: 10;
}

.s-hero__header {
    position: relative;
    width: 100%;
    height: 100%;
    place-content: center;
}

.s-hero__title {
    font-size: 1.875rem;
    position: absolute;
    top: 0;
    left: 0;
}

/* Tabs */

.s-tabs ul li button object{
    z-index: -1;
}

.s-tabs .mx-auto {
    min-height: 42.625rem;
}

.s-tabs .s-tabs__wrapper {
    right: auto;
    left: 0;
    bottom: 3rem;
}

.s-tabs .s-tabs__slogan {
    position: relative;
}

.s-tabs .s-tabs__slogan > div {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .5s ease-in-out;
    text-transform: capitalize;
    visibility: hidden;
    width: 100%;
} 

.s-tabs .s-tabs__slogan > div.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.s-tabs ul li .dot {
    background-color: #F15A24;
}

.s-tabs .s-tabs__text .__slogan {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2rem;
    line-height: 1.2;
    color: #fff;
}

/* Video */

.s-video .s-video__decor {
    display: none;
    position: absolute;
    top: -90px;
    left: 69%;
    z-index: -1;
}

.s-video .media-slider-pagination .swiper-pagination-bullet-active {
    background-color: #F15A24 !important;
}

.s-video .swiper .swiper-box {
    margin-top: 1.5rem;
}

.s-video .swiper .__iframe iframe {
    border-radius: 12px;
}

.s-video .swiper .swiper-box .__name .wysiwyg-text-underline {
    font-weight: 400;
}

.s-video .swiper .swiper-desc {
    margin-top: 1.5rem;
    color: #fff;
    padding-right: 1rem;
}

.s-video .swiper .swiper-desc p {
    font-size: 1.125rem;
    font-weight: 400;
    padding: 0;
}

.s-video .swiper .swiper-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* Articles */

.s-articles {
    margin: 2rem 0 4rem;
}

.s-articles .s-articles__header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.s-articles .s-articles__header h2 {
    margin: 0;
}

.s-articles__wrapper {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.s-articles__slider .swiper {
    max-width: 100%;
}

.s-articles__item {
    color: #fff;
}

.s-articles__item .__thumb {
    width: 100%;
    height: 250px;
}

.s-articles__item .__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 0;
}

.s-articles__item .__name {
    font-size: 1.5rem;
    margin: 1rem 0 .5rem;
}

.s-articles__item .__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.s-articles__item .__link {
    text-align: right;
}

.s-articles__pagination {
    text-align: center;
    margin-top: 1.5rem;
}

.s-articles__pagination .swiper-pagination-bullet {
    height: .75rem;
    width: .75rem;
    background-color: #3b3c3d;
    opacity: 1;
}

.s-articles__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #F15A24;
}

/* Blog */

.s-blog-grid {
    margin: 2rem 0 4rem;
}

.s-blog-grid__header {
    text-align: center;
    margin: 0 2rem 2rem;
}

.s-blog-grid__header h1 {
    font-weight: 600;
    text-transform: uppercase;
}

.s-blog-grid__thumb {
    height: 250px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.s-blog-grid__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 0;
}

.s-blog-grid__button {
    margin-top: 3rem;
    text-align: center;
}

@media (max-width: 576px) {
    .s-video .swiper .swiper-box .__name {
        font-size: 1.25rem;
    }
}

@media (min-width: 577px) {
    .s-articles {
        margin: 6rem 0 4rem;
    }

    .s-blog-grid {
        margin: 4rem 0;
    }

    .s-blog-grid__thumb {
        height: 350px;
    }

    .s-articles__wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .s-articles__item .__thumb {
        width: 100%;
    }

    .s-articles__item .__desc {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .s-video .swiper .swiper-desc p {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .link {
        font-size: 1.25rem;
    }

    .s-hero {
        max-height: 600px;
    }

    .s-hero__title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .s-blog-grid__thumb {
        height: 500px;
    }

    .s-video .swiper .swiper-box .__name {
        font-size: 1.5rem;
    }

    .s-video .swiper .swiper-link {
        text-align: left;
    }

    .s-tabs .s-tabs__wrapper {
        right: -15%
    }

    .s-tabs .mx-auto {
        min-height: 50rem;
    }

    .s-tabs .s-tabs__slogan > div {
        font-size: 14rem;
    }

    .s-tabs .s-tabs__text .__slogan {
        font-size: 4rem;
        margin-top: 4rem;
    }
}

@media (min-width: 996px) {
    .s-hero {
        max-height: calc(100vh - 100px);
        margin-bottom: 0;
    }
    
    .s-hero__text {
        margin-top: clamp(100px, 35vh,300px);
    }

    .s-articles__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .s-tabs .s-tabs__text .__slogan {
        margin-top: 6rem;
    }
}

@media (min-width: 1024px) {
    .s-hero {
        max-height: 800px;
    }
    
    .s-hero__title {
        font-size: 3.75rem;
        line-height: 5rem;
    }

    .s-articles__pagination {
        margin-top: 3rem;
    }

    .s-articles__pagination .swiper-pagination-bullet {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .swiper {
        max-width: 76rem;
    }

    .swiper .swiper-slide .__iframe {
        max-width: 63.8125rem;
    }
}

@media (min-width: 1440px) {
    .s-video .s-video__decor {
        display: block;
    }
    .s-video .media-slider-pagination {
        right: calc((1280px - 100vw)/2 + 2rem) !important;
    }   
}