/*
  Styles for the new Vacancy Landing Page
  Uses variables from ugmk.css: --main-color, --dark-color, --extra-dark-color,
  --light-color, --extra-light-color, --second-main-color, --second-dark-color, --second-light-color
*/

/* ===================== */
/* HEADER                */
/* ===================== */
#vacancy-landing body {
    padding-top: 0 !important;
}

.container {
    display: flex;
    gap: 32px;
    flex-direction: column;
}

.container::before,
.container::after {
    display: none;
}

#vacancy-landing section {
    padding: 100px 0;
}

/* Секции с белым фоном */
.vacancy-motivation,
.vacancy-feature,
.vacancy-header,
.vacancy-professionals {
    background-color: #fff;
}

/* Секции с персиковым фоном */
.vacancy-about,
.vacancy-values,
.vacancy-list-section,
.vacancy-reviews,
.vacancy-branches,
.vacancy-news,
.vacancy-photos {
    background-color: #FEF0EA;
}

.vacancy-header .vacancy-header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.vacancy-header .vacancy-header__nav a {
    color: #3F4D5A;
    text-decoration: none;
    font-size: 15px;
    font-family: var(--medium-font);
    transition: color 0.3s;
    white-space: nowrap;
}

.vacancy-header .vacancy-header__nav a:hover {
    color: var(--main-color);
}

.vacancy-header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vacancy-header__contacts a {
    color: #3F4D5A;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--medium-font);
}

.vacancy-header__socials {
    display: flex;
    gap: 10px;
}

.vacancy-contact-socials a,
.vacancy-header__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

/* Burger open state */
body.showVacancyNav .vacancy-header .simple-header__burger i:nth-child(1) {
    top: 30px;
    transform: rotate(45deg);
}

body.showVacancyNav .vacancy-header .simple-header__burger i:nth-child(2) {
    top: 30px;
    transform: rotate(-45deg);
}

/* Mobile contacts button — hidden on desktop/tablet */
.vacancy-header__contacts-btn {
    display: none;
    background-color: #FEF0EA;
    border: none;
    border-radius: 12px;
    color: var(--main-color);
    font-family: var(--medium-font);
    font-size: 15px;
    padding: 10px 20px;
    margin-left: auto;
}

/* ===================== */
/* CONTACTS POPUP        */
/* ===================== */
.vacancy-contacts-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.vacancy-contacts-popup.is-open {
    display: block;
}

.vacancy-contacts-popup__overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.vacancy-contacts-popup__content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vacancy-contacts-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #909EAA;
    line-height: 1;
}

.vacancy-contacts-popup__title {
    font-size: 24px;
    font-family: var(--bold-font);
    color: #3F4D5A;
}

.vacancy-contacts-popup__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3F4D5A;
    font-family: var(--medium-font);
}

.vacancy-contacts-popup__item a {
    color: #3F4D5A;
}

.vacancy-contacts-popup__item i {
    color: var(--main-color);
    font-size: 18px;
}

.vacancy-contacts-popup__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.vacancy-contacts-popup__socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

/* ===================== */
/* HERO SECTION          */
/* ===================== */
.vacancy-hero {
    background-color: var(--main-color);
    background-image: url('../images/urology/ugmk.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Optional Overlay over background image for better text readability */
.vacancy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-color);
    opacity: 0.9;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.vacancy-hero__title {
    color: #fff;
    font-size: 48px;
    font-family: var(--bold-font);
    text-align: center;
    margin: 0 0 50px;
}

.vacancy-hero__slider .owl-item {
    display: flex;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.vacancy-hero__slider .owl-item.center {
    opacity: 1;
    z-index: 10;
}

.vacancy-hero__card {
    height: 382px;
    border-radius: 40px;
    padding: 40px 35px;
    display: flex;
    gap: 24px;
    background: #fff;
}

.vacancy-hero__card-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vacancy-hero__card-title {
    font-size: 28px;
    font-family: var(--bold-font);
    color: #3F4D5A;
    margin: 0 0 20px;
    line-height: 1.2;
}

.vacancy-hero__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vacancy-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-family: var(--regular-font);
    color: #3F4D5A;
    background-color: #FEF0EA;
}

.icon-chevron-right::before {
    content: "\e900";
    display: inline-block;
    transform: rotate(-90deg);
}

.vacancy-tag--primary {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    text-decoration: none;
    font-family: var(--medium-font);
    gap: 6px;
}

.vacancy-tag--secondary {
    background-color: var(--second-main-color);
    color: #fff;
    border-color: var(--second-main-color);
    text-decoration: none;
    font-family: var(--medium-font);
    gap: 6px;
}

.vacancy-hero__card-image {
    flex: 1;
    align-self: stretch;
    min-height: 200px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.vacancy-hero__card-image .image-placeholder {
    height: 100%;
    background-color: #E3E6E8;
}

.vacancy-hero__card-image img {
    height: 100%;
    object-fit: cover;
}

.vacancy-hero__action {
    text-align: center;
    margin-top: 40px;
}

/* Buttons shared styles */
.btn {
    padding: 14px 36px;
    border-radius: 6px;
    font-family: var(--medium-font);
}

.btn-white {
    background-color: #fff;
    color: var(--main-color);
}

.btn-white:hover {
    background-color: var(--light-color);
    color: #fff;
}

.btn-primary {
    background-color: var(--main-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--dark-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--main-color);
    display: flex;
    gap: 10px;
}

.btn-outline:hover {
    background-color: var(--main-color);
    color: #fff;
}

/* ===================== */
/* ABOUT CLINIC SECTION  */
/* ===================== */


.vacancy-about__text {
    font-size: 16px;
    line-height: 1.7;
    color: #3F4D5A;
    max-width: 900px;
    margin-bottom: 32px;
}

.vacancy-about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.about__stat-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
}

.vacancy-about__stat-card {
    flex-direction: column;
    gap: 8px;
}

.vacancy-about__badge {
    align-items: center;
    gap: 16px;
}

.vacancy-about__badge-text {
    font-size: 14px;
    color: #3F4D5A;
    margin: 0;
}

.vacancy-about__badge-text strong {
    color: var(--main-color);
}

.vacancy-about__stat-value {
    font-size: 28px;
    font-family: var(--bold-font);
    color: var(--main-color);
}

.vacancy-about__stat-label {
    font-size: 14px;
    color: #3F4D5A;
    line-height: 1.4;
}

/* ===================== */
/* VALUES SECTION        */
/* ===================== */

.vacancy-values__container {
    display: flex;
    gap: 56px;
    flex-direction: row;
}

.vacancy-values__main {
    flex: 0 0 473px;
    background: #F4662A;
    color: #fff;
    border-radius: 40px;
    padding: 40px;
    display: grid;
    align-content: space-between;
    font-family: var(--bold-font);
    position: relative;
}

.vacancy-values__title {
    font-size: 40px;
}

.vacancy-values__subtitle {
    font-size: 24px;
    line-height: 1.2;
}

.vacancy-values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vacancy-values__main-image {
    position: absolute;
    left: 54px;
    width: 533px;
    top: 34px;
}

.vacancy-value-card {
    text-align: left;
}

.vacancy-value-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.vacancy-value-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vacancy-value-card__title {
    font-size: 20px;
    font-family: var(--bold-font);
    color: #3F4D5A;
}

.vacancy-value-card__text {
    font-size: 14px;
    color: #3F4D5AB2;
    line-height: 1.3;
    margin: 0;
}

.vacancy-value-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===================== */
/* VACANCY LIST SECTION  */
/* ===================== */

.vacancy-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-section-title {
    font-size: 40px;
    font-family: var(--bold-font);
    color: #3F4D5A;
    line-height: 1.2;
}

.vacancy-count {
    color: #909EAA;
    font-size: 24px;
}


.vacancy-search {
    position: relative;
}

.vacancy-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #F4662A;
}

.vacancy-search input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #3F4D5AB2;
    font-family: var(--regular-font);
    transition: box-shadow 0.3s ease;
}

.vacancy-search input::placeholder {
    color: #3F4D5AB2;
}

.vacancy-list-header .vacancy-dropdown-trigger{
    background-color: transparent;
    ;
}

.vacancy-search input:focus {
    box-shadow: 0 0 0 2px var(--main-color);
}

.vacancy-filters-mobile {
    display: none;
}

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

.vacancy-news__tab,
.vacancy-filter-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background-color: transparent;
    color: #3F4D5A;
    font-size: 14px;
    font-family: var(--medium-font);
    cursor: pointer;
    transition: all 0.2s;
}


.vacancy-news__tab:hover,
.vacancy-filter-btn:hover {
    background-color: #8dcbf5;
    color: #fff;
}

.vacancy-filter-btn.active,
.vacancy-news__tab--active {
    background: var(--second-main-color);
    color: #fff;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vacancy-card {
    border-radius: 20px;
    padding: 32px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.vacancy-card__title {
    font-size: 20px;
    font-family: var(--bold-font);
    margin-bottom: 12px;
    line-height: 1.2;
    color: #3F4D5A;
}

.vacancy-card__salary {
    font-size: 16px;
    font-family: var(--medium-font);
    color: #3F4D5AB2;
    margin-bottom: 24px;
    min-height: 22px;
}

.vacancy-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.vacancy-card__city {
    background-color: #EBF6FD;
    color: #3F4D5A;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-family: var(--medium-font);
}

.vacancy-card__open-modal {
    background: #FFF7F4;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--main-color);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 0;
    opacity: 0;
}

.vacancy-card:hover .vacancy-card__open-modal {
    opacity: 1;
}

.vacancy-card__open-modal i::before {
    content: "\e906";
}

.vacancy-list-more {
    text-align: center;
    justify-content: center;
}

.vacancy-list-more .btn-more {
    background: none;
    border: none;
    color: var(--main-color);
    font-family: var(--medium-font);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
/* ===================== */
/* VIDEO SECTION         */
/* ===================== */
.vacancy-video {
    background: linear-gradient(to bottom, #FEF0EA 50%, #fff 50%);
    padding: 0;
}


.vacancy-motivation {
    padding-bottom: 0;
}

.vacancy-motivation__subtitle {
    font-size: 16px;
    color: #3F4D5A;
    line-height: 1.6;
}

.vacancy-motivation__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vacancy-motivation__row {
    display: grid;
    gap: 16px;
}

.vacancy-motivation__row--3 {
    grid-template-columns: repeat(3, 1fr);
}

.vacancy-motivation__row--4 {
    grid-template-columns: repeat(4, 1fr);
}

.vacancy-motivation__card {
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vacancy-motivation__card--blue {
    background-color: #EEF7FC;
}

.vacancy-motivation__card--pink {
    background-color: #FFF0EB;
}

.vacancy-motivation__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-motivation__title {
    font-size: 20px;
    font-family: var(--bold-font);
    color: #3F4D5A;
    margin: 0;
    line-height: 1.2;
}

.vacancy-motivation__toggle {
    display: none;
    /* hidden on desktop */
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--main-color);
}

.vacancy-motivation__toggle i {
    display: block;
    width: 14px;
    height: 9px;
    background: url('../assets/images/icons/chevron.svg') center center no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
    color: var(--main-color);
}

.vacancy-motivation__content {
    display: block;
    /* always visible on desktop */
}

.vacancy-motivation__text {
    font-size: 14px;
    color: #3F4D5A;
    line-height: 1.5;
    margin: 0;
}

.vacancy-motivation__text.mt-2 {
    margin-top: 16px;
}

.vacancy-motivation__img {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 200px;
}

.vacancy-motivation__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacancy-section-title--center {
    text-align: center;
}




/* ===================== */
/* FEATURE SECTION       */
/* ===================== */

.vacancy-feature__container {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
}

.vacancy-content {
    display: grid;
    gap: 32px;
    width: 56%;
}

.vacancy-feature__text p {
    margin-bottom: 0;
}

.vacancy-feature__text,
.vacancy-feature__summary {
    font-size: 20px;
    color: #3F4D5A;
    line-height: 1.3;
}

.vacancy-feature__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vacancy-feature__list--check li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.vacancy-feature__list--check li:last-child {
    margin-bottom: 0;
}

.vacancy-feature__list--check i {
    color: var(--main-color);
    font-size: 24px;
    margin-right: 16px;
    margin-top: 2px;
}

.vacancy-feature__list--check p {
    font-size: 16px;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.5;
}

.vacancy-feature__list--dot li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #2b2b2b;
}

.vacancy-feature__list--dot li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--main-color);
}

.vacancy-feature__image {
    width: 40%;
    background-color: #F8F9FA;
    border-radius: 20px;
}

.vacancy-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}



/* ===================== */
/* PROFESSIONALS SECTION   */
/* ===================== */

.vacancy-news-card,
.vacancy-review-card {
    background: var(--card-bg, #fff);
    border-radius: var(--card-radius, 40px);
    border: var(--card-border, 1px solid #F0E8E4);
    display: flex;
    flex-direction: column;
    height: 317px;
    padding: 32px;
}
.vacancy-prof-card {
    background-color: #ECFAFE;
    border-radius: 70px;
    border: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.vacancy-prof-card:hover .vacancy-prof-card__content {
    border-color: #24A9E1;
}

.vacancy-prof-card:hover .vacancy-prof-card__name {
    color: #24A9E1;
}

.vacancy-prof-card__name {
    transition: color 0.3s ease;
}

.vacancy-prof-card__image-wrap {
    text-align: center;
    position: relative;
    padding-top: 20px;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
}

.vacancy-prof-card__image {
    max-height: 180px;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
}

.vacancy-prof-card__content {
    background-color: #fff;
    padding: 40px;
    border-style: solid;
    border-width: 0 2px 2px 2px;
    border-color: #ECFAFE;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    flex: 1;
    transition: border-color 0.3s ease;
}

.vacancy-prof-card__name {
    font-family: var(--bold-font);
    font-size: 20px;
    line-height: 120%;
    color: #2b2b2b;
    margin: 0;
    transition: color 0.3s ease;
}

.vacancy-prof-card__role {
    font-size: 16px;
    line-height: 130%;
    color: #3F4D5A;
    opacity: 0.7;
    margin-top: 8px;
    margin-bottom: 0;
}

.vacancy-prof-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vacancy-badge-item {
    border: 1px solid #E1E4E7;
    border-radius: 22px;
    padding: 12px 20px;
    width: max-content;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.vacancy-badge-item__label {
    font-family: var(--bold-font);
    font-size: 12px;
    color: #3F4D5A;
    opacity: 0.6;
    line-height: 120%;
    margin-bottom: 2px;
}

.vacancy-badge-item__value {
    font-family: var(--regular-font);
    font-size: 16px;
    color: #3F4D5A;
    opacity: 0.7;
    line-height: 130%;
    margin: 0;
}

.vacancy-badge-item--outline {
    border: 1px solid #E1E4E7;
}

.vacancy-badge-item--orange {
    background: #FEF0EA;
    border-color: transparent;
}

.vacancy-badge-item--orange .vacancy-badge-item__value,
.vacancy-badge-item--orange .vacancy-badge-item__label {
    color: var(--main-color);
}

/* Owl Carousel nav for all sliders */
.owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 180px;
    /* Space for the dots between the arrows */
    margin-top: 24px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--main-color) !important;
    color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px !important;
}

.owl-carousel .owl-nav button.owl-prev {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='15 18 9 12 15 6'%3e%3c/polyline%3e%3c/svg%3e") !important;

}

.owl-carousel .owl-nav button.owl-next {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='9 18 15 12 9 6'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

.owl-carousel .owl-nav button:hover {
    opacity: 0.85;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 16px;
    /* Vertically center with the 44px arrows */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.owl-carousel .owl-dots button.owl-dot {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
}

.owl-carousel .owl-dots.disabled {
    display: none;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid #E3E6E8;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--main-color);
    border-color: var(--main-color);
}

/* ===================== */
/* CONFERENCE NEWS CARDS */
/* ===================== */

.vacancy-news-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vacancy-news-card__tag,
.vacancy-review-card__badge {
    display: inline-block;
    border-radius: 30px;
    color: #3F4D5A;
    background-color: #EBF6FD;
    font-size: 13px;
    font-family: var(--medium-font);
    padding: 8px 12px;
}

.vacancy-modal__rich-text {
    color: #3F4D5A;
}

.vacancy-modal__rich-text a {
    color: var(--main-color);
    text-decoration: underline;
    word-break: break-word;
    transition: color 0.2s ease;
}

.vacancy-modal__rich-text a:hover,
.vacancy-modal__rich-text a:focus {
    color: var(--extra-dark-color);
}

.vacancy-review-card__badges .age {
    background-color: #E3E6E84D;
}

.vacancy-news-card__date {
    font-size: 14px;
    color: #909EAA;
}

.vacancy-news-card__title {
    font-size: 20px;
    font-family: var(--bold-font);
    color: #3F4D5A;
    margin: 0 0 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vacancy-news-card__text {
    font-size: 14px;
    color: #909EAA;
    line-height: 1.5;
    margin: 0 0 20px;
    flex-grow: 1;
}

.vacancy-news-card__link {
    color: var(--main-color);
    font-size: 14px;
    font-family: var(--bold-font);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s;
}

.vacancy-news-card__link:hover {
    opacity: 0.7;
}

/* ===================== */
/* CTA SECTION           */
/* ===================== */

.vacancy-cta--orange {
    background: linear-gradient(to bottom, #FEF0EA 50%, #3F4D5A 50%);
}

.vacancy-cta--first {
    background: #FEF0EA;
}

.vacancy-cta__wrapper {
    background-color: #F4662A;
    border-radius: 40px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vacancy-cta__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: start;
}

.vacancy-cta__content .btn {
    margin: 0;
}

.vacancy-cta__bg-icon {
    position: absolute;
    right: 0;
    height: 420%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.vacancy-cta__title,
.vacancy-cta__text {
    color: #fff;
    position: relative;
    z-index: 2;
}

.vacancy-cta__title {
    font-size: 40px;
    font-family: var(--bold-font);
    margin-bottom: 20px;
}

.vacancy-cta__title--small {
    font-size: 32px;
}

.vacancy-cta__text {
    font-size: 20px;
    line-height: 1.5;
}

.vacancy-cta__btn {
    position: relative;
    z-index: 2;
    color: #F4662A;
    font-family: var(--bold-font);
    padding: 15px 32px;
    border-radius: 8px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s;
    margin: 30px 0 12px;
}

.vacancy-cta__btn:hover {
    opacity: 0.9;
}

/* ===================== */
/* REVIEWS SECTION       */
/* ===================== */

/* Video block */

.vacancy-reviews__video-thumb {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #3F4D5A;
}

.vacancy-reviews__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 2;
}

.vacancy-reviews__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
}

/* Review Cards Slider */

.vacancy-review-card__name {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-family: var(--bold-font);
    color: #3F4D5A;
}

.vacancy-review-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.vacancy-review-card__text {
    font-size: 14px;
    color: #2b2b2b;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vacancy-review-card__more {
    color: var(--main-color);
    font-size: 14px;
    font-family: var(--bold-font);
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s;
}

.vacancy-review-card__more:hover {
    opacity: 0.7;
}

#professionals-slider .owl-stage,
#reviews-slider .owl-stage {
    display: flex;
}

/* Make review cards equal height */
#reviews-slider .owl-item {
    display: flex;
}

.vacancy-review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Branches CSS moved to components/mobile_branches_map.css */

/* ===================== */
/* NEWS SECTION          */
/* ===================== */

.vacancy-news__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.vacancy-news__controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vacancy-news__sort-btn {
    margin-left: auto;
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 16px 24px;
    color: var(--main-color);
    font-size: 14px;
    font-family: var(--medium-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.vacancy-news__sort-btn .icon-dropdown {
    transition: transform 0.3s;
}

.vacancy-news__sort-btn--reversed .icon-dropdown,
.vacancy-news__sort-btn--reversed svg {
    transform: rotate(180deg);
}

/* Mobile news controls */
.vacancy-news__sort-btn--mobile,
.news-filter-dropdown {
    display: none;
    align-items: center;
    gap: 12px;
}

.vacancy-news__mobile-controls .base-dropdown {
    flex: 1;
}

.vacancy-news__sort-btn--mobile {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E3E6E8;
    background: #fff;
    color: var(--main-color);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-left: 0;
    transition: all 0.2s;
}

.vacancy-news__sort-btn--mobile:hover {
    border-color: var(--main-color);
}

.vacancy-news__slider {
    margin-top: 0;
}

/* ===================== */
/* PHOTOS SECTION        */
/* ===================== */
.vacancy-photos {
    padding: 0;
    overflow: hidden;
}

.vacancy-photos__marquee {
    width: 100%;
    overflow: hidden;
}

.vacancy-photos__track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: photos-scroll 50s linear infinite;
}

.vacancy-photos__track:hover {
    animation-play-state: paused;
}

.vacancy-photos__item {
    /* 2 full + 40% peek = 2.4 items visible, so each = 100/2.4 = ~41.67vw minus gaps */
    flex: 0 0 calc((100vw - 24px * 2) / 2.4);
    height: 500px;
    border-radius: 40px;
    background-size: cover;
    background-position: center;
}

@keyframes photos-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Custom Sliders (professionals, reviews) */
.vacancy-professionals__slider-container,
.vacancy-reviews__slider-container {
    position: relative;
    padding-bottom: 20px;
}

.vacancy-professionals__slider,
.vacancy-reviews__slider {
    overflow: hidden;
    width: 100%;
}

/* Custom News Slider */
.vacancy-news__slider-container {
    position: relative;
    padding-bottom: 20px;
}

.vacancy-news__slider {
    overflow: hidden;
    width: 100%;
}

.custom-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 24px;
}

.custom-slider-track.no-transition {
    transition: none !important;
}

@media (max-width: 1200px) {
    .custom-slider-track {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .custom-slider-track {
        gap: 0;
    }
}

/* Custom Pagination & Controls */
.custom-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.custom-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.custom-slider-btn:hover {
    background: var(--dark-color);
    transform: scale(1.05);
}

.custom-slider-btn:disabled {
    background: #E3E6E8 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-slider-pagination {
    margin-top: 0 !important;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.dots-viewport {
    overflow: hidden;
    position: relative;
    transition: width 0.3s ease;
}

.dots-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    width: max-content;
}

.custom-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #E3E6E8;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.2s;
    outline: none;
}

.custom-dot.active {
    background: var(--main-color);
    border-color: var(--main-color);
}

@media (max-width: 1200px) {
    .vacancy-news-card {
        flex: 0 0 50%; /* 2 items */
    }
}

@media (max-width: 768px) {
    .vacancy-news-card {
        flex: 0 0 100%; /* 1 item */
    }
    .custom-slider-pagination {
        margin-top: 24px;
    }
}


/* ===================== */
/* CONTACTS + CTA MERGED */
/* ===================== */
.vacancy-contacts-cta {
    background: linear-gradient(to bottom, #FEF0EA 60%, #3F4D5A 40%);
}

.vacancy-contacts-cta__cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.vacancy-contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 40px;
    padding: 30px;
    flex: 1;
    height: 118px;
}

.vacancy-contact-socials a {
    width: 48px;
    height: 48px;
}

.vacancy-contact-socials {
    display: flex;
    flex: 0.1;
    justify-content: center;
}

.vacancy-contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FEF0EA;
}

.vacancy-contact-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vacancy-contact-card__label {
    font-size: 16px;
    color: #3F4D5AB2;
}

.vacancy-contact-card__value {
    font-size: 24px;
    font-family: var(--bold-font);
    color: #2b2b2b;
    text-decoration: none;
}

.vacancy-contact-card__value:hover {
    color: var(--main-color);
}

.vacancy-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
}

.vacancy-social-icon:hover {
    transform: scale(1.1);
}

/* ===================== */
/* FOOTER SLOGAN BANNER  */
/* ===================== */
.vacancy-slogan {
    background-color: #3F4D5A;
    padding: 56px 0;
}

.vacancy-slogan .container {
    padding: 0;
}

.vacancy-slogan__text {
    font-family: var(--bold-font);
    font-size: 40px;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Тёмный футер — только на лендинге вакансий (плавный переход от тёмного слогана) */
.vacancy-dark-footer .pre-footer {
    background: #3F4D5A;
}
.vacancy-dark-footer .pre-footer__menu a,
.vacancy-dark-footer .pre-footer__email,
.vacancy-dark-footer .pre-footer__address,
.vacancy-dark-footer .newsletter-text,
.vacancy-dark-footer .newsletter-title {
    color: #fff;
}
.vacancy-dark-footer .pre-footer__socials a i {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.vacancy-dark-footer .pre-footer__socials svg path {
    fill: #fff;
}
/* убираем светлую карточку рассылки, чтобы текст не вымывался на тёмном */
.vacancy-dark-footer .newsletter-block {
    background: transparent;
}

/* ===================== */
/* MODALS                */
/* ===================== */
.vacancy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vacancy-modal-overlay.active {
    display: flex;
}

.vacancy-modal {
    background: #fff;
    border-radius: 40px;
    padding: 40px;
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.vacancy-modal--form {
    max-width: 800px;
}

.vacancy-modal--wide {
    max-width: 1100px;
}

/* Mentoring modal image */
.vacancy-modal__image {
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.vacancy-modal__image img {
    width: 100%;
    height: auto;
    display: block;
}

.vacancy-modal__title-text {
    font-family: var(--bold-font);
    color: #3F4D5A;
    margin-bottom: 1vh;
}

/* Technology modal layout */
.tech-modal-layout {
    display: flex;
    gap: 30px;
    min-height: 400px;
}

.tech-modal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    max-width: 240px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.tech-modal-dropdown-sidebar {
    display: none;
}

.tech-modal-sidebar__item {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.tech-modal-sidebar__item:hover {
    background: #F5F5F5;
    color: #333;
}

.tech-modal-sidebar__item--active {
    background: #F4662A;
    color: #fff;
    font-weight: 500;
}

.tech-modal-sidebar__item--active:hover {
    background: #e05520;
    color: #fff;
}

.tech-modal-content {
    flex: 1;
    min-width: 0;
}

.tech-modal-panel {
    display: none;
}

.tech-modal-panel--active {
    display: block;
}

.tech-modal-panel__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.tech-modal-panel__image {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.tech-modal-panel__image img {
    width: 100%;
    height: auto;
    display: block;
}

.tech-modal-panel__expandable {
    line-height: 1.7;
    color: #444;
    padding-top: 10px;
}

.tech-modal-panel__details {
    margin-top: 15px;
}

.tech-modal-panel__details summary {
    cursor: pointer;
    font-weight: 500;
    color: #F4662A;
    padding: 10px 0;
    list-style: none;
    font-size: 15px;
}

.tech-modal-panel__details summary::-webkit-details-marker {
    display: none;
}

/* Button outline style for sections */
.btn-outline-primary {
    display: inline-block;
    padding: 16px 24px;
    border-radius: 6px;
    background: #FEF0EA;
    color: #F4662A;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-outline-primary:hover {
    background: #F4662A;
    color: #fff;
}

.vacancy-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #FFF7F4;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vacancy-modal__close:hover {
    background: #FFE5DB;
}

.vacancy-modal__header {
    margin-bottom: 20px;
    padding-right: 40px;
}

.vacancy-modal__title {
    font-size: 32px;
    font-family: var(--bold-font);
    color: #3F4D5A;
    line-height: 1.2;
}

.vacancy-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.vacancy-modal__tag {
    background-color: #E2ECF2;
    color: #3F4D5A;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 14px;
    font-family: var(--medium-font);
}

.vacancy-modal__tag--salary {
    background-color: #FFF7F4;
    color: var(--main-color);
}

.vacancy-modal__body {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-right: 15px;
    margin-right: -15px;
    scrollbar-width: thin;
    scrollbar-color: #E3E6E8 transparent;
}


.vacancy-modal__body p {
    color: #3F4D5A;
    font-size: 26px;
}

.tech-modal-panel,
.vacancy-modal__rich-text p {
    font-size: 16px;
}

.vacancy-modal__body ul,
.vacancy-modal__body li {
    color: #3F4D5A;
    font-size: 16px;
}

.vacancy-modal__body::-webkit-scrollbar {
    width: 6px;
}

.vacancy-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.vacancy-modal__body::-webkit-scrollbar-thumb {
    background: #E3E6E8;
    border-radius: 10px;
}

.vacancy-modal__body::-webkit-scrollbar-thumb:hover {
    background: #D1D5D8;
}

.vacancy-modal__body ol,
.vacancy-modal__body ul {
    list-style: revert;
    padding-left: 40px;
    margin-bottom: 15px;
}

/* Modal Form Styles */
.vacancy-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vacancy-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.vacancy-form__row--3cols {
    grid-template-columns: repeat(3, 1fr);
}

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

.vacancy-form__group label {
    font-size: 13px;
    color: #909EAA;
    font-family: var(--medium-font);
}

.vacancy-form__input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E3E6E8;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--regular-font);
    color: #3F4D5A;
    transition: border-color 0.3s ease;
    background: transparent;
    outline: none;
}

.vacancy-form__input:focus {
    border-color: var(--main-color);
}

.vacancy-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.vacancy-form__dropzone {
    border: 1px dashed #E3E6E8;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    background-color: #FAFAFA;
}

.vacancy-form__dropzone:hover {
    background-color: #FFF7F4;
    border-color: var(--main-color);
}

.vacancy-form__dropzone p {
    margin: 0;
    font-size: 14px;
    color: #909EAA;
    line-height: 1.4;
}

.vacancy-form__dropzone .highlight {
    color: var(--main-color);
    font-family: var(--medium-font);
}

.vacancy-form__checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #3F4D5AB2;
    line-height: 1.4;
}

.vacancy-form__checkbox input {
    display: none;
}

.vacancy-form__checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #E3E6E8;
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.vacancy-form__checkbox input:checked+.checkmark {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.vacancy-form__checkbox input:checked+.checkmark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.vacancy-form__checkbox a {
    color: var(--main-color);
    text-decoration: none;
}

.vacancy-form__checkbox a:hover {
    text-decoration: underline;
}

.vacancy-modal__footer {
    display: flex;
    margin-top: 10px;
}

.vacancy-modal__footer .btn {
    padding: 16px 40px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    font-size: 16px;
}

.vacancy-modal__footer .btn:hover {
    background-color: var(--hover-color, #E5571B);
}

/* ===================== */
/* DROPDOWN COMPONENT    */
/* ===================== */

.vacancy-dropdown-container {
    position: relative;
    width: 100%;
}

.vacancy-dropdown-trigger {
    width: 100%;
    padding: 14px 16px;
    background-color: white;
    border: 1px solid #E3E6E8;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #3F4D5A;
    user-select: none;
    transition: border-color 0.3s ease;
}

.vacancy-dropdown-container.is-open .vacancy-dropdown-trigger {
    border-color: #65B8EF;
}
.btn-outline::after,
.vacancy-dropdown-trigger::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.vacancy-dropdown-container.is-open .vacancy-dropdown-trigger::after {
    transform: rotate(180deg);
}

.vacancy-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
    display: none;
}

.vacancy-dropdown-container.is-open .vacancy-dropdown-list {
    display: block;
}

.vacancy-dropdown-item {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #3F4D5A;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vacancy-dropdown-item.active {
    color: #F4662A;
}

.vacancy-dropdown-item:hover {
    background-color: #F7F8F9;
}

.city-filter-dropdown {
    width: 150px;
}

.city-filter-dropdown .vacancy-dropdown-trigger {
    justify-content: center;
    gap: 10px;
    color: var(--main-color);
    border: none;
}

.btn-outline::after,
.city-filter-dropdown .vacancy-dropdown-trigger::after {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4662A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */
@media (max-width: 1260px) {

    /* Header responsive — matches ECO */
    .vacancy-header .simple-header__burger {
        display: inline-block;
    }

    .vacancy-header .vacancy-header__nav {
        position: fixed;
        left: -100%;
        top: 71px;
        width: 350px;
        max-width: 100%;
        bottom: 0;
        height: auto;
        background: #FFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        overflow-y: auto;
        transition: left 0.5s;
    }

    .vacancy-header .vacancy-header__contacts {
        margin-left: auto;
    }

    body.showVacancyNav .vacancy-header .vacancy-header__nav {
        left: 0;
    }

    .vacancy-header .vacancy-header__nav a {
        font-size: 17px;
    }
}

@media (max-width: 1200px) {
    .vacancy-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vacancy-hero__card {
        max-width: 100%;
        gap: 10px;
    }
}

@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }

    .vacancy-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .vacancy-about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .vacancy-card {
        min-height: 220px;
    }

    .vacancy-values__container {
        flex-direction: column;
        gap: 32px;
    }

    .vacancy-values__main {
        flex: 0 0 205px;
        padding: 32px;
    }

    .vacancy-values__title {
        font-size: 24px;
    }

    .vacancy-values__subtitle {
        font-size: 20px;
    }

    .vacancy-values__main-image {
        left: 384px;
        width: 250px;
    }

    .vacancy-value-card__content {
        gap: 10px;
    }

    .vacancy-feature__container {
        flex-direction: column;
    }

    .vacancy-feature__image,
    .vacancy-content {
        width: 100%;
    }

    .vacancy-feature__text {
        font-size: 16px;
    }

    .btn-outline-primary {
        width: 100%;
    }

    .vacancy-feature__container {
        gap: 24px;
    }

    .vacancy-feature__image {
        order: 1;
    }

    .vacancy-contacts-cta__cards {
        flex-wrap: wrap;
    }

    .vacancy-contacts-cta__cards .vacancy-contact-card:first-child {
        flex: 1 1 100%;
    }

    .vacancy-contact-card__value {
        font-size: 20px;
    }

    .vacancy-contact-socials {
        flex: 0 0 auto;
    }

    .vacancy-slogan__text {
        font-size: 32px;
    }

    .vacancy-slogan__text svg {
        width: 100%;
        margin-top: 16px;
    }

    .vacancy-hero__title {
        font-size: 36px;
    }

    .vacancy-modal-overlay {
        padding: 0;
        align-items: end;
    }

    .vacancy-modal {
        padding: 32px;
        border-radius: 40px 40px 0 0;
        height: 95%;
        max-height: 95%;
        max-width: none;
    }

    .vacancy-cta__title {
        font-size: 32px;
    }

    .vacancy-cta__title--small {
        font-size: 26px;
    }

    .vacancy-cta__text {
        font-size: 16px;
    }

    .vacancy-news__tabs {
        display: none;
    }

    .news-filter-dropdown {
        display: flex;
        width: 290px;
    }

    .tech-modal-dropdown-sidebar {
        display: block;
    }

    .tech-modal-sidebar {
        display: none;
    }

    .tech-modal-layout {
        flex-direction: column;
    }

    .vacancy-section-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .vacancy-section-title {
        font-size: 24px;
    }

    .vacancy-prof-card__name {
        font-size: 18px;
    }

    .vacancy-prof-card__role {
        font-size: 14px;
    }

    .vacancy-prof-card__content {
        padding: 32px;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .vacancy-prof-card {
        border-radius: 50px;
    }

    /* Header responsive — mobile */
    .vacancy-header__contacts {
        display: none;
    }

    .vacancy-header__contacts-btn {
        display: block;
    }

    .city-filter-dropdown {
        width: 100%;
    }

    .vacancy-modal__title {
        font-size: 26px;
    }

    .vacancy-modal__title-text {
        font-size: 20px;
    }

    .vacancy-modal__body p {
        font-size: 16px;
    }

    .vacancy-modal__body ul {
        font-size: 14px;
    }

    .vacancy-modal__close {
        width: 32px;
        height: 32px;
    }

    .vacancy-news__sort-btn {
        display: none;
    }

    .vacancy-about__badge {
        flex-direction: column;
    }

    .vacancy-branches__header {
        flex-direction: column;
        gap: 10px;
    }

    .vacancy-news__sort-btn--mobile {
        display: flex;
    }

    .news-filter-dropdown {
        width: 100%;
    }
    section {
        padding: 40px 0;
    }

    .vacancy-values__main {
        flex: 0 0 273px;
        padding: 24px;
    }

    .vacancy-values__main-image {
        left: 4px;
        width: 460px;
    }

    .vacancy-value-card {
        display: flex;
        gap: 16px;
    }

    .vacancy-filters {
        display: none;
    }

    .vacancy-filters-mobile {
        display: block;
    }

    .vacancy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vacancy-card {
        padding: 24px;
        min-height: 150px;
    }

    .vacancy-card__title {
        font-size: 16px;
    }

    .vacancy-card__salary {
        font-size: 14px;
    }

    /* Motivation block mobile (Accordion style) */
    .vacancy-motivation__subtitle {
        margin: 10px 0 24px;
    }

    .vacancy-motivation__grid {
        gap: 8px;
    }

    .vacancy-motivation__row {
        grid-template-columns: 1fr !important;
    }

    .vacancy-motivation__img {
        height: 200px;
        /* Fixed height for mobile images */
        border-radius: 12px;
        margin: 8px 0;
    }

    .vacancy-motivation__card {
        padding: 20px;
        border-radius: 16px;
    }

    .vacancy-motivation__title {
        font-size: 18px;
    }

    .vacancy-motivation__toggle {
        display: flex;
        /* Show toggle button on mobile */
    }

    .vacancy-motivation__content {
        display: none;
        /* Hide content initially on mobile */
        margin-top: 16px;
    }

    /* Active state for accordion */
    .vacancy-motivation__card.active .vacancy-motivation__content {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .vacancy-motivation__card.active .vacancy-motivation__toggle i {
        transform: rotate(180deg);
    }

    /* Remove hide-on-mobile helper for images if it was added */
    .vacancy-motivation__img.hide-on-mobile {
        display: flex;
    }

    .vacancy-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .vacancy-filter-btn {
        white-space: nowrap;
    }


    .vacancy-about__stats {
        grid-template-columns: 1fr;
    }

    .vacancy-cta__content {
        flex-direction: column;
        text-align: center;
    }

    .vacancy-cta__wrapper {
        padding: 32px;
    }

    .vacancy-cta__btn {
        margin: 15px 0 0 !important;
        width: 100%;
    }

    .vacancy-cta__title {
        font-size: 24px;
    }

    .vacancy-cta__title--small {
        font-size: 20px;
    }

    .vacancy-cta__text {
        font-size: 14px;
    }

    .vacancy-review-card {
        min-width: 85vw;
    }

    .vacancy-contact-card {
        height: 96px;
    }

    .vacancy-contact-card__value {
        font-size: 16px;
    }

    .vacancy-contact-socials {
        flex: 1 1 100%;
    }

    .vacancy-slogan__text {
        font-size: 24px;
    }

    .vacancy-news__mobile-controls {
        display: flex;
    }

    .vacancy-hero__card {
        flex-direction: column;
        padding: 30px 20px;
        height: 559px;
        justify-content: space-between;
    }

    .vacancy-hero__card-content {
        display: contents;
        height: auto;
    }

    .vacancy-hero__card-image {
        max-height: 350px;
    }

    .vacancy-hero__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .vacancy-hero__card-title {
        font-size: 22px;
    }

    .vacancy-values__grid {
        grid-template-columns: 1fr;
    }

    .vacancy-form__row--3cols {
        grid-template-columns: 1fr;
    }

    .vacancy-photos__item {
        flex: 0 0 calc((100vw - 24px) / 1.3);
        height: 300px;
        border-radius: 24px;
    }
}

/* ─── Skeleton / Placeholder Cards ──────────────────────────────────────────── */

.vacancy-hero__skeletons {
    display: flex;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile (matches Owl: items=1, margin=10, stagePadding=30) */
.vacancy-hero__skeletons {
    gap: 10px;
    padding: 0 30px;
}
.vacancy-hero__skeletons .vacancy-hero__card--skeleton {
    flex: 0 0 100%;
    box-sizing: border-box;
}

/* Tablet (matches Owl: min-width=991px, items=2, margin=20, stagePadding=0) */
@media screen and (min-width: 991px) {
    .vacancy-hero__skeletons {
        gap: 20px;
        padding: 0;
    }
    .vacancy-hero__skeletons .vacancy-hero__card--skeleton {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

/* Desktop (matches Owl: min-width=1200px, items=2, margin=30, stagePadding=100) */
@media screen and (min-width: 1200px) {
    .vacancy-hero__skeletons {
        gap: 30px;
        padding: 0 100px;
    }
    .vacancy-hero__skeletons .vacancy-hero__card--skeleton {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

/* Wide desktop (matches Owl: min-width=1600px, items=3, margin=30, stagePadding=150) */
@media screen and (min-width: 1600px) {
    .vacancy-hero__skeletons {
        gap: 30px;
        padding: 0 150px;
    }
    .vacancy-hero__skeletons .vacancy-hero__card--skeleton {
        flex: 0 0 calc((100% - 60px) / 3);
    }
}

/* Hide skeletons when JS initializes the slider */
.vacancy-hero__slider.owl-loaded + .vacancy-hero__dots + .vacancy-hero__skeletons {
    display: none;
}

/* Hero Progress Dots */
.vacancy-hero__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.vacancy-hero__dots:empty {
    margin-top: 0;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.hero-dot.active {
    width: 200px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-dot__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #fff;
    /* border-radius: 2px; */
}

@keyframes vacancy-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.vacancy-hero__card--skeleton {
    background: #f4f6f8;
    pointer-events: none;
}

.vacancy-hero__card--skeleton .vacancy-hero__card-title {
    color: #c8cdd2;
    width: fit-content;
    border-radius: 8px;
    background: linear-gradient(90deg, #e8ecef 25%, #f4f6f8 50%, #e8ecef 75%);
    background-size: 600px 100%;
    animation: vacancy-shimmer 1.6s infinite linear;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vacancy-hero__card--skeleton .vacancy-hero__card-image .image-placeholder {
    background: linear-gradient(90deg, #e0e4e8 25%, #edf0f2 50%, #e0e4e8 75%);
    background-size: 600px 100%;
    animation: vacancy-shimmer 1.6s infinite linear;
}

.vacancy-hero__skeleton-tag {
    width: 70px;
    height: 28px;
    background: linear-gradient(90deg, #e0e4e8 25%, #edf0f2 50%, #e0e4e8 75%);
    background-size: 600px 100%;
    animation: vacancy-shimmer 1.6s infinite linear;
    border-radius: 100px;
    color: transparent;
    pointer-events: none;
}

/* News modal image */
#modal-news-image img {
    max-width: 100%;
    margin-top: 16px;
    border-radius: 8px;
}

.vacancy-hero__skeleton-tag:nth-child(2) {
    width: 90px;
    animation-delay: 0.15s;
}

.vacancy-hero__skeleton-tag:nth-child(3) {
    width: 55px;
    animation-delay: 0.3s;
}
