/*
Theme Name: Sergio Ávila Premium ES
Theme URI: https://sergioavilabolsa.com/
Author: Sergio Ávila
Author URI: https://sergioavilabolsa.com/
Description: Tema premium a medida para analista financiero, con un diseño Dark Mode enfocado en autoridad, conversión y alta legibilidad para artículos automatizados.
Version: 1.0.16
Text Domain: sergiopremium
*/

/* Fuentes variables autoalojadas. Se declaran en la hoja principal para
 * evitar una segunda petición CSS que bloquee el primer renderizado. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-variable-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/outfit-variable-latin.woff2') format('woff2');
}

:root {
  /* Colors */
  --bg-dark: #0a0f16;
  --bg-card: #131c26;
  --bg-card-hover: #1c2733;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-gold: #fbbf24;
  --accent-gold-hover: #f59e0b;
  --accent-blue: #3b82f6;
  
  /* Layout */
  --container-width: 1200px;
  --border-radius: 12px;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #000;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
}

/* Header */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  background-color: rgba(10, 15, 22, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.site-logo span {
  color: var(--accent-gold);
}

.main-nav {
  position: relative;
}

.menu-dropdown summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .68rem 1rem;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: border-color .2s ease, background .2s ease;
}

.menu-dropdown summary::-webkit-details-marker {
  display: none;
}

.menu-dropdown summary::after {
  content: '';
  width: .48rem;
  height: .48rem;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.menu-dropdown[open] summary {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(251, 191, 36, .55);
}

.menu-dropdown[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.menu-dropdown__panel {
  position: absolute;
  top: calc(100% + .7rem);
  right: 0;
  width: min(320px, calc(100vw - 2rem));
  padding: .6rem;
  background: rgba(13, 20, 29, .98);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .4);
  backdrop-filter: blur(16px);
}

.main-nav .menu-dropdown__panel ul {
  display: grid;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .menu-dropdown__panel a {
  display: block;
  padding: .78rem .85rem;
  color: var(--text-muted);
  border-radius: 9px;
  font-size: .94rem;
  font-weight: 500;
}

.main-nav .menu-dropdown__panel a:hover,
.main-nav .menu-dropdown__panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .065);
  outline: none;
}

.main-nav .menu-dropdown__panel .current-menu-item > a,
.main-nav .menu-dropdown__panel .current_page_item > a {
  color: var(--accent-gold);
  background: rgba(251, 191, 36, .07);
}

/* Social profiles page */
.social-page {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}

.social-page::before {
  content: '';
  position: absolute;
  inset: -12rem -18rem auto auto;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 68%);
  pointer-events: none;
}

.social-page__header {
  max-width: 820px;
  margin: 0 auto 3.25rem;
  text-align: center;
  position: relative;
}

.social-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.15rem;
  color: var(--accent-gold);
  font: 600 .78rem/1 var(--font-heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.social-page__eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.social-page__title {
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 6vw, 4.65rem);
  letter-spacing: -.045em;
}

.social-page__intro {
  max-width: 690px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  position: relative;
}

.social-card {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  color: var(--text-main);
  background: linear-gradient(145deg, rgba(28, 39, 51, .82), rgba(19, 28, 38, .94));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.social-card:hover,
.social-card:focus-visible {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, .55);
  background: linear-gradient(145deg, rgba(35, 48, 62, .94), rgba(19, 28, 38, 1));
  outline: none;
}

.social-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.social-card__icon {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: #334155;
  border-radius: 11px;
}

.social-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.social-card--instagram .social-card__icon {
  background: radial-gradient(circle at 30% 105%, #fdf497 0 7%, #fd5949 34%, #d6249f 62%, #285aeb 100%);
}

.social-card--x .social-card__icon,
.social-card--threads .social-card__icon {
  background: #000;
  border: 1px solid rgba(255, 255, 255, .18);
}

.social-card--facebook .social-card__icon,
.social-card--facebook_profile .social-card__icon {
  background: #1877f2;
}

.social-card--linkedin .social-card__icon {
  background: #0a66c2;
}

.social-card--telegram .social-card__icon {
  background: #229ed9;
}

.social-card--tiktok .social-card__icon {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, .18);
}

.social-card--tiktok .social-card__icon svg {
  filter: drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 0 #fe2c55);
}

.social-card--youtube .social-card__icon {
  background: #f00;
}

.social-card__arrow {
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
}

.social-card h2 {
  margin-bottom: .25rem;
  font-size: 1.28rem;
}

.social-card__handle {
  color: var(--accent-gold);
  font-size: .88rem;
  font-weight: 600;
}

.social-card__description {
  margin-top: auto;
  padding-top: .8rem;
  color: var(--text-muted);
  font-size: .92rem;
}

.social-page__note {
  max-width: 900px;
  margin: 2.25rem auto 0;
  padding: 1.15rem 1.3rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  text-align: center;
  font-size: .82rem;
}

@media (max-width: 900px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .social-page { padding: 3.75rem 0 4rem; }
  .social-page .container { padding: 0 1.15rem; }
  .social-page__header { margin-bottom: 2.25rem; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card {
    min-height: 178px;
    padding: 1rem;
    border-radius: 15px;
  }
  .social-card__top { margin-bottom: .75rem; }
  .social-card__description {
    padding-top: .6rem;
    font-size: .86rem;
  }
}

/* Hero Section */
.hero {
  padding: 6.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

/* Subte gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 15, 22, 0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 5.2vw, 4.7rem);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content > p {
  font-size: 1.16rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.section-title span {
  color: var(--accent-gold);
}

/* Cards / Latest Articles */
.latest-analysis {
  padding: 6rem 0;
  background-color: #0c121b;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(251, 191, 36, 0.2);
}

.article-thumb {
  height: 200px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.article-title a {
  color: #fff;
}

.article-title a:hover {
  color: var(--accent-gold);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  flex: 1;
}

.stat-num {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Final open-content CTA */
.newsletter-cta,
.follow-analysis {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0c121b 0%, var(--bg-dark) 100%);
}

.cta-box {
  background: linear-gradient(135deg, rgba(19, 28, 38, 0.8) 0%, rgba(10, 15, 22, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #05080c;
}

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

.footer-about p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-widget h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-widget li {
  margin-bottom: 0.8rem;
}

.footer-widget a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* SINGLE POST STYLES (Optimized for Automated Articles) */
.single-header {
  padding: 4rem 0 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.single-category {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}

.single-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.single-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.single-thumb {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-content {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.single-content p {
  margin-bottom: 1.8rem;
  color: #cbd5e1;
}

.single-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.single-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--accent-gold);
}

.single-content ul {
  margin-bottom: 2rem;
  padding-left: 0;
  list-style: none;
}

.single-content li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid var(--accent-blue);
  color: #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner, .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-about p {
    margin: 1rem auto;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    gap: .75rem;
  }

  .site-header { padding: 1rem 0; }
  .site-logo a { font-size: 1.3rem; }
  .menu-dropdown summary { padding: .62rem .85rem; }
  
  .single-title {
    font-size: 2rem;
  }
}


/* ==========================================================
   BIOGRAFÍA DEFINITIVA
   ========================================================== */
.bio-page {
  overflow: hidden;
}

.bio-hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(251, 191, 36, 0.10), transparent 30%),
    linear-gradient(180deg, #0a0f16 0%, #0c121b 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 4rem;
  align-items: center;
}

.bio-portrait {
  position: relative;
}

.bio-portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 22px;
  pointer-events: none;
}

.bio-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
}

.bio-kicker,
.bio-section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio-hero-copy h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.bio-lead {
  max-width: 780px;
  color: #cbd5e1;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.72;
}

.bio-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.bio-hero-facts > div {
  padding: 1rem 1.05rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.bio-hero-facts strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.bio-hero-facts span {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.bio-section {
  padding: 5.5rem 0;
}

.bio-section-alt {
  background: #0c121b;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bio-narrow {
  max-width: 900px;
}

.bio-section h2,
.bio-final h2 {
  margin-bottom: 1.4rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.bio-section p {
  margin-bottom: 1.35rem;
  color: #cbd5e1;
  font-size: 1.06rem;
  line-height: 1.85;
}

.bio-section-heading {
  max-width: 860px;
  margin-bottom: 2.2rem;
}

.bio-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.bio-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 72px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-gold), rgba(251,191,36,0.12));
}

.bio-timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0 1.7rem;
}

.bio-timeline-item > span {
  position: relative;
  z-index: 1;
  align-self: start;
  width: max-content;
  padding: 0.38rem 0.6rem;
  color: #0a0f16;
  background: var(--accent-gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.bio-timeline-item h3 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.3rem;
}

.bio-timeline-item p {
  margin: 0;
  font-size: 0.98rem;
}

.bio-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.bio-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bio-list li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.5rem;
  color: #dbe4ee;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.bio-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--accent-gold);
  font-weight: 800;
}

.bio-principles {
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(251,191,36,0.08), rgba(19,28,38,0.72));
  border: 1px solid rgba(251,191,36,0.18);
  border-radius: 18px;
}

.bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.bio-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bio-product-card {
  min-height: 260px;
  padding: 1.6rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}

.bio-product-card h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.4rem;
}

.bio-product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.bio-products-cta {
  margin-top: 2rem;
  text-align: center;
}

.bio-final {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(251,191,36,0.10), rgba(59,130,246,0.04)),
    #0a0f16;
  border-top: 1px solid rgba(251,191,36,0.20);
}

.bio-final-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.bio-final h2 {
  max-width: 900px;
  margin: 0;
}

@media (max-width: 900px) {
  .bio-hero-grid,
  .bio-two-columns,
  .bio-final-inner {
    grid-template-columns: 1fr;
  }

  .bio-hero-grid {
    gap: 2.5rem;
  }

  .bio-portrait {
    max-width: 520px;
    margin: 0 auto;
  }

  .bio-product-grid {
    grid-template-columns: 1fr;
  }

  .bio-product-card {
    min-height: 0;
  }

  .bio-final-inner {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .bio-hero {
    padding: 3rem 0 3.5rem;
  }

  .bio-hero-facts {
    grid-template-columns: 1fr;
  }

  .bio-section {
    padding: 4rem 0;
  }

  .bio-timeline::before {
    left: 35px;
  }

  .bio-timeline-item {
    grid-template-columns: 72px 1fr;
    gap: 0.9rem;
  }

  .bio-timeline-item > span {
    font-size: 0.68rem;
    padding: 0.32rem 0.45rem;
  }

  .bio-links {
    flex-direction: column;
  }

  .bio-links .btn,
  .bio-final .btn {
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================
   HOME / STATIC CONTENT OPTIMIZATION 1.0.3
   ========================================================== */
.hero-kicker,
.home-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-secondary-link {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  max-width: none !important;
  color: #7f8b9a !important;
  font-size: 0.86rem !important;
}

.hero-secondary-link a {
  margin-left: 0.25rem;
  font-weight: 700;
}

.home-section-heading {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.home-section-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
}

.home-section-heading p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.home-section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-tools {
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(251,191,36,.07), transparent 28%),
    #0c121b;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 1.6rem;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-tool-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(251,191,36,.38);
  background: var(--bg-card-hover);
}

.home-tool-number {
  display: inline-block;
  margin-bottom: 2.2rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-tool-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.home-tool-card p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.home-tool-card strong {
  margin-top: auto;
  color: var(--accent-gold);
  font-size: 0.87rem;
}

.home-tools-footer,
.analysis-footer-link,
.about-actions {
  margin-top: 2rem;
}

.home-tools-footer,
.analysis-footer-link {
  text-align: center;
}

.article-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0f16 0%, #1a1e29 100%);
}

.article-placeholder span {
  color: rgba(255,255,255,.1);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.article-read-more {
  font-size: .9rem;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}

.about-content h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

.about-content > p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.follow-analysis {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0c121b 0%, var(--bg-dark) 100%);
}

.follow-actions {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.footer-disclaimer {
  max-width: 900px;
  margin: .65rem auto 0;
  color: #64748b;
  font-size: .74rem;
  line-height: 1.55;
}

.archive-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.archive-heading .section-title {
  margin-bottom: .8rem;
}

.archive-heading p {
  color: var(--text-muted);
  line-height: 1.7;
}

.single-meta a {
  color: var(--text-main);
  font-weight: 600;
}

.single-meta a:hover {
  color: var(--accent-gold);
}

.single-meta-separator {
  margin: 0 .55rem;
  color: #596576;
}

.post-tools-cta {
  margin-top: 4rem;
  padding: 1.8rem;
  background: linear-gradient(145deg, rgba(251,191,36,.07), rgba(19,28,38,.72));
  border: 1px solid rgba(251,191,36,.16);
  border-radius: 16px;
}

.post-tools-cta h2 {
  margin: .2rem 0 .8rem;
  padding: 0;
  border: 0;
  font-size: 1.55rem;
}

.post-tools-cta p {
  margin-bottom: 1.25rem;
  font-size: .98rem;
}

.single-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.bio-product-card h3 a {
  color: #fff;
}

.bio-product-card h3 a:hover {
  color: var(--accent-gold);
}

@media (max-width: 992px) {
  .home-tools-grid {
    grid-template-columns: 1fr;
  }

  .home-tool-card {
    min-height: 0;
  }

  .home-section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 4.2rem 0 3.8rem;
  }

  .hero-actions,
  .follow-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .follow-actions .btn {
    width: 100%;
    text-align: center;
  }

  .about-stats {
    flex-direction: column;
  }

  .cta-box {
    padding: 2.25rem 1.35rem;
  }
}


.follow-register-note {
  margin: 1rem auto 0;
  color: #7f8b9a;
  font-size: .82rem;
  line-height: 1.5;
  text-align: center;
}
