﻿.handbook {
    display: flex;
    flex-direction: column;
}

    .handbook::before {
        content: "";
        border-top: solid 1px var(--theme-color-light, #00184d20);
        border-left: solid 1px var(--theme-color-light, #00184d20);
        align-self: stretch;
    }

@media screen and (min-width: 1150px) {
    .handbook {
        flex-direction: row;
    }
}

.handbook__title-mission-wrapper {
    order: -1;
    flex-basis: 44%;
    flex-grow: 1;
    min-width: min-content;
    padding-left: 2rem;
}

.handbook__title-container {
    display: grid;
    grid-template-areas: "title"
        "subtitle"
        "year";
    gap: 1rem;
    color: white;
    background-color: var(--theme-color, #00184d);
    padding: 2rem;
    margin-left: -2rem;
}

.handbook__title {
    grid-area: title;
    font-family: Industry, sans-serif;
    font-size: clamp(3rem, 5vw,3.7rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 !important;
    word-break: break-all;
}

.handbook__subtitle {
    grid-area: subtitle;
    font-family: Industry, sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 !important;
}

.handbook__patch {
    justify-self: end;
    grid-area: title;
    grid-row-end: 3;
    max-height: 105px;
}

.handbook__year {
    grid-area: year;
    padding-top: 1rem;
    opacity: 0.7;
    font-family: Industry, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    border-top: solid 1px #ffffff44;
}

.handbook__mission-container {
    padding-right: 1.5rem;
}

.handbook__mission-container h2 {
    font-family: Industry, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.6;
    font-size: 2.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
    color: var(--theme-color, #00184d);
}

.handbook__mission-container p {
    margin-top: 0;
}

.handbook__copyright {
    margin-top: 20vh;
    font-size: 0.875rem;
    opacity: 0.85;
    padding-right: 1.5rem;
}

@media screen and (min-width: 1150px) {
    .handbook__copyright {
        margin-top: 40vh;
    }
}

.handbook__toc-container {
    padding-right: 2rem;
    padding-left: 2rem;
    flex-grow: 1;
    flex-basis: 40%;
}

@media screen and (min-width: 1150px) {
    .handbook__toc-container {
        padding-right: 0rem;
    }
}

.handbook__toc-parts {
    margin: 0;
    list-style-type: none;
    padding: 0;
    padding-top: 2rem;
}

.handbook__toc-part {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.handbook__toc-part-title-wrapper {
    flex-basis: calc(50% - 1rem);
}

.handbook__toc-part + .handbook__toc-part {
    padding-top: 1.5rem;
    border-top: solid 1px var(--theme-color-light, #00184d20);
}

.handbook__toc-part-title-wrapper {
    text-decoration: none;
    color: #2a3033;
}

    .handbook__toc-part-title-wrapper:hover .handbook__toc-part-title {
        text-decoration: underline;
    }

.handbook__toc-part-label {
    font-family: Industry, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0.6;
    text-transform: uppercase;
    color: var(--theme-color);
}

.handbook__toc-part-title {
    font-family: Industry, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 0.375rem;
}

a:visited > .handbook__toc-part-title {
    color: #2a303390;
}

.handbook__toc-sections {
    list-style-type: none;
    margin: 0;
    margin-top: 2.1rem;
    padding: 0;
    flex-basis: 14rem;
}

.handbook__toc-section + .handbook__toc-section {
    padding-top: 0.375rem;
}

.handbook__toc-section-link {
    color: #2a3033;
    text-decoration: none;
}

.handbook__toc-section a:hover {
    text-decoration: underline;
}
.handbook-part {
    max-width: 70ch;
}

.handbook-part__header {
    background-color: var(--theme-color, #00184d);
    color: white;
    padding: 1.5rem 2rem 2rem 2rem;
}

.handbook-part__handbook-title-link {
    display: block;
    color: #fff;
    margin-bottom: 1.5rem;
    margin-left: -0.6rem;
    font-weight: 600;
    opacity: 0.8;
    text-decoration: none;
}

    .handbook-part__handbook-title-link:visited {
        color: #fff;
    }

    .handbook-part__handbook-title-link:hover,
    .handbook-part__handbook-title-link:focus {
        text-decoration: underline;
        color: #fff;
        opacity: 0.85;
    }

.part-title__label {
    display: block;
    color: #ffffff;
    opacity: 0.7;
    text-transform: uppercase;
}

.part-title__title {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(2.75rem, 6vw,4rem);
    text-transform: uppercase;
    line-height: 0.8;
}

.handbook-section__heading {
    text-transform: uppercase;
    color: var(--theme-color, #00184d);
}

.faq__container {
    background-color: #c7ccd8;
    padding: 2rem;
    margin: 2rem 0;
}

.faq__title {
    margin-top: 0;
    font-weight: bold;
}
.handbook__table {
    width: 100%;
    margin: 1rem 0;
    padding: 0.25rem 0;
    border-top: solid 0.0625rem hsla(211, 70%, 18%, 0.16);
    border-bottom: solid 0.0625rem hsla(211, 70%, 18%, 0.16);
}
.handbook__table thead tr th {
    text-align: left;
    color: var(--theme-color, #00184d);
}
.handbook__table th,
.handbook__table td {
    padding: 0.3125rem 0.75rem;
    font-size: 0.875em;
}
.handbook__table tbody tr:nth-child(odd) {
    background-color: var(--theme-color-light, #00184d08);
}