/* Estilos del tema Abogado Penalista (extraídos del diseño estático). */

/* ==== custom-typography ==== */
.font-serif-elegant {
      font-family: 'Cinzel', Georgia, serif;
      letter-spacing: 0.05em;
    }
    /* Efecto metálico dorado en botones principales */
    .bg-gold, .btn-gold, .hover\:bg-gold-600:hover {
      background-image: linear-gradient(135deg, #f2dc96 0%, #dcb85c 32%, #c9a24d 58%, #a77f33 100%);
      color: #3b2d12 !important;
      text-shadow: 0 1px 0 rgba(255,255,255,0.25);
    }
    .hover\:bg-gold-600:hover, .btn-gold:hover { filter: brightness(1.08); }
    /* Brillo premium: destello que recorre los botones dorados */
    .bg-gold, .btn-gold {
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 0 1px rgba(250,232,170,0.35) inset, 0 4px 16px rgba(167,127,51,0.4);
    }
    .bg-gold::after, .btn-gold::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0; left: -80%;
      width: 50%;
      background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
      transform: skewX(-20deg);
      animation: gold-shine 3.8s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes gold-shine {
      0%, 55% { left: -80%; }
      100% { left: 140%; }
    }
    /* Resplandor dorado sutil en textos destacados */
    .text-gold-400, .text-gold-400, .text-gold-300 {
      text-shadow: 0 0 12px rgba(224,190,106,0.25);
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-gold::after, .btn-gold::after { animation: none; display: none; }
    }
    .text-shadow-subtle {
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }

/* ==== component-styles ==== */
.hero-studio-bg {
      background-color: #2c2b2c;
      background-image: url('../img/hero.webp');
      background-size: cover;
      background-position: 78% 0%;
      background-repeat: no-repeat;
    }
    /* Móvil/tablet: foto como <img> (no fondo CSS) para evitar fallos de pintado en Safari/iOS */
    .hero-photo { display: none; }
    @media (max-width: 1023px) {
      .hero-studio-bg { background-color: #54494c; background-image: none; }
      .hero-photo {
        display: block; position: absolute; left: 0; top: 0; width: 100%; height: 748px; pointer-events: none;
        object-fit: cover;
        object-position: min(0px, max(calc(50vw - 900px), calc(100vw - 1122px))) 0;
      }
      .hero-photo-fade {
        position: absolute; left: 0; top: 0; width: 100%; height: 748px; pointer-events: none;
        background: linear-gradient(to bottom, rgba(84,73,76,0) 0, rgba(84,73,76,0) 520px, #54494c 100%);
      }
    }
        /* Sección de estadísticas: azul marino del sitio (header/footer) con filos dorados */
    .stats-section {
      background: radial-gradient(ellipse at 50% 0%, #4a3716 0%, #3b2d12 60%, #26200f 100%);
      border-top: 1px solid rgba(224,190,106,0.35);
      border-bottom: 1px solid rgba(224,190,106,0.35);
    }
    /* Tarjetas de estadísticas: limpias, sin marcos, icono en baldosa dorada y marca de agua */
    .stat-card {
      position: relative;
      overflow: hidden;
      text-align: left;
      padding: 1.6rem 1.4rem 1.5rem;
      border-radius: 1.5rem;
      background: #ffffff;
      box-shadow: 0 16px 34px rgba(0,0,0,0.45);
      transition: transform .3s ease, box-shadow .3s ease;
    }
    .stat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(0,0,0,0.55), 0 0 28px rgba(224,190,106,0.3); }
    .stat-card::after {
      content: ''; position: absolute; left: 1.4rem; bottom: 0; width: 3rem; height: 4px;
      border-radius: 4px 4px 0 0;
      background: linear-gradient(90deg, #a77f33, #e6c35f);
    }
    .stat-icon {
      width: 3rem; height: 3rem; border-radius: 0.9rem;
      margin: 0 0 1.1rem;
      display: flex; align-items: center; justify-content: center;
      background: linear-gradient(135deg, #e6c35f 0%, #c9a24d 50%, #a77f33 100%);
      box-shadow: 0 8px 16px rgba(167,127,51,0.35);
      color: #3b2d12; font-size: 1.15rem;
    }
    .stat-icon i { transition: transform .3s ease; }
    .stat-card:hover .stat-icon i { transform: scale(1.15) rotate(-6deg); }
    @media (max-width: 400px) { .stat-card { padding: 1.3rem .9rem 1.4rem; } .stat-number { font-size: 2rem; } .stat-label { letter-spacing: .1em; } }
    .stat-number {
      font-family: 'Cinzel', Georgia, serif;
      font-weight: 800;
      font-size: 2.4rem;
      line-height: 1.1;
      color: #3b2d12;
      -webkit-text-fill-color: #3b2d12;
      background: none;
    }
    .stat-label { margin-top: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a77f33; }
    @media (min-width: 640px) { .stat-number { font-size: 2.8rem; } .stat-label { font-size: .75rem; } }
    /* Header sticky: al hacer scroll toma un fondo bronce (la barra superior se va con la página). Sin fixed/transform/backdrop-filter para evitar fallos de pintado en iOS */
    html { scroll-padding-top: 5rem; }
    .nav-link.active { color: #e0be6a !important; border-bottom-color: #e0be6a !important; }
    #mobileMenu .nav-link.active { border-bottom-color: transparent !important; }
    #mainHeader { position: -webkit-sticky; position: sticky; top: 0; }
    #mainHeader.scrolled {
      background-color: rgba(110,82,30,0.9);
      border-bottom: 1px solid rgba(242,220,150,0.35);
    }
    /* Modo ligero en móvil/tablet: menos capas y efectos para no agotar la memoria gráfica (iPhone X mostraba un bloque negro) */
    @media (max-width: 1023px) {
      .animate-pulse { animation: none !important; }
      img { filter: none !important; -webkit-filter: none !important; }
      .bg-gold, .btn-gold { box-shadow: 0 2px 6px rgba(120,90,30,0.35) !important; }
      .stat-card, .card-light, article { box-shadow: 0 3px 10px rgba(60,40,10,0.18) !important; }
      .stat-card:hover, article:hover { transform: none !important; }
      .stat-icon { box-shadow: none !important; }
      .shadow-2xl, .shadow-lg, .shadow-md, .shadow-xl { box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important; }
      .text-shadow-subtle { text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important; }
      .hero-studio-bg h1, .hero-studio-bg h2, .hero-studio-bg p { text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
    }
    .card-light {
      background: #ffffff;
      box-shadow: 0 6px 20px rgba(146,109,42,0.10);
    }
    .section-light .text-gold-400, .section-light .text-gold-300, .section-light .text-gold-400, .section-light .text-gold-700 { text-shadow: none; }
    .accent-glow:hover {
      box-shadow: 0 0 20px rgba(224, 190, 106, 0.4);
    }

/* ==== post-cover ==== */
/* Portada de artículo: plantilla única, solo cambia el título */
    .post-cover { container-type: inline-size; position: relative; display: flex; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: #26200f; }
    .pc-photo { width: 38%; height: 100%; object-fit: cover; object-position: 86% 50%; flex: none; }
    .pc-panel { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 5.5cqw 5cqw 5cqw 5cqw; background: radial-gradient(ellipse at 20% 0%, #4a3716 0%, #3b2d12 55%, #26200f 100%); }
    .pc-panel::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 7cqw; background: linear-gradient(90deg, rgba(38,32,15,0.9), rgba(38,32,15,0)); pointer-events: none; }
    .pc-logo { position: relative; align-self: flex-end; width: 24cqw; height: auto; }
    .pc-title { position: relative; margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.12; letter-spacing: .01em; font-size: 4.3cqw; color: #e0be6a; text-wrap: balance; }
    .pc-foot { position: relative; margin: 0; display: flex; align-items: center; gap: 1.6cqw; font-size: 2.1cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #efe5cf; }
    .pc-long { font-size: 3.7cqw; }
    .blog-feat { box-shadow: none !important; background: transparent !important; }
    .feat-cover { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 18px 40px rgba(60,40,10,0.28); }
    @media (max-width: 1023px) { .feat-cover { box-shadow: 0 8px 20px rgba(60,40,10,0.25); } }
    .pc-foot svg { width: 3.6cqw; height: 3.6cqw; flex: none; }
    @supports not (font-size: 1cqw) { .pc-title { font-size: 15px; } .pc-foot { font-size: 8px; } .pc-logo { width: 90px; } }

/* ==== blog-rail ==== */
/* Móvil: lista compacta (miniatura de la portada a la izquierda, texto a la derecha) */
    @media (max-width: 767px) {
      .blog-rail article .post-cover { width: 38%; flex: none; aspect-ratio: auto; align-self: stretch; min-height: 104px; }
      .blog-rail article .pc-photo { width: 100%; object-position: 70% 50%; }
      .blog-rail article .pc-panel { display: none; }
      .blog-rail article > div:last-child { padding: 12px 14px; gap: 8px; min-width: 0; }
            .blog-rail article > div:last-child > div:last-child { border-top: 0; padding-top: 0; }
      .blog-rail article > div:last-child > div:last-child > span { display: none; }
    }

/* ==== contact-panel ==== */
.contact-panel { box-shadow: 0 24px 50px rgba(60,40,10,0.22); }
    @media (max-width: 1023px) { .contact-panel { box-shadow: 0 8px 22px rgba(60,40,10,0.2); } }
    .contact-icon { flex: none; display: inline-flex; width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center; border-radius: 0.9rem; font-size: 1.15rem; color: #3b2d12; background: linear-gradient(135deg, #f2dc96 0%, #dcb85c 45%, #b8901f 100%); box-shadow: 0 4px 10px rgba(167,127,51,0.3); }
    .contact-row { transition: background-color .2s ease; }
    a.contact-row:hover { background-color: rgba(201,162,77,0.08); }

/* ==== hero-responsive ==== */
/* Escritorio: el alto de la zona de texto se ajusta a pantallas bajas (sin cambiar el diseño) */
    /* Pantallas medianas: botones en una sola línea */
    @media (min-width: 1024px) and (max-width: 1279px) {
      .hero-studio-bg a.bg-gold, .hero-studio-bg a.btn-gold { white-space: nowrap; padding-left: 1.25rem; padding-right: 1.25rem; font-size: 0.8125rem; }
    }
    /* Escritorio con poca altura (portátiles): texto algo más compacto para que los botones queden a la vista */
    @media (min-width: 1024px) and (max-height: 780px) {
      .hero-studio-bg > div.relative { padding-top: 8.5rem !important; padding-bottom: 2.5rem !important; }
      .hero-studio-bg h1 { font-size: 3.25rem; }
      .hero-studio-bg .hero-grid > div { row-gap: 1rem; }
      .hero-studio-bg .hero-grid > div > * + * { margin-top: 1rem !important; }
    }
    /* Celulares en horizontal: mismo diseño de escritorio (texto a la izquierda, foto a la derecha) */
    @media (max-width: 1023px) and (orientation: landscape) and (max-height: 600px) {
      .hero-photo { height: 100%; object-position: 85% 0%; }
      .hero-photo-fade { display: none; }
      .hero-studio-bg > div.relative { padding-top: 150px !important; padding-bottom: 48px !important; }
      .hero-studio-bg .hero-grid > div { text-align: left; max-width: 56%; }
      .hero-studio-bg .hero-grid > div > div:last-child { justify-content: flex-start; flex-direction: row; flex-wrap: wrap; }
      .hero-studio-bg h1 { font-size: 2rem; }
      .hero-studio-bg p { margin-left: 0; margin-right: 0; }
    }

/* ==== justify ==== */
.just { text-align: justify; text-justify: inter-word; -webkit-hyphens: none; hyphens: none; text-wrap: pretty; overflow-wrap: break-word; }
    /* Pantallas angostas: texto un poco más chico y palabras más juntas para que la justificación no deje huecos grandes */
    @media (max-width: 480px) { .just { font-size: 15px !important; word-spacing: -0.04em; line-height: 1.7 !important; } }

/* ==== book-covers ==== */
.book-cover { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 6px 12px 12px 6px; box-shadow: 0 18px 36px rgba(38,32,15,0.35); }
    @media (min-width: 1024px) { .book-cover { max-width: 340px; } }
    @media (max-width: 1023px) { .book-cover { box-shadow: 0 6px 16px rgba(38,32,15,0.3); } }

/* ==== page-banner ==== */
/* Banner de páginas internas: foto de fondo con capa de color de marca */
    .banner-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 28%; pointer-events:none; }
    .banner-overlay { position:absolute; inset:0; pointer-events:none;
      background: linear-gradient(180deg, rgba(38,32,15,0.80) 0%, rgba(38,32,15,0.62) 45%, rgba(38,32,15,0.82) 100%),
                  linear-gradient(90deg, rgba(74,55,22,0.45) 0%, rgba(74,55,22,0.10) 50%, rgba(74,55,22,0.45) 100%); }

/* ==== author-section ==== */
.author-overlay { position:absolute; inset:0; pointer-events:none;
      background: linear-gradient(90deg, rgba(38,32,15,0.94) 0%, rgba(38,32,15,0.82) 45%, rgba(38,32,15,0.55) 100%); }
    @media (max-width: 1023px) { .author-overlay { background: linear-gradient(180deg, rgba(38,32,15,0.92) 0%, rgba(38,32,15,0.80) 100%); } }
    .author-chip { display:inline-flex; align-items:center; padding:8px 16px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#efe5cf; border:1px solid rgba(201,162,77,.55); background:rgba(201,162,77,.10); }
    .author-arch { position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:min(86%, 440px); height:88%; border-radius:999px 999px 0 0; border:1px solid rgba(224,190,106,.55); border-bottom:0; background: radial-gradient(ellipse at 50% 20%, rgba(224,190,106,.30) 0%, rgba(201,162,77,.10) 55%, rgba(201,162,77,0) 100%); }
    @media (min-width: 1024px) { .author-arch { left:auto; right:0; transform:none; width:440px; height:92%; } }

/* ==== blog-page ==== */
.blog-tab { display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 22px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; cursor:pointer; background:#fff; color:#3b2d12; border:1.5px solid #e6d6b3; }
    .blog-tab:hover { border-color:#c9a24d; }
    .blog-tab.on { background:#3b2d12; color:#fff; border-color:#3b2d12; }
    .blog-count { display:inline-flex; min-width:24px; height:24px; align-items:center; justify-content:center; border-radius:999px; background:#f4e8c6; color:#5a3f0f; font-size:11px; }
    .blog-tab.on .blog-count { background:#c9a24d; color:#3b2d12; }
    .blog-badge { display:inline-block; padding:6px 12px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; background:#3b2d12; color:#f2dc96; }
    .blog-card { box-shadow:0 6px 20px rgba(146,109,42,.1); transition:transform .25s ease, box-shadow .25s ease; }
    @media (min-width:1024px) { .blog-card:hover { transform:translateY(-6px); box-shadow:0 18px 34px rgba(60,40,10,.18); } }
    .blog-more { display:inline-flex; align-items:center; min-height:44px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#7a5a1c; }
    .blog-post.is-hidden { display:none; }

/* ==== podcast-page ==== */
@media (max-width: 767px) { .pd-waves { opacity: .09 !important; } }
    .podcast-card { box-shadow: 0 18px 40px rgba(60,40,10,0.14); }
    @media (max-width: 1023px) { .podcast-card { box-shadow: 0 6px 18px rgba(60,40,10,0.14); } }
    .plat-chip { display:inline-flex; align-items:center; min-height:56px; padding:0 24px; border-radius:14px; background:#faf6ee; border:1px dashed #c9a24d; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#5a3f0f; }

/* ==== trayectoria-page ==== */
.tr-card { background:#fff; border:1px solid #e6d6b3; border-radius:16px; box-shadow:0 6px 20px rgba(146,109,42,.10); }
    .tr-dark { border-radius:20px; color:#fff; background:radial-gradient(ellipse at 20% 0%,#4a3716 0%,#3b2d12 55%,#26200f 100%); box-shadow:0 14px 30px rgba(38,32,15,.35); }
    @media (max-width:1023px) { .tr-card { box-shadow:0 3px 10px rgba(60,40,10,.12); } .tr-dark { box-shadow:0 6px 16px rgba(38,32,15,.3); } }
    .tr-ico { display:inline-flex; width:52px; height:52px; align-items:center; justify-content:center; border-radius:14px; background:linear-gradient(135deg,#f2dc96 0%,#dcb85c 45%,#b8901f 100%); }
    .tr-year { display:inline-flex; align-items:center; justify-content:center; min-width:72px; height:36px; padding:0 14px; border-radius:999px; font-size:14px; font-weight:800; letter-spacing:.06em; white-space:nowrap; color:#3b2d12; background:linear-gradient(135deg,#f2dc96 0%,#dcb85c 45%,#c9a24d 100%); }
    .tr-val { padding:12px 22px; border-radius:999px; background:#faf6ee; border:1px solid #c9a24d; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:#3b2d12; }
    .tr-logo { display:flex; width:124px; height:92px; align-items:center; justify-content:center; padding:10px 12px; border-radius:12px; background:#fff; border:1px solid #e6d6b3; }
    .tr-logo img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
    .tr-exp { display:flex; flex-direction:column; }
    .tr-exp .tr-year { min-width:0; padding:0 12px; font-size:12px; }
    /* Línea de tiempo de estudios */
    .tr-timeline { position:relative; list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
    .tr-timeline::before { content:''; position:absolute; left:51px; top:10px; bottom:10px; width:2px; background:linear-gradient(180deg,#c9a24d,#e6d6b3); }
    .tr-step { position:relative; display:flex; gap:22px; align-items:flex-start; }
    .tr-step > .tr-card { flex:1; min-width:0; }
    .tr-step-year { position:relative; z-index:1; width:104px; flex:none; display:flex; justify-content:center; padding-top:18px; }
    @media (max-width:639px) {
      .tr-timeline::before { left:11px; }
      .tr-step { flex-direction:column; gap:8px; padding-left:30px; }
      .tr-step-year { width:auto; justify-content:flex-start; padding-top:0; }
      .tr-step-year::before { content:''; position:absolute; left:-30px; top:50%; width:12px; height:12px; margin-top:-6px; border-radius:50%; background:#c9a24d; border:3px solid #fff; box-shadow:0 0 0 1px #c9a24d; }
    }

/* ==== article-page ==== */
.art-lead { font-size: 1.2rem; line-height: 1.7; font-weight: 500; }
    @media (min-width: 640px) { .art-lead { font-size: 1.3rem; } }
    .art-share a, .art-share button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px; border-radius:999px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#3b2d12; border:1.5px solid #c9a24d; background:#fff; cursor:pointer; }
    .art-share a:hover, .art-share button:hover { background:#f4e8c6; }
    .c-field { width:100%; box-sizing:border-box; min-height:48px; padding:12px 16px; border:1.5px solid #e6d6b3; border-radius:10px; background:#fff; font:400 15px Montserrat,sans-serif; color:#3b2d12; }
    .c-field:focus { outline:2px solid #c9a24d; outline-offset:1px; }
    .c-lbl { display:block; margin:0 0 6px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#5a3f0f; }
    .art-nav a { display:block; padding:24px; border-radius:16px; background:#fff; border:1px solid #e6d6b3; transition: transform .25s ease, box-shadow .25s ease; }
    @media (min-width:1024px) { .art-nav a:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(60,40,10,.16); } }
    .art-cover { border-radius:1.25rem; overflow:hidden; box-shadow:0 18px 40px rgba(60,40,10,.28); }
    @media (max-width:1023px) { .art-cover { box-shadow:0 8px 20px rgba(60,40,10,.25); } }

/* ==== WordPress: utilidades y componentes añadidos por el tema ==== */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #3b2d12; display: block; height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000; }
body.admin-bar #mainHeader { top: 32px; }
@media (max-width: 782px) { body.admin-bar #mainHeader { top: 46px; } }
.abpen-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.blog-tab { text-decoration: none; }
a.blog-badge { text-decoration: none; }

/* Texto de entradas, episodios y páginas (contenido del editor) */
.entry-content { font-size: 18px; line-height: 1.85; color: #4a3a1d; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-family: 'Cinzel', serif; font-weight: 700; font-size: 28px; line-height: 1.3; color: #3b2d12; margin-top: 1.8em; }
.entry-content h3 { font-family: 'Cinzel', serif; font-weight: 700; font-size: 22px; line-height: 1.35; color: #3b2d12; margin-top: 1.6em; }
.entry-content h4 { font-weight: 700; font-size: 18px; color: #3b2d12; }
.entry-content a { color: #926d2a; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #6f5222; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin: 1.8em 0; padding: 26px 30px; border-radius: 14px; background: #fff; border: 1px solid #e6d6b3; font-family: 'Cinzel', serif; font-size: 22px; line-height: 1.5; font-weight: 600; color: #3b2d12; }
.entry-content img, .entry-content video { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { margin-top: .6em; font-size: 14px; color: #7a5a1c; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid #e6d6b3; padding: 10px 12px; text-align: left; }
.entry-content hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #c9a24d, transparent); margin: 2em 0; }
@media (max-width: 640px) { .entry-content { font-size: 16.5px; } .entry-content h2 { font-size: 24px; } }

/* Paginación */
.abpen-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #e6d6b3; background: #fff; color: #3b2d12; font-weight: 700; font-size: 13px; text-decoration: none; }
.abpen-pagination .page-numbers:hover { border-color: #c9a24d; }
.abpen-pagination .page-numbers.current { background: #3b2d12; border-color: #3b2d12; color: #fff; }
.abpen-pagination .dots { border: 0; background: none; }
.comments-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.comments-pagination .page-numbers { padding: 8px 14px; border: 1px solid #e6d6b3; border-radius: 999px; }

/* Botón redondo dorado y reproductor de podcast */
.round { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; border: 0; cursor: pointer; color: #3b2d12; background-image: linear-gradient(135deg, #f2dc96 0%, #dcb85c 40%, #a77f33 100%); box-shadow: 0 4px 12px rgba(167,127,51,.4); }
.round:hover { filter: brightness(1.08); }
.abpen-player .abpen-play { width: 56px; height: 56px; }
.abpen-player .i-pause { display: none; }
.abpen-player.is-playing .i-pause { display: block; }
.abpen-player.is-playing .i-play { display: none; }
.abpen-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer; background: linear-gradient(90deg, #c9a24d var(--prog, 0%), #e6d6b3 var(--prog, 0%)); padding: 0; border: 0; }
.abpen-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #3b2d12; border: 2px solid #f2dc96; }
.abpen-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #3b2d12; border: 2px solid #f2dc96; }
.abpen-skip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1.5px solid #c9a24d; background: #fff; color: #3b2d12; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; }
.abpen-skip:hover { background: #f4e8c6; }
.abpen-ep { transition: box-shadow .2s ease; }
@media (min-width: 1024px) { .abpen-ep:hover { box-shadow: 0 10px 24px rgba(60,40,10,.12); } }
.plat { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border-radius: 14px; background: #fff; border: 1px solid #e6d6b3; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3b2d12; text-decoration: none; }
.plat:hover { border-color: #c9a24d; }
.comment-reply-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7a5a1c; }
#cancel-comment-reply-link { font-size: 12px; font-weight: 700; color: #7a5a1c; text-decoration: underline; }
.abpen-comment-list .children { list-style: none; margin: 0; padding: 0; }
.abpen-comment-list { list-style: none; margin: 0; padding: 0; }
.abpen-comment-form .comment-form-comment, .abpen-comment-form p { margin: 0; }

/* ==== Anuncios (solo artículos y episodios; no se imprimen si no hay código) ==== */
.abpen-ad { display: block; clear: both; margin: 2.25rem auto; text-align: center; max-width: 100%; overflow: hidden; }
.abpen-ad__label { display: block; margin-bottom: .5rem; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #926d2a; }
.abpen-ad__box { display: flex; justify-content: center; max-width: 100%; }
.abpen-ad__box > *, .abpen-ad__box iframe, .abpen-ad__box img { max-width: 100%; }
@media (min-width: 768px) { .abpen-ad { width: calc(100% + 24px); max-width: none; margin-left: -12px; margin-right: -12px; } }

/* ==== Categorías del blog compactas (solo cuando hay muchas) ==== */
.blog-tabs-d { display: none; }
.blog-tabs-m { display: block; }
@media (min-width: 768px) { .blog-tabs-d { display: flex; } .blog-tabs-m { display: none; } }
.blog-more { position: relative; }
.blog-more > summary { list-style: none; cursor: pointer; }
.blog-more > summary::-webkit-details-marker { display: none; }
.blog-more > summary i { font-size: 10px; margin-left: 2px; transition: transform .2s; }
.blog-more[open] > summary i { transform: rotate(180deg); }
.blog-tabs-m > summary { width: 100%; justify-content: space-between; }
.blog-pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 300px; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid #e6d6b3; border-radius: 14px; box-shadow: 0 14px 30px rgba(38,32,15,.18); }
.blog-tabs-m .blog-pop { right: 0; min-width: 0; }
.blog-pop a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3b2d12; text-decoration: none; white-space: nowrap; }
.blog-pop a:hover, .blog-pop a.on { background: #faf6ee; }
.blog-pop a.on { color: #926d2a; }
