:root {
  --bg: #F2F0EB; --txt: #121211; --txt2: #3A3936; --mut: #6B6862; --faint: #A9A59D;
  --s1: #FFFFFF; --s2: #E6E3DC; --s3: #ECE9E2; --ink: 18, 18, 17;
  --acc: #6857E8; --accr: 104, 87, 232; --glass: rgba(242, 240, 235, .86); --glass2: rgba(255, 255, 255, .82);
  --lime: #CEFD55; --limer: 206, 253, 85;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
:root.dark {
  --bg: #0F0F10; --txt: #EDEAE3; --txt2: #CFCBC3; --mut: #8D8A84; --faint: #5E5B57;
  --s1: #17171A; --s2: #1F1F23; --s3: #2A2A2F; --ink: 237, 234, 227;
  --acc: #8476F1; --accr: 132, 118, 241; --glass: rgba(15, 15, 16, .86); --glass2: rgba(15, 15, 16, .72);
  --lime: #CEFD55; --limer: 206, 253, 85;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font-family: Geologica, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--acc); color: #FFFFFF; }
.grow { flex: 1 1 0; }
.mono { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.wrap { max-width: 1600px; margin: 0 auto; padding: 0 18px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(var(--ink), .1); }
.top-in { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 18px; }
.logo { font-size: 22px; font-weight: 600; letter-spacing: -.04em; display: inline-flex; align-items: baseline; gap: 3px; }
.logo::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); transform: translateY(-2px); animation: live-pulse 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.logo:hover::after { animation-duration: .9s; }
@keyframes live-pulse {
  0%, 100% { transform: translateY(-2px) scale(.85); box-shadow: 0 0 0 0 rgba(var(--accr), .8), 0 0 6px rgba(var(--accr), .6); opacity: .75; }
  50% { transform: translateY(-2px) scale(1.15); box-shadow: 0 0 0 6px rgba(var(--accr), 0), 0 0 12px rgba(var(--accr), .9); opacity: 1; }
}
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--mut); }
.nav a[aria-current="page"] { color: var(--acc); font-weight: 500; }
.nav a[href="add.html"] { display: inline-flex !important; align-items: center; gap: 6px; font: 500 14px Geologica, system-ui, sans-serif !important; text-transform: none !important; letter-spacing: normal !important; background: rgba(var(--accr), .1) !important; border: 1px solid rgba(var(--accr), .3); color: var(--txt) !important; padding: 5px 8px 5px 10px !important; border-radius: 20px !important; transition: background .2s, border-color .2s; margin-left: 6px; }
.nav a[href="add.html"]:hover { background: rgba(var(--accr), .15); border-color: var(--acc); }
.nav a[href="add.html"]::before { content: "+"; color: var(--acc); font-size: 18px; line-height: 1; font-weight: 400; margin-top: -2px; }
.nav a[href="add.html"]::after { content: "Free"; background: var(--acc); color: #FFF; padding: 3px 6px; border-radius: 10px; font: 600 9.5px var(--mono); line-height: 1; letter-spacing: .04em; text-transform: uppercase; margin-left: 2px; }
.nav-sos { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #FFFFFF !important; background: #E63946; padding: 5px 12px; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.nav-sos:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(230, 57, 70, .35); }
.nav-sos::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; opacity: .8; animation: pulse-sos 2s ease-in-out infinite; }
@keyframes pulse-sos { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.2); opacity: 1; } }
.nav-sos + .nav-taxes { margin-left: -14px; }
.nav-taxes { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #0F0F10; background: var(--lime); padding: 5px 12px; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.nav-taxes:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--limer), .2); color: #0F0F10; }
.nav-taxes::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0F0F10; opacity: .2; }
.nav-taxes[aria-current] { background: var(--acc); color: #fff; }
.nav-taxes[aria-current]:hover { box-shadow: 0 6px 16px rgba(var(--accr), .3); color: #fff; }
.nav-taxes[aria-current]::before { background: #fff; opacity: .4; }
.favs { font: 500 13px var(--mono); color: var(--acc); white-space: nowrap; margin-left: 8px; }
.round { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(var(--ink), .18); font-size: 15px; }
.round:hover { border-color: var(--acc); color: var(--acc); }

@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 14px 18px 10px; gap: 14px 12px; }
  .logo { margin-right: auto; }
  .grow { display: none; }
  .nav { order: 4; width: calc(100% + 36px); margin: 0 -18px; padding: 0 18px 4px; gap: 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-sos + .nav-taxes { margin-left: -6px; }
  .nav-taxes { font-size: 0 !important; gap: 0; }
  .nav-taxes::before { margin-right: 6px; }
  .nav-taxes::after { content: "Налоги"; font-size: 11.5px; letter-spacing: .06em; }
}

/* The sentence */
.hero { display: flex; flex-direction: column; gap: 28px; padding: 32px 0 24px; }
.eyebrow { margin: 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.say { margin: 0; font-size: 34px; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; max-width: 1200px; text-wrap: balance; }
.tok { white-space: nowrap; color: var(--acc); }
.tok .gally-say-word { border-bottom: 2px dashed rgba(var(--accr), .45); line-height: 1.05; }
.tok::after { content: "▾"; font-size: .45em; vertical-align: .35em; margin-left: .2em; opacity: .8; }
.tok:hover .gally-say-word { border-bottom-color: var(--acc); }
.tok:has(select:focus-visible) .gally-say-word { outline: 2px solid rgba(var(--accr), .5); outline-offset: 4px; border-radius: 2px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.count { font: 500 13px var(--mono); margin-right: 10px; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid rgba(var(--ink), .18); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: rgba(var(--ink), .4); }
.chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: #FFFFFF; font-weight: 500; }
.views { display: flex; border: 1px solid rgba(var(--ink), .14); border-radius: 6px; padding: 3px; }
.views button { height: 28px; padding: 0 12px; border-radius: 4px; font-size: 13px; font-weight: 500; }
.views button[aria-pressed="true"] { background: var(--txt); color: var(--bg); }
.gally-reset { height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13px; color: var(--mut); border: 0; }
.gally-reset:hover { color: var(--acc); }
.gally-none { color: var(--mut); padding: 48px 0; text-align: center; }

/* Week strip */
.week { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.week::-webkit-scrollbar { display: none; }
.week a { flex: 0 0 auto; width: 46px; padding: 12px 0 10px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.week a[href]:hover { background: var(--s1); color: var(--txt); }
.week .wd { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.week [data-gally-state~="weekend"] .wd { color: var(--acc); }
.week .num { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.week .dots { display: flex; gap: 3px; height: 4px; }
.week .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--acc); }
.week [data-gally-state~="empty"] { opacity: .4; }

/* This week's highlights: shown only when the sheet marks some (column Highlight). */
.highlights { display: flex; flex-direction: column; gap: 20px; padding: 12px 0 56px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.hl .title { font-size: 22px; letter-spacing: -.025em; line-height: 1.12; }
.place b { font-weight: 400; color: var(--txt); }

/* Days */
.day { display: grid; grid-template-columns: 1fr; gap: 20px 48px; padding: 32px 0 44px; border-top: 1px solid rgba(var(--ink), .12); scroll-margin-top: 72px; }
.day-head { align-self: start; display: flex; align-items: center; gap: 10px 16px; }
.day-num { font-size: 48px; font-weight: 300; letter-spacing: -.05em; line-height: .85; }
.day-words { display: flex; flex-direction: column; gap: 4px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.day-name { color: var(--txt); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 36px 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.poster { display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--s2); }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .poster img { transform: scale(1.03); }
.heart { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--glass2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; color: var(--txt); }
.heart[aria-pressed="true"] { color: var(--acc); }
.heart:hover { color: var(--acc); }
.card-text { display: flex; flex-direction: column; gap: 7px; }
.meta { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.title { font-size: 20px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.card-text:hover .title { color: var(--acc); }
.place { font-size: 14px; color: var(--mut); }
.card-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(var(--ink), .1); margin-top: auto; }
.price { font-size: 15px; font-weight: 500; }
.promo { font: 600 11px var(--mono); text-transform: uppercase; color: #0F0F10; background: var(--lime); border: 1px solid rgba(0, 0, 0, .14); padding: 3px 7px; border-radius: 4px; letter-spacing: .02em; }
.go { font-size: 14px; font-weight: 500; }
.empty { color: var(--mut); padding: 48px 0; }

/* "Список": the same entries as rows */
.days[data-gally-view="list"] .cards { grid-template-columns: 1fr; gap: 0; }
.days[data-gally-view="list"] .card { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid rgba(var(--ink), .08); }
.days[data-gally-view="list"] .poster, .days[data-gally-view="list"] .heart { display: none; }
.days[data-gally-view="list"] .card-foot { border: 0; padding: 0; margin: 0; }

/* Calendar View */
.calendar-wrap { display: none; padding: 16px 0 80px; }
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .calendar-wrap { display: block; }
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .days,
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .week,
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .highlights { display: none; }

[data-gally-calendar] { --gally-cal-accent: var(--acc); --gally-cal-text: var(--txt); --gally-cal-bg: var(--bg); --gally-cal-border: rgba(var(--ink), .12); --gally-cal-faint: var(--mut); --gally-cal-radius: 8px; font-family: var(--mono); }
[data-gally-calendar] a { font-family: Geologica, system-ui, sans-serif; font-size: 13px; font-weight: 500; }
[data-gally-calendar] [class$="-item"] { white-space: normal; line-height: 1.3; margin-bottom: 2px; }

/* Catalog */
.search { height: 40px; min-width: 0; flex: 1 1 260px; max-width: 420px; padding: 0 14px; border-radius: 6px; border: 1px solid rgba(var(--ink), .14); background: var(--s1); color: var(--txt); font: inherit; font-size: 14px; }
.search:focus { outline: none; border-color: var(--acc); }
.search::placeholder { color: var(--faint); }

/* Catalog: Grid View (Default) */
.biz { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; padding-bottom: 48px; }
.biz-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--s1); border: 1px solid rgba(var(--ink), .1); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.biz-card:hover { transform: translateY(-2px); border-color: rgba(var(--accr), .5); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
:root.dark .biz-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.biz-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.biz-logo { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--s2); flex: 0 0 52px; border: 1px solid rgba(var(--ink), .06); }
.biz-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-title-wrap { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.biz-title-wrap .title { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.biz-card:hover .title { color: var(--acc); }
.biz-city-mini { display: none; }
.biz-desc { flex: 1 1 auto; display: block; }
.biz-what { font-size: 14px; color: var(--txt2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.biz-cat-cell { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mut); border: 1px solid rgba(var(--ink), .14); border-radius: 4px; padding: 3px 6px; }
.biz-place-cell { font-size: 13px; color: var(--mut); margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(var(--ink), .08); }
.biz-action-cell { display: none; }

/* Catalog: Table Header */
.biz-table-head { display: none; }
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz-table-head,
body:has(.biz[data-gally-view="table"]) .biz-table-head,
.biz[data-gally-view="table"] ~ .biz-table-head {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(280px, 2fr) minmax(160px, 1.2fr) minmax(130px, 1fr) 90px;
  gap: 16px 20px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(var(--ink), .14);
  font: 500 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 4px;
}

/* Catalog: Table View */
.biz[data-gally-view="table"],
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 48px;
}
.biz[data-gally-view="table"] .biz-card,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(280px, 2fr) minmax(160px, 1.2fr) minmax(130px, 1fr) 90px;
  gap: 16px 20px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(var(--ink), .08);
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: background .15s ease, border-color .15s ease;
}
.biz[data-gally-view="table"] .biz-card:hover,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-card:hover {
  background: var(--s1);
  border-color: rgba(var(--ink), .12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.biz[data-gally-view="table"] .biz-main,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.biz[data-gally-view="table"] .biz-logo,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: 0 0 36px;
}
.biz[data-gally-view="table"] .biz-title-wrap,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-title-wrap {
  min-width: 0;
}
.biz[data-gally-view="table"] .title,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .title {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.biz[data-gally-view="table"] .biz-desc,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-desc {
  min-width: 0;
}
.biz[data-gally-view="table"] .biz-what,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-what {
  font-size: 13.5px;
  color: var(--txt2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz[data-gally-view="table"] .biz-cat-cell,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-cat-cell {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
}
.biz[data-gally-view="table"] .biz-tags,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-tags {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.biz[data-gally-view="table"] .tag,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .tag {
  font-size: 10.5px;
  padding: 2px 6px;
  white-space: nowrap;
}
.biz[data-gally-view="table"] .biz-place-cell,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-place-cell {
  min-width: 0;
  font-size: 13px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.biz[data-gally-view="table"] .biz-action-cell,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-action-cell {
  display: flex;
  justify-content: flex-end;
}
.biz-link { font: 500 12px var(--mono); color: var(--mut); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; transition: color .15s, transform .15s; }
.biz-card:hover .biz-link { color: var(--acc); transform: translateX(2px); }

@media (max-width: 860px) {
  .biz-table-head { display: none !important; }
  .biz[data-gally-view="table"] .biz-card,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-card {
    grid-template-columns: 36px 1fr auto;
    gap: 8px 12px;
    padding: 12px 10px;
  }
  .biz[data-gally-view="table"] .biz-desc,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-desc,
  .biz[data-gally-view="table"] .biz-cat-cell,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-cat-cell {
    grid-column: 2 / -1;
  }
  .biz[data-gally-view="table"] .biz-place-cell,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-place-cell {
    grid-column: 2;
  }
  .biz[data-gally-view="table"] .biz-action-cell,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .biz .biz-action-cell {
    grid-column: 3;
  }
}

.gally-more { display: block; margin: 8px auto 48px; height: 40px; padding: 0 20px; border: 1px solid rgba(var(--ink), .3); border-radius: 6px; font-size: 14px; font-weight: 500; }
.gally-more:hover { border-color: var(--acc); color: var(--acc); }

/* Culture Stats Bar / Search */
.hero-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 32px auto 0;
}
.hero-search-results {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mut);
  background: var(--s2);
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.hero-search-results.visible {
  opacity: 1;
}
.hero-search-wrap .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mut);
  pointer-events: none;
}
.hero-search-input {
  width: 100%;
  padding: 18px 20px 18px 54px;
  border-radius: 99px;
  border: 1px solid rgba(var(--ink), .15);
  background: var(--s1);
  color: var(--txt);
  font-family: 'Geologica', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.03);
}
.hero-search-input:focus {
  outline: none;
  border-color: var(--acc);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(var(--accr), 0.15);
}
.dark .hero-search-input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255, 0.1);
}

/* Catalog Pagination */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(var(--ink), .1);
}
.pg-btn, .pg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--txt);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pg-btn {
  border: 1px solid rgba(var(--ink), .15);
}
.pg-btn:hover:not([disabled]) {
  border-color: var(--txt);
  background: var(--s1);
}
.pg-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.pg-num:hover {
  background: var(--s1);
}
.pg-num.active {
  background: var(--txt);
  color: var(--bg);
}
.pg-dots {
  color: var(--mut);
  font-weight: 600;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .catalog-pagination {
    gap: 0.5rem;
  }
  .pg-btn, .pg-num {
    height: 2.25rem;
    min-width: 2.25rem;
    font-size: 0.875rem;
  }
}

/* Places Catalog (Culture) */
.places-catalog { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(var(--ink), .1); }
.places-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.places-header h2 { font-size: 32px; font-weight: 400; margin: 0; letter-spacing: -.02em; }

.places-filters-wrap { display: flex; flex-direction: column; gap: 16px; width: 100%; margin-top: 12px; }
.f-group { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.f-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mut); flex: 0 0 auto; width: 100px; }
@media (max-width: 768px) {
  .f-label { display: none; }
  .f-group { gap: 8px; }
}

.places-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.places-filters button { display: flex; align-items: center; padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(var(--ink), .15); background: var(--s1); color: var(--mut); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.places-filters button:hover { border-color: rgba(var(--ink), .4); color: var(--txt); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transform: translateY(-1px); }
.places-filters button.active { background: var(--txt); border-color: var(--txt); color: var(--bg); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.f-count { font-family: var(--mono); font-size: 11.5px; opacity: 0.5; margin-left: 6px; padding-left: 6px; border-left: 1px solid currentColor; line-height: 1; transition: opacity 0.2s; }
.places-filters button.active .f-count { opacity: 0.8; }

.places-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; margin-bottom: 40px; margin-top: 12px; }
.place-card { display: flex; flex-direction: column; text-decoration: none; color: var(--txt); transition: transform 0.3s; position: relative; }
.place-card:hover { transform: translateY(-3px); }
.place-pic { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; margin-bottom: 16px; position: relative; background: var(--s2); border: 1px solid rgba(var(--ink), .06); }
.place-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.place-card:hover .place-pic img { transform: scale(1.05); }
.place-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; z-index: 2; border: 1px solid rgba(255,255,255,0.15); }
.place-badge.mk { background: rgba(211, 47, 47, 0.85); border-color: rgba(255,255,255,0.25); } /* Museumkaart red */
.place-badge.unesco { background: rgba(0, 91, 159, 0.85); border-color: rgba(255,255,255,0.25); } /* UNESCO blue */
.place-badge.unesco + .place-badge { left: 90px; } /* offset if both are present */
.place-badge.mk + .place-badge.unesco { left: 110px; }
.place-badge.date-badge { left: auto; right: 12px; background: rgba(255, 255, 255, 0.95); color: #0F0F10; border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); font-weight: 600; text-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
:root.dark .place-badge.date-badge { background: rgba(23, 23, 26, 0.9); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.4); }

.place-meta { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.place-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(var(--ink), .2); }
.place-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px 0; line-height: 1.25; transition: color .2s; }
.place-card:hover h3 { color: var(--acc); }
.place-card p { font-size: 14px; color: var(--txt2); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Bloggers Section & Directory */
.blogger-picks { padding: 8px 0 36px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid rgba(var(--ink), .1); margin-bottom: 32px; }
.blogger-picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.blogger-pick-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; background: linear-gradient(145deg, var(--s1), rgba(var(--accr), .06)); border: 1px solid rgba(var(--accr), .3); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.blogger-pick-card:hover { transform: translateY(-2px); border-color: var(--acc); box-shadow: 0 14px 32px rgba(var(--accr), .15); }

.bloggers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; padding-bottom: 48px; }
.blogger-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--s1); border: 1px solid rgba(var(--ink), .1); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.blogger-card:hover { transform: translateY(-2px); border-color: rgba(var(--accr), .5); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
:root.dark .blogger-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }

.blogger-top { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.blogger-avatar-wrap { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--s2); flex: 0 0 56px; border: 2px solid rgba(var(--accr), .35); }
.blogger-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
.blogger-avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 600 20px var(--mono); color: var(--acc); background: var(--s2); }
.blogger-star { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: #0F0F10; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }

.blogger-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.blogger-name { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.blogger-card:hover .blogger-name { color: var(--acc); }
.blogger-handle { font-size: 12px; color: var(--acc); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blogger-badge { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); border: 1px solid rgba(var(--ink), .14); border-radius: 12px; padding: 2px 8px; white-space: nowrap; align-self: flex-start; }

.blogger-bio { margin: 0; font-size: 14px; color: var(--txt2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1 1 auto; }
.blogger-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.blogger-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(var(--ink), .08); }
.blogger-meta { font-size: 11px; color: var(--mut); }
.blogger-links { display: flex; gap: 8px; margin-left: auto; }

.btn-social { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 14px; font: 500 11.5px var(--mono); letter-spacing: .02em; transition: all .15s ease; text-decoration: none; }
.btn-tg { background: rgba(38, 166, 235, .12); color: #0277bd; border: 1px solid rgba(38, 166, 235, .35); }
:root.dark .btn-tg { background: rgba(38, 166, 235, .15); color: #40b3ff; border-color: rgba(38, 166, 235, .3); }
.btn-tg:hover { background: #26a6eb; color: #fff; border-color: #26a6eb; }

.btn-ig { background: rgba(225, 48, 108, .12); color: #c2185b; border: 1px solid rgba(225, 48, 108, .35); }
:root.dark .btn-ig { background: rgba(225, 48, 108, .15); color: #ff5e9c; border-color: rgba(225, 48, 108, .3); }
.btn-ig:hover { background: #e1306c; color: #fff; border-color: #e1306c; }

/* Blogger Table Header & Row View */
.blogger-table-head { display: none; }
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .blogger-table-head,
.bloggers[data-gally-view="table"] ~ .blogger-table-head {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(260px, 2fr) minmax(160px, 1.2fr) minmax(110px, .9fr) auto;
  gap: 16px 20px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(var(--ink), .14);
  font: 500 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 4px;
}

.bloggers[data-gally-view="table"],
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 48px;
}
.bloggers[data-gally-view="table"] .blogger-card,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(260px, 2fr) minmax(160px, 1.2fr) minmax(110px, .9fr) auto;
  gap: 16px 20px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(var(--ink), .08);
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: background .15s ease, border-color .15s ease;
}
.bloggers[data-gally-view="table"] .blogger-card:hover,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-card:hover {
  background: var(--s1);
  border-color: rgba(var(--ink), .12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.bloggers[data-gally-view="table"] .blogger-avatar-wrap,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-avatar-wrap {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}
.bloggers[data-gally-view="table"] .blogger-name,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-name {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bloggers[data-gally-view="table"] .blogger-bio,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-bio {
  font-size: 13.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bloggers[data-gally-view="table"] .blogger-topics,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-topics {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.bloggers[data-gally-view="table"] .tag,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .tag {
  font-size: 10.5px;
  padding: 2px 6px;
  white-space: nowrap;
}
.bloggers[data-gally-view="table"] .blogger-foot,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-foot {
  border: 0;
  padding: 0;
  margin: 0;
}
.bloggers[data-gally-view="table"] .blogger-meta,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-meta {
  display: none;
}
.bloggers[data-gally-view="table"] .blogger-badge,
body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-badge {
  display: none;
}

@media (max-width: 860px) {
  .blogger-table-head { display: none !important; }
  .bloggers[data-gally-view="table"] .blogger-card,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-card {
    grid-template-columns: 36px 1fr auto;
    gap: 8px 12px;
    padding: 12px 10px;
  }
  .bloggers[data-gally-view="table"] .blogger-bio,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-bio,
  .bloggers[data-gally-view="table"] .blogger-topics,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-topics {
    grid-column: 2 / -1;
  }
  .bloggers[data-gally-view="table"] .blogger-foot,
  body:has(.views button[data-gally-view="table"][aria-pressed="true"]) .bloggers .blogger-foot {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Blogger CTA Banner */
.blogger-cta { margin: 32px 0 64px; padding: 40px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--accr), .12), transparent); border: 1px solid rgba(var(--accr), .25); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.blogger-cta h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.blogger-cta p { margin: 0; font-size: 16px; color: var(--txt2); line-height: 1.5; max-width: 680px; }

/* Azarova Consulting × Expato Premium Landing */
.az-page { display: flex; flex-direction: column; }
/* Lead Gen Hero - Conversion Optimized */
.az-hero { padding: 80px 0 64px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: center; border-bottom: 1px solid rgba(var(--ink), .1); }
.az-hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.az-badge { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--txt); padding: 8px 16px; border: 1px solid rgba(var(--ink), .15); border-radius: 100px; }
.az-badge span { color: var(--mut); }
.az-badge b { color: var(--acc); font-weight: 500; }
.az-title { margin: 0; font-size: clamp(44px, 5vw, 76px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; color: var(--txt); }
.az-lead { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--txt2); max-width: 680px; }
.az-benefits { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.az-benefit { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--txt); line-height: 1.4; }
.az-benefit::before { content: "✓"; color: var(--acc); font-size: 18px; font-weight: bold; line-height: 1; margin-top: 2px; }
:root.dark .az-benefit::before { color: var(--lime); }

/* Primary Lead Capture Card Above Fold */
.az-lead-card { background: var(--s1); border: 1px solid rgba(var(--ink), .15); border-radius: 24px; padding: 40px; box-shadow: 0 24px 48px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 24px; }
.az-lc-head { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(var(--ink), .1); }
.az-lc-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.az-lc-title { margin: 0 0 4px; font-size: 20px; font-weight: 500; color: var(--txt); }
.az-lc-subtitle { margin: 0; font-size: 14px; color: var(--txt2); }
.az-lc-text { margin: 0; font-size: 15px; color: var(--txt); line-height: 1.5; }
.az-lc-btn { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 28px; background: var(--acc); color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s; width: 100%; margin-top: 8px; box-sizing: border-box; }
.az-lc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(var(--accr), .3); }
.az-lc-note { margin: 0; font-size: 13px; color: var(--mut); text-align: center; }

/* Forms */
.az-form { display: flex; flex-direction: column; gap: 16px; width: 100%; position: relative; z-index: 2; }
.az-input { display: block; width: 100%; max-width: 100%; font: inherit; font-size: 16px; padding: 16px 20px; border: 1px solid rgba(var(--ink), .15); border-radius: 12px; background: var(--bg); color: var(--txt); outline: none; transition: border-color .2s, box-shadow .2s; margin: 0; box-sizing: border-box; }
textarea.az-input { resize: vertical; min-height: 120px; line-height: 1.5; }
.az-input::placeholder { color: var(--faint); opacity: 1; }
.az-input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(var(--accr), .15); }
.az-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; font-family: inherit; font-size: 16px; font-weight: 600; background: var(--acc); color: #fff; border: none; border-radius: 12px; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; margin: 8px 0 0; box-sizing: border-box; padding: 0 24px; }
.az-submit:hover { background: #6857E8; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(var(--accr), .3); color: #fff; }

.az-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px; padding: 64px 0; border-bottom: 1px solid rgba(var(--ink), .1); }
.az-stat { display: flex; flex-direction: column; gap: 12px; }
.az-stat-num { font-size: clamp(44px, 5vw, 64px); font-weight: 300; letter-spacing: -.03em; color: var(--txt); line-height: 1; }
.az-stat-text { font-size: 15px; color: var(--mut); line-height: 1.5; max-width: 280px; }

.az-section { padding: 100px 0; border-bottom: 1px solid rgba(var(--ink), .1); }
.az-section-head { margin-bottom: 64px; max-width: 800px; }
.az-h2 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 56px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.az-h2 b { font-weight: 400; color: var(--acc); }
.az-desc { margin: 0; font-size: 18px; color: var(--txt2); line-height: 1.5; }

/* Azarova Services Grid - Editorial */
.az-srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 64px 40px; padding-top: 32px; }
.az-srv-item { background: transparent; border: none; border-top: 1px solid rgba(var(--ink), .15); border-radius: 0; padding: 24px 0 0; display: flex; flex-direction: column; transition: border-color .4s; }
.az-srv-item:hover { border-color: var(--acc); }
.az-srv-num { font: 400 13px var(--mono); color: var(--mut); margin-bottom: 20px; display: block; letter-spacing: .05em; }
.az-srv-item h4 { margin: 0 0 16px; font-size: 26px; font-weight: 400; letter-spacing: -.02em; color: var(--txt); }
.az-srv-item p { margin: 0 0 32px; font-size: 15px; color: var(--txt2); line-height: 1.6; }
.az-srv-ul { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.az-srv-ul li { font-size: 14.5px; color: var(--txt); padding-left: 20px; position: relative; line-height: 1.4; }
.az-srv-ul li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--acc); font-family: var(--mono); font-weight: 300; }

.az-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.az-step { display: flex; flex-direction: column; gap: 16px; position: relative; }
.az-step-num { font: 300 48px var(--mono); color: rgba(var(--ink), .15); line-height: 1; letter-spacing: -.04em; }
.az-step h4 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.az-step p { margin: 0; font-size: 15px; color: var(--txt2); line-height: 1.5; }

/* Partner Handoff Section */
.az-handoff { padding: 80px 0 120px; border-top: 1px solid rgba(var(--ink), .1); }
.az-handoff-head { max-width: 720px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.az-handoff-head h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; color: var(--txt); }
.az-handoff-head p { margin: 0; font-size: 18px; color: var(--txt2); line-height: 1.5; }

.az-handoff-grid { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; }

.az-handoff-profile { background: var(--s1); border: 1px solid rgba(var(--ink), .1); border-radius: 24px; padding: 56px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 32px 64px rgba(0, 0, 0, .08); }
.az-handoff-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; box-shadow: 0 12px 24px rgba(0, 0, 0, .12); }
.az-handoff-profile h3 { margin: 0 0 4px; font-size: 28px; font-weight: 500; color: var(--txt); letter-spacing: -.02em; }
.az-handoff-role { font-size: 15px; color: var(--mut); margin-bottom: 28px; }
.az-partner-link { color: var(--acc); text-decoration: underline; text-decoration-color: rgba(var(--accr), 0.3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.az-partner-link:hover { text-decoration-color: var(--acc); }
.az-handoff-quote { font-size: 18px; color: var(--txt); line-height: 1.6; margin: 0 0 40px; font-style: italic; max-width: 560px; }

.az-handoff-btn { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 40px; border-radius: 30px; background: var(--acc); color: #fff !important; font-size: 16px; font-weight: 600; transition: transform .2s, box-shadow .2s; text-decoration: none; align-self: center; }
.az-handoff-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(var(--accr), .3); }

.az-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; padding: 40px 0; }
.az-success h4 { color: var(--acc); font-size: 24px; font-weight: 400; margin: 0 0 12px; }
.az-success p { color: var(--txt2); margin: 0; font-size: 16px; }

@media (max-width: 1024px) {
  .az-hero { grid-template-columns: 1fr; gap: 48px; }
  .az-process { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .az-handoff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .az-hero { padding: 48px 0 48px; }
  .az-section { padding: 48px 0; }
  .az-handoff { padding: 64px 0; }
  .az-process { grid-template-columns: 1fr; gap: 32px; }
  .az-srv-item { padding: 32px 24px; }
  .az-handoff-profile, .az-handoff-form-wrap { padding: 32px 24px; }
}

/* Floating Partner Promo */
.floating-promo { position: fixed; bottom: 24px; right: 24px; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1.5px solid rgba(var(--accr), 0.7); border-radius: 100px; box-shadow: 0 20px 40px rgba(var(--accr),0.15), 0 0 0 1px rgba(0,0,0,0.05) inset; animation: float-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.5s; }
:root.dark .floating-promo { background: rgba(23, 23, 26, 0.95); border-color: rgba(var(--accr), 0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(var(--accr), 0.15), 0 0 0 1px rgba(255,255,255,0.05) inset; }
.promo-indicator { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px rgba(var(--accr), 0.9); animation: pulse-acc 2s infinite; }
:root.dark .promo-indicator { background: var(--lime); box-shadow: 0 0 12px rgba(var(--limer), 0.9); animation: pulse-lime 2s infinite; }

@keyframes pulse-lime {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--limer), 0.6), 0 0 8px rgba(var(--limer), 0.4); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(var(--limer), 0), 0 0 16px rgba(var(--limer), 0.8); }
}
@keyframes pulse-acc {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--accr), 0.6), 0 0 8px rgba(var(--accr), 0.4); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(var(--accr), 0), 0 0 16px rgba(var(--accr), 0.8); }
}

.promo-text { display: flex; flex-direction: column; gap: 4px; }
.promo-eyebrow { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--acc); }
.promo-title { font-size: 15px; font-weight: 500; color: var(--txt); margin: 0; }
.promo-link { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .02em; color: #FFFFFF; background: var(--acc); padding: 10px 20px; border-radius: 24px; text-decoration: none; transition: transform 0.2s, background 0.2s, box-shadow .2s; white-space: nowrap; }
.promo-link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(var(--accr), .3); color: #FFFFFF; }
:root.dark .promo-link { background: var(--lime); color: #0F0F10; }
:root.dark .promo-link:hover { box-shadow: 0 8px 20px rgba(var(--limer), .3); color: #0F0F10; }

.promo-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(var(--ink), 0.1); display: flex; align-items: center; justify-content: center; color: var(--txt2); font-size: 18px; line-height: 1; transition: background 0.2s, color 0.2s; }
.promo-close:hover { background: rgba(var(--ink), 0.2); color: var(--txt); }

@keyframes float-up {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .floating-promo { bottom: 16px; right: 16px; left: 16px; border-radius: 24px; flex-wrap: wrap; padding: 20px; justify-content: space-between; gap: 12px; }
  .promo-text { flex: 1 1 auto; max-width: calc(100% - 40px); }
  .promo-link { width: 100%; justify-content: center; text-align: center; display: flex; padding: 14px; margin-top: 4px; }
  .promo-close { position: absolute; top: 16px; right: 16px; }
}

/* An entry's own page */
.entry { padding-top: 24px; padding-bottom: 48px; }
.back { display: inline-block; margin-bottom: 24px; }
.back:hover { color: var(--acc); }
.entry-grid { display: grid; gap: 32px; }
.entry-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(300px, 54vh, 480px); border-radius: 12px; overflow: hidden; background: var(--s2); border: 1px solid rgba(var(--ink), .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.entry-media:empty { display: none; }
.entry-backdrop { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(30px) saturate(1.2) brightness(1.02); opacity: .22; pointer-events: none; user-select: none; transform: translateZ(0); }
:root.dark .entry-backdrop { filter: blur(30px) saturate(1.3) brightness(.7); opacity: .36; }
.entry-poster, .entry-logo { position: relative; z-index: 2; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; display: block; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .14)); transition: transform .35s ease; }
:root.dark .entry-poster, :root.dark .entry-logo { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .32)); }
.entry-media:hover .entry-poster, .entry-media:hover .entry-logo { transform: scale(1.015); }
.entry-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.entry-title { margin: 0; font-size: 36px; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.entry-lead { margin: 0; font-size: 18px; color: var(--txt2); line-height: 1.4; }
.entry-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(var(--ink), .1); border-bottom: 1px solid rgba(var(--ink), .1); }
.entry-buy .price { font-size: 20px; margin-right: auto; }
.btn-acc { background: var(--acc); border-color: var(--acc); color: #FFFFFF; font-weight: 500; }
.btn-acc:hover { color: #FFFFFF; filter: brightness(1.12); }
.entry-promo { margin: 0; font-size: 14px; color: var(--mut); }
.entry-promo b { font: 600 13px var(--mono); color: #0F0F10; background: var(--lime); border: 1px solid rgba(0, 0, 0, .14); padding: 4px 8px; border-radius: 4px; margin-left: 6px; user-select: all; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 14px; }
.facts dt { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); padding-top: 2px; }
.facts dd { margin: 0; }
.facts a { color: var(--acc); }
.entry-text { font-size: 16px; line-height: 1.6; color: var(--txt2); margin: 0; }
.entry-text p { margin: 0 0 1em; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding: 32px 0 8px; scrollbar-width: none; }
.shots img { height: 240px; border-radius: 6px; flex: 0 0 auto; }
.more { padding-top: 48px; margin-top: 32px; border-top: 1px solid rgba(var(--ink), .12); display: flex; flex-direction: column; gap: 20px; }

/* Text pages: about, contact, add, emergency, topics */
.prose { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.prose h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--txt2); }
.prose a:not(.btn):not(.tel):not(.add-card) { color: var(--acc); }
.prose ul { padding-left: 20px; }
.prose .say { margin: 12px 0 16px; }
.lead { font-size: 19px !important; color: var(--txt) !important; }
.form-frame { margin-top: 24px; border-radius: 8px; overflow: hidden; background: #fff; }
.form-frame iframe { display: block; width: 100%; height: 1400px; border: 0; }
/* Journal Page Layout */
.journal-hero { padding-top: 80px; padding-bottom: 40px; max-width: 1000px; }
.journal-hero .say { font-size: clamp(48px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 24px; text-wrap: balance; }
.journal-hero .lead { font-size: clamp(18px, 2.5vw, 24px); color: var(--mut); line-height: 1.4; text-wrap: balance; }

/* Journal Filters UI */
.journal-filters { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 12px; margin: 32px -4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.journal-filters::-webkit-scrollbar { display: none; }
.journal-filters button { white-space: nowrap; padding: 10px 20px; border-radius: 40px; border: 1px solid rgba(var(--ink), .15); background: var(--s1); color: var(--txt); font-family: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 2px 4px rgba(0,0,0,.02); }
.journal-filters button:hover { border-color: rgba(var(--ink), .4); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.journal-filters button.active { background: var(--txt); color: var(--bg); border-color: var(--txt); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.15); }

/* Journal Main Layout */
.journal-container { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 120px; align-items: start; }
@media (min-width: 1100px) {
  .journal-container { grid-template-columns: 1fr 340px; gap: 64px; }
}

/* Journal Grid & Feed - New Editorial Layouts */
.journal-feed { display: flex; flex-direction: column; min-width: 0; }
.j-section-title { font-size: 13px; font-weight: 500; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--txt); margin: 24px 0 24px; border-bottom: 1px solid rgba(var(--ink), .1); padding-bottom: 12px; }

.j-grid-half { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 24px; }
.j-grid-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }

/* Shared Article Card */
.j-card { display: flex; flex-direction: column; text-decoration: none; transition: all .4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; min-width: 0; }
.j-card:hover .j-title { color: var(--acc); }
.j-card:hover .j-thumb img { transform: scale(1.04); }

.j-thumb { border-radius: 12px; overflow: hidden; background: var(--s2); margin-bottom: 20px; position: relative; border: 1px solid rgba(var(--ink), .06); }
.j-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

.j-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--acc); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; line-height: 1; }
.j-tag::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.j-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.25; color: var(--txt); transition: color .2s; }
.j-desc { color: var(--mut); line-height: 1.5; font-size: 15px; margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Meta data */
.j-card-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.j-meta-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(var(--ink), .1); }
.j-meta-info { display: flex; flex-direction: column; font-size: 12.5px; color: var(--mut); }
.j-meta-name { font-weight: 500; color: var(--txt); }

/* Editorial Styles */
.j-standard { border-bottom: 1px solid rgba(var(--ink), .1); padding-bottom: 32px; }
.j-standard .j-thumb { aspect-ratio: 16/10; }

.j-horizontal { flex-direction: row; align-items: stretch; gap: 24px; padding: 24px; border-radius: 16px; background: var(--s1); border: 1px solid rgba(var(--ink), .08); }
.j-horizontal:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
:root.dark .j-horizontal:hover { box-shadow: 0 12px 24px rgba(0,0,0,.3); }
.j-horizontal .j-thumb { flex: 0 0 240px; margin-bottom: 0; aspect-ratio: 4/3; border-radius: 8px; }
.j-horizontal .j-content { flex: 1 1 auto; display: flex; flex-direction: column; padding: 8px 0; }
.j-horizontal .j-title { font-size: 22px; }

@media (max-width: 768px) {
  .j-horizontal { flex-direction: column; padding: 16px; }
  .j-horizontal .j-thumb { flex: auto; width: 100%; aspect-ratio: 16/9; }
  .j-horizontal .j-content { padding: 0; }
}

/* Featured Card */
.j-card.featured { grid-column: 1 / -1; padding: 0; border: none; align-items: flex-start; margin-bottom: 16px; min-height: 480px; }
.j-card.featured .featured-bg { position: absolute; inset: 0; z-index: 1; }
.j-card.featured .featured-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.j-card.featured::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%); pointer-events: none; }
.j-card.featured .featured-content { position: relative; z-index: 3; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 48px; }
.j-card.featured .j-tag { color: rgba(255,255,255,.85); }
.j-card.featured .j-tag::before { background: rgba(255,255,255,.85); }
.j-card.featured .j-title { font-size: clamp(32px, 4vw, 44px); max-width: 700px; color: #fff; margin-bottom: 20px; text-wrap: balance; }
.j-card.featured .j-desc { color: rgba(255,255,255,.85); font-size: 18px; max-width: 600px; -webkit-line-clamp: 3; }
.j-card.featured .j-card-meta { border-top-color: rgba(255,255,255,0.2); width: 100%; margin-top: auto; padding-top: 24px; }
.j-card.featured .j-meta-info { color: rgba(255,255,255,0.75); }
.j-card.featured .j-meta-name { color: #fff; }
.j-card.featured:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,.3); }
.j-card.featured:hover .featured-bg img { transform: scale(1.05); }

@media (max-width: 768px) {
  .j-card.featured .featured-content { padding: 32px 24px; }
  .j-card.featured .j-title { font-size: 28px; }
}

/* Sidebar Widgets - Premium Editorial Styling */
.journal-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.journal-widget { background: var(--s1); border-radius: 20px; padding: 32px; border: 1px solid rgba(var(--ink), .08); box-shadow: 0 4px 12px rgba(0,0,0,.02); }
.journal-widget h3 { margin: 0 0 12px; font-size: 20px; font-weight: 500; color: var(--txt); }
.journal-widget p { margin: 0 0 24px; font-size: 14.5px; color: var(--mut); line-height: 1.5; }

/* Expert/Author Widget */
.jw-expert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 40px 24px; }
.jw-expert-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 24px rgba(0,0,0,.1); border: 4px solid var(--s1); background: var(--s2); }
.jw-expert h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.jw-expert p { margin: 0; font-size: 14.5px; color: var(--txt2); line-height: 1.5; }
.jw-expert-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 100px; background: rgba(var(--accr), 0.08); color: var(--acc); font-weight: 600; font-size: 14px; text-decoration: none; transition: all .2s; margin-top: 4px; border: 1px solid rgba(var(--accr), 0.2); }
.jw-expert-btn:hover { background: var(--acc); color: #FFF; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(var(--accr), 0.25); border-color: var(--acc); }

/* Newsletter Dark Premium Widget */
.jw-dark { background: #121211; color: #FFF; border: none; box-shadow: 0 20px 40px rgba(0,0,0,.15); }
:root.dark .jw-dark { background: #1F1F23; }
.jw-dark h3 { color: #FFF; }
.jw-dark p { color: rgba(255,255,255,0.7); }
.jw-dark .jw-input { width: 100%; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #FFF; font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; margin-bottom: 12px; }
.jw-dark .jw-input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(var(--limer), 0.2); }
.jw-dark .jw-input::placeholder { color: rgba(255,255,255,0.4); }
.jw-btn-lime { display: flex; width: 100%; align-items: center; justify-content: center; background: var(--lime); color: #000; font-weight: 600; font-size: 15px; padding: 14px; border-radius: 10px; transition: transform .2s, box-shadow .2s; cursor: pointer; border: none; }
.jw-btn-lime:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(var(--limer), .25); }
.jw-icon { font-size: 36px; margin-bottom: 12px; line-height: 1; }

/* Top Links Widget */
.jw-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.jw-links li { padding-bottom: 16px; border-bottom: 1px solid rgba(var(--ink), .08); display: flex; flex-direction: column; gap: 4px; }
.jw-links li:last-child { padding-bottom: 0; border-bottom: none; }
.jw-links a { font-size: 14.5px; font-weight: 500; color: var(--txt); line-height: 1.4; transition: color .2s; }
.jw-links a:hover { color: var(--acc); }
.jw-links span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mut); }

/* Tags Widget */
.jw-borderless { background: transparent; border: none; padding: 16px 0; box-shadow: none; }
.jw-borderless h3 { font-size: 16px; color: var(--mut); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); }
.jw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jw-tags a { font-family: var(--mono); font-size: 12px; color: var(--txt2); padding: 6px 12px; border: 1px solid rgba(var(--ink), .15); border-radius: 100px; transition: all .2s; text-decoration: none; background: var(--s1); }
.jw-tags a:hover { border-color: var(--acc); color: var(--acc); background: rgba(var(--accr), .05); transform: translateY(-1px); }

/* Culture Section - Premium Editorial Guide */
.cult-page { padding-bottom: 80px; }
.cult-hero { padding: 80px 0 60px; text-align: center; max-width: 900px; margin: 0 auto; }
.cult-hero .say { font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.03em; margin: 16px 0 24px; text-wrap: balance; }
.cult-hero .lead { font-size: clamp(18px, 2.5vw, 22px); color: var(--mut); line-height: 1.5; text-wrap: balance; }

.cult-filters { display: flex; justify-content: center; gap: 12px; overflow-x: auto; padding: 4px 18px 12px; scrollbar-width: none; margin-bottom: 48px; -webkit-overflow-scrolling: touch; }
.cult-filters::-webkit-scrollbar { display: none; }
.cult-filters button { white-space: nowrap; padding: 10px 24px; border-radius: 40px; border: 1px solid rgba(var(--ink), .15); background: var(--s1); color: var(--txt); font-family: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 2px 4px rgba(0,0,0,.02); }
.cult-filters button:hover { border-color: rgba(var(--ink), .4); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.cult-filters button.active { background: var(--acc); color: #FFF; border-color: var(--acc); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(var(--accr), .25); }

.cult-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 64px; }
.cult-card { display: flex; flex-direction: column; text-decoration: none; position: relative; border-radius: 16px; overflow: hidden; background: var(--s2); isolation: isolate; min-height: 420px; transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1); }
.cult-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s; }
.cult-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%); z-index: -1; }
.cult-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.2); }
.cult-card:hover img { transform: scale(1.04); filter: brightness(1.1); }

.cult-content { margin-top: auto; padding: 36px; display: flex; flex-direction: column; gap: 14px; color: #FFF; z-index: 2; }
.cult-tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); line-height: 1; border: 1px solid rgba(255,255,255,0.1); }
.cult-title { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0; line-height: 1.15; text-wrap: balance; }
.cult-desc { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.cult-featured { grid-column: span 12; min-height: 560px; }
.cult-featured .cult-title { font-size: clamp(36px, 4vw, 56px); }
.cult-featured .cult-desc { font-size: 18px; max-width: 680px; }
.cult-half { grid-column: span 6; }
.cult-third { grid-column: span 4; }
.cult-third .cult-title { font-size: 24px; }

@media (max-width: 900px) {
  .cult-third { grid-column: span 6; }
}
@media (max-width: 768px) {
  .cult-filters { justify-content: flex-start; margin: 0 -18px 32px; }
  .cult-featured, .cult-half, .cult-third { grid-column: span 12; }
  .cult-card { min-height: 380px; border-radius: 12px; }
  .cult-featured { min-height: 480px; }
  .cult-content { padding: 24px; }
  .j-card.featured { padding: 32px 24px; grid-column: auto; }
}

.pb-120 { padding-bottom: 120px; }

/* Article Layout - Editorial Level */
.article-page { padding-bottom: 80px; overflow-x: hidden; }

.article-hero { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; padding-top: 80px; padding-bottom: 60px; }
.ah-meta { display: flex; flex-direction: row; align-items: center; gap: 24px; margin-bottom: 0; }
.ah-meta .j-tag { margin-bottom: 0; }
.back-link { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mut); text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 8px; line-height: 1; }
.back-link:hover { color: var(--acc); }

.ah-main { max-width: 900px; min-width: 0; }
.ah-main * { max-width: 100%; }
.article-title { font-size: clamp(48px, 6vw, 84px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 32px; color: var(--txt); text-wrap: balance; }
.article-lead { font-size: clamp(20px, 3vw, 28px); color: var(--txt2); line-height: 1.4; margin: 0 0 48px; text-wrap: balance; }

.article-author { display: flex; align-items: center; gap: 16px; text-align: left; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 500; color: var(--txt); }
.author-date { font-family: var(--mono); font-size: 13px; color: var(--mut); }

.article-cover { margin: 0; width: 100%; position: relative; }
.article-cover img { width: 100%; height: auto; max-height: 75vh; object-fit: cover; display: block; border-radius: 0; }
.article-cover figcaption { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--mut); padding: 16px 40px; margin: 0 auto; max-width: 1600px; }

.article-body { max-width: 900px; margin: 60px auto 0; display: block; }
.ab-side { display: none; }
.article-prose { max-width: 760px; font-size: 20px; line-height: 1.7; color: var(--txt); padding: 0; margin: 0 auto; }

/* The Drop Cap */
.article-prose > p:first-of-type::first-letter { float: left; font-size: 96px; line-height: 0.8; padding-top: 4px; padding-right: 12px; padding-left: 2px; font-weight: 500; color: var(--acc); }

.article-prose h2 { font-size: 36px; font-weight: 400; letter-spacing: -0.02em; margin: 2em 0 1em; color: var(--txt); line-height: 1.2; text-wrap: balance; }
.article-prose p { margin-bottom: 1.6em; }
.article-prose ul { margin-bottom: 2em; padding-left: 20px; }
.article-prose li { margin-bottom: 0.5em; }

/* The Pull Quote */
.article-prose blockquote { 
  margin: 64px -64px 64px 0; 
  padding: 0 0 0 40px; 
  border-left: 2px solid var(--acc); 
  font-size: 32px; 
  line-height: 1.3; 
  font-style: normal; 
  color: var(--txt); 
  letter-spacing: -0.015em; 
  text-wrap: balance;
}

.article-more { max-width: 900px; margin: 100px auto 0; padding: 0 20px; }
.divider { border: none; border-top: 1px solid rgba(var(--ink), .1); margin-bottom: 60px; }
.more-title { text-align: center; font-size: 24px; margin-bottom: 40px; font-weight: 500; }

@media (max-width: 1024px) {
  .article-hero { padding-top: 48px; gap: 24px; }
  .ah-meta { flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 0; }
.ah-meta .j-tag { margin-bottom: 0; }
  .article-prose blockquote { margin: 40px 0; padding: 0 0 0 20px; font-size: 24px; border-left-width: 4px; }
  .article-cover figcaption { padding: 12px 18px; text-align: left; }
  .article-prose { font-size: 18px; }
  .article-prose h2 { font-size: 28px; }
  .article-prose > p:first-of-type::first-letter { font-size: 72px; padding-right: 8px; }
}

/* Add Forms UI */
.add-tabs { display: flex; gap: 12px; margin: 40px 0 32px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 4px 8px 4px; margin-left: -4px; }
.add-tabs::-webkit-scrollbar { display: none; }
.add-tab { font: 500 15px Geologica, system-ui, sans-serif; padding: 12px 24px; border-radius: 30px; border: 1px solid rgba(var(--ink), .12); background: var(--s1); color: var(--txt); cursor: pointer; transition: all .2s; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,.02); }
.add-tab:hover { background: var(--bg); border-color: rgba(var(--ink), .3); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.add-tab.active { background: var(--acc); color: #FFF !important; border-color: var(--acc); font-weight: 600; box-shadow: 0 8px 16px rgba(var(--accr), .25); transform: translateY(-1px); }

.form-pane { display: none; animation: slide-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.form-pane.active { display: block; }
@keyframes slide-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-frame { background: transparent; overflow: hidden; height: 1400px; margin-bottom: 40px; position: relative; border-radius: 12px; }
.form-frame iframe { width: 100%; height: 100%; border: none; background: transparent; position: relative; z-index: 2; margin-top: -30px; } /* hide ugly google header */
.form-frame::before { content: "Загрузка формы..."; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); color: var(--mut); font-family: var(--mono); font-size: 14px; z-index: 1; }

/* Floating Scroll Navigation */
.scroll-nav {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 45;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.scroll-nav.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--ink), 0.15);
  color: var(--txt);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  cursor: pointer;
}
.scroll-btn:hover {
  background: var(--s1);
  border-color: var(--txt);
  transform: translateY(-2px);
}
:root.dark .scroll-btn {
  background: rgba(23, 23, 26, 0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}
:root.dark .scroll-btn:hover {
  background: var(--txt);
  color: var(--bg);
  border-color: var(--txt);
}
.scroll-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .scroll-nav { right: 16px; bottom: 16px; flex-direction: row; }
  .scroll-btn { width: 40px; height: 40px; }
}

/* Make the iframe look like part of our site */
.form-pane { background: var(--bg); border-radius: 20px; border: 1px solid rgba(var(--ink), .12); box-shadow: 0 4px 24px rgba(0,0,0,.04); overflow: hidden; }

/* Magic trick: Invert Google Forms in Dark Mode so they look native */
:root.dark .form-frame iframe { filter: invert(0.9) hue-rotate(180deg) contrast(1.1) brightness(0.9); }
:root.dark .form-pane { border-color: rgba(255,255,255,.05); box-shadow: 0 10px 40px rgba(0,0,0,.2); background: #121212; }
.sos { color: var(--acc); }
.seo { padding-top: 32px; }

/* Emergency Dashboard */
.emergency-page { padding-top: 40px; padding-bottom: 80px; }
.sos-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.sos-hero-text { flex: 1 1 400px; }
.sos-hero-text p.eyebrow { margin-bottom: 16px; }
.sos-hero-text h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.sos-hero-text p { margin: 0; font-size: 18px; color: var(--txt2); line-height: 1.5; }
.sos-112 { display: flex; align-items: center; gap: 24px; padding: 24px 32px; background: #E63946; color: #FFF !important; border-radius: 20px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
:root.light .sos-112 { background: #D90429; }
.sos-112:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(229, 57, 70, .3); }
.sos-112 b { font-size: 64px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.sos-112 span { font-size: 16px; font-weight: 500; line-height: 1.4; max-width: 210px; }
.sos-112 small { display: block; font-size: 13px; font-weight: 400; opacity: .85; margin-top: 6px; }

.sos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.sos-card { background: var(--s1); border: 1px solid rgba(var(--ink), .12); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.sos-card h2 { margin: 0 0 24px; font-size: 20px; font-weight: 500; color: var(--txt); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.sos-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.sos-item { display: flex; flex-direction: column; gap: 2px; }
.sos-name { font-size: 15px; font-weight: 600; color: var(--txt); line-height: 1.3; }
.sos-tel { font: 600 28px var(--mono); color: var(--acc); text-decoration: none; letter-spacing: -.02em; transition: color .2s; margin-top: 2px; }
.sos-tel:hover { color: var(--txt); }
.sos-desc { font-size: 13.5px; color: var(--txt2); line-height: 1.4; margin-top: 4px; }

.sos-full { grid-column: 1 / -1; background: var(--s1); border: 1px solid rgba(var(--ink), .12); border-radius: 20px; padding: 32px; margin-top: 8px; }
.sos-full h2 { margin: 0 0 8px; font-size: 24px; font-weight: 500; color: var(--txt); letter-spacing: -.02em; }
.sos-full > p { margin: 0 0 28px; font-size: 15px; color: var(--mut); max-width: 800px; line-height: 1.5; }
.sos-hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 24px; }
.sos-hp-item { display: flex; flex-direction: column; gap: 2px; }
.sos-hp-city { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.sos-hp-tel { font: 500 18px var(--mono); color: var(--txt); text-decoration: none; letter-spacing: -.02em; }
.sos-hp-tel:hover { color: var(--acc); }

.sos-alert { background: rgba(var(--accr), .12); border-left: 4px solid var(--acc); padding: 16px 20px; border-radius: 4px 12px 12px 4px; color: var(--txt); font-size: 15px; margin-bottom: 24px; line-height: 1.5; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.sos-alert b { font-weight: 600; color: var(--txt); }

@media (max-width: 800px) {
  .sos-hero { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 32px; }
  .sos-112 { justify-content: center; text-align: center; flex-direction: column; gap: 12px; padding: 32px 24px; }
  .sos-112 span { max-width: none; }
  .sos-card, .sos-full { padding: 24px; }
}

/* Catalog teaser */
.teaser { display: grid; gap: 32px; padding: 56px 0; border-top: 1px solid rgba(var(--ink), .12); }
.teaser h2 { margin: 16px 0 24px; font-size: 32px; font-weight: 400; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.teaser h2 b { font-weight: 500; color: var(--acc); }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid rgba(var(--ink), .3); border-radius: 6px; font-size: 14px; font-weight: 500; }
.btn:hover { border-color: var(--acc); }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.teaser-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(var(--ink), .1); font-size: 15px; }
.teaser-list small { font: 500 12px var(--mono); color: var(--mut); }

.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid rgba(var(--ink), .1); font-size: 13px; color: var(--mut); }
.foot-credit a { color: var(--acc); text-decoration: underline; text-decoration-color: rgba(var(--accr), 0.3); text-underline-offset: 3px; }
.foot-credit a:hover { text-decoration-color: var(--acc); }

@media (min-width: 900px) {
  .wrap, .top-in { padding-left: 40px; padding-right: 40px; }
  .week { margin: 0 -40px; padding: 0 40px; }
  .say { font-size: 64px; letter-spacing: -.04em; line-height: 1.05; }
  .hero { padding: 56px 0 32px; }
  .day { grid-template-columns: 220px 1fr; }
  .day-head { position: sticky; top: 88px; flex-direction: column; align-items: flex-start; }
  .day-num { font-size: 88px; }
  .hl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding: 72px 0; }
  .teaser h2 { font-size: 44px; }
  .entry-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 56px; }
  .entry-media { position: sticky; top: 88px; align-self: start; height: min(74vh, 620px); }
  .entry-title { font-size: 52px; }
}
