.reader {
    max-width: 42rem;
    margin: 0 auto;
}
.reader-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.reader-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #1d4ed8;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}
.reader-theme {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1d4ed8;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}
.reader-theme svg {
    width: 22px;
    height: 22px;
    display: block;
    flex: 0 0 auto;
}
.reader-theme .icon-sun { display: none !important; }
html.reader-dark .reader-theme .icon-moon { display: none !important; }
html.reader-dark .reader-theme .icon-sun { display: block !important; }
.reader-cover {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}
.reader h1,
.reader h2 {
    font-family: 'Manrope', sans-serif;
}
.reader h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0.35rem 0 1.25rem;
}
.reader .reader-topic {
    color: #1d4ed8;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.reader h2 {
    font-size: 1.35rem;
    margin: 1.85rem 0 0.65rem;
}
.reader p {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.75;
    margin: 0 0 1rem;
    color: #374151;
}
.reader-votes {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}
.reader-vote {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.75rem;
    padding: 0 0.9rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1d4ed8;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}
.reader-vote.is-on {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
.lenta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.lenta-card img {
    width: 100%;
    height: 5.5rem;
    object-fit: cover;
    display: block;
}
.lenta-card h2 {
    font-size: 1.125rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.lenta-card h2 a {
    color: #111827;
    text-decoration: none;
}
.lenta-excerpt {
    margin: 0.45rem 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
    color: #4b5563;
}
.lenta-more {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.lenta-more:hover { text-decoration: underline; }
@media (min-width: 1024px) {
    body.page-article .header-top-bar {
        overflow: hidden;
        max-height: 3rem;
        animation: topBarHide 0.5s ease 0.15s forwards;
    }
    body.page-article {
        animation: articlePad 0.5s ease 0.15s forwards;
    }
}
@keyframes topBarHide {
    from { max-height: 3rem; opacity: 1; }
    to { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; }
}
@keyframes articlePad {
    from { padding-top: 108px; }
    to { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-article .header-top-bar {
        animation: none;
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    body.page-article { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
    body.page-article { padding-top: 80px; }
}
html.reader-dark body {
    background: #0f172a;
    color: #e5e7eb;
}
html.reader-dark .fixed-header {
    background: #0f172a !important;
    color: #e5e7eb !important;
    border-bottom: 1px solid #1e293b !important;
    border-left: 4px solid #1d4ed8 !important;
}
html.reader-dark .fixed-header .header-logo { color: #f8fafc !important; }
html.reader-dark .fixed-header .header-logo-city,
html.reader-dark .fixed-header .header-tagline { color: #94a3b8 !important; }
html.reader-dark .fixed-header .header-nav,
html.reader-dark .fixed-header .header-contact,
html.reader-dark .fixed-header .mobile-menu-link,
html.reader-dark #mobile-menu,
html.reader-dark #mobile-menu a {
    color: #e2e8f0 !important;
}
html.reader-dark .fixed-header .header-nav.active,
html.reader-dark .fixed-header .header-nav:hover,
html.reader-dark .fixed-header .header-contact:hover,
html.reader-dark .mobile-menu-link:hover,
html.reader-dark .mobile-menu-link.active {
    color: #93c5fd !important;
}
html.reader-dark .header-nav::after { background: #60a5fa; }
html.reader-dark .header-cta-btn,
html.reader-dark .header-cta-btn:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}
html.reader-dark #mobile-menu,
html.reader-dark #mobile-menu-button,
html.reader-dark .a11y-open-header {
    background: #0f172a !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}
html.reader-dark .a11y-open-header svg {
    stroke: #e2e8f0;
}
html.reader-dark .breadcrumb-bar {
    background: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
    color: #e2e8f0 !important;
}
html.reader-dark .breadcrumb-bar span,
html.reader-dark .breadcrumb-bar [aria-current="page"] {
    color: #e2e8f0 !important;
}
html.reader-dark .breadcrumb-bar a,
html.reader-dark .breadcrumb-bar a:hover,
html.reader-dark .breadcrumb-bar a span {
    color: #93c5fd !important;
}
html.reader-dark .breadcrumb-bar svg {
    color: #64748b !important;
    stroke: #64748b;
}
html.reader-dark .reader-page {
    background: #0f172a;
    color: #e5e7eb;
}
html.reader-dark .reader-page .card-strict,
html.reader-dark .reader-theme,
html.reader-dark .reader-vote {
    background: #111827;
    border-color: #1f2937;
    color: #fff;
}
html.reader-dark .reader-theme .icon-sun { color: #fff; }
html.reader-dark .reader-vote.is-on {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
html.reader-dark .reader-votes {
    border-top-color: #1f2937;
}
html.reader-dark .reader h1,
html.reader-dark .reader h2 {
    color: #f9fafb;
}
html.reader-dark .reader p,
html.reader-dark .reader-page .text-gray-600 {
    color: #e5e7eb;
}
html.reader-dark .reader-back,
html.reader-dark .reader .reader-topic {
    color: #93c5fd;
}
@media (min-width: 640px) {
    .reader-cover { height: 22rem; }
    .lenta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lenta-card img { height: 6.5rem; }
}
