/* Раздел «Обо мне»: резюме листом по образцу Jake's Resume — одна колонка,
   разделы с линейкой, название места слева, период справа. Такой же макет у
   PDF (company_blog/resume_pdf.py), поэтому правки вёрстки — в обоих местах. */

.resume-container {
    max-width: 860px;
}

/* Вместо боковой колонки блога (фото, описание, всё меню) — тонкая полоса с
   названием блога: внимание рекрутёра остаётся на резюме. */
.resume-topbar {
    padding: 0.75rem 1.5rem;
    background: #fdac53;
}

.resume-topbar a {
    color: #212121;
    font-weight: 700;
    text-decoration: none;
}

.resume-topbar ~ .main-wrapper {
    margin-left: 0;
}

.resume-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.resume-updated {
    color: #6b6b6b;
    font-size: 0.875rem;
}

.resume {
    padding: 3rem 3.5rem;
    border: 1px solid #e6e6e6;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(36, 18, 2, 0.08);
    color: #212121;
    font-size: 0.975rem;
    line-height: 1.55;
}

/* Ссылки тёмным оранжевым, как на основном сайте: светлый фирменный
   #FDAC53 на белом почти не читается. */
.resume a {
    color: #a95500;
}

.resume a:hover {
    color: #743900;
}

.resume-head {
    margin-bottom: 1.25rem;
    text-align: center;
}

.resume-name {
    margin: 0;
    color: #212121;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.resume-position {
    margin: 0.25rem 0 0.5rem;
    color: #606060;
    font-size: 1.15rem;
}

.resume-contacts,
.resume-links {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resume-contacts {
    justify-content: center;
    font-size: 0.925rem;
}

.resume-contacts li + li::before {
    content: "|";
    margin: 0 0.6rem;
    color: #b0b0b0;
}

.resume-section {
    margin-top: 1.6rem;
}

.resume-section h2 {
    margin: 0 0 0.75rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #3c3c3c;
    color: #212121;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.resume-section p {
    margin-bottom: 0.5rem;
}

.resume-section ul:not(.resume-links, .resume-stack) {
    margin: 0 0 0.5rem;
    padding-left: 1.15rem;
}

.resume-section ul:not(.resume-links, .resume-stack) li {
    margin-bottom: 0.35rem;
}

.resume-section li::marker {
    color: #9a9a9a;
}

.resume-entry + .resume-entry {
    margin-top: 1.4rem;
}

.resume-entry-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 1rem;
}

.resume-entry-head h3 {
    margin: 0;
    color: #212121;
    font-size: 1.05rem;
    font-weight: 700;
}

.resume-period {
    color: #606060;
    font-size: 0.925rem;
    white-space: nowrap;
}

.resume-subtitle {
    margin: 0;
    font-style: italic;
}

/* Стек — тегами: так он не сливается с текстом пунктов. */
.resume-section .resume-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.resume-section .resume-stack li {
    padding: 0.05rem 0.45rem;
    border-radius: 0.25rem;
    background: #f1f1f1;
    color: #555;
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.75rem;
}

.resume-links {
    margin-top: 0.15rem;
    font-size: 0.9rem;
}

.resume-links li + li::before {
    content: "·";
    margin: 0 0.5rem;
    color: #9a9a9a;
}

.resume-body {
    margin-top: 0.4rem;
}

/* Подзаголовок направления внутри места работы («#### LLM-агенты»). */
.resume-body h4 {
    margin: 0.9rem 0 0.35rem;
    color: #212121;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .resume {
        padding: 1.5rem 1.25rem;
        border-radius: 0.5rem;
    }

    .resume-name {
        font-size: 1.75rem;
    }

    .resume-actions {
        justify-content: space-between;
    }
}

/* Печать из браузера: только лист, без меню блога и кнопки. */
@media print {
    .header,
    .resume-topbar,
    .footer,
    .resume-actions {
        display: none !important;
    }

    .main-wrapper {
        margin-left: 0 !important;
    }

    .resume-page {
        padding: 0 !important;
    }

    .resume {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}
