/* ===== Estilos de la sección de concejales ===== */
.concejales {
    margin: 50px auto;
    width: 80%;
}

.concejales h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.concejal-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 5px 5px 15px #babecc;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative; /* necesario para dropdown */
}

.concejal-card:hover {
    transform: translateY(-5px);
}

.concejal-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-right: 2px solid #ddd;
}

.concejal-info {
    padding: 20px;
    flex: 1;
    text-align: left;
}

.concejal-info h3 {
    font-size: 20px;
    color: #00324a;
    margin-bottom: 10px;
}

.concejal-info p {
    font-size: 16px;
    color: #555;
}

/* Dropdown dentro de cada tarjeta */
.concejal-card {
    position: relative; /* Importante para posicionar dropdown */
}

.avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 160px; /* a la derecha de la imagen */
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown .user-info {
    padding: 10px;
}

.dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}


.boletin-container {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 30px 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}



.boletin-info {
    font-size: 14px;
    color: #555;
}

section {
    margin-bottom: 25px;
}

section h2 {
    font-size: 20px;
    color: #1a5276;
    border-bottom: 2px solid #1a5276;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

section p {
    line-height: 1.6;
    margin: 8px 0;
}

.firmas p {
    margin-top: 20px;
    font-weight: bold;
}
/* Estilos modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.close {
    color: #333;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}
