/*
Theme Name: FASCES Child
Theme URI: https://fasces.apcabos.es
Description: Tema hijo para FASCES – Asociación Profesional de Cabos de la Guardia Civil. Cabecera y menú propios en todas las páginas, portada con Flashes y TIPS, rejilla de tarjetas y shortcodes para TIPS jurídicos. Usa ChromeNews (base de ChromeMag) como tema padre.
Author: APC
Template: chromenews
Version: 2.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fasces-child
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--fasces-green: #00503e;
	--fasces-green-dark: #003d30;
	--fasces-green-deep: #002b22;
	--fasces-green-light: #abd4af;
	--fasces-gold: #f1ca1f;
	--fasces-gold-deep: #c9a227;
	--fasces-gold-text: #8a6d0b;
	--fasces-red: #bb251e;
	--fasces-cream: #faf7f0;
	--fasces-paper: #ffffff;
	--fasces-ink: #1f2a26;
	--fasces-muted: #5d6b65;
	--fasces-line: #e6e0d0;
	--fasces-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--fasces-sans: "Oswald", "Arial Narrow", Arial, sans-serif;
	--fasces-radius: 10px;
	--fasces-shadow: 0 6px 24px rgba(0, 40, 30, .10);
	--fasces-max: 1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body.fasces-theme {
	background: var(--fasces-cream) !important;
	color: var(--fasces-ink);
	font-family: var(--fasces-serif);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}
body.fasces-theme #page.fasces-site {
	background: transparent;
	max-width: none;
	margin: 0;
	padding: 0;
	box-shadow: none;
	overflow: visible;
}
body.fasces-theme a { color: var(--fasces-green); }
body.fasces-theme a:hover, body.fasces-theme a:focus { color: var(--fasces-green-dark); }
body.fasces-theme h1, body.fasces-theme h2, body.fasces-theme h3,
body.fasces-theme h4, body.fasces-theme h5, body.fasces-theme h6 {
	font-family: var(--fasces-serif);
	color: var(--fasces-green);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}
body.fasces-theme img { max-width: 100%; height: auto; }
body.fasces-theme .fasces-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: middle; }
body.fasces-theme :focus-visible { outline: 3px solid var(--fasces-gold); outline-offset: 2px; }

.fasces-container {
	width: 100%;
	max-width: var(--fasces-max);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.fasces-narrow { max-width: 920px; }
.fasces-rule {
	display: block;
	width: 56px;
	height: 3px;
	background: var(--fasces-gold);
	border-radius: 2px;
	margin: 14px 0 16px;
}

/* Ocultar restos de la cabecera/pie del tema padre si algún plugin los imprime */
body.fasces-theme #masthead,
body.fasces-theme .aft-main-breadcrumb-wrapper,
body.fasces-theme #af-preloader,
body.fasces-theme #scroll-up { display: none !important; }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.fasces-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: linear-gradient(180deg, var(--fasces-green) 0%, var(--fasces-green-dark) 100%);
	border-bottom: 3px solid var(--fasces-gold);
	box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
	color: #fff;
}
body.admin-bar .fasces-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fasces-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .fasces-header { top: 0; } }

.fasces-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 92px;
	transition: min-height .2s ease;
}
.fasces-header.is-scrolled .fasces-header-inner { min-height: 72px; }

.fasces-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding-right: 28px;
	position: relative;
}
.fasces-brand::after { /* divisor vertical dorado */
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	height: 52px;
	width: 2px;
	transform: translateY(-50%);
	background: linear-gradient(180deg, transparent, var(--fasces-gold), transparent);
}
.fasces-logo img, .fasces-logo .custom-logo {
	display: block;
	max-height: 64px;
	width: auto;
	transition: max-height .2s ease;
}
.fasces-header.is-scrolled .fasces-logo img { max-height: 52px; }
.fasces-logo a { display: block; }
.fasces-brand-text { min-width: 0; }
body.fasces-theme .fasces-brand-name {
	margin: 0;
	font-family: var(--fasces-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .06em;
	color: #fff;
}
body.fasces-theme .fasces-brand-name a { color: #fff; text-decoration: none; }
.fasces-brand-sub {
	margin: 4px 0 0;
	font-family: var(--fasces-sans);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: .04em;
	color: var(--fasces-gold);
	line-height: 1.3;
	max-width: 260px;
}

/* Menú */
.fasces-nav { margin-left: auto; }
.fasces-nav ul.fasces-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.fasces-nav ul.fasces-menu > li { position: relative; margin: 0; padding: 0; }
body.fasces-theme .fasces-nav ul.fasces-menu > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	font-family: var(--fasces-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}
.fasces-nav ul.fasces-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 3px;
	border-radius: 2px;
	background: var(--fasces-gold);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.fasces-nav ul.fasces-menu > li > a:hover::after,
.fasces-nav ul.fasces-menu > li > a:focus-visible::after,
.fasces-nav ul.fasces-menu > li.current-menu-item > a::after,
.fasces-nav ul.fasces-menu > li.current-menu-ancestor > a::after,
.fasces-nav ul.fasces-menu > li.current-category-ancestor > a::after,
.fasces-nav ul.fasces-menu > li.current-post-ancestor > a::after { transform: scaleX(1); }
body.fasces-theme .fasces-nav ul.fasces-menu > li.current-menu-item > a,
body.fasces-theme .fasces-nav ul.fasces-menu > li > a:hover { color: var(--fasces-gold); }
.fasces-menu-icon { color: var(--fasces-gold); width: 18px !important; height: 18px !important; }

/* Submenús */
.fasces-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--fasces-green-dark);
	border-top: 3px solid var(--fasces-gold);
	box-shadow: var(--fasces-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
}
.fasces-nav li:hover > .sub-menu,
.fasces-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
body.fasces-theme .fasces-nav .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: #fff;
	font-family: var(--fasces-sans);
	font-size: 14px;
	text-decoration: none;
}
body.fasces-theme .fasces-nav .sub-menu a:hover { color: var(--fasces-gold); background: rgba(255, 255, 255, .05); }

/* Botón hamburguesa */
.fasces-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	margin-left: auto;
	background: transparent !important;
	border: 2px solid var(--fasces-gold) !important;
	border-radius: 8px;
	color: var(--fasces-gold) !important;
	cursor: pointer;
	box-shadow: none !important;
}
.fasces-menu-toggle .fasces-icon { width: 26px; height: 26px; }
.fasces-toggle-close { display: none; }
.fasces-header.is-open .fasces-toggle-open { display: none; }
.fasces-header.is-open .fasces-toggle-close { display: inline-flex; }

@media (max-width: 1100px) {
	body.fasces-theme .fasces-nav ul.fasces-menu > li > a { padding: 12px 9px; font-size: 14px; }
	.fasces-brand-sub { max-width: 200px; }
}
@media (max-width: 1024px) {
	.fasces-header-inner { min-height: 76px; gap: 12px; }
	.fasces-menu-toggle { display: inline-flex; }
	.fasces-brand::after { display: none; }
	.fasces-brand { padding-right: 0; }
	.fasces-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--fasces-green-dark);
		border-bottom: 3px solid var(--fasces-gold);
		box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height .25s ease, visibility .25s;
	}
	.fasces-header.is-open .fasces-nav { max-height: 80vh; overflow-y: auto; visibility: visible; }
	.fasces-nav ul.fasces-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
	.fasces-nav ul.fasces-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	body.fasces-theme .fasces-nav ul.fasces-menu > li > a { padding: 14px 8px; font-size: 16px; }
	.fasces-nav ul.fasces-menu > li > a::after { left: 8px; right: auto; width: 40px; bottom: 6px; }
	.fasces-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 34px; }
}
@media (max-width: 480px) {
	.fasces-container { padding: 0 16px; }
	.fasces-logo img, .fasces-logo .custom-logo { max-height: 48px; }
	body.fasces-theme .fasces-brand-name { font-size: 22px; }
	.fasces-brand-sub { font-size: 10.5px; max-width: 210px; }
	.fasces-brand { gap: 10px; }
}

/* ==========================================================================
   Botones
   ========================================================================== */
body.fasces-theme .fasces-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 6px;
	font-family: var(--fasces-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	line-height: 1.2;
}
body.fasces-theme .fasces-btn .fasces-icon { width: 18px; height: 18px; transition: transform .15s ease; }
body.fasces-theme .fasces-btn:hover .fasces-icon { transform: translateX(3px); }
body.fasces-theme .fasces-btn-gold { background: var(--fasces-gold); color: var(--fasces-green-deep); box-shadow: 0 6px 18px rgba(241, 202, 31, .25); }
body.fasces-theme .fasces-btn-gold:hover { background: #ffd935; color: var(--fasces-green-deep); }
body.fasces-theme .fasces-btn-green { background: var(--fasces-green); color: #fff; }
body.fasces-theme .fasces-btn-green:hover { background: var(--fasces-green-dark); color: var(--fasces-gold); }

/* ==========================================================================
   Hero de portada
   ========================================================================== */
.fasces-hero {
	position: relative;
	color: #fff;
	background-color: var(--fasces-green-dark);
	background-image:
		linear-gradient(90deg, rgba(0, 43, 34, .96) 0%, rgba(0, 61, 48, .86) 45%, rgba(0, 61, 48, .35) 100%),
		var(--fasces-hero-img, radial-gradient(circle at 80% 30%, #0b6b54 0%, var(--fasces-green) 40%, var(--fasces-green-deep) 100%));
	background-size: cover;
	background-position: center;
	padding: 96px 0 150px;
	overflow: hidden;
}
.fasces-hero:not(.has-image)::before { /* trama decorativa cuando no hay imagen */
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(135deg, rgba(241, 202, 31, .05) 0 2px, transparent 2px 22px);
	pointer-events: none;
}
.fasces-hero-inner { position: relative; max-width: var(--fasces-max); }
body.fasces-theme .fasces-hero-title {
	margin: 0;
	font-family: var(--fasces-serif);
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
	max-width: 900px;
}
.fasces-hero-line { display: block; }
body.fasces-theme .fasces-hero-title em { font-style: normal; color: var(--fasces-gold); }
.fasces-hero .fasces-rule { width: 80px; margin: 24px 0; }
.fasces-hero-text {
	max-width: 560px;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .9);
	margin: 0 0 32px;
}

/* ==========================================================================
   Tarjetas de portada
   ========================================================================== */
.fasces-home-cards { margin-top: -90px; position: relative; z-index: 2; padding-bottom: 64px; }
.fasces-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fasces-card {
	border-radius: 12px;
	box-shadow: var(--fasces-shadow);
	padding: 28px 30px 24px;
	display: flex;
	flex-direction: column;
}
.fasces-card-dark { background: linear-gradient(160deg, var(--fasces-green) 0%, var(--fasces-green-dark) 100%); color: #fff; border-top: 4px solid var(--fasces-gold); }
.fasces-card-light { background: var(--fasces-paper); color: var(--fasces-ink); border-top: 4px solid var(--fasces-green); }
.fasces-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(171, 212, 175, .35); }
.fasces-card-light .fasces-card-head { border-bottom-color: var(--fasces-line); }
.fasces-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(241, 202, 31, .14);
	color: var(--fasces-gold);
	border: 1.5px solid var(--fasces-gold);
}
.fasces-card-light .fasces-card-icon { background: var(--fasces-green); color: var(--fasces-gold); border-color: var(--fasces-green); }
body.fasces-theme .fasces-card-title { margin: 0; font-size: 24px; }
body.fasces-theme .fasces-card-dark .fasces-card-title { color: #fff; }

.fasces-list { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.fasces-list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fasces-card-light .fasces-list li { border-bottom-color: var(--fasces-line); }
.fasces-list li:last-child { border-bottom: 0; }
body.fasces-theme .fasces-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 4px;
	text-decoration: none;
	color: inherit;
}
.fasces-list-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fasces-list-title { font-family: var(--fasces-serif); font-weight: 700; font-size: 16px; line-height: 1.4; }
.fasces-list-excerpt { font-size: 14px; color: var(--fasces-muted); line-height: 1.5; }
.fasces-list-date { font-family: var(--fasces-sans); font-size: 13px; letter-spacing: .04em; color: var(--fasces-green-light); }
.fasces-card-light .fasces-list-date { color: var(--fasces-gold-text); }
.fasces-list-chevron { color: var(--fasces-gold); width: 20px !important; height: 20px !important; transition: transform .15s ease; }
.fasces-card-light .fasces-list-chevron { color: var(--fasces-gold-deep); }
body.fasces-theme .fasces-list a:hover .fasces-list-title { color: var(--fasces-gold); }
body.fasces-theme .fasces-card-light .fasces-list a:hover .fasces-list-title { color: var(--fasces-green); text-decoration: underline; text-decoration-color: var(--fasces-gold); }
.fasces-list a:hover .fasces-list-chevron { transform: translateX(4px); }
.fasces-empty { opacity: .8; font-style: italic; }
body.fasces-theme .fasces-card-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	font-family: var(--fasces-sans);
	font-size: 15px;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fasces-gold);
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
}
body.fasces-theme .fasces-card-more:hover { border-bottom-color: currentColor; color: var(--fasces-gold); }
body.fasces-theme .fasces-card-light .fasces-card-more { color: var(--fasces-green); }
.fasces-card-more .fasces-icon { width: 18px; height: 18px; }
.fasces-home-content { padding-bottom: 64px; }

@media (max-width: 860px) {
	.fasces-home-grid { grid-template-columns: 1fr; }
	.fasces-hero { padding: 64px 0 120px; }
	.fasces-hero-text { font-size: 16px; }
	.fasces-card { padding: 22px 20px 18px; }
}

/* ==========================================================================
   Banner de título, migas de pan y rejilla
   ========================================================================== */
.fasces-banner {
	background:
		repeating-linear-gradient(135deg, rgba(241, 202, 31, .05) 0 2px, transparent 2px 22px),
		linear-gradient(120deg, var(--fasces-green) 0%, var(--fasces-green-dark) 100%);
	color: #fff;
	padding: 56px 0 48px;
	border-bottom: 1px solid rgba(241, 202, 31, .4);
}
body.fasces-theme .fasces-banner-title { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 44px); }
.fasces-banner .fasces-rule { width: 64px; margin: 18px 0 14px; }
.fasces-banner-sub { margin: 0; max-width: 720px; font-size: 17px; color: rgba(255, 255, 255, .88); font-style: italic; }
.fasces-banner-kicker {
	margin: 0 0 10px;
	font-family: var(--fasces-sans);
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fasces-gold);
}

.fasces-breadcrumb { background: #fff; border-bottom: 1px solid var(--fasces-line); }
.fasces-breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--fasces-sans); font-size: 14px; letter-spacing: .03em; }
.fasces-breadcrumb li { margin: 0; color: var(--fasces-muted); }
.fasces-breadcrumb li + li::before { content: "›"; color: var(--fasces-gold-deep); margin-right: 6px; }
body.fasces-theme .fasces-breadcrumb a { color: var(--fasces-green); text-decoration: none; }
body.fasces-theme .fasces-breadcrumb a:hover { text-decoration: underline; }

.fasces-main { padding: 44px 0 72px; }
.fasces-home.fasces-main { padding: 0; }
body.fasces-theme .fasces-section-title {
	font-size: 26px;
	margin: 0 0 26px;
	padding-left: 16px;
	border-left: 4px solid var(--fasces-gold);
}
.fasces-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .fasces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fasces-grid { grid-template-columns: 1fr; } }

.fasces-post-card {
	background: #fff;
	border-radius: var(--fasces-radius);
	overflow: hidden;
	box-shadow: var(--fasces-shadow);
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
	margin: 0;
}
.fasces-post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 40, 30, .16); }
.fasces-post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--fasces-green-dark); overflow: hidden; }
.fasces-post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.fasces-post-card-noimg {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: var(--fasces-gold);
	background: repeating-linear-gradient(135deg, rgba(241, 202, 31, .06) 0 2px, transparent 2px 18px), linear-gradient(135deg, var(--fasces-green), var(--fasces-green-dark));
}
.fasces-post-card-noimg .fasces-icon { width: 64px; height: 64px; opacity: .8; }
.fasces-post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
body.fasces-theme .fasces-post-card-title {
	margin: 0 0 10px;
	font-family: var(--fasces-sans);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 1.3;
	text-transform: uppercase;
}
body.fasces-theme .fasces-post-card-title a { color: var(--fasces-green); text-decoration: none; }
body.fasces-theme .fasces-post-card-title a:hover { color: var(--fasces-green-dark); text-decoration: underline; text-decoration-color: var(--fasces-gold); }
.fasces-meta { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--fasces-sans); font-size: 14px; color: var(--fasces-muted); }
.fasces-meta .fasces-icon { color: var(--fasces-gold-deep); width: 16px; height: 16px; }
.fasces-post-card .fasces-rule { width: 40px; margin: 14px 0; }
.fasces-post-card-excerpt { font-size: 15px; line-height: 1.65; color: #3b4743; flex: 1; margin-bottom: 20px; }
.fasces-post-card .fasces-btn { align-self: flex-start; padding: 10px 18px; font-size: 14px; }

/* Paginación */
.fasces-pagination { margin-top: 40px; }
.fasces-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
body.fasces-theme .fasces-pagination .page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #fff;
	border: 1px solid var(--fasces-line);
	color: var(--fasces-green);
	font-family: var(--fasces-sans);
	text-decoration: none;
	padding: 0 12px;
}
body.fasces-theme .fasces-pagination .page-numbers.current,
body.fasces-theme .fasces-pagination .page-numbers:hover { background: var(--fasces-green); color: var(--fasces-gold); border-color: var(--fasces-green); }

/* ==========================================================================
   Entradas y páginas
   ========================================================================== */
.fasces-paper {
	background: #fff;
	border-radius: var(--fasces-radius);
	box-shadow: var(--fasces-shadow);
	padding: 40px 44px;
}
@media (max-width: 640px) { .fasces-paper { padding: 24px 18px; } }
.fasces-article-thumb { margin: -40px -44px 32px; }
.fasces-article-thumb img { width: 100%; display: block; margin: 0 !important; border-radius: var(--fasces-radius) var(--fasces-radius) 0 0; }
@media (max-width: 640px) { .fasces-article-thumb { margin: -24px -18px 24px; } }
.fasces-article .entry-content { font-size: 17px; line-height: 1.8; }
.fasces-article .entry-content > *:first-child { margin-top: 0; }
.fasces-article .entry-content h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.fasces-article .entry-content h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.fasces-article .entry-content blockquote { border-left: 4px solid var(--fasces-gold); background: var(--fasces-cream); margin: 1.5em 0; padding: 16px 22px; font-style: italic; }
.fasces-tags { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
body.fasces-theme .fasces-tags a { font-family: var(--fasces-sans); font-size: 13px; background: var(--fasces-cream); border: 1px solid var(--fasces-line); padding: 4px 12px; border-radius: 20px; text-decoration: none; }
.fasces-post-nav { margin-top: 28px; }
.fasces-post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fasces-post-nav .nav-next { text-align: right; grid-column: 2; }
body.fasces-theme .fasces-post-nav a { display: block; background: #fff; border-radius: var(--fasces-radius); padding: 16px 20px; box-shadow: var(--fasces-shadow); text-decoration: none; }
.fasces-nav-label { display: block; font-family: var(--fasces-sans); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fasces-gold-text); }
.fasces-nav-title { display: block; font-weight: 700; color: var(--fasces-green); }
.fasces-comments { margin-top: 28px; }
.fasces-nothing { text-align: center; }

/* ==========================================================================
   Shortcodes TIPS
   ========================================================================== */
.fasces-intro {
	position: relative;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #f3f8f2 0%, #fffdf4 100%);
	border: 1px solid var(--fasces-green-light);
	border-left: 5px solid var(--fasces-green);
	border-radius: var(--fasces-radius);
	padding: 22px 24px;
	margin: 0 0 32px;
}
.fasces-intro-icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--fasces-green);
	color: var(--fasces-gold);
	flex: 0 0 52px;
}
.fasces-intro-icon .fasces-icon { width: 28px; height: 28px; }
.fasces-intro-text { flex: 1 1 300px; font-size: 17px; }
.fasces-intro-text p { margin: 0 0 .6em; }
.fasces-intro-text p:last-child { margin-bottom: 0; }
.fasces-intro-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 70px;
	padding: 7px 16px;
	border-radius: 30px;
	background: var(--fasces-green);
	color: var(--fasces-gold);
	font-family: var(--fasces-sans);
	font-size: 14px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.fasces-intro-badge .fasces-icon { width: 16px; height: 16px; }
@media (max-width: 640px) { .fasces-intro-badge { margin-left: 0; } }

.fasces-tip { margin: 0 0 30px; padding-bottom: 28px; border-bottom: 1px dashed var(--fasces-line); }
.fasces-tip:last-of-type { border-bottom: 0; }
.fasces-tip-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.fasces-tip-num {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fasces-gold);
	color: var(--fasces-green-deep);
	font-family: var(--fasces-sans);
	font-weight: 700;
	font-size: 20px;
	box-shadow: 0 0 0 4px rgba(241, 202, 31, .25);
}
body.fasces-theme .fasces-tip-title { margin: 0 !important; font-size: 21px; color: var(--fasces-green); }
.fasces-tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-left: 68px; }
.fasces-tip-grid.fasces-tip-single { grid-template-columns: 1fr; }
@media (max-width: 760px) { .fasces-tip-grid { grid-template-columns: 1fr; margin-left: 0; } }
.fasces-tip-warn, .fasces-tip-info {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: 8px;
	font-size: 15.5px;
	line-height: 1.6;
}
.fasces-tip-warn p, .fasces-tip-info p { margin: 0 0 .5em; }
.fasces-tip-warn p:last-child, .fasces-tip-info p:last-child { margin-bottom: 0; }
.fasces-tip-ojo .fasces-tip-warn { background: #fdf6d8; border: 1px solid #f1ca1f; border-left: 5px solid #f1ca1f; }
.fasces-tip-obligatorio .fasces-tip-warn { background: #fbe9e8; border: 1px solid #e7b3b0; border-left: 5px solid var(--fasces-red); }
.fasces-tip-warn-icon { flex: 0 0 auto; }
.fasces-tip-warn-icon .fasces-icon { width: 28px; height: 28px; }
.fasces-tip-ojo .fasces-tip-warn-icon { color: #9a7a00; }
.fasces-tip-obligatorio .fasces-tip-warn-icon { color: var(--fasces-red); }
.fasces-tip-warn-label { display: block; font-family: var(--fasces-sans); letter-spacing: .1em; font-size: 14px; margin-bottom: 2px; }
.fasces-tip-ojo .fasces-tip-warn-label { color: #7a6000; }
.fasces-tip-obligatorio .fasces-tip-warn-label { color: var(--fasces-red); }
.fasces-tip-info { background: #eef6ee; border: 1px solid var(--fasces-green-light); }
.fasces-tip-info-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fasces-green);
	color: var(--fasces-gold);
}
.fasces-tip-info-icon .fasces-icon { width: 22px; height: 22px; }

.fasces-aviso-legal {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 36px 0 0;
	padding: 18px 24px;
	border-radius: var(--fasces-radius);
	background: linear-gradient(120deg, var(--fasces-green) 0%, var(--fasces-green-dark) 100%);
	border-top: 3px solid var(--fasces-gold);
	color: #fff;
}
.fasces-aviso-legal-icon { color: var(--fasces-gold); width: 36px !important; height: 36px !important; }
.fasces-aviso-legal p { margin: 0; }
.fasces-aviso-legal-1 { font-weight: 700; font-size: 15.5px; }
.fasces-aviso-legal-2 { font-size: 14.5px; color: var(--fasces-green-light); font-style: italic; }

/* ==========================================================================
   Pie
   ========================================================================== */
.fasces-footer {
	background: var(--fasces-green-dark);
	border-top: 4px solid var(--fasces-gold);
	color: rgba(255, 255, 255, .85);
	margin-top: 0;
}
.fasces-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 32px; }
.fasces-footer-brand { display: flex; gap: 16px; align-items: flex-start; max-width: 520px; }
.fasces-logo-small img, .fasces-logo-small .custom-logo { max-height: 56px; }
.fasces-footer-name { margin: 0 0 6px; font-family: var(--fasces-serif); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: #fff; }
.fasces-footer-text { margin: 0; font-size: 14.5px; line-height: 1.6; }
.fasces-footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fasces-footer-nav li { margin: 0; }
body.fasces-theme .fasces-footer-nav a { color: #fff; font-family: var(--fasces-sans); letter-spacing: .05em; text-transform: uppercase; font-size: 14px; text-decoration: none; }
body.fasces-theme .fasces-footer-nav a:hover { color: var(--fasces-gold); }
.fasces-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.fasces-footer-bottom p { margin: 0; padding: 14px 0; font-family: var(--fasces-sans); font-size: 13px; letter-spacing: .05em; color: var(--fasces-green-light); }
.fasces-tricolor { display: flex; height: 6px; }
.fasces-tricolor span { flex: 1; }
.fasces-tricolor span:nth-child(1) { background: var(--fasces-green-light); }
.fasces-tricolor span:nth-child(2) { background: var(--fasces-gold); }
.fasces-tricolor span:nth-child(3) { background: var(--fasces-red); }

/* Formulario de búsqueda */
.fasces-nothing .search-form { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.fasces-nothing .search-field { padding: 10px 14px; border: 1px solid var(--fasces-line); border-radius: 6px; min-width: 240px; }
.fasces-nothing .search-submit { background: var(--fasces-green); color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; font-family: var(--fasces-sans); }
