section {
	padding: 100px 0px;
	font-family: "Neue Haas Unica";
}

/* GLOBAL SECTION STYLES */
.section-title {
	font-style: normal;
	margin-bottom: 30px;
}

.section-title.size-medium {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--Azul-oscuro);
}

.section-title.size-large {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: -0.32px;
}

.section-title.color-light {
	color: var(--Gris);
}

.section-title.color-dark {
	color: var(--Azul-oscuro);
}

.section-title.color-white {
	color: #fff;
}

.section-description {
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
}

.section-description.size-medium {
	font-size: 1.125rem;
	color: #242020;
}

.section-description.size-small {
	font-size: 0.9375rem;
	color: #242020;
}

/* end GLOBAL SECTION STYLES */

/* HERO */
.hero {
	background-image: url("../../images/rse_bg.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	top: 12px;
	height: 200px;
	position: relative;
	font-family: "DINPro";
	overflow: hidden;
	left: 50%;
	border-radius: 10px;
	transform: translateX(-50%);
	width: calc(100% - 24px);
}

.hero__color {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(26, 38, 125, 0.7);
}

.hero__container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: relative;
	z-index: 1;
}

.hero__container h1 {
	color: #d6f510;
	text-align: center;
	font-family: "DINPro";
	font-size: 25px;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 5px;
	text-transform: uppercase;
	z-index: 1;
}

/* end HERO */

/* OUR OBJECTIVE */
section.our-objective {
	background: #fff;
	border-radius: 38px;
}

section.our-objective .section-title.size-medium {
	margin-top: 100px;
}

/* ACTIONS GRID */
.actions-grid {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 15px;
	margin-top: 30px;
}

.actions-grid__item {
	border-radius: 15px;
	overflow: hidden;
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* SMALL CARDS - Estructura de 2 bloques */
.actions-grid__item.card-small {
	max-width: 312px;
	max-height: 477px;
	height: 90%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.actions-grid__item.card-small:hover,
.actions-grid__item.card-small:focus {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.actions-grid__item.card-small .card-image-block {
	height: 60%;
	position: relative;
	overflow: hidden;
}

.actions-grid__item.card-small .card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.actions-grid__item.card-small .card-content {
	padding: 20px;
	background: var(--Gris);
	color: #000;
	height: 40%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.actions-grid__item.card-small .card-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #000;
}

.actions-grid__item.card-small .card-description {
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0 0 15px 0;
	color: #666;
}

.actions-grid__item.card-small .card-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #000;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 25px;
	transition: all 0.3s ease;
	pointer-events: none; /* Evita que el bot贸n interfiera con el enlace principal */
}

/* LARGE CARDS - Con overlay sobre toda la imagen */
.actions-grid__item.card-large {
	height: 90%;
	width: 100%;
	position: relative;
}

.actions-grid__item.card-large .card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.actions-grid__item.card-large .card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	min-height: 50%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 79.33%);
	z-index: 2;
	display: flex;
	align-items: flex-end;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.actions-grid__item.card-large:hover .card-overlay,
.actions-grid__item.card-large:focus .card-overlay {
	opacity: 1;
}

.actions-grid__item.card-large:hover,
.actions-grid__item.card-large:focus {
	transform: scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.actions-grid__item.card-large .card-content {
	padding: 20px;
	width: 100%;
	color: white;
}

.actions-grid__item.card-large .card-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: white;
}

.actions-grid__item.card-large .card-description-wrapper {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 15px;
}

.actions-grid__item.card-large .card-description {
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	flex: 1;
	display: none;
}

.actions-grid__item.card-large .card-button {
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	pointer-events: none; /* Evita que el bot贸n interfiera con el enlace principal */
}

.actions-grid__item.card-large .card-button .arrow-icon {
	width: 20px;
	height: 20px;
	transform: rotate(45deg);
}

.arrow-icon {
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

/* end ACTIONS GRID */

/* MOBILE STYLES - Cards con width 100% y overlay siempre visible */
@media (max-width: 768px) {
	/* Ocultar grilla desktop en móvil */
	.actions-grid {
		display: none;
	}

	/* Mostrar grilla móvil */
	.actions-grid-mobile {
		display: grid;
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 15px;
		margin-top: 30px;
	}
	/* Large cards */
	.actions-grid__item.card-large {
		width: 100%;
		height: 90%;
		position: relative;
	}

	.actions-grid__item.card-large .card-overlay {
		opacity: 1;
	}

	/* Small cards */
	.actions-grid__item.card-small {
		width: 100%;
		max-width: none;
		max-height: 477px;
		height: 90%;
		display: block;
		position: relative;
		background: transparent;
		box-shadow: none;
	}

	.actions-grid__item.card-small:hover,
	.actions-grid__item.card-small:focus {
		transform: scale(1.02);
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	}

	.actions-grid__item.card-small .card-image-block {
		height: 100%;
		position: relative;
		overflow: hidden;
		border-radius: 15px;
	}

	.actions-grid__item.card-small .card-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.actions-grid__item.card-small .card-content {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		min-height: 50%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 79.33%);
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		padding: 20px;
		color: white;
		height: auto;
		opacity: 1;
	}

	.actions-grid__item.card-small .card-title {
		font-size: 1.2rem;
		font-weight: 700;
		margin: 0 0 10px 0;
		color: white;
	}

	.actions-grid__item.card-small .card-description {
		font-size: 0.9rem;
		line-height: 1.4;
		margin: 0 0 15px 0;
		color: rgba(255, 255, 255, 0.9);
		flex: 1;
	}

	.actions-grid__item.card-small .card-button {
		display: flex;
		align-items: center;
		justify-content: center;
		color: white;
		text-decoration: none;
		width: 40px;
		height: 40px;
		flex-shrink: 0;
		pointer-events: none;
		gap: 0;
		font-size: 0;
		text-transform: none;
		letter-spacing: 0;
		border-radius: 0;
	}

	.actions-grid__item.card-small .card-button .arrow-icon {
		display: none;
	}

	.actions-grid__item.card-small .card-button .arrow-icon-mobile {
		width: 20px;
		height: 20px;
		transform: rotate(45deg);
		display: block;
	}

	.actions-grid__item.card-small .card-button .card-button-text {
		display: none;
	}
}

/* end ACTIONS GRID */

/* end OUR OBJECTIVE */

/* OUR ACTIONS */
section.our-actions {
	background: #F5F5F5;
	border-radius: 38px;
	margin-top: -70px;
	padding: 55px 0px;
	padding-bottom: 64px;
}



/* end OUR ACTIONS */

@media (min-width: 769px) {
	/* Ocultar grilla móvil en desktop */
	.actions-grid-mobile {
		display: none;
	}

	section {
		padding: 130px 0px;
	}

	.section-title {
		font-family: "Neue Haas Unica";
		font-style: normal;
		margin-bottom: 30px;
	}

	.section-title.size-medium {
		font-size: 2.25rem;
		font-weight: 700;
		margin-bottom: 15px;
		color: var(--Azul-oscuro);
	}

	.section-title.size-large {
		font-size: 3.25rem;
		font-weight: 500;
		letter-spacing: -0.32px;
	}

	.section-title.color-light {
		color: var(--Gris);
	}

	.section-title.color-dark {
		color: var(--Azul-oscuro);
	}

	.section-description {
		font-style: normal;
		font-weight: 400;
		line-height: 22px;
	}

	.section-description.size-medium {
		font-size: 1.3125rem;
		color: #242020;
	}

	.section-description.size-small {
		font-size: 0.875rem;
		color: #242020;
	}

	/* HERO */
	.hero {
		background-image: url("../../images/rse_bg.webp");
		height: 590px;
		top: 24px;
		padding: 0px;
		margin: 0;
		width: calc(100% - 50px);
	}

	.hero__container h1 {
		font-size: 4.875rem;
	}

	/* end HERO */

	/* ACTIONS GRID DESKTOP */
	.actions-grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-auto-rows: auto;
		justify-content: center;
		gap: 20px;
		margin-top: 50px;
	}

	/* Card sizes for desktop - 4 columnas con large cards ocupando 2 */
	.actions-grid__item.card-small {
		grid-column: span 1;
		justify-self: center;
	}

	.actions-grid__item.card-large {
		grid-column: span 2;
	}

	/* Grid layout din谩mico - sin posicionamiento fijo */

	/* Desktop typography - Small cards */
	.actions-grid__item.card-small .card-title {
		font-size: 1.5rem;
	}

	.actions-grid__item.card-small .card-description {
		font-size: 1rem;
	}

	.actions-grid__item.card-small .card-button {
		font-size: 0.9rem;
	}

	/* Desktop typography - Large cards */
	.actions-grid__item.card-large .card-title {
		font-size: 1.5rem;
	}

	.actions-grid__item.card-large .card-description {
		font-size: 1rem;
		display: flex;
	}

	.actions-grid__item.card-large .card-button {
		width: 50px;
		height: 50px;
	}

	.actions-grid__item.card-large .card-button .arrow-icon {
		width: 24px;
		height: 24px;
	}

	.arrow-icon {
		width: 18px;
		height: 18px;
	}

	/* Desktop - Asegurar visibilidad correcta de elementos del botón */
	.actions-grid__item.card-small .card-button .arrow-icon-mobile {
		display: none;
	}

	.actions-grid__item.card-small .card-button .card-button-text {
		display: inline;
	}

}

/* ============================================ */
/* ESTILOS DE NEWS AGREGADOS PARA RSE INTERNA */
/* ============================================ */

/* NEWS */
section.news {
	background-color: #fff;
	border-radius: 38px;
}

.go-back-button {
	display: flex;
	align-items: center;
	font-family: "DINPro";
	gap: 10px;
	font-size: 1.125rem;
	font-weight: 500;
	color: #161933;
	text-decoration: none;
	width: fit-content;
	margin-bottom: 40px;
	transition: all 0.3s ease;
}

.go-back-button:hover {
	color: #000;
}

.go-back-button svg {
	transition: all 0.3s ease;
}

.go-back-button:hover svg {
	transform: translateX(-5px);
}

.new-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.new-content img {
	width: 100%;
	border-radius: 24px;
	height: auto;
	object-fit: cover;
}

.new-content-text {
	font-size: 1.3125rem;
	font-style: normal;
	font-weight: 400;
	line-height: 36px;
}

/* end NEWS */
