.client-catalog-section {
    overflow: hidden;
}

.client-catalog-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.client-catalog-heading .section-descr {
    color: #65615b;
    font-size: 22px;
    line-height: 1.55;
}

.client-browser {
    font-family: var(--font-global);
    overflow: hidden;
    border: 1px solid #ddd8d0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(26, 23, 19, .07);
}

.client-browser__toolbar {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border-bottom: 1px solid #e5e0d8;
}

.client-browser__title {
    flex: 0 0 auto;
    color: #1b1916;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
}

.client-browser__count {
    margin-left: 8px;
    color: #969087;
    font-weight: 400;
}

.client-browser__search {
    position: relative;
    display: block;
    width: min(100%, 440px);
    margin-left: auto;
}

.client-browser__search > i {
    position: absolute;
    top: 50%;
    left: 17px;
    color: #817b73;
    font-size: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.client-browser__search input {
    width: 100%;
    height: 46px;
    padding: 0 46px 0 45px;
    border: 1px solid #d9d4cc;
    border-radius: 12px;
    outline: none;
    background: #f8f7f4;
    color: #24211e;
    font-family: var(--font-global);
    font-size: 16px;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.client-browser__search input:focus {
    border-color: #9a896f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(154, 137, 111, .13);
}

.client-browser__clear {
    position: absolute;
    top: 50%;
    right: 9px;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #756f66;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.client-browser__clear:hover {
    background: #ebe8e2;
}

.client-browser__filters {
    display: flex;
    gap: 9px;
    padding: 18px 24px;
    overflow-x: auto;
    border-bottom: 1px solid #e5e0d8;
    scrollbar-width: thin;
}

.client-filter {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid #ded9d1;
    border-radius: 999px;
    background: #f4f2ee;
    color: #625d56;
    font-family: var(--font-global);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.client-filter:hover {
    border-color: #bcae98;
    color: #282520;
}

.client-filter[aria-pressed="true"] {
    border-color: #191816;
    background: #191816;
    color: #fff;
}

.client-browser__meta {
    padding: 22px 24px 0;
    color: #8b857c;
    font-size: 15px;
    line-height: 1.5;
}

.client-browser__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 24px 28px;
}

.client-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #e4dfd7;
    border-radius: 14px;
    background: #faf9f7;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    border-color: #cfc4b4;
    box-shadow: 0 14px 32px rgba(30, 26, 21, .08);
}

.client-card__logo {
    display: grid;
    height: 94px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 10px;
    background: #fff;
}

.client-card__logo img {
    width: auto;
    max-width: 82%;
    height: auto;
    max-height: 52px;
    filter: grayscale(100%);
    opacity: .78;
    transition: filter .25s ease, opacity .25s ease;
}

.client-card:hover .client-card__logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-card h3 {
    min-height: 43px;
    margin: 0 0 13px;
    color: #211f1b;
    font-family: var(--font-global);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.35;
}

.client-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.client-card__tag {
    padding: 6px 9px;
    border-radius: 999px;
    background: #ebe8e2;
    color: #625d56;
    font-family: var(--font-global);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.25;
}

.client-browser__empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    color: #777168;
    text-align: center;
}

.projects-portal-section {
    text-align: center;
}

.projects-portal-section__copy {
    max-width: 830px;
    margin: 0 auto;
}

.projects-portal-section__lead {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.projects-portal-section__invitation {
    max-width: 660px;
    margin: 24px auto 0;
    color: #5f5a53;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.ri-os-access {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 700px;
    margin: 38px auto 0;
    padding: 22px 24px;
    border: 1px solid #d9d4cb;
    border-radius: 16px;
    background: #f8f7f4;
    color: #201e1b;
    text-align: left;
    text-decoration: none;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ri-os-access:hover {
    transform: translateY(-4px);
    border-color: #b8aa94;
    box-shadow: 0 18px 45px rgba(28, 24, 19, .1);
    color: #201e1b;
    text-decoration: none !important;
}

.ri-os-access:focus,
.ri-os-access:active,
.ri-os-access:visited {
    text-decoration: none;
}

.ri-os-access__icon {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, #26231e, #0d0d0c);
    box-shadow: inset 0 1px rgba(255, 255, 255, .13);
    color: #f1e9dc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1;
}

.ri-os-access__content {
    min-width: 0;
    flex: 1 1 auto;
}

.ri-os-access__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #9a896f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ri-os-access__title {
    display: block;
    margin-bottom: 4px;
    color: #1c1a17;
    font-size: 22px;
    font-weight: 700;
}

.ri-os-access__description {
    display: block;
    color: #79736b;
    font-size: 16px;
    line-height: 1.5;
}

.ri-os-access__arrow {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d6d0c7;
    border-radius: 50%;
    color: #5f5951;
    transition: transform .25s ease, background-color .25s ease;
}

.ri-os-access:hover .ri-os-access__arrow {
    transform: translateX(3px);
    background: #eeebe5;
}

@media (max-width: 991px) {
    .client-browser__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .client-browser__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .client-browser__search {
        width: 100%;
        margin-left: 0;
    }

    .client-browser__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 480px) {
    .client-browser {
        border-radius: 14px;
    }

    .client-browser__toolbar,
    .client-browser__filters {
        padding-right: 16px;
        padding-left: 16px;
    }

    .client-browser__meta {
        padding-right: 16px;
        padding-left: 16px;
    }

    .client-browser__grid {
        grid-template-columns: 1fr;
        padding-right: 16px;
        padding-left: 16px;
    }

    .client-card h3 {
        min-height: auto;
    }

    .ri-os-access {
        align-items: flex-start;
        padding: 17px;
    }

    .ri-os-access__icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 14px;
        font-size: 19px;
    }

    .ri-os-access__description {
        display: none;
    }

    .ri-os-access__arrow {
        align-self: center;
    }
}
