.eg-8f08b512-gallery {
    width: 100%;
    font-family: inherit;
}

.eg-8f08b512-main-container {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    background-color: #264626; /* placeholder fallback match from the image */
    overflow: hidden;
}

.eg-8f08b512-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.eg-8f08b512-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.eg-8f08b512-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.eg-8f08b512-thumb {
    cursor: pointer;
    text-align: center;
}

.eg-8f08b512-thumb-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #264626; /* matching green base */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 3px solid transparent;
}

.eg-8f08b512-thumb.active .eg-8f08b512-thumb-image-wrapper {
    border-color: #FFC107;
}

.eg-8f08b512-thumb:hover .eg-8f08b512-thumb-image-wrapper {
    transform: translateY(-2px);
}

.eg-8f08b512-thumb-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eg-8f08b512-thumb-title {
    font-size: 14px;
    line-height: 1.4;
    color: #4A4A4A;
    margin-top: 8px;
}
