.rooster-image-accordion-wrapper {
    width: 100%;
}

.rooster-image-accordion {
    display: flex;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.rooster-image-accordion-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: flex-grow 0.5s ease;
    cursor: pointer;
}

.rooster-image-accordion-item:hover {
    flex-grow: 2;
}

.rooster-image-accordion-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.rooster-image-accordion-item:hover .rooster-image-accordion-bg {
    transform: scale(1.05);
}

.rooster-image-accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.rooster-image-accordion-title {
    margin: 0 0 0.5em 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.rooster-image-accordion-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.rooster-image-accordion-item:hover .rooster-image-accordion-description {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 0.75em;
}

.rooster-image-accordion-btn {
    display: inline-block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0.5em 1em;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    text-decoration: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.rooster-image-accordion-item:hover .rooster-image-accordion-btn {
    max-height: 3em;
    opacity: 1;
}

.rooster-image-accordion-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rooster-image-accordion {
        flex-direction: column;
        height: auto;
    }
    
    .rooster-image-accordion-item {
        height: 200px;
        flex: none;
    }
    
    .rooster-image-accordion-item:hover {
        flex-grow: 1;
        height: 250px;
    }
}