news-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;

  > info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    > ul {
      display: flex;
      gap: 1.5rem;
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -ms-overflow-style: none;
      @media (min-width: 993px) and (max-width: 1440px) {
        gap: 2rem;
      }
      @media (min-width: 993px) {
        flex-direction: row;
        justify-content: center;
        overflow-x: clip;
        scroll-snap-type: none;
      }

      > li {
        min-width: 100%;
        min-height: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        @media (min-width: 993px) {
          width: 18rem;
          min-width: auto;
        }
        @media (min-width: 1441px) {
          width: 20rem;
        }

        > a {
          display: flex;
          flex-direction: column;
          align-items: center;
          height: 100%;
          position: relative;

          > category {
            padding: 0.25rem 0.5rem;
            border-radius: 2.5rem;
            background: var(--white-500);
            position: absolute;
            top: 0.625rem;
            left: 0.625rem;

            > p {
              margin: 0;
            }
          }

          > img {
            flex-shrink: 0;
            width: 100%;
            height: 9.375rem;
            object-fit: cover;
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
            @media (min-width: 1441px) {
              height: 8.75rem;
            }
            &:hover +info{
              background: var(--petrol-blue-50);
            }
          }

          > info {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            gap: 0.625rem;
            height: 100%;
            padding: 0.625rem 1.25rem;
            border-bottom-left-radius: 0.5rem;
            border-bottom-right-radius: 0.5rem;
            border: 1px var(--petrol-blue-50) solid;
            border-top: none;
            background: var(--gray-50);

            &:hover {
              background: var(--petrol-blue-50);
            }

            > h3 {
              text-align: left;
            }

            > info-meta {
              display: flex;
              justify-content: space-between;
              align-items: center;
              width: 100%;

              > author {
                display: flex;
                gap: 0.25rem;
                align-items: center;

                > img {
                  width: 2rem;
                  height: 2rem;
                }
              }

              > time {
                display: flex;
                gap: 0.125rem;
                align-items: center;

                > svg {
                  flex-shrink: 0;
                  width: 0.875rem;
                  height: 0.875rem;
                  color: var(--pricefox-primary-color);
                }
              }
            }
          }
        }
      }
    }

    > radio-buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      @media (min-width: 993px) {
        display: none;
      }

      > button {
        width: 1.5rem;
        height: 1.5rem;
        border: none;
        border-radius: 50%;
        background: var(--gray-300);
      }
    }

    > a:has(toggle-token):hover {
      background: var(--petrol-blue-600);
    }
  }
}



