/* 
   Fortinix - Blog Stylesheet
   Versión: 1.1
*/

/* Variables globales (asegura coherencia con el resto del sitio) */
:root {
    --color-darker: #050A14;
    --color-dark: #0A1428;
    --color-blue: #009DFF;
    --color-magenta: #ED267A;
    --color-text: #FFFFFF;
    --color-gray: #9CA3AF;
    --color-gray-light: #D1D5DB;
    --border-radius: 10px;
    --font-body: 'Open Sans', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset y reglas básicas */
body {
    overflow-x: hidden;
    background-color: var(--color-darker);
}

/* Hero section mejorado */
.blog-hero {
    padding: 200px 0 80px;
    background-color: var(--color-darker);
    position: relative;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 157, 255, 0.1), rgba(237, 38, 122, 0.1));
    z-index: 1;
}

/* Agregar efecto de red tecnológica */
.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 157, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 157, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero .section-title {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 700;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.blog-hero .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    border-radius: 3px;
    animation: expandWidth 2s ease-in-out infinite alternate;
}

@keyframes expandWidth {
    from { width: 80px; }
    to { width: 120px; }
}

/* Sección de artículos mejorada */
.blog-posts {
    padding: 5rem 0 6rem;
    background-color: var(--color-darker);
    position: relative;
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 4rem;
}

.blog-card {
    background-color: rgba(15, 23, 42, 0.6);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 157, 255, 0.3);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 1;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.6), transparent);
    z-index: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-gray);
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
    color: var(--color-blue);
}

.blog-category {
    color: white;
    font-weight: 600;
    background-color: var(--color-blue);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    transition: var(--transition);
    font-family: var(--font-title);
    font-weight: 700;
}

.blog-card:hover .blog-title {
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-excerpt {
    color: var(--color-gray-light);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-link {
    color: var(--color-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    align-self: flex-start;
    position: relative;
    padding-bottom: 3px;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.blog-link i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-link:hover {
    color: var(--color-magenta);
}

.blog-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.blog-link:hover i {
    transform: translateX(5px);
}

.blog-more {
    text-align: center;
    margin-top: 4rem;
}

/* Sección Newsletter mejorada */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(0deg, var(--color-darker), var(--color-dark));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 157, 255, 0.08), transparent 60%);
    z-index: 1;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter .section-title {
    margin-bottom: 1.2rem;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.5rem;
}

.newsletter .section-subtitle {
    margin-bottom: 2.5rem;
    color: var(--color-gray-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 30px 0 0 30px;
    border: none;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 157, 255, 0.3);
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    padding: 0 30px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: linear-gradient(90deg, var(--color-magenta), var(--color-blue));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para adaptarse a dispositivos móviles */
@media (max-width: 992px) {
    .blog-hero .section-title {
        font-size: 2.8rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero .section-title {
        font-size: 2.2rem;
    }
    
    .blog-hero .section-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
    }
}

/* Añadir soporte para el efecto Particles.js */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Estilo para el preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    animation: loading 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

@keyframes loading {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}
/* Indicador de artículo nuevo */
.blog-card.new::after {
    content: 'NUEVO';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-magenta);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: rotate(5deg);
}
/* ESTILOS ADICIONALES PARA BLOG MEJORADO */
/* Añadir al final del archivo blog-styles.css */

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: var(--color-text);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-title);
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-top: 5px;
}

/* Image placeholders para artículos */
.image-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.image-placeholder span {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Colores por categoría */
.image-placeholder.compliance {
    background: linear-gradient(135deg, #6f42c1, #5a2c91);
}

.image-placeholder.security {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.image-placeholder.threats {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.image-placeholder.cloud {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.image-placeholder.incidents {
    background: linear-gradient(135deg, #fd7e14, #e55a4e);
}

/* Categorías mejoradas */
.blog-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-category.compliance {
    background: linear-gradient(135deg, #6f42c1, #5a2c91);
    color: white;
}

.blog-category.security {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.blog-category.threats {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

.blog-category.cloud {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.blog-category.incidents {
    background: linear-gradient(135deg, #fd7e14, #e55a4e);
    color: white;
}

/* Blog actions (botones múltiples) */
.blog-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.blog-link.primary {
    background: linear-gradient(135deg, var(--color-blue), var(--color-magenta));
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.blog-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 157, 255, 0.3);
}

.blog-link.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-gray-light);
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-link.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border-color: rgba(0, 157, 255, 0.3);
}

/* Tarjeta CTA especial */
.blog-card.cta-card {
    background: linear-gradient(135deg, rgba(0, 157, 255, 0.1), rgba(237, 38, 122, 0.1));
    border: 2px solid rgba(0, 157, 255, 0.2);
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
}

.cta-icon {
    font-size: 3rem;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.cta-card .blog-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-card .blog-actions {
    justify-content: center;
    margin-top: 20px;
}

.blog-link.cta-btn {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 25px;
}

/* Blog card featured */
.blog-card.featured {
    border: 2px solid rgba(237, 38, 122, 0.3);
    background: linear-gradient(135deg, rgba(237, 38, 122, 0.05), rgba(15, 23, 42, 0.6));
}

.blog-card.featured::before {
    background: linear-gradient(90deg, var(--color-magenta), var(--color-blue));
    height: 4px;
}

/* Newsletter mejorado */
.newsletter-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-note i {
    color: var(--color-blue);
}

/* Footer mejorado */
.footer-tagline {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--font-title);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-gray);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-blue);
    color: white;
    transform: translateY(-2px);
}

/* Responsive mejoras */
@media (max-width: 768px) {
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .blog-actions {
        flex-direction: column;
    }
    
    .blog-link.primary,
    .blog-link.secondary {
        text-align: center;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .cta-content {
        min-height: 200px;
    }
    
    .cta-card .blog-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 25px;
    }
}

/* Animaciones para elementos del blog */
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states para botones */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mejoras de accesibilidad */
.blog-link:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

/* Hover states mejorados */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .image-placeholder::before {
    opacity: 1;
}
/* 
   ESTILOS HIGHLIGHT NAV PARA BLOG
   Consistente con ciberseguridad.html
*/

/* Estilo para el menú destacado de la calculadora - DESKTOP */
.highlight-nav {
    background-color: rgba(237, 38, 122, 0.1) !important;
    border: 1px solid var(--color-magenta) !important;
    padding: 8px 15px !important;
    border-radius: 20px !important;
    color: var(--color-magenta) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 0 5px !important;
}

.highlight-nav:hover {
    background-color: var(--color-magenta) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(237, 38, 122, 0.3) !important;
    text-decoration: none !important;
}

.highlight-nav:focus {
    outline: 2px solid var(--color-magenta) !important;
    outline-offset: 2px !important;
}

/* Ajustes específicos para el menú principal */
.nav-list .highlight-nav {
    margin: 0 8px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}

/* Ajustes para menú móvil original (fallback) */
.mobile-nav-list .highlight-nav {
    display: inline-block !important;
    margin: 5px 0 !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    text-align: center !important;
    width: auto !important;
    max-width: 250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mobile-nav-list .highlight-nav:hover {
    transform: translateY(-2px) !important;
}

/* Estilos para el nuevo menú móvil optimizado */
#blogMobileMenuPanel .highlight-nav {
    background: rgba(237, 38, 122, 0.15) !important;
    border-left-color: #ED267A !important;
    color: #ED267A !important;
    font-weight: 600 !important;
    position: relative !important;
    border-right: 3px solid #ED267A !important;
    border-radius: 0 25px 25px 0 !important;
    margin-right: 10px !important;
}

#blogMobileMenuPanel .highlight-nav:after {
    content: '🧮' !important;
    margin-left: auto !important;
    font-size: 1.2rem !important;
    filter: grayscale(0) !important;
}

#blogMobileMenuPanel .highlight-nav:hover {
    background: rgba(237, 38, 122, 0.25) !important;
    transform: translateX(15px) !important;
    box-shadow: 0 3px 15px rgba(237, 38, 122, 0.3) !important;
}

/* Asegurar que el highlight funciona en todos los contextos */
a.highlight-nav,
.highlight-nav a {
    background-color: rgba(237, 38, 122, 0.1) !important;
    border: 1px solid var(--color-magenta) !important;
    color: var(--color-magenta) !important;
    font-weight: 600 !important;
}

a.highlight-nav:hover,
.highlight-nav a:hover {
    background-color: var(--color-magenta) !important;
    color: white !important;
}

/* Responsivo - ajustes para tablets */
@media (min-width: 768px) and (max-width: 1200px) {
    .nav-list .highlight-nav {
        padding: 6px 12px !important;
        font-size: 0.9rem !important;
        margin: 0 4px !important;
    }
}

/* Responsivo - ajustes para pantallas pequeñas en desktop */
@media (min-width: 993px) and (max-width: 1200px) {
    .nav-list .highlight-nav {
        padding: 7px 13px !important;
        font-size: 0.9rem !important;
    }
}

/* Mejorar la visibilidad en el header */
.header .nav-list .highlight-nav {
    position: relative !important;
    z-index: 2 !important;
}

/* Efecto de pulso sutil para llamar la atención */
.highlight-nav {
    animation: subtle-pulse 3s infinite !important;
}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(237, 38, 122, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(237, 38, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(237, 38, 122, 0);
    }
}

.highlight-nav:hover {
    animation: none !important;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .highlight-nav {
        background-color: rgba(237, 38, 122, 0.15) !important;
        border-color: rgba(237, 38, 122, 0.8) !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .highlight-nav {
        border-width: 2px !important;
        font-weight: 700 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .highlight-nav {
        animation: none !important;
        transition: none !important;
    }
    
    .highlight-nav:hover {
        transform: none !important;
    }
}

/* Asegurar compatibilidad con focus-visible */
.highlight-nav:focus-visible {
    outline: 3px solid var(--color-magenta) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 1px rgba(237, 38, 122, 0.5) !important;
}

/* Mejorar legibilidad */
.highlight-nav {
    letter-spacing: 0.5px !important;
    text-transform: none !important;
}

/* Iconos opcionales para la calculadora */
.highlight-nav.calculator-link::before {
    content: '🧮 ' !important;
    margin-right: 5px !important;
    font-size: 0.9em !important;
}

/* Para que se vea bien en el artículo también */
.article-container .highlight-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 10px 5px !important;
}