/* Scoped IHGS newsletter component styles for IHGS page content. */
.ihgs-newsletter {
  --ihgs-newsletter-navy: #1f2a44;
  --ihgs-newsletter-gold: #9b7539;
  --ihgs-newsletter-ink: #222936;
  --ihgs-newsletter-muted: #58606c;
  --ihgs-newsletter-paper: #fffdf8;
  box-sizing: border-box;
  width: 100%;
  margin: clamp(28px, 5vw, 72px) 0 0;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 48px);
  color: var(--ihgs-newsletter-ink);
  background: var(--ihgs-newsletter-navy);
  border-top: 6px solid var(--ihgs-newsletter-gold);
  font: 16px/1.65 "Open Sans", Arial, sans-serif;
  text-align: left;
}

.ihgs-newsletter,
.ihgs-newsletter * {
  box-sizing: border-box;
}

.ihgs-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.ihgs-newsletter-copy {
  max-width: 620px;
}

.ihgs-newsletter-kicker {
  margin: 0 0 10px;
  color: #e3c98f;
  font: 700 12px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ihgs-newsletter h2 {
  margin: 0 0 14px;
  color: #fffdf8;
  font: 700 clamp(26px, 4vw, 40px)/1.15 Cinzel, Georgia, serif;
}

.ihgs-newsletter-copy > p:not(.ihgs-newsletter-kicker) {
  color: #e8e7e2;
}

.ihgs-newsletter-copy > p:last-child {
  margin-bottom: 0;
}

.ihgs-newsletter-form {
  padding: clamp(20px, 3vw, 30px);
  background: var(--ihgs-newsletter-paper);
  border: 1px solid #d8d5cd;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
}

.ihgs-newsletter-form label:not(.ihgs-newsletter-consent) {
  display: block;
  margin-bottom: 8px;
  color: var(--ihgs-newsletter-navy);
  font-weight: 700;
}

.ihgs-newsletter-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-bottom: 16px;
  padding: 10px 13px;
  color: var(--ihgs-newsletter-ink);
  background: #fff;
  border: 1px solid #aeb3ba;
  border-radius: 4px;
  font: inherit;
}

.ihgs-newsletter-form input[type="email"]:focus-visible,
.ihgs-newsletter-form input[type="checkbox"]:focus-visible,
.ihgs-newsletter-form button:focus-visible {
  outline: 3px solid var(--ihgs-newsletter-gold);
  outline-offset: 3px;
}

.ihgs-newsletter-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  color: var(--ihgs-newsletter-ink);
  font-size: 14px;
}

.ihgs-newsletter-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--ihgs-newsletter-navy);
}

.ihgs-newsletter-privacy {
  margin: 14px 0 18px;
  color: var(--ihgs-newsletter-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ihgs-newsletter-privacy a {
  color: var(--ihgs-newsletter-navy);
  text-underline-offset: 3px;
}

.ihgs-newsletter-form button {
  display: inline-block;
  min-height: 48px;
  padding: 11px 20px;
  color: #fff;
  background: var(--ihgs-newsletter-navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: 700 14px/1.2 Montserrat, Arial, sans-serif;
}

.ihgs-newsletter-form button:hover {
  background: #344362;
}

.ihgs-newsletter-response {
  margin: 14px 0 0;
  color: #7a1f1f;
  font-size: 14px;
}

.ihgs-newsletter-response:empty {
  display: none;
}

.ihgs-newsletter-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .ihgs-newsletter-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihgs-newsletter * {
    scroll-behavior: auto !important;
  }
}

/*
 * Page components use intentionally broad heading and typography rules. Keep
 * the newsletter's visual system authoritative when it is rendered inside one
 * of those components (especially the dark IHGS section background).
 */
body .ihgs-newsletter,
body .ihgs-newsletter * {
  box-sizing: border-box;
}

body .ihgs-newsletter {
  isolation: isolate;
  overflow: visible;
}

body .ihgs-newsletter h2,
body .ihgs-newsletter .ihgs-newsletter-copy h2 {
  margin: 0 0 14px !important;
  color: #fffdf8 !important;
  font-family: Cinzel, Georgia, serif !important;
  font-size: clamp(26px, 4vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body .ihgs-newsletter h2::before,
body .ihgs-newsletter h2::after {
  display: none !important;
  content: none !important;
}

body .ihgs-newsletter .ihgs-newsletter-copy,
body .ihgs-newsletter .ihgs-newsletter-copy > p:not(.ihgs-newsletter-kicker),
body .ihgs-newsletter .ihgs-newsletter-form {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body .ihgs-newsletter .ihgs-newsletter-copy > p:not(.ihgs-newsletter-kicker) {
  color: #e8e7e2 !important;
}

body .ihgs-newsletter .ihgs-newsletter-kicker {
  color: #e3c98f !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

body .ihgs-newsletter .ihgs-newsletter-form label,
body .ihgs-newsletter .ihgs-newsletter-form input,
body .ihgs-newsletter .ihgs-newsletter-form button,
body .ihgs-newsletter .ihgs-newsletter-form p {
  font-family: "Open Sans", Arial, sans-serif !important;
}

body .ihgs-newsletter .ihgs-newsletter-form p.ihgs-newsletter-privacy {
  margin: 14px 0 18px !important;
  color: #58606c !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

body .ihgs-newsletter .ihgs-newsletter-form p.ihgs-newsletter-privacy a {
  color: #1f2a44 !important;
}

body .ihgs-newsletter .ihgs-newsletter-form button {
  color: #fff !important;
  background: #1f2a44 !important;
  font-family: Montserrat, Arial, sans-serif !important;
}

/* Keep component overflow from creating a page-wide horizontal bleed. */
body .ihgs-bridging-atlantic-v2__related,
body .ihgs-titanic-v2__related,
body .ihgs-american-arms-v2__related {
  overflow-x: clip;
}
