.fit-catalog {
    --fit-width: min(1205px, calc(100% - 24px));
}

.fit-catalog .hero-pro,
.fit-catalog .section,
.fit-catalog .seo-info,
.fit-catalog .join-teasers,
.fit-catalog .partner-links {
    width: var(--fit-width) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fit-catalog .hero {
    padding: 12px 0 8px !important;
}

.fit-catalog .hero-rubrics {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.fit-catalog .hero-content-calm {
    width: 100% !important;
    margin: 10px auto 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    background: transparent !important;
}

.fit-catalog .hero-content-calm .hero-copy h1 {
    max-width: 820px !important;
    margin: 0 auto 7px !important;
    color: #76264d !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.fit-catalog .hero-content-calm .hero-intro {
    max-width: 820px !important;
    margin: 0 auto !important;
    color: #594a53 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.fit-catalog .catalog-head {
    margin: 0 0 14px !important;
}

.fit-catalog .country-switch {
    gap: 6px !important;
    padding: 4px 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.fit-catalog .country-switch a {
    min-height: 36px !important;
}

.fit-catalog .rubric-switch a {
    min-height: 34px !important;
}

.fit-catalog .country-switch a:focus-visible,
.fit-catalog .rubric-switch a:focus-visible {
    outline: 2px solid #a71c55;
    outline-offset: 3px;
}

.fit-catalog .catalog-grid .profile-body {
    padding: 10px !important;
}

.fit-catalog .catalog-grid .profile-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-height: 0 !important;
    margin-bottom: 6px !important;
}

.fit-catalog .catalog-grid .profile-title > h3 {
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    text-overflow: clip !important;
}

.fit-catalog .catalog-grid .profile-language-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 3px 7px;
    border: 1px solid #e9d6e0;
    border-radius: 999px;
    background: #fff8fc;
    color: #57233e;
    box-shadow: 0 1px 4px rgba(38, 19, 31, 0.24);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.flag-de {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #000 33.333%, #d00 33.333% 66.667%, #ffce00 66.667%);
}

.profile-detail .profile-languages {
    margin: 14px 0 16px !important;
    padding: 10px 12px;
    border: 1px solid #ead4e1;
    border-radius: 8px;
    background: #fbf1f7;
}

.profile-detail .profile-languages strong {
    color: #57233e !important;
}

.profile-detail .profile-languages li {
    border-color: #e7d3df !important;
    background: #fff !important;
    color: #57233e !important;
}

.fit-catalog .catalog-grid .call-box {
    min-height: 0 !important;
    padding: 9px !important;
}

.fit-catalog .catalog-grid .call-unavailable {
    min-height: 0 !important;
}

.fit-catalog .catalog-grid .phone-number {
    min-height: 36px !important;
    padding: 7px 0 !important;
    white-space: normal !important;
}

.fit-catalog .seo-info {
    margin-top: 28px !important;
}

.fit-catalog .seo-info .info-grid {
    width: 100% !important;
    max-width: none !important;
    padding: 20px !important;
}

.fit-catalog .seo-info:not(.seo-faq) .info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

.fit-catalog .seo-info:not(.seo-faq) article + article {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.fit-catalog .seo-info h2 {
    margin: 0 0 12px !important;
    color: #642441 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.fit-catalog .seo-info p {
    color: #53454d !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.fit-catalog .seo-faq .info-grid {
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fit-catalog .seo-faq article,
.fit-catalog .seo-faq article + article {
    margin: 0 !important;
    padding: 16px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e5d4de !important;
}

.fit-catalog .seo-faq h3 {
    margin: 0 0 8px;
    color: #382730;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 820px) {
    .fit-catalog .hero {
        padding-top: 8px !important;
    }

    .fit-catalog .hero-content-calm {
        padding: 8px 0 !important;
    }

    .fit-catalog .rubric-switch {
        justify-content: center !important;
    }

    .fit-catalog .country-switch {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: min(100%, 420px) !important;
        gap: 5px !important;
    }

    .fit-catalog .country-switch > span {
        grid-column: 1 / -1;
        width: auto !important;
        text-align: center;
        font-size: 12px !important;
    }

    .fit-catalog .country-switch a {
        min-width: 0;
        min-height: 44px !important;
        padding: 5px 3px !important;
        flex-direction: column;
        justify-content: center;
        gap: 3px !important;
        border-radius: 8px !important;
        font-size: 12px;
    }

    .fit-catalog .country-code {
        width: 22px !important;
        height: 16px !important;
        font-size: 10px !important;
    }

    .fit-catalog .seo-info .info-grid {
        padding: 16px !important;
    }

    .fit-catalog .seo-info:not(.seo-faq) .info-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .fit-catalog .seo-info:not(.seo-faq) article + article {
        padding-top: 18px !important;
        border-top: 1px solid #e5d4de !important;
    }

    .fit-catalog .seo-faq .info-grid {
        padding: 0 16px !important;
    }
}
