

.homepage-categories-header,
.blocks-item-title,
.hero-inner h1,
.section h2,
.recent-activity-item h3 a {
  font-family: 'GothamRounded-Bold', sans-serif;
}

h1 {
  font-family: 'GothamRounded-Bold', sans-serif;
  font-size: 48px;
  line-height: 1.2;
}

h2 {
  font-family: 'GothamRounded-Bold', sans-serif;
  font-size: 30px;
  line-height: 1.2;
}

h3 {
  font-family: 'GothamRounded-Bold', sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

h4 {
  font-family: 'GothamRounded-Book', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

body {
  font-family: 'GothamRounded-Book', sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.logo img {
  height: 70px;
  max-height: unset;
}

.primary-logo {
  max-height: 50px !important;
}

.homepage-container {
  max-width: unset;
  width: unset;

  .section {
    max-width: 1160px;
    margin: 5rem auto;
  }

  .knowledge-base {
    margin-top: 0;
  }

  .articles {
    background: #F6F8F9;
    padding: 5rem 0;

    .promoted-articles-container {
      max-width: 1160px;
      margin: 0 auto;
    }
  }
}

.homepage-categories-header {
  text-align: center;
  margin-bottom: 3rem;
  word-wrap: break-word;
}

.blocks-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin: unset;
}

.blocks-item {
  margin: 0;
  border: 1px solid #ccc;
  border-radius: unset;

  .blocks-item-link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem 5%;
    
    .blocks-item-title {
      margin-top: 1rem;
    }
    
    img {
      width: 100px;
      height: 100px;
    }
  }
}

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background: #ddd;
}


.activity {
  margin: 5rem 0;
  border: none;
}


/* header */

.search input[type="search"], .search .clear-button,
.search {
  border-radius: 5px;
}

.secondaryLogo {
  display: none;
}

/* hero */

.hero {
  height: 400px;

  .hero-inner {
    h1 {
      color: black;
    }

    
  }
}

h1 {
  color: #003865;
}

/* RECENT ACTIVITY */

.recent-activity-item {
  padding: 1.5rem 0;

  h3 {
    margin: 0;
  }
}

/* FOOTER */

.footer {
  background: #F6F8F9;
  border: 0;
  margin: 0;

  .footer-language-selector {
    display: flex;
    align-items: center;
  }
}


/* MOBILE */

@media (width <= 1160px) {
  .homepage-container {
    padding: unset;

    .section {
      margin: 2rem auto;
      padding: 30px 5%;
    }

    .knowledge-base {
      margin-top: 0;
    }

    .promoted-articles-container {
      padding: 0 5%;
    }

    .blocks-list {
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;

      .blocks-item-title {
        font-size: unset;
      }
    }
  }

  .hero {
    margin-bottom: 0;
  }

}

@media (width <= 768px) {
  .homepage-container {
    padding: unset;

    .section {
      margin: 2rem auto;
      padding: 30px 5%;
    }

    .knowledge-base {
      margin-top: 0;
    }

    .promoted-articles-container {
      padding: 0 5%;
    }

    .blocks-list {
      grid-template-columns: repeat(3, 1fr);
      gap:1rem;
    }
  }

  .hero {
    margin-bottom: 0;
  }

  h1 {
    font-size: 36px;
  }
}

@media (width <= 450px) {
  .header {
    padding: 0;
  }
  .homepage-container {
    padding: unset;

    .section {
      margin: 2rem auto;
      padding: 30px 5%;
    }

    .knowledge-base {
      margin-top: 0;
    }

    .promoted-articles-container {
      padding: 0 5%;
    }

    .blocks-list {
      grid-template-columns: repeat(2, 1fr);
      gap:1rem;

      .blocks-item-link {
        padding: 1rem 5%;
      }

      .blocks-item-title {
        font-size: unset;
        width: 100px;
        word-wrap: break-word;
      }

      img{
        width: 75px;
      }
    }
  }

  .hero {
    margin-bottom: 0;
  }

  h1 {
    font-size: 36px;
  }
}
