/**
 * Single Post Styles
 * Styles for individual article pages
 * 
 * @package PlanaMayor_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   Single Post Container
   ========================================================================== */

.single-post-container {
    background-color: #f6f7f8;
    padding: 2rem 0 4rem;
}

/* Layout 2 columnas: contenido + sidebar */
.single-post-container .single-with-sidebar {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.single-post-container .single-main-content {
    min-width: 0;
    width: 100%;
    grid-column: 1;
}

.single-post-container .single-sidebar {
    grid-column: 2;
    width: 100%;
}

.single-post-article {
    background-color: #ffffff;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Post Header
   ========================================================================== */

.single-post-header {
    margin-bottom: 2rem;
    text-align: left;
}

.post-category {
    margin-bottom: 1rem;
}

.category-link {
    display: inline-block !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1B1B1B !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 0.75rem !important;
    padding: 0 0 5px 0 !important;
    border: none !important;
    border-bottom: 3px solid var(--color-primary, #f70d28) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: color 0.3s ease, border-bottom-color 0.3s ease !important;
}

.category-link:hover {
    color: var(--color-primary, #f70d28) !important;
    background: none !important;
    background-color: transparent !important;
    border-bottom-color: #d00920 !important;
}

.single-post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #000000;
    font-weight: 700;
}

/* Meta Information */
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
    color: #666666;
    font-size: 0.875rem;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.single-post-meta svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary, #f70d28);
}

.single-post-meta a {
    color: #404040;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-meta a:hover {
    color: var(--color-primary, #f70d28);
}

/* Asegurar que el autor sea visible */
.post-author {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
}

.post-date {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   Single Post Banner
   ========================================================================== */

.single-banner-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.single-banner-wrapper .banner-image-container,
.single-banner-wrapper .banner-html-container {
    max-width: 100%;
    margin: 0 auto;
}

.single-banner-wrapper .banner-image-container a,
.single-banner-wrapper .banner-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.single-banner-wrapper .banner-image {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-banner-wrapper .banner-image-container a:hover .banner-image {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Featured Image
   ========================================================================== */

.single-post-thumbnail {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 4px;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   Post Content
   ========================================================================== */

.single-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #404040;
    text-align: justify; /* Texto justificado como el sitio original */
}

.single-post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

.single-post-content h2 {
    font-size: 2rem;
}

.single-post-content h3 {
    font-size: 1.5rem;
}

.single-post-content h4 {
    font-size: 1.25rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background-color: #f6f7f8;
    border: 3px solid var(--color-primary, #f70d28);
    font-style: italic;
    color: #404040;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
}

.single-post-content a {
    color: var(--color-primary, #f70d28);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #d00920;
}

/* Page Links for multi-page posts */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-weight: 600;
}

.page-links .page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background-color: #f6f7f8;
    color: #404040;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.page-links .page-link:hover {
    background-color: var(--color-badge, #f70d28);
    color: #ffffff;
}

/* ==========================================================================
   Post Footer (Tags)
   ========================================================================== */

.single-post-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.post-tags svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary, #f70d28);
}

.tags-label {
    font-weight: 600;
    color: #404040;
}

.tag-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: #f6f7f8;
    color: #404040;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--color-badge, #f70d28);
    color: #ffffff;
}

/* ==========================================================================
   Author Bio Box
   ========================================================================== */

.author-bio-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid var(--color-primary, #f70d28);
    box-shadow: 0 2px 8px rgba(247, 13, 40, 0.2);
}

.author-bio-content {
    flex: 1;
    min-width: 0;
}

.author-bio-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.author-bio-name a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-bio-name a:hover {
    color: var(--color-primary, #f70d28);
}

.author-bio-description {
    margin: 0 0 1rem 0;
    color: #666666;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.author-bio-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-bio-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #404040;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.author-bio-links a:hover {
    background-color: var(--color-badge, #f70d28);
    border-color: var(--color-primary, #f70d28);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(247, 13, 40, 0.2);
}

.author-bio-links svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Post Navigation
   ========================================================================== */

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: block;
}

.post-navigation a {
    display: block;
    padding: 1.5rem;
    background-color: #f6f7f8;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background-color: var(--color-badge, #f70d28);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 13, 40, 0.2);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation a:hover .nav-subtitle {
    color: #ffffff;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
}

.post-navigation a:hover .nav-title {
    color: #ffffff;
}

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

/* ==========================================================================
   Social Share Buttons
   ========================================================================== */

.social-share-container {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f6f7f8;
    border-radius: 8px;
    text-align: center;
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 1.5rem 0;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.share-button span {
    color: #ffffff;
}

/* Facebook */
.share-facebook {
    background-color: #1877f2;
}

.share-facebook:hover {
    background-color: #0c63d4;
}

/* Twitter/X */
.share-twitter {
    background-color: #000000;
}

.share-twitter:hover {
    background-color: #333333;
}

/* WhatsApp */
.share-whatsapp {
    background-color: #25d366;
}

.share-whatsapp:hover {
    background-color: #1da851;
}

/* Telegram */
.share-telegram {
    background-color: #0088cc;
}

.share-telegram:hover {
    background-color: #006ba3;
}

/* Copiar enlace */
.share-copy {
    background-color: #6c757d;
}

.share-copy:hover {
    background-color: #5a6268;
}

.share-copy.copied {
    background-color: #28a745;
}

/* ==========================================================================
   Sidebar para Banners
   ========================================================================== */

.single-sidebar {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-sidebar .widget {
    margin-bottom: 2rem;
}

.single-sidebar .widget:last-child {
    margin-bottom: 0;
}

.single-sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border: 3px solid var(--color-primary, #f70d28);
}

/* Placeholder cuando sidebar está vacío (solo visible para admins) */
.sidebar-placeholder {
    background-color: #fff3cd;
    border: 2px dashed #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    color: #856404;
}

.sidebar-placeholder h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    color: #856404;
}

.sidebar-placeholder p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.sidebar-placeholder ul {
    margin: 1rem 0 0 0;
    padding-left: 1.2rem;
    list-style: none;
}

.sidebar-placeholder li {
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

/* Estilos para banners comunes en sidebar */
.single-sidebar img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.single-sidebar a {
    color: var(--color-primary, #f70d28);
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-sidebar a:hover {
    color: #d00920;
}

/* ==========================================================================
   Protección de Contenido
   ========================================================================== */

/* Desactivar selección de texto en el contenido */
.single-post-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Bloquear arrastre de imágenes */
.single-post-content img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* ==========================================================================
   PDF Attachment
   ========================================================================== */

.pdf-attachment-container {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f6f7f8;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.pdf-attachment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pdf-attachment-header svg {
    color: var(--color-primary, #f70d28);
    flex-shrink: 0;
}

.pdf-attachment-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.pdf-viewer-wrapper {
    margin-bottom: 1.5rem;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.pdf-download-button-wrapper {
    text-align: center;
}

.pdf-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: var(--color-badge, #f70d28);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(247, 13, 40, 0.2);
}

.pdf-download-button:hover {
    background-color: #d00920;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(247, 13, 40, 0.3);
    color: #ffffff;
}

.pdf-download-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   Comments Section
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #000000;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    /* Layout a 1 columna en tablets y móvil */
    .single-post-container .single-with-sidebar {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .single-post-container .single-sidebar {
        position: relative;
        top: 0;
        order: 2;
        grid-column: auto;
    }
    
    .single-post-container .single-main-content {
        order: 1;
        grid-column: auto;
    }
    
    .single-post-article {
        padding: 2rem;
    }
    
    .single-post-title {
        font-size: 2rem;
    }
    
    .single-post-content {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 1rem 0 2rem;
    }
    
    .single-post-article {
        padding: 1.5rem;
    }
    
    .single-post-title {
        font-size: 1.75rem;
    }
    
    .single-post-meta {
        gap: 1rem;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
    
    /* Author bio box en tablet */
    .author-bio-box {
        padding: 1.5rem;
    }
}

@media (max-width: 544px) {
    .single-post-article {
        padding: 1rem;
    }
    
    .single-post-title {
        font-size: 1.5rem;
    }
    
    .single-post-content {
        font-size: 0.9375rem;
    }
    
    .single-post-content blockquote {
        padding: 1rem 1.5rem;
    }
    
    /* Social share buttons en móvil */
    .social-share-container {
        padding: 1.5rem 1rem;
    }
    
    .share-button {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .share-button span {
        display: none; /* Ocultar texto en móvil */
    }
    
    .share-button svg {
        margin: 0;
    }
    
    /* PDF viewer en móvil */
    .pdf-attachment-container {
        padding: 1.5rem 1rem;
    }
    
    .pdf-viewer {
        height: 400px;
    }
    
    .pdf-download-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Author bio box en móvil */
    .author-bio-box {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .author-bio-avatar {
        text-align: center;
    }
    
    .author-bio-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .author-bio-name {
        font-size: 1.125rem;
    }
    
    .author-bio-description {
        font-size: 0.875rem;
    }
    
    .author-bio-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .author-bio-links a {
        justify-content: center;
        width: 100%;
    }
}
/**
 * Category-Specific Custom Styles
 * 
 * Este archivo contiene estilos personalizados por categoría.
 * WordPress agrega automáticamente clases CSS a los posts según su categoría:
 * 
 * - .category-{slug} - Para todas las categorías del post
 * - .primary-category-{slug} - Solo para la categoría principal
 * - body.single-category-{slug} - En la página de un post individual
 * 
 * Ejemplos de uso:
 * - Cambiar color de categoría en cards
 * - Estilizar headers de posts según categoría
 * - Personalizar colores de enlaces y botones
 * 
 * @package PlanaMayor_Theme
 * @since 1.0.7
 */

/* ==========================================================================
   EJEMPLO 1: Personalizar color de categoría en tarjetas
   ========================================================================== */

/* Categoría Política - Color morado */
.post-card.category-politica .post-card-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.post-card.category-politica .post-card-category:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Categoría Economía - Color verde */
.post-card.category-economia .post-card-category {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Categoría Deportes - Color naranja */
.post-card.category-deportes .post-card-category {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Categoría Cultura - Color rosa */
.post-card.category-cultura .post-card-category {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

/* Categoría Tecnología - Color azul */
.post-card.category-tecnologia .post-card-category {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* ==========================================================================
   EJEMPLO 2: Personalizar posts individuales completos
   ========================================================================== */

/* Post de Política - Header con fondo morado */
body.single-category-politica .single-post-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* body.single-category-politica .post-category .category-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
} */

/* Post de Economía - Acentos verdes */
body.single-category-economia .single-post-header {
    border-left: 4px solid #10b981;
    padding-left: 30px;
}

/* body.single-category-economia .post-category .category-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
} */

/* ==========================================================================
   EJEMPLO 3: Personalizar enlaces y botones por categoría
   ========================================================================== */

/* Enlaces en posts de Política */
body.single-category-politica .entry-content a {
    color: #667eea;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

body.single-category-politica .entry-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Enlaces en posts de Economía */
body.single-category-economia .entry-content a {
    color: #10b981;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

body.single-category-economia .entry-content a:hover {
    color: #059669;
    border-bottom-color: #059669;
}

/* ==========================================================================
   EJEMPLO 4: Personalizar imágenes destacadas por categoría
   ========================================================================== */

/* Agregar overlay de color en imagen destacada según categoría */
.single-post-article.category-politica .single-post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    pointer-events: none;
}

.single-post-article.category-economia .single-post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    pointer-events: none;
}

/* Asegurar posición relativa para que el overlay funcione */
.single-post-thumbnail {
    position: relative;
}

/* ==========================================================================
   EJEMPLO 5: Personalizar tipografía por categoría
   ========================================================================== */

/* Posts de Cultura con tipografía más elegante */
body.single-category-cultura .entry-title {
    font-family: 'Georgia', serif;
    font-style: italic;
}

body.single-category-cultura .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

/* ==========================================================================
   EJEMPLO 6: Iconos personalizados por categoría en archive
   ========================================================================== */

/* Agregar icono antes del título de categoría en archive */
.category-politica .archive-header::before {
    content: '🏛️';
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.category-economia .archive-header::before {
    content: '💰';
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.category-deportes .archive-header::before {
    content: '⚽';
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.category-cultura .archive-header::before {
    content: '🎭';
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.category-tecnologia .archive-header::before {
    content: '💻';
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

/* ==========================================================================
   EJEMPLO 7: Sidebar personalizado por categoría
   ========================================================================== */

/* Sidebar con borde de color según categoría */
body.single-category-politica .single-sidebar {
    border-left: 3px solid #667eea;
}

body.single-category-economia .single-sidebar {
    border-left: 3px solid #10b981;
}

body.single-category-deportes .single-sidebar {
    border-left: 3px solid #f59e0b;
}

/* ==========================================================================
   RESPONSIVE: Ajustes para móvil
   ========================================================================== */

@media (max-width: 767px) {
    /* En móvil, reducir overlays y efectos */
    .single-post-article .single-post-thumbnail::after {
        opacity: 0.5;
    }
    
    /* Reducir tamaño de iconos en móvil */
    .archive-header::before {
        font-size: 32px !important;
    }
}
