.acc-tabs-widget-01904785 {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.acc-tabs-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.acc-tabs-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.acc-tabs-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.acc-tabs-card-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    font-weight: bold;
    font-size: 1.1rem;
}

/* CONTENT CONTAINER & ANIMATIONS */
.acc-tabs-content-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.acc-tabs-content-container.active {
    display: block;
    opacity: 1;
}

.acc-tabs-content-inner {
    padding: 15px 0;
}

/* SECONDARY ROW (GRID LAYOUT) */
.acc-tabs-secondary {
    display: grid;
    width: 100%;
    box-sizing: border-box;
}

/* RESPONSIVE LAYOUT RULES */
@media (min-width: 768px) {
    /* Desktop / Tablet defaults are set via Elementor selector options injected dynamically */
}

@media (max-width: 767px) {
    .acc-tabs-secondary {
        grid-template-columns: 1fr !important; /* Forces mobile layout to single column */
    }
}
