/* Category archive spacing — reduce top gap on /noticias/ */
body.category-noticias .category-title {
	padding: 8px 0 !important;
	margin: 0 !important;
}

/* UIDE Connect — own container, outside the news .container.
   Scoped to /noticias/ only; news layout stays untouched.
   When the deck is removed, the "+ .container" rule stops applying
   and the news keeps its normal top padding. */
body.category-noticias .uide-connect-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 120px 20px 0;
	box-sizing: border-box;
}

body.category-noticias .uide-connect-section + .container {
	padding-top: 0;
}

@media (max-width: 1199px) and (min-width: 768px) {
	body.category-noticias .uide-connect-section {
		padding-top: 200px;
	}
}

@media (max-width: 767px) {
	body.category-noticias .uide-connect-section {
		padding-top: 160px;
	}
}

.uide-deck-block {
	width: 100%;
	max-width: 100%;
	margin-bottom: 60px;
}

.uide-deck-container {
	display: grid;
	grid-template-columns: minmax(0, 38%) minmax(0, 62%);
	align-items: center;
	gap: 40px;
	background: linear-gradient(135deg, #ffffff 0%, #fafafa 60%, #f3f1f2 100%);
	border-radius: 18px;
	padding: 60px 50px;
	box-sizing: border-box;
}

/* Left column — title + single CTA */
.uide-deck-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.uide-deck-title {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(52px, 5vw, 84px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -1px;
	margin: 0 0 32px;
	color: #910048;
}

.uide-deck-title span {
	display: block;
	font-size: clamp(34px, 3.2vw, 52px);
	font-weight: 700;
	letter-spacing: 0;
	color: #EAAA00;
}

.uide-deck-cta {
	display: inline-block;
	align-self: flex-start;
	background: #910048;
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 16px 34px;
	border-radius: 8px;
	min-height: 52px;
	transition: background 0.2s;
}

.uide-deck-cta:hover {
	background: #75003a;
	color: #ffffff;
}

/* Right column — protagonist deck */
.uide-deck-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.uide-deck-cards {
	position: relative;
	width: 460px;
	height: 540px;
}

.uide-deck-card {
	position: absolute;
	width: 300px;
	height: 422px;
	background: #910048;
	border: 3px solid #EAAA00;
	border-radius: 14px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
}

.uide-deck-card-logo {
	display: block;
	width: 34%;
	max-width: 100px;
	height: auto;
	object-fit: contain;
	opacity: 1;
	filter: none;
	pointer-events: none;
}

.uide-deck-card--1 {
	top: 0;
	left: 0;
	transform: rotate(-12deg);
	z-index: 1;
}

.uide-deck-card--2 {
	top: 20px;
	left: 28px;
	transform: rotate(-6deg);
	z-index: 2;
}

.uide-deck-card--3 {
	top: 40px;
	left: 56px;
	transform: rotate(0deg);
	z-index: 3;
}

.uide-deck-card--4 {
	top: 60px;
	left: 84px;
	transform: rotate(6deg);
	z-index: 2;
}

.uide-deck-card--5 {
	top: 80px;
	left: 112px;
	transform: rotate(12deg);
	z-index: 1;
}

.uide-deck-card--6 {
	top: 60px;
	left: 140px;
	transform: rotate(6deg);
	z-index: 2;
}

.uide-deck-card--7 {
	top: 40px;
	left: 168px;
	transform: rotate(0deg);
	z-index: 3;
}

/* Responsive */
@media (max-width: 1199px) and (min-width: 768px) {
	.uide-deck-container {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		padding: 50px 40px;
	}

	.uide-deck-cards {
		width: 360px;
		height: 430px;
	}

	.uide-deck-card {
		width: 230px;
		height: 324px;
	}
}

@media (max-width: 767px) {
	.uide-deck-container {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
		padding: 32px 24px;
	}

	.uide-deck-left {
		align-items: center;
	}

	.uide-deck-cta {
		align-self: center;
	}

	.uide-deck-center {
		order: -1;
	}

	.uide-deck-cards {
		width: 280px;
		height: 330px;
	}

	.uide-deck-card {
		width: 180px;
		height: 253px;
	}

	.uide-deck-title {
		font-size: 52px;
	}
}
