/**
 * Armando Planes — capa visual 2026
 * Override no destructivo sobre Twenty Sixteen / clases Armando existentes.
 */

:root {
	--ap-ink: #0c1222;
	/* Azul de marca original (bkg_armando / #002e70) */
	--ap-navy: #002e70;
	--ap-navy-deep: #012676;
	--ap-sky: #0099dd;
	--ap-sky-soft: #dff3fb;
	--ap-coral: #ff3342;
	--ap-coral-hover: #e02332;
	--ap-surface: #eef3f9;
	--ap-card: #ffffff;
	--ap-muted: #5b6577;
	--ap-line: rgba(0, 46, 112, 0.12);
	--ap-radius: 14px;
	--ap-radius-sm: 8px;
	--ap-shadow: 0 10px 28px rgba(1, 38, 118, 0.16);
	--ap-font: "ArmandoFont", "Avenir Next", "Segoe UI", sans-serif;
	--ap-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--ap-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sustituye Montserrat/Merriweather de Twenty Sixteen (ya no se cargan desde Google). */
body,
button,
input,
select,
textarea,
.entry-title,
.site-title,
.main-navigation,
.widget,
.page-title {
	font-family: var(--ap-font) !important;
}

/* -------------------------------------------------------------------------- */
/* Base / atmósfera                                                           */
/* -------------------------------------------------------------------------- */

html {
	background-color: #002e70;
}

body {
	font-family: var(--ap-font);
	color: var(--ap-ink);
	background-color: #002e70;
	-webkit-font-smoothing: antialiased;
	/* Auto Ads mete padding-bottom inline (~120px) para el ancla inferior */
	padding-bottom: 0 !important;
}

body.custom-background {
	padding-bottom: 0 !important;
}

.site {
	/* Mismo azul/morado de marca de la web original */
	background-color: #002e70 !important;
	background-image: url("../img/bkg_armando.jpg") !important;
	background-size: 100% auto !important;
	background-repeat: repeat-y !important;
	background-position: top center !important;
	background-attachment: scroll !important;
	/* Sin min-height 100vh: evita huecos que llenan los Auto Ads */
	min-height: 0;
}

.site-inner {
	max-width: 1180px !important;
	padding: 0 1.25rem;
}

a {
	color: var(--ap-sky);
	transition: color 0.2s var(--ap-ease);
}

a:hover,
a:focus {
	color: var(--ap-navy);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 0 0 var(--ap-radius) var(--ap-radius);
	box-shadow: var(--ap-shadow);
	margin: 0.85rem 0 1.25rem;
	padding: 0.85rem 1.25rem !important;
	border-bottom: none !important;
	animation: ap-fade-down 0.55s var(--ap-ease) both;
}

.site-header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-branding {
	margin: 0 !important;
}

.site-branding .custom-logo-link img,
.site-branding .custom-logo {
	max-height: 96px;
	width: auto;
	height: auto;
	display: block;
}

@media (max-width: 640px) {
	.site-branding .custom-logo-link img,
	.site-branding .custom-logo {
		max-height: 72px;
	}
}

.site-title {
	font-family: var(--ap-font);
	font-size: 1.65rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin: 0 !important;
}

.site-title a {
	color: var(--ap-navy) !important;
	text-decoration: none !important;
}

.site-description {
	color: var(--ap-muted) !important;
	font-size: 0.9rem !important;
	margin: 0.15rem 0 0 !important;
}

.menu-toggle {
	border-radius: var(--ap-radius-sm) !important;
	border: 1px solid var(--ap-line) !important;
	background: var(--ap-sky-soft) !important;
	color: var(--ap-navy) !important;
	padding: 0.55rem 0.9rem !important;
}

.main-navigation a {
	color: var(--ap-ink) !important;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--ap-sky) !important;
}

.site-header .main-navigation ul ul {
	border-radius: var(--ap-radius-sm);
	box-shadow: var(--ap-shadow);
	border: 1px solid var(--ap-line);
}

/*
 * Banner manual AdRotate = unidad fija 728x90.
 * Si el wrapper va a width:100% (~1140px), AdSense no pinta el 728x90
 * y Google Auto Ads se mete en el hueco (JustAnswer, etc.).
 */
.banner-728x90,
.ap-manual-ad.banner-728x90 {
	width: 728px !important;
	max-width: 100% !important;
	min-height: 90px !important;
	height: 90px !important;
	max-height: 90px !important;
	margin: 0.5rem auto 0.75rem !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
	border-radius: 0;
	text-align: center;
	box-sizing: content-box !important;
}

.banner-728x90 .a-single,
.banner-728x90 ins.adsbygoogle {
	display: inline-block !important;
	width: 728px !important;
	max-width: 100% !important;
	height: 90px !important;
	margin: 0 auto !important;
}

/* Si Auto Ads envuelve el banner manual, no dejar que crezca a 300px */
.google-auto-placed:has(.banner-728x90),
.google-auto-placed:has(.ap-manual-ad) {
	width: 728px !important;
	max-width: 100% !important;
	max-height: 100px !important;
	margin: 0.5rem auto !important;
	overflow: hidden !important;
}

.banner-728x90:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Home feed / cards                                                          */
/* -------------------------------------------------------------------------- */

.home_armando,
.single_armando,
#mainArmando {
	display: block;
}

/* Grid SOLO en listados (home/archivo/búsqueda). Nunca en single. */
.home_armando > #mainArmando.site-main,
.home_armando .site-main,
.archive #primary .site-main,
.search #primary .site-main {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	margin-bottom: 0.75rem !important;
	/* Evita que un ad alto estire/alargue las cards de la fila */
	align-items: start;
}

/* Single / lectura: columna completa, sin grid de cards */
body.single .single_armando > #mainArmando.site-main,
.single_armando > #mainArmando.site-main {
	display: block !important;
	grid-template-columns: none !important;
	max-width: 1180px;
	margin: 0 auto 0.75rem;
}

/* Auto Ads dentro del grid: fila completa, no columna skyscraper */
.home_armando #mainArmando > .google-auto-placed,
.archive #primary .site-main > .google-auto-placed,
.search #primary .site-main > .google-auto-placed {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(728px, 100%) !important;
	max-height: 100px !important;
	overflow: hidden !important;
	margin: 0.25rem 0 !important;
}

.site-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.home_armando {
	margin-bottom: 0 !important;
}

/* Paginación, títulos de archivo y banners a todo el ancho del grid */
.home_armando #mainArmando > .navigation,
.home_armando #mainArmando > .banner-728x90,
.home_armando #mainArmando > .page-header,
.archive #primary .site-main > .navigation,
.archive #primary .site-main > .page-header,
.search #primary .site-main > .navigation,
.search #primary .site-main > .page-header {
	grid-column: 1 / -1;
}

.home_armando #mainArmando > .page-header,
.archive #primary .site-main > .page-header,
.search #primary .site-main > .page-header {
	background: rgba(255, 255, 255, 0.94);
	border-radius: var(--ap-radius);
	padding: 1rem 1.25rem;
	box-shadow: var(--ap-shadow);
	margin: 0;
}

.home_armando #mainArmando > .page-header .page-title,
.archive #primary .site-main > .page-header .page-title,
.search #primary .site-main > .page-header .page-title {
	margin: 0;
	color: var(--ap-navy);
	letter-spacing: -0.02em;
}

.post_home_armando,
#primary .post_home_armando {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	max-height: none !important;
	min-height: 0 !important;
	background: var(--ap-card) !important;
	border-radius: var(--ap-radius);
	overflow: hidden;
	box-shadow: var(--ap-shadow);
	border: 1px solid rgba(255, 255, 255, 0.4);
	transition: transform 0.35s var(--ap-ease), box-shadow 0.35s var(--ap-ease);
	animation: ap-fade-up 0.6s var(--ap-ease) both;
}

.post_home_armando:nth-child(2) { animation-delay: 0.05s; }
.post_home_armando:nth-child(3) { animation-delay: 0.1s; }
.post_home_armando:nth-child(4) { animation-delay: 0.15s; }
.post_home_armando:nth-child(5) { animation-delay: 0.2s; }

.post_home_armando:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(6, 24, 51, 0.18);
}

/* Featured sticky a todo el ancho */
.post_home_armando.sticky {
	grid-column: 1 / -1;
	width: 100% !important;
	max-height: none !important;
	min-height: 0 !important;
}

.post_home_armando.sticky ul {
	display: grid !important;
	grid-template-columns: 1.35fr 1fr;
	align-items: stretch;
}

.post_home_armando.sticky .imagenes_home_armando,
.post_home_armando.sticky .texto_armando_home {
	width: 100% !important;
	float: none !important;
	height: auto !important;
	display: block !important;
}

.post_home_armando ul {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.post_home_armando li {
	width: 100% !important;
	float: none !important;
	list-style: none;
}

.imagenes_home_armando {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ap-sky-soft);
}

.imagenes_home_armando a,
.imagenes_home_armando .post-thumbnail {
	display: block;
	height: 100%;
	margin: 0 !important;
}

.imagenes_home_armando img,
.post_home_armando .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--ap-ease);
}

.post_home_armando:hover .imagenes_home_armando img {
	transform: scale(1.04);
}

.texto_armando_home {
	padding: 1.1rem 1.2rem 1.35rem !important;
	background: var(--ap-card) !important;
	display: flex !important;
	height: auto !important;
	flex: 1;
}

.centrado_vertical {
	display: block !important;
	width: 100%;
}

.post_home_armando .entry-title {
	margin: 0 0 0.55rem !important;
	font-size: 1.2rem !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em;
}

.post_home_armando .entry-title a {
	color: var(--ap-ink) !important;
	text-decoration: none !important;
}

.post_home_armando .entry-title a:hover {
	color: var(--ap-sky) !important;
}

.post_home_armando .entry-summary {
	margin: 0 0 1rem !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
	color: var(--ap-muted) !important;
}

.post_home_armando .entry-summary p {
	margin: 0;
}

.btn_post,
input[type="button"],
#EnviarNews {
	display: inline-block;
	color: #fff !important;
	background: var(--ap-coral) !important;
	border-radius: var(--ap-radius-sm) !important;
	border: 0 !important;
	padding: 0.55rem 1rem !important;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none !important;
	letter-spacing: 0.01em;
	transition: background 0.2s var(--ap-ease), transform 0.2s var(--ap-ease);
	cursor: pointer;
}

.btn_post:hover,
input[type="button"]:hover,
#EnviarNews:hover {
	background: var(--ap-coral-hover) !important;
	transform: translateY(-1px);
}

/*
 * Slots del grid: card justa al anuncio (336x280 / 300x250), centrado.
 * Sin aspect-ratio alto (dejaba el ad “muy arriba” con vacío debajo).
 */
#mainArmando > .post_home_armando.height-fixed,
.home_armando .post_home_armando.height-fixed,
.post_home_armando.height-fixed,
.post_home_armando.ap-grid-ad {
	align-self: start !important;
	width: 100% !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	overflow: visible !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 1.25rem 1rem !important;
	box-sizing: border-box !important;
}

.post_home_armando.height-fixed ul,
.post_home_armando.ap-grid-ad ul {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

#mainArmando .post_home_armando.height-fixed .banner-slot,
.home_armando .post_home_armando.height-fixed .banner-slot,
.post_home_armando.height-fixed li.banner-slot,
.post_home_armando.ap-grid-ad .banner-slot,
.post_home_armando.height-fixed [id^="ap-ad-slot-"] {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	text-align: center !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

/* Desktop grid AdSense directo: 336x280 */
.post_home_armando.height-fixed .ap-ad-box,
.post_home_armando.height-fixed .a-single,
.post_home_armando.height-fixed .ads,
.post_home_armando.height-fixed [id*="300x250"],
.post_home_armando.height-fixed [id*="336x280"],
.post_home_armando.height-fixed [id^="home-"],
.post_home_armando.height-fixed iframe,
.post_home_armando.height-fixed ins.adsbygoogle,
.post_home_armando.height-fixed .adsbygoogle {
	display: block !important;
	width: 336px !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 280px !important;
	max-height: 280px !important;
	min-height: 280px !important;
	margin: 0 auto !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

@media (max-width: 782px) {
	.post_home_armando.height-fixed .ap-ad-box,
	.post_home_armando.height-fixed .a-single,
	.post_home_armando.height-fixed .ads,
	.post_home_armando.height-fixed [id*="300x250"],
	.post_home_armando.height-fixed [id^="home-"],
	.post_home_armando.height-fixed iframe,
	.post_home_armando.height-fixed ins.adsbygoogle,
	.post_home_armando.height-fixed .adsbygoogle {
		width: 300px !important;
		height: 250px !important;
		max-height: 250px !important;
		min-height: 250px !important;
	}
}

.banner-728x90:empty {
	display: none !important;
}

/* Paginación limpia: anula cuadrados negros de Twenty Sixteen */
.navigation.pagination,
.ap-pagination {
	grid-column: 1 / -1;
	position: relative !important;
	margin: 0.5rem 0 0.75rem !important;
	padding: 0.65rem 0.85rem !important;
	min-height: 0 !important;
	border: 0 !important;
	border-top: 0 !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: var(--ap-radius) !important;
	box-shadow: var(--ap-shadow);
	font-size: 0.95rem !important;
}

.navigation.pagination:before,
.navigation.pagination:after,
.ap-pagination:before,
.ap-pagination:after,
.navigation.pagination .nav-links:before,
.navigation.pagination .nav-links:after,
.ap-pagination .nav-links:before,
.ap-pagination .nav-links:after {
	content: none !important;
	display: none !important;
	background: none !important;
	width: 0 !important;
	height: 0 !important;
}

.navigation.pagination .nav-links,
.ap-pagination .nav-links {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
	align-items: center;
	padding: 0 !important;
	position: static !important;
}

.navigation.pagination .page-numbers,
.ap-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	min-width: 2.4rem;
	margin: 0 !important;
	padding: 0.45rem 0.75rem !important;
	border-radius: var(--ap-radius-sm) !important;
	background: var(--ap-sky-soft) !important;
	color: var(--ap-navy) !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	overflow: visible !important;
	font-weight: 600;
}

.navigation.pagination .page-numbers:before,
.navigation.pagination .page-numbers:after,
.ap-pagination .page-numbers:before,
.ap-pagination .page-numbers:after {
	content: none !important;
	display: none !important;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.ap-pagination .page-numbers.current,
.ap-pagination .page-numbers:hover {
	background: var(--ap-navy) !important;
	color: #fff !important;
}

.navigation.pagination .prev,
.navigation.pagination .next,
.ap-pagination .prev,
.ap-pagination .next {
	background: var(--ap-navy) !important;
	color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Single / lectura                                                           */
/* -------------------------------------------------------------------------- */

.sigle_armando_thumbnail {
	border-radius: var(--ap-radius) var(--ap-radius) 0 0;
	overflow: hidden;
	background: var(--ap-card);
}

.sigle_armando_thumbnail img {
	max-height: 520px !important;
	width: 100%;
	object-fit: cover;
	display: block;
}

.sigle_armando {
	background: var(--ap-card) !important;
	padding: 1.75rem 1.75rem 2rem !important;
	border-radius: 0 0 var(--ap-radius) var(--ap-radius);
	box-shadow: var(--ap-shadow);
	margin-bottom: 1.5rem;
}

.sigle_armando .entry-title {
	font-family: var(--ap-font);
	font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.03em;
	color: var(--ap-ink);
	margin: 0 0 0.75rem !important;
}

/* 2 columnas fijas: el clearfix de Twenty Sixteen (:before/:after) rompe flex */
.sigle_armando .entry-content {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 1.25rem 1.5rem;
	align-items: start;
	width: 100%;
}

.sigle_armando .entry-content:before,
.sigle_armando .entry-content:after {
	content: none !important;
	display: none !important;
}

.sigle_armando .entry-content_content {
	grid-column: 1;
	width: auto !important;
	max-width: 100%;
	float: none !important;
	min-width: 0;
}

.sigle_armando .entry-content_content p,
.sigle_armando .entry-content_content li {
	font-family: var(--ap-serif);
	font-size: 1.125rem;
	line-height: 1.7;
	color: #243044;
}

/* Columna derecha: fija, sin sticky, sin pelear con AdSense */
.sigle_armando .entry-adsense {
	grid-column: 2;
	width: 300px;
	max-width: 300px;
	float: none;
	margin: 0;
	padding: 0;
	align-self: start;
	position: static;
}

.sigle_armando .entry-adsense .sidebar,
.sigle_armando .entry-adsense .widget-area {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 0;
	width: 100%;
	float: none;
	position: static;
}

.sigle_armando .entry-adsense .widget {
	margin: 0;
	padding: 0;
	width: 100%;
	background: transparent;
	border: 0;
	box-shadow: none;
	float: none;
}

/* Ads: solo limitar caja; el alto lo decide AdSense (250 o 600) */
.sigle_armando .entry-adsense .a-single,
.sigle_armando .entry-adsense .ads {
	width: 300px;
	max-width: 100%;
	max-height: 600px;
	margin: 0 auto;
	line-height: 0;
	overflow: hidden;
}

.sigle_armando .entry-adsense .a-single > script {
	display: none;
}

/* Huecos vacíos / no rellenados */
.sigle_armando .entry-adsense .widget:has(ins.adsbygoogle[data-adsbygoogle-status="unfilled"]),
.sigle_armando .entry-adsense .widget:has(ins.adsbygoogle[style*="height: 0"]),
.sigle_armando .entry-adsense .widget_block:has(> div:empty),
.sigle_armando .entry-adsense .ap-ad-empty {
	display: none !important;
}

/* Listados (últimos posts, etc.) */
.sigle_armando .entry-adsense .widget_recent_entries,
.sigle_armando .entry-adsense .widget_block:has(ul),
.sigle_armando .entry-adsense .widget_pages,
.sigle_armando .entry-adsense .widget_categories {
	background: #f3f6fb;
	border: 1px solid var(--ap-line);
	border-radius: 12px;
	padding: 1rem 1.05rem;
	box-sizing: border-box;
}

.sigle_armando .entry-adsense .widget_block:has(.a-single),
.sigle_armando .entry-adsense .widget_block:has(.ads),
.sigle_armando .entry-adsense .widget.adrotate_widgets {
	background: transparent;
	border: 0;
	padding: 0;
}

.sigle_armando .entry-adsense .widget .widget-title,
.sigle_armando .entry-adsense .widget_block > h2,
.sigle_armando .entry-adsense .wp-block-heading {
	font-family: var(--ap-font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ap-navy);
	margin: 0 0 0.7rem;
	padding: 0 0 0.5rem;
	border-bottom: 2px solid rgba(0, 153, 221, 0.4);
	line-height: 1.3;
}

.sigle_armando .entry-adsense .widget ul,
.sigle_armando .entry-adsense .wp-block-latest-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sigle_armando .entry-adsense .widget ul > li,
.sigle_armando .entry-adsense .wp-block-latest-posts > li {
	margin: 0;
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(0, 46, 112, 0.08);
	line-height: 1.35;
}

.sigle_armando .entry-adsense .widget ul > li:last-child,
.sigle_armando .entry-adsense .wp-block-latest-posts > li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sigle_armando .entry-adsense .widget ul a,
.sigle_armando .entry-adsense .wp-block-latest-posts a {
	display: block;
	color: var(--ap-ink);
	text-decoration: none;
	font-family: var(--ap-font);
	font-size: 0.9rem;
	font-weight: 600;
}

.sigle_armando .entry-adsense .widget ul a:hover,
.sigle_armando .entry-adsense .wp-block-latest-posts a:hover {
	color: var(--ap-sky);
}

.sigle_armando .entry-adsense .widget .post-date,
.sigle_armando .entry-adsense .wp-block-latest-posts__post-date {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--ap-muted);
}

.sigle_armando .post-navigation,
.single_armando .post-navigation {
	clear: both;
	display: block;
	width: 100%;
	margin: 1.25rem 0 0.75rem;
	padding: 1rem 0 0;
	border-top: 1px solid rgba(0, 46, 112, 0.12);
}

.sigle_armando .post-navigation .nav-links,
.single_armando .post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.sigle_armando .post-navigation a,
.single_armando .post-navigation a {
	display: block;
	padding: 0.85rem 1rem;
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--ap-radius);
	box-shadow: var(--ap-shadow);
	color: var(--ap-navy) !important;
	text-decoration: none !important;
	transition: transform 0.25s var(--ap-ease);
}

.sigle_armando .post-navigation a:hover,
.single_armando .post-navigation a:hover {
	transform: translateY(-2px);
}

.sigle_armando .post-navigation .meta-nav {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
	margin-bottom: 0.25rem;
}

.sigle_armando .post-navigation .post-title {
	font-weight: 700;
	line-height: 1.3;
}

.sigle_armando .banner-728x90,
.single_armando .banner-728x90 {
	clear: both;
	margin: 1rem auto !important;
}

.type-post:not(.post_home_armando) {
	background: transparent;
}

/* -------------------------------------------------------------------------- */
/* Footer — azul de marca (no negro) + pegado al contenido                    */
/* -------------------------------------------------------------------------- */

.site-footer,
#colophon {
	display: none !important; /* menú ya está en el header; evita hueco extra */
}

#footer_armando {
	background: rgba(0, 28, 70, 0.92) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff !important;
	padding: 1.5rem 0 1.35rem !important;
	margin: 0.75rem 0 0 !important;
	border-radius: var(--ap-radius) var(--ap-radius) 0 0;
	border-top: 2px solid rgba(0, 153, 221, 0.45);
	box-shadow: 0 -8px 24px rgba(0, 20, 50, 0.2);
}

#footer_armando > .site-content,
#footer_armando .footer-armando-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

#footer_armando > .site-content > ul,
#footer_armando .footer-armando-inner > ul {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Solo Auto Ads “sueltos” (no los de AdRotate en el grid) */
.site-inner > .google-auto-placed,
body > .google-auto-placed {
	margin: 0.5rem 0 !important;
}

.mitad_armando {
	width: auto !important;
	float: none !important;
	padding: 0 !important;
	display: block !important;
}

.texto_azul {
	color: var(--ap-sky) !important;
	font-weight: 700 !important;
	font-size: 1.35rem !important;
	letter-spacing: -0.02em;
	margin: 0 0 0.65rem !important;
}

#form_footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: stretch;
}

#form_footer input[type="text"],
#form_footer input[type="email"] {
	width: auto !important;
	flex: 1 1 140px;
	float: none !important;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: var(--ap-radius-sm) !important;
	color: #fff !important;
	padding: 0.7rem 0.85rem !important;
}

#form_footer input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

#form_footer #EnviarNews {
	flex: 0 0 auto;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

#redes_armando {
	display: flex !important;
	gap: 0.75rem;
	width: auto !important;
	padding: 0.75rem 0 1rem !important;
	margin: 0 !important;
}

#redes_armando li {
	width: auto !important;
	float: none !important;
	list-style: none;
}

#redes_armando img {
	width: 36px;
	height: 36px;
	opacity: 0.92;
	transition: transform 0.2s var(--ap-ease), opacity 0.2s;
}

#redes_armando a:hover img {
	transform: translateY(-2px);
	opacity: 1;
}

#politicas_armando {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem;
	line-height: 1.55;
}

#politicas_armando a {
	color: rgba(255, 255, 255, 0.85) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(26, 159, 216, 0.5);
}

#politicas_armando a:hover {
	color: var(--ap-sky) !important;
}

/* -------------------------------------------------------------------------- */
/* Share                                                                      */
/* -------------------------------------------------------------------------- */

.armando-share {
	border-color: var(--ap-line) !important;
	margin: 1rem 0 1.5rem !important;
}

.armando-share__btn {
	border-radius: var(--ap-radius-sm) !important;
}

/* -------------------------------------------------------------------------- */
/* Motions                                                                    */
/* -------------------------------------------------------------------------- */

@keyframes ap-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ap-fade-down {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 980px) {
	.home_armando > #mainArmando.site-main,
	.home_armando .site-main,
	.archive #primary .site-main,
	.search #primary .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post_home_armando.sticky ul {
		grid-template-columns: 1fr;
	}

	.sigle_armando .entry-content {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	.sigle_armando .entry-content_content,
	.sigle_armando .entry-adsense,
	.entry-content_content,
	.entry-adsense {
		grid-column: 1 !important;
		width: 100% !important;
		float: none !important;
	}

	.sigle_armando .entry-adsense {
		position: static;
		margin-top: 1.25rem !important;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.sigle_armando .post-navigation .nav-links,
	.single_armando .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.site-inner {
		padding: 0 0.85rem;
	}

	.site-header {
		margin: 0.5rem 0 1rem;
		padding: 0.75rem 0.9rem !important;
	}

	.home_armando > #mainArmando.site-main,
	.home_armando .site-main,
	.archive #primary .site-main,
	.search #primary .site-main {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	#footer_armando > .site-content > ul,
	#footer_armando .footer-armando-inner > ul {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	#footer_armando {
		margin-top: 0.5rem !important;
		padding: 1.25rem 0 1.1rem !important;
		border-radius: var(--ap-radius) var(--ap-radius) 0 0;
	}

	.mitad_armando {
		width: 100% !important;
	}

	.texto_armando_home {
		height: auto !important;
		padding: 1rem 1rem 1.2rem !important;
		margin-bottom: 0 !important;
	}

	.sigle_armando {
		padding: 1.15rem !important;
	}
}
