.header {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  /* padding: var(--small-margin); */
  overflow: hidden;
}

.header > svg {
  position: absolute;
  right: 0;
  /* bottom: 0; */
  width: 100%;
  height: auto;
  z-index: -1;
  transition: width 0.2s ease, height 0.2s ease;
}

#wave1 {
  bottom: 0;
  height: auto;
}

#wave3 {
  top: 0;
  width: 80%;
}

#wave2 path {
  fill: var(--blue) !important;
}

#wave3 path {
  fill: var(--yellow) !important;
}

#home {
  display: flex;
  width: 50%;
  padding: var(--small-margin) var(--content-left-margin);
  border-width: 0;
}

#home h1 {
  font-size: var(--title);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 4px solid var(--blue);
  margin-top: var(--med-margin);
}

#poitcast {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0 var(--base0));
}

.header h2 {
  font-size: var(--base-font-size);
  line-height: 1.5;
  text-transform: uppercase;
  padding: 0 var(--content-left-margin);
  margin-top: 3em;
  border-radius: var(--radius);
}

.newsList {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 48px;
  justify-items: stretch;
  align-items: stretch;
  background-color: var(--background);
  margin-bottom: var(--med-margin);
  /* border-top: 1px solid var(--base0);
  border-bottom: 1px solid var(--base0); */
}

.newsList li {
  display: flex;
  /* align-self: stretch; */
}

.newsList a {
  /* min-height: 320px; */
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--base100);
  /* border-radius: 21px; */
  border: 1px solid var(--base0);
  /* outline: 1px solid var(--base0); */
  /* box-shadow: 4px 4px var(--base0); */
  overflow: hidden;
  /* border-bottom-width: 0; */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .news a::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: -4px;
  right: -4px;
  display: block;
  border: 4px solid var(--red);
  z-index: -1;
  border-radius: 10px;
  transition: transform 0.2s ease;
} */

.newsList a:hover {
  transform: translate(4px, 4px);
  box-shadow: -5px -5px var(--base0);
}

/* .news a:hover::before {
  transform: translate(-4px, -4px);
} */

.newsList a header {
  position: relative;
  display: flex;
  font-size: var(--tiny-font-size);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
  /* border-top-left-radius: 10px;
  border-top-right-radius: 10px; */
}

.newsList a.evenement header {
  background-color: var(--orange);
}

.newsList a.creason header {
  background-color: var(--red);
}

.newsList a.formason header {
  background-color: var(--blue);
}

.newsList a.les-seances-d-ecoute header {
  background-color: var(--yellow);
}

.newsList a.atelier header {
  background-color: var(--green);
}

.newsList a:hover header {
  background-color: var(--base100);
}

.newsList a div {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 18px 18px;
}

.newsList a h1 {
  font-size: var(--small-font-size);
  margin-bottom: 6px;
}

.newsList a p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  font-size: var(--tiny-font-size);
  margin-bottom: 24px;
}

.newsList a footer {
  padding-top: 12px;
  margin-top: auto;
  border-top: 4px dotted rgba(0, 0, 0, 0.5);
}

.newsList a footer p {
  margin-bottom: 0;
}

@media screen and (min-width: 580px) {
  .header h2 {
    padding-right: 0;
  }

  .newsList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .newsList {
    grid-template-columns: repeat(3, 1fr);
  }
}
