

/* Start:/local/templates/.default/components/bitrix/news.detail/project_landing_red_index_test/include/style_header_hero.css?17920740426339*/
/* Hero шапка Морской Ривьеры (главная + /projects/rivera/) */

/* Фон абсолютом: без серой полосы снизу и без обрезки CTA (overflow:hidden нельзя) */
html body .header_jk.--restyle {
  position: relative;
}

html body .header_jk.--restyle > img {
  position: absolute;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* На /projects/rivera/ картинка чуть выше — закрывает стык с меню */
html body.projectsInner .header_jk.--restyle > img {
  top: -50px;
  height: calc(100% + 50px);
}

/* Затемнение поверх фото (иначе img с z-index перекрывает ::before) */
html body .header_jk.--restyle:before {
  z-index: 1;
}

html body .header_jk.--restyle .header_jk_logo {
  z-index: 2;
}

body .header__center-box {
  max-width: 790px;
}

.header__epilog.js_header_cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-top: 28px;
  padding: 0 16px;
  box-sizing: border-box;
}

html .header__epilog.js_header_cta .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 999px;
  box-sizing: border-box;
  font-family: "Proxima Nova", "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  max-width: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

html .header__epilog.js_header_cta .header-cta--primary {
  justify-content: space-between;
  gap: 28px;
  min-width: 320px;
  padding: 14px 26px;
  background: linear-gradient(180deg, #e8d5a8 0%, #c4a46a 100%);
  color: #2c2a28 !important;
  border: none;
  border-radius: 10px;
  font-size: 20px;
}

html .header__epilog.js_header_cta .header-cta--primary:hover {
  opacity: 0.92;
}

html .header__epilog.js_header_cta .header-cta--outline {
  gap: 14px;
  padding: 10px 20px 10px 18px;
  color: #e8d5a8;
  border: 1.5px solid #c4a46a;
  background: rgba(34, 28, 22, 0.35);
  backdrop-filter: blur(4px);
  border-radius: 10px;
}

html .header__epilog.js_header_cta .header-cta--outline:hover {
  background: rgba(34, 28, 22, 0.55);
}

html .header__epilog.js_header_cta .header-cta__label {
  text-align: left;
  line-height: 1.25;
}

html .header__epilog.js_header_cta .header-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

html .header__epilog.js_header_cta .header-cta--primary .header-cta__icon {
  color: #2c2a28;
}

html .header__epilog.js_header_cta .header-cta--outline .header-cta__icon {
  color: #e8d5a8;
}

html .header__epilog.js_header_cta .header-cta__icon svg {
  display: block;
}

.header-nds {
  display: flex;
  align-items: center;
  margin: 36px auto 0;
  padding: 10px 28px 10px 10px;
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
  background: #3b322adb;
  border: 1px solid #c4a46a;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(196, 164, 106, 0.28), 0 10px 28px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.header-nds__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0;
  line-height: 0;
}

.header-nds__icon img {
  display: block;
  width: 72px;
  height: auto;
  border-radius: 10px;
}

.header-nds__main {
  text-align: left;
  margin-right: auto;
  padding-right: 24px;
}

.header-nds__title {
  font-family: "Proxima Nova Bold", "Proxima Nova", sans-serif;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-nds__subtitle {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  white-space: nowrap;
}

.header-nds__divider {
  width: 1px;
  align-self: stretch;
  min-height: 48px;
  margin: 0 20px;
  background: #c4a46a;
  flex-shrink: 0;
}

.header-nds__right {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  max-width: 210px;
}

@media (max-width: 900px) {
  html body .header_jk.--restyle {
    min-height: 700px;
    padding-bottom: 18px;
    box-sizing: border-box;
  }

  html body .header_jk.--restyle > img {
    top: 0;
    height: 100%;
  }
}

@media (max-width: 700px) {
  .header__epilog.js_header_cta {
    flex-direction: column;
    align-items: stretch;
    align-self: center;
    width: 100%;
    max-width: 92%;
    margin: 20px auto 0;
    padding: 0;
    gap: 10px;
    box-sizing: border-box;
  }

  html .header__epilog.js_header_cta .header-cta {
    display: flex;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 52px;
    font-size: 13px !important;
    padding: 12px 18px;
    margin: 0;
    box-sizing: border-box;
  }

  html .header__epilog.js_header_cta .header-cta--primary {
    gap: 12px;
    justify-content: space-between;
    font-size: 17px !important;
    line-height: 1;
  }

  html .header__epilog.js_header_cta .header-cta--outline {
    justify-content: space-between;
  }

  html .header__epilog.js_header_cta .header-cta__label {
    text-align: center;
    flex: 1;
  }

  html .header__epilog.js_header_cta .header-cta__icon--arrow svg {
    width: 20px;
    height: 20px;
  }

  .header-nds {
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 14px 16px;
    max-width: 92%;
  }

  .header-nds__icon {
    margin-right: 16px;
  }

  .header-nds__main {
    margin-right: 0;
    padding-right: 0;
    flex: 1;
  }

  .header-nds__divider {
    width: 100%;
    height: 1px;
    min-height: 0;
    margin: 12px 0;
  }

  .header-nds__divider--icon {
    display: none;
  }

  .header-nds__title {
    font-size: 28px;
  }

  .header-nds__subtitle {
    font-size: 13px;
  }

  .header-nds__right {
    font-size: 12px;
    max-width: none;
    margin: 0 auto;
  }
}

/* End */
/* /local/templates/.default/components/bitrix/news.detail/project_landing_red_index_test/include/style_header_hero.css?17920740426339 */
