/* Composición de la portada SSR sobre los estilos compartidos de la identidad elegida. */
.home-figure { margin: 0; }
.home-news-grid { align-items: start; }
.home-institution { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.home-institution h2 { font-size: 43px; }
.home-institution-copy { max-width: 440px; }
.home-institution-copy p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.home-institution-copy .text-link { margin-top: 5px; }
@media (max-width: 900px) {
    .home-institution { gap: 35px; }
    .home-institution h2 { font-size: 34px; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: clamp(51px,13.8vw,66px); letter-spacing: -3px; }
    .home-institution { grid-template-columns: 1fr; gap: 25px; }
    .home-institution h2 { font-size: 33px; }
}

/* Tiempo y accesos oficiales, integrados a la identidad del home. */
.rural-info { display: grid; grid-template-columns: .85fr 1.6fr; gap: 45px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rural-info .eyebrow { margin-bottom: 12px; }
.weather-widget { padding-right: 30px; border-right: 1px solid var(--line); }
.weather-values { display: flex; align-items: center; gap: 25px; }
.weather-values strong { font-size: 47px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.weather-values strong span { font-size: 24px; }
.weather-values p { font-size: 12px; color: var(--muted); }
.weather-note, .weather-source { font-size: 10px; color: var(--muted); margin-top: 10px; }
.weather-source a { text-decoration: underline; }
.weather-unavailable { font-size: 14px; max-width: 310px; }
.info-access h2 { font-size: 28px; margin-bottom: 20px; }
.info-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-links a { min-width: 0; }
.info-links strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.info-links span { display: block; font-size: 11px; color: var(--muted); }
.info-links a:hover strong { color: var(--rust); text-decoration: underline; }
@media (max-width: 900px) { .rural-info { grid-template-columns: 1fr; gap: 28px; } .weather-widget { padding: 0 0 25px; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .info-links { grid-template-columns: 1fr; gap: 18px; } .weather-values { gap: 20px; } }

/* Accesos claros a secciones consolidadas, sin otra fila de botones principales. */
nav.home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 24px; padding-bottom: 24px; position: static; background: transparent; max-height: none; overflow: visible; border-bottom: 1px solid var(--line); }
.home-shortcuts a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 24px; border-right: 1px solid var(--line); min-width: 0; }
.home-shortcuts a:first-child { padding-left: 0; } .home-shortcuts a:last-child { padding-right: 0; border: 0; }
.home-shortcuts a > span:first-child { min-width: 0; }
.home-shortcuts small { display: block; font-size: 8px; letter-spacing: 1px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.home-shortcuts strong { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; }
.home-shortcuts a > span:last-child { font-size: 22px; color: var(--rust); }
.home-agenda { background: var(--soft); }
.home-agenda-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 70px; }
.home-agenda-intro h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -1.8px; }
.home-agenda-intro > p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 320px; margin: 24px 0; }
.home-agenda-list { min-width: 0; }
.home-event { display: grid; grid-template-columns: 70px minmax(0, 1fr) 20px; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.home-event:first-child { border-top: 1px solid var(--line); }
.home-event-date { display: flex; flex-direction: column; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.home-event-date strong { font-size: 38px; line-height: 1; font-weight: 500; letter-spacing: -2px; }
.home-event-date span { font-size: 10px; text-transform: uppercase; margin-top: 8px; }
.home-event-type { color: var(--rust); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 9px; }
.home-event h3 { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.home-event-copy > p:last-child { font-size: 12px; color: var(--muted); margin-top: 10px; overflow-wrap: anywhere; }
.home-event-arrow { color: var(--rust); font-size: 22px; }
.home-event:hover h3 { color: var(--rust); }
.home-cancelled { display: inline-block; margin-left: 10px; background: var(--rust); color: white; padding: 2px 6px; }
.home-agenda-empty { padding: 28px; border: 1px solid var(--line); }
.home-agenda-empty > span { font-size: 32px; color: var(--rust); }
.home-agenda-empty h3 { font-size: 27px; margin-top: 14px; }
.home-agenda-empty p { color: var(--muted); font-size: 14px; margin: 18px 0 25px; }
.home-predio-photo { margin: 0; min-width: 0; }
.home-predio-photo > a { display: block; position: relative; overflow: hidden; border-radius: 65px 0 0 0; }
.home-predio-photo img { display: block; width: 100%; height: 360px; object-fit: cover; }
.home-photo-link { position: absolute; bottom: 18px; right: 18px; background: var(--paper); color: var(--ink); font-size: 12px; padding: 10px 15px; }
.home-predio-photo figcaption { font-size: 10px; color: #c7d0cb; margin-top: 12px; line-height: 1.6; }
@media (max-width: 900px) {
    .home-shortcuts a { padding: 8px 16px; }
    .home-shortcuts strong { font-size: 15px; }
    .home-agenda-layout { gap: 35px; grid-template-columns: 1fr 1.4fr; }
    .home-event { gap: 15px; grid-template-columns: 60px minmax(0, 1fr) 16px; }
    .home-predio-photo img { height: 310px; }
}
@media (max-width: 640px) {
    nav.home-shortcuts { grid-template-columns: minmax(0, 1fr); padding-top: 5px; padding-bottom: 5px; }
    .home-shortcuts a, .home-shortcuts a:first-child, .home-shortcuts a:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .home-shortcuts a:last-child { border-bottom: 0; }
    .home-shortcuts strong { font-size: 17px; }
    .home-agenda-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .home-event h3 { font-size: 20px; }
    .home-predio-photo img { height: 260px; }
    .home-agenda-empty { padding: 23px; }
}
