/* ==========================================================================
   Noticias — News Post Slider
   ========================================================================== */

/* --------------------------------------------------------------------------
   Wrapper & Slide
   -------------------------------------------------------------------------- */

.noticias-nps-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.noticias-nps-wrapper {
	position: relative;
	width: 100%;
}

/* Box shadows */
.noticias-nps-shadow-soft   { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.noticias-nps-shadow-medium { box-shadow: 0 8px 40px rgba(0,0,0,.14); }
.noticias-nps-shadow-hard   { box-shadow: 0 16px 48px rgba(0,0,0,.24); }

/* --------------------------------------------------------------------------
   Individual Slide — two-column flex
   -------------------------------------------------------------------------- */

.noticias-nps-slide {
	display: none;
	width: 100%;
	align-items: stretch;
}

.noticias-nps-slide.is-active {
	display: flex;
}

/* Fade transition */
.noticias-nps-slider.fade .noticias-nps-slide {
	opacity: 0;
	transition: opacity var(--nps-speed, 500ms) ease;
	display: flex !important; /* keep in layout for fade */
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.noticias-nps-slider.fade .noticias-nps-slide.is-active {
	opacity: 1;
	position: relative;
	pointer-events: auto;
}

/* Slide transition */
.noticias-nps-slider.slide .noticias-nps-wrapper {
	display: flex;
	transition: transform var(--nps-speed, 500ms) ease;
	will-change: transform;
}

.noticias-nps-slider.slide .noticias-nps-slide {
	display: flex !important;
	flex-shrink: 0;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Image Column
   -------------------------------------------------------------------------- */

.noticias-nps-image-col {
	flex-shrink: 0;
	overflow: hidden;
}

.noticias-nps-image-col a {
	display: block;
	width: 100%;
	height: 100%;
}

.noticias-nps-img {
	width: 100%;
	height: 100%;
	display: block;
}

.noticias-nps-img-placeholder {
	width: 100%;
	height: 100%;
	background: #e8e8e8;
}

/* --------------------------------------------------------------------------
   Content Column
   -------------------------------------------------------------------------- */

.noticias-nps-content-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.noticias-nps-content-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* --------------------------------------------------------------------------
   Arrows
   -------------------------------------------------------------------------- */

.noticias-nps-arrows {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: absolute;
	z-index: 10;
	gap: 8px; /* overridden by inline CSS */
}

.noticias-nps-content-col {
	position: relative;
}

.noticias-nps-slider {
	position: relative;
}

.noticias-nps-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0;
	transition: background-color 0.2s ease, transform 0.15s ease;
	flex-shrink: 0;
	line-height: 1;
}

.noticias-nps-arrow svg {
	display: block;
	width: 24px;
	height: 24px;
	
	fill: none;
	
	pointer-events: none;
}

.noticias-nps-arrow:hover {
	transform: scale(1.05);
}

.noticias-nps-arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Title
   -------------------------------------------------------------------------- */

.noticias-nps-title {
	margin: 0;
	padding: 0;
}

.noticias-nps-title a {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.noticias-nps-title a:hover {
	opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Excerpt
   -------------------------------------------------------------------------- */

.noticias-nps-excerpt {
	margin: 0;
	padding: 0;
}

/* --------------------------------------------------------------------------
   Button
   -------------------------------------------------------------------------- */

.noticias-nps-btn {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
	line-height: 1.4;
}

.noticias-nps-btn:hover {
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Dots
   -------------------------------------------------------------------------- */

.noticias-nps-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 12px 0 0;
}

.noticias-nps-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(0,0,0,.2);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.noticias-nps-dot.is-active {
	background: rgba(0,0,0,.6);
	transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   Empty state (editor only)
   -------------------------------------------------------------------------- */

.noticias-nps-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: #f5f5f5;
	border: 2px dashed #ccc;
	border-radius: 8px;
	font-family: sans-serif;
	font-size: 14px;
	color: #777;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Mobile stacking
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.noticias-nps-stack-mobile .noticias-nps-slide {
		flex-direction: column;
	}

	.noticias-nps-stack-mobile .noticias-nps-image-col {
		width: 100% !important;
	}
}
