/* CSS for Agenda Section */

.agenda .hero-slide-thumb img { aspect-ratio: unset; }
.agenda .hero-slide-thumb {  background: rgba(0, 0, 0, 0.2); }
.agenda .hero-slide-content { background: rgba(0, 0, 0, 0.2); }

.agenda .swiper-slide:hover .hero-slide-thumb {  background: rgba(0, 0, 0, 0.3); }
.agenda .swiper-slide:hover .hero-slide-content { background: rgba(0, 0, 0, 0.3); }

.agenda .card-slider .swiper-slide { min-width: 390px; }



@media (max-width: 768px) {
	.agenda .card-slider .swiper-slide { width:85%; min-width: unset; }
}


/* ==========================================================================
   Modal de Notícias
   ========================================================================== */

.agenda-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4%;
    z-index: 20;
    opacity: 0;
    will-change: opacity, visibility;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.agenda-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.agenda-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    transform: translateY(40px);
    will-change: transform;
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.agenda-modal-overlay.is-open .agenda-modal {
    transform: translateY(0);
}

.agenda-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.15s ease-out;
    z-index: 10;
}

.agenda-modal-close svg {
    width: 14px;
    height: auto;
}

.agenda-modal-close:hover {
    background-color: var(--color-accent-primary);
}

.agenda-modal-thumb {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

.agenda-modal-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-medium);
}

.agenda-modal-thumb:empty,
.agenda-modal-thumb img[src=""] {
    display: none;
}

.agenda-modal-content {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agenda-modal-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.agenda-modal-dates {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.agenda-modal-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: var(--border-radius-small);
    min-width: 60px;
}

.agenda-modal-date .day {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.agenda-modal-date .month {
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

.agenda-modal-title {
    font-weight: 700;
    text-wrap: balance;
}

.agenda-modal-description {
    color: var(--color-text-secondary);
}

.agenda-modal-description p { margin: 0 0 10px 0; }
.agenda-modal-description p:last-child { margin-bottom: 0; }
.agenda-modal-description strong,
.agenda-modal-description b { font-weight: 700; color: var(--color-text-primary); }
.agenda-modal-description em,
.agenda-modal-description i { font-style: italic; }
.agenda-modal-description ul,
.agenda-modal-description ol { margin: 10px 0; padding-left: 20px; }
.agenda-modal-description li { margin-bottom: 5px; }

.agenda-modal-footer {
    padding: 20px 25px;
    background-color: #EFECE5;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.agenda-modal-footer .button-holder { margin-top: 0; }

@media (max-width: 768px) {
    .agenda-modal-overlay { padding: 0; }
    .agenda-modal { max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
    .agenda-modal-close { width: 40px; height: 40px; }
    .agenda-modal-content { padding: 20px; }
    .agenda-modal-footer { padding: 15px 20px; }
}
