*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}
a {
    text-decoration: none;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    user-select: none;
    -moz-user-select: none;
}

input,
button,
textarea,
select {
    font: inherit;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    /*
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }*/
}

html,
body {
    overflow-x: hidden;
}
img,
svg,
button,
input[type="submit"] {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    src: url("../fonts/montserrat-latin-normal.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 100 900;
    src: url("../fonts/montserrat-latin-italic.woff2") format("woff2");
    font-display: swap;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff;
}
::-webkit-scrollbar-thumb {
    background: #07294e;
    border-radius: 10px;
    transition: all 0.2s linear;
}
::-webkit-scrollbar-thumb:hover {
    background: #0a3a6b;
}

/* FONTS */
body {
    font-size: 14px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    line-height: 1.7em;
    color: var(--text-color);
}
:is(h1, h2, h3, h4, h5, h6) {
    margin-top: 0;
}
p {
    margin-bottom: 1.5em;
}
p:last-of-type {
    margin-bottom: 0;
}

h2 {
    font-size: clamp(1.625rem, 1.1412rem + 1.145vw, 2rem);
    line-height: 1.35em;
}
h3 {
    font-size: clamp(1.1875rem, 1.1589rem + 0.1042vw, 1.25rem);
    line-height: 1.35em;
}

.emphasis {
    font-size: clamp(2.625rem, 1.98rem + 1.5267vw, 3.125rem);
    line-height: 1.3em;
}

:root {
    --content-width: 1400px;
    --gap: 40px;

    /* Colores principales marca CES VALI */
    --primary: #07294e;
    --primary-light: #0a3a6b;
    --primary-dark: #05223d;
    --main-color: #07294e;
    --secondary-color: #07294e;

    /* Colores neutros */
    --white: #ffffff;
    --white-soft: #fefefe;
    --bg-light: #f5f7fa;
    --bg-lighter: #eff3f8;
    --bg-1: #f5f7fa;

    /* Textos */
    --text-color: #909090;
    --text-primary: #07294e;
    --text-secondary: #5d5d5d;
    --text-muted: #909090;
    --link-color: #07294e;

    /* Bordes */
    --border-color: #c8d9e8;
    --border-dark: #909090;

    /* Estados */
    --hover: #0a3a6b;
    --active: #07294e;
    --focus: #0d4470;

    interpolate-size: allow-keywords;
}

/* COLUMNS SYSTEM */
.container {
    width: calc(100dvw - 60px);
    max-width: var(--content-width);
    margin: 0 auto;
}
.section {
    padding-top: clamp(2.5rem, 1.125rem + 5vw, 5rem);
    padding-bottom: clamp(2.5rem, 1.125rem + 5vw, 5rem);
}
.section-title {
    color: var(--secondary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
}
.column {
    display: flex;
    flex-direction: column;
    gap: var(--vgap, 40px);
}
.column.centered {
    align-items: center;
}
[class*="cols-"] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
[class*="cols-"].centered {
    justify-content: center;
}
.cols-2 > * {
    width: calc(100% / 2 - var(--gap) * 1 / 2);
}
.cols-3 > * {
    width: calc(100% / 3 - var(--gap) * 2 / 3);
}
.cols-4 > * {
    width: calc(100% / 4 - var(--gap) * 3 / 4);
}
.cols-5 > * {
    width: calc(100% / 5 - var(--gap) * 4 / 5);
}
.cols-2 > .col-25 {
    width: calc(25% - var(--gap) / 2);
}
.cols-2 > .col-75 {
    width: calc(75% - var(--gap) / 2);
}
.cols-2 > .col-30 {
    width: calc(30% - var(--gap) / 2);
}
.cols-2 > .col-70 {
    width: calc(70% - var(--gap) / 2);
}
.cols-2 > .col-65 {
    width: calc(65% - var(--gap) / 2);
}
.cols-2 > .col-35 {
    width: calc(35% - var(--gap) / 2);
}
.cols-2 > .col-60 {
    width: calc(60% - var(--gap) / 2);
}
.cols-2 > .col-40 {
    width: calc(40% - var(--gap) / 2);
}
.cols-2 > .col-55 {
    width: calc(55% - var(--gap) / 2);
}
.cols-2 > .col-45 {
    width: calc(45% - var(--gap) / 2);
}
.col-full {
    width: 100%;
}

@media screen and (min-width: 1200px) {
    .xl-hidden {
        display: none !important;
    }
}
/* Laptops/Large tablets */
@media screen and (min-width: 992px) and (max-width: 1200px) {
    [class*="l-cols-"].l-centered {
        justify-content: center;
    }
    .l-wrap {
        flex-wrap: wrap !important;
    }
    .l-cols-2 > * {
        width: calc(100% / 2 - var(--gap) * 1 / 2);
    }
    .l-cols-3 > * {
        width: calc(100% / 3 - var(--gap) * 2 / 3);
    }
    .l-cols-4 > * {
        width: calc(100% / 4 - var(--gap) * 3 / 4);
    }
    .l-cols-5 > * {
        width: calc(100% / 5 - var(--gap) * 4 / 5);
    }
    .l-col-full {
        width: 100% !important;
    }
    .l-cols-2 > .l-col-60 {
        width: calc(60% - var(--gap) / 2);
    }
    .l-cols-2 > .l-col-40 {
        width: calc(40% - var(--gap) / 2);
    }
    .l-hidden {
        display: none !important;
    }
}
/* Small tablets */
@media screen and (min-width: 767px) and (max-width: 992px) {
    :root {
        --gap: 40px;
    }
    [class*="m-cols-"].m-centered {
        justify-content: center;
    }
    [class*="m-cols"] > * {
        width: 100%;
    }
    .m-wrap {
        flex-wrap: wrap !important;
    }
    .m-cols-2 > * {
        width: calc(100% / 2 - var(--gap) * 1 / 2);
    }
    .m-cols-3 > * {
        width: calc(100% / 3 - var(--gap) * 2 / 3);
    }
    .m-cols-4 > * {
        width: calc(100% / 4 - var(--gap) * 3 / 4);
    }
    .m-cols-5 > * {
        width: calc(100% / 5 - var(--gap) * 4 / 5);
    }
    .m-col-full {
        width: 100% !important;
    }
    .m-cols-2 > .m-col-60 {
        width: calc(60% - var(--gap) / 2);
    }
    .m-cols-2 > .m-col-40 {
        width: calc(40% - var(--gap) / 2);
    }
    .m-hidden {
        display: none !important;
    }
}
/* Extra small devices */
@media screen and (min-width: 480px) and (max-width: 767px) {
    :root {
        --gap: 30px;
    }
    [class*="s-cols-"].s-centered {
        justify-content: center;
    }
    [class*="s-cols"] > * {
        width: 100%;
    }
    .s-wrap {
        flex-wrap: wrap !important;
    }
    .s-cols-2 > * {
        width: calc(100% / 2 - var(--gap) * 1 / 2);
    }
    .s-cols-3 > * {
        width: calc(100% / 3 - var(--gap) * 2 / 3);
    }
    .s-cols-4 > * {
        width: calc(100% / 4 - var(--gap) * 3 / 4);
    }
    .s-cols-5 > * {
        width: calc(100% / 5 - var(--gap) * 4 / 5);
    }
    .s-col-full {
        width: 100% !important;
    }
    .s-cols-2 > .s-col-60 {
        width: calc(60% - var(--gap) / 2);
    }
    .s-cols-2 > .s-col-40 {
        width: calc(40% - var(--gap) / 2);
    }
    .s-hidden {
        display: none !important;
    }
}
/* Mobile devices */
@media screen and (max-width: 480px) {
    :root {
        --gap: 30px;
    }
    [class*="xs-cols-"].xs-centered {
        justify-content: center;
    }
    [class*="xs-cols"] > * {
        width: 100%;
    }
    .xs-wrap {
        flex-wrap: wrap !important;
    }
    .xs-cols-2 > * {
        width: calc(100% / 2 - var(--gap) * 1 / 2);
    }
    .xs-cols-3 > * {
        width: calc(100% / 3 - var(--gap) * 2 / 3);
    }
    .xs-cols-4 > * {
        width: calc(100% / 4 - var(--gap) * 3 / 4);
    }
    .xs-cols-5 > * {
        width: calc(100% / 5 - var(--gap) * 4 / 5);
    }
    .xs-col-full {
        width: 100% !important;
    }
    .xs-hidden {
        display: none !important;
    }
}

.cc-button {
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 30px;
    line-height: 1.5em;
    font-weight: 700;
    border-radius: 30px;
    user-select: none;
}

/* HEADER */
body {
    padding-top: 77px;
}
#header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    z-index: 9;
    position: fixed;
    left: 0;
    right: 0;
    height: 77px;
    top: var(--wp-admin--admin-bar--height, 0);
}
#header > .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#header .rnz-menu-icon {
    height: 20px;
    width: 26px;
    position: relative;
    cursor: pointer;
}

#header .rnz-menu-icon span {
    height: 2px;
    width: 26px;
    border-radius: 3px;
    background-color: var(--secondary-color);
    display: block;
    position: absolute;
    transition: all 0.25s linear;
}
#header .rnz-menu-icon span:nth-child(1) {
    top: 0;
}
#header .rnz-menu-icon span:is(:nth-child(2), :nth-child(3)) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#header .rnz-menu-icon span:nth-child(3) {
    opacity: 0;
}
#header .rnz-menu-icon span:nth-child(4) {
    bottom: 0;
}
#header.active .rnz-menu-icon span:nth-child(1) {
    opacity: 0;
    transform: translateX(100%);
}
#header.active .rnz-menu-icon span:nth-child(4) {
    opacity: 0;
    transform: translateX(-100%);
}
#header.active .rnz-menu-icon span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(45deg);
}
#header.active .rnz-menu-icon span:nth-child(3) {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
}

#header > .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-principal {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
}
.menu-principal figure {
    width: 1.3em;
    height: 1.3em;
    overflow: hidden;
    margin-right: 10px;
    position: relative;
}
.menu-principal figure img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.menu-principal a {
    color: #909090;
}
.menu-principal > li {
    position: relative;
}
.menu-principal > li > a {
    font-weight: 700;
}

.menu-principal > li:not(.btn-login, .btn-registro) > a {
    padding-left: 10px;
    padding-right: 10px;
}
.menu-principal > li.has-children:not(.btn-login, .btn-registro) > a {
    position: relative;
    padding-right: calc(16px + 10px) !important;
    background-image: url('data:image/svg+xml,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6098 5.83709L0.159755 1.29221C0.0567475 1.1871 -4.57559e-08 1.04677 -3.92158e-08 0.897152C-3.26756e-08 0.74753 0.0567475 0.607207 0.159755 0.50209L0.487394 0.167391C0.700889 -0.0503998 1.04788 -0.0503998 1.26105 0.167391L4.99793 3.98384L8.73895 0.163157C8.84196 0.0580392 8.97928 3.92497e-07 9.1257 3.98897e-07C9.27228 4.05304e-07 9.4096 0.0580392 9.51269 0.163157L9.84025 0.497855C9.94325 0.603056 10 0.743296 10 0.892918C10 1.04254 9.94325 1.18286 9.84025 1.28798L5.38613 5.83709C5.2828 5.94246 5.14484 6.00033 4.99817 6C4.85094 6.00033 4.71305 5.94246 4.6098 5.83709Z" fill="%23909090"/></svg>');
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: calc(100% - 10px) center;
}
.menu-principal > li:not(.btn-login, .btn-registro) > a:hover,
.menu-principal > li:not(.btn-login, .btn-registro):hover > a,
.menu-principal
    > li:not(.btn-login, .btn-registro):is(
        .current-menu-item,
        .current_page_parent,
        .current-menu-ancestor
    )
    > a {
    color: var(--main-color);
}
.menu-principal > li:is(.btn-login, .btn-registro) > a {
    display: inline-flex;
    padding: 8px 30px;
    border-radius: 70px;
    border: 1px solid var(--main-color);
    transition: all 0.25s linear;
}
.menu-principal > li:is(.btn-login, .btn-registro) > a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.menu-principal > li.btn-login > a {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: transparent;
}
.menu-principal > li.btn-registro > a {
    color: #fff;
    background: var(--main-color);
}

.menu-principal > li.has-children::after {
    content: "";
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    background-color: transparent;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.menu-principal > li.has-children:hover::after {
    display: block;
}
.menu-principal > li.has-children > ul.sub-menu::before {
    content: "";
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background-color: #fff;
    display: block;
    width: 20px;
    height: 10px;
    position: absolute;
    left: 50%;
    top: -9px;
}
.menu-principal > li > ul.sub-menu {
    background-color: #fff;
    position: absolute;
    display: none;
    flex-direction: column;
    top: 100%;
    left: 50%;
    border-radius: 20px 0 0 20px;
    color: var(--secondary-color);
    list-style: none;
    gap: 0;
    margin: 0;
    transform: translateX(-50%) translateY(40px);
    width: 280px;
    filter: drop-shadow(0 7px 6px rgba(0, 0, 0, 0.19));
}
.menu-principal > li > ul.sub-menu > li > a {
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    width: 100%;
}
.menu-principal > li:hover > ul.sub-menu {
    display: flex;
}
.menu-principal > li > ul.sub-menu > li.has-children > a {
    position: relative;
    padding: 20px;
}
.menu-principal > li > ul.sub-menu > li:nth-child(1) > a {
    padding: 20px;
    padding-bottom: 10px;
}
.menu-principal > li > ul.sub-menu > li:not(:first-child, :last-of-type) > a {
    padding: 10px 20px;
}
.menu-principal > li > ul.sub-menu > li:last-of-type > a {
    padding: 20px;
    padding-top: 10px;
}

.menu-principal > li > ul.sub-menu > li > ul.sub-menu {
    position: absolute;
    top: 0;
    display: none;
    flex-direction: column;
    min-height: 100%;
    left: 100%;
    gap: 10px;
    border-radius: 0 20px 20px 0;
    width: 320px;
    background-color: #f9f9f9;
    list-style: none;
    margin: 0;
    padding: 20px;
}
.menu-principal > li > ul.sub-menu > li:first-child > ul.sub-menu {
    border-radius: 0 20px 20px 20px;
}
.menu-principal > li > ul.sub-menu:not(:hover) > li:first-child > ul.sub-menu,
.menu-principal > li > ul.sub-menu > li:hover > ul.sub-menu {
    display: flex;
}
.menu-principal > li > ul.sub-menu > li:hover > ul.sub-menu > li {
    width: 100%;
}
.menu-principal > li > ul.sub-menu > li > a > figure {
    position: relative;
}
.menu-principal > li > ul.sub-menu > li > a {
    transition: all 0.25s linear;
    position: relative;
}
.menu-principal > li > ul.sub-menu > li:first-child > a {
    border-radius: 20px 0 0 0;
}
.menu-principal > li > ul.sub-menu > li:last-child > a {
    border-radius: 0 0 0 20px !important;
}
.menu-principal > li > ul.sub-menu > li.has-children > a {
    background-image: url('data:image/svg+xml,<svg width="9" height="15" viewBox="0 0 9 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.75564 8.0853L1.93832 14.7604C1.78064 14.9149 1.57016 15 1.34573 15C1.12129 15 0.91081 14.9149 0.753134 14.7604L0.251086 14.2689C-0.0755998 13.9487 -0.0755998 13.4282 0.251086 13.1084L5.97575 7.50311L0.244734 1.89157C0.0870582 1.73706 0 1.53108 0 1.31145C0 1.09157 0.0870582 0.8856 0.244734 0.730968L0.746782 0.23963C0.904583 0.0851192 1.11494 0 1.33938 0C1.56381 0 1.77429 0.0851192 1.93197 0.23963L8.75564 6.9208C8.91369 7.0758 9.00049 7.28275 9 7.50274C9.00049 7.7236 8.91369 7.93042 8.75564 8.0853Z" fill="%23244595"/></svg>');
    background-position: calc(100% - 20px) center;
    background-size: 8px;
    background-repeat: no-repeat;
}
.menu-principal > li > ul.sub-menu > li.has-children > a:hover,
.menu-principal > li > ul.sub-menu > li.has-children:hover > a {
    background-color: #f9f9f9;
}

.menu-principal > li > ul.sub-menu > li > ul.sub-menu > li > a {
    display: flex;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 10px;
    width: 100%;
    background-color: #fff;
    color: var(--secondary-color);
    transition: all 0.25s linear;
}
.menu-principal > li > ul.sub-menu > li > ul.sub-menu > li > a:hover,
.menu-principal
    > li
    > ul.sub-menu
    > li
    > ul.sub-menu
    > li.current-menu-item
    > a {
    color: #fff;
    background-color: var(--main-color);
}

/* FOOTER */
#footer {
    margin-top: clamp(1.875rem, 1.0156rem + 3.125vw, 3.75rem);
}
#footer .footer-credits {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px 0;
    font-size: clamp(0.625rem, 0.4637rem + 0.3817vw, 0.75rem);
    line-height: 1.2em;
}
#footer .footer-credits a {
    color: #fff;
}
#footer .footer-links > .container {
    --content-width: 1100px;
    border-top: 1px solid #909090;
    display: flex;
    justify-content: space-between;
    padding-top: clamp(2.5rem, 1.9271rem + 2.0833vw, 3.75rem);
    padding-bottom: clamp(2.5rem, 1.9271rem + 2.0833vw, 3.75rem);
    position: relative;
}
#footer .scrolltop {
    background: #fff;
    width: 42px;
    height: 42px;
    display: inline-flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.19);
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: 50px;
    transition: all 0.25s linear;
}
#footer .scrolltop::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url("../../assets/images/chevron-up.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    height: 100%;
    width: 100%;
    transition: all 0.25s linear;
}
#footer .scrolltop:hover {
    background-color: var(--secondary-color);
}
#footer .scrolltop:hover::after {
    filter: brightness(0) saturate(100%) invert();
}
#footer .footer-block__title {
    font-size: 1em;
    margin-bottom: 20px;
}
#footer .footer-block a {
    color: #244595;
}
#footer .footer-block p:last-of-type {
    margin-bottom: 0;
}
#footer .footer-block__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#footer .footer-block__links a {
    color: inherit;
    transition: all 0.25s linear;
}
#footer .footer-block__links a:hover {
    color: #244595;
}
#footer .footer-credits > .container {
    display: flex;
    align-items: center;
    gap: 30px;
}
#footer .footer-credits > .container > div:nth-child(1) {
    width: 15%;
}
#footer .footer-credits > .container > div:nth-child(2) {
    width: 50%;
}
#footer .footer-credits > .container > div:nth-child(3) {
    width: 15%;
}
#footer .footer-credits > .container > div:nth-child(4) {
    display: flex;
    flex-direction: column;
    width: 20%;
}

#footer .footer-credits > .container > div:nth-child(3) > h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
}
#footer .footer-socials {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

/* SWIPER */
.swiper-buttons {
    width: calc(100vw - 60px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    pointer-events: none;
    display: flex;
    left: 50%;
    z-index: 2;
    justify-content: space-between;
}
:is(.swiper-button-next, .swiper-button-prev) {
    position: relative;
    pointer-events: all;
    z-index: 2;
    top: unset;
    left: unset;
    right: unset;
    margin: 0;
    transform: unset;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.19);
    color: #244595;
    transition: all 0.25s linear;
}
:is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 20px !important;
}
:is(.swiper-button-next, .swiper-button-prev):hover {
    background-color: #244595;
    color: #fff;
}

/* BLOG */
.blog-header {
    --content-width: 1100px;
    background: linear-gradient(90deg, #07294e 0%, #0a3a6b 100%);
    min-height: 265px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.blog-header::after {
    content: "";
    display: block;
    background-image: url("../../assets/images/blog-bgicon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: calc(370 / 377 * var(--w, 275px));
    width: var(--w, 275px);
    position: absolute;
    bottom: 0;
    right: 20px;
    transform: translateY(30%);
    pointer-events: none;
    z-index: -1;
}

.blog-secondary {
    --content-width: 1100px;
    padding: 60px 0;
}
.blog-featured {
    padding: 60px 0;
    --content-width: 1100px;
}

.blog-header__search {
    position: relative;
    width: 100%;
    margin-top: 20px;
}
.blog-header__search input[type="text"] {
    padding: 10px 5px 10px 25px;
    background: #ffffff;
    box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    border: 0;
    outline: none !important;
    width: 100%;
}
.blog-header__search button[type="submit"] {
    height: 40px;
    width: 40px;
    border-radius: 40px;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #88dd69 0%, #4cad36 100%);
    border: 0;
    display: inline-flex;
    text-indent: -9999em;
    color: transparent;
    cursor: pointer;
}
.blog-header__search button[type="submit"] span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("../../assets/images/search.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    filter: invert();
}

.blog-banner {
    --content-width: 1100px;
    background-color: #f0f7ee;
    padding: 20px 0;
}
.blog-banner > .container {
    padding: 40px 6%;
    background: linear-gradient(90deg, #244595 0%, #365ec0 100%);
    border-radius: 30px;
    display: grid;
    grid-template-columns: calc(100% - 250px - 60px) 250px;
    gap: 60px;
    color: #fff;
}
.blog-banner__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.blog-banner__image {
    position: relative;
    margin-bottom: -40px;
}
.blog-banner__image figure {
    position: absolute;
    bottom: 0;
}

:is(.post-layout-1, .post-layout-2) figure {
    position: relative;
    overflow: hidden;
    padding-top: calc(9 / 16 * 100%);
    width: 100%;
    border-radius: 16px;
    background-color: #ccc;
}
:is(.post-layout-1, .post-layout-2) figure > a > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.post-layout-2 {
    display: grid;
    grid-template-columns: 180px calc(100% - 180px - 20px);
    gap: 20px;
    margin-bottom: 30px;
}
.post-layout-2:last-of-type {
    margin-bottom: 0;
}
.post-layout-2 > figure {
    align-self: flex-start;
    padding-top: calc(11 / 16 * 100%);
}
.post-layout-1__content {
    margin-top: 20px;
}
:is(.post-layout-1__content, .post-layout-2__content) > h3 {
    color: var(--main-color);
}
:is(.post-layout-1__content, .post-layout-2__content) > h3 > a {
    color: var(--main-color);
}

:is(.post-layout-1__content, .post-layout-2__content) > div {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
div.single-post {
    --content-width: 1100px;
}
.single-post_title {
    font-size: clamp(1.5rem, 1.3281rem + 0.625vw, 1.875rem);
    color: var(--main-color);
    line-height: 1.2em;
    margin-bottom: 1.2em;
}
.single-post__content {
    text-align: justify;
}
.single-post__content a {
    color: var(--main-color);
    text-decoration: underline;
}
.single-post__content :is(h2, h3, h4, h5) {
    color: #5d5d5d;
    text-align: left;
    margin-bottom: 0.75em;
    margin-top: 0.89em;
}
.single-post__content h2 {
    font-size: clamp(1.375rem, 1.2604rem + 0.4167vw, 1.625rem);
    color: var(--main-color);
}
.single-post__content h3 {
    font-size: clamp(1.1875rem, 1.0729rem + 0.4167vw, 1.4375rem);
}
.single-post .post-thumbnail,
.single-post__content figure {
    margin-bottom: 1em;
    overflow: hidden;
    border-radius: 20px;
}
.related-posts {
    background-color: #efffeb;
    border-radius: 20px;
    padding: 30px;
}
.related-posts > h3 {
    color: #4cad36;
    margin-bottom: 30px;
}
.related-post:not(:last-of-type) {
    margin-bottom: 20px;
}
.related-post > a {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: 80px calc(100% - 100px);
    align-items: center;
    gap: 20px;
}
.related-post figure {
    height: 80px;
    width: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.related-post figure img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.related-post h3 {
    font-size: clamp(0.875rem, 0.8177rem + 0.2083vw, 1rem);
    color: var(--secondary-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.libro-reclamaciones {
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: 10px;
    font-weight: bold;
    justify-content: center;
    max-width: 120px;
}

.pagination-wrap {
    padding-top: 50px;
    text-align: center;
}
ul.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 6px;
    justify-content: center;
    background-color: #fff;
    border-radius: 60px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}
ul.pagination > li > :is(a, span) {
    color: #909090;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    transition: all 0.2s linear;
}
ul.pagination > li.active > :is(a, span) {
    background-color: #132a3c;
    color: #fff;
}
ul.pagination > li > a:hover {
    background-color: #909090;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .swiper-buttons {
        width: calc(100dvw - 30px);
    }
    :is(.swiper-button-next, .swiper-button-prev) {
        width: 40px !important;
        height: 40px !important;
    }
    .blog-banner > .row {
        display: flex;
        flex-direction: column;
    }
    .blog-banner__content {
        align-items: center;
        text-align: center;
    }
    .blog-banner__image {
        align-self: center;
    }
    .blog-banner__image figure {
        position: relative;
    }

    .mwrapper {
        flex-wrap: nowrap;
        gap: 0 !important;
    }
    .mslide {
        height: auto !important;
    }
    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    body {
        padding-top: 77px;
    }
    #header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
    }
    #footer .footer-credits > .container {
        flex-wrap: wrap;
        gap: 20px;
    }
    #footer .footer-credits > .container > div:nth-child(2) {
        order: 4;
        width: 100%;
    }
    #menu-principal-container {
        position: absolute;
        display: none;
        top: 77px;
        height: calc(100dvh - 77px);
        background-color: #fff;
        left: -30px;
        right: -30px;
        padding: 0 30px;
        width: calc(100% + 60px);
    }
    #header.active #menu-principal-container {
        display: block;
        overflow-y: auto;
    }
    .menu-principal {
        flex-direction: column;
        gap: 0;
    }
    .menu-principal > li {
        width: 100%;
    }
    .menu-principal > li:is(.btn-login, .btn-registro) {
        padding: 10px 30px;
    }
    .menu-principal > li:is(.btn-login, .btn-registro) > a {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .menu-principal > li:not(.btn-login, .btn-registro) > a {
        display: block;
        padding: 20px 30px !important;
        width: 100%;
    }
    .menu-principal > li.has-children:not(.btn-login, .btn-registro) > a {
        background-size: 12px;
        background-position: calc(100% - 30px) center;
    }
    .menu-principal > li > ul.sub-menu {
        position: relative;
        filter: unset;
        transform: unset;
        left: unset;
        width: 100%;
    }
    .menu-principal > li.has-children:not(.active) > ul.sub-menu {
        display: none;
    }
    .menu-principal > li.has-children.active > ul.sub-menu {
        display: block !important;
    }
    .menu-principal > li > ul.sub-menu > li.has-children > a {
        padding: 20px 30px;
    }
    .menu-principal > li > ul.sub-menu > li > ul.sub-menu {
        display: none !important;
        position: relative;
        left: unset;
        right: unset;
        top: unset;
        width: 100%;
        padding: 20px 30px;
    }
    .menu-principal > li > ul.sub-menu > li.has-children > a:hover {
        background-color: unset;
    }
    .menu-principal > li > ul.sub-menu > li.active > a {
        background-color: #f9f9f9 !important;
    }
    .menu-principal > li > ul.sub-menu > li.active > ul.sub-menu {
        display: flex !important;
    }
}

@media screen and (max-width: 580px) {
    #footer .footer-links > .container {
        flex-direction: column;
        gap: 20px;
    }
    #footer .footer-links > .container > .footer-block {
        width: 100%;
    }
    #footer
        .footer-links
        > .container
        > .footer-block:not(.active)
        .footer-block__content {
        display: none;
    }
    #footer .footer-block__title {
        margin-bottom: 0;
    }
    #footer .footer-block__content {
        padding-top: 20px;
    }

    #footer .footer-credits > .container > div {
        width: 100% !important;
    }
    #footer
        .footer-credits
        > .container
        > div:is(:nth-child(1), :nth-child(2)) {
        text-align: center;
    }
    #footer .footer-credits > .container > div:nth-child(3) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .blog-banner > .container {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (min-width: 768px) {
    .popup-imagenes img {
        height: 90vh;
    }

    .popup-contenido {
        max-width: 75%;
        position: relative;
        top: 2.5vh;
    }

    img.popimgmovil {
        display: none;
    }
}
