/* Scoped improvements: original map, home hero, header palette and approved covers unchanged. */
.npm-ux-information{max-width:1020px;margin:auto;padding:64px 24px 80px;background:#fff;color:#0b3039}
.npm-ux-information h1{max-width:850px;font-size:clamp(32px,5vw,58px);line-height:1.08}
.npm-ux-information p{max-width:76ch;line-height:1.75;font-size:17px}
.npm-ux-information section{padding:28px 0;border-top:1px solid #d9d1c4;scroll-margin-top:144px}
.npm-ux-information nav{display:flex;flex-wrap:wrap;gap:12px 24px;padding:24px 0 40px}
.npm-ux-information a:not(.npm-wp-button){color:#006b7e;text-decoration:underline;text-underline-offset:4px}
.npm-ux-information nav a{padding:10px 0;min-height:44px}
.npm-ux-note{padding:24px;background:#f5f1e8;border-left:4px solid #ffdd57;margin:20px 0 32px}
.npm-ux-external-signup #comments,.npm-ux-external-signup .comments-area{display:none!important}
.npm-travel-development :is(#florianopolis,#rio-abrico){scroll-margin-top:144px}
.npm-event-filters :is(select,button),.npm-event-tools input{min-height:44px;font-size:16px}
.npm-wp-surface :is(a,button,input,select,summary):focus-visible,.npm-wp-footer a:focus-visible{outline:3px solid #ffdd57;outline-offset:3px;box-shadow:0 0 0 5px #07303a}
@media(max-width:720px){.npm-ux-information{padding:36px 20px 56px}.npm-event-filters select{width:100%;max-width:100%}}
@media(prefers-reduced-motion:reduce){.npm-wp-surface *{scroll-behavior:auto!important}}

/* Specific enough to preserve contrast against the shared theme link rules. */
body.npm-wp-design .npm-ux-information a:not(.npm-wp-button){color:#006b7e}
body.npm-wp-design .npm-ux-information :is(h1,h2,h3){color:#0b3039}
body.npm-wp-design .npm-ux-information h1{font-family:"Archivo Black",sans-serif;font-weight:400}
body.npm-wp-public-surface .npm-surface-search input{font-size:16px;min-height:44px}

/* Readability outside the original home hero; brand backgrounds remain unchanged. */
body.npm-wp-design :is(.npm-event-editorial-copy,.npm-surface-heading,.npm-ux-information) .npm-surface-kicker,
body.npm-wp-home .npm-home-travel .npm-home-kicker{color:#006779}
body.npm-wp-design .npm-wp-card.npm-card-tone-2 .npm-wp-card-media>span{color:#111;font-size:12px}
body.npm-wp-event-detail :is(#ep-sl-event-end,#ep-sl-event-end .ep-text-uppercase,#ep_single_event_end_date_time){color:#4a6066}
body.npm-wp-event-detail [aria-label="Créditos de imagen"] a{color:#006779;text-decoration:underline;text-underline-offset:3px}
/* Keep anchor targets and keyboard focus clear of the sticky navigation. */
body.npm-wp-design :is(#content,#npm-events-title,#npm-interest-title,.npm-interest-feedback,.npm-interest-form input,.npm-interest-form button){scroll-margin-top:144px;scroll-margin-bottom:32px}
body.npm-wp-design :is(.npm-wp-header,.npm-wp-footer,.npm-interest) :is(a,button,input,select,summary):focus-visible{outline:3px solid #ffde59;outline-offset:3px;box-shadow:0 0 0 5px #07303a}
body.npm-wp-design>.skip-link{display:none}
.npm-ux-skip-nav{height:0;margin:0;padding:0}
.npm-ux-skip{position:fixed;left:16px;top:-200px;z-index:100002;padding:12px 18px;background:#ffde59;color:#111;font:800 16px/1.5 'NPM Montserrat',sans-serif;border:2px solid #07303a;border-radius:6px}
.npm-ux-skip:focus{top:12px;color:#111}
@media(max-width:720px){body.npm-wp-event-detail .npm-interest-form :is(input,select,textarea){font-size:16px}body.npm-wp-design .npm-wp-header.is-open{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.npm-wp-design :is(.npm-wp-header,.npm-wp-surface,.npm-interest) *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

body.npm-wp-design .npm-wp-surface--events .npm-surface-heading .npm-surface-kicker{color:#006779}

@media(max-width:720px){body.npm-wp-public-surface .npm-wp-surface--events select{font-size:16px;min-height:44px}}

/* Restore the original Events showcase; keep the approved artwork intact. */
html body .npm-wp-surface--events[data-feature-manual] .npm-event-spotlight{background:#071e22;border-bottom:4px solid #ffde59}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-stage{max-width:1240px;margin-inline:auto;background:#071e22}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;background:#071e22}
html body .npm-wp-surface--events[data-feature-manual] [data-feature-slide][hidden]{display:none!important}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-image{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1/1;object-fit:contain;background:#071e22}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-copy{position:static;width:auto;min-height:0;padding:36px 48px;border:0;border-radius:0;background:transparent}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-copy h2{max-width:19ch;font-size:clamp(28px,3.3vw,44px);line-height:1.1}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-deck{display:block;color:#dbe6e8!important;font-size:15px!important;line-height:1.65!important}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-controls{position:static;display:flex;justify-content:center;align-items:center;gap:16px;padding:14px 20px;background:#071e22;pointer-events:auto}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-arrow{position:static;inset:auto;width:44px;height:44px;transform:none}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-position{position:static;inset:auto;padding:0;border:0;background:transparent}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-dots{position:static;inset:auto;display:flex;gap:2px;padding:0;background:transparent}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-dots button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-dots button::before{content:"";display:block;width:8px;height:8px;border:1px solid #fff;border-radius:50%;background:transparent}
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-dots button[aria-pressed="true"]::before{border-color:#ffde59;background:#ffde59}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-highlights{background:#f5f1e8}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-highlights .npm-surface-kicker{color:#006779}
html body .npm-wp-surface--events[data-feature-manual] .npm-event-highlight-image{aspect-ratio:1/1;width:100%;height:auto;object-fit:contain}
@media(max-width:760px){html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature{grid-template-columns:minmax(0,1fr)}html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-copy{padding:28px 20px}html body .npm-wp-surface--events[data-feature-manual] .npm-event-feature-copy h2{font-size:30px}html body .npm-wp-surface--events[data-feature-manual] .npm-feature-controls{gap:10px}}

/* Keep carousel dot hit areas separate from their selected indicator. */
html body .npm-wp-surface--events[data-feature-manual] .npm-feature-dots button[aria-pressed]{min-width:28px;min-height:28px;width:28px;height:28px;border:0;background:transparent}

/* NPM mobile navigation: one panel, aligned links and an accessible account action. */
body.npm-wp-design .npm-wp-menu-panel{display:contents}
body.npm-wp-design .npm-wp-explore>summary{display:flex;align-items:center;gap:9px}
body.npm-wp-design .npm-wp-explore>summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;flex:0 0 7px}
body.npm-wp-design .npm-wp-explore[open]>summary::after{transform:rotate(225deg);margin-top:4px}
body.npm-wp-design .npm-wp-explore>div a{display:flex;justify-content:flex-start;min-height:44px;text-align:left}
body.npm-wp-design .npm-wp-menu-toggle{min-width:88px;min-height:44px;gap:9px}
body.npm-wp-design .npm-wp-menu-toggle::before{content:"";width:18px;height:14px;background:linear-gradient(currentColor,currentColor) 0 0/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 6px/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 12px/100% 2px no-repeat}
body.npm-wp-design .npm-wp-menu-toggle[aria-expanded="true"]::before{height:18px;background:linear-gradient(45deg,transparent 45%,currentColor 45%,currentColor 55%,transparent 55%),linear-gradient(-45deg,transparent 45%,currentColor 45%,currentColor 55%,transparent 55%)}
/* A crowded WordPress toolbar can wrap; keep the site navigation beneath it. */
body.npm-wp-design #wpadminbar{height:auto;min-height:32px;position:fixed}
body.npm-wp-design #wpadminbar #wp-toolbar::after{content:"";display:table;clear:both}
html:has(body.npm-wp-design.admin-bar){margin-top:var(--npm-toolbar-height,32px)!important}
body.npm-wp-design.admin-bar .npm-wp-header{top:var(--npm-toolbar-height,32px)}
@media(max-width:782px){html:has(body.npm-wp-design.admin-bar){margin-top:var(--npm-toolbar-height,46px)!important}body.npm-wp-design.admin-bar .npm-wp-header{top:var(--npm-toolbar-height,46px)}}
@media(max-width:960px){
 body.npm-wp-design .npm-wp-nav-inner{min-height:80px;padding:6px 16px;grid-template-columns:minmax(0,1fr) auto}
 body.npm-wp-design .npm-wp-menu-toggle{display:inline-flex;font-size:14px;padding:10px 12px}
 body.npm-wp-design .npm-wp-menu-panel{display:none;position:absolute;top:100%;inset-inline:0;background:#fffdf7;color:#07303a;border-bottom:4px solid #ffde59;box-shadow:0 16px 24px #071e2226;padding:12px 16px 18px;max-height:calc(100vh - 80px - var(--npm-toolbar-height,0px));max-height:calc(100dvh - 80px - var(--npm-toolbar-height,0px));overflow-y:auto;overscroll-behavior:contain}
 body.npm-wp-design .npm-wp-header.is-open{overflow:visible;max-height:none}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-menu-panel{display:block}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-nav{display:flex;gap:3px;background:transparent;color:#07303a;padding:0}
 body.npm-wp-design .npm-wp-nav>a,body.npm-wp-design .npm-wp-explore>summary{display:flex;width:100%;justify-content:flex-start;text-align:left;min-height:48px;padding:12px 14px;font-size:16px;color:#07303a;border-radius:6px;white-space:normal}
 body.npm-wp-design .npm-wp-explore>summary::after{margin-left:auto}
 body.npm-wp-design .npm-wp-nav :is(a,summary):hover,body.npm-wp-design .npm-wp-explore[open]>summary{color:#07303a;background:#eeeae0}
 body.npm-wp-design .npm-wp-nav .is-current{background:#ffde59;color:#111}
 body.npm-wp-design .npm-wp-explore>div{position:static;min-width:0;margin:3px 0 8px 14px;padding:0 0 0 12px;border:0;border-left:3px solid #0097b2;border-radius:0;box-shadow:none;background:transparent}
 body.npm-wp-design .npm-wp-explore>div a{width:100%;padding:12px;font-size:14px;color:#07303a;white-space:normal}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-account{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0 0;margin-top:12px;border-top:1px solid #d9d1c4}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-account>a{display:inline-flex;flex:1 1 130px;justify-content:center;min-height:46px;padding:12px;font-size:14px;white-space:normal;color:#07303a}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-account>a:not(.npm-wp-button){border-color:#006779;background:#fff}
 body.npm-wp-design .npm-wp-header.is-open .npm-wp-account>.npm-wp-button{display:inline-flex;background:#ffde59;color:#111}
}
/* Only the mobile directory reached from “Descubrir el mundo naturista”. */
@media(max-width:600px){
 body.npm-wp-directory main.site-main,body.npm-wp-directory main.site-main>.page-content{width:100%;max-width:none;margin:0;padding-inline:0}
 body.npm-wp-directory .npm-wp-explorer{width:100%;max-width:none;padding:28px 0 40px}
 body.npm-wp-directory .npm-wp-explorer-head,body.npm-wp-directory .npm-wp-map-heading{padding-inline:16px}
 body.npm-wp-directory .npm-wp-explorer .npm-wp-results-inner{padding:28px 0 0}
 body.npm-wp-directory .npm-wp-results-heading{padding-inline:16px}
 body.npm-wp-directory .npm-wp-explorer .npm-wp-cards{gap:24px}
 body.npm-wp-directory .npm-wp-explorer .npm-wp-card{border-inline:0;border-radius:0}
 body.npm-wp-directory .npm-wp-explorer .npm-wp-card-copy{padding:20px 16px}
 body.npm-wp-directory .npm-wp-explorer .npm-wp-load-more{max-width:calc(100% - 32px);margin-inline:auto}
}


/* Keep the original home artwork and map geometry. Short screens use less spacing. */
@media (max-width: 600px) and (max-height: 760px) {
    body.npm-wp-home .npm-wp-hero .npm-wp-hero-inner {
        padding-block: 16px;
        gap: 10px;
    }
    body.npm-wp-home .npm-wp-hero .npm-wp-kicker { margin-bottom: 8px; }
    body.npm-wp-home .npm-wp-hero h1 {
        max-width: none;
        font-size: clamp(31px, 9.5vw, 40px);
    }
    body.npm-wp-home .npm-wp-hero .npm-wp-intro {
        margin-top: 8px;
        line-height: 1.4;
    }
    body.npm-wp-home .npm-wp-hero .npm-wp-actions {
        gap: 6px;
        margin-top: 10px;
    }
    body.npm-wp-home .npm-wp-hero .npm-wp-actions .npm-wp-button {
        min-height: 44px;
        padding-block: 8px;
    }
    body.npm-wp-home .npm-wp-hero .npm-wp-map-hint {
        margin-top: 4px;
        padding-block: 5px;
    }
}

@media (max-width: 360px) and (max-height: 610px) {
    body.npm-wp-home .npm-wp-hero .npm-wp-hero-inner { padding-block: 12px; }
    body.npm-wp-home .npm-wp-hero h1 { font-size: clamp(26px, 8.75vw, 32px); }
    body.npm-wp-home .npm-wp-hero .npm-wp-intro { font-size: 14px; }
    body.npm-wp-home .npm-wp-hero .npm-wp-map:not(.has-selection) { max-width: 270px; }
}

body.npm-wp-home .npm-home-events .npm-home-event-rail {
    --npm-home-rail-gap: 20px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--npm-home-rail-gap)) / 2);
    gap: var(--npm-home-rail-gap);
    overflow-x: auto;
    padding: 3px 0 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #006779 #e6f0f2;
}
body.npm-wp-home .npm-home-events .npm-home-event-rail:focus-visible {
    outline: 3px solid #006779;
    outline-offset: 3px;
}
body.npm-wp-home .npm-home-events .npm-home-event-rail > article { scroll-snap-align: start; }
body.npm-wp-home .npm-home-events .npm-home-event-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
body.npm-wp-home .npm-home-events .npm-home-event-controls[hidden] { display: none; }
body.npm-wp-home .npm-home-events .npm-home-event-controls button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #006779;
    border-radius: 8px;
    color: #005568;
    background: #fff;
    font: 800 20px/1 'NPM Montserrat', Montserrat, sans-serif;
    cursor: pointer;
}
body.npm-wp-home .npm-home-events .npm-home-event-controls button:not(:disabled):hover { background: #ffde59; }
body.npm-wp-home .npm-home-events .npm-home-event-controls button:disabled {
    border-color: #c8dcdf;
    color: #52676c;
    background: #eef7f8;
    cursor: default;
}

@media (max-width: 820px) {
    body.npm-wp-home .npm-home-events .npm-home-event-rail {
        --npm-home-rail-gap: 14px;
        grid-auto-columns: min(100%, 520px);
    }
}
@media (max-width: 600px) {
    body.npm-wp-home .npm-home-events .npm-home-event-rail {
        grid-auto-columns: calc(100% - 18px);
    }
}

body.npm-wp-home .npm-home-organizers--invitation {
    background: #102d33;
    border-block-start: 4px solid #ffde59;
}
body.npm-wp-home .npm-home-organizers--invitation::after { content: none; }
body.npm-wp-home .npm-home-organizers--invitation .npm-home-organizers-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: clamp(24px, 5vw, 66px);
    min-height: 0;
    padding-block: clamp(40px, 6vw, 82px);
}
body.npm-wp-home .npm-home-organizers--invitation h2 {
    max-width: 15ch;
    margin-bottom: 16px;
    font-size: clamp(34px, 4.2vw, 58px);
    text-wrap: balance;
}
body.npm-wp-home .npm-home-organizers--invitation .npm-home-participation-actions {
    gap: 10px 18px;
    margin-block: 22px 0;
}
body.npm-wp-home .npm-home-organizers--invitation .npm-wp-button { margin-top: 0; }
body.npm-wp-home .npm-home-organizers--invitation .npm-home-organizers-photo {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ffffff66;
    border-radius: 12px;
}
@media (max-width: 820px) {
    body.npm-wp-home .npm-home-organizers--invitation .npm-home-organizers-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
