.tc-gallery-showcase-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Main Row Layout */
.tc-gallery-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Navigation Buttons
   Now rendered as real <button type="button"> elements (accessibility fix
   alongside the sizing work) — reset the native button chrome so they still
   look like the plain circular icon buttons they did as <div>s. */
.tc-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #4a6758;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    color: #4a6758;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tc-nav-btn:hover {
    background: #4a6758;
    color: #ffffff;
}

.tc-nav-btn:focus-visible {
    outline: 2px solid #4a6758;
    outline-offset: 2px;
}

/* Main Slider Adjustments */
.tc-gallery-main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Ensures a consistent large rectangle */
}

.tc-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbs Row Adjustments */
.tc-gallery-thumbs-row {
    padding: 0 65px; /* Offset to align visually with the main image, accounting for the arrows */
}

.tc-gallery-thumbs {
    width: 100%;
    overflow: hidden;
}

.tc-gallery-thumbs .swiper-slide {
    aspect-ratio: 1 / 1; /* Square tiles as seen in mockup */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.tc-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #4a6758; /* Optional active state indicator */
}

.tc-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Editor notice (shown only when no images have been added yet) */
.tc-gshow__notice {
    padding: 12px 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #665000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tc-gallery-thumbs-row {
        padding: 0;
    }
    .tc-nav-btn {
        width: 40px;
        height: 40px;
    }
}
