.test-page {
    background: #f5f8fb;
}

.test-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.75rem;
    color: #52667d;
    font-size: .875rem;
}

.test-breadcrumb a,
.test-secondary {
    color: #087ba5;
    text-underline-offset: .2em;
}

.test-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.test-heading .test-category {
    margin: 0 0 .75rem;
    color: #52667d;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.5;
}

.test-heading h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.test-heading .test-abbreviation {
    display: inline-block;
    margin: 0;
    color: #087ba5;
    font-weight: 700;
    line-height: 1.5;
}

.test-introduction {
    margin: .75rem 0 0;
    color: #415671;
    line-height: 1.75;
}

.test-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}

.test-layout--no-price {
    grid-template-columns: minmax(0, 900px);
}

.test-article,
.test-booking {
    min-width: 0;
    border: 1px solid #dce5ef;
    border-radius: 20px;
    background: #fff;
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.test-section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e8f0;
    scroll-margin-top: 120px;
}

.test-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.test-section h2,
.test-booking h2,
.test-group h2 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.45;
}

.test-section p {
    margin: .75rem 0 0;
    color: #415671;
    line-height: 1.75;
}

.test-method-panel {
    padding: 1.25rem;
    border: 0;
    border-radius: 12px;
    background: #eef5fa;
}

.test-booking {
    position: sticky;
    top: 126px;
    padding: 1.5rem;
}

.test-price__values {
    margin-top: 1.25rem;
}

.test-price__amount {
    margin: 0;
    color: #c52350;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.test-price__variant {
    margin: 0 0 .35rem;
    color: #52667d;
    font-size: .875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.test-price__values > div + div {
    margin-top: .75rem;
}

.test-call {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    background: #087ba5;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.test-call:hover,
.test-call:focus-visible {
    background: #125a79;
    color: #fff;
}

.test-booking .test-secondary {
    display: block;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

[data-source-cell],
[data-source-header] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.test-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.test-group {
    margin-top: 2.5rem;
}

.test-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.test-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    color: #16345a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.test-list a:hover,
.test-list a:focus-visible {
    border-color: #087ba5;
    color: #087ba5;
}

.test-list small {
    flex-shrink: 0;
    color: #52667d;
    font-size: .8rem;
}

@media (max-width: 900px) {
    .test-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .test-booking {
        position: static;
        grid-row: 1;
    }

    .test-booking h2 {
        font-size: 1rem;
    }

    .test-price__values {
        margin-top: .75rem;
    }
}

@media (max-width: 600px) {
    .test-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .test-list a {
        padding: 1rem;
    }

    .test-article,
    .test-booking {
        border-radius: 14px;
    }
}
