.fgwl-page,
.fgwl-page * {
  box-sizing: border-box;
}

.fgwl-page {
  position: relative;
  left: 50%;
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin: 0 0 42px max(-560px, calc(-50vw + 24px)) !important;
  padding: 10px 0 34px !important;
  color: #182657;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  clear: both;
  transform: none !important;
}

.fgwl-locations {
  display: grid;
  gap: 36px;
  width: 100%;
}

.fgwl-locations.is-locked {
  min-height: 52vh;
}

.fgwl-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(310px, 0.36fr) minmax(0, 0.64fr);
  width: 100% !important;
  overflow: hidden;
  margin: 0 !important;
  min-height: 455px;
  border: 1px solid rgba(24, 38, 87, 0.15);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf7 58%, #f8f7f3 100%);
  box-shadow: 0 18px 42px rgba(24, 38, 87, 0.08);
  color: #182657;
}

.fgwl-card::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -82px;
  width: 196px;
  height: 196px;
  border: 1px solid rgba(24, 38, 87, 0.075);
  border-radius: 50%;
  pointer-events: none;
}

.fgwl-card::before {
  content: "";
  position: absolute;
  left: -92px;
  bottom: -98px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 191, 145, 0.12) 0%, rgba(213, 191, 145, 0.035) 58%, transparent 70%);
  pointer-events: none;
}

.fgwl-card.is-reverse {
  grid-template-columns: minmax(0, 0.64fr) minmax(310px, 0.36fr);
}

.fgwl-card.is-reverse .fgwl-card-image {
  order: 2;
}

.fgwl-card.is-reverse .fgwl-card-content {
  order: 1;
}

.fgwl-card-image {
  position: relative;
  width: 100%;
  min-height: 100%;
  background: #f2f0ec;
}

.fgwl-card-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 455px;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fgwl-card-content {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: clamp(34px, 4.6vw, 54px) clamp(34px, 5vw, 58px);
}

.fgwl-card-content h2 {
  margin: 0 0 18px !important;
  max-width: 760px;
  color: #121e4f !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(34px, 3.6vw, 47px) !important;
  line-height: 1.0 !important;
  letter-spacing: -0.045em;
  font-weight: 500 !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.fgwl-address {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 18px !important;
  padding: 10px 15px;
  border: 1px solid rgba(24, 38, 87, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: #182657;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.fgwl-pin {
  display: inline-flex;
  flex: 0 0 auto;
  color: #182657;
}

.fgwl-pin svg {
  display: block;
  fill: currentColor;
}

.fgwl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px !important;
}

.fgwl-button,
.fgwl-access-form button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 21px;
  border: 1px solid #121e4f !important;
  border-radius: 999px;
  background: #121e4f !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(18, 30, 79, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.fgwl-button:hover,
.fgwl-access-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(18, 30, 79, 0.22);
}

.fgwl-description {
  max-width: 700px;
  color: #23305e;
  font-size: 15px;
  line-height: 1.82;
}

.fgwl-description p {
  margin: 0 0 16px !important;
  color: inherit;
}

.fgwl-description p:last-child {
  margin-bottom: 0 !important;
}

.fgwl-access-overlay,
.fgwl-access-overlay * {
  box-sizing: border-box;
}

html.fgwl-modal-open,
body.fgwl-modal-open {
  overflow: hidden !important;
}

.fgwl-access-overlay {
  position: fixed !important;
  z-index: 2147483647 !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100dvh;
  margin: 0 !important;
  padding: 24px;
  background:
    radial-gradient(circle at 8% 12%, rgba(213, 191, 145, 0.18), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(18, 30, 79, 0.12), transparent 30%),
    rgba(248, 249, 252, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fgwl-access-modal {
  width: min(100%, 520px);
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(24, 38, 87, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf7 100%);
  color: #182657;
  box-shadow: 0 30px 80px rgba(24, 38, 87, 0.20);
  text-align: center;
}

.fgwl-access-kicker {
  display: inline-flex;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border: 1px solid rgba(24, 38, 87, 0.12);
  border-radius: 999px;
  color: #182657;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fgwl-access-modal h2 {
  margin: 0 0 14px !important;
  color: #121e4f !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(34px, 6vw, 48px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em;
  font-weight: 500 !important;
}

.fgwl-access-modal p {
  margin: 0 auto 24px !important;
  max-width: 420px;
  color: #293766;
  font-size: 15px;
  line-height: 1.7;
}

.fgwl-access-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}

.fgwl-access-form label {
  color: #182657;
  font-size: 13px;
  font-weight: 800;
}

.fgwl-access-form input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid rgba(24, 38, 87, 0.18);
  border-radius: 16px;
  background: #fff;
  color: #182657;
  font-size: 16px;
  outline: none;
}

.fgwl-access-form input:focus {
  border-color: #121e4f;
  box-shadow: 0 0 0 4px rgba(18, 30, 79, 0.08);
}

.fgwl-access-form button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  cursor: pointer;
}

.fgwl-access-form button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.fgwl-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(155, 45, 45, 0.18);
  border-radius: 14px;
  background: rgba(155, 45, 45, 0.08);
  color: #7a1f1f;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.fgwl-error[hidden] {
  display: none !important;
}

/* Access gating: never show locations before JS has validated Champagne or Goesting. */
.fgwl-locations[hidden],
.fgwl-card[hidden],
.fgwl-access-overlay[hidden],
.fgwl-access-overlay.is-hidden,
.fgwl-page.fgwl-access-needed .fgwl-locations {
  display: none !important;
}

.fgwl-page.fgwl-access-granted .fgwl-locations {
  display: grid !important;
}

.fgwl-page.fgwl-access-granted .fgwl-card.is-visible {
  display: grid !important;
}


@media (max-width: 900px) {
  .fgwl-page {
    width: calc(100vw - 24px) !important;
    margin-left: calc(-50vw + 12px) !important;
    padding: 4px 0 28px !important;
  }

  .fgwl-locations {
    gap: 26px;
  }

  .fgwl-card,
  .fgwl-card.is-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .fgwl-card.is-reverse .fgwl-card-image,
  .fgwl-card.is-reverse .fgwl-card-content {
    order: initial;
  }

  .fgwl-card-image img {
    min-height: 0;
    height: 265px !important;
  }

  .fgwl-card-content {
    align-self: start;
    padding: 28px 24px 32px;
  }

  .fgwl-card-content h2 {
    font-size: clamp(31px, 9.5vw, 42px) !important;
    line-height: 1.02 !important;
  }

  .fgwl-address {
    align-items: flex-start;
    font-size: 12px;
  }

  .fgwl-description {
    font-size: 14px;
    line-height: 1.72;
  }
}

@media (max-width: 420px) {
  .fgwl-page {
    width: calc(100vw - 18px) !important;
    margin-left: calc(-50vw + 9px) !important;
  }

  .fgwl-card-content {
    padding: 25px 20px 29px;
  }

  .fgwl-card-image img {
    height: 235px !important;
  }

  .fgwl-access-overlay {
    padding: 16px;
  }
}
