/* Past Presidents roll */

.pp-roll {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 2.5rem;
}

.pp-roll__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.pp-roll__title {
    color: #1069A8;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.pp-roll__title::before {
    content: none !important;
    display: none !important;
}

.pp-roll__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.45rem auto 0;
    background: #1069A8;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.pp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.pp-table thead th {
    background: #E7F1F8;
    color: #1069A8;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-bottom: 2px solid rgba(16, 105, 168, 0.25);
}

.pp-table thead th:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.pp-table tbody td {
    padding: 0.65rem 0.85rem;
    vertical-align: middle;
    border: none;
    font-size: 1.15rem;
    line-height: 1.4;
}

.pp-table tbody td:first-child {
    color: #1069A8;
    font-weight: 600;
}

.pp-table tbody td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    color: #5a6a75;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.pp-table tbody tr:nth-child(odd) {
    background: #fff;
}

.pp-table tbody tr:nth-child(even) {
    background: #E7F1F8;
}

.pp-table tbody tr:hover {
    background: #d5e6f3;
}

@media (max-width: 575.98px) {
    .pp-roll {
        padding: 0.25rem 0.5rem 2rem;
    }

    .pp-roll__title {
        font-size: 1.4rem;
    }

    .pp-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .pp-table,
    .pp-table tbody,
    .pp-table tr,
    .pp-table td {
        display: block;
        width: 100%;
    }

    .pp-table tbody tr {
        padding: 0.85rem 1rem;
        margin-bottom: 0.5rem;
    }

    .pp-table tbody td {
        width: 100%;
        padding: 0.2rem 0;
    }

    .pp-table tbody td:first-child {
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .pp-table tbody td::before {
        content: attr(data-label);
        display: block;
        color: #1069A8;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.15rem;
    }

    .pp-table tbody td:first-child::before {
        display: none;
    }
}
