@import "../global.css";

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

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

/* Primary H2 */
.fwm-section-header .fwm-section-header-hgroup .fwm-section-header-title-text {
  font-weight: 900;
}
.fwm-section-header .fwm-section-header-hgroup::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.25rem;
  background: var(--secondary);
  margin: 0.75rem 0 0.9375rem;
}

.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.25rem;
  }
}
/* Primary H3 */
h3.fwm-primary-h3.fwm-primary-h3 {
  font-weight: 700;
}
h3.fwm-primary-h3.fwm-primary-h3::after {
  width: 6.25rem;
  height: 0.25rem;
  background: var(--secondary);
}

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

@media (min-width: 48rem) {
  h3.fwm-primary-h3.fwm-primary-h3 {
    font-size: 1.5rem;
  }
}
@media (min-width: 64rem) {
  h3.fwm-primary-h3.fwm-primary-h3 {
    font-size: 1.75rem;
  }
}
/* Contact Map Header */
.fwm-team-map-title.fwm-section-header-title-text {
  font-weight: 900;
  font-size: 2rem;
}
.fwm-team-map-title.fwm-section-header-title-text::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.25rem;
  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: 2.15rem;
  }
}
@media (min-width: 64rem) {
  .fwm-team-map-title.fwm-section-header-title-text {
    font-size: 2.25rem;
  }
}
/* 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 h2 {
  font-weight: 400;
}
.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;
  font-weight: 900;
  line-height: 1;
}
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-large-text-container.fwm-hero-no-cta hgroup::after {
  content: "";
  display: block;
  margin: 0.9375rem 0 1rem 0;
  max-width: 9.375rem;
  height: 0.125rem;
  background-color: var(--secondary);
}
.fwm-hero-gradient.fwm-hero-box:has(.fwm-hero-large-supporting-text) .fwm-hero-box-align-center .fwm-hero-large-text-container.fwm-hero-no-cta hgroup::after {
  margin: 0.9375rem auto 1rem;
}

@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-supporting-text p {
    font-size: 4rem;
  }
}
@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-supporting-text p {
    font-size: 4.25rem;
  }
}
/* Hero Gradient/Box (no Supporting Text) */
.fwm-hero-gradient.fwm-hero-box:not(:has(.fwm-hero-large-supporting-text)) .fwm-hero-large-text-container hgroup {
  position: relative;
}
.fwm-hero-gradient.fwm-hero-box:not(:has(.fwm-hero-large-supporting-text)) .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
  font-weight: 900;
}
.fwm-hero-gradient.fwm-hero-box:not(:has(.fwm-hero-large-supporting-text)) .fwm-hero-large-text-container hgroup::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translate(-50%, 0);
  display: block;
  width: 175px;
  height: 180px;
  background: url("https://media.northwesternmutual.com/sites/images/503c53b5-058e-4577-93b7-f528709345a0.png?width=original") no-repeat center center;
}

/* Dynamic Cards, Row Selector = 1 */
.fwm-card-dynamic-set:has(.fwm-nestable-row-selector-1) .fwm-nestable-container {
  padding: 2rem;
  border: 0.125rem solid var(--secondary);
}

/* Border Cards */
.fwm-lightTheme.fwm-card-border-set .fwm-card-set-item {
  border-color: var(--primary);
  background: initial;
}

.fwm-card-border-set .fwm-nestable-grid {
  gap: 1.5rem;
}

/* Photo Panel [Home] */
.fwm-photo-panel.fwm-column-halves.fwm-nestable-has-subcomponents .fwm-nestable-flex, .fwm-photo-panel.fwm-column-halves.fwm-is-subcomponent .fwm-nestable-flex {
  padding-top: 0.75rem;
}
.fwm-photo-panel.fwm-column-halves .fwm-PhotoComponent-field {
  position: relative;
}
.fwm-photo-panel.fwm-column-halves .fwm-PhotoComponent-field::before {
  content: "";
  display: block;
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  border: 0.125rem solid var(--secondary);
  width: 100%;
  height: 100%;
  z-index: 3;
}
.fwm-photo-panel.fwm-column-halves.fwm-photo-right .fwm-PhotoComponent-field::before {
  right: -0.75rem;
  left: initial;
}

@media (min-width: 48rem) {
  .fwm-photo-panel.fwm-column-halves.fwm-nestable-has-subcomponents .fwm-nestable-flex,
  .fwm-photo-panel.fwm-column-halves.fwm-is-subcomponent .fwm-nestable-flex {
    padding-top: 1.25rem;
  }
  .fwm-photo-panel.fwm-column-halves .fwm-PhotoComponent-field::before {
    top: -1.25rem;
    left: -1.25rem;
  }
  .fwm-photo-panel.fwm-column-halves.fwm-photo-right .fwm-PhotoComponent-field::before {
    right: -1.25rem;
    left: initial;
  }
}
/* Media Panel */
section[class*=fwm-media-panel].fwm-darkTheme {
  position: relative;
}
section[class*=fwm-media-panel].fwm-darkTheme::before {
  content: "";
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  display: block;
  width: 4.6875rem;
  height: 4.6875rem;
  background: url("https://media.northwesternmutual.com/sites/images/custom-content-photo-full/e19c82f1-5c8f-479b-9950-6c7f2d86921a.png?width=original");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  opacity: 0.5;
}
section[class*=fwm-media-panel].fwm-darkTheme.fwm-media-right::before {
  right: initial;
  left: 0.625rem;
  background-position: bottom left;
}

@media (min-width: 48rem) {
  section[class*=fwm-media].fwm-darkTheme::before {
    width: 9.375rem;
    height: 9.375rem;
  }
}
/* Team Profile Images */
.fwm-team-member-img-container img {
  -webkit-box-shadow: 0 1px 0.1875rem rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 0.1875rem rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-top-left-radius: 0.625rem;
  border-top-right-radius: 0.625rem;
  outline: 1px solid var(--secondary);
  outline-offset: -0.375rem;
}

/* Text Center - Standard Width */
section.fwm-text-center .fwm-section-header-standard {
  padding: 1.5rem;
  border: 0.125rem solid var(--secondary);
}

@media (min-width: 48rem) {
  section.fwm-text-center .fwm-section-header-standard {
    padding: 3rem;
  }
}