.hero-featured h2,
.hero-featured h3 {
  color: var(--primary-color);
}

.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);
  color: var(--color-primary);
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 0.375rem;
}

.custom-page .resource-hero-text h1 {
  margin: 0;
  text-align: left;
  font-weight: 600;
}

.custom-page .article-body h1,
.custom-page hr {
  color: var(--primary-color) !important;
}

.custom-page .resource-hero-text p {
  font-weight: 500;
  margin: 1rem;
}

.custom-page .resource-content .resource-heading {
  text-align: center;
  color: var(--primary-color);
}

.custom-page .resource-links {
  display: block !important;
  text-align: center;
  max-width: 75rem;
  margin: auto;
  width: 90%;
}

.custom-page .resource-links-heading {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.custom-page .resource-content hr {
  background: var(--secondary-color);
  height: 2px;
  margin: 1rem 0;
}

header a.eap-intake-link {
  background: var(--secondary-color);
  padding: 6px;
  border-radius: 100%;
}

header #help a.eap-intake-link:hover {
  background: var(--primary-color);
}

header #help a.eap-intake-link > img {
  width: 20px;
  height: 20px;
}

#footer-collections h2 a.text-primary {
  color: var(--accent-color);
}

/* hiding college life for specific programs  1001, 1003, 1004, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 3003*/
body.program-1001 #footer-college-life,
body.program-1003 #footer-college-life,
body.program-1004 #footer-college-life,
body.program-2001 #footer-college-life,
body.program-2002 #footer-college-life,
body.program-2003 #footer-college-life,
body.program-2004 #footer-college-life,
body.program-2005 #footer-college-life,
body.program-2006 #footer-college-life,
body.program-2007 #footer-college-life,
body.program-2008 #footer-college-life,
body.program-2009 #footer-college-life,
body.program-2010 #footer-college-life,
body.program-3003 #footer-college-life {
  display: none;
}

.trainings-collection #main-content + section > button {
  width: 180px;
  margin-bottom: 0;
}

/* custom accordions */
.accordion {
  width: 90%;
}

.accordion-subheading {
  border-bottom: 1px solid black;
  margin: 1rem 0;
}

.accordion > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
  width: 100%;
}
.accordion > button > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.accordion h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--primary-font);
  font-weight: normal;
}

.accordion h3 span {
  font-weight: normal;
  font-size: 12px;
}

.accordion button svg {
  font-weight: normal;
  font-size: 20px;
  color: black;
  opacity: 0.6;
}

.accordion button:hover svg {
  opacity: 1;
}

.accordion {
  break-inside: avoid;
}

.accordion ul li {
  display: list-item;
}

.accordion ul li:nth-child(n + 6) {
  display: none;
}

.accordion ul.expanded li {
  display: list-item;
}

.accordion ul li a {
  color: rgb(0 0 255);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 255, 0.3);
}

.accordion ul li a:hover {
  text-decoration-color: rgba(0, 0, 255, 1);
}

.accordion button[data-open="true"] .block {
  display: none !important; /* Hide the 'carrot down' SVG when open */
}

.accordion button[data-open="true"] .hidden {
  display: block !important; /* Show the 'carrot up' SVG when open */
}
/* END custom accordions */
@media screen and (min-width: 768px) {
  .two-column {
    column-count: 2;
    column-gap: 50px;
  }

  .two-column > * {
    width: 100%;
  }

  .accordion {
    width: 100%;
  }

  .accordion h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .custom-page .resource-hero {
    min-height: 500px;
    /*padding-left: 5%;*/
    justify-content: flex-start;
  }

  .custom-page .resource-hero-text {
    width: 45%;
    padding: 20px;
    font-size: 1.5rem;
  }

  header #help a.eap-intake-link {
    padding: 12px;
  }

  header #help a.eap-intake-link > img {
    height: 40px;
    width: 40px;
  }

  .trainings-collection #main-content + section > button {
    width: 200px;
  }
}