/* Шрифты редактора A (свои файлы, OFL; грузятся только если шрифт выбран в тексте) + карусель фото. */
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(/static/fonts/playfair-display-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(/static/fonts/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(/static/fonts/playfair-display-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(/static/fonts/playfair-display-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "PT Serif"; font-weight: 400; font-display: swap; src: url(/static/fonts/pt-serif-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "PT Serif"; font-weight: 400; font-display: swap; src: url(/static/fonts/pt-serif-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "PT Serif"; font-weight: 700; font-display: swap; src: url(/static/fonts/pt-serif-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "PT Serif"; font-weight: 700; font-display: swap; src: url(/static/fonts/pt-serif-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Comfortaa"; font-weight: 400; font-display: swap; src: url(/static/fonts/comfortaa-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Comfortaa"; font-weight: 400; font-display: swap; src: url(/static/fonts/comfortaa-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Comfortaa"; font-weight: 700; font-display: swap; src: url(/static/fonts/comfortaa-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Comfortaa"; font-weight: 700; font-display: swap; src: url(/static/fonts/comfortaa-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Caveat"; font-weight: 400; font-display: swap; src: url(/static/fonts/caveat-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Caveat"; font-weight: 400; font-display: swap; src: url(/static/fonts/caveat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url(/static/fonts/caveat-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url(/static/fonts/caveat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
.gda-body span[style*="background-color"], .cms-page__body span[style*="background-color"] { padding: .05em .2em; border-radius: .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.crs { --crs-r: 18px; margin: 1.8em 0; padding: 0; outline: none; }
.crs:focus-visible .crs__view { box-shadow: 0 0 0 3px #1f9a6f66; }
.crs__title { margin: 0 0 .6em; font: 700 17px/1.3 Manrope, "Segoe UI", sans-serif; color: #1d2924; }
.crs__view { position: relative; overflow: hidden; border-radius: var(--crs-r); background: #101614; aspect-ratio: 3 / 2; max-height: 78vh; touch-action: pan-y; }
.crs__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.crs__slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; }
.crs__slide img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0 !important; border-radius: 0 !important; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.crs__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 38px 18px 14px; color: #fff; font: 500 15px/1.4 Manrope, sans-serif; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.66)); pointer-events: none; }
.crs__nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #18231e; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.22); backdrop-filter: blur(6px); transition: transform .15s, background .15s, opacity .2s; }
.crs__nav:hover { background: #fff; transform: scale(1.07); }
.crs__nav:focus-visible { outline: 3px solid #1f9a6f; outline-offset: 2px; }
.crs__nav--prev { left: 14px; } .crs__nav--next { right: 14px; }
.crs__nav svg, .crs__dl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.crs__count { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 99px; background: rgba(0,0,0,.5); color: #fff; font: 600 13px/1 Manrope, sans-serif; letter-spacing: .02em; backdrop-filter: blur(6px); }
.crs__dl { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: #14211b !important; font: 700 14px/1 Manrope, sans-serif; text-decoration: none !important; box-shadow: 0 6px 18px rgba(0,0,0,.2); backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.crs__dl svg { width: 18px; height: 18px; }
.crs__dl:hover { background: #1f9a6f; color: #fff !important; transform: translateY(-1px); }
.crs__dl:focus-visible { outline: 3px solid #1f9a6f; outline-offset: 2px; }
.crs__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 3px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.crs__th { flex: 0 0 auto; width: 84px; height: 60px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .15s, outline-color .15s; scroll-snap-align: center; background: #e9eeeb; }
.crs__th img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; }
.crs__th:hover { opacity: .85; } .crs__th.is-on { opacity: 1; outline-color: #1f9a6f; }
.crs__th:focus-visible { outline-color: #14211b; opacity: 1; }
@media (max-width: 640px) {
  .crs { margin-left: -16px; margin-right: -16px; --crs-r: 0; }
  .crs__title { padding: 0 16px; }
  .crs__view { aspect-ratio: 4 / 3; }
  .crs__nav { width: 38px; height: 38px; margin-top: -19px; background: rgba(255,255,255,.8); }
  .crs__nav--prev { left: 8px; } .crs__nav--next { right: 8px; }
  .crs__dl { height: 36px; padding: 0 13px 0 10px; font-size: 13px; }
  .crs__thumbs { padding-left: 16px; padding-right: 16px; }
  .crs__th { width: 64px; height: 48px; }
  .crs__slide figcaption { font-size: 14px; padding: 30px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .crs__track { transition: none; } }

/* Разделители (hr.hr-*) — общие для редактора, предпросмотра и публичных страниц. */
.gda-body hr, .cms-page__body hr, .eda__pm hr, .eda-pop hr { border: 0; border-top: 1px solid #d5dbe1; height: 0; width: 100%; margin: 1.6em auto; background: none; overflow: visible; }
.gda-body hr.hr-dashed, .cms-page__body hr.hr-dashed, .eda__pm hr.hr-dashed, .eda-pop hr.hr-dashed { border-top: 2px dashed #b7c2cc; }
.gda-body hr.hr-dotted, .cms-page__body hr.hr-dotted, .eda__pm hr.hr-dotted, .eda-pop hr.hr-dotted { border-top: 3px dotted #9aa7b3; }
.gda-body hr.hr-double, .cms-page__body hr.hr-double, .eda__pm hr.hr-double, .eda-pop hr.hr-double { border-top: 4px double #9aa7b3; }
.gda-body hr.hr-thick, .cms-page__body hr.hr-thick, .eda__pm hr.hr-thick, .eda-pop hr.hr-thick { border-top: 4px solid #1f9a6f; border-radius: 2px; }
.gda-body hr.hr-short, .cms-page__body hr.hr-short, .eda__pm hr.hr-short, .eda-pop hr.hr-short { border-top: 2px solid #1f9a6f; width: 96px; }
.gda-body hr.hr-fade, .cms-page__body hr.hr-fade, .eda__pm hr.hr-fade, .eda-pop hr.hr-fade { border: 0; height: 2px; background: linear-gradient(90deg, transparent, #1f9a6f 30%, #1f9a6f 70%, transparent); }
.gda-body hr.hr-orn, .cms-page__body hr.hr-orn, .eda__pm hr.hr-orn, .eda-pop hr.hr-orn { border: 0; height: 1.2em; text-align: center; background: linear-gradient(#d5dbe1, #d5dbe1) left 50% / calc(50% - 46px) 1px no-repeat, linear-gradient(#d5dbe1, #d5dbe1) right 50% / calc(50% - 46px) 1px no-repeat; }
.gda-body hr.hr-orn::after, .cms-page__body hr.hr-orn::after, .eda__pm hr.hr-orn::after, .eda-pop hr.hr-orn::after { content: "· ◆ ·"; color: #1f9a6f; font-size: 14px; letter-spacing: 6px; line-height: 1.2em; }
