/*
==================================================================
Theme Name: Consorcio Puntos Vuela
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

:root {
    --primary: var(--wp--preset--color--primary);
    --secondary: var(--wp--preset--color--secondary);
    --dark: var(--wp--preset--color--dark);
    --black: var(--wp--preset--color--black);
    --white: var(--wp--preset--color--white);
    --font: var(--wp--preset--font-family--dm-sans);
}

::selection {
    background-color: var(--primary);
    text-shadow: none;
    color: var(--dark);
}
::placeholder {
    color: var(--dark);
}
body, p, li, span, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    hyphens: auto !important;
    overflow-wrap: unset !important;
}

a, a img{
    transition: all 250ms ease;
}

a:hover, a:hover img{
    opacity: 0.5;
}

:root :where(.is-layout-flow) > h1,
:root :where(.is-layout-flow) > h2,
:root :where(.is-layout-flow) > h3,
:root :where(.is-layout-flow) > h4,
:root :where(.is-layout-flow) > h5,
:root :where(.is-layout-flow) > h6 {
    font-family: var(--font);
    margin-block-end: 3.5rem;
}
.wp-block-separator {
    border: none;
    border-top: 1px solid !important;
}

.minititles{
    font-weight: 300;
}
.titlemovil{
    padding-right: 150px;
    padding-left: 150px;
}

h1{
    font-size: 60px !important;
    font-weight: 800;
}

h2{
    font-size: 40px;
    font-weight: 600;
}

h3{
    font-size: 24px;
    font-weight: 600;
}

p{
    font-size: 18px;
    font-weight: 400;
}

body {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
    background-color: white;
    color: var(--dark);
}
img{
    max-width: 100%;
}

.wp-site-blocks {
    width: 100%;
    overflow-x: hidden;
    padding-top: 174px;
}

.wp-site-blocks, .alignfull > *{
    padding-left: var(--wp--preset--spacing--40);
    padding-right: var(--wp--preset--spacing--40);
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 80px;
    margin-block-end: 0;
}

.wp-block-group,
.wp-block-columns {
    padding-top: 4vw;
    padding-bottom: 4vw;
    gap: 6vw;
}

.wp-block-post-content  > :where(.wp-block-group):first-of-type,
.wp-block-post-content  > :where(.wp-block-columns):first-of-type,
.wp-site-blocks > :where(.wp-block-group):first-of-type,
.wp-site-blocks > :where(.wp-block-columns):first-of-type {
    padding-top: 0;
}


.wp-site-blocks > :where(:not(.alignwide):not(.alignfull)) {
    width: 100% !important;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.alignwide {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    position: relative;
}

.block-editor-block-list__layout.is-root-container > .alignfull{
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wp-block-latest-posts__featured-image{
    margin-bottom: 1em;
}

/* Botones */

.wp-block-button__link,
.wpcf7 input[type="submit"] {
  font-family: var(--font);
  background-color: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0.04em;
  transition: all 250ms ease;
  border-radius: 15px;
  padding: 5px 40px;
}

.wp-block-button__link:hover{
    background-color: white;
    color: var(--secondary) !important;
    cursor: pointer;
    opacity: 1;
}

.wp-block-button__link .is-style-outline{
    border: 1px !important;
}

.wp-block-button__link, .has-white-background-color, .has-background, .wp-element-button{
    border-width: 1px !important;
}

/*.wpcf7 input[type="submit"]{
    background-color: white !important;
    color: var(--primary);
}*/

.has-white-background-color {
    padding: 5px 30px !important;
}

.has-white-background-color:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: var(--primary) !important;
    cursor: pointer;
}

.bgwhite{
    background-color: var(--white) !important;
}


/* Enlaces */

a {
    color: currentColor;
    text-decoration: none;
    transition: all 250ms ease;
}
a:hover {
    text-decoration: none;
}
p a:hover, form a:hover{
    color: var(--primary);
}

.overflow-hidden{
    overflow: hidden;
}

/*Header*/

#header {
    width: 100%;
    transition: width 560ms ease;
    background: var(--primary);
    position: fixed;
    /*top: 0px;*/
    /*left: 0px;*/
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    border-bottom: 1px solid var(--secondary);
}

#header.nav-up {
    width: 80px !important;
}

#header #logo { 
    max-width: 450px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.logomobile{
    display: none;
}

#header #logo img {
    width: 100%;
}

#header #logo img:hover {
    opacity: 1;
}
.menumobile{
    display: none;
}

.top-bar{
    padding-top:30px;
    padding-right: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 50px;
}
.top-bar-link{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.divisor {
    display: flex;
    justify-content: space-between;
}

.logo-menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 80px;
    align-items: start;
    padding-bottom: 10px;
}


/* Estilos para el icono de la hamburguesa */

.hamburger {
    position: relative;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000; /* Asegura que el icono esté sobre otros elementos */
}

.hamburger .hamburger-bars div {
    width: 30px;
    height: 2px;
    background-color: #333;
    margin: 6px 0;
}

.hamburger.open .hamburger-bars div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.open .hamburger-bars div:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-bars div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu-menu-principal-container {
    display: none;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid var(--secondary);
}

.menu-menu-principal-container ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0px 25px;
}

.main-navigation {
    position: absolute;
    top: 100%;
    background-color: var(--primary);
    width: fit-content;
    border-radius: 0px 0px 10px 10px;
    left: 5%;
}

.main-navigation .menu-menu-principal-container.open ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary);
    background-image: url('images/curva-partner-logos.svg');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 100px;
    height: 94px;
    margin-top: 30px;
}

/*.partner-logos img.curva {
    height: 100%;
    width: auto;
    display: flex;
    margin-left: -1px;
}*/

.logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-right: var(--wp--preset--spacing--80);
}

.logo-xl {
    max-height: 60px;
    width: 130px;
}

.logo {
    max-height: 50px;
    width: 90px;
}

span.barrita {
    height: 50px;
    width: 1px;
    background-color: #fff;
    margin: 0 10px;
}


.card-home {
    padding: 90px 160px 90px 50px !important;
}

/*BUSCADOR*/

.lupa.open {
    background-color: var(--secondary);
    width: 100%;
    display: flex;
    padding: 20px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99999;
    justify-content: center;
    gap: 20px;
    height: 100%;
}
.lupa{
    display: none;
}

#iconlupa {
    width: 30px;
}

#search{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#inputsearch {
    border: 1px solid white;
    background: var(--secondary);
    border-radius: 10px;
    padding: 15px 100%;
    color: white;
}

.btn-search {
    font-family: var(--font, DM Sans);
    background-color: var(--primary);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    /* border-radius: 0; */
    text-transform: none;
    letter-spacing: 0.04em;
    transition: all 250ms ease;
    border-radius: 15px;
    padding: 10px 50px;
    white-space: nowrap;
}

.close-bars{
    position: absolute;
    right: 25px;
}

.close-bars div {
    width: 30px;
    height: 2px;
    background-color: #fff;
    margin: 6px 0;
}

.close-bars div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.close-bars div:nth-child(2) {
    opacity: 0;
}

.close-bars div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}



/*Pagina del buscador*/

.cuerpo{
    margin: 0 350px;
    padding: 184px 50px;
}

.buscatitle{
    font-style: normal !important;
    color: var(--secondary);
}

.titulobuscador{
    font-size: 24px !important;
    font-weight: 600;
}

.datetimer{
    font-weight: 300 !important;
}
.caja{
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--secondary);
    height: 100% !important;
    width: 650px;
}

.alinear {
    display: flex;
    justify-content: space-between;
}


.imgstyle img{
    border-radius: 15px !important;
    height: 300px !important;
    object-fit: cover;
}

.articulos{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.articulo {
    display: flex;
    justify-content: start;
    gap: 0px;
    align-items: center;
}


/*Formulario de Contacto*/

.wpcf7{
  max-width: 100%;
  width: 100%;
  position: relative;
}

.wpcf7 input:not(.wpcf7-submit),.wpcf7 textarea {
  background-color: transparent;
  border: 1px solid var(--secondary);
  width: 100%;
  font-size: 15px;
  font-weight: 300;
  color: var(--secondary);
  padding: 5px 15px;
  border-radius: 15px;
}

.wpcf7 .form-dark input:not(.wpcf7-submit),.wpcf7 .form-dark textarea {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.wpcf7 .last{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.wpcf7 textarea{
  max-height: 150px;
  max-width: 100%;
}

.wpcf7 .last > p{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.wpcf7 .wpcf7-form-control-wrap{
  width: 100%;
}

.wpcf7 .wpcf7-acceptance > span{
  margin-left: 0;
}

.wpcf7 .wpcf7-acceptance > span label {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

[type="checkbox"], [type="radio"], legend {
  padding: 0;
  margin-top: 15px;
}
.wpcf7 .wpcf7-acceptance > span,
.wpcf7 .wpcf7-acceptance > span label a{
  font-style: regular;
  color: var(--secondary);
}

.wpcf7 .form-dark .wpcf7-acceptance > span,
.wpcf7 .form-dark .wpcf7-acceptance > span label a{
  color: var(--primary);
}

.wpcf7 input[type="checkbox"]{
  width: 20px !important;
  height: 20px !important;
}

.wpcf7 input[type="submit"]:disabled{
  pointer-events: none;
  opacity: 0.5;
}

.wpcf7 .submitting > p{
  opacity: 0.2;
}

.wpcf7 .wpcf7-spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  margin: 0;
}

.wpcf7 .wpcf7-response-output {
  background-color: white;
  color: white;
  margin: 25px 0 0 0;
  border: none;
  padding: 15px 20px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}

.wpcf7 .sent .wpcf7-response-output {
    background-color: green;
    border-color: green !important;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
}

.wpcf7 .invalid .wpcf7-response-output {
    background-color: #d34c4c;
    border-color: #d34c4c !important;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
}

.wpcf7 .wpcf7-not-valid{
  border-color: #d34c4c !important;
}

.wpcf7 .wpcf7-not-valid-tip{
  display: none !important;
}

.wpcf7-select {
    background-color: transparent;
    border: 1px solid var(--secondary);
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 15px;
}

.form-dark .wpcf7-select {
    border: 1px solid var(--primary);
    color: var(--primary);
}
    
#responsive-form{
    margin:0 auto;
    width:100%;
}

.contact-form-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.contact-form-column {
    flex: 1;
    min-width: 200px;
    max-height: 45px;

}

.btn-form{
    display: flex;
    justify-content: end;
}

.full-textarea {
  width: 100%;
}

.mapa iframe {
    height: 80vh;
}

.mapaesquina {
    /*border: 1px solid #078bff;*/
    position: absolute;
}

/*.place-card .place-card-large{
  display: block !important;
  position: fixed !important;
  bottom: 10px !important;
  background: white;
  right: 57px !important;
}*/
.contador{
    display: flex !important;
}


/*FOOTER*/

.fonfoot {
    position: block;
    bottom: 0;
    display: block;
    margin: 0px auto;
    width: 100%;
}

.col-info {
    background: var(--primary);
    display: flex;
    padding: 60px 80px;
    justify-content: space-around;
    align-items: start;
}

.column-format {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.column-format-sp{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: end;
    margin-top: 5%;
}

.col-logos {
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    background: var(--secondary);
    padding: 15px;
}

.partner-logos-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary);
}

.partner-logos-footer img.curva{
    height: 100%;
    width: auto;
}



/*SLIDER*/

body .wp-block-post-template.is-layout-grid.swiper-wrapper{
    gap: 0;
}

body .swiper-wrapper{
    display: flex;
    justify-content: start;
    align-items: start;
}

body .swiper-wrapper.is-layout-grid li{
    max-width: 470px;
}


.carousel-dos{
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}

.carousel-dos .swiper-slide{
    transition: all 400ms ease;
    opacity: 0;
    margin-block-start: 0;
} 

.carousel-dos .swiper-slide.swiper-slide-active,
.carousel-dos .swiper-slide.swiper-slide-next,
.carousel-dos .swiper-slide.swiper-slide-next + li{
    opacity: 1;
}

.carousel-dos .swiper-button-next, 
.carousel-dos .swiper-button-prev {
    position: absolute;
    top: calc(100% - 0px);
    width: 50px;
    height: 50px;
    background-color: var(--white);
    margin-left: 25px;
    margin-right: 25px;
    z-index: 0;
    display: flex;
    align-items: initial;
}

.carousel-dos .swiper-button-prev {
    left: 0;
}

.carousel-dos .swiper-button-next{
    right: 0;
}

.carousel-dos .swiper-button-next:hover, .carousel-dos .swiper-button-prev:hover {
    background-color: white;
}

.carousel-dos .swiper-button-next:after,
.carousel-dos .swiper-button-prev:after{
    font-size: 25px !important;
    color: var(--black);
    content: url(/wp-content/uploads/2025/06/icon-flecha-negra.svg);
}

.swiper-button-prev:after{
    transform: translateY(-50%) rotate(180deg);
}


.carousel-dos .swiper-button-next:hover:after,
.carousel-dos .swiper-button-prev:hover:after{
    color: var(--primary);
}


/*Página blog*/

/*btncardblog*/
.iconflechablog {
    background-image: url(/wp-content/uploads/2025/06/icon-flecha-sobre-amarillo.svg);
    background-repeat: no-repeat;
    margin: 0;
    padding: 8px;
    padding-right: 25px;
    padding-bottom: 10px;
    opacity: 1;
}

.iconflechablog:hover {
    background-image: url(/wp-content/uploads/2025/06/icon-flecha-sobre-negro.svg);
    background-repeat: no-repeat;
    margin: 0;
    padding: 8px;
    padding-right: 25px;
    padding-bottom: 10px;
    color: var(--primary);
    opacity: 1;
}

.single-post-container{
    margin: 0 auto;
    padding: 174px 0px;
}

.wp-block-list{
    list-style: none;
    display: inline-block;
    font-weight: 500;
}

.wp-block-list li a{
    font-family: var(--font);
    background-color: var(--primary);
    color: var(--secondary);
    /* border-radius: 0; */
    text-transform: none;
    letter-spacing: 0.04em;
    transition: all 250ms ease;
    border-radius: 15px;
    padding: 5px 5px;
}

.wp-block-list li a:hover{
    background-color: var(--white);
    color: var(--secondary);
}


.post-thumbnail img {
    height: 470px;
    border-radius: 15px;
    width: 900px;
}

.post-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 50px 150px;
}

.post-excerpt{
    display: flex;
    flex-direction: column;
    max-width: 50%;
}
.post-content{
    /*margin: 0 auto;*/
    padding: 50px 150px;
    max-width: 50%;
}


.listacolab {
    list-style: disc !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*TOGGLE*/

.documentos{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.documentos .seccion{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    overflow: hidden;
}

.documentos summary{
    background-color: var(--primary);
    position: relative;
    cursor: pointer; 
    padding: 10px 20px;
    font-size: 18px;
}

.wp-block-toggles summary{
    position: relative;
    cursor: pointer; 
    padding: 10px 20px;
    font-size: 18px;
}

.documentos .seccion ul{
    display: none;
    margin: 0;
    padding: 0;
}

.documentos ul li,
.wp-block-toggles summary{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--black);
    font-size: 14px;
    padding-left: 10px;
}

.documentos summary::after,
.wp-block-toggles summary::after {
  content: url(/wp-content/uploads/2025/06/icon-desplegable-abajo.svg);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease-in-out;
}

.documentos .seccion.active summary::after, 
.wp-block-toggles summary::after {
  transform: translateY(-50%) rotate(180deg); 
}

.wp-block-toggles {
  overflow: hidden; 
}



.iconarchivo{
    width: 20px;
}

.mapachuli {
    border-radius: 15px;
    border: 0;
}


/*EVENTO*/
.single-event-container {
    padding-top: 174px;
    margin: 0 auto;
}

.event-header {
    background: var(--primary);
    padding: 25px 150px;
}

.event-back {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 150px;
}

.event-column {
    display: flex;
    padding: 20px 150px;
    gap: 50px;
}

.event-content{
    width: 50%;
}

.share-buttons {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}


.share-buttons li{
    padding: 5px;
}
.share-buttons li:hover {
    background-color: var(--primary);
    padding: 5px;
}

.share-buttons li img{
    width: 20px;
    height: auto;
}

.fb-btn{
    width: 12px !important;
}

.event-more {
    padding: 50px 150px;
    width: 50%;

}
.event-card {
    background-color: var(--white);
    display: flex;
    align-items: center;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    text-decoration: none;
    color: var(--secondary);
    transition: background 0.3s ease;
}

.event-card:hover {
    background-color: var(--primary);
}

.event-date {
    width: 80px;
    text-align: center;
    border-right: 1px solid #202620;
    margin-right: 20px;
    padding-right: 20px;
    font-family: sans-serif;
}

.event-day {
    font-size: 35px;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.event-month {
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    display: block;
    margin-top: 5px;
}

.event-info {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
}

.event-title {
    display: block;
}

.event-arrow {
    font-size: 30px;
    font-weight: bold;
}

/*CONVOCATORIA*/

.convocatoria-header {
    background: var(--primary);
    padding: 25px 150px;
}

.convocatoria-back {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 150px;
}

.convocatoria-column {
    display: flex;
    padding: 20px 150px;
    gap: 50px;
}

.convocatoria-content{
    width: 100%;
}

/*Repositorio*/

#repositorio .documentos{
    padding-top: 100px;
}
