.jd__wrapper,
.jd__wrapper *,
.jd__wrapper *::before,
.jd__wrapper *::after {
    box-sizing: border-box;
}

.jd__wrapper {
    --color-primary: #005587;
    --color-primary-dark: #004166;
    --color-text-primary: #282828;
    --color-text-body: #282828;
    --color-border: #d9d9d9;
    --color-white: #ffffff;
    --color-bg-sidebar: #fafafa;

    --font-display: "Lora", Georgia, serif;
    --font-body: "Quattrocento Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    display: block;
    color: var(--color-text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--color-primary);
    /* min-height: 100vh; */

    padding-top: 8.4rem
}

@media screen and (min-width: 1024px) {
    .jd__wrapper {
        padding-top: 10.2rem
    }
}

.jd__wrapper img {
    display: block;
    max-width: 100%;
}

.jd__section {
    background-color: var(--color-white);
}

.jh {
    max-width: 1034px;
    margin: 0 auto;
    padding: 40px 20px;
}

.jh__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-right: 1.8rem;
}

@media screen and (min-width: 768px) {
    .jh__header {
        padding-right: 11.4rem
    }
}

.jh__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.jh__back:hover,
.jh__back:focus-visible {
    opacity: 0.75;
    text-decoration: underline;
    outline: none;
}

.jh__back-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.jh__back-text {
    display: none;
}

.jh__logo {
    width: 98px;
    height: 55px;
    object-fit: contain;
}

.jh__spacer {
    width: 18px;
    flex-shrink: 0;
}

.jh__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-text-primary);
    /* margin: 0 0 40px 0; */
}

.jb {
    max-width: 1034px;
    margin: 0 auto;
    padding: 0 20px 120px 20px;
}

.jb__layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.jb__sidebar {
    background-color: var(--color-bg-sidebar);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.jb__info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jb__info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jb__info-item:has(.jb__info-value:empty) {
    display: none;
}

.jb__info-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.jb__info-value {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
}

.jb__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.jb__btn:hover,
.jb__btn:focus-visible {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 85, 135, 0.2);
    outline: none;
}

.jb__btn--bottom {
    width: 100%;
}

.jb__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jb__section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jb__section-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin: 0;
}

.jb__section-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    margin: 0;
}

.jb__section ul {
    margin: 0;
    padding-left: 24px;
    list-style-type: disc;
}

.jb__section li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    margin-bottom: 0;
}

.jb__section li:last-child {
    margin-bottom: 0;
}

.jb__section p + p {
    margin-top: 1.6rem
}

.jb__legal {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    margin: 0;
    white-space: pre-wrap;
}

@media (min-width: 768px) {
    .jh {
        padding: 60px 80px 40px;
    }

    .jh__back-text {
        display: inline;
    }

    .jh__logo {
        width: 136px;
        height: 77px;
    }

    .jh__title {
        font-size: 30px;
        line-height: 1;
    }

    .jb {
        padding: 0 80px 120px 80px;
    }

    .jb__layout {
        flex-direction: row;
        gap: 40px;
    }

    .jb__sidebar {
        width: 225px;
        flex-shrink: 0;
        background-color: transparent;
        padding: 0;
    }

    .jb__btn {
        width: auto;
    }

    .jb__btn--bottom {
        width: 130px;
    }

    .jb__content {
        flex: 1;
        min-width: 0;
    }
}