/**
 * Arya Signer — Blog (archive + single)
 */

/* ==========================================================================
   GP OVERRIDES
   ========================================================================== */

.blog .site-header,
.archive .site-header,
.single .site-header,
.blog .site-info,
.archive .site-info,
.single .site-info,
.blog .main-navigation,
.archive .main-navigation,
.single .main-navigation { display: none !important; }

.blog #page,
.archive #page,
.single #page {
    display: block !important;
    max-width: 100% !important;
    background: var(--signer-bg);
}

.blog .site-content,
.archive .site-content,
.single .site-content {
    display: block !important;
    padding: 0; margin: 0;
}

.blog .site-content .content-area,
.archive .site-content .content-area,
.single .site-content .content-area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0; margin: 0;
    float: none !important;
}

.blog .inside-article,
.archive .inside-article,
.single .inside-article,
.blog .entry-content,
.archive .entry-content,
.single .entry-content { padding: 0; margin: 0; }

.blog .site-main,
.archive .site-main,
.single .site-main { display: block !important; }

/* ==========================================================================
   ARCHIVE — WRAPPER
   ========================================================================== */

.signer-blog {
    min-height: 100vh;
    background: var(--signer-bg);
}

/* ==========================================================================
   ARCHIVE — HERO
   ========================================================================== */

.signer-blog-hero {
    padding: 150px 24px 64px;
    text-align: center;
}

.signer-blog-hero h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 16px 0 20px;
}

.signer-blog-subtitle {
    color: var(--signer-text-muted);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   ARCHIVE — GRID DE CARDS
   ========================================================================== */

.signer-blog-section { padding-bottom: 80px; }

.signer-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ==========================================================================
   ARCHIVE — POST CARD
   ========================================================================== */

.signer-post-card {
    background: var(--signer-bg-card);
    border: 1px solid var(--signer-border);
    border-radius: var(--signer-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.signer-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
    border-color: rgba(79, 70, 229, 0.3);
}

/* Imagen */
.signer-post-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.signer-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

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

.signer-post-card-image.no-image {
    background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.07));
    display: flex;
    align-items: center;
    justify-content: center;
}

.signer-post-card-image.no-image svg {
    color: rgba(129, 140, 248, 0.35);
}

/* Cuerpo */
.signer-post-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta (categoría + fecha) */
.signer-post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.signer-post-card-cat {
    background: rgba(79, 70, 229, 0.15);
    color: var(--signer-primary-light);
    border: 1px solid rgba(79, 70, 229, 0.25);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}

.signer-post-card-cat:hover {
    background: rgba(79, 70, 229, 0.28);
    color: var(--signer-primary-light);
}

.signer-post-card-date {
    color: var(--signer-text-muted);
    font-size: 12px;
}

/* Título */
.signer-post-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.signer-post-card-title a {
    color: var(--signer-white);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Extracto */
.signer-post-card-excerpt {
    color: var(--signer-text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

/* Footer de la card */
.signer-post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.signer-post-card-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--signer-primary-light);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.signer-post-card-read:hover {
    color: var(--signer-accent);
    gap: 9px;
}

.signer-post-card-time {
    color: var(--signer-text-muted);
    font-size: 12px;
}

/* ==========================================================================
   ARCHIVE — PAGINACIÓN
   ========================================================================== */

.signer-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 48px 0 0;
}

.signer-blog-pagination a,
.signer-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.signer-blog-pagination a {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--signer-border);
    color: var(--signer-text-muted);
}

.signer-blog-pagination a:hover {
    background: rgba(79,70,229,0.15);
    border-color: rgba(79,70,229,0.4);
    color: var(--signer-primary-light);
}

.signer-blog-pagination span.current {
    background: var(--signer-primary);
    border: 1px solid var(--signer-primary);
    color: #fff;
}

.signer-blog-pagination span.dots {
    background: transparent;
    border: none;
    color: var(--signer-text-muted);
}

/* ==========================================================================
   ARCHIVE — ESTADO VACÍO
   ========================================================================== */

.signer-blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--signer-text-muted);
}

.signer-blog-empty svg {
    margin-bottom: 16px;
    color: rgba(148,163,184,0.3);
}

.signer-blog-empty p { font-size: 16px; }

/* ==========================================================================
   SINGLE — WRAPPER
   ========================================================================== */

.signer-single {
    min-height: 100vh;
    background: var(--signer-bg);
}

/* ==========================================================================
   SINGLE — HERO
   ========================================================================== */

.signer-single-hero {
    display: block !important; /* anular flex de GeneratePress en <header> */
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 56px;
    text-align: center;
}

.signer-post-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Hero con imagen de fondo */
.signer-single-hero.has-thumb {
    max-width: 100%;
    padding: 0;
    position: relative;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.signer-single-hero.has-thumb .signer-post-hero-inner {
    max-width: var(--signer-container);
    width: 100%;
    margin: 0 auto;
    padding: 180px 24px 96px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.signer-single-hero.has-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.72) 100%);
    z-index: 0;
}

.signer-single-hero.has-thumb .signer-breadcrumb ol,
.signer-single-hero.has-thumb .signer-breadcrumb a,
.signer-single-hero.has-thumb .signer-breadcrumb li {
    color: rgba(255,255,255,0.72);
}

.signer-single-hero.has-thumb .signer-single-title {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.signer-single-hero.has-thumb .signer-single-meta {
    color: rgba(255,255,255,0.8);
}

.signer-single-hero.has-thumb .signer-single-sep {
    color: rgba(255,255,255,0.5);
}

.signer-single-hero.has-thumb .signer-avatar-sm {
    border: 2px solid rgba(255,255,255,0.35);
}

.signer-single-hero.has-thumb .signer-single-cat {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
}

.signer-single-hero.has-thumb .signer-single-cat:hover {
    background: rgba(255,255,255,0.25);
}

.signer-single-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--signer-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.signer-single-back:hover { color: var(--signer-primary-light); }

.signer-single-cat {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.signer-single-cat:hover { background: rgba(79,70,229,0.28); }

.signer-single-title {
    font-size: clamp(26px, 4.5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
}

.signer-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--signer-text-muted);
    font-size: 14px;
}

.signer-single-sep { opacity: 0.4; }

/* ==========================================================================
   SINGLE — IMAGEN DESTACADA
   ========================================================================== */

.signer-single-thumb {
    margin-bottom: 64px;
}

.signer-single-thumb .signer-container {
    max-width: 860px;
}

.signer-single-thumb-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: var(--signer-radius-lg);
    display: block;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* ==========================================================================
   SINGLE — CONTENIDO (prose)
   ========================================================================== */

.signer-single-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 72px;
    color: var(--signer-text);
    font-size: 17px;
    line-height: 1.8;
}

.signer-single-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 52px 0 16px;
    color: var(--signer-white);
    letter-spacing: -0.01em;
}

.signer-single-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 12px;
    color: var(--signer-white);
}

.signer-single-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 10px;
    color: var(--signer-white);
}

.signer-single-content p { margin: 0 0 24px; }

.signer-single-content a {
    color: var(--signer-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(129,140,248,0.4);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.signer-single-content a:hover {
    color: var(--signer-accent);
    text-decoration-color: rgba(6,182,212,0.5);
}

.signer-single-content ul,
.signer-single-content ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.signer-single-content li { margin-bottom: 8px; }

.signer-single-content ul li { list-style-type: disc; }
.signer-single-content ol li { list-style-type: decimal; }

.signer-single-content blockquote {
    border-left: 3px solid var(--signer-primary);
    padding: 4px 0 4px 24px;
    margin: 32px 0;
    color: var(--signer-text-muted);
    font-style: italic;
}

.signer-single-content blockquote p { margin-bottom: 0; }

/* Código inline */
.signer-single-content code {
    background: rgba(79, 70, 229, 0.15);
    color: var(--signer-primary-light);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
}

/* Bloque de código */
.signer-single-content pre {
    background: #0d1117;
    border: 1px solid var(--signer-border);
    border-radius: var(--signer-radius);
    padding: 24px 28px;
    overflow-x: auto;
    margin: 0 0 32px;
}

.signer-single-content pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.7;
}

/* Imagen dentro del contenido */
.signer-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--signer-radius);
    margin: 8px 0 24px;
}

/* Tabla */
.signer-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 15px;
}

.signer-single-content th {
    background: rgba(79,70,229,0.1);
    color: var(--signer-white);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--signer-border);
}

.signer-single-content td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148,163,184,0.08);
    color: var(--signer-text-muted);
}

.signer-single-content tr:last-child td { border-bottom: none; }

/* Separador */
.signer-single-content hr {
    border: none;
    border-top: 1px solid var(--signer-border);
    margin: 48px 0;
}

/* Paginación de páginas de un post */
.signer-page-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 32px 0;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--signer-text-muted);
}

.signer-page-links span a,
.signer-page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(79,70,229,0.12);
    color: var(--signer-primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.signer-page-links span a:hover,
.signer-page-links a:hover {
    background: rgba(79,70,229,0.25);
}

/* ==========================================================================
   SINGLE — TAGS
   ========================================================================== */

.signer-single-tags {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.signer-tag {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--signer-border);
    color: var(--signer-text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.signer-tag:hover {
    border-color: rgba(79,70,229,0.4);
    color: var(--signer-primary-light);
}

/* ==========================================================================
   SINGLE — NAVEGACIÓN PREV/NEXT
   ========================================================================== */

.signer-post-nav {
    border-top: 1px solid var(--signer-border);
    padding: 48px 0 80px;
}

.signer-post-nav-inner {
    display: flex;
    gap: 24px;
}

.signer-post-nav-item {
    flex: 1;
    background: var(--signer-bg-card);
    border: 1px solid var(--signer-border);
    border-radius: var(--signer-radius);
    padding: 20px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s, transform 0.2s;
}

.signer-post-nav-item:hover {
    border-color: rgba(79,70,229,0.4);
    transform: translateY(-2px);
}

.signer-post-nav-next {
    text-align: right;
    margin-left: auto;
}

.signer-post-nav-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--signer-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signer-post-nav-next .signer-post-nav-label { justify-content: flex-end; }

.signer-post-nav-title {
    color: var(--signer-white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   SINGLE — BARRA DE PROGRESO
   ========================================================================== */

.signer-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 99999;
}

.signer-reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--signer-primary), var(--signer-accent));
    transition: width 0.1s linear;
}

/* ==========================================================================
   SINGLE — BREADCRUMB
   ========================================================================== */

.signer-breadcrumb {
    margin-bottom: 20px;
}

.signer-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.signer-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.signer-breadcrumb a {
    color: var(--signer-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.signer-breadcrumb a:hover { color: var(--signer-primary-light); }

.signer-breadcrumb svg { color: rgba(148, 163, 184, 0.4); flex-shrink: 0; }

/* ==========================================================================
   SINGLE — META CON AUTOR INLINE
   ========================================================================== */

.signer-single-author-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.signer-avatar-sm {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   SINGLE — LAYOUT DE 2 COLUMNAS (artículo + sidebar)
   ========================================================================== */

.signer-single-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 64px;
    align-items: start;
    padding: 72px 0 72px;
}

/* ==========================================================================
   SINGLE — SIDEBAR
   ========================================================================== */

.signer-single-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* TOC */
.signer-toc {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--signer-radius);
    padding: 20px;
}

.signer-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--signer-text-muted);
    margin: 0 0 14px;
}

.signer-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    counter-reset: toc-counter;
}

.signer-toc-item a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--signer-text-muted);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 6px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
}

.signer-toc-item a:hover {
    color: var(--signer-white);
    background: rgba(255, 255, 255, 0.04);
}

.signer-toc-item a.is-active {
    color: var(--signer-primary-light);
    border-left-color: var(--signer-primary);
    background: rgba(79, 70, 229, 0.08);
}

.signer-toc-h3 a {
    padding-left: 20px;
    font-size: 12px;
}

/* Sidebar mini CTA */
.signer-sidebar-cta {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--signer-radius);
    padding: 20px;
    text-align: center;
}

.signer-sidebar-cta-text {
    font-size: 13px;
    color: var(--signer-text-muted);
    line-height: 1.5;
    margin: 0 0 14px;
}

/* ==========================================================================
   SINGLE — FILA DE TAGS + COMPARTIR
   ========================================================================== */

.signer-single-footer-row {
    border-top: 1px solid var(--signer-border);
    padding: 32px 0;
}

.signer-single-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Compartir */
.signer-single-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.signer-share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--signer-text-muted);
}

.signer-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--signer-border);
    color: var(--signer-text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.signer-share-btn:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.4);
    color: var(--signer-primary-light);
}

/* ==========================================================================
   SINGLE — CAJA DE AUTOR
   ========================================================================== */

.signer-author-box {
    border-top: 1px solid var(--signer-border);
    border-bottom: 1px solid var(--signer-border);
    padding: 40px 0;
}

.signer-author-box-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.signer-author-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 70, 229, 0.35);
    flex-shrink: 0;
}

.signer-author-info { flex: 1; }

.signer-author-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--signer-text-muted);
    margin: 0 0 4px;
}

.signer-author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--signer-white);
    margin: 0 0 8px;
}

.signer-author-bio {
    font-size: 14px;
    color: var(--signer-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   SINGLE — BANNER CTA
   ========================================================================== */

.signer-single-cta-banner {
    padding: 56px 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.04));
    border-top: 1px solid rgba(79, 70, 229, 0.15);
    border-bottom: 1px solid rgba(79, 70, 229, 0.15);
}

.signer-single-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.signer-single-cta-title {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--signer-white);
}

.signer-single-cta-sub {
    color: var(--signer-text-muted);
    font-size: 14px;
    margin: 0;
}

/* ==========================================================================
   SINGLE — ARTÍCULOS RELACIONADOS
   ========================================================================== */

.signer-related-posts {
    padding: 72px 0;
    border-top: 1px solid var(--signer-border);
}

.signer-related-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 40px;
    color: var(--signer-white);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .signer-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .signer-blog-grid {
        grid-template-columns: 1fr;
    }

    .signer-blog-hero,
    .signer-single-hero {
        padding-top: 110px;
    }

    .signer-single-hero.has-thumb .signer-post-hero-inner {
        padding: 120px 20px 64px;
    }

    .signer-post-nav-inner {
        flex-direction: column;
    }

    .signer-post-nav-next { text-align: left; }
    .signer-post-nav-next .signer-post-nav-label { justify-content: flex-start; }

    .signer-single-content { font-size: 16px; }
    .signer-single-content h2 { font-size: 22px; }
    .signer-single-content h3 { font-size: 19px; }

    /* Layout: colapsar a columna única, sidebar va arriba */
    .signer-single-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .signer-single-sidebar {
        position: static;
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        padding-bottom: 32px;
    }

    .signer-toc { flex: 1; min-width: 240px; }
    .signer-sidebar-cta { display: none; }

    .signer-single-cta-inner { flex-direction: column; align-items: flex-start; }
    .signer-author-box-inner { flex-direction: column; gap: 16px; }
    .signer-single-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .signer-registro-card,
    .signer-post-card-body { padding: 20px; }

    .signer-toc { min-width: 100%; }
    .signer-breadcrumb ol { font-size: 12px; }
}

/* ==========================================================================
   BLOQUE PROMOCIONAL ARYA MARKET (inyectado via the_content filter)
   ========================================================================== */

.signer-post-promo {
    margin-top: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f0ff 0%, #e8f4ff 100%);
    border: 1.5px solid #c7d7f8;
    overflow: hidden;
}

.signer-post-promo-inner {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signer-post-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #4F46E5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
}

.signer-post-promo-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signer-post-promo-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #1e1b4b;
}

.signer-post-promo-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.signer-post-promo-content p strong {
    color: #4F46E5;
}

.signer-post-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4F46E5;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    width: fit-content;
    transition: background 0.2s, transform 0.15s;
}

.signer-post-promo-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .signer-post-promo-inner { padding: 24px 20px; }
    .signer-post-promo-btn { width: 100%; justify-content: center; }
}
