.th-page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin: 20px 20px 0;
    padding: 200px 0 48px;
    min-height: 440px;
    overflow: hidden;
    border-radius: 24px;
    background: #121417;
    isolation: isolate;
}

.th-page-hero__media,
.th-page-hero__overlay {
    position: absolute;
    inset: 0;
}

.th-page-hero__media {
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
}

[dir="rtl"] .th-page-hero__media {
    transform: scaleX(-1);
}

.th-page-hero__overlay {
    background:
        linear-gradient(180deg, rgba(12, 14, 18, 0.1) 0%, rgba(12, 14, 18, 0.35) 45%, rgba(12, 14, 18, 0.88) 100%),
        linear-gradient(90deg, rgba(12, 14, 18, 0.74) 0%, rgba(12, 14, 18, 0.28) 55%, rgba(12, 14, 18, 0) 100%);
}

[dir="rtl"] .th-page-hero__overlay {
    background:
        linear-gradient(180deg, rgba(12, 14, 18, 0.1) 0%, rgba(12, 14, 18, 0.35) 45%, rgba(12, 14, 18, 0.88) 100%),
        linear-gradient(270deg, rgba(12, 14, 18, 0.74) 0%, rgba(12, 14, 18, 0.28) 55%, rgba(12, 14, 18, 0) 100%);
}

.th-page-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: start;
}

.th-page-hero__crumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(12, 14, 18, 0.38);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.th-page-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.th-page-hero__crumb:hover,
.th-page-hero__crumb:focus {
    color: #ffd3d3;
    text-decoration: none;
}

.th-page-hero__crumb.is-current {
    color: rgba(255, 255, 255, 0.78);
}

.th-page-hero__sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    line-height: 1;
}

.th-page-hero__title {
    margin: 0;
    max-width: 920px;
    color: #fff;
    font-size: clamp(2.1rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}

[dir="rtl"] .th-page-hero__title {
    letter-spacing: 0;
    line-height: 1.3;
}

@media (max-width: 1199.98px) {
    .th-page-hero {
        padding-top: 175px;
    }
}

@media (max-width: 991.98px) {
    .th-page-hero {
        padding-top: 145px;
        min-height: 380px;
        border-radius: 20px;
    }
}

@media (max-width: 767.98px) {
    .th-page-hero {
        padding-top: 125px;
        padding-bottom: 32px;
    }
    .th-page-hero__crumbs {
        gap: 7px;
        padding: 8px 13px;
        font-size: 12px;
    }
    .th-page-hero__title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }
}

@media (max-width: 575.98px) {
    .th-page-hero {
        margin: 12px 12px 0;
        padding-top: 108px;
        padding-bottom: 26px;
        min-height: 300px;
        border-radius: 18px;
    }
    .th-page-hero__title {
        font-size: 28px;
        line-height: 1.3;
    }
    .th-page-hero__crumbs {
        margin-bottom: 14px;
    }
}
