section.notes {
  padding-top: 0;
}

section.notes h1 {
  text-align: center;
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.5;
  color: var(--color-primary);
}

section.notes .pinned {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 6rem;
}
section.notes .pinned img {
  border-radius: 50px;
  height: 340px;
  object-fit: cover;
  object-position: center 80%;
}
section.notes .pinned > div {
  display: grid;
  gap: 1rem;
}
section.notes .pinned > div span {
  display: flex;
  align-items: center;
  gap: 0.4rem;

  color: var(--color-primary);
}
section.notes .pinned > div span p {
  color: var(--color-white);
  font-weight: 300;
  font-size: var(--text-sm);
}
section.notes .pinned > div h2 {
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-lh);
  color: var(--color-white);

  margin-bottom: 1.2rem;
}
section.notes .pinned > div .content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
  text-overflow: ellipsis;

  font-weight: 400;
  font-size: var(--text-md);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--color-white);

  margin-bottom: 1rem;
}
section.notes .pinned > div .btn {
  width: 100%;
}


section.notes .swiper .card .head img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 80%;
}

section.notes .swiper .swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
}
section.notes .swiper .swiper-wrapper .swiper-slide {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
}
section.notes .swiper .swiper-wrapper .swiper-slide .body {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}

@media screen and (min-width: 480px) {
  section.notes h1 {
    text-align: left;
  }
}
@media screen and (min-width: 1280px) {
  section.notes .pinned {
    grid-template-columns: 2fr 1fr;
  }
  section.notes .pinned img {
    height: 540px;
  }
}