/* ==========================================================================
   Gear Media Block - Hero + Thumbnails
   ========================================================================== */

.gear-media {
    max-width: 650px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
}

/* Hero container - fixed 4:3 aspect ratio */
.gear-media__hero {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear-media__hero-img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Thumbnail strip - 4 per row */
.gear-media__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gear-media__thumb {
    aspect-ratio: 1 / 1;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gear-media__thumb:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

.gear-media__thumb.is-active {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.gear-media__thumb img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}