.gal-hero {
    width: 100%;
    height: 516px;
    background-image: linear-gradient( rgba(0, 0, 0, .6) 0%), url(/imageserver/UserMedia/princeroofing/house-row.jpeg);
    background-color: #353535;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    box-sizing: border-box;
    justify-content: center;
    border-bottom: solid 16px var(--main-color-500);
}

.gal-hero h1 {
    margin: 0 0 12px 0;
    line-height: 36px;
    font-size: 36px;
    color: white;
}

.gal-hero p {
    color: white;
    font-size: 20px;
    margin: 0 0 12px 0;
    width: 800px;
    max-width: 80vw;
}

@media (max-width: 1000px) {
    .gal-hero h1 {
        font-size: 24px;
        line-height: 24px;
        text-align: center;
    }

    .gal-hero p {
        font-size: 16px;
        text-align: center;
    }

    .gal-hero .site-button {
        font-size: 16px;
        align-self: center;
    }
}

/* GAL - grid */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    row-gap: 30px;
    column-gap: 20px;
    justify-content: center;
    padding: 80px 0;
}

.gal-grid a {
    width: 100%;
    height: fit-content;
    position: relative;
    max-width: 90vw;
    max-height: 90vw;
}

.gal-grid a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "Click To View";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.462);
    color: var(--main-color-500);
    font-weight: 600;
    font-size: 20px;
    opacity: 0%;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gal-grid a:hover::before {
    opacity: 100%;
}

.gal-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

@media (max-width: 1350px) {
    .gal-grid {
        grid-template-columns: repeat(3, 300px);
    }
}

@media (max-width: 1000px) {
    .gal-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

@media (max-width: 700px) {
    .gal-grid {
        grid-template-columns: 300px;
    }
}

.maincontent_wrapper .maincontent {
    display: unset;
}