@charset "UTF-8";

/* =========================================================
   S222 — TRADE MART PRECEDENT IMAGE GRID
   Mirrors the four-column S232 industry-card treatment.
   ========================================================= */

#s222-mart-grid {
    width: 100%;
    margin-top: 2rem;
}

#s222-mart-grid .subgrid-4 {
    align-items: stretch;
}

#s222-mart-grid .mart-card {
    min-width: 0;
    overflow: hidden;
    border: var(--trade-mart-card-border-w, 3px) solid currentColor;
    border-radius: 0;
    background: transparent;
}

#s222-mart-grid .mart-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: var(--trade-mart-card-border-w, 3px) solid currentColor;
    background: #fff;
}

#s222-mart-grid .mart-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#s222-mart-grid .mart-card-body {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0.5rem;
    text-align: center;
}

#s222-mart-grid .mart-card-title {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--h5-color, orange);
    text-align: center;
}

#s222-mart-grid .mart-card-location {
    display: block;
    width: 100%;
    margin: 0.15rem 0 0;
    padding: 0;
    font-family: var(--h5-font, var(--font-base));
    font-size: calc(var(--h5-fs, 0.8rem) * 0.8);
    line-height: 1.2;
    font-weight: 400;
    color: var(--h5-color, orange);
    text-align: center;
}

.popup-s222--mart .popup-content,
.popup-s222--mart .popup-content p {
    margin-top: 0;
}

@media (max-width: 767px) {
    #s222-mart-grid {
        margin-top: 1.5rem;
    }
}
