/* begin JIRA MNTC-5 */

/* Accesibilidad — etiqueta oculta visualmente pero disponible para lectores de
   pantalla (labels de inputs sin label visible: buscador, newsletter…). */
.a11y-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.news-box .form-control {
    background: no-repeat;
    border: none;
    border-bottom: 1px solid #ffffff;
    width: 100%;
    color: #ffffff;
    font-size: 18px;
    height: 50px;
    line-height: 20px;
    font-family: 'Inter-Bold';
    border-radius: 0;
    padding: 0px 0px;
}

.news-box .form-control::placeholder {
    color: inherit;
    opacity: 0.7;
}

.news-rht .frm-input.checkbox {
    position: relative;
}

.news-rht .frm-input.checkbox input {
    height: auto;
    width: auto;
    visibility: visible;
    opacity: 0;
    margin: 0;
    bottom: 0;
    left: 1px;
    top: 1px;
}

.news-rht .frm-input.checkbox label::after {
    transition: all 350ms ease;
}

.news-rht .frm-input.checkbox input:focus + label::after {
    box-shadow: 0 0 5px #fff;
}

.news-rht button:focus {
    background-color: #FFFFFF;
    color: #004C01;
}

.mobile-menu {
    padding-top: 130px;
}

/* La barra de admin de WP empuja el header (que va en flujo) 32/46px hacia abajo,
   pero .mobile-menu es fixed y no se mueve: el header acababa tapando la primera
   fila del acordeón ("Descubre"), que solo respondía al clic sobre el texto.
   Se compensa el padding con la altura real de #wpadminbar en cada breakpoint. */
body.admin-bar .mobile-menu {
    padding-top: 162px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .mobile-menu {
        padding-top: 176px;
    }
}

/* accordion.js engancha el click en TODOS los .acc_head, y el .acc_head que abre
   un submenú envuelve la lista entera. Como el tap-highlight del móvil pinta el
   ancestro clicable más cercano, al tocar un enlace parpadeaba el bloque completo.
   Se anula ahí y se deja el flash solo sobre el enlace pulsado. */
.mobile-menu .menu-accordion div.acc_head:has(ul) {
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu .menu-accordion a.acc_head {
    -webkit-tap-highlight-color: rgba(0, 76, 1, 0.15);
}

body.inner-mobile {
    overflow-y: hidden;
}

.contact-form .frm-input.checkbox > div {
    position: relative;
}

.contact-form .frm-input.checkbox input {
    visibility: visible;
    width: auto;
    height: auto;
    margin: 0;
    bottom: 0;
    left: 2px;
    opacity: 0;
}

.contact-form .frm-input.checkbox label::after {
    transition: all 350ms ease;
}

.contact-form .frm-input.checkbox input:focus + label::after {
    box-shadow: 0 0 5px;
}

.contact-form button:focus {
    background: linear-gradient(90deg, #2FAD66 0%, #004F11 100%);
}

/* CF7: el recuadro de estado (borde naranja error / verde éxito) lo pinta el CSS por
   defecto de Contact Form 7 sobre .wpcf7-response-output. Los .frm-input van float:left
   sin clearfix (style.css:1060), así que ese div (en flujo, sin float) sube arriba y su
   borde acaba envolviendo todo el formulario. clear:both lo baja al final del formulario
   como una sola línea, de modo que el recuadro rodea SOLO el mensaje de respuesta. */
.contact-form .wpcf7-response-output {
    clear: both;
}

.contact-form .form-box1 .form-control {
    width: 100%;
    color: #444444;
    font-family: 'Inter-Regular';
    padding: 10px 20px 10px;
    height: 50px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    transition: all .5s ease;
    background: rgba(255, 255, 255, 1);
    letter-spacing: -0.3px;
}

.contact-form .form-box1 .form-control:focus {
    border: 1px solid #004C01;
}

.contact-form .form-box1 textarea.form-control {
    resize: none;
    border-radius: 6px;
    height: 130px;
    line-height: 22px;
    padding: 15px 20px 10px;
    color: #333;
}

.form-box1 p {
    margin: 0;
}

.floating-label-group:has(.form-control:focus) .floating-label,
.floating-label-group:has(.form-control[placeholder]:not(:placeholder-shown)) .floating-label{
    top: 5px;
    left: 20px;
    font-size: 12px;
    line-height: 12px;
}

.form-box1 input[type="submit"] {
    width: 200px;
    height: 56px;
    border-radius: 28px;
    border: none;
    outline: 3px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(90deg, #004F11 0%, #2FAD66 100%);
    margin-bottom: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
    font-family: 'Inter-Bold';
    letter-spacing: 0px;
    padding: 0 20px 0 20px;
    transition: all 0.5s ease;
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.form-box1 input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-box1 .frm-input.checkbox .wpcf7-acceptance .wpcf7-list-item {
    float: none;
    margin: 0;
}

.form-box1 .frm-input.checkbox .wpcf7-acceptance .wpcf7-list-item label:has(input:focus)::after {
    box-shadow: 0 0 5px;
}

.form-box1 .frm-input.checkbox .wpcf7-acceptance .wpcf7-list-item label:has(input:checked)::before {
    background: rgba(0, 76, 1, 0.5);
}

.form-box1 .frm-input.checkbox .wpcf7-acceptance .wpcf7-list-item label > .wpcf7-list-item-label {
    color: #000;
    cursor: pointer;
    font-family: 'Inter-Regular';
    font-size: 14px;
    position: relative;
    float: left;
    width: auto;
    line-height: 26px;
    margin-bottom: 0px;
    text-align: left;
}

.search-det {
    overflow-y: auto;
}

#section01 {
    float: left;
    width: 100%;
}

.trobat-sec .search-count {
    width: 100%;
    float: left;
    font-family: 'Inter-Regular';
    color: #242424;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.3px;
    margin-bottom: 25px;
}

.trobat-sec .search-count strong {
    font-family: 'Inter-Black';
}

.eventos-main .eventos-img img {
    height: auto;
    aspect-ratio: 4 / 3;
}

.pagination ul {
    column-gap: 5px;
}

.pagination ul > li .page-numbers {
    color: #282828;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 100%;
    font-family: 'Inter-Regular';
    font-size: 16px;
    letter-spacing: -0.33px;
    transition: all .5s ease;
}

.pagination ul > li .page-numbers.prev {
    width: fit-content;
    margin-right: 10px;
}

.pagination ul > li .page-numbers.next {
    width: fit-content;
    margin-left: 10px;
}

.pagination ul > li .page-numbers.dots {
    width: fit-content;
}

.pagination ul > li .page-numbers.current,
.pagination ul > li a.page-numbers:hover,
.pagination ul > li a.page-numbers:focus {
    background: #004C01;
    color: #FFFFFF;
}

.pagination ul > li a.page-numbers.prev:hover,
.pagination ul > li a.page-numbers.prev:focus,
.pagination ul > li a.page-numbers.next:hover,
.pagination ul > li a.page-numbers.next:focus {
    opacity: 0.5;
    filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(2067%) hue-rotate(85deg) brightness(92%) contrast(103%);
    background: transparent;
    color: #282828;
}

/* Los selectores del toggle cuadrícula/mapa se comparten entre el bloque
   "buscador" (.filter-rutea) y el bloque "listado-post" (.js-listado), que lo
   renderiza sin formulario de filtros. */
.filter-rutea .view-tab ul.tab-list li .grid-list,
.js-listado .view-tab ul.tab-list li .grid-list {
    background: url("../../resources/v1/images/ico-grid-selected.svg") no-repeat scroll 0 0;
    width: 25px;
    height: 25px;
    background-size: cover;
    border: none;
    cursor: pointer;
    padding: 0;
}

.filter-rutea .view-tab ul.tab-list li .map-list,
.js-listado .view-tab ul.tab-list li .map-list {
    background: url("../../resources/v1/images/ico-map-selected.svg") no-repeat top 0px center;
    width: 29px;
    height: 26px;
    background-size: cover;
    border: none;
    cursor: pointer;
    padding: 0;
}

.filter-rutea .view-tab ul.tab-list li button,
.js-listado .view-tab ul.tab-list li button {
    opacity: 0.5;
}

.filter-rutea .view-tab ul.tab-list li button:hover,
.filter-rutea .view-tab ul.tab-list li button:focus,
.js-listado .view-tab ul.tab-list li button:hover,
.js-listado .view-tab ul.tab-list li button:focus {
    opacity: 0.7;
}

.filter-rutea .view-tab ul.tab-list li button.current,
.js-listado .view-tab ul.tab-list li button.current {
    opacity: 1;
}

/* En el listado el toggle va sin filtros: se alinea a la derecha y separado
   del listado que tiene debajo. */
.js-listado .map-filter {
    justify-content: flex-end;
    margin-bottom: 10px;
}

.trobat-sec .tab-content.tab-grid-content {
    padding: 25px 0;
}

/* Si el listado es el último bloque de la página, necesita más aire antes del
   footer. El banner .hm-area-ban (template-parts/footer-banner.php) es
   condicional, así que se contemplan los dos casos: con banner y sin él. */
.trobat-sec:has(+ .hm-area-ban) .tab-content.tab-grid-content,
.trobat-sec:has(+ footer) .tab-content.tab-grid-content {
    padding-bottom: 50px;
}

.pagination:empty {
    display: none;
}

.pop-img img {
    display: block;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1.5;
}

.maresme-map .pop-cont a {
    text-transform: uppercase;
}

/* La infowindow de Google posa overflow:scroll inline (2 eixos) → treu el scroll
   horitzontal i deixa només el vertical quan el contingut sobreïx. Així la card
   ocupa tota l'amplada disponible. */
.gm-style .gm-style-iw-d {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.iglesia-sec {
    padding: 10px 0 40px;
}

.iglesia-sec p {
    width: 100%;
    float: left;
    color: #333333;
    font-family: 'Inter-Light';
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0px;
    margin-bottom: 0px;
}

.google-maps-seed {
    float: left;
    width: 100%;
    height: 557px;
}

/* Bloque "listado-post" con vista mapa: es multi-instancia, así que el
   contenedor lleva id único y no le aplica la regla .maresme-map #map de la
   maqueta (la visibilidad de pestañas ya la da .trobat-sec .tab-content). */
.js-listado .maresme-map .listado-map {
    float: left;
    width: 100%;
    height: 777px;
}

.arribar-list ul > li .arribar-info ul > li a {
    padding-left: 0;
}

/* Enllaços dins de párrafos del contenido (wysiwyg) amb format enllaç, igual
   que els de la llista (.arribar-info ul li a). El mockup només estila els de
   la llista; aquí afegim els dels <p>. */
.arribar-list ul > li .arribar-info p a {
    font-family: 'Inter-Bold';
    text-decoration: underline;
    color: #2FAD66;
    transition: all 0.4s ease;
}
.arribar-list ul > li .arribar-info p a:hover,
.arribar-list ul > li .arribar-info p a:focus {
    color: #000000;
}

.arribar-list ul > li .arribar-info[data-list-type] ul > li {
    padding-left: 35px;
}

.arribar-list ul > li .arribar-info[data-list-type="plane"] ul > li {
    background: url(../../resources/v1/images/ico-plane-comollegar.svg) no-repeat 0 0px;
}

.arribar-list ul > li .arribar-info[data-list-type="train"] ul > li {
    background: url(../../resources/v1/images/ico-tren-comollegar.svg) no-repeat 0 0px;
}

.arribar-list ul > li .arribar-info[data-list-type="bus"] ul > li {
    background: url(../../resources/v1/images/ico-coche-comollegar.svg) no-repeat 0 3px;
}

/* ==========================================================================
   Nota legal escrita des de l'editor (the_content / WYSIWYG)
   Els estils de la maqueta (resources/v1/css/style.css:1035-1047) estan lligats
   a .nota-list-cnt / .table-wrap, que el bolcat pla de l'editor no genera. Aquí
   els repliquem per als tags plans dins .nota-content perquè la plantilla
   "Página Legal" (page-templates/legal.php) es vegi com la maqueta nota-legal.html.
   ========================================================================== */
.nota-sec .nota-content h2 { /* = .nota-sec h2 */
    width: 100%; float: left; color: #333333; font-family: 'Inter-Black';
    font-size: 45px; line-height: 45px; letter-spacing: -0.18px;
    padding-bottom: 15px; border-bottom: 2px solid #333333; margin-bottom: 20px;
}
.nota-sec .nota-content h3 { /* = .nota-list-cnt h3 */
    width: 100%; float: left; color: #333333; font-family: 'Inter-Bold';
    font-size: 30px; line-height: 30px; letter-spacing: -0.12px; margin-bottom: 20px;
}
.nota-sec .nota-content h5 { /* = .nota-sec h5 (intro de bloc) */
    width: 100%; float: left; color: #333333; font-family: 'Inter-Light';
    font-size: 16px; line-height: 26px; letter-spacing: -0.2px; margin-bottom: 30px;
}
.nota-sec .nota-content p { /* = .nota-list-cnt p */
    width: 100%; float: left; color: #333333; font-family: 'Inter-Light';
    font-size: 16px; line-height: 26px; letter-spacing: -0.2px; margin-bottom: 20px;
}
.nota-sec .nota-content ul { /* = .nota-list-cnt ul */
    width: 100%; float: left; display: flex; flex-wrap: wrap; row-gap: 10px;
    margin-left: 25px; margin-bottom: 20px;
}
.nota-sec .nota-content ul li { /* = .nota-list-cnt ul li */
    flex: 0 1 100%; padding-left: 25px; color: #333333; font-family: 'Inter-Light';
    font-size: 16px; line-height: 26px; letter-spacing: -0.2px; position: relative;
}
.nota-sec .nota-content ul li::before { /* punt verd = .nota-list-cnt ul li::before */
    position: absolute; content: ""; left: 0; top: 8px; width: 7px; height: 7px;
    border-radius: 10px; background: #2FAD66;
}

/* Taules: auto-estil de qualsevol <table> del WYSIWYG (= .table-wrap table).
   L'editor de blocs embolcalla la taula en <figure class="wp-block-table">, que
   porta margin:0 40px per defecte (l'indenta) i sense float → cal float:left i
   treure el marge perquè "surti" ben col·locada. */
.nota-sec .nota-content .wp-block-table {
    float: left; width: 100%; max-width: 850px; margin: 0 0 20px 0;
}
.nota-sec .nota-content table {
    background: rgba(47, 173, 102, 0.098); border-collapse: separate; float: left;
    width: 100%; max-width: 850px; border-radius: 12px; margin-bottom: 20px;
    table-layout: auto;
}
.nota-sec .nota-content .wp-block-table table {
    max-width: none; margin-bottom: 0;
}
.nota-sec .nota-content table td,
.nota-sec .nota-content table th {
    padding: 12px 30px; border: 0;
    border-right: 1px solid rgba(51, 51, 51, 0.5);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    font-family: 'Inter-Light'; font-size: 16px; line-height: 26px;
    letter-spacing: -0.2px; color: #333333; text-align: left; word-break: normal;
}
.nota-sec .nota-content table td span,
.nota-sec .nota-content table th {
    color: #333333; font-family: 'Inter-Bold'; font-size: 16px; line-height: 26px; letter-spacing: -0.2px;
}

.arribar-list ul > li .arribar-info[data-list-type="boat"] ul > li {
    background: url(../../resources/v1/images/ico-barco-comollegar.svg) no-repeat 0 0px;
}

/* Tipo "Punto": bullet verd corporatiu normal, sense icona. */
.arribar-list ul > li .arribar-info[data-list-type="punto"] ul > li {
    padding-left: 20px;
    background: none;
    position: relative;
}

.arribar-list ul > li .arribar-info[data-list-type="punto"] ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #004C01;
}

.como-list ul li:nth-child(3n + 1) a {
    background-color: #004C01;
}

.como-list ul li:nth-child(3n + 2) a {
    background-color: #2FAD66;
}

.como-list ul li:nth-child(3n) a {
    background-color: #A4C217;
}

.distribuidor-sec {
    float: left;
    width: 100%;
    margin: 30px 0 75px;
}

.distribuidor-sec .descubre-pad {
    margin-top: 0;
}

.mapa-svg svg tspan,
.mapa-svg svg circle {
    pointer-events: none;
    user-select: none;
}

.mapa-svg path.clickable-path:hover {
    fill: #2FAD66;
    cursor: pointer;
}

.dist-concejos-sec {
    float: left;
    width: 100%;
    margin: 20px 0 85px;
}

.cultura-sec.concej {
    padding: 0;
    margin: 100px 0;
}

.cultura-sec.concej.has-fondo-verde {
    background-color: rgba(47, 173, 102, 0.09);
    margin: 0;
    padding: 100px 0;
}

/* "Texto amplio": ensancha la columna de text al 52% (per defecte 42.8%).
   Només ≥768px: en mòbil (≤767) ha de col·lapsar a 100% com la resta. La
   especificitat (0,3,0) d'aquesta regla guanya a `.cultura-content{flex:100%}`
   de media.css, així que sense aquest gate el text no ocuparia tota l'amplada. */
@media screen and (min-width:768px) {
    .cultura-sec.has-texto-amplio .cultura-content {
        flex: 0 1 52%;
    }
}

.concejos-main .concejos-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Llistats de cards: trenca paraules llargues perquè no desbordin la card ni
   empenyin el layout. Aplica a la <ul> contenidora de cada graella de cards
   (estàtiques + resultats AJAX de buscador/listado/noticias). */
.concejos-list > ul,      /* distribuidor_concejos */
.como-list > ul,          /* distribuidor + distribuidor_jerarquico */
.que-hacer-list > ul,     /* distribuidor_que_hacer */
.agenda-list > ul,        /* lista_publicaciones */
.explora-list > ul,       /* explora */
.autent-grid > ul,        /* descubre_mas */
.trobat-list > ul,        /* buscador + listado (AJAX) */
ul.noticias-list {        /* noticias (AJAX) */
    word-break: break-word;
}

.concejos-main {
    transition: all 350ms ease;
    outline: 0px solid;
}

a:focus .concejos-main {
    outline: 2px solid;
}

a:hover .concejos-main .concejos-txt h3,
a:focus .concejos-main .concejos-txt h3 {
    opacity: 0.7;
}

a:hover .concejos-main .concejos-txt .ac-heading,
a:focus .concejos-main .concejos-txt .ac-heading {
    opacity: 0.7;
}

a:hover .concejos-main .concejos-img img,
a:focus .concejos-main .concejos-img img {
    transform: scale(1.03);
}

.hotel-slider-sec .swiper-slide img {
    height: auto;
}

/* Single concejo: imatges del slider amb aspect ratio 16:9 (1.77) i retall uniforme */
.single-concejo .hotel-slider-sec .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.ficha-cont h2,
.ficha-rgt h2 {
    float: left;
    width: 100%;
    font-family: 'Inter-Black';
    color: #004C01;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.08px;
    padding-bottom: 25px;
}

.cbp-hrsub-inner-lft .menu-rht > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 5%;
}

.cbp-hrsub-inner-lft .menu-rht > ul > li {
    width: 100%;
}

.cbp-hrsub-inner-lft .menu-rht > ul > li a {
    display: flex;
    align-items: center;
    column-gap: 20px;
    color: #fff;
    font-size:22px;
    line-height: 27px;
    border-radius: 45px;
    border: 3px solid transparent;
    padding: 10px;
    text-align: left;
}
.cbp-hrsub-inner-lft .menu-rht > ul > li a:hover,
.cbp-hrsub-inner-lft .menu-rht > ul > li a:focus {
    background: rgba(255,255,255,0.16);
    border: 3px solid rgba(255,255,255,0.18); 
}

.cbp-hrsub-inner-lft .menu-rht > ul > li a > .menu-img-wrap {
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.cbp-hrsub-inner-lft .menu-rht > ul > li a > .menu-img-wrap > img {
    max-height: 100%;
    max-width: 100%;
}

.cbp-hrsub-inner-lft ul li .mega-list ul li a {
    height: 90px;
    background: rgba(255,255,255,0);
    display: flex;
    align-items: center;
    column-gap: 20px;
    color: #fff;
    font-size:22px;
    line-height: 27px;
    text-shadow:none;
    padding:10px 10px;
    transition:all .5s ease;
    position: relative;
    float: left;
    width: 100%;
    letter-spacing: 0px;
    border-radius: 45px;
    border: 3px solid transparent;
}

.nice-select.pll-switcher-select {
    text-transform: uppercase;
    background-color: transparent;
}

.cbp-hrmenu > ul > li.current-page-ancestor > a,
.cbp-hrmenu > ul > li.current-menu-item > a {
    font-family: 'Inter-Semibold';
    border: 2px solid rgba(255,255,255, 0.18);
}

header.inner-header .cbp-hrmenu > ul > li.current-page-ancestor > a,
header.inner-header .cbp-hrmenu > ul > li.current-menu-item > a {
    color: #004C01;
    background: rgba(47, 173, 102, 0.13);
    font-family: 'Inter-Semibold';
    border: 2px solid rgba(47, 173, 102, 0.28)
}

.is-sticky header.inner-header .cbp-hrmenu > ul > li.current-page-ancestor > a,
.is-sticky header.inner-header .cbp-hrmenu > ul > li.current-menu-item > a {
    color: #fff;
}

.concejos-list {
    margin-top: 0;
}

.ficha-cnct ul > li a {
    font-family: 'Inter-Bold';
    font-size: 18px;
    letter-spacing: -0.11px;
    text-decoration: underline;
    color: #004C01;
}

.ficha-cnct ul > li a:hover,
.ficha-cnct ul > li a:focus {
    color: #333333;
    text-decoration-color: transparent;
}

.ficha-inner.angliru {
    border-bottom: none;
}

.como-list ul li a {
    padding: 20px;
}

.que-hacer-sec p strong {
    font-family: 'Inter-Bold';
}

.hm-area-ban img {
    height: auto;
}

footer ul.social-list li a {
    border-radius: 0;
}

.agenda-main .agenda-img img,
.rel-post-main .rel-post-img img,
.quisque-img img {
    height: auto;
}

.spin-loader {
    display: none;
    --size: 40px;
    width: var(--size);
    height: var(--size);
    margin: 10px auto 0;
    border-radius: 50%;
    border: calc(var(--size) / 5) solid #eaf7ef;
    border-top-color: #004c0199;
    animation: 1.5s linear spin infinite;
}

@keyframes spin {
    from {rotate: 0deg;}
    to {rotate: 360deg;}
}

.que-hacer-list ul li .que-img img {
    height: auto;
}

.cbp-hrsub-inner-lft .menu-rht > ul > li a > span {
    flex: 0 1 calc(100% - 90px);
}

.cbp-hrsub-inner-lft .menu-rht > ul > li a > .menu-img-wrap {
    flex: 0 1 70px;
}

.calendar-sec {
    padding: 0;
    border: 0;
}

.calendar-sec .calendar-container .calendar {
    border: 2px solid rgba(25, 63, 34, 0.20);
}

/* end JIRA MNTC-5 */

/* begin OVERRIDE 6TEMS EVENTS */

.agenda-sec .actuales ul {
    column-gap: 3%;
}

.agenda-sec .actuales ul > li {
    flex-basis: 48.5%;
}

/* .agenda-sec .menjar-main.inner-agenda-main {
    flex-direction: column;
    background: transparent;
    border: none;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    margin-bottom: 20px;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img img {
    float: left;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    transition: all 350ms ease;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img a:hover img,
.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img a:focus img {
    scale: 1.06;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 76, 1, 0.5);
    transition: all .5s ease;
    opacity: 0;
    pointer-events: none;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img:has(a:hover)::after,
.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img:has(a:focus)::after,
.agenda-sec .menjar-main.inner-agenda-main:has(> .inner-agenda-cnt a:hover) > .inner-agenda-img::after,
.agenda-sec .menjar-main.inner-agenda-main:has(> .inner-agenda-cnt a:focus) > .inner-agenda-img::after {
    opacity: 1;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img .wishlist {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(51, 51, 51, 0.3);
    border-radius: 6px 0 6px 0;
    overflow: hidden;
    z-index: 2;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img .wishlist a {
    width: 42px;
    height: 42px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-img .wishlist a span {
    width: 19px;
    height: 17px;
    display: block;
    background: no-repeat url(../../resources/v1/images/ico-heart.svg);
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt {
    width: 100%;
    padding: 0 15px 0 0;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h3 {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h3 a {
    float: left;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.53px;
    font-family: 'Inter-Bold';
    color: #333333;
    transition: all 0.5s ease;
    display: block;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h3 a:hover,
.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h3 a:focus,
.agenda-sec .menjar-main.inner-agenda-main:has(> .inner-agenda-img a:hover) > .inner-agenda-cnt h3 a,
.agenda-sec .menjar-main.inner-agenda-main:has(> .inner-agenda-img a:focus) > .inner-agenda-cnt h3 a {
    color: #2FAD66;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt p {
    float: left;
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #333333;
    font-family: 'Inter-Regular';
    transition: all 0.5s ease;
    margin-bottom: 15px;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h4 {
    float: left;
    width: 100%;
    font-family: 'Inter-Bold';
    color: #004C01;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.11px;
    margin-bottom: 15px;
}

.agenda-sec .menjar-main.inner-agenda-main > .inner-agenda-cnt h4 span {
    font-family: 'Inter-Light';
} */

.agenda-sec .form-response:empty {
    display: none;
}

.agenda-sec .filt-lat .calendar h2 {
    background: transparent;
    color: #333333;
    font-family: 'Inter-Black';
    letter-spacing: 0;
    font-size: 20px;
    padding: 0;
}

.agenda-sec .agenda-main-lft .filt-lat tbody td .day.today {
    background: #004C01 !important;
}

/* end OVERRIDE 6TEMS EVENTS */

/* TOGGLE GRID-MAPA SENSE FILTRES START */
.filter-rutea:has(.map-filter form .no-filters) {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 2;
}

.filter-rutea:has(.map-filter form .no-filters) .map-filter {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    row-gap: 0;
}

.filter-rutea:has(.map-filter form .no-filters) .map-filter form {
    display: none;
}

.filter-rutea:has(.map-filter form .no-filters) + .trobat-sec:has(.tab-grid-content.current) {
    margin-top: -24px;
}

.filter-rutea:has(.map-filter form .no-filters) + .trobat-sec:has(.tab-grid-content.current) .tab-grid-content {
    padding-top: 0;
}
/* TOGGLE GRID-MAPA SENSE FILTRES END */

.ficha-img-slide .swiper-slide {
    aspect-ratio: 16 / 9;
}

.ficha-aloj-title > .ficha-aloj-lft {
    flex: 0 1 calc(100% - 41px);
}

.ficha-aloj-title > .ficha-aloj-rgt {
    flex: 0 1 41px;
}

.gallery-div ul li img {
    aspect-ratio: 4 / 3;
    height: auto;
}

.oficinas-sec p {
    margin-bottom: 10px;
}

.graphic-ruta-map canvas {
    width: 100%;
    height: 165px;
}

.gpx-btn ul li .wht-btn {
    border: none;
    width: 100%;
    height: 56px;
    border-radius: 28px;
    font-family: 'Inter-Bold';
    font-size: 16px;
    line-height: 24px;
    transition: all .5s ease;
    outline: 3px solid rgba(0, 76, 1, 0.40);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32);
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 16px;
    color: #004C01;
    padding: 0 20px 0 20px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.gpx-btn ul li .wht-btn:hover,
.gpx-btn ul li .wht-btn:focus {
    background: linear-gradient(90deg, #2FAD66 0%, #004F11 100%);
    color: #fff;
    outline: 3px solid rgba(255, 255, 255, 0.32);
}

.pico-slide .swiper-slide {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
}

.pico-slide .swiper-slide img {
    height: auto;
}

.filter-panel .tag a.current,
.filter-panel .tag a:hover,
.filter-panel .tag a:focus {
    background: #004C01;
    color: #FFFFFF;
}

.filter-panel .tag a.current:hover,
.filter-panel .tag a.current:focus {
    background: #FFFFFF;
    color: #004C01;
    border-color: #004C01;
}

/* Cercador genèric — pestanyes de resultats */
.result-filter-list-sec ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.result-filter-list-sec ul li a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #004C01;
    border-radius: 30px;
    color: #004C01;
    background: #FFFFFF;
    text-decoration: none;
    transition: all .2s ease;
}

.result-filter-list-sec ul li a.current,
.result-filter-list-sec ul li a:hover,
.result-filter-list-sec ul li a:focus {
    background: #004C01;
    color: #FFFFFF;
}

.result-filter-list-sec ul li a span {
    opacity: .7;
}

/* Cercador genèric — barra apilada i centrada: títol → buscador → pestanyes */
.filter-rutea .map-filter {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 25px;
    text-align: center;
}

.filter-rutea .map-filter .buscador-result-heading {
    width: 100%;
    margin: 0;
}


.filter-rutea .map-filter .buscador-result-heading {
    font-size: 24px;
}

.search-result-form {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
}

.search-result-form ul li {
    flex: 0 1 100%;
}


.filter-rutea .map-filter .result-filter-list-sec {
    flex: 0 0 auto;
    width: 100%;
}

.filter-rutea .map-filter .result-filter-list-sec ul {
    justify-content: center;
}

.buscador-result-list .tab-content {
    padding: 40px 0 60px;
}

.buscador-result-list .search-result-head .buscador-result-title {
    margin: 0 0 8px;
}

.buscador-result-list .search-count {
    display: block;
    margin: 0 0 25px;
    font-family: 'Inter-Regular';
    color: #242424;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.3px;
}

.buscador-result-list .search-count strong {
    font-family: 'Inter-Black';
}

.desktop-search .search-inn,
.search-result-form .srch-bx-lst {
    position: relative;
}

.search-result-form .srch-bx-lst {
    display: flow-root;
}

.desktop-search .search-inn .results,
.search-result-form .results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    max-height: 320px;
    overflow: hidden auto;
    text-align: left;
}

.desktop-search .search-inn .results ul,
.search-result-form .results ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.search-result-form .results ul {
    display: block;
}

.search-result-form .results ul li {
    flex: 0 0 100%;
    width: 100%;
    border: none;
}

.desktop-search .search-inn .results ul li.search_result a,
.search-result-form .results ul li.search_result a {
    display: block;
    padding: 11px 25px;
    color: #1D1D1D;
    font-family: 'Inter-Regular';
    font-size: 15px;
    line-height: 22px;
    text-decoration: none;
    transition: all .2s ease;
}

.desktop-search .search-inn .results ul li.search_result a:hover,
.desktop-search .search-inn .results ul li.search_result a:focus,
.search-result-form .results ul li.search_result a:hover,
.search-result-form .results ul li.search_result a:focus {
    background: #004C01;
    color: #FFFFFF;
}

.desktop-search .search-inn .results ul li.no-result,
.search-result-form .results ul li.no-result {
    padding: 11px 25px;
    color: #777777;
    font-family: 'Inter-Regular';
    font-size: 15px;
}

.buscador-result-list {
    padding: 0px 0 85px 0;
}

/* ---- Favoritos (wishlist) ---- */
.fav-icon {
    cursor: pointer;
}

.fav-icon.active > a,
.fav-icon.active a {
    background: #004C01;
}

.ficha-aloj-title .fav-icon.active {
    background: #004C01;
}

.ficha-aloj-title .fav-icon.active a span {
    background: url(../../resources/v1/images/ico-heart.svg) no-repeat center center;
}

.buscador-result-list .empty-state {
    float: left;
    width: 100%;
    text-align: center;
    padding: 60px 0 85px 0;
}

.buscador-result-list .empty-state__logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto 25px;
    display: block;
    opacity: 0.6;
}

.buscador-result-list .empty-state__text {
    font-family: 'Inter-Regular';
    font-size: 18px;
    color: #777777;
}

/* ---- Com arribar: autocomplete (Places API nova) + info ruta ---- */

.contact-btm .origen-autocomplete {
    display: block;
    width: 100%;
}

.contact-btm gmp-place-autocomplete {
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 18.51%);
    background: #fff;
    border: 1px solid rgba(13, 65, 59, 0.2);
    border-radius: 28px;
    height: 56px;
}

.contact-btm gmp-place-autocomplete::part(input) {
    height: 56px;
    line-height: 56px;
    padding: 0 30px 0 25px;
    border: none;
    border-radius: 28px;
    background: transparent;
    font-size: 16px;
    font-family: 'Inter-Regular';
    letter-spacing: 0.23px;
    color: #333333;
}

.contact-btm gmp-place-autocomplete::part(input)::placeholder {
    color: #0D413B;
}


.contact-btm gmp-place-autocomplete::part(clear-button),
.contact-btm gmp-place-autocomplete::part(search-icon) {
    color: #004C01;
    fill: #004C01;
}

.contact-btm .route-info[hidden] {
    display: none;
}

.contact-btm .route-info {
    float: left;
    margin-top: 18px;
    display: inline-flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 6px;
    padding: 14px 25px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 18.51%);
    color: #333333;
    font-family: 'Inter-Regular';
    font-size: 16px;
}

.contact-btm .route-info .route-label {
    font-family: 'Inter-Bold';
    color: #0D413B;
}

/* COM ARRIBAR FORMULARI EN UNA FILA START */
.arribar-sec .contact-btm > ul {
    flex-wrap: nowrap;
    align-items: center;
}
/* COM ARRIBAR FORMULARI EN UNA FILA END */

.catalogos-list ul li .catalogos-img.has-imagen {
    overflow: hidden;
}

.catalogos-list ul li .catalogos-img.has-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.img-large img{
    width: 100%;
    height: auto;
}

.slider .swiper-slide > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 887;
    object-fit: cover;
}

.conoce-slide .conoce-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 418 / 446;
    object-fit: cover;
}

.hm-map-sec::after,
.cultura-sec::after,
.que-hacer-sec::after {
    background-size: cover;
    background-position: center top;
}

@media (min-width: 1501px) {
    .encuentra-map-sec .mapa-select-div {
        flex: 1 1 0;
        min-width: 0;
    }
}

.encuentra-map-sec .mapa-lst ul li a.active {
    background: #fff;
    border-color: #fff;
    color: #004C01;
}

.maresme-map .pop-cont .pop-tag {
    display: block;
    width: fit-content;
    background: #004C01;
    color: #fff;
    border-radius: 28px;
    padding: 4px 12px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.2;
    font-family: 'Inter-Bold';
    letter-spacing: 0;
}

.exp-main .exp-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 719 / 838;
    object-fit: cover;
}

.hm-cerca-ban > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3200 / 1438;
    object-fit: cover;
}

/* content-descrube-mas*/

.autent-grid ul li .que-facer-img img {
    object-fit: cover;
}

.cbp-hrmenu > ul > li > a { position: relative; }
.cbp-hrmenu > ul > li > a .ac-reserva-ancho {
    display: block;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
    color: transparent;
    font-family: 'Inter-Black';
    font-size: 16px;
}

.is-sticky .home-head .desk-logo { display: none; }
.is-sticky .home-head .stick-logo { display: block; }

/* Logo blanco cuando la cabecera es "Hero Home" (main) o de tipo "fondo".
   .head-top se pone verde (#004C01) en sticky, así que el blanco vale arriba y al hacer scroll. */
.head-light .logo-top img.desk-logo { display: none; }
.head-light .logo-top img.stick-logo { display: block; }

/* content-separador */
.separador {
    float: left;
    width: 100%;
    padding-top: calc(var(--sep-espacio, 70px) / 2);
    padding-bottom: calc(var(--sep-espacio, 70px) / 2);
}
.separador--linea .separador__linea {
    display: block;
    width: 100%;
    height: 1px;
    background: #004C01;
}

/* Image menu */

.menu-img-wrap img{
    object-fit: cover;
}

.cultura-content ul {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}
.cultura-content ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #333333;
    font-family: 'Inter-Regular';
    font-size: 16px;
    line-height: 1.5;
}
.cultura-content ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #004C01;
}

.cultura-content p a,
.cultura-content ul li a {
    font-family: 'Inter-Bold';
    text-decoration: underline;
    color: #2FAD66;
    transition: all 0.4s ease;
}
.cultura-content p a:hover,
.cultura-content ul li a:hover,
.cultura-content p a:focus,
.cultura-content ul li a:focus {
    color: #000000;
}

.rel-post-main .rel-post-cnt h2 {
    float: left;
    width: 100%;
    font-family: 'Inter-Bold';
    color: #333333;
    font-size: 35px;
    line-height: 40px;
    letter-spacing: -0.53px;
    padding-bottom: 20px;
    transition: all 0.5s ease;
}
.rel-post-main:hover .rel-post-cnt h2 {
    color: #004C01;
}
.rel-post-main .rel-post-cnt .ac-sub {
    display: block;
    float: left;
    width: 100%;
    font-family: 'Inter-Light';
    color: #004C01;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.11px;
}
.rel-post-main .rel-post-cnt .ac-sub span {
    font-family: 'Inter-Bold';
}

.agenda-main .agenda-txt .ac-sub {
    display: block;
    float: left;
    width: 100%;
    font-family: 'Inter-Light';
    color: #004C01;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.11px;
    margin-bottom: 15px;
}
.agenda-main .agenda-txt .ac-sub span {
    font-family: 'Inter-Bold';
}

.ac-heading,
.ac-sub {
    display: block;
}

/* Concejos — carrusel hom*/
.conoce-main .conoce-txt .ac-heading {
    font-size: 30px;
    line-height: 1.1;
    font-family: 'Inter-Bold';
    color: #333333;
    letter-spacing: -0.45px;
    text-align: left;
    transition: all 0.5s ease;
}
.conoce-main:hover .conoce-txt .ac-heading {
    opacity: 0.7;
}

/* Concejos — card */
.concejos-main .concejos-txt .ac-heading {
    font-size: 30px;
    line-height: 1.1;
    font-family: 'Inter-Bold';
    color: #333333;
    letter-spacing: -0.45px;
    text-align: left;
    transition: all 0.5s ease;
}
.concejos-main:hover .concejos-txt .ac-heading {
    opacity: 0.7;
}

/* Banner "Cómo llegar" */
.cerca-content h2 {
    float: left;
    width: 100%;
    color: #fff;
    font-size: 70px;
    line-height: 1;
    font-family: 'Inter-Black';
    letter-spacing: -2.1px;
    margin-bottom: 30px;
}
.cerca-content h2 span {
    display: block;
}

/* Cómo llegar — cards */
.como-list ul li .como-cont .ac-heading {
    font-size: 40px;
    line-height: 1.1;
    font-family: 'Inter-Black';
    color: #ffffff;
    letter-spacing: -1.2px;
    transition: all .5s ease;
}
.como-list ul li a:hover .ac-heading {
    text-decoration: underline;
}

.explora-list ul li .explora-cont .ac-heading {
    font-size: 25px;
    line-height: 1.1;
    font-family: 'Inter-Black';
    color: #ffffff;
    margin-bottom: 12px;
    transition: all .5s ease;
}

.desktop-search .ac-heading {
    float: left;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 60px;
    line-height: 60px;
    font-family: 'Inter-Italic';
    margin-bottom: 20px;
    letter-spacing: 0.19px;
}

/* single-actividad*/
.pico-list .ficha-cnct ul li::after {
    content: none;
}
.pico-list .ficha-cnct ul li {
    display: block;
    padding-left: 32px;
}
/* Coste con varias tarifas: cada línea alineada bajo la primera, no bajo la etiqueta. */
.pico-list .ficha-cnct ul li > span {
    display: inline-block;
    vertical-align: top;
}

/* single-oficina-turismo */
.single-oficina-turismo .angliru-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
}

/* Listado agenda/noticias  */
.agenda-list .agenda-img .heart-ico img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
}
html body #wp_access_helper_container.accessability_container button.wahout.aicon_link {
    position: fixed !important;
    right: 0 !important;
    top: 190px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 100 !important;
    width: 60px !important;
    height: 205px !important;
    max-width: 60px !important;
    max-height: 205px !important;
    min-width: 0 !important;
    padding: 9px !important;
    margin: 0 !important;
    background: #004C01 !important;
    border: none !important;
    border-radius: 10px 0 0 10px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    font-family: 'Inter-Regular', sans-serif !important;
    font-size: 16px !important;
    line-height: 30px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    writing-mode: sideways-rl !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 12px !important;
    box-shadow: 0px 5px 15px rgba(0, 9, 68, 0.25) !important;
    /* right: 0.25s para acompañar al panel (transición 0.25s del plugin) cuando
       se abre; background/color a 0.5s para el hover. */
    transition: right 0.25s ease, background-color 0.5s ease, color 0.5s ease !important;
    cursor: pointer !important;
}
html body #wp_access_helper_container.accessability_container button.wahout.aicon_link .aicon_image {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html body #wp_access_helper_container.accessability_container button.wahout.aicon_link::after {
    content: var(--wah-a11y-label, "Accesibilidad") !important;
    font-weight: normal !important;
}
html body #wp_access_helper_container.accessability_container button.wahout.aicon_link:hover {
    background: #ffffff !important;
    color: #004C01 !important;
    opacity: 1 !important;
}
html body #wp_access_helper_container.accessability_container button.wahout.aicon_link:hover .aicon_image {
    filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(2067%) hue-rotate(85deg) brightness(92%) contrast(103%) !important;
}
html body #wp_access_helper_container.accessability_container.active button.wahout.aicon_link {
    right: 200px !important;
}


/* Chat set*/

.chat-sec{
    display: none;
}

.razones-txt h1 span {
    font-size: 30px;
    font-family: 'Inter-Regular';
    letter-spacing: normal;
}

/* No mostrar newsletter en el footer */
.foot-top.no-banner {
    background: transparent;
}

/* Bloque flexible Vídeo (reproductor incrustado) */
.video-sec {
    padding: 40px 0 90px 0px;
    float: left;
    width: 100%;
}
.video-sec h2 {
    font-size: 50px;
    line-height: 1;
    font-family: 'Inter-Black';
    color: #333333;
    letter-spacing: -0.82px;
    margin-bottom: 30px;
}
.video-sec .video-text {
    margin-bottom: 30px;
}
.video-sec .video-text p {
    color: #333333;
    font-family: 'Inter-Regular';
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.26px;
    margin-bottom: 15px;
}
.video-sec .video-text p:last-child {
    margin-bottom: 0;
}
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video-embed iframe,
.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
/* Hero Home: slide amb vídeo YouTube a pantalla completa (cbox "Vídeo a pantalla completa").
   Mateix ratio que les fotos del slider (1600/887) perquè les alçades quadrin amb l'efecte fade. */
.slider .swiper-slide .home-slider-yt {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 887;
    overflow: hidden;
}
.slider .swiper-slide .home-slider-yt iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}
/* Vídeo autoallotjat (font Biblioteca): omple el wrapper amb cover */
.slider .swiper-slide .home-slider-yt video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    pointer-events: none;
}
/* Escut transparent sobre l'iframe: bloqueja qualsevol interacció amb el player */
.slider .swiper-slide .home-slider-yt-shield {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    cursor: default;
}
/* La foto del slide queda darrere del vídeo com a fallback */
.slider .swiper-slide .home-slider-yt ~ img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ==========================================================================
   page-templates/agenda.php — listado de eventos con "Cargar más".
   Todo escopado a .agenda-eventos-sec para no afectar ni a la agenda del plugin
   (.agenda-sec a secas) ni al bloque buscador_noticias, que comparten maqueta.
   ========================================================================== */

/* El .calendar-sec {padding:0; border:0} de más arriba es para el calendario del
   plugin, que anida .calendar-container. Aquí el .calendar es hijo directo, así
   que se recupera el marco de la maqueta (style.css:1141). */
.agenda-eventos-sec .calendar-sec {
    border: 2px solid rgba(25, 63, 34, 0.20);
    padding: 20px;
}

/* Añadido sobre la maqueta: la fecha elegida en texto (el círculo del calendario
   solo, sin mes, se lee mal) y la forma de deshacer el filtro por día.
   Sin escopar: son clases nuevas, no existen en la maqueta, y las comparten la
   agenda (page-templates/agenda.php) y el bloque buscador_noticias.

   clear + float: .calendar es `float: left` (datepicker.css:170), así que sin
   esto el bloque se mete en la línea del calendario y sale a su derecha, partido. */
.calendar-fecha {
    clear: both;
    float: left;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 12px;
    row-gap: 4px;
    margin-top: 15px;
}

.calendar-fecha[hidden] {
    display: none;
}

.calendar-seleccion {
    font-family: 'Inter-Bold';
    font-size: 15px;
    line-height: 22px;
    color: #333333;
}

.calendar-reset {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: 'Inter-Medium';
    font-size: 15px;
    line-height: 22px;
    color: #004C01;
    text-decoration: underline;
}

/* Ocupa el hueco de .pagination.left (style.css:1180). Los 110px de .cargar-btn
   son para rejillas a ancho completo; dentro de .agenda-rgt sobran. */
.agenda-eventos-sec .cargar-btn {
    margin-top: 60px;
    text-align: left;
}

/* El <li> de "sin resultados" no es una card: ocupa la fila entera. */
.agenda-eventos-sec .agenda-list ul li.not-found {
    flex: 0 1 100%;
    font-family: 'Inter-Regular';
    font-size: 18px;
    line-height: 30px;
    color: #333333;
}

/* Días con evento (clase `con-evento` que pone beforeShowDay en
   assets/js/pages/agenda.js): número en verde y subrayado.
   El círculo relleno queda reservado para el día de hoy y para el día filtrado.

   El subrayado va como border-bottom del propio <a>, no como ::after del <td>:
   sin pseudo-elemento ni posicionamiento absoluto no hay nada que lo pueda dejar
   invisible, y es el mismo selector que ya pinta el número de verde. */
.agenda-eventos-sec .calendar .ui-datepicker-calendar td.con-evento a.ui-state-default {
    color: #004C01;
    font-family: 'Inter-Bold';
    border-bottom: 2px solid #004C01;
    padding-bottom: 3px;
}

/* Día filtrado —y, al entrar, el de hoy—: círculo verde relleno. Misma geometría
   que el círculo de "hoy" de datepicker.css (35x35, margin auto, z-index -1),
   para que el estilo no cambie según si el día lleva o no la clase de hoy. */
.agenda-eventos-sec .calendar .ui-datepicker-calendar td.ui-datepicker-current-day:after {
    position: absolute;
    display: block;
    content: "";
    width: 35px;
    height: 35px;
    z-index: -1;
    border-radius: 50%;
    left: -1px;
    top: -1px;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #004C01;
}

/* El .ui-state-default hace falta para ganar a
   `.ui-datepicker-current-day .ui-state-default.ui-state-active` (datepicker.css),
   que pinta el número en verde: sobre el círculo verde no se leería. Y va DESPUÉS
   de la regla de .con-evento, con la que empata en especificidad, para que el día
   filtrado se vea en blanco aunque además tenga evento. */
.agenda-eventos-sec .calendar .ui-datepicker-calendar td.ui-datepicker-current-day a.ui-state-default {
    color: #ffffff;
    font-family: 'Inter-Bold';
    /* Si el día filtrado además tiene evento, el círculo ya lo señala: quitamos
       el subrayado para no pintar las dos marcas a la vez. */
    border-bottom: 0;
    padding-bottom: 0;
}



.ficha-inner.angliru .angliru-logo img,
.ficha-inner.angliru .angliru-img img {
    max-width: 100%;
    height: auto;
}


.angliru-img img {
    object-fit: cover;
    aspect-ratio: 1.5;
}


/* Fix logos footer */

.ft-logo-lst ul li a img{
    height: 52px;
}

/* Fix logos xxxss */
ul.social-list li a.li-foot {
    background: url(../../resources/v1/images/ico-linkedin-footer.svg) no-repeat center center;
    width: 16px;
}

.scl-links ul li a.tw {
    background: url(../../resources/v1/images/ico-x-blanc.svg) no-repeat;
}

.inner-header .scl-links ul li a.tw {
    background: url(../../resources/v1/images/ico-x.svg) no-repeat;

}

/* ==========================================================================
   404.php — Página no encontrada.
   ========================================================================== */
.error404-sec {
    float: left;
    width: 100%;
    background: #EDF8F2 url(../../resources/v1/images/fons.jpg) center center / cover no-repeat;
    padding: 75px 0 85px;
}

.error404-card {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    padding: 44px 40px 60px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.error404-card .error404-ico {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto 30px;
}

.error404-card h1 {
    font-family: 'Inter-Black';
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.45px;
    color: #004C01;
    margin-bottom: 14px;
}

.error404-card p {
    font-family: 'Inter-Regular';
    font-size: 16px;
    line-height: 1.5;
    color: #616161;
    margin-bottom: 30px;
}

.error404-card a.more-btn {
    width: auto;
    min-width: 200px;
    padding: 0 40px;
}

/* Instagram feed */

.sbi_link {
    background: rgba(0, 0, 0, 0.35) !important;
}