/*
Theme Name: MeteoAds
Description: Tema hijo de Twenty Twenty-Five
Author: Adore
Template: twentytwentyfive
Version: 1.0
Text Domain: meteoads
*/


main {
    margin-top: 0px !important;
    font-weight: 400;
}
.center .wp-block-column {
    margin: auto;
}
.green {
    color: #36B372;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.portada  ul {
    margin-top: 0 !important;
}
.portada .wp-block-media-text__media img {
/*     height: auto;
    width: auto;
    left: -125px;
    position: relative; */
}
.bloque-2 p {
    color: #5F5F5F;
    margin: 0;
}
.bloque-3 img {
    height: 84px;
}
.meteo-button a:where(.wp-block-button__link) {
    border-radius: 8px;
    padding: 10px 20px !important;
    border: 1px solid #F5D57A;
    font-size: 24px;
    vertical-align: text-bottom;
    font-weight: 400;
}
.meteo-card {
    border-radius: 8px !important;
    padding: 1rem !important;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.2);
}
.meteo-card figure {
    background-color: #D9D9D9;
    border-radius: 50%;
    padding: 1rem;
    width: 40px;
    margin-bottom: 16px;
}
.trigger-card figure {
    width: 56px;
    padding: 16px;
    margin: auto;
}
.trigger-card p {
    margin: 0;
}
.trigger-card {
    background: radial-gradient(circle at center 59px, transparent 39px, transparent 39px, #f5d57a 40px);
    border-radius: 8px !important;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav.custom-language-nav ul.wp-block-navigation__submenu-container li {
 border-bottom: 1px solid #C5C5C5 !important;
}
.meteo-button a:where(.wp-block-button__link) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 21px;
    text-decoration: none;
    justify-content: space-between;
}
.with-arrow a::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor; /* Toma el color del texto */
    -webkit-mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-212-2.svg');
    mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-212-2.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.portada .with-arrow a::after {
    width: 24px;
    height: 24px;
}

.meteo-card-xl {
    border-radius: 8px !important;
    min-height: 186px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.2);
}
.meteo-card-xl h2 {
    background-color: #D9D9D9;
    border-radius: 50%;
    padding: 20px;
    width: 24px;
    height: 24px;
    text-align: center;
    margin: auto;
    font-size: 24px !important;
}
.lightweight-accordion-title {
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.2);
    outline-width: none;
    outline-style: none;
}
.lightweight-accordion-title {
    list-style: none; /* Para quitar el marcador en algunos navegadores */
}

.lightweight-accordion-title::-webkit-details-marker {
    display: none; /* Para navegadores basados en WebKit (Chrome, Safari) */
}
.lightweight-accordion figure {
    background-color: #D9D9D9;
    border-radius: 50%;
    padding: 1rem;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}
.lightweight-accordion .lightweight-accordion-title {
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightweight-accordion :where(.is-layout-flow) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.lightweight-accordion-title::after {
    content: "";
    display: inline-block;
    width: 40px; /* Ajusta según necesites */
    height: 40px;
    background-color: #E3EFFD; /* Círculo rojo */
    border-radius: 50%; /* Hace que sea un círculo */

    /* Insertamos el SVG como fondo */
    background-image: url('/wp-content/uploads/sites/3/2025/02/Ico_chevron_up.svg');
    background-size: 50%; /* Ajusta el tamaño del icono */
    background-repeat: no-repeat;
    background-position: center;

    transform: rotate(180deg);
}

details[open] .lightweight-accordion-title::after {
    transform: rotate(0deg);
}
h2.title  {
    margin-bottom: 24px;
    margin-top: 0;
}
.border-top-blue{
    border-top: 1px solid #005D99; 
    padding-top: 32px;
}

header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 9999;
}
.meteoads-form {
    margin: auto;
}
.meteoads-form p {
    text-align: left;
    color: #0C498D;
    font-size: 20px;
    font-weight: 400;
    font-family: 'manrope';
}
.wpcf7-form-control-wrap input {
    border: 1px solid #0C498D;
    width: 100%;
    font-size: 16px;
    margin-top: 8px;
    padding: 8px 0 8px 16px;
    font-weight: 400;
    font-family: 'manrope';
}
.wpcf7-form-control-wrap label {
   /*  padding: 0; */
}
.wpcf7-form-control-wrap textarea {
    border: 1px solid #0C498D;
    width: 100%;
    font-size: 16px;
    margin-top: 8px;
    padding: 8px 0 8px 16px;
    font-weight: 400;
    font-family: 'manrope';
}
.wpcf7-form-control.wpcf7-submit {
    background-color: #f5d57a;
    border:none;
    border-radius: 8px;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #0C498D;
    font-size: 18px;
    font-weight: 500;
    font-family: 'manrope';
    width: 220px;
}
footer {
    font-weight: 400;
}
footer .with-arrow a {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.footer-lang-button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-3.svg');
    mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-3.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    margin-right: 4px;
}
.grecaptcha-badge { 
    visibility: hidden;
}
.page-id-65 .grecaptcha-badge {
    visibility: visible !important;
}
.lightweight-accordion .lightweight-accordion-body .wp-block-button__link {
    cursor: default !important;
}
.cuadricula-conections  {
    text-align: center;
}
nav.custom-language-nav {
        color: #005D99;
        border-radius: 8px;
        margin-right: 16px;
        line-height: 20px;
        display: flex;
        position: relative;
        z-index: 100;
    }

    nav.custom-language-nav ul {
        font-weight: 400;
        right: -50% !important;
        top: 40px !important;
        border-radius: 8px;
        padding: 0 16px 16px 16px;
        height: max-content !important;
        color: #005D99 !important;
        height: auto;
        min-width: 200px;
        opacity: 1;
        overflow: visible;
        visibility: visible;
        width: auto;
        left: auto;
        align-items: normal;
        background-color: inherit;
        display: flex;
        flex-direction: column;
        position: absolute;
        z-index: 2;
        transition: opacity .1s linear;
        border: 1px solid #00000026;
    }
    nav.custom-language-nav ul li {
        align-items: center;
        background-color: inherit;
        display: flex;
        position: relative;
        border-bottom: 1px solid #C5C5C5 !important;
    }
    nav.custom-language-nav ul li:not(:last-child) {
        margin-bottom: 3px;
    }
    nav.custom-language-nav ul li a {
          color: #005D99 !important;
        display: flex;
        flex-grow: 1;
        padding: .5em 1em;
    }
    nav.custom-language-nav ul li a span {
        display: flex;
        flex-grow: 1;
    }

    .custom-language-nav svg {
        display: inline-block;
        stroke: currentColor;
        height: inherit;
        margin-top: .075em;
        width: inherit;
        margin-left: 4px;
        pointer-events: none;
    }
    .custom-language-nav button {
        display: flex;
        align-items: center;
        background-color: initial;
        border: none;
        color: currentColor;
        font-family: inherit;
        font-size: inherit;
        font-style: inherit;
        font-weight: inherit;
        letter-spacing: inherit;
        line-height: inherit;
        text-align: left;
        text-transform: inherit;
    }
/*DESKTOP*/
@media (min-width: 768px) {
    .meteoads-form {
        width: 660px;
    }
    .custom-language-nav > button::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-color: currentColor;
        -webkit-mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-3.svg');
        mask-image: url('/wp-content/uploads/sites/3/2025/02/Group-3.svg');
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        margin-right: 4px;
    }
    /* Desktop: muestra idioma, oculta hamburguesa */
    .custom-language-nav .lang-label {
        display: inline;
    }
    .custom-language-nav .hamburger-icon {
        display: none;
    }
    
    .trigger-card-group {
        gap: 40px;
    }
    .gspb_slidingPanel{
        display: none !important;
    }
    .desktop-hide {
        display: none !important;
    }
    .meteo-card-xl p {
        min-height: 75px;
    }
    .footer-column {
        gap: 16px;
    }
    .footer-icons {
        display: flex !important;
        gap: 0px;
    }
    .footer-icons figure {
        border-right: 1px solid #87a7cb;
        padding-right: 24px;
        padding-left: 24px;
        padding-bottom: 6px;
    }
    .footer-icons figure:last-child{
        border-right: none;
    }
    .header-row, .portada .wp-block-media-text__content {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
    .portada .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 16px !important;
    }

}
/*MOBILE*/
@media (max-width: 768px) {
    .custom-language-nav .wp-block-navigation__submenu-icon {
        display: none;
    }
    .custom-language-nav .contact-menu-btn {
        display: block !important;
        margin-top: 12px;
        text-align: center;
        font-size: 18px;
    }
    .custom-language-nav .contact-menu-btn a{
        display: block;
    }
     nav.custom-language-nav ul li a {
       padding-left: 0;
    }
      nav.custom-language-nav .contact-menu-btn a {
       padding: .5em 1em;
       font-size: 18px !important;
    }
    nav.custom-language-nav ul li:last-child {
       border-bottom: none !important;
    }
    .contact-title {
       padding-left: 0 !important;
    }
    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
    }
    .bloque-2 p strong {
        font-size: 20px;
    }
    .bloque-2 h2 {
        padding-right: 0 !important;
    }
    .gspb_toggle-id-gsbp-9117f62 .gs-tgl-trigger,
    .gspb_toggle-id-gsbp-0340dfe .gs-tgl-trigger {
        font-size: 18px !important;
    }
    .wpcf7-form-control-wrap input, 
    .wpcf7-form-control-wrap textarea {
        max-width: fit-content;
    }
    .section-weather p {
        font-size: 24px !important;
    }
    .mobile-hide, .portada .wp-block-media-text__media, .section-weather .wp-block-media-text__media {
        display: none !important;
    }
    .wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
        width: calc(100% - var(--wp--style--block-gap, .5em)* .25);
    }
    h2, p {
        text-align: center;
    }
    .text-left {
        text-align: left;
    }
    .portada .wp-block-media-text__content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .wp-block-columns {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .portada .wp-block-button {
        margin: auto;
     }
    .meteo-card-xl h2,
    .section-our-trigger .wp-block-button,
    .bloque-2 .wp-block-image {
        margin: auto;
        margin-bottom: 16px;
    }
    .meteo-card, .meteo-card-xl {
        margin-bottom: 32px !important;
    }
    .meteo-card-xl {
        min-height: auto;
    }
    .section-our-trigger .cards-group .wp-block-group.is-layout-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
        gap: 40px;
        padding-right: 60px;
        padding-left: 60px;
        align-items: center;
    }
    .cuadricula-conections  {
        grid-template-columns: repeat(3, 1fr); /* Dos columnas */
        text-align: center;
        padding-right: 40px;
        padding-left: 40px;
        gap: 30px;
    }
    .pile > .wp-block-column  {
        margin-bottom: 16px;
        
    }
    .pile .wp-block-column figure {
        text-align: center;
    }
    .wp-block-site-logo {
        width: 136px;
    }
    footer p {
        text-align: center !important;
    }
    .footer-contact p {
        text-align: left !important;
    }
    .footer-contact figure {
      float: none !important;
      margin-inline-start: 0 !important;
      margin: auto !important;
    }
    footer {
        text-align: center;
    }
    footer .with-arrow {
        margin: auto !important;
        margin-bottom: 32px !important;
    } 
    footer .meteo-button {
        margin: auto !important;
        margin-bottom: 16px !important;
    }
    footer h2 {
        text-align: center !important;
    }
    footer .with-arrow a {
        padding: 20px;
        width: 200px !important;
        margin: auto;
        font-size: 20px !important;
    }
    footer .m_center {
        margin: auto;
        display: block;
    }
    footer p.m_center{
        margin-bottom: 16px;     
    }
    .footer .footer-icons {
        padding-left: 32px !important;
        padding-right: 32px !important;
        display: flex;
        flex-wrap: wrap;
        gap: 24px 0;
    }
    .footer-icons figure {
        border-right: 1px solid #87a7cb;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 6px;
    }
    .footer-icons figure:last-child{
        border-right: none;
    }
    footer  .wp-block-navigation__container:only-child, .wp-block-page-list:only-child {
        flex-direction: column;
    }
    :root :where(.wp-element-button:focus, .wp-block-button__link:focus) {
         outline-color: white;
    }
    .gspb_button-id-gsbp-03967ef .gspb_slidingPanel {
        right: 0;
        margin-right: 40px;
        top: 50px !important;
    }
    .gspb_button-id-gsbp-03967ef .gspb_slidingPanel-inner .wp-block-button__link{
       font-size: 18px !important;
    }
    .gspb_button-id-gsbp-03967ef .gspb_slidingPanel-inner {
        padding: 16px 8px !important;
    }
    .gspb_button-id-gsbp-03967ef .gspb_slidingPanel-wrap {
        width: 160px !important;
    }
    .gspb_button-id-gsbp-03967ef .meteo-button a {
        padding: 10px 20px !important;
        margin-top: 32px;
    }
    
    .gspb_slidingPanel-inner nav .wp-block-navigation-item {
        width: 100%;
        border-bottom: 1px solid #C5C5C5;
        color: #0C498D;
        padding-bottom: 8px;
    }
    .gspb_slidingPanel-inner nav ul {
        width: 100%;
    }
    .footer-contact p, .footer-contact h2 {
        text-align: left;
    }
    .lightweight-accordion p {
        text-align: left;
        margin: 0;
    }
    .lightweight-accordion p.has-text-align-center {
        text-align: center;
    }
    .lightweight-accordion p {
        font-size: 18px !important;
        font-style: normal;
        line-height: normal !important;
    }
    .gspb_slidingPanel-inner strong {
        font-size: 24px !important;
    }
    .contact-title  {
        font-size: 36px !important;
    }
    .lightweight-accordion .gspb_slidingPanel-inner img {
        height: auto;
        width: 100%;
    }
    .gspb_slidingPanel .gspb_slidingPanel-close {
        border-radius: 8px;
    }
    .lightweight-accordion .gspb_slidingPanel-inner figure {
        margin: 0 auto;
    }
    .trigger-card {
        padding: 14px 10px 16px 10px;
        width: 134px;
        height: 120px;
        background: radial-gradient(circle at center 48px, transparent 31px, transparent 31px, #f5d57a 32px);
    }
    .trigger-card figure {
        width: 40px;
        padding: 15px;
    }
    .trigger-card p {
        margin: auto;
        font-size: 18px;
    }
    .section-our-trigger .cards-group .wp-block-group.is-layout-grid {
        justify-items: center;
    }
    .footer strong {
        font-size: 24px;
    }
    .lightweight-accordion .gspb-buttonbox-icon {
        background-color: #D9D9D9;
        border-radius: 50%;
        padding: 1rem;
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    .lightweight-accordion a.gspb-buttonbox {
        width: 100%;
        padding: 16px;
    }
    .lightweight-accordion-body {
        margin-top: 20px;
    }

    .accordion-mobile{
        margin-top: 32px;
    }
    .accordion-mobile.first {
        margin-top: 56px;
    }
    .accordion-mobile:last-child {
         margin-block-end: 56px;
    }
    header  .has-global-padding {
        padding-left: 16px;
        padding-right: 16px;
    }
    .trigger-accordion-subtitle a {
        padding: 20px;
        cursor: none;
    }
    .gs-toggler-wrapper.gs-toggler-open > p {
        height: auto;
        overflow: auto;
    }
    .gs-toggler-wrapper:not(.gs-toggler-open) > p {
        height: 100px;
        overflow: hidden;
    }
}



/* Mobile: oculta idioma, muestra hamburguesa */
@media (max-width: 768px) {
    .custom-language-nav .lang-label {
        display: none;
    }
    .custom-language-nav .hamburger-icon {
        display: inline-flex;
        align-items: center;
        margin-right: 4px;
    }
    .custom-language-nav .wp-block-navigation__submenu-icon {
        margin-left: 4px;
    }
}
