.main-article {
   margin-bottom: 32px;
}
.main-article article {
   background: white;
   padding: 16px;
   box-shadow: var(--card-shadow);
}
.main-article header {
   border-bottom: 1px solid hsl(122, 2%, 15%);
   padding-bottom: 12px;
   margin-bottom: 16px;
}
.main-article h1 {
   font-size: 24px;
   line-height: 1.4;
   margin-bottom: 8px;
}
.main-article__information {
   display: flex;
   flex-wrap: wrap;
   column-gap: 8px;
   color: hsl(122, 2%, 40%);
}
.main-article__author {
   font-weight: 600;
}

.main-article__share {
   display: flex;
   gap: 16px;
   font-size: 24px;
}

.main-article img {
   aspect-ratio: 16/9;
   width: 100%;
   object-fit: cover;
   border-radius: 4px;
}

.main-article article > :nth-child(n + 3) {
   margin-block: 1.3rem;
}
.main-article article > :is(h2, h3, h4, h5, h6):nth-child(n + 3) {
   margin-block: 1.4rem;
}
.main-article article > h2:nth-child(n + 3) {
   line-height: 1.5;
}
.main-article article > :last-child {
   margin-bottom: 0;
}
.main-article :is(ul, ol) {
   margin-left: 32px;
}

#article .article-list {
   background-color: white;
   overflow: hidden;
   box-shadow: var(--card-shadow);
}
#article .article-list__title {
   color: hsl(122, 2%, 20%);
   border-bottom: 1px solid hsl(0, 0%, 80%);
   padding: 16px;
   margin-bottom: 0;
}
#article .article-list__list {
   grid-template-columns: unset;
   gap: 0;
   overflow: hidden;
}
#article .article-list__item {
   box-shadow: unset;
   padding: 16px;
   display: grid;
   grid-template-columns: 100px 1fr;
   grid-template-rows: auto 1fr;
   column-gap: 16px;
   border-radius: 0;
}
#article .article-list__item:hover {
   background-color: hsla(122, 80%, 30%, 0.2);
   translate: unset;
}
#article .article-list__item__content {
   display: none;
}
#article .article-list__item__title {
   margin-top: 0;
   font-size: 1rem;
   color: hsl(122, 2%, 15%);
}
#article .article-list__item img {
   grid-row: 1/3;
   aspect-ratio: 4/3;
}
#article .article-list__view-all {
   display: none;
}

@media screen and (width < 768px) {
   main.max-width {
      padding-inline: 0;
   }
}

@media screen and (width >= 768px) {
   .main-article article {
      border-radius: 8px;
      padding: 24px;
   }

   #article .article-list {
      border-radius: 8px;
   }
}

@media screen and (width >= 1024px) {
   #article {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto auto 1fr;
      column-gap: 24px;
   }

   .main-article {
      grid-column: 1/9;
      grid-row: 1/4;
      margin-bottom: 0;
   }
   .main-article h1 {
      font-size: 32px;
      line-height: 1.3;
      margin-bottom: 10px;
   }
   
   #article .article-list {
      grid-column: 9/13;
   }
   #article .article-list + .article-list {
      margin-top: 24px;
   }
}