/* jackitos.ru — оформление. Цвета и размеры — в переменных ниже. */
@font-face { font-family: "Golos Text"; src: url(fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url(fonts/golos-text-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111114;
  --ink-2: #1c1c21;
  --paper: #f5f3ee;
  --card: #ffffff;
  --text: #17171a;
  --muted: #6b6a70;
  --line: #e3e0d8;
  --accent: #e8392b;
  --accent-ink: #ffffff;
  --accent-soft: #fde6e3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(17 17 20 / .06), 0 8px 24px rgb(17 17 20 / .08);
  --shadow-lg: 0 2px 4px rgb(17 17 20 / .06), 0 18px 48px rgb(17 17 20 / .16);
  --font-head: var(--font);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(1040px + 2 * var(--gutter)); }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; flex: none; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgb(232 57 43 / .3); }
.btn--accent:hover { background: #d42e21; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--ghost-light { background: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .25); }
.btn--ghost-light:hover { background: rgb(255 255 255 / .14); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgb(17 17 20 / .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .06); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 18px/1 var(--font-head); letter-spacing: -.01em; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo b { font-weight: 600; color: var(--accent); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: rgb(255 255 255 / .78); font-weight: 500; transition: color .15s, background-color .15s; }
.menu a:not(.btn):hover { color: #fff; background: rgb(255 255 255 / .07); }
.menu a[aria-current="page"] { color: #fff; }
.menu a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--accent); }
.menu .btn { margin-left: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .08); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--ink); border-bottom: 1px solid rgb(255 255 255 / .08); box-shadow: 0 20px 40px rgb(0 0 0 / .3); display: none; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgb(255 255 255 / .07); border-radius: 0; }
  .menu a[aria-current="page"]::after { display: none; }
  .menu a[aria-current="page"] { color: var(--accent); }
  .menu .btn { margin: 16px 0 0; min-height: 50px; }
}

/* ---------- главная: первый экран ---------- */
.hero { background: var(--ink); color: #fff; padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgb(232 57 43 / .28), transparent); pointer-events: none; }
.hero .wrap { position: relative; }
.hero__kicker { margin: 0 0 20px; color: rgb(255 255 255 / .6); font-size: 15px; letter-spacing: .02em; }
.hero__title { margin: 0; max-width: 15em; font: 700 clamp(34px, 6.2vw, 76px)/1.06 var(--font-head); letter-spacing: -.03em; }
.hero__title mark { background: var(--accent); color: #fff; padding: 0 .16em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { max-width: 34em; margin: 28px 0 0; font-size: clamp(17px, 2vw, 20px); color: rgb(255 255 255 / .74); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid rgb(255 255 255 / .1); color: rgb(255 255 255 / .6); }
.hero__stats b { display: block; font: 600 34px/1.1 var(--font-head); color: #fff; }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title, .cat__title { margin: 0; font: 600 clamp(24px, 3.4vw, 36px)/1.15 var(--font-head); letter-spacing: -.02em; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* большие плитки на главной */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.tile--wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .55) 60%, rgb(0 0 0 / .85)); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 32px); }
.tile__meta { display: block; font-size: 14px; color: rgb(255 255 255 / .75); }
.tile__title { display: block; margin-top: 6px; font: 600 clamp(18px, 2.4vw, 28px)/1.2 var(--font-head); letter-spacing: -.01em; }

/* карточки */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: block; padding: 18px 20px 22px; }
.card__meta { display: block; font-size: 14px; color: var(--muted); }
.card__title { display: block; margin-top: 4px; font-weight: 600; font-size: 18px; line-height: 1.35; }
.card--more { justify-content: flex-end; gap: 10px; padding: 28px; background: var(--ink); color: #fff; min-height: 220px; }
.card--more .card__title { font-size: 20px; }
.card--more .link-more { color: #ff7a6e; }
.card__more-num { font: 700 56px/1 var(--font-head); color: var(--accent); letter-spacing: -.03em; margin-bottom: auto; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgb(17 17 20 / .78); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.badge--inline { position: static; display: inline-block; margin-left: 8px; vertical-align: 1px; background: var(--ink); }

/* призыв */
.cta { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px); background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px); }
.cta__title { margin: 0; font: 600 clamp(22px, 3vw, 32px)/1.2 var(--font-head); letter-spacing: -.02em; }
.cta__text { margin: 10px 0 0; max-width: 32em; color: rgb(255 255 255 / .7); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .25); }
.cta .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- внутренние страницы ---------- */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head--center { text-align: center; padding-bottom: 96px; }
.page-title { margin: 0; font: 700 clamp(32px, 5.4vw, 60px)/1.08 var(--font-head); letter-spacing: -.03em; }
.page-lead { margin: 16px 0 0; max-width: 36em; font-size: 19px; color: var(--muted); }
.page-head--center .page-lead { margin-left: auto; margin-right: auto; }
.page-lead a { color: var(--accent); }
.big404 { margin: 0 0 8px; font: 800 clamp(80px, 18vw, 160px)/1 var(--font-head); color: var(--accent); letter-spacing: -.04em; }
.chips { position: sticky; top: 72px; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 10px 0; background: var(--paper); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; text-decoration: none; transition: box-shadow .15s, background-color .15s, color .15s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.cat { padding: 24px 0 48px; }
.cat__title { margin-bottom: 24px; }
.cat__title span { font-size: .55em; color: var(--muted); vertical-align: .5em; font-family: var(--font); font-weight: 600; }

/* страница работы */
.proj__head { padding: clamp(32px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.proj__title { margin: 0; font: 700 clamp(28px, 4.8vw, 52px)/1.1 var(--font-head); letter-spacing: -.025em; }
.proj__meta { margin: 16px 0 0; color: var(--muted); }
.lead { margin: 22px 0 0; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; }
.lead + .lead { margin-top: 12px; }
.proj__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proj__body { display: flex; flex-direction: column; gap: 22px; padding-bottom: 40px; }
.proj__body .prose { max-width: 760px; width: 100%; margin: 0 auto; }
.prose { margin: 0; }
.prose a { color: inherit; text-underline-offset: 3px; }
.shot { margin: 18px 0; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.shot img { width: 100%; cursor: zoom-in; }
.file { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow); color: var(--text) !important; font-weight: 600; text-decoration: none; }
.pnavs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; padding-bottom: clamp(48px, 7vw, 80px); }
.pnav { display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pnav:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pnav__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.pnav__txt > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.pnav b { font-weight: 600; font-size: 17px; line-height: 1.35; }
.pnav--next { grid-column: 2; text-align: right; flex-direction: row-reverse; padding: 14px 14px 14px 18px; }
.pnav--next .pnav__txt { align-items: flex-end; }
.pnav__img { flex: none; width: 112px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: #d9dad6; display: block; }

/* мир */
.trips { list-style: none; margin: 0 0 clamp(56px, 8vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; counter-reset: trip; }
.trip__a { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 120px; padding: 22px 56px 22px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; height: 100%; transition: transform .2s, box-shadow .2s; }
a.trip__a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.trip__place { font: 600 22px/1.2 var(--font-head); letter-spacing: -.01em; }
.trip__when { color: var(--muted); }
.trip__go { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.trip__parts { display: flex; gap: 8px; margin-top: 8px; }
.trip__parts a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; text-decoration: none; }

/* контакты */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.contacts__me { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); padding: 8px; }
.contacts .lead { margin-top: 18px; }
.contacts .prose { margin-top: 14px; color: var(--muted); }
.mail { display: inline-block; margin-top: 24px; font: 600 clamp(20px, 2.6vw, 28px)/1.2 var(--font-head); color: var(--accent); text-underline-offset: 6px; word-break: break-all; }
.form { background: var(--card); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.form__title { margin: 0 0 20px; font: 600 24px/1.2 var(--font-head); }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; color: inherit; transition: border-color .15s, background-color .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); background: #fff; }
.field.is-error input, .field.is-error textarea { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__status { margin: 14px 0 0; font-weight: 600; }
.form__status.is-ok { color: #1f8a4c; }
.form__status.is-err { color: var(--accent); }
.form.is-sent .field, .form.is-sent .btn { display: none; }

/* подвал */
.footer { background: var(--ink); color: rgb(255 255 255 / .7); padding: 36px 0; font-size: 15px; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__me { display: flex; align-items: center; gap: 14px; }
.footer__me a { color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgb(255 255 255 / .7); text-decoration: none; }
.footer__nav a:hover { color: #fff; }

/* картинка крупно */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 12 / .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); width: auto; height: auto; border-radius: 8px; }
.lightbox__close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .tile, .tile--wide { aspect-ratio: 4 / 3; }
  .grid { gap: 14px; }
  .contacts { grid-template-columns: 1fr; }
  .pnavs { grid-template-columns: 1fr; gap: 12px; }
  .pnav--next { grid-column: auto; }
  .section__head { align-items: center; }
  .hero__btns .btn { flex: 1 1 auto; }
  .cta__btns, .cta__btns .btn { width: 100%; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* =====================================================================
   БЛОГ: полоса разделов, заметки, текст, галереи, теги, архив, поиск
   ===================================================================== */
.blognav { background: var(--ink-2); border-bottom: 1px solid rgb(255 255 255 / .06); }
.blognav__in { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.blognav__in::-webkit-scrollbar { display: none; }
.blognav a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: rgb(255 255 255 / .7); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; transition: color .15s; }
.blognav a:hover { color: #fff; }
.blognav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.blognav .blognav__rss { margin-left: auto; font-size: 13px; letter-spacing: .04em; color: rgb(255 255 255 / .5); }
.page-title--sm { font-size: clamp(28px, 4.2vw, 44px); margin: clamp(28px, 5vw, 56px) 0 8px; }
.page-lead { margin: 6px 0 24px; }

.feed { padding-bottom: clamp(32px, 6vw, 64px); }
.note { padding: clamp(28px, 5vw, 48px) 0; border-bottom: 1px solid var(--line); }
.note:last-of-type { border-bottom: 0; }
.note__head { margin-bottom: 18px; }
.note__title { margin: 0; font: 600 clamp(22px, 3.2vw, 32px)/1.2 var(--font-head); letter-spacing: -.02em; }
.note__title a { text-decoration: none; }
.note__title a:hover { color: var(--accent); }
.note__title--big { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; letter-spacing: -.025em; }
.note__date { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
.note--full { padding-top: clamp(32px, 6vw, 64px); border-bottom: 0; }
.star { color: #e8a317; font-family: var(--font); font-size: .7em; vertical-align: .15em; }

.prose { font-size: clamp(17px, 2vw, 19px); line-height: 1.5; overflow-wrap: break-word; }
.prose > * { margin: 0 0 .9em; }
.prose a { color: inherit; text-underline-offset: 3px; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-head); letter-spacing: -.015em; line-height: 1.25; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 1.5em; } .prose h3 { font-size: 1.25em; } .prose h4 { font-size: 1.1em; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--accent); color: #3a3940; }
.prose blockquote > * { margin: 0 0 .8em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose .lead { font-size: 1.2em; line-height: 1.5; }
.prose .loud { font: 700 1.6em/1.25 var(--font-head); letter-spacing: -.02em; }
.prose .foot { font-size: .85em; color: var(--muted); }
.prose .blockurl { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--accent-soft); font-weight: 600; }
.prose .blockurl a { color: var(--accent); text-decoration: none; }

.pic { margin: 1.5em 0; }
.pic img { width: 100%; height: auto; border-radius: var(--radius-sm); background: var(--line); cursor: zoom-in; }
.pic figcaption { margin-top: 10px; font-size: .85em; line-height: 1.45; color: var(--muted); }
.gallery { display: flex; gap: 14px; margin: 1.5em calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
/* фото в ряду одной высоты: ширина пропорциональна соотношению сторон (--ar), вертикальные и горизонтальные смотрятся вместе */
.gallery { align-items: flex-start; }
.gallery .pic { flex: var(--ar, 1.5) 1 calc(var(--ar, 1.5) * 260px); min-width: 0; margin: 0; scroll-snap-align: center; }
.gallery .pic img { display: block; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; margin: 1.5em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 500; text-decoration: none; transition: box-shadow .15s, color .15s; }
.tag:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.tag i { font-style: normal; color: var(--muted); font-size: .85em; }
.tags--cloud { margin-top: 12px; }
.tag--n { min-height: 40px; font-size: 16px; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 28px 0 8px; }
.pager__a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; text-decoration: none; }
.pager__a:hover { color: var(--accent); }
.pager__n { color: var(--muted); font-size: 15px; }

.postlist { list-style: none; margin: 0 0 32px; padding: 0; }
.postlist li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.postlist a { font-weight: 600; text-decoration: none; font-size: 18px; line-height: 1.35; }
.postlist a:hover { color: var(--accent); }
.postlist time { flex: none; color: var(--muted); font-size: 14px; }
.year { margin-bottom: 12px; }
.year__h { margin: 36px 0 8px; font: 600 28px/1.2 var(--font-head); }
.year__h a { text-decoration: none; }
.year__h span { font: 500 16px var(--font); color: var(--muted); }
.related { margin-top: 40px; }
.related__h { font: 600 20px/1.3 var(--font-head); margin: 0 0 8px; }
.blogpage .chips { position: static; }
.wrap--text .chips { position: static; margin: 8px 0 12px; padding: 0; }

.search input { width: 100%; min-height: 56px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; font-size: 18px; }
.search input:focus { outline: none; border-color: var(--text); }
.results { margin: 24px 0 64px; }
.results .hit { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.results .hit b { display: block; font-size: 19px; line-height: 1.35; }
.results .hit:hover b { color: var(--accent); }
.results .hit small { display: block; color: var(--muted); margin-top: 2px; }
.results .hit p { margin: 6px 0 0; color: #3a3940; line-height: 1.5; }
.results mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.results .none { color: var(--muted); }
@media (max-width: 760px) {
  .postlist li { flex-direction: column; gap: 2px; }
  .pager { flex-wrap: wrap; }
  .pager__n { order: -1; width: 100%; text-align: center; }
}

/* ===== единый стиль с jackitos.ru: первый экран, карточки заметок, страница заметки ===== */
.hero--blog .hero__title { max-width: 14em; }
.hero--blog + .section { padding-top: clamp(40px, 6vw, 72px); }
.card__text { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title { font-size: 19px; }
.card--text { background: var(--ink); color: #fff; justify-content: flex-end; min-height: 260px; }
.card--text .card__meta { color: rgb(255 255 255 / .55); }
.card--text .card__text { color: rgb(255 255 255 / .72); -webkit-line-clamp: 5; }
.card--text .card__title { color: #fff; }
.card--text:hover { background: var(--ink-2); }
.badge--star { background: rgb(232 163 23 / .95); color: #111; }
.section--tight { padding: 8px 0 clamp(24px, 4vw, 48px); }
.section__title--sm { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 20px; }
.section .pager { padding-top: 32px; }
.tiles .tile { aspect-ratio: 21 / 9; }
.blogpost .proj__head { padding-bottom: clamp(20px, 3vw, 32px); }
.blogpost .proj__body { padding-bottom: clamp(24px, 4vw, 48px); gap: 0; }
.blogpost .tags { margin-top: 16px; }
.proj__title .star { font-size: .5em; vertical-align: .55em; }
.blogpost .prose { max-width: 760px; margin: 0 auto; width: 100%; }
.blogpost .prose > .pic:first-child, .blogpost .prose > .gallery:first-child, .blogpost .prose > .video:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .blogpost .prose > .pic:not(.pic--g), .blogpost .prose > .video {
    width: min(1040px, calc(100vw - 2 * var(--gutter))); max-width: none; margin: 1.5em 0 1.5em 50%; transform: translateX(-50%);
  }
  .blogpost .prose > .gallery {
    width: min(1040px, calc(100vw - 2 * var(--gutter))); margin: 1.5em 0 1.5em 50%; transform: translateX(-50%); padding: 0 0 12px;
  }
}
@media (max-width: 760px) {
  .tiles .tile { aspect-ratio: 4 / 3; }
  .card--text { min-height: 200px; }
}

/* ===== главная блога: лента и список ===== */
.hero--compact { padding: clamp(28px, 4vw, 44px) 0 clamp(26px, 3vw, 36px); }
.hero--compact .hero__title { max-width: 13em; font-size: clamp(30px, 5vw, 56px); }
.hero--compact .hero__kicker { margin-bottom: 16px; }
.hero--compact .hero__lead { max-width: 48em; margin-top: 20px; }
.hero--compact .hero__stats { margin-top: 22px; padding-top: 16px; }

.feed { padding-top: clamp(8px, 2vw, 20px); padding-bottom: clamp(32px, 6vw, 64px); }
.post { padding: clamp(20px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); }
.post__head { margin-bottom: 20px; }
.post__date { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.post__title { margin: 0; font: 600 clamp(24px, 3.4vw, 34px)/1.15 var(--font-head); letter-spacing: -.02em; }
.post__title a { text-decoration: none; }
.post__title a:hover { color: var(--accent); }
.post__more { margin: 4px 0 0; }
.post .tags { margin-top: 12px; gap: 6px; }
.post .tag { min-height: 30px; padding: 0 12px; font-size: 14px; }

.wrap--list { max-width: calc(980px + 2 * var(--gutter)); }
.list { padding-bottom: clamp(32px, 6vw, 64px); }
.rows__year { margin: 44px 0 12px; font: 600 28px/1.2 var(--font-head); letter-spacing: -.02em; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row__a { display: grid; grid-template-columns: 76px 1fr 176px; gap: 20px 28px; align-items: start; padding: 24px 12px; text-decoration: none; border-radius: 14px; transition: background-color .15s; }
.row__a:hover { background: var(--card); }
.row__date { padding-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.2; }
.row__date b { display: block; margin-bottom: 4px; font: 600 28px/1 var(--font-head); color: var(--text); }
.row__main { display: block; min-width: 0; }
.row__title { display: block; font-weight: 700; font-size: 21px; line-height: 1.3; }
.row__a:hover .row__title { color: var(--accent); }
.row__text { display: block; margin-top: 8px; color: #4a4950; font-size: 16px; line-height: 1.55; }
.row__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.row__img img { width: 176px; height: 117px; object-fit: cover; border-radius: 10px; background: var(--line); }
@media (max-width: 700px) {
  .row__a { grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 20px 4px; }
  .row__img { display: none; }
  .row__date b { font-size: 24px; }
}

/* ===== оценки из 10 и страница «Оценки» ===== */
.rate { display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 11px; border-radius: 999px; font-family: var(--font); font-size: .42em; font-weight: 700; line-height: 1.3; letter-spacing: 0; vertical-align: .55em; white-space: nowrap; }
.rate b { font-size: 1.15em; }
.rate i { font-style: normal; font-size: .8em; opacity: .65; }
.rate--hi { background: #e1f5e8; color: #14733a; }
.rate--mid { background: #fff1cf; color: #8a5a00; }
.rate--low { background: #fde4e1; color: #b42318; }
.row__title .rate, .postlist .rate { font-size: 14px; vertical-align: 2px; margin-left: 4px; }
.ratefilter { display: grid; gap: 16px; margin: 8px 0 24px; }
.ratefilter__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ratefilter .chip { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.ratefilter .chip i { font-style: normal; margin-left: 6px; font-size: .85em; color: var(--muted); }
.ratefilter .chip.is-active i { color: rgb(255 255 255 / .6); }
.ratefilter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ratefilter label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ratefilter select { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-weight: 500; }
.ratefilter__n { margin-left: auto; color: var(--muted); font-size: 14px; }
.none { color: var(--muted); }
#rated { margin-bottom: 48px; }
@media (max-width: 700px) { .ratefilter__n { margin-left: 0; width: 100%; } }

/* оценка на фото */
.pic { position: relative; }
.rate--lg { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 84px; height: 84px; padding: 0; border-radius: 50%; border: 5px solid; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .28); font-size: 12px; vertical-align: baseline; }
.rate--lg b { font: 700 28px/1 var(--font-head); letter-spacing: -.03em; }
.rate--lg i { margin-top: 2px; font-size: 11px; opacity: .7; }
.rate--lg.rate--hi { background: #fff; border-color: #2fb464; color: #14733a; }
.rate--lg.rate--mid { background: #fff; border-color: #f0b429; color: #8a5a00; }
.rate--lg.rate--low { background: #fff; border-color: #e5483b; color: #b42318; }
@media (max-width: 600px) { .rate--lg { width: 68px; height: 68px; top: 10px; right: 10px; border-width: 4px; } .rate--lg b { font-size: 22px; } }

/* ===== рубрика «Ватерклозет» ===== */
.wcwrap { padding-bottom: 72px; }
.wcfilter { display: grid; gap: 16px; margin: 22px 0 22px; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.wcfilter__row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.wcfilter label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 150px; flex: 1 1 150px; }
.wcfilter select { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #faf9f5; font: inherit; font-size: 15px; color: var(--text); }
.wcfilter select:focus { outline: none; border-color: var(--text); }
.sw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw__t { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.sw button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 .5px var(--line); cursor: pointer; padding: 0; }
.sw button.on { box-shadow: 0 0 0 3px var(--accent); }
.wcfilter__foot { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.wcfilter__foot button { border: 0; background: transparent; color: var(--accent); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wall { column-count: 4; column-gap: 14px; }
.wt { position: relative; display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--line); cursor: zoom-in; box-shadow: var(--shadow); }
.wt img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.wt:hover img { transform: scale(1.04); }
.wt__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .72)); font-size: 13px; line-height: 1.35; }
.wt__cap b { display: block; font-size: 15px; font-weight: 700; }
.wt .rate--lg { width: 54px; height: 54px; top: 10px; right: 10px; border-width: 4px; }
.wt .rate--lg b { font-size: 17px; }
.wt .rate--lg i { display: none; }
.none { color: var(--muted); padding: 40px 0; text-align: center; column-span: all; }
.wcview { width: min(1200px, 96vw); max-width: none; height: min(92vh, 880px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #111114; color: #fff; }
.wcview[open] { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.wcview::backdrop { background: rgb(8 8 10 / .86); }
.wcview__img { display: grid; place-items: center; background: #0b0b0d; padding: 12px; min-height: 0; }
.wcview__img img { max-width: 100%; max-height: calc(min(92vh, 880px) - 24px); object-fit: contain; border-radius: 8px; }
.wcview__side { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.wcview__side h2 { margin: 0; font: 600 22px/1.25 var(--font-head); letter-spacing: -.01em; }
.wcview__side .where { color: rgb(255 255 255 / .75); font-size: 16px; }
.wcview dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.wcview dt { color: rgb(255 255 255 / .5); }
.wcview dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.wcview .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .35); }
.wcview .nav { margin-top: auto; display: flex; gap: 10px; }
.wcview .nav button { flex: 1; min-height: 48px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .25); background: transparent; color: #fff; font: 600 15px var(--font); cursor: pointer; }
.wcview .nav button:hover { background: rgb(255 255 255 / .1); }
.wcview .close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .16); color: #fff; font-size: 26px; cursor: pointer; }
.wcview .rate--lg { position: static; width: 70px; height: 70px; }
@media (max-width: 1000px) { .wall { column-count: 3; } }
@media (max-width: 760px) {
  .wall { column-count: 2; column-gap: 10px; } .wt { margin-bottom: 10px; }
  .wcview[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 94vh; }
  .wcview__img img { max-height: 58vh; } .wcview__side { padding: 16px; } .wcview dl { grid-template-columns: auto 1fr; }
}

.wt[hidden] { display: none; }

/* «Также смотрите» в конце заметки */
.seealso__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.seealso__list li { margin: 0; }
.seealso__list a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.seealso__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.seealso__list img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; border-radius: 0; }
.seealso__list span { padding: 12px 14px 14px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.seealso__ph { display: block; width: 100%; aspect-ratio: 3 / 2; background: #d9dad6; }

/* подпись-абзац стоит над своим фото: к нему близко, от предыдущего фото далеко */
.blogpost .prose > .pic, .blogpost .prose > .gallery, .blogpost .prose > .video { margin-top: .5em; margin-bottom: 2.2em; }
.blogpost .prose > p:has(+ .pic), .blogpost .prose > p:has(+ .gallery), .blogpost .prose > p:has(+ .video) { margin-bottom: .45em; }
.blogpost .prose > .pic:first-child, .blogpost .prose > .gallery:first-child, .blogpost .prose > .video:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .blogpost .prose > .pic:not(.pic--g), .blogpost .prose > .video { margin: .5em 0 2.2em 50%; }
  .blogpost .prose > .gallery { margin: .5em 0 2.2em 50%; }
  .blogpost .prose > .pic:first-child:not(.pic--g), .blogpost .prose > .video:first-child, .blogpost .prose > .gallery:first-child { margin-top: 0; }
}

/* «Читайте также» — той же ширины, что и крупные фото в заметке */
.wrap--rel { max-width: calc(1040px + 2 * var(--gutter)); }
.wrap--rel .section__title { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-bottom: 24px; }
.seealso__list span { font-size: 18px; line-height: 1.3; padding: 14px 16px 16px; }

/* ---------- сезонная шапка (как в приложении «Дартстрой») ---------- */
.header > *:not(.seasonfx) { position: relative; z-index: 2; }
.header--autumn { background: linear-gradient(90deg, #17110e 0%, #2a1a10 60%, #4a2a16 100%); }
.header--winter { background: linear-gradient(90deg, #0b1018 0%, #16202e 60%, #26364a 100%); }
.header--spring { background: linear-gradient(90deg, #16201f 0%, #2a3a36 55%, #6b7f78 100%); }
.header--summer { background: linear-gradient(90deg, #0f2f3f 0%, #18506b 55%, #3f87a6 100%); }
.header--newyear { background: linear-gradient(90deg, #070b1c 0%, #101a3c 60%, #1b2a5a 100%); }
.seasonfx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.seasonfx__deco { position: absolute; inset: 0; overflow: hidden; }
.seasonfx__p { position: absolute; top: -8px; border-radius: 50%; opacity: .8; animation: seasonfall linear infinite; }
.seasonfx__leaf { border-radius: 60% 40% 60% 40%; }
/* листья и снег падают внутри шапки и плавно гаснут у нижнего края */
@keyframes seasonfall { 0% { transform: translateY(0) rotate(0deg); opacity: .85; } 65% { opacity: .85; } 100% { transform: translateY(var(--fall, 100px)) rotate(180deg); opacity: 0; } }
.seasonfx__sun { position: absolute; right: 4%; top: 50%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #fffbe0 0%, #ffe27a 22%, rgba(255, 226, 122, 0) 68%); }
.header--summer .seasonfx__sun { top: -30px; right: 3%; }
.seasonfx__drift { position: absolute; left: 0; right: 0; bottom: -2px; height: 7px; background: #eef3f8; border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: .85; }
.seasonfx__hill { position: absolute; left: 0; right: 0; bottom: -4px; height: 12px; background: #2f8f4a; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.seasonfx__garland { position: absolute; left: 0; top: 0; width: 100%; height: 22px; }
.seasonfx__bulb { position: absolute; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; animation: seasontw 1.8s infinite; }
@keyframes seasontw { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .seasonfx__p, .seasonfx__bulb { animation: none; } }

.mockbar { margin: 18px 0 0; padding: 10px 16px; border-radius: 12px; background: #fff6dc; border: 1px solid #f0d98b; color: #6b4e00; font-size: 14px; }
.wcwrap { padding-bottom: 72px; }
.wcfilter { display: grid; gap: 16px; margin: 22px 0 22px; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.wcfilter__row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.wcfilter label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 150px; flex: 1 1 150px; }
.wcfilter select { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #faf9f5; font: inherit; font-size: 15px; color: var(--text); }
.wcfilter select:focus { outline: none; border-color: var(--text); }
.sw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw__t { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.sw button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 .5px var(--line); cursor: pointer; padding: 0; }
.sw button.on { box-shadow: 0 0 0 3px var(--accent); }
.wcfilter__foot { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.wcfilter__foot button { border: 0; background: transparent; color: var(--accent); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wall { column-count: 4; column-gap: 14px; }
.wt { position: relative; display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--line); cursor: zoom-in; box-shadow: var(--shadow); }
.wt img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.wt:hover img { transform: scale(1.04); }
.wt__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .72)); font-size: 13px; line-height: 1.35; }
.wt__cap b { display: block; font-size: 15px; font-weight: 700; }
.wt .rate--lg { width: 54px; height: 54px; top: 10px; right: 10px; border-width: 4px; }
.wt .rate--lg b { font-size: 17px; }
.wt .rate--lg i { display: none; }
.none { color: var(--muted); padding: 40px 0; text-align: center; column-span: all; }
.wcview { width: min(1200px, 96vw); max-width: none; height: min(92vh, 880px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #111114; color: #fff; }
.wcview[open] { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.wcview::backdrop { background: rgb(8 8 10 / .86); }
.wcview__img { display: grid; place-items: center; background: #0b0b0d; padding: 12px; min-height: 0; }
.wcview__img img { max-width: 100%; max-height: calc(min(92vh, 880px) - 24px); object-fit: contain; border-radius: 8px; }
.wcview__side { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.wcview__side h2 { margin: 0; font: 600 22px/1.25 var(--font-head); letter-spacing: -.01em; }
.wcview__side .where { color: rgb(255 255 255 / .75); font-size: 16px; }
.wcview dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.wcview dt { color: rgb(255 255 255 / .5); }
.wcview dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.wcview .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .35); }
.wcview .nav { margin-top: auto; display: flex; gap: 10px; }
.wcview .nav button { flex: 1; min-height: 48px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .25); background: transparent; color: #fff; font: 600 15px var(--font); cursor: pointer; }
.wcview .nav button:hover { background: rgb(255 255 255 / .1); }
.wcview .close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .16); color: #fff; font-size: 26px; cursor: pointer; }
.wcview .rate--lg { position: static; width: 70px; height: 70px; }
@media (max-width: 1000px) { .wall { column-count: 3; } }
@media (max-width: 760px) {
  .wall { column-count: 2; column-gap: 10px; } .wt { margin-bottom: 10px; }
  .wcview[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 94vh; }
  .wcview__img img { max-height: 58vh; } .wcview__side { padding: 16px; } .wcview dl { grid-template-columns: auto 1fr; }
}

html {scroll-padding-top:20px}
body {margin:0;background:#f3f1ea;color:#20231c}
.wc-hero {min-height:min(800px,100svh);display:flex;flex-direction:column;background:linear-gradient(180deg,#11180fc9,#10170b38 46%,#11180fab),url(hero.jpg) center 48%/cover,#34412c;color:#fff;padding:0 6vw 40px}
.wc-header {min-height:82px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff45}
.wc-header a {text-decoration:none;color:inherit}
.wc-brand {font:650 19px var(--font-head)}
.wc-intro {width:min(100%,960px);margin:auto;padding:66px 0 28px}
.wc-intro h1 {font:650 clamp(36px,6.4vw,84px)/1.05 var(--font-head);letter-spacing:-.055em;margin:0}
.wc-intro>p {font-size:clamp(17px,2.4vw,24px);margin:16px 0 34px}
.wc-panel {color:#20231c;background:#fcfaf3f5;border-radius:18px;padding:18px 22px 2px}
.wc-panel-title {font-weight:700;font-size:18px}
.wc-panel .wcfilter {margin:10px 0 0;padding:0 0 12px;box-shadow:none;background:transparent}
.wc-all {min-height:48px;display:inline-flex;align-items:center;gap:22px;background:#ffcd4e;color:#29220c;text-decoration:none;border-radius:9px;padding:0 20px;font-weight:700;margin-top:21px}
.wc-collection {padding:55px 6vw 70px;max-width:1400px;width:100%;margin:auto}
.wc-collection h2 {font:650 clamp(28px,4vw,42px)/1.2 var(--font-head);margin:0}
.wc-note {color:#5a6151;margin:10px 0 24px}
.wc-footer {display:flex;justify-content:space-between;padding:26px 6vw;background:#232c20;color:#fff}
@media (max-width:720px) {
 .wc-header {min-height:61px}
 .wc-brand {font-size:14px}
 .wc-intro {padding-top:42px}
 .wc-hero {background-position:center,54% center}
 .wc-panel {padding:14px 14px 2px}
 .wcfilter__row {grid-template-columns:repeat(2,minmax(0,1fr))}
 .wc-panel select {width:100%}
 .wc-all {font-size:16px;max-width:100%}
 .wc-collection {padding-top:34px}
}

.wc-panel { color: #fff; background: transparent; border-radius: 0; padding: 0; }
.wc-panel-title { font: 600 21px/1.2 var(--font-head); text-shadow: 0 1px 4px #000; }
.wc-panel .wcfilter { gap: 12px; padding-bottom: 0; }
.wc-panel .wcfilter__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; align-items: end; }
.wc-panel .wcfilter__row label { color: #fff; min-width: 0; font-weight: 500; text-shadow: 0 1px 4px #000; }
.wc-panel .wcfilter__row label:nth-child(-n + 2) { grid-column: span 2; }
.wc-select { position: relative; display: block; }
.wc-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-top: 9px solid #666;
  border-bottom: 0;
  pointer-events: none;
}
.wc-panel .wcfilter__row select {
  display: block;
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding-right: 34px;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  background: #fff;
  color: #393939;
  font: 400 16px var(--font);
  text-overflow: ellipsis;
}
.wc-select select:focus-visible { outline: 2px solid #ffcd4e; outline-offset: 2px; }
@media (forced-colors: active) {
  .wc-panel .wcfilter__row select { appearance: auto; padding-right: 12px; }
  .wc-select::after { display: none; }
}
.wc-sort { min-height: 48px; border: 0; border-radius: 5px; background: linear-gradient(#ffec6e, #ffb01f); color: #9b6400; font: 700 18px var(--font); cursor: pointer; }
.wc-sort { font-weight: 600; }
.wc-sort b { color: #1d1608; font-weight: 650; }
.wc-sort:hover { background: linear-gradient(#fff08e, #ffc445); }
.wc-panel .sw__t, .wc-panel .wcfilter__foot, .wc-panel .wcfilter__foot button { color: #fff; text-shadow: 0 1px 4px #000; }
.wc-all { background: transparent; color: #fff; padding: 0; text-decoration: underline; text-decoration-color: #ffcd4e; text-underline-offset: 5px; }
@media (max-width: 720px) {
 .wc-panel .wcfilter__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .wc-panel .wcfilter__row label:nth-child(-n + 2) { grid-column: span 1; }
 .wc-sort { width: 100%; }
}

.wc-hero {min-height:max(650px,100svh);padding:0 5vw 22px;background-image:linear-gradient(180deg,#0c0e0b67,#11180d34 48%,#0c14096e),url(hero.jpg);background-position:center}
.wc-header {max-width:1270px;width:100%;margin:0 auto;border:0;align-items:flex-start;gap:18px;padding:20px 0 0}
.wc-header h1 {font:700 clamp(28px,4vw,46px)/1.1 var(--font-head);margin:0 0 12px;letter-spacing:-.025em}
.wc-header p {font-size:clamp(15px,1.6vw,22px);line-height:1.3;margin:0;text-shadow:0 1px 5px #0009}
.wc-header nav {display:flex;gap:10px;align-items:center;white-space:nowrap;padding-top:8px}
.wc-header nav a,.wc-credit a {text-decoration:underline;text-decoration-color:#ffcc4b;text-underline-offset:4px}
.wc-intro {padding:24px 0 32px}
.wc-panel-title {margin:0 0 9px}
.wc-all {display:flex;justify-content:center;align-items:center;width:max-content;max-width:100%;margin:14px auto 0;text-align:center;font-size:clamp(19px,2.5vw,28px);text-shadow:0 1px 5px #0008}
.wc-credit {width:100%;max-width:1270px;margin:0 auto;display:flex;justify-content:space-between;gap:10px;font-size:15px}
@media(max-width:600px) {
.wc-header {flex-direction:column;gap:10px}
.wc-header nav {padding-top:0}
.wc-hero {min-height:100svh}
.wc-panel .wcfilter__row select {font-size:14px}
.wc-all {width:100%}
}

.wc-collection .wall { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:1fr; gap:14px; }
.wc-tile {display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;color:#24251e;box-shadow:var(--shadow)}
.wc-tile img,.wc-photo-empty{display:block;width:100%;flex:none;aspect-ratio:3/2;object-fit:cover;background:#e0e1da}
.wc-tile h3 {margin:0 0 5px;font:600 18px/1.3 var(--font-head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-tile p {margin:0;color:#5a6151;font-size:14px}
.wc-tile>div {padding:14px}
.wc-tile:hover h3 {text-decoration:underline}
.wc-collection-head {display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wc-map-link {font-weight:600;text-underline-offset:4px}
.wc-map-section {margin-top:clamp(30px,5vw,56px)}
.wc-map-section h2 {margin-bottom:16px}
.wc-map {height:clamp(340px,58vh,520px);background:#e0e1da;border-radius:12px;overflow:hidden;isolation:isolate}
.wc-map-place {display:flex;align-items:center;gap:9px;padding-right:8px;font:500 14px/1.3 var(--font);text-decoration:none}
.wc-map-place span {text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.wc-map-place img {width:40px;height:40px;flex:none;border-radius:6px;object-fit:cover;background:var(--paper)}
@media (max-width:1000px) { .wc-collection .wall {grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:730px) { .wc-collection .wall {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} }
@media (max-width:460px) { .wc-collection .wall {grid-template-columns:minmax(0,1fr)} }
.wc-header nav{flex-wrap:wrap}
.wc-header nav .wc-author-link{display:inline-flex;min-height:42px;align-items:center;border:1px solid #fff8;border-radius:999px;padding:6px 14px;text-decoration:none;background:#161b17aa;white-space:nowrap}
.wc-header nav .wc-author-link:hover{background:#161b17}
.wc-header nav .wc-author-link[hidden]{display:none}
.wc-copyright {display:inline-flex;align-items:center;gap:4px}
.wc-owner-lock {display:inline-grid;place-items:center;min-width:44px;min-height:44px;color:#d5d5cf}
.wc-owner-lock svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wc-owner-lock .lock-open,.wc-owner-lock.is-open .lock-closed {display:none}
.wc-owner-lock.is-open {color:#8af2ac}
.wc-owner-lock.is-open .lock-open {display:block}
.wc-sort:disabled {opacity:.65;cursor:default}

.wc-results-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 20px}
.wc-results-bar p {margin:0;color:var(--muted)}
.wc-results-bar a,.wc-back {font-weight:600;text-underline-offset:4px}
.wc-back {display:inline-block;margin-bottom:14px}
.wc-pages {display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:22px 0 0}
.wc-pages a,.wc-pages span[aria-current] {display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.wc-pages a {background:#fff}
.wc-pages a:hover {border-color:#34412c}
.wc-pages span[aria-current] {background:#34412c;color:#fff;border-color:#34412c}
.wc-pages[hidden] {display:none}
.wc-collection-head h1 {font:700 clamp(32px,5vw,48px)/1.1 var(--font-head);margin:0}
#catalog-status:empty {display:none}

.wc-catalog-page {min-height:100svh;display:flex;flex-direction:column}
.wc-catalog-page .wc-collection {flex:1;margin:0 auto;padding-top:32px}
.wc-catalog-header,.wc-catalog-footer {background:#232c20;color:#fff}
.wc-catalog-shell {width:100%;max-width:1400px;margin:auto;padding:18px 6vw;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 28px}
.wc-catalog-shell a {color:inherit;text-underline-offset:5px;text-decoration-color:#ffcd4e}
.wc-catalog-brand {font:700 clamp(24px,3vw,34px)/1.1 var(--font-head);letter-spacing:-.035em;text-decoration:none}
.wc-catalog-nav,.wc-catalog-footer nav {display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;font-size:14px}
.wc-catalog-nav a {display:inline-flex;align-items:center;min-height:40px;text-decoration:none}
.wc-catalog-nav a:hover,.wc-catalog-nav a[aria-current] {text-decoration:underline;text-decoration-color:#ffcd4e}
.wc-catalog-nav .wc-catalog-add {border:1px solid #ffffff80;border-radius:999px;padding:0 12px}
.wc-catalog-nav .wc-catalog-add:is(:hover,:focus-visible) {
  text-decoration:none;
  background-color:#11111440;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.wc-catalog-footer {font-size:14px}
.wc-catalog-page #map {scroll-margin-top:16px}
@media(max-width:600px) {
  .wc-catalog-shell {padding-block:14px;gap:8px 18px}
  .wc-catalog-nav {column-gap:14px}
  .wc-catalog-page .wc-collection {padding-top:24px}
}
.wc-catalog-header {
  background:linear-gradient(#11111473,#11111491),url(hero.jpg) center 38%/cover no-repeat,#232c20;
  border-bottom:1px solid rgb(255 255 255 / .12);
  text-shadow:0 1px 4px #000b;
}
.wc-catalog-header .wc-catalog-shell {min-height:98px}
@media(max-width:600px) {
  .wc-catalog-header {background-size:cover,auto 290px}
}
.wc-catalog-footer {background:var(--ink)}
.wc-results-sort {position:relative;max-width:100%;color:var(--text);font-size:14px}
.wc-results-sort::after,.wc-collection-select::after {content:"";position:absolute;right:12px;top:50%;width:0;height:0;border:6px solid transparent;border-top:8px solid #666;border-bottom:0;transform:translateY(-50%);pointer-events:none}
.wc-results-sort select {appearance:none;max-width:100%;min-height:44px;padding:0 24px 0 4px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.wc-results-sort select:hover {text-decoration:underline;text-underline-offset:4px}
.wc-results-sort select:focus-visible {outline:0;text-decoration:underline;text-underline-offset:4px}
@media(forced-colors:active) {
  .wc-results-sort select:focus-visible {outline:2px solid Highlight;outline-offset:2px}
}
@media(forced-colors:active) {
  .wc-results-sort select {appearance:auto;padding-right:4px}
  .wc-results-sort::after {display:none}
}
.wc-collection-filters {border-block:1px solid var(--line);margin-bottom:16px}
.wc-collection-filters form {display:flex;flex-wrap:wrap;align-items:end;gap:4px 24px;padding:8px 0}
.wc-collection-filters label {display:grid;gap:2px;flex:1 1 130px;min-width:0;font-size:12px;color:var(--muted)}
.wc-collection-select {position:relative;display:block}
.wc-collection-select select {appearance:none;width:100%;min-height:42px;padding:0 25px 0 0;border:0;background:transparent;color:var(--ink);font:400 14px var(--font);cursor:pointer;text-overflow:ellipsis}

@media(forced-colors:active) {
  .wc-collection-select select {appearance:auto;padding-right:4px}
  .wc-collection-select::after {display:none}
}
.wc-filter-chips:not([hidden]) {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.wc-filter-chips a {border:1px solid #d7d9ca;border-radius:999px;background:#e9ebdf;padding:5px 12px;font-size:13px;text-decoration:none}
.wc-filter-chips a:hover {text-decoration:underline}
.wc-tile time {display:block;margin-top:6px;color:#5a6151;font-size:12px}
.wc-map-cluster {display:grid;place-items:center;min-width:44px;height:44px;padding:0 8px;border:2px solid white;border-radius:999px;background:#a63828;color:white;font:700 15px var(--font);cursor:pointer;box-shadow:0 2px 7px #0005}

.wc-collection-select select {min-height:44px;border:1px solid #c5c4b8;border-radius:8px;padding-inline:11px 32px;background:#fffdf8}
.wc-results-sort select:focus-visible,.wc-collection-select select:focus-visible {outline:0;background:#fff;text-decoration:none}
.wc-collection-select select:focus-visible {border-color:#858977}
@media(forced-colors:active) {
  .wc-results-sort select,.wc-collection-select select {padding-inline:11px}
  .wc-results-sort select:focus-visible,.wc-collection-select select:focus-visible {outline:2px solid Highlight;outline-offset:2px}
}

@media (hover: hover) {
  a[href]:not(.btn--accent):not(.button):hover { color: #e8392b !important; text-decoration-color: currentColor; }
  a[href]:not(.btn--accent, .button, .wc-place-blog, .wc-tile, .wc-catalog-add, .wc-author-link):hover {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
  .wc-tile:hover h3 {
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}
