/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Deal grids (loopers) that lack GenerateBlocks mobile breakpoints:
   two columns on tablet, single column on mobile. */
@media (max-width: 1024px) {
    div.gb-looper-2f585fac,
    div.gb-looper-485f3c66 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    div.gb-looper-2f585fac,
    div.gb-looper-485f3c66 {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Homepage hero: dark gradient at the top so the transparent navigation
   stays legible over the light areas of the image. */
.home .gb-element-ecfeca78 {
    position: relative;
}

.home .gb-element-ecfeca78::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .home .gb-element-ecfeca78::before {
        height: 180px;
    }
}
