.cards-list__item {
    align-items: center;
}

.cards-list {
    display: flex;
    flex-wrap: nowrap;         /* запрещаем перенос элементов */
    gap: 4px;
    overflow-x: auto;          /* включаем горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* плавная прокрутка на iOS */
    scrollbar-width: thin;     /* тонкий скроллбар для Firefox */
}

.cards-list__item {
    flex: 0 0 auto; /* запрещаем сжиматься и расти — сохраняем ширину */
}

.date__text {
    white-space: nowrap;
}

.cards__bottom {
    gap: 6px;
}

.float_right {
    float: right;
}

.cards {
    height: 174px;
}


.submenu__item {
    gap: 2px;
    padding-top: 10px;
}


.display_none {
    display: none;
}

.special-window__item {
    background-color: white;
}

.white {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px 10px 0px 0px;
}

.white .specialization__bottom {
    background: none;
}

.ml10 {
    margin-left: 10px;
}

.pl15 {
    padding-left: 15px;
}


.accordion__item .cards[style*="display: none"] {
    display: none !important; /* Убеждаемся, что cards скрыт */
}

/* Добавляем новое правило, которое схлопнет родительский li, если дочерний cards скрыт */
.accordion__item:has(.cards[style*="display: none"]) {
    display: none !important;
    /* или visibility: hidden !important; height: 0 !important; margin: 0 !important; padding: 0 !important; */
}

.choice__link.link-active {
    /*background-color: var(--orange);*/
    background-color: var(--black);
    color: white;
    text-decoration: none;
}

.choice__link {
    text-decoration: underline;
    /*text-decoration-thickness: 0.5px;*/
}

.centered {
    text-align: center;
}

.p20 {
    padding: 20px;
}

.tdu {
    text-decoration: underline;
}

.m0a {
    margin: 0 auto;
}

.wa {
    width: auto;
}

.dib {
    display: inline-block;
}

.accordion__item.highlight {
    border: 2px solid var(--orange) !important;
}

a.similar-vacancies {
    text-decoration: underline !important;
    color: #cd5d28 !important;
    font-weight: bold !important;
}

/*meet form adds*/
.meet-datetime {
    margin-bottom: 20px;
}

.meet-datetime td {
    padding-right: 20px;
}

.meet-datetime input {
    border: 1px solid rgba(171, 77, 33, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-top:10px;
}

.meet-cards {
    padding-left: 70px !important;
}

.meet-cards-img {
    position: absolute;
    margin-left: -57px;
    height: 50px;
    width: 50px;
    border-radius: 5px;
}

.meet-date {
    margin-left:5px;
    margin-bottom:10px;
}

.meet-cards-h2 {
    max-width: 185px;
    font-size: 15px;
}

.hl-meet-block {
    background-color: #f6f2e8;
    border-radius: 10px;
    padding: 10px;

}

.gray {
    color: #999 !important;
}

.w158 {
    width: 158px;
}

/*map*/
.map-container {
    margin-bottom: 10px;
    margin-top: -5px;
    border-radius: 12px;
    overflow: hidden;
}

.map-button {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

#map {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.popup {
    background: white;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-size: 14px;
    cursor: pointer;
}

.baloon-title {
    font-family: "GolosText" !important;
}

.baloon-salary {
    margin-bottom: 5px;
    font-family: "GolosText" !important;
}

.baloon-more-button {
    font-family: "GolosText" !important;
    color: white;
    /*background: var(--black);*/
    background: var(--orange-200);
    display: inline-block;
}

/*question-button*/
.accordion__item.highlight.pin .buttons-container {
    width: 120px;
}

.accordion__item.highlight.pin .buttons-container .share {
    float: right;
}
.accordion__item.highlight.pin .buttons-container .question {
    display: block !important;
}

.accordion__item.highlight.pin .cards-h2 {
    max-width: 195px !important;
}

.accordion__item.highlight.pin .cards__subtitle {
    max-width: 195px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.add-form-button a.button {
    width: 100%;
}


.search__form .button-add-text {
    display: block !important;
    padding-top: 8px;
    font-size: 13px;
}

.search__form .btt {
    display: block;
}

.button-add-text svg {
    display: none;
}

.company_logo {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    vertical-align: middle;
    margin-right: 4px;
}


.company_item_wrapper {
    margin: 0px 20px;
}

.company_item_table {
    width: 100%;
}

.company-salary-link {
    text-decoration: underline;
}

.company-h1 {
    font-size: 20px;
    margin-bottom: 10px;
}
.company-logo {
    /*display: inline;*/
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.company-description {
    margin-bottom: 20px;
}

.cb {
    clear: both;
}

/*candidates*/
.candidate-cards {
    height: auto !important;
}

.main-switch .choice__link {
    width: 86px !important;
}

.candidate-cards .cards__top {
    border-bottom: none !important;
    padding-bottom: 5px;
}

.candidate-cards .meet-cards-img {
    height: 40px;
    width: 50px;
}