/* ===================================== */
/* ELIMINAR JETPACK INFERIOR */
/* ===================================== */
.jetpack-likes-widget-wrapper {
	display: none !important;
}

.swiper-pagination-bullet {
	display: none !important;
}

/* ===================================== */
/* MENU INICIO PLANETAS Y LUNAS */
/* ===================================== */
.menu-sistema-solar {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 10px;
	width: calc(100vw - 60px);
	max-width: calc(100vw - 60px);
	position: relative;
	left: 50%;
	margin-left: calc(-50vw + 30px);
	background-color: #FFF;
/* color de fondo */
	padding: 0;
/* opcional */
}

.menu-sistema-solar a {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	max-height: 200px;
	padding: 2px;
/* espacio extra */
	overflow: hidden;
}

.menu-sistema-solar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
/* en lugar de cover */
	display: block;
}

/* Móvil */
@media (max-width:768px) {
	.menu-sistema-solar {
		grid-auto-flow: initial;
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
		width: calc(100vw - 60px);
		margin-left: calc(-50vw + 30px);
		left: 50%;
	}
	
	.menu-sistema-solar a {
		max-height: none;
	}
}

/* ===================================== */
/* GALERÍA FULLSCREEN REAL */
/* ===================================== */
.galeria-wrapper {
	width: 100vw;
	height: 100vh;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
}

.galeria-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(3, 1fr);
	height: 100%;
}

@media (max-width: 768px) {
	.galeria-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(6, 1fr);
	}
}

.galeria-item {
	display: block;
	overflow: hidden;
}

.galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease, opacity .5s ease;
}

.galeria-item:hover img {
	transform: scale(1.05);
	opacity: .92;
}

/* ===================================== */
/* GALERÍA FULLSCREEN 6 IMÁGENES */
/* ===================================== */
.galeria-wrapper-6 {
	width: 100vw;
	height: 100vh;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
}

.galeria-grid-6 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	height: 100%;
}

@media (max-width: 768px) {
	.galeria-grid-6 {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 1fr);
	}
}

.galeria-grid-6 .galeria-item {
	display: block;
	overflow: hidden;
}

.galeria-grid-6 .galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease, opacity .5s ease;
}

.galeria-grid-6 .galeria-item:hover img {
	transform: scale(1.05);
	opacity: .92;
}

/* ===================================== */
/* GALERÍA 8 IMÁGENES */
/* ===================================== */
.galeria-wrapper-8 {
	width: 100vw;
	height: 100vh;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
}

.galeria-grid-8 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	height: 100%;
}

@media (max-width: 768px) {
	.galeria-grid-8 {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
	}
}

.galeria-grid-8 .galeria-item {
	display: block;
	overflow: hidden;
}

.galeria-grid-8 .galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease, opacity .5s ease;
}

.galeria-grid-8 .galeria-item:hover img {
	transform: scale(1.05);
	opacity: .92;
}

/* ===================================== */
/* LIGHTBOX ORIGINAL ESTABLE */
/* ===================================== */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #000;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 2147483647;
	padding: 40px;
	box-sizing: border-box;
}

.lightbox:target {
	display: flex;
}

.lightbox-content {
	max-width: 95vw;
	max-height: 95vh;
	text-align: center;
	color: white;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 75vh;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.lightbox-caption {
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.5;
}

.lightbox-credit {
	margin-top: 6px;
	font-size: 13px;
	opacity: .7;
}

.lightbox-close {
	position: fixed;
	top: 25px;
	right: 35px;
	font-size: 44px;
	color: white;
	text-decoration: none;
}

/* ===================================== */
/* MENU STICKY CONTENIDOS */
/* ===================================== */
/* Contenedor del índice */
.indice {
	background-color: #f7f7f7;
	width: 100%;
	font-size: 14px;
	padding: 8px 0;
	text-align: center;
}

/* Enlaces */
.indice a {
	color: #000;
	text-decoration: none;
	margin: 0 10px;
	display: inline-block;
}

/* Hover opcional */
.indice a:hover {
	text-decoration: underline;
}

/* Comportamiento sticky solo en escritorio */
@media (min-width: 1024px) {
	.indice {
		position: sticky;
		top: 0;
		z-index: 1000;
	}
}