/*
Theme Name: senda
Author:
Author URI:
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: senda
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Colors theme */
html:root {
    --wp--preset--color--gradient: linear-gradient(90deg, #0E0E90 0%, #171EA0 51.14%, #334DCF 102.27%);
    --wp--preset--color--gradient-2: linear-gradient(129deg, #4C5EB6 45.95%, #BEB0D4 116.77%);

}
/* Gradients */
html:root {
    --wp--preset--gradient--primary-white: linear-gradient(
            #4C5EB6 49.9%,
            #BEB0D4 50%
    );
    --wp--preset--gradient--white-primary: linear-gradient(
            #4C5EB6 49.9%,
            #BEB0D4 50%
    );
}
/* Duotone */
html:root {
    --wp--preset--duotone--secondary-primary: #334DCF, #FFFFFF;
    --wp--preset--duotone--primary-contrast: #AEB9EF, #FFFFFF;
}
/* Typo */
html:root {
    --wp--preset--font-family--system: "Saans", sans-serif;
    --wp--preset--font-family--serif: "Helvetica Neue", sans-serif;
    --wp--preset--font-family--monospace: "Helvetica Neue", sans-serif;
}

/* Fonts */
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 300;
    src: url('./assets/fonts/SaansLight.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 400;
    src: url('./assets/fonts/SaansRegular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 500;
    src: url('./assets/fonts/SaansMedium.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 600;
    src: url('./assets/fonts/SaansSemiBold.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 700;
    src: url('./assets/fonts/SaansBold.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Saans';
    font-style: normal;
    font-weight: 800;
    src: url('./assets/fonts/SaansHeavy.woff2') format('woff2');
}


html:root {
    --wp--preset--line-height-display: 1.2;
    --wp--preset--line-height-h1: 1.2;              
    --wp--preset--line-height-h2: 1.2;              
    --wp--preset--line-height-h3: 1.2;              
    --wp--preset--line-height-h4: 1.4;                 
    --wp--preset--line-height-h5: 1.4;                
    --wp--preset--line-height-body: 1.7;             
    --wp--preset--line-height-small: 1.4;          
    --wp--preset--line-height-caption: 1.4;
}
html:root {
    --wp--preset--font-weight-300: 300;
    --wp--preset--font-weight-400: 400;
    --wp--preset--font-weight-500: 500;
    --wp--preset--font-weight-600: 600;
    --wp--preset--font-weight-700: 700;
    --wp--preset--font-weight-800: 800;
}

body * {
    scroll-margin-top: 50px;
  }


html:root :where(.is-layout-flow) > * {
    margin-block-start: 0.5rem;
}
h1,
h2,
h3,
h4,
h5,
.has-serif-font-family{
    font-family: "Saans", sans-serif;
    font-weight: var(--wp--preset--font-weight-400);
}

p, ul, ol{
    margin-top: 0;
    margin-bottom: 16px;
}

body h1,
.has-h-1-font-size, .h1{
    font-size: var(--wp--preset--font-size--h-1);
    line-height: var(--wp--preset--line-height-h1);
    margin-top: 1rem;
}
body h2,
.has-h-2-font-size, .h2{
    font-size: var(--wp--preset--font-size--h-2);
    line-height: var(--wp--preset--line-height-h2);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
body h3,
.has-h-3-font-size, .h3{
    font-size: var(--wp--preset--font-size--h-3);
    line-height: var(--wp--preset--line-height-h3);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
body h4,
.has-h-4-font-size, .h4{
    font-size: var(--wp--preset--font-size--h-4);
    line-height: var(--wp--preset--line-height-h4);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
body h5,
.has-h-5-font-size, .h5{
    font-size: var(--wp--preset--font-size--h-5);
    line-height: var(--wp--preset--line-height-h5);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

body .has-display-font-size{
    font-size: var(--wp--preset--font-size-display);
    line-height: var(--wp--preset--line-height-display);
    margin-bottom: 0.75rem;
}
body .has-small-font-size{
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height-small);
    margin-bottom: 0.75rem;
}
body .has-body-font-size{
    font-size: var(--wp--preset--font-size--body) !important;
    line-height: var(--wp--preset--line-height-body);
    margin-bottom: 0.75rem;
}
body .has-caption-font-size{
    font-size: var(--wp--preset--font-size--caption);
    line-height: var(--wp--preset--line-height-caption);
    margin-bottom: 0.75rem;
}

/* Design */
html:root {
    --wp--custom--layout--wide-size: 1500px;
    --wp--custom--layout--content-size: 1350px;
    --wp--custom--layout--desktop-width: 1100px;
    --wp--custom--layout--content-width: 844px;
    --wp--custom--layout--regular-width: 600px;
    --wp--custom--layout--narrow-width: 548px;
    --wp--custom--layout--picture-width: 414px;
    --padding-horizontal: 128px;
    --padding-horizontal-small: 92px;
    --padding-vertical: 116px;
    --padding-vertical-small: 84px;

}

.b-block * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.alignfull {
    margin-left: calc(calc(50% - 8px) - 50vw);
    margin-right: calc(calc(50% - 8px) - 50vw);
    max-width: 100vw;
    width: auto;
}
.has-text-align-center{
    text-align: center;
}
.has-text-align-left{
    text-align: left;
}
.has-text-align-right{
    text-align: right;
}
.privacy-policy main{
    margin-top: 184px;
}
/* Spacing */
html:root {
    --wp--preset--spacing--60: 3.75rem;
    --wp--preset--spacing--50: 3.125rem;
    --wp--preset--spacing--40: 2.5rem;
    --wp--preset--spacing--30: 1.875rem;
    --wp--preset--spacing--20: 1.125rem;
    --wp--preset--spacing--13: 0.813rem;
}
/* Light mode */
html::backdrop,
html:root {
    --sans-font:
            -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
            "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
            "Helvetica Neue", sans-serif;
    --mono-font:
            Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    --standard-border-radius: 24px;
    --bg: var(--wp--preset--color--secondary-30);
    --accent-bg: var(--wp--preset--color--primary-100);
    --text: var(--wp--preset--color--black);
    --text-light: var(--wp--preset--color--primary-100);
    --border: var(--wp--preset--color--primary-150);
    --accent: var(--wp--preset--color--primary-150);
    --code: var(--wp--preset--color--neutral-100);
    --preformatted: var(--wp--preset--color--neutral-100);
    --marked: var(--wp--preset--color--neutral-150);
    --disabled: #efefef;
    --wp--preset--color--base: var(--wp--preset--color--white);
}
/* End light mode */

/* Dark mode */
@media (prefers-color-scheme: dark) {
    html::backdrop,
    html:root {
        color-scheme: dark;
        --bg: var(--wp--preset--color--secondary-30);
    }
}
/* End dark mode */

/* Styles intended only for the front.*/
html {
    scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    grid-template-columns:
        1fr min(var(--wp--custom--layout--content-size), 90%)
        1fr;
}
img,
video {
    opacity: 1;
    border-radius: 0;
}
article,
dialog,
fieldset {
    border: none;
}
main {
    padding-top: 0;
}
html section {
    margin: 0;
    border: none;
}
html body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    grid-template-columns:
        1fr min(var(--wp--custom--layout--content-size), 90%)
        1fr;
    color: var(--wp--preset--color--neutral-800);
    overflow-x: hidden;
}


a{
    color: var(--accent);
}
body .wp-block-button__link{
    display: flex;
    align-items: center;
    padding: 10px 16px;
}
body .is-layout-flex{
    align-items: start;
}
body .wp-block-button.is-style-outline .wp-block-button__link{
    border-color: var(--text);
    color: var(--text);
}
.wp-block-button .button-icon-text{
    font-size: 12px;
    line-height: 22px;
}
body .wp-block-button__link img{
    margin-right: 4px;
}
.button.button-secondary{
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    border: 2px solid var(--wp--preset--color--black);
    padding: 10px 16px;
}
.button.button-tab{
    color: var(--wp--preset--color--black);
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid var(--wp--preset--color--grey-med);
    background: var(--wp--preset--color--grey-light);
    box-shadow: 0 0 10px 0 rgba(52, 64, 84, 0.10);
}
.button.button-tab:hover,
.button.button-tab.active{
    background-color: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--grey-med);
}
.button.button-tab img{
    margin-right: 0.5rem;
}
body .wp-block-image.aligncenter{
    display: flex;
    justify-content: center;
}
.wp-block-columns:has(> .wp-block-column:only-child) {
    display: flex;
    justify-content: center;
}
body .wp-block-media-text>.wp-block-media-text__content{
    padding: 0;
}
body .wp-block-media-text>*:nth-child(1){
    padding-right: 3.75rem;
}
body .wp-block-media-text>*:nth-child(2){
    padding-left: 3.75rem;
}
.wp-block-gallery.has-nested-images:not(.is-cropped){
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    aspect-ratio: 3 / 2;
    max-width: 1200px;
    margin: auto;
}
.wp-block-gallery .wp-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}





/*Footer*/

.footer-general {
    border: 0;
    background-color: var(--wp--preset--color--neutral-200);
    color: var(--wp--preset--color--neutral-800);
    grid-column: 1 / -1;
    margin-top: 0;
    padding: var(--padding-vertical, 116px) var(--padding-horizontal, 128px);
}
body .footer-general a:where(:not(.wp-element-button)) {
    color: var(--wp--preset--color--black);
}
.inner-footer-general {
    max-width: var(--wp--custom--layout--content-size);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.footer-general-top{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 72px;
    max-width: var(--wp--custom--layout--regular-width);
}
.footer-menus{
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    width: var(--wp--custom--layout--regular-width);
}
.menu-footer .navbar-nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
}
.footer-general-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-footer{
    width: 100%;
}
.menu-footer .navbar-nav li:not(.menu-legales li) {
    border-bottom: 1px solid var(--wp--preset--color--neutral-400);
    width: 100%;
    text-align: left;
    padding-bottom: 8px;
}
.menu-footer .navbar-nav li a {
    text-decoration: none;
    font-size: var(--wp--preset--font-size--body);
    line-height: var(--wp--preset--line-height-body);
    font-weight: var(--wp--preset--font-weight-500);
}

.menu-footer .navbar-nav li a:hover{
    color: var(--wp--preset--color--primary-100);
}

.menu-legales .navbar-nav{
    flex-direction: row;
    justify-content: flex-start;
    gap: 32px;
    padding: 0;
    margin: 0 !important;
}
footer .copyright span {
    width: max-content;
    display: block;
    font-size: var(--wp--preset--font-size--body);
    line-height: var(--wp--preset--line-height-body);
}
/* Modal */
.modal {
    position: fixed;
    z-index: 20;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
.modal-bg {
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}
.modal-container {
    position: relative;
    z-index: 10;
    padding: 64px;
    border-radius: var(--standard-border-radius);
    background-color: var(--wp--preset--color--secondary-30);
    max-width: var(--wp--custom--layout--desktop-width);
    display: flex;
    padding: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}
.modal-close {
    position: absolute;
    right: 0;
    top: -68px;
    outline: none;
    appearance: none;
    color: var(--wp--preset--color--neutral-500);
    background: none;
    border: 0px;
    font-weight: var(--wp--preset--font-weight-300);
    cursor: pointer;
    font-size: 49px;
}
/*Blog*/
body.blog, body.search, body.single, body.error404, .privacy-policy, body.category {
    background-color: var(--wp--preset--color--secondary-30);
}
.paged .main-blog, .search main{
    margin-top: 180px;
    padding-bottom: var(--padding-vertical);
}
.single main{
    margin-top: 180px;
}
.blog main, .category main{
    padding-bottom: var(--padding-vertical);
}
.header-blog, .search-header{
    max-width: 1184px;
    margin: 0 auto;
}
.contenedor-post{
    max-width: var(--wp--custom--layout--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.contenedor-post > *{
    margin:0;
    padding: 0;
}

.post-info .wp-block-image{
    margin-bottom: 24px;
    margin-top: 24px;
}

.grid-blog{
    display: grid;
    gap: 12px;
    padding: 40px 0 0 0;
}
.post-categories{
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    padding: 8px;
    gap: 4px;
}
.post-category {
    display: flex;
    height: 32px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--wp--preset--color--primary-40);
    color: var(--wp--preset--color--primary-100);
    font-weight: var(--wp--preset--font-weight-500);
    text-decoration: none;
}
.post-card{
    border-radius: var(--standard-border-radius);
    background: var(--wp--preset--color--secondary-30);
    padding: 8px 8px 0 8px;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.5s ease;
    position: relative;
}

.post-card::before,
.post-card::after{
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: var(--standard-border-radius);
    box-shadow: 0px 8px 28px 0px #E1DCD4;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.post-card::after{
    box-shadow: 0 12px 42px 0 #C5CEEC;;
    opacity: 0;
}

.post-card:hover::after{
    opacity: 1;
}

.post-card:hover::before{
    opacity: 0;
}


.post-card .post-title h4{
    font-weight: var(--wp--preset--font-weight-500);
}
.post-thumbnail {
    position: relative;
}
.post-thumbnail img {
    display: flex;
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: var(--standard-border-radius) var(--standard-border-radius) 0px 0px;
}
.post-content{
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    gap: 20px;
    text-align: left;
    color: var(--wp--preset--color--neutral-800);
}
.grid-blog a {
    text-decoration: none;
}
.reading-time {
    color: var(--wp--preset--color--neutral-500);
}
.pagination .prev, .pagination .next{
    background-image: url('./assets/images/CaretLeft.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    color: var(--wp--preset--color--neutral-400);
}
.pagination .prev{
    transform: rotate(180deg);
}
.pagination {
    min-width: 340px;
    display: flex;
    column-gap: 5px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--wp--preset--color--neutral-800);
    font-weight: var(--wp--preset--font-weight-500);
    margin: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}
.pagination .page-numbers li {
    list-style-type: none;
}
span.page-numbers{
    width: 42px;
    height: 42px;
}

a.page-numbers:hover{
    border: 1px solid var(--wp--preset--color--primary-90);
}

a.page-numbers.next:hover,
a.page-numbers.prev:hover{
    border: none;
    filter: brightness(0) saturate(100%)  invert(24%) sepia(70%) saturate(4123%) hue-rotate(229deg) brightness(85%) contrast(89%);
}

.pagination .current {
    background-color: var(--wp--preset--color--primary-60);
}
.blog-titulo{
    margin: 0 auto;
    max-width: var(--wp--custom--layout--desktop-width);
    text-align: center;
}
.contenedor-sin-resultados {
    text-align: center;
}
/*Buscador*/
.search-form{
    display: flex;
    gap: 16px;
    border: solid 1px var(--wp--preset--color--neutral-200);
    background-color: var(--wp--preset--color--neutral-50);
    border-radius: 16px;
    overflow: hidden;
    padding: 10px 16px;
    max-width: 378px;
    flex-grow: 1;
    justify-content: space-between;
    height: 48px;
    align-items: center;

}
.search-submit{
    background-color: transparent;
    width: 32px;
    height: 32px !important;
    min-height: unset;
    padding: 4px !important;
    flex-shrink: 0;
    border-radius: 5px;
    min-width: unset;

}

.search-submit::after{
    content: none;
}

.search-submit:hover{
    background-color: transparent;
}

.search-submit:enabled:active{
    background: none;
}



.search-field{
    background-color: transparent;
    color: var(--wp--preset--color--neutral-700);
    font-size: var(--wp--preset--font-size--body);
    line-height: var(--wp--preset--line-height-body);
    font-weight: var(--wp--preset--font-weight-500);
    border: none;
    border-radius: 0;
    min-height: 28px;
    padding: 0;
}

.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration {
    display: none;
}
.search-form label {
    padding: 0;
    width: 100%;
}

.search-form__input{
    border: none;
    margin-bottom: 0;
}
.search-submit img{
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.contenedor-buscador {
    display: flex;
    max-width: var(--wp--custom--layout--content-size);
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    margin-bottom: 36px;
}
.single .contenedor-buscador {
    margin-bottom: 0;
}
.blog .contenedor-buscador, .category .contenedor-buscador{
    margin-top: 48px;
}
.back-to-blog a{
    text-decoration: none;
    color: var(--wp--preset--color--neutral-800);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    font-weight: var(--wp--preset--font-weight-500);
}
.back-to-blog a:hover{
    color: var(--wp--preset--color--primary-100);
}

.back-to-blog a:hover img{
    filter: brightness(0) saturate(100%) invert(24%) sepia(70%) saturate(4123%) hue-rotate(229deg) brightness(85%) contrast(89%);
}


.sin-resultado {
    color: var(--wp--preset--color--neutral-500);
    margin-bottom: 36px;
}
.blog .grid-blog-3-col, .category .grid-blog-3-col, .single .grid-blog-3-col {
    padding-bottom: var(--padding-vertical-small);
}
/*filtro*/
.departamentos-botones, .top-categories{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px;
    margin-top: 20px;
    list-style-type: none;
    align-items: center;
}
.btn-departamento, .top-categories a{
    border-radius: 16px;
    border: 1px solid var(--wp--preset--color--neutral-200);
    height: 42px;
    padding: 4px 20px;
}
a.btn-departamento, .top-categories a{
    color: var(--wp--preset--color--neutral-600) !important;
    font-size: 16px; /* Por cambiar var(--fontSize-16, 16px);*/
    font-weight: var(--wp--preset--font-weight-500);
    line-height: 24px; /* Por cambiar */
    text-decoration: none;
    align-content: center;
}
.top-categories a {
    height: 42px;
    display: block;
}
a.btn-departamento:hover, .top-categories a:hover, .top-categories .active a {
    color: var(--wp--preset--color--neutral-800) !important;
    background-color: var(--wp--preset--color--primary-60);
    border: 1px solid var(--wp--preset--color--primary-60);
}
.top-categories a.close-btn{
    height: 25px;
    padding: 7px;
    display: flex;
    align-items: center;
}
/*Single*/
.contenedor-autor-rrss{
    display: grid;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    row-gap: 36px;
    height: 135px;
}
.post-author{
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--wp--preset--color--neutral-700);
    font-weight: var(--wp--preset--font-weight-500);
}
.author-role {
    color: var(--wp--preset--color--neutral-500);
}
.post-author img {
    width: 47px;
    height: 47px;
    border-radius: 47px;
    object-fit: cover;
}

.post-featured-image img{
    border-radius: var(--standard-border-radius);
}

/*Compartir RRSS*/
.share-container {
    position: relative;
    display: inline-block;
    text-align: right;
}

.share-toggle {
    padding: 8px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-weight: var(--wp--preset--font-weight-500);
    min-width: 120px;
}

.share-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--wp--preset--color--secondary-30);
    border-radius: 12px;
    border: 1px solid var(--wp--preset--color--neutral-300);
    list-style: none;
    margin: 0;
    padding: 4px;
    z-index: 99;
    width: 188px;
}

.share-dropdown.visible {
    display: block;
    outline: 4px solid var(--wp--preset--color--secondary-30);
    outline-offset: -5px;
}

.share-dropdown li {
    padding: 12px;
}
.share-dropdown li:hover{
    background-color: var(--wp--preset--color--neutral-200);
}
.share-dropdown button {
    padding: 0;
}
.share-dropdown a,
.share-dropdown button {
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--caption);
    color: var(--wp--preset--color--neutral-800);
    font-weight: var(--wp--preset--font-weight-500);
    cursor: pointer;
    width: 100%;
}
/*404*/
.contenido-404{
    text-align: center;
    max-width: var(--wp--custom--layout--content-size);
    margin: 0 auto;
}
.contenedor-error404 {
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--padding-vertical-small);
}
.titulo-404{
    margin-bottom: 0;
}
.contenedor-error404 .contenedor-cta {
    margin-top: 40px;
}
/*Página legal*/
.privacy-policy main{
    max-width: var(--wp--custom--layout--content-width);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: var(--padding-vertical-small);
}

/* Responsive */
@media only screen and (max-width: 920px) {

    html:root{
        --padding-horizontal: 24px;
        --padding-horizontal-small: 12px;
        --padding-vertical: 68px;
        --padding-vertical-small: 40px;
        /*--wp--preset--font-size--body: 17px !important;*/
    }
    .alignfull {
        max-width: none;
    }
    .privacy-policy main{
        margin-top: 124px;
    }
    /*Footer*/
    .footer-menus {
        width: 100%;
    }
    .footer-general-top {
        gap: 60px;
    }
    .footer-general-bottom, .menu-legales .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-general-bottom {
        gap: 60px;
    }
    .menu-legales .navbar-nav {
        gap: 8px;
    }
    /*Menú*/

   

    /*Blog*/
    .header-blog{
        padding-top: 68px;
    }
    .departamentos-botones, .top-categories {
        gap: 8px;
        flex-wrap: wrap;
        padding: 8px 0;
        margin: 20px 24px 40px 24px;
    }
    .top-categories {
        justify-content: flex-start;
    }
    .contenedor-buscador {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .back-to-blog img {
        max-width: 14px;
    }
    .search-form {
        width: 100%;
    }
    .paged .main-blog, .search main{
        margin-top: 148px;
    }
    .paged .main-blog, .search main, .single main{
        margin-top: 124px;
    }
    .contenedor-error404 {
        margin-top: 168px;
    }
    /*Single*/
    .post-author{
        grid-column: 1 / 3;
    }
    .share-container {
        grid-column: 2 / 3;
    }
    .post-read {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .contenedor-autor-rrss {
        height: 126px;
        row-gap: 28px;
        align-items: center;
    }
    .contenedor-post {
        gap: 28px;
    }


}
@media screen and (min-width: 921px) {
    .grid-blog {
        grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
        grid-auto-rows: 1fr;
        max-width: min(100%, 1184px);
        margin: 0 auto;

    }
    .grid-blog-3-col {
        grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
    }
}

/** LANDING **/

.header-landing{
    background-color: var(--wp--preset--color--neutral-150);
    border-bottom: none;
   padding: clamp(2rem, 1.277rem + 2.143vw, 2.75rem) 0;
   display: grid;
   grid-template-columns: 1fr min(var(--wp--custom--layout--content-size), 90%) 1fr;
}

.header-landing__inner{
    grid-column: 2;
    margin: 0 auto;
    display: grid;
    width: 100%;
    max-width: min(90vw, var(--wp--style--global--wide-size));
    grid-template-columns: 32px 1fr 32px;
    place-items: center;
}


.header-landing__logo{
    width: clamp(12.5rem, 9.487rem + 8.929vw, 15.625rem);
    height: auto;
    display: block;
}

.page-landing{
    min-height: 772px;
    background-color: var(--wp--preset--color--neutral-150);
    overflow: hidden;
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    padding: clamp(2.5rem, 0.33rem + 6.429vw, 4.75rem) 5vw;
}

.page-landing__inner{
    padding: 40px 80px;
    background-color: var(--wp--preset--color--secondary-30);
    border-radius: var(--standard-border-radius);
    max-width: 1100px !important;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.c-gradient{
    position: absolute;
    top: 0;
    left: 0;
    width: 861px;
    height: 596px;
    background-color: var(--wp--preset--color--primary-70);
    border-radius: 100%;
    z-index: 0;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(250px);
    mix-blend-mode: multiply;
}

@media (max-width: 920px) {
    .c-gradient{
        width: 765px;
        height: 531px;
    }

    .page-landing__inner{
        padding: 40px 24px;
    }
    
}


/* Clases de utilidad */
.u_relative{
    position: relative;
}

.b-block .is_prose > *{
    margin-bottom: 16px;
}

/*Central*/
section.block-central{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding-vertical) 0;
    background: var(--wp--preset--color--gradient-2);
    color: var(--wp--preset--color--white);
    border: none;
    row-gap: 24px;
    text-align: center;
}
.si-img {
    min-height: 680px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: auto;
}
section.block-central > * {
    max-width: 1100px;
    margin: 0 auto;
}
section.block-central.borde-blanco {
    border-radius: var(--standard-border-radius);
    margin-left: calc(calc(50% + 19px) - 50vw);
    margin-right: calc(calc(50% + 19px) - 50vw);
    margin-top: 12px;
    margin-bottom: 12px;
    padding: var(--padding-vertical-small) 0;
    row-gap: 32px;
}

section.block-central.borde-blanco .wpcf7-form{
    max-width: 343px;
}
section.block-central.borde-blanco > * {
    max-width: var(--wp--custom--layout--desktop-width);
}
section.block-central.borde-blanco > p:last-child {
    max-width: var(--wp--custom--layout--narrow-width);
}
.btn-centrar {
    justify-content: center;
}
@media (max-width: 920px) {
    section.block-central {
        padding: var(--padding-vertical) var(--padding-horizontal);
        row-gap: 20px;
    }
    .si-img {
        min-height: 632px;
    }
    section.block-central.borde-blanco {
        margin-left: calc(calc(50% + 12px) - 50vw);
        margin-right: calc(calc(50% + 12px) - 50vw);
        padding: var(--padding-vertical-small) var(--padding-horizontal);
        row-gap: 28px;
    }
}
/*Central-texto*/
section.b-central-texto{
    overflow: hidden;
    position: relative;
    background: var(--wp--preset--gradient--bg);
    padding: 164px 24px 116px;
}

.b-central-texto__inner{
    max-width: var(--wp--custom--layout--content-width);
    margin: 0 auto;
    background-color: var(--wp--preset--color--secondary-30);
    border-radius: var(--standard-border-radius);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.is-style-secondary .c-gradient{
    background: var(--wp--preset--color--secondary-60);
}



@media (max-width: 920px) {
    section.b-central-texto{
        padding: 116px 24px var(--padding-vertical);
    }
    .b-central-texto__inner{
        padding: 40px 24px;
    }
}
/*Central texto*/
section.b-central-texto{
    overflow: hidden;
    position: relative;
    background: var(--wp--preset--gradient--bg);
    padding: 164px 24px 116px;
}

.b-central-texto__inner{
    max-width: var(--wp--custom--layout--content-width);
    margin: 0 auto;
    background-color: var(--wp--preset--color--secondary-30);
    border-radius: var(--standard-border-radius);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.is-style-secondary .c-gradient{
    background: var(--wp--preset--color--secondary-60);
}



@media (max-width: 920px) {
    section.b-central-texto{
        padding: 116px 24px var(--padding-vertical);
    }
    .b-central-texto__inner{
        padding: 40px 24px;
    }
}
