@import "../global.css";

div#root {
  --primary: #00487c;
  --primary-text: #00487c;
  --primary-svg: #00487c;
  --secondary: var(--gold);
  --secondary-svg: var(--gold);
  --secondary-accent-line: var(--gold);
}

div#root .fwm-lightTheme {
  --secondary-svg: var(--primary);
}

/* DBA logo */
div#root .fwm-team-header-entity-logo-image {
  width: 17rem;
}

/* Primary H2 */
.fwm-section-header .fwm-section-header-hgroup .fwm-section-header-title-text {
  font-size: 1.8rem;
  letter-spacing: 0.5vw;
  text-transform: uppercase;
}
.fwm-section-header .fwm-section-header-hgroup::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.5rem;
  background: var(--secondary);
  margin: 0.75rem 0 0.75rem;
}

.fwm-lightTheme .fwm-section-header .fwm-section-header-hgroup .fwm-section-header-title-text {
  color: var(--primary-text);
}

.fwm-section-header.fwm-text-align-center .fwm-section-header-hgroup::after {
  margin: 0.75rem auto;
}

@media (min-width: 48rem) {
  .fwm-section-header hgroup.fwm-section-header-hgroup .fwm-section-header-title-text {
    font-size: 2rem;
  }
}
@media (min-width: 64rem) {
  .fwm-section-header hgroup.fwm-section-header-hgroup .fwm-section-header-title-text {
    font-size: 2.2rem;
  }
}
/* Contact Map Header */
.fwm-team-map-title.fwm-section-header-title-text {
  font-size: 1.8rem;
  letter-spacing: 0.5vw;
  text-transform: uppercase;
}
.fwm-team-map-title.fwm-section-header-title-text::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.5rem;
  background: var(--secondary);
  margin: 0.75rem 0 0.75rem;
}

.fwm-lightTheme .fwm-team-map-title.fwm-section-header-title-text {
  color: var(--primary-text);
}

@media (min-width: 48rem) {
  .fwm-team-map-title.fwm-section-header-title-text {
    font-size: 2rem;
  }
}
@media (min-width: 64rem) {
  .fwm-team-map-title.fwm-section-header-title-text {
    font-size: 2.2rem;
  }
}
/* Primary H3 */
h3.fwm-primary-h3.fwm-primary-h3 {
  text-transform: uppercase;
}
h3.fwm-primary-h3.fwm-primary-h3::after {
  width: 2.5rem;
  height: 0.5rem;
}

.fwm-lightTheme h3.fwm-primary-h3.fwm-primary-h3 {
  color: var(--primary-text);
}

/* Rich Text H2 */
span.fwm-rich-text-editor h2 {
  font-size: 1.375rem;
}

@media (min-width: 48rem) {
  span.fwm-rich-text-editor h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 64rem) {
  span.fwm-rich-text-editor h2 {
    font-size: 1.75rem;
  }
}
/* Hero Gradient/Box (has Supporting Text) */
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup {
  position: relative;
}
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
  letter-spacing: 0.1875rem;
  font-size: 1.8rem;
  letter-spacing: 0.718rem;
  line-height: 1;
}
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-supporting-text p {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.375rem;
}

@media (min-width: 48rem) {
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
    font-size: 2rem;
  }
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-supporting-text p {
    font-size: 3rem;
  }
}
@media (min-width: 64rem) {
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
    font-size: 2.2rem;
  }
  .fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container hgroup .fwm-hero-large-supporting-text p {
    font-size: 3.5rem;
  }
}
/* Hero Gradient/Box */
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-heading-container {
  background: linear-gradient(to right, rgba(14, 73, 123, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Awards */
@media (min-width: 48rem) {
  .fwm-awards-Horizontal {
    position: relative;
  }
  .fwm-awards-Horizontal::before {
    background: url("https://media.northwesternmutual.com/sites/images/96162dc9-c28d-4a9f-94b2-c2a52b0a7ff0.png?width=original");
    content: "";
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    bottom: 0.625rem;
    right: 0.625rem;
    width: 100%;
    height: 7rem;
    opacity: 0.05;
  }
}