/* ------------------------------------------------------------------ */
/* CV page (classic single-column, RenderCV-style)                      */
/* ------------------------------------------------------------------ */
.cv-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.cv-contact a {
    color: var(--accent);
}

.cv-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.1rem;
    margin-top: 0.6rem;
}

.cv-socials a {
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
}

.cv-socials a:hover {
    color: var(--accent);
}

.cv-actions {
    margin-top: 1rem;
}

.cv-actions .btn {
    border-color: var(--border);
    color: var(--accent);
}

/* Sections */
.cv-section {
    max-width: 46rem;
    margin: 0 auto 2rem;
}

.cv-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4rem;
    margin-bottom: 1.1rem;
}

.cv-entry {
    margin-bottom: 1.4rem;
}

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

.cv-entry-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.cv-dates {
    font-size: 0.85rem;
    color: var(--muted);
    white-space: nowrap;
}

.cv-subtitle {
    font-size: 0.95rem;
    margin-top: 0.15rem;
    color: var(--text);
}

.cv-muted {
    color: var(--muted);
}

.cv-summary {
    margin-top: 0.4rem;
    color: var(--muted);
    line-height: 1.6;
}

.cv-bullets {
    margin: 0.45rem 0 0 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cv-bullets li {
    color: var(--text);
    line-height: 1.5;
    font-size: 0.95rem;
}

.cv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cv-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.85rem;
}

.cv-chip-icon {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    flex-shrink: 0;
}

.cv-skill-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.cv-skill-cat {
    flex: 0 0 10rem;
    font-size: 0.95rem;
    color: var(--text);
}

/* ------------------------------------------------------------------ */
/* Print: RenderCV-style PDF output                                     */
/* ------------------------------------------------------------------ */
@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .site-header,
    .site-footer,
    .cv-actions,
    .circles {
        display: none !important;
    }

    .main-content {
        padding: 0;
        max-width: none;
    }

    .page-heading {
        text-align: left;
        margin-bottom: 1.25rem;
    }

    .page-heading h1 {
        background: none;
        -webkit-text-fill-color: #000000;
        color: #000000;
    }

    .cv-contact,
    .cv-socials {
        justify-content: flex-start;
    }

    .cv-section {
        max-width: none;
    }

    .cv-section-title {
        color: #000000;
        border-bottom-color: #000000;
    }

    .cv-dates,
    .cv-muted,
    .cv-summary {
        color: #333333;
    }

    a {
        color: #000000;
    }
}