/* Scoped: новости + контакт (бывший блок Elementor 1883) */
#lp-news-contact {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  isolation: isolate;
}

#lp-news-contact *,
#lp-news-contact *::before,
#lp-news-contact *::after {
  box-sizing: border-box;
}
#lp-news-contact .elementor.elementor-1883 {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Контент по ширине лендинга, но фон секций — во всю ширину */
#lp-news-contact .elementor-element.elementor-element-1fa499f.e-con-boxed > .e-con-inner,
#lp-news-contact .elementor-element.elementor-element-2981f62.e-con-boxed > .e-con-inner {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
#lp-news-contact .elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
#lp-news-contact .elementor-element.elementor-element-5f79740 {
  position: relative;
  overflow: hidden;
}
#lp-news-contact .elementor-element.elementor-element-5f79740 > :not(.elementor-background-video-container) {
  position: relative;
  z-index: 1;
}
#lp-news-contact .elementor-background-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
#lp-news-contact .elementor-background-video-hosted {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Contact template is replaced by a custom social footer below. */
#lp-news-contact .elementor-element.elementor-element-19c2b6a {
  display: none !important;
}

/* Новости: только дата — автор, рубрика и теги в мета/оверлее не показываем */
#lp-news-contact #news .entry-meta-group .entry-author,
#lp-news-contact #news .entry-meta-group .entry-categories,
#lp-news-contact #news .entry-meta-group .entry-tags {
  display: none !important;
}

#lp-news-contact #news .entry-thumb-content .entry-categories {
  display: none !important;
}

/* Recent Updates: фактические колонки — это дети #news > .e-con-inner:
   2d19906 (заголовок), 91247e6 (главный пост), 419fe87 (список постов). */
#lp-news-contact .elementor-element.elementor-element-1fa499f > .e-con-inner {
  --lp-news-main-height: clamp(330px, 31vw, 400px);
  --lp-news-side-image-height: clamp(132px, 12vw, 156px);
  --lp-news-side-gap: clamp(26px, 2.8vw, 36px);
  --display: grid !important;
  --flex-wrap: nowrap !important;
  display: grid !important;
  grid-template-columns: minmax(470px, 1fr) minmax(520px, 1.08fr);
  align-items: start !important;
  justify-items: stretch !important;
  gap: clamp(30px, 3vw, 48px) clamp(46px, 5vw, 72px);
}

#lp-news-contact .elementor-element.elementor-element-1fa499f > .e-con-inner > .elementor-element {
  --width: auto !important;
  --container-widget-width: 100% !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  align-self: start !important;
}

#lp-news-contact .elementor-element.elementor-element-2d19906,
#lp-news-contact .elementor-element.elementor-element-91247e6,
#lp-news-contact .elementor-element.elementor-element-419fe87 {
  display: block !important;
}

#lp-news-contact .elementor-element.elementor-element-2d19906 {
  grid-column: 1 / -1;
  max-width: none !important;
}

@media (min-width: 1025px) {
  #lp-news-contact .elementor-element.elementor-element-419fe87 {
    margin-top: calc(-1 * clamp(22px, 2.2vw, 32px)) !important;
  }
}

@media (max-width: 1024px) {
  #lp-news-contact .elementor-element.elementor-element-1fa499f > .e-con-inner {
    grid-template-columns: 1fr;
  }

  #lp-news-contact .elementor-element.elementor-element-419fe87 {
    margin-top: 0 !important;
  }
}

/* WP-sticky колонок: отключаем “липкость” и любые обвязки, чтобы не зависеть от JS, которого нет в локальном html */
#lp-news-contact .wdt-sticky-css,
#lp-news-contact .wdt-sticky-column,
#lp-news-contact .wdt-sticky-inner-wrapper {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  height: auto !important;
}

/* Защита от агрессивных переносов внутри карточек при любой причине узкой ширины */
#lp-news-contact .blog-entry .entry-title a,
#lp-news-contact .blog-entry .entry-title a *,
#lp-news-contact .blog-entry .entry-body,
#lp-news-contact .blog-entry .entry-body * {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Картинки: тема задаёт img{height:100%} без фиксированной высоты контейнера → в локальном html это даёт 0px.
   Возвращаем нормальную “нативную” высоту картинок. */
#lp-news-contact .blog-entry .entry-thumb {
  display: block !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 3 / 2;
  background: transparent;
  overflow: hidden;
}
#lp-news-contact .blog-entry .entry-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

#lp-news-contact .lp-video-news-trigger {
  position: relative;
  display: block;
}

#lp-news-contact .lp-video-news-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 78px);
  height: clamp(54px, 6vw, 78px);
  color: #fff;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, filter 0.25s ease;
  z-index: 2;
}

#lp-news-contact .lp-video-news-play svg {
  display: block;
  width: 100%;
  height: 100%;
}

#lp-news-contact .lp-video-news-play circle {
  fill: rgba(38, 55, 25, 0.78);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
}

#lp-news-contact .lp-video-news-play path {
  fill: currentColor;
}

#lp-news-contact .lp-video-news-trigger:hover .lp-video-news-play {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34));
  transform: translate(-50%, -50%) scale(1.06);
}

.lp-video-modal[hidden] {
  display: none !important;
}

html.lp-video-modal-open body {
  overflow: hidden;
}

.lp-video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  padding: clamp(18px, 4vw, 48px);
  z-index: 2147483000;
}

.lp-video-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 10, 0.84);
  backdrop-filter: blur(6px);
}

.lp-video-modal__dialog {
  position: relative;
  width: min(1040px, 100%);
  border-radius: 24px;
  background: #10140d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.lp-video-modal__player {
  display: block;
  width: 100%;
  max-height: 78vh;
  border-radius: 24px;
  background: #10140d;
}

.lp-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(38, 55, 25, 0.9);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  z-index: 2;
}

.lp-video-modal__close::before {
  content: "×";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font: 300 32px/1 system-ui, "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  transform: translateY(-0.05em);
}

.lp-video-modal__close:hover,
.lp-video-modal__close:focus-visible {
  background: #263719;
}

/* Blog widgets: make static layout independent from isotope/widget init. */
#lp-news-contact .tpl-blog-holder {
  width: 100% !important;
  margin: 0 !important;
}
#lp-news-contact .tpl-blog-holder .grid-sizer {
  display: none !important;
}
#lp-news-contact .tpl-blog-holder .column {
  width: 100% !important;
  padding: 0 !important;
}
#lp-news-contact .elementor-element-91247e6 .blog-entry {
  display: block !important;
}
#lp-news-contact .elementor-element-91247e6 .entry-thumb {
  height: var(--lp-news-main-height) !important;
  aspect-ratio: auto;
  border-radius: 24px;
}
#lp-news-contact .elementor-element-419fe87 .tpl-blog-holder {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--lp-news-side-gap) !important;
  height: auto !important;
  position: static !important;
}
#lp-news-contact .elementor-element-419fe87 .tpl-blog-holder .column {
  display: block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
}
#lp-news-contact .elementor-element-419fe87 .blog-entry {
  display: grid !important;
  grid-template-columns: minmax(245px, 0.92fr) minmax(250px, 1fr);
  gap: clamp(22px, 2.6vw, 34px);
  align-items: start;
  width: 100% !important;
}
#lp-news-contact .elementor-element-419fe87 .entry-media-group {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}
#lp-news-contact .elementor-element-419fe87 .entry-thumb {
  height: var(--lp-news-side-image-height) !important;
  aspect-ratio: auto;
  border-radius: 20px;
}
#lp-news-contact .elementor-element-419fe87 .entry-content-group {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}
#lp-news-contact .elementor-element-419fe87 .entry-meta-group {
  display: block !important;
}
#lp-news-contact .elementor-element-419fe87 .entry-meta-group > div {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
}
#lp-news-contact .elementor-element-419fe87 .entry-title,
#lp-news-contact .elementor-element-419fe87 .entry-title h4,
#lp-news-contact .elementor-element-419fe87 .entry-title h4 > a {
  display: block !important;
  clear: both !important;
  width: 100% !important;
}

/* Снимаем float-раскладку темы внутри нашей grid-сетки */
#lp-news-contact .tpl-blog-holder,
#lp-news-contact .tpl-blog-holder .column,
#lp-news-contact .blog-entry,
#lp-news-contact .blog-entry .entry-media-group,
#lp-news-contact .blog-entry .entry-content-group {
  float: none !important;
}

/* If a container still becomes too narrow, prefer overflow to "one-letter per line". */
#lp-news-contact .blog-entry .entry-title h4,
#lp-news-contact .blog-entry .entry-title h4 > a {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: auto;
}

#lp-news-contact .wdt-heading-subtitle {
  color: #7f8f23 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#lp-news-contact .wdt-heading-title {
  color: #263719 !important;
}

#lp-news-contact .blog-entry {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

#lp-news-contact .elementor-element-91247e6 .entry-content-group {
  padding: 18px 0 0;
}

#lp-news-contact .elementor-element-419fe87 .blog-entry {
  padding: 0;
}

#lp-news-contact .entry-date,
#lp-news-contact .entry-author,
#lp-news-contact .entry-author a {
  color: #7a7f64 !important;
  font-size: 13px;
}

#lp-news-contact .entry-author {
  display: inline-flex !important;
}

#lp-news-contact .blog-entry .entry-title h4 {
  margin-top: 8px;
}

#lp-news-contact .elementor-element-419fe87 .blog-entry .entry-title h4 {
  margin-top: 10px;
}

#lp-news-contact .blog-entry .entry-title a {
  color: #263719 !important;
}

#lp-news-contact .blog-entry .entry-title a:hover {
  color: #8a9b2a !important;
}

#lp-news-contact #news .entry-date i {
  display: none !important;
}

#lp-news-contact #news .blog-entry .entry-title h4,
#lp-news-contact #news .blog-entry .entry-title h4 > a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#lp-news-contact #news .elementor-element-91247e6 .entry-title h4,
#lp-news-contact #news .elementor-element-91247e6 .entry-title h4 > a {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

#lp-news-contact #news .elementor-element-419fe87 .entry-title h4,
#lp-news-contact #news .elementor-element-419fe87 .entry-title h4 > a {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#lp-news-contact .blog-entry .entry-body {
  color: #6f745c;
}

#lp-news-contact #news .blog-entry .entry-body p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

#lp-news-contact .entry-button .wdt-button {
  background: transparent !important;
  border-color: transparent !important;
  color: #263719 !important;
  padding-left: 0 !important;
}

#lp-news-contact #news .entry-button {
  display: none !important;
}

#lp-news-contact .lp-social-footer {
  width: 100%;
  padding: 0 24px 64px;
  color: #fffaf0;
}

#lp-news-contact .lp-social-footer__content {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(260px, 1fr) minmax(360px, 1.35fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 48px clamp(26px, 4vw, 58px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 198, 95, 0.18), transparent 34%),
    linear-gradient(135deg, #27381a 0%, #53651f 100%);
}

#lp-news-contact .lp-social-footer__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #e9c65f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#lp-news-contact .lp-social-footer__phone,
#lp-news-contact .lp-social-footer__mail {
  display: block;
  color: #fffaf0 !important;
  text-decoration: none;
}

#lp-news-contact .lp-social-footer__phone {
  margin-bottom: 6px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

#lp-news-contact .lp-social-footer__mail {
  font-size: 18px;
  opacity: 0.88;
}

#lp-news-contact .lp-social-footer__subscribe p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

#lp-news-contact .lp-social-footer__socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px 18px;
}

#lp-news-contact .lp-social-footer__socials a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  color: #fffaf0 !important;
  text-decoration: none;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#lp-news-contact .lp-social-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 198, 95, 0.7);
  background: rgba(233, 198, 95, 0.16);
}

#lp-news-contact .lp-social-footer__socials span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #263719;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  background: #e9c65f;
}

#lp-news-contact .lp-social-footer__socials strong {
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  #lp-news-contact .lp-social-footer__content {
    grid-template-columns: 1fr 1fr;
  }

  #lp-news-contact .lp-social-footer__socials {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  #lp-news-contact .lp-social-footer {
    padding: 42px 18px;
  }

  #lp-news-contact .lp-social-footer__content,
  #lp-news-contact .lp-social-footer__socials {
    grid-template-columns: 1fr;
  }
}

/* The social footer can sit just outside the Elementor wrapper after static slicing. Keep it namespaced,
   but do not depend on #lp-news-contact ancestry. */
.lp-social-footer {
  width: 100%;
  padding: 0 24px 64px;
  color: #fffaf0;
}
.lp-social-footer__content {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(260px, 1fr) minmax(360px, 1.35fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 48px clamp(26px, 4vw, 58px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 198, 95, 0.18), transparent 34%),
    linear-gradient(135deg, #27381a 0%, #53651f 100%);
}
.lp-social-footer__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #e9c65f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-social-footer__phone,
.lp-social-footer__mail {
  display: block;
  color: #fffaf0 !important;
  text-decoration: none;
}
.lp-social-footer__phone {
  margin-bottom: 6px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}
.lp-social-footer__mail {
  font-size: 18px;
  opacity: 0.88;
}
.lp-social-footer__subscribe p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 17px;
  line-height: 1.65;
}
.lp-social-footer__socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px 18px;
}
.lp-social-footer__socials a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  color: #fffaf0 !important;
  text-decoration: none;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.lp-social-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 198, 95, 0.7);
  background: rgba(233, 198, 95, 0.16);
}
.lp-social-footer__socials span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #263719;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  background: #e9c65f;
}
.lp-social-footer__socials strong {
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .lp-social-footer__content {
    grid-template-columns: 1fr 1fr;
  }
  .lp-social-footer__socials {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .lp-social-footer {
    padding: 42px 18px;
  }
  .lp-social-footer__content,
  .lp-social-footer__socials {
    grid-template-columns: 1fr;
  }
}

/* Чуть компактнее секция «Recent Updates» внутри лендинга */
#lp-news-contact .elementor-element.elementor-element-1fa499f {
  background: transparent !important;
  background-color: transparent !important;
  --padding-top: 56px;
  --padding-bottom: 40px;
}
@media (min-width: 768px) {
  #lp-news-contact .elementor-element.elementor-element-1fa499f {
    --padding-top: 64px;
    --padding-bottom: 48px;
  }
}

/* Меньше «воздуха» между блоком новостей и следующей секцией «Контакты холдинга» (.lp-about-05) */
#lp-news-contact + .lp-about-05 {
  padding-top: clamp(32px, 4vw, 56px);
}
