/*                      */
/* CONTAINER & NAV TABS */
/*                      */
.actu-container {
  width: 1000px;
  margin: 4rem auto;
}

@media screen and (max-width: 1000px) {
  .actu-container {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .actu-container {
    margin: 2rem auto;
  }
}

.actu-container .nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
}

@media screen and (max-width: 1000px) {
  .actu-container .nav-tabs {
    flex-wrap: wrap;
    padding: 0 4rem;
  }
}

@media screen and (max-width: 800px) {
  .actu-container .nav-tabs {
    padding: 0 2rem;
  }
}

.actu-container .nav-link {
  font-size: initial;
}

.actu-container .nav-item {
  width: 50%;
}

@media screen and (max-width: 1000px) {
  .actu-container .nav-item {
    width: 100%;
  }
}

.actu-container .nav-item:first-child {
  margin-right: 1rem;
}

@media screen and (max-width: 1000px) {
  .actu-container .nav-item:first-child {
    margin-right: 0;
  }

  .actu-container .nav-item:last-child {
    margin-top: 2rem;
  }
}

.actu-container .nav-item .nav-link {
  width: 100%;
  border: none;
  margin: 0;
  color: var(--text-green);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 500px) {
  .actu-container .nav-item .nav-link {
    padding: .5rem;
  }
}

.actu-container .nav-item .nav-link:hover {
  border: none;
  margin: 0;
  color: var(--light-green);
  border-radius: 0;
}

.actu-container .nav-item .nav-link[aria-selected="true"] {
  background: var(--bg-green);
  color: var(--text-grey);
  margin: 0;
}

.actu-container .nav-link:focus-visible {
  outline: 0;
  box-shadow: none;
}

.actu-container .nav-link:not(.active):hover {
  border-radius: 0;
  color: var(--light-green);
}

.actu-container .nav-link:not(.active) {
  position: relative;
}

.actu-container .nav-link:not(.active)::before, .actu-container .nav-link:not(.active)::after {
  content: '';
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-style: solid;
  border-color: var(--text-green);
}

.actu-container .nav-link:not(.active)::before {
  top: 0;
  left: 0;
  border-width: .2rem 0 0 .2rem;
}

.actu-container .nav-link:not(.active)::after {
  bottom: 0;
  right: 0;
  border-width: 0 .2rem .2rem 0;
}

/*              */
/* ARTICLES TAB */
/*              */
.tab-pane {
  margin: 4rem auto;
  margin-top: 6rem;
  padding: 4rem;
  background: var(--bg-grey);
  position: relative;
}

@media screen and (max-width: 800px) {
  .tab-pane {
    position: initial;
    padding: 2rem;
    margin: 2rem auto;
  }
}

@media screen and (max-width: 500px) {
  .tab-pane {
    margin-top: 2rem;
  }
}

.tab-pane h1 {
  color: var(--text-grey);
  background: var(--bg-green);
  margin: 0 auto;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
}

@media screen and (max-width: 800px) {
  .tab-pane h1 {
    width: 60%;
    position: initial;
    top: initial;
    right: initial;
    transform: initial;
  }
}

@media screen and (max-width: 500px) {
  .tab-pane h1 {
    width: 100%;
  }
}

.articles-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-green);
  margin: 0 auto;
  margin-top: 2rem;
}

.article {
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 0 1rem 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: .2rem solid var(--text-green);
}

@media screen and (max-width: 800px) {
  .article {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.article:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article:last-child a {
  margin-bottom: 0;
}

@media screen and (max-width: 800px) {
  .article:last-child a {
    margin-bottom: 1rem;
  }
}

.article-image {
  width: 200px;
  height: 180px;
}

@media screen and (max-width: 800px) {
  .article-image {
    width: 50%;
    height: 250px;
  }
}

@media screen and (max-width: 500px) {
  .article-image {
    width: 100%;
  }
}

.article-image img {
  width: 100%;
  height: 100%;
}

.article-text {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  text-align: center;
  color: var(--text-green);
}

@media screen and (max-width: 800px) {
  .article-text {
    width: 100%;
  }
}

.article-text h4 {
  color: var(--text-green);
  text-align: initial;
}

.article-text p {
  margin: 0;
}

.article-text a {
  margin: 1rem 0;
  color: var(--blue);
}

/*         */
/* FAQ TAB */
/*         */
.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 2rem;
}

.question {
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  text-decoration: none;
  border-bottom: .2rem solid var(--text-green);
}

.question:last-child {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.question-title {
  color: var(--text-green);
  text-align: initial;
  width: 100%;
  margin: 0;
}

.question-body {
  width: 100%;
  margin-top: 1rem;
  color: var(--text-green);
}

.question-body p {
  margin-bottom: 1rem;
}

.question-body p:last-child {
  margin-bottom: 0;
}
