@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Libre Franklin' ,sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #000;
  color: #fff;
}

/*
* Header
*/
header {
  background-color: #000; 
  color: #fff; 
  width: 100%; 
  min-height: 80px; 
  height: 80px;
  text-align: center;
}

header container {
  height: 100%;
  max-width: 1280px; 
  text-align: center; 
  margin: auto; 
  display: flex; 
  justify-content: flex-start; 
  align-items: center; 
  font-weight: bold; 
  text-transform: uppercase;
}

header a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

header container > img {
  max-height: 60px;
  cursor: pointer;
  padding: 5px;
}

header container > div {
  padding-left: 5px; 
  padding-right: 5px; 
  padding-top: 30px;
  padding-bottom: 30px;
  margin-left: 10px; 
  margin-right: 10px;
  position: relative;
}

header container > div::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 5px;
  background-color: #fff;
}

header container > div:hover::after {
  width: 100%;
}

header container #header_nav_mobile {
  display: none;
}

@media (max-width: 768px) {
  header container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header container img {
    height: 40px;
  }
  header container > div {
    display: none;
  }
  header container #header_nav_mobile {
    display: inline-block;
    padding-right: 20px;
  }
  header container #header_nav_mobile a {
    margin-left: 10px;
    padding: 10px;
    border: solid 1px #333;
    border-radius: 2px;
  }
}

/*
* Articles Types
*/
.article_dark {
  background-color: #000;
  padding: 2px;
}

.article_dark .container {
  max-width: 1280px; 
  text-align: left;
  color: #fff;
  margin: auto;
  padding: 10px;
}

.article_grey {
  background-color: #111;
  padding: 2px;
}

.article_grey .container {
  max-width: 1280px; 
  text-align: left; 
  color: #fff;
  margin: auto;
  padding: 10px;
}
/*
* INDEX_HERO
*/
#index_hero {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

#index_hero a {
  color: #fff;
  text-decoration: none;
}

#index_hero a:hover .item_title {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: rgb(255, 117, 107);
}

#index_hero .item_category {
  margin-left: 10px;
  color: rgb(255, 117, 107);
}

#index_hero .item_title {
  margin-left: 10px;
  font-size: large;
  font-weight: bold;
  color: #fff;
  word-break: break-word;
  overflow: hidden;
}

#index_hero .item_published {
  margin-left: 10px;
  color: #fff;
}

#index_hero .most_recent {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 768px;
}

#index_hero .most_recent .most_recent_item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  width: 100%;
}

#index_hero .most_recent .most_recent_item .item_title {
  font-size: 32px;
  margin-top: 20px;
  margin-bottom: 40px;
}

#index_hero .most_recent .most_recent_item img {
  margin: 0;
  padding: 0;
  width: 100%;
}

#index_hero .most_recent .most_recent_item div p {
  margin-top: 5px;
  margin-bottom: 5px;
}

#index_hero .latest_news {
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

#index_hero .latest_news .latest_news_item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 480px;
  height: fit-content;
}

#index_hero .latest_news .latest_news_item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 5px;
  margin-bottom: 5px;
}

#index_hero .latest_news .latest_news_item div p {
  margin-top: 5px;
  margin-bottom: 5px;
}

#index_hero .latest_news .latest_news_item img {
  margin: 0;
  padding: 0;
  width: 280px;
}

.hide-desktop {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 1080px) {
  #index_hero {
    flex-direction: column;
  }
  #index_hero .most_recent {
    width: 100%;
  }
  #index_hero .most_recent a {
    width: 100%;
  }
  #index_hero .most_recent .most_recent_item {
    width: 100%;
  }
  #index_hero .most_recent .most_recent_item .item_title {
    margin-bottom: 0px;
  }
  #index_hero .most_recent .most_recent_item > div {
    width: 100%;
  }
  #index_hero .latest_news {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }
  /* Adjust latest news items to occupy full width of grid cell if required */
  #index_hero .latest_news .latest_news_item {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile adjustments */
@media (max-width: 720px) {
  #index_hero .latest_news {
    grid-template-columns: repeat(1, 1fr);
  }

  #index_hero .latest_news .latest_news_item {
    align-items: center;
  }

  .hide-mobile {
    display: none;
  }
  .hide-desktop {
    display: inline-block;
  }
  .hide-desktop svg {
    margin-bottom: -5px;
  }
}

/*
* Footer
*/
footer {
  background-color: #000;
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}

footer .container {
  max-width: 1280px; 
  text-align: center; 
  margin: auto;
}

footer .container div {
  margin-top: 20px;
  margin-bottom: 20px;
}

footer .container .cpa_button {
  background-color: #fff;
  color: #000;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

