main {
  background: #f5fbff;
  padding-top: 116px;
  padding-bottom: 140px;
  position: relative;
}
main::before {
  content: "";
  position: absolute;
  width: 401px;
  height: 401px;
  border-radius: 401px;
  opacity: 0.25;
  background: var(--gradient, linear-gradient(180deg, #1596dd 0%, #2a9cda 51.04%, #33bae7 100%));
  filter: blur(150px);
  top: 20px;
  right: 0px;
  z-index: 0;
  left: unset;
}

.apply-button {
  width: 100%;
  background-color: #1596DD;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.breadcrums {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
  flex-wrap: wrap; /* Додано для мобільних */
}

/* Обгортка лівої колонки */
.left-column-wrapper {
  width: 100%;
}

/* Блок схожих вакансій */
.similar-vacancies-block {
  margin-top: 40px;
}

.similar-vacancies-block h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Картка вакансії */
.similar-vacancy-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
}

/* Кнопки дій в кутку картки */
.vacancy-card-actions {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
}

.vacancy-action-btn {
  background: transparent;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  transition: background 0.2s, border-color 0.2s;
}

.vacancy-action-btn:hover {
  background: #f9f9f9;
  border-color: #ccc;
}

/* Заголовок вакансії всередині картки */
.similar-vacancy-title {
  font-size: 24px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 15px;
  padding-right: 100px;
  font-weight: 600;
  color: #000;
}

a .similar-vacancy-card {
    transition: box-shadow 0.2s;
}
a:hover .similar-vacancy-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Опис вакансії (Excerpt) */
.vacancy-excerpt {
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

.ask-question {
  box-shadow: 0px 4px 8px 0px #00000014;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  position: relative;
  margin-bottom: 12px;
}

.ask-question h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-top: 0px;
  color: #000000;
  margin-bottom: 14px;
}

.ask-question textarea {
  border-radius: 12px;
  border: 1px solid #E4E4E4;
  padding: 8px;
  font-size: 16px;
  line-height: 24px;
  padding-right: 44px;
  width: 100%;
  height: 134px;
  resize: none;
}

.ask-question .send-question {
  position: absolute;
  top: 58px;
  right: 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.hot-jobs {
  background-color: #1596DD;
  box-shadow: 0px 4px 8px 0px #00000014;
  padding: 12px 4px 4px 4px;
  border-radius: 12px;
}

.hot-jobs h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  margin-top: 0px;
  margin-left: 8px;
}

.hot-jobs .hot-jobs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hot-jobs .hot-jobs-list .hot-job-item a{
  background-color: #fff;
  padding: 10px 8px;
  border-bottom: 1px solid #E9E9E9;
  display: block;
  text-decoration: none;
}

.hot-jobs .hot-jobs-list .hot-job-item:last-child a {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom: none;
}

.hot-jobs .hot-jobs-list .hot-job-item .hot-job-title {
  color: #000000;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hot-jobs .hot-jobs-list .hot-job-item .location {
  display: flex;
  align-items: center;
  color: #494949;
  gap: 8px;
  margin-bottom: 12px;
}

.hot-jobs .hot-jobs-list .hot-job-item .location svg {
  min-width: 24px;
}

.hot-jobs .hot-jobs-list .hot-job-item .hot-jobs-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hot-jobs .hot-jobs-list .hot-job-item .hot-jobs-meta .item {
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  font-size: 12px;
  padding: 5px 10px;
  color: #000000;
  font-weight: 500;
}

.container {
  max-width: 1312px !important;
}

main > .container > .flex-wrapper {
  display: flex;
  gap: 40px;
}

.small_container {
  width: 100%;
  padding: 0 20px;
}
.small_container .flex-wrapper {
  display: flex;
  gap: 33px;
}

aside {
  max-width: 304px;
  width: 100%;
}

.white_wrapper {
  background: #fff;
  margin: 0 auto;
  box-shadow: 0px 3px 25px 0px #359fd926;
  border-radius: 12px;
  padding: 30px;
  max-width: 975px;
  width: 100%;
}

.info {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.info .name {
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
  margin-bottom: 12px;
}

.info .location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1596DD;
  margin-bottom: 25px;
}

.info .value {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* Додано для мобільних */
}

.info .value .meta-item {
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  padding: 0 10px;
  white-space: nowrap;
}

.info .working_schedule {
  width: 100%;
  margin-bottom: 20px;
}

.info .working_schedule .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;  
  gap: 15px; /* Запобігає наїзду Share на заголовок */
}

.info .working_schedule .share {
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  border-radius: 8px;
  margin-top: 0;
  gap: 7px;
  display: flex;
  align-items: center;
}

.content {
  margin-bottom: 40px;
}
.content h2 {
  color: #132a40;
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
  margin-bottom: 30px;
  margin-top: 0;
}
.content h3 {
  color: #132a40;
  font-family: "Poppins", Sans-serif;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
}
.content p {
  color: #132a40;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 10px;
}
.content ul,
.content ol {
  list-style: none;
  padding-left: 40px;
}
.content li {
  position: relative;
  color: #132a40;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 21px;
}
.content li::before {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' slick-uniqueid='3'%3E%3Cscript xmlns=''/%3E%3Crect width='24' height='24' rx='12' fill='url(%23paint0_linear_612_5722)'/%3E%3Cpath d='M6 11.4286L10.3636 16L18 8' stroke='white' stroke-width='2'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_612_5722' x1='12' y1='0' x2='12' y2='24' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2333BAE7'/%3E%3Cstop offset='0.510417' stop-color='%232A9CDA'/%3E%3Cstop offset='1' stop-color='%231596DD'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cdiv xmlns=''%3E%3Ca xmlns='http://www.w3.org/2000/svg' id='slick_uniqueid'/%3E%3C/div%3E%3Cscript xmlns=''/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  left: -40px;
  top: 0px;
}
.content blockquote {
  padding: 20px 30px 10px 30px;
  background: #f5fbff;
  border-left: 3px solid #1596dd;
  color: #132a40;
  display: block;
  font-size: 16px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
  line-height: 26px;
  border-radius: 6px;
  border-top-left-radius: 7px;
  margin-top: 40px;
}

.content + .btn {
  display: flex;
  justify-content: flex-end;
}

/* =========================================
   Gravity Forms та Pop-up Стилі (Без змін) 
   ========================================= */

.gform_wrapper.gravity-theme .gform_heading {
  display: none !important;
}

.gf-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}
.gf-modal-content {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  width: 100%;
  max-width: 398px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gf-modal-content h3 {
  text-align: center;
  color: #000;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin-top: 12px;
}

.gf-modal-content form {
  margin: 0 !important;
}

.gf-modal-content .gform_wrapper.gravity-theme label.gfield_label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.gf-modal-content .gform_wrapper.gravity-theme .gfield input.large:not([type="file"]){
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  font-size: 14px;
  padding: 7px 12px;
  color: #000;
  font-size: 14px;
  line-height: 21px;
}

.gf-modal-content .gform_wrapper.gravity-theme .gfield input.large:not([type="file"])::placeholder {
  color: #9CA3AF;
}

.gf-modal-content .gform_wrapper.gravity-theme input[type="checkbox"] {
  border: 1px solid #DDDDDD;
  width: 16px;
  height: 16px;
}

.gform_wrapper.gravity-theme .gfield textarea {
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  font-size: 14px;
  padding: 12px;
  color: #000;
  font-size: 14px !important;
  line-height: 21px !important;
  font-family: Poppins !important;
}

.gform_wrapper.gravity-theme .gform_fileupload_rules {
  display: none !important;
}

.gf-modal-content .subtitle {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.gf-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}
.gf-modal-close:hover {
  color: #000;
}

.gform_wrapper.gravity-theme .gform_footer input {
  width: 100% !important;
  height: 41px !important;
  border-radius: 6px;
  background-color: #1596DD;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.gform_wrapper.gravity-theme .gform_footer {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.gform_wrapper .gfield_required {
  font-size: 15px !important;
}


/* =========================================
   Медіа-запити (Адаптив)
   ========================================= */

@media screen and (max-width: 920px) {
  .small_container .flex-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  aside {
    max-width: 100%; /* Дозволяє сайдбару тягнутися на всю ширину при згортанні */
    width: 100%;
  }
}

@media screen and (max-width: 676px) {
  main {
    padding-top: 80px; /* Трохи менше простору на мобільному зверху */
  }

  .container {
    padding: 0 10px;
  }

  .white_wrapper {
    padding: 20px;
  }

  .info .working_schedule {
    padding-left: 0;
  }

  .info .name {
    font-size: 20px; /* Зменшено заголовок для мобільного */
    line-height: 30px;
  }

  /* Правки для карток на мобільному */
  .similar-vacancy-card {
    padding: 20px; 
  }

  .vacancy-card-actions {
    top: 20px;
    right: 20px;
  }

  .similar-vacancy-title {
    font-size: 20px;
    line-height: 30px;
    padding-right: 50px; /* Щоб не наїжджало на кнопку Share */
  }

  /* Контент */
  .content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 34px;
  }
  .content h3 {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 30px;
  }
  .content blockquote {
    padding: 20px 20px 10px 20px;
  }
}

@media screen and (max-width: 520px) {
  .small_container {
    padding: 0;
  }

  .info .working_schedule .top {
    flex-direction: column; /* Якщо екран зовсім малий, Share падає під заголовок */
    gap: 10px;
  }
}