/* --- Global Reset & Typography --- */
* {
    box-sizing: border-box;
    font-size: 11px;
    color: #1a1a2e;
}


/* ATS keyword layer (visible but subtle) */
.ats-keywords {
    opacity: 0.6;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cv-contact {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    margin-left: auto;
    margin-right: 0;
}

.cv-header-desc {
    margin: 10px 0 0;
    max-width: 460px;
}

.cv-header-desc span {
    color: #8a6a20;
    font-weight: 500;
}

.cv-header-name {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2em;
    line-height: 1;
    letter-spacing: -0.01em;
}

.cv-header-name span {
    font-style: italic;
    color: #8a6a20;
    font-size: 1em;
}

.cv-header-role {
    margin: 0 0 6px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a6a20;
}

.cv-job-meta {}


.cv-job-meta span {
    color: #8a6a20;
}


.cv-job-title {
    font-family: 'Cormorant Garamond', serif;
    color: #1a1a2e;
    line-height: 1.2;
}

.cv-job-title span {
    color: #8a6a20;
}


.cv-list-item {
    position: relative;
    font-weight: 300;
    line-height: 1.6;
    padding-left: 14px;
    font-weight: 400;
}

.cv-list-item::before {
    content: "· ";
}

.cv-section {}

.cv-section-title {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a6a20;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px;
}

.cv-timeline-item {
    break-inside: avoid;
}

.old {
    opacity: 0.9;
    font-style: italic;
}

.cv-timeline-item p span {
    color: #8a6a20;
}

.cv-timeline-list {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
}

.cv-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.cv-section-title span.divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #2a2f3e, transparent);
    display: inline-block;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: 'Figtree', sans-serif;
}

/* 1. Set strict size using absolute units */
.strict-svg {
    width: 40pt;
    height: 40pt;
    /* 2. Prevent aspect ratio distortion if you want to fill the box exactly */
    /* If you want to preserve the internal SVG aspect ratio, change to 'contain' or 'fill' */
    object-fit: none;
    display: block;
}

/* --- Print Specifics --- */
/* A4 Page Setup */
@page {
    size: A4 portrait;
    margin: 1cm;
}

@media print {
    .cv-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .cv-date-badge,
    .cv-tag {
        border: 1px solid #ddd;
        color: #333;
    }

    .no-print {
        display: none !important;
    }
}