#ive-read-this-container {
    margin:     1em 0 1em;
    background: #eee;
    border:     1px solid #ccc;
    padding:    0.25em;
}


.gap-buy-now-button {
    background-color: #808080;
    text-align: left;
    padding: 5px !important;
}

.gap-buy-now-button:hover {
    background-color: #303030;  
}

.gap-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

/*
 * Individual product card
 */
.gap-products .gap-product {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    margin: 0;
    padding: 15px;

    border: 1px solid #8a8a8a;
    background: #fff;
}

.gap-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

/*
 * Image area
 *
 * A fixed aspect ratio makes all three image areas the same height.
 */
.gap-products .gap-image-div {
    width: 100%;
}

.gap-products .gap-images {
    display: block;
    width: 100%;
}

.gap-products .gap-image img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: 100%;

    object-fit: contain;
}

/*
 * Product title and button area
 */
.gap-products .gap-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

    padding-top: 18px;
}

.gap-products .gap-product-title {
    margin: 0 0 30px;
    padding: 0;

    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.gap-products .gap-product-title a {
    text-decoration: none;
}

.gap-products .gap-product-button {
    width: 100%;
}

/*
 * Push the button to the bottom of the card.
 *
 * The theme's existing Fusion button classes still control its appearance.
 */


.gap-products .gap-product-content > .fusion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;

    width: auto;
    height: auto !important;
    min-height: 0 !important;

    margin-top: auto;
    padding: 10px 14px !important;
    line-height: 1 !important;
}

/*
 * Two products per row
 */
@media screen and (max-width: 1200px) {
    .gap-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*
 * One product per row
 */
@media screen and (max-width: 710px) {
    .gap-products {
        grid-template-columns: minmax(0, 1fr);
    }
}

