/* ============================================
   BLOCO DE NOTÍCIAS - CSS NOVO E LIMPO
   ============================================ */

/* Reset específico para o bloco */
.news-block-container * {
    box-sizing: border-box;
}

.news-block-container {
    width: 100%;
    margin: 20px 0;
    padding: 0 15px;
    font-family: 'Inter', Arial, sans-serif;
}

/* Estilos para página de teste */
.test-page-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Inter', Arial, sans-serif;
}

.test-page-title {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 768px) {
    .test-page-wrapper {
        padding: 16px;
        margin: 20px auto;
    }

    .test-page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}



/* ============================================
   CARROSSEL DE NOTÍCIAS EM DESTAQUE
   ============================================ */
.news-featured-carousel {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.news-featured-carousel:active {
    cursor: grabbing;
}

.news-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.news-carousel-badge {
    display: none;
    /* Oculto por padrão (desktop) */
}

/* Badge visível apenas no mobile */
@media (max-width: 1023px) {
    .news-carousel-badge {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 6px;
        padding: 6px 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 45px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .news-badge-day {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        line-height: 1;
        margin-bottom: 2px;
    }

    .news-badge-month {
        font-size: 9px;
        font-weight: 600;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1;
        opacity: 0.9;
    }
}

.news-carousel-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.news-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%,
            /* 60% transparente */
            rgba(0, 0, 0, 0.7) 60%,
            /* JÃ¡ escurece bastante em 10% */
            rgba(0, 0, 0, 0.85) 85%,
            /* Muito escuro */
            rgba(0, 0, 0, 0.98) 100%
            /* Quase preto total */
        );
    padding: 16px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .news-carousel-overlay {
        padding: 24px 28px;
    }
}

.news-carousel-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 0px 0px;
    line-height: 1.25;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    top: 22px;
}

@media (min-width: 768px) {
    .news-carousel-title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .news-carousel-title {
        font-size: 24px;
    }
}

.news-carousel-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    line-height: 1.4;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 10;
}

.news-featured-carousel:hover .news-carousel-nav {
    opacity: 1;
}

.news-carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.news-carousel-nav.prev {
    left: 15px;
}

.news-carousel-nav.next {
    right: 15px;
}

.news-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.news-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.news-carousel-dot.active {
    background: #fff;
    width: 32px;
    border-radius: 4px;
}

/* ============================================
   LISTA DE ÚLTIMAS NOTÍCIAS
   ============================================ */
.news-latest-list {
    background: #fff;
    border-radius: 8px;
    padding: 18px 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.news-latest-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
}

.news-latest-title h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    display: inline;
}

.news-latest-title i {
    color: #0066cc;
    font-size: 18px;
}

.news-latest-more {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.news-latest-more:hover {
    color: #0066cc;
}

.news-latest-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.news-latest-item {
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-decoration: none;
    display: block;
}

.news-latest-item:first-child {
    padding-top: 10px;
}

.news-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 10px;
}

.news-latest-item:hover {
    background: #f8f8f8;
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.news-latest-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 3px 0;
    padding: 0;
    line-height: 1.35;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-latest-item:hover .news-latest-item-title {
    color: #0066cc;
}

.news-latest-item-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Scrollbar personalizada */
.news-latest-items::-webkit-scrollbar {
    width: 6px;
}

.news-latest-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news-latest-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.news-latest-items::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ============================================
   VERSÃO MOBILE
   ============================================ */
.news-block-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-mobile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    padding: 0;
}

.news-mobile-title h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    display: inline;
}

.news-mobile-title i {
    color: #0066cc;
    font-size: 18px;
}

.news-featured-carousel-mobile {
    height: 250px;
}

/* Descrição oculta no mobile */
@media (max-width: 1023px) {
    .news-carousel-description-mobile {
        display: none;
    }
}

@media (min-width: 1024px) {
    .news-carousel-description-mobile {
        display: block;
    }
}

.news-mobile-more {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #737373;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
}

.news-mobile-more:hover {
    color: #0066cc;
}

/* Versão Desktop - ocultar mobile */
@media (min-width: 1024px) {
    .news-block-mobile {
        display: none;
    }

    .news-block-wrapper {
        display: grid;
    }
}

/* Versão Mobile - ocultar desktop */
@media (max-width: 1023px) {
    .news-block-wrapper {
        display: none;
    }

    .news-block-mobile {
        display: flex;
    }
}

/* ============================================
   RESPONSIVE - AJUSTES ADICIONAIS
   ============================================ */
@media (max-width: 992px) {
    .news-featured-carousel-mobile {
        height: 250px;
    }

    .news-carousel-title {
        font-size: 18px;
    }

    .news-carousel-overlay {
        padding: 16px;
    }

    .news-carousel-dots {
        bottom: 8px;
    }
}

@media (max-width: 768px) {
    .news-block-container {
        padding: 0 12px;
    }

    .news-featured-carousel-mobile {
        height: 220px;
    }

    .news-carousel-title {
        font-size: 16px;
    }

    .news-carousel-overlay {
        padding: 12px;
    }

    .news-mobile-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .news-block-container {
        padding: 0 10px;
    }

    .news-featured-carousel-mobile {
        height: 200px;
    }

    .news-carousel-title {
        font-size: 15px;
    }

    .news-carousel-overlay {
        padding: 10px;
    }

    .news-mobile-title {
        font-size: 16px;
    }
}

/* ============================================
   BLOCO NOTÍCIAS + EVENTOS (estilo home-nova-eventos)
   ============================================ */
/* Garantir que o bloco ocupe toda a largura disponível da página */
.news-block-container {
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
    display: block;
}

.news-block-nova .news-block-wrapper {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ---- Desktop: layout vertical (eventos em cima, noticias embaixo) ---- */
.news-events-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .news-events-desktop {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .news-events-mobile {
        display: none !important;
    }
}

.news-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-area-header,
.news-mobile-header,
.events-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.news-area-title,
.news-mobile-title,
.events-mobile-title,
.events-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.news-area-title:hover,
.news-mobile-title:hover,
.events-mobile-title:hover,
.events-sidebar-title:hover {
    color: #0066cc;
}

.news-area-title i,
.news-mobile-title i,
.events-mobile-title i,
.events-sidebar-title i,
.events-mobile-title .icon-lucide,
.events-sidebar-title .icon-lucide,
.events-sidebar-title svg.icon-lucide {
    color: #0066cc !important;
    stroke: #0066cc !important;
}
.icon-lucide {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 6px;
}
.events-agenda-card-calendar .icon-lucide {
    margin-right: 0;
}

.news-area-more,
.news-mobile-more,
.events-mobile-more {
    font-size: 0.75rem;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
}

.news-area-more:hover,
.news-mobile-more:hover,
.events-mobile-more:hover {
    text-decoration: underline;
}

.news-more-plus {
    font-weight: 700;
}

/* Grid de cards de notícias (desktop) */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.news-card-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.news-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card-item:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-size: 0.93rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-item:hover .news-card-title {
    color: #0066cc;
}

.news-card-desc {
    font-size: 0.75rem;
    color: #737373;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-date {
    font-size: 0.75rem;
    color: #737373;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.news-card-date i {
    margin-right: 4px;
}

/* Lista "mais notícias" (desktop) */
.news-more-box {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.news-more-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.news-more-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.news-more-date {
    font-size: 0.75rem;
    color: #737373;
    white-space: nowrap;
}

.news-more-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more-item:hover .news-more-title {
    color: #0066cc;
}

/* ============================================
   EVENTOS - Layout igual ao React (EventsAgenda + MobileEventsScroll)
   ============================================ */

/* ---- Desktop: Sidebar eventos (sem border-radius) ---- */
/*
.events-sidebar,
.events-sidebar *,
.events-sidebar .events-agenda-card,
.events-sidebar .events-agenda-card-img img,
.events-sidebar .events-agenda-card-placeholder,
.events-sidebar .events-agenda-card-badge,
.events-sidebar .events-agenda-card-body,
.events-sidebar .events-sidebar-footer,
.events-sidebar a {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
    */
/* .events-agenda-card-img fora da lista acima para permitir border-radius só no topo */

.events-mobile-wrap,
.events-mobile-wrap * {
    box-shadow: none !important;
}

.events-sidebar {
    width: 240px;
    flex-shrink: 0;
    border-left: 2px solid rgba(0, 102, 204, 0.2);
    padding-left: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.events-sidebar-title {
    margin: 0;
}


/* Card de evento desktop (EventsAgenda) */
.events-agenda-card {
    display: block;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border-radius: 16px 16px 0 0;
}

.events-agenda-card-inner {
    display: block;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 18px;
    border-radius: 16px;
}

.events-agenda-card:hover {
    box-shadow: none;
}

.events-agenda-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    
}

.events-agenda-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-agenda-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 80px;
    background: #e5e5e5;
}

.events-agenda-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 16px;
}

.events-agenda-card-body {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    padding: 2px 0px 4px 0px;
          -webkit-border-radius: 0px 0px 16px 16px !important;
    -moz-border-radius: 0px 0px 16px 16px !important;
    border-radius: 0px 0px 16px 16px !important;
}

.events-agenda-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    padding: 0px 0 0 8px;
    margin: 12px 0 -4px 0px;
}

.events-agenda-card-location {
    font-size: 0.75rem;
    color: #737373;
    margin: -6px 0 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 1rem;
}

.events-agenda-card-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.events-agenda-card-pin {
    color: #0066cc;
    font-size: 0.625rem;
    flex-shrink: 0;
}

.events-agenda-card-date {
    font-size: 0.75rem;
    color: #737373;
    margin: 0px 0 8px 8px;
}

.linha-divisoria {
  border: none; /* Remove aquela borda 3D padrão feia do navegador */
  border-top: 1px solid #e6e6e6; /* Aplica a sua linha cinza fina */
  width: 90%; /* Encolhe a linha (ajuste para 80% ou 90% até ficar com o visual desejado) */
  margin: 0 auto 0; /* Dá o espaçamento em cima/embaixo e o 'auto' centraliza perfeitamente */
}

.events-agenda-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 0px 0 8px 0;
    border-top: none;
    background-color: #fff;
        -webkit-border-radius: 0px 0px 16px 16px !important;
    -moz-border-radius: 0px 0px 16px 16px !important;
    border-radius: 0px 0px 16px 16px !important;
}

.events-agenda-card-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #16a34a;
    text-decoration: none;
    transition: color 0.2s;
}

.events-agenda-card-whatsapp:hover {
    color: #15803d;
}

.events-agenda-card-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.events-agenda-card-whatsapp .events-agenda-card-icon,
.events-agenda-card-whatsapp svg {
    fill: #16a34a;
}

.events-agenda-card-whatsapp:hover .events-agenda-card-icon,
.events-agenda-card-whatsapp:hover svg {
    fill: #15803d;
}

.events-agenda-card-calendar,
.events-agenda-card-share {
    color: #737373;
    font-size: 1rem;
    transition: color 0.2s;
}

.events-agenda-card-calendar:hover,
.events-agenda-card-share:hover {
    color: #0066cc;
}

.events-agenda-card-calendar {
    text-decoration: none;
}

.events-sidebar-footer {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    margin-top: 4px;
}

.events-sidebar-footer:hover {
    text-decoration: underline;
}

/* ---- Mobile: carrossel notícias + scroll eventos ---- */
.news-events-mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 8px;
}

.news-mobile-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.news-mobile-slide {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.5s ease;
}

.news-mobile-slide:not(.active) {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.news-mobile-slide.active {
    position: relative;
    opacity: 1;
}

.news-mobile-slide-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-mobile-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-mobile-slide-body {
    background: #fff;
    padding: 12px;
}

.news-mobile-slide-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-mobile-slide-date {
    font-size: 0.75rem;
    color: #737373;
}

.news-mobile-carousel-prev,
.news-mobile-carousel-next {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.news-mobile-carousel-prev {
    left: 8px;
}

.news-mobile-carousel-next {
    right: 8px;
}

.news-mobile-carousel-prev:hover,
.news-mobile-carousel-next:hover {
    background: #fff;
}

/* ---- Mobile: lista de noticias ---- */
.news-mobile-lista-wrap {
    padding: 0 4px;
    margin-bottom: 16px;
}

/* ---- Mobile: scroll eventos (igual ao React MobileEventsScroll) ---- */
.events-mobile-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.events-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.events-mobile-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 8px 12px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.events-mobile-card {
    flex-shrink: 0;
    width: 160px;
    display: block;
    background: #fff;
    /*border-radius: 12px;*/
    overflow: hidden;
    text-decoration: none;
    color: inherit;

}

.events-mobile-card:hover {
    box-shadow: none;
}

.events-mobile-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.events-mobile-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-mobile-card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #fff;
    color: #1a1a1a;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
}

.events-mobile-card-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.events-mobile-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-mobile-card-location {
    font-size: 10px;
    color: #737373;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 0.875rem;
}

.events-mobile-card-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.events-mobile-card-pin {
    color: #0066cc;
    font-size: 10px;
    flex-shrink: 0;
}

.events-mobile-card-date {
    font-size: 10px;
    color: #737373;
    margin: 2px 0 0;
}

.events-mobile-card-all {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    padding: 16px;
    background: #e0f2fe;
    border: 1px solid rgba(33, 150, 243, 0.4);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2196f3;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.events-mobile-card-all-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.events-mobile-card-all-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.events-mobile-card-all-text {
    text-align: center;
    line-height: 1.3;
}

.events-mobile-card-all:hover {
    background: rgba(33, 150, 243, 0.12);
    border-color: rgba(33, 150, 243, 0.5);
}


.events-sidebar-list {
    margin: 0 0 -12px 0;
}

/* ============================================
   LAYOUT V2: Eventos horizontal + Noticias destaque/lista
   ============================================ */

/* ---- Eventos Strip (horizontal 5 colunas) ---- */
.ev-strip { margin-bottom: 20px; width: 100%; }
.ev-strip-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ev-strip-title { font-size: .95rem; font-weight: 700; color: #333; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.ev-strip-title:hover { color: #1a73e8; }
.ev-strip-title svg { width: 18px; height: 18px; color: #0066cc; }
.ev-strip-more { font-size: .8rem; color: #1a73e8; text-decoration: none; font-weight: 600; }
.ev-strip-more:hover { text-decoration: underline; }
.ev-strip-scroll { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 16px !important; }

/* Cards de evento */
.ev-strip-card, .ev-strip-card * { box-sizing: border-box; }
.ev-strip-card { border-radius: 8px; overflow: hidden; border: 1px solid #e8e8e8; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .2s; display: block !important; width: 100% !important; }
.ev-strip-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.ev-strip-card-img { position: relative; aspect-ratio: 16/9; background: #f0f0f0; overflow: hidden; width: 100% !important; }
.ev-strip-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Badge de data (estilo agenda) */
.ev-strip-card-badge { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: #1a1a1a; padding: 4px 10px; border-radius: 8px; text-align: center; min-width: 3rem; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.ev-badge-month { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: #666; line-height: 1; }
.ev-badge-day { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.1; color: #1a1a1a; }
.ev-badge-day.ev-badge-range { font-size: .8rem; font-weight: 700; }

/* Body do card */
.ev-strip-card-body { padding: 7px 9px 8px; display: flex; flex-direction: column; flex: 1; min-height: 120px; }
.ev-strip-card-title { font-size: .92rem; font-weight: 700; color: #333; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.ev-strip-card-meta { font-size: .88rem; color: #888; margin: 0; display: flex; align-items: center; gap: 6px; }
.ev-strip-card-meta + .ev-strip-card-meta { margin-top: 4px; }
.ev-strip-card-meta i { font-size: .62rem; }
.ev-strip-card-pin { color: #0066cc; font-size: 0.925rem; flex-shrink: 0; position: relative; top: 2px; }

/* Actions (icones calendario/compartilhar) */
.ev-strip-card-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 4px; border-top: 1px solid #f0f0f0; }
.ev-strip-card-actions a { color: #666; transition: color .2s; }
.ev-strip-card-actions a:hover { color: #1a73e8; }
.ev-strip-card-actions svg { width: 18px; height: 18px; }

/* ---- Noticias: destaque + lista ---- */
.news-row { display: flex; gap: 20px; align-items: flex-start; width: 100%; }
.news-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px !important;
}
.news-row-title { font-size: .95rem; font-weight: 700; color: #333; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.news-row-title i { color: #0066cc; }
.news-row-title:hover { color: #1a73e8; }
.news-row-more { font-size: .8rem; color: #1a73e8; text-decoration: none; font-weight: 600; margin-left: auto; white-space: nowrap; }
.news-row-more:hover { text-decoration: underline; }

/* Destaque (card principal) */
.news-destaque { flex: 0 0 280px; }
.news-destaque > a { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.news-destaque > a:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.news-destaque > a:hover .news-destaque-title { color: #0066cc; }
.news-destaque-img { aspect-ratio: 4/3; overflow: hidden; }
.news-destaque-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-destaque > a:hover .news-destaque-img img { transform: scale(1.05); }
.news-destaque-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.news-destaque-title { font-size: 0.93rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Lista de noticias */
.news-lista { flex: 1; min-width: 0; }
.news-lista-item { display: flex; align-items: center; padding: 0 0; border-bottom: 1px solid #cecece; text-decoration: none; color: inherit; transition: background .15s; height: 48px; box-sizing: border-box; }
.news-lista-item:first-child { padding-top: 0; }
.news-lista-item:last-child { border-bottom: none; }
.news-lista-item:hover .news-lista-title { color: #1a73e8; }
.news-lista-date { flex: 0 0 auto; font-size: .78rem; color: #888; margin-right: 12px; white-space: nowrap; }
.news-lista-title { font-size: .85rem; font-weight: 600; color: #333; margin: 0; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }