/* ==========================================
   Ссылка на региональную сборную
========================================== */

.representative__region-team {
    width: 100%;
    margin-bottom: 26px;
}

.representative__region-team-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    padding: 16px 18px;

    border: 1px solid #b9deef;
    border-radius: 12px;

    background: #f2faff;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;

    color: #0080c7 !important;
    text-decoration: none !important;

    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.representative__region-team-link:hover {
    border-color: #0080c7;
    background: #e7f6fd;

    color: #006da9 !important;
    text-decoration: none !important;

    transform: translateY(-1px);
}

.representative__region-team-link:focus-visible {
    outline: 2px solid #0080c7;
    outline-offset: 3px;
}

.representative__region-team-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.representative__region-team-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: #0080c7;

    font-size: 20px;
    line-height: 1;
    font-weight: 500;

    color: #fff;

    transition:
            background-color 0.2s ease,
            transform 0.2s ease;
}

.representative__region-team-link:hover
.representative__region-team-arrow {
    background: #006da9;
    transform: translateX(3px);
}


@media (max-width: 767px) {
    .representative__region-team {
        margin-bottom: 22px;
    }

    .representative__region-team-link {
        gap: 12px;
        padding: 14px 16px;

        font-size: 16px;
        line-height: 23px;
    }

    .representative__region-team-arrow {
        width: 30px;
        height: 30px;

        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .representative__region-team-link {
        padding: 13px 14px;

        font-size: 15px;
        line-height: 21px;
    }

    .representative__region-team-arrow {
        width: 28px;
        height: 28px;

        font-size: 17px;
    }
}

/*.organizations-table__item-top.representative__region--block {display: none; width: 100% !important; background: #fdf6f3}*/

/*.representative__photo--block {width: 100px; height: 100px; background-size: cover; background-position: center center; background-repeat: no-repeat; border-radius: 50%; float: left; margin: 15px 20px 15px 0px;}*/
/*.representative__table--block {margin-bottom: 77px;}*/
/*.representative__info--block {font-weight: normal; display: flex; align-items: center; justify-content: left;}*/
/*.representative__name--block {font-weight: bold; display: block; margin-bottom: 10px;}*/

/*.representative__mobile--block {display: none;}*/

/*@media (max-width: 991px) {*/
/*.representative__mobile--block {display: block; font-weight:normal;}*/
/*.representative__photo--block {min-width: 100px;}*/
/*.representative__name--block {margin-top: 15px;}*/
/*}*/
/*.twos_region {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 20px;*/
/*}*/

/*.two_item {*/
/*    background: #ffffff; !* белая карточка *!*/
/*    padding: 20px;*/
/*    border-radius: 10px;*/
/*    color: #333; !* тёмно-серый текст *!*/
/*    box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
/*}*/

/*.two_title {*/
/*    font-size: 20px;*/
/*    margin-bottom: 12px;*/
/*    font-weight: bold;*/
/*    color: #d2691e; !* тёплый заголовок, контраст на белом фоне *!*/
/*}*/

/*.two_header {*/
/*    display: flex;*/
/*    gap: 15px;*/
/*    align-items: center;*/
/*}*/

/*.two_img {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    object-fit: cover;*/
/*    border-radius: 8px;*/
/*    border: 1px solid #ccc;*/
/*}*/

/*.two_info {*/
/*    font-size: 14px;*/
/*}*/

/*.sportsmen_list {*/
/*    margin-top: 15px;*/
/*    display: flex;*/
/*    gap: 12px;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.sportsman_item {*/
/*    background: #fef6f3; !* светлый фон, гармонирует с body *!*/
/*    padding: 12px;*/
/*    border-radius: 8px;*/
/*    width: 200px;*/
/*    color: #333;*/
/*    box-shadow: 0 1px 6px rgba(0,0,0,0.08);*/
/*    transition: transform 0.2s, box-shadow 0.2s;*/
/*}*/

/*.sportsman_item:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
/*}*/

/*.sportsman_img {*/
/*    width: 100%;*/
/*    height: 120px;*/
/*    object-fit: cover;*/
/*    border-radius: 6px;*/
/*    border: 1px solid #ddd;*/
/*}*/

/*.sportsman_info {*/
/*    font-size: 13px;*/
/*    margin-top: 6px;*/
/*    line-height: 1.4;*/
/*}*/
.organizations-table__cell-name {
    width: 100% !important;;
}

/*.main-clubs .section-two__container {*/
/*    display: block !important;*/
/*}*/

.organizations-table__item-top.representative__region--block {display: none; width: 100% !important; background: #fdf6f3}

.representative__photo--block {width: 100px; height: 100px; background-size: cover; background-position: center center; background-repeat: no-repeat; border-radius: 50%; float: left; margin: 15px 20px 15px 0px;}
.representative__table--block {margin-bottom: 77px;}
.representative__info--block {font-weight: normal; display: flex; align-items: center; justify-content: left;}
.representative__name--block {font-weight: bold; display: block; margin-bottom: 10px;}

.representative__mobile--block {display: none;}

@media (max-width: 991px) {
    .representative__mobile--block {display: block; font-weight:normal;}
    .representative__photo--block {min-width: 100px;}
    .representative__name--block {margin-top: 15px;}
}

.sportsman-row{
    display: none;
}

/**/

.twos_region {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.two_item {
    background: #ffffff; /* белая карточка */
    padding: 20px;
    border-radius: 10px;
    color: #333; /* тёмно-серый текст */
    /*  box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

.two_title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: bold;
    color: #d2691e; /* тёплый заголовок, контраст на белом фоне */
}

.two_header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.two_img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.two_info {
    font-size: 14px;
}


/* ==========================================
   Скрытые блоки
========================================== */

.sportsman-row {
    display: none;
    width: 100%;
    margin-top: 20px;
}

/* ==========================================
   Кнопка раскрытия
========================================== */

.js-toggle-sportsman {
    margin-top: 20px;
    padding: 20px 24px;
    border: 1px solid #E8E8E8;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

.js-toggle-sportsman:hover {
    border-color: #BF9932;
}

.js-toggle-sportsman .organizations-table__link {
    display: block;
    color: #262626;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================
   PDF
========================================== */

.sportsman-row>.organizations-table__cell-name>a.organizations-table__link {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;
    padding: 16px 20px;

    border: 1px solid #ECECEC;
    border-radius: 16px;

    background: #fff;

    color: #262626;
    text-decoration: none;

    transition: .2s;
}

.sportsman-row>.organizations-table__cell-name>a.organizations-table__link:hover {
    border-color: #BF9932;
}

.sportsman-row>.organizations-table__cell-name>a img {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
}

/* ==========================================
   Карточка спортсмена
========================================== */

.sportsman-row>.organizations-table__cell-name {

    padding: 28px;

    background: #fff;
    border: 1px solid #ECECEC;
    border-radius: 8px;
}

.sportsman-row .representative__info--block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sportsman-row .representative__photo--block {
    width: 110px;
    height: 110px;
    min-width: 110px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0;
}

.sportsman-row .representative__card--block {
    display: flex;
    flex-direction: column;
}


.sportsman-row .representative__sportsman_name--block {
    display: block;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    color: #262626;
}

.sportsman-row .representative__name--block {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: #262626;
}

.sportsman-row .representative__name--block strong {

    font-size: 16px;
    line-height: 24px;
    font-weight: 500;

    color: #8C8C8C;
}

.sportsman-row .representative__card--block .representative__name--block {

    margin: 0;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;

    color: #262626;
}

/* ==========================================
   Двойки / Тройки
========================================== */

.twos_region {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.two_title {

    margin-bottom: 6px;

    font-family: Oswald, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #262626;

    text-transform: uppercase;
}

.two_item {
    padding: 0;
    background: #fff;
}

.two_header {

    display: flex;
    align-items: center;
    gap: 24px;

    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid #F1F1F1;
}

.two_img {

    width: 100px;
    height: 100px;

    border-radius: 16px;

    object-fit: cover;
}

.two_info {

    display: flex;
    flex-direction: column;
    gap: 6px;

    color: #4D4D4D;
}

.two_name {

    font-size: 24px;
    font-weight: 700;

    color: #262626;
}

/* ==========================================
   Спортсмены
========================================== */

.sportsmen_list {

    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));

    gap: 20px;

    margin-top: 24px;
}


.sportsman_item {
    background: white !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    width: 100% !important;
}

.sportsman_item:not(:last-child) {
    border-bottom: 1px solid #ECECEC !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;

}

.sportsman_item:hover {
    transform: none !important;
    box-shadow: none !important;

}

.sportsman_img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.sportsman_name {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #262626;
}

.sportsman_info {
    font-size: 13px;
    line-height: 1.4;

    padding: 16px 0 !important;

    margin: 0 !important;
    gap: 6px;
}



.sportsman_info .field-title {

    display: block;
    margin-bottom: 5px;

    font-size: 16px;
    line-height: 24px;
    font-weight: 500;

    color: #262626;
}

.sportsman_info .field-title strong {

    font-size: 16px;
    line-height: 24px;
    font-weight: 500;

    color: #8C8C8C;
}



/* ==========================================
   Новости
========================================== */

.sportsman-rows>.organizations-table__cell-name {

    padding: 24px;

    background: #fff;

    border: 1px solid #ECECEC;
    border-radius: 24px;
}

.sportsman-rows+.sportsman-rows {
    margin-top: 24px;
}

.sportsman-rows h2 {

    margin-bottom: 10px;
}

.sportsman-rows h2 a {

    color: #262626;
    text-decoration: none;

    font-size: 26px;
    font-weight: 700;
}

.sportsman-rows p {

    margin-bottom: 18px;

    color: #8C8C8C;
}

.responsive-img-news {

    display: block;

    width: 100%;

    border-radius: 20px;
}


/* ===========================
   Строка с уровнем
=========================== */

/* Только строки с уровнем */
.has-level {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
}

/* Заголовок */
.has-level > strong {
    margin-bottom: 4px;
}

/* Контейнер с уровнем */
.has-level > span {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Сам уровень */
.level-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    line-height: 1.1;
}

/* Фото */
.level-text img {
    display: block;
    width: 108px;
    height: auto;
    margin: 0;
}

/* Подпись */
.level-text {
    font-size: 13px;
    font-weight: 500;
}

.level-text:hover {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   Адаптив
========================================== */

@media (max-width:991px){

    .two_header{
        flex-direction:column;
        align-items:flex-start;
    }

    .sportsmen_list{
        grid-template-columns:1fr;
    }

    .sportsman-row .representative__info--block{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width: 767px) {
    /* Кнопка раскрытия */
    .js-toggle-sportsman {
        padding: 16px;
        border-radius: 16px;
        margin-top: 16px;
    }

    .js-toggle-sportsman .organizations-table__link {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Карточка спортсмена */
    .sportsman-row > .organizations-table__cell-name {
        padding: 18px;
    }

    .sportsman-row .representative__photo--block {
        width: 90px;
        height: 90px;
        min-width: 90px;
    }

    .sportsman-row .representative__sportsman_name--block {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .sportsman-row .representative__name--block,
    .sportsman_info .field-title {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .sportsman-row .representative__name--block strong,
    .sportsman_info .field-title strong {
        font-size: 15px;
        line-height: 1.45;
    }

    /* Двойки / тройки */
    .two_title {
        font-size: 22px;
        letter-spacing: .5px;
    }

    .two_header {
        gap: 16px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .two_img {
        width: 80px;
        height: 80px;
    }

    .two_name {
        font-size: 20px;
    }

    .two_info {
        font-size: 15px;
    }

    /* Список спортсменов */
    .sportsmen_list {
        gap: 16px;
        margin-top: 18px;
    }

    .sportsman_img {
        height: 220px;
    }

    .sportsman_name {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .sportsman_info {
        padding: 14px 0 !important;
    }

    /* Новости */
    .sportsman-rows > .organizations-table__cell-name {
        padding: 18px;
        border-radius: 18px;
    }

    .sportsman-rows h2 a {
        font-size: 20px;
        line-height: 1.3;
    }

    .sportsman-rows p {
        margin-bottom: 14px;
        font-size: 15px;
    }

    .responsive-img-news {
        border-radius: 14px;
    }

    /* Уровни */
    .level-text img {
        width: 108px;
    }

    .level-text {
        font-size: 12px;
    }
}

@media (max-width:480px) {

    .sportsman-row>.organizations-table__cell-name {
        padding:14px;
    }

    .sportsman-row .representative__photo--block {
        width: 72px;
        height: 72px;
        min-width: 72px;
    }

    .sportsman-row .representative__sportsman_name--block {
        font-size: 16px;
    }

    .sportsman-row .representative__name--block,
    .sportsman_info .field-title {
        font-size: 14px;
    }

    .sportsman-row .representative__name--block strong,
    .sportsman_info .field-title strong {
        font-size: 14px;
    }

    .level-text img {
        width: 108px;
    }

    .level-text {
        font-size: 11px;
    }

    .two_title {
        font-size: 18px;
    }

    .two_name {
        font-size: 18px;
    }
}


/*for now to prevent extra spaces between sportsmen_row*/

.sportsman-row > .organizations-table__cell-phone:empty,
.sportsman-row > .organizations-table__cell-mail:empty {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden;
}