* {
    box-sizing: border-box;
}

.fso-page {
    width: 100%;
    margin-bottom: 38px;
    overflow: hidden;
}

@media (max-width: 1440px) {
    .fso-page {
        margin-bottom: 34px;
    }
}
@media (max-width: 1200px) {
    .fso-page {
        margin-bottom: 32px;
    }
}
@media (max-width: 1024px) {
    .fso-page {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .fso-page {
        margin-bottom: 28px;
    }
}
@media (max-width: 480px) {
    .fso-page {
        margin-bottom: 24px;
    }
}
@media (max-width: 375px) {
    .fso-page {
        margin-bottom: 22px;
    }
}

/* Длинный двухслойный заголовок */
.fso-page .fso-page__title {
    position: relative;
    max-width: 1720px;
    width: 100%;
    margin: 40px auto 0;
}

.fso-page .fso-page__title h1,
.fso-page .fso-page__title h2 {
    margin: 0 0 32px;
    width: 100%;
    max-width: 1720px;
    white-space: normal;
}

.fso-page .fso-page__title h2 {
    font-weight: 700;
    font-size: 80px;
    line-height: 96px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #F5F5F7;
    z-index: 0;
    top: 0;
    left: 0;
    position: absolute;
    font-family: "Oswald";
}

.fso-page .fso-page__title h1 {
    position: relative;
    font-size: 56px;
    line-height: 64px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #262626;
    font-family: "Oswald";
    z-index: 1;
    top: 48px;
}

.fso-page .fso-page__intro {
    width: 100%;
    max-width: 1720px;
    margin: 86px auto 0;
}

.fso-page .fso-page__intro .clubs-info_text {
    margin: 0 0 32px;
    font-family: "Inter";
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    color: #262626;
}

/* Секция карточек */
.fso-section {
    width: 100%;
    max-width: 1720px;
    margin: 36px auto 0;
}

.fso-section__title {
    margin: 0 0 32px;
    color: #ED1C24;
    font-family: "Oswald", sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    text-transform: uppercase;
}

.fso-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 48px;
}

/* Карточка на основе карточки представителя */
.fso-card {
    min-width: 0;
    min-height: 100%;
    padding: 32px;
    border: 1px solid #E1E8F0;
    border-radius: 4px;
    background: #F5F5F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.fso-card__label {
    margin: 0;
    color: #262626;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
}

.fso-card__name {
    min-height: 56px;
    margin: -8px 0 0;
    color: #262626;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.fso-card__image {
    width: 198px;
    height: 198px;
    flex: 0 0 198px;
    padding: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fso-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.fso-card__person {
    margin: 0;
    color: #262626;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.fso-card__phone,
.fso-card__email {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    font-family: "Inter", sans-serif;
    text-decoration: none;
}

.fso-card__contact-label {
    flex: 0 0 auto;
    color: #262626;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.fso-card__contact-value {
    min-width: 0;
    color: #303030;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.fso-card__phone:hover .fso-card__contact-value,
.fso-card__email:hover .fso-card__contact-value {
    color: #ED1C24;
}

/* Ссылка на соглашение */
.fso-card__agreement {
    width: 222px;
    min-height: 58px;
    padding: 10px 0;
    border-top: 1px solid #ED1C24;
    border-bottom: 1px solid #ED1C24;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.fso-card__agreement img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.fso-card__agreement:hover {
    color: #ED1C24;
}

.fso-card__agreement--disabled {
    cursor: default;
    opacity: 0.55;
}

.fso-card__agreement--disabled:hover {
    color: #262626;
}

/* Регионы */
.fso-card__regions {
    width: 100%;
    margin-top: auto;
    padding-top: 8px;
    text-align: left;
}

.fso-card__regions h4 {
    margin: 0 0 4px;
    color: #262626;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.fso-card__regions p {
    margin: 0;
    color: #262626;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/*edit link*/
.fso-card__edit-link {
    align-self: flex-end;
    color: #df1c23;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.fso-card__edit-link:hover {
    color: #ff0009;
}

/*add link*/
.fso-section__actions {
    display: flex;
    justify-content: flex-end;
    margin: -16px 0 24px;
}

.fso-section__add-link {
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #ED1C24;
    border-radius: 4px;
    color: #ED1C24;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.fso-section__add-link:hover {
    color: #FFFFFF;
    background: #ED1C24;
}

@media (max-width: 1720px) {
    .fso-section {
        max-width: 100%;
        padding: 0 60px;
    }

    .fso-page .fso-page__title {
        /*width: calc(100% - 40px);*/
    }

    .fso-page .fso-page__title h2,
    .fso-page .fso-page__title h1 {
        width: 1720px;
        left: 60px;
    }

    .fso-page .fso-page__intro {
        padding: 0 60px;
        margin-top: 90px;
    }
}

@media (max-width: 1440px) {
    .fso-page .fso-page__title {
        /*width: calc(100% - 40px);*/
    }

    .fso-page .fso-page__title h2,
    .fso-page .fso-page__title h1 {
        width: 100%;
        left: 40px;
    }

    .fso-page .fso-page__title h2 {
        font-size: 56px;
        line-height: 68px;
    }

    .fso-page .fso-page__title h1 {
        top: 40px;
        font-size: 40px;
        line-height: 50px;
    }

    .fso-page .fso-page__intro {
        padding: 0 40px;
        margin-top: 78px;
    }

    .fso-section {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .fso-page .fso-page__title {
        margin-top: 28px;
    }

    .fso-page .fso-page__title h2,
    .fso-page .fso-page__title h1 {
        left: 40px;
    }

    .fso-page .fso-page__title h2 {
        font-size: 48px;
        line-height: 58px;
    }

    .fso-page .fso-page__title h1 {
        top: 34px;
        font-size: 34px;
        line-height: 44px;
    }

    .fso-page .fso-page__intro {
        margin-top: 74px;
    }

    .fso-section {
        margin-top: 40px;
        padding: 0 40px;
    }

    .fso-section__title {
        font-size: 28px;
        line-height: 36px;
    }

    .fso-grid {
        gap: 32px;
    }

    .fso-card {
        padding: 28px 24px;
    }
}

@media (max-width: 1024px) {
    .fso-page .fso-page__title h2,
    .fso-page .fso-page__title h1 {
        width: max-content;
        left: 16px;
    }

    .fso-page .fso-page__intro {
        padding: 0 16px;
        margin-top: 72px;
    }

    .fso-section {
        margin-top: 40px;
        padding: 0 16px;
    }
}

@media (max-width: 900px) and (min-width: 611px) {
    .fso-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fso-card {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        grid-template-areas:
            "image label"
            "image name"
            "image person"
            "image phone"
            "image email"
            "image agreement"
            "regions regions";
        align-items: start;
        column-gap: 28px;
        row-gap: 10px;
        padding: 24px 28px;
        text-align: left;
    }

    .fso-card__label {
        grid-area: label;
        align-self: end;
        margin: 0;
        font-size: 20px;
        line-height: 26px;
    }

    .fso-card__name {
        grid-area: name;
        min-height: 0;
        margin: 0;
        font-size: 18px;
        line-height: 26px;
    }

    .fso-card__image {
        grid-area: image;
        align-self: center;
        width: 180px;
        height: 180px;
        flex: none;
        margin: 0;
    }

    .fso-card__person {
        grid-area: person;
        margin: 0;
    }

    .fso-card__phone {
        grid-area: phone;
        min-width: 0;
        justify-self: start;
        justify-content: flex-start;
    }

    .fso-card__email {
        grid-area: email;
        min-width: 0;
        justify-self: start;
        justify-content: flex-start;
    }

    .fso-card__agreement {
        grid-area: agreement;
        justify-self: start;
        width: 200px;
        min-height: 52px;
        margin-top: 4px;
    }

    .fso-card__regions {
        grid-area: regions;
        width: 100%;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid #E1E8F0;
        text-align: left;
    }
}

@media (max-width: 610px) {
    .fso-grid {
        grid-template-columns: 1fr;
    }

    .fso-page .fso-page__title {
        /*width: calc(100% - 24px);*/
    }

    .fso-page .fso-page__title h2,
    .fso-page .fso-page__title h1 {
        left: 16px;
    }

    .fso-page .fso-page__title h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .fso-page .fso-page__title h1 {
        top: 28px;
        font-size: 26px;
        line-height: 34px;
    }

    .fso-page .fso-page__intro {
        margin-top: 60px;
    }

    .fso-section {
        margin-top: 38px;
        padding: 0 16px;
    }

    .fso-section__title {
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 32px;
    }

    .fso-card {
        padding: 24px 18px;
        gap: 14px;
    }

    .fso-card__label {
        font-size: 18px;
        line-height: 24px;
    }

    .fso-card__name {
        font-size: 17px;
        line-height: 24px;
    }

    .fso-card__image {
        width: 160px;
        height: 160px;
        flex-basis: 160px;
    }

    .fso-card__person,
    .fso-card__regions h4,
    .fso-card__regions p {
        font-size: 14px;
        line-height: 20px;
    }

    .fso-card__contact-label {
        font-size: 16px;
        line-height: 22px;
    }

    .fso-card__contact-value {
        font-size: 14px;
        line-height: 20px;
    }

    .fso-card__agreement {
        width: 200px;
        min-height: 52px;
        font-size: 14px;
        line-height: 20px;
    }

    .fso-card__agreement img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 535px) {
    .fso-page {
        margin-bottom: 24px;
    }

    .fso-page .fso-page__title {
        /*min-height: 118px;*/
    }

    .fso-page .fso-page__title h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .fso-page .fso-page__title h1 {
        top: 24px;
        font-size: 22px;
        line-height: 30px;
    }

    .fso-page .fso-page__intro {
        margin-top: 55px;
    }

    .fso-page .fso-page__intro .clubs-info_text {
        font-size: 18px;
        line-height: 22px;
    }

    .fso-section {
        margin-top: 30px;
        padding: 0 12px;
    }

    .fso-section__title {
        font-size: 20px;
        line-height: 28px;
    }

    .fso-card {
        padding: 20px 14px;
        gap: 12px;
    }

    .fso-card__label {
        font-size: 16px;
        line-height: 22px;
    }

    .fso-card__name {
        font-size: 15px;
        line-height: 22px;
    }

    .fso-card__image {
        width: 132px;
        height: 132px;
        flex-basis: 132px;
    }

    .fso-card__agreement {
        width: 180px;
    }

    .fso-section__actions {
        justify-content: flex-start;
        margin: -8px 0 20px;
    }

    .fso-section__add-link {
        width: 100%;
        min-height: 42px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 455px) {
    .fso-page .fso-page__title h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .fso-page .fso-page__title h1 {
        width: 100%;
        top: 24px;
        font-size: 20px;
        line-height: 26px;
    }

    .fso-page .fso-page__intro .clubs-info_text {
        font-size: 16px;
        line-height: 20px;
    }

    .fso-section__title {
        font-size: 18px;
        line-height: 26px;
    }

    .fso-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .fso-grid {
        gap: 24px;
    }

    .fso-card {
        padding: 18px 12px;
        gap: 10px;
    }

    .fso-card__label {
        font-size: 15px;
        line-height: 20px;
    }

    .fso-card__name {
        min-height: 0;
        margin-top: -4px;
        font-size: 14px;
        line-height: 20px;
        overflow-wrap: break-word;
    }

    .fso-card__image {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
        padding: 8px;
    }

    .fso-card__person,
    .fso-card__regions h4,
    .fso-card__regions p {
        font-size: 13px;
        line-height: 18px;
    }

    .fso-card__phone,
    .fso-card__email {
        gap: 6px;
    }

    .fso-card__contact-label {
        font-size: 15px;
        line-height: 20px;
    }

    .fso-card__contact-value {
        font-size: 13px;
        line-height: 18px;
    }

    .fso-card__agreement {
        width: 168px;
        min-height: 48px;
        padding: 8px 0;
        gap: 10px;
        font-size: 13px;
        line-height: 18px;
    }

    .fso-card__agreement img {
        width: 28px;
        height: 28px;
    }

    .fso-card__regions {
        padding-top: 6px;
    }

    .fso-card__regions h4 {
        margin-bottom: 2px;
    }
}

@media (max-width: 375px) {
    .fso-page .fso-page__intro .clubs-info_text {
        font-size: 14px;
        line-height: 20px;
    }

    .fso-section__title {
        font-size: 16px;
        line-height: 26px;
    }

    .fso-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .fso-grid {
        gap: 18px;
    }

    .fso-card {
        padding: 16px 10px;
        gap: 9px;
    }

    .fso-card__label {
        font-size: 14px;
        line-height: 18px;
    }

    .fso-card__name {
        margin-top: -2px;
        font-size: 13px;
        line-height: 18px;
    }

    .fso-card__image {
        width: 104px;
        height: 104px;
        flex-basis: 104px;
        padding: 7px;
    }

    .fso-card__person,
    .fso-card__regions h4,
    .fso-card__regions p {
        font-size: 12px;
        line-height: 17px;
    }

    .fso-card__phone,
    .fso-card__email {
        gap: 5px;
    }

    .fso-card__contact-label {
        font-size: 14px;
        line-height: 18px;
    }

    .fso-card__contact-value {
        font-size: 12px;
        line-height: 17px;
    }

    .fso-card__agreement {
        width: 100%;
        max-width: 160px;
        min-height: 46px;
        padding: 7px 0;
        gap: 8px;
        font-size: 12px;
        line-height: 17px;
    }

    .fso-card__agreement img {
        width: 26px;
        height: 26px;
    }

    .fso-card__regions {
        padding-top: 4px;
    }
}


@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Regular.ttf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Medium.ttf);
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-SemiBold.ttf);
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Bold.ttf);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-Bold.ttf);
    font-weight: 700;
}