main {
	width: 80%;
	min-width: 860px;
	flex: 1;
	padding: 20px;
}

#titulos, #enlace-lista-container {
	border-left: solid 4px var(--rojo-ssreyes);
	padding-left: 30px;
}

.home-link {
	display: inline-block; /* Necesario para que transform funcione bien en un <a> */
	transition: transform 0.6s ease, color 0.6s ease;
}

.home-link:hover {
	color: var(--rojo-ssreyes);
	transform: translateX(5px);
}

#enlace-lista-container {
	padding-top: 4px;
	padding-bottom: 4px;
	margin-bottom: 20px;
}

#enlace-lista {
	padding: 2px 6px;
	margin: 0px 2px;
	border-radius: 4px;
	background-color: var(--rojo-ssreyes);
	border: 2px solid transparent;
	font-size: 0.8rem;
	font-weight: bold;
	color: white;
	line-height: 2.5;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#enlace-lista:hover {
	color: var(--rojo-ssreyes);
	background-color: white;
	box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.50);
}

#enlace-lista-proyectos-estrategicos {
	font-size: 1.5rem;
	color: var(--rojo-ssreyes);
	margin: 40px;
	font-weight: bold;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	transition: transform 0.3s ease;
}

#enlace-lista-proyectos-estrategicos::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 0%;
	height: 4px;
	background-color: var(--rojo-ssreyes);
	transition: width 0.6s ease;
}

#enlace-lista-proyectos-estrategicos:hover {
	transform: translateX(5px);
}

#enlace-lista-proyectos-estrategicos:hover::after {
	width: 80%;
}






#sections {
	margin: 50px 0 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(400px, 1fr));
	gap: 32px;
}

.content-column {
	/* align-self: start; */
	min-height: 200px;
	padding: 32px;
	border-radius: 8px;
	-webkit-box-shadow: 0px 0px 29px -9px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 0px 29px -9px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 29px -9px rgba(0, 0, 0, 0.15);
}

.content-column h2 {
	display: inline-block;
}

.content-column h2::after {
	content: "";
	display: block;
	width: 60%;
	height: 4px;
	background-color: var(--rojo-ssreyes);
	margin-top: 5px;
	transition: width 0.3s ease;
}

.content-column:hover h2::after {
	width: 80%;
}

.content-column h3 {
	font-weight: normal;
	/* color: var(--negro-ssreyes); */
}

/* Ocultar los <ul> por defecto */
.content-column .content-list {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	margin-top: 10px;
	padding-left: 20px;
	border-left: solid 3px var(--rojo-ssreyes);
}

.content-column .toggle-btn {
	width: 100%;
	margin: 10px 0;
	/* background-color: var(--rojo-ssreyes); */
	background-color: transparent;
	border: none;
	border-bottom: solid 3px var(--rojo-ssreyes);
	/* border: none; */
	padding: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content-column .toggle-btn:hover {
	-webkit-box-shadow: 0px 12px 15px -12px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 12px 15px -12px rgba(0, 0, 0, 0.75);
	box-shadow: 0px 12px 15px -12px rgba(0, 0, 0, 0.75);
}

.content-column .toggle-btn .arrow {
	transition: transform 0.3s ease;
}

.arrow img {
	width: 20px;
}
/* Cuando el contenedor del <ul> está desplegado, la flecha gira */
/* .content-column .content-list.show {
  max-height: 5000px;Un valor grande para asegurar que todo el contenido sea visible
} */

/* .content-column .content-list.show + .toggle-btn .arrow {
  transform: rotate(180deg); Gira la flecha 180 grados
} */
.content-column li {
	margin: 10px 0;
	transition: color 0.3s ease, transform 0.3s ease;
}

.content-column li:hover {
	/* color: var(--rojo-ssreyes); */
	transform: translateX(5px);
}

.current-li {
	font-weight: bold !important;
	padding: 10px;
}

.content-column a {
	position: relative;
	display: inline-block;
}

.content-column a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--rojo-ssreyes);
	transition: width 0.6s ease;
}

.content-column li:hover a::after {
	width: 60%;
}

.content-column li a {
	display: flex;
	gap: 4px;
}

.codProy, .separador-codProy-descProy {
	color: var(--rojo-ssreyes);
	font-weight: bold;
}

.separador-codProy-descProy::after {
	content: "-";
}

@media ( max-width : 860px) {
	main {
		width: 100%;
		min-width: 200px;
	}
	#sections {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.content-column {
		min-height: 200px;
		padding: 20px;
		width: 100%;
		max-width: 500px;
		min-width: 200px;
	}
}