section.single {
  padding-top: 0;
}
section.single article img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 80%;
  border-radius: 50px;
  margin-bottom: 3rem;
}

section.single article time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
section.single article time p {
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--color-white);
  line-height: 1;
}

section.single article h1 {
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-lh);
  color: var(--color-white);
  margin-bottom: 2rem;
}

section.single article .content {
  color: var(--color-white);
}
section.single article .content h1,
section.single article .content h2,
section.single article .content h3,
section.single article .content h4,
section.single article .content h5,
section.single article .content h6 {
  color: var(--color-white);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
section.single article .content h2 {
  font-size: var(--text-lg);
}
section.single article .content h3 {
  font-size: var(--text-20);
}
section.single article .content h3 {
  font-size: var(--text-md);
}

section.single article .content p {
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  font-size: var(--text-md);
}

section.single article .content a {
  color: var(--color-primary);
  text-decoration: underline;

  transition: 0.3s all;
}

@media (hover: hover) {
  section.single article .content a:hover {
    color: var(--hover-primary);
  }
}
section.single article .content a:active {
  color: var(--active-primary);
}

section.single article .content ul,
section.single article .content ol {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

section.single article .content ul li,
section.single article .content ol li {
  margin-bottom: 0.5rem;
}

section.single article .content blockquote {
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
  background-color: var(--bg-secondary);
  margin-bottom: 1.5rem;
}

section.single article .content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

section.single article .content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

section.single article .content iframe {
  width: 100%;
}

section.single article .content th,
section.single article .content td {
  padding: 0.75rem;
  border: 1px solid var(--color-gray);
}
section.single article .content img,
section.single article .content iframe,
section.single article .content table {
  max-width: 100%;
}

section.single aside {
  margin-top: 4rem;
}
section.single aside h2 {
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-lh);
  color: var(--color-white);
  margin-bottom: 2rem;
}

section.single aside ul {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  overscroll-behavior: contain;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 75%;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray);
  scrollbar-width: none;
}
section.single aside ul::-webkit-scrollbar {
  display: none;
}
section.single aside ul li {
  grid-template-rows: subgrid;
  grid-row: span 5;
  scroll-snap-align: center;
}
section.single aside ul li .head img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 80%;
}
section.single aside ul li .body h3 {
  font-size: var(--text-20);
  line-height: var(--leading-20);
  color: var(--color-white);
}

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

  section.single aside {
    margin-top: 0;
  }
  section.single aside h2 {
    text-align: center;
  }
  section.single aside ul {
    overflow-x: auto;
    scroll-snap-type: unset;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: unset;
    scrollbar-width: none;
  }
}
