/*
Theme Name: Betta WP Theme
Theme URI: https://estrellasdebetta.com/
Author: Estrellas de Betta
Author URI: https://estrellasdebetta.com/
Description: Tema editorial para el blog de Estrellas de Betta. Recrea la estética de astrología medieval del sitio principal: borgoña profundo, oro viejo, tipografía Cinzel + Lato y detalles celestiales. Compatible con el editor de bloques de WordPress.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: betta-wp-theme
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, wide-blocks
*/

/* ============================================================
   01. Fundamentos
   ============================================================ */
:root {
  --ink: #0A0307;
  --ink-soft: #10050A;
  --wine-950: #250008;
  --wine-900: #3A000C;
  --wine-800: #5A0113;
  --wine-700: #8A0015;
  --wine-600: #A00022;
  --wine-500: #B2002D;
  --gold: #D8B878;
  --gold-soft: #E7D0A2;
  --gold-bright: #F5E6C4;
  --cream: #F6EFE3;
  --muted: #C6B6AE;
  --line: rgba(216, 184, 120, .22);
  --line-strong: rgba(216, 184, 120, .48);
  --display: "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Lato", "Segoe UI", Arial, sans-serif;
  --glyph: "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", serif;
  --nav-h: 86px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  --container: 1280px;
  --content-width: 760px;
  --gap: clamp(1.5rem, 3vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(138, 0, 21, .16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 28%, rgba(90, 1, 19, .18), transparent 65%),
    radial-gradient(ellipse 90% 65% at 50% 100%, rgba(37, 0, 8, .75), transparent 70%),
    var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

::selection { background: var(--wine-600); color: var(--gold-bright); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0307; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--wine-700), var(--wine-800));
  border: 2px solid #0A0307;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--gold);
  clip: auto !important;
  clip-path: none;
  color: var(--wine-950);
  display: block;
  font-size: .8rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  line-height: normal;
  padding: .8rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: .8rem 1.2rem;
  background: var(--gold);
  color: var(--wine-950);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2500;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

main, .site-footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 10px);
}

/* ============================================================
   02. Tipografía, controles y utilidades
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  color: var(--cream);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .01em;
}

.entry-title, .page-title, .hero-title {
  font-size: clamp(2rem, 4.7vw, 3.8rem);
  font-weight: 400;
  line-height: 1.14;
  text-wrap: balance;
}

.text-gold {
  color: var(--gold-soft);
  background-image: linear-gradient(115deg, #F8EAC9 0%, #E6C98F 30%, #C7A05A 58%, #F2DCA9 82%, #D8B878 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lede {
  max-width: 640px;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(.98rem, 1.3vw, 1.07rem);
  font-weight: 300;
  line-height: 1.9;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.18; }

.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: var(--gold);
  font-family: var(--glyph);
  font-size: .8rem;
}
.gold-rule::before, .gold-rule::after {
  content: "";
  width: min(90px, 15vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.gold-rule::after { background: linear-gradient(90deg, var(--line-strong), transparent); }

.btn,
.wp-block-button__link,
.wp-element-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 50px;
  padding: .9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 1px;
  background: transparent;
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn .icon { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn-gold {
  background: linear-gradient(125deg, #F0D9A8 0%, #D8B878 50%, #BD9553 100%);
  color: #2A0008;
  box-shadow: 0 10px 34px rgba(216, 184, 120, .14);
}
.btn-gold:hover {
  color: #2A0008;
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(216, 184, 120, .26);
  background: linear-gradient(125deg, #F8E5BD, #E4C88E 50%, #C9A462);
}
.btn-ghost, .btn-line {
  border-color: rgba(216, 184, 120, .5);
  background: rgba(11, 3, 7, .28);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover, .btn-line:hover {
  border-color: var(--gold);
  background: rgba(90, 1, 19, .42);
  color: var(--cream);
  transform: translateY(-2px);
}
.wp-block-button__link {
  background: linear-gradient(125deg, #F0D9A8 0%, #D8B878 50%, #BD9553 100%);
  color: #2A0008;
}
.wp-block-button__link:hover { color: #2A0008; transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(216, 184, 120, .5);
  background: transparent;
  color: var(--cream);
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ============================================================
   03. Cabecera y navegación
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background:
    linear-gradient(105deg, rgba(37, 0, 8, .97) 0%, rgba(90, 1, 19, .95) 32%, rgba(138, 0, 21, .95) 58%, rgba(58, 0, 12, .97) 100%);
  border-bottom: 1px solid rgba(216, 184, 120, .2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled {
  background:
    linear-gradient(105deg, rgba(30, 0, 7, .99) 0%, rgba(74, 0, 16, .98) 32%, rgba(120, 0, 19, .98) 60%, rgba(41, 0, 9, .99) 100%);
  border-bottom-color: rgba(216, 184, 120, .32);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .48);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex: none;
  color: var(--cream);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
  transition: transform .6s var(--ease), color .3s;
}
.brand:hover .brand-mark { transform: rotate(90deg); color: var(--gold-bright); }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-text { display: flex; flex-direction: column; gap: .18rem; }
.brand-name {
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  color: var(--gold);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .32em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .custom-logo {
  width: auto;
  max-width: 210px;
  max-height: 50px;
  object-fit: contain;
}

.nav-links { display: flex; align-items: center; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(.45rem, .9vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu li { position: relative; margin: 0; }
.primary-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .25rem .1rem;
  color: rgba(246, 239, 227, .82);
  font-family: var(--body);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .115em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s;
}
.primary-menu > li:not(:last-child) > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.primary-menu > li:not(:last-child) > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li.current_page_ancestor > a { color: var(--gold-bright); }
.primary-menu > li:not(:last-child) > a:hover::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after,
.primary-menu > li.current_page_item > a::after,
.primary-menu > li.current_page_ancestor > a::after { width: 100%; }
.primary-menu > li:last-child > a,
.primary-menu > li.nav-cta > a {
  margin-left: .2rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(216, 184, 120, .52);
  color: var(--gold-soft);
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.primary-menu > li:last-child > a:hover,
.primary-menu > li.nav-cta > a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wine-950);
  transform: translateY(-1px);
}

.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  z-index: 20;
  min-width: 230px;
  padding: .55rem 0;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(37, 0, 8, .99), rgba(90, 1, 19, .99));
  box-shadow: 0 20px 46px rgba(0, 0, 0, .42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), visibility .25s, transform .25s var(--ease);
}
.primary-menu li:hover > .sub-menu,
.primary-menu li.focus > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.primary-menu .sub-menu a {
  display: block;
  padding: .65rem 1.1rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  line-height: 1.5;
  transition: background .25s, color .25s;
}
.primary-menu .sub-menu a:hover { background: rgba(216, 184, 120, .08); color: var(--gold-soft); }
.primary-menu .sub-menu li:last-child > a { margin: 0; padding: .65rem 1.1rem; border: 0; }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-bright));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(216, 184, 120, .36);
  background: rgba(37, 0, 8, .22);
  color: var(--gold);
  transition: border-color .3s, background .3s;
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(37, 0, 8, .5); }
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.menu-open .nav-toggle span:nth-child(1) { top: 23px; transform: translateX(-50%) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 23px; transform: translateX(-50%) rotate(-45deg); }

/* ============================================================
   04. Menú móvil
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.5rem, 7vw, 4rem) 2.5rem;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(178, 0, 45, .55), transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(216, 184, 120, .1), transparent 45%),
    linear-gradient(150deg, #1D0006 0%, #3A000C 45%, #6E0019 100%);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: visibility 0s linear .55s, opacity .45s var(--ease), transform .55s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.mobile-menu::before {
  content: "♓";
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 184, 120, .12);
  font-family: var(--glyph);
  font-size: 24rem;
  line-height: 1;
  pointer-events: none;
}
.mobile-menu__inner { position: relative; z-index: 1; max-width: 560px; }
.mobile-menu__label {
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mobile-nav;
}
.mobile-nav > li { counter-increment: mobile-nav; margin: 0; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(216, 184, 120, .13);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.25rem, 4.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  transition: color .25s, opacity .45s var(--ease), transform .45s var(--ease);
}
.mobile-nav > li > a::before {
  content: counter(mobile-nav, decimal-leading-zero);
  flex: none;
  width: 1.6rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.menu-open .mobile-nav > li:nth-child(1) > a { transition-delay: .08s; }
.menu-open .mobile-nav > li:nth-child(2) > a { transition-delay: .12s; }
.menu-open .mobile-nav > li:nth-child(3) > a { transition-delay: .16s; }
.menu-open .mobile-nav > li:nth-child(4) > a { transition-delay: .2s; }
.menu-open .mobile-nav > li:nth-child(5) > a { transition-delay: .24s; }
.menu-open .mobile-nav > li:nth-child(6) > a { transition-delay: .28s; }
.menu-open .mobile-nav > li:nth-child(7) > a { transition-delay: .32s; }
.menu-open .mobile-nav > li:nth-child(8) > a { transition-delay: .36s; }
.menu-open .mobile-nav > li:nth-child(9) > a { transition-delay: .4s; }
.mobile-nav a:hover, .mobile-nav a:focus-visible,
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current-menu-ancestor > a,
.mobile-nav li.current_page_item > a { color: var(--gold-soft); }
.mobile-nav .sub-menu {
  padding-left: 2.6rem;
  counter-reset: none;
}
.mobile-nav .sub-menu a { padding: .4rem 0; font-size: clamp(1rem, 3.6vw, 1.35rem); }
.mobile-nav .sub-menu a::before {
  content: "—";
  width: 1rem;
  color: rgba(216, 184, 120, .6);
  font-size: .8rem;
}
.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: .8rem;
}
.mobile-menu__foot a { color: var(--gold-soft); }
.mobile-menu__foot a:hover { color: var(--gold-bright); }

.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-menu { top: 46px; }
}

/* ============================================================
   05. Portada del blog y cabeceras editoriales
   ============================================================ */
.blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(86svh, 690px);
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.blog-hero__bg {
  position: absolute;
  inset: -2%;
  z-index: 0;
  background: url("assets/images/blog-hero.png") center 32% / cover no-repeat;
  filter: saturate(.92) contrast(1.04);
  animation: heroDrift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 3, 7, .97) 0%, rgba(18, 2, 8, .9) 28%, rgba(31, 1, 9, .62) 57%, rgba(10, 3, 7, .55) 100%),
    linear-gradient(0deg, rgba(10, 3, 7, .98) 0%, rgba(10, 3, 7, .12) 26%, transparent 50%, rgba(10, 3, 7, .42) 100%);
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 24% 50%, rgba(216, 184, 120, .06), transparent 46%);
}
.blog-hero__inner { position: relative; z-index: 3; }
.blog-hero .hero-copy { max-width: 760px; }
.blog-hero .hero-title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .005em;
  text-wrap: balance;
}
.blog-hero .hero-title .line { display: block; }
.blog-hero .hero-lede {
  max-width: 610px;
  margin-top: 1.5rem;
  color: rgba(246, 239, 227, .78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.7rem;
  margin-top: 2.2rem;
  color: rgba(246, 239, 227, .56);
  font-size: .7rem;
  letter-spacing: .04em;
}
.hero-meta li { display: flex; align-items: center; gap: .5rem; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--gold); }
.hero-meta a:hover { color: var(--gold-soft); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(231, 208, 162, .46);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(216, 184, 120, .7), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

.blog-hero__astrolabe {
  position: absolute;
  top: 50%;
  right: -5vw;
  z-index: 2;
  width: min(43vw, 610px);
  color: var(--gold);
  opacity: .3;
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 26px rgba(216, 184, 120, .18));
}
.blog-hero__astrolabe svg { width: 100%; height: auto; overflow: visible; }
.astro-spin { transform-origin: 260px 260px; animation: spin 120s linear infinite; }
.astro-spin-reverse { transform-origin: 260px 260px; animation: spin 180s linear infinite reverse; }
.astro-pulse { animation: astroPulse 7s ease-in-out infinite; transform-origin: 260px 260px; }
.astro-glyph text { fill: currentColor; font-family: var(--glyph); font-size: 13px; opacity: .8; }

.zodiac-marquee {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 58px;
  border-top: 1px solid rgba(216, 184, 120, .13);
  border-bottom: 1px solid rgba(216, 184, 120, .13);
  background: rgba(10, 3, 7, .9);
  overflow: hidden;
  user-select: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 2rem;
  padding-right: 2rem;
  color: rgba(231, 208, 162, .48);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-group span { display: inline-flex; align-items: center; gap: .45rem; }
.marquee-group b { color: rgba(216, 184, 120, .68); font-family: var(--glyph); font-size: 1.1rem; font-weight: 400; }
.marquee-group i { color: rgba(216, 184, 120, .3); font-family: var(--glyph); font-style: normal; font-size: .65rem; }

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.7rem, 7vw, 5.8rem));
  padding-bottom: clamp(3rem, 5.5vw, 4.8rem);
  background:
    radial-gradient(ellipse 60% 90% at 90% 10%, rgba(178, 0, 45, .22), transparent 65%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(90, 1, 19, .24), transparent 65%),
    linear-gradient(180deg, rgba(37, 0, 8, .86), rgba(10, 3, 7, .94));
  border-bottom: 1px solid rgba(216, 184, 120, .16);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "✦";
  position: absolute;
  top: 20%;
  right: 7%;
  z-index: 0;
  color: rgba(216, 184, 120, .06);
  font-family: var(--glyph);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero .page-title {
  max-width: 900px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
}
.page-hero .page-description {
  max-width: 680px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.9;
}
.page-hero .page-description p { margin: 0; }
.page-hero .page-description p + p { margin-top: .7rem; }
.page-hero .search-form { max-width: 560px; margin-top: 1.7rem; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  color: rgba(198, 182, 174, .55);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--gold-soft); transition: color .25s; }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs .sep { color: rgba(216, 184, 120, .32); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

/* ============================================================
   06. Blog: estructura, tarjetas y barra lateral
   ============================================================ */
.blog-section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(90, 1, 19, .18), transparent 65%),
    linear-gradient(180deg, rgba(10, 3, 7, .4), transparent 35%, rgba(37, 0, 8, .2));
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.blog-main { min-width: 0; }
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.sidebar-card,
.widget {
  position: relative;
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(216, 184, 120, .18);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(178, 0, 45, .13), transparent 62%),
    linear-gradient(155deg, rgba(37, 0, 8, .64), rgba(16, 5, 10, .58));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
}
.sidebar-card::before,
.widget::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(216, 184, 120, .055);
  pointer-events: none;
}
.sidebar-card > *, .widget > * { position: relative; z-index: 1; }
.sidebar-title, .widget-title {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
}
.sidebar-title::after, .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.sidebar-about { text-align: center; }
.sidebar-about__portrait {
  position: relative;
  width: 110px;
  height: 110px;
  margin: .3rem auto 1rem;
  padding: 6px;
  border: 1px solid rgba(216, 184, 120, .4);
  border-radius: 50%;
}
.sidebar-about__portrait::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(216, 184, 120, .24);
  border-radius: 50%;
}
.sidebar-about__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.85) contrast(1.03);
}
.sidebar-about h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
}
.sidebar-about .sidebar-role {
  margin-top: .25rem;
  color: var(--gold);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.sidebar-about p {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .81rem;
  line-height: 1.8;
}
.sidebar-about .sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: var(--gold-soft);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s;
}
.sidebar-about .sidebar-cta:hover { color: var(--gold-bright); }
.sidebar-about .sidebar-cta .icon { width: 14px; height: 14px; }

.sidebar-meta {
  display: grid;
  gap: .5rem;
  color: var(--muted);
  font-size: .78rem;
}
.sidebar-meta a { color: var(--gold-soft); }
.sidebar-meta a:hover { color: var(--gold-bright); }

.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(216, 184, 120, .09);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}
.widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget ul li a { color: var(--muted); transition: color .25s, padding-left .25s; }
.widget ul li a:hover { color: var(--gold-soft); padding-left: .25rem; }
.widget ul ul { margin-top: .4rem; padding-left: .9rem; }
.widget select {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(10, 3, 7, .7);
  color: var(--cream);
  font-size: .8rem;
}
.widget_tag_cloud a,
.wp-block-tag-cloud a {
  display: inline-block;
  margin: 0 .3rem .45rem 0;
  padding: .35rem .62rem;
  border: 1px solid rgba(216, 184, 120, .18);
  color: rgba(231, 208, 162, .76);
  font-size: .58rem !important;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: border-color .25s, color .25s, background .25s;
}
.widget_tag_cloud a:hover,
.wp-block-tag-cloud a:hover {
  border-color: var(--line-strong);
  background: rgba(138, 0, 21, .2);
  color: var(--cream);
}
.widget_calendar table { width: 100%; border-collapse: collapse; font-size: .76rem; }
.widget_calendar caption { margin-bottom: .6rem; color: var(--gold-soft); text-align: left; }
.widget_calendar th, .widget_calendar td { padding: .2rem; text-align: center; }
.widget_calendar tbody td a { color: var(--gold-soft); }

.search-form {
  position: relative;
  display: flex;
  align-items: stretch;
}
.search-form label { flex: 1; margin: 0; }
.search-form .search-field {
  width: 100%;
  min-height: 48px;
  padding: .75rem 3rem .75rem .9rem;
  border: 1px solid rgba(216, 184, 120, .22);
  border-radius: 0;
  background: rgba(10, 3, 7, .62);
  color: var(--cream);
  font-size: .84rem;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.search-form .search-field::placeholder { color: rgba(198, 182, 174, .42); }
.search-form .search-field:focus {
  border-color: var(--gold);
  background: rgba(37, 0, 8, .6);
  box-shadow: 0 0 0 3px rgba(216, 184, 120, .07);
}
.search-form .search-submit {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(216, 184, 120, .14);
  background: transparent;
  color: var(--gold);
  transition: color .25s, background .25s;
}
.search-form .search-submit:hover { background: rgba(138, 0, 21, .28); color: var(--gold-bright); }
.search-form .search-submit .icon { width: 18px; height: 18px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.7vw, 2.2rem);
}
.post-grid > .post-card--featured { grid-column: 1 / -1; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(216, 184, 120, .16);
  background:
    linear-gradient(160deg, rgba(37, 0, 8, .42), rgba(10, 3, 7, .56) 64%),
    var(--ink-soft);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .16);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover {
  border-color: rgba(216, 184, 120, .34);
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .32);
}
.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(138, 0, 21, .3), transparent 58%),
    linear-gradient(150deg, #250008, #10050A);
}
.post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 3, 7, .35), transparent 46%);
  pointer-events: none;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .8s var(--ease);
  filter: saturate(.87) contrast(1.03);
}
.post-card:hover .post-card__media img { transform: scale(1.04); filter: saturate(1) contrast(1.04); }
.post-card__media--empty {
  display: grid;
  place-items: center;
  color: rgba(216, 184, 120, .4);
  font-family: var(--glyph);
  font-size: clamp(3rem, 8vw, 5rem);
}
.post-card__media--empty::before {
  content: "✦";
  position: relative;
  z-index: 1;
  animation: twinkle 5s ease-in-out infinite;
}
.post-card__media--empty::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 184, 120, .12);
  background:
    radial-gradient(circle at 28% 30%, rgba(216, 184, 120, .08), transparent 20%),
    radial-gradient(circle at 72% 62%, rgba(216, 184, 120, .06), transparent 18%);
}
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
}
.post-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .7rem;
  margin-bottom: .8rem;
  color: var(--gold);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.post-card__kicker a { color: var(--gold-soft); transition: color .25s; }
.post-card__kicker a:hover { color: var(--gold-bright); }
.post-card__kicker .dot { color: rgba(216, 184, 120, .3); }
.post-card__title {
  font-family: var(--display);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}
.post-card__title a { display: block; transition: color .25s; }
.post-card__title a:hover { color: var(--gold-soft); }
.post-card__excerpt {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.85;
}
.post-card__excerpt p { margin: 0; }
.post-card__excerpt p + p { margin-top: .6rem; }
.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.post-card__date {
  color: rgba(198, 182, 174, .55);
  font-size: .64rem;
  letter-spacing: .04em;
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold-soft);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s;
}
.post-card__more .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.post-card__more:hover { color: var(--gold-bright); }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }

.post-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  min-height: 390px;
}
.post-card--featured .post-card__media { height: 100%; aspect-ratio: auto; min-height: 300px; }
.post-card--featured .post-card__body { padding: clamp(1.6rem, 3.3vw, 2.8rem); justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
.post-card--featured .post-card__excerpt { font-size: .92rem; }

.sticky .post-card__title::before {
  content: "✦ ";
  color: var(--gold);
  font-family: var(--glyph);
  font-size: .7em;
}

/* ============================================================
   07. Entradas, páginas y contenido de Gutenberg
   ============================================================ */
.entry-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 5.8rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 60% 80% at 86% 16%, rgba(178, 0, 45, .24), transparent 60%),
    radial-gradient(ellipse 54% 70% at 8% 100%, rgba(90, 1, 19, .3), transparent 70%),
    linear-gradient(180deg, rgba(37, 0, 8, .9), rgba(10, 3, 7, .96));
  border-bottom: 1px solid rgba(216, 184, 120, .16);
  overflow: hidden;
  isolation: isolate;
}
.entry-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .22;
  filter: saturate(.72) contrast(1.03);
}
.entry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 3, 7, .96) 0%, rgba(16, 5, 10, .88) 50%, rgba(10, 3, 7, .74) 100%),
    linear-gradient(0deg, rgba(10, 3, 7, .98), transparent 60%);
}
.entry-hero::after {
  content: "✦";
  position: absolute;
  top: 12%;
  right: 6%;
  z-index: 0;
  color: rgba(216, 184, 120, .08);
  font-family: var(--glyph);
  font-size: clamp(9rem, 20vw, 17rem);
  line-height: 1;
  pointer-events: none;
}
.entry-hero__inner { position: relative; z-index: 2; max-width: 920px; }
.entry-hero .entry-title {
  font-size: clamp(2.1rem, 4.9vw, 4.1rem);
  font-weight: 400;
  line-height: 1.16;
}
.entry-hero .entry-excerpt {
  max-width: 760px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}
.entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.entry-categories a,
.cat-links a {
  display: inline-block;
  padding: .28rem .55rem;
  border: 1px solid rgba(216, 184, 120, .28);
  color: var(--gold-soft);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: color .25s, border-color .25s, background .25s;
}
.entry-categories a:hover,
.cat-links a:hover { border-color: var(--gold); background: rgba(138, 0, 21, .28); color: var(--gold-bright); }
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.2rem;
  margin-top: 1.4rem;
  color: rgba(198, 182, 174, .66);
  font-size: .67rem;
  letter-spacing: .04em;
}
.entry-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.entry-meta .icon { width: 14px; height: 14px; color: var(--gold); }
.entry-meta a { color: var(--gold-soft); }
.entry-meta a:hover { color: var(--gold-bright); }
.entry-meta__author {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.single-main, .page-main {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
}
.single-layout { max-width: var(--content-width); margin-inline: auto; }
.single-layout--with-image .entry-featured-image {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.entry-featured-image {
  position: relative;
  margin: 0 0 2rem;
  border: 1px solid rgba(216, 184, 120, .2);
  background: var(--ink-soft);
}
.entry-featured-image img { width: 100%; height: auto; }
.entry-featured-image figcaption {
  padding: .7rem 1rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.6;
  text-align: center;
}
.entry-content {
  color: rgba(246, 239, 227, .8);
  font-size: 1.01rem;
  font-weight: 300;
  line-height: 1.92;
}
.entry-content > * { margin-block-start: 0; margin-block-end: 1.35em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin-bottom: 1.35em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  margin-top: 2.2em;
  margin-bottom: .65em;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}
.entry-content h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.entry-content h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.entry-content h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.entry-content h6 { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.entry-content h2::after, .entry-content h3::after {
  content: "";
  display: block;
  width: 2.8rem;
  height: 1px;
  margin-top: .8rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.entry-content a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(216, 184, 120, .35);
  text-underline-offset: 3px;
  transition: color .25s, text-decoration-color .25s;
}
.entry-content a:hover { color: var(--gold-bright); text-decoration-color: var(--gold-bright); }
.entry-content .wp-block-button__link {
  color: #2A0008;
  text-decoration: none;
}
.entry-content .wp-block-button__link:hover {
  color: #2A0008;
  text-decoration: none;
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: var(--cream);
  text-decoration: none;
}
.entry-content strong { color: var(--cream); font-weight: 700; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em 1.2rem; padding-left: 1rem; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 1rem; }
.entry-content ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: .05em;
  color: var(--gold);
  font-family: var(--glyph);
  font-size: .62em;
}
.entry-content ol { list-style: decimal; }
.entry-content ol li { padding-left: .25rem; }
.entry-content li + li { margin-top: .35em; }
.entry-content li > ul, .entry-content li > ol { margin-top: .35em; margin-bottom: 0; }
.entry-content blockquote,
.entry-content .wp-block-quote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 1px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.7;
}
.entry-content blockquote p:last-child,
.entry-content .wp-block-quote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
  display: block;
  margin-top: .8rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.entry-content .wp-block-quote.is-style-large { padding: 1.6rem 0 1.6rem 1.8rem; }
.entry-content .wp-block-pullquote {
  margin: 2.4rem 0;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-soft);
  text-align: center;
}
.entry-content .wp-block-pullquote p { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.6; }
.entry-content .wp-block-pullquote cite { color: var(--muted); }
.entry-content img { height: auto; }
.entry-content .wp-block-image { margin: 2rem 0; }
.entry-content .wp-block-image img { width: auto; max-width: 100%; margin-inline: auto; border: 1px solid rgba(216, 184, 120, .10); }
.entry-content .wp-block-image figcaption,
.entry-content figcaption,
.entry-content .wp-caption-text {
  margin-top: .55rem;
  color: rgba(198, 182, 174, .6);
  font-size: .68rem;
  line-height: 1.65;
  text-align: center;
}
.entry-content .wp-block-image.is-style-rounded img { border-radius: 2px; }
.entry-content hr,
.entry-content .wp-block-separator {
  margin: 2.5rem auto;
  border: 0;
  border-top: 1px solid var(--line);
  opacity: 1;
}
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 10%; }
.entry-content .wp-block-separator.is-style-dots::before { color: var(--gold); font-size: 1.2rem; letter-spacing: .8rem; }
.entry-content .wp-block-button { margin: 1.5rem 0; }
.entry-content .wp-block-button.alignleft { margin: .4rem 1.5rem 1rem 0; }
.entry-content .wp-block-button.alignright { margin: .4rem 0 1rem 1.5rem; }
.entry-content .wp-block-buttons { gap: .75rem; }
.entry-content table {
  width: 100%;
  margin: 1.8rem 0;
  border-collapse: collapse;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}
.entry-content th, .entry-content td {
  padding: .65rem .75rem;
  border: 1px solid rgba(216, 184, 120, .14);
  text-align: left;
}
.entry-content th { background: rgba(90, 1, 19, .38); color: var(--gold-soft); font-weight: 700; }
.entry-content tbody tr:nth-child(even) { background: rgba(37, 0, 8, .25); }
.entry-content pre {
  max-width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(216, 184, 120, .12);
  background: rgba(0, 0, 0, .38);
  color: var(--gold-soft);
  font-size: .8rem;
  line-height: 1.65;
  overflow-x: auto;
}
.entry-content code { padding: .1rem .3rem; background: rgba(138, 0, 21, .24); color: var(--gold-soft); font-size: .86em; }
.entry-content pre code { padding: 0; background: transparent; color: inherit; }
.entry-content .wp-block-cover {
  min-height: 320px;
  border: 1px solid rgba(216, 184, 120, .16);
}
.entry-content .wp-block-cover__inner-container { color: var(--cream); }
.entry-content .wp-block-cover p:last-child { margin-bottom: 0; }
.entry-content .wp-block-embed iframe { max-width: 100%; }
.entry-content .wp-block-media-text { gap: 1.5rem; }
.entry-content .wp-block-columns { gap: 1.5rem; }
.entry-content .wp-block-gallery { margin: 1.8rem 0; }
.entry-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.entry-content .wp-block-file .wp-block-file__button { background: var(--gold); color: var(--wine-950); }
.entry-content .has-drop-cap:not(:focus)::first-letter {
  float: left;
  margin: .42rem .5rem 0 0;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: .72;
}
.entry-content .wp-block-archives, .entry-content .wp-block-categories, .entry-content .wp-block-latest-posts { list-style: none; }
.entry-content .wp-block-archives li, .entry-content .wp-block-categories li, .entry-content .wp-block-latest-posts li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(216, 184, 120, .1);
}
.entry-content .wp-block-archives li::before, .entry-content .wp-block-categories li::before, .entry-content .wp-block-latest-posts li::before { content: none; }

.entry-content > .alignwide {
  width: min(1120px, calc(100vw - 3rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.entry-content > .alignfull img { width: 100%; }
.alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption img { margin-inline: auto; }

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.entry-footer .tags-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.entry-footer .tags-links a {
  padding: .3rem .55rem;
  border: 1px solid rgba(216, 184, 120, .18);
  color: var(--gold-soft);
  transition: border-color .25s, background .25s, color .25s;
}
.entry-footer .tags-links a:hover { border-color: var(--line-strong); background: rgba(138, 0, 21, .24); color: var(--gold-bright); }
.entry-footer .edit-link a { color: var(--muted); font-size: .62rem; }
.entry-footer .edit-link a:hover { color: var(--gold-soft); }

.page-links {
  clear: both;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: .7rem;
}
.page-links a, .page-links > span:not(.screen-reader-text) {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  margin: 0 .2rem;
  border: 1px solid var(--line);
  color: var(--gold-soft);
}
.page-links a:hover { border-color: var(--gold); background: rgba(138, 0, 21, .28); }

.author-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: 3rem;
  padding: 1.6rem;
  border: 1px solid rgba(216, 184, 120, .18);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(178, 0, 45, .13), transparent 55%),
    rgba(37, 0, 8, .32);
}
.author-box__avatar img {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(216, 184, 120, .3);
  border-radius: 50%;
  object-fit: cover;
}
.author-box__kicker {
  color: var(--gold);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.author-box__name {
  margin-top: .25rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}
.author-box__bio {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.8;
}
.author-box__link {
  display: inline-block;
  margin-top: .55rem;
  color: var(--gold-soft);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.author-box__link:hover { color: var(--gold-bright); }

.post-navigation {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post-navigation .nav-previous, .post-navigation .nav-next { min-width: 0; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { display: inline-block; max-width: 100%; }
.post-navigation .nav-subtitle {
  display: block;
  margin-bottom: .3rem;
  color: var(--gold);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.post-navigation .nav-title {
  color: var(--muted);
  font-family: var(--display);
  font-size: .95rem;
  line-height: 1.5;
  transition: color .25s;
}
.post-navigation a:hover .nav-title { color: var(--gold-soft); }

.related-posts {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.related-posts__head { margin-bottom: 1.6rem; }
.related-posts__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(216, 184, 120, .13);
  background: rgba(37, 0, 8, .24);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.related-card:hover { border-color: rgba(216, 184, 120, .3); transform: translateY(-2px); }
.related-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s var(--ease); }
.related-card:hover .related-card__media img { transform: scale(1.04); }
.related-card__media--empty { display: grid; place-items: center; background: rgba(37, 0, 8, .8); color: rgba(216, 184, 120, .32); font-family: var(--glyph); font-size: 2rem; }
.related-card__body { padding: 1rem; }
.related-card__title { font-family: var(--display); font-size: .98rem; line-height: 1.45; font-weight: 500; }
.related-card__title a:hover { color: var(--gold-soft); }
.related-card__date { display: block; margin-top: .45rem; color: rgba(198, 182, 174, .5); font-size: .58rem; }

/* ============================================================
   08. Paginación, resultados y 404
   ============================================================ */
.navigation.pagination { margin-top: 2.8rem; }
.navigation.pagination .nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .6rem;
  border: 1px solid rgba(216, 184, 120, .2);
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  transition: border-color .25s, background .25s, color .25s;
}
a.page-numbers:hover, .page-numbers.current {
  border-color: var(--gold);
  background: rgba(138, 0, 21, .36);
  color: var(--gold-bright);
}
.page-numbers.prev, .page-numbers.next { padding-inline: .9rem; }
.page-numbers .icon { width: 15px; height: 15px; }

.no-results,
.error-404 {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem);
  text-align: center;
}
.no-results__glyph,
.error-404__glyph {
  color: rgba(216, 184, 120, .34);
  font-family: var(--glyph);
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 1;
  animation: moonGlow 6s ease-in-out infinite;
}
.no-results__title,
.error-404__title {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}
.no-results__text,
.error-404__text {
  max-width: 540px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
}
.no-results .search-form,
.error-404 .search-form { max-width: 430px; margin: 1.8rem auto 0; }
.no-results__actions,
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.5rem; }

.search-form--large { max-width: 580px; margin-top: 1.6rem; }

/* ============================================================
   09. Comentarios y formularios
   ============================================================ */
.comments-area {
  max-width: var(--content-width);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.comments-title,
.comment-reply-title {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.7vw, 1.9rem);
  font-weight: 400;
  line-height: 1.4;
}
.comment-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.comment-list ol.children {
  margin: 1rem 0 0 1.4rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(216, 184, 120, .14);
  list-style: none;
}
.comment-body {
  position: relative;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(216, 184, 120, .11);
}
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--cream);
  font-size: .86rem;
  font-weight: 700;
}
.comment-author .avatar {
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(216, 184, 120, .28);
  border-radius: 50%;
}
.avatar--fallback {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(216, 184, 120, .22), transparent 68%),
    rgba(90, 1, 19, .34);
  color: var(--gold);
  font-family: var(--glyph);
  font-size: 1rem;
  line-height: 1;
}
.comment-author .says { color: var(--muted); font-size: .65rem; font-weight: 400; }
.comment-metadata { color: rgba(198, 182, 174, .48); font-size: .59rem; }
.comment-metadata a { color: rgba(231, 208, 162, .64); }
.comment-metadata a:hover { color: var(--gold-bright); }
.comment-metadata .edit-link { margin-left: .5rem; }
.comment-content {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.85;
  word-break: break-word;
}
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.comment-awaiting-moderation { margin-top: .6rem; color: var(--gold-soft); font-size: .72rem; }
.reply { margin-top: .4rem; }
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-soft);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.comment-reply-link:hover { color: var(--gold-bright); }
.comment-respond { margin-top: 2.2rem; }
.comment-notes, .logged-in-as { margin-top: .5rem; color: rgba(198, 182, 174, .55); font-size: .7rem; line-height: 1.7; }
.comment-notes a, .logged-in-as a { color: var(--gold-soft); }
.comment-form { margin-top: 1.2rem; }
.comment-form p { margin-bottom: .9rem; }
.comment-form label {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold-soft);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid rgba(216, 184, 120, .2);
  border-radius: 0;
  background: rgba(10, 3, 7, .5);
  color: var(--cream);
  font-size: .88rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(37, 0, 8, .5);
  box-shadow: 0 0 0 3px rgba(216, 184, 120, .07);
}
.comment-form .form-submit { margin-top: 1rem; }
.comment-form .submit,
.post-password-form input[type="submit"],
.wp-block-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 1px;
  background: linear-gradient(125deg, #F0D9A8 0%, #D8B878 50%, #BD9553 100%);
  color: var(--wine-950);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform .3s, box-shadow .3s;
}
.comment-form .submit:hover, .post-password-form input[type="submit"]:hover, .wp-block-search__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(216, 184, 120, .16);
}
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.comment-form-cookies-consent input { width: auto; margin-top: .2rem; }
.comment-form-cookies-consent label { margin: 0; font-size: .65rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.comment-list .children > li { margin-top: .5rem; }
.comments-closed { color: var(--muted); font-size: .8rem; }
.comment-navigation { margin-top: 1.4rem; }
.comment-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 1.5rem;
}
.comment-navigation a {
  color: var(--gold-soft);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.comment-navigation a:hover { color: var(--gold-bright); }

.post-password-form { max-width: 540px; }
.post-password-form label { display: block; margin-bottom: .5rem; color: var(--gold-soft); font-size: .7rem; }
.post-password-form input[type="password"] {
  width: 100%;
  margin-bottom: .8rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  background: rgba(10, 3, 7, .5);
  color: var(--cream);
}

/* ============================================================
   10. Pie de página
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(216, 184, 120, .2);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(138, 0, 21, .22), transparent 55%),
    linear-gradient(180deg, #1C0006, #0A0307 70%);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr .75fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 4.6rem);
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand > p {
  max-width: 360px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.85;
}
.footer-brand .footer-mail {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.1rem;
  color: var(--gold-soft);
  font-size: .8rem;
  transition: color .3s;
}
.footer-brand .footer-mail:hover { color: var(--gold-bright); }
.footer-brand .footer-mail .icon { width: 15px; height: 15px; color: var(--gold); }
.footer-title {
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.footer-menu, .footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu a, .footer-nav a {
  position: relative;
  color: var(--muted);
  font-size: .78rem;
  transition: color .3s, padding-left .3s;
}
.footer-menu a:hover, .footer-nav a:hover { color: var(--gold-soft); padding-left: .3rem; }
.footer-contact p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.85;
}
.footer-contact a {
  display: inline-block;
  color: var(--gold-soft);
  transition: color .3s;
}
.footer-contact a:hover { color: var(--gold-bright); }
.footer-contact .footer-online {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
  color: rgba(231, 208, 162, .58);
  font-family: var(--glyph);
  font-size: .62rem;
  letter-spacing: .1em;
}
.footer-zodiac {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.8rem, 2.5vw, 2.2rem);
  padding: 1rem;
  border-top: 1px solid rgba(216, 184, 120, .09);
  border-bottom: 1px solid rgba(216, 184, 120, .09);
  color: rgba(216, 184, 120, .34);
  font-family: var(--glyph);
  font-size: .9rem;
  letter-spacing: .3em;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-block: 1.5rem;
  color: rgba(198, 182, 174, .48);
  font-size: .66rem;
  letter-spacing: .02em;
}
.footer-bottom .footer-stars { color: rgba(231, 208, 162, .55); font-family: var(--display); letter-spacing: .06em; }

.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 184, 120, .35);
  border-radius: 50%;
  background: rgba(37, 0, 8, .85);
  color: var(--gold);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s, background .3s, border-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--wine-700); border-color: var(--gold); color: var(--gold-bright); }
.to-top .icon { width: 18px; height: 18px; }

/* ============================================================
   11. Apariciones y animaciones
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1%, -1.2%, 0); }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); opacity: .35; }
  50% { transform: scaleY(1); opacity: .9; }
}
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.82); }
  50% { opacity: .9; transform: scale(1.08); }
}
@keyframes moonGlow {
  0%, 100% { text-shadow: 0 0 18px rgba(216, 184, 120, .25); }
  50% { text-shadow: 0 0 38px rgba(216, 184, 120, .6); }
}
@keyframes astroPulse {
  0%, 100% { opacity: .35; transform: scale(.98); }
  50% { opacity: .8; transform: scale(1.02); }
}

/* ============================================================
   12. WordPress: bloques, widgets y utilidades
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .68rem; color: var(--muted); }
.bypostauthor > .comment-body { border-color: rgba(216, 184, 120, .24); }
.sticky { display: block; }

.wp-block-search .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0;
  border: 1px solid rgba(216, 184, 120, .22);
  background: rgba(10, 3, 7, .55);
}
.wp-block-search .wp-block-search__input {
  flex: 1;
  min-width: 0;
  padding: .75rem .9rem;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: .84rem;
}
.wp-block-search .wp-block-search__button { margin: 0; border: 0; border-left: 1px solid rgba(216, 184, 120, .16); }
.wp-block-search .wp-block-search__button .search-icon { display: none; }
.wp-block-search .wp-block-search__button::after { content: "Buscar"; }
.wp-block-latest-posts.wp-block-latest-posts__list li { margin-bottom: .6rem; }
.wp-block-latest-comments { padding-left: 0; }
.wp-block-latest-comments .wp-block-latest-comments__comment { margin-bottom: .8rem; }
.wp-block-latest-comments__comment-meta { color: var(--muted); font-size: .8rem; }
.wp-block-latest-comments__comment-date { color: rgba(198, 182, 174, .45); font-size: .6rem; }
.wp-block-latest-comments__comment-excerpt p { color: var(--muted); font-size: .78rem; line-height: 1.7; }

.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border-color: rgba(216, 184, 120, .16); }
.wp-block-image figcaption { color: var(--muted); }
.wp-block-audio audio { width: 100%; }
.wp-block-video video { max-width: 100%; }
.wp-block-embed figcaption { color: var(--muted); font-size: .68rem; }
.wp-block-social-links .wp-social-link a { color: inherit; }
.wp-block-social-links a:hover { opacity: .8; }
.wp-block-group.has-background { padding: 1.5rem; }
.wp-block-archives-list, .wp-block-categories-list { list-style: none; padding-left: 0; }
.wp-block-archives-list li, .wp-block-categories-list li { padding: .3rem 0; }
.wp-block-latest-posts { list-style: none; padding-left: 0; }

.alignwide, .alignfull { clear: both; }
.aligncenter, .alignleft, .alignright { margin-bottom: 1rem; }
.clearfix::after { content: ""; display: table; clear: both; }

.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.wp-block-group.alignfull { padding-inline: clamp(1.25rem, 5vw, 4rem); }
.wp-block-navigation { color: var(--cream); }
.wp-block-navigation a { color: inherit; }

/* ============================================================
   13. Adaptación responsive
   ============================================================ */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; flex: none; }
  .navbar { gap: 1rem; }
  .blog-hero__astrolabe { right: -18vw; opacity: .24; }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 2.5rem; }
}

@media (max-width: 1040px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-sidebar .sidebar-about { grid-column: 1 / -1; }
  .related-posts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.2fr .8fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --nav-h: 76px; }
  .blog-hero { min-height: max(100svh, 680px); }
  .blog-hero__astrolabe { display: none; }
  .blog-hero::before {
    background:
      linear-gradient(90deg, rgba(10, 3, 7, .95) 0%, rgba(18, 2, 8, .82) 42%, rgba(31, 1, 9, .38) 100%),
      linear-gradient(0deg, rgba(10, 3, 7, .98) 0%, rgba(10, 3, 7, .02) 38%, rgba(10, 3, 7, .2) 100%);
  }
  .blog-hero__bg { background-position: 82% 22%; }
  .blog-hero .hero-title { font-size: clamp(2.6rem, 9vw, 4.4rem); }
  .scroll-cue { display: none; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__media { aspect-ratio: 16 / 9; min-height: 0; }
  .entry-content > .alignwide { width: 100%; max-width: none; margin-left: 0; transform: none; }
  .related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 480px; }
}

@media (max-width: 680px) {
  .eyebrow { font-size: .61rem; letter-spacing: .22em; }
  .eyebrow::before { width: 1.8rem; }
  .eyebrow--center::after { width: 1.8rem; }
  .blog-hero { min-height: max(100svh, 630px); padding-top: calc(var(--nav-h) + 2.8rem); padding-bottom: 4.5rem; }
  .blog-hero .hero-title { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .hero-lede { font-size: .94rem; line-height: 1.85; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 1rem; font-size: .62rem; }
  .hero-meta { font-size: .68rem; gap: .5rem 1rem; }
  .hero-meta li { width: 100%; }
  .zodiac-marquee { height: 54px; }
  .marquee-group { gap: 1.5rem; padding-right: 1.5rem; font-size: .52rem; letter-spacing: .18em; }
  .marquee-group b { font-size: 1rem; }
  .marquee-group i { font-size: .55rem; }
  .page-hero { padding-top: calc(var(--nav-h) + 2.8rem); }
  .entry-hero { padding-top: calc(var(--nav-h) + 2.8rem); }
  .post-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: auto; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-sidebar .sidebar-about { grid-column: auto; }
  .sidebar-card, .widget { padding: 1.25rem 1.1rem; }
  .post-card--featured .post-card__body { padding: 1.4rem 1.2rem; }
  .post-card--featured .post-card__title { font-size: 1.55rem; }
  .entry-meta { font-size: .62rem; }
  .entry-hero .entry-title { font-size: clamp(1.9rem, 8.4vw, 2.9rem); }
  .single-main, .page-main { padding-block: 2.6rem 4rem; }
  .entry-content { font-size: .96rem; line-height: 1.86; }
  .entry-content > .alignwide { width: 100%; }
  .entry-content > .alignfull { width: 100vw; }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-box__avatar img { margin-inline: auto; }
  .post-navigation .nav-links { grid-template-columns: 1fr; gap: 1rem; }
  .post-navigation .nav-next { text-align: left; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .comments-area { margin-top: 2.6rem; }
  .comment-list ol.children { margin-left: .5rem; padding-left: .8rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 2.8rem; }
  .footer-brand { grid-column: auto; }
  .footer-menu, .footer-nav ul { grid-template-columns: 1fr 1fr; }
  .footer-zodiac { font-size: .78rem; letter-spacing: .1em; gap: .7rem; }
  .footer-bottom { display: block; text-align: center; }
  .footer-bottom .footer-stars { margin-top: .4rem; }
  .to-top { width: 42px; height: 42px; }
  .comment-form .submit { width: 100%; }
}

@media (max-width: 430px) {
  .blog-hero .hero-title { font-size: clamp(2.2rem, 10.8vw, 2.9rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .brand-name { font-size: .8rem; }
  .brand-sub { font-size: .43rem; letter-spacing: .25em; }
  .brand-mark { width: 34px; height: 34px; }
  .brand .custom-logo { max-width: 155px; max-height: 42px; }
  .post-card__footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .post-card__more { align-self: flex-end; }
  .page-numbers { min-width: 36px; height: 36px; }
  .entry-content > .alignfull { margin-left: calc(50% - 50vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .blog-hero__bg { animation: none; }
}
