/**
 * @file
 * Actualites styles
 */

/**
 * News
 */

.news {
  position: relative;
}
.news__header {
  position: relative;
  padding: 2rem 0;
  background-color: #E0EBE0;
  margin-bottom: 30%;
  text-align: center;
}
.news__header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
  height: 100px;
  background-repeat: no-repeat;
  background-image: url("../../images/hero-divider-mobile.svg");
  background-size: 105%;
  background-position: top center;
}
.news__header .breadcrumb {
  font-size: var(--content-size-s);
  color: var(--color-neutral--2);
}
.news__header .breadcrumb ol{
  justify-content: center;
  flex-wrap: wrap;
}
.news__header .breadcrumb a{
  color: var(--color-neutral--2);
}
.news__header-wrapper {
  padding: 0 0 1rem 0;
}
.news__title h1 {
  color: var(--color-primary--2);
  margin: 0 0 0.5rem;
  font-size: var(--heading-size-m);
}
.news__desc {
  font-weight: 700;
}
.news__image {
  margin-bottom: -30%;
  position: relative;
  z-index: 1;
}
.news__image img{
  margin: 0 auto;
}
.news__columns {
  position: relative;
}
.news__date {
  padding-top: 1rem;
  font-size: var(--content-size-s);
}
.news__content h2 {
  font-size: var(--heading-size-s);
  line-height: 38px;
}
.news__content h3 {
  font-size: var(--heading-size-xs);
  line-height: 27px;
}
.news__content .layout--twocol {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news__content .section {
  position: relative;
}
.news__sidebar-newsletter {
  display: none;
}
.news__see-more {
  clear: both;
}
@media all and (min-width: 900px) {
  .news__content .layout--twocol {
    display: grid;
    gap: 1.875rem;
  }
  .news__header-wrapper {
    padding: 1rem 0 2rem 0;
  }
  .news__header::after {
    background-image: url("../../images/hero-divider.svg");
    bottom: -5rem;
  }
  .news__content .section {
    max-width: 60%;
    overflow-x: initial;
  }
  .news__sidebar {
    max-width: 30%;
    position: sticky;
    float: right;
    top: 225px;
    z-index: 1;
    width: 100%;
  }
  .news__sidebar-newsletter {
    display: block;
  }
}
@media all and (min-width: 1300px) {
  .news__image {
    margin-bottom: -35%;
  }
}
@media all and (min-width: 1550px) {
  .news__image {
    margin-bottom: -40%;
  }
}
@media all and (min-width: 1700px) {
  .news__header {
    margin-bottom: 28%;
  }
}
@media all and (min-width: 1750px) {
  .news__image {
    margin-bottom: -45%;
  }
}


/**
 * News summary
 */
.news__sidebar-summary {
  max-width: 400px;
}
.news__sidebar-summary a{
  color: var(--color-neutral--3);
}
.news__sidebar-summary > p{
  color: var(--color-neutral--1);
  font-size: var(--content-size-l);
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  font-family: "signo",sans-serif;
}
.news__sidebar-summary ul {
  list-style: none;
  padding: 0 1.5rem 0 0.5rem;
  margin: 0;
}
.news__sidebar-summary li {
  border-top: 1px solid #dddddd;
}
.news__sidebar-summary a {
  padding: 1rem 0;
  display: block;
}
