/* Importar fontes profissionais do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Poppins:wght@400;500;600;700&display=swap');

/* Reset de margens e box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
}

/* Títulos principais */
.section-title h2,
.widget_title,
h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-title h2 {
    font-size: 1.8rem;
    color: #0f172a;
    border-left: 4px solid #1a2b4c;
    padding-left: 15px;
    margin-bottom: 1rem;
}

/* Cards de notícias */
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.event-text {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1rem;
    flex: 1;
}

.event-location,
.event-time {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.event-location i,
.event-time i {
    width: 16px;
    color: #1a2b4c;
}

/* Sidebar */
.blog_right_sidebar .widget_title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.blog_right_sidebar .widget_title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
   
}
/* Garantir espaçamento adequado entre os cards de notícias */
.row {
    --bs-gutter-y: 1.5rem;  /* espaçamento vertical entre linhas */
}

.col-md-6 {
    margin-bottom: 1.5rem;   /* espaçamento inferior para cada card (especialmente em mobile) */
}

/* Em desktop, o Bootstrap já trata o espaçamento horizontal com gutter */
@media (min-width: 768px) {
    .row {
        margin-right: -0.75rem;
        margin-left: -0.75rem;
    }
    .col-md-6 {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        margin-bottom: 1.5rem; /* mantém espaçamento vertical consistente */
    }
}
.search_widget .input-group {
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.search_widget .form-control {
    border: none;
    font-family: 'Inter', sans-serif;
    padding: 10px 15px;
}

.search_widget .btns {
    background-color: #1a2b4c;
    border: none;
    color: white;
    padding: 0 20px;
}

.cat-list li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #334155;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.2s;
}

.cat-list li a:hover {
    color: #1a2b4c;
}

/* Destaques */
.post_item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.post_item img {
    border-radius: 8px;
}

.post_item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.post_item p {
    font-size: 0.75rem;
    color: #64748b;
}

/* Paginação */
.pagination .page-link {
    font-family: 'Inter', sans-serif;
    color: #1a2b4c;
    border-radius: 30px;
    margin: 0 3px;
    border: none;
    background: transparent;
}

.pagination .page-item.active .page-link {
    background-color: #1a2b4c;
    color: white;
    border-radius: 30px;
}

.pagination .page-link:hover {
    background-color: #e2e8f0;
    border-radius: 30px;
}

/* Filtros ativos */
.alert-info {
    background-color: #e6f0fa;
    border-color: #b9d3f0;
    color: #0c4a6e;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
    .event-title {
        font-size: 1.1rem;
    }
}