﻿.resume-page {
    --resume-bg: var(--bs-body-bg);
    --resume-text: var(--bs-body-color);
    --resume-card-bg: #ffffff;
    --resume-border: #e5e7eb;
    --resume-muted: #6b7280;
    --resume-heading: #111827;
    --resume-chip-bg: #eef5ff;
    --resume-shadow: rgba(15, 23, 42, 0.08);
}

.resume-hero {
    padding: 4rem 0 2rem;
}

.resume-hero-card {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    padding: 2.25rem;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.08);
}

.resume-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.16);
}

.resume-eyebrow {
    margin-bottom: 0.35rem;
    color: #0d6efd;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.resume-hero h1 {
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.resume-intro {
    max-width: 760px;
    margin-bottom: 1rem;
    color: var(--resume-muted);
    font-size: 1.08rem;
}

.resume-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .resume-tags span,
    .resume-content code {
        display: inline-block;
        padding: 0.3rem 0.65rem;
        border-radius: 999px;
        background: #eef5ff;
        color: #0a58ca;
        font-size: 0.85rem;
        font-weight: 600;
    }

.resume-sidebar {
    position: sticky;
    top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.05);
}

.resume-sidebar-section + .resume-sidebar-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef0f3;
}

.resume-sidebar h2 {
    margin-bottom: 0.6rem;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.resume-sidebar p,
.resume-sidebar li {
    color: #6b7280;
    font-size: 0.95rem;
}

.resume-sidebar ul {
    margin: 0;
    padding-left: 1.1rem;
}

.resume-content {
    padding: 2.25rem;
    border: 1px solid var(--resume-border);
    border-radius: 1.25rem;
    background: var(--resume-card-bg);
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.05);
}

    .resume-content h1 {
        display: none;
    }

    .resume-content h2 {
        margin-top: 3rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        color: var(--resume-heading);
        font-size: 1.55rem;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

        .resume-content h2:first-child {
            margin-top: 0;
        }

    .resume-content h3 {
        margin-top: 2rem;
        margin-bottom: 0.4rem;
        color: var(--resume-heading);
        font-size: 1.25rem;
        font-weight: 800;
    }

    .resume-content h4 {
        margin-top: 1rem;
        color: var(--resume-heading);
        font-size: 1rem;
        font-weight: 700;
    }

    .resume-content p {
        color: var(--resume-muted);
        line-height: 1.75;
    }

    .resume-content ul {
        margin-bottom: 1.5rem;
        padding-left: 1.25rem;
    }

    .resume-content li {
        margin-bottom: 0.55rem;
        color: var(--resume-muted);
        line-height: 1.65;
    }

    .resume-content strong {
        color: var(--resume-heading);
    }

    .resume-content hr {
        margin: 2.5rem 0;
        opacity: 0.08;
    }

    .resume-content a {
        font-weight: 600;
        text-decoration-thickness: 0.08em;
        text-underline-offset: 0.2em;
    }

    /* Experience timeline feel */
    .resume-content h2 + h3,
    .resume-content h3 {
        position: relative;
        padding-left: 1.25rem;
    }

        .resume-content h3::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.42rem;
            width: 0.55rem;
            height: 0.55rem;
            border-radius: 999px;
            background: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.12);
        }

    /* Markdown tables, like Core Skills */
    .resume-content table {
        width: 100%;
        margin: 1.5rem 0;
        border: 1px solid #e5e7eb;
        border-radius: 0.85rem;
        overflow: hidden;
        display: block;
    }

    .resume-content thead {
        background: #f8f9fa;
    }

    .resume-content th,
    .resume-content td {
        padding: 0.9rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: top;
    }

    .resume-content tr:last-child td {
        border-bottom: 0;
    }

@media (max-width: 991.98px) {
    .resume-hero {
        padding-top: 2rem;
    }

    .resume-hero-card {
        align-items: flex-start;
    }

    .resume-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .resume-hero-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .resume-content {
        padding: 1.5rem;
    }

        .resume-content h2 {
            font-size: 1.35rem;
        }
}
