﻿/* Community Banner / Slideshow */
.community-banner {
    position: relative;
    height: 16rem; /* h-64 */
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden;
    margin-bottom: 2rem; /* mb-8 */
}

.community-banner-image-wrapper {
    position: absolute;
    inset: 0;
}

.community-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out; /* transition-opacity duration-1000 */
}

.community-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 45, 114, 0.7); /* bg-daikin-dark-navy/70 */
}

.community-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 1rem; /* px-4 */
    flex-direction: column;
}

.community-banner-title {
    font-size: 1.5rem; /* text-2xl */
    margin-bottom: 0.5rem; /* mb-2 */
    font-weight: 500;
}

.community-banner-subtitle {
    font-size: 1.125rem; /* text-lg */
    font-weight: 400;
}

.slideshow-indicators {
    position: absolute;
    bottom: 1rem; /* bottom-4 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem; /* space-x-2 */
}

.slideshow-indicators div {
    width: 0.5rem; /* w-2 */
    height: 0.5rem; /* h-2 */
    border-radius: 9999px; /* rounded-full */
    background-color: rgba(255, 255, 255, 0.5); /* bg-white/50 */
    transition: all 0.3s; /* transition-all duration-300 */
}

.slideshow-indicators div.active {
    background-color: var(--white);
}

[data-carousal-src].hidden {
    display: none;
}