header > nav button,
header > nav a {
  font-family: var(--secondary-font);
}

h1,
h2,
main + #footer > div > h2,
h3,
#featured a,
.custom-page .no-tailwindcss-base p,
.custom-page .no-tailwindcss-base a,
.custom-page .no-tailwindcss-base span,
.custom-page .no-tailwindcss-base ul,
.custom-page .no-tailwindcss-base li,
.custom-page .no-tailwindcss-base strong {
  font-family: var(--secondary-font);
}

p,
a,
span {
  font-family: var(--primary-font);
}

#featured h2,
#featured h3 {
  color: var(--primary-color);
}

#featured a {
  background: var(--secondary-color);
}

#featured a:hover {
  background: var(--primary-color);
  transition: all ease-in-out 0.3s;
}

.custom-page .no-tailwindcss-base .resource-links-heading,
.custom-page .no-tailwindcss-base p,
.custom-page .no-tailwindcss-base span,
.custom-page .no-tailwindcss-base ul,
.custom-page .no-tailwindcss-base li {
  color: rgb(85, 84, 84);
}

.action,
a.action,
.resourceButton,
.resource-button {
  background-color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}

.action:hover,
a.action:hover,
.resourceButton:hover,
.resource-button:hover {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}

.custom-page .resource-content .resource-links-heading {
  font-family: var(--secondary-font) !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 {
  width: 90%;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 0.375rem;
}

.custom-page .resource-links-heading {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.custom-page .resource-content section {
  margin-bottom: 2rem;
}

.custom-page .resource-content section:has(.hr-subheading):not(:first-of-type),
.custom-page .resource-content section:has(.subheading):not(:first-of-type) {
  margin-top: 2rem;
}

.custom-page .resource-content .subheading,
.custom-page .resource-content .hr-subheading {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 1rem;
}

.custom-page .resource-content .hr-subheading {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.custom-page .resource-content ul,
.custom-page .resource-content ol {
  padding-left: 0;
}
.custom-page .resource-content ul {
  list-style-type: none;
}

.custom-page .resource-content li {
  margin-top: 1rem;
  padding: 0;
}

.custom-page .resource-content ol li {
  list-style: decimal inside;
}

.custom-page .resource-content #social-icons {
  display: flex;
  justify-content: start;
  gap: 2rem;
}

.custom-page .resource-content #social-icons i {
  color: white;
  background: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  padding: 1rem;
  font-size: 3rem;
}

.custom-page .resource-content #social-icons i:hover {
  color: var(--secondary-color);
  background-color: white;
  transition: all ease-in-out 0.3s;
}

.custom-page .resource-content .arrow-button {
  background: var(--primary-color);
  color: white;
  width: 100%;
  display: flex;
  padding: 1rem;
  border-radius: 4px;
  justify-content: space-between;
  text-decoration: none;
}

#hr-page .arrow-button {
  background: var(--secondary-color);
}

.custom-page .resource-content .arrow-button + .arrow-button {
  margin-top: 1rem;
}

.custom-page #publisher {
  display: none;
}

.custom-page p#session-count {
  margin-top: 1rem;
}

.custom-page #faqs-page ol li {
  list-style: none;
  padding-left: 1rem;
}
/* Credible Mind */
.credible-mind-content-heading {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#firstsun-crediblemind .curated-content {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 5%;
}

a.crediblemind-tile {
  width: 360px;
  height: 300px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 1px 4px;
}

.crediblemind-tile h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: start;
  height: 30%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.crediblemind-tile div {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  border-radius: 8px;
}
.crediblemind-tile:hover div {
  opacity: 1;
}

.crediblemind-assessment-accordions-parent {
  border-top-style: var(--tw-border-style);
  border-top-width: 2px;
  padding-top: 1rem;
  margin-top: 1rem;
}
.crediblemind-assessment-accordions-parent .resource-links-heading {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1rem;
  margin: 0 2rem;
}

.crediblemind-assessment-accordions {
  width: 90%;
  margin: auto;
}

.crediblemind-assessment-accordions > section {
  break-inside: avoid;
  max-width: 530px;
  margin: 0 auto;
}
/* END Credible Mind */

@media screen and (min-width: 768px) {
  .custom-page .resource-links-heading {
    font-size: 1.875rem;
  }

  .two-column {
    columns: 2;
  }
}

@media screen and (min-width: 1024px) {
  .resource-hero-text .action {
    font-size: 0.725rem;
  }

  .custom-page .resource-hero {
    min-height: 500px;
    padding-left: 5%;
    justify-content: center;
  }
  .custom-page .resource-hero-text {
    width: 50%;
    padding: 20px;
    font-size: 1.5rem;
  }

  /* Credible Mind */
  .crediblemind-assessment-accordions {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 2rem;
  }
  /* End Credible Mind */
}

@media screen and (min-width: 1536px) {
}