/* Estilos específicos para Toponimia */
.nav-dark { background: var(--primary) !important; position: relative !important; }

.topo-header {
    background: #e9e5de;
    padding: 30px 5%;
    text-align: center;
    border-bottom: 1px solid #dcd9d4;
}

.topo-header h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--primary); }

.filter-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    margin-top: -25px; /* Sube un poco para solapar */
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
	text-decoration: none;    /* Quita el subrayado */
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.topo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.topo-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.topo-card:hover { transform: translateY(-5px); }

.topo-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f5f0;
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.topo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.topo-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .topo-header h1 { font-size: 2rem; }
}