.benefit-card-new {
    background: #35468E;
    border-radius: 20px;
}

.benefit-title, .benefit-description {
    color: #ffffff !important;
}

.benefits, .ask-question {
    padding-top: 30px;
}

/* Переопределяем стили для новых карточек */
.item.benefit-card-new h5,
.benefit-card-new .benefit-title {
    color: #ffffff !important;
    font-size: 23px; 
    font-weight: 600;
}

.item.benefit-card-new p,
.item.benefit-card-new .benefit-description,
.benefit-card-new .benefit-description p {
    color: #ffffff !important;
    font-size: 20px;

}

.items-wrap {
    margin-bottom: 30px;
}

/* Если нужно переопределить стили картинок */
.item.benefit-card-new img {
    margin-bottom: 15px;
    width: 80px;
}

.content-subtitle {
    font-size: 25px;
    color: #000;
}

.content-header {
    margin-bottom: 40px;
    font-weight: 600;
}

/* 1. Общий фон секции (светло-серый, как на фото) */
.corp-dual-section {
    padding: 50px 0; /* Отступы сверху и снизу */
    padding-top: 10px;
}

/* 2. Ограничитель по ширине (чтобы контент не растягивался на весь экран) */
.inner-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 3. Сетка для двух колонок */
.grid-two-cols {
    display: grid;
    /* Две колонки одинаковой ширины (1fr 1fr) */
    grid-template-columns: 1fr 1.7fr; 
    gap: 30px; /* Расстояние между блоками */
    align-items: stretch; /* Или вообще убрать эту строку — stretch по умолчанию */

}

/* 4. Стили для самих белых карточек */
.news-column, 
.about-column {
    border-radius: 20px; 
    padding: 35px;     
    box-shadow: 0 5px 20px rgba(0,0,0,0.2); 
    text-align: justify;
    overflow-y: auto; 
    scrollbar-gutter: stable; 
    box-sizing: border-box;
}

.news-column {
    overflow-y: auto;         
    background: #EEF1F6CC;
    max-height: 510px;
    height: 100%;           
    align-self: stretch;
}

.news-column::-webkit-scrollbar {
        background: #ffffff;

}

/* 2. Фон под ползунком (трек) */
.news-column::-webkit-scrollbar-track {
    background: #ffffff;
    margin: 5px 5px; 
}

/* 3. Сам ползунок (thumb) */
.news-column::-webkit-scrollbar-thumb {
    background-color: #B1BCD1; 
    border-radius: 10px;
}

.about-column {
    color: #000;
    font-size: 17px;
    position: relative;
    overflow: hidden;   
    z-index: 1;    
    align-self: start; 

}

.about-column::before {
    content: "";
    position: absolute;
    
  
    top: 50%;
    right: -120px;
    transform: translateY(-50%); 
    
    width: 400px;
    height: 400px; 
    
    background-image: url('/assets/img/lombard_label.svg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    
    opacity: 1; 
    
    z-index: -1;
    pointer-events: none; 
}

/* 5. Заголовки */
.heading-news, 
.heading-about {
    font-size: 29px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}


.news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; 
}
.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news_title {
    color: #000000;
    font-weight: 600;
}

@media (max-width: 960px) {
    .grid-two-cols {
        grid-template-columns: 1fr; /* 🔥 Одна колонка вместо двух */
    }
    
    .news-column {
        height: auto;
    }
}

/*JOB OFFERS*/
/* ── Основной блок ── */
.join-team {
	padding: 0;
}

.join-team__inner {
	display: flex;
    justify-content: center;
	gap: 20px;
	align-items: start;
	overflow: hidden;
}


/* ── Левая часть ── */
.join-team__content {
	padding: 0 50px 40px 40px;
}

.join-team__title {
	font-size: 55px;
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 24px;
    color: #000000;
}

.join-team__subtitle {
	font-size: 24px;
	margin: 0 0 36px;
    font-weight: 700;
    color: #000000;
}


/* ── Список гарантий ── */
.join-team__guarantees {
	display: flex;
	flex-direction: column;
	gap: 32px;
}


/* ── Одна гарантия ── */
.guarantee {
	display: flex;
	gap: 20px;
    align-items: center;

}


/* Иконка в круге */
.guarantee__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;

	/* Чтобы SVG внутри масштабировался */
	box-sizing: border-box;
}

.guarantee__icon {
	width: 130px;
	height: auto;
	/* Убираем лишний отступ */
	display: block;
}


/* Текстовая часть гарантии */
.guarantee__body {
	padding-top: 4px; /* компенсация высоты круга для выравнивания с заголовком */
}

.guarantee__heading {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
    color: #000;
}

.guarantee__list {
	padding: 0;
	margin: 0;
    min-width: 480px;
    padding-left: 25px;
    color: #3F3F3F;
    
}

.guarantee__list li {
    position: relative;
    font-size: 20px;
}



/* ── Правая часть: картинка ── */
.join-team__image {
	/* Картинка на всю высоту правой колонки */
	/* height: 100%; */
	/* max-height: 700px; */

	overflow: hidden;
	border-radius: 12px;
}

.join-team__image img {
	/* width: 100%;
	height: 100%; */
	display: block;
}


.vacancies-wrapper {
    margin-bottom: 20px;
    width: 100%;
}

.vacancies-info div{
    margin-bottom: 20px;
}

.vacancies-section .container {
    justify-content: center;
    display: flex;
    max-width: 1200px;
} 

.vacancies-section {
    background: #F9FAFB;
    margin-top: 30px;
    padding-top: 30px;
    margin-bottom: 15px;
}

.vacancies-title {
    color: #000000;
    font-size: 50px;
    font-weight: 700;
}

/* Общий контейнер */
.vacancy-item {
    margin-bottom: 15px;
}

/* Шапка вакансии */
.vacancy-header {
    margin: 15px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.vacancy-meta li {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 300px;
    justify-content: space-between;

}

/* Город - светло-серый фон */
.meta-city {
    background: #F0F1F3;
    color: #3F3F3F;
    font-weight: 500;
}

/* Должность - желтый фон (золотой) */
.meta-position {
    background: #FFD700;
    color: #000;
    cursor: pointer;
    transition: background 0.3s ease;
}

.meta-position:hover {
    background: #FFC700;
}

/* Зарплата - светло-серый фон */
.meta-price {
    background: #F0F1F3;
    color: #3F3F3F;
    font-weight: 500;
}

/* Стили для блоков с текстом */
.vacancy-block {
    background: #ffffff; /* Светло-серый фон, как на скрине */
    padding: 30px;
    border-radius: 16px; /* Скругленные углы */
    margin-bottom: 20px; /* Отступ между блоками */
}

.vacancy-block:last-child {
    margin-bottom: 0;
}

.info-block {
    background: #ffffff; /* Светло-серый фон, как на скрине */
    padding: 30px;
    border-radius: 16px; /* Скругленные углы */
}

.text-motivation {
    font-size: 30px;
    color: #000000;
    padding: 0 0 20px;
    font-weight: 700;
    line-height: 1;

}

.block-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #000;
}

/* Стили для списка внутри блока */
.block-content ul {
    margin: 0;
    padding-left: 20px;
}

.block-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #3F3F3F;
}

.block-content li:last-child {
    margin-bottom: 0;
}

/* Скрываем контент по умолчанию */
.vacancy-content {
    display: block;
	opacity: 1;

}

/* Показываем когда есть класс is-open */
.vacancy-item.is-open .vacancy-content {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Поворот стрелки */
.meta-arrow {
	transition: transform 0.3s ease;
	transform: rotate(0deg);
}

.vacancy-item.is-open .meta-arrow {
	transform: rotate(180deg);
}

/* Курсор на заголовке */
.vacancy-toggle {
	cursor: pointer;
	user-select: none;
}

.contacts-phone, .contacts-email {
    text-decoration: underline;
}


.mobile-only { display: none; }
.desktop-only { display: inline-block; margin: 0 15px; }

/* Мобильные устройства (меняй 768px под свой брейкпоинт) */
@media (max-width: 960px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; margin: 0 10px 5px; text-align: center; }
}

/* 🔥 Скрываем обе кнопки, если приложение уже установлено (PWA standalone) */
@media (display-mode: standalone) {
    .pwa-install-link { display: none !important; }
}

#pwa-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pwa-modal > div {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

#pwa-modal h3 {
  margin: 0 0 20px;
}

#pwa-modal button {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#pwa-modal #pwa-modal-btn {
  background: #007bff;
  color: white;
}

#pwa-modal #pwa-modal-skip {
  background: #eee;
}

/* ==================== КОНТЕЙНЕР ==================== */
.site-footer {
  padding: 2.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  width: 100%;
  justify-content: space-around;

}

/* ==================== ЛОГОТИП ==================== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-logo {
  width: 200px;
  height: auto;
}

.footer-brand-desc {
  margin-top: 5px;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ==================== ПОЛИТИКА ==================== */
.footer-legal {
    text-align: center;
    align-items: center;
}

.footer-policy-link {
  text-decoration: none;
  padding: 0.3rem 0;
  transition: all 0.25s ease;
      font-size: 15px;

}

/* ==================== КОНТАКТЫ ==================== */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-phone-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-phone-link {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-requisites {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.center-box {
    max-width: 750px;
    width: 100%;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1000px) {  
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

}

/* ── Адаптив: на планшетах и мобильных ── */

@media (max-width: 1500px) {
    .vacancies-section .container {
        justify-content: center;
        display: flex;
        width: 90%;
    } 
    
    .join-team .container {
        padding: 0;
    }
}


@media (max-width: 1300px) {

    .join-team__inner, .join-team__content{
        width: 100%;
        align-items: stretch;
    }

    .join-team__image  {
        display: none;
    }

    .guarantee {
        justify-content: center;
    }

    .guarantee__heading {
        font-size: 25px;
    }

    .guarantee__list {
        font-size: 17px;
        min-width: 500px;
    }

    .guarantee__body {
        padding-left: 20px;
    }

    .guarantee__icon {
        width: 140px;
    }

    .join-team__content {
        padding-top: 0;
    }

    .join-team__title {
        text-align: center;
        font-size: 30px;
    }

    .join-team__title br {
		display: none;
	}

    .join-team__subtitle {
        text-align: center;
    }

}

@media (max-width: 768px) {
    .join-team .container {
        padding: 0;
    }

    .join-team__content {
        padding: 0;
    }

    .join-team__title {
        font-size: 25px;
    }

    .guarantee__icon {
        width: 120px;
    }

    .guarantee {
        flex-direction: column;
    }

    .guarantee__list {
        font-size: 15px;
        min-width: 100%;
    }

    .guarantee__body {
        padding-left: 0;
    }

    .join-team__subtitle {
        margin-bottom: 20px;
    }

        .vacancies-section .container {
        width: 100%;
        padding: 0 10px;
    } 

    .guarantee__heading {
        text-align: center;
    }

    .vacancy-block {
        padding: 10px;
    }

    .vacancies-title {
        font-size: 30px;
        text-align: center;
    }

    .vacancy-meta {
        justify-content: center;
    }

    .vacancy-meta li {
        width: 100%;
        min-width: 0;
    }

    .text-motivation {
    font-size: 20px;
    }

    .contacts-email, .contacts-phone {
        font-size: 12px;
    }
}

@media (max-width: 350px) {
    .guarantee__list li {
        font-size: 15px;
    }
}
