/* Estilos para scroll banner */
.scroll-left {
	background: #0c1d71;
	padding: 15px 0;
	overflow: hidden;
	white-space: nowrap;
}

.scroll-left p {
	display: inline-block;
	padding-left: 100%;
	animation: scroll-left 30s linear infinite;
	margin: 0;
	font-size: 15px;
	color: #ffffff;
	font-weight: 600;
}

@keyframes scroll-left {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* Estilos para comunicados en sidebar */
.comunicado-box {
	padding: 18px;
	border-radius: 6px;
	margin-bottom: 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	position: relative;
	transition: box-shadow 0.3s ease;
	background-color: #ffffff;
}

/* Menú principal */
.navbar-inverse .navbar-nav .nav-link:not(.lang-img) {
	border-radius: 999px;
	padding: 0.75em 1.2em;
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-inverse .navbar-nav .nav-link:not(.lang-img):hover,
.navbar-inverse .navbar-nav .nav-link:not(.lang-img):focus,
.navbar-inverse .navbar-nav .nav-link:not(.lang-img).active,
.navbar-inverse .navbar-nav .open > .nav-link:not(.lang-img),
.navbar-inverse .navbar-nav .dropdown.show .nav-link:not(.lang-img) {
	background-color: #010090;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(1, 0, 144, 0.25);
}

.navbar-inverse .navbar-nav .nav-link.lang-img {
	border-radius: 6px;
	padding: 0.4em 0.6em;
}

/* Hero principal */
.hero-banner {
	padding-top: 190px;
	padding-bottom: 190px;
	min-height: 520px;
	background-color: #08175b;
	position: relative;
	isolation: isolate;
}

.hero-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(180px, 32vw, 360px);
	background: linear-gradient(180deg,
		rgba(12, 29, 113, 0) 0%,
		rgba(12, 29, 113, 0.25) 28%,
		rgba(12, 29, 113, 0.55) 48%,
		rgba(12, 29, 113, 0.82) 62%,
		#0c1d71 72%,
		#0c1d71 100%);
	z-index: 350;
	pointer-events: none;
}

.hero-banner.over-hide,
.hero-banner.over-hide.hero-banner {
	overflow: hidden;
}

.hero-banner .parallax {
	min-height: 520px;
	filter: brightness(0.95) saturate(1.05);
	transition: filter 1.2s ease;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: scroll !important;
	transform: none;
}

.hero-banner .container {
	position: relative;
	z-index: 400;
}

.hero-overlay {
	opacity: 1 !important;
	background: linear-gradient(180deg,
		rgba(8, 23, 91, 0.22) 0%,
		rgba(8, 23, 91, 0.32) 18%,
		rgba(8, 23, 91, 0.46) 36%,
		rgba(8, 23, 91, 0.64) 52%,
		rgba(8, 23, 91, 0.82) 66%,
		#0c1d71 78%,
		#0c1d71 100%);
}

.hero-content {
	position: relative;
	padding: 3rem 3.4rem;
	margin-bottom: 2.5rem;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #dfe4ff;
	background: rgba(255, 255, 255, 0.08);
	padding: 0.45rem 1.4rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	margin-bottom: 1.6rem;
}

.hero-kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffd166;
}

.hero-title {
	font-size: clamp(2.8rem, 5vw, 4.2rem);
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1.2rem;
}

.hero-divider {
	width: 80px;
	height: 4px;
	margin: 0 auto 1.8rem;
	border-radius: 6px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 230, 150, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-subtitle {
	font-size: 1.15rem;
	letter-spacing: 3px;
	color: #f4f6ff;
	margin-bottom: 1.2rem;
}

.hero-description {
	max-width: 640px;
	margin: 0 auto 2.4rem;
	color: #dae0ff;
	font-size: 1.02rem;
	line-height: 1.85;
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.9rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

/* Section title underline used in content blocks */
.section-title-bar {
	font-size: 1.1rem;
	font-weight: 600;
	color: #000000;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgb(8, 21, 120);
	display: inline-block;
}

/* Informational gradient box */
.highlight-box {
	background: linear-gradient(120deg, rgba(10, 29, 150, 0.12), rgba(2, 133, 198, 0.08));
	border: 1px solid rgba(10, 29, 150, 0.15);
	border-radius: 14px;
	padding: 18px;
	margin: 20px 0;
}

.highlight-box p {
	margin: 0;
	color: #000000;
}

/* Video gallery cards */
.video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 768px) {
	.video-grid {
		grid-template-columns: 1fr;
	}
}

.video-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 15px 35px rgba(4, 17, 87, 0.08);
	padding: 0;
	border: 1px solid #e4e8f7;
}

.video-card-content {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 0;
	position: relative;
	z-index: 2;
	background: white;
	border-radius: 0 0 14px 14px;
}

.video-embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	background: transparent;
	margin-bottom: 0;
	height: 280px;
}

.video-embed iframe {
	position: absolute;
	width: 100%;
	height: 120%;
	left: 0;
	top: 0;
	border: 0;
}

.video-title {
	font-weight: 600;
	font-size: 1rem;
	margin: 0;
	color: #000000;
}

.video-meta {
	font-size: 0.85rem;
	color: #000000;
	margin: 0;
}

.hero-btn--primary {
	background-color: #010090;
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(1, 0, 144, 0.3);
}

.hero-btn--primary:hover,
.hero-btn--primary:focus {
	background-color: #0a0ad9;
	box-shadow: 0 18px 36px rgba(1, 0, 144, 0.38);
	transform: translateY(-2px);
	color: #ffffff;
}

.hero-btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.65);
	color: #ffffff;
	background-color: transparent;
}

.hero-btn--ghost:hover,
.hero-btn--ghost:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-banner .hero-content .hero-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 3px;
}

@media (max-width: 992px) {
	.hero-banner {
		padding-top: 150px;
		padding-bottom: 150px;
	}

	.hero-content {
		padding: 2.4rem 2.6rem;
	}

	.hero-subtitle {
		font-size: 1rem;
		letter-spacing: 2px;
	}
}

@media (max-width: 576px) {
	.hero-banner {
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.hero-content {
		padding: 2rem;
		border-radius: 22px;
	}

	.hero-content::before {
		top: 14px;
		left: 14px;
		right: 14px;
		bottom: 14px;
		border-radius: 18px;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-btn {
		width: 100%;
	}
}

.video-section.with-grid-margin {
	margin-left: 15px;
	margin-right: 15px;
	width: calc(100% - 30px);
}

.comunicado-box:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

/* Sidebar moderno */
.sidebar-box {
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
}

.sidebar-header {
	background: linear-gradient(135deg, rgb(8, 21, 120) 0%, rgba(12, 29, 113, 0.95) 100%);
	padding: 20px 24px;
	margin: 0;
	color: white;
	font-size: 1.25rem;
	font-weight: 600;
	border: none;
}

.sidebar-content {
	padding: 24px;
}

/* AVISO LEGAL - Estilo moderno */
.comunicado-aviso-legal {
	background: linear-gradient(135deg, #fff5f5 0%, #fff9f9 100%);
	border: 1px solid #ffd4d4;
	border-left: 4px solid #dc3545;
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
}

.comunicado-titulo {
	font-size: 0.95rem;
	font-weight: 600;
	color: #000000;
	margin-bottom: 14px;
	padding-bottom: 6px;
	border-bottom: 2px solid currentColor;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.comunicado-aviso-legal .comunicado-titulo {
	color: #dc3545;
	border-bottom-color: #dc3545;
}

.comunicado-general .comunicado-titulo {
	color: rgb(8, 21, 120);
	border-bottom-color: rgb(8, 21, 120);
	text-transform: uppercase;
	margin-bottom: 12px;
	letter-spacing: 0.5px;
}

.comunicado-aviso-legal p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #000000;
	margin-bottom: 12px;
}

.comunicado-aviso-legal .texto-destacado {
	color: #000000;
	font-weight: 500;
	display: block;
	margin: 12px 0;
	background: rgba(220, 53, 69, 0.05);
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 0.875rem;
}

.comunicado-aviso-legal .comunicado-icono {
	display: inline-block;
	margin-right: 8px;
}

/* COMUNICADO GENERAL - Estilo moderno */
.comunicado-general {
	background: linear-gradient(135deg, #f8f9ff 0%, #f9fbff 100%);
	border: 1px solid #d4e0ff;
	border-left: 4px solid rgb(8, 21, 120);
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
}



.comunicado-general p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 12px;
}

.comunicado-general .texto-destacado {
	background: rgba(8, 21, 120, 0.05);
	padding: 10px 12px;
	border-radius: 6px;
	margin-top: 12px;
}

/* Secciones del sidebar */
.sidebar-section {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e8e8e8;
}

.sidebar-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sidebar-section-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgb(8, 21, 120);
	display: inline-block;
}

.sidebar-image-card {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-image-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sidebar-image-card img {
	width: 100%;
	height: auto;
	display: block;
}

.sidebar-person-card {
	text-align: center;
	margin-bottom: 16px;
}

.sidebar-person-card img {
	width: 100%;
	border-radius: 8px;
	box-shadow: none;
	transition: transform 0.3s ease;
}

.sidebar-person-card img:hover {
	transform: scale(1.02);
}

.sidebar-person-card p {
	margin-top: 12px;
	font-weight: 500;
	color: #333;
	font-size: 0.95rem;
}

/* Credenciales en el contenido principal: igual estilo que la tarjeta del sidebar */
.blog-box-1 .sidebar-person-card {
	aspect-ratio: 16/9;
	overflow: hidden;
}

.blog-box-1 .sidebar-person-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-button {
	display: block;
	width: 100%;
	padding: 12px 20px;
	background-color: rgb(8, 21, 120);
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
}

.sidebar-button:hover {
	background-color: rgba(8, 21, 120, 0.85);
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
}

.sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-list li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.sidebar-list li:last-child {
	border-bottom: none;
}

.sidebar-list li a {
	color: #555;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.5;
	transition: color 0.3s ease;
	display: flex;
	align-items: start;
}

.sidebar-list li a:before {
	content: "→";
	color: rgb(8, 21, 120);
	margin-right: 8px;
	font-weight: bold;
	flex-shrink: 0;
}

.sidebar-list li a:hover {
	color: rgb(8, 21, 120);
	text-decoration: none;
}

.comunicado-general .texto-destacado {
	color: #333;
	font-weight: 500;
}

.comunicado-general strong {
	color: #010090;
	font-weight: 600;
}

/* Estilos para Videos Destacados en Sidebar */
.sidebar-videos-section {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-section-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	text-align: left;
	padding-bottom: 10px;
	border-bottom: 2px solid #010090;
}



/* Sidebar Video Item */
.sidebar-video-item {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-video-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.sidebar-video-thumbnail {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	background-color: #000;
	overflow: hidden;
}

.sidebar-video-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.sidebar-video-item:hover .sidebar-video-thumbnail img {
	transform: scale(1.05);
}

.sidebar-video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.sidebar-video-item:hover .sidebar-video-overlay {
	background: rgba(0, 0, 0, 0.5);
}

.sidebar-play-button {
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sidebar-video-item:hover .sidebar-play-button {
	background-color: #fff;
	transform: scale(1.1);
}

.sidebar-play-button i {
	color: #333;
	font-size: 20px;
	margin-left: 3px;
}



/* Modal para noticias */
.news-modal {
	display: none !important;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	overflow-y: auto;
	padding: 20px;
}

.news-modal.active {
	display: block !important;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.news-modal-content {
	position: relative;
	background-color: #ffffff;
	margin: 20px auto;
	padding: 0;
	max-width: 700px;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideDown 0.4s ease;
	z-index: 1000000;
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.news-modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	color: #ffffff;
	font-size: 36px;
	font-weight: 300;
	cursor: pointer;
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	line-height: 1;
}

.news-modal-close:hover,
.news-modal-close:focus {
	background: rgba(0, 0, 0, 0.8);
	transform: rotate(90deg);
}

.news-modal-image {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
	display: block;
}

.news-modal-video {
	width: 100%;
	background: #000;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
	height: 350px;
}

.news-modal-video iframe {
	display: block;
	height: 350px;
}

.news-modal-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #000000;
	margin: 0 0 12px 0;
	padding: 24px 30px 0;
	line-height: 1.3;
}

.news-modal-category {
	display: inline-block;
	margin: 0 30px 16px;
	padding: 5px 12px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.news-modal-body {
	padding: 0 30px 30px;
	color: #000000;
	line-height: 1.7;
	font-size: 0.95rem;
}

.news-modal-body h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #000000;
	margin: 24px 0 12px;
	padding-top: 16px;
	border-top: 2px solid #e8e8e8;
}

.news-modal-body h3:first-of-type {
	border-top: none;
	padding-top: 0;
}

.news-modal-body p {
	margin-bottom: 14px;
}

.news-modal-body ul,
.news-modal-body ol {
	margin: 12px 0;
	padding-left: 22px;
}

.news-modal-body li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.news-modal-body strong {
	color: #000000;
	font-weight: 600;
}

.news-modal-body em {
	color: #000000;
	font-style: italic;
}

.news-modal-link {
	color: rgb(8, 21, 120);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid rgba(8, 21, 120, 0.3);
	transition: all 0.3s ease;
}

.news-modal-link:hover {
	color: rgba(8, 21, 120, 0.8);
	border-bottom-color: rgba(8, 21, 120, 0.8);
}

/* Responsive para modales */
@media (max-width: 768px) {
	.news-modal {
		padding: 10px;
	}
	
	.news-modal-content {
		margin: 20px auto;
	}
	
	.news-modal-image {
		height: 250px;
	}
	
	.news-modal-title {
		font-size: 1.5rem;
		padding: 20px 25px 0;
	}
	
	.news-modal-category {
		margin: 0 25px 15px;
	}
	
	.news-modal-body {
		padding: 0 25px 30px;
		font-size: 1rem;
	}
	
	.news-modal-body h3 {
		font-size: 1.2rem;
		margin: 20px 0 12px;
	}
	
	.news-modal-close {
		top: 10px;
		right: 10px;
		font-size: 30px;
		width: 35px;
		height: 35px;
	}
}

/* Modal para video */
.video-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.video-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1200px;
	background-color: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
	from {
		transform: scale(0.9);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.video-modal-content iframe {
	width: 100%;
	height: 600px;
	border: none;
	display: block;
}

.close-modal {
	position: absolute;
	top: -40px;
	right: 0;
	background-color: rgba(255, 255, 255, 0.9);
	color: #333;
	border: none;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-modal:hover {
	background-color: #fff;
	transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
	.videos-destacados-section {
		padding: 30px 0;
	}
	

	
	.video-modal-content iframe {
		height: 300px;
	}
	
	.close-modal {
		top: 10px;
		right: 10px;
	}
}

@media (max-width: 576px) {
	.video-modal-content {
		width: 95%;
	}
	
	.video-modal-content iframe {
		height: 250px;
	}
}

/* Contenedor de tarjetas horizontales */
.news-cards-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-left: 15px;
	margin-right: 15px;
}

/* Tarjeta horizontal: imagen izquierda, texto derecha */
.news-card-horizontal {
	display: flex;
	flex-direction: row;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-card-horizontal:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-card-horizontal-image {
	flex: 0 0 350px;
	width: 350px;
	height: 250px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
}

.news-card-horizontal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card-horizontal:hover .news-card-horizontal-image img {
	transform: scale(1.05);
}

.news-card-horizontal-content {
	flex: 1;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Estilos para tarjetas de noticias en dos columnas (mantener para compatibilidad) */
.news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card-image {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}

.news-card-content {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-card-title {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #000000;
	line-height: 1.4;
	min-height: 55px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.news-card-excerpt {
	font-size: 0.95rem;
	color: #000000;
	line-height: 1.6;
	margin-bottom: 16px;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 72px;
}

.news-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #e8e8e8;
}

.news-card-category {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.category-legal {
	background-color: #dc3545;
	color: white;
	border: 1px solid #dc3545;
}

.category-internacional {
	background-color: #007bff;
	color: white;
	border: 1px solid #007bff;
}

.category-alerta {
	background-color: #ffc107;
	color: #1a1a1a;
	border: 1px solid #ffc107;
}

.category-info {
	background-color: #17a2b8;
	color: white;
	border: 1px solid #17a2b8;
}

.category-general {
	background-color: #6c757d;
	color: white;
	border: 1px solid #6c757d;
}

.news-card-button {
	padding: 8px 18px;
	background-color: rgb(8, 21, 120);
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.news-card-button:hover {
	background-color: rgba(8, 21, 120, 0.85);
	color: white;
	text-decoration: none;
}

/* Responsive para tarjetas horizontales */
@media (max-width: 992px) {
	.news-card-horizontal-image {
		flex: 0 0 280px;
		width: 280px;
		height: 220px;
	}
	
	.news-card-horizontal-content {
		padding: 20px 24px;
	}
}

@media (max-width: 768px) {
	.news-card-horizontal {
		flex-direction: column;
	}
	
	.news-card-horizontal-image {
		flex: none;
		width: 100%;
		height: 220px;
	}
	
	.news-card-horizontal-content {
		padding: 20px;
	}
	
	.news-cards-container {
		margin-left: 0;
		margin-right: 0;
	}
	
	.news-card-image {
		height: 180px;
	}
	
	.news-card-title {
		font-size: 1.05rem;
		min-height: auto;
	}
	
	.news-card-excerpt {
		font-size: 0.9rem;
		-webkit-line-clamp: 2;
		min-height: auto;
	}
}

/* Estilos para sección de contacto */
.contact-info-card {
	padding: 40px 20px;
	border-radius: 12px;
	background: white;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}

.contact-info-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgb(8, 21, 120) 0%, rgba(12, 29, 113, 0.9) 100%);
	margin-bottom: 20px;
}

.contact-icon-wrapper i {
	font-size: 30px;
	color: white;
}

.contact-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 16px;
}

.contact-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #666;
	margin-bottom: 0;
}

.contact-link {
	color: rgb(8, 21, 120);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.contact-link:hover {
	color: rgba(8, 21, 120, 0.8);
	text-decoration: underline;
}

.contact-divider {
	width: 50px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgb(8, 21, 120), transparent);
	margin: 16px auto;
}

/* Estilos para footer moderno */
.footer-modern {
	background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
	color: #b8b8b8;
	padding: 60px 0 30px;
}

.footer-brand {
	font-size: 2rem;
	font-weight: 700;
	color: white;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

.footer-tagline {
	font-size: 1rem;
	color: #888;
	margin-bottom: 40px;
	font-style: italic;
}

.footer-section-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: white;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgb(8, 21, 120);
	display: inline-block;
}

.footer-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links-list li {
	margin-bottom: 12px;
}

.footer-links-list li a {
	color: #b8b8b8;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.3s ease, padding-left 0.3s ease;
	display: inline-block;
}

.footer-links-list li a:hover {
	color: white;
	padding-left: 8px;
}

.footer-social-icons {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

@media (min-width: 768px) {
	.footer-social-icons {
		justify-content: flex-start;
	}
	
	.footer-info-item {
		text-align: left;
	}
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
	font-size: 20px;
	color: #b8b8b8;
}

.footer-social-link:hover {
	background: rgb(8, 21, 120);
	transform: translateY(-3px);
	color: white;
}



.footer-divider {
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	margin: 40px 0 30px;
}

.footer-copyright {
	font-size: 0.9rem;
}

.footer-copyright p {
	margin-bottom: 8px;
	color: #888;
}

.footer-legal-text {
	font-size: 0.85rem;
	color: #666;
}

/* Items de información en footer */
.footer-info-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
	gap: 12px;
}

.footer-info-icon {
	font-size: 18px;
	color: rgb(8, 21, 120);
	flex-shrink: 0;
	margin-top: 2px;
}

.footer-info-text {
	flex: 1;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #b8b8b8;
}

.footer-info-text strong {
	color: white;
	display: block;
	margin-bottom: 6px;
}

.footer-address-divider {
	width: 40px;
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
	margin: 12px 0;
}

.footer-info-item span {
	font-size: 0.9rem;
	color: #b8b8b8;
}

.footer-info-item a {
	color: #b8b8b8;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.footer-info-item a:hover {
	color: rgb(8, 21, 120);
}

/* Ajustes para textos - consistente con sidebar */
.blog-box-1 .padding-in,
.blog-box-1.blog-home .padding-in {
	padding: 24px !important;
}

/* Ajustes para textos en móvil */
@media (max-width: 767px) {
	.container-fluid {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	
	.blog-box-1 .padding-in,
	.blog-box-1.blog-home .padding-in {
		padding: 20px !important;
	}
	
	.grid-box.with-margin {
		margin-bottom: 20px;
	}
	
	.hero-description {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.sidebar-content {
		padding: 20px !important;
	}
	
	.contact-info-card {
		padding: 30px 20px;
	}
	
	.footer-modern {
		padding: 40px 0 20px;
	}
	
	.footer-brand {
		font-size: 1.5rem;
	}
	
	.footer-tagline {
		font-size: 0.9rem;
		margin-bottom: 30px;
	}
	
	.footer-section-title {
		margin-top: 30px;
		font-size: 1rem;
		text-align: center;
		width: 100%;
	}
	
	.footer-links-list {
		text-align: center;
	}
	
	.footer-info-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.footer-info-icon {
		margin-bottom: 8px;
	}
	
	.footer-info-text {
		text-align: center;
	}
	
	.footer-social-icons {
		justify-content: center;
		margin-top: 20px;
	}
	
	.footer-contact-card {
		padding: 30px 20px;
	}
	
	.footer-copyright {
		font-size: 0.85rem;
	}
	
	.footer-legal-text {
		font-size: 0.8rem;
	}
}

/* Clases para reemplazar estilos inline */

/* Google Maps iframe */
.map-iframe {
	border: 0;
	border-radius: 8px;
}

/* Imagen approach */
.approach-image {
	width: 100%;
	border-radius: 8px;
}

/* Comunicado de códigos (asamblea-general.php) */
.comunicado-codigos {
	background: linear-gradient(135deg, #0a208f 0%, #0d2ab8 100%);
	color: #f8faff;
	padding: 25px;
	border-radius: 12px;
	margin: 25px 0;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

.comunicado-codigos h5 {
	text-align: center;
	margin: 12px 0;
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: 0.8px;
	color: #f8fbff;
	text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Alert warning */
.alert-warning-custom {
	background-color: #fbf0cc;
	border: 1px solid #e3b651;
	border-radius: 12px;
	padding: 22px;
	margin: 25px 0;
	text-align: center;
}

.alert-warning-custom p {
	color: #000000;
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.3px;
}

/* Credential images */
.credential-image-wrapper {
	overflow: hidden;
	aspect-ratio: 16/9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.credential-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Alert info (bases-legales.php) */
.alert-info-custom {
	background-color: #f1f5ff;
	border: 1px solid #c5d4ff;
	border-radius: 10px;
	padding: 18px;
	margin: 18px 0;
}

.alert-info-custom p {
	margin: 0;
	color: #000000;
	font-size: 0.95rem;
}



/* Video section margin */
.video-section-margin {
	margin-bottom: 30px;
}

/* Donation image card */
.donation-image {
	object-fit: contain;
	background: #f8f9fa;
	padding: 40px;
}

/* YouTube embed wrapper */
.youtube-embed-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #000;
}

.youtube-embed-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* YouTube en tarjeta horizontal */
.news-card-horizontal-image .youtube-embed-wrapper {
	width: 100%;
	height: 100%;
}

/* Facebook pixel noscript (mantener inline para tracking) */
.fb-pixel-noscript {
	display: none;
}

/* Contenedor border radius (terminos-de-uso.php) */
#contenedor {
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}

/* Legal register styles (bases-legales.php) */

.legal-register-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-bottom: 28px;
}

@media (min-width: 768px) {
	.legal-register-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

.legal-register-item {
	background: #f7f9ff;
	border: 1px solid #d9e3ff;
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 16px 35px rgba(15, 52, 191, 0.08);
}

.legal-register-label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4c5aa7;
	font-weight: 600;
	margin-bottom: 6px;
}

.legal-register-item h5 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	color: #0a1d96;
	font-weight: 700;
}

.legal-register-item p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #4a4a4a;
}

.legal-register-list {
	padding-left: 18px;
	margin: 0;
	color: #4a4a4a;
	font-size: 0.92rem;
	line-height: 1.55;
}

.legal-register-note {
	background: #edf5ff;
	border-left: 4px solid #0a1d96;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 0.92rem;
	color: #2f3a70;
}

/* Preloader simple con fondo azul - solo index.php */
body.royal_preloader {
	overflow: hidden;
	background: #081578 !important;
}

#royal_preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #081578 0%, #0a1d96 50%, #0c1d71 100%);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transition: opacity 1s ease-out;
}

#royal_preloader.preloader-hide {
	opacity: 0;
}

#royal_preloader .royal_preloader_progress {
	width: 400px;
	height: 3px;
	background: rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	border-radius: 2px;
}

#royal_preloader .royal_preloader_progress::before {
	content: '▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓';
	position: absolute;
	left: -100%;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: 8px;
	line-height: 3px;
	animation: progressMove 1.5s ease-in-out infinite;
	white-space: nowrap;
	letter-spacing: -1px;
}

/* Ocultar el spinner circular y porcentajes del Royal Preloader */
#royal_preloader .royal_preloader_percentage,
#royal_preloader .royal_preloader_spinner,
#royal_preloader span,
#royal_preloader div[style*="color"],
#royal_preloader div[class*="spinner"],
#royal_preloader *:not(.royal_preloader_progress):not(.royal_preloader_progress::before) {
	display: none !important;
}

/* Asegurar que solo se vea nuestra barra de progreso */
#royal_preloader .royal_preloader_progress {
	display: block !important;
}

@keyframes progressMove {
	0% { left: -100%; }
	100% { left: 100%; }
}

/* Estilos para menú móvil */
@media (max-width: 991px) {
	/* Fondo azul siempre visible en móvil */
	#menu-wrap.black-menu-background-1st-trans {
		background-color: rgba(8, 21, 120, 0.95) !important;
		backdrop-filter: saturate(145%) blur(12px);
		-webkit-backdrop-filter: saturate(145%) blur(12px);
	}
	
	/* Reorganizar navbar para poner el botón a la derecha */
	.navbar {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		position: relative;
		min-height: 60px;
	}
	
	/* Logo a la izquierda - más pequeño */
	.navbar-brand {
		order: 1;
		margin-right: auto;
		padding: 8px 0;
	}
	
	.navbar-brand img {
		max-height: 45px;
		width: auto;
	}
	
	/* Botón hamburguesa a la derecha y centrado verticalmente */
	.navbar-toggler,
	.navbar-toggler-right {
		order: 2;
		position: absolute !important;
		right: 15px !important;
		top: 12px !important;
		transform: none !important;
		margin: 0;
	}
	
	/* Menú colapsable debajo */
	.navbar-collapse {
		order: 3;
		width: 100%;
		flex-basis: 100%;
	}
	
	/* Mejorar el botón hamburguesa */
	.navbar-toggler {
		padding: 6px 12px;
		position: relative;
	}
	
	/* Líneas del menú hamburguesa alineadas a la derecha */
	.navbar-inverse .navbar-toggler-icon {
		width: 24px;
		height: 2px;
		background-color: #fff;
		position: relative;
		display: block;
		margin-left: auto;
	}
	
	.navbar-inverse .navbar-toggler-icon:before {
		content: '';
		width: 24px;
		height: 2px;
		background-color: #fff;
		position: absolute;
		top: -8px;
		right: 0;
	}
	
	.navbar-inverse .navbar-toggler-icon:after {
		content: '';
		width: 24px;
		height: 2px;
		background-color: #fff;
		position: absolute;
		bottom: -8px;
		right: 0;
	}
	
	/* Animación cuando está expandido */
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
		background-color: transparent;
	}
	
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
		transform: rotate(45deg);
		top: 0;
	}
	
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
		transform: rotate(-45deg);
		bottom: 0;
	}
	
	/* Opciones del menú desplegado - texto blanco visible */
	.navbar-inverse .navbar-nav .nav-link:not(.lang-img) {
		color: #ffffff !important;
		background-color: transparent;
		padding: 12px 20px;
		text-transform: uppercase;
		font-size: 0.95rem;
		letter-spacing: 0.5px;
	}
	
	.navbar-inverse .navbar-nav .nav-link:not(.lang-img):hover,
	.navbar-inverse .navbar-nav .nav-link:not(.lang-img):focus,
	.navbar-inverse .navbar-nav .nav-link:not(.lang-img).active {
		background-color: rgba(1, 0, 144, 0.3);
		color: #ffffff !important;
	}
	
	/* Asegurar que el menú colapsado tenga fondo */
	.navbar-collapse {
		background-color: rgba(8, 21, 120, 0.98);
		margin-top: 10px;
		border-radius: 8px;
		padding: 10px 0;
	}
}

/* Asamblea General - Permitir que las credenciales se vean completas */
.asamblea-general-page #credentials-container {
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
	padding-bottom: 80px;
}

.asamblea-general-page #credentials-container .row {
	height: auto !important;
	max-height: none !important;
}

/* Sobrescribir overflow:hidden en la sección de credenciales */
.asamblea-general-page .section.over-hide {
	overflow: visible !important;
}

/* Asegurar que todos los contenedores en asamblea-general tengan altura automática */
.asamblea-general-page .section .grid-wraper,
.asamblea-general-page .section .grid-box,
.asamblea-general-page .section .blog-box-1,
.asamblea-general-page .section .padding-in {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

/* Tarjetas apiladas en Asamblea General */


.content-panel .blog-box-1 {
	margin: 0;
}
