:root {
  --ur-navy: #071B33;
  --ur-blue: #005DAA;
  --ur-bright-blue: #0073CE;
  --ur-gray: #A7A9AC;
  --ur-white: #FFFFFF;
  --ur-black: #000000;
}

body {
  background: #f4f7fb;
}

.ur-newsletter-hero {
  background:
    radial-gradient(circle at top right, rgba(0, 115, 206, 0.35), transparent 34%),
    linear-gradient(135deg, var(--ur-navy) 0%, #092849 52%, var(--ur-blue) 100%);
  padding: 60px 24px 90px;
  color: var(--ur-white);
}

.ur-newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ur-logo {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin-bottom: 44px;
}

.ur-eyebrow {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-size: 18px;
}

.ur-newsletter-hero h1 {
  color: var(--ur-white);
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.95;
  margin: 0 0 26px;
  text-transform: uppercase;
  font-weight: 900;
}

.ur-newsletter-hero p {
  max-width: 780px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

.ur-form-section {
  max-width: 950px;
  margin: -48px auto 70px;
  padding: 0 20px;
}

.ur-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 24px 70px rgba(7, 27, 51, 0.24);
  border-top: 8px solid var(--ur-blue);
}

.ur-form-card .wpforms-title {
  color: var(--ur-navy) !important;
  font-weight: 900 !important;
}

.ur-form-card .wpforms-description {
  color: #334155 !important;
}

.ur-form-card label,
.ur-form-card .wpforms-field-label {
  color: var(--ur-navy) !important;
  font-weight: 800 !important;
}

.ur-form-card .wpforms-field-description {
  color: #475569 !important;
  font-size: 14px !important;
}

.ur-form-card input,
.ur-form-card textarea,
.ur-form-card select {
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
}

.ur-form-card input:focus,
.ur-form-card textarea:focus,
.ur-form-card select:focus {
  border-color: var(--ur-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 93, 170, 0.15) !important;
}

.ur-form-card button[type="submit"],
.ur-form-card .wpforms-submit {
  background: var(--ur-blue) !important;
  color: var(--ur-white) !important;
  border-radius: 999px !important;
  padding: 15px 34px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
}

.ur-form-card button[type="submit"]:hover,
.ur-form-card .wpforms-submit:hover {
  background: var(--ur-navy) !important;
}

@media screen and (max-width: 700px) {
  .ur-newsletter-hero {
    padding: 40px 20px 72px;
  }

  .ur-form-card {
    padding: 26px;
  }

  .ur-logo {
    max-width: 280px;
  }
}
/* Clean WPForms checkbox layout without creating extra boxes */
.ur-form-card .wpforms-field-checkbox ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.ur-form-card .wpforms-field-checkbox li {
  list-style: none !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.ur-form-card .wpforms-field-checkbox li::before,
.ur-form-card .wpforms-field-checkbox li::after {
  display: none !important;
  content: none !important;
}

.ur-form-card .wpforms-field-checkbox input[type="checkbox"] {
  margin-right: 8px !important;
}

/* Fix dropdown height/text clipping */
.ur-form-card .wpforms-field-select select {
  min-height: 48px !important;
  height: 48px !important;
  line-height: 1.2 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
/* Remove theme-created fake checkbox boxes inside WPForms choices */
.ur-form-card .wpforms-field-checkbox ul li label::before,
.ur-form-card .wpforms-field-checkbox ul li label::after,
.ur-form-card .wpforms-field-checkbox ul li input[type="checkbox"]::before,
.ur-form-card .wpforms-field-checkbox ul li input[type="checkbox"]::after {
  display: none !important;
  content: none !important;
}

/* Keep only the real browser checkbox */
.ur-form-card .wpforms-field-checkbox ul li input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: initial !important;
  background: initial !important;
  box-shadow: none !important;
  outline: none !important;
  vertical-align: middle !important;
}

/* Align checkbox and label text cleanly */
.ur-form-card .wpforms-field-checkbox ul li label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
/* Hide default WordPress page title on newsletter form page */
.page .entry-title,
.page h1.entry-title,
.wp-block-post-title {
  display: none !important;
}
/* Hide site header and footer on the newsletter form page */
.site-header,
header.site-header,
.wp-site-blocks > header,
header.wp-block-template-part,
.wp-block-template-part:has(header),
#masthead,
.site-footer,
footer.site-footer,
.wp-site-blocks > footer,
footer.wp-block-template-part,
.wp-block-template-part:has(footer),
#colophon {
  display: none !important;
}

/* Remove extra top/bottom spacing left behind by theme */
body,
.wp-site-blocks,
.site,
.site-content,
.entry-content,
main,
#page,
#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom page layout touch the top cleanly */
.ur-newsletter-hero {
  margin-top: 0 !important;
}