/* ==========================================================================
   Sport law page
   ========================================================================== */

.sport-law-page {
    position: relative;
    width: 100%;
    background: #fff;
    font-family: var(--font-family);
    color: #151515;
    overflow: hidden;
}

.sport-law-page__decor {
    position: absolute;
    left: 60%;
    bottom: -80px;
    z-index: 3;
    width: auto;
    height: 600px;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    pointer-events: none;
}

.sport-law-page__main {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 80px;
}

.sport-law-container {
    position: relative;
    width: min(100%, var(--container-max-width));
    margin: 0 auto;
}

/* Breadcrumbs */

.sport-law-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding-top: 34px;
    padding-bottom: 45px;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
}

.sport-law-breadcrumbs a {
    color: #151515;
}

.sport-law-breadcrumbs a:hover {
    color: #3a68d5;
}

.sport-law-breadcrumbs__sep,
.sport-law-breadcrumbs__current {
    color: #777;
}

.sport-law-breadcrumbs__current {
    min-width: 0;
}

/* Title */

.sport-law-page__title {
    margin: 0 0 27px;
    max-width: 893px;
    font-size: 42px;
    font-weight: 600;
    line-height: 46px;
}

/* Content blocks */

.sport-law-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.sport-law-block {
    --sport-law-block-pad-x: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px var(--sport-law-block-pad-x);
    border: 0.4px solid #9c9c9c;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sport-law-block__title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}

.sport-law-block__subtitle {
    position: relative;
    margin: 0;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.sport-law-block:has(.sport-law-block__subtitle) .sport-law-block__subtitle::before,
.sport-law-block:has(.sport-law-block__subtitle) .sport-law-block__subtitle::after {
    content: '';
    position: absolute;
    left: calc(-1 * var(--sport-law-block-pad-x));
    right: calc(-1 * var(--sport-law-block-pad-x));
    height: 0.4px;
    background: #9c9c9c;
}

.sport-law-block:has(.sport-law-block__subtitle) .sport-law-block__subtitle::before {
    top: 0;
}

.sport-law-block:has(.sport-law-block__subtitle) .sport-law-block__subtitle::after {
    bottom: 0;
}

.sport-law-block__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #555;
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
}

.sport-law-block__text p {
    margin: 0;
}

/* Banner */

.sport-law-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 229px;
    padding: 56px 64px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background: #3a68d5;
    color: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sport-law-banner__content {
    max-width: 700px;
}

.sport-law-banner__title {
    margin: 0 0 24px;
    font-size: 42px;
    font-weight: 600;
    line-height: 50px;
}

.sport-law-banner__text {
    margin: 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 32px;
}

.sport-law-banner__btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 265px;
    height: 44px;
    padding: 0 24px;
    margin-top: 24px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background: #fff;
    color: #3a68d5;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sport-law-banner__btn:hover {
    opacity: 0.92;
}

/* Responsive */

@media (max-width: 1200px) {
    .sport-law-breadcrumbs {
        padding-top: 28px;
        padding-bottom: 36px;
        gap: 14px;
    }

    .sport-law-page__main {
        padding-bottom: 64px;
    }

    .sport-law-page__title {
        font-size: 36px;
        line-height: 40px;
    }

    .sport-law-page__decor {
        height: 480px;
        left: 65%;
    }
}

@media (max-width: 900px) {
    .sport-law-breadcrumbs {
        padding-top: 24px;
        padding-bottom: 28px;
        gap: 12px;
    }

    .sport-law-page__title {
        margin-bottom: 24px;
    }

    .sport-law-block {
        --sport-law-block-pad-x: 24px;
        padding: 28px var(--sport-law-block-pad-x);
        gap: 20px;
    }

    .sport-law-banner {
        flex-direction: column;
        padding: 40px 32px;
        min-height: 0;
    }

    .sport-law-banner__btn {
        align-self: flex-start;
        min-width: 0;
        margin-top: 0;
    }

    .sport-law-page__decor {
        height: 360px;
        opacity: 0.6;
    }
}

@media (max-width: 800px) {
    .sport-law-breadcrumbs {
        padding-top: 20px;
        padding-bottom: 24px;
        gap: 12px;
        font-size: 13px;
        line-height: 20px;
    }

    .sport-law-breadcrumbs__current {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .sport-law-page__title {
        font-size: 28px;
        line-height: 34px;
    }

    .sport-law-block__title {
        font-size: 20px;
        line-height: 28px;
    }

    .sport-law-block__subtitle {
        font-size: 18px;
        line-height: 26px;
        padding: 12px 0;
    }

    .sport-law-block__text {
        font-size: 16px;
        line-height: 22px;
    }

    .sport-law-banner__title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 16px;
    }

    .sport-law-banner__text {
        font-size: 18px;
        line-height: 26px;
    }

    .sport-law-banner__btn {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 700px) {
    .sport-law-page__decor {
        display: none;
    }
}

@media (max-width: 480px) {
    .sport-law-breadcrumbs {
        padding-top: 16px;
        padding-bottom: 20px;
        gap: 10px;
    }

    .sport-law-page__main {
        padding-bottom: 48px;
    }

    .sport-law-page__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .sport-law-blocks {
        gap: 16px;
        margin-bottom: 16px;
    }

    .sport-law-block {
        --sport-law-block-pad-x: 16px;
        padding: 20px var(--sport-law-block-pad-x);
        gap: 16px;
        border-top-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .sport-law-block__title {
        font-size: 18px;
        line-height: 24px;
    }

    .sport-law-block__subtitle {
        font-size: 16px;
        line-height: 22px;
    }

    .sport-law-banner {
        padding: 28px 20px;
        border-top-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .sport-law-banner__title {
        font-size: 24px;
        line-height: 30px;
    }

    .sport-law-banner__text {
        font-size: 16px;
        line-height: 22px;
    }

    .sport-law-banner__btn {
        height: 40px;
        font-size: 16px;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .sport-law-block:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(58, 104, 213, 0.18);
    }

    .sport-law-banner:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    }
}