.press-articles-section {
  overflow: hidden;

  .wrapper {
    display: flex;
    align-items: center;
    gap: 4.8rem;
    overflow: visible;

    .content {
      width: 35%;
      flex-shrink: 0;

      .button {
        margin-block: 4.8rem 0;
        display: block;
      }
    }

    .slider-outer {
      flex: 1;
      min-width: 0;

      .slider-controls {
        display: flex;
        gap: 1.2rem;
        justify-content: flex-end;
        margin-block-end: 2.4rem;

        .slider-btn {
          width: 4.8rem;
          height: 4.8rem;
          border-radius: 50%;
          border: 1px solid rgba(var(--color-foreground), 0.3);
          background: transparent;
          color: rgb(var(--color-foreground));
          font-size: 1.8rem;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          transition:
            background 0.2s,
            border-color 0.2s;

          &:hover {
            background: rgba(var(--color-foreground), 0.1);
            border-color: rgba(var(--color-foreground), 0.6);
          }
        }
      }

      .slider {
        display: flex;
        gap: 2.4rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;

        &::-webkit-scrollbar {
          display: none;
        }

        .slide {
          scroll-snap-align: start;
        }
      }
    }

    @media (max-width: 900px) {
      flex-direction: column;
      align-items: flex-start;

      .content {
        width: 100%;
      }

      .slider-outer {
        width: 100%;
      }
    }
  }

  &.blog-page,
  &.local-news {
    .wrapper {
      display: block;

      .content {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;

        .button {
          display: none;
        }

        @media (max-width: 900px) {
          flex-direction: column;
        }
      }

      .press-articles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.4rem;
        margin-block: 4.8rem 0;

        .press-article-page-item {
          display: contents;

          &[hidden] {
            display: none;
          }
        }

        @media (max-width: 1024px) {
          grid-template-columns: 1fr 1fr;
        }

        @media (max-width: 900px) {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }
    }
  }
}
