/* Shared overrides for all pages (linked after pizzeria.css). */

/* Uniform hero: same 4:3 crop everywhere (proposal photo's native ratio),
   cover instead of stretch, rounded corners. */
.fancyclothes-5ocjd1 {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 543px) {
  .fancyclothes-5ocjd1 { border-radius: 12px; }
}

/* Invite gating: nav starts hidden on the reception page until nav.js
   resolves the guest's invite tier (prevents a flash of links). */
body[data-gate-nav] .navbarContainer { display: none; }
body[data-gate-nav].nav-resolved .navbarContainer { display: block; }
body .nav-hidden { display: none !important; }

/* Unified site footer — checker strip, script names, letterspaced date. */
.siteFooter { padding: 6px 20px 10px; text-align: center; }
.siteFooter-names {
  font-family: "MaisonVoyages Script", cursive;
  color: rgb(190, 24, 48);
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.siteFooter-date {
  font-family: "Brandon Grotesque Medium", sans-serif;
  color: rgb(35, 62, 38);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ---- Mobile menu (≤543px): fixed top-right button, full-screen overlay ---- */
@media (max-width: 543px) {
  /* hamburger pinned top-right, always reachable */
  .fancyclothes-12umtkj {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1400;
    padding: 0;
    background: rgba(244, 239, 214, 0.94);
    border: 1px solid rgba(35, 62, 38, 0.15);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(35, 62, 38, 0.10);
  }
  .fancyclothes-12umtkj .fancyclothes-hb7tjp { margin: 0; }
  .fancyclothes-12umtkj .fancyclothes-1nmnjbd { padding: 9px 16px; }

  /* open overlay: centered, oversized outlined links */
  .fancyclothes-1ywgmmc.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1500;
  }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-jk07d6 {
    text-align: center;
    width: 100%;
  }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5 {
    padding: 2.2vh 0;
    border-bottom: none;
  }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5 a {
    font-family: "MaisonVoyages OutlineCapsBold";
    font-size: clamp(48px, 14vw, 76px);
    line-height: 1.1;
    letter-spacing: 3px;
    color: rgb(190, 24, 48) !important;
    display: block;
  }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5 a.fancyclothes-1vkh3gx {
    color: rgb(35, 62, 38) !important; /* current page in green outline */
  }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-18jnjo6 {
    display: block;
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 10px;
    border-bottom: none;
  }
  .menuMark {
    display: block;
    width: 68px;
    height: 68px;
    margin: 0 auto 3.5vh;
  }
}
@media (min-width: 544px) {
  .menuMark { display: none; }
}


/* ---- Burger: bare hand-drawn checker bars — no word, pill, or shadow ---- */
@media (max-width: 543px) {
  .fancyclothes-12umtkj {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .fancyclothes-12umtkj .fancyclothes-1nmnjbd { padding: 10px; }
  .fancyclothes-12umtkj .fancyclothes-1nmnjbd span { display: none; }
}

/* ---- Menu entrance animation ---- */
@media (max-width: 543px) {
  .fancyclothes-1ywgmmc.is-open {
    animation: krMenuIn 0.32s ease-out both;
  }
  .fancyclothes-1ywgmmc.is-open .menuMark,
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5 {
    animation: krLinkIn 0.45s ease-out both;
  }
  .fancyclothes-1ywgmmc.is-open .menuMark { animation-delay: 0.05s; }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5:nth-child(1) { animation-delay: 0.12s; }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5:nth-child(2) { animation-delay: 0.19s; }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5:nth-child(3) { animation-delay: 0.26s; }
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5:nth-child(4) { animation-delay: 0.33s; }
}
@keyframes krMenuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes krLinkIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fancyclothes-1ywgmmc.is-open,
  .fancyclothes-1ywgmmc.is-open .menuMark,
  .fancyclothes-1ywgmmc.is-open .fancyclothes-w73wg5 { animation: none; }
}

/* ---- Masthead checker band: repeat edge-to-edge instead of the template's
   fixed-width (800/1200/1600px) centered graphic. Band heights match the
   square size the original rendered at each breakpoint. ---- */
.fancyclothes-1cl2zl8-children-MastheadContainer {
  background-image: url('assets/checker-2row.png'), none;
  background-position: center bottom, center top;
  background-repeat: repeat-x, repeat;
  background-size: auto 31px, auto;
}
@media (min-width: 544px) {
  .fancyclothes-1cl2zl8-children-MastheadContainer { background-size: auto 46px, auto; }
}
@media (min-width: 768px) {
  .fancyclothes-1cl2zl8-children-MastheadContainer { background-size: auto 61px, auto; }
}

/* ---- Single-square accents become the 3-square strip ---- */
.fancyclothes-47hbxi {
  width: 200px;
  height: 50px;
  background-image: url('assets/root_SmallDivider.png');
}
.fancyclothes-fb397w { margin-bottom: 0; }

/* ---- Venue photo (same rule as site-extra.css; shared so every page's
   Travel section renders it identically) ---- */
.siteExtra-photo { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto 20px; box-sizing: border-box; border-radius: 16px; }

/* ---- Buttons under the invite header (also defined in site-extra.css for
   the reception page; duplicated here so every page can use them) ---- */
.siteExtra-btnRow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.siteExtra-btn { font-family: "Brandon Grotesque Medium"; font-weight: 400; font-style: normal; text-transform: uppercase; letter-spacing: 0.5px; font-size: 16.8px; display: inline-block; padding: 12px 20px; touch-action: manipulation; cursor: pointer; white-space: nowrap; border-width: 1px; border-style: solid; text-decoration: none; border-color: transparent; color: rgb(244, 239, 214); background-color: rgb(35, 62, 38); border-radius: 0px; }
.siteExtra-btn:hover, .siteExtra-btn:focus, .siteExtra-btn:active { color: rgb(254, 253, 250); background-color: rgb(32, 56, 34); }

/* ---- Divider between the invite header buttons and the next section.
   Full-bleed: breaks out of the centered content column to span the
   viewport edge-to-edge like the between-section dividers. ---- */
.inviteDivider {
  margin-top: 50px;
  margin-bottom: 50px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ---- Invite-style header block: red "please join us" headline over a
   compact two-column date/time | venue/location strip (replaces the
   script line + oversized date + repeated intro paragraph) ---- */
.inviteJoin {
  font-family: "MaisonVoyages CapsBold";
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 24px;
  color: rgb(190, 24, 48);
  margin: 0 0 28px;
}
.inviteMeta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 55px;
  font-family: "MaisonVoyages CapsBold";
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: rgb(35, 62, 38);
}
.inviteMeta-col { text-align: center; }
.inviteMeta-col time { display: block; }
@media (min-width: 768px) {
  .inviteJoin { font-size: 30px; }
  .inviteMeta { font-size: 14px; }
}

/* ---- Tighter vertical rhythm between sections ---- */
.fancyclothes-hru09v-wrapper { margin-bottom: 2.5rem; }
.fancyclothes-tsl001-children-IntroContainer { padding: 40px 0; }
.fancyclothes-cgptg3-HeaderDividerComponent { margin-top: 2.5rem; }
.fancyclothes-1fslv8q-wrapper > div { margin-bottom: 3rem; }
.fancyclothes-kb2nmq-WeddingHomeVerticalSingleHeader { margin-top: 20px; margin-bottom: 20px; }
.fancyclothes-m1x58d-lgMarginBottomStyles { margin-bottom: 1.25rem; }
.fancyclothes-1022qw9-lgMarginBottomStyles-marginTopStyles { margin-top: 1.25rem; margin-bottom: 1.25rem; }

/* ---- Registry section ---- */
.registryIntro p {
  font-family: "Brandon Grotesque Medium", sans-serif;
  font-size: 19.6px;
  line-height: 1.6;
  color: rgb(35, 62, 38);
  margin: 0 0 28px;
  padding: 0 15px;
}
.registryRow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 0 15px;
  text-align: center;
}
.registryBtn {
  font-family: "Brandon Grotesque Medium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 17px;
  line-height: 1.6;
  display: inline-block;
  padding: 14px 28px;
  background-color: rgb(35, 62, 38);
  color: rgb(244, 239, 214) !important;
  text-decoration: none;
  cursor: pointer;
}
.registryBtn:hover, .registryBtn:focus, .registryBtn:active {
  background-color: rgb(32, 56, 34);
  color: rgb(254, 253, 250) !important;
}
.registryBtn--venmo { background-color: rgb(190, 24, 48); }
.registryBtn--venmo:hover, .registryBtn--venmo:focus, .registryBtn--venmo:active {
  background-color: rgb(160, 18, 38);
}
@media (max-width: 543px) {
  .registryBtn { display: block; width: 100%; box-sizing: border-box; }
  .registryRow { flex-direction: column; }
}
