.articles-content-body {
  max-width: 83ch;
  margin: 0 auto 50px;
  width: 100%;

  .section-title-and-subtitle {
    margin-bottom: 1.5rem;
    
    .section-title {
      border-bottom: 2px solid var(--burnt-orange);
      padding-bottom: 0.25em;
    }

    .section-subtitle {
      margin: 0;
    }
  }
  
  .list-of-articles {
    display: flex;
    flex-direction: column;
    gap: 25px;

    a:hover {
      color: var(--gray-300) !important;
    }

    .article-entry {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      
      border-radius: 1rem;
      position: relative;

      overflow: hidden;
      height: 420px;
      max-width: 100%;

      /* Repeating card gradients */
      &:nth-child(5n + 1) {
        background: var(--gradient-a);
      }

      &:nth-child(5n + 2) {
        background: var(--gradient-b);
      }

      &:nth-child(5n + 3) {
        background: var(--gradient-c);
      }

      &:nth-child(5n + 4) {
        background: var(--gradient-d);
      }

      &:nth-child(5n) {
        background: var(--gradient-e);
      }

      &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.2));
        pointer-events: none;
      }

      &:hover {
        filter: brightness(1.05);
        transform: scale(1.01);
        transition: all 0.2s ease;
      }

      .article-image {
        flex: 0 0 auto;
        object-fit: cover;
        height: 55%;
        width: 100%;
      }

      .article-details {
        flex: 1 1 auto;

        box-sizing: border-box;
        padding: 0 0.5rem 1rem 0.5rem;

        height: 45%;
        overflow: hidden;

        .date,
        .excerpt {
          color: var(--gray-300);
          font-size: 0.875rem;
        }
        
        .excerpt {
          display: -webkit-box;
          -webkit-line-clamp: 4;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }
      }

      /* Desktop specific layout*/
      @media(min-width: 768px) {
        flex-direction: row;
        height: 225px;

        .article-image {
          width: 35%;
          height: 100%;
        }

        .article-details {
          padding: 0.5rem;
          width: 65%;
          height: 100%;
          
          .excerpt {
            -webkit-line-clamp: 6;
          }
        }
      }
    }
  }
}
