.elementor-728 .elementor-element.elementor-element-06a70ce{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS */<style>
/* =========================================================
   BEYOND HORIZONS — СТРОИТЕЛЬСТВО
   Единый стиль со страницами «Гайды», «Медицина» и «Бушкрафтинг».
   ========================================================= */

.bhs-page,
.bhs-page *,
.bhs-page *::before,
.bhs-page *::after {
  box-sizing: border-box;
}

.bhs-page {
  --bhs-black: #050605;
  --bhs-dark: #10120d;
  --bhs-dark-soft: #15140f;
  --bhs-cream: #f2ecdf;
  --bhs-cream-soft: #d7cbb7;
  --bhs-muted: #a99f8d;
  --bhs-gold: #c8a24a;
  --bhs-gold-light: #dfbd63;
  --bhs-gold-dark: #9e7d2c;
  --bhs-light: #e8dfcf;
  --bhs-card: #f6efe1;
  --bhs-copy: #514a3d;
  --bhs-green: #6f9d65;
  --bhs-red: #a84931;

  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--bhs-cream);
  background: var(--bhs-black);
}

.bhs-page section,
.bhs-page main,
.bhs-page nav,
.bhs-page div,
.bhs-page header,
.bhs-page figure {
  min-width: 0;
}

.bhs-page h1,
.bhs-page h2,
.bhs-page h3,
.bhs-page p,
.bhs-page li,
.bhs-page a,
.bhs-page span,
.bhs-page strong {
  max-width: 100%;
  overflow-wrap: break-word;
}

.bhs-page a {
  color: inherit;
  text-decoration: none;
}

.bhs-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bhs-container {
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
  margin-inline: auto;
}

/* DECOR */

.bhs-texture,
.bhs-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bhs-texture {
  opacity: 0.16;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.bhs-vignette {
  background:
    radial-gradient(circle at center, transparent 0, transparent 42%, rgba(0,0,0,.64) 100%),
    linear-gradient(180deg, rgba(0,0,0,.24), transparent 18%, rgba(0,0,0,.64));
}

/* TYPOGRAPHY */

.bhs-kicker {
  margin: 0 0 18px;
  color: var(--bhs-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.bhs-kicker--dark {
  color: var(--bhs-gold-dark);
}

.bhs-title {
  max-width: 920px;
  margin: 0 0 24px;
  color: var(--bhs-cream);
  font-family: "Bebas Neue", "Oswald", Arial, sans-serif;
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 26px 80px rgba(0,0,0,.88);
}

.bhs-lead {
  max-width: 790px;
  margin: 0;
  color: var(--bhs-cream-soft);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.62;
}

.bhs-section-title {
  margin: 0;
  color: var(--bhs-cream);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.bhs-section-title--dark {
  color: var(--bhs-dark-soft);
}

.bhs-section-head {
  margin-bottom: 42px;
}

.bhs-section-head--center {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.bhs-section-head--center > p:not(.bhs-kicker) {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--bhs-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

/* BUTTONS */

.bhs-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition:
    transform .22s ease,
    border-color .22s ease,
    color .22s ease,
    box-shadow .22s ease;
}

.bhs-btn:hover,
.bhs-btn:focus-visible {
  transform: translateY(-2px);
}

.bhs-btn--gold {
  color: #171207;
  background: linear-gradient(180deg, var(--bhs-gold-light), var(--bhs-gold));
  box-shadow: 0 16px 42px rgba(200,162,74,.26);
}

.bhs-btn--outline {
  color: var(--bhs-cream);
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.26);
}

.bhs-btn--outline:hover,
.bhs-btn--outline:focus-visible {
  color: var(--bhs-gold);
  border-color: var(--bhs-gold);
}

/* HERO */

.bhs-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 168px 0 92px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.57) 54%, rgba(0,0,0,.9)),
    url("/wp-content/uploads/bh-assets/guides/stroyka-hero.webp") center top / cover no-repeat,
    #080907;
}

.bhs-hero::after,
.bhs-intro::after,
.bhs-content-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1280px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(200,162,74,.44), transparent);
}

.bhs-hero__inner {
  position: relative;
  z-index: 2;
}

.bhs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--bhs-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bhs-breadcrumbs a {
  color: var(--bhs-gold);
}

.bhs-hero__meta,
.bhs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bhs-hero__meta {
  margin-top: 30px;
}

.bhs-hero__actions {
  margin-top: 26px;
}

.bhs-hero__meta span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: var(--bhs-cream-soft);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* INTRO */

.bhs-intro {
  position: relative;
  padding: 90px 0 94px;
  color: var(--bhs-dark-soft);
  background:
    radial-gradient(circle at 80% 0, rgba(200,162,74,.16), transparent 30%),
    var(--bhs-light);
}

.bhs-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.bhs-principles article {
  min-height: 230px;
  padding: 26px 24px;
  background: var(--bhs-card);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,.1);
}

.bhs-principles span {
  display: block;
  margin-bottom: 25px;
  color: var(--bhs-gold-dark);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
}

.bhs-principles h3 {
  margin: 0 0 12px;
  color: var(--bhs-dark-soft);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.08;
  text-transform: uppercase;
}

.bhs-principles p {
  margin: 0;
  color: var(--bhs-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
}

/* MAIN */

.bhs-content-section {
  position: relative;
  padding: 96px 0 108px;
  background:
    radial-gradient(circle at 18% 0, rgba(200,162,74,.13), transparent 32%),
    linear-gradient(180deg, var(--bhs-dark), var(--bhs-black));
}

.bhs-page-nav {
  scroll-margin-top: 105px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 27px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(200,162,74,.14), transparent 58%),
    rgba(255,255,255,.045);
  border: 1px solid rgba(200,162,74,.23);
  border-radius: 26px;
}

.bhs-page-nav__title {
  margin: 0 0 20px;
  color: var(--bhs-cream);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bhs-page-nav > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bhs-page-nav a {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--bhs-cream-soft);
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.bhs-page-nav a:hover,
.bhs-page-nav a:focus-visible {
  color: #171207;
  background: linear-gradient(180deg, var(--bhs-gold-light), var(--bhs-gold));
  border-color: var(--bhs-gold);
}

.bhs-topics {
  display: grid;
  gap: 24px;
}

.bhs-topic {
  scroll-margin-top: 105px;
  padding: clamp(26px, 3.5vw, 42px);
  color: var(--bhs-dark-soft);
  background: var(--bhs-card);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.bhs-topic__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 26px;
}

.bhs-topic__number {
  min-height: 68px;
  display: grid;
  place-items: center;
  color: var(--bhs-gold-dark);
  background: rgba(200,162,74,.14);
  border: 1px solid rgba(158,125,44,.2);
  border-radius: 18px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
}

.bhs-topic__head h2 {
  margin: 0;
  color: var(--bhs-dark-soft);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(29px, 3.3vw, 45px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.bhs-topic__head p:not(.bhs-kicker) {
  max-width: 930px;
  margin: 16px 0 0;
  color: var(--bhs-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
}

/* STEPS */

.bhs-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bhs-steps article {
  padding: 23px;
  color: var(--bhs-cream);
  background:
    radial-gradient(circle at 100% 0, rgba(200,162,74,.15), transparent 36%),
    var(--bhs-dark);
  border: 1px solid rgba(200,162,74,.2);
  border-radius: 20px;
}

.bhs-steps span,
.bhs-rule-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--bhs-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bhs-steps h3,
.bhs-rule-card h3,
.bhs-info-panel h3 {
  margin: 0 0 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.08;
  text-transform: uppercase;
}

.bhs-steps p {
  margin: 0;
  color: var(--bhs-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.bhs-info-panel {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  margin-top: 16px;
  padding: 25px;
  background: rgba(200,162,74,.1);
  border: 1px solid rgba(158,125,44,.22);
  border-radius: 21px;
}

.bhs-info-panel__marker {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #171207;
  background: linear-gradient(180deg, var(--bhs-gold-light), var(--bhs-gold));
  border-radius: 18px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.bhs-info-panel h3 {
  color: var(--bhs-dark-soft);
}

.bhs-info-panel p {
  margin: 0;
  color: var(--bhs-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.bhs-info-panel p + p {
  margin-top: 12px;
}

/* RULES */

.bhs-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.bhs-rule-card {
  padding: 25px;
  border-radius: 21px;
}

.bhs-rule-card--allowed {
  background: rgba(75,129,69,.1);
  border: 1px solid rgba(75,129,69,.28);
}

.bhs-rule-card--warning {
  background: rgba(168,73,49,.08);
  border: 1px solid rgba(168,73,49,.23);
}

.bhs-rule-card--allowed > span {
  color: #52794a;
}

.bhs-rule-card--warning > span {
  color: var(--bhs-red);
}

.bhs-rule-card h3 {
  color: var(--bhs-dark-soft);
}

.bhs-rule-card p {
  margin: 0;
  color: var(--bhs-copy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.63;
}

/* FORBIDDEN */

.bhs-forbidden-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bhs-forbidden-list li {
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 10px 16px 10px 44px;
  color: var(--bhs-copy);
  background: rgba(0,0,0,.035);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 15px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.bhs-forbidden-list li::before {
  content: "×";
  position: absolute;
  left: 15px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff1ed;
  background: var(--bhs-red);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.bhs-admin-note {
  margin-top: 18px;
  padding: 23px;
  color: var(--bhs-cream);
  background: var(--bhs-dark);
  border: 1px solid rgba(200,162,74,.23);
  border-radius: 20px;
}

.bhs-admin-note strong {
  display: block;
  color: var(--bhs-cream);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.bhs-admin-note p {
  margin: 10px 0 0;
  color: var(--bhs-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.bhs-admin-note a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--bhs-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* MEDIA */

.bhs-media-list {
  display: grid;
  gap: 20px;
}

.bhs-media-card {
  margin: 0;
  overflow: hidden;
  background: var(--bhs-dark);
  border: 1px solid rgba(200,162,74,.28);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.bhs-media-button {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #081017;
  cursor: zoom-in;
}

.bhs-media-button img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.bhs-media-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  color: var(--bhs-cream-soft);
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: "Inter", Arial, sans-serif;
}

.bhs-media-card figcaption strong {
  color: var(--bhs-cream);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.bhs-media-card figcaption span {
  color: var(--bhs-muted);
  font-size: 12px;
}

.bhs-media-card code {
  color: var(--bhs-gold);
  font-family: monospace;
}

.bhs-map-note {
  margin-top: 14px;
  padding: 16px 18px;
  color: #6c6252;
  background: rgba(200,162,74,.11);
  border-left: 3px solid var(--bhs-gold-dark);
  border-radius: 0 15px 15px 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

/* GUIDE NAVIGATION */

.bhs-guide-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.bhs-guide-navigation a {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.bhs-guide-navigation a:last-child {
  text-align: right;
}

.bhs-guide-navigation a:hover {
  transform: translateY(-3px);
  background: rgba(200,162,74,.07);
  border-color: rgba(200,162,74,.4);
}

.bhs-guide-navigation span {
  margin-bottom: 9px;
  color: var(--bhs-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bhs-guide-navigation strong {
  color: var(--bhs-gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

/* CTA */

.bhs-cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.5), rgba(0,0,0,.9)),
    url("/wp-content/uploads/bh-assets/guides/guides-cta.webp") center / cover no-repeat,
    #080907;
}

.bhs-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 740px) auto;
  gap: 36px;
  align-items: center;
}

.bhs-cta__grid > div:first-child > p:not(.bhs-kicker) {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--bhs-cream-soft);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.bhs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

/* LIGHTBOX */

.bhs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bhs-lightbox.is-open {
  display: flex;
}

.bhs-lightbox__stage {
  width: min(96vw, 1800px);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid rgba(200,162,74,.34);
  border-radius: 22px;
  background: #070a0c;
}

.bhs-lightbox__stage img {
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.bhs-lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #171207;
  background: linear-gradient(180deg, var(--bhs-gold-light), var(--bhs-gold));
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .bhs-cta__grid {
    grid-template-columns: 1fr;
  }

  .bhs-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .bhs-container {
    width: min(1280px, calc(100% - 34px));
  }

  .bhs-principles,
  .bhs-steps {
    grid-template-columns: 1fr;
  }

  .bhs-principles article {
    min-height: auto;
  }

  .bhs-topic__head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .bhs-topic__number {
    min-height: 58px;
    font-size: 23px;
  }
}

@media (max-width: 767px) {
  .bhs-container {
    width: calc(100% - 30px);
  }

  .bhs-hero {
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 68px;
  }

  .bhs-title {
    font-size: clamp(46px, 13vw, 68px);
    line-height: .96;
  }

  .bhs-lead {
    font-size: 16px;
  }

  .bhs-hero__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bhs-hero__meta span {
    justify-content: flex-start;
  }

  .bhs-hero__actions,
  .bhs-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bhs-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .bhs-intro,
  .bhs-content-section,
  .bhs-cta {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .bhs-section-title {
    font-size: clamp(29px, 9vw, 41px);
  }

  .bhs-page-nav {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .bhs-page-nav > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bhs-page-nav a {
    width: 100%;
    border-radius: 14px;
  }

  .bhs-topic {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .bhs-topic__head {
    grid-template-columns: 1fr;
  }

  .bhs-topic__number {
    width: 58px;
  }

  .bhs-topic__head h2 {
    font-size: clamp(27px, 8vw, 37px);
  }

  .bhs-info-panel {
    grid-template-columns: 1fr;
  }

  .bhs-rule-grid,
  .bhs-forbidden-list,
  .bhs-guide-navigation {
    grid-template-columns: 1fr;
  }

  .bhs-guide-navigation a,
  .bhs-guide-navigation a:last-child {
    text-align: left;
  }

  .bhs-media-card {
    border-radius: 19px;
  }

  .bhs-media-card figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .bhs-lightbox {
    padding: 58px 10px 10px;
  }

  .bhs-lightbox__stage {
    width: 100%;
    max-height: calc(100vh - 72px);
    border-radius: 16px;
  }
}

@media (max-width: 430px) {
  .bhs-container {
    width: calc(100% - 24px);
  }

  .bhs-title {
    font-size: clamp(42px, 12vw, 58px);
  }

  .bhs-topic__head h2 {
    font-size: 29px;
  }
}



/* =========================================================
   FINAL ADAPTIVE FIX — CONSTRUCTION GUIDE PAGE
   Адаптация под все устройства + запрет переноса заголовков по буквам.
   Положение hero-плашки не меняем.
   ========================================================= */

/* Базовая защита страницы */
.bhs-page {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.bhs-page section,
.bhs-page main,
.bhs-page nav,
.bhs-page div,
.bhs-page header,
.bhs-page article,
.bhs-page aside,
.bhs-page figure,
.bhs-page figcaption,
.bhs-page button {
  min-width: 0 !important;
}

/* Внутренний контейнер: фон секций на всю ширину, контент читаемой ширины */
.bhs-page .bhs-container {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0 !important;
}

/* Изображения не ломают сетку */
.bhs-page img {
  max-width: 100% !important;
  height: auto;
}

/* =========================================================
   ЗАПРЕТ ПЕРЕНОСА ЗАГОЛОВКОВ ПО БУКВАМ
   ========================================================= */

.bhs-page h1,
.bhs-page h2,
.bhs-page h3,
.bhs-page h4,
.bhs-page .bhs-title,
.bhs-page .bhs-section-title,
.bhs-page .bhs-principles h3,
.bhs-page .bhs-topic__head h2,
.bhs-page .bhs-steps h3,
.bhs-page .bhs-rule-card h3,
.bhs-page .bhs-info-panel h3,
.bhs-page .bhs-admin-note strong,
.bhs-page .bhs-media-card figcaption strong,
.bhs-page .bhs-guide-navigation strong,
.bhs-page .bhs-page-nav__title {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
  text-wrap: balance;
}

/* Обычный текст может переноситься нормально, но без агрессивного разрыва заголовков */
.bhs-page p,
.bhs-page li,
.bhs-page span,
.bhs-page strong,
.bhs-page a,
.bhs-page code {
  word-break: normal !important;
  hyphens: none !important;
}

.bhs-page p,
.bhs-page li {
  overflow-wrap: break-word !important;
}

/* Кнопки и навигационные элементы не вылезают за контейнер */
.bhs-page .bhs-btn,
.bhs-page .bhs-page-nav a,
.bhs-page .bhs-admin-note a {
  max-width: 100% !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.15 !important;
}

/* =========================================================
   DESKTOP / BASE
   ========================================================= */

.bhs-page .bhs-title {
  max-width: 920px !important;
  font-size: clamp(52px, 6.4vw, 102px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.018em !important;
}

.bhs-page .bhs-lead {
  max-width: 790px !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
  line-height: 1.62 !important;
}

.bhs-page .bhs-section-title {
  max-width: 930px !important;
  font-size: clamp(32px, 4.1vw, 58px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.026em !important;
}

.bhs-page .bhs-section-head--center > p:not(.bhs-kicker),
.bhs-page .bhs-topic__head p:not(.bhs-kicker),
.bhs-page .bhs-info-panel p,
.bhs-page .bhs-cta__grid > div:first-child > p:not(.bhs-kicker) {
  line-height: 1.65 !important;
}

/* Основные сетки */
.bhs-page .bhs-hero__inner,
.bhs-page .bhs-principles,
.bhs-page .bhs-page-nav,
.bhs-page .bhs-topics,
.bhs-page .bhs-topic,
.bhs-page .bhs-topic__head,
.bhs-page .bhs-steps,
.bhs-page .bhs-info-panel,
.bhs-page .bhs-rule-grid,
.bhs-page .bhs-forbidden-list,
.bhs-page .bhs-admin-note,
.bhs-page .bhs-media-list,
.bhs-page .bhs-media-card,
.bhs-page .bhs-media-card figcaption,
.bhs-page .bhs-guide-navigation,
.bhs-page .bhs-cta__grid,
.bhs-page .bhs-cta__actions,
.bhs-page .bhs-lightbox__stage {
  min-width: 0 !important;
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1180px) {
  .bhs-page .bhs-container {
    width: min(1280px, calc(100% - 44px)) !important;
  }

  .bhs-page .bhs-hero {
    min-height: auto !important;
    padding-top: 145px !important;
    padding-bottom: 82px !important;
  }

  .bhs-page .bhs-title {
    max-width: 860px !important;
    font-size: clamp(48px, 7.4vw, 84px) !important;
    line-height: 0.98 !important;
  }

  .bhs-page .bhs-section-title {
    font-size: clamp(31px, 5.2vw, 52px) !important;
    line-height: 1.08 !important;
  }

  .bhs-page .bhs-cta__grid {
    grid-template-columns: 1fr !important;
  }

  .bhs-page .bhs-cta__actions {
    justify-content: flex-start !important;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .bhs-page .bhs-container {
    width: min(1280px, calc(100% - 38px)) !important;
  }

  .bhs-page .bhs-title {
    font-size: clamp(44px, 9vw, 74px) !important;
    line-height: 1 !important;
    letter-spacing: 0.014em !important;
  }

  .bhs-page .bhs-lead {
    max-width: 680px !important;
    font-size: 17px !important;
  }

  .bhs-page .bhs-section-title {
    font-size: clamp(30px, 6.2vw, 46px) !important;
  }

  .bhs-page .bhs-principles,
  .bhs-page .bhs-steps {
    grid-template-columns: 1fr !important;
  }

  .bhs-page .bhs-principles article {
    min-height: auto !important;
  }

  .bhs-page .bhs-topic__head {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .bhs-page .bhs-topic__number {
    min-height: 58px !important;
    font-size: 23px !important;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .bhs-page .bhs-container {
    width: calc(100% - 34px) !important;
  }

  .bhs-page .bhs-hero {
    min-height: auto !important;
    padding-top: 124px !important;
    padding-bottom: 68px !important;
    background-position: center top !important;
  }

  .bhs-page .bhs-title {
    max-width: 100% !important;
    font-size: clamp(34px, 10.8vw, 54px) !important;
    line-height: 1.04 !important;
    letter-spacing: 0.008em !important;
  }

  .bhs-page .bhs-lead {
    font-size: 16px !important;
    line-height: 1.62 !important;
  }

  .bhs-page .bhs-kicker {
    margin-bottom: 14px !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.17em !important;
  }

  .bhs-page .bhs-breadcrumbs {
    margin-bottom: 20px !important;
    font-size: 10px !important;
  }

  .bhs-page .bhs-section-title {
    font-size: clamp(27px, 7.8vw, 40px) !important;
    line-height: 1.13 !important;
    letter-spacing: 0.012em !important;
  }

  .bhs-page .bhs-hero__meta,
  .bhs-page .bhs-hero__actions,
  .bhs-page .bhs-cta__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 9px !important;
  }

  .bhs-page .bhs-hero__meta span {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 36px !important;
    font-size: 11px !important;
  }

  .bhs-page .bhs-btn {
    width: 100% !important;
    min-height: 50px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .bhs-page .bhs-intro,
  .bhs-page .bhs-content-section,
  .bhs-page .bhs-cta {
    padding-top: 72px !important;
    padding-bottom: 74px !important;
  }

  .bhs-page .bhs-section-head {
    margin-bottom: 34px !important;
  }

  .bhs-page .bhs-section-head--center > p:not(.bhs-kicker) {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .bhs-page .bhs-principles article,
  .bhs-page .bhs-steps article,
  .bhs-page .bhs-rule-card,
  .bhs-page .bhs-admin-note {
    padding: 22px 20px !important;
    border-radius: 20px !important;
  }

  .bhs-page .bhs-principles h3,
  .bhs-page .bhs-steps h3,
  .bhs-page .bhs-rule-card h3,
  .bhs-page .bhs-info-panel h3,
  .bhs-page .bhs-admin-note strong,
  .bhs-page .bhs-guide-navigation strong {
    font-size: clamp(20px, 6.1vw, 28px) !important;
    line-height: 1.14 !important;
  }

  .bhs-page .bhs-principles p,
  .bhs-page .bhs-steps p,
  .bhs-page .bhs-rule-card p,
  .bhs-page .bhs-info-panel p,
  .bhs-page .bhs-forbidden-list li,
  .bhs-page .bhs-admin-note p,
  .bhs-page .bhs-map-note,
  .bhs-page .bhs-topic__head p:not(.bhs-kicker),
  .bhs-page .bhs-cta__grid > div:first-child > p:not(.bhs-kicker) {
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  .bhs-page .bhs-page-nav {
    padding: 22px 16px !important;
    border-radius: 22px !important;
  }

  .bhs-page .bhs-page-nav__title {
    font-size: 20px !important;
  }

  .bhs-page .bhs-page-nav > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .bhs-page .bhs-page-nav a {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 14px !important;
  }

  .bhs-page .bhs-topic {
    padding: 22px 16px !important;
    border-radius: 22px !important;
  }

  .bhs-page .bhs-topic__head {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .bhs-page .bhs-topic__number {
    width: 58px !important;
    min-height: 58px !important;
  }

  .bhs-page .bhs-topic__head h2 {
    font-size: clamp(26px, 7.8vw, 36px) !important;
    line-height: 1.1 !important;
  }

  .bhs-page .bhs-info-panel {
    grid-template-columns: 1fr !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
  }

  .bhs-page .bhs-info-panel__marker {
    width: 58px !important;
    height: 58px !important;
    font-size: 27px !important;
  }

  .bhs-page .bhs-rule-grid,
  .bhs-page .bhs-forbidden-list,
  .bhs-page .bhs-guide-navigation {
    grid-template-columns: 1fr !important;
  }

  .bhs-page .bhs-forbidden-list li {
    min-height: auto !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .bhs-page .bhs-media-card {
    border-radius: 19px !important;
  }

  .bhs-page .bhs-media-card figcaption {
    align-items: flex-start !important;
    flex-direction: column !important;
    padding: 17px 18px !important;
  }

  .bhs-page .bhs-media-card figcaption strong {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.14 !important;
  }

  .bhs-page .bhs-map-note {
    padding: 16px !important;
    border-radius: 0 14px 14px 0 !important;
  }

  .bhs-page .bhs-guide-navigation a,
  .bhs-page .bhs-guide-navigation a:last-child {
    min-height: 92px !important;
    padding: 19px !important;
    text-align: left !important;
  }

  .bhs-page .bhs-cta__grid {
    gap: 26px !important;
  }

  .bhs-page .bhs-lightbox {
    padding: 58px 10px 10px !important;
  }

  .bhs-page .bhs-lightbox__stage {
    width: 100% !important;
    max-height: calc(100vh - 72px) !important;
    border-radius: 16px !important;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {
  .bhs-page .bhs-container {
    width: calc(100% - 24px) !important;
  }

  .bhs-page .bhs-hero {
    padding-top: 112px !important;
    padding-bottom: 62px !important;
  }

  .bhs-page .bhs-title {
    font-size: clamp(32px, 10vw, 48px) !important;
    line-height: 1.06 !important;
  }

  .bhs-page .bhs-section-title {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.15 !important;
  }

  .bhs-page .bhs-topic__head h2 {
    font-size: clamp(24px, 7vw, 31px) !important;
    line-height: 1.14 !important;
  }

  .bhs-page .bhs-btn {
    font-size: 12px !important;
    letter-spacing: 0.055em !important;
  }
}

/* =========================================================
   EXTRA SMALL
   ========================================================= */

@media (max-width: 360px) {
  .bhs-page .bhs-title {
    font-size: 30px !important;
  }

  .bhs-page .bhs-section-title,
  .bhs-page .bhs-topic__head h2 {
    font-size: 23px !important;
  }

  .bhs-page .bhs-btn {
    font-size: 11.5px !important;
    letter-spacing: 0.045em !important;
  }
}



/* =========================================================
   FINAL HERO POSITION FIX — CONSTRUCTION GUIDE
   Как на остальных страницах гайдов:
   cover остаётся, картинка не дублируется, верх изображения сохраняется.
   ========================================================= */

.bhs-page .bhs-hero {
  background-position: center center, center top !important;
  background-size: auto, cover !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* Desktop */
@media (min-width: 1181px) {
  .bhs-page .bhs-hero {
    background-position: center center, center top !important;
    background-size: auto, cover !important;
  }
}

/* Laptop */
@media (max-width: 1180px) {
  .bhs-page .bhs-hero {
    background-position: center center, center top !important;
    background-size: auto, cover !important;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .bhs-page .bhs-hero {
    background-position: center center, center top !important;
    background-size: auto, cover !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .bhs-page .bhs-hero {
    background-position: center center, center top !important;
    background-size: auto, cover !important;
  }
}

/* Small mobile */
@media (max-width: 430px) {
  .bhs-page .bhs-hero {
    background-position: center center, center top !important;
    background-size: auto, cover !important;
  }
}

<\/style>

<div class="bhs-page">

  <section class="bhs-hero" aria-labelledby="bhs-title">
    <div class="bhs-texture" aria-hidden="true"></div>
    <div class="bhs-vignette" aria-hidden="true"></div>

    <div class="bhs-container bhs-hero__inner">
      <nav class="bhs-breadcrumbs" aria-label="Хлебные крошки">
        <a href="/">Главная</a>
        <span aria-hidden="true">/</span>
        <a href="/guides/">Гайды</a>
        <span aria-hidden="true">/</span>
        <span aria-current="page">Строительство</span>
      </nav>

      <p class="bhs-kicker">Beyond Horizons · строительство и территории</p>

      <h1 class="bhs-title" id="bhs-title">
        Строительство
      </h1>

      <p class="bhs-lead">
        Территория на сервере создаётся через флагшток, а строительство
        строится вокруг естественной застройки уже существующих зданий.
        Используйте наборы для дверей и окон, соблюдайте ограничения карты
        и не занимайте объекты, важные для игрового процесса.
      </p>

      <div class="bhs-hero__meta" aria-label="Основные сведения">
        <span>Регистрация через флагшток</span>
        <span>Застройка готовых зданий</span>
        <span>Запретные зоны</span>
      </div>

      <div class="bhs-hero__actions">
        <a class="bhs-btn bhs-btn--gold" href="#bhs-territory">
          Создание территории
        </a>

        <a class="bhs-btn bhs-btn--outline" href="/guides/">
          ← Вернуться к гайдам
        </a>
      </div>
    </div>
  </section>

  <main>

    <section class="bhs-intro" aria-labelledby="bhs-intro-title">
      <div class="bhs-container">
        <header class="bhs-section-head bhs-section-head--center">
          <p class="bhs-kicker bhs-kicker--dark">Основной принцип</p>

          <h2 class="bhs-section-title bhs-section-title--dark" id="bhs-intro-title">
            База должна вписываться в мир
          </h2>

          <p>
            Проект не поддерживает капитальные «коробки» из дерева, бетона
            и других материалов посреди открытых полей. Такие постройки
            выглядят неестественно и создают лишнюю нагрузку на сервер.
          </p>
        </header>

        <div class="bhs-principles">
          <article>
            <span>01</span>
            <h3>Флагшток</h3>
            <p>
              Отдельно регистрировать базу не требуется: территория
              создаётся автоматически через построенный флагшток.
            </p>
          </article>

          <article>
            <span>02</span>
            <h3>Команда</h3>
            <p>
              Владелец территории может пригласить друзей через менеджер
              территорий, чтобы они взаимодействовали с объектами базы.
            </p>
          </article>

          <article>
            <span>03</span>
            <h3>Естественная застройка</h3>
            <p>
              Выбирайте существующий дом и укрепляйте его дверными
              и оконными баррикадами по принципу ванильного строительства.
            </p>
          </article>
        </div>
      </div>
    </section>

    <section class="bhs-content-section">
      <div class="bhs-container">

        <nav class="bhs-page-nav" id="bhs-navigation"
             aria-label="Навигация по разделам страницы">
          <p class="bhs-page-nav__title">На этой странице</p>

          <div>
            <a href="#bhs-territory">Создание территории</a>
            <a href="#bhs-building">Правила строительства</a>
            <a href="#bhs-forbidden">Запрещённые здания</a>
            <a href="#bhs-zones">Запретные зоны</a>
            <a href="#bhs-schemes">Схемы укреплений</a>
          </div>
        </nav>

        <div class="bhs-topics">

          <section class="bhs-topic" id="bhs-territory"
                   aria-labelledby="bhs-territory-title">
            <header class="bhs-topic__head">
              <div class="bhs-topic__number">01</div>

              <div>
                <p class="bhs-kicker bhs-kicker--dark">Территория</p>

                <h2 id="bhs-territory-title">
                  Регистрация базы и приглашение друзей
                </h2>

                <p>
                  На сервере не нужно подавать отдельную заявку на регистрацию базы.
                  Территория создаётся автоматически после постройки флагштока
                  и выполнения действий через его контекстное меню.
                </p>
              </div>
            </header>

            <div class="bhs-steps">
              <article>
                <span>Шаг 1</span>
                <h3>Постройте флагшток</h3>
                <p>
                  Установите набор для строительства флагштока в разрешённой зоне
                  и завершите его возведение.
                </p>
              </article>

              <article>
                <span>Шаг 2</span>
                <h3>Повесьте флаг</h3>
                <p>
                  После установки флага у флагштока появится действие
                  «Поднять флаг».
                </p>
              </article>

              <article>
                <span>Шаг 3</span>
                <h3>Создайте территорию</h3>
                <p>
                  Прокрутите колёсико мыши в контекстном меню флагштока
                  и выберите пункт «СОЗДАТЬ ТЕРРИТОРИЮ».
                </p>
              </article>
            </div>

            <div class="bhs-info-panel">
              <div class="bhs-info-panel__marker">B</div>

              <div>
                <h3>Как добавить тиммейтов</h3>

                <p>
                  После регистрации вы становитесь владельцем территории.
                  Нажмите <strong>«B»</strong>, откройте
                  <strong>«Менеджер территорий»</strong>, выберите ник игрока
                  и нажмите <strong>«Пригласить»</strong>.
                </p>

                <p>
                  После принятия приглашения ваши друзья смогут взаимодействовать
                  с размещаемыми предметами и объектами на территории базы.
                </p>
              </div>
            </div>
          </section>

          <section class="bhs-topic" id="bhs-building"
                   aria-labelledby="bhs-building-title">
            <header class="bhs-topic__head">
              <div class="bhs-topic__number">02</div>

              <div>
                <p class="bhs-kicker bhs-kicker--dark">Стройка</p>

                <h2 id="bhs-building-title">
                  Как строить на сервере
                </h2>

                <p>
                  Застраивать можно понравившиеся жилые и гражданские здания.
                  Для этого используются наборы для строительства дверей
                  и оконных баррикад. Сам процесс основан на знакомой
                  ванильной механике: устанавливается набор, создаётся основа,
                  а затем последовательно добавляются нужные элементы.
                </p>
              </div>
            </header>

            <div class="bhs-rule-grid">
              <article class="bhs-rule-card bhs-rule-card--allowed">
                <span>РАЗРЕШЕНО</span>
                <h3>Укреплять существующие дома</h3>
                <p>
                  Баррикадируйте окна, усиливайте входы и устанавливайте двери,
                  не нарушая естественный вид выбранного здания.
                </p>
              </article>

              <article class="bhs-rule-card bhs-rule-card--warning">
                <span>НЕ РЕКОМЕНДУЕТСЯ</span>
                <h3>Строить отдельные капитальные коробки</h3>
                <p>
                  Самостоятельные массивные конструкции посреди полей
                  не соответствуют стилю проекта и негативно влияют
                  на производительность сервера.
                </p>
              </article>
            </div>
          </section>

          <section class="bhs-topic" id="bhs-forbidden"
                   aria-labelledby="bhs-forbidden-title">
            <header class="bhs-topic__head">
              <div class="bhs-topic__number">03</div>

              <div>
                <p class="bhs-kicker bhs-kicker--dark">Ограничения</p>

                <h2 id="bhs-forbidden-title">
                  Какие здания занимать нельзя
                </h2>

                <p>
                  Запрет распространяется на объекты, которые нужны игрокам
                  для получения ресурсов, медицинской помощи, оружия
                  и выполнения других игровых задач.
                </p>
              </div>
            </header>

            <ul class="bhs-forbidden-list">
              <li>Полицейские участки</li>
              <li>Пожарные станции</li>
              <li>Больницы и медицинские пункты</li>
              <li>Любые объекты военного назначения</li>
              <li>Охотничьи лагеря</li>
            </ul>

            <div class="bhs-admin-note">
              <strong>Планируете занять крупное капитальное здание?</strong>
              <p>
                Перед началом строительства уточните у администрации,
                разрешено ли занимать выбранный объект. Это поможет избежать
                демонтажа базы и спорных ситуаций.
              </p>

              <a href="https://discord.gg/3aBTEy5u8M"
                 target="_blank" rel="noopener noreferrer">
                Уточнить в Discord →
              </a>
            </div>
          </section>

          <section class="bhs-topic" id="bhs-zones"
                   aria-labelledby="bhs-zones-title">
            <header class="bhs-topic__head">
              <div class="bhs-topic__number">04</div>

              <div>
                <p class="bhs-kicker bhs-kicker--dark">Карта</p>

                <h2 id="bhs-zones-title">
                  Зоны запрета строительства
                </h2>

                <p>
                  В запретной зоне игра не позволит разместить на земле
                  набор для строительства флагштока. При попытке установки
                  появится сообщение о невозможности выполнить действие.
                </p>
              </div>
            </header>

            <figure class="bhs-media-card bhs-media-card--map">
              <button class="bhs-media-button" type="button"
                      data-bhs-lightbox
                      aria-label="Открыть карту запретных зон">
                <img
                  src="/wp-content/uploads/bh-assets/guides/stroyka-zapretnye-zony.webp"
                  alt="Карта запретных зон строительства Beyond Horizons"
                  loading="lazy"
                  decoding="async"
                >
              </button>

              <figcaption>
                <strong>Карта запретных зон строительства</strong>
                <span>
                  Файл для хостинга:
                  <code>stroyka-zapretnye-zony.webp</code>
                </span>
              </figcaption>
            </figure>

            <div class="bhs-map-note">
              Карта не была приложена к текущему сообщению. Код уже подготовлен:
              загрузите её в файловый менеджер под указанным именем.
            </div>
          </section>

          <section class="bhs-topic" id="bhs-schemes"
                   aria-labelledby="bhs-schemes-title">
            <header class="bhs-topic__head">
              <div class="bhs-topic__number">05</div>

              <div>
                <p class="bhs-kicker bhs-kicker--dark">Наглядные схемы</p>

                <h2 id="bhs-schemes-title">
                  Укрепление окон и дверей
                </h2>

                <p>
                  Схемы показывают последовательность установки основ,
                  рам, досок, металлических пластин и замков. Изображения
                  выводятся целиком, без обрезки и изменения пропорций.
                </p>
              </div>
            </header>

            <div class="bhs-media-list">

              <figure class="bhs-media-card">
                <button class="bhs-media-button" type="button"
                        data-bhs-lightbox
                        aria-label="Открыть схему укрепления окон">
                  <img
                    src="/wp-content/uploads/bh-assets/guides/stroyka-okna.png"
                    alt="Схема укрепления окон"
                    width="1672"
                    height="941"
                    loading="lazy"
                    decoding="async"
                  >
                </button>

                <figcaption>
                  <strong>Укрепление окон</strong>
                  <span>Файл: <code>stroyka-okna.png</code></span>
                </figcaption>
              </figure>

              <figure class="bhs-media-card">
                <button class="bhs-media-button" type="button"
                        data-bhs-lightbox
                        aria-label="Открыть схему укрепления двойной двери">
                  <img
                    src="/wp-content/uploads/bh-assets/guides/stroyka-dvoinaya-dver.png"
                    alt="Схема укрепления двойной двери"
                    width="1672"
                    height="941"
                    loading="lazy"
                    decoding="async"
                  >
                </button>

                <figcaption>
                  <strong>Укрепление двойной двери</strong>
                  <span>Файл: <code>stroyka-dvoinaya-dver.png</code></span>
                </figcaption>
              </figure>

              <figure class="bhs-media-card">
                <button class="bhs-media-button" type="button"
                        data-bhs-lightbox
                        aria-label="Открыть схему укрепления простой двери">
                  <img
                    src="/wp-content/uploads/bh-assets/guides/stroyka-prostaya-dver.png"
                    alt="Схема укрепления простой двери"
                    width="1672"
                    height="941"
                    loading="lazy"
                    decoding="async"
                  >
                </button>

                <figcaption>
                  <strong>Укрепление простой двери</strong>
                  <span>Файл: <code>stroyka-prostaya-dver.png</code></span>
                </figcaption>
              </figure>

            </div>
          </section>

        </div>

        <nav class="bhs-guide-navigation" aria-label="Навигация между гайдами">
          <a href="/guides/transport/">
            <span>Предыдущий гайд</span>
            <strong>← Транспорт</strong>
          </a>

          <a href="/guides/shagi/">
            <span>Следующий гайд</span>
            <strong>Первые шаги →</strong>
          </a>
        </nav>

      </div>
    </section>

  </main>

  <section class="bhs-cta" aria-labelledby="bhs-cta-title">
    <div class="bhs-texture" aria-hidden="true"></div>
    <div class="bhs-vignette" aria-hidden="true"></div>

    <div class="bhs-container bhs-cta__grid">
      <div>
        <p class="bhs-kicker">Не уверены в выборе здания?</p>

        <h2 class="bhs-section-title" id="bhs-cta-title">
          Уточните у администрации
        </h2>

        <p>
          Перед застройкой крупного или необычного объекта лучше заранее
          согласовать его с командой проекта.
        </p>
      </div>

      <div class="bhs-cta__actions">
        <a class="bhs-btn bhs-btn--gold"
           href="https://discord.gg/3aBTEy5u8M"
           target="_blank" rel="noopener noreferrer">
          Открыть Discord
        </a>

        <a class="bhs-btn bhs-btn--outline" href="/guides/">
          Все гайды
        </a>
      </div>
    </div>
  </section>

  <div class="bhs-lightbox" aria-hidden="true" role="dialog"
       aria-modal="true" aria-label="Просмотр изображения">
    <button class="bhs-lightbox__close" type="button"
            aria-label="Закрыть изображение">×</button>

    <div class="bhs-lightbox__stage">
      <img src="" alt="">
    </div>
  </div>

</div>

<script>
/**
 * Beyond Horizons — Construction Guide
 * Плавная навигация и просмотр схем в исходном разрешении.
 */
(function () {
  "use strict";

  const page = document.querySelector(".bhs-page");

  if (!page || page.dataset.bhsInitialized === "true") {
    return;
  }

  page.dataset.bhsInitialized = "true";

  const lightbox = page.querySelector(".bhs-lightbox");
  const lightboxImage = lightbox ? lightbox.querySelector("img") : null;
  const closeButton = lightbox
    ? lightbox.querySelector(".bhs-lightbox__close")
    : null;

  let lastFocusedElement = null;

  function prefersReducedMotion() {
    return window.matchMedia(
      "(prefers-reduced-motion: reduce)"
    ).matches;
  }

  function openLightbox(sourceImage, trigger) {
    if (!lightbox || !lightboxImage || !sourceImage) {
      return;
    }

    lastFocusedElement = trigger || null;

    lightboxImage.src = sourceImage.currentSrc || sourceImage.src;
    lightboxImage.alt = sourceImage.alt || "";

    lightbox.classList.add("is-open");
    lightbox.setAttribute("aria-hidden", "false");
    document.documentElement.style.overflow = "hidden";

    if (closeButton) {
      closeButton.focus();
    }
  }

  function closeLightbox() {
    if (!lightbox || !lightboxImage) {
      return;
    }

    lightbox.classList.remove("is-open");
    lightbox.setAttribute("aria-hidden", "true");
    document.documentElement.style.overflow = "";

    lightboxImage.src = "";
    lightboxImage.alt = "";

    if (lastFocusedElement) {
      lastFocusedElement.focus();
    }
  }

  page.addEventListener("click", function (event) {
    const anchor = event.target.closest('a[href^="#"]');

    if (anchor) {
      const body.elementor-page-728 = anchor.getAttribute("href");
      const target = body.elementor-page-728 && body.elementor-page-728 !== "#"
        ? document.querySelector(body.elementor-page-728)
        : null;

      if (target) {
        event.preventDefault();

        target.scrollIntoView({
          behavior: prefersReducedMotion() ? "auto" : "smooth",
          block: "start"
        });

        history.replaceState(null, "", body.elementor-page-728);
      }
    }

    const mediaButton = event.target.closest("[data-bhs-lightbox]");

    if (mediaButton) {
      const sourceImage = mediaButton.querySelector("img");
      openLightbox(sourceImage, mediaButton);
      return;
    }

    if (
      event.target === lightbox ||
      event.target.closest(".bhs-lightbox__close")
    ) {
      closeLightbox();
    }
  });

  document.addEventListener("keydown", function (event) {
    if (
      event.key === "Escape" &&
      lightbox &&
      lightbox.classList.contains("is-open")
    ) {
      closeLightbox();
    }
  });
})();

</script>/* End custom CSS */