/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
	--bg:           #080f09;
	--bg-card:      #0d1a0f;
	--accent:       #4caf72;
	--accent-dark:  #2d7a4a;
	--text:         #e8f0e9;
	--text-muted:   #7a9b7e;
	--border:       rgba(76, 175, 114, 0.15);
	--font-display: 'Playfair Display', serif;
	--font-body:    'Inter', sans-serif;
	--radius:       16px;
	--radius-sm:    8px;
}

/* ─── Admin Bar ─────────────────────────────────────────────────────────── */
html body.admin-bar .hero {
	min-height: calc(100vh - 32px);
}


/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
	box-sizing: border-box;
	margin:     0;
	padding:    0;
}

html {
	scroll-behavior: smooth;
}

body {
	background:   var(--bg);
	color:        var(--text);
	font-family:  var(--font-body);
	font-size:    16px;
	line-height:  1.6;
	overflow-x:   hidden;
}

img {
	max-width: 100%;
	display:   block;
}

a {
	text-decoration: none;
	color:           inherit;
}

/* ─── Nav ───────────────────────────────────────────────────────────────── */
.nav-main {
	position:        absolute;
	top:             0;
	left:            0;
	right:           0;
	z-index:         100;
	display:         flex;
	justify-content: space-between;
	align-items:     center;
	padding:         28px 48px;
	border-bottom:   0.5px solid rgba(76, 175, 114, 0.12);
}

.nav-logo {
	font-family:    var(--font-display);
	font-style:     italic;
	font-weight:    700;
	font-size:      22px;
	color:          var(--text);
	display:        flex;
	align-items:    center;
	gap:            8px;
	letter-spacing: -0.02em;
}

.nav-logo-symbol {
	color:       var(--accent);
	font-style:  normal;
	font-size:   14px;
}

.nav-links {
	display:   flex;
	gap:       40px;
	position:  absolute;
	left:      50%;
	transform: translateX(-50%);
}

.nav-links a {
	font-size:      11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color:          var(--text-muted);
	position:       relative;
	padding-bottom: 4px;
	transition:     color 0.2s;
}

.nav-links a::after {
	content:    '';
	position:   absolute;
	bottom:     0;
	left:       0;
	width:      0;
	height:     1px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a:hover::after {
	width: 100%;
}

.nav-search {
	color:       var(--text-muted);
	transition:  color 0.2s;
	display:     flex;
	align-items: center;
}

.nav-search:hover {
	color: var(--accent);
}

.nav-item {
	position: relative;
}

.nav-item > a {
	font-size:      11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color:          var(--text-muted);
	position:       relative;
	padding:        8px 0;
	display:        block;
	transition:     color 0.2s;
}

.nav-item > a::after {
	content:    '';
	position:   absolute;
	bottom:     0;
	left:       0;
	width:      0;
	height:     1px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.nav-item:hover > a {
	color: var(--text);
}

.nav-item:hover > a::after {
	width: 100%;
}

.nav-dropdown {
	display:       none;
	position:      absolute;
	top:           calc(100% + 12px);
	left:          50%;
	transform:     translateX(-50%);
	background:    #0d1a0f;
	border:        0.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding:       8px 0;
	min-width:     180px;
	z-index:       200;
}

.nav-dropdown::before {
	content:      '';
	position:     absolute;
	top:          -6px;
	left:         50%;
	transform:    translateX(-50%);
	border-left:  6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid var(--border);
}

.nav-item:hover .nav-dropdown {
	display: block;
}

.nav-dropdown a {
	display:        block;
	padding:        10px 20px;
	font-size:      13px;
	color:          var(--text-muted);
	letter-spacing: 0.05em;
	text-transform: none;
	transition:     color 0.2s, background 0.2s;
}

.nav-dropdown a:hover {
	color:      var(--accent);
	background: rgba(76, 175, 114, 0.06);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 220px;
  padding-bottom: 80px;
  box-sizing: border-box;
  margin-bottom: 0;
}

.hero::before {
	content:    '';
	position:   absolute;
	inset:      0;
	background: radial-gradient(ellipse at 60% 50%, rgba(26, 51, 32, 0.4) 0%, rgba(8, 15, 9, 0.85) 70%);
}

.hero-content {
	position:   relative;
	z-index:    2;
	text-align: center;
	width:      100%;
	max-width:  900px;
	padding:    0 24px;
	margin:     0 auto;
}

.hero-eyebrow {
	font-size:      11px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color:          var(--accent);
	margin-bottom:  24px;
}

.hero-headline {
	font-family:   var(--font-display);
	font-size:     clamp(64px, 10vw, 120px);
	font-weight:   900;
	line-height:   1.0;
	color:         var(--text);
	margin-bottom: 24px;
}

.hero-headline .crece {
	font-style: italic;
	color:      var(--accent);
}

.hero-subtitle {
	font-size:     17px;
	color:         var(--text-muted);
	max-width:     520px;
	margin:        0 auto 36px;
	line-height:   1.7;
}

.hero-actions {
	display:         flex;
	gap:             16px;
	justify-content: center;
	align-items:     center;
	margin-bottom:   56px;
}

.btn-primary {
	background:    var(--accent);
	color:         #080f09;
	padding:       14px 32px;
	border:        1px solid transparent;
	border-radius: 100px;
	font-size:     14px;
	font-weight:   500;
	line-height:   1;
	transition:    background 0.2s;
}

.btn-primary:hover {
	background: var(--accent-dark);
}

.btn-outline {
	border:        1px solid rgba(232, 240, 233, 0.3);
	color:         var(--text);
	padding:       14px 32px;
	border-radius: 100px;
	font-size:     14px;
	line-height:   1;
	transition:    border-color 0.2s;
}

.btn-outline:hover {
	border-color: var(--accent);
	color:        var(--accent);
}

.hero-stats {
	display:         flex;
	gap:             0;
	justify-content: center;
	align-items:     center;
	font-size:       14px;
	color:           var(--text-muted);
}

.hero-stats .stat-num {
	font-family:  var(--font-display);
	font-size:    18px;
	color:        var(--text);
	font-weight:  700;
	margin-right: 4px;
}

.hero-stats .stat-sep {
	margin:  0 24px;
	color:   var(--border);
	opacity: 0.5;
}

/* ─── Featured Post ─────────────────────────────────────────────────────── */
.featured-post {
	display:       block;
	position:      relative;
	width:         auto;
	height:        480px;
	margin:        24px 48px 24px;
	border-radius: var(--radius);
	overflow:      hidden;
	cursor:        pointer;
}

.featured-post img {
	position:        absolute;
	inset:           0;
	width:           100%;
	height:          100%;
	object-fit:      cover;
	object-position: center top;
}

.featured-post::before {
	content:    '';
	position:   absolute;
	inset:      0;
	z-index:    1;
	background: linear-gradient(to top, rgba(8, 15, 9, 0.95) 0%, rgba(8, 15, 9, 0.4) 50%, transparent 100%);
}

.featured-content {
	position: absolute;
	bottom:   0;
	left:     0;
	right:    0;
	padding:  48px;
	z-index:  2;
}

.featured-label {
	font-size:      10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color:          var(--accent);
	border:         0.5px solid var(--accent);
	padding:        4px 12px;
	display:        inline-block;
	margin-bottom:  16px;
}

.featured-title {
	font-family:  var(--font-display);
	font-size:    clamp(32px, 5vw, 52px);
	font-weight:  700;
	color:        var(--text);
	line-height:  1.15;
	max-width:    700px;
}

.featured-meta {
	font-size:   12px;
	color:       var(--text-muted);
	margin-top:  12px;
	display:     flex;
	gap:         16px;
}

/* ─── Articles Grid ─────────────────────────────────────────────────────── */
.articles-grid {
	padding: 80px 48px;
}

.section-label, .grid-label {
  font-size: 11px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin-bottom: 0 !important;
}

.grid-inner {
	display:               grid;
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows:    auto auto;
	gap:                   20px;
}

.card {
	background:    var(--bg-card);
	border:        0.5px solid var(--border);
	border-radius: var(--radius);
	overflow:      hidden;
}

.card-large {
	grid-row: span 2;
}

.card-img {
	height:   200px;
	overflow: hidden;
}

.card-large .card-img {
	height: 280px;
}

.card-img img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.card:hover .card-img img {
	transform: scale(1.04);
}

.card-body {
	padding: 24px;
}

.card-tag {
	font-size:      10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color:          var(--accent);
	margin-bottom:  10px;
}

.card-title {
	font-family:   var(--font-display);
	font-size:     20px;
	font-weight:   700;
	line-height:   1.25;
	margin-bottom: 10px;
}

.card-large .card-title {
	font-size: 26px;
}

.card-excerpt {
	font-size:   13px;
	color:       var(--text-muted);
	line-height: 1.65;
}

.card-link {
	display:        block;
	margin-top:     16px;
	font-size:      12px;
	color:          var(--accent);
	letter-spacing: 0.1em;
}

/* ─── Coming Soon Block ─────────────────────────────────────────────────── */
.coming-soon-block {
	padding:        28px;
	background:     var(--bg-card);
	border:         0.5px solid var(--border);
	border-radius:  var(--radius);
	height:         100%;
	display:        flex;
	flex-direction: column;
	justify-content: center;
}

.coming-soon-list {
	list-style: none;
	padding:    0;
	margin:     0;
}

.coming-soon-list li {
	font-size:     14px;
	color:         var(--text-muted);
	padding:       12px 0;
	border-bottom: 0.5px solid var(--border);
	display:       flex;
	align-items:   center;
	gap:           12px;
	line-height:   1.4;
}

.coming-soon-list li:last-child {
	border-bottom: none;
}

.coming-soon-list li span {
	color:      var(--accent);
	font-size:  10px;
	flex-shrink: 0;
}

/* ─── Stats Section ─────────────────────────────────────────────────────── */
.stats-section {
	padding:     80px 48px;
	text-align:  center;
	background:  radial-gradient(ellipse at center, rgba(26, 51, 32, 0.3) 0%, transparent 70%);
	border-top:  0.5px solid var(--border);
	border-bottom: 0.5px solid var(--border);
}

.stats-grid {
	display:         flex;
	justify-content: center;
	align-items:     center;
}

.stat-item {
	padding:      0 60px;
	border-right: 0.5px solid var(--border);
}

.stat-item:last-child {
	border-right: none;
}

.stat-number {
	font-family:  var(--font-display);
	font-size:    72px;
	font-style:   italic;
	font-weight:  900;
	color:        var(--accent);
	line-height:  1;
}

.stat-label {
	font-size:      10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color:          var(--text-muted);
	margin-top:     8px;
}

/* ─── CTA Banner ────────────────────────────────────────────────────────── */
.cta-banner {
	margin:          0 0 80px;
	padding:         40px 48px;
	background:      var(--bg-card);
	border-left:     3px solid var(--accent);
	border-radius:   0 var(--radius) var(--radius) 0;
	display:         flex;
	justify-content: space-between;
	align-items:     center;
}

.cta-text h3 {
	font-family: var(--font-display);
	font-style:  italic;
	font-size:   28px;
	font-weight: 700;
}

.cta-text p {
	font-size:  14px;
	color:      var(--text-muted);
	margin-top: 6px;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
	background:  #040a05;
	border-top:  0.5px solid var(--border);
	padding:     32px 48px;
	margin-top:  0;
}

.footer-grid {
	display:               grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap:                   48px;
}

.footer-logo {
	font-family: var(--font-display);
	font-style:  italic;
	font-weight: 700;
	font-size:   20px;
}

.footer-brand p {
	font-size:   13px;
	color:       var(--text-muted);
	margin-top:  12px;
	line-height: 1.7;
}

.site-footer h4 {
	font-size:      10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color:          var(--accent);
	margin-bottom:  16px;
}

.site-footer a,
.site-footer li {
	font-size:   13px;
	color:       var(--text-muted);
	line-height: 2.2;
	list-style:  none;
	display:     block;
}

.site-footer a:hover {
	color: var(--accent);
}

.footer-bottom {
	margin-top:      48px;
	padding-top:     24px;
	border-top:      0.5px solid var(--border);
	display:         flex;
	justify-content: space-between;
	font-size:       12px;
	color:           var(--text-muted);
}

/* ─── Article Content ───────────────────────────────────────────────────── */
.article-content p {
	font-size:     17px;
	line-height:   1.85;
	color:         var(--text);
	margin-bottom: 1.5em;
}

.article-content h2 {
	font-family: var(--font-display);
	font-size:   32px;
	font-weight: 700;
	margin:      2em 0 0.75em;
	border-top:  0.5px solid rgba(76,175,114,0.3);
	padding-top: 32px;
	margin-top:  48px;
}

.article-content h3 {
	font-family: var(--font-display);
	font-size:   24px;
	font-weight: 700;
	margin:      1.5em 0 0.5em;
}

.article-content img {
	border-radius: 12px;
	margin:        2em 0;
}

.article-content a {
	color:         var(--accent);
	border-bottom: 1px solid rgba(76, 175, 114, 0.3);
}

.article-content figcaption {
	font-size:     13px;
	color:         var(--text-muted);
	font-style:    italic;
	text-align:    center;
	margin-top:    8px;
	margin-bottom: 2em;
}

.article-content .wp-block-gallery {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   16px;
	margin:                2em 0;
}

.article-content .wp-block-gallery .wp-block-image {
	margin: 0;
}

.article-content .wp-block-gallery figure {
	margin: 0;
}

.article-content .wp-block-gallery.is-cropped,
.article-content .wp-block-gallery.has-nested-images,
.article-content figure.wp-block-gallery {
	display:               grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap:                   16px;
	margin:                2em 0;
}

.article-content .wp-block-gallery figure.wp-block-image {
	width:  100% !important;
	margin: 0 !important;
}

.article-content .wp-block-columns {
	display:               grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap:                   16px;
	margin:                2em 0;
}

.article-content .wp-block-column {
	width:  100% !important;
	margin: 0 !important;
}

.article-content table {
	width:           100%;
	border-collapse: collapse;
	margin:          2em 0;
	font-size:       14px;
}

.article-content th {
	background:     #0d1a0f;
	color:          var(--accent);
	font-size:      10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding:        12px 16px;
	text-align:     left;
	border-bottom:  1px solid var(--border);
}

.article-content td {
	padding:       12px 16px;
	border-bottom: 0.5px solid var(--border);
	color:         var(--text-muted);
	line-height:   1.6;
}

.article-content tr:hover td {
	background: rgba(76, 175, 114, 0.04);
}

.article-content ul,
.article-content ol {
	padding-left:  1.5em;
	margin-bottom: 1.5em;
}

.article-content li {
	font-size:     17px;
	line-height:   1.85;
	color:         var(--text);
	margin-bottom: 0.5em;
}

/* ─── FAQ Acordeón ──────────────────────────────────────────────────────── */
.faq-item {
	border:        0.5px solid var(--border);
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
	overflow:      hidden;
}

.faq-question {
	display:        block;
	width:          100%;
	background:     var(--bg-card);
	color:          var(--text);
	font-family:    var(--font-display);
	font-size:      18px;
	font-weight:    700;
	text-align:     left;
	padding:        20px 24px;
	border:         none;
	cursor:         pointer;
	position:       relative;
	transition:     color 0.2s;
}

.faq-question::after {
	content:    '+';
	position:   absolute;
	right:      24px;
	top:        50%;
	transform:  translateY(-50%);
	font-size:  22px;
	color:      var(--accent);
	transition: transform 0.3s;
}

.faq-question.open {
	color: var(--accent);
}

.faq-question.open::after {
	transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
	display:     none;
	padding:     0 24px 20px;
	font-size:   15px;
	color:       var(--text-muted);
	line-height: 1.75;
	background:  var(--bg-card);
}

.faq-answer.open {
	display: block;
}

/* ─── Rank Math TOC ─────────────────────────────────────────────────────── */
.rank-math-toc-widget-wrapper,
.wp-block-rank-math-toc-block,
.rank-math-toc {
	background:    var(--bg-card) !important;
	border:        0.5px solid var(--border) !important;
	border-radius: var(--radius) !important;
	padding:       24px 28px !important;
	margin:        2em 0 !important;
}

.rank-math-toc-widget-wrapper h2,
.rank-math-toc-widget-wrapper .title,
.wp-block-rank-math-toc-block h2 {
	font-family:    var(--font-display) !important;
	font-size:      14px !important;
	color:          var(--accent) !important;
	letter-spacing: 0.15em !important;
	text-transform: uppercase !important;
	margin-bottom:  16px !important;
}

.rank-math-toc-widget-wrapper a,
.wp-block-rank-math-toc-block a {
	color:           var(--text-muted) !important;
	font-size:       14px !important;
	line-height:     2 !important;
	text-decoration: none !important;
}

.rank-math-toc-widget-wrapper a:hover,
.wp-block-rank-math-toc-block a:hover {
	color: var(--accent) !important;
}

.rank-math-toc-widget-wrapper button,
.wp-block-rank-math-toc-block button {
	background: transparent !important;
	color:      var(--accent) !important;
	border:     0.5px solid var(--border) !important;
	font-size:  11px !important;
}

#wpadminbar                { position: fixed !important; }
.admin-bar .site-header    { top: 32px !important; }

/* ─── Articles 2x2 ─────────────────────────────────────────────────────── */
.articles-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 48px 48px 48px;
}

.article-card {
  display: block;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card-img {
  height: 500px;
  background-size: cover;
  background-position: top;
}

.article-card-img--empty {
  background: #0d2410;
}

.article-card-body {
  padding: 24px;
}

.article-card-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.article-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Section Divider ───────────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  height: 48px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: rgba(76,175,114,0.2);
}

.section-divider--cats {
  height: 48px;
  padding: 0;
}

.section-divider span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ─── Category Section ──────────────────────────────────────────────────── */
.cat-section {
  padding: 0 0 48px;
  border-bottom: 0.5px solid rgba(76,175,114,0.2);
  margin-bottom: 0;
}


.see-all {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.05em !important;
  transition: color 0.2s !important;
}

.see-all:hover { color: var(--accent) !important; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 48px 48px 22px;
}

.cat-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  cursor: pointer;
  transition: transform 0.3s;
}

.cat-card:hover { transform: translateY(-4px); }

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,9,0.96) 0%, rgba(8,15,9,0.5) 50%, rgba(8,15,9,0.2) 100%);
  transition: background 0.3s;
}

.cat-card:hover .cat-overlay {
  background: linear-gradient(to top, rgba(8,15,9,0.98) 0%, rgba(8,15,9,0.6) 50%, rgba(8,15,9,0.3) 100%);
}

.cat-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 2;
}

.cat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 900;
  color: rgba(76,175,114,0.2);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.cat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cat-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.about-box {
  padding: 48px;
  background-image: url('../images/about-bg.png');
  background-size: cover;
  background-position: center;
}
.about-box-inner {
  max-width: 720px;
  margin: 0 auto;
  border: 0.5px solid rgba(76,175,114,0.4);
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  padding: 40px 48px;
  text-align: center;
}
.about-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.about-box p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links span {
  display: none;
}
.footer-copy {
  text-align: center;
  margin-top: 8px;
}

.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
  }
  .nav-main { position: relative; }
  .nav-links {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(4,10,5,0.98);
    padding: 32px 24px;
    gap: 16px;
    z-index: 999;
    transform: none;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
  }
  .nav-item {
    width: 100%;
    padding: 8px 0;
    font-size: 18px;
    border-bottom: 0.5px solid rgba(76,175,114,0.15);
  }
  .nav-dropdown {
    position: static;
    display: none;
    padding-left: 16px;
  }
  .articles-2x2 {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
  .article-card-img {
    height: 220px;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
    gap: 10px;
  }
  .about-box {
    padding: 24px 16px;
  }
  .about-box-inner {
    padding: 24px;
  }
  .hero {
    min-height: 60vh;
    padding-top: 120px;
  }
  .wp-block-columns {
    flex-direction: column !important;
  }
  .wp-block-column {
    width: 100% !important;
    min-width: 100% !important;
    flex-basis: 100% !important;
  }
  .article-content .wp-block-columns {
    grid-template-columns: 1fr !important;
  }
  .article-content .wp-block-column {
    width: 100% !important;
  }
  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer-links span {
    display: none;
  }
  .before-after {
    grid-template-columns: 1fr;
  }
}

/* ─── Tip & Warning ─────────────────────────────────────────────────────── */
.tip {
	background:    rgba(76, 175, 114, 0.08);
	border-left:   4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	padding:       16px 20px;
	margin:        1.5em 0;
	font-size:     15px;
	color:         var(--text);
	line-height:   1.7;
}

.warning {
	background:    rgba(255, 193, 7, 0.08);
	border-left:   4px solid #ffc107;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	padding:       16px 20px;
	margin:        1.5em 0;
	font-size:     15px;
	color:         var(--text);
	line-height:   1.7;
}

/* ─── TOC Wrapper colapsable ────────────────────────────────────────────── */
.toc-wrapper {
	background: var(--bg-card);
	border:     0.5px solid var(--border);
	border-radius: var(--radius);
	margin:     2em 0;
	overflow:   hidden;
}

.toc-header {
	display:         flex;
	justify-content: space-between;
	align-items:     center;
	padding:         16px 24px;
	cursor:          pointer;
	font-family:     var(--font-display);
	font-size:       14px;
	font-weight:     700;
	color:           var(--accent);
	letter-spacing:  0.12em;
	text-transform:  uppercase;
	user-select:     none;
	border:          none;
	background:      transparent;
	width:           100%;
	text-align:      left;
}

.toc-header::after {
	content:    '▾';
	font-size:  16px;
	transition: transform 0.3s;
	flex-shrink: 0;
}

.toc-header.collapsed::after {
	transform: rotate(-90deg);
}

.toc-body {
	padding:     0 24px 20px;
	border-top:  0.5px solid var(--border);
}

.toc-body.hidden {
	display: none;
}

.toc-body ol,
.toc-body ul {
	padding-left: 1.2em;
	margin:       12px 0 0;
}

.toc-body li {
	font-size:     14px;
	color:         var(--text-muted);
	line-height:   2;
	margin-bottom: 0;
}

.toc-body a {
	color:           var(--text-muted);
	text-decoration: none;
	transition:      color 0.2s;
}

.toc-body a:hover {
	color: var(--accent);
}

/* ─── Video Wrapper 16:9 ────────────────────────────────────────────────── */
.video-wrapper {
	position:       relative;
	padding-bottom: 56.25%;
	height:         0;
	overflow:       hidden;
	max-width:      100%;
	border-radius:  var(--radius-sm);
	margin:         2em 0;
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper embed {
	position: absolute;
	top:      0;
	left:     0;
	width:    100%;
	height:   100%;
	border:   0;
}

/* ─── Before / After ───────────────────────────────────────────────────── */
.before-after {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   16px;
	margin:                24px 0;
}

.before-after img {
	width:  100%;
	height: auto;
}

/* ─── Tip & Warning — texto legible sobre fondo claro ──────────────────── */
.tip,
.warning {
	color: #1a1a1a !important;
}

.tip strong,
.warning strong {
	color: inherit;
}

/* ─── TOC Toggle Button ─────────────────────────────────────────────────── */
.toc-toggle-btn {
	-webkit-appearance: none;
	appearance:         none;
	background:         transparent;
	border:             none;
	box-shadow:         none;
	color:              var(--accent);
	font-family:        var(--font-display);
	font-size:          12px;
	font-weight:        700;
	letter-spacing:     0.1em;
	text-transform:     uppercase;
	cursor:             pointer;
	padding:            0;
	outline:            none;
	transition:         opacity 0.2s;
}
.toc-toggle-btn:hover {
	opacity: 0.7;
}

.before-after {
	grid-template-columns: 1fr 1fr;
	align-items:           start;
}

.before-after img {
	height:        400px;
	object-fit:    cover;
	border-radius: var(--radius-sm);
}

.warning        { color: #1a1a1a !important; }
.warning strong { color: #b45309 !important; }
.tip            { color: #1a1a1a !important; }
.tip strong     { color: #2d6a2d !important; }
