/* CV Page Styles */

/* Левое меню — как в кейсах: стили из CaseStudiesContent, Global, ArticleSidebar. Оставляем только main-content для 768–1023: body .main-content в about-me перекрывает .main-content из ArticleSidebar. */
@media (min-width: 768px) and (max-width: 1023px) {
    body .main-content,
    html body .main-content {
        padding-left: 200px !important;
        padding-right: 40px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
}

/* Закругление nav-badge — только правый article-sidebar; левый как в кейсах (Global/CaseStudiesContent) */
.article-sidebar-nav .nav-badge {
    border-radius: 9999px !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body background */
body {
    background: #FFFFFF;
}

/* Main content with proper spacing - переопределяем стили из Preloader.css */
body .main-content,
html body .main-content {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    padding-left: 280px !important;
    padding-right: 280px !important;
    max-width: calc(1200px + 280px + 280px) !important;
    padding-bottom: 104px !important;
    min-height: 100vh !important;
    color: #000000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow-x: hidden !important;
    flex: none !important;
    width: auto !important;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* Убеждаемся, что fade-in не ломает layout */
body .main-content.fade-in,
html body .main-content.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Mobile responsiveness */
/* Общие стили для всех размеров больше 768px - сохраняем горизонтальное расположение */

@media (max-width: 768px) {
    .main-content {
        padding-top: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 0 !important;
        margin-left: 0 !important;
        max-width: none !important;
        flex: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Скрываем breadcrumbs на странице about-me */
    .breadcrumbs {
        display: none !important;
    }
    
    /* Расстояние от верха соответствует логотипу на мобильных устройствах */
    .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 28px !important;
        width: 100% !important;
    }
    
    .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        width: 100% !important;
    }
    
    .article-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    .article-title {
        margin-top: 56px !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }
    
    /* Переопределяем стили из ArticleSidebar.css */
    .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* Исправляем маркеры списка в мобильной версии */
    .article-content ul li {
        padding-left: 28px !important;
        position: relative !important;
    }
    
    .article-content ul li::before {
        content: "—" !important;
        left: 0 !important;
        top: 0 !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        background-image: none !important;
        font-family: 'Instrument Serif', serif !important;
        font-size: 18px !important;
        color: #1a1a1a !important;
        line-height: 1.3 !important;
    }
}

/* Medium-style article container - как в кейсах */
/* Расстояние от верха соответствует логотипу (80px для desktop) */
.medium-article,
body .medium-article,
html body .medium-article {
    max-width: 688px !important;
    margin: 80px auto 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Для больших экранов (27 дюймов и больше) - увеличиваем ширину контента */
@media (min-width: 1920px) {
    .medium-article,
    body .medium-article,
    html body .medium-article,
    body .main-content .medium-article,
    html body .main-content .medium-article {
        max-width: 1000px !important;
        width: 100% !important;
    }
    
    /* КРИТИЧЕСКИЕ СТИЛИ ДЛЯ ВИДЕО - должны быть в конце для переопределения всех правил */
    .about-avatar,
    body .about-avatar,
    html body .about-avatar,
    body .article-content .about-avatar,
    html body .article-content .about-avatar,
    body .article-section .about-avatar,
    html body .article-section .about-avatar,
    body .article-content #about .about-avatar,
    html body .article-content #about .about-avatar,
    body #about .about-avatar,
    html body #about .about-avatar,
    body .article-content video.about-avatar,
    html body .article-content video.about-avatar,
    body .article-section video.about-avatar,
    html body .article-section video.about-avatar,
    body #about video.about-avatar,
    html body #about video.about-avatar,
    body .article-content #about.article-section video.about-avatar,
    html body .article-content #about.article-section video.about-avatar,
    video.about-avatar,
    body video.about-avatar,
    html body video.about-avatar {
        width: 100% !important;
        max-width: 1000px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
    }
    
    .article-header,
    body .article-header,
    html body .article-header,
    body .main-content .article-header,
    html body .main-content .article-header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .article-header .article-title,
    body .article-header .article-title,
    html body .article-header .article-title {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: left !important;
        order: 1 !important;
    }
    
    .article-contact-badges {
        order: 2 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        align-items: center !important;
    }
}

@media (min-width: 2560px) {
    .medium-article,
    body .medium-article,
    html body .medium-article,
    body .main-content .medium-article,
    html body .main-content .medium-article {
        max-width: 1200px !important;
        width: 100% !important;
    }
    
    /* КРИТИЧЕСКИЕ СТИЛИ ДЛЯ ВИДЕО - должны быть в конце для переопределения всех правил */
    .about-avatar,
    body .about-avatar,
    html body .about-avatar,
    body .article-content .about-avatar,
    html body .article-content .about-avatar,
    body .article-section .about-avatar,
    html body .article-section .about-avatar,
    body .article-content #about .about-avatar,
    html body .article-content #about .about-avatar,
    body #about .about-avatar,
    html body #about .about-avatar,
    body .article-content video.about-avatar,
    html body .article-content video.about-avatar,
    body .article-section video.about-avatar,
    html body .article-section video.about-avatar,
    body #about video.about-avatar,
    html body #about video.about-avatar,
    body .article-content #about.article-section video.about-avatar,
    html body .article-content #about.article-section video.about-avatar,
    video.about-avatar,
    body video.about-avatar,
    html body video.about-avatar {
        width: 100% !important;
        max-width: 1200px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
    }
    
    .article-header,
    body .article-header,
    html body .article-header,
    body .main-content .article-header,
    html body .main-content .article-header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .article-header .article-title,
    body .article-header .article-title,
    html body .article-header .article-title {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: left !important;
        order: 1 !important;
    }
    
    .article-contact-badges {
        order: 2 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        align-items: center !important;
    }
}

/* Article Header: колоночная раскладка — заголовок сверху, контакты снизу по вертикали */
.article-header,
body .article-header,
html body .article-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    gap: 24px !important;
    margin: 0 0 32px 0 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-header .article-title {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
}

/* Контакты: по высоте auto, по ширине 100%, идут после заголовка по вертикали */
.article-contact-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.contact-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
    border: none !important;
    position: relative !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: baseline !important;
}

.contact-badge:hover {
    color: #000000 !important;
    text-decoration: underline !important;
    text-decoration-color: #000000 !important;
    text-underline-offset: 4px !important;
    opacity: 1 !important;
}

.contact-badge:active {
    opacity: 1 !important;
}

.contact-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contact-badge .badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.contact-badge:hover .badge-icon img {
    opacity: 1 !important;
    filter: brightness(0) saturate(100%) !important;
}

.contact-badge .badge-text {
    display: inline-block;
    color: inherit;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.contact-badge:hover .badge-text {
    color: #000000 !important;
}

.contact-section-badges {
    margin-top: 24px;
}

.contact-lead {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-top: 16px;
    margin-bottom: 20px;
}

#contact .article-contact-badges {
    margin-top: 0;
}

.contact-badge:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

/* Применяем стили из greeting-introduction главного блока */
/* Переопределяем стили из CaseStudiesContent.css для about-me. Единый шрифт заголовков — Libre Baskerville. */
.article-header .article-title,
body .article-header .article-title,
html body .article-header .article-title,
.article-title {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 80px !important;
    line-height: 72px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    color: color(display-p3 0.102 0.102 0.102) !important;
    margin: 0 0 0 0 !important;
    padding-bottom: 0 !important;
    text-align: left;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

.publish-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #6B7280;
}

/* Article Content - как в кейсах */
.article-content {
    width: 100% !important;
    padding: 0 !important;
    margin: 72px 0 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* КРИТИЧНО: Переопределяем все возможные конфликты - используем ТОЛЬКО Typography.css (font-size: 18px) */
.article-content p,
.article-content li,
.article-section p,
.article-section li,
body.about-page .article-content p,
body.about-page .article-content li,
body.about-page .article-section p,
body.about-page .article-section li {
    font-size: 18px !important;
    line-height: 1.65 !important;
}

.article-content ul li,
.article-section ul li,
body.about-page .article-content ul li,
body.about-page .article-section ul li,
#experience ul li,
.job-item ul li {
    font-size: 18px !important;
    line-height: 1.7 !important;
}

/* Article Section - Editorial Typography System - как в кейсах */
.article-section {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

/* Вертикальный ритм между секциями - как в кейсах */
.article-section + .article-section {
    margin-top: clamp(120px, 15vw, 160px);
}

#about {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body .article-content #about.article-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* #about параграфы - используем правила из Typography.css */
/* Правила удалены - Typography.css уже определяет #about p с font-size: 18px */

/* Переопределяем общее правило video из Global.css */
.about-avatar-wrap {
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    aspect-ratio: 16 / 9;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #E5E8EB !important;
    margin-bottom: 32px;
    display: block;
    background-color: #E5E7EB;
    box-sizing: border-box !important;
    height: auto !important;
}

.about-avatar-wrap .about-avatar {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    background-color: transparent !important;
}

.about-avatar,
body .about-avatar,
html body .about-avatar,
body .article-content .about-avatar,
html body .article-content .about-avatar,
body .article-section .about-avatar,
html body .article-section .about-avatar,
body .article-content #about .about-avatar,
html body .article-content #about .about-avatar,
body #about .about-avatar,
html body #about .about-avatar,
body .article-content video.about-avatar,
html body .article-content video.about-avatar,
body .article-section video.about-avatar,
html body .article-section video.about-avatar,
body #about video.about-avatar,
html body #about video.about-avatar,
video.about-avatar {
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    aspect-ratio: auto;
    border-radius: 0 !important;
    border: none !important;
    margin-bottom: 0;
    display: block;
    background-color: transparent;
    object-fit: cover;
    box-sizing: border-box !important;
    height: auto !important;
}

html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body .article-content h2:not(#experience h2):not(.job-item h2),
html body .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body .article-content h2:not(#experience h2):not(.job-item h2),
body .article-section h2:not(#experience h2):not(.job-item h2),
.medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
.medium-article .article-content h2:not(#experience h2):not(.job-item h2),
.article-content .article-section h2:not(#experience h2):not(.job-item h2),
.article-content h2:not(#experience h2):not(.job-item h2),
.article-section h2:not(#experience h2):not(.job-item h2) {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    margin-top: 40px !important;
    text-transform: uppercase !important;
}

html body.about-page .article-content h2:first-of-type,
html body.about-page .article-section h2:first-of-type,
html body .article-content h2:first-of-type,
html body .article-section h2:first-of-type,
body.about-page .article-content h2:first-of-type,
body.about-page .article-section h2:first-of-type,
body .article-content h2:first-of-type,
body .article-section h2:first-of-type,
.article-content h2:first-of-type,
.article-section h2:first-of-type {
    margin-top: 0 !important;
}

.article-content h3 {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    color: #000000 !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    margin: 0 0 8px 0 !important;
}

/* Experience roles - H2 стили (Editorial Typography System) */
#experience h2,
.job-item h2 {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: #111 !important;
    text-align: left !important;
    margin: clamp(96px, 12vw, 120px) 0 clamp(24px, 3vw, 32px) 0 !important;
    position: relative;
    cursor: default;
}

#experience h2:first-of-type,
.job-item:first-child h2 {
    margin-top: 0 !important;
}

/* Hover preview для H2 в experience */
.job-item {
    position: relative;
}

#experience h2[data-hover-image]:not([data-hover-image=""]) {
    position: relative;
}

.experience-hover-preview {
    position: fixed !important;
    width: 384px; /* 352 + 32px */
    height: 253px; /* 232 * (384/352) пропорционально */
    border-radius: 16px;
    border: 1px solid #E5E8EB;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999999 !important;
    background-color: #ffffff;
    overflow: hidden;
    transform: rotate(5deg);
    display: block !important;
    transform-origin: center center;
}

/* Темная тема - hover preview */
[data-theme="dark"] .experience-hover-preview {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: var(--color-bg, #111111) !important;
}

.experience-hover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Легкий поворот при ховере на H2 работы */
.experience-hover-preview.is-visible {
    transform: rotate(3deg) !important;
}

/* Для мобильных устройств скрываем hover preview */
@media (max-width: 1024px) {
    .experience-hover-preview {
        display: none !important;
    }
}

/* Увеличение размера hover preview для больших экранов (+32px дополнительно на больших экранах) */
@media (min-width: 1920px) {
    .experience-hover-preview {
        width: 544px !important; /* 512 + 32px еще раз для больших экранов */
        height: 387px !important; /* 253 * (544/384) пропорционально */
    }
}

@media (min-width: 2560px) {
    .experience-hover-preview {
        width: 608px !important; /* 576 + 32px еще раз для очень больших экранов */
        height: 456px !important; /* 384 * (608/512) пропорционально */
    }
}

.article-content p {
    margin-bottom: 16px;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content ul {
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
}

.article-content ul:last-child {
    margin-bottom: 0;
}

.article-content ul li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.7 !important;
    color: #111 !important;
    letter-spacing: 0;
    margin-bottom: 8px !important;
    padding-left: 1.2em !important;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    position: relative;
}

.article-content ul li:last-child {
    margin-bottom: 0;
}

/* Списки в секции experience (Editorial Style) */
#experience ul li,
.job-item ul li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    margin-bottom: 0.6em;
}

#experience ul li:last-child,
.job-item ul li:last-child {
    margin-bottom: 0;
}

/* Маркеры списков - минимальный тире (Editorial Style) */
.article-content ul li::before,
.article-section ul li::before,
body .article-content ul li::before,
body .article-section ul li::before,
html body .article-content ul li::before,
html body .article-section ul li::before {
    content: "—" !important;
    position: absolute !important;
    left: -1.2em !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 18px !important;
    color: #111 !important;
    line-height: 1.7 !important;
}

/* Черточка для списков в секции experience */
#experience ul li::before,
.job-item ul li::before {
    content: "—" !important;
    font-size: 18px !important;
}

/* Job item styling */
.job-item {
    margin-bottom: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    opacity: 0;
    transform: translateY(20px);
    width: 100% !important;
    box-sizing: border-box !important;
}

.job-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.job-item:last-child {
    margin-bottom: 0;
}

/* Разделитель между работами - Editorial Rule */
.job-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: clamp(64px, 8vw, 96px) 0;
    padding: 0;
    border: none;
    display: block;
}

.lead-paragraph {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 32px;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0;
}

.article-content a:not(.contact-badge) {
    color: #000000;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
    font-weight: 500;
}

.article-content a:not(.contact-badge):hover {
    text-decoration: underline;
    text-decoration-color: #000000;
    text-underline-offset: 4px;
}

/* Темная тема - подчеркивание ссылок в контенте */
[data-theme="dark"] .article-content a:not(.contact-badge) {
    color: var(--color-text);
}

[data-theme="dark"] .article-content a:not(.contact-badge):hover {
    text-decoration: underline;
    text-decoration-color: var(--color-text);
    text-underline-offset: 4px;
}

/* Strong elements styling */
.article-content strong {
    font-weight: 600;
    color: #000000;
}

/* Job item specific styling (Newspaper Style) */
.job-item p:first-of-type {
    margin-bottom: 16px;
    font-weight: 400;
    color: #000000;
}

.job-item p:last-child {
    margin-bottom: 0;
}

.job-item .job-meta {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #777 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-style: normal !important;
}

.job-item p:not(:first-of-type) {
    margin-bottom: 16px;
    color: #000000;
}

.job-item h2 {
    margin-bottom: 16px !important;
}

/* Списки в job-item */
.job-item ul {
    margin-top: 0;
    margin-bottom: 0;
}

.job-item .job-meta + ul {
    margin-top: 0;
}

/* Dividers */
.divider-1, .divider-2, .divider-3, .divider-4, .divider-5, .divider-6, .divider-7, .divider-8 {
    height: 1px;
    margin: 64px 0;
    border: none;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-1::before,
.divider-2::before,
.divider-3::before,
.divider-4::before,
.divider-5::before,
.divider-6::before,
.divider-7::before,
.divider-8::before {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider-1::after,
.divider-2::after,
.divider-3::after,
.divider-4::after,
.divider-5::after,
.divider-6::after,
.divider-7::after,
.divider-8::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider-symbol {
    padding: 0 4px;
    color: rgba(0, 0, 0, 0.3);
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

/* ========== TABLET - 1024px to 1440px ========== */
/* 1024–1440: font-size 56px, Libre Baskerville. Левое меню — как в кейсах (CaseStudiesContent/ArticleSidebar). */
@media (min-width: 1024px) and (max-width: 1440px) {
    .article-header .article-title,
    .medium-article .article-header .article-title,
    body .article-header .article-title,
    body.about-page .article-header .article-title,
    html body .article-header .article-title,
    .article-title {
        font-size: 56px !important;
        line-height: 50px !important;
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
    }
    
    /* Вертикальное расположение на средних экранах: контакты сверху, заголовок снизу */
    .article-header,
    body .article-header,
    html body .article-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 32px !important;
        flex-wrap: nowrap !important;
    }
    
    .article-header .article-title {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        order: 1 !important;
    }
    
    .article-contact-badges {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        flex-shrink: 0 !important;
        gap: 18px !important;
        width: 100% !important;
        align-items: center !important;
        order: 2 !important;
    }
}

/* ========== TABLET SMALL - 768px to 1023px ========== */
@media (min-width: 768px) and (max-width: 1023px) {
    .article-header .article-title,
    body .article-header .article-title,
    .article-title {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        font-size: 48px !important;
        line-height: 44px !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
    }
    
}

/* ========== MOBILE LARGE - 600px to 767px ========== */
@media (min-width: 600px) and (max-width: 767px) {
    .article-header .article-title,
    body .article-header .article-title,
    .article-title {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        font-size: 36px !important;
        letter-spacing: -0.03em !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
    }
}

/* ========== MOBILE MEDIUM - 420px to 600px ========== */
@media (min-width: 420px) and (max-width: 600px) {
    .article-header .article-title,
    body .article-header .article-title,
    .article-title {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        font-size: 36px !important;
        letter-spacing: -0.03em !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
    }
}

/* ========== MOBILE SMALL - 320px to 420px ========== */
@media (min-width: 320px) and (max-width: 420px) {
    .article-header .article-title,
    body .article-header .article-title,
    .article-title {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        font-size: 36px !important;
        letter-spacing: -0.03em !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
    }
}

/* Mobile responsiveness for article */
@media (max-width: 767px) {
    .article-header .article-title,
    body .article-header .article-title,
    .article-title {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-style: normal !important;
        font-weight: 700 !important;
        font-size: 28px !important;
        letter-spacing: -0.03em !important;
        text-transform: uppercase !important;
        color: #1A1A1A !important;
        color: color(display-p3 0.102 0.102 0.102) !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #experience h3 {
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .article-contact-badges {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        flex-shrink: 0 !important;
        order: 2 !important;
    }
    
    .article-header .article-title {
        order: 1 !important;
        width: 100% !important;
    }
    
    .contact-badge {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-start !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    
    .contact-badge .badge-icon {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }
    
    .contact-badge .badge-text {
        white-space: nowrap !important;
    }
    
    html body.about-page .medium-article .article-content .article-section h2,
    html body.about-page .medium-article .article-content h2,
    html body.about-page .article-content .article-section h2,
    html body.about-page .article-content h2,
    html body.about-page .article-section h2,
    html body .medium-article .article-content .article-section h2,
    html body .medium-article .article-content h2,
    html body .article-content .article-section h2,
    html body .article-content h2,
    html body .article-section h2,
    body.about-page .medium-article .article-content .article-section h2,
    body.about-page .medium-article .article-content h2,
    body.about-page .article-content .article-section h2,
    body.about-page .article-content h2,
    body.about-page .article-section h2,
    body .medium-article .article-content .article-section h2,
    body .medium-article .article-content h2,
    body .article-content .article-section h2,
    body .article-content h2,
    body .article-section h2,
    .medium-article .article-content .article-section h2,
    .medium-article .article-content h2,
    .article-content .article-section h2,
    .article-content h2,
    .article-section h2 {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-top: 48px !important;
        margin-bottom: 8px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        color: #000000 !important;
        text-align: left !important;
        text-transform: none !important;
    }
    
    body .medium-article .article-content .article-section h2:first-of-type,
    body .medium-article .article-content h2:first-of-type,
    body .article-content .article-section h2:first-of-type,
    body .article-content h2:first-of-type,
    body .article-section h2:first-of-type,
    .medium-article .article-content .article-section h2:first-of-type,
    .medium-article .article-content h2:first-of-type,
    .article-content .article-section h2:first-of-type,
    .article-content h2:first-of-type,
    .article-section h2:first-of-type {
        margin-top: 0 !important;
    }
    
    .article-content h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }
    
    #experience h2,
    .job-item h2 {
        font-size: 32px !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
        font-style: normal !important;
        margin-bottom: 8px !important;
    }
    
    .article-content {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .about-avatar-wrap {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 16px !important;
        overflow: hidden !important;
        margin-bottom: 28px;
    }

    .about-avatar {
        border-radius: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .article-content p,
    .article-content li {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin-bottom: 18px;
    }
    
    .article-content ul li {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    /* Списки в секции experience на мобильных - используем стандартные 18px */
    #experience ul li,
    .job-item ul li {
        font-size: 18px !important;
    }
    
    .article-section {
        margin-bottom: 32px !important;
    }
    
    .article-section:last-child {
        margin-bottom: 0 !important;
    }
    
    #experience {
        margin-bottom: 56px !important;
        padding-bottom: 0 !important;
    }
    
    .job-item {
        margin-bottom: 0 !important;
    }
    
    /* Черная линия между работами на мобильных */
    .job-divider {
        margin-top: 28px !important;
        margin-bottom: 28px !important;
    }
    
    .article-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .article-content ul:last-child {
        margin-bottom: 0 !important;
    }
    
    .article-content ul {
        margin: 0 0 24px 0;
    }
    
    .article-content ul li {
        margin-bottom: 12px;
        padding-left: 28px !important;
    }
    
    .article-content ul li::before {
        content: "—" !important;
        left: 0 !important;
        top: 0 !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        background-image: none !important;
        font-family: 'Instrument Serif', serif !important;
        font-size: 18px !important;
        color: #1a1a1a !important;
        line-height: 1.3 !important;
    }
    
    .divider-1, .divider-2, .divider-3, .divider-4, .divider-5, .divider-6, .divider-7, .divider-8 {
        margin: 32px 0 !important;
        height: 1.5px;
    }
    
    .divider-1:last-child, .divider-2:last-child, .divider-3:last-child, .divider-4:last-child, .divider-5:last-child, .divider-6:last-child, .divider-7:last-child, .divider-8:last-child {
        margin-bottom: 0 !important;
    }
    
    .job-item {
        padding: 0 !important;
    }
    
    .lead-paragraph {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.5;
    }
    
    .job-item p:first-of-type {
        margin-bottom: 16px;
    }
    
    .job-item p:not(:first-of-type) {
        margin-bottom: 10px;
    }
    
    /* Contact section mobile */
    #contact {
        margin-top: 24px;
    }
    
    #contact h2 {
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }
    
    #contact p {
        margin-bottom: 6px !important;
    }
    
    #contact p:first-of-type {
        margin-bottom: 12px !important;
    }
    
}

/* Contact section specific styling */
#contact {
    margin-top: 32px;
}

#contact h2 {
    margin-top: 32px !important;
    margin-bottom: 16px !important;
}

#contact p {
    margin-bottom: 8px !important;
}

#contact p:first-of-type {
    margin-bottom: 16px !important;
}

/* Skills section specific styling */
#skills p {
    color: #4B5563 !important;
}

/* Improve focus states for accessibility */
.contact-badge:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Scroll padding for anchor links */
.article-section[id] {
    scroll-margin-top: 100px;
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animate content on scroll */
.article-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.article-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.article-section p,
.article-section h2,
.article-section h3,
.article-section ul,
.about-avatar {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-section.fade-in p,
.article-section.fade-in h2,
.article-section.fade-in h3,
.article-section.fade-in ul,
.article-section.fade-in .about-avatar {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for list items */
.article-section.fade-in ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.article-section.fade-in ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.article-section.fade-in ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.article-section.fade-in ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.article-section.fade-in ul li:nth-child(5) {
    transition-delay: 0.5s;
}

/* ========================================
   КРИТИЧЕСКИЕ ПЕРЕОПРЕДЕЛЕНИЯ ДЛЯ ПЕРЕБИВКИ СТИЛЕЙ ИЗ ДРУГИХ CSS
   ======================================== */

/* Переопределяем все медиа-запросы из ArticleSidebar.css и Preloader.css */
body .main-content,
html body .main-content {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    padding-left: 280px !important;
    padding-right: 280px !important;
    max-width: calc(1200px + 280px + 280px) !important;
    padding-bottom: 104px !important;
    min-height: 100vh !important;
    color: #000000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow-x: hidden !important;
    flex: none !important;
    width: auto !important;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body .main-content.fade-in,
html body .main-content.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Переопределяем для всех медиа-запросов */
@media (min-width: 768px) {
    body .main-content,
    html body .main-content {
        padding-left: 280px !important;
        padding-right: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: calc(1200px + 280px + 280px) !important;
    }
}

/* Правый сайдбар (компании) скрыт, контент без отступа под него */
@media (max-width: 1200px) {
    .article-sidebar-nav {
        display: none !important;
    }
    
    body .main-content,
    html body .main-content {
        padding-right: 40px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    body .medium-article,
    html body .medium-article {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Переопределяем для больших экранов - игнорируем ограничения из ArticleSidebar.css */
@media (min-width: 1921px) {
    body .medium-article,
    html body .medium-article,
    body .main-content .medium-article,
    html body .main-content .medium-article {
        max-width: 1000px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 2561px) {
    body .medium-article,
    html body .medium-article,
    body .main-content .medium-article,
    html body .main-content .medium-article {
        max-width: 1200px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
    body .main-content,
    html body .main-content {
        padding-top: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 0 !important;
        margin-left: 0 !important;
        max-width: none !important;
        flex: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body .article-header,
    html body .article-header {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    body .article-title,
    html body .article-title {
        margin-top: 56px !important;
        padding-top: 0 !important;
    }
    
    body .main-content.fade-in,
    html body .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    body .medium-article,
    html body .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    body .article-content,
    html body .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    body .medium-article,
    html body .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    body .job-item,
    html body .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 56px !important;
        width: 100% !important;
    }
    
    body .job-item:last-child,
    html body .job-item:last-child {
        margin-bottom: 0 !important;
    }
    
    body .article-section,
    html body .article-section {
        margin-bottom: 32px !important;
    }
    
    body .article-section:last-child,
    html body .article-section:last-child {
        margin-bottom: 0 !important;
    }
    
    body #experience,
    html body #experience {
        margin-bottom: 56px !important;
        padding-bottom: 0 !important;
    }
    
    body .article-content,
    html body .article-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Переопределяем стили из Preloader.css для всех размеров экрана */
@media (min-width: 1441px) {
    .main-content {
        flex: none !important;
        max-width: calc(1200px + 280px + 280px) !important;
        margin: 0 auto !important;
        width: auto !important;
        padding-top: 0 !important;
        padding-left: 280px !important;
        padding-right: 280px !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .main-content {
        flex: none !important;
        max-width: calc(1200px + 280px + 280px) !important;
        margin: 0 auto !important;
        width: auto !important;
        padding-top: 0 !important;
        padding-left: 280px !important;
        padding-right: 280px !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (min-width: 800px) and (max-width: 1023px) {
    .main-content {
        flex: none !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-top: 0 !important;
        padding-left: 280px !important;
        padding-right: 40px !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    .main-content {
        flex: none !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-top: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 0 !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    .article-header {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .article-title {
        margin-top: 56px !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

@media (min-width: 420px) and (max-width: 599px) {
    .main-content {
        flex: none !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-top: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 0 !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    .article-header {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .article-title {
        margin-top: 56px !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

@media (min-width: 320px) and (max-width: 419px) {
    .main-content {
        flex: none !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-top: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 0 !important;
        height: auto !important;
        opacity: 1 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    .article-header {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .article-title {
        margin-top: 56px !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }
    
    .main-content.fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .medium-article {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

/* ========================================
   КРИТИЧЕСКИЕ СТИЛИ ДЛЯ БЕЙДЖЕЙ КОНТАКТОВ
   ======================================== */

/* Контакты: ширина 100%, высота auto, row+wrap для бейджей */
.article-contact-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-top: 0 !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: text-decoration 0.2s ease, text-underline-offset 0.2s ease !important;
    border: none !important;
    position: relative !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-badge:hover {
    color: #000000 !important;
    text-decoration: underline !important;
    text-decoration-color: #000000 !important;
    text-underline-offset: 4px !important;
    opacity: 1 !important;
}

/* Темная тема - подчеркивание contact-badge */
[data-theme="dark"] .contact-badge {
    color: var(--color-text) !important;
}

[data-theme="dark"] .contact-badge:hover {
    color: var(--color-text) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--color-text) !important;
    text-underline-offset: 4px !important;
    opacity: 1 !important;
}

.contact-badge .badge-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-badge .badge-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: brightness(0) saturate(100%) !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
    visibility: visible !important;
    display: block !important;
}

.contact-badge:hover .badge-icon img {
    opacity: 1 !important;
    filter: brightness(0) saturate(100%) !important;
}

.contact-badge .badge-text {
    display: inline-block !important;
    color: inherit !important;
    transition: color 0.2s ease, text-decoration 0.2s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-badge:hover .badge-text {
    color: #000000 !important;
}

/* Мобильные стили для бейджей */
@media (max-width: 768px) {
    .article-header {
        flex-direction: column !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .article-contact-badges {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box !important;
    }
    
    .contact-badge {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-start !important;
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }
    
    .contact-badge .badge-icon {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-badge .badge-text {
        white-space: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .article-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* ФИНАЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ДЛЯ ВИДЕО НА БОЛЬШИХ ЭКРАНАХ */
    @media (min-width: 1920px) {
        body .article-content #about.article-section video.about-avatar,
        html body .article-content #about.article-section video.about-avatar,
        body #about video.about-avatar,
        html body #about video.about-avatar,
        body .article-content video.about-avatar,
        html body .article-content video.about-avatar {
            max-width: 1000px !important;
            width: 100% !important;
        }
    }
    
    @media (min-width: 2560px) {
        body .article-content #about.article-section video.about-avatar,
        html body .article-content #about.article-section video.about-avatar,
        body #about video.about-avatar,
        html body #about video.about-avatar,
        body .article-content video.about-avatar,
        html body .article-content video.about-avatar {
            max-width: 1200px !important;
            width: 100% !important;
        }
    }

    .job-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}


/* ========================================
   ФИНАЛЬНЫЕ КРИТИЧЕСКИЕ СТИЛИ ДЛЯ ВИДЕО
   Должны быть в самом конце для переопределения всех правил
   ======================================== */

/* Для больших экранов - ФИНАЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ */
@media (min-width: 1920px) {
    .about-avatar-wrap {
        max-width: 1000px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
        border-radius: 16px !important;
        border: 1px solid #E5E8EB !important;
    }
}

@media (min-width: 2560px) {
    .about-avatar-wrap {
        max-width: 1200px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
        border-radius: 16px !important;
        border: 1px solid #E5E8EB !important;
    }
}

/* Увеличение расстояний между секциями для больших экранов */
@media (min-width: 1920px) {
    /* Увеличение H1 на 16px для больших экранов */
    .article-header .article-title,
    body .article-header .article-title,
    html body .article-header .article-title,
    .article-title {
        font-size: 96px !important;
        line-height: 88px !important;
    }
    
    /* Увеличение H2 на 16px для больших экранов */
    #experience h2,
    .job-item h2 {
        font-size: 64px !important;
        line-height: 1.25 !important;
        font-style: normal !important;
        text-transform: none !important;
    }

    /* Увеличение job-meta на 16px для больших экранов */
    .job-item .job-meta {
        font-size: 38px !important;
    }
    
    /* Увеличение ссылок на 8px для больших экранов */
    .contact-badge {
        font-size: 22px !important;
    }
    
    /* Увеличение правого меню на 8px для больших экранов. Левое — как в кейсах. */
    .article-sidebar-nav .logo img {
        height: 32px !important;
    }
    
    .article-sidebar-nav .nav-link {
        font-size: 21px !important;
        white-space: nowrap !important;
    }
    
    .article-sidebar-nav {
        width: 360px !important;
    }
    
    body .main-content,
    html body .main-content {
        padding-right: 360px !important;
        max-width: calc(1200px + 280px + 360px) !important;
    }
    
    .article-sidebar-nav .nav-badge {
        border-radius: 9999px !important;
        font-size: 12px !important;
        padding: 5px 10px !important;
        min-height: 20px !important;
    }
    
    /* КРИТИЧНО: Принудительно устанавливаем 18px для всех размеров экрана */
    .article-content p,
    .article-content li,
    .article-section p,
    .article-section li,
    body.about-page .article-content p,
    body.about-page .article-content li,
    body.about-page .article-section p,
    body.about-page .article-section li {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }
    
    .article-content ul li,
    .article-section ul li,
    body.about-page .article-content ul li,
    body.about-page .article-section ul li,
    #experience ul li,
    .job-item ul li {
        font-size: 18px !important;
        line-height: 1.7 !important;
    }
    
    #about p {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }
    
    .article-section {
        margin-bottom: 112px !important;
    }
    
    #about {
        padding-bottom: 112px !important;
        margin-bottom: 0 !important;
    }
    
    body .article-content #about.article-section {
        padding-bottom: 112px !important;
        margin-bottom: 0 !important;
    }
    
    .job-item {
        margin-bottom: 0 !important;
    }
    
    /* Черная линия между работами на больших экранах */
    .job-divider {
        margin-top: 80px !important;
        margin-bottom: 80px !important;
    }
    
    .article-content p {
        margin-bottom: 32px !important;
    }
    
    #about p {
        margin-bottom: 32px !important;
    }
}

@media (min-width: 2560px) {
    /* Увеличение H1 на 16px для очень больших экранов */
    .article-header .article-title,
    body .article-header .article-title,
    html body .article-header .article-title,
    .article-title {
        font-size: 96px !important;
        line-height: 88px !important;
    }
    
    /* Увеличение H2 на 16px для очень больших экранов */
    #experience h2,
    .job-item h2 {
        font-size: 64px !important;
        line-height: 1.25 !important;
        font-style: normal !important;
        text-transform: none !important;
    }

    /* Увеличение ссылок на 8px для очень больших экранов */
    .contact-badge {
        font-size: 22px !important;
    }
    
    /* Увеличение правого меню. Левое — как в кейсах. */
    .article-sidebar-nav .logo img {
        height: 32px !important;
    }
    
    .article-sidebar-nav .nav-link {
        font-size: 21px !important;
        white-space: nowrap !important;
    }
    
    .article-sidebar-nav {
        width: 400px !important;
    }
    
    body .main-content,
    html body .main-content {
        padding-right: 400px !important;
        max-width: calc(1200px + 280px + 400px) !important;
    }
    
    .article-sidebar-nav .nav-badge {
        border-radius: 9999px !important;
        font-size: 14px !important;
        padding: 6px 12px !important;
        min-height: 22px !important;
    }
    
    /* КРИТИЧНО: Принудительно устанавливаем 18px для всех размеров экрана */
    .article-content p,
    .article-content li,
    .article-section p,
    .article-section li,
    body.about-page .article-content p,
    body.about-page .article-content li,
    body.about-page .article-section p,
    body.about-page .article-section li {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }
    
    .article-content ul li,
    .article-section ul li,
    body.about-page .article-content ul li,
    body.about-page .article-section ul li,
    #experience ul li,
    .job-item ul li {
        font-size: 18px !important;
        line-height: 1.7 !important;
    }
    
    #about p {
        font-size: 18px !important;
        line-height: 1.65 !important;
    }
    
    .article-section {
        margin-bottom: 136px !important;
    }
    
    #about {
        padding-bottom: 136px !important;
        margin-bottom: 0 !important;
    }
    
    body .article-content #about.article-section {
        padding-bottom: 136px !important;
        margin-bottom: 0 !important;
    }
    
    .job-item {
        margin-bottom: 0 !important;
    }
    
    /* Черная линия между работами на очень больших экранах */
    .job-divider {
        margin-top: 80px !important;
        margin-bottom: 80px !important;
    }
    
    /* Черная линия между работами на очень больших экранах */
    .job-divider {
        margin-top: 96px !important;
        margin-bottom: 96px !important;
    }
    
    .article-content p {
        margin-bottom: 20px !important;
    }
    
    #about p {
        margin-bottom: 22px !important;
    }
    
    #about p:last-child {
        margin-bottom: 0 !important;
    }
}

/* ========================================
   ФИНАЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ H2 - Newspaper Style
   Добавлены в самый конец для перебивки всех конфликтов
   ВАЖНО: Эти правила переопределяют ВСЕ другие правила H2, кроме #experience h2 и .job-item h2
   ======================================== */

/* H2 - Newspaper Style (30px, weight 700, uppercase) - обычные H2 в секциях */
html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body.about-page .medium-article .article-content .article-section > h2:not(#experience h2):not(.job-item h2),
html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
html body .article-content h2:not(#experience h2):not(.job-item h2),
html body .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
body .article-content h2:not(#experience h2):not(.job-item h2),
body .article-section h2:not(#experience h2):not(.job-item h2),
.medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
.medium-article .article-content h2:not(#experience h2):not(.job-item h2),
.article-content .article-section h2:not(#experience h2):not(.job-item h2),
.article-content h2:not(#experience h2):not(.job-item h2),
.article-section h2:not(#experience h2):not(.job-item h2) {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #000000 !important;
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    margin-top: 40px !important;
    text-transform: uppercase !important;
}

/* Альтернативный подход: переопределяем через родительские селекторы, исключая experience (Newspaper Style) */
html body.about-page .article-content .article-section:not(#experience) h2,
html body.about-page .article-content .article-section:not(#experience) > h2,
body.about-page .article-content .article-section:not(#experience) h2,
body.about-page .article-content .article-section:not(#experience) > h2,
.article-content .article-section:not(#experience) h2,
.article-content .article-section:not(#experience) > h2 {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #000000 !important;
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    margin-top: 40px !important;
    text-transform: uppercase !important;
}

/* Переопределяем через более простые селекторы, исключая job-item и experience (Newspaper Style) */
html body.about-page .medium-article .article-content .article-section h2,
html body.about-page .medium-article .article-content h2,
html body.about-page .article-content .article-section h2,
html body.about-page .article-content h2,
html body.about-page .article-section h2,
html body .medium-article .article-content .article-section h2,
html body .medium-article .article-content h2,
html body .article-content .article-section h2,
html body .article-content h2,
html body .article-section h2,
body.about-page .medium-article .article-content .article-section h2,
body.about-page .medium-article .article-content h2,
body.about-page .article-content .article-section h2,
body.about-page .article-content h2,
body.about-page .article-section h2,
body .medium-article .article-content .article-section h2,
body .medium-article .article-content h2,
body .article-content .article-section h2,
body .article-content h2,
body .article-section h2,
.medium-article .article-content .article-section h2,
.medium-article .article-content h2,
.article-content .article-section h2,
.article-content h2,
.article-section h2 {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #000000 !important;
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    margin-top: 40px !important;
    text-transform: uppercase !important;
}

html body.about-page .medium-article .article-content .article-section h2:first-of-type,
html body.about-page .medium-article .article-content h2:first-of-type,
html body.about-page .article-content .article-section h2:first-of-type,
html body.about-page .article-content h2:first-of-type,
html body.about-page .article-section h2:first-of-type,
html body .medium-article .article-content .article-section h2:first-of-type,
html body .medium-article .article-content h2:first-of-type,
html body .article-content .article-section h2:first-of-type,
html body .article-content h2:first-of-type,
html body .article-section h2:first-of-type,
body.about-page .medium-article .article-content .article-section h2:first-of-type,
body.about-page .medium-article .article-content h2:first-of-type,
body.about-page .article-content .article-section h2:first-of-type,
body.about-page .article-content h2:first-of-type,
body.about-page .article-section h2:first-of-type,
body .medium-article .article-content .article-section h2:first-of-type,
body .medium-article .article-content h2:first-of-type,
body .article-content .article-section h2:first-of-type,
body .article-content h2:first-of-type,
body .article-section h2:first-of-type,
.medium-article .article-content .article-section h2:first-of-type,
.medium-article .article-content h2:first-of-type,
.article-content .article-section h2:first-of-type,
.article-content h2:first-of-type,
.article-section h2:first-of-type {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

/* Медиа-запросы для больших экранов (Newspaper Style) */
@media (min-width: 1920px) {
    html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .article-content h2:not(#experience h2):not(.job-item h2),
    .article-section h2:not(#experience h2):not(.job-item h2) {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-weight: 700 !important;
        font-size: 36px !important;
        line-height: 1.2 !important;
        font-style: normal !important;
        text-transform: uppercase !important;
        letter-spacing: -0.01em !important;
        color: #000000 !important;
        margin-top: 48px !important;
        margin-bottom: 18px !important;
    }
}

@media (min-width: 2560px) {
    html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .article-content h2:not(#experience h2):not(.job-item h2),
    .article-section h2:not(#experience h2):not(.job-item h2) {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-weight: 700 !important;
        font-size: 42px !important;
        line-height: 1.2 !important;
        font-style: normal !important;
        text-transform: uppercase !important;
        letter-spacing: -0.01em !important;
        color: #000000 !important;
        margin-top: 56px !important;
        margin-bottom: 20px !important;
    }
}

/* Темная тема - H2 заголовки на странице about-me */
[data-theme="dark"] html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] body .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] .article-content .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] .article-content h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] .article-section h2:not(#experience h2):not(.job-item h2),
[data-theme="dark"] html body.about-page .medium-article .article-content .article-section h2,
[data-theme="dark"] html body.about-page .medium-article .article-content h2,
[data-theme="dark"] html body.about-page .article-content .article-section h2,
[data-theme="dark"] html body.about-page .article-content h2,
[data-theme="dark"] html body.about-page .article-section h2,
[data-theme="dark"] html body .medium-article .article-content .article-section h2,
[data-theme="dark"] html body .medium-article .article-content h2,
[data-theme="dark"] html body .article-content .article-section h2,
[data-theme="dark"] html body .article-content h2,
[data-theme="dark"] html body .article-section h2,
[data-theme="dark"] body.about-page .medium-article .article-content .article-section h2,
[data-theme="dark"] body.about-page .medium-article .article-content h2,
[data-theme="dark"] body.about-page .article-content .article-section h2,
[data-theme="dark"] body.about-page .article-content h2,
[data-theme="dark"] body.about-page .article-section h2,
[data-theme="dark"] body .medium-article .article-content .article-section h2,
[data-theme="dark"] body .medium-article .article-content h2,
[data-theme="dark"] body .article-content .article-section h2,
[data-theme="dark"] body .article-content h2,
[data-theme="dark"] body .article-section h2,
[data-theme="dark"] .medium-article .article-content .article-section h2,
[data-theme="dark"] .medium-article .article-content h2,
[data-theme="dark"] .article-content .article-section h2,
[data-theme="dark"] .article-content h2,
[data-theme="dark"] .article-section h2 {
    color: var(--color-text) !important;
}

@media (min-width: 2560px) {
    [data-theme="dark"] html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-section h2:not(#experience h2):not(.job-item h2) {
        color: var(--color-text) !important;
    }
}

@media (max-width: 767px) {
    html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    html body .article-content h2:not(#experience h2):not(.job-item h2),
    html body .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    body .article-content h2:not(#experience h2):not(.job-item h2),
    body .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    .article-content h2:not(#experience h2):not(.job-item h2),
    .article-section h2:not(#experience h2):not(.job-item h2) {
        font-family: 'Libre Baskerville', Georgia, serif !important;
        font-weight: 700 !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
        font-style: normal !important;
        text-transform: uppercase !important;
        letter-spacing: -0.01em !important;
        color: #000000 !important;
        margin-top: 32px !important;
        margin-bottom: 12px !important;
    }
    
    /* Темная тема - H2 на мобильных экранах */
    [data-theme="dark"] html body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] html body .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body.about-page .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] body .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .medium-article .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .medium-article .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-content .article-section h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-content h2:not(#experience h2):not(.job-item h2),
    [data-theme="dark"] .article-section h2:not(#experience h2):not(.job-item h2) {
        color: var(--color-text) !important;
    }
}

/* Темная тема - дополнительные элементы для about-me */

/* Заголовок статьи */
[data-theme="dark"] .article-title,
[data-theme="dark"] .article-header .article-title,
[data-theme="dark"] body .article-title,
[data-theme="dark"] body .article-header .article-title,
[data-theme="dark"] html body .article-title,
[data-theme="dark"] html body .article-header .article-title {
    color: var(--color-text, #FFFFFF) !important;
}

/* Author info элементы */
[data-theme="dark"] .author-name,
[data-theme="dark"] .publish-date {
    color: var(--color-text, #FFFFFF) !important;
}

[data-theme="dark"] .publish-date {
    opacity: 0.7;
}

/* H2 в experience */
[data-theme="dark"] #experience h2,
[data-theme="dark"] .job-item h2,
[data-theme="dark"] body #experience h2,
[data-theme="dark"] body .job-item h2 {
    color: var(--color-text, #FFFFFF) !important;
}

/* Параграфы */
[data-theme="dark"] .article-content p,
[data-theme="dark"] #about p,
[data-theme="dark"] .article-section p {
    color: var(--color-text, #FFFFFF) !important;
}

/* Job meta */
[data-theme="dark"] .job-meta,
[data-theme="dark"] .job-item .job-meta {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Job item списки */
[data-theme="dark"] .job-item ul li,
[data-theme="dark"] .job-item li {
    color: var(--color-text, #FFFFFF) !important;
}

/* Обводка видео about-avatar - более прозрачная в темной теме */
[data-theme="dark"] .about-avatar,
[data-theme="dark"] video.about-avatar,
[data-theme="dark"] body .about-avatar,
[data-theme="dark"] body video.about-avatar,
[data-theme="dark"] html body .about-avatar,
[data-theme="dark"] html body video.about-avatar,
[data-theme="dark"] body .article-content .about-avatar,
[data-theme="dark"] body .article-content video.about-avatar,
[data-theme="dark"] body .article-section .about-avatar,
[data-theme="dark"] body .article-section video.about-avatar,
[data-theme="dark"] body #about .about-avatar,
[data-theme="dark"] body #about video.about-avatar,
[data-theme="dark"] body .article-content #about .about-avatar,
[data-theme="dark"] body .article-content #about video.about-avatar,
[data-theme="dark"] .article-content #about.article-section video.about-avatar,
[data-theme="dark"] html body .article-content #about.article-section video.about-avatar {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
}

/* Contact badge в темной теме */
[data-theme="dark"] .contact-badge,
[data-theme="dark"] .contact-badge:hover,
[data-theme="dark"] .contact-badge:active,
[data-theme="dark"] .contact-badge .badge-text,
[data-theme="dark"] .contact-badge:hover .badge-text {
    color: var(--color-text, #FFFFFF) !important;
}

[data-theme="dark"] .contact-badge:hover {
    text-decoration-color: var(--color-text, #FFFFFF) !important;
}

/* Contact lead */
[data-theme="dark"] .contact-lead {
    color: var(--color-text, #FFFFFF) !important;
}

/* Main content текст */
[data-theme="dark"] body .main-content,
[data-theme="dark"] html body .main-content {
    color: var(--color-text, #FFFFFF) !important;
}

/* Job item параграфы и списки */
[data-theme="dark"] .job-item p,
[data-theme="dark"] .job-item ul,
[data-theme="dark"] .job-item ul li,
[data-theme="dark"] #experience .job-item ul li {
    color: var(--color-text, #FFFFFF) !important;
}

/* Job divider в темной теме */
[data-theme="dark"] .job-divider {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Маркеры списков в темной теме */
[data-theme="dark"] .article-content ul li::before,
[data-theme="dark"] .article-section ul li::before,
[data-theme="dark"] #experience ul li::before,
[data-theme="dark"] .job-item ul li::before,
[data-theme="dark"] body .article-content ul li::before,
[data-theme="dark"] body .article-section ul li::before,
[data-theme="dark"] html body .article-content ul li::before,
[data-theme="dark"] html body .article-section ul li::before {
    color: var(--color-text, #FFFFFF) !important;
}

/* ========================================
   ПОСЛЕДНИЕ ПЕРЕОПРЕДЕЛЕНИЯ - для обычных H2 (не в #experience или .job-item)
   Принудительно применяем italic ко всем обычным H2
   ======================================== */

/* Для обычных H2 в article-section, но НЕ в #experience и НЕ в .job-item (Newspaper Style) */
html body.about-page .article-content .article-section:not(#experience) h2,
html body.about-page .article-content .article-section:not(#experience) > h2,
body.about-page .article-content .article-section:not(#experience) h2,
body.about-page .article-content .article-section:not(#experience) > h2,
.article-content .article-section:not(#experience) h2,
.article-content .article-section:not(#experience) > h2,
html body.about-page .article-content #about.article-section h2,
body.about-page .article-content #about.article-section h2,
.article-content #about.article-section h2 {
    font-style: normal !important;
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
    margin-top: 40px !important;
    margin-bottom: 16px !important;
}

/* Переопределяем правила для #experience h2 и .job-item h2 (Newspaper Style) */
html body.about-page .article-content #experience .job-item h2,
html body.about-page .article-content #experience h2,
html body.about-page .article-content .job-item h2,
body.about-page .article-content #experience .job-item h2,
body.about-page .article-content #experience h2,
body.about-page .article-content .job-item h2,
.article-content #experience .job-item h2,
.article-content #experience h2,
.article-content .job-item h2,
#experience .job-item h2,
#experience h2,
.job-item h2 {
    font-style: normal !important;
    text-transform: uppercase !important;
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

/* Для всех медиа-запросов */
@media (max-width: 767px) {
    html body.about-page .article-content .article-section:not(#experience) h2,
    html body.about-page .article-content .article-section:not(#experience) > h2,
    body.about-page .article-content .article-section:not(#experience) h2,
    body.about-page .article-content .article-section:not(#experience) > h2,
    .article-content .article-section:not(#experience) h2,
    .article-content .article-section:not(#experience) > h2 {
        font-style: normal !important;
        font-family: 'Libre Baskerville', Georgia, serif !important;
        text-transform: none !important;
    }
    
    /* Переопределяем для experience и job-item в мобильных */
    html body.about-page .article-content #experience .job-item h2,
    html body.about-page .article-content #experience h2,
    html body.about-page .article-content .job-item h2,
    body.about-page .article-content #experience .job-item h2,
    body.about-page .article-content #experience h2,
    body.about-page .article-content .job-item h2,
    .article-content #experience .job-item h2,
    .article-content #experience h2,
    .article-content .job-item h2,
    #experience .job-item h2,
    #experience h2,
    .job-item h2 {
        font-style: normal !important;
        text-transform: none !important;
    }
}

@media (min-width: 1920px) {
    html body.about-page .article-content .article-section:not(#experience) h2,
    html body.about-page .article-content .article-section:not(#experience) > h2,
    body.about-page .article-content .article-section:not(#experience) h2,
    body.about-page .article-content .article-section:not(#experience) > h2,
    .article-content .article-section:not(#experience) h2,
    .article-content .article-section:not(#experience) > h2 {
        font-style: normal !important;
        font-family: 'Libre Baskerville', Georgia, serif !important;
        text-transform: none !important;
    }
    
    /* Переопределяем для experience и job-item на больших экранах */
    html body.about-page .article-content #experience .job-item h2,
    html body.about-page .article-content #experience h2,
    html body.about-page .article-content .job-item h2,
    body.about-page .article-content #experience .job-item h2,
    body.about-page .article-content #experience h2,
    body.about-page .article-content .job-item h2,
    .article-content #experience .job-item h2,
    .article-content #experience h2,
    .article-content .job-item h2,
    #experience .job-item h2,
    #experience h2,
    .job-item h2 {
        font-style: normal !important;
        text-transform: none !important;
    }
}

@media (min-width: 2560px) {
    html body.about-page .article-content .article-section:not(#experience) h2,
    html body.about-page .article-content .article-section:not(#experience) > h2,
    body.about-page .article-content .article-section:not(#experience) h2,
    body.about-page .article-content .article-section:not(#experience) > h2,
    .article-content .article-section:not(#experience) h2,
    .article-content .article-section:not(#experience) > h2 {
        font-style: normal !important;
        font-family: 'Libre Baskerville', Georgia, serif !important;
        text-transform: none !important;
    }
    
    /* Переопределяем для experience и job-item на очень больших экранах */
    html body.about-page .article-content #experience .job-item h2,
    html body.about-page .article-content #experience h2,
    html body.about-page .article-content .job-item h2,
    body.about-page .article-content #experience .job-item h2,
    body.about-page .article-content #experience h2,
    body.about-page .article-content .job-item h2,
    .article-content #experience .job-item h2,
    .article-content #experience h2,
    .article-content .job-item h2,
    #experience .job-item h2,
    #experience h2,
    .job-item h2 {
        font-style: normal !important;
        text-transform: none !important;
    }
}

/* ========================================
   ВЫДЕЛЕНИЕ ТЕКСТА - ЧЕРНЫЙ ФОН, БЕЛЫЙ ТЕКСТ
   Максимальный приоритет для гарантированного применения
   ======================================== */
*::selection,
*::-moz-selection,
*::-webkit-selection,
html *::selection,
html *::-moz-selection,
html *::-webkit-selection,
body *::selection,
body *::-moz-selection,
body *::-webkit-selection,
html::selection,
html::-moz-selection,
html::-webkit-selection,
body::selection,
body::-moz-selection,
body::-webkit-selection,
p::selection,
p::-moz-selection,
p::-webkit-selection,
h1::selection,
h1::-moz-selection,
h1::-webkit-selection,
h2::selection,
h2::-moz-selection,
h2::-webkit-selection,
h3::selection,
h3::-moz-selection,
h3::-webkit-selection,
h4::selection,
h4::-moz-selection,
h4::-webkit-selection,
h5::selection,
h5::-moz-selection,
h5::-webkit-selection,
h6::selection,
h6::-moz-selection,
h6::-webkit-selection,
span::selection,
span::-moz-selection,
span::-webkit-selection,
div::selection,
div::-moz-selection,
div::-webkit-selection,
a::selection,
a::-moz-selection,
a::-webkit-selection,
li::selection,
li::-moz-selection,
li::-webkit-selection,
.article-content *::selection,
.article-content *::-moz-selection,
.article-content *::-webkit-selection,
.article-section *::selection,
.article-section *::-moz-selection,
.article-section *::-webkit-selection,
.main-content *::selection,
.main-content *::-moz-selection,
.main-content *::-webkit-selection,
.medium-article *::selection,
.medium-article *::-moz-selection,
.medium-article *::-webkit-selection,
#about *::selection,
#about *::-moz-selection,
#about *::-webkit-selection,
::selection,
::-moz-selection,
::-webkit-selection {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: none !important;
}

/* Дополнительные стили с максимальной специфичностью для всех возможных комбинаций */
html body.about-page .article-content .article-section *::selection,
html body.about-page .article-content .article-section *::-moz-selection,
html body.about-page .article-content .article-section *::-webkit-selection,
html body.about-page .article-content *::selection,
html body.about-page .article-content *::-moz-selection,
html body.about-page .article-content *::-webkit-selection,
body.about-page .article-content .article-section *::selection,
body.about-page .article-content .article-section *::-moz-selection,
body.about-page .article-content .article-section *::-webkit-selection,
body.about-page .article-content *::selection,
body.about-page .article-content *::-moz-selection,
body.about-page .article-content *::-webkit-selection,
html body.about-page .main-content *::selection,
html body.about-page .main-content *::-moz-selection,
html body.about-page .main-content *::-webkit-selection,
body.about-page .main-content *::selection,
body.about-page .main-content *::-moz-selection,
body.about-page .main-content *::-webkit-selection,
html body.about-page .medium-article *::selection,
html body.about-page .medium-article *::-moz-selection,
html body.about-page .medium-article *::-webkit-selection,
body.about-page .medium-article *::selection,
body.about-page .medium-article *::-moz-selection,
body.about-page .medium-article *::-webkit-selection,
html body.about-page #about *::selection,
html body.about-page #about *::-moz-selection,
html body.about-page #about *::-webkit-selection,
body.about-page #about *::selection,
body.about-page #about *::-moz-selection,
body.about-page #about *::-webkit-selection,
html body.about-page #about p::selection,
html body.about-page #about p::-moz-selection,
html body.about-page #about p::-webkit-selection,
body.about-page #about p::selection,
body.about-page #about p::-moz-selection,
body.about-page #about p::-webkit-selection,
.article-content .article-section p::selection,
.article-content .article-section p::-moz-selection,
.article-content .article-section p::-webkit-selection,
.article-content p::selection,
.article-content p::-moz-selection,
.article-content p::-webkit-selection,
#about p::selection,
#about p::-moz-selection,
#about p::-webkit-selection {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: none !important;
}

/* ========================================
   ФИНАЛЬНОЕ КРИТИЧЕСКОЕ ПЕРЕОПРЕДЕЛЕНИЕ: font-size: 18px для ВСЕХ текстовых элементов
   Должно быть в самом конце файла для максимального приоритета
   ======================================== */
.article-content p,
.article-content li,
.article-section p,
.article-section li,
body.about-page .article-content p,
body.about-page .article-content li,
body.about-page .article-section p,
body.about-page .article-section li,
html body.about-page .article-content p,
html body.about-page .article-content li,
html body.about-page .article-section p,
html body.about-page .article-section li,
html body .article-content p,
html body .article-content li,
html body .article-section p,
html body .article-section li,
body .article-content p,
body .article-content li,
body .article-section p,
body .article-section li {
    font-size: 18px !important;
    line-height: 1.65 !important;
}

.article-content ul li,
.article-section ul li,
body.about-page .article-content ul li,
body.about-page .article-section ul li,
html body.about-page .article-content ul li,
html body.about-page .article-section ul li,
html body .article-content ul li,
html body .article-section ul li,
body .article-content ul li,
body .article-section ul li,
#experience ul li,
.job-item ul li {
    font-size: 18px !important;
    line-height: 1.7 !important;
}

#about p,
body.about-page #about p,
html body.about-page #about p,
html body #about p,
body #about p {
    font-size: 18px !important;
    line-height: 1.65 !important;
}
