:root {
  --ink: #000;
  --gray: #595959;
  --rule: #000;
  --paper: #fff;
  --section-heading-size: clamp(40px, 4.4vw, 58px);
  --serif: 'Baskervville', serif;
  --display: 'UnifrakturMaguntia', serif;
  --editorial: 'Cormorant Garamond', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html.envelope-locked, html.envelope-locked body { overflow: hidden; height: 100dvh; }
body { margin: 0; background: #fbfbfb; color: var(--ink); font: 18px/1.7 var(--serif); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
#front-title:focus { outline: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h2 { font: 400 var(--section-heading-size)/1.15 var(--display); }
h3 { font: 600 34px/1.2 var(--editorial); }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.inline-arrow { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.inline-arrow.up { transform: rotate(-90deg); }
.inline-arrow.previous { transform: rotate(180deg); }

/* Sobre pequeño sobre fotografía: papelería blanca y titular de periódico. */
.welcome { position: fixed; inset: 0; z-index: 999; overflow: auto; display: grid; place-items: center; padding: 30px 24px; color: var(--ink); isolation: isolate; background: #ededeb url("../images/mw-env-middle-layer.png") center/cover; transition: opacity .7s ease; }
.welcome::before { content: ""; position: absolute; inset: -15%; z-index: -1; background: url("../images/papel-periodico.svg") center/1800px 1250px repeat; opacity: .22; transform: rotate(-8deg); pointer-events: none; }
.dispatch { width: min(520px, 100%); display: grid; gap: 24px; text-align: center; }
.welcome.is-opening { opacity: 0; pointer-events: none; }
.welcome.is-opening .envelope-layer-top { transform: translateY(-40%); }
.welcome.is-opening .envelope-layer-bottom { transform: translateY(40%); }
.welcome-heading { text-shadow: 0 1px 8px #ffffffb3; }
.welcome-kicker { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.welcome-heading h1 { font: 400 clamp(48px, 5.3vw, 72px)/1.15 var(--display); margin-bottom: 12px; }
.welcome-heading h1 span, .front-page h1 span { font-family: var(--editorial); font-style: italic; font-size: .7em; }
.welcome-date { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 330px; margin: auto; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.welcome-date::before, .welcome-date::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.guest-greeting:empty { display: none; }
.guest-greeting { font-size: 18px; margin-top: 12px; overflow-wrap: anywhere; }
.envelope { position: relative; isolation: isolate; overflow: hidden; width: min(480px, 100%); margin: auto; aspect-ratio: 1.6; border-radius: 4px; box-shadow: 0 24px 55px #0005, 0 3px 8px #0003; background: #fff; }
.envelope-paper { position: absolute; inset: 0; z-index: -3; background: url("../images/mw-env-middle-layer.png") center/100% 100%; }
.envelope-layer { position: absolute; width: 100%; max-width: none; left: 0; pointer-events: none; object-fit: fill; transition: transform .85s cubic-bezier(.2,.7,.3,1); }
.envelope-layer-top { top: 0; height: 62%; z-index: -1; }
.envelope-layer-bottom { bottom: 0; height: 58%; z-index: -2; }
.seal-button { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); padding: 0; border: 0; background: transparent; }
.stamp { width: 112px; height: 112px; object-fit: contain; transition: filter .2s ease; }
.seal-button:hover .stamp, .seal-button:focus-visible .stamp { filter: drop-shadow(0 4px 4px #0005); }
.seal-button:focus { outline: none; }
.envelope-action > p { font: italic 24px/1.35 var(--editorial); text-wrap: balance; text-shadow: 0 1px 8px #ffffffb3; }
.open-button { display: flex; align-items: center; justify-content: center; gap: 24px; min-width: 220px; min-height: 50px; margin: 18px auto 0; padding: 12px 22px; border: 1px solid var(--ink); background: #ffffff44; font-size: 15px; backdrop-filter: blur(3px); }
.open-button:hover, .open-button:focus-visible { outline: none; background: #ffffffa6; border-color: #000; }
@media (max-width: 700px) {
  .welcome { padding: 28px 22px; background-position: center; }
  .dispatch { gap: 24px; }
  .welcome-heading h1 { font-size: clamp(42px, 12vw, 60px); }
  .stamp { width: 96px; height: 96px; }
  .envelope-action > p { font-size: 23px; }
}
@media (max-height: 600px) {
  .welcome { padding-block: 18px; }
  .dispatch { gap: 12px; }
  .welcome-heading h1 { font-size: 44px; margin-bottom: 6px; }
  .envelope { width: min(360px, calc((100dvh - 235px) * 1.6), 100%); }
  .stamp { width: 80px; height: 80px; }
}

/* El nombre de la pareja es el único gran titular de la portada. */
.newspaper { width: min(1320px, calc(100% - 32px)); margin: 24px auto; padding: 0 28px; background: #fff; }
.masthead { position: sticky; top: 0; z-index: 30; background: #fff; }
.navigation-bar { display: flex; align-items: center; gap: 30px; padding: 15px 0; border-bottom: 1px solid #000; }
.monogram-link { flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; }
.monogram-link img { width: 44px; height: 58px; object-fit: contain; }
.masthead nav { flex: 1; min-width: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 26px; padding: 6px 0 12px; font-size: 17px; }
.masthead nav a { padding: 6px 0; }
.menu-toggle { display: none; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 0 10px 14px; min-height: 44px; font-size: 15px; }
.menu-toggle-icon { display: grid; gap: 5px; width: 23px; }
.menu-toggle-icon span { display: block; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }
.masthead nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.front-page { padding: 28px 0 34px; }
.headline-kicker { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.headline-kicker::before, .headline-kicker::after { content: ""; height: 1px; flex: 1; background: var(--rule); }
.front-page h1 { text-align: center; font: 400 clamp(64px, 8.4vw, 108px)/1.1 var(--display); letter-spacing: -.02em; margin: 12px 0 24px; padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.front-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.lead-photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.lead-photo figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--gray); padding-top: 10px; }
.front-column { padding: 0 0 0 32px; border-left: 1px solid var(--rule); }
.date-notice { text-align: center; }
.date-title { margin: 0 0 16px; }
.date-composition { display: flex; align-items: center; justify-content: center; gap: 18px; }
.date-day { font: 400 clamp(80px, 8vw, 116px)/.95 var(--editorial); }
.date-copy { display: flex; flex-direction: column; text-align: left; gap: 8px; padding-left: 18px; border-left: 1px solid var(--ink); }
.date-month { font: 400 clamp(28px, 2.7vw, 38px)/1.1 var(--editorial); }
.date-year { font-size: 16px; letter-spacing: .16em; }
.cover-calendar { margin: 24px 0 14px; }
.cover-calendar .actions { display: flex; justify-content: flex-start; margin-top: 14px; }
.cover-calendar .button { padding-inline: 12px; white-space: nowrap; }
.text-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 48px; font-size: 14px; padding: 9px 0; }

/* Un único separador por sección; el grosor marca la jerarquía. */
.editorial-section { padding: 34px 0; border-top: 3px solid #000; scroll-margin-top: calc(var(--menu-height, 90px) + 16px); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; color: var(--gray); }
.editorial-section > h2 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.story-columns { columns: 2; column-gap: 40px; column-rule: 1px solid var(--rule); font-size: 18px; line-height: 1.75; }
.story-columns p { text-align: justify; text-align-last: start; hyphens: auto; text-wrap: pretty; }
.venue p, .hotel-grid p { width: 100%; }
.story-columns p { margin-bottom: 16px; }
.story-columns p:last-child { margin-bottom: 0; }
.dropcap:first-letter { float: left; font: 58px/.9 var(--display); padding: 8px 8px 0 0; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 22px; }
.countdown strong { display: block; font: 400 36px/1.3 var(--editorial); }
.countdown small { font-size: 13px; }
.cover-date .countdown { margin: 22px auto 0; padding-block: 14px; border-block: 1px solid var(--ink); text-align: center; }
.cover-date .countdown strong { font-size: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #000; background: #fff; font-size: 14px; }
.button:hover { background: #000; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.gallery-controls { display: flex; justify-content: flex-end; gap: 10px; margin: -8px 0 16px; }
.gallery-control { display: grid; place-items: center; padding: 0; line-height: 0; width: 44px; height: 44px; border: 1px solid var(--ink); background: #fff; }
.gallery-control .inline-arrow { display: block; margin: 0; }
.gallery-track:focus { outline: none; }
.gallery-control:hover { background: #000; color: #fff; }
.gallery-track { position: relative; display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track::after { content: ""; flex: 0 0 44px; }
.gallery-spread { flex: 0 0 calc(100% - 60px); display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(360px, 45vw, 600px); scroll-snap-align: start; }
.gallery-photo { position: relative; min-width: 0; min-height: 0; padding: 0; border: 0; background: #fff; }
.gallery-photo-large { grid-row: 1 / 3; }
.gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.gallery-photo:not(.gallery-photo-large) img { object-position: center top; }
.gallery-photo[data-photo="3"] img { object-position: center; }
.gallery-photo:focus-visible { outline-offset: -5px; }
.gallery-photo:hover img { filter: contrast(1.05); }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.venue { display: flex; flex-direction: column; align-items: flex-start; }
.venue > img { width: 100%; aspect-ratio: 1.8; object-fit: cover; margin: 14px 0 19px; }
.venue h3 { max-width: 440px; }
.venue-time { display: flex; flex-wrap: wrap; gap: 3px 20px; font-size: 16px; margin: 15px 0 10px; }
.venue p { font-size: 17px; }
.venue .actions { margin-top: auto; padding-top: 18px; }
.dress-notice { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 40px; padding: 30px 0; margin-top: 34px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dress-art { display: grid; place-items: center; }
.dress-art img { width: min(170px, 100%); height: auto; }
.dress-copy h2 { margin: 10px 0 14px; }
.dress-formality { font: 500 34px/1.2 var(--editorial); }
.schedule { margin-top: 32px; }
.schedule > h2 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.schedule-grid span { display: block; font-size: 15px; }
.schedule-grid strong { font: 600 30px/1.3 var(--editorial); }
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hotel-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.hotel-grid img { width: 100%; aspect-ratio: 1.5; object-fit: cover; margin-bottom: 18px; }
.hotel-grid h3 { font-size: 32px; }
.hotel-grid p { font-size: 17px; margin: 14px 0; }
.phone { font-size: 17px; margin-bottom: 8px; }
.hotel-grid .actions { margin-top: auto; padding-top: 10px; gap: 9px; }
.hotel-grid .button { padding-inline: 12px; font-size: 13px; }
.registry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.registry-grid > .registry-button { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.registry-grid img { width: 100%; height: 50px; object-fit: contain; }
.registry-grid span { font-size: 17px; }
.confirmation { padding-bottom: 0; }
.confirmation > h2 { border-bottom: 0; }
.confirmation iframe { display: block; width: 100%; height: 480px; border: 0; padding: 46px 0; background: #000 url('../images/rsvp-bg.jpg') center/cover no-repeat; }
.confirmation + .app-notice { border-top: 0; }
.app-notice { display: grid; grid-template-columns: 1.8fr 1fr; gap: 28px; align-items: center; border-top: 1px solid var(--rule); padding: 28px 0; }
.app-notice h3 { font-size: 30px; margin: 7px 0 12px; }
.app-notice p { font-size: 16px; }
.app-notice .actions { justify-content: flex-end; }
footer { text-align: center; padding: 30px 0 18px; border-top: 3px solid #000; }
.hashtag { display: block; font: 52px/1.4 var(--editorial); margin-top: 12px; }
.footer-logo { width: 60px; height: auto; margin: 18px auto; }
.footer-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; margin-top: 12px; }
.footer-line a { padding: 8px 0; }

/* Galería y música: se conserva el comportamiento ya validado. */
dialog { padding: 0; border: 0; background: transparent; color: #fff; max-width: 96vw; max-height: 95dvh; }
dialog::backdrop { background: #000e; }
.lightbox { display: flex; align-items: center; gap: 15px; padding: 45px 10px 10px; touch-action: none; }
.lightbox figure { min-width: 0; }
.lightbox img { max-width: 75vw; max-height: 75dvh; object-fit: contain; touch-action: none; }
.lightbox figcaption { font-size: 14px; text-align: center; padding-top: 12px; }
.close-photo { position: absolute; top: 0; right: 0; }
.photo-arrow, .close-photo { border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 44px; }
.photo-arrow .inline-arrow, .close-photo .inline-arrow { width: 25px; height: 25px; }
html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; overscroll-behavior: none; }
.music-control { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: center; height: 44px; gap: 10px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 30px; background: #000; color: #fff; box-shadow: 0 3px 15px #0000001f; }
#music-label { font: 10px/1 var(--serif); }
.music-bars { display: flex; align-items: center; gap: 3px; height: 18px; }
.music-bars span { display: block; width: 2px; height: 4px; background: currentColor; }
.music-bars span:nth-child(2) { height: 12px; }
.music-bars span:nth-child(3) { height: 8px; }
.music-bars span:nth-child(4) { height: 15px; }
.music-control[aria-pressed=true] .music-bars span { animation: editorial-music .8s ease-in-out infinite alternate; }
.music-control[aria-pressed=true] .music-bars span:nth-child(2) { animation-delay: -.4s; }
.music-control[aria-pressed=true] .music-bars span:nth-child(3) { animation-delay: -.2s; }
@keyframes editorial-music { to { transform: scaleY(.3); } }

@media (max-width: 900px) {
  .newspaper { width: calc(100% - 24px); padding-inline: 20px; margin-block: 16px; }
  .front-layout { grid-template-columns: 1.5fr 1fr; gap: 24px; }
  .date-month { font-size: 32px; }
  .hotel-grid { gap: 22px; }
  .hotel-grid .actions { flex-direction: column; }
}
@media (max-width: 700px) {
  :root { --section-heading-size: 43px; }
  body { font-size: 17px; line-height: 1.7; }
  .navigation-bar { flex-wrap: wrap; justify-content: space-between; gap: 0; padding: 12px 0; }
  .menu-toggle { display: inline-flex; }
  .monogram-link img { width: 35px; height: 46px; }
  .eyebrow { font-size: 12px; letter-spacing: .07em; }
  .newspaper { width: 100%; margin: 0; padding: 0 16px; }
  .masthead nav { display: none; flex: 0 0 100%; padding: 0; margin-top: 12px; border-top: 1px solid var(--ink); white-space: normal; }
  .masthead nav.is-open { display: grid; grid-template-columns: 1fr; gap: 0; }
  .masthead nav a { min-height: 56px; padding: 16px 12px; font-size: 19px; text-align: center; border-bottom: 1px solid var(--ink); }
  .masthead nav a:last-child { border-bottom: 0; }
  .front-page { padding: 23px 0 28px; }
  .front-page h1 { font-size: clamp(48px, 14.5vw, 85px); margin-block: 11px 24px; }
  .front-layout { grid-template-columns: 1fr; gap: 23px; }
  .lead-photo img { aspect-ratio: 1.08; }
  .lead-photo figcaption { font-size: 12px; }
  .front-column { border-left: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 22px; align-items: center; }
  .cover-date, .cover-calendar, .front-column > .text-link { grid-column: 1 / -1; }
  .date-notice { grid-column: auto; grid-row: auto; }
  .date-title { margin-bottom: 16px; }
  .date-day { font-size: 105px; }
  .date-month { font-size: 36px; }
  .date-year { font-size: 16px; }
  .text-link { grid-column: 2; font-size: 14px; line-height: 1.5; padding-block: 7px; }
  .editorial-section { padding: 28px 0; }
  .editorial-section > h2 { font-size: var(--section-heading-size); margin-bottom: 20px; }
  .section-heading { margin-bottom: 11px; }
  .story-columns { columns: 1; font-size: 17px; line-height: 1.75; }
  .countdown { max-width: 420px; }
  .countdown small { font-size: 12px; }
  .gallery-spread { flex-basis: calc(100% - 26px); height: clamp(260px, 75vw, 400px); gap: 7px; grid-template-columns: 1.15fr 1fr; }
  .gallery-track { gap: 10px; }
  .gallery-track::after { flex-basis: 16px; }
  .dress-notice { grid-template-columns: 1fr; gap: 24px; padding-block: 26px; text-align: center; }
  .dress-art img { width: 130px; }
  .dress-copy h2 { overflow-wrap: normal; }
  .dress-formality { font-size: 34px; }
  .venue-grid { grid-template-columns: 1fr; gap: 30px; }
  .venue h3 { font-size: 34px; }
  .venue-time { font-size: 16px; }
  .venue .actions { margin-top: 22px; padding-top: 0; gap: 12px; }
  .schedule-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .schedule-grid span { font-size: 14px; }
  .schedule-grid strong { font-size: 28px; }
  .hotel-grid { grid-template-columns: 1fr; gap: 30px; }
  .hotel-grid .actions { flex-direction: row; margin-top: 16px; padding-top: 0; gap: 12px; }
  .hotel-grid .button { font-size: 14px; }
  .registry-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .registry-grid img { max-width: 140px; }
  .confirmation { padding-bottom: 0; }
  .confirmation iframe { padding: 46px 0; }
  .app-notice { grid-template-columns: 1fr; gap: 0; padding-block: 26px; }
  .app-notice .actions { justify-content: flex-start; margin-top: 22px; }
  .hashtag { font-size: 44px; }
  .footer-line { align-items: flex-start; font-size: 12px; }
  .footer-line > span { max-width: 150px; }
  .lightbox { gap: 0; padding-inline: 0; }
  .lightbox img { max-width: calc(96vw - 88px); max-height: 72dvh; }
  .photo-arrow { width: 44px; flex-shrink: 0; }
  .music-control { width: 44px; padding: 0; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); }
  #music-label { display: none; }
}
@media (max-width: 360px) {
  .newspaper { padding-inline: 12px; }
  .front-column { gap: 0 16px; }
  .date-month { font-size: 27px; }
  .text-link { font-size: 13px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pasatiempos: letras impresas y palabras marcadas como en un periódico. */
.date-game-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: stretch; }
.date-feature-copy { min-width: 0; }
.date-feature-copy figure { position: relative; height: 100%; min-height: 400px; }
.date-game-layout .date-feature-copy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.date-game-layout .puzzle-column { border-left: 1px solid var(--rule); padding-left: 34px; }
.puzzle-column h3 { font-size: 31px; }
.puzzle-intro { font-size: 16px; line-height: 1.6; margin: 12px 0 19px; }
.wordsearch { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; touch-action: pinch-zoom; }
.wordsearch-grid { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); width: 100%; height: 100%; }
.wordsearch-grid button { display: grid; place-items: center; aspect-ratio: 1; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; font: 18px/1 var(--serif); font-variant-numeric: lining-nums; user-select: none; -webkit-user-select: none; }
.wordsearch-grid button:hover { background: #00000008; }
.wordsearch-grid button.selection-start { background: #000; color: #fff; border-radius: 50%; }
.wordsearch-grid button:focus-visible { outline-offset: -3px; }
.wordsearch-marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.given-word { fill: none; stroke: #000; stroke-width: .35; }
.given-date, .found-word { stroke: #bdbdbd; stroke-width: 8.4; stroke-linecap: round; opacity: .55; }
.found-word { stroke: #b0b0b0; opacity: .45; }
.puzzle-words { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 10px; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: 16px; }
.puzzle-words .is-found { text-decoration: line-through; text-decoration-thickness: 1px; }
.puzzle-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#puzzle-status { font-size: 14px; line-height: 1.5; }
.puzzle-footer .button { flex-shrink: 0; }
@media (max-width: 900px) {
  .date-game-layout { gap: 28px; }
  .date-game-layout .puzzle-column { padding-left: 23px; }
  .wordsearch-grid button { font-size: 16px; }
  .puzzle-footer { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .date-game-layout { grid-template-columns: 1fr; gap: 30px; }
  .date-feature-copy figure { height: auto; min-height: 0; aspect-ratio: 1.1; }
  .date-game-layout .puzzle-column { border-left: 0; padding: 23px 0 0; border-top: 1px solid var(--rule); }
  .wordsearch { max-width: 420px; margin: 0 auto; }
  .wordsearch-grid button { font-size: 18px; }
  .puzzle-column h3 { font-size: 32px; }
  .puzzle-footer { flex-wrap: nowrap; }
}
@media (max-width: 360px) {
  .wordsearch-grid button { font-size: 16px; }
  .puzzle-footer { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .dress-notice { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .dress-art img { width: 130px; }
}

/* Alineación uniforme para la lectura en celular. */
@media (max-width: 700px) {
  .newspaper { text-align: center; }
  .section-heading, .lead-photo figcaption, .venue-time, .text-link { justify-content: center; }
  .date-copy { text-align: center; }
  .venue, .hotel-grid article { align-items: center; }
  .actions, .venue .actions, .hotel-grid .actions, .app-notice .actions { justify-content: center; }
  .gallery-controls { justify-content: center; }
  .puzzle-footer { justify-content: center; flex-wrap: wrap; }
  .footer-line { flex-direction: column; align-items: center; gap: 8px; }
  .footer-line > span { max-width: none; }
}

.schedule-grid > div { text-align: center; }
.schedule-icon { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 16px; }
@media (max-width: 700px) {
  .schedule-grid { row-gap: 30px; }
  .schedule-icon { width: 52px; height: 52px; margin-bottom: 12px; }
}

@media (min-width: 701px) {
  .schedule-grid { gap: 32px 24px; }
  .schedule-grid > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; align-content: center; text-align: left; }
  .schedule-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; margin: 0; }
  .schedule-grid span { grid-column: 2; align-self: end; }
  .schedule-grid strong { grid-column: 2; align-self: start; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .masthead nav.is-open { max-height: calc(100dvh - var(--menu-height, 72px) - 24px); overflow-y: auto; }
}

.registry-button { width: 100%; padding: 16px 10px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.registry-button:hover, .registry-button:focus-visible { border-color: var(--ink); background: #00000004; }
.registry-button:active { background: #0000000d; }



@media (max-width: 700px) {
  .cover-calendar .actions { justify-content: center; }
}
