.responsive-div img {
    width: 100%;
}

.authoritiesContainer {
    padding: 0px min(6vw, 72px);
    margin: 0px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 4vh;
    margin-bottom: 4vh;
    font-family: "Montserrat";
}

.authoritiesRow {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    flex-grow: 1;
    margin-left: auto;
    margin-right: auto;
}

.authoritiesCol {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.authoritiesCard {
    position: relative; /* Necesario para que el banner se posicione dentro del contenedor */
    max-width: 300px;
    padding: 0;
    border-radius: 30px;
    box-shadow: 0px 12px 34px rgb(32 52 89 / 25%);
    overflow: hidden;
    margin: 15px 5vw;
}

.banner {
    position: absolute; /* Para posicionarlo en una esquina */
    top: 10px; /* Ajusta la distancia desde la parte superior */
    left: 10px; /* Ajusta la distancia desde el lado izquierdo */
    background-color: red; /* Color de fondo */
    color: white; /* Color del texto */
    font-size: 14px; /* Tamaño de fuente */
    font-weight: bold; /* Negrita */
    padding: 5px 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    text-transform: uppercase; /* Texto en mayúsculas */
    z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.authoritiesCardImageWrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.authoritiesCardImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.authoritiesCardText {
    color: rgb(21, 16, 88);
    font-size: 18px;
    font-weight: 600;
    padding: 17px;
}

.authoritiesCardName {
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 21px;
    padding: 14px;
    background: rgb(21, 16, 88);
    color: #fff;
    text-align: center;
}

a.authoritiesCardLink {
    color: rgb(21, 16, 88);
    text-decoration: none;
}

a.authoritiesCardLink:hover {
    color: rgb(21, 16, 88);
    text-decoration: underline;
}

@media (min-width: 1024px) and (max-width: calc(1439px)) {
    .authoritiesContainer {
        padding: 0px min(6vw, 72px);
    }
}

@media (max-width: 600px) {
    .responsive-div {
        width: 100%;
        padding-top: 5%;
    }
}
