section.revistas {
    padding: 120px 0;
}

section.revistas .openModalRevista {
    display: block;
    padding: 5px;
}

section.revistas .openModalRevista i {
    font-size: 18px;
    display: block;
}


.modalRevista {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #00000065;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.closeModalRevista {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    z-index: 999;
}

.modalRevista .content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1140px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 950px;
    overflow: auto;
}

.modalRevista .content .row {
    align-items: center;
}

.modalRevista .revistaContainer {
    display: block;
    position: relative;
    border: 2px var(--azul) solid;
    border-radius: 4px;
} 

.modalRevista .revistaContainer a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.modalRevista .revistaContainer img {
    display: block;
    width: 100%;
    aspect-ratio: 12/16;
    object-fit: cover;
}

.modalRevista .revistaContainer h1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000aa;
    color: #fff;
    padding: 30px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.modalRevista .formulario {
    margin: 40px 0;
    padding: 20px;
}

.modalRevista .formulario h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--azul);
    margin-bottom: 10px;
}

.modalRevista .formulario p.subtitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.modalRevista .formulario br {
    display: none;
}

.modalRevista .wpcf7-form-control-wrap {
    margin-bottom: 10px;
    display: block;
}

.modalRevista input[type="text"],
.modalRevista textarea {
    width: 100%;
    height: 40px;
    padding: 10px;
    border: 1px #dedede solid;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-family: var(--font);
}

.modalRevista textarea {
    height: 120px;
}

.modalRevista input[type="submit"] {
    float: right;
}