@media screen and (max-width: 1028px) {
  .hero-featured h2 {
    font-size: 28px;
  }
  .hero-featured h3 {
    font-size: 24px;
  }
  .hero-featured h3.font-secondary {
    font-size: 30px;
  }
}

#news-div {
  display: none;
}

#search-modal *,
#sort-dropdown-menu *,
.article-info * {
  font-family: var(--primary-font);
}

.hero-featured a,
.hero-featured button {
  background: var(--secondary-color);
}

.hero-featured a:hover,
.hero-featured button:hover {
  background: var(--primary-color);
}

#lc-carousel h3 {
  font-family: var(--secondary-font);
  font-size: 3rem;
}

#lc-carousel p {
  font-family: var(--primary-font);
}

.benefits-links {
  flex-flow: wrap;
  justify-content: center;
  align-items: start !important;
  gap: 2rem !important;
  margin: 1rem auto;
  padding: 0 1rem;
  font-size: 0.6rem;
  display: flex;
}

a.benefits-tile {
  text-align: center;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: 100%;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.6rem;
  font-weight: 600;
  transition: background-color 0.15s ease-in-out;
  display: inline-flex;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 1rem !important;
}

a.benefits-tile + p,
#totalcare-notice {
  font-family: var(--primary-font);
  font-size: 14px !important;
}

#programTiles #trainings-popup {
  font-family: var(--primary-font);
}

#programTiles #trainings-popup section {
  padding: 0 1rem 1rem 1rem;
  text-align: start;
}

#programTiles #trainings-popup div {
  margin-bottom: 0.5rem;
}

#programTiles #trainings-popup h1 {
  text-align: center;
}

#programTiles #trainings-popup p {
  font-size: 1.125rem;
}

#programTiles #trainings-popup a {
  font-size: 1.5rem;
  color: #253ce9;
  text-underline-offset: 0.25em;
  -webkit-text-decoration: underline #253ce94d;
  text-decoration: underline #253ce94d;
  transition: color 0.15s ease-in-out;
}

#programTiles #trainings-popup a:hover {
  text-decoration-color: #253ce9;
}

.custom-page dialog {
  max-width: 80vw !important;
}

.custom-page .resource-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  padding: 1rem 0;
}

.custom-page .resource-hero-text {
  text-align: center;
  width: 90%;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 0.375rem;
}

.custom-page .resource-hero h1 {
  font-family: var(--secondary-font) !important;
}

.custom-page #main .no-tailwindcss-base .resource-heading h1 {
  font-family: var(--secondary-font) !important;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 0 1rem;
  margin: 0;
  font-weight: normal;
}

.custom-page .resource-hero p {
  font-family: var(--primary-font);
}

.custom-page .resource-content.curated-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: start;
  gap: 1rem;
  max-width: 75rem;
  margin: auto;
  padding: 1rem;
}

.custom-page #split-container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 2rem;
  padding: 1rem;
}

.custom-page .tile {
  width: 300px;
  height: 300px;
  background-position: center;
  /* background-size: cover; */
  background-repeat: no-repeat;
  background-size: 115%;
  border-radius: 8px;
  position: relative;
  display: block;
}

.custom-page #container-one .tile {
  width: 360px;
  height: 300px;
}

.custom-page .tile:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 2px 1px 4px;
  transition: all ease-in-out 0.15s;
}

.custom-page .tile span {
  font-family: var(--secondary-font) !important;
  font-size: 2.25rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  height: 33%;
  background: rgba(255, 255, 255, 0.7);
  color: black;
  padding: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  max-width: 300px;
  white-space: break-spaces;
  line-height: 2.75rem;
}

.custom-page #container-one .tile span {
  max-width: 360px;
}

.custom-page #split-container #container-one {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 2rem;
  padding: 0;
  width: 100%;
}

.custom-page #split-container #container-two {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.custom-page #split-container #container-two > section {
  border: 2px solid darkgray;
  border-radius: 4px;
  padding: 1rem;
}

.custom-page #split-container #container-two h2 {
  font-family: var(--secondary-font) !important;
  font-size: 2rem !important;
}

.custom-page #split-container #container-two h3 {
  font-family: var(--secondary-font) !important;
  font-weight: normal;
  font-size: 1.5rem !important;
}

/*back to top button for table of contents*/
.back-to-top img {
  display: inline !important;
  margin: auto 1rem !important;
}

#resource-center-disclaimer {
  font-size: 1rem;
  border: 1px solid lightgray;
  padding: 1rem;
  border-radius: 4px;
}
/* financial fitness center */
.financial-fitness * {
  font-family: var(--primary-font);
}

.financial-fitness #wrapper {
  padding: 1rem;
}

#ffc-header {
  background: rgb(41, 127, 177);
  border-radius: 4px;
  padding: 1rem;
}

#ffc-header h1 {
  margin: 0;
}

#ffc-header img {
  width: 50%;
  min-width: 240px;
  max-width: 460px;
}

.financial-fitness #tiles {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.financial-fitness h2 {
  color: orange;
}

.financial-fitness #section1 p {
  width: 90%;
  text-align: center;
  font-weight: lighter;
}
/* END financial fitness center */

/* Collections */
main .collection nav + section p:nth-of-type(1) {
  font-size: 2.25rem;
}
/* 2nd p */
main .collection nav + section p:nth-of-type(2) {
  font-size: 2rem;
}

#upcoming-webinars p {
  font-family: var(--primary-font);
}
/* End Collections */
/* Locators link font fix */
#locators + section a {
  font-family: var(--primary-font);
}
/* END Locators link font fix */
@media screen and (min-width: 1024px) {
  #lc-carousel h3 {
    font-size: 5rem;
  }

  .custom-page dialog {
    max-width: 900px !important;
  }

  .benefits-links div {
    width: 30% !important;
  }

  .benefits-tile {
    width: 100% !important;
  }

  .custom-page .resource-hero {
    min-height: 500px;
    padding-left: 10%;
    justify-content: flex-start;
  }

  .custom-page #main .no-tailwindcss-base .resource-heading h1 {
    font-size: 4rem;
    padding: 0 2rem;
  }

  .custom-page .resource-hero-text {
    width: 50%;
  }

  .custom-page .resource-hero h1 {
    font-size: 2.5rem !important;
  }

  .custom-page .resource-hero p {
    font-size: 1.5rem;
  }

  .custom-page #split-container {
    padding: 1rem 2rem;
    flex-wrap: nowrap;
  }

  .custom-page #split-container #container-one {
    width: 65%;
    max-width: 70rem;
    gap: 3rem;
    margin: 0 auto;
  }

  .custom-page #split-container #container-two {
    width: 35%;
  }

  .custom-page #split-container #container-two h2 {
    font-size: 2.25rem !important;
  }

  .custom-page #split-container #container-two h3 {
    font-size: 2rem !important;
  }

  /* financial fitness center */
  .financial-fitness #wrapper {
    padding: 1rem 2rem;
  }
  /* END financial fitness center */
}