@media only screen and (min-width: 320px) {
    .gb-query-loop-item {
        padding-bottom: 40px;
        cursor: pointer;
    }

    .gb-query-loop-item figure img {
        padding-bottom: 10px;
    }

    .gb-query-loop-item h3 {
        margin: 10px 0;
        transition: color 0.3s ease;
    }

    .gb-query-loop-item:hover h3,
    .gb-query-loop-item:hover h3 a {
        color: var(--link-hover-clr);
    }

    .gb-query-loop-item p {
        margin-bottom: 5px;
    }

    /* Clip image overflow so the hover zoom and corner arrow stay inside */
    .gb-query-loop-item .gb-block-image {
        overflow: hidden;
        position: relative;
    }

    .gb-query-loop-item .gb-block-image img {
        object-fit: cover;
        height: 300px;
        width: 100%;
        transition: transform 0.4s ease;
    }

    .gb-query-loop-item:hover .gb-block-image img {
        transform: scale(1.04);
    }

    /* Diagonal-arrow affordance: a round badge slides into the image
       corner on hover to signal "click to navigate" */
    .gb-query-loop-item .gb-block-image::after {
        content: '\2197'; /* ↗ NORTH EAST ARROW */
        position: absolute;
        top: 12px;
        right: 12px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: var(--bg-clr);
        color: var(--link-clr);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
        opacity: 0;
        transform: translate(8px, -8px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    .gb-query-loop-item:hover .gb-block-image::after {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gb-query-loop-item h3,
    .gb-query-loop-item .gb-block-image img,
    .gb-query-loop-item .gb-block-image::after {
        transition: none;
    }

    .gb-query-loop-item:hover .gb-block-image img,
    .gb-query-loop-item:hover .gb-block-image::after {
        transform: none;
    }
}
@media only screen and (min-width: 540px) {
}


@media only screen and (min-width: 768px) {
    
}


@media only screen and (min-width: 990px) {
    
}


@media only screen and (min-width: 1280px) {
    
}
