/* FG Wedding Details v3.3 - balanced 2x2 wedding info layout */
.fgwd3-wrap,
.fgwd3-wrap * {
  box-sizing: border-box;
}

.fgwd3-wrap {
  --fgwd3-navy: #071246;
  --fgwd3-navy-soft: #111d57;
  --fgwd3-ink: #19224d;
  --fgwd3-muted: #5d657e;
  --fgwd3-cream: #fbf8f2;
  --fgwd3-cream-deep: #efe7d8;
  --fgwd3-white: rgba(255, 255, 255, 0.92);
  --fgwd3-line: rgba(7, 18, 70, 0.13);
  --fgwd3-soft-line: rgba(7, 18, 70, 0.08);
  --fgwd3-shadow: 0 22px 70px rgba(7, 18, 70, 0.10);
  --fgwd3-radius: 30px;
  width: min(1120px, calc(100vw - 30px)) !important;
  max-width: none !important;
  margin: clamp(28px, 5vw, 72px) 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fgwd3-ink);
  font-family: inherit;
  line-height: 1.6;
}

.fgwd3-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fgwd3-line);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 99% 2%, transparent 0 74px, rgba(7, 18, 70, 0.075) 75px, transparent 77px),
    radial-gradient(circle at -8% 100%, rgba(7, 18, 70, 0.045), transparent 260px),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(251,248,242,0.96) 48%, rgba(245,239,230,0.92));
  box-shadow: var(--fgwd3-shadow);
}

.fgwd3-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent),
    radial-gradient(circle at 92% 12%, rgba(7, 18, 70, 0.045) 0 2px, transparent 3px),
    radial-gradient(circle at 95% 17%, rgba(7, 18, 70, 0.035) 0 3px, transparent 4px);
  opacity: 0.9;
}

.fgwd3-hero,
.fgwd3-grid {
  position: relative;
  z-index: 1;
}

.fgwd3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 410px);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px) clamp(22px, 5vw, 58px) clamp(16px, 3vw, 28px);
}

.fgwd3-hero-copy {
  max-width: 700px;
}

.fgwd3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--fgwd3-navy);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.fgwd3-eyebrow span {
  display: block;
  width: clamp(42px, 4.5vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fgwd3-navy));
}

.fgwd3-eyebrow span:last-child {
  background: linear-gradient(90deg, var(--fgwd3-navy), transparent);
}

.fgwd3-hero h2 {
  margin: 0;
  color: var(--fgwd3-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.fgwd3-hero p {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--fgwd3-muted);
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.75;
}

.fgwd3-hero-art {
  justify-self: end;
  width: min(390px, 100%);
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.fgwd3-hero-art img {
  display: block;
  width: min(380px, 100%);
  height: auto;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(7, 18, 70, 0.10));
}

.fgwd3-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 4vw, 46px) clamp(16px, 4.5vw, 48px) clamp(24px, 5vw, 58px);
}

.fgwd3-card {
  min-width: 0;
  grid-column: span 6;
  align-self: stretch;
  display: flex;
}

.fgwd3-card--contact,
.fgwd3-card--dresscode {
  grid-column: span 6;
}

.fgwd3-card--cadeautip,
.fgwd3-card--parkeren {
  grid-column: span 6;
}

.fgwd3-card-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--fgwd3-line);
  border-radius: var(--fgwd3-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 18, 70, 0.05), transparent 110px),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(251,248,242,0.86));
  box-shadow: 0 16px 38px rgba(7, 18, 70, 0.075);
}

.fgwd3-card-inner::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  bottom: -70px;
  border: 1px solid rgba(7, 18, 70, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.fgwd3-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.fgwd3-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(7, 18, 70, 0.14);
  background: rgba(255,255,255,0.68);
  color: var(--fgwd3-navy);
}

.fgwd3-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fgwd3-kicker {
  color: var(--fgwd3-muted);
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.fgwd3-card h3 {
  margin: 0 0 12px;
  color: var(--fgwd3-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 45px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.fgwd3-card--dresscode h3,
.fgwd3-card--cadeautip h3 {
  font-size: clamp(29px, 3vw, 39px);
}

.fgwd3-body {
  color: var(--fgwd3-ink);
  font-size: clamp(15px, 1.22vw, 16.5px);
  line-height: 1.72;
}

.fgwd3-body p {
  margin: 0 0 12px;
}

.fgwd3-body p:last-child {
  margin-bottom: 0;
}


/* Balanced desktop: all cards keep the same visual rhythm. */
.fgwd3-card--cadeautip .fgwd3-card-inner,
.fgwd3-card--parkeren .fgwd3-card-inner,
.fgwd3-card--contact .fgwd3-card-inner,
.fgwd3-card--dresscode .fgwd3-card-inner {
  min-height: 300px;
}

.fgwd3-card--cadeautip .fgwd3-card-top {
  margin-bottom: 13px;
}

.fgwd3-card--cadeautip .fgwd3-envelope-feature {
  width: clamp(72px, 6.8vw, 104px);
  height: clamp(72px, 6.8vw, 104px);
  margin: clamp(12px, 2vw, 24px) auto 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(7, 18, 70, 0.10);
  background: rgba(255,255,255,0.58);
  color: var(--fgwd3-navy);
}

.fgwd3-card--cadeautip .fgwd3-envelope-feature svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fgwd3-actions:empty {
  display: none;
}

.fgwd3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.fgwd3-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1.5px solid var(--fgwd3-navy);
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.fgwd3-button:hover,
.fgwd3-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 20px rgba(7, 18, 70, 0.14);
}

.fgwd3-button--primary {
  background: var(--fgwd3-navy);
  color: #fff !important;
}

.fgwd3-button--secondary {
  background: rgba(255,255,255,0.56);
  color: var(--fgwd3-navy) !important;
}

@media (max-width: 960px) {
  .fgwd3-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fgwd3-hero-copy {
    margin: 0 auto;
  }

  .fgwd3-eyebrow {
    justify-content: center;
  }

  .fgwd3-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .fgwd3-hero-art {
    justify-self: center;
    width: 290px;
    margin-top: -4px;
  }

  .fgwd3-card,
  .fgwd3-card--contact,
  .fgwd3-card--parkeren,
  .fgwd3-card--dresscode,
  .fgwd3-card--cadeautip {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .fgwd3-wrap {
    width: min(100%, calc(100vw - 22px)) !important;
    margin-top: 26px !important;
    margin-bottom: 42px !important;
  }

  .fgwd3-shell {
    border-radius: 26px;
  }

  .fgwd3-hero {
    padding: 28px 18px 6px;
    gap: 14px;
  }

  .fgwd3-eyebrow {
    font-size: 12px;
    letter-spacing: 0.13em;
    gap: 9px;
  }

  .fgwd3-eyebrow span {
    width: 30px;
  }

  .fgwd3-hero h2 {
    font-size: clamp(38px, 14vw, 52px);
  }

  .fgwd3-hero p {
    font-size: 15px;
    line-height: 1.58;
  }

  .fgwd3-hero-art {
    width: 220px;
    opacity: 0.96;
  }

  .fgwd3-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 13px;
    padding: 14px 12px 16px;
  }

  .fgwd3-card,
  .fgwd3-card--contact,
  .fgwd3-card--parkeren,
  .fgwd3-card--dresscode,
  .fgwd3-card--cadeautip {
    grid-column: auto;
    display: block;
  }

  .fgwd3-card-inner {
    height: auto;
    min-height: 0;
    padding: 20px 17px;
    border-radius: 22px;
  }

  .fgwd3-card-top {
    gap: 10px;
    margin-bottom: 12px;
  }

  .fgwd3-icon {
    width: 40px;
    height: 40px;
  }

  .fgwd3-icon svg {
    width: 22px;
    height: 22px;
  }

  .fgwd3-kicker {
    font-size: 11px;
    letter-spacing: 0.035em;
  }

  .fgwd3-card h3,
  .fgwd3-card--dresscode h3,
  .fgwd3-card--cadeautip h3 {
    font-size: clamp(30px, 10vw, 39px);
    margin-bottom: 10px;
  }

  .fgwd3-body {
    font-size: 14.6px;
    line-height: 1.62;
  }

  .fgwd3-card--cadeautip .fgwd3-card-inner,
  .fgwd3-card--parkeren .fgwd3-card-inner,
  .fgwd3-card--contact .fgwd3-card-inner,
  .fgwd3-card--dresscode .fgwd3-card-inner {
    min-height: 0;
  }

  .fgwd3-card--cadeautip .fgwd3-card-inner {
    min-height: 170px;
  }

  .fgwd3-card--cadeautip .fgwd3-envelope-feature {
    width: 76px;
    height: 76px;
    margin-left: 0;
  }

  .fgwd3-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 18px;
  }

  .fgwd3-button {
    width: 100%;
    min-height: 46px;
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .fgwd3-wrap {
    width: min(100%, calc(100vw - 16px)) !important;
  }

  .fgwd3-grid {
    padding-left: 9px;
    padding-right: 9px;
  }

  .fgwd3-card-inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}
