/*
Theme Name: Numiqa Blog
Theme URI: https://blog.numiqa.com
Author: Numiqa
Author URI: https://numiqa.com
Description: Tema personalizado para el blog de Numiqa. Diseño moderno alineado con numiqa.com.
Version: 2.0.12
License: Proprietary
Text Domain: numiqa-blog
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --color-primary: #4B5EFF;
  --color-primary-light: #6B7BFF;
  --color-primary-dark: #3A4BE6;
  --color-secondary: #7B6BFF;
  --color-accent: #00D9B4;
  --color-accent-light: #1FE5C8;

  --color-slate-50: #F5F7FB;
  --color-slate-100: #EEF2F8;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #9095A0;
  --color-slate-500: #6B7280;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #1A2B4A;
  --color-slate-950: #0F1A2E;

  --surface-app: #F5F7FB;
  --surface-card: #ffffff;
  --surface-elevated: rgba(255, 255, 255, 0.95);
  --text-primary: #0A0B0D;
  --text-secondary: #6B7280;
  --text-muted: #9095A0;
  --text-subtle: #B0B5C0;
  --border-default: #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.7);

  --gradient-primary: linear-gradient(135deg, #4B5EFF 0%, #7B6BFF 100%);
  --gradient-text: linear-gradient(135deg, #4B5EFF 0%, #7B6BFF 50%, #00D9B4 100%);
  --gradient-hero: linear-gradient(135deg, #0F1A2E 0%, #1A2B4A 100%);
  --gradient-btn: linear-gradient(135deg, #4B5EFF 0%, #7B6BFF 100%);
  --gradient-bg: linear-gradient(180deg, #ffffff 0%, #F5F7FB 50%, #ffffff 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.03), 0 6px 16px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 40px rgba(75, 94, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;

  --transition-fast: 150ms ease;
  --transition-base: 250ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 350ms cubic-bezier(0.22, 1, 0.36, 1);

  --max-width: 1200px;
  --content-width: 740px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface-app);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-dark); }

::selection {
  background: rgba(75, 94, 255, 0.12);
  color: var(--color-primary-dark);
}

/* ============================================================
   BACKGROUND
   ============================================================ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--gradient-bg);
  pointer-events: none;
}

.site-bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  background: radial-gradient(closest-side, rgba(75, 94, 255, 0.1), transparent 70%);
  top: -300px;
  right: -200px;
}

.site-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  background: radial-gradient(closest-side, rgba(123, 107, 255, 0.08), transparent 70%);
  bottom: 20%;
  left: -200px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-area {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: all var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.site-logo img {
  height: 28px;
  width: auto;
}

.site-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--text-primary);
  background: rgba(75, 94, 255, 0.06);
}

.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 0.25rem;
}

.header-search-toggle:hover {
  color: var(--text-primary);
  background: rgba(75, 94, 255, 0.06);
}

.header-search-toggle svg { width: 18px; height: 18px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--gradient-btn);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 14px rgba(75, 94, 255, 0.25);
  transition: all var(--transition-base);
  margin-left: 0.75rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 94, 255, 0.35);
  color: #fff !important;
}

.nav-cta svg { width: 14px; height: 14px; }

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(75, 94, 255, 0.06);
}

.mobile-toggle svg { width: 24px; height: 24px; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 26, 46, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  max-width: 600px;
  margin: 120px auto 0;
  padding: 0 2rem;
  transform: translateY(-20px);
  transition: transform var(--transition-slow);
}

.search-overlay.is-active .search-overlay-inner {
  transform: translateY(0);
}

.search-overlay .search-form {
  display: flex;
  gap: 0;
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.search-overlay .search-form input[type="search"] {
  flex: 1;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--text-primary);
  outline: none;
}

.search-overlay .search-form button {
  padding: 1.25rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.search-overlay .search-form button:hover { opacity: 0.9; }
.search-close { position: absolute; top: 2rem; right: 2rem; }

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  position: relative;
  padding: 9rem 0 4.5rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(75, 94, 255, 0.06), transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(75, 94, 255, 0.07);
  border: 1px solid rgba(75, 94, 255, 0.14);
  border-radius: 9999px;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ============================================================
   POST GRID
   ============================================================ */
.posts-section {
  padding: 2rem 0 6rem;
}

.posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.posts-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.post-card.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card.scroll-reveal:nth-child(2) { transition-delay: 0.06s; }
.post-card.scroll-reveal:nth-child(3) { transition-delay: 0.12s; }
.post-card.scroll-reveal:nth-child(4) { transition-delay: 0.18s; }
.post-card.scroll-reveal:nth-child(5) { transition-delay: 0.24s; }
.post-card.scroll-reveal:nth-child(6) { transition-delay: 0.30s; }

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(75, 94, 255, 0.18);
}

.post-card.scroll-reveal.is-visible:hover {
  transform: translateY(-6px);
}

.post-card-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-slate-100) 0%, var(--color-slate-200) 100%);
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.05);
}

.post-card-thumbnail .category-badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 9999px;
}

.no-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
}

.no-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(75, 94, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(123, 107, 255, 0.12) 0%, transparent 50%);
}

.no-thumbnail .icon-placeholder {
  position: relative;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.post-card-body {
  padding: 1.5rem 1.75rem;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.post-card-meta .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-slate-300);
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.post-card-title a:hover {
  color: var(--color-primary);
}

.post-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--color-primary-dark);
}

.read-more:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   FEATURED POST (FIRST POST LARGE)
   ============================================================ */
.post-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--radius-3xl);
}

.post-featured .post-card-thumbnail {
  aspect-ratio: auto;
  min-height: 380px;
  border-radius: var(--radius-3xl) 0 0 var(--radius-3xl);
}

.post-featured .post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 3rem;
}

.post-featured .post-card-title {
  font-size: 1.625rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.post-featured .post-card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 0.95rem;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 101;
  transition: width 50ms linear;
}

.single-post-header {
  padding: 8rem 0 2.5rem;
  text-align: center;
}

.single-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.single-breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.single-breadcrumbs a:hover { color: var(--color-primary); }

.single-breadcrumbs .bc-sep {
  color: var(--color-slate-300);
  font-size: 0.75rem;
}

.single-post-header .category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.single-post-header .category-link:hover {
  color: #fff;
  background: var(--color-primary-dark);
}

.single-post-header h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.post-meta-bar .separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-slate-300);
}

.single-featured-image {
  max-width: 900px;
  margin: 2rem auto 3.5rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.single-featured-image img {
  width: 100%;
  display: block;
}

/* ============================================================
   POST CONTENT
   ============================================================ */
.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.post-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 3rem 0 1rem;
}

.post-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 2.5rem 0 0.75rem;
}

.post-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.5rem;
}

.post-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.post-content li {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: rgba(75, 94, 255, 0.04);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-style: italic;
}

.post-content blockquote p {
  color: var(--text-primary);
  margin-bottom: 0;
}

.post-content pre {
  background: var(--color-slate-950);
  color: #e2e8f0;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-xl);
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.875rem;
  line-height: 1.7;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.post-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  background: rgba(75, 94, 255, 0.07);
  color: var(--color-primary-dark);
  padding: 0.15em 0.45em;
  border-radius: var(--radius-sm);
}

.post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.post-content img {
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  box-shadow: var(--shadow-lg);
}

.post-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(75, 94, 255, 0.3);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.post-content a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary-dark);
}

.post-content hr {
  border: none;
  height: 1px;
  background: var(--border-default);
  margin: 3rem 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.post-content th, .post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-default);
  text-align: left;
}

.post-content th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--color-slate-50);
}

.post-content figure { margin: 2rem 0; }

.post-content figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.625rem;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
}

.post-tags a {
  display: inline-flex;
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(75, 94, 255, 0.06);
  border: 1px solid rgba(75, 94, 255, 0.12);
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.post-tags a:hover {
  background: rgba(75, 94, 255, 0.12);
  border-color: rgba(75, 94, 255, 0.24);
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.share-buttons .share-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(75, 94, 255, 0.04);
}

.share-btn svg { width: 18px; height: 18px; }

/* Author box */
.author-box {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-info .author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-info .author-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Related posts */
.related-posts {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.related-posts-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ============================================================
   POST NAVIGATION
   ============================================================ */
.post-nav {
  max-width: var(--content-width);
  margin: 0 auto 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-nav a {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  text-decoration: none;
}

.post-nav a:hover {
  border-color: rgba(75, 94, 255, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-nav .nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.375rem;
}

.post-nav .nav-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.post-nav .next { text-align: right; }

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-default);
}

.widget ul { list-style: none; }

.widget li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: all var(--transition-fast);
}

.widget li:last-child a { border-bottom: none; }
.widget li a:hover { color: var(--color-primary); padding-left: 0.25rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.pagination a {
  color: var(--text-secondary);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.pagination a:hover {
  color: var(--color-primary);
  border-color: rgba(75, 94, 255, 0.3);
  background: rgba(75, 94, 255, 0.06);
}

.pagination .current {
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  box-shadow: 0 4px 12px rgba(75, 94, 255, 0.25);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 5rem 0;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  background: var(--gradient-hero);
  border-radius: var(--radius-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(75, 94, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 217, 180, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card > * { position: relative; }

.cta-card h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-card .btn-primary {
  background: #fff;
  color: var(--color-primary) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-card .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--color-primary-dark) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--color-slate-900);
  color: var(--color-slate-300);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(closest-side, rgba(75, 94, 255, 0.08), transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.footer-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand .site-logo img {
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-brand .site-logo span {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #00D9B4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-slate-400);
  max-width: 300px;
}

.footer-brand-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.footer-brand-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: rgba(148, 163, 184, 0.1);
  color: var(--color-slate-400);
  transition: all var(--transition-fast);
}

.footer-brand-social a:hover {
  background: rgba(75, 94, 255, 0.15);
  color: #fff;
}

.footer-brand-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate-200);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: rgba(148, 163, 184, 0.08);
  color: var(--color-slate-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(75, 94, 255, 0.15);
  color: #fff;
}

.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   SEARCH FORM (standalone)
   ============================================================ */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.search-form input[type="search"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(75, 94, 255, 0.1);
}

.search-form button {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-form button:hover {
  box-shadow: 0 4px 14px rgba(75, 94, 255, 0.25);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 8.5rem 2rem 6rem;
}

.error-404 .error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.error-404 h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.error-404 p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 14px rgba(75, 94, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 94, 255, 0.35);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: rgba(75, 94, 255, 0.3);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--color-primary);
  border-color: rgba(75, 94, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 0;
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.comment-author .fn { font-weight: 600; color: var(--text-primary); }
.comment-metadata { color: var(--text-muted); font-size: 0.8125rem; }
.comment-metadata a { color: inherit; }

.comment-content p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); }
.comment .children { margin-left: 2rem; padding-left: 1rem; border-left: 2px solid var(--border-default); }

.comment-respond { margin-top: 2.5rem; }
.comment-form label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.375rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(75, 94, 255, 0.1);
}

.comment-form .form-submit input {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.comment-form .form-submit input:hover {
  box-shadow: 0 4px 14px rgba(75, 94, 255, 0.25);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .post-featured {
    grid-template-columns: 1fr;
  }
  .post-featured .post-card-thumbnail {
    min-height: 280px;
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --max-width: 100%;
  }

  .site-container { padding: 0 1.25rem; }
  .header-inner { height: 56px; padding: 0 1.25rem; }

  .nav-menu { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: all var(--transition-slow);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav-menu.is-open a {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
  }

  .nav-cta-desktop { display: none; }
  .header-search-toggle { display: none; }
  .mobile-toggle { display: flex; z-index: 160; }

  .mobile-toggle.is-open svg {
    transform: rotate(90deg);
  }

  .nav-menu .mobile-cta {
    display: inline-flex;
    margin-top: 1rem;
  }

  .hero { padding: 6.5rem 0 2.5rem; }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-featured .post-card-body {
    padding: 1.5rem;
  }

  .post-featured .post-card-title {
    font-size: 1.25rem;
  }

  .footer-inner { padding: 3.5rem 1.25rem 2rem; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .single-post-header { padding: 6.5rem 0 1.5rem; }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .search-overlay-inner {
    margin-top: 80px;
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .site-container { padding: 0 1rem; }
  .header-inner { padding: 0 1rem; }
  .hero-title { font-size: 2.25rem; }
  .post-card-body { padding: 1.25rem; }
  .footer-inner { padding: 3rem 1rem 1.5rem; }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-xl); }
.alignwide { max-width: 900px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }

.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.5rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.gallery-item img { border-radius: var(--radius-lg); }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-header-section {
  padding: 8rem 0 2.5rem;
  text-align: center;
}

.page-header-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* ============================================================
   RELEASE NOTE CARDS (NO FEATURED IMAGE)
   ============================================================ */
.post-release-note {
  min-height: 100%;
  background:
    radial-gradient(circle at 0% 0%, rgba(75, 94, 255, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.post-release-note::before { content: ''; display: block; height: 4px; background: var(--gradient-primary); }
.post-release-note .post-card-body { padding: 1.75rem; }
.post-release-note.post-featured { display: block; grid-template-columns: none; border-radius: var(--radius-3xl); }
.post-release-note.post-featured .post-card-body { padding: clamp(2rem, 5vw, 4rem); max-width: 820px; }
.post-release-note.post-featured .post-card-title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.055em; margin-top: 1.25rem; }
.post-release-note.post-featured .post-card-excerpt { font-size: 1.05rem; max-width: 680px; -webkit-line-clamp: 4; }
.inline-badge { position: static !important; display: inline-flex; width: fit-content; margin-bottom: 1rem; color: #fff; background: var(--gradient-primary); box-shadow: 0 8px 22px rgba(75, 94, 255, 0.18); }
.post-release-note .read-more { margin-top: auto; }
/* ============================================================
   RELEASE NOTE CARDS — PREMIUM REFINEMENT
   ============================================================ */
.post-release-note {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.92) 100%);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255,255,255,0.9) inset;
  overflow: hidden;
}

.post-release-note::before {
  height: 3px;
  background: linear-gradient(90deg, #4B5EFF 0%, #7B6BFF 55%, #00D9B4 100%);
}

.post-release-note::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 0%, rgba(75, 94, 255, 0.08), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(0, 217, 180, 0.045), transparent 30%);
}

.post-release-note .post-card-body {
  position: relative;
  z-index: 1;
  padding: 1.65rem 1.65rem 1.55rem;
}

.post-release-note .inline-badge {
  margin-bottom: 1.05rem;
  padding: 0.28rem 0.72rem;
  font-size: 0.64rem;
  line-height: 1;
  letter-spacing: 0.10em;
  border-radius: 999px;
  background: rgba(75, 94, 255, 0.10);
  color: #3A4BE6;
  border: 1px solid rgba(75, 94, 255, 0.16);
  box-shadow: none;
}

.post-release-note .post-card-meta {
  margin-bottom: 1.1rem;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: #8b94a7;
}

.post-release-note .post-card-title {
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin-bottom: 0.72rem;
  max-width: 92%;
}

.post-release-note .post-card-excerpt {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.58;
  margin-bottom: 1.35rem;
}

.post-release-note .read-more {
  color: #4B5EFF;
  font-size: 0.78rem;
  font-weight: 700;
}

.post-release-note.post-featured {
  min-height: 330px;
  display: flex;
  align-items: center;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 82% 15%, rgba(75, 94, 255, 0.11), transparent 34%),
    radial-gradient(circle at 8% 95%, rgba(0, 217, 180, 0.06), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.post-release-note.post-featured .post-card-body {
  padding: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 780px;
}

.post-release-note.post-featured .inline-badge {
  margin-bottom: 1.25rem;
}

.post-release-note.post-featured .post-card-title {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 0.98;
  max-width: 760px;
  margin-bottom: 1rem;
}

.post-release-note.post-featured .post-card-excerpt {
  max-width: 660px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #64748b;
}

@media (max-width: 768px) {
  .post-release-note.post-featured {
    min-height: auto;
  }
  .post-release-note.post-featured .post-card-title {
    font-size: 2rem;
  }
}

/* ============================================================
   RELEASE NOTES HOME EXPERIENCE
   ============================================================ */
.release-hero {
  padding: 7.25rem 0 2.8rem;
}
.release-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.release-hero-copy {
  max-width: 760px;
}
.release-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  color: #3A4BE6;
  background: rgba(75, 94, 255, 0.08);
  border: 1px solid rgba(75, 94, 255, 0.13);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.release-title {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: .9;
  letter-spacing: -0.075em;
  margin: 0;
  text-align: left;
}
.release-subtitle {
  max-width: 620px;
  margin: 1.25rem 0 0;
  text-align: left;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}
.release-hero-actions {
  display: flex;
  gap: .75rem;
  padding-bottom: .35rem;
}
.release-hero-actions .btn-primary,
.release-hero-actions .btn-secondary {
  white-space: nowrap;
}
.posts-section {
  padding-top: 1.6rem;
}
.post-grid {
  gap: 1.15rem;
}
.post-release-note.post-featured {
  min-height: 260px;
}
.post-release-note.post-featured .post-card-body {
  padding: clamp(1.8rem, 3vw, 3rem);
}
.post-release-note.post-featured .post-card-title {
  font-size: clamp(2rem, 4.3vw, 4rem);
  max-width: 850px;
}
.post-release-note.post-featured .post-card-excerpt {
  max-width: 720px;
}
@media (max-width: 900px) {
  .release-hero {
    padding: 6.6rem 0 2.2rem;
  }
  .release-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .release-hero-actions {
    padding-bottom: 0;
  }
}
@media (max-width: 640px) {
  .release-title {
    font-size: 3rem;
  }
  .release-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
/* ============================================================
   RELEASE NOTES DENSE EDITORIAL LAYOUT
   ============================================================ */
.release-hero-compact {
  padding: 6.2rem 0 1.55rem;
}
.release-hero-stack {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
.release-hero-stack .release-hero-actions {
  padding-bottom: 0;
}
.release-hero-stack .release-title {
  max-width: 760px;
  font-size: clamp(2.75rem, 7vw, 5.35rem);
  line-height: .88;
}
.release-hero-stack .release-subtitle {
  max-width: 680px;
  margin-top: 1rem;
  font-size: 1.05rem;
}
.posts-section#posts,
.posts-section {
  padding-top: .8rem;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .9rem;
}
.post-grid .post-card {
  grid-column: span 4;
}
.post-grid .post-featured {
  grid-column: span 12;
}
.post-release-note {
  border-radius: 1.15rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.045), 0 1px 0 rgba(255,255,255,0.92) inset;
}
.post-release-note:hover {
  transform: translateY(-3px);
}
.post-release-note.post-featured {
  min-height: 0;
  border-radius: 1.35rem;
}
.post-release-note.post-featured .post-card-body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: none;
  padding: clamp(1.65rem, 3vw, 2.45rem);
}
.post-release-note.post-featured .inline-badge,
.post-release-note.post-featured .post-card-meta {
  grid-column: 1;
}
.post-release-note.post-featured .post-card-title {
  grid-column: 1;
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
  max-width: 650px;
  margin-top: .8rem;
}
.post-release-note.post-featured .post-card-excerpt {
  grid-column: 2;
  grid-row: 2 / span 3;
  align-self: center;
  max-width: 420px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-line-clamp: 5;
}
.post-release-note.post-featured .read-more {
  grid-column: 1;
  margin-top: 1.15rem;
}
.post-release-note .post-card-body {
  min-height: 245px;
  display: flex;
  flex-direction: column;
}
.post-release-note .post-card-title {
  font-size: 1rem;
  max-width: none;
}
.post-release-note .post-card-excerpt {
  -webkit-line-clamp: 4;
  margin-bottom: 1rem;
}
.read-more {
  text-transform: none;
}
.post-release-note .read-more::before {
  content: 'Ver mejora';
}
.post-release-note .read-more {
  font-size: 0;
}
.post-release-note .read-more svg {
  margin-left: .35rem;
}
.post-release-note .read-more::before,
.post-release-note .read-more svg {
  font-size: .82rem;
}
@media (max-width: 1024px) {
  .post-grid .post-card { grid-column: span 6; }
  .post-grid .post-featured { grid-column: span 12; }
  .post-release-note.post-featured .post-card-body { grid-template-columns: 1fr; }
  .post-release-note.post-featured .post-card-excerpt,
  .post-release-note.post-featured .read-more { grid-column: 1; grid-row: auto; margin-top: 1rem; }
}
@media (max-width: 700px) {
  .post-grid .post-card { grid-column: span 12; }
  .release-hero-compact { padding-top: 5.8rem; }
  .post-release-note .post-card-body { min-height: 0; }
}
/* ============================================================
   RELEASE NOTES LIST LAYOUT
   ============================================================ */
.release-list-hero {
  padding: 6.5rem 0 1.75rem;
}
.release-list-hero.archive-compact {
  padding-bottom: 1.25rem;
}
.release-list-hero .site-container {
  max-width: 980px;
}
.release-list-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: .92;
  letter-spacing: -0.07em;
}
.release-list-hero p:not(.release-kicker) {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}
.release-notes-section {
  padding: 1rem 0 5rem;
}
.release-notes-section .site-container {
  max-width: 980px;
}
.release-notes-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.release-note-item {
  list-style: none;
}
.release-note-link {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
  color: inherit;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.release-note-link:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 94, 255, 0.22);
  box-shadow: 0 18px 44px rgba(75, 94, 255, 0.10), 0 6px 18px rgba(15, 23, 42, 0.05);
  background: #fff;
  color: inherit;
}
.release-note-date {
  width: 72px;
  min-height: 72px;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
  border: 1px solid rgba(75, 94, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.release-note-date span,
.release-note-date em {
  font-style: normal;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.release-note-date strong {
  margin: .1rem 0;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.release-note-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .45rem;
  color: var(--text-muted);
  font-size: .76rem;
}
.release-chip {
  display: inline-flex;
  align-items: center;
  padding: .24rem .62rem;
  border-radius: 999px;
  background: rgba(75, 94, 255, 0.08);
  border: 1px solid rgba(75, 94, 255, 0.12);
  color: #3A4BE6;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.release-note-main h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.release-note-main p {
  max-width: 680px;
  margin: .45rem 0 0;
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.release-note-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.release-note-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}
.release-note-link:hover .release-note-cta svg {
  transform: translateX(4px);
}
@media (max-width: 760px) {
  .release-note-link {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .release-note-date {
    width: auto;
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: .35rem;
    padding: .55rem .75rem;
  }
  .release-note-date strong {
    font-size: .95rem;
    margin: 0;
  }
  .release-note-cta {
    margin-top: .25rem;
  }
}

/* ============================================================
   RELEASE NOTES FINAL POLISH
   ============================================================ */
.release-hero-final {
  padding: 5.9rem 0 1rem;
}
.release-hero-final .site-container {
  max-width: 920px;
}
.release-hero-final h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.3rem);
  line-height: .9;
  letter-spacing: -0.075em;
  margin: 0;
}
.release-hero-final p:not(.release-kicker) {
  max-width: 610px;
  margin-top: .85rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.58;
}
.release-notes-final {
  padding-top: .35rem;
}
.release-month-group {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.release-month-label {
  position: sticky;
  top: 84px;
  padding-top: .9rem;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.release-notes-final .release-notes-list {
  gap: .72rem;
}
.release-notes-final .release-note-link {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: .95rem;
}
.release-note-featured .release-note-link {
  padding: 1.18rem 1.2rem;
  border-color: rgba(75, 94, 255, .24);
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}
.compact-date {
  width: 52px;
  min-height: 52px;
  border-radius: .82rem;
}
.compact-date span {
  font-size: .56rem;
}
.compact-date strong {
  font-size: 1.18rem;
}
.release-notes-final .release-note-main h2 {
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  letter-spacing: -0.035em;
}
.release-note-featured .release-note-main h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}
.release-notes-final .release-note-main p {
  max-width: 760px;
  margin-top: .36rem;
  font-size: .9rem;
  -webkit-line-clamp: 2;
}
.release-chip-impact {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}
.release-chip-featured {
  background: rgba(0, 217, 180, 0.10);
  border-color: rgba(0, 217, 180, 0.16);
  color: #089981;
}
.release-notes-final .release-note-cta {
  opacity: .78;
}
.release-notes-final .release-note-link:hover .release-note-cta {
  opacity: 1;
}
@media (max-width: 860px) {
  .release-month-group {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .release-month-label {
    position: static;
    padding-top: 0;
  }
}
@media (max-width: 700px) {
  .release-notes-final .release-note-link {
    grid-template-columns: 1fr;
  }
  .compact-date {
    width: fit-content;
    min-height: 0;
    flex-direction: row;
    padding: .45rem .65rem;
    gap: .3rem;
  }
  .compact-date strong {
    font-size: .92rem;
  }
}

/* ============================================================
   ROADMAP SCREEN MATCH
   ============================================================ */
:root {
  --roadmap-bg: #f8f9ff;
  --roadmap-ink: #090d1f;
  --roadmap-muted: #7a8192;
  --roadmap-line: #dedff1;
}

body {
  background: var(--roadmap-bg);
}

.site-bg {
  background:
    radial-gradient(circle at 13% 13%, rgba(123, 107, 255, 0.055), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(75, 94, 255, 0.045), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 38%, #f5f6fd 100%);
}

.site-bg::before,
.site-bg::after {
  display: none;
}

.site-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(232, 234, 246, 0.72);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.035);
}

.header-inner {
  max-width: 1160px;
  height: 64px;
  padding: 0 28px;
}

.site-logo {
  gap: 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.site-logo img {
  height: 28px;
}

.site-logo span {
  font-size: 18px;
  color: #5a64d8;
}

.header-nav {
  gap: 12px;
}

.nav-menu {
  gap: 25px;
}

.nav-menu a {
  padding: 6px 0;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: #111827;
  background: transparent;
}

.header-search-toggle {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  color: #777f91;
}

.header-search-toggle:hover {
  background: transparent;
  color: #111827;
}

.header-search-toggle svg {
  width: 16px;
  height: 16px;
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #7a5cff 0%, #5a66f2 100%);
  box-shadow: 0 10px 22px rgba(91, 103, 242, 0.22);
}


/* Logo-only header */
.header-logo-only {
  justify-content: space-between;
}

.header-logo-only .site-logo {
  width: 44px;
  height: 44px;
  gap: 0;
}

.header-logo-only .site-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header-logo-only .site-logo span,
.header-logo-only .header-nav,
.header-logo-only + .header-nav {
  display: none;
}

.header-logo-only .nav-cta {
  margin-left: auto;
}

.roadmap-container {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
}

.roadmap-hero {
  padding: 48px 0 18px;
}

.roadmap-hero .roadmap-container {
  max-width: 1040px;
}

.roadmap-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 8px 14px;
  color: #5f63d9;
  background: #eeedff;
  border: 1px solid #e2e0ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--roadmap-ink);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.roadmap-hero p:not(.roadmap-kicker) {
  max-width: 520px;
  margin: 20px 0 0;
  color: #757c8e;
  font-size: 15px;
  line-height: 1.65;
}

.roadmap-section {
  padding: 18px 0 12px;
}

.roadmap-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 283px;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, #dddff0 5%, #dddff0 94%, transparent 100%);
}

.roadmap-item {
  position: relative;
  display: grid;
  grid-template-columns: 230px 66px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  min-height: 178px;
  margin-bottom: 18px;
  list-style: none;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-item:nth-child(1) { --roadmap-delay: 0ms; }
.roadmap-item:nth-child(2) { --roadmap-delay: 120ms; }
.roadmap-item:nth-child(3) { --roadmap-delay: 240ms; }
.roadmap-item:nth-child(4) { --roadmap-delay: 360ms; }
.roadmap-item:nth-child(5) { --roadmap-delay: 480ms; }
.roadmap-item:nth-child(6) { --roadmap-delay: 600ms; }

.roadmap-item.is-roadmap-hidden {
  display: none;
}

.roadmap-item.scroll-reveal {
  opacity: 1;
  transform: none;
}

.roadmap-item.scroll-reveal .roadmap-copy,
.roadmap-item.scroll-reveal .roadmap-node,
.roadmap-item.scroll-reveal .roadmap-card {
  opacity: 0;
  will-change: opacity, transform;
}

.roadmap-item.scroll-reveal .roadmap-copy {
  transform: translateX(-42px);
  transition: opacity 560ms ease var(--roadmap-delay, 0ms), transform 680ms cubic-bezier(0.22, 1, 0.36, 1) var(--roadmap-delay, 0ms);
}

.roadmap-item.scroll-reveal .roadmap-node {
  transform: translateX(-34px) scale(0.88);
  transition: opacity 520ms ease calc(var(--roadmap-delay, 0ms) + 70ms), transform 680ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--roadmap-delay, 0ms) + 70ms);
}

.roadmap-item.scroll-reveal .roadmap-card {
  transform: translateX(58px);
  transition: opacity 580ms ease calc(var(--roadmap-delay, 0ms) + 120ms), transform 760ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--roadmap-delay, 0ms) + 120ms), box-shadow 180ms ease, border-color 180ms ease;
}

.roadmap-item.scroll-reveal.is-visible .roadmap-copy {
  opacity: 1;
  transform: translateX(0);
}

.roadmap-item.scroll-reveal.is-visible .roadmap-node {
  opacity: 1;
  transform: translateX(-4px) scale(1);
}

.roadmap-item.scroll-reveal.is-visible .roadmap-card {
  opacity: 1;
  transform: translateX(0);
}

.roadmap-item.scroll-reveal.is-visible .roadmap-card:hover {
  transform: translateY(-2px);
}

.roadmap-more-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 6px;
}

.roadmap-more-button {
  min-width: 118px;
  height: 48px;
  padding: 0 34px;
  color: #fff;
  background: linear-gradient(135deg, #7a5cff 0%, #5664ee 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(91, 103, 242, 0.25);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.roadmap-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(91, 103, 242, 0.32);
}

.roadmap-copy {
  align-self: center;
  padding-right: 18px;
  text-align: right;
}

.roadmap-copy h2 {
  margin: 0 0 12px;
  color: #6d74e9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-copy p {
  max-width: 176px;
  margin: 0 0 0 auto;
  color: #7d8494;
  font-size: 13px;
  line-height: 1.6;
}

.roadmap-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  transform: translateX(-4px);
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #7e5cff 0%, #555fee 100%);
  box-shadow: 0 16px 30px rgba(91, 103, 242, 0.26), 0 0 0 8px rgba(255, 255, 255, 0.82);
}

.roadmap-node svg {
  width: 27px;
  height: 27px;
}

.roadmap-tone-violet .roadmap-node,
.roadmap-tone-violet .roadmap-copy h2 {
  color: #fff;
}

.roadmap-tone-violet .roadmap-copy h2 {
  color: #8b5cf6;
}

.roadmap-tone-blue .roadmap-node {
  background: linear-gradient(135deg, #43a5ff 0%, #426bf2 100%);
  box-shadow: 0 16px 30px rgba(66, 107, 242, 0.24), 0 0 0 8px rgba(255, 255, 255, 0.82);
}

.roadmap-tone-blue .roadmap-copy h2 {
  color: #4290ed;
}

.roadmap-tone-green .roadmap-node {
  background: linear-gradient(135deg, #4bdabf 0%, #28b994 100%);
  box-shadow: 0 16px 30px rgba(40, 185, 148, 0.22), 0 0 0 8px rgba(255, 255, 255, 0.82);
}

.roadmap-tone-green .roadmap-copy h2 {
  color: #22b994;
}

.roadmap-tone-orange .roadmap-node {
  background: linear-gradient(135deg, #ffbb34 0%, #ff981f 100%);
  box-shadow: 0 16px 30px rgba(255, 152, 31, 0.22), 0 0 0 8px rgba(255, 255, 255, 0.82);
}

.roadmap-tone-orange .roadmap-copy h2 {
  color: #f5aa19;
}

.roadmap-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 136px;
  padding: 25px 30px 23px;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(235, 237, 246, 0.92);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(28, 35, 68, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.roadmap-card:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(124, 105, 255, 0.20);
  box-shadow: 0 20px 52px rgba(73, 84, 150, 0.11);
}

.roadmap-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding-top: 4px;
  color: #111827;
  text-align: center;
}

.roadmap-date span {
  color: #a2a8b7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
}

.roadmap-date strong {
  margin-top: 8px;
  color: #101425;
  font-size: 26px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.roadmap-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
  color: #9aa1af;
  font-size: 11px;
  font-weight: 700;
}

.roadmap-chip {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 9px;
  color: #7069d9;
  background: #efedff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-chip-primary {
  color: #20a884;
  background: #e8fbf5;
}

.roadmap-card-main h3 {
  max-width: 580px;
  margin: 0;
  color: #101425;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.038em;
}

.roadmap-card-main p {
  max-width: 590px;
  margin: 11px 0 0;
  color: #747b8d;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.roadmap-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #5b63df;
  font-size: 12px;
  font-weight: 900;
}

.roadmap-read svg {
  width: 13px;
  height: 13px;
  transition: transform 160ms ease;
}

.roadmap-card:hover .roadmap-read svg {
  transform: translateX(3px);
}

.roadmap-cta-section {
  padding: 6px 0 34px;
}

.roadmap-cta-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  min-height: 96px;
  margin: 0 auto;
  padding: 18px 46px 18px 32px;
  background: linear-gradient(135deg, rgba(245, 242, 255, 0.95) 0%, rgba(238, 237, 255, 0.92) 100%);
  border: 1px solid rgba(229, 226, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(87, 84, 140, 0.06);
}

.roadmap-cta-art {
  width: 112px;
  height: 70px;
}

.roadmap-cta-card h2 {
  margin: 0 0 5px;
  color: #14182a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.roadmap-cta-card p {
  max-width: 520px;
  margin: 0;
  color: #767d90;
  font-size: 12px;
  line-height: 1.5;
}

.roadmap-cta-card .btn-primary {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #795cff 0%, #5664ee 100%);
  box-shadow: 0 12px 22px rgba(91, 103, 242, 0.24);
  white-space: nowrap;
}

.home .site-footer,
.blog .site-footer {
  display: none;
}

.home .back-to-top,
.blog .back-to-top {
  display: none;
}

@media (max-width: 980px) {
  .roadmap-container {
    width: min(100% - 34px, 760px);
  }

  .roadmap-timeline::before {
    left: 28px;
  }

  .roadmap-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 0;
    margin-bottom: 22px;
  }

  .roadmap-copy {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 12px;
    text-align: left;
  }

  .roadmap-copy p {
    max-width: none;
    margin-left: 0;
  }

  .roadmap-node {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .roadmap-item.scroll-reveal .roadmap-node {
    transform: translateX(-24px) scale(0.88);
  }

  .roadmap-item.scroll-reveal.is-visible .roadmap-node {
    transform: translateX(0) scale(1);
  }

  .roadmap-card {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  .roadmap-date {
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    width: auto;
    padding: 0;
  }

  .roadmap-date strong {
    margin: 0;
    font-size: 18px;
  }

  .roadmap-cta-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 58px;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-menu.is-open a {
    font-size: 1.25rem;
  }

  .roadmap-hero {
    padding-top: 38px;
  }

  .roadmap-hero h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .roadmap-card {
    padding: 22px;
  }

  .roadmap-card-main h3 {
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .roadmap-container {
    width: min(100% - 28px, 100%);
  }

  .roadmap-timeline::before {
    left: 23px;
  }

  .roadmap-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .roadmap-node {
    width: 48px;
    height: 48px;
  }

  .roadmap-node svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================================
   MINIMAL PROFESSIONAL ARTICLE
   ============================================================ */
.single .site-bg {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 42%, #ffffff 100%);
}

.article-minimal {
  --article-ink: #090d1f;
  --article-muted: #667085;
  --article-border: rgba(226, 232, 240, 0.85);
  color: var(--article-ink);
}

.minimal-article-shell {
  width: min(100% - 48px, 1060px);
  margin: 0 auto;
}

.minimal-article-header {
  padding: 3.2rem 0 1.45rem;
}

.minimal-article-header .minimal-article-shell {
  max-width: 840px;
}

.minimal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: #98a1b3;
  font-size: 0.78rem;
  font-weight: 700;
}

.minimal-breadcrumbs a {
  color: #7a8497;
  text-decoration: none;
}

.minimal-breadcrumbs a:hover {
  color: #5664ee;
}

.minimal-category {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.42rem 0.8rem;
  color: #5664ee;
  background: rgba(86, 100, 238, 0.08);
  border: 1px solid rgba(86, 100, 238, 0.14);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.minimal-article-header h1 {
  max-width: 820px;
  margin: 0;
  color: #070b1d;
  font-size: clamp(2.65rem, 5.8vw, 4.7rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.minimal-excerpt {
  max-width: 710px;
  margin: 1.15rem 0 0;
  color: #5f687b;
  font-size: 1.12rem;
  line-height: 1.7;
}

.minimal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
  color: #8a93a6;
  font-size: 0.82rem;
  font-weight: 700;
}

.minimal-meta span,
.minimal-meta time {
  display: inline-flex;
  align-items: center;
}

.minimal-meta span::before {
  content: '';
  width: 4px;
  height: 4px;
  margin-right: 0.8rem;
  background: #cbd2df;
  border-radius: 50%;
}

.minimal-featured-image {
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--article-border);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.minimal-featured-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.minimal-article-layout {
  display: grid;
  grid-template-columns: 78px minmax(0, 780px);
  gap: 28px;
  justify-content: center;
  align-items: start;
}

.minimal-share {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.35rem;
}

.minimal-share > span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #a0a7b6;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.minimal-content-card {
  min-width: 0;
  padding-bottom: 2.5rem;
}

.article-minimal .post-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.article-minimal .post-content > p:first-of-type {
  color: #3f485a;
  font-size: 1.16rem;
  line-height: 1.86;
}

.article-minimal .post-content p {
  color: #5f687b;
  font-size: 1.05rem;
  line-height: 1.86;
  margin-bottom: 1.3rem;
}

.article-minimal .post-content h2 {
  scroll-margin-top: 92px;
  margin: 3rem 0 1rem;
  color: #080c1f;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.052em;
}

.article-minimal .post-content h3 {
  margin: 2.2rem 0 0.8rem;
  color: #101526;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.article-minimal .post-content ul,
.article-minimal .post-content ol {
  margin: 1.1rem 0 1.6rem;
  padding-left: 1.35rem;
  color: #5f687b;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.article-minimal .post-content li {
  color: #5f687b;
  font-size: 1.04rem;
  line-height: 1.78;
  margin-bottom: 0.62rem;
  padding-left: 0.25rem;
}

.article-minimal .post-content li::marker {
  color: #5664ee;
  font-weight: 900;
}

.article-minimal .post-content blockquote {
  margin: 2.2rem 0;
  padding: 1.25rem 1.4rem;
  color: #30394c;
  background: #f6f7ff;
  border: 1px solid rgba(86, 100, 238, 0.14);
  border-left: 4px solid #5664ee;
  border-radius: 18px;
  font-style: normal;
}

.article-minimal .post-content a {
  color: #5664ee;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(86, 100, 238, 0.22);
}

.article-minimal .post-content img {
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.article-minimal #ez-toc-container,
.article-minimal .ez-toc-container-direction {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 2rem !important;
  padding: 1rem 1.05rem !important;
  background: #ffffff !important;
  border: 1px solid var(--article-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.045) !important;
}

.article-minimal #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.article-minimal #ez-toc-container .ez-toc-title {
  margin: 0 !important;
  color: #111729 !important;
  font-size: 0 !important;
  font-weight: 900 !important;
}

.article-minimal #ez-toc-container .ez-toc-title::before {
  content: 'Contenido';
  font-size: 0.86rem;
}

.article-minimal #ez-toc-container .ez-toc-title-toggle a {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #667085 !important;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

.article-minimal #ez-toc-container .ez-toc-list {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
}

.article-minimal #ez-toc-container .ez-toc-list li {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.article-minimal #ez-toc-container .ez-toc-link {
  display: block;
  padding: 0.32rem 0.2rem;
  color: #596174 !important;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none !important;
}

.article-minimal #ez-toc-container .ez-toc-link:hover {
  color: #5664ee !important;
  background: rgba(86, 100, 238, 0.06);
}

.minimal-article-footer {
  padding: 0 0 2.8rem;
}

.minimal-article-footer .minimal-article-shell {
  max-width: 858px;
}

.minimal-author-box {
  max-width: none;
  margin: 0 auto 1.6rem;
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
}

.minimal-post-nav {
  max-width: none;
  margin: 0;
}

.minimal-post-nav a {
  border-radius: 18px;
  box-shadow: none;
}

.minimal-related-posts {
  max-width: 1060px;
  padding-top: 1rem;
}

@media (max-width: 860px) {
  .minimal-article-shell {
    width: min(100% - 32px, 100%);
  }

  .minimal-article-layout {
    grid-template-columns: 1fr;
  }

  .minimal-share {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 0 0.8rem;
  }

  .minimal-share > span {
    writing-mode: initial;
    transform: none;
    margin-right: 0.3rem;
  }
}

@media (max-width: 640px) {
  .minimal-article-header {
    padding-top: 2.4rem;
  }

  .minimal-article-header h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .minimal-excerpt,
  .article-minimal .post-content > p:first-of-type,
  .article-minimal .post-content p,
  .article-minimal .post-content li {
    font-size: 1rem;
  }
}

/* ============================================================
   MINIMAL ARTICLE ROADMAP ALIGNMENT
   ============================================================ */
.single .site-bg {
  background:
    radial-gradient(circle at 13% 13%, rgba(123, 107, 255, 0.055), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(75, 94, 255, 0.045), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 38%, #f5f6fd 100%);
}

.article-minimal {
  --article-ink: #101425;
  --article-muted: #747b8d;
  --article-purple: #5b63df;
  --article-purple-soft: #efedff;
  --article-border: rgba(235, 237, 246, 0.92);
}

.minimal-article-shell {
  width: min(100% - 48px, 1000px);
}

.minimal-article-header {
  padding: 48px 0 22px;
}

.minimal-article-header .minimal-article-shell {
  max-width: 900px;
  padding: 0;
}

.minimal-breadcrumbs {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 8px 13px;
  gap: 8px;
  color: #9aa1af;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--article-border);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.minimal-breadcrumbs a {
  color: #747b8d;
  font-weight: 900;
}

.minimal-breadcrumbs a:hover {
  color: var(--article-purple);
}

.minimal-category {
  margin-bottom: 16px;
  padding: 8px 14px;
  color: #5f63d9;
  background: #eeedff;
  border: 1px solid #e2e0ff;
  border-radius: 999px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
}

.minimal-article-header h1 {
  max-width: 900px;
  color: #090d1f;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.minimal-excerpt {
  max-width: 680px;
  margin-top: 18px;
  color: #757c8e;
  font-size: 15px;
  line-height: 1.68;
}

.minimal-meta {
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  gap: 10px;
  color: #9aa1af;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--article-border);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045);
  font-size: 12px;
  font-weight: 800;
}

.minimal-meta span::before {
  width: 3px;
  height: 3px;
  margin-right: 10px;
  background: #d6dae6;
}

.minimal-featured-image {
  margin-bottom: 22px;
  border: 1px solid var(--article-border);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(28, 35, 68, 0.07);
}

.minimal-featured-image img {
  max-height: 420px;
}

.minimal-article-layout {
  grid-template-columns: 82px minmax(0, 760px);
  gap: 28px;
  justify-content: center;
}

.minimal-share {
  top: 88px;
}

.minimal-share > span {
  color: #9aa1af;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.minimal-share .share-btn {
  width: 42px;
  height: 42px;
  color: #747b8d;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--article-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.minimal-share .share-btn:hover {
  color: var(--article-purple);
  border-color: rgba(124, 105, 255, 0.24);
  background: #fff;
  box-shadow: 0 16px 40px rgba(75, 94, 255, 0.09);
}

.minimal-content-card {
  padding: 26px 30px 38px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--article-border);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(28, 35, 68, 0.07);
}

.article-minimal .post-content > p:first-of-type,
.article-minimal .post-content p {
  color: #747b8d;
  font-size: 15px;
  line-height: 1.78;
  letter-spacing: 0;
}

.article-minimal .post-content > p:first-of-type {
  color: #5f687b;
  font-size: 16px;
}

.article-minimal .post-content h2 {
  margin: 42px 0 14px;
  color: #101425;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.article-minimal .post-content h2::before {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7561ff 0%, #20c9aa 100%);
}

.article-minimal .post-content h3 {
  color: #101425;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.article-minimal .post-content ul,
.article-minimal .post-content ol {
  margin: 18px 0 24px;
  padding: 18px 22px 16px 28px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  border: 1px solid var(--article-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.035);
}

.article-minimal .post-content li {
  color: #747b8d;
  font-size: 15px;
  line-height: 1.72;
}

.article-minimal .post-content blockquote {
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  border: 1px solid rgba(124, 105, 255, 0.18);
  border-left: 4px solid #7561ff;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(75, 94, 255, 0.06);
}

.article-minimal #ez-toc-container,
.article-minimal .ez-toc-container-direction {
  margin: 0 0 26px !important;
  padding: 18px 20px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 97, 255, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
  border: 1px solid var(--article-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045) !important;
}

.article-minimal #ez-toc-container .ez-toc-title::before {
  content: 'Contenido del artículo';
  color: #101425;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.article-minimal #ez-toc-container .ez-toc-title-toggle a {
  color: #6d74e9 !important;
  background: #efedff !important;
  border-color: #e2e0ff !important;
  border-radius: 11px !important;
}

.article-minimal #ez-toc-container .ez-toc-link {
  padding: 6px 4px;
  color: #747b8d !important;
  font-size: 13px;
  font-weight: 800;
}

.article-minimal #ez-toc-container .ez-toc-link:hover {
  color: var(--article-purple) !important;
  background: rgba(117, 97, 255, 0.06);
}

.minimal-author-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--article-border);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(28, 35, 68, 0.06);
}

.minimal-post-nav a {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--article-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.035);
}

.minimal-related-posts .related-posts-title {
  color: #101425;
  letter-spacing: -0.045em;
}

@media (max-width: 860px) {
  .minimal-content-card {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .minimal-article-header h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .minimal-meta {
    width: 100%;
    border-radius: 18px;
  }
}

/* Hide global footer and CTA */
.cta-section,
.site-footer,
.back-to-top {
  display: none !important;
}
