.jmcc-thank-you-page .custom-header-content-wrapper {
  display: none;
}

body.jmcc-thanks-standalone {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #172d28;
  background:
    radial-gradient(900px 480px at 100% 0, rgba(227, 194, 122, 0.16), transparent 60%),
    radial-gradient(800px 500px at 0 100%, rgba(227, 194, 122, 0.1), transparent 62%),
    #0c2f27 !important;
}

.jmcc-thanks-standalone.admin-bar {
  min-height: calc(100vh - 32px);
}

.jmcc-thanks-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: clamp(20px, 4vw, 56px) 0;
}

.jmcc-thanks {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: #172d28;
}

.jmcc-thanks-hero {
  padding: clamp(54px, 9vw, 104px) 24px;
  text-align: center;
  color: #f8f3e9;
  background:
    radial-gradient(circle at 50% 10%, rgba(225, 192, 122, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(10, 49, 43, 0.97), rgba(26, 86, 72, 0.9)),
    url("../../../jmcc-wedding/assets/brand/bg-watercolor-deep.png") center / cover;
  border: 1px solid rgba(225, 192, 122, 0.35);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 28px 68px rgba(5, 24, 20, 0.3);
}

.jmcc-thanks-eyebrow {
  margin: 0 0 12px;
  color: #e3c27a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.jmcc-thanks-hero h1 {
  margin: 0;
  color: #fffaf0;
  font-family: "The Wedding Signature", "Great Vibes", cursive;
  font-size: clamp(76px, 13vw, 150px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
}

.jmcc-thanks-intro {
  margin: 26px 0 0;
  color: #fffaf0;
  font-family: Georgia, serif;
  font-size: clamp(17px, 2vw, 23px);
  font-style: italic;
}

.jmcc-thanks-flourish {
  display: block;
  width: 78px;
  height: 1px;
  margin: 34px auto 0;
  background: #e3c27a;
}

.jmcc-thanks-card {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
  padding: clamp(36px, 5vw, 60px);
  background:
    linear-gradient(rgba(250, 247, 239, 0.97), rgba(250, 247, 239, 0.97)),
    url("../../../jmcc-wedding/assets/brand/bg-watercolor-light.png") center / cover;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 28px 68px rgba(5, 24, 20, 0.3);
}

.jmcc-thanks-art {
  display: grid;
  place-items: center;
}

.jmcc-thanks-photo {
  display: block;
  width: min(540px, 100%);
  height: auto;
  border: 1px solid rgba(184, 137, 60, 0.48);
  border-radius: 24px;
  box-shadow: 0 18px 35px rgba(12, 47, 39, 0.18);
}

.jmcc-thanks-message {
  font-family: Georgia, serif;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
}

.jmcc-thanks-message p {
  margin: 0 0 1.15em;
}

.jmcc-thanks-message .jmcc-thanks-lead {
  color: #185043;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.4;
}

.jmcc-thanks-signoff {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 137, 60, 0.4);
}

.jmcc-thanks-signoff p {
  margin: 0;
}

.jmcc-thanks-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 12px auto 0;
}

.jmcc-thanks-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.jmcc-thanks-button {
  min-width: 210px;
  padding: 14px 24px;
  color: #f8f3e9 !important;
  background: #185043;
  border: 1px solid #185043;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.jmcc-thanks-button-secondary {
  color: #185043 !important;
  background: transparent;
}

.jmcc-thanks-button:hover,
.jmcc-thanks-button:focus {
  color: #0c2f27 !important;
  background: #e3c27a;
  border-color: #e3c27a;
}

.jmcc-thanks-closing {
  margin: 38px auto 0;
  text-align: center;
  color: #e3c27a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .jmcc-thanks-page {
    min-height: 100svh;
    padding-block: 10px 30px;
  }

  .jmcc-thanks {
    width: min(100% - 20px, 1180px);
    margin-block: 0;
  }

  .jmcc-thanks-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jmcc-thanks-photo {
    width: min(450px, 88vw);
  }

  .jmcc-thanks-message {
    text-align: center;
  }

  .jmcc-thanks-button {
    width: 100%;
  }
}
