/* =========================================================================
   CIGIDEN R+ — Estilos de marca
   Bootstrap aporta grilla y responsive. Aquí solo van marca + componentes.
   ========================================================================= */

/* ------------------------------------------------------------------ */
/* Tipografía local: Inter (Fontsource, subset latin)                 */
/* ------------------------------------------------------------------ */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/inter/inter-latin-300-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/inter/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/inter/inter-latin-700-normal.woff2') format('woff2');
}

/* ------------------------------------------------------------------ */
/* Variables de marca (Manual de Marca v1.0 2026)                     */
/* ------------------------------------------------------------------ */
:root {
	--cig-orange: #E15200; /* Naranjo Alerta (primario) */
	--cig-dark:   #34302D; /* Negro amenazante (primario) */
	--cig-blue:   #2D5A7A; /* Azul Agua (secundario) */
	--cig-sky:    #90C8E8; /* Celeste Aire (secundario) */
	--cig-green:  #92B469; /* Verde Tierra (secundario) */
	--cig-red:    #C23721; /* Rojo Fuego (secundario) */
	--cig-gray:   #6c757d; /* Neutro para línea Infraestructuras */

	/* Reasignar el primary de Bootstrap al naranjo de marca */
	--bs-primary: var(--cig-orange);
	--bs-primary-rgb: 225, 82, 0;
	--bs-link-color: var(--cig-orange);
	--bs-link-hover-color: #b84400;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--cig-dark);
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; }

.cig-text-orange { color: var(--cig-orange) !important; }
.cig-kicker { color: var(--cig-orange); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }

/* Títulos de sección con subrayado corto (estilo del diseño) */
.cig-section-title {
	font-weight: 700;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.cig-link-more { color: var(--cig-orange); font-weight: 600; }
.cig-link-more:hover { color: #b84400; }

/* ------------------------------------------------------------------ */
/* Botones de marca                                                    */
/* ------------------------------------------------------------------ */
.cig-btn-primary {
	background: var(--cig-orange);
	color: #fff;
	border: 2px solid var(--cig-orange);
	border-radius: 999px;
	padding: .6rem 1.6rem;
	font-weight: 600;
}
.cig-btn-primary:hover { background: #b84400; border-color: #b84400; color: #fff; }

.cig-btn-outline-light {
	background: #fff;
	color: var(--cig-dark);
	border: 2px solid #fff;
	border-radius: 999px;
	padding: .6rem 1.6rem;
	font-weight: 600;
}
.cig-btn-outline-light:hover { background: #f0f0f0; border-color: #f0f0f0; color: var(--cig-dark); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.cig-header .cig-logo-fallback {
	color: var(--cig-orange);
	font-size: 1.5rem;
	letter-spacing: .02em;
}
.cig-nav .nav-link {
	color: var(--cig-dark);
	font-weight: 500;
	font-size: .95rem;
}
.cig-nav .nav-link:hover,
.cig-nav .nav-link.active { color: var(--cig-orange); }
.cig-nav .dropdown-menu { font-size: .92rem; }
.cig-nav .dropdown-item:active { background: var(--cig-orange); }
.cig-lang { font-size: .9rem; font-weight: 600; color: var(--cig-dark); }
.cig-search-toggle { color: var(--cig-dark); }
.cig-search-toggle:hover { color: var(--cig-orange); }

/* ------------------------------------------------------------------ */
/* Hero / carrusel                                                     */
/* ------------------------------------------------------------------ */
.cig-hero-slide {
	position: relative;
	min-height: 560px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	color: #fff;
}
.cig-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(52,48,45,.75) 0%, rgba(52,48,45,.35) 70%, rgba(52,48,45,.1) 100%);
}
.cig-hero-sub { font-weight: 600; letter-spacing: .05em; opacity: .9; }

.cig-hero-indicators { margin-bottom: 2rem; }
.cig-hero-indicators [data-bs-target] {
	width: 34px; height: 4px; border-radius: 2px; opacity: .5;
}
.cig-hero-indicators .active { background: var(--cig-orange); opacity: 1; }

/* ------------------------------------------------------------------ */
/* Presentación + indicadores                                          */
/* ------------------------------------------------------------------ */
.cig-presentacion { margin-top: -80px; position: relative; z-index: 3; }
.cig-presentacion-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.cig-presentacion-title { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.cig-stat { display: flex; align-items: center; gap: .75rem; }
.cig-stat-icon { color: var(--cig-dark); flex: 0 0 auto; }
.cig-stat-img { width: 42px; height: 42px; object-fit: contain; }
.cig-stat-num { color: var(--cig-blue); font-size: 2rem; font-weight: 700; line-height: 1; display: block; }
.cig-stat-label { font-size: .85rem; color: var(--cig-dark); display: block; }

@media (max-width: 991.98px) {
	.cig-presentacion { margin-top: 0; }
}

/* ------------------------------------------------------------------ */
/* Tarjetas (noticias)                                                 */
/* ------------------------------------------------------------------ */
.cig-card {
	background: #fff;
	border: 0;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cig-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); transform: translateY(-3px); }
.cig-card-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #e9ecef; }
.cig-card-media img { object-fit: cover; height: 100%; }
.cig-card-placeholder { display: block; width: 100%; height: 100%; background: #dee2e6; }
.cig-card-body { padding: .9rem 1rem 1.1rem !important; }
.cig-card-date { color: #8a8a8a; font-weight: 600; letter-spacing: .02em; }
.cig-card-body h3 { color: var(--cig-dark); line-height: 1.3; }
.cig-card-rule { display: block; width: 40px; height: 3px; background: var(--cig-orange); margin: .5rem 0 .75rem; }
.cig-badge {
	position: absolute; top: 10px; left: 10px;
	background: var(--cig-orange); color: #fff;
	font-size: .7rem; font-weight: 600;
	padding: .2rem .6rem; border-radius: 3px;
}

/* ------------------------------------------------------------------ */
/* Eventos                                                             */
/* ------------------------------------------------------------------ */
.cig-evento-card {
	background: #fff; border: 1px solid #eee; border-radius: 8px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.cig-evento-fecha {
	background: var(--cig-orange); color: #fff;
	border-radius: 6px; padding: .5rem .6rem; min-width: 58px;
	align-self: flex-start;
}
.cig-evento-dia { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.cig-evento-mes { font-size: .75rem; font-weight: 600; letter-spacing: .05em; }
.cig-evento-tipo { color: var(--cig-blue); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Investigadores                                                      */
/* ------------------------------------------------------------------ */
.cig-persona {
	background: #fff; border: 1px solid #eee; border-radius: 8px;
	overflow: hidden; display: flex; flex-direction: column;
	transition: box-shadow .2s ease;
	position: relative;
}
.cig-persona:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); }
.cig-persona-foto { aspect-ratio: 5 / 6; background: #e9ecef; overflow: hidden; }
.cig-persona-foto img { object-fit: cover; height: 100%; filter: grayscale(100%); transition: filter .3s ease; }
.cig-persona:hover .cig-persona-foto img { filter: grayscale(0%); }
.cig-persona-placeholder { display:block; width:100%; height:100%; background:#dee2e6; }
.cig-persona-nombre { font-weight: 700; }
.cig-persona-cargo {
	font-size: .75rem; font-weight: 600; color: var(--cig-dark);
	background: #f1f3f5; padding: .15rem .5rem; border-radius: 4px;
}
.cig-persona-uni { color: var(--cig-blue); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Newsletter                                                          */
/* ------------------------------------------------------------------ */
.cig-newsletter { background: var(--cig-dark); }
.cig-newsletter input[type="email"],
.cig-newsletter input[type="text"] {
	border: 0; border-radius: 4px; padding: .7rem 1rem; width: 100%;
}
.cig-newsletter input[type="submit"],
.cig-newsletter .wpcf7-submit {
	background: var(--cig-orange); color:#fff; border:0;
	border-radius: 4px; padding: .7rem 1.4rem; font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Universidades                                                       */
/* ------------------------------------------------------------------ */
.cig-uni-logo { max-height: 80px; width: auto; opacity: .75; filter: grayscale(100%); transition: all .3s ease; }
.cig-uni-logo:hover { opacity: 1; filter: grayscale(0%); }

/* ------------------------------------------------------------------ */
/* Páginas interiores                                                  */
/* ------------------------------------------------------------------ */
.cig-breadcrumb { color: #9aa0a6; letter-spacing: .04em; }
.cig-breadcrumb a { color: #9aa0a6; }
.cig-breadcrumb a:hover { color: var(--cig-orange); }
.cig-page-title {
	font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem);
	position: relative; padding-bottom: .6rem;
}
.cig-page-title::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 70px; height: 3px; background: var(--cig-orange);
}
.cig-entry-content { font-size: 1.05rem; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.cig-footer { background: var(--cig-dark); }
.cig-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.cig-footer a:hover { color: #fff; }
.cig-footer-menu li { margin-bottom: .5rem; }

/* ------------------------------------------------------------------ */
/* Paginación                                                          */
/* ------------------------------------------------------------------ */
.cig-pagination .page-numbers {
	display: inline-block; padding: .4rem .8rem; margin: 0 .15rem;
	border: 1px solid #dee2e6; border-radius: 4px; color: var(--cig-dark);
	text-decoration: none;
}
.cig-pagination .page-numbers.current { background: var(--cig-orange); color:#fff; border-color: var(--cig-orange); }

/* =====================================================================
 * PÁGINAS INTERIORES — El Centro / Nosotros
 * ================================================================== */

/* Banner de imagen (hero interior sin texto) */
.cig-banner{
	background-size:cover;
	background-position:center;
	background-color:#c9c9c9;
}
.cig-banner--grande{ height:340px; }
.cig-banner--medio{ height:220px; }
@media (max-width:768px){
	.cig-banner--grande{ height:200px; }
	.cig-banner--medio{ height:150px; }
}

/* Encabezado (breadcrumb + título) */
.cig-encabezado{ padding:2.5rem 0 0.5rem; }
.cig-encabezado__crumb{
	font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;
	color:#8a8a8a; margin-bottom:1rem;
}

/* Texto + imagen */
.cig-txtimg{ padding:2.5rem 0; }
.cig-txtimg.cig-bg-claro{ background:#f4f4f3; }
.cig-txtimg__sub{
	font-weight:700; font-size:1.6rem; color:var(--cig-dark); margin-bottom:1.25rem;
}
.cig-txtimg__lead{
	font-weight:700; font-size:1.15rem; color:var(--cig-dark); margin-bottom:1rem;
}
.cig-txtimg__body{ color:#3f3b38; line-height:1.7; }
.cig-txtimg__body p{ margin-bottom:1rem; }
.cig-txtimg__img{ width:100%; border-radius:2px; object-fit:cover; }

/* Tarjetas de enlace */
.cig-cards-enlace{ padding:2.5rem 0 3rem; }
.cig-cardlink{
	position:relative; display:flex; flex-direction:column; justify-content:flex-end;
	min-height:300px; padding:1.5rem; text-decoration:none;
	background-color:#8f8f8f; background-size:cover; background-position:center;
	color:#fff; transition:transform .25s ease, box-shadow .25s ease;
}
.cig-cardlink:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(52,48,45,.28); color:#fff; }
.cig-cardlink__title{ font-size:1.35rem; font-weight:700; line-height:1.2; }
.cig-cardlink__cta{
	display:flex; align-items:center; gap:.4rem; margin-top:.75rem;
	font-size:.95rem; color:#fff;
}

/* Directores */
.cig-directores{ background:#f0f0ef; padding:3rem 0; }
.cig-director{
	display:flex; background:#fff; border:1px solid #e6e6e4;
	height:100%; overflow:hidden;
}
.cig-director__foto{
	flex:0 0 40%; min-height:230px; background-size:cover; background-position:center;
	filter:grayscale(100%);
}
.cig-director__body{ padding:1.4rem 1.5rem; }
.cig-director__nombre{
	font-size:1.25rem; font-weight:700; color:var(--cig-dark);
	padding-bottom:.5rem; margin-bottom:.75rem; border-bottom:3px solid var(--cig-green);
	display:inline-block;
}
.cig-director__cargo{
	display:flex; align-items:center; gap:.4rem;
	font-weight:700; font-size:.9rem; color:var(--cig-dark); margin-bottom:.6rem;
}
.cig-director__desc{ font-size:.9rem; color:#5b5651; line-height:1.6; margin-bottom:1rem; }

/* Enlace con flecha (naranjo) */
.cig-link-arrow{
	display:inline-flex; align-items:center; gap:.4rem;
	color:var(--cig-orange); font-weight:600; text-decoration:none;
}
.cig-link-arrow:hover{ color:#b84400; gap:.6rem; transition:gap .2s ease; }

/* Título de sección con subrayado centrado (solo variante --green, ej. Directores) */
.cig-section-title--green{
	margin-bottom:2rem; padding-bottom:.6rem; position:relative;
}
.cig-section-title--green::after{
	content:""; position:absolute; left:50%; transform:translateX(-50%);
	bottom:0; width:56px; height:3px; background:var(--cig-green);
}

/* Misión / Visión (dos mitades con imagen propia) */
.cig-mv { display:flex; flex-wrap:wrap; }
.cig-mv__half {
	flex:1 1 50%; min-height:340px; background-size:cover; background-position:center;
	display:flex; align-items:center; padding:2.5rem;
}
.cig-mv__half { justify-content:flex-start; }
.cig-mv__half--right { justify-content:flex-end; }
.cig-mv__card { background:#fff; padding:1.75rem; max-width:380px; }
.cig-mv__title {
	font-size:1.4rem; font-weight:700; color:var(--cig-dark);
	padding-bottom:.5rem; margin-bottom:1rem; border-bottom:3px solid var(--cig-sky);
	display:inline-block;
}
.cig-mv__card p { color:#3f3b38; line-height:1.7; margin:0; }
@media (max-width: 767.98px){
	.cig-mv__half { flex:1 1 100%; justify-content:center; }
	.cig-mv__card { max-width:100%; }
}

/* Objetivos (panel naranjo) */
.cig-objetivos{ padding:2rem 0 3rem; }
.cig-objetivos__panel{ background:var(--cig-orange); color:#fff; padding:2.5rem; }
.cig-objetivos__title{ font-size:2.4rem; font-weight:700; margin-bottom:1rem; }
.cig-objetivos__lead{ font-size:1rem; line-height:1.6; margin-bottom:1.5rem; }
.cig-objetivos__list{ list-style:none; margin:0; padding:0; }
.cig-objetivos__list li{
	display:flex; align-items:center; gap:.75rem;
	padding:.85rem 0; border-bottom:1px solid rgba(255,255,255,.5);
	font-weight:700; font-size:1.05rem;
}
.cig-objetivos__img{
	min-height:280px; background-size:cover; background-position:center; background-color:#8f8f8f;
}

/* Breadcrumb (árbol oficial) */
.cig-breadcrumb{
	font-size:.8rem; letter-spacing:.05em; text-transform:uppercase;
	color:#8a8a8a; margin-bottom:1rem; display:flex; flex-wrap:wrap; align-items:center; gap:.5rem;
}
.cig-breadcrumb a{ color:#8a8a8a; text-decoration:none; }
.cig-breadcrumb a:hover{ color:var(--cig-orange); }
.cig-breadcrumb__sep{ color:#c0c0c0; }
.cig-breadcrumb__current{ color:var(--cig-dark); font-weight:600; }

/* Ficha de perfil (single persona) — maqueta del Figma «Ficha perfil».
   Texto a la izquierda, retrato a la derecha sobre la textura de marca. */
.cig-ficha{
	position:relative; overflow:hidden; isolation:isolate;
	padding:3rem 0 4rem;
}
/* La textura de terremoto (círculos concéntricos) ocupa la mitad derecha y
   sangra hasta el borde de la ventana, por detrás del retrato. */
.cig-ficha::before{
	content:""; position:absolute; inset:0 0 0 auto; width:52%;
	background:url("../img/textura-terremoto.png") left top / auto 130% no-repeat;
	opacity:.28; z-index:-1; pointer-events:none;
}

.cig-ficha__nombre{
	font-size:clamp(1.9rem,4vw,2.6rem); line-height:1.1; margin-bottom:.75rem;
}
.cig-ficha__nombre::after{
	content:""; display:block; width:64px; height:3px;
	background:var(--cig-orange); margin-top:.75rem;
}

/* Cargo y botón ORCID comparten renglón. */
.cig-ficha__meta{
	display:flex; align-items:center; justify-content:space-between;
	flex-wrap:wrap; gap:1rem; margin:1.5rem 0 1.25rem;
}
.cig-ficha__cargo{ font-weight:700; color:var(--cig-orange); margin:0; }

.cig-ficha__orcid{
	display:inline-flex; align-items:center; gap:.5rem;
	background:#fff; border:1px solid #e2e2e2; border-radius:999px;
	padding:.5rem 1.1rem;
	font-size:.85rem; font-weight:600; color:var(--cig-dark); text-decoration:none;
	transition:border-color .2s ease, color .2s ease;
}
.cig-ficha__orcid:hover{ border-color:var(--cig-orange); color:var(--cig-orange); }
.cig-orcid-ico{ width:18px; height:18px; flex:0 0 auto; }

.cig-ficha__afiliacion,
.cig-ficha__form{ font-size:.85rem; line-height:1.7; color:#3f3b38; margin-bottom:1.25rem; }

/* Tarjeta gris de Áreas de investigación. */
.cig-ficha__areas{
	background:#f6f6f5; border:1px solid #ececec; border-radius:10px;
	padding:1.5rem; margin-top:1.5rem;
}
.cig-ficha__areas-titulo{ font-size:.95rem; margin-bottom:.9rem; }
.cig-ficha__areas p{ font-size:.85rem; line-height:1.7; color:#3f3b38; }
.cig-ficha__areas p:last-child{ margin-bottom:0; }
.cig-ficha__extra{ margin-top:1.5rem; line-height:1.7; }

/* Retrato: pegado abajo, alineado al borde derecho del contenedor. */
.cig-ficha__media{ display:flex; align-items:flex-end; justify-content:flex-end; }
.cig-ficha__foto{
	display:block; width:100%; max-width:420px;
	aspect-ratio:5 / 6; object-fit:cover; object-position:top center;
	filter:grayscale(100%);
}

@media (max-width: 991.98px){
	.cig-ficha{ padding-bottom:2rem; }
	.cig-ficha::before{ display:none; }
	.cig-ficha__media{ justify-content:flex-start; order:-1; }
	.cig-ficha__foto{ max-width:280px; }
}

/* Publicaciones al pie de la ficha: sin la textura de ondas del Home. */
.cig-publicaciones--persona{ padding:3rem 0 4rem; }

/* =====================================================================
 * HOME — utilidades de color de marca (badges)
 * ================================================================== */
.cig-bg-orange { background: var(--cig-orange) !important; color:#fff !important; }
.cig-bg-blue   { background: var(--cig-blue) !important;   color:#fff !important; }
.cig-bg-green  { background: var(--cig-green) !important;  color:#fff !important; }
.cig-bg-red    { background: var(--cig-red) !important;    color:#fff !important; }
.cig-bg-sky    { background: var(--cig-sky) !important;    color:#0f3b5f !important; }

/* Enlace "Ver todas" con subrayado naranjo */
.cig-link-underline { position: relative; padding-bottom: .35rem; }
.cig-link-underline::after {
	content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--cig-orange);
}

/* =====================================================================
 * HOME — Agenda / Eventos (imagen + cuerpo sobrepuesto)
 * ================================================================== */
.cig-eventos { background:#f0f0ef; padding: 3.5rem 0; }
.cig-evento { display:flex; flex-direction:column; height:100%; }
.cig-evento__img {
	height: 190px; background-size:cover; background-position:center; background-color:#c9c9c9;
	border-radius:6px 6px 0 0;
}
.cig-evento__body {
	background:#fff; border-radius:8px; padding:1.15rem 1.15rem 1.25rem;
	margin:-2.75rem 1rem 0; position:relative; box-shadow:0 8px 22px rgba(52,48,45,.10);
	flex:1 1 auto; display:flex; flex-direction:column;
}
.cig-evento__fecha { margin-right:.85rem; line-height:1; }
.cig-evento__dia { display:block; font-size:2rem; font-weight:700; color:var(--cig-green); }
.cig-evento__mes { display:block; font-size:.8rem; font-weight:700; letter-spacing:.06em; color:var(--cig-dark); }
.cig-evento__tipo { font-size:.78rem; color:var(--cig-dark); margin:0 0 .15rem; }
.cig-evento__titulo { font-size:1rem; font-weight:700; color:var(--cig-dark); line-height:1.25; margin:0; }
.cig-evento__lugar { font-size:.82rem; color:#7a756f; margin:.75rem 0 0; }
.cig-evento__cta { margin-top:auto; padding-top:.9rem; font-size:.9rem; }

/* =====================================================================
 * HOME — Publicaciones (ondas + tarjetas)
 * ================================================================== */
.cig-publicaciones { position:relative; padding: 3.5rem 0 4rem; overflow:hidden; }
.cig-publicaciones__waves {
	position:absolute; inset:0 0 auto 0; height:280px; z-index:0; opacity:.9;
	background-repeat:no-repeat; background-position:top center; background-size:cover;
	background-image:url("../img/fondo-lineas.png");
}
.cig-pub {
	background:#fff; border:1px solid #ececec; border-radius:8px; padding:1.1rem;
	display:flex; flex-direction:column; height:100%; position:relative;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cig-pub:hover { box-shadow:0 12px 26px rgba(52,48,45,.12); transform:translateY(-3px); }
.cig-pub__badge {
	align-self:flex-start; font-size:.68rem; font-weight:700; line-height:1.1;
	padding:.28rem .55rem; border-radius:4px; margin-bottom:.75rem;
}
.cig-pub__title { font-size:.95rem; font-weight:700; color:var(--cig-dark); line-height:1.3; margin:0; }
.cig-pub__rule { display:block; width:38px; height:3px; background:var(--cig-orange); margin:.6rem 0 .75rem; }
.cig-pub__autores { font-size:.78rem; color:#6f6a65; margin:0 0 .6rem; }
.cig-pub__anio { font-size:.85rem; font-weight:700; color:var(--cig-orange); margin:0 0 .75rem; }
.cig-pub .cig-link-more { margin-top:auto; }

/* =====================================================================
 * HOME — Newsletter (imagen + overlay azul + formulario en línea)
 * ================================================================== */
.cig-newsletter {
	position:relative; background-size:cover; background-position:center;
	background-color: var(--cig-blue); padding: 4rem 0;
}
.cig-newsletter__overlay {
	position:absolute; inset:0;
	background: linear-gradient(90deg, rgba(30,66,94,.92) 0%, rgba(30,66,94,.75) 40%, rgba(30,66,94,.15) 75%, rgba(30,66,94,0) 100%);
}
.cig-newsletter__title { color:#fff; font-weight:700; font-size:clamp(1.6rem,3vw,2.2rem); line-height:1.15; margin-bottom:1rem; }
.cig-newsletter__text { color:rgba(255,255,255,.85); line-height:1.6; margin-bottom:1.5rem; max-width:46ch; }
/* Formulario CF7: input + botón en una barra (poner ambos tags en la misma
   línea del formulario CF7, ver README). En móvil se apilan. */
.cig-newsletter__form .wpcf7-form p { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; margin:0; }
/* CF7 envuelve cada campo en un <span class="wpcf7-form-control-wrap">: el
   ítem flex es ese span, no el input, así que el ancho se reparte ahí. */
.cig-newsletter__form .wpcf7-form-control-wrap { flex:1 1 260px; min-width:0; }
.cig-newsletter__form input[type="email"],
.cig-newsletter__form input[type="text"] {
	width:100%; min-width:0; border:0; border-radius:6px; padding:.85rem 1rem; font-size:1rem;
}
.cig-newsletter__form input[type="submit"],
.cig-newsletter__form .wpcf7-submit {
	flex:0 0 auto; background:var(--cig-orange); color:#fff; border:0; border-radius:6px;
	padding:.85rem 1.6rem; font-weight:700; cursor:pointer;
}
.cig-newsletter__form input[type="submit"]:hover,
.cig-newsletter__form .wpcf7-submit:hover { background:#b84400; }

/* =====================================================================
 * RESPONSIVE (móvil) — ajustes finos
 * ================================================================== */
@media (max-width: 575.98px) {
	.cig-hero-slide { min-height: 460px; }
	.cig-hero-actions .btn { width:100%; text-align:center; }
	.cig-stat-num { font-size: 1.7rem; }
	.cig-evento__body { margin-left:.5rem; margin-right:.5rem; }
	.cig-newsletter__form .wpcf7-form p { flex-direction:column; align-items:stretch; }
	.cig-newsletter__form .wpcf7-form-control-wrap { flex:0 0 auto; width:100%; }
	.cig-newsletter__form input[type="submit"],
	.cig-newsletter__form .wpcf7-submit { width:100%; }
}

/* Footer: logo, instituciones, contacto con ícono, redes */
.cig-footer-logo { max-height: 46px; width: auto; }
.cig-footer-inst { margin-top: .25rem; }
.cig-inst-logo { max-height: 62px; width: auto; max-width: 120px; filter: brightness(0) invert(1); opacity: .9; }
.cig-footer-contact { display: flex; align-items: flex-start; gap: .5rem; }
.cig-footer-ico { width: 18px; height: 18px; margin-top: 2px; filter: brightness(0) invert(1); opacity: .8; }
.cig-footer-social img { display: block; border-radius: 6px; }

/* =====================================================================
 * Buscador overlay (estilo tanik) + menú offcanvas
 * ================================================================== */
body.cig-no-scroll { overflow: hidden; }

.cig-search-overlay {
	position: fixed; inset: 0; z-index: 1080;
	background: rgba(52,48,45,.97);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.cig-search-overlay.is-open { opacity: 1; visibility: visible; }
.cig-search-close {
	position: absolute; top: 24px; right: 30px;
	background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
	opacity: .8;
}
.cig-search-close:hover { opacity: 1; color: var(--cig-orange); }
.cig-search-inner { width: 100%; max-width: 760px; padding: 1.5rem; text-align: center; }
.cig-search-heading {
	display: block; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1.25rem;
}
.cig-search-field {
	width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.5);
	color: #fff; font-size: clamp(1.3rem, 4vw, 2.4rem); padding: .5rem .25rem; text-align: center;
}
.cig-search-field:focus { outline: none; border-bottom-color: var(--cig-orange); }
.cig-search-field::placeholder { color: rgba(255,255,255,.45); }
.cig-search-hint { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 1rem; }
.cig-search-sug { margin-top: 2rem; }
.cig-search-sug__label {
	display: block; color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase;
	letter-spacing: .06em; margin-bottom: .75rem;
}
.cig-search-sug__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cig-chip {
	display: inline-block; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.4);
	border-radius: 999px; color: #fff; text-decoration: none; font-size: .85rem; transition: all .2s ease;
}
.cig-chip:hover { background: var(--cig-orange); border-color: var(--cig-orange); color: #fff; }

/* Offcanvas (menú móvil desde la derecha) */
.cig-offcanvas { --bs-offcanvas-width: min(84vw, 340px); }
@media (max-width: 991.98px) {
	.cig-offcanvas .cig-nav .nav-link { padding: .6rem 0; font-size: 1.05rem; }
	.cig-offcanvas .cig-nav-extras { margin-top: 1rem; }
}
.navbar-toggler:focus { box-shadow: none; }

/* =====================================================================
 * Header en HOME: transparente sobre el hero (logo/menú blancos).
 * Al hacer scroll pasa a sólido (blanco, menú oscuro).
 * ================================================================== */
.cig-brand-color, .cig-brand-white { max-height: 46px; width: auto; display: block; }
.cig-brand-white { display: none; }

.cig-header--home {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
	background: transparent; border: 0;
	transition: background-color .3s ease, box-shadow .3s ease;
}
/* En home, el hero queda detrás del header (sin recorte). */
.cig-main--home .cig-hero-slide { min-height: 640px; }

/* Colores blancos cuando el header está transparente sobre el hero. */
.cig-header--home:not(.is-scrolled) .cig-brand-color { display: none; }
.cig-header--home:not(.is-scrolled) .cig-brand-white { display: block; }
.cig-header--home:not(.is-scrolled) .cig-nav .nav-link,
.cig-header--home:not(.is-scrolled) .cig-lang,
.cig-header--home:not(.is-scrolled) .cig-icon-btn { color: #fff; }
.cig-header--home:not(.is-scrolled) .cig-nav .nav-link:hover,
.cig-header--home:not(.is-scrolled) .cig-nav .nav-link.active { color: #fff; opacity: .8; }

/* Al hacer scroll: header sólido blanco. */
.cig-header--home.is-scrolled {
	background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.cig-header--home.is-scrolled .cig-brand-white { display: none; }
.cig-header--home.is-scrolled .cig-brand-color { display: block; }

.cig-icon-btn { color: var(--cig-dark); background: none; border: 0; }

/* X de cierre del menú móvil (siempre visible). */
.cig-offcanvas-close {
	background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--cig-dark);
	cursor: pointer; padding: 0 .25rem;
}
.cig-offcanvas-close:hover { color: var(--cig-orange); }

/* En móvil el menú no está sobre el hero, así que los iconos van oscuros. */
@media (max-width: 991.98px){
	.cig-header--home:not(.is-scrolled) .cig-icon-btn { color: #fff; }
}

/* =====================================================================
 * Animaciones de aparición al hacer scroll (scroll-reveal)
 * ================================================================== */
.cig-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s ease, transform .6s ease;
	will-change: opacity, transform;
}
.cig-reveal--fade  { transform: none; }
.cig-reveal--left  { transform: translateX(-28px); }
.cig-reveal--right { transform: translateX(28px); }
.cig-reveal--scale { transform: scale(.94); }
.cig-reveal.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.cig-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================
 * Menú con hijos: el padre navega, la flecha abre el submenú.
 * En desktop el submenú abre también al pasar el mouse.
 * ================================================================== */
.cig-nav .cig-caret {
	background: none; border: 0; padding: 0 .35rem; cursor: pointer; color: inherit;
	display: inline-flex; align-items: center;
}
.cig-nav .cig-caret::after {
	display: inline-block; content: ""; margin-left: .1em;
	vertical-align: middle; border-top: .3em solid; border-right: .3em solid transparent;
	border-bottom: 0; border-left: .3em solid transparent;
}
.cig-nav .nav-item.dropdown { display: flex; align-items: center; position: relative; }
@media (min-width: 992px) {
	/* El submenú siempre se despliega HACIA ABAJO, alineado a la izquierda. */
	.cig-nav .dropdown-menu {
		position: absolute; top: 100%; bottom: auto; left: 0; right: auto;
		margin-top: .25rem; transform: none !important;
	}
	/* Abrir al pasar el mouse. */
	.cig-nav .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
	/* En el offcanvas, el submenú fluye dentro del panel (no flotante). */
	.cig-offcanvas .cig-nav .nav-item.dropdown { flex-wrap: wrap; }
	.cig-offcanvas .cig-nav .dropdown-menu { position: static; width: 100%; box-shadow: none; padding-left: .5rem; transform: none !important; }
}

/* =====================================================================
 * Ajustes de contenido por bloques (páginas armadas con Lazy Blocks)
 * ================================================================== */

/* El contenido "normal" (párrafos, títulos, listas insertados como bloques
 * nativos) se centra en un contenedor; las secciones CIGIDEN (<section>)
 * siguen a ancho completo con su propio contenedor interno. */
/* Cualquier bloque NATIVO (párrafo, título, lista, imagen, grupo, columnas…)
 * que NO sea una <section> de CIGIDEN se acota al MISMO contenedor que las
 * secciones (contenedor Bootstrap responsivo), alineado a la IZQUIERDA por
 * defecto y respetando la alineación que se elija en el editor. */
.cig-page-content > *:not(section) {
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: .75rem;
	padding-right: .75rem;
	text-align: left;
}
@media (min-width: 576px)  { .cig-page-content > *:not(section) { max-width: 540px; } }
@media (min-width: 768px)  { .cig-page-content > *:not(section) { max-width: 720px; } }
@media (min-width: 992px)  { .cig-page-content > *:not(section) { max-width: 960px; } }
@media (min-width: 1200px) { .cig-page-content > *:not(section) { max-width: 1140px; } }
@media (min-width: 1400px) { .cig-page-content > *:not(section) { max-width: 1320px; } }

/* Respetar la alineación elegida en Gutenberg (izquierda / centro / derecha). */
.cig-page-content .has-text-align-left   { text-align: left; }
.cig-page-content .has-text-align-center { text-align: center; }
.cig-page-content .has-text-align-right  { text-align: right; }
.cig-page-content .alignwide,
.cig-page-content .alignfull { max-width: none; }
.cig-page-content { overflow-x: hidden; }
.cig-mv, .cig-banner, .cig-newsletter, .cig-objetivos { max-width: 100%; }

/* =====================================================================
 * Menú: evitar que el submenú se esconda al bajar el mouse (gap)
 * ================================================================== */
@media (min-width: 992px) {
	.cig-nav .dropdown-menu { margin-top: 0; padding-top: .4rem; }
	/* Puente invisible bajo el ítem padre: conserva el hover al cruzar. */
	.cig-nav .nav-item.dropdown::before {
		content: ""; position: absolute; left: 0; right: 0; top: 100%;
		height: 14px; background: transparent;
	}
}

/* =====================================================================
 * Efecto de zoom en las fotos al pasar el mouse
 * ================================================================== */
.cig-card-media, .cig-evento, .cig-director { overflow: hidden; }
.cig-card-media img,
.cig-evento__img,
.cig-director__foto,
.cig-txtimg__img {
	transition: transform .6s ease;
	will-change: transform;
}
.cig-card:hover .cig-card-media img,
.cig-evento:hover .cig-evento__img,
.cig-director:hover .cig-director__foto,
.cig-txtimg__img:hover {
	transform: scale(1.06);
}

/* =====================================================================
 * Menú móvil: el texto SIEMPRE gris (el panel offcanvas es blanco),
 * aunque en el home el header sea blanco/transparente.
 * ================================================================== */
@media (max-width: 991.98px) {
	.cig-offcanvas .cig-nav .nav-link,
	.cig-offcanvas .cig-lang,
	.cig-offcanvas .cig-caret,
	.cig-header--home:not(.is-scrolled) .cig-offcanvas .cig-nav .nav-link,
	.cig-header--home:not(.is-scrolled) .cig-offcanvas .cig-lang {
		color: var(--cig-dark) !important;
	}
	.cig-offcanvas .cig-nav .nav-link:hover,
	.cig-offcanvas .cig-nav .nav-link.active {
		color: var(--cig-orange) !important;
	}
}

/* =====================================================================
 * Listado de noticias: padding en el área de texto de cada tarjeta.
 * (En el home se mantiene el diseño alineado al borde.)
 * ================================================================== */
.cig-noticias--listado .cig-card-body {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	padding-bottom: 1.1rem !important;
}

/* =====================================================================
 * Noticia interior: título sin la línea naranja (esa va bajo la fecha).
 * ================================================================== */
.cig-title--noline::after { display: none !important; }
.cig-title--noline { padding-bottom: 0; }

/* =====================================================================
 * Estilos de contenido de noticia: CITAS y BAJADAS DE FOTO
 * (propuesta de diseño; no estaban en Figma)
 * ================================================================== */

/* Cita destacada */
.cig-entry-content blockquote,
.cig-entry-content .wp-block-quote {
	position: relative;
	margin: 1.75rem 0;
	padding: 1.1rem 1.25rem 1.1rem 1.6rem;
	border-left: 4px solid var(--cig-orange);
	background: #faf5f1;
	border-radius: 0 6px 6px 0;
	font-size: 1.18rem;
	line-height: 1.6;
	font-style: italic;
	color: var(--cig-dark);
}
.cig-entry-content blockquote p { margin-bottom: .5rem; }
.cig-entry-content blockquote p:last-child { margin-bottom: 0; }
/* Autor / fuente de la cita */
.cig-entry-content blockquote cite,
.cig-entry-content .wp-block-quote cite,
.cig-entry-content blockquote footer {
	display: block;
	margin-top: .6rem;
	font-size: .85rem;
	font-style: normal;
	font-weight: 600;
	color: var(--cig-blue);
}
.cig-entry-content blockquote cite::before,
.cig-entry-content blockquote footer::before { content: "— "; }

/* Cita "pull quote" (destacada a lo ancho) */
.cig-entry-content .wp-block-pullquote {
	border-top: 3px solid var(--cig-orange);
	border-bottom: 3px solid var(--cig-orange);
	background: transparent;
	padding: 1.5rem 0;
	text-align: center;
	font-size: 1.4rem;
	font-style: italic;
	color: var(--cig-dark);
}

/* Bajada / pie de foto (caption) */
.cig-entry-content figcaption,
.cig-entry-content .wp-element-caption,
.cig-entry-content .wp-caption-text,
.cig-entry-content .wp-block-image figcaption {
	margin-top: .55rem;
	font-size: .85rem;
	line-height: 1.4;
	color: #6c757d;
	text-align: center;
	font-style: italic;
	padding-left: 4px;
	border-left: 0;
}
/* Pequeño acento naranja al inicio de la bajada */
.cig-entry-content figure { margin: 1.5rem 0; }

/* =====================================================================
 * Interior de Evento / Publicación (meta y etiqueta de tipo)
 * ================================================================== */
.cig-evento-meta, .cig-pub-meta { color: var(--cig-dark); }
.cig-evento-meta li, .cig-pub-meta li { margin-bottom: .35rem; }
.cig-evento-meta strong, .cig-pub-meta strong { color: var(--cig-blue); }
.cig-pub__tipo {
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--cig-orange);
}

/* =====================================================================
 * NOSOTROS / INVESTIGACIÓN — bloques de personas y líneas (v0.10.0)
 * ================================================================== */

/* Fondos de sección reutilizables ---------------------------------- */
.cig-bg-claro { background: #f6f6f5; }

/* La textura de líneas va muy tenue detrás del contenido, como en el diseño:
   se pinta en un pseudo-elemento para poder bajarle la opacidad sin afectar
   al texto. */
.cig-bg-textura { position: relative; background: #fff; isolation: isolate; }
.cig-bg-textura::before {
	content: "";
	position: absolute; inset: 0;
	background: url("../img/fondo-lineas.png") center / cover no-repeat;
	opacity: .18;
	z-index: -1;
	pointer-events: none;
}

/* Título/subtítulo de los listados de personas ---------------------- */
.cig-personas-titulo {
	color: var(--cig-orange);
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	margin-bottom: .75rem;
}
.cig-personas-titulo--azul {
	color: var(--cig-blue);
	font-size: 1.05rem;
	text-align: left;
	margin-bottom: 1.5rem;
}
.cig-personas-subtitulo {
	color: var(--cig-blue);
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
}
.cig-personas-vacio { color: #8a8a8a; padding: 2rem 0; }

/* Quinta columna: Bootstrap no la trae ------------------------------ */
@media (min-width: 992px) {
	.cig-col-5 { flex: 0 0 auto; width: 20%; }
}

/* Tarjeta con avatar circular (adjuntos, postdoctorantes, líneas) ---- */
.cig-persona-circ {
	position: relative;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 1.5rem 1.25rem;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cig-persona-circ:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.cig-persona-circ-foto {
	width: 104px; height: 104px;
	border-radius: 50%;
	overflow: hidden;
	background: #dcdcdc;
	margin-bottom: .9rem;
}
.cig-persona-circ-foto img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter .3s ease;
}
.cig-persona-circ:hover .cig-persona-circ-foto img { filter: grayscale(0%); }
.cig-persona-circ-nombre {
	font-size: .95rem; font-weight: 700; line-height: 1.3;
	margin-bottom: .5rem;
}
.cig-persona-circ-uni {
	display: block;
	font-size: .78rem; font-weight: 700; color: var(--cig-dark);
	padding-top: .5rem;
	border-top: 2px solid var(--cig-orange);
	width: 2.5rem; margin: 0 auto .6rem;
	white-space: nowrap;
}
.cig-persona-circ-resumen {
	font-size: .78rem; line-height: 1.5; color: #6c757d; margin-bottom: 0;
}

/* Píldora con solo el nombre (investigadores jóvenes) ---------------- */
.cig-chip {
	display: inline-block;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	padding: .6rem 1.4rem;
	font-size: .9rem; font-weight: 600;
	color: var(--cig-dark); text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}
.cig-chip:hover { border-color: var(--cig-orange); color: var(--cig-orange); }

/* Pestañas por línea de investigación -------------------------------- */
.cig-tabs { gap: .25rem; border: 0; }
.cig-tab {
	background: transparent;
	border: 0;
	border-radius: 4px;
	padding: .5rem 1rem;
	font-size: .85rem; font-weight: 600;
	color: var(--cig-dark);
	transition: background .2s ease, color .2s ease;
}
.cig-tab:hover { color: var(--cig-orange); }
.cig-tab.active { background: var(--cig-blue); color: #fff; }
.cig-tab.active:hover { color: #fff; }
.cig-tab-ingles { font-weight: 400; }

/* Tarjetas de las líneas de investigación ---------------------------- */
.cig-lineas-bajada { max-width: 62rem; color: #5b5651; line-height: 1.7; margin-bottom: 2rem; }

.cig-linea {
	--linea-color: var(--cig-orange);
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-top: 4px solid var(--linea-color, var(--cig-orange));
	border-radius: 8px;
	padding: 1.5rem;
}
.cig-linea--orange { --linea-color: var(--cig-orange); }
.cig-linea--blue   { --linea-color: var(--cig-blue); }
.cig-linea--green  { --linea-color: var(--cig-green); }
.cig-linea--red    { --linea-color: var(--cig-red); }
.cig-linea--gray   { --linea-color: var(--cig-dark); }

.cig-linea-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.cig-linea-icono {
	flex: 0 0 auto;
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: var(--linea-color, var(--cig-orange));
	color: #fff;
}
.cig-linea-icono .cig-linea-svg { width: 30px; height: 30px; }
.cig-linea-icono--lg { width: 92px; height: 92px; }
.cig-linea-icono--lg .cig-linea-svg { width: 52px; height: 52px; }

.cig-linea-nombre { color: var(--linea-color, var(--cig-orange)); font-size: 1.35rem; margin: 0; line-height: 1.15; }
.cig-linea-ingles { display: block; font-size: .95rem; font-weight: 600; }
.cig-linea-nombre--lg { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.cig-linea-ingles--lg { font-size: 1.05rem; color: var(--linea-color, var(--cig-orange)); margin: 0; }

.cig-linea-resumen { font-size: .85rem; line-height: 1.6; color: #5b5651; }
.cig-linea-foot { margin-top: auto; padding-top: 1rem; }
.cig-linea-ips {
	display: flex; align-items: flex-start; gap: .45rem;
	font-size: .78rem; color: #5b5651;
	padding-top: .9rem; border-top: 1px solid #ececec;
	margin-bottom: .75rem;
}
.cig-linea-ips-icono svg { width: 15px; height: 15px; display: block; margin-top: .1rem; }
.cig-linea-foot .cig-link-more { display: block; text-align: right; font-size: .85rem; text-decoration: none; }

/* Detalle de una línea ------------------------------------------------ */
/* OJO: aquí NO se declara --linea-color. Los modificadores .cig-linea--* van
   antes en el archivo y tienen la misma especificidad, así que declararlo aquí
   los pisaría y todas las líneas saldrían naranjas. El respaldo va en el
   var() de cada uso. */
.cig-linea-detalle {
	position: relative;
	background: #fff;
	isolation: isolate;
}
.cig-linea-detalle::before {
	content: "";
	position: absolute; inset: 0 0 0 auto;
	width: 45%;
	background: url("../img/fondo-lineas.png") right center / cover no-repeat;
	opacity: .2;
	z-index: -1;
	pointer-events: none;
}
.cig-linea-detalle-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; }
.cig-linea-detalle-titulo { min-width: 0; }
.cig-linea-detalle-cuerpo { max-width: 62rem; }
.cig-linea-detalle-resumen {
	font-weight: 700; font-size: .95rem; line-height: 1.7; color: var(--cig-dark);
	margin-bottom: 1.75rem;
}
.cig-linea-detalle-subtitulo {
	color: var(--linea-color, var(--cig-orange)); font-size: 1rem; margin-bottom: .75rem;
}
.cig-linea-objetivos { padding-left: 1.1rem; margin: 0; }
.cig-linea-objetivos li { font-size: .85rem; line-height: 1.65; color: #5b5651; margin-bottom: .5rem; }

@media (max-width: 575.98px) {
	.cig-linea-detalle-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.cig-linea-detalle::before { display: none; }
}

/* Instituciones de Interés Nacional (home) ---------------------------- */
.cig-institucion-logo { max-height: 92px; width: auto; }

/* Etiqueta bajo un logo patrocinante ---------------------------------- */
.cig-uni-nota {
	display: block; margin-top: .5rem;
	font-size: .72rem; font-weight: 700; color: var(--cig-orange);
}
