/* ========================================
   VARIABLES - Reutilizar desde app.css si existen
   ======================================== */
:root {
    /* Colores base */
    --color-bg-body: #e5e7eb;
    --color-bg-white: #ffffff;
    --color-bg-gray-100: #f3f4f6;
    --color-bg-gray-200: #e5e7eb;
    --color-bg-blue-100: #dbeafe;
    --color-bg-blue-600: #2563eb;
    
    --color-text-gray-500: #6b7280;
    --color-text-gray-600: #4b5563;
    --color-text-gray-700: #374151;
    --color-text-gray-800: #1f2937;
    --color-text-gray-900: #111827;
    --color-text-blue-800: #1e40af;
    --color-text-white: #ffffff;
    
    --color-facebook: #1877F2;
    --color-twitter: #000000;
    --color-whatsapp: #25D366;
    --color-linkedin: #0077B5;
    --color-email: #374151;
    
    /* Sombras */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Tipografía */
    --text-xss: 0.55rem;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Espaciados */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    
    /* Layout */
    --container-max: 80rem;
    --container-padding: 1rem;
    --radius: 0.5rem;
    
    /* Transiciones */
    --transition: 300ms ease;
}

/* ========================================
   BASE Y RESET
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
    color: var(--color-text-gray-900);
    background-color: var(--color-bg-body);
    overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */
#header {
    position: fixed;
    top: 0;
    z-index: 40;
    width: 100%;
    height: calc(var(--space-1) * 16);
    color: #374151;
    background-color: #172554;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    letter-spacing: 0.1em;

}

.nav-brand {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
}

.nav-brand a {
    margin: 0 calc(var(--space-1) * 2);
    height: calc(var(--space-1) * 16);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.nav-brand img {
    display: inline;
    margin: 0 calc(var(--space-1) * 2);
    object-fit: cover;
    width: 50px;
    height: 60px
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.brand-title {
    display: inline;
    font-family: system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    transition: color 0.2s;
}

.brand-title:hover {
    color: #e5e7eb;
}

.brand-subtitle {
    display: inline;
    font-family: system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: white;
    transition: color 0.2s;
}

.brand-subtitle:hover {
    color: #e5e7eb;
}

.nav-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-btn {
    padding: calc(var(--space-1) * 1);
    margin: calc(var(--space-1) * 2);
    color: white;
    border-radius: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.menu-btn:hover {
    background-color: #1e40af;
    color: #e5e7eb;
}

.menu-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #99f6e4;
}

.menu-btn svg {
    width: calc(var(--space-1) * 5);
    height: calc(var(--space-1) * 5);
}

.hidden {
    display: none !important;
}

/* Menú móvil */
#menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: calc(var(--space-1) * 4);
    width: 70%;
    height: 100vh;
    font-size: 1.25rem;
    background-color: white;
    overflow: hidden;
}

#menu.active {
    transform: translateX(0);
}

.menu-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    margin-top: calc(var(--space-1) * 20);
    margin-left: calc(var(--space-1) * 5);
    width: 100%;
}

.menu-item {
    width: 100%;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    padding: calc(var(--space-1) * 1);
    color: #1e3a8a;
    border-bottom: 2px solid #e5e7eb;
    transition: color 0.2s, background-color 0.2s;
}

.menu-item:hover {
    color: white;
    background-color: #1e3a8a;
}

@media (min-width: 768px) {
    #menu {
        width: 30%;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: #111827;
    color: white;
    margin-top: auto;
}

.footer-divider {
    border-top: 1px solid #1f2937;
    margin-top: calc(var(--space-1) * 2);
    padding-top: calc(var(--space-1) * 3);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    padding: 0 16px 16px;
}

.copyright {
    color: #818896;
    font-size: 0.75rem;
    margin-bottom: calc(var(--space) * 4);
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 700;
    display: inline;
}

#formNewsletter {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    width: 200px;
    padding: calc(var(--space-1) * 2);
    background-color: #323942;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6;
    border-color: transparent;
}

.newsletter-btn {
    height: calc(var(--space-1) * 10);
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 0 calc(var(--space-1) * 4);
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background-color: #1d4ed8;
}

.newsletter-btn svg {
    width: calc(var(--space-1) * 4);
    height: calc(var(--space-1) * 4);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

@media (min-width: 768px) {
     .footer-content {
        flex-direction: row;
    }

    .copyright {
        margin-bottom: 0;
    }

    .newsletter-title {
        margin-bottom: calc(var(--space-1) * 2);
    }
}

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */
.article-layout {
    display: flex;
    justify-content: center;
    padding: var(--space-12) var(--container-padding) var(--space-8);
    margin-top: 2rem; /* Ajustar según altura del header */
}

.article-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    width: 100%;
    max-width: var(--container-max);
}

@media (min-width: 1024px) {
    .article-container {
        flex-direction: row;
    }
}

.article-main {
    width: 100%;
}

@media (min-width: 1024px) {
    .article-main {
        width: 75%;
    }
}

/* ========================================
   ARTÍCULO PRINCIPAL
   ======================================== */
.article-post {
    background: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-8);
}

/* Hero Image */
.article-hero {
    position: relative;
    margin: 0;
}

.article-hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* Header del artículo */
.article-header {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-bg-gray-200);
}

@media (min-width: 768px) {
    .article-header {
        padding: var(--space-4) var(--space-8);
    }
}

.article-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.article-meta-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Categoría */
.article-category {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-blue-100);
    color: var(--color-text-blue-800);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    gap: var(--space-2);
}

.category-icon {
    width: 1rem;
    height: 1rem;
}

.article-author {
    color: var(--color-text-gray-600);
    font-size: var(--text-sm);
}

.article-date {
    color: var(--color-text-gray-500);
    font-size: var(--text-sm);
}

/* Título y bajada */
.article-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-text-gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .article-title {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1024px) {
    .article-title {
        font-size: var(--text-5xl);
    }
}

.article-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-gray-700);
    text-align: justify;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

/* ========================================
   CONTENIDO DEL ARTÍCULO
   ======================================== */
.article-content-wrapper {
    padding: var(--space-6);
}

@media (min-width: 768px) {
    .article-content-wrapper {
        padding: var(--space-8);
    }
}

/* Columnas responsivas para el contenido */
.article-content {
    column-count: 1;
    column-gap: var(--space-8);
    text-align: justify;
    color: var(--color-text-gray-800);
    max-width: none;
}

@media (min-width: 640px) {
    .article-content {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .article-content {
        column-count: 3;
    }
    .load-delay {
        max-width: 33% !important;
    }
}

/* Estilos para contenido HTML del artículo (prose) */
.article-content.prose {
    font-size: var(--text-lg);
    line-height: 1.7;
}

.article-content.prose p {
    margin-bottom: var(--space-4);
}

.article-content.prose h2,
.article-content.prose h3 {
    column-span: all;
    font-weight: var(--font-bold);
    margin: var(--space-6) 0 var(--space-3);
    color: var(--color-text-gray-900);
}

.article-content.prose h2 { font-size: var(--text-2xl); }
.article-content.prose h3 { font-size: var(--text-xl); }

.article-content.prose a {
    color: var(--color-bg-blue-600);
    text-decoration: underline;
}

.article-content.prose img {
    column-span: all;
    margin: var(--space-4) 0;
}

.article-content.prose blockquote {
    column-span: all;
    border-left: 4px solid var(--color-bg-blue-600);
    padding-left: var(--space-4);
    margin: var(--space-4) 0;
    font-style: italic;
    color: var(--color-text-gray-700);
}

/* ========================================
   ETIQUETAS
   ======================================== */
.article-tags {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-bg-gray-200);
}

.tags-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-gray-700);
    margin-bottom: var(--space-3);
    letter-spacing: 0.05em;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tag-item {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-gray-100);
    color: var(--color-text-gray-700);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    border-radius: 9999px;
    transition: background-color var(--transition);
}

.tag-item:hover {
    background: var(--color-bg-gray-200);
}

/* ========================================
   COMPARTIR EN REDES
   ======================================== */
.article-share {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-bg-gray-200);
}

.share-container {
    margin: 0 var(--space-8);
    padding: var(--space-2);
}

.share-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-gray-900);
    margin-bottom: var(--space-4);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--color-text-white);
    transition: opacity var(--transition);
}

.share-btn:hover {
    opacity: 0.9;
}

.share-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.share-facebook { background: var(--color-facebook); }
.share-twitter { background: var(--color-twitter); }
.share-whatsapp { background: var(--color-whatsapp); }
.share-linkedin { background: var(--color-linkedin); }
.share-email { background: var(--color-email); }

/* ========================================
   SECCIÓN: MÁS NOTICIAS
   ======================================== */
.related-section {
    padding: var(--space-12) var(--container-padding);
}

.related-wrapper {
    background: var(--color-bg-white);
    padding: var(--space-6);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.related-header {
    margin-bottom: var(--space-6);
}

.related-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-text-gray-900);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tarjeta de noticia relacionada */
.related-card {
    background: var(--color-bg-white);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition);
}

.related-card:hover {
    box-shadow: var(--shadow-xl);
}

.related-image-wrapper {
    position: relative;
    overflow: hidden;
}

.related-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform var(--transition);
}

.related-card:hover .related-image {
    transform: scale(1.05);
}

.related-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-bg-blue-600);
    color: var(--color-text-white);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.related-content {
    padding: var(--space-5);
}

.related-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-blue-100);
    color: var(--color-text-blue-800);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.related-category-gray {
    background: var(--color-bg-gray-100);
    color: var(--color-text-gray-700);
}

.related-headline {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-text-gray-900);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-gray-600);
    text-align: justify;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ========================================
   UTILIDADES
   ======================================== */
.hidden { display: none !important; }

/* Line clamp para navegadores sin soporte */
@supports not (-webkit-line-clamp: 2) {
    .related-headline,
    .related-excerpt {
        max-height: 3.2em;
        overflow: hidden;
    }
    .related-excerpt {
        max-height: 3em;
    }
}

/* Focus visible para accesibilidad */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-bg-blue-600);
    outline-offset: 2px;
}

/* Animación de entrada suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-post {
    animation: fadeInUp 0.4s ease forwards;
}

.related-card {
    animation: fadeInUp 0.4s ease forwards;
    animation-delay: 0.1s;
}

.related-card:nth-child(2) { animation-delay: 0.15s; }
.related-card:nth-child(3) { animation-delay: 0.2s; }
.related-card:nth-child(4) { animation-delay: 0.25s; }

/* ========================================
   SIDEBAR - Estilos scopeados para evitar conflictos
   ======================================== */

/* Contenedor del sidebar */
.sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .sidebar {
        width: 25%;
        flex-shrink: 0;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Widget base */
.sidebar-widget {
    background: var(--color-bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.sidebar-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text-gray-900);
    margin: 0 0 1rem;
}

.sidebar-title-bordered {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-bg-gray-200);
}

.sidebar-description {
    font-size: var(--text-sm);
    color: var(--color-text-gray-600);
}

/* Botones del sidebar */
.sidebar-button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition);
    text-align: center;
}

.sidebar-button-primary {
    background: var(--color-bg-white);
    color: var(--color-text-blue-800);
}

.sidebar-button-primary:hover {
    background: #eff6ff;
}

.sidebar-button-secondary {
    background: var(--color-text-gray-800);
    color: var(--color-text-white);
}

.sidebar-button-secondary:hover {
    background: var(--color-text-gray-600);
}

/* ========================================
   WIDGET: NEWSLETTER (sidebar)
   ======================================== */
.sidebar-newsletter {
    background: linear-gradient(135deg, var(--color-bg-blue-600), var(--color-text-blue-800));
    color: var(--color-text-white);
}

.sidebar-newsletter .sidebar-title {
    color: var(--color-text-white);
}

.sidebar-newsletter .sidebar-description {
    color: var(--color-text-blue-200);
}

.sidebar-newsletter-header {
    text-align: center;
    margin-bottom: 1rem;
}

.sidebar-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    color: var(--color-text-white);
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
    color: var(--color-text-gray-900);
    background: var(--color-bg-white);
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.sidebar-input::placeholder {
    color: var(--color-text-gray-500);
}

.sidebar-input:focus {
    outline: none;
    border-color: var(--color-text-white);
    box-shadow: 0 0 0 2px var(--color-text-white);
}

.sidebar-disclaimer {
    font-size: var(--text-xs);
    color: var(--color-text-blue-200);
    text-align: center;
    margin-top: 0.75rem;
}

/* ========================================
   WIDGET: NOTICIAS RELACIONADAS (sidebar)
   ======================================== */
.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-related-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background-color var(--transition);
}

.sidebar-related-item:hover {
    background: var(--color-bg-gray-100);
}

.sidebar-related-thumb {
    flex-shrink: 0;
    margin: 0;
    width: 4rem;
    height: 4rem;
}

/* ⚠️ IMPORTANTE: Esta clase SOLO afecta al sidebar */
.sidebar-related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.sidebar-related-info {
    flex: 1;
    min-width: 0;
}

.sidebar-related-headline {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-gray-900);
    margin: 0;
    line-height: 1.4;
    /* Line clamp seguro */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-related-headline a {
    color: inherit;
}

.sidebar-related-headline a:hover {
    text-decoration: underline;
}

.sidebar-related-time {
    font-size: var(--text-xs);
    color: var(--color-text-gray-500);
    margin-top: 0.25rem;
    display: block;
}

/* ========================================
   WIDGET: PUBLICIDAD (sidebar)
   ======================================== */
.sidebar-ad {
    background: var(--color-bg-gray-100);
    text-align: center;
    border: 2px dashed var(--color-border-gray-300);
}

.sidebar-ad-icon {
    width: 3rem;
    height: 3rem;
    color: var(--color-text-gray-400);
    margin: 0 auto 0.75rem;
}

.sidebar-ad-title {
    font-weight: var(--font-bold);
    color: var(--color-text-gray-700);
    margin: 0 0 0.5rem;
}

.sidebar-ad-description {
    font-size: var(--text-sm);
    color: var(--color-text-gray-600);
    margin: 0 0 1rem;
}

/* ========================================
   RESPONSIVE: Sidebar en móvil
   ======================================== */
@media (max-width: 1023px) {
    .sidebar-sticky {
        position: static;
        top: auto;
    }
    
    .sidebar {
        order: 2;
    }
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */
.sidebar-input:focus-visible,
.sidebar-button:focus-visible,
.sidebar-related-headline a:focus-visible {
    outline: 2px solid var(--color-bg-blue-600);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-related-item,
    .sidebar-button {
        transition: none;
    }
}