body {
	font-family: "Museo Sans", sans-serif;
	font-weight:300;
	color:#222;}

:root{
	--space-lg:70px;
	--space-md:40px;
	--space-sm:20px;
	--shadow-soft:0 6px 18px rgba(0,0,0,0.06);
	--shadow-hover:0 12px 28px rgba(0,0,0,0.10);
	--anim-fast:.2s ease;
	--anim:.25s ease;
	--anim-slow:.35s ease;}


a{
	color:#1c3965;
	text-decoration:none;
	transition:color var(--anim);}

a:hover{
	color:#1C3965;}

a,
button,
.card,
.dir-card,
.pub-card,
.noticia-card{
	transition:all var(--anim);}

hr{
	border:none;
	border-top:1px solid #e6e6e6;
	margin:30px 0;}

section{
	padding-bottom:var(--space-md);}

header {
	box-shadow:0 2px 8px rgba(0,0,0,0.06);
	border-bottom:1px solid #e6e6e6;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	background: #fff;}

header .img {
	background: url(/media/images/gobCL.jpg) no-repeat;
	height: 12px;
	width: 100%;}

header .title {
	display: inline-block;}

header .title img {
	width: 180px;
	display: block;}

header nav {
	margin-left: auto;}

header nav .nav {
	gap: 1.8rem;
	align-items: center;}

header nav .nav-link {
	position: relative;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: #333;
	padding: 8px 0;
	transition: color 0.3s ease;}

header .nav-link:focus,
header .nav-link:active,
header .nav-link.show,
header .dropdown-toggle.show {
	color: #333 !important;
	background: transparent !important;
	box-shadow: none !important;}

header nav .nav-link::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0%;
	height: 2px;
	background: #1c3965;
	transition: width 0.3s ease;}

header nav .nav-link:hover {
	color:#1c3965;}

header nav .nav-link:hover::before {
	width: 100%;
	background:#1c3965;}

header .dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;}

header .dropdown-toggle::after {
	margin-left: 6px;
	vertical-align: middle;}

header .dropdown-menu {
	width: 420px;
	max-width: calc(100vw - 40px);
	padding: 1rem 1.2rem;
	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
	right: 0;
	left: auto;
	animation: fadeMenu 0.25s ease;
	transform: none !important;
	top: 100%;}

header .dropdown-menu ul {
	column-count: 2;
	column-gap: 1.5rem;
	padding: 0;
	margin: 0;}

header .dropdown-menu li {
	list-style: none;
	break-inside: avoid;}

header .dropdown-item {
	padding: 6px 0;
	font-size: 0.9rem;
	color: #333;
	transition: all 0.2s ease;}

header .dropdown-item:hover {
	background: none;
	color: #1C3965;
	transform: translateX(3px);}

header .dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0;}

@keyframes fadeMenu {
	from {
		opacity: 0;
		transform: translateY(10px);}
	to {
		opacity: 1;
		transform: translateY(0);}}

.menu-toggle {
	display: none;
	width: 30px;
	height: 22px;
	position: relative;
	border: none;
	background: none;
	cursor: pointer;}

.menu-toggle span {
	position: absolute;
	width: 100%;
	height: 3px;
	background: #333;
	left: 0;
	transition: all 0.3s ease;}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg);
	top: 9px;}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg);
	bottom: 10px;}

.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 998;}

.menu-overlay.show {
	opacity: 1;
	visibility: visible;}

.titulo-seccion {
	font-family: "Noto Serif", serif;
	font-weight:700;
	font-size:30px;
	letter-spacing:.01em;
	position:relative;
	padding-left:18px;
	margin:0;}

.titulo-seccion:before {
	content:"";
	position:absolute;
	left:0;
	top:4px;
	bottom:4px;
	width:6px;
	background:#1c3965;
	border-radius:3px;}

.section-header,
.noticias-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 14px;
	margin-bottom: 28px;
	border-bottom: 1px solid #e5e5e5;}

.ver-todo {
	font-size: .85rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #444;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: color .2s ease;}

.ver-todo:after {
	content: "→";
	font-size: .9rem;
	transition: transform .2s ease;}

.ver-todo:hover {
	color: #1C3965;}

.ver-todo:hover:after {
	transform: translateX(4px);}

.noticias-home {
	margin-top:var(--space-lg);}

.noticias-home .noticia-card {
	background:#fff;
	box-shadow:var(--shadow-soft);
	transition:transform .25s ease, box-shadow .25s ease;}

.noticias-home .noticia-card:hover {
	transform:translateY(-4px);
	box-shadow:var(--shadow-hover);}

.noticias-home .noticia-img {
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;}

.noticias-home .noticia-img.grande {
	height: 340px;
	position: relative;}

.noticias-home .noticia-img.grande:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0) 40%,
		rgba(0,0,0,0.25)
	);}

.noticias-home h3,
.noticias-home h4 {
	font-family: "Noto Serif", serif;}

.noticias-home h3 {
	font-size: 1.6rem;}

.noticias-home h4 {
	font-size: 1.2rem;}

.noticias-home h3 a,
.noticias-home h4 a {
	color: #222;
	text-decoration: none;}

.noticias-home h3 a:hover,
.noticias-home h4 a:hover {
	color: #1c3965;}

.noticias-home .card-text {
	font-size: .95rem;
	color: #444;}

.noticias-home .meta {
	font-size: .8rem;
	color: #777;
	margin-top: 10px;}

.noticias-home .noticia-card .card-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;}

.noticias-home .noticia-card h4 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;}

.noticia-page{
	margin-top:70px;
	padding-bottom:60px;}

.noticia-header{
	margin-bottom:20px;}

.noticia-fecha{
	font-size:14px;
	color:#777;}

.noticia-body{
	font-size:17px;
	line-height:1.75;
	color:#222;}

.noticia-body h2{
	font-family: "Noto Serif", serif;
    font-size: 24px;
    font-weight: 700;
    padding-top: 25px;}

.noticia-img-float{
	float:left;
	width:48%;
	margin:0 25px 15px 0;}

.noticia-img-float img{
	width:100%;
	height:auto;
	border-radius:8px;}

.noticia-bajada{
	font-size:18px;
	font-weight:500;
	margin-bottom:15px;}

.noticia-texto p{
	margin-bottom:16px;}

.clear{
	clear:both;}

.noticia-link{
	margin-top:25px;}

.directorio-home {
	margin-top:var(--space-lg);
	padding-top:var(--space-lg);
	border-top: 1px solid #e6e6e6;}

.directorio-home .mapa-col {
	padding-right: 35px;
	position: sticky;
	top: 120px;}

.dir-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	background:#fff;
	transition: all .25s ease;}

.dir-card:hover {
	transform:translateY(-4px);
	box-shadow:var(--shadow-hover);}

.dir-img {
	width: 100%;
	aspect-ratio: 1/1;
	background-size: cover;
	background-position: center;
	background-color: #f2f2f2;}

.dir-card .card-body {
	padding: 16px;}

.dir-card .card-title {
	font-family: "Noto Serif", serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 8px;}

.dir-card .card-title a {
	color: #111;
	text-decoration: none;}

.dir-card .card-title a:hover {
	color: #1c3965;}

.location {
	font-family: "Museo Sans", sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #666;}

.location i {
	margin-right: 4px;}

.personas-section {
	margin-top: 40px;
	padding-top: 40px;}

.directorio-page{
	margin-top:var(--space-lg);
	padding-top: 0;
	border-top: none;}

.mapa {
	width: 100%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fafafa;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	padding: 30px 10px;}

.mapa svg {
	width: 100%;
	padding: 40px 30px;}

.mapa path {
	fill: #7e6694;
	stroke: #ffffff;
	stroke-width: 1;
	transition: 
		fill .2s ease,
		transform .2s ease;
	cursor: pointer;}

.mapa path:hover {
	fill: #654d7b;}

.mapa .disabled {
	cursor: default;
    fill: #afafaf;}

.mapa .disabled:hover {
	fill: #898989;}

.publicaciones-home {
	margin-top:var(--space-lg);
	padding-top:var(--space-lg);
	border-top: 1px solid #e6e6e6;}

.pub-card{
	border:1px solid #e5e5e5;
	border-radius:8px;
	overflow:hidden;
	background:#fff;
	transition:all .25s ease;
	display:flex;
	flex-direction:column;
	height:100%;}

.pub-card:hover{
	transform:translateY(-4px);
	box-shadow:var(--shadow-hover);}

.pub-img {
	width: 100%;
	aspect-ratio: 3 / 4;
	background-size: cover;
	background-position: center;
	background-color: #f2f2f2;}

.pub-card .card-body{
	padding:16px;
	display:flex;
	flex-direction:column;
	flex-grow:1;}

.pub-card .card-title{
	font-family:"Noto Serif", serif;
	font-size:16px;
	font-weight:700;
	line-height:1.35;
	margin-bottom:10px;
	display:-webkit-box;
	-webkit-line-clamp:3;
	-webkit-box-orient:vertical;
	overflow:hidden;}

.pub-card .card-title a {
	color: #111;
	text-decoration: none;}

.pub-card .card-title a:hover {
	color: #1c3965;}

.pub-meta{
	list-style:none;
	padding:0;
	margin-top:auto;
	font-family:"Museo Sans", sans-serif;
	font-size:14px;
	font-weight:300;
	color:#666;}

.pub-meta li {
	margin-bottom: 2px;}

.pub-card .card-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;}

.about-page{
	margin-top:var(--space-lg);
	padding-bottom:60px;}

.about-img{
	border-radius:8px;
	overflow:hidden;
	box-shadow:0 10px 30px rgba(0,0,0,0.1);}

.about-img img{
	width:100%;
	height:auto;
	display:block;}

.about-text{
	font-family:"Museo Sans", sans-serif;
	font-weight:300;
	font-size:16px;
	line-height:1.7;
	color:#333;}

.about-text p{
	margin-bottom:18px;}

.publicaciones-page{
	margin-top:var(--space-lg);
	padding-top:0;
	border-top:none;}

.ficha-layout{
	margin-top:var(--space-lg);
	padding:40px;
	border-radius:10px;}

.ficha-sidebar{
	position:sticky;
	top:90px;}

.ficha-img{
	width:100%;
	aspect-ratio:1/1;
	background-size:cover;
	background-position:center;
	border-radius:10px;
	margin-bottom:20px;
	box-shadow:0 10px 25px rgba(0,0,0,0.05);}

.pub-img{
	aspect-ratio:3/4;}

.ficha-meta{
	background:#f5f5f5;
	border:1px solid #e5e5e5;
	border-radius:8px;
	padding:18px;
	font-size:14px;}

.meta-item{
	margin-bottom:14px;}

.meta-item span{
	display:block;
	font-size:11px;
	font-weight:600;
	letter-spacing:.06em;
	color:#777;
	margin-bottom:3px;}

.meta-item div{
	color:#333;}

.ficha-actions{
	margin-top:18px;
	display:flex;
	flex-direction:column;
	gap:8px;}

.ficha-title{
	font-family:"Noto Serif", serif;
	font-weight:700;
	font-size:36px;
	line-height:1.25;
	margin-bottom:10px;}

.ficha-subtitle{
	font-size:18px;
	color:#444;
	margin-bottom:8px;}

.ficha-year{
	font-size:14px;
	color:#888;}

.ficha-location{
	font-size:14px;
	color:#777;
	margin-bottom:20px;}

.soft-divider{
	border:none;
	border-top:1px solid #eee;
	margin:25px 0;}

.ficha-text{
	font-size:17px;
	line-height:1.75;
	max-width:760px;
	color:#333;}

.ficha-text p{
	margin-bottom:18px;}

.ficha-relacionados{
	margin-top:60px;}

.btn{
	border-radius:6px;
	font-size:14px;
	padding:6px 14px;
	transition:all var(--anim);
	box-shadow:0 2px 6px rgba(0,0,0,0.05);}

.btn-outline-secondary{
	border-color:#d0d0d0;
	color:#333;}

.btn-outline-secondary:hover{
	background:#1c3965;
	border-color:#1c3965;
	color:#fff;}

.site-footer {
	background: #1c3965;
	color: #fff;
	padding: 50px 0 0;
	font-weight: 300;
	margin-top: 50px;}

.site-footer .footer-grid {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 40px;
	align-items: start;}

.site-footer .footer-logo img {
	width: 150px;
	height: auto;}

.site-footer .footer-info {
	font-size: 14px;
	line-height: 1.7;}

.site-footer .footer-info h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 5px;
	margin-top: 3px;}

.site-footer .footer-info p {
	color: rgba(255,255,255,0.85);
	margin-bottom: 3px;}

.footer-bottom {
	background: #162d4f;
	margin-top: 40px;
	padding: 15px 0;
	font-size: 13px;}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;}

.footer-links a {
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	margin-right: 15px;
	transition: color .2s ease;}

.footer-links a:hover {
	color: #fff;
	text-decoration: underline;}

.footer-copy {
	color: rgba(255,255,255,0.6);}

.card,
.dir-card,
.pub-card,
.noticia-card{
	background:#fff;
	border-radius:8px;
	box-shadow:var(--shadow-soft);}

.card:hover,
.dir-card:hover,
.pub-card:hover,
.noticia-card:hover{
	transform:translateY(-4px);
	box-shadow:var(--shadow-hover);}

@media (max-width: 1000px) {
	header {
		position: relative;}

	.menu-toggle {
		display: block;
		margin-left: auto;
		z-index: 1001;}

	header nav {
		position: fixed;
		top: 0;
		right: -300px;
		width: 300px;
		height: 100vh;
		background: #fff;
		padding: 70px 30px;
		box-shadow: -10px 0 30px rgba(0,0,0,0.15);
		transition: right 0.35s ease;
		z-index: 1000;
		overflow-y: auto;}

	header nav.open {
		right: 0;}

	header nav .nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;}

	header nav .nav-link {
		font-size: 1.05rem;}

	header .dropdown-menu {
		position: static;
		width: 100%;
		box-shadow: none;
		padding: 10px 0 0 15px;
		display: none;
		animation: none;}

	header .dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;}

	header .dropdown.open .dropdown-menu {
		display: block;}

	header .dropdown-menu ul {
		column-count: 1;}

	.directorio-home .mapa-col {
		display: none;}

	.noticia-img-float{
		float:none;
		width:100%;
		margin:0 0 15px 0;}}

@media (max-width: 768px) {
	.noticias-home .noticia-img.grande {
		height: 240px;}

	.noticias-home .titulo-seccion {
		font-size: 1.6rem;}

	.noticias-home .row {
		gap: 8px;}

	.noticias-home .ver-todo {
		font-size: 0.9rem;
		padding: 6px 0;}

	.about-img{
		margin-bottom:25px;}

	.site-footer {
		padding: 40px 20px 0;}

	.site-footer .footer-grid {
		grid-template-columns: 1fr;
		gap: 25px;}

	.footer-bottom-content {
		flex-direction: column;
		align-items: flex-start;}}