.mgi-language {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .5rem 1rem;
}
.mgi-language a {
  display: inline-block;
  padding: .2rem .5rem;
  color: inherit;
  border-radius: .35rem;
  font-size: .9rem;
  text-underline-offset: .2em;
}
.mgi-language a[aria-current] {
  background: #efce95;
  color: #14283c;
  font-weight: 700;
}
.mgi-local {
  margin: 0;
  color: #14283c;
  background: #fbf8f2;
  font: 1rem/1.6 system-ui, sans-serif;
}
.mgi-local * { box-sizing: border-box; }
.mgi-shell { width: min(100%, 72rem); margin: auto; padding: 1rem clamp(1rem,4vw,2.5rem); }
.mgi-top { color: white; background: #14283c; }
.mgi-top .mgi-shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.mgi-top a { color: inherit; }
.mgi-brand { font-weight: 850; font-size: 1.35rem; text-decoration: none; }
.mgi-brand span { color: #efce95; }
.mgi-main-nav, .mgi-footer .mgi-shell { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.mgi-local a { text-underline-offset: .2em; }
.mgi-local :focus-visible { outline: .16rem solid #3c83d8; outline-offset: .18rem; }
.mgi-hero {
  display: grid;
  margin: .65rem 0 2rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--hero-base,#17324a);
  color: white;
}
.mgi-hero-photo { grid-template-columns: 1.12fr 1fr; }
.mgi-hero > div { padding: clamp(1.4rem,4.8vw,3.4rem); }
.mgi-hero img { display: block; width: 100%; height: 100%; min-height: 14rem; object-fit: cover; }
.mgi-local h1, .mgi-local h2 { line-height: 1.12; font-family: Georgia, serif; }
.mgi-local h1 { font-size: clamp(2rem,5vw,3.55rem); margin: 0 0 1rem; }
.mgi-local h2 { margin: 1.9rem 0 .85rem; }
.mgi-button { display: inline-block; padding: .65rem 1rem; border-radius: .55rem; background: #efce95; color: #14283c; font-weight: 700; }
.mgi-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.mgi-grid article, .mgi-note, .mgi-local details { border: 1px solid #e5d8c5; border-radius: .8rem; padding: 1rem; background: #fff; }
.mgi-note { background: var(--party-paper,#f5ead8); }
.mgi-grid h3, .mgi-note h2 { margin-top: 0; }
.mgi-grid p, .mgi-note p { margin-bottom: 0; }
.mgi-table { margin: 1rem 0; overflow: auto; }
.mgi-table table { width: 100%; min-width: 28rem; border-collapse: collapse; background: #fff; text-align: left; }
.mgi-table th, .mgi-table td { padding: .6rem; border: 1px solid #e5d8c5; }
.mgi-table thead { background: #e9eef4; }
.mgi-local details { margin: .5rem 0; }
.mgi-local summary { cursor: pointer; font-weight: 700; }
.mgi-occasions { display: flex; flex-wrap: wrap; gap: .5rem .8rem; list-style: none; padding: 0; }
.mgi-occasions a { display: inline-block; padding: .25rem .55rem; background: #fff; border-radius: .4rem; color: #14283c; }
.mgi-footer { margin-top: 1rem; border-top: 1px solid #e5d8c5; }
.mgi-footer a { color: #14283c; }
@media (max-width: 670px) {
  .mgi-hero-photo, .mgi-grid { grid-template-columns: 1fr; }
  .mgi-hero img { height: 15rem; }
}

/* Language choices share the existing navy and gold button palette. */
.mgi-language a,
.mgi-language-choice .mgi-language-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  padding: .38rem .8rem;
  border: 1px solid #cbd6e4;
  border-radius: .55rem;
  background: #edf2f7;
  color: #14283c;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.mgi-language a:hover,
.mgi-language-choice .mgi-language-options label:hover span {
  background: #dfe8f2;
}
.mgi-language a[aria-current="page"],
.mgi-language-choice .mgi-language-options input:checked + span {
  border-color: #a8793d;
  background: #efce95;
  color: #14283c;
}
.mgi-language a:focus-visible,
.mgi-language-choice .mgi-language-options input:focus-visible + span {
  outline: 2px solid #205983;
  outline-offset: 2px;
}
.mgi-language-choice {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.mgi-language-choice legend {
  padding: 0;
  margin-bottom: .35rem;
  font-weight: 700;
}
.mgi-language-options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.mgi-language-choice .mgi-language-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.mgi-language-choice .mgi-language-options input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mgi-language-choice:disabled .mgi-language-options label {
  cursor: default;
  opacity: .65;
}
.mgi-gift-language-settings {
  display: grid;
  justify-items: start;
  gap: .6rem;
  margin: 1rem 0;
}
.mgi-gift-language-settings > div {
  width: 100%;
}

/* Keep all three languages on the same header grid at each viewport width. */
.mgi-public-header {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 245px;
  grid-template-areas: "brand menu languages";
  align-items: center;
  gap: .5rem 1rem;
}
.mgi-public-header > .brand { grid-area: brand; justify-self: start; white-space: nowrap; }
.mgi-public-header > nav:not(.mgi-language) {
  grid-area: menu;
  display: grid;
  grid-template-columns: .65fr 1fr 1.1fr 1.25fr .7fr .9fr 1fr;
  gap: .3rem;
  align-items: stretch;
}
.mgi-public-header > nav:not(.mgi-language) > a {
  display: flex;
  min-width: 0;
  min-height: 42px;
  padding: .25rem .2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .8rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.mgi-public-header > nav:not(.mgi-language) > a[data-reviews-menu][hidden] {
  visibility: hidden;
}
.mgi-public-header > .mgi-language {
  grid-area: languages;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}
.mgi-public-header > .mgi-language > a { padding-inline: .3rem; }

@media (max-width: 1119px) {
  .mgi-public-header {
    grid-template-columns: minmax(0, 1fr) 245px;
    grid-template-areas: "brand languages" "menu menu";
  }
}
@media (max-width: 600px) {
  .mgi-public-header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "languages" "menu";
  }
  .mgi-public-header > .brand { justify-self: center; }
  .mgi-public-header > .mgi-language { width: min(100%, 245px); justify-self: center; }
  .mgi-public-header > nav:not(.mgi-language) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .15rem .35rem;
  }
}

/* The example card uses live text on the translated homepages. */
.mgi-sample-card {
  display: block;
  padding: 2.6%;
  container-type: inline-size;
  background: #101c34;
  color: #12213b;
}
.mgi-sample-face {
  display: grid;
  grid-template-rows: 1fr auto;
  min-block-size: 87cqw;
  overflow: hidden;
  border-radius: 3cqw;
  background: #fcf9f4;
}
.mgi-sample-banner {
  display: grid;
  place-items: center;
  padding: 5cqw;
  text-align: center;
  color: #fff3d5;
  font: 700 clamp(1.65rem, 12cqw, 4rem)/.98 Georgia, serif;
  text-wrap: balance;
  background:
    radial-gradient(circle at 10% 17%, #ffe2a4aa 0, #e5ad5877 3%, transparent 12%),
    radial-gradient(circle at 3% 31%, #ffd78088 0, transparent 8%),
    radial-gradient(circle at 91% 12%, #ffd68899 0, transparent 10%),
    radial-gradient(circle at 99% 27%, #d3a05d77 0, transparent 10%),
    radial-gradient(circle at 81% 32%, #f2c978 0 1px, transparent 2px),
    radial-gradient(circle at 17% 52%, #f2c978 0 1px, transparent 2px),
    radial-gradient(circle at 90% 64%, #f2c978 0 1px, transparent 2px),
    linear-gradient(135deg, #202739, #08142e 55%, #151b2f);
}
.mgi-sample-copy {
  display: grid;
  gap: 2cqw;
  justify-items: start;
  padding: 5cqw 6cqw 6cqw;
  font-size: clamp(.8rem, 4cqw, 1.3rem);
  line-height: 1.28;
}
.mgi-sample-copy strong { font-size: 1.25em; line-height: 1.15; }
.mgi-sample-caption { color: #455064; }
.mgi-sample-cta {
  margin-block-start: 1cqw;
  padding: 2.4cqw 4cqw;
  border-radius: 2.2cqw;
  background: #dfb36f;
  font-weight: 750;
}
.invitation-sample:hover .mgi-sample-cta { background: #edc98e; }

.mgi-public-language { position: relative; flex: 0 0 auto; margin-inline-start: .8rem; z-index: 3; }
.mgi-public-language summary {
  cursor: pointer; white-space: nowrap; list-style: none; padding: .5rem .65rem;
  border: 1px solid currentColor; border-radius: .55rem; }
.mgi-public-language summary::-webkit-details-marker { display: none; }
.mgi-public-language summary::after { content: " ▾"; }
.mgi-public-language[open] summary::after { content: " ▴"; }
.mgi-public-language .mgi-language {
  position: absolute; inset: calc(100% + .45rem) 0 auto auto; width: max-content;
  max-width: min(18rem, 80vw); max-height: min(60vh, 22rem); overflow: auto;
  display: grid; grid-template-columns: 1fr; gap: .25rem; padding: .5rem;
  background: #14283c; color: white; border-radius: .65rem; box-shadow: 0 .4rem 1.2rem #0003; }
.mgi-public-language .mgi-language a[aria-current]::before { content: "✓"; margin-inline-end: .45rem; }
@media (max-width: 760px) {
  .mgi-public-header .mgi-public-language { order: -1; margin-inline: auto 0; }
  .mgi-public-header > .brand { order: -2; }
}
.mgi-public-header { grid-template-columns: 165px minmax(0, 1fr) auto; }
.mgi-public-header > .mgi-public-language { grid-area: languages; justify-self: end; }
@media (max-width: 1119px) {
  .mgi-public-header { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 600px) {
  .mgi-public-header { grid-template-areas: "brand languages" "menu menu"; }
  .mgi-public-header > .brand { justify-self: start; }
}

@media (min-width: 1120px) {
  .mgi-public-header { grid-template-columns: max-content minmax(0, 1fr) auto; column-gap: clamp(2.75rem, 3.5vw, 4.5rem); }
}
