
.header-cpt {
    background: url("/wp-content/plugins/andersen-elementor/img/bg-servicios-ok.webp");
    background-size: cover;
}

.servicio-content {
    display: flex;
    background: linear-gradient(to bottom, #CFD8DE, #717C89);
    position: relative;
    padding: 2rem 56px 2rem 56px;
}
.servicio-content:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    width: 65.5%;
    bottom: 0;
    background-color: #F7F7F7;
}

.servicio-content h2,
.site-main h2 {
    font-weight: 500;
    font-size: 21px;
    color: #B2061C;
}
.servicio-content .left-box {
    margin-right:2rem;
}
.servicio-content .right-box {
    margin-left:2rem;
}
.servicio-content .info-box {
    padding: 32px;
    background-color: white;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 400;
}
.servicio-content .info-box ul li::marker {
    color: #B2061C;
}

.servicio-content .info-box .info-box-title {
    font-weight: 300;
    font-size: 30px;
    margin-bottom: 2rem;
}

.servicio-content .info-box .info-box-small-title {
    display: flex;
    justify-content: space-between;
    color: #BF1429;
    font-weight: 500;
    font-size: 22px;
    cursor:pointer;
}
.servicio-content .info-box .info-box-content {
    margin-top: 2rem;
    display:none;
}

.servicio-content .info-box ul {
    padding-left: 30px;
}

.servicio-content .info-box ul li {
    padding-bottom: 10px;
}

.servicio-content .servicio-thumbnail img {
    width: 100%;
}
.personas-content {
    padding: 2rem 56px 2rem 56px;
}
.personas-content h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    color: #162D43;
}
.personas-content .heads-container {
    display:flex;
    flex-direction: row;
    gap:40px;
}
.personas-content .meet-team {
    flex: 0 0 300px;
    background: #F7F7F7;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}
.personas-content .meet-team .form-group{
    position:relative;
    width: 64%;
}
.personas-content .meet-team a{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #F40826;
    height: 51.6px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 700;
}
.personas-content .meet-team a:hover {
    color: #fff;
    background-color: #b13025;
    border-color: #a72e23;
}
.personas-content .meet-team a:after {
    content: "";
    width: clamp(18px, 1.5625vw, 30px);
    height: 100%;
    background: #000;
    opacity: 0.27;
    position: absolute;
    right: 0;
    top: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.personas-content .heads-container {
    max-height:340px;
}
.personas-content .heads-container .head-info {
    flex: 1 1 0;
    background: #F7F7F7;
    line-height:20px;
    text-decoration:none;
    border: 2px solid transparent;
}
.heads-container > .head-info:first-of-type:last-of-type {
    flex: 0 0 calc(50% - 160px);
}
.personas-content .heads-container .head-info:hover {
    transition: border-color 1s ease;
    border: 2px solid black;
}
.personas-content .heads-container .head-info .head-img {
    height:192px;
    background: #E3E3E3;
    text-align:center;
}
.personas-content .heads-container .head-info .head-img img {
    height:100%;
}
.personas-content .heads-container .head-info .head-bottom {
    display:flex;
    padding:20px;
    gap:20px;
    flex-direction:column;
}
.personas-content .heads-container .head-info .head-bottom .head-bottom-title {
    font-family:"Work Sans";
    font-weight:400;
    font-size:22px;
    color:black;
}
.personas-content .heads-container .head-info .head-bottom  i {
    width: 10px;
    left: 0;
    transform: rotate(-45deg);
    color: #F40826;
}

/* Columna derecha */
.servicio-content > .col-lg-8 {
    flex: 2;
    background-color: #F7F7F7;
    padding: 64px 120px 120px 56px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.noticias-relacionadas-content {
    padding: 32px 56px 80px 56px;
}
.noticias-relacionadas-content h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    color:#162D43;
}
.noticias-relacionadas-content .btn-options {
    display:flex;
    margin-bottom:1rem;
}
.noticias-relacionadas-content .btn-options .button {
    width:50%;
    padding: 20px;
    border: 1px solid #226995;
    color:black;
    cursor: pointer;
    text-align:center
}
.noticias-relacionadas-content .btn-options .button.active {
    color:white;
    background:#226995;
}

@media (min-width: 767px) and (max-width: 1023px) {
    .personas-content {
        padding: 2rem 0 2rem 0;
    }
    .servicio-content {
        background:#F7F7F7;
        padding: 2rem 0 2rem 0;
    }
    .noticias-relacionadas-content {
        padding: 2rem 0 2rem 0;
    }
    .servicio-content .left-box {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .main-full {
        padding-inline-end: 0 !important;
        padding-inline-start: 0 !important;
    }
    .header-cpt .header-top {
        flex-direction: column;
        gap: 2rem;
        padding: 28px 0;
    }
    .header-cpt .header-bottom {
        max-width: 100%;
        padding: 0;
    }
    .servicio-content {
        background:#F7F7F7;
        padding: 2rem 0 2rem 0;
    }
    .servicio-content .left-box {
        margin: 0;
    }
    .servicio-content .right-box {
        padding-top:2rem;
        margin: 0;
    }
    .personas-content {
        padding: 2rem 0 2rem 0;
    }
    .personas-content .heads-container {
        max-height:unset;
    }
    .heads-container > .head-info:first-of-type:last-of-type {
        flex: 1 1 0;
    }
    .personas-content .heads-container {
        flex-direction:column;
    }
    .noticias-relacionadas-content {
        padding: 2rem 0 2rem 0;
    }
}

@media (min-width: 992px) {
    .servicio-content:before {
        left: 34.5%;
    }
}

@media (min-width: 1900px) {
    .servicio-content:before {
        left: 34.5%;
    }
}
