.main {
  /* padding: 0 1rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* text */
.text {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  padding: 0 1rem;
  margin-bottom: 6rem;
  /* flex: 1; */
  width: 100%;
  margin-top: 3rem;
  max-width: 780px;
}

.text h1 {
  margin-bottom: 1rem;
}

.text > * {
  width: 100%;
  max-width: 780px;
  flex: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 6rem;
  gap: 2rem 1rem;
}

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

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

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

.list {
  width: 100%;
}

.list-year {
  position: relative;
  /* display: grid;
  grid-template-columns: 200px 1fr; */
  border-top: 2px solid;
}

.list-year section {
  display: flex;
  /* margin-top: 2rem; */
  flex-direction: column;
  /* gap: 1rem; */
  align-items: center;
  width: 100%;
}

.list-year .year-wrapper {
  position: relative;
}

@media screen AND (min-width: 1024px) {
  .list-year .year-wrapper {
    position: absolute;
    top: 0;
    /* border: 1px solid red; */
    height: 100%;
  }
}

.list-year .year-wrapper h2 {
  /* margin-top: 3rem; */
  /* align-self: flex-start; */
  padding-left: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  /* width: 100%; */
  position: sticky;
  top: 4rem;
  left: 0;
  align-self: start;
}

@media screen AND (min-width: 1024px) {
  .list-year .year-wrapper h2 {
    color: #fff;
    mix-blend-mode: difference;
  }
}

.item {
  display: grid;
  padding: 1rem;
  gap: 1rem;
  background-color: #fff;
  transition: background-color 0.3s, color 0.3s;
  /* border-top: 2px solid #000; */
  /* max-width: 800px; */
}

.item:hover {
  background-color: #000;
  color: #fff;
}

@media screen and (min-width: 640px) {
  .item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    padding: 1rem 1rem 1rem 1rem;
    gap: 1rem;
  }
}

@media screen and (min-width: 1024px) {
  .item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding-left: 6rem;
  }
}

.item img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  height: auto;
  width: 100%;
}

.item article {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1024px) {
  .item article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.item h2 {
  /* font-size: clamp(1.5rem, 1rem + 1.5vw, 3rem); */
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  margin-top: 0;
  text-transform: uppercase;
}

.item p {
  font-size: 0.875em;
}

.footer-content {
  background-color: #fff;
  color: #000;
}
