.ia-d3afa851-wrapper {
    width: 100%;
}

.ia-d3afa851-images-row {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.ia-d3afa851-panel {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    display: flex;
}

.ia-d3afa851-panel.ia-d3afa851-active {
    flex: 4;
}

.ia-d3afa851-panel.ia-d3afa851-panel-selected {
    outline: 3px solid currentColor;
    outline-offset: -3px;
}

.ia-d3afa851-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background 0.4s ease;
}

.ia-d3afa851-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: 20px 25px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s;
}

.ia-d3afa851-panel.ia-d3afa851-active .ia-d3afa851-content {
    opacity: 1;
    transform: translateY(0);
}

.ia-d3afa851-title {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.ia-d3afa851-desc {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Expandable Panel */
.ia-d3afa851-expand-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    background-color: #ffffff;
    color: #333333;
}

.ia-d3afa851-expand-panel.ia-d3afa851-expand-open {
    max-height: 2000px;
    overflow: visible;
}

.ia-d3afa851-expand-inner {
    padding: 25px 30px;
}

.ia-d3afa851-expand-inner h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.ia-d3afa851-expand-inner p {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.ia-d3afa851-expand-inner p:last-child {
    margin-bottom: 0;
}

.ia-d3afa851-expand-content {
    display: none;
}

.ia-d3afa851-expand-content.ia-d3afa851-content-visible {
    display: block;
}

.ia-d3afa851-template-notice {
    color: #888;
    font-size: 13px;
    text-align: center;
    padding: 15px 0;
}

/* Responsive */
@media (max-width: 767px) {
    .ia-d3afa851-images-row {
        flex-direction: column;
        height: auto;
    }

    .ia-d3afa851-panel {
        min-height: 120px;
        flex: none;
    }

    .ia-d3afa851-panel.ia-d3afa851-active {
        min-height: 280px;
        flex: none;
    }

    .ia-d3afa851-content {
        opacity: 1;
        transform: translateY(0);
    }

    .ia-d3afa851-expand-panel.ia-d3afa851-expand-open {
        max-height: 3000px;
    }
}
