/*!
 * Politicando Times - Abas de Regiões
 * Baixada Santista, Vale SP, Vale PR - CORRIGIDO
 */

.news-tabs-regioes {
    width: 100%;
    margin: 40px 0;
    padding: 0 20px;
}

.tabs-regioes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 5px;
    justify-content: center;
    overflow-x: auto;
}

.tab-link-regiao {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    padding: 5px 0;
    cursor: pointer;
    transition: color 0.3s;
    white-space: nowrap;
    border: none;
    background: none;
}

.tab-link-regiao.active {
    font-weight: bold;
    text-decoration: underline;
}

.tab-link-regiao:hover {
    color: #555;
}

.tab-content-regiao {
    display: none;
    padding: 10px 0;
    animation: fadeIn 0.3s ease;
}

.tab-content-regiao.active {
    display: block;
}

/* ESTILOS PARA O CONTEÚDO DE OPINIÕES (mantido do seu PHP) */
.opinioes-regiao-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.opiniao-regiao-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

.opiniao-regiao-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.opiniao-regiao-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.opiniao-colunista {
    font-weight: bold;
    font-size: 14px;
    color: #0b5394;
    margin: 0;
    line-height: 1.2;
}

.opiniao-regiao-titulo {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
    color: #111;
    margin: 0;
}

.opiniao-regiao-titulo a {
    color: inherit;
    text-decoration: none;
}

.opiniao-regiao-titulo a:hover {
    color: #0b5394;
}

.opiniao-regiao-data {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.opiniao-regiao-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e3e3e3;
    overflow: hidden;
    flex-shrink: 0;
}

.opiniao-regiao-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsivo */
@media (max-width: 768px) {
    .news-tabs-regioes {
        padding: 0 15px;
        margin: 30px 0;
    }
    
    .tabs-regioes {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .tab-link-regiao {
        width: 100%;
        max-width: 280px;
        text-align: center;
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #e3e3e3;
    }
    
    .tab-link-regiao.active {
        border-bottom: 2px solid #000;
    }
    
    .opiniao-regiao-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .opiniao-regiao-foto {
        align-self: center;
    }
    
    .opiniao-regiao-content {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .news-tabs-regioes {
        padding: 0 10px;
    }
    
    .tab-link-regiao {
        font-size: 15px;
    }
    
    .opiniao-regiao-item {
        padding: 12px;
    }
    
    .opiniao-regiao-titulo {
        font-size: 15px;
    }
}