.wp-block-acf-news {
	ul[data-slider="categories"] .slick-list {
		overflow: unset;
		overflow-x: clip;
		width: 100%;

		li.active {
			color: var(--wp--preset--color--secondary);

			&::after {
				right: 0;
			}
		}
	}

	ul[data-slider="posts"].slick-slider {
		display: flex;

		&.hidden {
			display: none;
		}
	}

	@media screen and (min-width: 1024px) {
		ul[data-slider="posts"] li {
			border-radius: 0;

			*,
			*:before {
				border-radius: 0;
			}

			&:first-child {
				width: 27%;
				border-radius: 1rem 0 0 0;

				*,
				*:before {
					border-radius: 1rem 0 0 0;
				}
			}

			&:nth-child(2) {
				width: calc(35% - 1rem);
			}

			&:nth-child(3) {
				width: 38%;
				border-radius: 0 1rem 0 0;

				*,
				*:before {
					border-radius: 0 1rem 0 0;
				}
			}

			&:nth-child(4) {
				width: 35%;
				border-radius: 0 0 0 1rem;

				*,
				*:before {
					border-radius: 0 0 0 1rem;
				}
			}

			&:nth-child(5) {
				width: calc(37% - 1rem);
			}

			&:nth-child(6) {
				width: 28%;
				border: 0 0 1rem 0;

				*,
				*:before {
					border-radius: 0 0 1rem 0;
				}
			}
		}
	}
}
