/* Refinements after the full chapter audit. Loaded last to avoid competing legacy rules. */
.page-inicio .home-events{background:#f7f8f2;color:#173f2c;padding:46px 0 34px}
.page-inicio .home-events-heading .eyebrow,.page-inicio .home-events-heading h2 em{color:#19714a}
.page-inicio .home-events-heading .text-link{color:#075d3b}
.page-inicio .home-events-track{gap:20px;padding:4px 3px 18px;scroll-padding-inline:3px}
.page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){
  flex:0 0 clamp(290px,39vw,480px);display:block;min-height:0;padding:0!important;
  background:transparent;border:0!important;border-radius:0;box-shadow:none;color:#173f2c
}
.page-inicio .home-event+.home-event{border:0!important}
.page-inicio .home-event-photo{width:100%;height:auto;aspect-ratio:1.55;overflow:hidden;border-radius:8px 48px 8px 8px;background:#e2ebda}
.page-inicio .home-event-photo img{width:100%;height:100%;object-fit:cover}
.page-inicio .home-event-body{padding:17px 1px 5px;min-height:0;display:flex;flex-direction:column;align-items:start}
.page-inicio .home-event-kind{font-size:12px;color:#357151;font-weight:700;letter-spacing:.1em}
.page-inicio .home-event h3{font-size:clamp(23px,2.3vw,31px);line-height:1.15;overflow-wrap:break-word;margin:7px 0 0}
.page-inicio .home-event-meta{font-size:14px;margin:10px 0 0;color:#4a6854}
.page-inicio .home-event-description{font-size:14px;line-height:1.5;color:#4a6854;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.page-inicio .home-event-link{font-size:14px;font-weight:700;margin:10px 0 0;min-height:44px;display:inline-flex;align-items:center;padding:6px 0}
.page-inicio .home-event-link:after{border-radius:8px}
.page-inicio .home-events-controls .event-position{color:#46684e;font-size:13px}
.page-inicio .home-events-controls button{color:#145c3c;border-color:#9cb79d;background:#fff}
.page-inicio .home-events-controls button:hover:not(:disabled){background:#e5f1d8}
.page-inicio .home-events-controls button:focus-visible,.page-inicio .home-events-track:focus-visible{outline-color:#168052}
.page-inicio .home-events-controls button[aria-label="Eventos anteriores"],.page-inicio .home-events-controls button[aria-label="Siguientes eventos"]{display:none}
.page-inicio .home-event:focus-within{outline-offset:4px}
.page-proximamente .event-row,.page-proximamente .event-row.has-image,.page-proximamente .event-row.without-image{grid-template-columns:minmax(220px,33%) minmax(0,1fr);gap:clamp(22px,4vw,60px);align-items:start;padding:28px 0!important;border-top:1px solid #cbdac4;border-radius:0!important;background:transparent!important}
.page-proximamente .event-row.has-image .event-photo{width:100%;height:auto;aspect-ratio:1.45;border-radius:7px 48px 7px 7px;background:#dfe9dc;overflow:hidden}
.page-proximamente .event-row.has-image .event-photo img{width:100%;height:100%;object-fit:cover}
.page-proximamente .event-row h3{font-size:clamp(26px,3vw,39px);margin:10px 0}
.page-proximamente .event-row p:not(.event-meta){display:block;font-size:15px;line-height:1.65}
.page-proximamente .event-row .event-meta{font-size:13px;line-height:1.6}
.page-proximamente .event-registration{display:inline-flex;font-size:12px;line-height:1.4;color:#426b4e;margin-top:8px}
.page-proximamente .event-detail-cue{font-size:14px;min-height:44px;display:inline-flex;align-items:center;margin-top:13px}
.page-proximamente .event-row.without-image:before{font-size:clamp(32px,4vw,55px);max-width:none}
.page-equipo .president-feature{position:relative}
.page-equipo .president-mark.ve-portrait{overflow:hidden;opacity:1;pointer-events:auto}
.page-equipo .president-mark.ve-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.page-equipo .leader-initial.ve-portrait img,.page-equipo .mini-initial.ve-portrait img,.page-equipo .support-symbol.ve-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.page-equipo .leader-initial.ve-portrait,.page-equipo .mini-initial.ve-portrait,.page-equipo .support-symbol.ve-portrait{overflow:hidden;padding:0}
.page-equipo .organizer-people li{align-items:center}
.page-equipo .mini-initial{width:44px;height:44px;flex:0 0 44px;font-size:12px}
.page-equipo .support-card .support-symbol{width:70px!important;height:70px!important;display:grid;place-items:center}
.page-equipo .support-card h3{line-height:1.3}
.showcase-brand>span,.cover-caption>span,.gallery-origin,.alliance-band-bottom,.hero-bottom>a,.visual-index,.float-bottom small,.hero-mini div>span,.chapter-origin .eyebrow,.story-context>span,.purpose-index,.purpose-end{font-size:max(12px,1em);line-height:1.45}
.photo-open,.back-top{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important}
.media-unavailable{background:#e4eddf!important;min-height:90px;display:grid!important;place-items:center;color:#285940}
.media-unavailable .media-fallback{display:block;padding:16px;font-size:14px;font-weight:600;line-height:1.4;text-align:center}
.media-unavailable img{display:none!important}
.login-content .password-field{display:flex;align-items:center;position:relative}
.login-content .password-field input{width:100%;padding-right:100px;box-sizing:border-box}
.login-content .password-field button{position:absolute;right:5px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#075e3f;font-family:inherit;font-weight:700;font-size:13px;min-width:82px;min-height:44px;cursor:pointer;border-radius:6px}
.login-content .password-field button:focus-visible{outline:3px solid #158355;outline-offset:2px}
@media(max-width:760px){
 .page-inicio .home-events{padding:33px 0 25px}
 .page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){flex-basis:min(78vw,390px);padding:0!important}
 .page-inicio .home-event-photo{aspect-ratio:1.42}
 .page-inicio .home-event-body{padding:15px 0 0}
 .page-inicio .home-event h3{font-size:clamp(23px,6.5vw,29px)}
 .page-inicio .home-event-meta{font-size:13px}
 .page-proximamente .event-row,.page-proximamente .event-row.has-image,.page-proximamente .event-row.without-image{display:block;padding:23px 0!important}
 .page-proximamente .event-row.has-image .event-photo{width:100%;aspect-ratio:1.7;margin-bottom:18px}
 .page-proximamente .event-row.without-image:before{display:block;margin-bottom:16px}
 .page-proximamente .event-row h3{font-size:27px}
 .page-proximamente .event-row p:not(.event-meta){font-size:14px}
 .page-equipo .president-feature{display:flex!important;flex-direction:column}
 .page-equipo .president-mark{position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;height:280px!important;min-height:280px!important;max-height:none!important;opacity:1!important;pointer-events:auto!important;aspect-ratio:auto!important}
 .page-equipo .president-mark>i{display:block}
 .page-equipo .leader-initial.ve-portrait{width:94px!important;height:94px!important}
 .page-equipo .leadership-card:has(.leader-initial.ve-portrait){grid-template-columns:96px minmax(0,1fr)}
 .page-equipo .support-card{grid-template-columns:70px minmax(0,1fr)!important}
 .page-equipo .team-intro-photo figcaption{font-size:12px}
 .showcase-brand>span,.cover-caption>span,.gallery-origin,.alliance-band-bottom,.hero-bottom>a,.visual-index,.float-bottom small,.hero-mini div>span,.story-context>span,.purpose-index,.purpose-end{font-size:12px!important}
}
@media(max-width:380px){.page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){flex-basis:82vw}.page-equipo .leadership-card:has(.leader-initial.ve-portrait){grid-template-columns:82px minmax(0,1fr)}.page-equipo .leader-initial.ve-portrait{width:78px!important;height:78px!important}}

.event-share{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:10px 16px;margin-top:10px;background:transparent;border:1px solid #17704b;border-radius:8px;color:#075d3b;font-family:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer}.event-share:hover{background:#d5e8c5}.event-share:focus-visible{outline:3px solid #158355;outline-offset:3px}.event-share-status{display:block;min-height:1.5em;margin-top:4px;font-size:13px;color:#075d3b}
.page-equipo .organizer-people li{min-height:70px;gap:15px}.page-equipo .mini-initial{width:60px;height:60px;flex-basis:60px;font-size:13px}.page-equipo .organizer-people strong{font-size:15px}.page-equipo .organizer-label,.page-equipo .leader-card-top,.page-equipo .team-section-caption{font-size:12px!important;line-height:1.5}.page-equipo .support-symbol{width:80px!important;height:80px!important}.page-equipo .support-card{grid-template-columns:80px minmax(0,1fr)!important}
@media(max-width:760px){.page-equipo .organizer-people li{min-height:68px}.page-equipo .mini-initial{width:56px;height:56px;flex-basis:56px}.page-equipo .support-symbol{width:70px!important;height:70px!important}.page-equipo .support-card{grid-template-columns:70px minmax(0,1fr)!important}}
.page-inicio .home-event-photo{aspect-ratio:16/9}
.page-inicio .home-event-photo.event-mini-placeholder{background:transparent;border:0;border-top:2px solid #26815c;border-bottom:1px solid #b8d1ba;border-radius:0;color:#b0d3ad;align-items:flex-end;justify-content:flex-start;padding:0 0 14px;box-sizing:border-box}
.page-inicio .home-event-photo.event-mini-placeholder span{font-size:clamp(78px,12vw,160px);font-weight:500;line-height:1;letter-spacing:-.08em}
.page-proximamente .event-row.has-image .event-photo{aspect-ratio:16/9}
.page-proximamente .event-row.without-image{grid-template-columns:1fr}
.page-proximamente .event-row.without-image>div{grid-column:1/-1;max-width:800px}
@media(max-width:760px){.page-inicio .home-event-photo{aspect-ratio:16/9}.page-proximamente .event-row.has-image .event-photo{aspect-ratio:16/9}}

.event-detail-hero .event-basic-info{position:static;max-width:none;margin:32px 0 0;box-sizing:border-box;color:#173e2b}.event-detail-hero .event-basic-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.event-detail-hero .event-basic-info dd{margin-bottom:10px;color:#173e2b}.event-detail-hero .event-basic-info .eyebrow,.event-detail-hero .event-basic-info .event-share-status{color:#176340}.event-detail-hero .event-basic-info .text-link{color:#075d3b}@media(max-width:700px){.event-detail-hero .event-basic-info{max-width:none;margin-top:22px}.event-detail-hero .event-basic-info dl{display:block}}

/* Final alignment pass: keep every editorial block inside its own column at all sizes. */
.header-inner,.header-inner>* ,main,.section-head,.section-head>*,.home-events-heading,.home-events-heading>*,.footer-main>*,.footer-utility>*{min-width:0}
.section-head,.home-events-heading{align-items:flex-end}
.section-head p,.home-events-heading p{overflow-wrap:anywhere}
.button,.text-link,.event-detail-cue{max-width:100%;white-space:normal;text-align:left}
.page-proximamente .event-row>*,.event-content-layout>*,.page-equipo .leadership-card>*,.page-equipo .support-card>*{min-width:0}
.page-proximamente .event-row h3,.page-equipo h2,.page-equipo h3,.event-detail-intro h1{overflow-wrap:anywhere}
.chapter-footer .footer-utility nav{align-items:center}

@media(max-width:700px){
 .section-head,.home-events-heading{display:block}
 .section-head>p,.section-head>.text-link,.home-events-heading>p,.home-events-heading>.text-link{margin-top:16px}
 .page-proximamente .event-row h3{line-height:1.18}
 .page-proximamente .event-detail-cue{min-height:48px}
 .page-equipo .leadership-card,.page-equipo .support-card{width:100%}
 .footer-utility nav{width:100%;justify-content:flex-start}
}

/* Mobile resilience pass — compact, touch friendly and free of accidental overflow. */
html,body{max-width:100%}
@media(max-width:700px){
 html{scroll-padding-top:84px}
 body{overflow-x:clip}
 .container{width:calc(100% - 28px)}
 main,main>*,section,section>*,.container>*,.header-inner>*,.chapter-footer *{min-width:0}
 h1,h2,h3,h4,p,a,button,li,dd{overflow-wrap:anywhere}
 img,svg,video{max-width:100%}
 .header-inner{min-height:72px;gap:10px}
 .brand{width:min(48vw,174px)}
 .menu-toggle{min-width:72px;min-height:46px;padding-inline:12px}
 #main-nav.open{max-height:calc(100dvh - 72px);overflow:auto;overscroll-behavior:contain;padding-bottom:calc(14px + env(safe-area-inset-bottom))}
 .section{padding-block:clamp(48px,13vw,68px)}
 .page-head{padding-block:38px 44px}
 .page-head h1,.section-head h2,.home-events-heading h2{max-width:100%;line-height:1.04}
 .button,.text-link,.event-detail-cue,.gallery-filters button,.purpose-tabs button,.partner-tab,.showcase-pause,.logo-motion,.home-events-controls button{min-height:44px}
 .privacy-banner{inset:auto 10px calc(10px + env(safe-area-inset-bottom));width:auto;max-width:none;max-height:min(62dvh,430px);overflow:auto;overscroll-behavior:contain;padding:17px;border-radius:16px;gap:0}
 .privacy-banner h2{margin-bottom:4px;font-size:18px;line-height:1.2}
 .privacy-banner p{margin:4px 0 0;font-size:12px;line-height:1.5}
 .privacy-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
 .privacy-actions .button{width:100%;min-height:44px;padding:10px 12px;font-size:12px;line-height:1.25}
 #preferences-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:20px 18px;border-radius:16px}
 #preferences-dialog h2{font-size:27px}
 #preferences-dialog .preference-row{display:grid;gap:10px}
 #preferences-dialog .fixed-label{justify-self:start;white-space:normal}
 .home-events-track{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scroll-padding-inline:14px}
 .home-event{scroll-snap-align:start}
 .page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){flex-basis:min(82vw,380px)}
 .page-inicio .home-event-body{padding-top:13px}
 .page-inicio .home-event-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .page-proximamente .event-row{scroll-margin-top:90px}
 .page-proximamente .event-row.has-image .event-photo{border-radius:7px 34px 7px 7px}
 .table-scroll{margin-inline:-14px;padding-inline:14px;overscroll-behavior-inline:contain}
 .chapter-footer{padding-bottom:env(safe-area-inset-bottom)}
 .footer-main{gap:34px 20px}
 .footer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
 .footer-shortcuts a,.footer-email,.footer-utility a,.footer-utility button{min-height:44px;display:inline-flex;align-items:center}
 .footer-email{font-size:13px}
 .footer-utility{gap:18px}
 .footer-utility nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}
 .footer-utility .team-access{margin-left:0}
 .social-icon-links a{min-width:44px;min-height:44px}
 .back-top{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:44px!important;height:44px!important}
}
@media(max-width:430px){
 .header-inner .menu-toggle{display:block!important}
 .container{width:calc(100% - 24px)}
 .chapter-footer .footer-main{grid-template-columns:1fr}
 .footer-signature,.footer-shortcuts,.footer-connect{grid-column:1!important}
 .footer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-connect{display:block}
 .footer-utility{display:block}
 .footer-utility>span{display:block;margin-bottom:12px}
 .footer-utility nav{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .story-photo-grid{grid-template-columns:1fr}
 .story-photo-grid>.story-photo{grid-column:1}
 .community-visuals,.community-collage{grid-template-columns:1fr}
 .page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){flex-basis:calc(100vw - 52px)}
 .page-inicio .home-event h3{font-size:clamp(22px,7vw,28px)}
 .privacy-banner{max-height:min(68dvh,460px)}
}
@media(max-width:350px){
 .container{width:calc(100% - 20px)}
 .brand{width:150px}
 .menu-toggle{min-width:66px;padding-inline:9px;font-size:12px}
 .page-inicio .home-event,.page-inicio .home-event:not(:has(.home-event-photo)){flex-basis:calc(100vw - 38px)}
 .footer-shortcuts,.footer-utility nav{grid-template-columns:1fr}
 .privacy-actions{grid-template-columns:1fr}
}

/* Community is a route to action, not only a photo archive. */
.community-pathways{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 margin-top:clamp(24px,4vw,46px);
 border-top:1px solid #cad8c8;
 border-bottom:1px solid #cad8c8;
}
.community-pathways>a{
 position:relative;
 display:grid;
 align-content:start;
 min-height:230px;
 padding:28px clamp(20px,3vw,38px) 26px;
 border-right:1px solid #cad8c8;
 transition:background .2s ease,color .2s ease;
}
.community-pathways>a:last-child{border-right:0}
.community-pathways>a:nth-child(1){background:#f0f7df}
.community-pathways>a:nth-child(2){background:#eef2f8}
.community-pathways>a:nth-child(3){background:#f9eee6}
.community-pathways>a:hover{background:#0a4f3b;color:#fff}
.community-pathways>a>span{font-size:11px;letter-spacing:.14em;color:#4c775e}
.community-pathways>a>strong{margin-top:34px;font:600 clamp(25px,2.6vw,38px)/1.05 Manrope,sans-serif;letter-spacing:-.045em}
.community-pathways>a>p{margin-top:12px;max-width:28ch;font-size:14px;line-height:1.65;color:#4d6658}
.community-pathways>a>em{align-self:end;margin-top:24px;color:#075f42;font-size:13px;font-style:normal;font-weight:700}
.community-pathways>a:hover>span,.community-pathways>a:hover>p,.community-pathways>a:hover>em{color:#e8f5df}

.story-context .story-action{
 margin-left:auto;
 color:#075f42;
 font-size:12px;
 font-weight:750;
 white-space:nowrap;
 text-decoration:underline;
 text-underline-offset:5px;
}

.community-next-steps{padding:clamp(55px,8vw,88px) 0;background:#073f31;color:#fff}
.community-next-heading{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(18rem,.95fr);gap:10px 60px;align-items:end;padding-bottom:30px}
.community-next-heading .eyebrow{grid-column:1/-1;color:#bedd9c;margin-bottom:6px}
.community-next-heading h2{font-size:clamp(34px,4.5vw,56px);font-weight:500}
.community-next-heading p{color:#cbded2;font-size:15px;line-height:1.75;max-width:42rem}
.community-next-grid{border-top:1px solid #ffffff35}
.community-next-grid>a{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:24px;min-height:104px;border-bottom:1px solid #ffffff35;color:#fff;transition:padding .2s ease,background .2s ease}
.community-next-grid>a:hover{padding-inline:18px;background:#ffffff0c}
.community-next-grid span{font-size:10px;letter-spacing:.14em;color:#bedd9c}
.community-next-grid strong{font:500 clamp(21px,2.4vw,31px)/1.2 Manrope,sans-serif;letter-spacing:-.035em}
.community-next-grid em{color:#d8e9cf;font-size:13px;font-style:normal;font-weight:700}

/* Final mobile layout pass. */
@media(max-width:700px){
 body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .page-equipo .team-intro,.page-equipo .team-leadership,.page-equipo .support-section{overflow:hidden}
 .page-equipo .vice-grid{display:grid;grid-template-columns:minmax(0,1fr)}
 .page-equipo .vice-card{width:100%;min-width:0}
 .page-equipo .vice-card>.leader-initial{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:4/5!important}
 .page-equipo .vice-card>.leader-initial img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
 .page-equipo .vice-card>.vice-card-copy{min-width:0}
 .page-equipo .organizer-people li{align-items:center}
 .page-equipo .team-contact-links{width:100%}
 .community-pathways{grid-template-columns:1fr;margin-top:28px}
 .community-pathways>a{min-height:0;padding:22px 20px 24px;border-right:0;border-bottom:1px solid #cad8c8}
 .community-pathways>a:last-child{border-bottom:0}
 .community-pathways>a>strong{margin-top:16px;font-size:29px}
 .community-pathways>a>p{max-width:none;margin-top:8px}
 .community-pathways>a>em{margin-top:17px;min-height:44px;display:inline-flex;align-items:center}
 .page-comunidad .story-heading{grid-template-columns:42px minmax(0,1fr);gap:12px 14px}
 .page-comunidad .story-heading>p{grid-column:1/-1;margin-top:5px;font-size:14px}
 .page-comunidad .story-heading h2{font-size:clamp(30px,9vw,38px)}
 .page-comunidad .story-photo-grid{grid-template-columns:1fr;gap:25px}
 .page-comunidad .story-photo-grid>.story-photo{grid-column:1;margin-top:0}
 .page-comunidad .story-photo figcaption>span{font-size:14px}
 .page-comunidad .story-photo figcaption p{font-size:13px}
 .story-context{display:grid!important;gap:7px!important}
 .story-context>span,.story-context>p,.story-context .story-action{margin:0;min-width:0;white-space:normal}
 .story-context .story-action{min-height:44px;display:inline-flex;align-items:center;margin-top:4px;font-size:13px}
 .community-next-heading{grid-template-columns:1fr;gap:14px;padding-bottom:24px}
 .community-next-heading .eyebrow{grid-column:1}
 .community-next-heading h2{font-size:36px}
 .community-next-heading p{font-size:14px}
 .community-next-grid>a{grid-template-columns:1fr;gap:8px;min-height:0;padding:20px 0}
 .community-next-grid>a:hover{padding-inline:10px}
 .community-next-grid strong{font-size:24px}
 .community-next-grid em{min-height:36px;display:flex;align-items:center}
}
