body,
table {
  width: 100%;
}
.--modal-cities,
.--modal-cities .--close span::after {
  width: 0;
  height: 0;
}
header .--container,
nav ul {
  gap: 10px;
}
nav a,
nav ul {
  padding: 10px;
}
.button:hover,
nav .--active {
  background-color: var(--green-active);
}
.--left-box li b,
.button,
header .--city-bl a {
  font-family: b, Arial, Helvetica, sans-serif;
}
*,
.--row .--box,
.faq-item,
::after,
::before {
  box-sizing: border-box;
}
.result-value,
p {
  line-height: 1.2;
}
@font-face {
  font-family: "b";
  src:
    url("../fonts/Exo2-Bold.woff2") format("woff2"),
    url("../fonts/Exo2-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "r";
  src:
    url("../fonts/Exo2-Regular.woff2") format("woff2"),
    url("../fonts/Exo2-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "m";
  src:
    url("../fonts/Exo2-Medium.woff2") format("woff2"),
    url("../fonts/Exo2-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --green-active: #ed0e00;
  --green-cover: #141414;
  --green-content: #141414;
  --green-accent: #ed0e00;
  --yellow: #e3ff52;
}
* {
  margin: 0;
  padding: 0;
}
button {
  background: 0 0;
  border: none;
  outline: 0;
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  color: var(--yellow);
  border-bottom: 1px dotted var(--yellow);
  padding-bottom: 2px;
}
.--modal-cities .--modal-body li a {
  border-bottom: none;
}
ul {
  list-style-type: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
.--container,
.--modal-cities,
.--row,
.--row .--box,
.button,
body,
section {
  display: flex;
}
table {
  border-collapse: collapse;
}
::selection {
  background: var(--green-active);
}
body,
html {
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}
html {
  scroll-behavior: smooth;
}
body {
  height: 100%;
  flex-direction: column;
  color: #333;
  font-family: r, Arial, Helvetica, sans-serif;
  position: relative;
  flex-wrap: nowrap;
  overflow: auto;
  opacity: 1 !important;
  font-size: 18px;
}
h3 {
  font-family: b;
  font-size: 24px;
}
p {
  font-size: 18px;
}
.--modal-cities {
  position: fixed;
  left: 0;
  top: 0;
  background: 0 0;
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  overflow: auto;
}
.--modalFade,
.--row .--box,
header {
  background: var(--green-cover);
}
.--modal-cities .--close {
  margin-top: 20px;
  width: auto;
  margin-bottom: 10px;
  list-style-type: none;
}
.--modal-cities .--close span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 100%;
  border: 1px solid #fff;
  padding: 10px 5px;
  cursor: pointer;
}
.--fdc,
.--left-box {
  flex-direction: column;
}
.--modal-cities .--close span i {
  width: 25px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 4px;
}
.--modal-cities .--close span .--one {
  transform: rotateZ(45deg) translateY(4px) translateX(4px);
}
.--modal-cities .--close span .--two {
  transform: rotateZ(-45deg) translateY(-3px) translateX(3px);
}
.--modal-cities .--modal-body {
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 20px;
}
.--modal-cities .--modal-body input {
  padding: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #fff;
  outline: 0;
  border: 4px solid transparent;
  transition: border-color 0.2s ease-in-out;
  font-size: 18px;
  color: #333;
  width: 100%;
}
.--modal-cities .--modal-body input:hover {
  border-color: var(--green-active);
}
.--modal-cities .--modal-body ul {
  height: 350px;
  overflow: auto;
  background: var(--green-content);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.--modal-cities .--modal-body li {
  background-color: transparent;
  border-bottom: 1px solid #ffffff26;
}
.--modal-cities .--modal-body li a {
  color: #fff;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 20px;
}
.--modal-cities .--modal-body li a:hover {
  transition: 0.2s ease-in-out;
  background-color: var(--green-active);
}
.--modalFade {
  width: 100%;
  height: 100%;
}
.button,
nav a {
  background-color: transparent;
  color: #fff;
}
.--container {
  max-width: 1600px;
  margin: auto;
  width: 100%;
}
section {
  height: 100%;
  width: 100%;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
}
.button {
  font-size: 30px;
  border: 2px solid #fff;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  transition: background-color 0.2s ease-in-out;
}
.--content,
.--left-box {
  background: var(--green-content);
}
.--caption-h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 30px;
}
.--row {
  flex-wrap: wrap;
  gap: 20px;
}
.--row .--box {
  flex: 0 0 calc(25% - 15px);
  padding: 20px;
  border-radius: 10px;
  flex-direction: column;
  border: 4px solid white;
  color: #fff;
}
.--row .--box p {
  font-size: 16px;
  line-height: 1.4;
}
header {
  position: fixed;
  z-index: 20;
  width: 100%;
}
header .--control {
  display: none;
}
header .--top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  flex: 1 0 auto;
}
header .--logo-link {
  border: none;
}
header .--city-bl,
nav ul {
  display: flex;
}
header .--city-bl i {
  display: flex;
  align-items: flex-end;
}
header .--city-bl a {
  color: #fff;
  font-size: 16px;
  border-bottom: 1px dotted #fff;
  padding-bottom: 2px;
}
.--headerNav {
  display: flex;
  align-items: center;
}
nav a {
  display: block;
  border-radius: 2px;
  font-size: 16px;
  border: 1px solid transparent;
  border-color: white;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}
nav .--active {
  border-color: transparent;
}
.--accent-btn a {
  background: #e3ff52;
  color: rgb(51, 51, 51);
}
.--content {
  position: relative;
  height: 100%;
  width: 100%;
}
.section1 {
  margin-top: 97px;
}
.--left-box {
  width: 50%;
  overflow: auto;
  color: #fff;
  padding: 40px;
  display: flex;
  gap: 40px;
}
.--right-box {
  width: 50%;
}
.--left-box h1 {
  font-size: 40px;
  word-wrap: break-word;
}
.--left-box .--chose-city {
  font-size: inherit;
}
.--right-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.--left-box h2 {
  font-size: 24px;
}
.--left-box ul {
  border: 4px solid white;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  background: var(--green-accent);
}
.--left-box li {
  font-size: 22px;
  display: flex;
  align-items: center;
}
.--left-box li b {
  color: var(--yellow);
}
.--left-box li i {
  margin-right: 20px;
}
.--content > section:last-of-type {
  padding-bottom: 40px;
}
.section2,
.section3,
.section4 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
section.section1 {
  padding: 0;
}
.section4 .--box h3 {
  text-align: center;
  margin-bottom: 20px;
  background: var(--green-active);
  min-height: 80px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
}
.section4 .--box i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  border-radius: 100%;
  padding: 20px;
  border: 1px solid #fff;
  font-style: normal;
  font-weight: 600;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.earnings-info {
  padding: 20px;
  border: 1px solid white;
  border-radius: 10px;
  margin-bottom: 10px;
  color: #fff;
}
.--pre-section,
.--calc-section,
.--faq-section,
.--how-section,
.--near-section,
.--rev-section,
.--vac-section {
  background: #fff;
}
.--pre-section .--container,
.--calc-section .--container,
.--faq-section .--container,
.--how-section .--container,
.--near-section .--container,
.--rev-section .--container,
.--vac-section .--container {
  background: var(--green-content);
}
.section3,
.section4 {
  overflow: auto;
}
.section2 .--container,
.section3 .--container,
.section4 .--container {
  border-radius: 10px;
  padding: 40px;
  border: 1px solid #ffffff29;
}
.calculator-container {
  max-width: 640px;
  margin: 0 auto;
  background: var(--green-cover);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border: 4px solid white;
}
.city-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-bottom: 20px;
}
.city-info span {
  color: #fff;
}
.calculator-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: #fff;
}
.role-buttons,
.slider-container {
  margin-bottom: 28px;
}
.role-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.role-btn {
  flex: 1 0 140px;
  padding: 12px 10px;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: 0.2s;
  white-space: normal;
  color: #000;
  border-style: solid;
  border-width: 2px;
  border-color: transparent;
}
.role-btn.active {
  background: var(--green-accent);
  color: white;
  border-color: white;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: #fff;
}
.income-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e9ecef;
  outline: 0;
  margin: 10px 0;
  touch-action: manipulation;
}
.income-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
  background: #e9ecef;
}
.income-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  margin-top: -9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: 0.15s;
}
.income-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.income-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
  background: #e9ecef;
}
.income-slider::-moz-range-progress {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
}
.income-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--green-active);
  cursor: pointer;
  margin-top: -5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: 0.15s;
}
.income-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.income-slider::-ms-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: 0 0;
  border-color: transparent;
  color: transparent;
}
.income-slider::-ms-fill-lower {
  background: #0d6efd;
  border: 0.6px solid #e9ecef;
  border-radius: 3px;
}
.income-slider::-ms-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: 0.15s;
}
.income-slider::-ms-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.result-container {
  text-align: center;
  margin-top: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
.faq-answer,
.faq-answer-content,
.faq-item,
.faq-question {
  background-color: var(--green-content);
}
.result-title {
  font-size: 18px;
  color: #212529;
  margin-bottom: 8px;
}
.result-value {
  font-size: 32px;
  font-weight: 700;
  color: #212529;
}
.currency {
  font-size: 22px;
  vertical-align: super;
}
#calc
  .result-value:has([data-has-city="false"])
  .result-value
  span#income-amount {
  color: #999;
  font-style: italic;
  font-size: 1.1rem;
}
.--no-city .result-value #income-amount {
  color: #212529;
  font-style: italic;
  font-size: 1.1rem;
}
.calc-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 20px;
}
.calc-bottom p {
  color: #fff;
  font-size: 13px;
}
.--rev-date {
  color: #fff;
  font-size: 12px;
}
.faq-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 4px solid white;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
.faq-question {
  color: #fff;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  transition: color 0.4s ease-in-out;
  position: relative;
  z-index: 2;
  font-size: 20px;
}
.faq-question.active {
  color: #e3ff52;
}
.faq-answer {
  overflow: hidden;
  transition:
    max-height 0.4s ease-in-out,
    padding 0.4s ease-in-out;
  max-height: 0;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
.faq-answer-content {
  padding: 20px;
  color: #fff;
  transition: background-color 0.4s ease-in-out;
}
.faq-item.active .faq-answer {
  max-height: 3000px;
}
.faq-item.active .faq-answer-content {
  background-color: var(--green-content);
  padding-top: 20px;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.section-nearby {
  background: var(--green-content);
}
.section-nearby .--row .--box {
  flex: 1 0 calc(33.33% - 15px);
}
.nearby-card {
  border-bottom: none;
}
.nearby-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee2e;
}
.nearby-card__header h3 {
  color: #333;
}
.nearby-card__distance {
  background: #e8f5e9;
  color: #333;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
}
.nearby-card__body {
  flex: 1;
}
.nearby-card__label {
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
}
.nearby-card__income {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.nearby-card__income strong {
  font-size: 30px;
}
.nearby-card__hint {
  margin: 0;
  color: #fff;
  font-size: 13px;
}
.nearby-card__footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eeeeee2e;
}
footer {
  background: var(--green-content);
  color: rgba(255, 255, 255, 0.86);
  padding: 80px 20px;
}
.footer__nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr 1.6fr;
  gap: 24px;
  align-items: start;
}
.footer__col {
  list-style: none;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__title b {
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.2px;
}
.footer__col a,
.footer__col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: 0.25s;
  word-break: break-word;
  border: none;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.footer__col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer__col a:hover::before {
  background: #fff;
}
.--prav-info p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}
.footer__col:focus-within,
.footer__col:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
}

@media (max-width: 1599px) {
  .--left-box .button {
    font-size: 24px;
  }
}
@media (max-width: 1399px) {
}
@media (max-width: 1350px) {
  .--caption-h2,
  .--left-box h1 {
    font-size: 34px;
  }
}
@media (max-width: 1100px) {
  .--part1 {
    flex-direction: column;
  }
  .--left-box {
    width: 100%;
  }
  .--right-box {
    display: none;
  }
  .--row .--box,
  .section-nearby .--row .--box {
    flex: 0 0 calc(50% - 10px);
  }
  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col {
    height: 100%;
  }
}
@media (max-width: 890px) {
  .--row .--box {
    flex: 0 0 100%;
  }
  .nearby-card__header h3 {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .--row .--box p,
  p {
    line-height: 1.3;
    font-size: 16px;
  }
  .faq-answer-content,
  .faq-question {
    padding: 16px;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer__col {
    padding: 20px 18px;
    border-radius: 18px;
  }
  .footer__title b {
    font-size: 17px;
  }
  .footer__col a,
  .footer__col p {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  header .--container {
    flex-direction: column;
    gap: 0;
  }
  .--headerNav,
  header .--top {
    justify-content: center;
  }
  header .--logo-link img {
    width: 45px;
  }
  .section1 {
    margin-top: 123px;
  }
}
@media (max-width: 650px) {
  .--left-box h1 {
    font-size: 30px;
  }
  .--left-box h2 {
    font-size: 20px;
  }
  .--caption-h2 {
    font-size: 28px;
  }
  .--left-box li span {
    font-size: 18px;
  }
  .--left-box .button {
    font-size: 20px;
    text-align: center;
  }
  .section-nearby .--row .--box {
    flex: 1 0 auto;
  }
}
@media (max-width: 500px) {
  .--left-box h1 {
    font-size: 24px;
  }
  .--left-box .button,
  .--left-box h2 {
    font-size: 18px;
  }
  .--left-box li span {
    font-size: 16px;
  }
  section {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .--content > section:last-of-type {
    padding-bottom: 10px;
  }
  .section2 .--container,
  .section3 .--container,
  .section4 .--container,
  footer {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .calculator-container {
    padding: 16px;
  }
  .role-btn {
    flex: 1 0 45%;
    font-size: 13px;
    padding: 10px 8px;
  }
  .result-value {
    font-size: 28px;
  }
  .footer__col {
    padding: 18px 16px;
  }
  .footer__title {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
}
@media (max-width: 400px) {
  .--left-box h1 {
    font-size: 20px;
  }
  .--left-box .button,
  .--left-box h2 {
    font-size: 16px;
  }
  .--left-box li span {
    font-size: 14px;
  }
}

/* ============================================
   БАЗОВЫЕ ОБЩИЕ СТИЛИ СЕКЦИЙ
   ============================================ */

.--contentVac-section {
  background: white;
}

.--contentVac-section h3 {
  padding-top: 20px;
}

.--contentVac-section .--container {
  background: var(--green-content);
}

.--contentVac-section .--caption-h2 {
  color: white;
}

.--contentVac-section .advantages__container {
  max-width: 640px;
  margin: auto;
}

.--vac-section .--container,
.--near-section .--container {
  background: white;
  box-shadow: 0px 0px 14px 0px rgb(0 0 0 / 13%);
  border: 1px solid #00000024;
}

.--vac-section .--caption-h2,
.--near-section .--caption-h2,
.advantages__card-text a {
  color: #333;
}

/* Заголовки h2 */
.advantages__title,
.vacancies__title,
.nearby-vacancies__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 40px;
  color: #1a1a1a;
  text-align: center;
}

/* Списки (ul) */
.advantages__list,
.vacancies__list,
.nearby-vacancies__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Элементы списка (li) */
.advantages__item,
.vacancies__item,
.nearby-vacancies__item {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  display: flex;
}

/* Базовые карточки */
.advantages__card,
.vacancies__card,
.nearby-vacancies__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 13px 8px rgb(0 0 0 / 13%);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.advantages__card,
.nearby-vacancies__card {
  padding: 24px;
  background-color: #f8f9fa;
}

.vacancies__card {
  background-color: #ffffff;
  overflow: hidden;
}

/* Заголовки h3 в карточках */
.advantages__card-title,
.vacancies__card-title,
.nearby-vacancies__city {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #2d2d2d;
}

/* Тексты в карточках */
.advantages__card-text,
.vacancies__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #555555;
}

.vacancies__card-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Общие стили для кнопок (вакансии + nearby) */
.vacancies__btn,
.nearby-vacancies__btn {
  display: inline-block;
  padding: 20px;
  background-color: var(--green-content);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-align: center;
  border-bottom: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.vacancies__btn:hover,
.nearby-vacancies__btn:hover {
  background-color: var(--green-accent);
}

.nearby-vacancies__btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.vacancies__content a.vacancies__card-title {
  transition: color 0.2s ease-in-out;
}
.vacancies__content a.vacancies__card-title:hover {
  color: var(--green-accent);
}

/* ============================================
   СПЕЦИФИЧНЫЕ СТИЛИ: ADVANTAGES
   ============================================ */
.advantages__card {
  height: 100%;
}

/* ============================================
   СПЕЦИФИЧНЫЕ СТИЛИ: VACANCIES
   ============================================ */
.vacancies__image-wrap {
  position: relative;
  overflow: hidden; /* Чтобы размытие не выходило за границы контейнера */
}

.vacancies__image-wrap .blur {
  filter: blur(30px); /* Размываем само изображение */
  position: absolute;
  inset: 0; /* Современная замена top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* Растягиваем на весь блок */
  z-index: 0; /* Отправляем НА ЗАДНИЙ план */
  transform: scale(1.1); /* Увеличиваем, чтобы скрыть размытые края */
}

.vacancies__image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1; /* Основная картинка ПОВЕРХ размытой */
}

.vacancies__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

/* ============================================
   СПЕЦИФИЧНЫЕ СТИЛИ: NEARBY VACANCIES
   ============================================ */
.nearby-vacancies__list {
  align-items: stretch;
}

.nearby-vacancies__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.nearby-vacancies__city {
  margin: 0;
}

.nearby-vacancies__distance {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  background-color: #eef2ff;
  padding: 4px 10px;
  border-radius: 20px;
}

.nearby-vacancies__body {
  flex-grow: 1;
  margin-bottom: 20px;
}

.nearby-vacancies__label {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 8px;
}

.nearby-vacancies__income {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.nearby-vacancies__hint {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0;
}

.nearby-vacancies__footer {
  margin-top: auto;
}

/* ============================================
   АДАПТИВНОСТЬ (объединённые медиа-запросы)
   ============================================ */

/* Планшет: ≤ 1024px — 2 карточки в ряд */
@media (max-width: 1024px) {
  .advantages__item,
  .vacancies__item,
  .nearby-vacancies__item {
    flex: 1 1 calc(50% - 12px);
  }

  .advantages__title,
  .vacancies__title,
  .nearby-vacancies__title {
    font-size: 1.75rem;
  }

  .vacancies__image {
    height: 180px;
  }
}

/* Мобильный: ≤ 768px — 1 карточка в ряд */
@media (max-width: 768px) {
  .advantages__item,
  .vacancies__item,
  .nearby-vacancies__item {
    flex: 1 1 100%;
    min-width: unset;
  }

  .advantages__list,
  .vacancies__list,
  .nearby-vacancies__list {
    gap: 16px;
  }

  .advantages__title,
  .vacancies__title,
  .nearby-vacancies__title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .advantages__card,
  .nearby-vacancies__card {
    padding: 20px;
  }

  .vacancies__image {
    height: 160px;
  }

  .vacancies__content {
    padding: 16px;
  }

  .advantages__card-title,
  .vacancies__card-title,
  .nearby-vacancies__city {
    font-size: 1.125rem;
  }

  .vacancies__btn {
    font-size: 0.9375rem;
  }

  .nearby-vacancies__income {
    font-size: 1.375rem;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  background: white;
  padding-top: 40px;
}

.breadcrumbs a {
  color: #333;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #333;
}

.breadcrumbs .separator {
  color: #333;
}

form {
  border: 4px solid white;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--green-content);
}

form .--select-city {
  border: 2px solid #e3ff52;
}

form .--select-city a {
  display: block;
  padding: 10px;
  text-decoration: none;
  cursor: pointer;
  border-bottom: none;
}

form button[type="submit"] {
  background-color: #e3ff52;
  color: rgb(51, 51, 51);
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}

.--form-group {
  display: flex;
  flex-direction: column;
}

.--form-group p {
  color: white;
}

.--form-group input,
.--form-group select {
  width: 100%;
  font-family: r, Arial, Helvetica, sans-serif;
  font-size: 18px;
  padding: 10px;
  outline: none;
  border: none;
}

.--form-group input::placeholder {
  color: black;
}

.--form-group select {
  cursor: pointer;
}

.--form-group label {
  margin-bottom: 5px;
  color: white;
}

form button {
  width: 100%;
}
