:root {
  --color-primary: #1f5f7a;
  --color-secondary: #e6d3b1;
  --color-accent: #c7664a;
  --color-background: #fffaf0;
  --color-text: #24323a;
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== Mediterranean (etapa-17 mockup) ===== */
body.theme-mediterranean {
  --med-cream: #fffaf0;
  --med-cal: #fffdf4;
  --med-sand: #e6d3b1;
  --med-blue: var(--color-primary, #1f5f7a);
  --med-blue-dark: #143f52;
  --med-terracotta: var(--color-accent, #c7664a);
  --med-ink: var(--color-text, #24323a);
  --med-muted: #657175;
  --med-line: color-mix(in srgb, var(--med-blue) 18%, transparent);
  --med-shadow: 0 24px 70px rgba(31, 63, 82, .13);
  --med-radius-lg: 34px;
  --med-header-h: 4.75rem;
  --med-serif: Georgia, "Times New Roman", serif;
  --med-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  font-family: var(--med-sans);
  color: var(--med-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(215, 63, 130, .12), transparent 20rem),
    radial-gradient(circle at 95% 16%, rgba(244, 197, 106, .26), transparent 18rem),
    linear-gradient(180deg, #fffdf4 0%, var(--med-cream) 46%, #f8f1e1 100%);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
html:has(body.theme-mediterranean) {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body.theme-mediterranean img { max-width: 100%; display: block; }
body.theme-mediterranean a { color: inherit; }
body.theme-mediterranean button,
body.theme-mediterranean input,
body.theme-mediterranean select,
body.theme-mediterranean textarea { font: inherit; }
body.theme-mediterranean main {
  max-width: 100%;
  margin: 0;
  padding: var(--med-header-h) 0 0;
  overflow-x: clip;
}

body.theme-mediterranean .skip-link {
  position: absolute; top: -60px; left: 1rem; z-index: 120;
  background: var(--med-blue); color: #fff;
  padding: .75rem 1rem; border-radius: 999px;
}
body.theme-mediterranean .skip-link:focus { top: 1rem; }

body.theme-mediterranean .site-header {
  /* fixed: sticky fails when ancestors clip overflow-x on mobile */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100;
  box-sizing: border-box;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 250, 240, .96);
  border-bottom: 1px solid rgba(31, 95, 122, .13);
  text-align: left;
}
body.theme-mediterranean .nav-shell {
  max-width: 1180px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-width: 0;
}
body.theme-mediterranean .brand {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 52px; height: 52px;
  border: 2px solid var(--med-blue); border-radius: 50%;
  font-family: var(--med-serif); font-weight: 700; font-size: .72rem;
  text-decoration: none; background: var(--med-cal); color: var(--med-blue);
  text-align: center; line-height: 1.1;
}
body.theme-mediterranean .nav-links {
  display: flex; gap: clamp(.8rem, 2vw, 1.7rem); font-size: .93rem;
}
body.theme-mediterranean .nav-links a,
body.theme-mediterranean .nav-cta { text-decoration: none; }
body.theme-mediterranean .nav-links a { color: rgba(36, 50, 58, .8); }
body.theme-mediterranean .nav-cta {
  flex-shrink: 0;
  padding: .75rem 1rem; border-radius: 999px;
  background: var(--med-blue); color: #fff; font-weight: 700;
}

body.theme-mediterranean .section,
body.theme-mediterranean .section-pad {
  max-width: 100%;
  box-sizing: border-box;
}
body.theme-mediterranean .section-pad { padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
body.theme-mediterranean .eyebrow {
  margin: 0 0 .8rem; color: var(--med-terracotta);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800;
}
body.theme-mediterranean h1,
body.theme-mediterranean h2,
body.theme-mediterranean h3 { line-height: 1.05; margin: 0; }
body.theme-mediterranean h1,
body.theme-mediterranean h2 { font-family: var(--med-serif); font-weight: 500; }
body.theme-mediterranean h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem); letter-spacing: -.08em;
}
body.theme-mediterranean h1 span { color: var(--med-terracotta); font-style: italic; }
body.theme-mediterranean h2 { font-size: clamp(2.2rem, 5vw, 5rem); letter-spacing: -.045em; }
body.theme-mediterranean h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

body.theme-mediterranean .hero {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  padding-top: clamp(3rem, 6vw, 5.5rem);
}
body.theme-mediterranean .tile-ribbon {
  position: absolute; inset: 0 0 auto auto;
  width: min(44vw, 540px); height: 75%;
  max-width: 100%;
  background-image:
    linear-gradient(rgba(255, 250, 240, .78), rgba(255, 250, 240, .78)),
    url("assets/mediterranean/tile-pattern.svg");
  background-size: 220px;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 82%);
  opacity: .9; pointer-events: none;
}
body.theme-mediterranean .hero-shell {
  position: relative; max-width: 1180px; width: 100%; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr);
  align-items: center; gap: clamp(2rem, 6vw, 5rem);
  min-width: 0;
}
body.theme-mediterranean .reveal-card {
  background: rgba(255, 253, 244, .72);
  border: 1px solid var(--med-line);
  box-shadow: var(--med-shadow);
  border-radius: var(--med-radius-lg);
  padding: clamp(1.4rem, 4vw, 3.2rem);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.theme-mediterranean .hero-lead {
  max-width: 620px; font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(36, 50, 58, .78);
}
body.theme-mediterranean .hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0;
}
body.theme-mediterranean .button,
body.theme-mediterranean .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .9rem 1.2rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 800;
  text-decoration: none; cursor: pointer;
}
body.theme-mediterranean .button.primary,
body.theme-mediterranean .btn-primary {
  background: var(--med-blue); color: #fff;
  box-shadow: 0 16px 38px rgba(31, 95, 122, .22);
}
body.theme-mediterranean .button.ghost {
  background: rgba(255, 255, 255, .68);
  border-color: var(--med-line); color: var(--med-blue);
}
body.theme-mediterranean .button.ghost.dark { background: transparent; }
body.theme-mediterranean .hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0;
}
body.theme-mediterranean .hero-facts div {
  padding: 1rem; border-radius: 18px;
  background: rgba(230, 211, 177, .38);
  border: 1px solid rgba(199, 102, 74, .16);
  min-width: 0;
}
body.theme-mediterranean .hero-facts dt {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--med-terracotta); font-weight: 900;
}
body.theme-mediterranean .hero-facts dd {
  margin: .35rem 0 0; font-weight: 800;
  overflow-wrap: anywhere;
}
body.theme-mediterranean .hero-visual {
  position: relative;
  min-width: 0;
  max-width: 100%;
  /* Keep overflow visible so the tilted media corners show page bg, not a box */
  overflow: visible;
  background: transparent;
  padding: 0.75rem 0.5rem;
}
body.theme-mediterranean .hero-media,
body.theme-mediterranean .hero-media.has-image {
  margin: 0;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: rotate(1.5deg);
  transform-origin: center center;
}
body.theme-mediterranean .hero-visual img,
body.theme-mediterranean .hero-media img {
  width: 100%;
  max-width: 100%;
  border: 14px solid var(--med-cal);
  border-radius: 46px;
  box-shadow: 0 38px 90px rgba(20, 63, 82, .26);
  box-sizing: border-box;
  background: transparent;
  display: block;
}
body.theme-mediterranean .hero-media .image-placeholder,
body.theme-mediterranean .hero-visual > .image-placeholder {
  min-height: 28rem;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--med-blue);
  font-weight: 700;
  border: 14px solid var(--med-cal);
  border-radius: 46px;
  box-shadow: 0 38px 90px rgba(20, 63, 82, .26);
  box-sizing: border-box;
  /* Placeholder fill lives inside the tilted frame, not behind it */
  background: var(--med-sand);
}
/* Direct placeholder (no figure) still needs the tilt */
body.theme-mediterranean .hero-visual > .image-placeholder {
  transform: rotate(1.5deg);
  transform-origin: center center;
}
body.theme-mediterranean .sun-stamp {
  position: absolute; left: 12px; top: 34px; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--med-terracotta); color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 18px 45px rgba(199, 102, 74, .28);
  outline: 8px solid rgba(255, 250, 240, .9);
}
body.theme-mediterranean .sun-stamp span {
  font-family: var(--med-serif); font-size: 3rem; line-height: .8;
}
body.theme-mediterranean .sun-stamp small {
  font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .08em;
}

body.theme-mediterranean .quick-info {
  max-width: min(1120px, 100%);
  width: 100%;
  margin: -2rem auto 0;
  padding: 0 clamp(1rem, 4vw, 3rem) 2rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  position: relative; z-index: 3;
  box-sizing: border-box;
}
body.theme-mediterranean .quick-info article {
  background: var(--med-cal); padding: 1.35rem; border-radius: 24px;
  border: 1px solid var(--med-line);
  box-shadow: 0 14px 45px rgba(31, 63, 82, .08);
}
body.theme-mediterranean .info-icon {
  color: var(--med-blue); font-weight: 900; letter-spacing: .12em;
}
body.theme-mediterranean .quick-info h2 {
  font-family: var(--med-sans); font-size: 1.05rem; letter-spacing: 0; margin-top: .5rem;
}
body.theme-mediterranean .quick-info p { margin-bottom: 0; color: var(--med-muted); }

body.theme-mediterranean .section-heading { max-width: 1000px; margin: 0 auto 2.2rem; }
body.theme-mediterranean .centered { text-align: center; }
body.theme-mediterranean .split-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem;
}
body.theme-mediterranean .split-heading p:last-child { max-width: 390px; color: var(--med-muted); }
body.theme-mediterranean .story-grid {
  max-width: min(1050px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.4rem; align-items: stretch;
}
body.theme-mediterranean .letter-card,
body.theme-mediterranean .save-date-card,
body.theme-mediterranean .gift-card,
body.theme-mediterranean .location-card,
body.theme-mediterranean .cards-grid article {
  border: 1px solid var(--med-line);
  box-shadow: var(--med-shadow);
  border-radius: var(--med-radius-lg);
}
body.theme-mediterranean .letter-card {
  background: var(--med-cal);
  padding: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--med-serif);
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  color: rgba(36, 50, 58, .82);
  position: relative;
}
body.theme-mediterranean .letter-card::before {
  content: ""; position: absolute; inset: 1.1rem;
  border: 1px solid rgba(199, 102, 74, .24); border-radius: 24px; pointer-events: none;
}
body.theme-mediterranean .letter-card footer {
  margin-top: 2rem; font-family: var(--med-sans); font-size: 1rem;
}
body.theme-mediterranean .save-date-card {
  position: relative; overflow: hidden; background: var(--med-blue); color: #fff;
  padding: 2rem; display: flex; flex-direction: column; justify-content: end; min-height: 360px;
}
body.theme-mediterranean .save-date-card .eyebrow { color: #ffd9a1; }
body.theme-mediterranean .save-date-card p { color: rgba(255, 255, 255, .82); }
body.theme-mediterranean .save-date-card a { color: #fff; font-weight: 800; }
body.theme-mediterranean .mini-tile {
  position: absolute; inset: 0 0 auto auto; width: 260px; height: 260px;
  background-image: url("assets/mediterranean/tile-pattern.svg");
  background-size: 160px; opacity: .16;
}

body.theme-mediterranean .photo-mosaic {
  max-width: min(1180px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr);
  grid-auto-rows: 250px; gap: 1rem;
}
body.theme-mediterranean .photo-mosaic figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 28px; border: 10px solid var(--med-cal);
  box-shadow: 0 22px 60px rgba(31, 63, 82, .13); background: var(--med-sand);
}
body.theme-mediterranean .photo-mosaic .wide { grid-column: span 2; }
body.theme-mediterranean .photo-mosaic .tall { grid-row: span 2; }
body.theme-mediterranean .photo-mosaic img,
body.theme-mediterranean .photo-mosaic .image-placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
body.theme-mediterranean .photo-mosaic .image-placeholder {
  display: grid; place-items: center; color: var(--med-blue); font-weight: 700;
  min-height: 100%;
}
body.theme-mediterranean .photo-mosaic figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255, 253, 244, .88); color: var(--med-blue);
  padding: .45rem .75rem; border-radius: 999px; font-weight: 800; font-size: .85rem;
}

body.theme-mediterranean .agenda {
  background: var(--med-blue-dark); color: #fff;
  position: relative; overflow: hidden; overflow-x: clip;
}
body.theme-mediterranean .agenda::before,
body.theme-mediterranean .agenda::after {
  content: ""; position: absolute;
  background-image: url("assets/mediterranean/tile-pattern.svg");
  background-size: 220px; opacity: .08; width: min(420px, 70vw); height: min(420px, 70vw);
  pointer-events: none;
}
body.theme-mediterranean .agenda::before { left: -130px; top: -70px; }
body.theme-mediterranean .agenda::after { right: -120px; bottom: -120px; }
body.theme-mediterranean .light-heading .eyebrow { color: #ffd9a1; }
body.theme-mediterranean .timeline {
  position: relative; max-width: 920px; margin: 0 auto; display: grid; gap: .9rem;
}
body.theme-mediterranean .timeline-card {
  display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 1.2rem; align-items: center;
  padding: 1.2rem; border-radius: 24px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  min-width: 0;
}
body.theme-mediterranean .timeline-card time {
  font-family: var(--med-serif); color: #ffd9a1; font-size: 2.3rem; font-weight: 700;
}
body.theme-mediterranean .timeline-card p {
  margin: .35rem 0 0; color: rgba(255, 255, 255, .78);
}

body.theme-mediterranean .location-card {
  max-width: min(1120px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 1.5rem;
  padding: 1rem; background: var(--med-cal);
  box-sizing: border-box;
}
body.theme-mediterranean .location-copy {
  padding: clamp(1.3rem, 4vw, 2.4rem);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
body.theme-mediterranean .location-copy p { color: var(--med-muted); }
body.theme-mediterranean .utility-list {
  padding: 0; margin: 1rem 0 1.6rem; list-style: none; display: grid; gap: .65rem;
}
body.theme-mediterranean .utility-list li { padding-left: 1.4rem; position: relative; }
body.theme-mediterranean .utility-list li::before {
  content: "•"; position: absolute; left: 0; color: var(--med-terracotta);
  font-size: 1.4rem; line-height: 1;
}
body.theme-mediterranean .location-card img,
body.theme-mediterranean .location-visual {
  height: 100%; min-height: 280px; object-fit: cover;
  border-radius: 26px; border: 1px solid var(--med-line); margin: 0;
}
body.theme-mediterranean .location-visual .map-embed,
body.theme-mediterranean .location-visual iframe {
  width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 26px;
}
body.theme-mediterranean .location-visual .image-placeholder {
  min-height: 320px; display: grid; place-items: center;
  background: var(--med-sand); color: var(--med-blue); font-weight: 700;
  border-radius: 26px;
}

body.theme-mediterranean .cards-grid {
  max-width: min(1050px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
body.theme-mediterranean .cards-grid article {
  padding: 1.5rem; background: rgba(255, 253, 244, .8);
}
body.theme-mediterranean .cards-grid h3 { color: var(--med-blue); }
body.theme-mediterranean .cards-grid p { color: var(--med-muted); }

body.theme-mediterranean .rsvp {
  background:
    linear-gradient(rgba(31, 95, 122, .94), rgba(31, 95, 122, .94)),
    url("assets/mediterranean/tile-pattern.svg");
  background-size: auto, 180px; color: #fff;
  overflow-x: clip;
}
body.theme-mediterranean .rsvp-shell {
  max-width: min(1080px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(1.5rem, 5vw, 3rem); align-items: center;
}
body.theme-mediterranean .rsvp .eyebrow { color: #ffd9a1; }
body.theme-mediterranean .rsvp-copy p {
  color: rgba(255, 255, 255, .82); font-size: 1.1rem;
}
body.theme-mediterranean .rsvp-form {
  background: var(--med-cal); color: var(--med-ink);
  border-radius: var(--med-radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid; gap: 1rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}
body.theme-mediterranean .rsvp-form > label {
  display: grid; gap: .4rem; font-weight: 800; color: var(--med-blue);
}
body.theme-mediterranean .rsvp-form input,
body.theme-mediterranean .rsvp-form textarea {
  width: 100%; min-height: 50px;
  border: 1px solid rgba(31, 95, 122, .22); border-radius: 16px;
  padding: .85rem .95rem; font: inherit; color: var(--med-ink); background: #fff;
  box-sizing: border-box;
}
body.theme-mediterranean .rsvp-form .rsvp-attending {
  border: 0; margin: 0; padding: 0; display: grid; gap: .6rem;
}
body.theme-mediterranean .rsvp-form .rsvp-attending legend {
  font-weight: 800; color: var(--med-blue); margin-bottom: .35rem;
}
body.theme-mediterranean .rsvp-form .rsvp-attending-options {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem;
}
body.theme-mediterranean .rsvp-form .rsvp-attending-option {
  display: flex; align-items: center; gap: .65rem;
  margin: 0;
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(31, 95, 122, .22); background: #fff; cursor: pointer;
  font-weight: 700; color: var(--med-ink);
  letter-spacing: normal; text-transform: none;
  min-width: 0; box-sizing: border-box;
}
body.theme-mediterranean .rsvp-form .rsvp-attending-option span {
  min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; line-height: 1.35;
}
body.theme-mediterranean .rsvp-form .rsvp-attending-option input {
  width: 1.15rem; height: 1.15rem; max-width: none; min-height: 0;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  flex-shrink: 0; accent-color: var(--med-blue); background: transparent;
}
body.theme-mediterranean .rsvp-form .rsvp-attending-option:has(input:checked) {
  border-color: var(--med-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--med-blue) 14%, transparent);
}
body.theme-mediterranean .rsvp-form button {
  justify-self: stretch; margin-top: .4rem;
  background: var(--med-blue); color: #fff; border: 0;
}
body.theme-mediterranean .rsvp-form-status {
  margin: 0; padding: 10px 14px; border-radius: 16px;
  background: #eef6ea; color: #2f5a34; font-weight: 700;
}
body.theme-mediterranean .rsvp-form-status--error {
  background: #fde8ea; color: #7a2430;
}

body.theme-mediterranean .gift-card {
  max-width: min(840px, 100%); margin: 0 auto; background: var(--med-cal);
  text-align: center; padding: clamp(2rem, 6vw, 4rem);
  position: relative; overflow: hidden;
  box-sizing: border-box;
}
body.theme-mediterranean .gift-pattern {
  position: absolute; inset: auto 0 -80px auto;
  width: min(280px, 55%); height: 280px;
  background-image: url("assets/mediterranean/tile-pattern.svg");
  background-size: 180px; opacity: .19; transform: rotate(12deg);
  pointer-events: none;
}
body.theme-mediterranean .gift-card p:not(.eyebrow) {
  max-width: 620px; margin-left: auto; margin-right: auto; color: var(--med-muted);
}

body.theme-mediterranean .footer {
  padding: 3rem 1rem; text-align: center;
  color: rgba(255, 255, 255, .8); background: var(--med-blue-dark);
}
body.theme-mediterranean .footer-mark {
  font-family: var(--med-serif); font-size: 3rem; color: #fff; margin: 0 0 .6rem;
}
body.theme-mediterranean .footer p { margin: .25rem; }
body.theme-mediterranean .design-block-placeholder {
  margin: 0; padding: 1.5rem; text-align: center; color: var(--med-muted);
}

@media (max-width: 900px) {
  body.theme-mediterranean .nav-links { display: none; }
  body.theme-mediterranean .hero-shell,
  body.theme-mediterranean .story-grid,
  body.theme-mediterranean .location-card,
  body.theme-mediterranean .rsvp-shell { grid-template-columns: minmax(0, 1fr); }
  body.theme-mediterranean .hero-visual {
    order: -1; max-width: min(560px, 100%); width: 100%; margin: 0 auto;
    padding: 0;
  }
  body.theme-mediterranean .hero-media,
  body.theme-mediterranean .hero-media.has-image,
  body.theme-mediterranean .hero-media .image-placeholder,
  body.theme-mediterranean .hero-visual > .image-placeholder {
    transform: none;
  }
  body.theme-mediterranean .hero-facts,
  body.theme-mediterranean .quick-info,
  body.theme-mediterranean .cards-grid { grid-template-columns: minmax(0, 1fr); }
  body.theme-mediterranean .split-heading { display: block; }
  body.theme-mediterranean .photo-mosaic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 210px;
  }
  body.theme-mediterranean .photo-mosaic .wide { grid-column: span 2; }
  body.theme-mediterranean .photo-mosaic .tall { grid-row: span 1; }
  body.theme-mediterranean .location-card img,
  body.theme-mediterranean .location-visual { max-height: 420px; width: 100%; }
}

@media (max-width: 560px) {
  body.theme-mediterranean {
    --med-header-h: 4.25rem;
  }
  body.theme-mediterranean .site-header {
    padding: .65rem 1rem;
  }
  body.theme-mediterranean .brand {
    width: 44px; height: 44px; font-size: .65rem;
  }
  body.theme-mediterranean .section-pad { padding-left: 1rem; padding-right: 1rem; }
  body.theme-mediterranean h1 { font-size: clamp(2.6rem, 14vw, 4rem); overflow-wrap: anywhere; }
  body.theme-mediterranean h2 { font-size: clamp(1.85rem, 10vw, 2.8rem); overflow-wrap: anywhere; }
  body.theme-mediterranean .hero-actions { display: grid; }
  body.theme-mediterranean .hero-facts { gap: .55rem; }
  body.theme-mediterranean .sun-stamp { width: 88px; height: 88px; left: 8px; top: 18px; }
  body.theme-mediterranean .sun-stamp span { font-size: 2.2rem; }
  body.theme-mediterranean .sun-stamp small { font-size: .62rem; }
  body.theme-mediterranean .photo-mosaic { grid-template-columns: minmax(0, 1fr); }
  body.theme-mediterranean .photo-mosaic .wide,
  body.theme-mediterranean .photo-mosaic .tall { grid-column: auto; }
  body.theme-mediterranean .timeline-card { grid-template-columns: minmax(0, 1fr); }
  body.theme-mediterranean .timeline-card time { font-size: 2rem; }
  body.theme-mediterranean .nav-cta { padding: .65rem .8rem; }
  body.theme-mediterranean .rsvp-form .rsvp-attending-options { grid-template-columns: minmax(0, 1fr); }
  body.theme-mediterranean .button,
  body.theme-mediterranean .btn { width: 100%; max-width: 100%; box-sizing: border-box; }
}