.my-swiper {
	--swiper-theme-color: #fff;
	/* 🔥 força arrows e bullets internas */
}

.noticias {
	padding: 20px 0;
}

/* ==============================
   CONTAINER CARROSSEL NOTÍCIAS
================================ */
.container-slides-noticias {
	position: relative;
	margin-top: 16px;
	/* padding-bottom: 48px; */
}

/* ==============================
   SWIPER
================================ */
.my-swiper {
	overflow: hidden;
	width: 100%;
	margin-bottom: 32px;
}

.swiper-slide {
	display: flex;
	justify-content: center;
}

/* ==============================
   SETAS
================================ */
.my-swiper .swiper-button-prev,
.my-swiper .swiper-button-next {
	width: 26px;
	height: 26px;
	opacity: .7;
}

.swiper-button-prev {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E") !important;
}

/* ==============================
   PAGINAÇÃO
================================ */
.container-slides-noticias .swiper-pagination {
	position: static;
	margin: 20px auto 0;
	width: fit-content;
	display: flex;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	overflow: visible;
}

.container-slides-noticias .swiper-pagination-bullet {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	background-color: var(--azul-claro1);
	opacity: 0.4;
}

.container-slides-noticias .swiper-pagination-bullet-active {
	opacity: 1;
}

/* ==============================
   CARD NOTÍCIA
================================ */
.card-item-noticias {
	position: relative;
	width: 100%;
	min-height: 240px;

	padding: 16px;
	border-radius: 6px;

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item-noticias::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
	z-index: 1;
}

/* ==============================
   TEXTO DO CARD
================================ */
.card-text-noticias {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: 0 12px 8px;

	display: flex;
	flex-direction: column;
	gap: 4px;
}

.autor-noticias,
.categorias-noticias {
	font-size: 0.85rem;
	color: #fff;
	opacity: 0.75;
	margin: 0;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	line-clamp: 1;
	-webkit-line-clamp: 1;
	overflow: hidden;
}

.autor-noticias .name-autor-noticia {
	opacity: 1;
	font-weight: 700;
	color: #fff;
}

.user-titulo-noticia-cards {
	font-size: 1rem;
	font-weight: 500;
	color: var(--cor-branco);
	margin: 0;

	display: -webkit-box;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ==============================
   MOBILE
================================ */
@media (max-width: 800px) {
	.card-item-noticias {
		min-height: 350px;
	}

	.my-swiper .swiper-slide-button {
		/* display: none; */
	}
}