/* ============================================
   MODERN DESIGN OVERRIDES — Курьерос.ру
   ============================================ */

/* --- Google Fonts: Inter --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables Override --- */
:root {
    --bd-ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bd-ff-title: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bd-ff-p: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bd-primary: #0ABF75;
    --bd-body-primary: #F2F4F7;
    --bd-bg-primary: #F2F4F7;
    --bd-border-primary: #E4E7EC;
    --modern-radius: 14px;
    --modern-radius-sm: 8px;
    --modern-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --modern-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
    --modern-shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.07);
    --primary-rgb: 10, 191, 117;
}

/* --- Base Typography --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: #F2F4F7;
    color: #1A1D23;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.02em;
    font-weight: 500;
}

/* ============================================
   HEADER
   ============================================ */
.bd-header-area {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important;
    transition: box-shadow 0.3s;
}

.bd-header-area.header-sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.bd-header-inner {
    height: 64px;
}

/* Logo */
.bd-header-logo img {
    height: 36px;
    width: auto;
}

/* Navigation links */
.main-menu ul li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    letter-spacing: 0 !important;
    padding: 6px 12px !important;
    border-radius: var(--modern-radius-sm) !important;
    transition: color 0.2s, background 0.2s !important;
}

.main-menu ul li a:hover {
    color: var(--bd-primary) !important;
    background: rgba(10, 191, 117, 0.08) !important;
}

/* Category dropdown button */
.bd-category-btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: var(--bd-primary) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    border: none !important;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s !important;
    letter-spacing: 0;
}

.bd-category-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Header comparison button */
.bd-header-sign-btn .bd-btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    border-color: var(--bd-primary) !important;
    color: var(--bd-primary) !important;
    transition: all 0.2s !important;
    letter-spacing: 0;
}

.bd-header-sign-btn .bd-btn:hover {
    background: var(--bd-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 191, 117, 0.3) !important;
}

/* Hamburger lines */
.bar-icon span {
    background: #374151 !important;
    border-radius: 2px !important;
}

/* ============================================
   BANNER / HERO SECTION
   ============================================ */
.bd-banner-area {
    background: linear-gradient(135deg, #f8fff9 0%, #eafff4 50%, #f0f9ff 100%) !important;
    padding-top: 52px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #E4E7EC;
}

.bd-banner-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(26px, 4vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: #0D1117 !important;
    line-height: 1.15 !important;
}

.bd-banner-title .text-primary {
    color: var(--bd-primary) !important;
}

.bd-banner-description {
    font-size: 16px !important;
    color: #6B7280 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-width: 560px;
}

/* ============================================
   JOB CARDS — TOP (featured)
   ============================================ */
.bd-course-content.index-item {
    background: #fff !important;
    border: 1px solid #E4E7EC !important;
    border-radius: var(--modern-radius) !important;
    box-shadow: var(--modern-shadow-card) !important;
    padding: 20px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    position: relative;
}

.bd-course-content.index-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--modern-shadow-hover) !important;
    border-color: rgba(10, 191, 117, 0.2) !important;
}

/* ============================================
   JOB CARDS — LIST (catalog)
   ============================================ */
.bd-course-wrapper.style-four {
    background: #fff !important;
    border: 1px solid #E4E7EC !important;
    border-radius: var(--modern-radius) !important;
    box-shadow: var(--modern-shadow-card) !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
    margin-bottom: 12px;
}

.bd-course-wrapper.style-four:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--modern-shadow-hover) !important;
    border-color: rgba(10, 191, 117, 0.25) !important;
}

/* Job title links */
.bd-course-content h3.underline a,
.bd-course-content h3 a {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.bd-course-content h3 a:hover {
    color: var(--bd-primary) !important;
}

/* Price display */
.price-wrap span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #9CA3AF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: block;
    margin-bottom: 2px;
}

.price-wrap p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin: 0 !important;
}

h3.price {
    font-family: 'Inter', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0D1117 !important;
    letter-spacing: -0.02em !important;
}

h3.price sub {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
    letter-spacing: 0;
}

/* Company name */
.name-firm a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #374151 !important;
}

.name-firm a:hover {
    color: var(--bd-primary) !important;
}

.adsspan,
.reklama {
    font-size: 11px !important;
    color: #9CA3AF !important;
    font-style: normal !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.bd-btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    border-radius: 10px !important;
    transition: all 0.2s !important;
}

.bd-btn.btn-outline-border-primary {
    border: 1.5px solid var(--bd-primary) !important;
    color: var(--bd-primary) !important;
    background: transparent !important;
    font-size: 14px !important;
    padding: 9px 20px !important;
}

.bd-btn.btn-outline-border-primary:hover {
    background: var(--bd-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(10, 191, 117, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Сброс стилей кнопки в топ-карточках на десктопе */
@media (min-width: 992px) {
    .bd-course-content.index-item .bd-course-btn {
        width: auto !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Apply button in cards */
.bd-course-btn a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    padding: 9px 18px !important;
}

/* Compare button */
.btn-new {
    border-radius: 10px !important;
    border: 1.5px solid #E4E7EC !important;
    background: #fff !important;
    transition: all 0.2s !important;
}

.btn-new:hover {
    border-color: var(--bd-primary) !important;
    box-shadow: 0 2px 8px rgba(10, 191, 117, 0.2) !important;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.bd-section-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(20px, 2.5vw, 28px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    color: #0D1117 !important;
}

.bd-section-title-wrapper {
    margin-bottom: 24px;
}

/* ============================================
   ACCORDION / DETAILS
   ============================================ */
details summary h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

/* Grid-раскладка в раскрытом блоке вакансии */
.accordion-collapse {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.accordion-collapse .flex100 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
}

.accordion-collapse .flex20 {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .accordion-collapse .flex100 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   ADVANTAGES LIST (checkmarks)
   ============================================ */
.bd-pricing-plan-list-3-new li {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
    padding: 8px 10px !important;
    margin-right: 10px !important;
}

/* ============================================
   BLOG NEWS — равная высота карточек
   ============================================ */

/* Правая колонка с новостями — flex по вертикали */
.bd-blog-area .col-xl-6:last-child,
.bd-blog-area .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bd-blog-area .col-xl-6:last-child .col-xl-12,
.bd-blog-area .col-lg-6:last-child .col-xl-12 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bd-blog-area .col-xl-6:last-child .flex-blog,
.bd-blog-area .col-lg-6:last-child .flex-blog {
    flex: 1;
    align-items: stretch !important;
    margin-bottom: 0 !important;
    box-shadow: var(--modern-shadow-card) !important;
}

/* Картинка заполняет высоту карточки */
.flex-blog .flex30 {
    display: flex;
    align-self: stretch;
    min-height: 0;
}

.flex-blog .flex30 a {
    display: block;
    width: 100%;
    height: 100%;
}

.flex-blog .flex30 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Introtext — 3 строки в блоках новостей */
.flex-blog .flex70 p,
.bd-blog-wrapper.style-four .bd-blog-content > p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
}

/* ============================================
   ЧИТАЙТЕ В НАШЕМ БЛОГЕ — одинаковая высота
   ============================================ */

/* Колонки растягиваются до одинаковой высоты */
.bd-elements-category .row.gy-30,
section .row.gy-30:has(.bd-blog-wrapper.style-seven) {
    align-items: stretch;
}

section [class*="col-"]:has(.bd-blog-wrapper.style-seven) {
    display: flex;
    flex-direction: column;
}

/* Карточка занимает всю высоту колонки */
.bd-blog-wrapper.style-seven {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Контент растягивается, кнопка прижата к низу */
.bd-blog-wrapper.style-seven .bd-blog-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Заголовок занимает доступное место, кнопка остаётся внизу */
.bd-blog-wrapper.style-seven .bd-blog-content .title {
    flex: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.bd-blog-wrapper.style-seven .bd-blog-content a.bd-btn {
    margin-top: auto;
}

/* ============================================
   RATING STARS
   ============================================ */
.rating-color i {
    color: #F59E0B !important;
    font-size: 12px !important;
}

.bd-course-rating-text span {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
}

/* ============================================
   CATEGORY SECTION
   ============================================ */
.bd-elements-category {
    background: #F2F4F7;
}

/* Единые отступы между секциями */
.main-area > section {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Первая секция (баннер) — своя высота */
.main-area > section.bd-banner-area {
    padding-top: 40px;
    padding-bottom: 32px;
}

/* Секции section-space и section-space-new — выравниваем */
.section-space,
.section-space-new {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

/* Два bd-faq-area подряд — убрать отступ между ними */
.bd-faq-area + .bd-faq-area {
    padding-top: 0 !important;
}

/* bd-career-area перед футером */
.bd-career-area {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Вертикальный порядок элементов внутри карточки компании */
.bd-category-content.flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
}

.bd-category-content.flex .bd-category-total {
    width: auto !important;
}

/* Одинаковая высота карточек категорий */
.bd-elements-category .row {
    align-items: stretch;
}

.bd-elements-category [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.bd-category-wrapper.style-one {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bd-category-wrapper.style-one .bd-category-item {
    flex: 1;
    align-items: flex-start !important;
}

/* ============================================
   CATEGORY DROPDOWN
   ============================================ */
.bd-category-dropdown {
    background: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #E4E7EC !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    overflow: hidden;
}

.bd-category-dropdown ul li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    padding: 10px 18px !important;
    transition: background 0.15s, color 0.15s !important;
}

.bd-category-dropdown ul li a:hover {
    background: rgba(10, 191, 117, 0.07) !important;
    color: var(--bd-primary) !important;
}

/* ============================================
   OFFCANVAS MENU
   ============================================ */
.bd-offcanvas-wrapper {
    border-radius: 0 16px 16px 0 !important;
}

.bd-offcanvas-area {
    background: #fff !important;
}

/* ============================================
   FOOTER
   ============================================ */
.bd-footer-area {
    background: #0D1117 !important;
}

.bd-footer-widget-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: rgba(255,255,255,0.5) !important;
    margin-bottom: 16px !important;
}

.bd-footer-widget-links ul li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.15s !important;
    line-height: 1.8;
}

.bd-footer-widget-links ul li a:hover {
    color: var(--bd-primary) !important;
}

.bd-footer-widget-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.7 !important;
}

.official p {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.35) !important;
    line-height: 1.6 !important;
    margin-bottom: 4px !important;
}

.official p a {
    color: rgba(255,255,255,0.5) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.official p a:hover {
    color: var(--bd-primary) !important;
}

.bd-footer-copyright-text p {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #ffffff !important;
}

/* Social icons */
.social-icon-list li a {
    border-radius: 10px !important;
    transition: all 0.2s !important;
}

.social-icon-list li a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(10, 191, 117, 0.3) !important;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.backtotop-wrap {
    border-radius: 12px !important;
}

/* ============================================
   COOKIE NOTICE
   ============================================ */
#cookie_note {
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
    border: 1px solid #E4E7EC !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    gap: 12px;
}

#cookie_note .rr-btn-white {
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 768px) {
    .bd-banner-title {
        font-size: 24px !important;
    }
    .bd-course-content.index-item {
        padding: 16px !important;
    }
    h3.price {
        font-size: 18px !important;
    }
}

/* ===== Kyrieros: redesigned internal linking blocks ===== */

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.company-card {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    color: #1b1b1b;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.company-card:hover {
    border-color: rgba(7, 161, 105, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.company-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-card__logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f7f7f5;
    border: 1px solid #e8e6e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.company-card__logo img {
    max-width: 32px;
    max-height: 32px;
    width: auto;
    height: auto;
}

.company-card__head {
    min-width: 0;
    flex: 1;
}

.company-card__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.company-card__rating {
    font-size: 12px;
    color: #9a9a9a;
}

.company-card__desc {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0;
}

.company-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.company-card__tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    background: #f7f7f5;
    color: #6b6b6b;
}

.company-card__tag--green {
    background: rgba(7, 161, 105, 0.08);
    color: #07A169;
}

/* ===== Categories grouped ===== */

.categories-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 14px;
    padding: 28px;
}

.cat-group__heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #07A169;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(7, 161, 105, 0.15);
}

.cat-group__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cat-group__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.cat-group__link:hover {
    background: rgba(7, 161, 105, 0.06);
    color: #07A169;
}

.cat-group__count {
    font-size: 12px;
    font-weight: 400;
    color: #9a9a9a;
    flex-shrink: 0;
}

.cat-group__link:hover .cat-group__count {
    color: #07A169;
}

/* ===== Cities grid ===== */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 14px;
    overflow: hidden;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid #e8e6e1;
    border-right: 1px solid #e8e6e1;
    text-decoration: none;
    color: #1b1b1b;
    transition: background 0.15s;
}

.city-card:hover {
    background: rgba(7, 161, 105, 0.06);
}

.city-card__info {
    flex: 1;
    min-width: 0;
}

.city-card__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.city-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.city-card__vacancies {
    font-size: 13px;
    color: #07A169;
    font-weight: 600;
}

.city-card__salary {
    font-size: 13px;
    color: #6b6b6b;
}

.cities-section__count {
    font-size: 13px;
    color: #9a9a9a;
    display: inline-block;
    margin-left: 10px;
}

/* ===== Yandex Eda by region ===== */

.ya-cities__regions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 14px;
    padding: 24px 28px;
}

.ya-region__name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a9a9a;
    margin: 0 0 10px;
}

.ya-region__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ya-region__link {
    font-size: 13px;
    font-weight: 600;
    color: #1b1b1b;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: #f7f7f5;
    border: 1px solid #e8e6e1;
    transition: all 0.15s;
    white-space: nowrap;
}

.ya-region__link:hover {
    background: #07A169;
    color: #fff;
    border-color: #07A169;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-center.mt-30 {
    margin-top: 30px;
}

/* Fix vacancy cards full width — typo lex-item в шаблонах (класса нет в основных CSS) */
.lex-item {
    width: 100%;
    flex: 0 0 100%;
    margin-bottom: 20px;
}

/* ===== Mobile: новые блоки перелинковки ===== */

@media (max-width: 991px) {
    .companies-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
    .categories-groups { padding: 24px; gap: 24px; }
    .ya-cities__regions { padding: 22px; gap: 18px; }
}

@media (max-width: 768px) {
    .companies-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .company-card { padding: 14px 16px; gap: 8px; }
    .company-card__logo { width: 36px; height: 36px; }
    .company-card__name { font-size: 14px; }
    .cities-grid { grid-template-columns: 1fr; }
    .city-card { padding: 14px 18px; }
    .categories-groups { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 20px; }
    .cat-group__link { padding: 7px 8px; font-size: 13px; }
    .ya-cities__regions { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
    .ya-region__link { font-size: 12px; padding: 4px 10px; }
    .flex-center.mt-30 { margin-top: 20px; }
    .flex-center.mt-30 .bd-btn { font-size: 13px; }
}

@media (max-width: 480px) {
    .companies-grid { grid-template-columns: 1fr; gap: 10px; }
    .company-card { padding: 14px; }
    .company-card__name { font-size: 14px; line-height: 1.25; }
    .company-card__desc { font-size: 12px; line-height: 1.45; }
    .company-card__rating { font-size: 11px; }
    .company-card__tag { font-size: 10px; padding: 2px 6px; }
    .city-card { padding: 12px 14px; gap: 10px; }
    .city-card__name { font-size: 14px; }
    .city-card__vacancies, .city-card__salary { font-size: 12px; }
    .city-card__meta { gap: 8px; }
    .categories-groups { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
    .cat-group__heading { font-size: 12px; padding-bottom: 6px; margin-bottom: 8px; }
    .cat-group__link { font-size: 13px; padding: 7px 8px; }
    .cat-group__count { font-size: 11px; }
    .ya-cities__regions { padding: 14px; gap: 14px; }
    .ya-region__name { font-size: 11px; margin-bottom: 8px; }
    .ya-region__link { font-size: 12px; padding: 4px 10px; }
    .cities-section__count { display: block; margin-left: 0; margin-top: 4px; }
}

/* ===== Mobile: существующие блоки и общие элементы ===== */

@media (max-width: 768px) {
    .bd-section-title-wrapper .bd-section-title { font-size: 22px !important; line-height: 1.3 !important; }
    .bd-section-title-wrapper { padding-bottom: 20px !important; }
    /* Уменьшаем отступы секций */
    .section-space, .section-space-new { padding-top: 40px; padding-bottom: 40px; }
    /* Hero-карточки вакансий в колонку */
    .flex33 { width: 100% !important; margin-bottom: 12px; }
}

@media (max-width: 480px) {
    .bd-section-title-wrapper .bd-section-title { font-size: 19px !important; }
    h1.bd-banner-title { font-size: 24px !important; line-height: 1.25 !important; }
    .bd-banner-description { font-size: 14px !important; }
    .section-space, .section-space-new { padding-top: 30px; padding-bottom: 30px; }
    /* Карточка вакансии: мелкий шрифт и плотнее */
    .bd-course-wrapper.style-four { padding: 14px !important; }
    .price-wrap span { font-size: 11px; }
    h3.price { font-size: 16px !important; }
    h3.price sub { font-size: 10px; }
    /* Футер-колонки */
    .bd-footer-widget-title { font-size: 14px; }
    .bd-footer-widget-links ul li { font-size: 13px; }
}


/* ===================================================
   Карточка вакансии
   =================================================== */
/* Контейнеры карточек: grid с адаптивными колонками */
.job-cards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
}
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}
/* Старый .flex.g-30-new со списком loadjob — превращаем в такую же сетку */
.flex.g-30-new {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0 !important;
}
.flex.g-30-new > .loadjob,
.flex.g-30-new > .flex-item {
    width: auto !important;
    flex: initial !important;
    margin: 0 !important;
    display: flex;
    height: 100%;
}
.flex.g-30-new > .flex-center { grid-column: 1 / -1; }

/* Карточки — одинаковой высоты внутри grid-ячейки, action-row прибит снизу */
.job-cards-list,
.job-cards-grid {
    align-items: stretch;
}
.job-cards-list > .job-card,
.job-cards-grid > .job-card,
.flex.g-30-new > .loadjob > .job-card,
.flex.g-30-new > .flex-item > .job-card,
.flex.g-30-new > .job-card {
    width: 100%;
    height: 100%;
    align-self: stretch;
    min-height: 100%;
}
.job-card__foot { margin-top: auto !important; }

@media (max-width: 1200px) {
    .job-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .job-cards-list,
    .flex.g-30-new { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    .job-cards-grid { grid-template-columns: 1fr; }
}

.job-card {
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.job-card:hover {
    border-color: rgba(7, 161, 105, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* ===== HEAD ===== */
.job-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.job-card__head-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.job-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.job-card__title a {
    color: #111827;
    text-decoration: none;
}
.job-card__title a:hover { color: #07A169; }

.job-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6B7280;
}
.job-card__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #F2F4F7;
    border: 1px solid #E4E7EC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.job-card__logo img { max-width: 20px; max-height: 20px; }
.job-card__company {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}
.job-card__company:hover { color: #07A169; }

.job-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
}
.job-card__star { color: #F59E0B; font-size: 13px; }
.job-card__reviews { color: #9CA3AF; font-weight: 400; }

/* ===== SALARY ===== */
.job-card__salary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: right;
}
.job-card__salary-value {
    font-size: 18px;
    font-weight: 800;
    color: #07A169;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.job-card__salary-period {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 3px;
    font-weight: 500;
}

/* ===== TAGS ===== */
.job-card__tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.job-card__tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: #F2F4F7;
    color: #374151;
}

/* ===== PLUS ===== */
.job-card__plus {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: #374151;
    padding-top: 4px;
    border-top: 1px dashed #F2F4F7;
}
.job-card__plus li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.job-card__plus li::before {
    content: '✓';
    color: #07A169;
    font-weight: 700;
}
.job-card__plus-more { color: #9CA3AF; font-style: italic; }
.job-card__plus-more::before { content: '' !important; }

/* ===== DESC ===== */
.job-card__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* ===== FOOT ===== */
.job-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 6px;
}
.job-card__apply {
    background: #07A169;
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, box-shadow .15s;
}
.job-card__apply:hover {
    background: #05875a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(7, 161, 105, 0.25);
}
.job-card__compare {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid #E4E7EC;
    border-radius: 10px;
    color: #6B7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, border-color .15s, background .15s;
    position: relative;
}
.job-card__compare .tooltip-text {
    white-space: nowrap;
    width: auto;
    padding: 6px 10px;
}
.job-card__compare:hover {
    color: #07A169;
    border-color: #07A169;
    background: #eafff4;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .job-card { padding: 16px; gap: 12px; }
    .job-card__head { flex-direction: column; gap: 10px; }
    .job-card__salary { align-items: flex-start; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
    .job-card__salary-value { font-size: 18px; }
    .job-card__salary-period { margin-top: 0; }
    .job-card__title { font-size: 16px; }
}
@media (max-width: 480px) {
    .job-card { padding: 14px; }
    .job-card__title { font-size: 15px; }
    .job-card__tag { font-size: 11px; padding: 3px 8px; }
    .job-card__plus { font-size: 12px; }
    .job-card__apply { flex: 1; text-align: center; padding: 10px 16px; }
}
/* ===== Длинные анкоры — перенос текста в cat-group и ya-region ===== */

.cat-group__link {
    align-items: flex-start;
    line-height: 1.35;
}

.cat-group__link > span:first-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.cat-group__count {
    margin-top: 2px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.ya-region__link {
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Длинные company/city names в карточках компаний/городов тоже должны переноситься */
.company-card__name,
.city-card__name,
.job-card__title {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ===== Tooltip для compare: тёмный фон, не сливается с кнопкой ===== */
.job-card__compare .tooltip-text {
    background-color: #1A1D23 !important;
    color: #fff !important;
}
.job-card__compare .tooltip-text::after {
    border-top-color: #1A1D23 !important;
}

/* ===== Компактная группа иконок в шапке ===== */
.bd-header-right {
    gap: 10px !important;
}
.bd-header-right > * { margin: 0 !important; }

.header-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
    flex-shrink: 0;
}
.header-search-btn:hover {
    background: rgba(10, 191, 117, 0.08);
    color: #07A169;
    border-color: rgba(10, 191, 117, 0.2);
}

/* ===== Search modal ===== */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
}
.search-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.search-modal__dialog {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform .2s;
}
.search-modal.is-open .search-modal__dialog {
    transform: translateY(0);
}
.search-modal__box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #E4E7EC;
}
.search-modal__icon { color: #9CA3AF; flex-shrink: 0; }
.search-modal__input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: #111827;
    padding: 6px 0;
}
.search-modal__input::placeholder { color: #9CA3AF; }
.search-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0;
    background: #F2F4F7;
    color: #6B7280;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.search-modal__close:hover {
    background: #E4E7EC;
    color: #1A1D23;
}
.search-modal__results {
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px 0;
}
.search-modal__hint {
    padding: 32px 20px;
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
}
.search-modal__group { padding: 8px 0; }
.search-modal__group + .search-modal__group {
    border-top: 1px solid #F2F4F7;
}
.search-modal__group-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9CA3AF;
    margin: 0;
    padding: 10px 18px 4px;
}
.search-modal__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.search-modal__group li a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    color: #111827;
    font-size: 14px;
    transition: background .1s;
}
.search-modal__group li a:hover {
    background: rgba(10, 191, 117, 0.08);
}
.search-modal__item-name {
    font-weight: 500;
    overflow-wrap: anywhere;
}
.search-modal__item-meta {
    font-size: 12px;
    color: #9CA3AF;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .search-modal { padding: 30px 12px 12px; }
    .bd-header-right { gap: 6px !important; }
}

/* ===== Кнопка выбора города в шапке ===== */
.header-city-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E4E7EC;
    border-radius: 10px;
    background: transparent;
    color: #374151;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    flex-shrink: 0;
    max-width: 180px;
}
.header-city-btn:hover {
    background: rgba(10, 191, 117, 0.08);
    color: #07A169;
    border-color: rgba(10, 191, 117, 0.25);
}
.header-city-btn__pin {
    color: #07A169;
    flex-shrink: 0;
}
.header-city-btn__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.header-city-btn__chev {
    color: #9CA3AF;
    flex-shrink: 0;
}
.header-city-btn:hover .header-city-btn__chev { color: #07A169; }

/* Ссылка "Все N городов" в модалке */
.search-modal__all-link {
    display: block;
    padding: 12px 18px;
    text-align: center;
    color: #07A169;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid #F2F4F7;
}
.search-modal__all-link:hover { background: rgba(10, 191, 117, 0.08); color: #07A169; }

/* Адаптив: ужимаем шапку на узких экранах */
@media (max-width: 1400px) {
    .header-city-btn { max-width: 160px; padding: 0 10px; gap: 5px; }
    .header-city-btn__name { max-width: 120px; }
    .bd-header-sign-btn .bd-btn { padding: 8px 14px !important; font-size: 12px !important; }
}
@media (max-width: 1199px) {
    .header-city-btn__name { display: none; }
    .header-city-btn__chev { display: none; }
    .header-city-btn { padding: 0; width: 40px; justify-content: center; }
}
@media (max-width: 600px) {
    .bd-header-sign-btn { display: none; }
}

/* ===== Текст "На X доступно N вакансий" — отступ снизу ===== */
.text-showing {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 18px;
    background: #eafff4;
    border: 1px solid rgba(10, 191, 117, 0.2);
    color: #05875a;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}
.text-showing strong { color: #1A1D23; font-weight: 700; }
.box-filters-job { margin-bottom: 10px; }

/* ===== Якорные табы секций — сегментированный контейнер ===== */
.tags.flex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 16px 0 24px !important;
    padding: 4px !important;
    background: #F2F4F7 !important;
    border: 1px solid #E4E7EC !important;
    border-radius: 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
    height: auto !important;
}
.tags__item_link,
.tags.flex .tags__item_link {
    display: inline-flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    max-width: none !important;
    border: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
}
.tags__item_link a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    color: #6B7280 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.tags__item_link a:hover {
    background: #fff !important;
    color: #1A1D23 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.tags__item_link.underline { text-decoration: none !important; }
.tags__item_link .tags__label,
.tags .tags__label {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    line-height: inherit !important;
}

@media (max-width: 900px) {
    .tags.flex {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 15px !important;
        margin: 8px -15px 20px !important;
        max-width: calc(100% + 30px) !important;
        width: auto !important;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    .tags.flex::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .tags.flex .tags__item_link { flex-shrink: 0 !important; }
}
@media (max-width: 600px) {
    .tags__item_link a { padding: 7px 12px !important; font-size: 12px !important; }
}

/* ===== Секция с промо-баннером — убираем вертикальные отступы ===== */
.bd-course-list-area:has(> .container > .promo-banner) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.promo-banner {
    margin-top: 16px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fef2f2 0%, #ffe4e1 100%) !important;
    border: 1px solid #fecaca !important;
}

/* ===== Единые вертикальные отступы секций ===== */
.section-space,
.section-space-new,
.bd-course-list-area,
.bd-elements-category,
.bd-blog-area,
.bd-career-area,
.bd-brand-area,
.bd-faq-area,
.bd-similar-articles-area,
.blog-details {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}
.section-space-new-mob { padding: 20px 0 !important; }
.section-title-space { padding-bottom: 20px !important; }
.bd-section-title-wrapper { margin-bottom: 20px !important; }

@media (max-width: 900px) {
    .section-space,
    .section-space-new,
    .bd-course-list-area,
    .bd-elements-category,
    .bd-blog-area,
    .bd-career-area,
    .bd-brand-area,
    .bd-faq-area,
    .bd-similar-articles-area,
    .blog-details {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}
@media (max-width: 600px) {
    .section-space,
    .section-space-new,
    .bd-course-list-area,
    .bd-elements-category,
    .bd-blog-area,
    .bd-career-area,
    .bd-brand-area,
    .bd-faq-area,
    .bd-similar-articles-area,
    .blog-details {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }
}

/* ===== Супер-преимущество (job.premium) в карточке ===== */
.job-card__premium {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    border: 1px solid #FFD54F;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6B4A00;
    line-height: 1.4;
}
.job-card__premium-icon {
    color: #F59E0B;
    flex-shrink: 0;
    margin-top: 1px;
    fill: #FBBF24;
}
.job-card__premium span {
    flex: 1;
    overflow-wrap: anywhere;
}

/* ===== Tooltip не показывается на тач-устройствах ===== */
@media (hover: none), (max-width: 768px) {
    .job-card__compare .tooltip-text { display: none !important; }
}

/* ===== Более компактные вертикальные отступы везде ===== */
.section-space,
.section-space-new,
.bd-course-list-area,
.bd-elements-category,
.bd-blog-area,
.bd-career-area,
.bd-brand-area,
.bd-faq-area,
.bd-similar-articles-area,
.blog-details {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}
.section-space-new-mob { padding: 16px 0 !important; }
.bd-breadcrumb.style-two { padding-top: 24px !important; padding-bottom: 0 !important; min-height: 0 !important; }
.bd-breadcrumb-area { padding: 0 !important; }
.bd-section-title-wrapper { margin-bottom: 16px !important; padding-bottom: 0 !important; }
.bd-section-title-wrapper.section-title-space { margin-bottom: 20px !important; }

@media (max-width: 900px) {
    .section-space,
    .section-space-new,
    .bd-course-list-area,
    .bd-elements-category,
    .bd-blog-area,
    .bd-career-area,
    .bd-brand-area,
    .bd-faq-area,
    .bd-similar-articles-area,
    .blog-details {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .section-space-new-mob { padding: 12px 0 !important; }
    .bd-breadcrumb.style-two { padding-top: 16px !important; }
}
@media (max-width: 600px) {
    .section-space,
    .section-space-new,
    .bd-course-list-area,
    .bd-elements-category,
    .bd-blog-area,
    .bd-career-area,
    .bd-brand-area,
    .bd-faq-area,
    .bd-similar-articles-area,
    .blog-details {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* ===== FAQ аккордеон — чистый, без эмодзи, SVG-стрелка ===== */
.accordion-common-style .accordion-item,
.bd-faq-content .accordion-item {
    background: #fff !important;
    border: 1px solid #E4E7EC !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.accordion-common-style .accordion-item:hover,
.bd-faq-content .accordion-item:hover {
    border-color: rgba(10, 191, 117, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.accordion-common-style .accordion-button,
.bd-faq-content .accordion-button {
    background: transparent !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 18px 56px 18px 20px !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative;
    width: 100%;
    text-align: left;
    border-radius: 0 !important;
}
/* Отключаем любые эмодзи/font-awesome иконки в обычном и expanded состоянии */
.accordion-common-style .accordion-button::before,
.accordion-common-style .accordion-button::after,
.bd-faq-content .accordion-button::before,
.bd-faq-content .accordion-button::after,
.accordion-common-style.accordion-icon-left .accordion-button::before,
.accordion-common-style.accordion-icon-left .accordion-button:not(.collapsed)::before,
.accordion-common-style.accordion-style-one .accordion-button::after,
.accordion-common-style.accordion-style-one .accordion-button:not(.collapsed)::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
}
/* Наша SVG-стрелка вниз (chevron) */
.accordion-common-style .accordion-button::after,
.bd-faq-content .accordion-button::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    right: 18px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%) rotate(0deg);
    background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2307A169' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    border: 1.5px solid #E4E7EC;
    border-radius: 999px;
    transition: transform .2s, background-color .2s, border-color .2s;
}
.accordion-common-style .accordion-button:not(.collapsed)::after,
.bd-faq-content .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
    background-color: #eafff4;
    border-color: rgba(10, 191, 117, 0.4);
}
.accordion-common-style .accordion-button:hover,
.bd-faq-content .accordion-button:hover {
    color: #07A169 !important;
}
.accordion-common-style .accordion-body,
.bd-faq-content .accordion-body {
    padding: 0 20px 18px !important;
    color: #4B5563;
    font-size: 14px;
    line-height: 1.6;
}
.accordion-common-style .accordion-body p,
.bd-faq-content .accordion-body p {
    margin: 0;
    color: inherit;
}

/* ===== Блог — одинаковая высота карточек ===== */
.bd-blog-wrapper.style-four,
.bd-blog-wrapper.style-three,
.bd-blog-wrapper.style-seven {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E4E7EC;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.bd-blog-wrapper.style-four:hover,
.bd-blog-wrapper.style-three:hover,
.bd-blog-wrapper.style-seven:hover {
    border-color: rgba(10, 191, 117, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.bd-blog-wrapper .bd-blog-thumb {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex-shrink: 0;
}
.bd-blog-wrapper .bd-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.bd-blog-wrapper:hover .bd-blog-thumb img { transform: scale(1.04); }
.bd-blog-wrapper .bd-blog-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.bd-blog-wrapper .bd-blog-btn { margin-top: auto; }
.bd-blog-wrapper .title,
.bd-blog-wrapper h5.title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}
.bd-blog-wrapper .title a { color: #111827 !important; text-decoration: none; }
.bd-blog-wrapper .title a:hover { color: #07A169 !important; }
.bd-blog-wrapper p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bd-blog-wrapper.style-three {
    flex-direction: row !important;
}
.bd-blog-wrapper.style-three .bd-blog-thumb {
    width: 280px;
    aspect-ratio: auto;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .bd-blog-wrapper.style-three { flex-direction: column !important; }
    .bd-blog-wrapper.style-three .bd-blog-thumb { width: 100%; aspect-ratio: 3/2; }
}

/* ===== Убрать белый фон у блок-обёртки под иконкой отзывов ===== */
.bd-blog-wrapper:has(.testimonial-img) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.bd-blog-wrapper:has(.testimonial-img):hover {
    box-shadow: none !important;
    transform: none !important;
}
.testimonial-img img { display: inline-block; }

/* ===== noitems плейсхолдер должен быть на всю ширину grid ===== */
.flex.g-30-new > .full-span,
.flex.g-30-new > .noitems { grid-column: 1 / -1; }
.noitems:empty { display: none; }

/* ===== Dropdown-перелинковка (аккордеон на /rabota/) ===== */
.links-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.links-dd {
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.links-dd:hover { border-color: rgba(10, 191, 117, 0.3); }
.links-dd[open] { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); border-color: rgba(10, 191, 117, 0.4); }
.links-dd summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
}
.links-dd summary::-webkit-details-marker { display: none; }
.links-dd__title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    flex: 1;
}
.links-dd__count {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    padding: 4px 10px;
    background: #F2F4F7;
    border-radius: 999px;
}
.links-dd[open] .links-dd__count { background: #eafff4; color: #05875a; }
.links-dd__chev {
    color: #9CA3AF;
    transition: transform .2s, color .2s;
    flex-shrink: 0;
}
.links-dd[open] .links-dd__chev {
    transform: rotate(180deg);
    color: #07A169;
}
.links-dd__body {
    padding: 0 22px 20px;
    border-top: 1px solid #F2F4F7;
    padding-top: 16px;
}
.links-dd__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px 12px;
}
.links-dd__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #1A1D23;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.links-dd__link:hover {
    background: rgba(10, 191, 117, 0.08);
    color: #07A169;
}
.links-dd__name { overflow-wrap: anywhere; }
.links-dd__meta {
    font-size: 12px;
    color: #9CA3AF;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.links-dd__link:hover .links-dd__meta { color: #07A169; }
.links-dd__all {
    display: inline-block;
    margin-top: 14px;
    color: #07A169;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.links-dd__all:hover { color: #05875a; }
.links-dd__group { margin-bottom: 18px; }
.links-dd__group:last-child { margin-bottom: 0; }
.links-dd__group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #07A169;
    margin: 0 0 8px;
}

@media (max-width: 600px) {
    .links-dd summary { padding: 14px 16px; gap: 10px; }
    .links-dd__body { padding: 14px 16px 16px; }
    .links-dd__title { font-size: 15px; }
    .links-dd__grid { grid-template-columns: 1fr; }
}

/* ===== Топ-фильтры на /rabota/ — 3 dropdown ===== */
.filters-dd {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.filters-dd__item {
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    position: relative;
    transition: border-color .15s, box-shadow .15s;
}
.filters-dd__item:hover { border-color: rgba(10, 191, 117, 0.3); }
.filters-dd__item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(10, 191, 117, 0.5);
    z-index: 5;
}
.filters-dd__item[open] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.filters-dd__item summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    color: #374151;
}
.filters-dd__item summary::-webkit-details-marker { display: none; }
.filters-dd__item summary > svg:first-child { color: #07A169; flex-shrink: 0; }
.filters-dd__title {
    font-size: 14px;
    font-weight: 600;
    flex: 1;
}
.filters-dd__count {
    font-size: 12px;
    color: #6B7280;
    padding: 2px 8px;
    background: #F2F4F7;
    border-radius: 999px;
    font-weight: 500;
}
.filters-dd__item[open] .filters-dd__count { background: #eafff4; color: #05875a; }
.filters-dd__chev {
    color: #9CA3AF;
    transition: transform .2s;
    flex-shrink: 0;
}
.filters-dd__item[open] .filters-dd__chev {
    transform: rotate(180deg);
    color: #07A169;
}
.filters-dd__body {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(10, 191, 117, 0.5);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2px 6px;
}
.filters-dd__link {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #1A1D23;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .12s, color .12s;
}
.filters-dd__link:hover {
    background: rgba(10, 191, 117, 0.1);
    color: #07A169;
}
@media (max-width: 900px) {
    .filters-dd { grid-template-columns: 1fr; }
    .filters-dd__item[open] { z-index: auto; }
    .filters-dd__body { position: static; border: 0; box-shadow: none; border-top: 1px solid #F2F4F7; border-radius: 0; max-height: none; }
}

/* ===== Сравнение зарплат: плюс зелёный, минус красный ===== */
.common-price-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.common-price-new p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 12px;
    background: #F2F4F7;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
}
.common-price-new p .green,
.common-price-new p .red {
    font-weight: 700;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.common-price-new p .green { color: #07A169; }
.common-price-new p .red { color: #DC2626; }
.common-price-new p:has(.green) {
    background: rgba(10, 191, 117, 0.08);
    border: 1px solid rgba(10, 191, 117, 0.2);
}
.common-price-new p:has(.red) {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ===== Блок «Новости от Курьерос» на главной ===== */
/* Левая колонка: 1 большая карточка; правая: 3 равных по высоте, суммарно = левой */
.bd-blog-area .row.gy-30 {
    align-items: stretch;
    --news-gap: 14px;
}
.bd-blog-area .row.gy-30 > .col-xl-6.col-lg-6.col-md-6 {
    display: flex;
    flex-direction: column;
    gap: var(--news-gap);
}
/* Большая карточка слева — растягивается на всю высоту колонки */
.bd-blog-area .row.gy-30 > .col-xl-6 > .bd-blog-wrapper.style-four {
    flex: 1;
    height: 100%;
}
/* Правая колонка содержит 3 флекс-блог карточки равной высоты */
.bd-blog-area .row.gy-30 > .col-xl-6 > .col-xl-12 {
    flex: 1;
    display: flex;
    min-height: 0;
    padding: 0;
    max-width: 100%;
}
.bd-blog-area .row.gy-30 > .col-xl-6 > .col-xl-12 > .bd-blog-wrapper.style-four.flex-blog {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden;
}
.bd-blog-wrapper.style-four.flex-blog .flex30 {
    width: 36%;
    flex-shrink: 0;
    aspect-ratio: auto;
    overflow: hidden;
    height: 100%;
}
.bd-blog-wrapper.style-four.flex-blog .flex30 a {
    display: block;
    width: 100%;
    height: 100%;
}
.bd-blog-wrapper.style-four.flex-blog .flex30 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bd-blog-wrapper.style-four.flex-blog .flex70 {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.bd-blog-wrapper.style-four.flex-blog .bd-blog-meta-list {
    margin-bottom: 0;
    gap: 6px;
    font-size: 11px;
}
.bd-blog-wrapper.style-four.flex-blog .title,
.bd-blog-wrapper.style-four.flex-blog h6.title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bd-blog-wrapper.style-four.flex-blog p {
    font-size: 12px;
    -webkit-line-clamp: 2;
}

@media (max-width: 768px) {
    .bd-blog-area .row.gy-30 > .col-xl-6 > .col-xl-12 > .bd-blog-wrapper.style-four.flex-blog {
        flex-direction: column !important;
    }
    .bd-blog-wrapper.style-four.flex-blog .flex30 {
        width: 100%;
        aspect-ratio: 3/2;
        height: auto;
    }
}

/* ============================================
   BLOG — статья: содержание и абзацы
   ============================================ */

/* Содержание статьи — аккордеон с навигацией по разделам */
.accordion-body-new {
    padding: 8px 20px 18px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
    background-color: #fff !important;
}
.accordion-body-new nav {
    margin: 0;
}
.accordion-body-new nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.accordion-body-new nav li {
    position: relative;
    padding: 4px 0 4px 20px;
    line-height: 1.5;
}
.accordion-body-new nav li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #07A169;
}
.accordion-body-new nav a {
    color: #374151 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .15s;
}
.accordion-body-new nav a:hover {
    color: #07A169 !important;
    text-decoration: underline !important;
}

/* Абзацы в статьях блога — чуть светлее заголовков */
.blog-text p {
    color: #6B7280;
    line-height: 1.65;
}

/* =====================================================
   Зарплаты в категории — статистика (modern)
   ===================================================== */
.salstat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}
.salstat-card {
    position: relative;
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: var(--modern-radius);
    padding: 22px 24px;
    box-shadow: var(--modern-shadow-card);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    overflow: hidden;
}
.salstat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--modern-shadow-hover);
    border-color: rgba(7, 161, 105, 0.22);
}
.salstat-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.salstat-card__label {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    margin: 0 0 6px;
}
.salstat-card__value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0D1117;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.salstat-card__value .salstat-cur {
    font-size: 17px;
    font-weight: 700;
    color: #9CA3AF;
    margin-left: 3px;
}
.salstat-card__period {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 500;
    margin: 4px 0 0;
}
.salstat-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #07A169;
    background: rgba(7, 161, 105, 0.1);
    padding: 3px 9px;
    border-radius: 20px;
}
.salstat-card--min .salstat-card__icon  { background: rgba(59, 130, 246, 0.1);  color: #3B82F6; }
.salstat-card--avg .salstat-card__icon  { background: rgba(7, 161, 105, 0.1);   color: #07A169; }
.salstat-card--avg  { border-color: rgba(7, 161, 105, 0.32); }
.salstat-card--max .salstat-card__icon  { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.salstat-card--hour .salstat-card__icon { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.salstat-note {
    font-size: 13px;
    color: #9CA3AF;
    margin: 16px 0 0;
}

/* =====================================================
   Калькулятор дохода курьера (modern)
   ===================================================== */
.salcalc {
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 18px;
    box-shadow: var(--modern-shadow-card);
    padding: 36px 40px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.salcalc__head { margin-bottom: 24px; }
.salcalc__title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0D1117;
    margin: 0 0 6px;
}
.salcalc__subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}
.salcalc__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}
.salcalc__controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.salcalc__field-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    gap: 10px;
}
.salcalc__field-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.salcalc__field-val {
    font-size: 16px;
    font-weight: 700;
    color: #07A169;
    background: #eafff4;
    border: 1px solid rgba(7, 161, 105, 0.2);
    padding: 3px 12px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
}
.salcalc__type span i { font-size: 15px; }
.salcalc__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: #9CA3AF;
}
.salcalc__types {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background: #F2F4F7;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
}
.salcalc__type {
    margin: 0;
    cursor: pointer;
}
.salcalc__type input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.salcalc__type span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    transition: background .15s, color .15s, box-shadow .15s;
}
.salcalc__type:hover input:not(:checked) + span {
    color: #1A1D23;
    background: #fff;
}
.salcalc__type input:checked + span {
    background: #07A169;
    color: #fff;
    box-shadow: 0 2px 8px rgba(7, 161, 105, 0.3);
}
.salcalc__rate-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f8fff9 0%, #eafff4 100%);
    border: 1px solid rgba(7, 161, 105, 0.25);
    padding: 11px 16px;
    border-radius: 12px;
    width: 100%;
}
.salcalc__rate-chip b {
    font-size: 18px;
    font-weight: 800;
    color: #07A169;
    letter-spacing: -0.01em;
}
.salcalc__rate-chip span {
    font-size: 13px;
    color: #6B7280;
}
/* Slider */
.salcalc__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #07A169 0%, #07A169 var(--fill, 50%), #E4E7EC var(--fill, 50%), #E4E7EC 100%);
    outline: 0;
    cursor: pointer;
}
.salcalc__slider:focus-visible { outline: 2px solid #07A169; outline-offset: 4px; }
.salcalc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #07A169;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(7, 161, 105, 0.4);
    transition: transform .1s ease;
}
.salcalc__slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.salcalc__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #07A169;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(7, 161, 105, 0.4);
}
/* Правая колонка: результат крупно и кнопка сразу под цифрой — человек уже
   согласен, дальше искать вакансии он не должен. */
.salcalc__panel {
    background: linear-gradient(135deg, #0D1117 0%, #14201a 100%);
    border-radius: 16px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-self: start;
}
.salcalc__panel-label {
    font-size: 13px;
    color: #9CA3AF;
    margin: 0 0 6px;
}
.salcalc__panel-value {
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
    color: #0ABF75;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.salcalc__cta {
    display: block;
    margin: 20px 0 4px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #07A169;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.salcalc__cta:hover { background: #0ABF75; color: #fff; transform: translateY(-1px); }
.salcalc__cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.salcalc__rows {
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.salcalc__rows li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
}
.salcalc__rows span { font-size: 13px; color: #9CA3AF; }
.salcalc__rows b {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.salcalc__rows-muted b { color: #9CA3AF; font-weight: 600; }
.salcalc__note {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.55;
    margin: 18px 0 0;
}

@media (max-width: 900px) {
    .salcalc__body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .salcalc { padding: 22px; border-radius: 16px; }
    .salcalc__panel { padding: 22px 20px; }
    .salstat-card { padding: 18px 20px; }
    .salstat-card__value { font-size: 25px; }
}

/* ===== How-to guide + Partners landing ===== */

.howto-intro {
    max-width: 820px;
    font-size: 17px;
    line-height: 1.7;
    color: #3a3a3a;
    margin: 0 0 34px;
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.howto-step {
    position: relative;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    padding: 30px 24px 26px;
    box-shadow: var(--modern-shadow-card);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.howto-step:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--modern-shadow-hover);
    transform: translateY(-3px);
}

.howto-step__num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--primary-rgb), 0.12);
}

.howto-step__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bd-primary);
    background: rgba(var(--primary-rgb), 0.1);
    margin-bottom: 18px;
}

.howto-step__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.howto-step__text {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 0;
}

.howto-step__text a { color: var(--bd-primary); font-weight: 600; }

.howto-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.howto-cta__note {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 14px 0 0;
}

.howto-cta__note a { color: var(--bd-primary); font-weight: 600; }

/* Тарифы на лендинге работодателя */
.partners-tariffs__lead {
    font-size: 15px;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 10px 0 0;
    max-width: 640px;
}

.partners-tariffs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.partners-tariff {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    padding: 26px 24px;
    box-shadow: var(--modern-shadow-card);
    display: flex;
    flex-direction: column;
}

.partners-tariff--free {
    background: #f7fbf9;
    border-color: #cde9dd;
}

.partners-tariff__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}

.partners-tariff__price {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--bd-primary);
}

.partners-tariff__period {
    font-size: 14px;
    font-weight: 500;
    color: #6b6b6b;
}

.partners-tariff__limit {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
}

.partners-tariff__note {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 0;
}

.partners-tariffs__foot {
    font-size: 14px;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 22px 0 0;
    max-width: 760px;
}

.partners-tariffs__foot a {
    color: var(--bd-primary);
    font-weight: 600;
}

/* Stats row */
.partners-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.partners-stat {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    padding: 26px 24px;
    text-align: center;
    box-shadow: var(--modern-shadow-card);
}

.partners-stat__value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--bd-primary);
    margin-bottom: 8px;
}

.partners-stat__label {
    font-size: 14px;
    color: #6b6b6b;
}

/* Benefits */
.partners-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.partners-benefit {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    padding: 26px 24px;
    box-shadow: var(--modern-shadow-card);
}

.partners-benefit__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--bd-primary);
    background: rgba(var(--primary-rgb), 0.1);
    margin-bottom: 16px;
}

.partners-benefit__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.partners-benefit__text {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 0;
}

/* Partner logos */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.partners-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.partners-logo:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--modern-shadow);
    transform: translateY(-2px);
}

.partners-logo img {
    max-width: 118px;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-logo__name {
    font-size: 14px;
    font-weight: 700;
    color: #1b1b1b;
    text-align: center;
}

@media (max-width: 768px) {
    .howto-intro { font-size: 15px; }
    .howto-step { padding: 24px 20px; }
    .howto-step__num { font-size: 38px; }
    .partners-stat__value { font-size: 32px; }
}

/* Форма заявки — белая карточка, чтобы не сливалась с серым фоном страницы */
.partners-form {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow-card);
    padding: 38px 40px;
}

.partners-form .bd-section-title-wrapper {
    text-align: center;
}

/* Поля на белой карточке: светлая заливка + рамка, чтобы читались как поля */
.partners-form .form-input input,
.partners-form .form-input textarea {
    background-color: #f7f8fa;
    border: 1px solid var(--bd-border-primary);
}

.partners-form .form-input input:focus,
.partners-form .form-input textarea:focus {
    background-color: #fff;
    border-color: var(--bd-primary);
}

.partners-form__success {
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    border-left: 6px solid var(--bd-primary);
    border-radius: var(--modern-radius-sm);
    background: rgba(var(--primary-rgb), 0.08);
    color: #0a7d4e;
    font-weight: 600;
    text-align: left;
}

.partners-form__tg {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
}

.partners-form__tg a {
    color: var(--bd-primary);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .partners-form { padding: 24px 20px; }
}

/* ===== Careers (вакансии компании) ===== */

.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.vacancy-card {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    padding: 24px 26px;
    box-shadow: var(--modern-shadow-card);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.vacancy-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--modern-shadow-hover);
    transform: translateY(-2px);
}

.vacancy-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.vacancy-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--bd-primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.vacancy-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.vacancy-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #6b6b6b;
}

.vacancy-card__meta i { color: var(--bd-primary); margin-right: 4px; }

.vacancy-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

.vacancy-apply {
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: var(--modern-radius);
    padding: 30px;
}

.vacancy-apply__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.vacancy-apply__text {
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0 0 20px;
}

.vacancy-apply__text a { color: var(--bd-primary); font-weight: 600; }

@media (max-width: 768px) {
    .vacancy-card { padding: 20px; }
    .vacancy-apply { padding: 22px; }
}

.vacancy-card__list {
    margin: 12px 0 12px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vacancy-card__list li {
    font-size: 14px;
    line-height: 1.55;
    color: #4a4a4a;
}

.vacancy-card__list li::marker { color: var(--bd-primary); }

/* ===== Клиентские фильтры/сортировка вакансий ===== */

.jobfilters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius-sm);
    box-shadow: var(--modern-shadow-card);
}

.jobfilters__facets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jobfilters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jobfilters__chips[hidden] { display: none; }

.jobfilters__chip {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--bd-border-primary);
    background: #f7f7f5;
    color: #4a4a4a;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1.2;
}

.jobfilters__chip:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--bd-primary);
}

.jobfilters__chip.is-active {
    background: var(--bd-primary);
    border-color: var(--bd-primary);
    color: #fff;
}

.jobfilters__controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bd-border-primary);
}

.jobfilters__count {
    font-size: 13px;
    color: #6b6b6b;
}

.jobfilters__reset {
    font-size: 13px;
    font-weight: 600;
    color: var(--bd-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.jobfilters__reset[hidden] { display: none; }

.jobfilters__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 13px;
    color: #6b6b6b;
}

.jobfilters__select {
    font-size: 13px;
    font-weight: 600;
    color: #1b1b1b;
    padding: 7px 30px 7px 12px;
    border-radius: var(--modern-radius-sm);
    border: 1px solid var(--bd-border-primary);
    background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b6b6b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.jobfilters__select:focus {
    outline: none;
    border-color: var(--bd-primary);
}

@media (max-width: 576px) {
    .jobfilters__sort { margin-left: 0; width: 100%; }
    .jobfilters__select { flex: 1; }
}

/* ============================================
   Trust / E-E-A-T landing components
   ============================================ */
.trust-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(var(--primary-rgb), 0.07) 100%);
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow-card);
    padding: 42px 46px;
    margin-bottom: 46px;
}

.trust-hero__lead {
    font-size: 18px;
    line-height: 1.7;
    color: #3a3a3a;
    margin: 0;
}

.trust-hero__lead b { color: #1b1b1b; }

.trust-hero__art { display: flex; justify-content: center; }
.trust-hero__art svg { width: 100%; max-width: 230px; height: auto; }

/* section heading for landing sections */
.trust-h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.trust-section { margin-bottom: 44px; }

/* highlighted callout box */
.trust-callout {
    display: flex;
    gap: 18px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-left: 5px solid var(--bd-primary);
    border-radius: var(--modern-radius);
    padding: 24px 26px;
    margin: 8px 0 0;
}

.trust-callout__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bd-primary);
    color: #fff;
    font-size: 20px;
}

.trust-callout__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.trust-callout__text { font-size: 15px; line-height: 1.6; color: #4a4a4a; margin: 0; }
.trust-callout__text a { color: var(--bd-primary); font-weight: 600; }

/* checklist cards (signs — ok / danger) */
.trust-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
}

.trust-check {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow-card);
    padding: 20px 22px;
}

.trust-check__mark {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.trust-check--ok .trust-check__mark { background: rgba(var(--primary-rgb), 0.12); color: var(--bd-primary); }
.trust-check--danger .trust-check__mark { background: rgba(229, 72, 77, 0.12); color: #e5484d; }
.trust-check__text { font-size: 14px; line-height: 1.55; color: #4a4a4a; margin: 0; }
.trust-check__text b { color: #1b1b1b; }

/* prose block for supporting paragraphs on landing pages */
.trust-prose { max-width: 860px; }
.trust-prose p { font-size: 16px; line-height: 1.7; color: #4a4a4a; margin: 0 0 16px; }
.trust-prose p a { color: var(--bd-primary); font-weight: 600; }

/* bottom gradient CTA band */
.trust-band {
    background: linear-gradient(135deg, var(--bd-primary) 0%, #06965c 100%);
    border-radius: var(--modern-radius);
    padding: 40px 46px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.trust-band__title { font-size: 24px; font-weight: 700; margin: 0 0 6px; color: #fff; }
.trust-band__text { font-size: 15px; margin: 0; opacity: 0.92; }
.trust-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-band .bd-btn { background: #fff !important; color: var(--bd-primary) !important; border: none !important; }
.trust-band .bd-btn:hover { background: #f2fbf7 !important; }

@media (max-width: 768px) {
    .trust-hero { grid-template-columns: 1fr; padding: 28px 24px; gap: 22px; }
    .trust-hero__art { order: -1; }
    .trust-hero__art svg { max-width: 150px; }
    .trust-hero__lead { font-size: 16px; }
    .trust-h2 { font-size: 22px; }
    .trust-band { padding: 28px 24px; }
    .trust-band__title { font-size: 20px; }
}
