@media screen and (max-width: 991px) {
    .drmeBanner .textBox {
        width: 90%;
    }

    .gallery {
        padding: 20px;
    }

    .textBanner .textBox {
        width: 90%;
    }

    .content .container {
        padding: 30px;
    }

    .keyFacts .container {
        padding: 30px;
    }

    .keyFacts .col-sm-6:first-of-type {
        order: 2;
    }

    .keyFacts .round {
        position: relative;
        border-radius: 0;
        margin: 20px 0;
        top: 0;
    }

    .menu-item-gtranslate {
        margin: 0 47px;
        list-style: none;
    }

    .recentProjects .row {
        flex-direction: column;
        padding: 5px;
    }

    .logoBanner .row {
        flex-direction: column;
    }

    .logoBanner .description {
        font-size: 14px;
    }

    .drmeBanner .textBox .bigText {
        font-size: 30px;
    }

    .recentProjects {
        padding: 50px 10px;
    }

    .recentProjects .col {
        max-width: 100%;
    }

    .textBanner {
        height: auto;
        padding: 44px;
    }

    .textBanner .row {
        flex-direction: column;
    }

    .textBanner .h1 {
font-size: 18px;
    }

    .textBanner p {
        font-size: 14px;
    }

    .bannerBox .drmeBanner.small {
        min-width: 400px;
        flex-grow: 1;
    }

    #mainNav .categoryContainer ul {
        display: none;
    }

    .card--card.gradient, .card__inner.gradient {
        height: 50vw;
    }

    .footerNav ul {
        flex-direction: column;
        text-align: center;
    }

    .footerNav ul li a {
        padding: 20px 0;
        display: block;
    }

    #wpadminbar {
    position: fixed !important;
    }

    .admin-bar #header {
        top: 48px;
    }

    .admin-bar .scrollIndicator {
        top: 48px;
    }

    html > body.admin-bar {
        margin-top: 0 !important;
    }

}

@media screen and (min-width: 991px) {
    .product--large:not(.product--no-media) .product__media-wrapper {
        margin-left: 33.33% !important;
        width: 33.33% !important;
        max-width: 33.33% !important;
    }

    .product--large:not(.product--no-media) .product__info-wrapper {
        max-width: 33.33% !important;
        width: 33.33% !important;
        padding: 0 0 0 4rem !important;
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .galleryRow {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    }
}

@media (max-width: 768px) {
    .galleryRow {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller devices */
    }
}

@media (max-width: 480px) {
    .galleryRow {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
    }
}