/* ==========================================================================
   JESUS MOLINA - VERSION CLASICA OPTIMIZADA
   Aprovechamiento de pantalla completa, cabecera extendida, menu amplio
   y protagonismo de portada manteniendo la fidelidad y estilo original.
   ========================================================================== */

* {
	box-sizing: border-box;
	PADDING-RIGHT: 0px; 
	PADDING-LEFT: 0px; 
	PADDING-BOTTOM: 0px; 
	MARGIN: 0px; 
	PADDING-TOP: 0px;
}

BODY {
	text-align: center; 
	font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif; 
	font-size: 13px; 
	color: #333333; 
	background-color: #CC9933;
	padding: 20px 12px 60px;
	margin: 0;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

FORM {
	padding: 0;
	margin: 0;
}

A {
	color: #ffffff; 
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

A:visited {
	color: #ffffff; 
	text-decoration: none;
}

A:active {
	color: #ffffff; 
	text-decoration: none;
}

A:hover {
	cursor: pointer; 
	text-decoration: underline;
}

H1 {
	font-size: 1.25em; 
	color: #000000; 
	padding-top: 1.2em;
	letter-spacing: 0.5px;
}

H2 {
	margin-top: 1.5em; 
	padding-left: 14px; 
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 15px; 
	color: #003399;
}

H3 {
	margin-top: 1em; 
	font-size: 1.05em; 
	color: #444; 
	padding-top: 1em;
}

IMG {
	border-style: none;
}

/* --- Tabla Principal y Envoltorio --- */
.borde {
	border: 1px solid #957126;
	background-color: #FFFFFF;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
	border-radius: 4px;
	overflow: hidden;
	max-width: 1180px;
	width: 95%;
	margin: 0 auto;
}

.margen {
	padding: 16px;
}

/* --- Cabecera: Celda Izquierda Rojiza (Menu) y Celda Derecha Verde (Solo tabla principal) --- */
table.borde > tbody > tr:first-child,
table.borde > tr:first-child,
.borde > tbody > tr:first-child,
.borde > tr:first-child,
.cabecera-global {
	background-color: #679A35;
}

table.borde > tbody > tr:first-child > td,
table.borde > tr:first-child > td,
.borde > tbody > tr:first-child > td,
.borde > tr:first-child > td,
.cabecera-global > td {
	padding: 0;
	vertical-align: middle;
}

table.borde > tbody > tr:first-child > td:first-child,
table.borde > tr:first-child > td:first-child,
.borde > tbody > tr:first-child > td:first-child,
.borde > tr:first-child > td:first-child,
.cabecera-global > td:first-child {
	width: 215px;
	min-width: 215px;
	max-width: 215px;
	background-color: #993300 !important;
	text-align: center;
	vertical-align: middle;
}

table.borde > tbody > tr:first-child > td:first-child > img,
table.borde > tbody > tr:first-child > td:first-child img,
table.borde > tr:first-child > td:first-child img,
.borde > tbody > tr:first-child > td:first-child img,
.borde > tr:first-child > td:first-child img,
.cabecera-global > td:first-child img {
	display: block;
	margin: 0 auto;
}

table.borde > tbody > tr:first-child > td:last-child,
table.borde > tr:first-child > td:last-child,
.borde > tbody > tr:first-child > td:last-child,
.borde > tr:first-child > td:last-child,
.cabecera-global > td:last-child,
.cabecera-derecha {
	background-color: #679A35;
	position: relative;
	overflow: hidden;
	height: 120px;
	padding: 0 !important;
}

.cabecera-enlace-completo {
	display: block;
	width: 100%;
	height: 120px;
	text-decoration: none !important;
	color: #FFFFFF !important;
}

.cabecera-contenido {
	position: relative;
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #679A35;
}

.cabecera-texto {
	text-align: center;
	color: #FFFFFF;
	font-family: Georgia, "Times New Roman", Times, serif;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.cabecera-subtitulo {
	font-size: 13.5px;
	font-weight: bold;
	color: #FFFFFF;
	letter-spacing: 0.4px;
	margin-bottom: 2px;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.cabecera-titulo {
	font-size: 30px;
	font-weight: bold;
	color: #FFFFFF;
	letter-spacing: 0.5px;
	margin: 1px 0 2px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cabecera-datos {
	font-size: 13px;
	font-weight: bold;
	color: #FFFFFF;
	line-height: 1.3;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.cabecera-paleta {
	position: absolute;
	right: 0;
	top: 0;
	height: 120px;
	z-index: 1;
	pointer-events: none;
}

.cabecera-paleta img {
	display: block;
	height: 120px;
	width: auto;
}

/* --- Menu Lateral y Contenido Principal --- */
table.borde > tbody > tr:nth-child(2) > td:first-child,
table.borde > tr:nth-child(2) > td:first-child,
.borde > tbody > tr:nth-child(2) > td:first-child,
.borde > tr:nth-child(2) > td:first-child,
.menu-lateral-global {
	width: 215px;
	min-width: 215px;
	max-width: 215px;
	background-color: #FFFFFF;
}

table.borde > tbody > tr:nth-child(2) > td:last-child,
table.borde > tr:nth-child(2) > td:last-child,
.borde > tbody > tr:nth-child(2) > td:last-child,
.borde > tr:nth-child(2) > td:last-child {
	background-color: #FFFFFF;
}

.menu {
	background-color: #993300;
	padding: 8px 12px 8px 16px;
	border-bottom: 1px solid #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13.5px;
	font-weight: bold;
	color: #FFFFFF;
	vertical-align: middle;
	text-align: left;
	letter-spacing: 0.3px;
	transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.menu:hover {
	background-color: #7d2a00;
	padding-left: 20px;
}

.menu a {
	display: block;
	width: 100%;
	color: #FFFFFF;
	text-decoration: none;
}

.menu a:hover {
	text-decoration: none;
	color: #FFE6B0;
}

.menu.menu-active {
	background-color: #702500;
	border-left: 4px solid #FFE6B0;
	padding-left: 14px;
}

.menu.menu-header {
	cursor: default;
}

.submenu {
	background-color: #C14C0A;
	padding: 5px 14px 5px 8px;
	border-bottom: 1px solid #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12.5px;
	font-weight: bold;
	color: #FFFFFF;
	vertical-align: middle;
	text-align: right;
	transition: background-color 0.2s ease, padding-right 0.2s ease;
}

.submenu:hover {
	background-color: #9e3d08;
	padding-right: 18px;
}

.submenu a {
	display: block;
	width: 100%;
	color: #FFFFFF;
	text-decoration: none;
}

.submenu a:hover {
	text-decoration: none;
	color: #FFE6B0;
}

.submenu.menu-active {
	background-color: #943502;
	border-right: 4px solid #FFE6B0;
	padding-right: 12px;
}

.firma-menu {
	display: block;
	margin: 12px auto;
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* --- Portada: Autorretrato Principal --- */
.portada-autorretrato {
	max-width: 500px;
	width: 100%;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portada-autorretrato:hover {
	transform: scale(1.015);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}

/* --- Tipografia y Bloques de Texto --- */
.unnamed1 {
	font-size: 13.5px;
	line-height: 1.7;
	padding-right: 36px;
	padding-left: 36px;
	color: #2c2c2c;
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
	text-indent: 30pt;
	margin-bottom: 12px;
}

.texto {
	font-size: 13.5px;
	line-height: 1.65;
	padding-right: 36px;
	padding-left: 36px;
	color: #2c2c2c;
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
}

.texto a {
	color: #990000;
	font-weight: bold;
}

.texto a:hover {
	text-decoration: underline;
}

.noticiasCopia {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12.5px;
	font-weight: normal;
	line-height: 1.55;
	margin-right: 14px;
	margin-left: 14px;
	color: #333333;
}

.sangrado {
	font-size: 13.5px;
	line-height: 1.65;
	font-family: Arial, Helvetica, sans-serif;
	padding-right: 28px;
	padding-left: 20px;
	text-indent: 30pt;
	text-align: justify;
}

.textovideo {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
}

.cuadros {
	font-size: 12.5px;
	line-height: 1.5;
	padding-top: 10px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}

/* --- Tablas y Listados Estructurados (Exposiciones, Premios, etc.) --- */
.contenido-listado {
	padding: 24px 32px 40px;
	margin: 0 auto;
	max-width: 920px;
}

.titulo-seccion-clasica {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	font-weight: bold;
	color: #000000;
	text-align: center;
	margin: 16px 0 24px 0;
	letter-spacing: 0.8px;
}

.subtitulo-seccion-clasica {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #993300;
	background-color: #FAF5EB;
	border-left: 4px solid #993300;
	border-bottom: 1px solid #EBE0CD;
	padding: 8px 14px;
	margin: 26px 0 14px 0;
	text-align: left;
	letter-spacing: 0.4px;
	border-radius: 0 4px 4px 0;
}

.subtitulo-subseccion {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #555555;
	padding: 4px 10px;
	margin: 14px 0 8px 0;
	text-align: left;
	border-bottom: 2px solid #CC9933;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.tabla-datos {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 22px 0;
	background-color: #FFFFFF;
	border: 1px solid #E4D7C0;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tabla-datos tr {
	border-bottom: 1px solid #EFE6D8;
	transition: background-color 0.15s ease;
}

.tabla-datos tr:last-child {
	border-bottom: none;
}

.tabla-datos tr:nth-child(even) {
	background-color: #FAF7F0;
}

.tabla-datos tr:hover {
	background-color: #F3EBDD;
}

.tabla-datos td.col-ano {
	width: 95px;
	min-width: 95px;
	max-width: 105px;
	padding: 9px 12px;
	text-align: center;
	vertical-align: top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #993300;
	border-right: 1px solid #EFE6D8;
	background-color: rgba(204, 153, 51, 0.06);
}

.tabla-datos td.col-detalle {
	padding: 9px 16px;
	text-align: left;
	vertical-align: top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: #2C2C2C;
}

.tabla-datos td.col-detalle strong.titulo-expo {
	display: block;
	color: #1A1A1A;
	font-size: 13px;
	margin-bottom: 2px;
}

.tabla-datos td.col-detalle .info-obra {
	color: #4A4A4A;
	font-size: 12.5px;
	line-height: 1.45;
}

.tabla-datos td.col-detalle a {
	color: #990000;
	font-weight: bold;
	text-decoration: underline;
}

.tabla-datos td.col-detalle a:hover {
	color: #CC3300;
}

.enlace-subir {
	text-align: right;
	margin: 22px 0 10px 0;
	padding-right: 4px;
}

.enlace-subir a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #993300;
	text-decoration: none;
	padding: 5px 12px;
	background-color: #FAF5EB;
	border: 1px solid #E4D7C0;
	border-radius: 3px;
	transition: all 0.2s ease;
	display: inline-block;
}

.enlace-subir a:hover {
	background-color: #993300;
	color: #FFFFFF;
	border-color: #993300;
}

/* --- Cuadros y Miniaturas en Galerias --- */
a[rel="thumbnail"] {
	display: inline-block;
	transition: transform 0.2s ease;
}

a[rel="thumbnail"]:hover {
	transform: translateY(-3px);
}

a[rel="thumbnail"] img {
	transition: box-shadow 0.25s ease, filter 0.25s ease;
	border-radius: 2px;
}

a[rel="thumbnail"]:hover img {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	filter: brightness(1.03);
}

/* --- Visor Emergente (Thumbnailviewer) --- */
#thumbBox {
	position: absolute;
	left: 0;
	top: 0;
	width: auto;
	padding: 10px;
	padding-bottom: 0;
	background: #111111;
	visibility: hidden;
	z-index: 1000;
	cursor: pointer;
	border-radius: 6px;
	border: 2px solid #CC9933;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

#thumbBox .footerbar {
	font: bold 11px Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
	line-height: 1.2em;
	color: #CC9933;
	padding: 6px 2px;
	text-align: right;
}

#thumbBox #thumbImage {
	background-color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
}

#thumbLoading {
	position: absolute;
	visibility: hidden;
	border: 1px solid #957126;
	background-color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	padding: 8px 14px;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 1005;
}

/* --- Selector y Reclamo de la Nueva Version 2.0 (Superior) --- */
.v2-top-container {
	position: fixed;
	top: 12px;
	right: 16px;
	z-index: 99999;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.v2-switch-btn {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #1d1d1d 0%, #0d0d0d 100%);
	color: #FFFFFF !important;
	border: 2px solid #D4AF37;
	border-radius: 30px;
	padding: 7px 16px;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12.5px !important;
	font-weight: bold !important;
	text-decoration: none !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 10px rgba(212, 175, 55, 0.25);
	transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	position: relative;
	cursor: pointer;
	user-select: none;
}

.v2-switch-btn:hover {
	background: #D4AF37;
	color: #111111 !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 24px rgba(212, 175, 55, 0.55), 0 0 16px rgba(255, 255, 255, 0.35);
	border-color: #F3E5AB;
}

.v2-switch-btn .v2-star-icon {
	color: #D4AF37;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s ease;
}

.v2-switch-btn:hover .v2-star-icon {
	color: #111111;
	transform: rotate(72deg) scale(1.2);
}

.v2-switch-btn .v2-badge-pill {
	background: #C14C0A;
	color: #FFFFFF;
	font-size: 9.5px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 10px;
	letter-spacing: 0.5px;
	line-height: 1.1;
	text-transform: uppercase;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.v2-switch-btn:hover .v2-badge-pill {
	background: #111111;
	color: #D4AF37;
}

/* Efecto de pulso / absorcion en el boton */
.v2-switch-btn.is-highlighted {
	animation: v2PulseGlow 2s infinite ease-in-out;
}

.v2-switch-btn.is-absorbed {
	animation: v2ButtonAbsorbPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes v2PulseGlow {
	0% {
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(212, 175, 55, 0.6);
	}
	50% {
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(212, 175, 55, 0);
	}
	100% {
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(212, 175, 55, 0);
	}
}

@keyframes v2ButtonAbsorbPulse {
	0% {
		transform: scale(1);
		border-color: #D4AF37;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 10px rgba(212, 175, 55, 0.25);
	}
	40% {
		transform: scale(1.18);
		border-color: #FFF;
		background: #D4AF37;
		color: #111111 !important;
		box-shadow: 0 0 35px rgba(212, 175, 55, 0.95), 0 0 60px rgba(255, 235, 150, 0.7);
	}
	100% {
		transform: scale(1);
		border-color: #D4AF37;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(212, 175, 55, 0.4);
	}
}

/* --- Tarjeta Flotante de Vista Previa (Reclamo) --- */
.v2-preview-reclamo {
	position: absolute;
	top: 46px;
	right: 0;
	width: 295px;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.12) translate(120px, -45px);
	transform-origin: top right;
	transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1), visibility 0.4s;
	z-index: 99998;
	pointer-events: none;
}

.v2-preview-reclamo.is-visible {
	opacity: 1;
	visibility: visible;
	transform: scale(1) translate(0, 0);
	pointer-events: auto;
}

.v2-preview-reclamo.is-hiding {
	opacity: 0;
	visibility: visible;
	transform: scale(0.1) translate(130px, -45px);
	filter: blur(5px);
	transition: opacity 0.4s ease, transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
	pointer-events: none;
}

.v2-reclamo-card {
	background: #141414;
	border: 2px solid #D4AF37;
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.25);
	overflow: hidden;
	position: relative;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
}

.v2-reclamo-close {
	position: absolute;
	top: 7px;
	right: 8px;
	width: 22px;
	height: 22px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 50%;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.v2-reclamo-close:hover {
	background: #CC3300;
	color: #FFFFFF;
	transform: scale(1.1);
}

.v2-reclamo-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

.v2-reclamo-header {
	background: #1f1f1f;
	padding: 7px 10px;
	border-bottom: 1px solid #333333;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.v2-reclamo-dots {
	display: flex;
	gap: 4px;
}

.v2-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

.v2-dot-red { background: #FF5F56; }
.v2-dot-yellow { background: #FFBD2E; }
.v2-dot-green { background: #27C93F; }

.v2-reclamo-badge {
	font-size: 9.5px;
	font-weight: 800;
	color: #D4AF37;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-right: 18px;
}

.v2-reclamo-media {
	position: relative;
	width: 100%;
	height: 115px;
	background: #0a0a0a;
	overflow: hidden;
}

.v2-reclamo-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	display: block;
	transition: transform 0.35s ease;
}

.v2-reclamo-link:hover .v2-reclamo-thumb {
	transform: scale(1.06);
}

.v2-reclamo-tag-overlay {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(17, 17, 17, 0.85);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(212, 175, 55, 0.5);
	color: #FFE6B0;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: 0.3px;
}

.v2-reclamo-body {
	padding: 10px 12px 11px 12px;
	background: #141414;
}

.v2-reclamo-title {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 13.5px;
	font-weight: bold;
	color: #FFFFFF;
	margin-bottom: 4px;
	line-height: 1.25;
}

.v2-reclamo-desc {
	font-size: 11px;
	line-height: 1.4;
	color: #BBBBBB;
	margin-bottom: 9px;
}

.v2-reclamo-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #D4AF37;
	color: #111111;
	font-size: 11.5px;
	font-weight: bold;
	padding: 6px 12px;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.v2-reclamo-link:hover .v2-reclamo-cta {
	background: #FFE6B0;
	box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.v2-cta-arrow {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.v2-reclamo-link:hover .v2-cta-arrow {
	transform: translateX(3px);
}

.v2-reclamo-timer {
	width: 100%;
	height: 3px;
	background: #2a2a2a;
	overflow: hidden;
}

.v2-reclamo-timer-fill {
	height: 100%;
	width: 0%;
	background: #D4AF37;
	transition: width 4.5s linear;
}

.v2-preview-reclamo.is-visible .v2-reclamo-timer-fill {
	width: 100%;
}

@media (max-width: 768px) {
	.v2-top-container {
		top: 8px;
		right: 8px;
	}
	.v2-switch-btn {
		font-size: 11px !important;
		padding: 5px 11px;
	}
	.v2-preview-reclamo {
		width: 260px;
		top: 40px;
	}
}
