/*Header */
#mainnav {
    height: unset !important
}
.navbar-brand img {
    height: 7rem !important;
}

/* Main Banner */
.home-slider .home-slider__content {
    justify-content: center;
}
.home-slider .home-slider__content > div {
    align-items: center;
}
.home-slider .home-slider__content h3,
.home-slider .home-slider__content span {
    text-align: center !important;
    display: block;
}
.home-slider .home-slider__content span {
    margin-block: 3%;
}
section:nth-child(5 of .home-slider) .home-slider__content h3,
section:nth-child(5 of .home-slider) .home-slider__content span {
    color: #1A1A1A !important;
}
@media (min-width: 992px) {
    .home-slider .home-slider__content > div > div {
        max-width: 500px !important;
    }
    .home-slider .home-slider__content h3 {
        font-size: 58px;
        line-height: 1.2;
    }
    .home-slider .home-slider__content span {
        font-size: 24px;
        line-height: 2rem;
    }

    section:nth-child(3 of .home-slider) .home-slider__content,
    section:nth-child(4 of .home-slider) .home-slider__content {
        justify-content: start;
        transform: translate(-25%, -50%);
    }
    section:nth-child(4 of .home-slider) .home-slider__content .btn-primary {
        background-color: #fff;
        color: #000;
    }
    section:nth-child(5 of .home-slider) .home-slider__content {
        justify-content: start;
        transform: translate(-100%, -50%);
    }
    section:nth-child(5 of .home-slider) .home-slider__content h3,
    section:nth-child(5 of .home-slider) .home-slider__content span {
        color: #1A1A1A !important;
    }
}
@media (max-width: 1700px) and (min-width: 992px) {
    
    section:nth-child(3 of .home-slider) .home-slider__content,
    section:nth-child(4 of .home-slider) .home-slider__content {
        justify-content: start;
        transform: translate(-40%, -50%);
    }
    section:nth-child(5 of .home-slider) .home-slider__content {
        justify-content: start;
        transform: translate(-85%, -50%);
    }
}
@media (max-width: 576px) {
    .home-slider .home-slider__content {
        transform: translate(-50%, -50%);
        height: 100%;
        background-image: linear-gradient(0deg, #00000099, transparent);
    }
    section:nth-child(5 of .home-slider) .home-slider__content h3,
    section:nth-child(5 of .home-slider) .home-slider__content span {
        color: #fff !important;
    }
    .home-slider:has(video) .swiper-lazy-wrap {
        height: auto !important;
    }
}

/* Categories List Start 1 */
section:nth-child(1 of .s-block.s-block--banners.container),
section:nth-child(3 of .s-block.s-block--banners.container) {
    margin-top: -7%;
    z-index: 1;
    margin-bottom: 4%;
}
section:nth-child(1 of .s-block.s-block--banners.container) .grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.two-row .banner-entry:first-child {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
div.banner-entry {
    height: 400px;
    background-color:unset;
    transition: 0.2s;
}
div.banner-entry:hover {
    transform: scale(1.04)
}
section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded{
    background-size: contain;
    background-repeat: no-repeat;
}

@media(min-width:768px) and (max-width:1200px){
div.banner-entry{
    height: 225px;
}
}
@media(max-width:768px){
div.banner-entry{
    height: 200px;
}
}
@media(max-width: 480px){
section:nth-child(1 of .s-block.s-block--banners.container) .grid {
    gap: 0.25rem;
}
div.banner-entry{
    height: 140px !important;
}
}
/* Categories List End 1 */

/* Categories List Start 2 */
section:nth-child(2 of .s-block.s-block--banners.container) .grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
}
section:nth-child(2 of .s-block.s-block--banners.container) .s-block__title {
    justify-content: center;
}
section:nth-child(2 of .s-block.s-block--banners.container) .s-block__title h2 {
    font-size: 34px;
}
section:nth-child(2 of .s-block.s-block--banners.container) div.banner-entry {
    height: 220px;
}
@media(min-width:768px) and (max-width:1200px){
section:nth-child(2 of .s-block.s-block--banners.container) div.banner-entry{
    height: 190px;
}
}
@media(max-width:768px){
section:nth-child(2 of .s-block.s-block--banners.container) .grid {
    grid-template-columns: repeat(6,minmax(0,1fr));
}
section:nth-child(2 of .s-block.s-block--banners.container) .grid > div {
    grid-column: span 2;
}
section:nth-child(2 of .s-block.s-block--banners.container) div.banner-entry{
    height: 220px;
}
section:nth-child(2 of .s-block.s-block--banners.container) div.banner-entry:nth-child(4) {
    grid-column: 2/4;
}
}
@media(max-width: 480px){
section:nth-child(2 of .s-block.s-block--banners.container) div.banner-entry{
    height: 120px;
}
}
/* Categories List End 2 */

/* Categories List Start 3 */
section:nth-child(3 of .s-block.s-block--banners.container) .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
section:nth-child(3 of .s-block.s-block--banners.container) div.banner-entry {
    height: 600px;
}
@media(min-width:768px) and (max-width:1200px){
section:nth-child(3 of .s-block.s-block--banners.container) div.banner-entry{
    height: 465px;
}
}
@media(max-width:768px){
section:nth-child(3 of .s-block.s-block--banners.container) div.banner-entry{
    height: 335px;
}
}
@media(max-width: 480px){
section:nth-child(3 of .s-block.s-block--banners.container) div.banner-entry{
    height: 220px !important;
}
}

/* Categories List End 3 */


/* Video Section */
@media (min-width: 992px) {
    .home-slider div:has( > video)::after {
        content: "";
        height: 100%;
        width: 100%;
        background-image: linear-gradient(270deg, #000000 42%, transparent);
        position: absolute;
        display: block;
        top: 0;
        left: 0;
    }
    .home-slider video {
        width: 60%;
        margin-right: auto;
    }
}
@media(min-width: 1400px) {
    .home-slider div:has( > video) {
        height: 600px !important;
        position: relative;
    }
}
@media (max-width: 1400px) and (min-width: 992px) {
    .home-slider div:has( > video) {
        height: 430px !important;
    }
}

/* Blog */
.post-entry__image + div {
    display: none;
}