/* Hero Banner */
.hero-banner.style-default.v2 {
    height: 580px !important;
}

/* Make image fill the banner */
.hero-banner.style-default.v2 .img-thumbs,
.hero-banner.style-default.v2 .img-thumbs img {
    width: 100%;
    height: 100%;
}

.hero-banner.style-default.v2 .img-thumbs img {
    object-fit: cover;
}

.wg-pagination a.disabled {
    pointer-events: none;
    opacity: .4;
    cursor: default;
}

.img-style-cstm {
    min-height: 230px !important;
    max-height: 230px !important;
    height: 230px;
}

.section-project .wrap-project {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.b-hero-title-text {
    font-size: 50px;
    line-height: 1.1;
}

@media (max-width: 1199px) {
    .b-hero-title-text {
        font-size: 42px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero-banner.style-default.v2 {
        height: 460px !important;
    }

    .section-project {

        .wrap-project {
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }

    }

    .b-hero-title-text {
        font-size: 36px;
    }
}


/* Mobile */
@media (max-width: 767px) {
    .hero-banner.style-default.v2 {
        height: 340px !important;
    }

    .b-hero-title-text {
        font-size: 30px;
        line-height: 1.2;
    }
}

.footer {
    margin-bottom: 0;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 575px) {

    .section-project {

        .wrap-project {
            grid-template-columns: 1fr;
            gap: 20px;
        }

    }

    .b-hero-title-text {
        font-size: 26px;
        line-height: 1.2;
    }

}


.brand-story-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.brand-story-grid>.grid-ad {
    grid-column: span 2;
}

.brand-story-grid>.grid-ad,
.brand-story-grid>.grid-ad .newsletter-item,
.brand-story-grid>.grid-ad .advertisement-item {
    width: 100%;
    height: 100%;
}

.brand-story-grid>.grid-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-story-grid .grid-ad .advertisement-item {
    height: 320px;
    /* adjust as needed */
    overflow: hidden;
    border-radius: 12px;
}

.brand-story-grid .grid-ad .advertisement-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablet */
@media (max-width: 991px) {
    .brand-story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-story-grid>.grid-ad {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
    }

    .brand-story-grid>.grid-ad {
        grid-column: span 1;
    }

    .brand-story-grid .grid-ad .advertisement-item {
        height: auto;
    }
}
