/*
Theme Name: dds_hesaidshesaidrestaurantreviews.com
Theme URI: https://hesaidshesaidrestaurantreviews.com/
Author: Алексей Гордеев
Description: Тема аналитического портала о коммерческой недвижимости для ресторанов и общепита: городская карта на столе, каталожные карточки объектов, разрезы помещений и ценовой атлас.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsplace
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-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: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("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-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-cyrillic-400-italic.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-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("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-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-serif-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-cyrillic-600-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-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Переменные ---------- */
:root {
    --graphite: #1C1E1A;
    --graphite-grid: #3A3D35;
    --paper: #E8E3D3;
    --paper-card: #F1ECDE;
    --paper-grid: #8FA88C;
    --map: #2E4A3F;
    --map-deep: #263F36;
    --map-plate: #243B33;
    --street: #DDE3D6;
    --night: #14150F;
    --ink: #22241E;
    --ink-muted: #6E7362;
    --light: #F2EFE2;
    --light-muted: #A9B39F;
    --accent: #E4572E;
    --accent-dark: #C2441F;
    --teal: #4FA3A0;
    --tape: rgba(214, 200, 160, .88);
    --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    --f-text: "PT Serif", Georgia, "Times New Roman", serif;
    --f-mono: "IBM Plex Mono", "PT Mono", Consolas, "Courier New", monospace;
    --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
}

/* ---------- Скрытые элементы (до основных стилей) ---------- */
.hs-cookie[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--light);
    background-color: var(--graphite);
    background-image:
        url("images/topo-dark.png"),
        linear-gradient(rgba(58, 61, 53, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 61, 53, .35) 1px, transparent 1px);
    background-size: 512px 512px, 32px 32px, 32px 32px;
    overflow-wrap: break-word;
    hyphens: auto;
}
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; margin: 0 0 .6em; hyphens: manual; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: underline wavy; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }

.hs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hs-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hs-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: #fff; padding: .6rem 1rem; font-family: var(--f-mono); text-decoration: none; }
.hs-skip:focus { top: 1rem; color: #fff; }

.hs-shell { width: min(92%, 1180px); margin-inline: auto; }
.hs-front { width: 85%; max-width: 1320px; margin-inline: auto; }

/* ---------- Кнопка-штамп ---------- */
.hs-stamp {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    padding: .72em 1.25em;
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: .86rem;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: var(--accent);
    background: transparent;
    border: 0;
    cursor: pointer;
    isolation: isolate;
    transition: transform .12s, color .12s;
}
.hs-stamp::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 2px solid var(--accent);
    background: transparent;
    filter: url(#hs-rough);
    transition: background-color .12s, box-shadow .12s;
}
.hs-stamp:hover, .hs-stamp:focus-visible { color: #fff; transform: translate(-2px, -2px); }
.hs-stamp:hover::before, .hs-stamp:focus-visible::before { background: var(--accent); box-shadow: 4px 4px 0 var(--ink); }
.hs-stamp:active { transform: translate(0, 0); }
.hs-stamp--solid { color: #fff; }
.hs-stamp--solid::before { background: var(--accent); }
.hs-stamp--solid:hover::before { background: var(--accent-dark); }
.hs-stamp--small { font-size: .74rem; padding: .55em .9em; }

/* ---------- Маркерные заголовки ---------- */
.hs-marker { position: relative; display: inline-block; padding-bottom: .22em; z-index: 0; }
.hs-marker::after {
    content: "";
    position: absolute;
    left: -.15em;
    right: -.35em;
    bottom: .02em;
    height: .2em;
    min-height: 7px;
    z-index: -1;
    background: var(--accent);
    clip-path: polygon(0 45%, 3% 12%, 22% 22%, 48% 4%, 74% 18%, 97% 0, 100% 40%, 98% 88%, 70% 76%, 44% 100%, 18% 82%, 2% 100%);
    transform: rotate(-1.4deg);
}
.hs-mega { font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.005em; transform: rotate(-1.6deg); transform-origin: left center; margin: .2em 0 .55em; }
.hs-big { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; transform: rotate(-1.2deg); transform-origin: left center; margin: 0 0 1.4rem; }
.hs-kicker { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0; }

/* ---------- Шапка ---------- */
.hs-top { position: relative; z-index: 20; background: var(--graphite); border-bottom: 1px solid var(--graphite-grid); }
.hs-top__row { display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 0; }
.hs-brand { display: flex; align-items: center; gap: 1.1rem; flex: 1 1 auto; min-width: 0; text-decoration: none; color: var(--light); }
.hs-brand:hover { color: var(--light); }
.hs-brand__mark { flex: 0 0 auto; color: var(--paper); display: block; line-height: 0; }
.hs-brand__svg { width: clamp(52px, 6vw, 84px); height: auto; display: block; }
.hs-brand__logo { display: block; max-width: 96px; max-height: 96px; width: auto; height: auto; }
.hs-brand__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.hs-brand__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.6rem); line-height: 1.12; color: var(--paper); max-width: 34ch; }
.hs-brand__desc { font-family: var(--f-text); font-size: .86rem; line-height: 1.4; color: var(--light-muted); max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hs-burger { display: none; align-items: center; gap: .55rem; padding: .55rem .8rem; border: 2px solid var(--paper); background: transparent; color: var(--paper); font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; flex: 0 0 auto; }
.hs-burger__bars, .hs-burger__bars::before, .hs-burger__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; }
.hs-burger__bars::before { position: absolute; top: -6px; }
.hs-burger__bars::after { position: absolute; top: 6px; }
.hs-burger:hover { background: var(--paper); color: var(--graphite); }

.hs-nav { flex: 0 0 auto; }
.hs-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 2.1rem; }
.hs-nav__list a { position: relative; display: inline-block; padding: .35rem 0; font-family: var(--f-head); font-weight: 500; font-size: 1.12rem; color: var(--light); text-decoration: none; }
.hs-nav__list a::after { content: ""; position: absolute; left: -2px; right: -4px; bottom: -2px; height: 4px; background: var(--accent); clip-path: polygon(0 40%, 30% 10%, 70% 30%, 100% 0, 98% 100%, 50% 80%, 0 100%); transform: scaleX(0) rotate(-2deg); transform-origin: left; transition: transform .18s; }
.hs-nav__list a:hover::after, .hs-nav__list .current-menu-item > a::after, .hs-nav__list .current_page_item > a::after { transform: scaleX(1) rotate(-2deg); }
.hs-nav__list a:hover { color: var(--paper); }

/* ---------- Полосы главной ---------- */
.hs-band { position: relative; padding: clamp(3rem, 6vw, 5rem) 0; }
.hs-band--paper {
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        url("images/topo-paper.png"),
        linear-gradient(rgba(143, 168, 140, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 168, 140, .22) 1px, transparent 1px),
        url("images/paper.jpg");
    background-size: 512px 512px, 48px 48px, 48px 48px, 512px 512px;
}
.hs-band--map {
    color: var(--light);
    background-color: var(--map);
    background-image:
        url("images/topo-light.png"),
        repeating-linear-gradient(28deg, transparent 0 46px, rgba(221, 227, 214, .07) 46px 47px),
        repeating-linear-gradient(-62deg, transparent 0 70px, rgba(221, 227, 214, .06) 70px 71px);
    background-size: 512px 512px, auto, auto;
}
.hs-band--graphite { color: var(--light); background-color: var(--graphite); }
.hs-band--paper a:hover { color: var(--accent-dark); }

/* Блок 1: карта спроса */
.hs-demand { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hs-demand__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.hs-demand__copy { min-width: 0; position: relative; z-index: 2; }
.hs-demand__lead { font-family: var(--f-text); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: #3A4034; transform: rotate(-1.4deg); transform-origin: left; margin: 0 0 1rem; }
.hs-demand__text { color: var(--ink); max-width: 46ch; font-size: 1rem; }
.hs-demand__map { position: relative; min-width: 0; }
.hs-demand__map img { display: block; width: 100%; aspect-ratio: 1268 / 876; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 94%, transparent 100%); }
.hs-pin-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .05rem .5rem .1rem;
    font-family: var(--f-hand);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.7vw, 1.55rem);
    line-height: 1.1;
    color: var(--ink);
    white-space: nowrap;
    background: rgba(232, 227, 211, .94);
    box-shadow: 0 0 10px 8px rgba(232, 227, 211, .9);
    border-bottom: 3px solid var(--accent);
    transform: rotate(-5deg);
}
.hs-pin-label b { font-family: var(--f-head); font-size: .75em; color: #fff; background: var(--accent); min-width: 1.35em; height: 1.35em; display: inline-grid; place-items: center; border-radius: 50%; }
.hs-ruler { min-width: 0; padding-left: 1.4rem; border-left: 2px solid rgba(34, 36, 30, .55); align-self: stretch; display: flex; flex-direction: column; }
.hs-ruler__title { font-family: var(--f-head); font-weight: 500; font-size: 1rem; line-height: 1.15; margin: 0 0 1rem; }
.hs-ruler__scale {
    position: relative;
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .2rem 0 .2rem 2rem;
    background:
        linear-gradient(var(--teal), var(--teal)) 10px 0 / 3px 100% no-repeat,
        repeating-linear-gradient(to bottom, var(--teal) 0 2px, transparent 2px 18px) 0 0 / 14px 100% no-repeat;
}
.hs-ruler__scale::before, .hs-ruler__scale::after { content: ""; position: absolute; left: 0; width: 24px; height: 3px; background: var(--teal); }
.hs-ruler__scale::before { top: 0; }
.hs-ruler__scale::after { bottom: 0; }
.hs-ruler__mark { display: flex; flex-direction: column; line-height: 1; }
.hs-ruler__mark b { font-family: var(--f-head); font-size: 2.6rem; color: var(--accent); }
.hs-ruler__mark em { font-style: normal; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-muted); margin-top: .25rem; white-space: nowrap; }
.hs-ruler__walker { color: var(--teal); line-height: 0; }

/* Блок 2: анатомия помещения */
.hs-anatomy__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 3rem; align-items: end; margin-bottom: 1.6rem; }
.hs-anatomy__head .hs-big { justify-self: start; }
.hs-anatomy__intro { color: var(--light-muted); max-width: 60ch; margin: 0 0 1.4rem; }
.hs-anatomy__plate { position: relative; background: var(--map-deep); border: 1px solid rgba(221, 227, 214, .45); padding: 1rem 1.2rem 1.2rem; }
.hs-anatomy__scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-color: var(--light-muted) transparent; }
.hs-anatomy__pic { position: relative; min-width: 760px; padding-top: 3.4rem; }
.hs-anatomy__pic img { display: block; width: 100%; aspect-ratio: 2056 / 456; object-fit: cover; }
.hs-callout { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-family: var(--f-mono); font-size: .84rem; color: var(--street); white-space: nowrap; }
.hs-callout > span { display: inline-flex; gap: .5rem; align-items: baseline; border-bottom: 1px solid var(--street); padding: 0 .1rem .25rem; }
.hs-callout i { font-style: normal; color: var(--light-muted); }
.hs-callout b { display: none; }
.hs-callout::after { content: ""; width: 1px; height: 1.15rem; background: var(--street); }
.hs-callout--end { transform: translateX(-78%); }
.hs-seal {
    position: absolute;
    right: -.6rem;
    top: -1.9rem;
    padding: .45rem .8rem;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: clamp(.95rem, 1.6vw, 1.3rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(46, 74, 63, .92);
    transform: rotate(-11deg);
    isolation: isolate;
}
.hs-seal::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--accent); outline: 1px solid var(--accent); outline-offset: 3px; filter: url(#hs-rough); z-index: -1; }
.hs-anatomy__legend { list-style: none; counter-reset: zone; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem 2rem; }
.hs-anatomy__legend li { counter-increment: zone; position: relative; padding-left: 2.6rem; font-size: .95rem; color: var(--light-muted); }
.hs-anatomy__legend li::before { content: counter(zone); position: absolute; left: 0; top: .05rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; color: var(--accent); border: 2px solid var(--accent); }
.hs-anatomy__legend b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 1.15rem; color: var(--light); margin-bottom: .2rem; }

/* Блок «Последние записи» и карточки */
.hs-latest .hs-big { margin-bottom: 2.6rem; }
.hs-latest__more { margin: 2.4rem 0 0; text-align: right; }
.hs-empty { font-style: italic; }
.hs-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.6rem 1.8rem; }
.hs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2.4rem 1rem 1.1rem;
    color: var(--ink);
    background: var(--paper-card) url("images/paper.jpg") 0 0 / 512px 512px;
    border: 1px solid var(--paper-grid);
    transition: transform .15s, box-shadow .15s;
}
.hs-card:nth-child(3n+1) { transform: rotate(-.7deg); }
.hs-card:nth-child(3n+2) { transform: rotate(.5deg); }
.hs-card:nth-child(3n) { transform: rotate(-.3deg); }
.hs-card:hover { transform: rotate(0) translate(-3px, -3px); box-shadow: 6px 6px 0 rgba(34, 36, 30, .85); }
.hs-card__tape { position: absolute; top: -14px; left: 50%; width: 118px; height: 28px; transform: translateX(-50%) rotate(-2deg); background: var(--tape); clip-path: polygon(3% 8%, 12% 0, 30% 10%, 52% 2%, 74% 9%, 92% 0, 100% 14%, 97% 92%, 84% 100%, 60% 90%, 38% 100%, 16% 92%, 0 100%, 2% 50%); }
.hs-card__tape::after { content: ""; position: absolute; left: 50%; top: 5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a8f7c, #2b2d25 70%); }
.hs-card__date { position: absolute; top: .55rem; right: .9rem; padding: .05rem .45rem; font-family: var(--f-mono); font-size: .74rem; color: var(--ink-muted); border: 1px solid var(--paper-grid); background: rgba(241, 236, 222, .9); }
.hs-card__thumb { display: block; overflow: hidden; border: 1px solid rgba(34, 36, 30, .25); }
.hs-card__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: sepia(.12) saturate(.95); transition: transform .3s; }
.hs-card:hover .hs-card__thumb img { transform: scale(1.03); }
.hs-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding-top: 1rem; }
.hs-card__pin-note { align-self: flex-start; font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--accent); padding: .1rem .45rem; margin-bottom: .5rem; }
.hs-card__title { font-family: var(--f-text); font-weight: 700; font-size: 1.32rem; line-height: 1.22; margin: 0 0 .6rem; }
.hs-card__title a { text-decoration: none; }
.hs-card__title a:hover { color: var(--accent-dark); text-decoration: underline wavy var(--accent); text-decoration-thickness: 1px; }
.hs-card__excerpt { font-size: .95rem; line-height: 1.5; color: var(--ink-muted); }
.hs-card__excerpt p { margin: 0 0 .5em; background: none; }
.hs-card__excerpt a { color: var(--ink); }
.hs-card__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hs-card__wave { flex: 0 0 auto; width: 110px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 5 Q5.5 0 11 5 T22 5' fill='none' stroke='%234FA3A0' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 10px; }

/* Блок 3: ценовой атлас */
.hs-atlas { background-image: url("images/topo-dark.png"), linear-gradient(rgba(58, 61, 53, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 61, 53, .3) 1px, transparent 1px); background-size: 512px 512px, 24px 24px, 24px 24px; border-top: 1px solid var(--graphite-grid); border-bottom: 1px solid var(--graphite-grid); }
.hs-atlas__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
.hs-atlas__table-wrap { min-width: 0; overflow-x: auto; }
.hs-atlas__table { min-width: 560px; border: 1px solid rgba(242, 239, 226, .22); border-top: 3px solid var(--light); }
.hs-atlas__table th, .hs-atlas__table td { border: 1px solid rgba(242, 239, 226, .2); padding: .7rem .9rem; text-align: left; vertical-align: middle; }
.hs-atlas__table th { font-family: var(--f-mono); font-weight: 400; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--light-muted); }
.hs-atlas__table td:first-child { font-size: 1.05rem; }
.hs-atlas__table td:last-child { font-size: .9rem; color: var(--light-muted); }
.hs-atlas__table tbody tr { transition: background-color .12s; }
.hs-atlas__table tbody tr:hover { background: rgba(228, 87, 46, .08); }
.hs-rub { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: .04em; color: var(--light); white-space: nowrap; }
.hs-rub i { font-style: normal; color: rgba(242, 239, 226, .18); }
.hs-atlas__table tbody tr:first-child .hs-rub { color: var(--accent); }
.hs-atlas__note { min-width: 0; padding: 1.4rem 1.4rem 1.2rem; background: var(--map-plate); border: 1px solid rgba(221, 227, 214, .3); align-self: start; }
.hs-atlas__note-title { font-family: var(--f-head); font-weight: 500; font-size: 1.55rem; line-height: 1.12; color: var(--light); margin: 0 0 .7rem; }
.hs-atlas__note p { font-size: .94rem; color: var(--light-muted); }
.hs-atlas__bars { margin-top: .4rem; }
.hs-atlas__bars img { display: block; width: 100%; aspect-ratio: 584 / 314; object-fit: cover; }

/* Блок 4: подкаст */
.hs-podcast__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.hs-podcast__cover { min-width: 0; border: 4px solid var(--paper); transform: rotate(-1.2deg); box-shadow: 8px 8px 0 rgba(20, 21, 15, .55); }
.hs-podcast__cover img { display: block; width: 100%; aspect-ratio: 752 / 434; object-fit: cover; }
.hs-podcast__body { min-width: 0; }
.hs-podcast__body .hs-big { margin-bottom: .6rem; }
.hs-podcast__sub { font-family: var(--f-text); font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--light); margin: 0 0 .6rem; }
.hs-podcast__text { color: var(--light-muted); max-width: 56ch; }
.hs-episodes { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.hs-episodes li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(221, 227, 214, .4); }
.hs-episodes__no { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .85rem; color: var(--ink); background: var(--paper-grid); }
.hs-episodes__name { font-size: 1.05rem; }
.hs-episodes__time { font-family: var(--f-mono); font-size: .85rem; color: var(--light-muted); }

/* ---------- Внутренние страницы ---------- */
.hs-inner { padding: 1.6rem 0 4.5rem; }
.hs-crumbs { font-family: var(--f-mono); font-size: .8rem; color: var(--light-muted); margin: 0 0 2rem; }
.hs-crumbs a { color: var(--light); text-decoration-color: var(--teal); }
.hs-crumbs a:hover { color: var(--accent); }
.hs-crumbs__sep { color: var(--accent); margin: 0 .2rem; }
.hs-crumbs span:last-child { color: var(--light-muted); }

.hs-layout--single { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.hs-layout--aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.hs-content { min-width: 0; }
.hs-page-head { margin-bottom: 2.2rem; }
.hs-page-head .hs-big { color: var(--light); }
.hs-page-head__lead { color: var(--light-muted); max-width: 62ch; }
.hs-content > .hs-empty { color: var(--light-muted); }

.hs-sheet {
    position: relative;
    padding: clamp(1.6rem, 4vw, 3rem) clamp(1.3rem, 4vw, 3.2rem);
    color: var(--ink);
    background: var(--paper) url("images/paper.jpg") 0 0 / 512px 512px;
    border: 1px solid var(--paper-grid);
    box-shadow: 10px 10px 0 rgba(10, 11, 8, .45);
}
.hs-sheet__tape { position: absolute; top: -14px; left: 2.5rem; width: 130px; height: 30px; background: var(--tape); transform: rotate(-3deg); clip-path: polygon(3% 8%, 12% 0, 30% 10%, 52% 2%, 74% 9%, 92% 0, 100% 14%, 97% 92%, 84% 100%, 60% 90%, 38% 100%, 16% 92%, 0 100%, 2% 50%); }
.hs-sheet__head { margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.hs-sheet__title { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 .5rem; color: var(--ink); }
.hs-sheet__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; font-family: var(--f-mono); font-size: .8rem; color: var(--ink-muted); }
.hs-sheet__meta time { border: 1px solid var(--paper-grid); padding: 0 .45rem; }
.hs-sheet__cover { margin: 0 0 1.8rem; border: 1px solid rgba(34, 36, 30, .3); }
.hs-sheet__cover img { display: block; width: 100%; height: auto; }
.hs-sheet__tags { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--f-mono); font-size: .82rem; }
.hs-sheet__tags a { text-decoration: none; padding: .15rem .55rem; border: 1px solid var(--paper-grid); }
.hs-sheet__tags a:hover { border-color: var(--accent); }

/* Текст записи */
.hs-prose { font-size: 1.08rem; line-height: 1.72; }
.hs-prose > *:first-child { margin-top: 0; }
.hs-prose h2 { font-size: 1.9rem; margin: 2.2rem 0 .8rem; }
.hs-prose h3 { font-size: 1.45rem; margin: 1.8rem 0 .6rem; }
.hs-prose h4 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.hs-prose h2::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .4em; background: var(--accent); transform: rotate(-8deg); vertical-align: .08em; }
.hs-prose ul, .hs-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.hs-prose li { margin-bottom: .35em; }
.hs-prose ul li::marker { color: var(--accent); }
.hs-prose ol li::marker { font-family: var(--f-mono); color: var(--accent-dark); }
.hs-prose blockquote { margin: 1.6rem 0; padding: 1.2rem 1.5rem; background: rgba(143, 168, 140, .18); border-left: 5px solid var(--accent); font-style: italic; }
.hs-prose blockquote p:last-child { margin-bottom: 0; }
.hs-prose table { margin: 1.5rem 0; font-size: .95rem; border: 2px solid var(--ink); }
.hs-prose th, .hs-prose td { border: 1px solid rgba(34, 36, 30, .45); padding: .55rem .75rem; text-align: left; }
.hs-prose th { font-family: var(--f-mono); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; background: rgba(143, 168, 140, .25); }
.hs-prose .wp-block-table { overflow-x: auto; }
.hs-prose img { display: block; }
.hs-prose figure { margin: 1.6rem 0; }
.hs-prose figcaption, .hs-prose .wp-caption-text { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-muted); margin-top: .4rem; }
.hs-prose code, .hs-prose pre { font-family: var(--f-mono); font-size: .9em; background: rgba(34, 36, 30, .07); }
.hs-prose code { padding: .05em .3em; }
.hs-prose pre { padding: 1rem; overflow-x: auto; border-left: 3px solid var(--teal); }
.hs-prose hr { border: 0; height: 10px; margin: 2rem 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 5 Q5.5 0 11 5 T22 5' fill='none' stroke='%238FA88C' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 10px; }
.hs-prose a { color: var(--ink); }
.hs-prose a:hover { color: var(--accent-dark); }
.hs-prose .alignleft { float: left; margin: .3rem 1.4rem 1rem 0; }
.hs-prose .alignright { float: right; margin: .3rem 0 1rem 1.4rem; }
.hs-prose .aligncenter { margin-left: auto; margin-right: auto; }

/* Соседние записи */
.hs-postnav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 2.4rem 0 0; }
.hs-postnav__link { display: block; padding: 1rem 1.2rem; border: 1px solid var(--graphite-grid); background: rgba(46, 74, 63, .45); color: var(--light); text-decoration: none; font-family: var(--f-text); }
.hs-postnav__link span { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.hs-postnav__link:hover { border-color: var(--accent); color: var(--light); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.hs-postnav__link--next { text-align: right; }

/* Пагинация */
.hs-pager { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 3rem 0 0; font-family: var(--f-mono); font-size: .88rem; }
.hs-pager .page-numbers, .hs-pager > span, .hs-pager > a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border: 2px solid var(--light-muted); color: var(--light); text-decoration: none; background: transparent; }
.hs-pager a.page-numbers:hover, .hs-pager > a:hover { border-color: var(--accent); color: var(--accent); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--accent); }
.hs-pager .page-numbers.current, .hs-pager > span.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.hs-pager .page-numbers.dots { border: 0; min-width: auto; padding: 0 .3rem; }
.hs-sheet .hs-pager .page-numbers, .hs-sheet .hs-pager > span, .hs-sheet .hs-pager > a { color: var(--ink); border-color: var(--ink-muted); }

/* ---------- Сайдбар и виджеты ---------- */
.hs-aside {
    min-width: 0;
    align-self: start;
    padding: 1.6rem 1.4rem;
    color: var(--light);
    background-color: var(--map);
    background-image: url("images/topo-light.png");
    background-size: 512px 512px;
    border: 1px solid rgba(221, 227, 214, .3);
}
.hs-widget { margin-bottom: 2.2rem; }
.hs-widget:last-child { margin-bottom: 0; }
.hs-widget__title { position: relative; display: inline-block; font-size: 1.4rem; margin: 0 0 1rem; padding-bottom: .25rem; }
.hs-widget__title::after { content: ""; position: absolute; left: 0; right: -.3em; bottom: 0; height: 5px; background: var(--accent); clip-path: polygon(0 40%, 30% 10%, 70% 30%, 100% 0, 98% 100%, 50% 80%, 0 100%); }
.hs-widget ul { list-style: none; margin: 0; padding: 0; }
.hs-widget li { padding: .55rem 0; border-bottom: 1px dashed rgba(221, 227, 214, .3); }
.hs-widget li:last-child { border-bottom: 0; }
.hs-aside .hs-widget, .hs-aside .hs-widget p, .hs-aside .hs-widget li { color: var(--light); }
.hs-aside .hs-widget a { color: var(--light); text-decoration: none; }
.hs-aside .hs-widget a:hover { color: var(--paper); text-decoration: underline wavy var(--accent); text-decoration-thickness: 1px; }
.hs-aside .hs-widget .post-date, .hs-aside .hs-widget .rss-date { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--light-muted); }
.hs-aside .hs-widget__title { color: var(--light); }
.hs-aside .hs-search__field { background: var(--paper); color: var(--ink); }

/* Поиск */
.hs-search { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.hs-search__field { flex: 1 1 200px; min-width: 0; padding: .7rem .9rem; background: #F7F3E8; color: var(--ink); border: 2px solid var(--ink); border-radius: 0; }
.hs-search__field::placeholder { color: var(--ink-muted); }
.hs-search__btn { flex: 0 0 auto; }

/* 404 */
.hs-lost { text-align: left; }
.hs-lost__code { font-family: var(--f-head); font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: .9; color: var(--accent); margin: 0 0 .5rem; transform: rotate(-3deg); transform-origin: left; }
.hs-lost__back { margin-top: 1.6rem; }

/* Комментарии */
.hs-comments { margin-top: 2.6rem; padding: clamp(1.4rem, 3vw, 2.4rem); color: var(--ink); background: var(--paper-card) url("images/paper.jpg") 0 0 / 512px 512px; border: 1px solid var(--paper-grid); }
.hs-comments__title { font-size: 1.8rem; }
.hs-comments__title span { font-family: var(--f-mono); font-size: .6em; color: var(--ink-muted); }
.hs-comments__list, .hs-comments__list .children { list-style: none; margin: 0; padding: 0; }
.hs-comments__list .children { padding-left: clamp(1rem, 4vw, 2.6rem); border-left: 2px dashed var(--paper-grid); }
.hs-comment__body { padding: 1rem 0; border-bottom: 1px solid rgba(34, 36, 30, .2); }
.hs-comment__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: .5rem; }
.hs-comment__meta img { display: block; border: 1px solid var(--paper-grid); }
.hs-comment__author { font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; }
.hs-comment__date { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-muted); }
.hs-comment__wait { font-style: italic; color: var(--accent-dark); }
.hs-comment__text p { margin: 0 0 .6em; }
.hs-comment__reply a { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); }
.hs-comments__closed { font-style: italic; color: var(--ink-muted); }
.comment-respond { margin-top: 1.6rem; }
.comment-reply-title { font-size: 1.6rem; }
.comment-reply-title small { font-family: var(--f-mono); font-size: .75rem; margin-left: .6rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form label { display: block; font-family: var(--f-mono); font-size: .8rem; margin-bottom: .3rem; color: var(--ink); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .65rem .8rem; background: #F7F3E8; color: var(--ink); border: 2px solid var(--ink); border-radius: 0; }
.comment-form .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-family: var(--f-text); font-size: .9rem; }
.comment-form .comment-notes, .comment-form .logged-in-as { font-size: .9rem; color: var(--ink-muted); }
.hs-req { color: var(--accent-dark); }

/* ---------- Подвал ---------- */
.hs-foot { color: var(--light-muted); background: var(--night); border-top: 3px solid var(--graphite-grid); padding: 3.2rem 0 1.4rem; }
.hs-foot__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.hs-foot__col { min-width: 0; }
.hs-foot .hs-widget { margin-bottom: 1.4rem; }
.hs-foot .hs-widget, .hs-foot .hs-widget p, .hs-foot .hs-widget li { color: var(--light-muted); font-size: .95rem; }
.hs-foot .hs-widget__title { color: var(--light); font-size: 1.6rem; }
.hs-foot .hs-widget__title::after { display: none; }
.hs-foot .hs-widget a { color: var(--light); text-decoration: underline; text-decoration-color: rgba(242, 239, 226, .4); text-underline-offset: 3px; }
.hs-foot .hs-widget a:hover { color: var(--accent); text-decoration: underline wavy var(--accent); }
.hs-foot .hs-widget li { padding: .2rem 0; border: 0; }
.hs-foot__col--3 .hs-widget::after { content: ""; display: block; width: 200px; max-width: 100%; height: 10px; margin-top: .9rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 5 Q5.5 0 11 5 T22 5' fill='none' stroke='%234FA3A0' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 10px; }
.hs-foot__copy { margin: 2.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--graphite-grid); text-align: center; font-family: var(--f-text); font-size: .85rem; color: var(--light-muted); }

/* ---------- Cookie ---------- */
.hs-cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 1rem 1.4rem;
    flex-wrap: wrap;
    padding: 1rem 1.3rem;
    color: var(--light);
    background: var(--night);
    border: 2px solid var(--accent);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .5);
}
.hs-cookie__text { flex: 1 1 320px; margin: 0; font-size: .92rem; line-height: 1.5; }
.hs-cookie__ok { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (min-width: 600px) {
    .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-anatomy__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-postnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-postnav__link--next:only-child { grid-column: 2; }
    .hs-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-podcast__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

@media (min-width: 961px) {
    .hs-demand__grid { grid-template-columns: minmax(0, 42fr) minmax(0, 52fr) minmax(0, 10fr); gap: 1.4rem; }
    .hs-demand__map { margin-left: -4%; }
    .hs-seal { right: -8.5%; top: 46%; }
    .hs-anatomy__head { grid-template-columns: auto minmax(0, 1fr); }
    .hs-anatomy__head .hs-anatomy__intro { margin-bottom: 1.6rem; }
    .hs-anatomy__plate { margin-right: 5%; }
    .hs-anatomy__legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hs-atlas__grid { grid-template-columns: minmax(0, 66fr) minmax(0, 28fr); gap: 6%; padding-left: 5%; }
    .hs-atlas__note { border-left: 3px solid var(--light); margin-top: -1rem; }
    .hs-podcast__grid { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 3.5rem; }
    .hs-layout--aside { grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); gap: 6%; }
    .hs-layout--aside .hs-cards--feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
    .hs-foot__col { padding: 0 2.2rem; border-left: 1px solid var(--graphite-grid); }
    .hs-foot__col:first-child { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
    .hs-burger { display: inline-flex; }
    .hs-top__row { flex-wrap: wrap; }
    .hs-nav { display: none; flex: 1 1 100%; }
    .hs-nav.is-open { display: block; }
    .hs-nav__list { flex-direction: column; gap: 0; padding: .6rem 0 .4rem; border-top: 1px solid var(--graphite-grid); }
    .hs-nav__list li { border-bottom: 1px solid var(--graphite-grid); }
    .hs-nav__list a { display: block; padding: .8rem 0; font-size: 1.2rem; }
    .hs-nav__list a::after { right: auto; width: 60px; bottom: .5rem; }
    .hs-front { width: 90%; }
    .hs-layout--single { width: 100%; }
    .hs-ruler { border-left: 0; border-top: 2px solid rgba(34, 36, 30, .55); padding: 1rem 0 0; }
    .hs-ruler__scale { min-height: 0; flex-direction: row; align-items: flex-end; padding: 1.4rem 0 0; background:
        linear-gradient(var(--teal), var(--teal)) 0 8px / 100% 3px no-repeat,
        repeating-linear-gradient(to right, var(--teal) 0 2px, transparent 2px 18px) 0 0 / 100% 14px no-repeat; }
    .hs-ruler__scale::before, .hs-ruler__scale::after { top: 0; bottom: auto; width: 3px; height: 22px; }
    .hs-ruler__scale::before { left: 0; }
    .hs-ruler__scale::after { left: auto; right: 0; }
    .hs-ruler__walker { align-self: center; }
    .hs-seal { right: .4rem; top: -1.4rem; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .hs-band { padding: 2.6rem 0; }
    .hs-front { width: 92%; }
    .hs-top__row { padding: .9rem 0; gap: .9rem; }
    .hs-brand { gap: .7rem; }
    .hs-brand__desc { -webkit-line-clamp: 3; font-size: .8rem; }
    .hs-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .hs-pin-label { font-size: .95rem; padding: 0 .3rem; box-shadow: 0 0 6px 4px rgba(232, 227, 211, .9); }
    .hs-ruler__mark b { font-size: 2rem; }
    .hs-ruler__mark em { font-size: .6rem; }
    .hs-anatomy__plate { padding: .8rem .7rem 1rem; }
    .hs-atlas__note { padding: 1.2rem 1.1rem 1rem; }
    .hs-card { padding: 2.3rem .9rem 1rem; }
    .hs-episodes li { gap: .7rem; }
    .hs-latest__more { text-align: left; }
    .hs-cookie { left: .6rem; right: .6rem; bottom: .6rem; padding: .9rem 1rem; }
    .hs-sheet { box-shadow: 5px 5px 0 rgba(10, 11, 8, .45); }
    .hs-prose .alignleft, .hs-prose .alignright { float: none; margin: 1rem 0; }
}

@media (max-width: 600px) {
    .hs-atlas__table { min-width: 0; }
    .hs-atlas__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .hs-atlas__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid rgba(242, 239, 226, .2); }
    .hs-atlas__table td { border: 0; border-left: 1px solid rgba(242, 239, 226, .2); border-right: 1px solid rgba(242, 239, 226, .2); padding: .55rem .8rem; }
    .hs-atlas__table td:first-child { border-right: 0; }
    .hs-atlas__table td:nth-child(2) { border-left: 0; }
    .hs-atlas__table td:last-child { grid-column: 1 / -1; padding-top: 0; }
    .hs-rub { font-size: 1.35rem; }
}
