:root {
    --dark-dipf-blue: #1c3246;
    --dipf-gray: #8b8b8b;
    --blue-1: #6da5d5;
    --blue-2: #5c8db6;
    --blue-3: #4d7396;
    --blue-4: #97bbdf;
    --blue-5: #c6d1ea;
    --blue-6: #dfe7f4;
    --blue-7: #eff3f9;
    --red-1: #d40050;
    --red-2: #b90045;
    --red-3: #950338;
    --red-4: #de5e73;
    --red-5: #e99aa0;
    --red-6: #f5cfd0;
    --gray-1: #666666;
    --gray-2: #b4b2b2;
    --gray-3: #f2f2f2;
    --gray-4: #d7d7d7;
    --gray-5: #d9d9d9;
    --turquoise-1: #01362d;
    --turquoise-2: #024a3d;
    --turquoise-3: #027e68;
    --turquoise-4: #11967e;
    --turquoise-5: #14a48a;
    --turquoise-6: #20c2a5;
    --turquoise-7: #4ccfb7;
    --turquoise-8: #79dbc9;
    --turquoise-9: #a6e7db;
    --turquoise-10: #d2f3ed;
    --turquoise-11: #e9f9f6;
    --black: #000000;
    --white: #ffffff;
    --red: #d60111;
    --green: #048647;
    --font-size-h1: 2.5rem;
    --font-size-h1-mobile: 1.875rem;
    --font-size-h2: 1.875rem;
    --font-size-h2-mobile: 1.5rem;
    --font-size-h3: 1.5rem;
    --font-size-h3-mobile: 1.25rem;
    --font-size-h4: 1.25rem;
    --font-size-h4-mobile: 1.125rem;
    --font-size-h5: 1rem;
    --font-size-h5-mobile: 1rem;
    --font-size-h6: 0.875rem;
    --font-size-h6-mobile: 0.875rem;
    --font-size-text: 1rem;
    --font-size-text-small: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button:focus {
    outline: 2px solid var(--black);
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 3.375rem;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    line-height: 2.5rem;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    line-height: 2.125rem;
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 600;
    line-height: 1.875rem;
}

h5 {
    font-size: var(--font-size-h5);
    font-weight: 700;
    line-height: 1.625rem;
}

h6 {
    font-size: var(--font-size-h6);
    font-weight: 400;
    line-height: 1.25rem;
}

p,
a {
    font-size: var(--font-size-text);
}

a {
    text-decoration: none;
    color: var(--blue-3);
    font-weight: 700;
}

h3 a {
    font-size: var(--font-size-h3);
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: var(--font-size-h1-mobile);
        line-height: 2.5rem;
    }

    h2 {
        font-size: var(--font-size-h2-mobile);
        line-height: 2.125rem;
    }

    h3 {
        font-size: var(--font-size-h3-mobile);
        line-height: 1.875;
    }

    h4 {
        font-size: var(--font-size-h4-mobile);
        line-height: 1.75rem;
    }

    h5 {
        font-size: var(--font-size-h5-mobile);
    }

    h6 {
        font-size: var(--font-size-h6-mobile);
    }

    h3 a {
        font-size: var(--font-size-h3-mobile);
        line-height: 1.875;
    }
}

@media screen and (max-width: 992px) {
    main {
        padding: 0 1rem;
    }
}

.gray {
    color: var(--gray-1);
}

.gray-bg {
    background-color: var(--gray-3);
}

.border-top-white-wide {
    border-top: 0.5rem solid var(--white);
}

.bold {
    font-weight: 700;
}

.container {
    max-width: 54.5rem;
}

.back-btn {
    display: flex;
    background-color: var(--blue-6);
    border: none;
    border-radius: 3px;
    color: var(--black);
    max-width: 11.625rem;
    padding: 0.5rem 1rem;
}

.btn-show-more {
    background: none;
    border: none;
    color: var(--blue-3);
    font-size: var(--font-size-text);
    font-weight: 700;
    padding: 1rem;
    text-align: right;
    display: flex;
}

nav {
    width: auto;
}

.pagination {
    margin-right: 2.5rem;
    width: auto;
}

.pagination.pagination-bottom {
    margin-right: 0;
    margin-top: 2rem;
}

.pagination .page-item:not(:last-child) {
    margin-right: 0.625rem;
}

.pagination .page-item .page-link {
    border: none;
}

.pagination .page-item .page-link.input {
    width: 4rem;
    height: 3.625rem;
    border: 1px solid var(--gray-2);
    border-radius: 2px;
    text-align: center;
    color: var(--black);
}

.pagination .page-item.previous .page-link,
.pagination .page-item.next .page-link {
    background-color: var(--blue-6);
    border: none;
    border-radius: 0;
    width: 2.625rem;
    height: 3.625rem;
}

.pagination .pagination-fwd {
    transform: rotate(270deg);
}

.chevron-down.up {
    transform: rotate(180deg);
}

.chevron-down.right {
    transform: rotate(270deg);
}

.results .result-description {
    display: flex;
    margin-bottom: 1rem;
}

.results .result-description p {
    margin-bottom: 1rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.results .result-description p.full-text {
    -webkit-line-clamp: unset;
}

ol.studies-list {
    list-style: none;
    counter-reset: steps;
    padding: 0;
}

ol.studies-list>li {
    counter-increment: steps;
    padding: 1.875rem 1.25rem 2.875rem 2.5rem;
}

ol.studies-list>li .header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.625rem;
}

ol.studies-list>li .header .number {
    flex-shrink: 0;
    background: var(--blue-3);
    color: white;
    border-radius: 2px;
    width: 2.25rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
    font-size: var(--font-size-h3);
    font-weight: 600;
    line-height: 2.125rem;
}

@media (max-width: 576px) {
    ol.studies-list>li .header {
        flex-direction: column;
    }
}
