/* Seções Álbuns de Fotos e Eventos */

.cchla-home-albums,
.cchla-home-events {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.cchla-home-albums {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #eff2fb 0%, #dce8f7 50%, #c5daf0 100%);
}

.cchla-home-events {
    background: #fff;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .cchla-home-albums,
    .cchla-home-events {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .cchla-home-albums,
    .cchla-home-events {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.cchla-home-albums__inner,
.cchla-home-events__inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.cchla-home-albums__title,
.cchla-home-events__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
    color: #002047;
    line-height: 1.2;
}

.cchla-home-cards__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .cchla-home-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cchla-home-cards__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cchla-home-cards__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cchla-home-cards__card:hover,
.cchla-home-cards__card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 32, 71, 0.15);
    outline: none;
}

.cchla-home-cards__card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #eff2fb 0%, #dbeafe 100%);
    overflow: hidden;
}

.cchla-home-cards__card-image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    background: #eff2fb;
}

.cchla-home-cards__card-date {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a5fa8 !important;
    text-align: center;
    line-height: 1.3;
    background: #fff;
}

.cchla-home-cards__card-caption {
    margin: 0;
    padding: 0.75rem 1rem;
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    background: #1a5fa8;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.cchla-home-section__more {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.cchla-home-section__more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a.cchla-home-section__more-link:hover,
a.cchla-home-section__more-link:focus-visible {
    color: #1e40af;
    text-decoration: underline;
    outline: none;
    box-shadow: 0 0 0 2px #93c5fd;
}

.cchla-home-section__more-link svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.cchla-home-events__empty-card {
    grid-column: 1 / -1;
    margin: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.9375rem;
    color: #6b7280 !important;
    line-height: 1.5;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 0.375rem;
}

#section-especial {
    position: relative;
    z-index: 2;
    clear: both;
}
