.participants-catalog {
    --catalog-blue: #173f5c;
    --catalog-blue-light: #78a5c2;
    --catalog-border: #244a93;
    --catalog-input-text: #234884;

    width: 100%;
    max-width: 1290px;

    margin: 0 auto;
    padding: 0;

    box-sizing: border-box;
}

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

.participants-catalog [hidden] {
    display: none !important;
}

.participants-catalog .page-title {
    margin-top: 30px;
    margin-bottom: 0;
}

.participants-catalog__filters {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 24px;

    margin-top: 0;
    margin-bottom: 32px;
}

.participants-catalog__filter {
    min-width: 0;
}

.participants-catalog__search {
    min-width: 0;
}

.participants-catalog__select,
.participants-catalog__search-input {
    width: 100%;
    height: 42px;

    padding: 0 15px;

    border: 1px solid #315a8e;
    border-radius: 0;

    outline: none;

    background: #fff;

    color: #234884;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.participants-catalog__select {
    padding-right: 45px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #315a8e 50%
        ),
        linear-gradient(
            135deg,
            #315a8e 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 20px) 17px,
        calc(100% - 14px) 17px;

    background-size:
        6px 6px;

    background-repeat: no-repeat;
}

.participants-catalog__select:focus,
.participants-catalog__search-input:focus {
    border-color: #176fa7;

    box-shadow:
        0 0 0 2px
        rgba(23, 111, 167, 0.1);
}

.participants-catalog__search-input::placeholder {
    color: #667ea9;
    opacity: 1;
}

.participants-catalog__list {
    display: grid;

    grid-template-columns:
        repeat(2, 629px);

    justify-content: center;

    column-gap: 32px;
    row-gap: 30px;
}

.participants-catalog__item {
    appearance: none;

    display: grid;

    grid-template-columns:
        273px minmax(0, 1fr);

    align-items: center;

    width: 629px;
    height: 178px;

    gap: 20px;

    padding: 20px;

    border: 0;
    border-radius: 20px;

    background: linear-gradient(105deg, #256f9d 0%, #1d5f89 45%, #174568 100%);

    color: #fff;

    font: inherit;
    text-align: left;

    cursor: pointer;

    overflow: hidden;

    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}

.participants-catalog__item:hover {
    filter: brightness(1.07);
}

.participants-catalog__item:active {
    transform: translateY(1px);
}

.participants-catalog__item:focus-visible {
    outline: 2px solid #5f9fbe;
    outline-offset: 4px;
}

.participants-catalog__item[hidden] {
    display: none !important;
}

.participants-catalog__logo-wrapper {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 273px;
    height: 138px;

    padding: 14px;

    background: #fff;

    border-radius: 0;

    overflow: hidden;
}

.participants-catalog__logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}

.participants-catalog__logo-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 12px;

    color: #173f5c;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
}

.participants-catalog__content {
    min-width: 0;
}

.participants-catalog__title {
    margin-bottom: 26px;

    color: #fff;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;

    overflow-wrap: anywhere;
}

#participantsPartners .participants-catalog__title {
    margin-bottom: 0;
}

.participants-catalog__meta {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}

.participants-catalog__stand {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;

    white-space: nowrap;
}

.participants-catalog__stand-icon {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;
}

.participants-catalog__empty {
    width: 100%;

    padding: 50px 20px;

    color: #173f5c;

    font-size: 16px;
    text-align: center;
}

.participants-catalog__details-view {
    width: 100%;
}

.participant-detail {
    width: 100%;
    max-width: 1080px;

    margin: 0 auto;
}

.participant-detail__back {
    appearance: none;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin: 0 0 42px;
    padding: 0;

    border: 0;

    background: transparent;

    color: #183a7a;

    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.participant-detail__back-arrows {
    display: inline-block;

    color: #4d8aae;

    font-size: 25px;
    font-weight: 400;
    line-height: 0.8;

    transition:
        transform 0.2s ease;
}

.participant-detail__back-text {
    position: relative;

    display: inline-block;
}

.participant-detail__back-text::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #4d8aae;

    transition:
        width 0.25s ease;
}

.participant-detail__back:hover {
    color: #286b98;
}

.participant-detail__back:hover
.participant-detail__back-arrows {
    transform: translateX(-4px);
}

.participant-detail__back:hover
.participant-detail__back-text::after {
    width: 100%;
}

.participant-detail__back:active
.participant-detail__back-arrows {
    transform: translateX(-7px);
}

.participant-detail__back:focus-visible {
    outline: 2px solid #4d8aae;
    outline-offset: 8px;
}

.participant-detail__header {
    display: flex;

    align-items: center;

    gap: 42px;

    margin-bottom: 55px;
    padding: 26px;

    background: linear-gradient(105deg, #256f9d 0%, #1d5f89 45%, #174568 100%);
}

.participant-detail__logo-wrapper {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 1 400px;

    width: 100%;
    max-width: 400px;
    height: 170px;

    padding: 22px;

    background: #fff;

    overflow: hidden;
}

.participant-detail__logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}

.participant-detail__logo-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #173f5c;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
}

.participant-detail__heading {
    flex: 1;

    min-width: 0;
}

.participant-detail__title {
    margin: 0 0 28px;

    color: #fff;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;

    overflow-wrap: anywhere;
}

.participant-detail__meta {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 16px;
}

.participant-detail__stand {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;

    white-space: nowrap;
}

.participant-detail__section {
    margin-top: 50px;
}

.participant-detail__section-title {
    position: relative;

    margin: 0 0 24px;

    color: #183a7a;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

.participant-detail__section-title::before {
    content: "»";

    margin-right: 10px;

    color: #4d8aae;

    font-size: 23px;
    font-weight: 400;
}

.participant-detail__description {
    color: #202b3d;

    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;

    white-space: pre-line;
}

.participant-detail__contacts-section {
    max-width: 900px;
}

.participant-detail__contacts {
    width: 100%;
    max-width: 850px;

    border-top: 1px solid #d8e1e8;
}

.participant-detail__contact {
    display: grid;

    grid-template-columns:
        150px minmax(0, 1fr);

    align-items: baseline;

    min-height: 54px;

    padding: 15px 0;

    border-bottom: 1px solid #d8e1e8;
}

.participant-detail__contact-label {
    padding-right: 24px;

    color: #6f8ba2;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.participant-detail__contact-value {
    width: fit-content;
    max-width: 100%;

    color: #1c5f8f;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.participant-detail__contact-value:hover {
    color: #183a7a;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.participant-detail__contact-value:focus-visible {
    outline: 2px solid #4d8aae;
    outline-offset: 4px;
}

@media (max-width: 1340px) {

    .participants-catalog {
        padding-left: 24px;
        padding-right: 24px;
    }

    .participants-catalog__list {
        grid-template-columns:
            repeat(2, minmax(0, 629px));

        column-gap: 24px;
    }

    .participants-catalog__item {
        width: 100%;
    }

}

@media (max-width: 1050px) {

    .participants-catalog__list {
        grid-template-columns:
            minmax(0, 629px);
    }

}

@media (max-width: 750px) {

    .participants-catalog__filters {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 0;
        margin-bottom: 24px;
    }

    .participants-catalog__item {
        grid-template-columns:
            180px minmax(0, 1fr);

        width: 100%;
        height: 150px;

        padding: 16px;

        gap: 16px;
    }

    .participants-catalog__logo-wrapper {
        width: 180px;
        height: 118px;
    }

    .participants-catalog__title {
        margin-bottom: 14px;
    }

    #participantsPartners .participants-catalog__title {
        margin-bottom: 0;
    }

    .participant-detail__header {
        flex-direction: column;

        align-items: stretch;

        gap: 24px;

        padding: 20px;
    }

    .participant-detail__logo-wrapper {
        flex-basis: auto;

        width: 100%;
        max-width: 400px;
        height: 160px;

        margin: 0 auto;
    }

    .participant-detail__contact {
        grid-template-columns:
            110px minmax(0, 1fr);
    }

}

@media (max-width: 520px) {

    .participants-catalog {
        padding: 0;
    }

    .participants-catalog__item {
        grid-template-columns: 1fr;

        width: 100%;
        height: auto;
        min-height: 230px;

        gap: 16px;
    }

    .participants-catalog__logo-wrapper {
        width: 100%;
        height: 135px;
    }

    .participants-catalog__title {
        margin-bottom: 14px;
    }

    #participantsPartners .participants-catalog__title {
        margin-bottom: 0;
    }

    .participants-catalog__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .participants-catalog__stand {
        white-space: normal;
    }

}

@media (max-width: 480px) {

    .participant-detail__back {
        margin-bottom: 32px;
    }

    .participant-detail__back-arrows {
        font-size: 23px;
    }

    .participant-detail__header {
        margin-bottom: 40px;
    }

    .participant-detail__logo-wrapper {
        height: 145px;

        padding: 18px;
    }

    .participant-detail__title {
        margin-bottom: 20px;
    }

    .participant-detail__section {
        margin-top: 38px;
    }

    .participant-detail__section-title {
        margin-bottom: 18px;
    }

    .participant-detail__description {
        line-height: 1.65;
    }

    .participant-detail__contact {
        grid-template-columns: 1fr;

        gap: 5px;

        min-height: 0;

        padding: 14px 0;
    }

    .participant-detail__contact-label {
        padding-right: 0;
    }

}