/* Acting Resume Page */

.resume-page {
    padding-top: 32px;
    padding-bottom: 48px;
}

.resume-card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.resume-intro {
    padding: 28px 24px 26px;
    border: 1px solid #e3e3e3;
    border-bottom: 3px solid #b22222;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f7f7f7 55%,
        #eeeeee 100%
    );
    border-radius: 5px 5px 0 0;
}

.resume-kicker {
    margin: 0 0 2px;
    color: #b22222;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resume-intro h1 {
    margin: 0;
    color: #111;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.resume-name {
    margin: 4px 0 22px;
    color: #333;
    font-size: 1.18rem;
    font-weight: 700;
}

.resume-name span {
    color: #666;
    font-weight: 500;
}

.resume-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 12px;
    margin: 0;
}

.resume-details div {
    padding: 11px 13px;
    background: #f3f3f3;
    border-left: 4px solid #b22222;
    border-radius: 3px;
}

.resume-details dt {
    margin-bottom: 3px;
    color: #666;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.resume-details dd {
    margin: 0;
    color: #111;
    font-weight: 700;
}

.resume-category {
    margin-top: 44px;
}

.resume-category > h2 {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 12px 18px;

    color: #fff;
    background: #b22222;

    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: .015em;
}

.resume-category > h2::before {
    content: "";
    width: 6px;
    height: 24px;
    background: #111;
    border-radius: 1px;
    margin-right: 16px;
    flex-shrink: 0;
}

.resume-table-wrap {
    overflow-x: auto;
    border: 1px solid #d5d5d5;
    border-top: 0;
    background: #fff;
}

.resume-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: fixed;
}

.resume-table th,
.resume-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.35;
}

.resume-table thead th {
    color: #222;
    background: #ececec;
    border-bottom: 2px solid #c8c8c8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.resume-table thead th:first-child,
.resume-table tbody td:first-child {
    width: 44%;
}

.resume-table thead th:nth-child(2),
.resume-table tbody td:nth-child(2) {
    width: 27%;
}

.resume-table thead th:nth-child(3),
.resume-table tbody td:nth-child(3) {
    width: 29%;
}

.resume-table tbody tr:not(.resume-group) {
    border-bottom: 1px solid #e4e4e4;
}

.resume-table tbody tr:not(.resume-group):nth-of-type(even) td {
    background: #fafafa;
}

.resume-table tbody tr:not(.resume-group):hover td {
    background: #fff7f7;
}

.resume-group th {
    padding: 16px 14px 7px;
    color: #8e1b1b;
    background: #fff;
    border-top: 1px solid #d8d8d8;
    font-size: 0.96rem;
    font-weight: 800;
}

.resume-group:first-child th {
    border-top: 0;
}

.resume-meta {
    display: block;
    margin-top: 2px;
    color: #686868;
    font-size: 0.88rem;
}

.resume-training thead th:first-child,
.resume-training tbody td:first-child {
    width: 54%;
}

.resume-training thead th:nth-child(2),
.resume-training tbody td:nth-child(2) {
    width: 31%;
}

.resume-training thead th:nth-child(3),
.resume-training tbody td:nth-child(3) {
    width: 15%;
}

@media (max-width: 900px) {
    .resume-card {
        padding: 26px;
    }

    .resume-details {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }
}

@media (max-width: 600px) {
    .resume-page {
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .resume-card {
        padding: 20px 14px;
        border-radius: 0;
    }

    .resume-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .resume-category {
        margin-top: 28px;
    }

    .resume-category > h2 {
        padding: 10px 12px;
        border-left-width: 5px;
        font-size: 1.05rem;
    }

    .resume-table-wrap {
        margin-right: -14px;
        margin-left: -14px;
        border-right: 0;
        border-left: 0;
    }

    .resume-table {
        min-width: 670px;
    }

    .resume-table th,
    .resume-table td {
        padding: 10px 12px;
    }
}

@media print {
    .resume-page {
        padding: 0;
    }

    .resume-card {
        max-width: none;
        padding: 0;
        box-shadow: none;
    }

    .resume-category {
        break-inside: avoid;
        margin-top: 22px;
    }

    .resume-category > h2 {
        color: #000;
        background: transparent;
        border-top: 2px solid #000;
        border-bottom: 1px solid #000;
        border-left: 0;
    }

    .resume-table-wrap {
        overflow: visible;
        border-color: #aaa;
    }

    .resume-table {
        min-width: 0;
    }
}
