/* Portada editorial de la comunidad y sus contenidos. */
.community{overflow:hidden}.community-grid>div:first-child>p{max-width:38rem;line-height:1.75}.community-list{margin-top:0}.community-item{gap:20px}.community-item b{color:#a7c3b1}.social-photos{align-items:start}.social-photos .social-frame,.social-photos .photo-crop{overflow:hidden;background:#25443f}.social-photos .social-feature .social-frame{aspect-ratio:4/4.6}.social-photos figure.social-feature:first-child img{object-position:50% 38%;transform:scale(1.04)}.social-photos .social-feature:hover img{transform:scale(1.08)!important}.social-photos .social-mosaic{margin-top:clamp(36px,6vw,90px)}.social-photos .photo-one img{object-position:50% 30%}.social-photos .photo-two img{object-position:50% 40%}.social-photos .photo-three img{object-position:50% 40%}.social-photos .photo-four img{object-position:50% 40%}.social-photos figcaption,.mosaic-caption{margin-top:12px;line-height:1.5}
.messages{overflow:hidden}.messages-heading{gap:30px;align-items:end}.messages-heading>p{max-width:330px;line-height:1.65}.featured-message{overflow:hidden;align-items:stretch}.featured-image{min-height:420px;background:#25443f}.featured-image>img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}.featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.featured-copy h3{max-width:14ch;overflow-wrap:anywhere}.featured-copy .message-details{font-size:13px;line-height:1.6;color:#52685d}.featured-copy .feature-link+.feature-link{margin-top:18px}.cover-mark svg{overflow:visible}.featured-image .cover-mark path{stroke-linecap:round;stroke-linejoin:round}
.editorial .article-grid{align-items:start;gap:clamp(20px,2.6vw,38px)}.editorial .article-card{min-width:0}.editorial .article-card a{display:block}.editorial .article-card>a>img,.editorial .article-card .article-visual{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center;overflow:hidden}.editorial .article-card h3{line-height:1.18;overflow-wrap:anywhere}.editorial .article-card p{line-height:1.65}.article-history-link>img{transition:filter .45s ease,transform .45s ease}.article-history-link:hover>img{filter:saturate(1.08)}.article-history-link:focus-visible,.feature-link:focus-visible,.social-reel:focus-visible{outline:3px solid #df8b72;outline-offset:5px}
@media(max-width:800px){.community-grid{gap:32px}.social-photos{grid-template-columns:1fr;gap:20px;margin-top:38px}.social-photos .social-feature .social-frame{aspect-ratio:5/4}.social-photos .social-mosaic{margin-top:0;gap:8px}.social-photos .photo-crop{aspect-ratio:1/1}.messages-heading{align-items:start;gap:12px}.messages-heading>p{max-width:34ch}.featured-image{min-height:0;aspect-ratio:5/4}.featured-image>img{object-position:50% 38%}.featured-copy{padding:28px 24px 32px}.featured-copy h3{font-size:clamp(28px,8vw,36px);line-height:1.08}.editorial .article-grid{grid-template-columns:1fr;gap:22px}.editorial .article-card:not(:first-child){display:block}.editorial .article-card:not(:first-child) .article-visual{height:auto;aspect-ratio:16/10;padding:22px}.editorial .article-card>a>img{aspect-ratio:16/10}.editorial .article-card h3{font-size:clamp(22px,6vw,27px)}.editorial .article-card p{font-size:15px}.social-photos .social-feature:hover img{transform:scale(1.04)!important}}
@media(prefers-reduced-motion:reduce){.article-history-link>img{transition:none}.social-feature img,.social-mosaic img{animation:none!important;transition:none!important}}

/* Un artículo principal y lecturas secundarias más compactas. */
@media(min-width:801px){
  .editorial .article-grid:not(.article-grid--single){grid-template-columns:1.35fr 1fr 1fr;gap:clamp(24px,3vw,42px)}
  .editorial .article-card:first-child h3{font-size:clamp(26px,2.7vw,36px);max-width:22ch}
  .editorial .article-card:not(:first-child) h3{font-size:clamp(21px,1.7vw,25px)}
}
.editorial .article-card:nth-child(2) .article-visual{background:#d5e3d6}
.editorial .article-card:nth-child(3) .article-visual{background:#e4c7b7}
@media(max-width:800px){
  .featured-image{aspect-ratio:16/10}.featured-image>img{object-position:center 38%}
  .featured-copy{padding:23px 22px 26px}.featured-copy h3{margin:12px 0 8px;font-size:clamp(27px,7.5vw,34px)}
  .featured-copy .message-details{margin:0 0 12px}.featured-copy .feature-link+.feature-link{margin-top:8px}
  .editorial .article-grid{gap:24px}.editorial .article-card:not(:first-child){padding-top:22px}
  .editorial .article-card:not(:first-child) .article-history-link{display:grid;grid-template-columns:minmax(96px,32%) minmax(0,1fr);column-gap:18px;align-items:start}
  .editorial .article-card:not(:first-child) .article-history-link>img,.editorial .article-card:not(:first-child) .article-visual{grid-column:1;grid-row:1 / span 4;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;margin:0}
  .editorial .article-card:not(:first-child) .article-visual{padding:12px}
  .editorial .article-card:not(:first-child) .article-visual>span{font-size:clamp(18px,5vw,25px)}
  .editorial .article-card:not(:first-child) .article-tag,.editorial .article-card:not(:first-child) h3,.editorial .article-card:not(:first-child) p,.editorial .article-card:not(:first-child) .article-read{grid-column:2}
  .editorial .article-card:not(:first-child) h3{font-size:clamp(19px,5vw,23px);margin:0 0 8px}
  .editorial .article-card:not(:first-child) p{font-size:14px;line-height:1.55;margin:0 0 10px}
  .editorial .article-card:not(:first-child) .article-read{margin-top:2px}
}

/* Bordes suaves en fotografía; composiciones y portadas de serie. */
.social-photos .social-frame,.social-photos .photo-crop{border-radius:7px}
.editorial .article-card>a>img{border-radius:7px}
.featured-message,.message-panel{border-radius:4px}
.social-photos .social-mosaic{position:relative;isolation:isolate}
.social-photos .social-mosaic:before{content:"";position:absolute;width:55%;height:46%;top:-24px;right:-24px;border:1px solid rgba(188,212,194,.2);border-radius:46% 54% 62% 38%;transform:rotate(-12deg);z-index:-1;pointer-events:none}
.social-photos .mosaic-caption:after{content:"";display:inline-block;width:46px;height:1px;margin:0 0 3px 12px;background:#a4c0ad;opacity:.65}
.ibn-message-card{padding:16px!important}.ibn-message-card__cover{display:block!important;text-decoration:none!important}
.ibn-cover{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:9px;min-height:210px;aspect-ratio:16/11;padding:clamp(20px,2.2vw,30px);overflow:hidden;color:#f6f3ea;background:#1e403e;isolation:isolate}
.ibn-cover:before,.ibn-cover:after{content:"";position:absolute;pointer-events:none;z-index:-1}
.ibn-cover:before{width:65%;aspect-ratio:1;right:-18%;top:-40%;border:1px solid currentColor;opacity:.28;border-radius:48% 52% 42% 58%;transform:rotate(24deg)}
.ibn-cover:after{inset:0;opacity:.13;background:repeating-linear-gradient(135deg,transparent 0 5px,rgba(255,255,255,.1) 6px 7px)}
.ibn-cover--2{background:#d3e4d5;color:#183b39}.ibn-cover--2:before{right:-20%;top:auto;bottom:-57%;width:100%;border-width:2px;border-radius:50% 38% 54% 46%}
.ibn-cover--3{background:#d9ab94;color:#17343a}.ibn-cover--3:before{width:70%;right:-18%;top:-15%;border-radius:50%;border-width:1px}
.ibn-cover>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center 38%;z-index:-2}
.ibn-cover--photo{color:#fff;background:#17383a}.ibn-cover--photo:after{opacity:1;background:linear-gradient(0deg,rgba(11,32,34,.9),rgba(11,32,34,.12) 85%)}
.ibn-cover__eyebrow,.ibn-cover__series{font:700 10px/1.4 Montserrat,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.ibn-cover__title{font:700 clamp(20px,2vw,30px)/1.04 Montserrat,sans-serif;letter-spacing:-.045em;overflow-wrap:anywhere}
.ibn-cover__trace{position:absolute;right:14px;bottom:14px;width:82px;height:35px;opacity:.45;background:url('assets/trazo-comunidad.svg') center/contain no-repeat;filter:brightness(0) invert(1);pointer-events:none}
.ibn-cover--2:not(.ibn-cover--photo) .ibn-cover__trace,.ibn-cover--3:not(.ibn-cover--photo) .ibn-cover__trace{filter:none}
.ibn-message-card h3{font-size:22px;margin:18px 0 8px}.ibn-message-card p{margin:8px 0}
.featured-message--2 .featured-stamp{background:#d9e8da}.featured-message--3 .featured-stamp{background:#e7c3af}
@media(max-width:800px){.social-photos .social-frame,.social-photos .photo-crop,.editorial .article-card>a>img{border-radius:5px}.social-photos .social-mosaic:before{width:42%;height:35%;top:-12px;right:-8px}.ibn-cover{min-height:180px;padding:22px}.ibn-cover__title{font-size:clamp(22px,6vw,28px)}}

/* Archivo editorial: protagonista claro y agenda legible. */
.message-page .ibn-message-feature{margin-top:38px;box-shadow:0 20px 55px rgba(0,0,0,.1)}
.message-panel .placeholder-label{color:#537364}.message-panel h2{overflow-wrap:anywhere}.message-panel .ibn-message-link{align-self:flex-start;padding:15px 0;border-top:1px solid #c3d1c6;min-width:min(100%,240px)}
.empty-library{padding-bottom:42px}.ibn-message-archive .ibn-message-card{background:transparent;padding:0!important}.ibn-message-card h3{line-height:1.15}.ibn-message-card__cover{border-radius:6px}.ibn-message-card__cover .ibn-cover{transition:transform .45s ease}.ibn-message-card__cover:hover .ibn-cover{transform:scale(1.025)}
.event-editorial{padding-top:80px;padding-bottom:90px}.event-list-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}.event-list-head h2{font:700 clamp(34px,4vw,54px)/1.08 Montserrat,sans-serif;letter-spacing:-.055em;margin:18px 0 0}.event-list-head>p{max-width:290px;line-height:1.6;color:#52675f}.event-entry{display:grid;grid-template-columns:110px minmax(180px,.85fr) minmax(0,1fr);gap:32px;align-items:center;border-top:1px solid #aebfb1;padding:28px 0}.event-entry--featured{background:#e0eadd;border:0;gap:0;padding:0;align-items:stretch;overflow:hidden;border-radius:6px}.event-entry--featured .event-date{padding:38px 22px 38px 30px}.event-date time{display:flex;flex-direction:column;gap:5px}.event-date span{font:700 clamp(40px,5vw,67px)/1 Montserrat,sans-serif;letter-spacing:-.07em}.event-date small{text-transform:uppercase;font:700 10px Montserrat,sans-serif;letter-spacing:.1em}.event-entry__image{display:block;min-height:160px;overflow:hidden;border-radius:5px;background:#284b45}.event-entry__image img{display:block;width:100%;height:100%;min-height:160px;object-fit:cover}.event-entry--featured .event-entry__image{min-height:350px;border-radius:0}.event-entry--featured .event-entry__image img{height:100%;min-height:350px}.event-art{min-height:160px;height:100%;padding:25px;display:flex;flex-direction:column;justify-content:space-between;color:#f7f4eb;background:#284b45 url('assets/forma-encuentro.svg') 110% 115%/65% auto no-repeat}.event-art>span{font:700 clamp(22px,2.5vw,38px)/1 Montserrat,sans-serif;letter-spacing:-.06em}.event-art small{font:700 9px Montserrat,sans-serif;letter-spacing:.1em}.event-art__dot{color:#e79b80}.event-entry__copy{min-width:0}.event-entry--featured .event-entry__copy{padding:clamp(28px,4vw,60px)}.event-entry__label{font:700 10px Montserrat,sans-serif;letter-spacing:.12em;color:#557366}.event-entry h3{font:700 clamp(24px,2.7vw,38px)/1.1 Montserrat,sans-serif;letter-spacing:-.05em;margin:15px 0}.event-entry h3 a:hover{text-decoration:underline;text-underline-offset:5px}.event-entry__copy p{font-size:14px;line-height:1.65;max-width:45ch}.event-entry__details{font-weight:700;color:#426153}.event-entry__actions{display:flex;flex-wrap:wrap;gap:18px 24px;margin-top:24px}.event-entry__actions a,.event-visit a{font:700 10px/1.5 Montserrat,sans-serif;letter-spacing:.06em;text-decoration:underline;text-underline-offset:5px}.event-entry__actions a{min-height:35px}.event-entry--compact{grid-template-columns:110px 180px minmax(0,1fr)}.event-entry--compact h3{font-size:24px}.event-entry--compact .event-entry__image{height:160px}.event-entry--featured + .event-entry{margin-top:38px}.event-visit{margin-top:55px;border-top:1px solid #aebfb1;padding-top:25px;line-height:1.6}.event-empty{border-top:1px solid #aebfb1;padding:32px 0}
@media(max-width:800px){.message-page .ibn-message-feature{margin-top:25px}.empty-library{padding-bottom:35px}.ibn-message-card__cover:hover .ibn-cover{transform:none}.event-editorial{padding-top:55px;padding-bottom:65px}.event-list-head{display:block;margin-bottom:28px}.event-list-head>p{margin-top:15px}.event-entry,.event-entry--compact{grid-template-columns:65px minmax(0,1fr);gap:18px;padding:25px 0;align-items:start}.event-entry--featured{gap:0;padding:0;grid-template-columns:1fr}.event-entry--featured .event-date{padding:22px 24px 16px}.event-entry--featured .event-date time{flex-direction:row;align-items:baseline;gap:10px}.event-entry--featured .event-date span{font-size:44px}.event-entry--featured .event-entry__image,.event-entry--featured .event-entry__image img{height:220px;min-height:220px}.event-entry--featured .event-entry__copy{padding:26px 24px 30px}.event-entry--compact .event-entry__image{height:145px;min-height:145px}.event-entry--compact .event-entry__image img{height:145px;min-height:145px}.event-entry--compact .event-entry__copy{grid-column:2}.event-entry--compact .event-date{grid-row:1/3}.event-entry h3{font-size:27px}.event-entry--compact h3{font-size:23px}.event-entry__actions{gap:10px 20px;margin-top:18px}.event-visit{margin-top:35px}}
@media(prefers-reduced-motion:reduce){.ibn-message-card__cover .ibn-cover{transition:none}}
.event-entry--compact .event-art{padding:18px}.event-entry--compact .event-art>span{font-size:22px}

/* Acceso al audio y agenda: más claridad y objetivos táctiles amplios. */
.message-panel .ibn-message-link{display:inline-flex;align-items:center;gap:12px;min-height:48px;min-width:0;border:0;margin-top:18px;padding:0;font:700 11px/1.4 Montserrat,sans-serif;letter-spacing:.04em;text-decoration:none}
.message-play-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#173a38;color:#fff;font-size:13px;padding-left:3px;transition:background .2s}
.ibn-message-link:hover .message-play-icon{background:#bc5f49}.featured-player{width:min(100%,430px);margin-top:22px}.featured-player__label{display:block;font:700 10px Montserrat,sans-serif;letter-spacing:.1em;color:#526c5d;margin-bottom:10px}.featured-player audio{display:block;width:100%;height:44px}.message-panel .featured-player + .ibn-message-link{margin-top:8px}.message-panel .featured-player + .ibn-message-link .message-play-icon{display:none}
@media(min-width:801px){.ibn-message-archive .ibn-listado--few{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));max-width:880px}.empty-library{align-items:end}.empty-library>div:last-child{padding-top:0;border-top:0}}
.event-date small{line-height:1.4}.event-entry__details{text-transform:none}.event-entry__actions{align-items:stretch}.event-entry__actions a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 15px;border:1px solid #294b43;text-decoration:none;transition:background .2s,color .2s}.event-entry__actions a:first-child{background:#173a38;color:white}.event-entry__actions a:hover{background:#bd654e;border-color:#bd654e;color:#fff}
@media(max-width:800px){.empty-library{padding-top:42px;padding-bottom:22px;gap:8px}.empty-library h2{margin:12px 0 0}.empty-library>div:last-child{border:0;padding:0}.empty-library p{margin:5px 0 0;font-size:14px;line-height:1.5}.ibn-message-archive{padding-bottom:55px}.event-entry__actions{gap:10px}.event-entry__actions a{min-height:48px;padding:11px 14px}.event-entry--compact .event-entry__actions{flex-direction:column;align-items:stretch}.event-entry--compact .event-entry__actions a{justify-content:space-between}.event-date small{font-size:9px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.message-play-icon,.event-entry__actions a{transition:none}}
@media(min-width:801px){.ibn-message-archive .ibn-listado--few:has(> :only-child){max-width:560px}}

/* Reproductor integrado y lectura cómoda de la agenda. */
.message-panel .featured-player{width:min(100%,460px);padding:17px 18px 14px;margin-top:22px;background:#e2eade;border:1px solid #cbd9cc;border-radius:6px}
.featured-player__label{margin-bottom:10px;color:#35584b}.featured-player audio{max-width:100%;height:44px}
@media(min-width:801px){.ibn-message-archive .ibn-listado--few:has(> :only-child){max-width:100%}.ibn-listado--few .ibn-message-card:only-child{display:grid;grid-template-columns:minmax(260px,560px) minmax(220px,1fr);column-gap:clamp(28px,4vw,60px);align-items:start}.ibn-listado--few .ibn-message-card:only-child .ibn-message-card__cover{grid-row:1 / span 4}.ibn-listado--few .ibn-message-card:only-child h3{margin:10px 0 8px}.ibn-listado--few .ibn-message-card:only-child p{max-width:38ch}}
@media(max-width:800px){.message-panel .featured-player{padding:15px 14px 12px}.event-entry--compact{grid-template-columns:82px minmax(0,1fr);gap:16px}.event-entry--compact .event-date small{font-size:11px;letter-spacing:.04em;line-height:1.35;overflow-wrap:normal}.event-entry--featured .event-entry__actions{flex-direction:column;align-items:stretch}.event-entry--featured .event-entry__actions a{justify-content:space-between;width:100%}}
.ibn-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:45px 0 0}.ibn-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #a8baad;font:700 12px Montserrat,sans-serif;text-decoration:none}.ibn-pagination .current,.ibn-pagination a:hover{background:#173a38;border-color:#173a38;color:#fff}.ibn-pagination .dots{border:0}

/* Primera visita y cierre: acogida y datos prácticos. */
.visit-editorial{grid-template-columns:1fr .9fr;gap:clamp(50px,7vw,110px);align-items:center}.visit-editorial__copy{max-width:610px}.visit-editorial__copy>p{max-width:47ch}.visit-steps{margin:30px 0 26px;border-bottom:1px solid #b9c9bd}.visit-step{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:16px 0;border-top:1px solid #b9c9bd}.visit-step>span{padding-top:2px;font:700 10px Montserrat,sans-serif;color:#71927c}.visit-step strong{display:block;font:700 12px/1.4 Montserrat,sans-serif;letter-spacing:-.01em}.visit-step p{margin:5px 0 0;font-size:14px;line-height:1.5;color:#526c5f}.visit-editorial .visit-photo{height:clamp(440px,48vw,640px);margin:0;order:initial;border-radius:6px}.visit-editorial .visit-photo img{object-position:50% 55%;scale:1.10;transform-origin:50% 78%}.visit-editorial .visit-photo figcaption{z-index:1}
.closing-home{text-align:left;padding:90px 0;background:#dfeade}.closing-home:before{left:auto;right:-30px;bottom:-140px;opacity:.24}.closing-home__grid{display:grid;grid-template-columns:1.05fr .85fr;gap:clamp(45px,7vw,110px);align-items:center}.closing-home .eyebrow{justify-content:flex-start}.closing-home .section-title{margin:25px 0;max-width:650px}.closing-home__copy>p{max-width:46ch}.closing-home__details{display:grid;grid-template-columns:1fr 1.3fr;gap:25px;border-top:1px solid #aabfb0;margin:30px 0;padding-top:22px}.closing-home__details span,.closing-home__details strong{display:block}.closing-home__details span{font:700 10px Montserrat,sans-serif;letter-spacing:.12em;color:#5c7867;margin-bottom:8px}.closing-home__details strong{font-size:14px;line-height:1.5}.closing-home__actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px}.closing-home__map{display:inline-flex;align-items:center;min-height:44px;gap:12px;font:700 10px Montserrat,sans-serif;letter-spacing:.08em;text-decoration:underline;text-underline-offset:5px}.closing-home__photo{position:relative;margin:0;overflow:hidden;border-radius:6px;aspect-ratio:4/5;max-height:580px;background:#9db8a8}.closing-home__photo:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(12,36,37,.6));pointer-events:none}.closing-home__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.closing-home__photo figcaption{position:absolute;z-index:1;left:25px;bottom:23px;color:#fff;font:700 10px Montserrat,sans-serif;letter-spacing:.13em}.closing-home .draft{margin-top:22px}
@media(max-width:800px){.visit-editorial{grid-template-columns:1fr;gap:32px}.visit-editorial__copy{order:1}.visit-editorial .visit-photo{order:2;height:auto;aspect-ratio:16/10}.visit-editorial .visit-photo img{object-position:50% 58%;scale:1.04}.visit-steps{margin:25px 0 22px}.visit-step{padding:14px 0}.visit-step p{font-size:14px}.closing-home{padding:65px 0}.closing-home__grid{grid-template-columns:1fr;gap:34px}.closing-home .section-title{margin:20px 0}.closing-home__details{grid-template-columns:1fr;gap:18px;margin:24px 0;padding-top:19px}.closing-home__photo{aspect-ratio:4/3;max-height:none}.closing-home__photo img{object-position:center 40%}.closing-home__actions{gap:8px 22px}.closing-home:before{width:175px;right:-30px;left:auto;bottom:-20px}}
.closing-home .closing-home__copy>p{margin-left:0;margin-right:0}
/* El enlace de mapa conserva espacio cómodo junto a la acción principal. */
@media(max-width:480px){.closing-home__actions{align-items:flex-start;flex-direction:column;gap:6px}.closing-home__map{padding:0 4px;min-height:48px}}
.visit-step>.visit-step__icon{width:28px;height:28px;padding:0;display:grid;place-items:center;background:#dce9dd;border-radius:50%}.visit-step__icon img{display:block;width:15px;height:15px;opacity:.78}
.community-item__icon{width:24px;height:24px;flex:0 0 24px;color:#b6d1bd}

/* La lista de comunidad acompaña la lectura sin parecer navegación. */
.community .community-list{border-top:0;margin-top:0}.community .community-item{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:44px minmax(0,1fr);gap:20px;align-items:start;padding:26px 12px;border-top:1px solid rgba(203,224,210,.34)}.community .community-item:last-child{border-bottom:1px solid rgba(203,224,210,.34)}.community-item__icon{width:27px;height:27px;margin-top:3px;color:#bdd7c3}.community .community-item h3{margin:0;font-size:clamp(23px,2.1vw,30px);line-height:1.18}.community .community-item__copy p{margin:8px 0 0;color:#c2d2c9;font-size:14px;line-height:1.5}.community .community-item:before{content:'';position:absolute;inset:0;z-index:-1;background:rgba(196,222,199,.075);transform:scaleX(0);transform-origin:left;transition:transform .42s cubic-bezier(.22,1,.36,1)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.community-item__icon,.community .community-item__copy{transition:transform .42s cubic-bezier(.22,1,.36,1),color .3s}.community .community-item:hover:before{transform:scaleX(1)}.community .community-item:hover .community-item__icon{transform:translateX(5px);color:#e5beaa}.community .community-item:hover .community-item__copy{transform:translateX(5px)}.community .community-item:hover h3{transform:none}}
@media(max-width:800px){.community .community-list{margin-top:2px}.community .community-item{grid-template-columns:30px minmax(0,1fr);gap:14px;padding:19px 0}.community-item__icon{width:23px;height:23px;margin-top:2px}.community .community-item h3{font-size:23px}.community .community-item__copy p{font-size:13px;margin-top:5px}.community .community-item:before{display:none}.community .community-item:hover h3{transform:none}}
@media(prefers-reduced-motion:reduce){.community .community-item:before,.community-item__icon,.community .community-item__copy{transition:none!important}.community .community-item:hover h3{transform:none}}

/* El gesto del logotipo enlaza la comunidad con sus imágenes. */
.community-bridge{position:relative;width:min(340px,30%);height:55px;margin:18px 3% -24px auto;pointer-events:none}.community-bridge svg{display:block;width:100%;height:100%;overflow:visible}.community-bridge path{fill:none;stroke:#b8d0bb;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.62}.community .social-photos{margin-top:30px}.community .social-mosaic{grid-template-columns:1.08fr .92fr;align-content:start}.community .social-mosaic figure:nth-child(2){margin-top:28px}.community .social-mosaic figure:nth-child(3){margin-top:-28px}.community .social-mosaic .photo-one,.community .social-mosaic .photo-three{aspect-ratio:4/5}.community .social-mosaic .photo-two,.community .social-mosaic .photo-four{aspect-ratio:1/1}.community .social-mosaic .mosaic-caption{grid-column:1/-1}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){.community-list.motion-enter .community-item{animation:community-arrive .6s cubic-bezier(.22,1,.36,1) both}.community-list.motion-enter .community-item:nth-child(2){animation-delay:.09s}.community-list.motion-enter .community-item:nth-child(3){animation-delay:.18s}.community-bridge.motion-enter{animation:none}.community-bridge.motion-enter path{stroke-dasharray:430;animation:community-trace 1.25s ease-out both}@keyframes community-arrive{from{transform:translateY(8px)}to{transform:translateY(0)}}@keyframes community-trace{from{stroke-dashoffset:430}to{stroke-dashoffset:0}}}
@media(max-width:800px){.community-bridge{width:150px;height:36px;margin:12px 0 -12px auto}.community .social-photos{margin-top:16px}.community .social-mosaic{grid-template-columns:1fr 1fr;gap:8px}.community .social-mosaic figure:nth-child(2),.community .social-mosaic figure:nth-child(3){margin-top:0}.community .social-mosaic .photo-one,.community .social-mosaic .photo-two,.community .social-mosaic .photo-three,.community .social-mosaic .photo-four{aspect-ratio:1/1}.community-list.motion-enter,.community .community-item{animation:none!important}.community .social-mosaic figure.motion-enter{animation:none}}
@media(prefers-reduced-motion:reduce){.community-bridge path,.community-list .community-item{animation:none!important;stroke-dashoffset:0!important}}
/* Separación y legibilidad del gesto en la galería. */
@media(min-width:801px){.community .social-mosaic figure:nth-child(3){margin-top:-16px}}
@media(max-width:800px){.community-bridge path{stroke-width:2;opacity:.8}}
@media(min-width:801px){.community .social-mosaic figure:nth-child(3){margin-top:0}}
/* Una agenda con identidad también cuando aún no hay eventos. */
.event-hero{position:relative;overflow:hidden;isolation:isolate}.event-hero:after{content:"";position:absolute;z-index:-1;width:clamp(260px,37vw,550px);aspect-ratio:300/230;right:6%;top:7%;background:url('assets/forma-encuentro.svg') center/contain no-repeat;opacity:.5;transform:rotate(-8deg);pointer-events:none}.event-hero .wrap{position:relative}.event-empty{padding:clamp(32px,5vw,65px);background:#e3ecdf;border:0;border-radius:6px;max-width:900px}.event-empty__label{font:700 10px Montserrat,sans-serif;letter-spacing:.12em;color:#537363}.event-empty h3{font:700 clamp(26px,3vw,40px)/1.1 Montserrat,sans-serif;letter-spacing:-.05em;max-width:18ch;margin:18px 0}.event-empty p{line-height:1.7;max-width:45ch}.event-empty .button{margin-top:12px}.editorial .article-grid--single .article-card>a>img{border-radius:6px}.editorial .article-grid--single .article-card h3{max-width:30ch}
@media(max-width:800px){.event-hero:after{width:190px;right:-35px;top:auto;bottom:-50px;opacity:.22}.event-empty{padding:25px}.event-empty h3{font-size:27px}}
/* Portada gráfica para la biblioteca de audio antes de su primera publicación. */
.message-panel--empty{overflow:hidden;border-radius:6px}.message-empty-art{position:relative;isolation:isolate;overflow:hidden;margin:0;min-height:360px;padding:clamp(24px,4vw,52px);display:flex;flex-direction:column;justify-content:space-between;background:#b8cebc;color:#173a38}.message-empty-art:before{content:'';position:absolute;z-index:-1;width:68%;aspect-ratio:1;right:-12%;top:-35%;border:1px solid rgba(32,71,57,.24);border-radius:48% 52% 60% 40%;transform:rotate(-14deg)}.message-empty-art:after{content:'';position:absolute;right:28px;bottom:24px;width:125px;height:42px;background:url('assets/trazo-comunidad.svg') center/contain no-repeat;opacity:.7}.message-empty-art__eyebrow,.message-empty-art__caption{font:700 10px/1.4 Montserrat,sans-serif;letter-spacing:.12em}.message-empty-art svg{display:block;width:100%;max-width:450px;margin:auto;overflow:visible}.message-empty-art__wave{fill:none;stroke:#315a4a;stroke-width:2.5;stroke-linecap:round;opacity:.72}.message-empty-art__caption{max-width:180px}.message-panel--empty>div{min-width:0}
@media(max-width:800px){.message-empty-art{min-height:0;aspect-ratio:2/1;padding:20px 24px}.message-empty-art svg{max-width:330px}.message-empty-art:after{width:85px;height:32px;right:18px;bottom:17px}.message-empty-art__eyebrow,.message-empty-art__caption{font-size:9px}}

/* Acceso visible y portada proporcionada para un único mensaje en el archivo. */
.ibn-message-card__listen{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:8px;font:700 11px/1.4 Montserrat,sans-serif;letter-spacing:.04em;text-decoration:underline;text-underline-offset:4px}.ibn-message-card__listen:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(min-width:801px){.ibn-listado--few .ibn-message-card:only-child{grid-template-columns:minmax(240px,420px) minmax(220px,1fr);align-items:center}.ibn-listado--few .ibn-message-card:only-child .ibn-message-card__cover{grid-row:auto}.ibn-listado--few .ibn-message-card:only-child h3{margin-top:0}}

/* Prueba local: río como fondo de la invitación final. */
.closing-home--river{background:#193432;color:#fff;isolation:isolate}.closing-home--river:before{display:none}.closing-home__river{position:absolute;inset:0;z-index:-2;background:#24433e url("assets/rio-cta-prueba.jpg") center/cover no-repeat}.closing-home__river:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,29,28,.94),rgba(12,32,30,.82) 56%,rgba(12,32,30,.64))}.closing-home__river video{width:100%;height:100%;object-fit:cover;display:block}.closing-home--river .closing-home__grid{position:relative}.closing-home--river .closing-home__details{border-color:rgba(255,255,255,.38)}.closing-home--river .closing-home__details span{color:#c5d9c9}.closing-home--river .button{background:#f4f2e9;color:#172d31}.closing-home--river .closing-home__map{color:#fff}.closing-home--river .closing-home__photo{box-shadow:0 20px 60px rgba(0,0,0,.2)}
@media(prefers-reduced-motion:reduce){.closing-home__river video{display:none}}

/* Cierre centrado sobre el río. */


/* Encuadres editoriales y lectura compacta en móvil. */
.editorial .article-card--una-comunidad-para-caminar-juntos>a>img,.history-article--una-comunidad-para-caminar-juntos .history-cover img{object-position:50% 0%}
@media(max-width:800px){.editorial .article-card:not(:first-child) .article-history-link{grid-template-columns:minmax(85px,29%) minmax(0,1fr);column-gap:20px}.editorial .article-card:not(:first-child) p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.editorial .article-card--una-comunidad-para-caminar-juntos>a>img{object-position:28% 0%}}



/* Equilibrio del cierre sobre el río. */

/* Ritmo suave y encuadres en la portada. Los elementos siguen visibles sin JavaScript. */
@media(max-width:800px){.social-photos .social-feature .social-frame img,.social-photos figure.social-feature:first-child img{object-position:50% 0%;transform:scale(1)!important}.hero-inner{padding-bottom:32px}.movement-note{max-width:43ch;padding-left:16px}.intro{row-gap:18px}}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 .visit-photo.motion-enter{animation:ibn-gentle-enter .7s cubic-bezier(.22,1,.36,1) both}
 .events-teaser-art.motion-enter:before{animation:ibn-trace-enter .85s ease-out both}
 .article-card.motion-enter{animation:ibn-gentle-enter .55s cubic-bezier(.22,1,.36,1) both}
 .article-card:nth-child(2).motion-enter{animation-delay:.06s}.article-card:nth-child(3).motion-enter{animation-delay:.12s}
 .closing-home .closing-home__grid.motion-enter{animation:ibn-gentle-enter .65s cubic-bezier(.22,1,.36,1) both}
 @keyframes ibn-gentle-enter{from{transform:translateY(8px)}to{transform:translateY(0)}}
 @keyframes ibn-trace-enter{from{opacity:0;transform:translateY(4px) rotate(-7deg)}to{opacity:.28;transform:translateY(0) rotate(-7deg)}}
}
@media(max-width:800px){.visit-photo.motion-enter,.article-card.motion-enter,.closing-home .closing-home__grid.motion-enter{animation:none}}
@media(prefers-reduced-motion:reduce){.visit-photo.motion-enter,.events-teaser-art.motion-enter:before,.article-card.motion-enter,.closing-home .closing-home__grid.motion-enter{animation:none!important}}

/* La entrada del texto se reproduce una sola vez al cargar la portada. */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-copy h1 { animation: hero-text-focus 1000ms cubic-bezier(.35,.25,.35,1) both; }
  .hero .hero-copy h1 em { display: inline-block; }
  .hero .hero-copy p { animation: hero-copy-fade 520ms ease-out 270ms both; }
  @media (min-width: 801px) {
    .hero .hero-copy h1 em { animation: hero-text-focus 940ms cubic-bezier(.35,.25,.35,1) 160ms both; }
  }
  @media (max-width: 800px) {
    .hero .hero-copy h1 { animation-duration: 780ms; }
    .hero .hero-copy p { animation-duration: 430ms; animation-delay: 170ms; }
  }
}
@keyframes hero-text-focus {
  from { filter: blur(3px); opacity: .82; transform: translateY(6px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}
@keyframes hero-copy-fade {
  from { opacity: .7; }
  to { opacity: 1; }
}

/* Datos de visita y firma bajo el hero. */
.service-strip .service-strip-inner {
  grid-template-columns: 1fr 1.3fr auto;
  padding-block: 17px;
}
.service-strip .strip-label .ui-icon {
  filter: invert(46%) sepia(13%) saturate(501%) hue-rotate(101deg);
}
.welcome-line .wrap { min-height: 36px; }
.welcome-line .wrap .line-place { font-size: inherit; color: inherit; }
.welcome-line + .intro { padding-top: clamp(40px, 5vw, 76px); }
@media (max-width: 800px) {
  .service-strip .service-strip-inner { grid-template-columns: 1fr; gap: 10px; }
  .service-strip .service-strip-inner > div {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .service-strip .strip-label { min-width: 112px; }
  .service-strip .service-strip-inner > a { justify-self: start; padding-block: 8px; }
  .welcome-line .wrap { min-height: 32px; }
}

/* En móvil, la bienvenida se lee seguida antes del trazo decorativo. */
@media (max-width: 800px) {
  .intro > :is(.intro-mark, .intro-copy) { display: contents; }
  .intro .eyebrow { order: 1; }
  .intro h2 { order: 2; }
  .intro > div > p { order: 3; margin-block: 0; }
  .intro .welcome-art { order: 4; margin-block: 0 -14px; }
  .intro .movement-note { order: 5; }
  .intro:has(+ .visit-editorial) { padding-bottom: 52px; }
  .intro + .visit-editorial { padding-top: 46px; }
}

.closing-home--river {
  padding: clamp(72px, 9vw, 130px) 0;
}
.closing-home--river .closing-home__grid {
  display: block;
}
.closing-home--river .closing-home__copy {
  max-width: 940px;
}
.closing-home--river .section-title {
  max-width: none;
  font-size: clamp(2rem, 5vw, 4rem);
  text-wrap: balance;
}
.closing-home--river .closing-home__copy > p > span {
  display: block;
}
.closing-home--river .closing-home__details {
  max-width: 560px;
}
.closing-home--river .closing-home__actions {
  flex-direction: row;
}
@media (max-width: 800px) {
  .closing-home--river {
    padding: 56px 0;
  }
  .closing-home--river .section-title {
    font-size: clamp(2rem, 8.4vw, 3.75rem);
  }
  .closing-home--river .closing-home__copy > p {
    text-wrap: pretty;
  }
  .closing-home--river .closing-home__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .closing-home--river .closing-home__actions .button {
    display: flex;
    width: 100%;
    max-width: 560px;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .closing-home--river .closing-home__river:after {
    background: linear-gradient(180deg, rgba(9,29,28,.87), rgba(9,29,28,.78) 60%, rgba(9,29,28,.87));
  }
}

/* Vida de iglesia */
.church-life__hero,
.church-life__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}
.church-life__hero,
.church-life__visit {
  padding-block: clamp(52px, 8vw, 112px);
}
.church-life h1 {
  font: 700 clamp(42px, 7vw, 98px)/.98 Montserrat, sans-serif;
  letter-spacing: -.065em;
  margin: 22px 0;
  max-width: 8ch;
}
.church-life p { max-width: 48ch; }
.church-life__hero .button { margin-top: 12px; }
.church-life figure {
  overflow: hidden;
  margin: 0;
  border-radius: 6px;
}
.church-life figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.church-life__hero figure { aspect-ratio: 5/4; }
.church-life__hero figure img { object-position: 50% 15%; }
.church-life__gathering {
  padding-block: clamp(52px, 8vw, 100px);
  background: #142e35;
  color: #f4f2e9;
}
.church-life__gathering .eyebrow { color: #b8d1bf; }
.church-life__gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(14px, 1.8vw, 26px);
  margin-block: 24px 28px;
}
.church-life__gallery .church-life__photo { aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.church-life__gallery figure:first-child .church-life__photo { aspect-ratio: 1.3; }
.church-life__gallery figure:first-child img { object-position: 50% 10%; }
.church-life__gallery figure:nth-child(2) img { object-position: 50% 25%; }
.church-life__gallery figcaption {
  margin-top: 12px;
  color: #e0ede2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.church-life__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.church-life__social { text-decoration: underline; text-underline-offset: 5px; }
.church-life__gathering { scroll-margin-top: 20px; }
.church-life__visit .section-title { margin-block: 18px 12px; }
.church-life__visit p { margin-block: 0 20px; }
header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 800px) {
  .church-life__hero,
  .church-life__intro { grid-template-columns: 1fr; gap: 24px; }
  .church-life__intro .section-title { margin-bottom: 0; }
  .church-life__intro p { margin-top: 0; }
  .church-life__gallery { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .church-life__gallery figure:first-child { grid-column: 1 / -1; }
  .church-life__gallery figure:first-child .church-life__photo { aspect-ratio: 16/10; }
  .church-life__visit .section-title { margin-block: 14px 10px; }
}

/* Respuesta visual de las tarjetas de primera visita. */
#antes .fact {
  border-radius: 6px;
}
#antes .fact:focus-within {
  background-color: #fbf9f2;
  border-color: #8aa395;
}
@media (hover: hover) and (pointer: fine) {
  #antes .fact {
    transition: transform 240ms ease, background-color 240ms ease,
      border-color 240ms ease, box-shadow 240ms ease;
  }
  #antes .fact:hover {
    transform: translateY(-4px);
    background-color: #fbf9f2;
    border-color: #8aa395;
    box-shadow: 0 10px 24px rgba(16, 44, 53, .09);
  }
}
@media (prefers-reduced-motion: reduce) {
  #antes .fact {
    transition: none;
  }
  #antes .fact:hover {
    transform: none;
  }
}

.visit-guide .visit-hero-image { border-radius: 6px; }
.visit-guide .visit-hero-image img { object-position: 50% 47%; }
.visit-guide__location {
  display: grid;
  gap: 9px;
  margin-block: 22px;
  font-size: 15px;
}
.visit-guide__location > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.visit-guide__location img {
  width: 17px;
  height: 17px;
  flex: none;
  align-self: center;
}
.visit-guide__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.visit-guide__actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.visit-guide #antes .fact::after { display: none; }
.visit-guide .faq p a { text-decoration: underline; }
.visit-guide__contact {
  background: #dce9df;
  padding-block: clamp(48px, 7vw, 88px);
}
.visit-guide__contact .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.visit-guide__contact h2 { margin: 0; }

@media (max-width: 800px) {
  .visit-guide .page-hero-grid { padding-top: 36px; }
  .visit-guide .page-hero h1 { margin-block: 18px; }
  .visit-guide .visit-hero-image { height: auto; aspect-ratio: 16/10; }
  .visit-guide .page-section { padding-block: 48px; }
  .visit-guide #antes .fact { padding: 16px 18px; }
}

.visit-guide .visit-guide__faq {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  max-width: 1100px;
  gap: clamp(24px, 6vw, 84px);
}
.visit-guide__faq h2 { margin: 0; }
.visit-guide .faq details { padding: 0; }
.visit-guide .faq summary { padding: 18px 32px 18px 0; }
.visit-guide .faq details p { margin-block: 0 18px; }
.visit-guide .faq summary::before,
.visit-guide .faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 1px;
  background: currentColor;
}
.visit-guide .faq summary::after { transform: rotate(90deg); }
.visit-guide .faq details[open] summary::after {
  content: '';
  transform: rotate(0);
}
.visit-guide #antes .fact .ui-icon { opacity: .76; }
.visit-guide__contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.visit-guide__contact-mark {
  position: absolute;
  z-index: -1;
  width: clamp(180px, 23vw, 330px);
  right: 22%;
  bottom: 12px;
  opacity: .28;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .visit-guide .page-hero h1 {
    animation: visit-title-arrive 900ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .visit-guide .faq summary::after { transition: transform 220ms ease; }
  .visit-guide .faq details[open] p { animation: visit-answer-arrive 250ms ease both; }
}
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .visit-guide .visit-hero-image { animation: visit-answer-arrive 650ms ease both; }
  .visit-guide__contact-mark.is-visible { animation: visit-mark-arrive 1.15s ease both; }
}
@media (hover: hover) and (pointer: fine) {
  .visit-guide #antes .fact:hover .ui-icon { opacity: 1; }
}
@media (max-width: 800px) {
  .visit-guide .visit-guide__faq { grid-template-columns: 1fr; gap: 16px; }
  .visit-guide #antes .fact { padding-block: 14px; }
  .visit-guide__contact .wrap { gap: 16px; }
  .visit-guide__contact-mark { width: 145px; right: 18px; bottom: 12px; opacity: .24; }
}
@keyframes visit-title-arrive {
  from { opacity: .8; filter: blur(2px); transform: translateY(var(--visit-title-offset, 4px)); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes visit-answer-arrive {
  from { opacity: .55; }
  to { opacity: 1; }
}
@keyframes visit-mark-arrive {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

.visit-guide .faq details[open] {
  background: #e8eee4;
  border-radius: 4px;
}
.visit-guide .faq summary { padding-inline: 14px 38px; }
.visit-guide .faq summary::before,
.visit-guide .faq summary::after { right: 14px; }
.visit-guide .faq details p { margin: 0; padding: 0 14px 20px; }

.visit-guide #antes .fact-grid { gap: clamp(12px, 2vw, 24px); }
.visit-guide #antes .fact { padding: clamp(20px, 2.5vw, 34px); }
.visit-guide #antes .fact h3 {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.visit-guide #antes .fact p { margin: 0; max-width: 32ch; }
.visit-guide #antes .fact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dce9df;
  margin-bottom: 18px;
}
.visit-guide #antes .fact-icon .ui-icon { margin: 0; }
@media (max-width: 800px) {
  .visit-guide .page-hero h1 { --visit-title-offset: 2px; }
  .visit-guide #antes .fact {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
  }
  .visit-guide #antes .fact-icon { width: 36px; height: 36px; margin: 0; }
  .visit-guide #antes .fact h3 { margin: 0 0 5px; }
}

.community-more { margin-top: 24px; }
.community-more .social-reel { margin: 0; }
.church-life__hero figure img { object-position: 50% 25%; }

/* Quiénes somos */
.about-church__hero,
.about-church__faith,
.about-church__family .wrap {
  display: grid;
  gap: clamp(28px, 6vw, 88px);
}
.about-church__hero,
.about-church__family .wrap {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
}
.about-church__hero,
.about-church__faith,
.about-church__family,
.about-church__next { padding-block: clamp(50px, 7vw, 100px); }
.about-church__hero h1 { font-size: clamp(42px, 5.5vw, 80px); }
.about-church p { max-width: 55ch; line-height: 1.7; }
.about-church__hero img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 6px;
  display: block;
}
.about-church__faith {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  border-top: 1px solid #c8d1c9;
}
.about-church__faith > .eyebrow { align-self: start; margin-top: 8px; }
.about-church__faith h2 { margin-top: 0; }
.about-church__family { background: #dce9df; }
.about-church__family img { width: min(100%, 320px); justify-self: center; opacity: .55; }
.about-church__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.about-church__family a,
.about-church__actions a:not(.button) { text-decoration: underline; text-underline-offset: 5px; }
.about-church__actions a:not(.button) { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.about-church__next h2 { margin-top: 0; }

@media (max-width: 800px) {
  .about-church__hero,
  .about-church__faith,
  .about-church__family .wrap { grid-template-columns: 1fr; gap: 20px; }
  .about-church__hero img { aspect-ratio: 4/3; object-position: center 16%; }
  .about-church__faith { gap: 12px; }
  .about-church__faith > .eyebrow { margin-top: 0; }
  .about-church__actions { gap: 4px 16px; }
  .about-church__family img { width: min(48%, 200px); justify-self: start; }
}

.sermon-detail__back {
  display: inline-block;
  margin-bottom: 22px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sermon-detail .message-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: 6px;
}
.sermon-detail .message-panel > .sermon-detail__cover {
  position: relative;
  min-height: 340px;
  padding: 0;
}
.sermon-detail__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sermon-detail .sermon-detail__info .section-title {
  font-size: clamp(32px, 4vw, 64px);
  margin-block: 10px 14px;
  overflow-wrap: anywhere;
}
.sermon-detail__speaker { margin: 0; }
.sermon-detail__description { padding-block: 36px; max-width: 760px; }
@media (max-width: 800px) {
  .sermon-detail .message-panel { grid-template-columns: 1fr; }
  .sermon-detail .message-panel > .sermon-detail__info { order: -1; padding: 24px; }
  .sermon-detail .message-panel > .sermon-detail__cover {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .sermon-detail .sermon-detail__cover img { min-height: 0; }
}

@media (max-width: 800px) {
  .message-page .ibn-message-feature > img {
    height: clamp(145px, 41vw, 220px);
    object-position: center 38%;
  }
}

.event-calendar-icon { width: 17px; height: 17px; flex: none; }
.event-entry__actions a { gap: 8px; border-radius: 4px; }
.event-entry__actions a:last-child { justify-content: flex-start; }
.event-entry__actions a:hover .event-calendar-icon,
.event-detail__calendar .event-calendar-icon { filter: invert(1); }
.event-detail { padding-block: clamp(36px, 6vw, 88px); }
.event-detail__back,
.event-detail__registration { display: inline-block; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.event-detail__hero { background: #e0eadd; overflow: hidden; border-radius: 6px; }
.event-detail__hero--with-photo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.event-detail__info { padding: clamp(24px, 4vw, 56px); }
.event-detail h1 { margin-block: 18px 24px; overflow-wrap: anywhere; }
.event-detail__facts { margin: 0 0 24px; }
.event-detail__facts dt { font-weight: 700; margin-top: 12px; }
.event-detail__facts dd { margin: 4px 0 0; line-height: 1.6; }
.event-detail__facts small { display: block; }
.event-detail__calendar { gap: 10px; text-align: left; }
.event-detail__calendar:hover .event-calendar-icon { filter: none; }
.event-detail__registration { display: block; padding-block: 12px; }
.event-detail figure { margin: 0; position: relative; min-height: 200px; }
.event-detail figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.event-detail__description { max-width: 66ch; padding-block: 24px 0; line-height: 1.7; }

@media (max-width: 800px) {
  .event-entry--compact { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .event-entry--compact .event-date,
  .event-entry--compact .event-entry__copy { grid-area: auto; }
  .event-entry .event-date time { flex-direction: row; align-items: baseline; gap: 10px; }
  .event-entry--compact .event-entry__image,
  .event-entry--featured .event-entry__image { height: clamp(150px, 52vw, 250px); min-height: 0; }
  .event-entry .event-entry__image img { height: 100%; min-height: 0; }
  .event-detail__hero--with-photo { grid-template-columns: 1fr; }
  .event-detail figure { aspect-ratio: 16/9; min-height: 0; }
}

/* Portadas de artículos */
@media (min-width: 801px) {
  .editorial .article-grid .article-card:not(:first-child) { padding-top: 0; }
}
.history-heading--with-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.history-heading--with-cover h1 { font-size: clamp(38px, 4.5vw, 68px); }
.history-cover {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 5/4;
}
.history-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.history-article--tu-primera-visita-a-buenas-noticias-pontevedra .history-cover img { object-position: center 46%; }
.history-article .history-body {
  display: block;
  max-width: 760px;
  padding-block: clamp(36px, 5vw, 74px) clamp(56px, 7vw, 100px);
}
@media (max-width: 800px) {
  .history-heading--with-cover { grid-template-columns: 1fr; gap: 18px; }
  .history-heading--with-cover h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .history-heading--with-cover .history-intro { margin-bottom: 0; }
  .history-cover { aspect-ratio: 16/10; }
}

.community .social-feature.motion-enter,
.community .community-bridge.motion-enter { animation: none; }

@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .community .social-feature.motion-enter .social-frame {
    animation: community-photo-in 650ms ease-out both;
  }
}
@keyframes community-photo-in {
  from { opacity: .6; }
  to { opacity: 1; }
}

.featured-copy .home-message-listen {
  gap: 10px;
  min-height: 48px;
  margin-top: 12px;
  border-radius: 4px;
  text-align: left;
}
.home-message-listen__icon { flex: none; }
.featured-copy .home-message-listen__duration {
  margin-left: 8px;
  opacity: .85;
  font-variant-numeric: tabular-nums;
}
.featured-copy .home-message-listen:is(:hover, :focus-visible) .home-message-listen__duration { transform: none; }
.featured-copy .home-message-archive { min-height: 44px; align-items: center; }
.featured-copy .home-message-listen + .home-message-archive {
  border: 0;
  margin-top: 4px;
  padding-block: 8px;
}
@media (max-width: 800px) {
  .featured-copy .home-message-listen { width: 100%; justify-content: flex-start; }
  .featured-copy .home-message-listen__duration { margin-left: auto; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-message-listen__icon { transition: transform 200ms ease; }
  .home-message-listen:hover .home-message-listen__icon,
  .home-message-listen:focus-visible .home-message-listen__icon { transform: translateX(2px); }
}

.home-events__schedule { font-weight: 700; }
.home-events__agenda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.home-events__mark {
  display: grid;
  place-items: center;
  width: min(100%, 290px);
  min-height: 125px;
  padding: 30px;
  background: #e7b39c;
  border-radius: 6px;
  justify-self: end;
}
.home-events__mark img { display: block; width: min(100%, 170px); }
.home-events__card { background: #e8b6a0; border-radius: 6px; overflow: hidden; min-width: 0; }
.home-events__card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16/7;
  height: auto;
  object-fit: cover;
}
.home-events__card-copy { padding: clamp(22px, 3vw, 38px); }
.home-events__card h3 {
  font: 700 clamp(24px, 3vw, 40px)/1.12 Montserrat, sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  margin: 10px 0 18px;
}
.home-events__card .home-events__schedule { margin: 12px 0 0; }
@media (max-width: 800px) {
  .home-events__mark { width: 100%; min-height: 84px; padding: 14px 24px; justify-self: start; }
  .home-events__mark img { width: min(100%, 120px); }
  .home-events__card > img { aspect-ratio: 16/9; }
}

@media (min-width: 801px) {
  .home-events--upcoming .events-teaser-grid {
    grid-template-rows: 1fr 1fr;
    row-gap: 0;
  }
  .home-events--upcoming .events-teaser-grid > div:first-child { align-self: end; }
  .home-events--upcoming .home-events__card { grid-area: 1 / 2 / 3 / 3; }
  .home-events--upcoming .home-events__agenda { grid-area: 2 / 1; align-self: start; justify-self: start; }
  .home-events--upcoming .events-teaser-grid > div:first-child > p { margin-bottom: 12px; }
  .events-teaser.home-events--empty { padding-block: 68px; }
  .home-events--empty .home-events__mark { justify-self: start; }
}
@media (max-width: 800px) {
  .home-events--upcoming .events-teaser-grid { row-gap: 16px; }
  .home-events--upcoming .events-teaser-grid > div:first-child > p { margin-bottom: 0; }
  .home-events--upcoming .home-events__agenda { justify-self: start; }
  .events-teaser.home-events--empty { padding-bottom: 52px; }
  .home-events--empty .events-teaser-grid { row-gap: 20px; }
}

#articulos .editorial-head { display: flex; align-items: flex-start; }
#articulos .editorial-head > div > p { margin: 14px 0 0; }
@media (max-width: 800px) {
  #articulos { padding-top: 50px; }
  #articulos .editorial-head { flex-direction: column; gap: 14px; margin-bottom: 20px; }
  #articulos .editorial-head > div > p { margin-top: 10px; }
}

.articles-home__all { flex: none; }
@media (max-width: 800px) {
  #articulos .articles-home__all {
    min-height: 44px;
    padding: 0;
    border: 0;
    gap: 9px;
    background: transparent;
    color: #102c35;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
.articles-index__hero {
  background: #dce9df;
  padding-block: clamp(42px, 6vw, 84px);
}
.articles-index__hero .section-title { margin-block: 18px 12px; }
.articles-index__hero p { margin: 0; line-height: 1.65; }
.articles-index .articles-index__list { padding-block: clamp(42px, 6vw, 80px); }
.articles-index__list h2 {
  font: 700 clamp(26px, 4vw, 42px)/1.12 Montserrat, sans-serif;
  letter-spacing: -.045em;
  margin: 0 0 26px;
}


/* Consistent icons across mobile and desktop renderers. */
.ibn-symbol {
  --symbol: url("assets/icons/arrow-up-right.svg");
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -.11em;
  background-color: currentColor;
  mask: var(--symbol) center / contain no-repeat;
}
.ibn-symbol--down, .ibn-symbol--up { --symbol: url("assets/icons/arrow-up.svg"); }
.ibn-symbol--down { transform: rotate(180deg); }
.ibn-symbol--play { --symbol: url("assets/icons/play.svg"); }
.ibn-symbol--spark, .mobile-nav-details::after { --symbol: url("assets/icons/spark.svg"); }
.welcome-line .ibn-symbol--spark { color: #f0a78e; }
.mobile-nav-details::after {
  content: "";
  width: 30px;
  height: 30px;
  background-color: #b7ccba;
  mask: var(--symbol) center / contain no-repeat;
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero-copy .actions { gap: 5px 16px; }
  .hero-copy .actions .button.light {
    justify-content: flex-start;
    padding-inline: 0;
    min-height: 44px;
    border-color: transparent;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .welcome-line + .intro { padding-top: 36px; }
  .intro:has(+ .visit-editorial) { padding-bottom: 38px; }
  .intro + .visit-editorial { padding-top: 38px; }
  .visit-editorial { row-gap: 22px; }
  .messages { padding-block: 58px; }
  .messages-heading { margin-bottom: 24px; }
  .events-teaser.home-events--empty { padding-bottom: 40px; }
  #articulos { padding-top: 42px; }
}

.community .social-photos .social-feature .social-frame img[src$="congregacion-domingo.webp"]{object-position:50% 40%;}

.visit-hero-image--facade img{transform:none;object-position:75% 70%}
.community .social-mosaic img[src$="equipo-alabanza-lateral.webp"]{object-position:58% 57%;transform:none}

.home-compact { padding-block: clamp(26px, 4.4vw, 62px); }
.home-compact--messages { background: #dce9df; }
.home-compact--agenda { background: #f4f2e9; border-bottom: 1px solid #d5ddd1; }
.home-compact__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; }
.home-compact h2 { margin: 0; font: 700 clamp(25px, 4vw, 50px)/1.05 Montserrat, sans-serif; letter-spacing: -.05em; }
.home-compact p:not(.eyebrow) { margin: 9px 0 0; line-height: 1.55; }
.home-compact .eyebrow { margin: 0 0 8px; }
.home-compact__icon { flex: 0 0 auto; opacity: .75; }
.home-compact__inner .button { flex: 0 0 auto; }
@media (max-width: 800px) {
  .home-compact--agenda .home-compact__inner { flex-wrap: wrap; }
  .home-compact__icon { width: 30px; height: 30px; }
}

.community-more { display:flex; flex-wrap:wrap; gap:8px 24px; }
