/*custom content pages*/
@media (min-width: 0px) {
  .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-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);
  }

  #news-div {
    padding: 1rem 0;
  }

  #trending-topics.resource-hero {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
  }

  #trending-topics .resource-hero-text {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: rgba(255, 255, 255, 0.5); */
    /* border-radius: 8px; */
    /* color: var(--color-primary); */
    text-align: center;
    padding: 20px;
  }

  #trending-topics .resource-hero-text > h1 {
    margin: 0 !important;
  }

  #trending-topics .resource-hero-text > h2 {
    font-size: 1.25rem !important;
    font-weight: normal;
  }

  #trending-topics .resource-hero-text > h1,
  #trending-topics .resource-hero-text > h2 {
    color: black;
  }

  .resource-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    justify-content: center;
    padding: 1rem 0;
  }

  .resource-card h3,
  #trending-topics h2 {
    margin: 0 0 10px;
  }

  .resource-card p {
    margin: 0 0 12px;
    line-height: 1.5;
  }

  .resource-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
  }

  .program-tile-popup-content {
    margin: 1rem 0 2rem 0;
  }

  .program-tile-popup-content h2 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  #trending-topics.resource-hero {
    height: 500px;
  }
  #trending-topics .resource-hero-text > h1 {
    font-size: 2.5rem !important;
  }

  #trending-topics .resource-hero-text > h2 {
    font-size: 2rem !important;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-card {
    padding: 0.5rem 5rem;
  }
}

@media screen and (min-width: 1024px) {
  /*custom content pages*/
  .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;
  }

  .custom-page .resource-links .resource-button {
    font-size: 1rem;
    width: 40%;
  }
  /*END custom content pages*/
}

@media screen and (min-width: 1536px) {
  /*custom content pages*/
  .custom-page .resource-hero-text {
    width: 40%;
  }
  /*END custom content pages*/
}