.cv-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    margin-bottom: 0px;
}

.cv-page-header p {
    font-family: '403 Mono';
    font-size: 13px;
    color: #000;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: left;
}

.cv-page-header p a {
    color: #790000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cv-page-header p a:hover {
    color: #000;
}

main {
    padding: 0;
}

.cv-paper {
    padding-top: 60px;
    margin-bottom: 80px;
}

.cv-content .cv-subtitle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-content .cv-subtitle-row strong {
    font-weight: 500;
}

.cv-content .cv-download-link {
    font-family: '403 Mono';
    font-size: 13px;
    font-weight: 400;
    color: #790000;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 20px;
    border: 1px solid #790000;
    border-radius: 100px;
    padding: 10px 14px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.cv-content .cv-download-link:hover {
    color: #fff;
    background-color: #790000;
}

.cv-content {
    padding-bottom: 20px;
}

.cv-content h1 {
    display: none;
}

.cv-content h2 {
    font-family: 'HONTINE';
    font-size: 48px;
    line-height: 30px;
    font-weight: 700;
    color: #790000;
    border-top: 1px dotted #000;
    padding-top: 60px;
    margin-top: 45px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.cv-content h3 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #000;
    text-transform: none;
    border-top: 1px dotted rgba(0, 0, 0, 0.15);
    padding-top: 16px;
    margin-top: 32px;
    margin-bottom: 2px;
}

.cv-content h2 + h3 {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.cv-content p {
    font-family: '403 Mono';
    font-size: 13px;
    line-height: 24px;
    color: #000;
    text-align: left;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.cv-content .cv-description + p:has(> em:only-child),
.cv-content .cv-program-line + p:has(> em:only-child) {
    margin-top: -10px;
    margin-bottom: 10px;
}

.cv-description {
    margin-top: 0;
    padding-bottom: 10px;
}

.cv-content .cv-description p {
    font-family: '403 Mono';
    font-size: 13px;
    line-height: 24px;
    color: #000;
    text-align: left;
    padding-bottom: px;
    margin-bottom: 10px;
}

.cv-content em {
    font-style: normal;
    color: #790000;
    font-size: 12px;
}

.cv-content strong {
    font-weight: 700;
    color: #000;
}

.cv-content hr {
    display: none;
}

.cv-content a {
    color: #790000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cv-content a:hover {
    color: #000;
}

.cv-content table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: '403 Mono';
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.cv-content th {
    text-align: left;
    text-transform: uppercase;
    font-weight: 500;
    color: #000;
    padding: 8px 16px 8px 0;
    border-bottom: 1px dotted #000;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.cv-content td {
    padding: 9px 16px 9px 0;
    color: #000;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
    vertical-align: top;
    line-height: 18px;
}

.cv-content td:first-child {
    color: #790000;
    font-weight: 500;
}

/* 12-column grid: 1 unit = 8.333%, year always = 1 unit (8.33%) */

/* Skills: Category matches col 1 of 4-col tables so Skills aligns with Institution */
.cv-table-skills th:nth-child(1) { width: 30.56%; }

/* 4-column tables: 3 equal cols (11/36 each = 30.56%) + year (8.33%) */
.cv-table-education th:nth-child(1),
.cv-table-awards th:nth-child(1),
.cv-table-shows th:nth-child(1),
.cv-table-volunteer th:nth-child(1) { width: 30.56%; }

.cv-table-education th:nth-child(2),
.cv-table-awards th:nth-child(2),
.cv-table-shows th:nth-child(2),
.cv-table-volunteer th:nth-child(2) { width: 30.56%; }

.cv-table-education th:nth-child(3),
.cv-table-awards th:nth-child(3),
.cv-table-shows th:nth-child(3),
.cv-table-volunteer th:nth-child(3) { width: 30.56%; }

/* Album Art: Artist(col1) | Release(col2) | Label(col3) | Role(1) | Year(1) */
.cv-table-album-art th:nth-child(1) { width: 30.56%; }
.cv-table-album-art th:nth-child(2) { width: 30.56%; }
.cv-table-album-art th:nth-child(3) { width: 22.22%; }
.cv-table-album-art th:nth-child(4) { width: 8.33%; }

@media (max-width: 768px) {
    .cv-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 2vh;
    }

    .cv-paper {
        padding-left: 0px;
        padding-right: 0px;
    }

    .cv-subtitle-item {
        display: block;
    }

    .cv-subtitle-sep {
        display: none;
    }

    .cv-content h3 {
        margin-top: 20px;
        margin-bottom: 0;
    }

    .cv-separator {
        display: none;
    }

    .cv-employer {
        display: block;
        font-weight: 400;
    }

    .cv-program-separator,
    .cv-courses {
        display: none;
    }

    .cv-content h3 + p {
        margin-top: -2px;
    }

    .cv-content .cv-program-line + p {
        margin-top: -14px;
    }

    .cv-content table {
        font-size: 11px;
    }

    .cv-content .cv-table-stacked thead {
        display: none;
    }

    .cv-content .cv-table-stacked tr {
        display: block;
        border-top: 1px dotted rgba(0, 0, 0, 0.15);
        padding: 10px 0;
    }

    .cv-content .cv-table-stacked td {
        display: block;
        width: 100%;
        padding: 1px 0;
        border: none;
    }


}
