

/* Start:/local/templates/new-year-2027/components/bitrix/news/new_year/bitrix/news.detail/.default/style.css?179371207210913*/
.ny-detail {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: #2D2926;
  width: 100%;
  overflow-x: hidden;
}

/* Компенсация sticky-footer (#page-wrapper margin-bottom: -90px) на мобильном */
@media (max-width: 992px) {
  .ny-detail {
    padding-bottom: 100px;
  }
}

@media (min-width: 960px) {
  .ny-detail {
    margin-top: -30px;
  }
}

.ny-detail a {
  color: #B5B175;
  text-decoration: none;
}

.ny-detail a:hover {
  color: #D2BF7D;
}

.ny-detail-hero {
  position: relative;
  height: auto;
  min-height: 0;
  display: block;
  overflow: hidden;
  background-color: #2D2926;
  box-sizing: border-box;
  --ny-header-overlap: 0px;
}

.ny-detail-hero__mirror {
  height: var(--ny-header-overlap);
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.ny-detail-hero__mirror-flip {
  height: 100%;
  overflow: hidden;
  transform: scaleY(-1);
}

.ny-detail-hero__mirror-media {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.ny-detail-hero__mirror-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ny-detail-hero__media {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.ny-detail-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ny-detail-hero__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--ny-header-overlap);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(45, 41, 38, 0.35) 0%,
    rgba(45, 41, 38, 0.1) 40%,
    rgba(45, 41, 38, 0.95) 100%
  );
}

.ny-detail-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 40px 90px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.ny-detail-hero__cta {
  display: inline-block;
  padding: 22px 42px;
  background: radial-gradient(73.24% 287.14% at 20.41% -120.71%, rgba(255,214,138,0.7) 0%, rgba(255,214,138,0) 100%), #B5B175;
  color: #2D2926;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
}

.ny-detail-hero__cta:hover {
  color: #2D2926;
}

.ny-detail-body {
  background: #2D2926;
  padding-top: 90px;
}

.ny-detail-body__text {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.ny-detail-body__text p {
  font-size: 16px;
  line-height: 26px;
  color: #F4F3EA;
  margin: 0 0 16px;
}

.ny-detail-body__text p:last-child {
  margin-bottom: 0;
}

.ny-detail-video {
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: 60px 0;
  background: #1f1c19;
}

.ny-detail-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ny-detail-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0;
}

.ny-detail-section-head {
  margin-bottom: 28px;
  text-align: center;
  padding: 0 40px;
}

.ny-detail-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.ny-detail-ornament__line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, #B5B175);
}

.ny-detail-ornament__line--rev {
  background: linear-gradient(to left, transparent, #B5B175);
}

.ny-detail-ornament__snow {
  color: #D2BF7D;
  font-size: 20px;
  line-height: 1;
}

.ny-detail-gallery__title,
.ny-detail-timeline__title {
  font-family: 'Roboto Slab', serif;
  font-weight: 100;
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
}

.ny-detail-gallery__carousel {
  position: relative;
  margin-bottom: 60px;
  padding: 0 40px 8px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ny-detail-gallery__carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.ny-detail-gallery__slide {
  width: auto;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ny-detail-gallery__item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  text-decoration: none;
}

.ny-detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(181, 177, 117, 0.55);
  border-radius: 50%;
  background: rgba(45, 41, 38, 0.72);
  color: #D2BF7D;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.ny-detail-gallery__nav:hover {
  background: rgba(45, 41, 38, 0.92);
  border-color: #D2BF7D;
}

.ny-detail-gallery__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.ny-detail-gallery__nav--prev {
  left: 12px;
}

.ny-detail-gallery__nav--next {
  right: 12px;
}

.ny-detail-timeline {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.ny-detail-timeline .ny-detail-section-head {
  margin-bottom: 36px;
}

.ny-detail-timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.ny-detail-timeline__row {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 0 0 8px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ny-detail-timeline__row.is-in {
  opacity: 1;
  transform: translateY(0);
}

.ny-detail-timeline__axis {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
}

.ny-detail-timeline__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: #35312C;
  border: 1px solid #B5B17566;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.ny-detail-timeline__row:hover .ny-detail-timeline__icon {
  background: #B5B17526;
  border-color: #D2BF7D;
  box-shadow: 0 0 18px #B5B17544;
}

.ny-detail-timeline__line {
  position: absolute;
  top: 52px;
  bottom: -4px;
  left: 23px;
  width: 1px;
  background: linear-gradient(#B5B17566, #B5B17522);
}

.ny-detail-timeline__card {
  flex: 1;
  padding: 12px 18px 16px;
  margin-bottom: 16px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 0.35s, transform 0.35s, border-color 0.35s;
}

.ny-detail-timeline__card:hover {
  background: #B5B17512;
  transform: translateX(8px);
  border-color: #B5B17533;
}

.ny-detail-timeline__time-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.ny-detail-timeline__time {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  color: #D2BF7D;
  letter-spacing: 1.5px;
}

.ny-detail-timeline__rule {
  flex: 1;
  height: 1px;
  background: #B5B17522;
  align-self: center;
}

.ny-detail-timeline__text {
  font-size: 15px;
  line-height: 24px;
  color: #F4F3EA;
  margin-top: 8px;
}

.ny-detail-cta {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 90px;
}

.ny-detail-cta__price {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  color: #B5B175;
  margin-bottom: 24px;
}

.ny-detail-cta__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.ny-detail-cta__actions .btn {
  text-decoration: none;
}

.ny-detail-cta__actions .btn:hover,
.ny-detail-cta__actions .btn:hover span {
  color: #B5B175;
}

.ny-detail-cta__actions .btn.type_2 {
  background-color: transparent;
  border: 1px solid #B5B175;
  width: auto;
  min-width: 180px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

.ny-detail-cta__actions .btn.type_2::after {
  display: none;
}

.ny-detail-cta__actions .btn.type_2 span {
  background: transparent;
  color: #B5B175;
  height: 50px;
  line-height: 50px;
  padding: 0 25px;
}

.ny-detail-cta__actions .btn.type_2:hover {
  background-color: #fff;
}

.ny-detail-cta__actions .btn.type_2:hover span {
  background: transparent;
  color: #2D2926;
}

/* Полноэкранный просмотр галереи — вне Fancybox, поверх всего */
html.ny-lb-open,
body.ny-lb-open {
  overflow: hidden !important;
}

.ny-lb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  margin: 0;
  background: rgba(20, 18, 16, 0.96);
  cursor: zoom-out;
  -webkit-tap-highlight-color: transparent;
}

.ny-lb[hidden] {
  display: none !important;
}

.ny-lb__img {
  display: block;
  max-width: min(100%, calc(100vw - 32px));
  max-height: min(100%, calc(100dvh - 32px), calc(100vh - 32px));
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.ny-lb__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(45, 41, 38, 0.75);
  color: #F4F3EA;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 2px;
}

.ny-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(181, 177, 117, 0.55);
  border-radius: 50%;
  background: rgba(45, 41, 38, 0.75);
  color: #D2BF7D;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 2px;
}

.ny-lb__nav--prev {
  left: max(8px, env(safe-area-inset-left));
}

.ny-lb__nav--next {
  right: max(8px, env(safe-area-inset-right));
}

.ny-lb__nav[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .ny-lb {
    padding: 8px;
  }

  .ny-lb__img {
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    max-height: calc(100vh - 16px);
  }

  .ny-lb__nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

.ny-detail-footer {
  display: none;
}

@media (max-width: 768px) {
  .ny-detail-gallery__carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ny-detail-gallery__nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .ny-detail-gallery__nav--prev {
    left: 4px;
  }

  .ny-detail-gallery__nav--next {
    right: 4px;
  }

  .ny-detail-gallery__title,
  .ny-detail-timeline__title {
    font-size: 28px;
  }

  .ny-detail-section-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ny-detail-body__text,
  .ny-detail-timeline,
  .ny-detail-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ny-detail-hero__content {
    padding: 0 20px 60px;
  }
}

/* End */
/* /local/templates/new-year-2027/components/bitrix/news/new_year/bitrix/news.detail/.default/style.css?179371207210913 */
