/* YEARBOOK homepage and editorial landing-page sections. */
.hero-section{display:grid;grid-template-columns:minmax(360px,.72fr) 1.28fr;min-height:430px;border-bottom:1px solid var(--line)}.hero-copy{padding:clamp(42px,5vw,82px) clamp(25px,4vw,68px);display:flex;flex-direction:column;justify-content:center}.hero-copy h1{font-size:clamp(46px,5vw,78px);line-height:.91;letter-spacing:-.055em;margin:20px 0 22px;max-width:670px}.hero-copy h1 strong{color:var(--color-muted);font-weight:900}.hero-copy p{font-size:14px;max-width:520px;color:var(--color-ink);margin:0 0 25px}.button-row{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:40px;padding:10px 18px;border:1px solid var(--ink);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.button-dark{background:var(--ink);color:var(--color-surface)}.button-outline{background:transparent}.button:hover{transform:translateY(-1px)}.hero-feature{position:relative;min-height:430px;overflow:hidden;background:var(--color-ink)}.hero-image,.hero-image img{width:100%;height:100%;object-fit:cover}.hero-feature-overlay{position:absolute;left:0;right:0;bottom:0;padding:30px 34px;color:var(--color-surface);background:linear-gradient(transparent,rgba(0,0,0,.82));padding-top:90px}.hero-feature-overlay h2{font-size:clamp(28px,3vw,43px);line-height:.95;margin:10px 0 8px;letter-spacing:-.04em}.hero-feature-overlay p{margin:0 0 9px;max-width:430px;font-size:13px}.hero-feature-overlay a{font-size:10px;font-weight:800;letter-spacing:.14em}.hero-counter{position:absolute;top:22px;right:24px;color:var(--color-surface);display:flex;gap:16px;align-items:center;font-size:10px;letter-spacing:.12em}.hero-counter span{border:1px solid rgba(255,255,255,.5);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-size:15px}.timeline-strip{display:flex;align-items:stretch;border-bottom:1px solid var(--line);overflow:auto;background:var(--color-surface)}.timeline-year,.timeline-arrow{min-width:74px;padding:15px 9px;text-align:center;font-size:11px;display:grid;place-items:center;border-right:1px solid var(--color-line);white-space:nowrap}.timeline-year.is-active{background:var(--ink);color:var(--color-surface)}.timeline-arrow{font-size:24px}.featured-events{padding-top:46px;padding-bottom:42px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:30px;letter-spacing:-.04em;line-height:1;margin:7px 0 0}.text-link{font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.text-link:hover{color:var(--accent)}.event-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.event-card{background:var(--color-surface);border:1px solid var(--line);min-width:0}.event-media{aspect-ratio:1.65;position:relative;overflow:hidden;background:var(--color-line)}.event-media img{width:100%;height:100%;object-fit:cover}.category-pill{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.9);padding:6px 9px;border-radius:20px;font-size:8px;font-weight:800;letter-spacing:.1em}.event-body{padding:15px 15px 18px;position:relative;min-height:128px}.event-body h3{font-size:21px;margin:3px 0 3px;letter-spacing:-.03em}.event-body p{font-size:11px;color:var(--color-muted);margin:0;max-width:85%}.round-arrow{position:absolute;right:12px;bottom:13px;width:29px;height:29px;border:1px solid var(--color-border-strong);border-radius:50%;display:grid;place-items:center;font-size:15px}.map-section{display:grid;grid-template-columns:230px 1fr 240px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--color-surface)}.map-categories,.notable-years{padding:28px 22px}.map-categories{border-right:1px solid var(--line)}.map-categories a{display:flex;gap:9px;align-items:center;padding:5px 0;font-size:10px}.mini-icon{font-size:8px;border:1px solid var(--color-border-strong);width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.map-panel{padding:28px 28px 30px}.map-panel p{font-size:11px;color:var(--color-muted)}.world-map{height:250px;margin:4px 0 10px;position:relative;background:radial-gradient(ellipse at center,var(--color-line) 0 48%,transparent 49%),linear-gradient(160deg,transparent 35%,var(--color-line) 35% 55%,transparent 55%);overflow:hidden}.world-map:before{content:"";position:absolute;inset:20px 4% 35px;background:radial-gradient(ellipse at 30% 50%,var(--color-line) 0 25%,transparent 26%),radial-gradient(ellipse at 60% 45%,var(--color-line) 0 30%,transparent 31%),radial-gradient(ellipse at 78% 65%,var(--color-line) 0 12%,transparent 13%),radial-gradient(ellipse at 12% 73%,var(--color-line) 0 8%,transparent 9%);filter:grayscale(1)}.map-dots i{position:absolute;width:7px;height:7px;border:2px solid var(--ink);border-radius:50%;background:var(--color-surface);z-index:2}.notable-years{border-left:1px solid var(--line)}.notable-years>a:not(.text-link){display:grid;grid-template-columns:46px 1fr;gap:6px;padding:6px 0;border-bottom:1px solid var(--color-line);font-size:10px}.notable-years b{font-size:10px}.notable-years .text-link{display:block;margin-top:17px}.quote-stats{display:grid;grid-template-columns:1fr 1.4fr;margin-top:34px;margin-bottom:46px}.quote-panel{position:relative;min-height:132px;background:var(--color-ink);color:var(--color-surface);overflow:hidden;padding:28px}.quote-panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}.quote-panel blockquote,.quote-panel cite{position:relative;z-index:1}.quote-panel blockquote{font-size:23px;line-height:1.08;max-width:410px;margin:0 0 12px}.quote-panel cite{font-size:9px;letter-spacing:.15em;font-style:normal}.stats-panel{display:grid;grid-template-columns:repeat(4,1fr);background:var(--color-surface);border:1px solid var(--line);border-left:0}.stat{padding:28px 20px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{display:block;font-size:33px;line-height:1;letter-spacing:-.05em}.stat span{display:block;font-size:8px;letter-spacing:.15em;margin-top:8px;color:var(--color-muted)}.latest-section{padding-bottom:70px}.latest-grid{display:grid;grid-template-columns:repeat(4,1fr) 1.2fr;gap:16px}.latest-media{display:block;aspect-ratio:1.45;background:var(--color-line);overflow:hidden;margin-bottom:11px}.latest-media img{width:100%;height:100%;object-fit:cover}.latest-card h3{font-size:17px;line-height:1.05;margin:5px 0}.newsletter-card{border-left:2px solid var(--accent);padding:7px 20px 20px;background:var(--color-surface)}.newsletter-card h3{font-size:25px;line-height:1;margin:9px 0}.newsletter-card p{font-size:11px;color:var(--color-muted)}.newsletter-form{display:flex;border:1px solid var(--line);margin-top:18px}.newsletter-form input{min-width:0;width:100%;border:0;padding:11px;outline:0}.newsletter-form button{width:44px;background:var(--ink);color:var(--color-surface);border:0}.site-footer{border-top:1px solid var(--line);background:var(--color-surface)}.footer-main{width:min(100% - 40px,var(--max));margin:auto;min-height:100px;display:flex;align-items:center;gap:35px}.brand-footer .brand-word{font-size:27px}.brand-footer .brand-tagline{font-size:7px}.footer-nav{margin-left:auto}.footer-nav .menu{gap:17px}.footer-social{display:flex;gap:15px;font-weight:800}.footer-social a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--line);width:min(100% - 40px,var(--max));margin:auto;padding:13px 0;display:flex;justify-content:space-between;font-size:9px;color:var(--color-muted);letter-spacing:.08em;text-transform:uppercase}


/* Data-driven homepage states and media without demo placeholders. */
.home-empty{grid-column:1/-1;padding:24px;border:1px dashed var(--color-line,var(--line));background:var(--color-surface,var(--color-surface));color:var(--color-muted,var(--color-muted))}
.home-empty h3{margin:0 0 8px;color:var(--color-ink,var(--color-ink));font-size:20px}
.home-empty p{margin:0 0 8px;max-width:650px}
.timeline-empty{margin:0;min-width:100%;border:0;padding:18px 24px}
.timeline-clear{display:grid;place-items:center;padding:12px 18px;white-space:nowrap;font-size:11px;font-weight:700;color:var(--color-accent,var(--color-accent))}
.event-media{display:block}
.event-card-image,.latest-card-image{display:block;width:100%;height:100%;object-fit:cover}
.event-media-empty,.latest-media-empty{background:linear-gradient(135deg,var(--color-accent-soft,var(--color-accent-soft)),var(--color-paper,var(--color-paper)));min-height:130px}
.event-body h3 a,.latest-card h3 a{color:inherit;text-decoration:none}
.event-body h3 a:hover,.latest-card h3 a:hover{color:var(--color-accent,var(--color-accent))}
.latest-card p{font-size:12px;color:var(--color-muted,var(--color-muted));margin:7px 0 0}
.yearbook-home-map{width:100%;height:300px;min-height:240px;background:var(--color-paper,var(--color-paper));border:1px solid var(--color-line,var(--color-line));z-index:1}
.map-load-message{padding:24px;text-align:center;color:var(--color-muted,var(--color-muted))}
.map-attribution{font-size:10px!important;color:var(--color-muted,var(--color-muted))!important;margin:8px 0 14px!important}
.map-location-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:0;margin:14px 0 0;list-style:none}
.map-location-list li{display:flex;flex-direction:column;gap:3px;border-top:1px solid var(--color-line,var(--color-line));padding-top:8px;font-size:11px}
.map-location-list a{font-weight:700}
.map-location-list span{color:var(--color-muted,var(--color-muted))}
.newsletter-empty{font-size:12px;color:var(--color-muted,var(--color-muted));padding:12px;border:1px dashed var(--color-line,var(--color-line))}
.category-empty{border:0;padding:8px 0;background:transparent}

.yearbook-domain-archive{padding-top:52px;padding-bottom:70px}
.yearbook-domain-archive .archive-head{max-width:760px;margin:0 0 32px}
.yearbook-domain-archive .archive-head h2{font-size:clamp(36px,5vw,60px);letter-spacing:-.045em;line-height:1;margin:10px 0 14px}
.yearbook-domain-archive .archive-head p{color:var(--color-muted,var(--color-muted))}
.yearbook-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.yearbook-archive-card{padding:0 0 18px;overflow:hidden}
.yearbook-archive-card .eyebrow,.yearbook-archive-card h2,.yearbook-archive-card p{margin-left:18px;margin-right:18px}
.yearbook-archive-card h2{font-size:22px;line-height:1.12;margin-top:9px}
.yearbook-archive-card h2 a{color:inherit;text-decoration:none}
.archive-card-media{display:block;aspect-ratio:1.7;overflow:hidden;background:var(--color-accent-soft,var(--color-accent-soft));margin-bottom:16px}
.archive-card-image{display:block;width:100%;height:100%;object-fit:cover}
.yearbook-archive-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:32px}
@media(max-width:760px){.yearbook-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yearbook-home-map{height:250px}}
@media(max-width:520px){.yearbook-archive-grid{grid-template-columns:1fr}.map-location-list{grid-template-columns:1fr}.yearbook-archive-pagination{flex-wrap:wrap}}

/* Stage 28: database-driven chronology, period selection and mobile controls. */
.yearbook-timeline{border-bottom:1px solid var(--color-line,var(--line));background:var(--color-surface,var(--color-surface))}
.yearbook-timeline__label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px clamp(16px,3vw,40px);font-size:11px;color:var(--color-muted,var(--color-muted))}
.timeline-strip--years{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.timeline-strip--years .timeline-year{scroll-snap-align:start;min-height:48px;flex:0 0 auto}
.timeline-periods{display:flex;align-items:stretch;gap:8px;padding:12px clamp(16px,3vw,40px) 16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;border-top:1px solid var(--color-line,var(--color-line))}
.timeline-periods__title{display:flex;align-items:center;flex:0 0 auto;padding:0 8px 0 0;font-size:9px;font-weight:800;letter-spacing:.12em;color:var(--color-muted,var(--color-muted))}
.timeline-period{display:flex;align-items:center;gap:10px;flex:0 0 auto;max-width:280px;padding:10px 13px;border:1px solid var(--color-line,var(--color-line));border-radius:4px;color:var(--color-ink,var(--color-ink));text-decoration:none;scroll-snap-align:start}
.timeline-period__name{font-size:11px;font-weight:750;white-space:nowrap}
.timeline-period__range{font-size:10px;color:var(--color-muted,var(--color-muted));white-space:nowrap}
.timeline-period__count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:20px;background:var(--color-paper,var(--color-paper));font-size:10px;font-weight:700}
.timeline-period.is-active{border-color:var(--color-accent,var(--color-accent));background:var(--color-accent,var(--color-accent));color:var(--color-surface)}
.timeline-period.is-active .timeline-period__range{color:rgba(255,255,255,.85)}
.timeline-period.is-active .timeline-period__count{background:rgba(255,255,255,.18);color:var(--color-surface)}
.timeline-period.has-no-events:not(.is-active){border-style:dashed;color:var(--color-muted,var(--color-muted))}
.timeline-period-context{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(16px,3vw,40px);background:var(--color-paper,var(--color-paper));border-top:1px solid var(--color-line,var(--color-line))}
.timeline-period-context strong{font-size:13px}
.timeline-period-context p{margin:4px 0 0;font-size:11px;color:var(--color-muted,var(--color-muted))}
.timeline-period-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 18px}
.timeline-period-nav a{font-size:11px;font-weight:700;text-decoration:none}
.timeline-period-nav a:hover{color:var(--color-accent,var(--color-accent))}
.timeline-period:focus-visible,.timeline-year:focus-visible,.timeline-clear:focus-visible,.timeline-period-nav a:focus-visible{outline:3px solid var(--color-accent,var(--color-accent));outline-offset:2px;position:relative;z-index:1}
@media(max-width:640px){.yearbook-timeline__label{align-items:flex-start;flex-direction:column;gap:4px}.timeline-periods{padding-top:10px;padding-bottom:12px}.timeline-period{max-width:235px;gap:7px;padding:9px 10px}.timeline-period-context{align-items:flex-start;flex-direction:column}.timeline-period-nav{justify-content:flex-start}.timeline-strip--years .timeline-year{min-width:68px;padding:12px 8px}}
@media(prefers-reduced-motion:reduce){.timeline-strip--years,.timeline-periods{scroll-behavior:auto}}


/* Etapa 29 — interactive, database-backed map and accessible filters. */
.yearbook-map-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px;margin:18px 0 8px}
.yearbook-map-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}
.yearbook-map-filters label span{font-size:10px;font-weight:750;letter-spacing:.04em;color:var(--color-muted,var(--color-muted))}
.yearbook-map-filters select{width:100%;min-width:0;min-height:42px;padding:9px 30px 9px 10px;border:1px solid var(--color-line,var(--color-line));border-radius:0;background:var(--color-surface);color:var(--color-ink,var(--color-ink));font:inherit;font-size:12px}
.yearbook-map-filters select:focus-visible,.yearbook-map-reset:focus-visible{outline:2px solid var(--color-accent,var(--color-accent));outline-offset:2px}
.yearbook-map-filters [disabled]{opacity:.65;cursor:wait}
.yearbook-map-reset{min-height:42px;padding:9px 12px;white-space:nowrap;font-size:9px}
.yearbook-map-status{min-height:18px;margin:7px 0 10px!important;font-size:11px!important;color:var(--color-muted,var(--color-muted))!important}
.yearbook-home-map{height:clamp(280px,38vw,480px);min-height:260px;overflow:hidden}
.yearbook-map-popup{max-width:240px;font:13px/1.45 Inter,Arial,sans-serif;color:var(--color-ink)}
.yearbook-map-popup strong{display:block;font-size:14px;margin-bottom:5px}
.yearbook-map-popup p{margin:4px 0;font-size:12px;color:var(--color-muted)}
.yearbook-map-popup a{display:inline-block;margin-top:7px;color:var(--color-accent);font-weight:700}
.map-location-list .map-results-empty{grid-column:1/-1;color:var(--color-muted,var(--color-muted));font-size:12px}
@media(max-width:1100px){.yearbook-map-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.yearbook-map-reset{width:100%}}
@media(max-width:600px){.yearbook-map-filters{grid-template-columns:1fr;gap:12px}.yearbook-map-filters select{min-height:46px;font-size:16px}.yearbook-map-reset{min-height:46px;font-size:11px}.yearbook-home-map{height:340px;min-height:280px}.map-location-list{grid-template-columns:1fr}.yearbook-map-status{line-height:1.5}}

/* Etapa 35: category labels without valid routes remain readable but are not fake links. */
.map-categories .category-label{display:flex;gap:9px;align-items:center;padding:5px 0;font-size:10px;color:var(--color-muted,var(--color-muted))}


/* Newsletter form fix: keep the email field visible above consent controls. */
.newsletter-card .newsletter-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;border:0;margin-top:18px;align-items:start}
.newsletter-card .newsletter-form>label:first-of-type{display:block;width:100%;min-width:0;grid-column:1}
.newsletter-card .newsletter-form input[type=email]{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:44px;padding:11px;border:1px solid var(--line);background:var(--color-surface);color:var(--ink);font:inherit}
.newsletter-card .newsletter-form .newsletter-consent-check{display:flex;grid-column:1;align-items:flex-start;gap:8px;width:100%;min-width:0;margin:0;font-size:11px;line-height:1.45;color:var(--color-muted,var(--color-muted))}
.newsletter-card .newsletter-form .newsletter-consent-check input[type=checkbox]{box-sizing:border-box;flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;padding:0}
.newsletter-card .newsletter-form button{grid-column:1;justify-self:start;width:44px;min-width:44px;min-height:44px;margin:0}


/* Etapa 46 — homepage visual cohesion and robust content states. */
:root {
  --yb-home-section-space: clamp(2.75rem, 5.5vw, 5rem);
  --yb-home-card-radius: var(--radius-md, .5rem);
}
.yearbook-hero { border-bottom: 1px solid var(--color-line, #E2DED9); }
.yearbook-hero__inner { min-width: 0; }
.yearbook-hero__title { text-wrap: balance; }
.yearbook-hero__actions { gap: .75rem; }
.yearbook-hero__button { min-width: 9rem; }
.yearbook-timeline { margin-inline: auto; }
.featured-events { padding-block: var(--yb-home-section-space); }
.section-heading { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.section-heading h2 { line-height: 1.12; text-wrap: balance; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
.event-grid { align-items: stretch; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.event-card { display: flex; flex-direction: column; border-radius: var(--yb-home-card-radius); overflow: hidden; }
.event-media { display: block; flex: 0 0 auto; }
.event-media-empty, .latest-media-empty { background: linear-gradient(135deg, var(--color-line, #E2DED9), var(--color-paper, #F7F6F3)); }
.event-body { flex: 1; padding: clamp(.9rem, 1.5vw, 1.25rem); }
.event-body h3 { line-height: 1.15; text-wrap: balance; }
.event-body h3 a, .latest-card h3 a { text-decoration: none; }
.event-body h3 a:hover, .latest-card h3 a:hover { color: var(--color-accent, #8F2638); }
.event-body p { max-width: calc(100% - 2.5rem); line-height: 1.55; }
.round-arrow { display: grid; place-items: center; min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
.map-section { grid-template-columns: minmax(190px, .28fr) minmax(0, 1fr); border-radius: var(--yb-home-card-radius); overflow: hidden; }
.map-panel { min-width: 0; }
.yearbook-home-map { min-height: 280px; border-radius: var(--yb-home-card-radius); overflow: hidden; }
.quote-stats { gap: 0; }
.quote-panel { border-radius: var(--yb-home-card-radius) 0 0 var(--yb-home-card-radius); }
.stats-panel { min-width: 0; border-radius: 0 var(--yb-home-card-radius) var(--yb-home-card-radius) 0; overflow: hidden; }
.latest-section { padding-bottom: var(--yb-home-section-space); }
.latest-grid { align-items: stretch; gap: clamp(.9rem, 1.5vw, 1.25rem); }
.latest-card { min-width: 0; }
.latest-media { border-radius: var(--yb-home-card-radius); }
.latest-card h3 { line-height: 1.2; text-wrap: balance; }
.latest-card p { font-size: .875rem; line-height: 1.6; color: var(--color-muted, #62666B); }
.newsletter-card { border-radius: 0 var(--yb-home-card-radius) var(--yb-home-card-radius) 0; }
.home-empty { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px dashed var(--color-line, #E2DED9); border-radius: var(--yb-home-card-radius); background: var(--color-surface, #FFFFFF); }
.home-empty h3 { margin-top: 0; line-height: 1.25; }
.home-empty p { line-height: 1.65; }
.latest-empty { grid-column: 1 / -1; }
.timeline-empty { margin: 0; padding: 1rem; }
.category-empty { grid-column: 1 / -1; }
.event-card:focus-within, .latest-card:focus-within { outline: 2px solid var(--color-accent, #8F2638); outline-offset: 3px; }

@media (max-width: 1100px) {
  .map-section { grid-template-columns: minmax(160px, .32fr) minmax(0, 1fr); }
  .quote-panel { border-radius: var(--yb-home-card-radius) var(--yb-home-card-radius) 0 0; }
  .stats-panel { border-radius: 0 0 var(--yb-home-card-radius) var(--yb-home-card-radius); }
}
@media (max-width: 760px) {
  .yearbook-hero { padding-inline: 1rem; }
  .yearbook-hero__title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .yearbook-hero__actions { align-items: stretch; }
  .yearbook-hero__button { flex: 1 1 10rem; }
  .featured-events { padding-block: 2.75rem; }
  .event-body h3 { font-size: clamp(1.05rem, 4vw, 1.3rem); }
  .map-section { grid-template-columns: minmax(0, 1fr); }
  .map-categories { border-right: 0; border-bottom: 1px solid var(--color-line, #E2DED9); }
  .map-panel { padding: 1.25rem; }
  .yearbook-home-map { min-height: 240px; }
  .quote-stats { margin-block: 2.5rem; }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-card { grid-column: 1 / -1; border-left: 2px solid var(--color-accent, #8F2638); border-radius: 0 var(--yb-home-card-radius) var(--yb-home-card-radius) 0; }
  .latest-empty { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .event-grid, .latest-grid { grid-template-columns: minmax(0, 1fr); }
  .newsletter-card { grid-column: auto; }
  .section-heading { gap: .5rem; }
  .section-heading h2 { font-size: clamp(1.5rem, 7vw, 1.8rem); }
  .event-media { aspect-ratio: 1.8; }
  .quote-panel { padding: 1.25rem; }
  .stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Etapa 53: explicit, resilient newsletter field layout. */
.newsletter-card .newsletter-form > label:first-of-type { display:block !important; visibility:visible !important; opacity:1 !important; width:100%; min-width:0; }
.newsletter-card .newsletter-form > label:first-of-type input[type="email"] { display:block !important; visibility:visible !important; opacity:1 !important; box-sizing:border-box; width:100%; min-width:0; min-height:44px; }
.newsletter-card .newsletter-form .newsletter-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
@media (max-width: 480px) { .newsletter-card { min-width:0; } .newsletter-card .newsletter-form { display:grid; grid-template-columns:minmax(0,1fr); width:100%; } .newsletter-card .newsletter-form button { min-width:44px; min-height:44px; } }
