/* =========================
   Desktop Fixed Menu
========================= */
.fixed-header {
  position: fixed;
  top: 24px; /* distance from top */
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

/* Space under the menu on desktop */
body {
  padding-top: 104px; /* header height + top offset */
}

/* Hide menu on mobile (mobile or small screens) */
@media (max-width: 768px) {
  .fixed-header {
    display: none !important;
  }
  body {
    padding-top: 0 !important;
  }
}

/* =========================
   Basic Body Styles
========================= */
body {
  background-color: #fff;
  color: #000;
}

#toolset {
  display: none;
}

a:active {
  opacity: 0.7;
}

i, em {
  font-style: italic;
}

b, strong {
  font-weight: bolder;
}

sub, sup {
  position: relative;
  vertical-align: baseline;
}

sub {
  top: 0.3em;
}

sup {
  top: -0.4em;
}

s {
  text-decoration: line-through;
}

img {
  border: 0;
  padding: 0;
}

ul, ol {
  margin: 0;
  padding: 0 0 0 2.5em;
}

blockquote {
  margin: 0;
  padding: 0 0 0 1em;
}

hr {
  background: rgba(127, 127, 127, 0.4);
  border: 0;
  height: 1px;
}

/* =========================
   Content Images
========================= */
.content img {
  float: none;
  margin-bottom: 0;
  outline-offset: -1px;
  vertical-align: bottom;
}

[image-gallery="slideshow"] {
  margin-bottom: 2rem;
}

.gallery_image_caption {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  font-family: Diatype, Icons;
  font-style: normal;
  line-height: 1.2;
  text-align: left;
}

/* =========================
   Loading Animation
========================= */
.loading[data-loading] {
  position: fixed;
  bottom: 8px;
  left: 8px;
}

/* =========================
   Editor Styles
========================= */
[data-predefined-style="true"] bodycopy {
  font-size: 2.2rem;
  font-weight: 321;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Diatype Variable", Icons;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.12rem;
  font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
  border-bottom: 0;
  padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
  font-family: Bagnard, Icons;
  font-style: normal;
  padding: 0;
  margin: 0;
  font-size: 2.3rem;
  line-height: 0.6;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: 0.3rem;
  font-weight: 400;
}

[data-predefined-style="true"] h1 a {
  color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
  font-family: "Diatype Variable", Icons;
  font-style: normal;
  font-weight: 321;
  padding: 0;
  margin: 0;
  color: rgba(0, 0, 0, 0.75);
  font-size: 1.5rem;
  line-height: 2;
  font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h2 a {
  color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] small {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
  font-family: "Monument Grotesk Mono Variable", Icons;
  font-style: normal;
  font-weight: 391;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0;
  font-variation-settings: 'slnt' 0, 'MONO' 1;
}

[data-predefined-style="true"] small a {
  color: rgba(0, 0, 0, 0.6);
  border-bottom-width: 0em;
}

/* =========================
   Media Queries for Mobile
========================= */
.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  max-width: 100%;
  width: 100%;
  background-color: transparent;
}

body.mobile {
  padding-top: 0 !important;
}

/* Стрелки Slick — всегда видны */
.image-gallery .slick-arrow {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  z-index: 10;
}

/* Убираем зависимость от hover */
.image-gallery:hover .slick-arrow {
  opacity: 1 !important;
}

