/*
 * Стили блога Xpresent (blog.html и blog-article.html) — поверх css/common.css.
 * Префикс xh-bl (главная блога, карточки статей, подписка) и xh-art (страница статьи).
 */

.xh-bl .xh-eyebrow, .xh-bl .xh-kicker {
  align-items: center;
  background: var(--xh-blue-soft);
  border-radius: 999px;
  color: var(--xh-blue-d);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  line-height: 1;
  padding: 8px 14px 8px 10px;
}

.xh-bl .xh-kicker {
  background: #fff;
  color: var(--xh-red);
}

.xh-bl .xh-eyebrow .xh-i, .xh-bl .xh-kicker .xh-i {
  height: 16px;
  width: 16px;
}

.xh-bl .xh-btn {
  box-sizing: border-box;
}

.xh-bl .xh-count {
  color: var(--xh-muted);
  flex: 0 0 auto;
  font-size: 14px;
  white-space: nowrap;
}

.xh-bl .xh-count b {
  color: var(--xh-ink);
  font-weight: 800;
}

.xh-bl .xh-section {
  padding-top: 64px;
}

/* аватар автора — инициалы в цветном круге */
.xh-bl .xh-blava {
  align-items: center;
  background: var(--ava, var(--xh-blue-soft));
  border-radius: 50%;
  color: var(--xh-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.xh-bl .xh-blava--lg {
  font-size: 18px;
  height: 56px;
  width: 56px;
}

/* ---------- Первый экран ---------- */
.xh-bl .xh-blhero {
  background: linear-gradient(180deg, var(--xh-cream) 0%, #fff 100%);
  padding: 14px 0 40px;
}

.xh-bl .xh-blhero__grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.xh-bl .xh-blhero__copy .xh-h1 {
  margin: 18px 0 14px;
}

.xh-bl .xh-blhero__lead {
  color: var(--xh-muted);
  font-size: 17px;
  margin-bottom: 26px;
  max-width: 520px;
}

.xh-bl .xh-blsearch__intent {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.xh-bl .xh-blsearch__intent .xh-chip span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.xh-bl .xh-blsearch__intent a.xh-chip {
  text-decoration: none;
}

.xh-bl .xh-blsub__note {
  font-size: 13px;
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0;
}

.xh-bl .xh-prod__foot[hidden],
.xh-bl .xh-prod__away[hidden],
.xh-bl .xh-prod__price s[hidden],
.xh-bl .xh-artprods__alt[hidden],
.xh-bl .xh-blsub__note[hidden] {
  display: none;
}

.xh-bl .xh-blsearch__field {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r);
  box-shadow: var(--xh-shadow);
  display: flex;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  transition: border-color 0.15s ease;
}

.xh-bl .xh-blsearch__field:focus-within {
  border-color: var(--xh-blue);
}

.xh-bl .xh-blsearch__field > .xh-i {
  color: var(--xh-muted);
}

.xh-bl .xh-blsearch__field input {
  background: none;
  border: 0;
  box-shadow: none;
  flex: 1 1 auto;
  font: inherit;
  font-size: 15px;
  height: 44px;
  margin: 0;
  min-width: 0;
  outline: 0;
  padding: 0;
}

.xh-bl .xh-blsearch__field input::placeholder {
  color: var(--xh-muted);
}

.xh-bl .xh-blsearch__field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.xh-bl .xh-blsearch__field .xh-btn {
  flex: 0 0 auto;
  min-height: 44px;
}

.xh-bl .xh-blsearch__quick {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.xh-bl .xh-blsearch__quick button {
  background: #fff;
  border: 1px solid var(--xh-line);
  border-radius: 999px;
  color: var(--xh-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.xh-bl .xh-blsearch__quick button:hover {
  border-color: var(--xh-blue);
  color: var(--xh-blue-d);
}

/* главная статья в первом экране */
.xh-bl .xh-blfeat {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--xh-r-lg);
  box-shadow: var(--xh-shadow-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.xh-bl .xh-blfeat img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s ease;
  width: 100%;
}

.xh-bl .xh-blfeat:hover img {
  transform: scale(1.04);
}

.xh-bl .xh-blfeat__body {
  background: linear-gradient(180deg, rgba(27, 26, 26, 0) 0%, rgba(27, 26, 26, 0.85) 60%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 80px 28px 26px;
  position: relative;
}

.xh-bl .xh-blfeat__rubric {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding: 6px 12px;
  width: max-content;
}

.xh-bl .xh-blfeat__rubric .xh-i {
  height: 14px;
  width: 14px;
}

.xh-bl .xh-blfeat__title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

.xh-bl .xh-blfeat__excerpt {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.xh-bl .xh-blfeat__meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 14px;
  margin-top: 4px;
}

.xh-bl .xh-blfeat__meta span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.xh-bl .xh-blfeat__meta .xh-i {
  height: 15px;
  width: 15px;
}

/* ---------- Липкая полоса рубрик ---------- */
.xh-bl .xh-blnav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--xh-line);
  position: sticky;
  top: var(--xh-top);
  z-index: 20;
}

.xh-bl .xh-blnav__row {
  display: flex;
  gap: 6px;
  -ms-overflow-style: none;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.xh-bl .xh-blnav__row::-webkit-scrollbar {
  display: none;
}

.xh-bl .xh-blnav__chip {
  align-items: center;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--xh-text);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  line-height: 1;
  padding: 10px 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.xh-bl .xh-blnav__chip .xh-i {
  height: 16px;
  width: 16px;
}

.xh-bl .xh-blnav__chip:hover {
  background: var(--xh-soft);
}

.xh-bl .xh-blnav__chip.is-active {
  background: var(--xh-ink);
  color: #fff;
}

.xh-bl .xh-blnav__chip small {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.6;
}

/* ---------- Сезон: Новый год ---------- */
.xh-bl .xh-blhot__band {
  background: var(--xh-cream);
  border-radius: var(--xh-r-lg);
  display: grid;
  gap: 32px;
  grid-template-columns: 300px minmax(0, 1fr);
  padding: 32px;
}

.xh-bl .xh-blhot__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xh-bl .xh-blhot__head .xh-h2 {
  margin: 4px 0 0;
}

.xh-bl .xh-blhot__head .xh-h2 b {
  color: var(--xh-red);
}

.xh-bl .xh-blhot__head .xh-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.xh-bl .xh-blhot__list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xh-bl .xh-blhot__card {
  background: #fff;
  border-radius: var(--xh-r);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.xh-bl .xh-blhot__card:hover {
  box-shadow: var(--xh-shadow);
  transform: translateY(-2px);
}

.xh-bl .xh-blhot__card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.xh-bl .xh-blhot__card b {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  padding: 14px 16px 4px;
}

.xh-bl .xh-blhot__card small {
  color: var(--xh-muted);
  font-size: 13px;
  padding: 0 16px 16px;
}

/* ---------- Рубрики ---------- */
.xh-bl .xh-blrub__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xh-bl .xh-blrub__card {
  background: #fff;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.xh-bl .xh-blrub__card:hover {
  border-color: transparent;
  box-shadow: var(--xh-shadow);
}

.xh-bl .xh-blrub__icon {
  align-items: center;
  background: var(--xh-blue-soft);
  border-radius: 12px;
  color: var(--xh-blue-d);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.xh-bl .xh-blrub__icon .xh-i {
  height: 22px;
  width: 22px;
}

.xh-bl .xh-blrub__card b {
  font-size: 18px;
  font-weight: 800;
}

.xh-bl .xh-blrub__card p {
  color: var(--xh-muted);
  flex: 1 1 auto;
  font-size: 14px;
}

.xh-bl .xh-blrub__card em {
  align-items: center;
  color: var(--xh-blue-d);
  display: inline-flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  gap: 4px;
}

.xh-bl .xh-blrub__card em .xh-i {
  height: 15px;
  width: 15px;
}

/* ---------- Лента статей ---------- */
.xh-bl .xh-blgrid {
  display: grid;
  gap: 24px 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xh-bl .xh-blcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xh-bl .xh-blcard__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--xh-r);
  overflow: hidden;
  position: relative;
}

.xh-bl .xh-blcard__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.xh-bl .xh-blcard:hover .xh-blcard__media img {
  transform: scale(1.04);
}

.xh-bl .xh-blcard__rubric {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--xh-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  left: 12px;
  padding: 6px 10px;
  position: absolute;
  top: 12px;
}

.xh-bl .xh-blcard__rubric .xh-i {
  height: 14px;
  width: 14px;
}

.xh-bl .xh-blcard__hot {
  background: var(--xh-red);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  position: absolute;
  right: 12px;
  text-transform: uppercase;
  top: 12px;
}

.xh-bl .xh-blcard__title {
  color: var(--xh-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
  transition: color 0.15s ease;
}

.xh-bl .xh-blcard:hover .xh-blcard__title {
  color: var(--xh-blue-d);
}

.xh-bl .xh-blcard__excerpt {
  color: var(--xh-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.xh-bl .xh-blcard__meta {
  align-items: center;
  color: var(--xh-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px 10px;
  margin-top: auto;
}

.xh-bl .xh-blcard__meta b {
  color: var(--xh-text);
  font-weight: 700;
}

.xh-bl .xh-blcard__meta .xh-i {
  height: 14px;
  width: 14px;
}

.xh-bl .xh-blcard__meta span {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.xh-bl .xh-blcard__items {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.xh-bl .xh-blcard__items img {
  border: 2px solid #fff;
  border-radius: 8px;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.xh-bl .xh-blcard__items img + img {
  margin-left: -10px;
}

.xh-bl .xh-blcard__items small {
  align-self: center;
  color: var(--xh-muted);
  font-size: 12px;
  margin-left: 6px;
}

.xh-bl .xh-blempty {
  background: var(--xh-soft);
  border-radius: var(--xh-r-lg);
  padding: 40px 24px;
  text-align: center;
}

.xh-bl .xh-blempty b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.xh-bl .xh-blempty p {
  color: var(--xh-muted);
  margin: 0 auto 18px;
  max-width: 460px;
}

.xh-bl .xh-blmore {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.xh-bl .xh-blmore[hidden] {
  display: none;
}

/* ---------- Проверено на себе ---------- */
.xh-bl .xh-bltested__head {
  align-items: flex-end;
  display: flex;
  gap: 24px 40px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.xh-bl .xh-bltested__head .xh-h2 {
  margin: 14px 0 6px;
}

.xh-bl .xh-blcreators {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.xh-bl .xh-blcreators li {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 10px;
}

.xh-bl .xh-blcreators .xh-blava {
  height: 36px;
  width: 36px;
}

.xh-bl .xh-blcreators b {
  display: block;
  font-weight: 800;
}

.xh-bl .xh-blcreators small {
  color: var(--xh-muted);
  font-size: 12px;
}

.xh-bl .xh-bltested__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xh-bl .xh-bltcard {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--xh-r-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.xh-bl .xh-bltcard img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s ease;
  width: 100%;
}

.xh-bl .xh-bltcard:hover img {
  transform: scale(1.04);
}

.xh-bl .xh-bltcard__body {
  background: linear-gradient(180deg, rgba(27, 26, 26, 0) 0%, rgba(27, 26, 26, 0.88) 70%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 90px 20px 20px;
  position: relative;
}

.xh-bl .xh-bltcard__author {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.xh-bl .xh-bltcard__author .xh-blava {
  border: 2px solid #fff;
}

.xh-bl .xh-bltcard__title {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.xh-bl .xh-bltcard__excerpt {
  color: rgba(255, 255, 255, 0.8);
  display: -webkit-box;
  font-size: 13px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xh-bl .xh-bltcard__verdict {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding: 6px 10px;
  width: max-content;
}

.xh-bl .xh-bltcard__verdict .xh-i {
  color: var(--xh-yellow);
  height: 14px;
  width: 14px;
}

/* ---------- Подберём за 30 секунд ---------- */
.xh-bl .xh-blpick__band {
  align-items: center;
  background: var(--xh-ink);
  border-radius: var(--xh-r-lg);
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  padding: 40px;
}

.xh-bl .xh-blpick__copy .xh-h2 {
  color: #fff;
  margin-bottom: 12px;
}

.xh-bl .xh-blpick__copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 22px;
}

.xh-bl .xh-blpick__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.xh-bl .xh-blpick__actions .xh-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.xh-bl .xh-blpick__actions .xh-btn--ghost:hover {
  border-color: #fff;
}

.xh-bl .xh-blpick__facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.xh-bl .xh-blpick__facts li {
  align-items: center;
  display: grid;
  font-size: 13px;
  gap: 2px 14px;
  grid-template-columns: 40px minmax(0, 1fr);
}

.xh-bl .xh-blpick__facts .xh-i {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  grid-row: span 2;
  height: 40px;
  padding: 9px;
  width: 40px;
}

.xh-bl .xh-blpick__facts b {
  font-size: 15px;
  font-weight: 800;
}

.xh-bl .xh-blpick__facts span {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Подписка ---------- */
.xh-bl .xh-blsub {
  padding-bottom: 64px;
}

.xh-bl .xh-blsub__card {
  align-items: center;
  background: var(--xh-blue-soft);
  border-radius: var(--xh-r-lg);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  padding: 36px 40px;
}

.xh-bl .xh-blsub__copy .xh-h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.xh-bl .xh-blsub__copy p {
  color: var(--xh-muted);
  font-size: 14px;
}

.xh-bl .xh-blsub__form {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.xh-bl .xh-blsub__form input {
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: var(--xh-r-sm);
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  height: 48px;
  margin: 0;
  min-width: 0;
  padding: 0 16px;
  width: 100%;
}

.xh-bl .xh-blsub__form input:focus {
  border-color: var(--xh-blue);
  outline: 0;
}

.xh-bl .xh-blsub__tg {
  align-items: center;
  color: var(--xh-blue-d);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  grid-column: 1 / -1;
}

.xh-bl .xh-blsub__tg .xh-i {
  height: 16px;
  width: 16px;
}

/* ======================================================================
   СТРАНИЦА СТАТЬИ
   ====================================================================== */
.xh-bl .xh-artbar {
  background: transparent;
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: var(--xh-top);
  z-index: 30;
}

.xh-bl .xh-artbar i {
  background: var(--xh-red);
  display: block;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  width: 100%;
}

.xh-bl .xh-arthead {
  background: #fff;
  padding: 14px 0 48px;
}

.xh-bl .xh-arthead__center {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1040px;
  padding-top: 28px;
  text-align: center;
}

.xh-bl .xh-arthead__kicker {
  align-items: center;
  color: var(--xh-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 14px;
  justify-content: center;
}

.xh-bl .xh-arthead__rubric {
  align-items: center;
  background: var(--xh-amber-soft);
  border-radius: 8px;
  color: var(--xh-amber-d);
  display: inline-flex;
  font-weight: 700;
  gap: 6px;
  padding: 7px 12px;
  transition: background-color 0.15s ease;
}

.xh-bl .xh-arthead__rubric:hover {
  background: #ffe5ad;
}

.xh-bl .xh-arthead .xh-arthead__title {
  font-family: Onest, Mulish, sans-serif;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 26px 0 22px;
  text-align: center;
  text-wrap: balance;
}

.xh-bl .xh-arthead__lead {
  color: var(--xh-muted);
  font-family: Onest, Mulish, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  max-width: 740px;
  text-wrap: pretty;
}

.xh-bl .xh-arthead__byline {
  align-items: center;
  color: var(--xh-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 26px;
}

.xh-bl .xh-arthead__byline > span b {
  color: var(--xh-ink);
  font-weight: 800;
}

.xh-bl .xh-arthead__byline .xh-blava {
  margin-right: -10px;
}

.xh-bl .xh-blava--md {
  font-size: 15px;
  height: 44px;
  width: 44px;
}

.xh-bl .xh-artcopy, .xh-bl .xh-artcopy:hover, .xh-bl .xh-artcopy:focus {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r-sm);
  color: var(--xh-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 16px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.xh-bl .xh-artcopy:hover {
  border-color: var(--xh-blue);
  color: var(--xh-blue-d);
}

.xh-bl .xh-artcopy.is-done {
  background: var(--xh-green-soft);
  border-color: transparent;
  color: var(--xh-green-d);
}

.xh-bl .xh-artcopy .xh-i {
  height: 16px;
  width: 16px;
}

.xh-bl .xh-artcover {
  aspect-ratio: 2 / 1;
  margin: 40px auto 0;
  max-width: 1120px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.xh-bl .xh-artcover img {
  border-radius: var(--xh-r-lg);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 45%;
  position: absolute;
  width: 100%;
}

.xh-bl .xh-artcover figcaption {
  color: var(--xh-muted);
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

/* раскладка: боковая колонка + текст */
.xh-bl .xh-artlayout {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 260px minmax(0, 1fr);
  padding-top: 16px;
}

.xh-bl .xh-artside__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--xh-top) + 20px);
}

.xh-bl .xh-arttoc {
  border-left: 2px solid var(--xh-line);
  padding-left: 16px;
}

.xh-bl .xh-arttoc__title {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.xh-bl .xh-arttoc__title .xh-i {
  height: 16px;
  width: 16px;
}

.xh-bl .xh-arttoc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xh-bl .xh-arttoc a {
  border-radius: 8px;
  color: var(--xh-muted);
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-left: -8px;
  padding: 6px 8px;
  position: relative;
  transition: color 0.15s ease;
}

.xh-bl .xh-arttoc a:hover {
  color: var(--xh-ink);
}

.xh-bl .xh-arttoc a.is-active {
  color: var(--xh-ink);
  font-weight: 800;
}

.xh-bl .xh-arttoc a.is-active::before {
  background: var(--xh-red);
  content: "";
  height: 100%;
  left: -18px;
  position: absolute;
  top: 0;
  width: 2px;
}

.xh-bl .xh-artcity, .xh-bl .xh-artpick {
  background: var(--xh-soft);
  border-radius: var(--xh-r);
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 8px;
  padding: 16px;
}

.xh-bl .xh-artcity > b, .xh-bl .xh-artpick > b {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
}

.xh-bl .xh-artcity > b .xh-i {
  color: var(--xh-red);
  height: 18px;
  width: 18px;
}

.xh-bl .xh-artcity p, .xh-bl .xh-artpick p {
  color: var(--xh-muted);
}

.xh-bl .xh-artcity__select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7175' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r-sm);
  box-shadow: none;
  color: var(--xh-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  height: 42px;
  margin: 0;
  padding: 0 36px 0 12px;
  width: 100%;
}

.xh-bl .xh-artcity small {
  color: var(--xh-muted);
  font-size: 12px;
}

.xh-bl .xh-artcity small:empty {
  display: none;
}

.xh-bl .xh-artpick {
  background: var(--xh-blue-soft);
}

.xh-bl .xh-artpick .xh-btn {
  margin-top: 4px;
  width: 100%;
}

/* текст статьи */
.xh-bl .xh-art {
  max-width: 720px;
}

.xh-bl .xh-art__sec {
  padding-top: 8px;
  scroll-margin-top: calc(var(--xh-top) + 24px);
}

.xh-bl .xh-art__sec + .xh-art__sec {
  margin-top: 44px;
}

.xh-bl .xh-art h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.xh-bl .xh-art p {
  font-size: 17px;
  line-height: 1.6;
}

/* Quill: inline width/height на img — на узком экране сбрасываем, иначе картинка «тянется» */
@media (max-width: 767px) {
  .xh-bl .xh-art .content img,
  .xh-bl .xh-art__sec p img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
  }
}

.xh-bl .xh-art p + p, .xh-bl .xh-art ul + p, .xh-bl .xh-art p + ul {
  margin-top: 14px;
}

.xh-bl .xh-art > .xh-art__sec > ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
}

.xh-bl .xh-art > .xh-art__sec > ul > li {
  font-size: 17px;
  line-height: 1.55;
  list-style: disc;
}

.xh-bl .xh-art > .xh-art__sec > ul > li::marker {
  color: var(--xh-red);
}

/* коротко */
.xh-bl .xh-artshort {
  background: var(--xh-cream);
  border-radius: var(--xh-r-lg);
  padding: 22px 24px;
}

.xh-bl .xh-artshort__title {
  align-items: center;
  color: var(--xh-amber-d);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xh-bl .xh-artshort__title .xh-i {
  height: 16px;
  width: 16px;
}

.xh-bl .xh-artshort ul,
.xh-bl .xh-artshort ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xh-bl .xh-artshort .ql-ui {
  display: none;
}

.xh-bl .xh-artshort li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.xh-bl .xh-artshort li::before {
  background: var(--xh-yellow);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 2px;
  position: absolute;
  top: 8px;
  width: 7px;
}

.xh-bl .xh-artshort li b,
.xh-bl .xh-artshort li strong {
  font-weight: 800;
}

/* какая она */
.xh-bl .xh-artwhich {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.xh-bl .xh-artwhich__card {
  background: #fff;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.xh-bl .xh-artwhich__card:hover {
  border-color: transparent;
  box-shadow: var(--xh-shadow);
  transform: translateY(-2px);
}

.xh-bl .xh-artwhich__icon {
  align-items: center;
  background: var(--c);
  border-radius: 10px;
  color: var(--i);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.xh-bl .xh-artwhich__card > b {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.xh-bl .xh-artwhich__card > span:not(.xh-artwhich__icon) {
  color: var(--xh-muted);
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.45;
}

.xh-bl .xh-artwhich__card em {
  align-items: center;
  color: var(--xh-blue-d);
  display: inline-flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  gap: 4px;
}

.xh-bl .xh-artwhich__card em .xh-i {
  height: 15px;
  width: 15px;
}

/* карточки впечатлений внутри статьи */
.xh-bl .xh-artprods {
  margin-top: 22px;
}

.xh-bl .xh-artprods__title {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xh-bl .xh-artprods__title::after {
  background: var(--xh-line);
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

.xh-bl .xh-artprods__city {
  color: var(--xh-blue-d);
  font-weight: 800;
  text-transform: none;
}

.xh-bl .xh-artprods__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xh-bl .xh-prod {
  background: #fff;
  border-radius: var(--xh-r);
  box-shadow: var(--xh-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.xh-bl .xh-prod:hover {
  box-shadow: var(--xh-shadow-lg);
  transform: translateY(-2px);
}

.xh-bl .xh-prod__media {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  position: relative;
}

.xh-bl .xh-prod__media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.xh-bl .xh-prod__rating {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 4px;
  left: 10px;
  padding: 5px 8px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.xh-bl .xh-prod__rating .xh-i {
  color: var(--xh-yellow);
  height: 13px;
  width: 13px;
}

.xh-bl .xh-prod__rating small {
  color: var(--xh-muted);
  font-weight: 600;
}

.xh-bl .xh-prod__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.xh-bl .xh-prod__name {
  color: var(--xh-ink);
  display: -webkit-box;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xh-bl .xh-prod__mini {
  color: var(--xh-muted);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xh-bl .xh-prod__cities {
  align-items: center;
  color: var(--xh-muted);
  display: flex;
  font-size: 11px;
  gap: 4px;
  margin-top: 2px;
}

.xh-bl .xh-prod__cities .xh-i {
  height: 12px;
  width: 12px;
}

.xh-bl .xh-prod__cities.is-ok {
  color: var(--xh-green-d);
  font-weight: 700;
}

.xh-bl .xh-prod__foot {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.xh-bl .xh-prod__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.xh-bl .xh-prod__price b {
  font-size: 16px;
  font-weight: 800;
}

.xh-bl .xh-prod__price s {
  color: var(--xh-muted);
  font-size: 12px;
}

.xh-bl .xh-prod .xh-btn {
  font-size: 13px;
  min-height: 36px;
  padding: 0 12px;
}

/* нет в городе получателя */
.xh-bl .xh-prod.is-away .xh-prod__media::after {
  background: rgba(255, 255, 255, 0.45);
  content: "";
  inset: 0;
  position: absolute;
}

.xh-bl .xh-prod.is-away .xh-prod__name, .xh-bl .xh-prod.is-away .xh-prod__price b {
  color: var(--xh-muted);
}

.xh-bl .xh-prod__away {
  background: var(--xh-soft);
  border-radius: 8px;
  color: var(--xh-muted);
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
}

.xh-bl .xh-prod__away a {
  color: var(--xh-blue-d);
  font-weight: 800;
}

.xh-bl .xh-artprods__alt {
  background: var(--xh-blue-soft);
  border-radius: var(--xh-r);
  display: flex;
  font-size: 14px;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 16px;
}

.xh-bl .xh-artprods__alt .xh-i {
  color: var(--xh-blue-d);
  flex: 0 0 auto;
}

.xh-bl .xh-artprods__alt a {
  color: var(--xh-blue-d);
  font-weight: 800;
}

/* «если хочется вещь» */
.xh-bl .xh-artthings {
  border: 1.5px dashed var(--xh-line);
  border-radius: var(--xh-r);
  margin-top: 20px;
  padding: 18px 20px;
}

.xh-bl .xh-artthings b {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 6px;
}

.xh-bl .xh-artthings b .xh-i {
  color: var(--xh-red);
  height: 18px;
  width: 18px;
}

.xh-bl .xh-artthings p {
  color: var(--xh-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* цитата */
.xh-bl .xh-artquote {
  border-left: 3px solid var(--xh-red);
  margin: 22px 0;
  padding: 4px 0 4px 22px;
  position: relative;
}

.xh-bl .xh-artquote > .xh-i {
  color: var(--xh-red);
  height: 26px;
  margin-bottom: 8px;
  opacity: 0.5;
  width: 26px;
}

.xh-bl .xh-artquote blockquote {
  border: 0;
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  padding: 0;
}

.xh-bl .xh-artquote figcaption {
  color: var(--xh-muted);
  font-size: 13px;
  margin-top: 10px;
}

/* таблица */
.xh-bl .xh-arttable {
  margin: 20px 0;
  overflow-x: auto;
}

.xh-bl .xh-arttable table {
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
  width: 100%;
}

.xh-bl .xh-arttable th, .xh-bl .xh-arttable td {
  border-bottom: 1px solid var(--xh-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.xh-bl .xh-arttable th {
  background: var(--xh-soft);
  color: var(--xh-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.xh-bl .xh-arttable td:last-child {
  font-weight: 800;
  white-space: nowrap;
}

/* подсказка */
.xh-bl .xh-arttip {
  background: var(--xh-blue-soft);
  border-radius: var(--xh-r);
  display: flex;
  font-size: 14px;
  gap: 12px;
  line-height: 1.5;
  margin-top: 20px;
  padding: 16px 18px;
}

.xh-bl .xh-arttip .xh-i {
  color: var(--xh-blue-d);
}

/* бюджет */
.xh-bl .xh-artbudget {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.xh-bl .xh-artbudget__col {
  background: var(--xh-soft);
  border-radius: var(--xh-r);
  padding: 18px;
  position: relative;
}

.xh-bl .xh-artbudget__col.is-mid {
  background: var(--xh-cream);
}

.xh-bl .xh-artbudget__col > b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.xh-bl .xh-artbudget__col ul {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 6px;
}

.xh-bl .xh-artbudget__col small {
  color: var(--xh-amber-d);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
}

/* если не уверены */
.xh-bl .xh-artalt {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.xh-bl .xh-artalt__card {
  background: #fff;
  border: 1.5px solid var(--xh-line);
  border-radius: var(--xh-r);
  display: grid;
  gap: 14px;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 14px;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.xh-bl .xh-artalt__card:hover {
  border-color: transparent;
  box-shadow: var(--xh-shadow);
}

.xh-bl .xh-artalt__card img {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

.xh-bl .xh-artalt__cert {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--xh-red) 0%, #ff7a3d 100%);
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.xh-bl .xh-artalt__cert i {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.8;
  text-transform: uppercase;
}

.xh-bl .xh-artalt__cert b {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 2px;
}

.xh-bl .xh-artalt__cert small {
  font-size: 9px;
  opacity: 0.85;
}

.xh-bl .xh-artalt__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xh-bl .xh-artalt__body small {
  color: var(--xh-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.xh-bl .xh-artalt__body b {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.xh-bl .xh-artalt__body > span {
  color: var(--xh-muted);
  font-size: 13px;
  line-height: 1.4;
}

.xh-bl .xh-artalt__body em {
  color: var(--xh-ink);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  margin-top: auto;
  padding-top: 6px;
}

/* шаги */
.xh-bl .xh-artsteps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.xh-bl .xh-artsteps li {
  counter-increment: step;
  font-size: 16px;
  line-height: 1.55;
  padding-left: 48px;
  position: relative;
}

.xh-bl .xh-artsteps li::before {
  align-items: center;
  background: var(--xh-ink);
  border-radius: 50%;
  color: #fff;
  content: counter(step);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 32px;
}

.xh-bl .xh-artsteps li b {
  font-weight: 800;
}

/* FAQ в статье */
.xh-bl .xh-art .xh-q + .xh-q {
  margin-top: 8px;
}

.xh-bl .xh-art .xh-q__body p {
  font-size: 15px;
}

/* подвал статьи */
.xh-bl .xh-artfoot {
  border-top: 1px solid var(--xh-line);
  margin-top: 44px;
  padding-top: 24px;
}

.xh-bl .xh-arttags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.xh-bl .xh-arttags .xh-tag:hover {
  background: var(--xh-blue);
  color: #fff;
}

.xh-bl .xh-artauthorbox {
  align-items: center;
  background: var(--xh-soft);
  border-radius: var(--xh-r-lg);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 20px 22px;
}

.xh-bl .xh-artauthorbox b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.xh-bl .xh-artauthorbox p {
  color: var(--xh-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* плашка на телефоне */
.xh-bl .xh-artsticky {
  display: none;
}

/* заметка прототипа, когда открыта статья по другому slug */
.xh-bl .xh-artnote {
  background: var(--xh-amber-soft);
  color: var(--xh-amber-d);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
  text-align: center;
}

/* ======================================================================
   АДАПТИВ
   ====================================================================== */
@media (max-width: 1199px) {
  .xh-bl .xh-blhot__band {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-artlayout {
    gap: 36px;
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .xh-bl .xh-section {
    padding-top: 48px;
  }

  .xh-bl .xh-h1 {
    font-size: 30px;
  }

  .xh-bl .xh-arthead .xh-arthead__title {
    font-size: 40px;
  }

  .xh-bl .xh-blhero__grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-blfeat {
    aspect-ratio: 16 / 11;
  }

  .xh-bl .xh-blrub__grid, .xh-bl .xh-blgrid, .xh-bl .xh-bltested__grid, .xh-bl .xh-blhot__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xh-bl .xh-bltested__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .xh-bl .xh-blcreators {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .xh-bl .xh-blpick__band, .xh-bl .xh-blsub__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
  }

  .xh-bl .xh-artcover {
    aspect-ratio: 16 / 10;
  }

  .xh-bl .xh-arthead {
    padding-bottom: 32px;
  }

  .xh-bl .xh-artlayout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .xh-bl .xh-artside__inner {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .xh-bl .xh-arttoc {
    display: none;
  }

  .xh-bl .xh-art {
    max-width: none;
  }

  .xh-bl .xh-artsticky {
    align-items: center;
    background: #fff;
    bottom: var(--xh-bottom);
    box-shadow: 0 -4px 20px rgba(27, 26, 26, 0.12);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    padding: 10px 16px;
    position: fixed;
    right: 0;
    transform: translateY(110%);
    transition: transform 0.25s ease;
    z-index: 40;
  }

  .xh-bl .xh-artsticky.is-visible {
    transform: none;
  }

  .xh-bl .xh-artsticky span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .xh-bl .xh-artsticky b {
    font-size: 14px;
    font-weight: 800;
  }

  .xh-bl .xh-artsticky small {
    color: var(--xh-muted);
    font-size: 12px;
  }

  .xh-bl .xh-artsticky .xh-btn {
    min-height: 42px;
  }

  .xh-bl .xh-blsub {
    padding-bottom: 96px;
  }
}

@media (max-width: 767px) {
  .xh-bl .xh-blhero {
    padding-bottom: 28px;
  }

  .xh-bl .xh-blsearch__field {
    flex-wrap: wrap;
    padding: 6px 10px 6px 14px;
  }

  .xh-bl .xh-blsearch__field input {
    flex-basis: calc(100% - 30px);
  }

  .xh-bl .xh-blsearch__field .xh-btn {
    margin: 0 -4px 0 0;
    width: 100%;
  }

  .xh-bl .xh-blfeat__body {
    padding: 60px 18px 18px;
  }

  .xh-bl .xh-blfeat__title {
    font-size: 20px;
  }

  .xh-bl .xh-blfeat__excerpt {
    display: none;
  }

  .xh-bl .xh-blhot__band {
    padding: 22px 18px;
  }

  .xh-bl .xh-blrub__grid, .xh-bl .xh-blgrid, .xh-bl .xh-bltested__grid, .xh-bl .xh-blhot__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-blgrid {
    gap: 28px;
  }

  .xh-bl .xh-bltcard {
    aspect-ratio: 4 / 3.6;
  }

  .xh-bl .xh-blsub__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-blsub__form .xh-btn {
    width: 100%;
  }

  .xh-bl .xh-art h2 {
    font-size: 22px;
  }

  .xh-bl .xh-arthead__center {
    padding-top: 12px;
  }

  .xh-bl .xh-arthead .xh-arthead__title {
    font-size: 30px;
    margin: 18px 0 14px;
  }

  .xh-bl .xh-arthead__lead {
    font-size: 16px;
  }

  .xh-bl .xh-arthead__byline {
    font-size: 14px;
    gap: 8px 16px;
    margin-top: 20px;
  }

  .xh-bl .xh-artcover {
    margin: 28px -12px 0;
  }

  .xh-bl .xh-artcover {
    aspect-ratio: 4 / 3;
  }

  .xh-bl .xh-artcover img {
    border-radius: 0;
  }

  .xh-bl .xh-art p, .xh-bl .xh-art > .xh-art__sec > ul > li {
    font-size: 16px;
  }

  .xh-bl .xh-artside__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-artpick {
    display: none;
  }

  .xh-bl .xh-artwhich, .xh-bl .xh-artbudget, .xh-bl .xh-artalt {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-artprods__grid {
    display: flex;
    gap: 10px;
    margin: 0 -12px;
    overflow-x: auto;
    padding: 4px 12px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .xh-bl .xh-artprods__grid::-webkit-scrollbar {
    display: none;
  }

  .xh-bl .xh-artprods__grid .xh-prod {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .xh-bl .xh-artshort {
    padding: 18px;
  }

  .xh-bl .xh-artquote blockquote {
    font-size: 17px;
  }

  .xh-bl .xh-artauthorbox {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .xh-bl .xh-artauthorbox .xh-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .xh-bl .xh-artsteps li {
    font-size: 15px;
  }
}

/* ======================================================================
   ТЕМА МАКЕТА «ГЛАВНАЯ 2» (project11008267.tilda.ws/page340287909.html)
   Montserrat, чёрные заголовки с бирюзовым выделением, серые и голубые фоны секций,
   белые карточки 20px с мягкой тенью, бирюзовые кнопки и круглые стрелки,
   цветные плашки (бирюзовая, зелёная, оранжевая). Красного нет: токен --xh-red
   внутри блога указывает на бирюзовый, поэтому все «основные» кнопки становятся бирюзовыми.
   ====================================================================== */
.xh.xh-bl {
  --xh-red: #26b6ea;
  --xh-red-d: #168eb9;
  --xh-ink: #191919;
  --xh-text: #2e2e2e;
  --xh-muted: #6e7378;
  --xh-line: #e3e6ea;
  --xh-soft: #f7f7f7;
  --xh-blue-soft: #ecf0ff;
  --tl-orange: #ff9624;
  --tl-green: #48b54a;
  --tl-card-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  background: var(--xh-soft);
  color: var(--xh-text);
  font-family: Montserrat, Mulish, sans-serif;
  font-weight: 500;
}

.xh-bl h1, .xh-bl h2, .xh-bl h3, .xh-bl .xh-h1, .xh-bl .xh-h2 {
  font-family: Montserrat, Mulish, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.xh-bl .xh-h1 {
  font-size: 48px;
  line-height: 1.08;
}

.xh-bl .xh-h2 {
  font-size: 40px;
  line-height: 1.1;
}

/* выделенная часть заголовка, как «понравится» и «полная свобода выбора» в макете */
.xh-bl .xh-acc {
  color: var(--xh-blue);
}

.xh-bl b, .xh-bl strong {
  font-weight: 700;
}

/* кнопки: бирюзовые, без красного */
.xh-bl .xh-btn {
  border-radius: 12px;
  font-weight: 700;
}

.xh-bl .xh-btn--primary {
  background: var(--xh-blue);
  box-shadow: 0 6px 16px rgba(38, 182, 234, 0.28);
  color: #fff;
}

.xh-bl .xh-btn--primary:hover {
  background: var(--xh-blue-d);
}

.xh-bl .xh-btn--ghost {
  border-color: transparent;
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-btn--ghost:hover {
  border-color: var(--xh-blue);
}

/* плашки */
.xh-bl .xh-eyebrow {
  background: #fff;
  box-shadow: var(--tl-card-shadow);
  color: var(--xh-blue-d);
}

.xh-bl .xh-kicker {
  background: #fff;
  color: var(--tl-orange);
}

.xh-bl .xh-tag {
  background: var(--xh-blue-soft);
  color: var(--xh-blue-d);
}

.xh-bl .xh-section__lead {
  color: var(--xh-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* круглая бирюзовая стрелка из карточек макета */
.xh-bl .tl-arrow {
  align-items: center;
  background: var(--xh-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.15s ease;
  width: 32px;
}

.xh-bl .tl-arrow .xh-i {
  height: 16px;
  transform: rotate(-45deg);
  width: 16px;
}

/* ---------- главная блога ---------- */
.xh-bl .xh-blhero {
  background: #fff;
  padding-bottom: 56px;
}

.xh-bl .xh-blhero__lead {
  font-size: 16px;
  line-height: 1.6;
}

.xh-bl .xh-blsearch__field {
  border-color: transparent;
  border-radius: 16px;
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-blsearch__quick button {
  background: var(--xh-blue-soft);
  border-color: transparent;
  color: var(--xh-blue-d);
  font-weight: 600;
}

.xh-bl .xh-blsearch__quick button:hover {
  background: var(--xh-blue);
  color: #fff;
}

.xh-bl .xh-blfeat {
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
}

.xh-bl .xh-blfeat__rubric {
  background: var(--xh-blue);
}

.xh-bl .xh-blnav {
  background: rgba(247, 247, 247, 0.94);
  border-bottom-color: transparent;
}

.xh-bl .xh-blnav__chip {
  background: var(--xh-blue-soft);
  border-radius: 10px;
  color: var(--xh-blue-d);
  font-weight: 600;
}

.xh-bl .xh-blnav__chip:hover {
  background: #dfe6ff;
}

.xh-bl .xh-blnav__chip.is-active {
  background: var(--xh-blue);
  color: #fff;
}

/* сезон: голубая полоса, как подборщик в макете */
.xh-bl .xh-blhot__band {
  background: var(--xh-blue-soft);
  border-radius: 24px;
}

.xh-bl .xh-blhot__head .xh-h2 b {
  color: var(--xh-blue);
}

.xh-bl .xh-blhot__card {
  box-shadow: var(--tl-card-shadow);
  border-radius: 20px;
}

/* рубрики: белые карточки с цветной иконкой и круглой стрелкой */
.xh-bl .xh-blrub__card {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--tl-card-shadow);
  position: relative;
}

.xh-bl .xh-blrub__card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.xh-bl .xh-blrub__card:hover .tl-arrow {
  transform: rotate(45deg);
}

.xh-bl .xh-blrub__card .tl-arrow {
  position: absolute;
  right: 20px;
  top: 20px;
}

.xh-bl .xh-blrub__card:nth-child(3n + 1) .xh-blrub__icon {
  background: #e9f6e4;
  color: var(--tl-green);
}

.xh-bl .xh-blrub__card:nth-child(3n + 2) .xh-blrub__icon {
  background: var(--xh-blue-soft);
  color: var(--xh-blue);
}

.xh-bl .xh-blrub__card:nth-child(3n) .xh-blrub__icon {
  background: #fff1e2;
  color: var(--tl-orange);
}

.xh-bl .xh-blrub__card em {
  color: var(--xh-blue-d);
}

/* карточки статей — белые, как карточки категорий в макете */
.xh-bl .xh-blcard {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--tl-card-shadow);
  overflow: hidden;
  padding-bottom: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.xh-bl .xh-blcard:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.xh-bl .xh-blcard__media {
  border-radius: 0;
}

.xh-bl .xh-blcard > :not(.xh-blcard__media) {
  margin-left: 18px;
  margin-right: 18px;
}

.xh-bl .xh-blcard__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.xh-bl .xh-blcard__rubric {
  border-radius: 8px;
  color: var(--xh-blue-d);
}

.xh-bl .xh-blcard__hot {
  background: var(--tl-orange);
  border-radius: 8px;
}

.xh-bl .xh-blcard__excerpt, .xh-bl .xh-blcard__meta {
  font-size: 13px;
}

/* проверено на себе */
.xh-bl .xh-bltested {
  background: #fff;
  margin-top: 64px;
  padding-bottom: 64px;
}

.xh-bl .xh-bltcard {
  border-radius: 20px;
}

.xh-bl .xh-bltcard__verdict {
  background: var(--tl-orange);
}

.xh-bl .xh-bltcard__verdict .xh-i {
  color: #fff;
}

/* подборщик: белая карточка на голубом поле, как блок акции в макете */
.xh-bl .xh-blpick__band {
  background: #fff;
  box-shadow: var(--tl-card-shadow);
  color: var(--xh-text);
  position: relative;
}

.xh-bl .xh-blpick__copy .xh-h2 {
  color: var(--xh-ink);
}

.xh-bl .xh-blpick__copy p {
  color: var(--xh-muted);
}

.xh-bl .xh-blpick__actions .xh-btn--ghost {
  background: #fff;
  border-color: var(--xh-line);
  color: var(--xh-ink);
}

.xh-bl .xh-blpick__actions .xh-btn--ghost:hover {
  border-color: var(--xh-blue);
}

.xh-bl .xh-blpick__facts li {
  background: var(--xh-blue-soft);
  border-radius: 16px;
  padding: 14px 16px;
}

.xh-bl .xh-blpick__facts .xh-i {
  background: #fff;
  color: var(--xh-blue);
}

.xh-bl .xh-blpick__facts span {
  color: var(--xh-muted);
}

/* подписка */
.xh-bl .xh-blsub__card {
  background: var(--xh-blue-soft);
  border-radius: 24px;
}

.xh-bl .xh-blsub__form input {
  border-radius: 12px;
  font-family: inherit;
}

/* ---------- статья ---------- */
.xh-bl--article .xh-arthead {
  background: #fff;
}

.xh-bl .xh-arthead .xh-arthead__title {
  font-family: Montserrat, Mulish, sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.xh-bl .xh-arthead__lead {
  font-family: Montserrat, Mulish, sans-serif;
  font-size: 17px;
}

.xh-bl .xh-arthead__rubric {
  background: var(--xh-blue);
  color: #fff;
}

.xh-bl .xh-arthead__rubric:hover {
  background: var(--xh-blue-d);
}

.xh-bl .xh-artcopy, .xh-bl .xh-artcopy:focus {
  border-color: transparent;
  border-radius: 12px;
  box-shadow: var(--tl-card-shadow);
  font-weight: 600;
}

.xh-bl .xh-artcover img {
  box-shadow: none;
}

.xh-bl--article .xh-artwrap {
  background: #fff;
  padding-bottom: 64px;
}

.xh-bl .xh-art h2 {
  font-size: 28px;
}

.xh-bl .xh-art p, .xh-bl .xh-art > .xh-art__sec > ul > li {
  font-size: 16px;
  line-height: 1.7;
}

.xh-bl .xh-arttoc a.is-active::before {
  background: var(--xh-blue);
}

.xh-bl .xh-artcity, .xh-bl .xh-artpick {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-artcity > b .xh-i {
  color: var(--xh-blue);
}

.xh-bl .xh-artcity__select {
  border-radius: 12px;
  font-family: inherit;
}

.xh-bl .xh-artshort {
  background: var(--xh-blue-soft);
}

.xh-bl .xh-artshort__title {
  color: var(--xh-blue-d);
}

.xh-bl .xh-artshort li::before {
  background: var(--xh-blue);
}

.xh-bl .xh-artwhich__card {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-artwhich__card[data-dir="rest"] .xh-artwhich__icon {
  --c: var(--xh-blue-soft);
  --i: var(--xh-blue);
}

.xh-bl .xh-artwhich__card[data-dir="craft"] .xh-artwhich__icon {
  --c: #fff1e2;
  --i: var(--tl-orange);
}

.xh-bl .xh-artwhich__card[data-dir="adventure"] .xh-artwhich__icon {
  --c: #e9f6e4;
  --i: var(--tl-green);
}

.xh-bl .xh-prod {
  border-radius: 20px;
}

.xh-bl .xh-prod .xh-btn {
  border-radius: 10px;
}

.xh-bl .xh-artthings {
  background: #fff8ef;
  border: 0;
  border-left: 3px solid var(--tl-orange);
  border-radius: 0 16px 16px 0;
}

.xh-bl .xh-artthings b .xh-i {
  color: var(--tl-orange);
}

.xh-bl .xh-artquote {
  background: var(--xh-blue-soft);
  border-left: 0;
  border-radius: 20px;
  padding: 24px 28px;
}

.xh-bl .xh-artquote > .xh-i {
  color: var(--xh-blue);
  opacity: 1;
}

.xh-bl .xh-artquote blockquote {
  font-style: normal;
  font-weight: 600;
}

.xh-bl .xh-arttable table {
  border-radius: 16px;
  overflow: hidden;
}

.xh-bl .xh-arttable th {
  background: var(--xh-blue-soft);
  color: var(--xh-blue-d);
}

.xh-bl .xh-artbudget__col {
  border-radius: 20px;
}

.xh-bl .xh-artbudget__col.is-mid {
  background: var(--xh-blue-soft);
}

.xh-bl .xh-artbudget__col small {
  color: var(--xh-blue-d);
}

.xh-bl .xh-artalt__card {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-artalt__cert {
  background: linear-gradient(135deg, var(--xh-blue) 0%, #6fd3f5 100%);
}

/* шаги — цветные номера, как «Как это работает» в макете */
.xh-bl .xh-artsteps li::before {
  background: var(--tl-green);
}

.xh-bl .xh-artsteps li:nth-child(2)::before {
  background: var(--xh-blue);
}

.xh-bl .xh-artsteps li:nth-child(3)::before {
  background: var(--tl-orange);
}

/* FAQ — белые строки с круглым бирюзовым плюсом */
.xh-bl .xh-q {
  background: #fff;
  border: 1px solid var(--xh-line);
  border-radius: 16px;
}

.xh-bl .xh-q[open] {
  box-shadow: var(--tl-card-shadow);
}

.xh-bl .xh-q summary {
  font-size: 16px;
  font-weight: 700;
}

.xh-bl .xh-q summary .xh-i {
  background: var(--xh-blue);
  border-radius: 50%;
  color: #fff;
  height: 26px;
  padding: 5px;
  width: 26px;
}

.xh-bl .xh-artauthorbox {
  background: var(--xh-blue-soft);
  border-radius: 20px;
}

.xh-bl .xh-artbar i {
  background: var(--xh-blue);
}

.xh-bl .xh-artsticky {
  border-radius: 20px 20px 0 0;
}

@media (max-width: 991px) {
  .xh-bl .xh-h1 {
    font-size: 36px;
  }

  .xh-bl .xh-h2 {
    font-size: 30px;
  }

  .xh-bl .xh-arthead .xh-arthead__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .xh-bl .xh-h1 {
    font-size: 30px;
  }

  .xh-bl .xh-h2 {
    font-size: 26px;
  }

  .xh-bl .xh-arthead .xh-arthead__title {
    font-size: 28px;
  }

  .xh-bl .xh-art h2 {
    font-size: 22px;
  }

  .xh-bl .xh-artquote {
    padding: 20px;
  }
}

/* ---------- статья: фото в тексте и списки идей ---------- */
.xh-bl .xh-artfig {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.xh-bl .xh-artfig--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xh-bl .xh-artfig img {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.xh-bl .xh-artfig--2 img {
  aspect-ratio: 4 / 3;
}

.xh-bl .xh-artfig figcaption {
  color: var(--xh-muted);
  font-size: 13px;
  grid-column: 1 / -1;
}

.xh-bl .xh-ideas {
  counter-reset: idea;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.xh-bl .xh-ideas li {
  border-bottom: 1px solid var(--xh-line);
  column-gap: 14px;
  counter-increment: idea;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  padding: 14px 0;
}

.xh-bl .xh-ideas li:first-child {
  border-top: 1px solid var(--xh-line);
}

.xh-bl .xh-ideas li::before {
  align-items: center;
  background: var(--xh-blue-soft);
  border-radius: 50%;
  color: var(--xh-blue-d);
  content: counter(idea);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  grid-row: span 2;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.xh-bl .xh-ideas b {
  color: var(--xh-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  padding-top: 4px;
}

.xh-bl .xh-ideas__price {
  align-self: start;
  background: var(--xh-blue-soft);
  border-radius: 8px;
  color: var(--xh-blue-d);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
  padding: 4px 9px;
  white-space: nowrap;
}

.xh-bl .xh-ideas__price--thing {
  background: #fff1e2;
  color: #b25e00;
}

.xh-bl .xh-art .xh-ideas p {
  color: var(--xh-muted);
  font-size: 15px;
  grid-column: 2 / -1;
  line-height: 1.55;
  margin-top: 4px;
}

.xh-bl .xh-art .xh-ideas + p {
  margin-top: 16px;
}

@media (max-width: 767px) {
  .xh-bl .xh-artfig--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-ideas li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .xh-bl .xh-ideas__price {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .xh-bl .xh-ideas li::before {
    grid-row: span 3;
  }
}

/* ---------- главная блога: первый экран на фото во всю ширину, как в макете ---------- */
.xh-bl .xh-blhero--photo {
  align-items: center;
  background: #0f1a2a;
  color: #fff;
  display: flex;
  min-height: 640px;
  overflow: hidden;
  padding: 18px 0 64px;
  position: relative;
}

.xh-bl .xh-blhero--photo > .container {
  position: relative;
  width: 100%;
  z-index: 1;
}

.xh-bl .xh-blhero--photo .xh-blhero__bg, .xh-bl .xh-blhero--photo .xh-blhero__bg img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.xh-bl .xh-blhero--photo .xh-blhero__bg img {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.xh-bl .xh-blhero--photo .xh-blhero__bg img.is-active {
  opacity: 1;
}

.xh-bl .xh-blhero--photo .xh-blhero__bg::after {
  background: linear-gradient(90deg, rgba(8, 18, 34, 0.82) 0%, rgba(8, 18, 34, 0.55) 45%, rgba(8, 18, 34, 0.1) 75%);
  content: "";
  inset: 0;
  position: absolute;
}

.xh-bl .xh-blhero--photo .xh-crumbs, .xh-bl .xh-blhero--photo .xh-crumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.xh-bl .xh-blhero--photo .xh-crumbs a:hover {
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-blhero__grid {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.xh-bl .xh-blhero--photo .xh-eyebrow {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  box-shadow: none;
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-h1 {
  color: #fff;
  font-size: 56px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.xh-bl .xh-blhero--photo .xh-blhero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 500;
}

.xh-bl .xh-blhero--photo .xh-blsearch {
  max-width: 620px;
}

.xh-bl .xh-blhero--photo .xh-chip span {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-color: transparent;
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-chip input:checked + span,
.xh-bl .xh-blhero--photo .xh-chip.is-active span {
  background: var(--xh-blue);
  border-color: var(--xh-blue);
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-blsearch__field {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.xh-bl .xh-blhero--photo .xh-blsearch__quick button {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-blsearch__quick button:hover {
  background: #fff;
  color: var(--xh-ink);
}

.xh-bl .xh-blsearch__quick a {
  background: #fff;
  border: 1px solid var(--xh-line);
  border-radius: 999px;
  color: var(--xh-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  text-decoration: none;
}

.xh-bl .xh-blhero--photo .xh-blsearch__quick a {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.xh-bl .xh-blhero--photo .xh-blsearch__quick a:hover {
  background: #fff;
  color: var(--xh-ink);
}

/* главная статья — в бирюзовой рамке, как телефон в макете */
.xh-bl .xh-blhero--photo .xh-blfeat {
  aspect-ratio: 9 / 13;
  border: 6px solid var(--xh-blue);
  border-radius: 36px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
  justify-self: end;
  width: 100%;
}

.xh-bl .xh-blhero--photo .xh-blfeat__body {
  padding: 70px 20px 22px;
}

.xh-bl .xh-blhero--photo .xh-blfeat__title {
  font-size: 20px;
}

.xh-bl .xh-blhero--photo .xh-blfeat__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.xh-bl .xh-blhero--photo .xh-blhero__dots {
  bottom: -40px;
  display: flex;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.xh-bl .xh-blhero__dots button {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  height: 8px;
  transition: background-color 0.2s ease, width 0.2s ease;
  width: 8px;
}

.xh-bl .xh-blhero__dots button.is-active {
  background: var(--xh-blue);
  width: 24px;
}

@media (max-width: 991px) {
  .xh-bl .xh-blhero--photo {
    min-height: 0;
    padding-bottom: 56px;
  }

  .xh-bl .xh-blhero--photo .xh-blhero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .xh-bl .xh-blhero--photo .xh-h1 {
    font-size: 40px;
  }

  .xh-bl .xh-blhero--photo .xh-blhero__bg::after {
    background: linear-gradient(180deg, rgba(8, 18, 34, 0.78) 0%, rgba(8, 18, 34, 0.6) 60%, rgba(8, 18, 34, 0.85) 100%);
  }

  .xh-bl .xh-blhero--photo .xh-blfeat {
    aspect-ratio: 16 / 10;
    border-width: 4px;
    border-radius: 24px;
    justify-self: stretch;
  }

  .xh-bl .xh-blhero--photo .xh-blhero__dots {
    bottom: -34px;
  }
}

@media (max-width: 767px) {
  .xh-bl .xh-blhero--photo {
    padding-top: 10px;
  }

  .xh-bl .xh-blhero--photo .xh-h1 {
    font-size: 32px;
  }

  .xh-bl .xh-blhero--photo .xh-blhero__lead {
    font-size: 15px;
  }

  .xh-bl .xh-blhero--photo .xh-blfeat {
    aspect-ratio: 4 / 3.4;
  }
}

/* ---------- рубрики: фото вместо иконок ---------- */
.xh-bl .xh-blrub__card {
  overflow: hidden;
  padding: 0 0 20px;
}

.xh-bl .xh-blrub__card > :not(.xh-blrub__media) {
  margin-left: 20px;
  margin-right: 20px;
}

.xh-bl .xh-blrub__media {
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
}

.xh-bl .xh-blrub__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.xh-bl .xh-blrub__card:hover .xh-blrub__media img {
  transform: scale(1.04);
}

.xh-bl .xh-blrub__card .tl-arrow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  right: 14px;
  top: 14px;
}

.xh-bl .xh-blrub__card[data-rubric-link="tested"] .xh-blrub__media img {
  object-position: center 15%;
}

/* ---------- статья: липкое оглавление ---------- */
.xh-bl .xh-artside {
  align-self: stretch;
}

.xh-bl .xh-artside__inner {
  max-height: calc(100vh - var(--xh-top) - 40px);
}

.xh-bl .xh-artside__inner > * {
  flex: 0 0 auto;
}

.xh-bl .xh-artside__inner > .xh-arttoc {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  min-height: 160px;
}

/* при большом числе глав прокручивается только список */
.xh-bl .xh-arttoc ol {
  flex-wrap: nowrap;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--xh-line) transparent;
  scrollbar-width: thin;
}

.xh-bl .xh-artpick .xh-btn {
  font-size: 14px;
  min-height: 44px;
  padding: 8px 12px;
  white-space: normal;
}

/* оглавление на телефоне */
.xh-bl .xh-arttocm {
  display: none;
}

@media (max-width: 991px) {
  .xh-bl .xh-arttocm {
    background: #fff;
    border-bottom: 1px solid var(--xh-line);
    display: block;
    margin: 0 -12px 20px;
    position: sticky;
    top: var(--xh-top);
    z-index: 25;
  }

  .xh-bl .xh-arttocm.is-open {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .xh-bl .xh-arttocm__btn, .xh-bl .xh-arttocm__btn:hover, .xh-bl .xh-arttocm__btn:focus {
    align-items: center;
    background: #fff;
    color: var(--xh-ink);
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
  }

  .xh-bl .xh-arttocm__btn > .xh-i:first-child {
    color: var(--xh-blue);
  }

  .xh-bl .xh-arttocm__label {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
  }

  .xh-bl .xh-arttocm__label small {
    color: var(--xh-muted);
    font-size: 11px;
    font-weight: 600;
  }

  .xh-bl .xh-arttocm__label b {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .xh-bl .xh-arttocm__chev {
    color: var(--xh-muted);
    transition: transform 0.2s ease;
  }

  .xh-bl .xh-arttocm.is-open .xh-arttocm__chev {
    transform: rotate(180deg);
  }

  .xh-bl .xh-arttocm__list {
    background: #fff;
    border-top: 1px solid var(--xh-line);
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px 0 10px;
  }

  .xh-bl .xh-arttocm__list[hidden] {
    display: none;
  }

  .xh-bl .xh-arttocm__list a {
    color: var(--xh-text);
    display: block;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 12px 10px 42px;
  }

  .xh-bl .xh-arttocm__list a.is-active {
    background: var(--xh-blue-soft);
    color: var(--xh-blue-d);
  }

  /* при прыжке к главе заголовок не прячется под строкой оглавления */
  .xh-bl .xh-art__sec {
    scroll-margin-top: calc(var(--xh-top) + 70px);
  }
}

/* полоска оглавления живёт внутри прокручиваемого списка, иначе overflow её обрезает */
.xh-bl .xh-arttoc {
  border-left: 0;
  padding-left: 0;
}

.xh-bl .xh-arttoc ol {
  box-shadow: inset 2px 0 0 var(--xh-line);
  padding-left: 16px;
}

.xh-bl .xh-arttoc a.is-active::before {
  left: -8px;
}

@media (min-width: 992px) {
  .xh-bl .xh-arttoc ol {
    overscroll-behavior: contain;
  }
}

@media (max-width: 991px) {
  .xh-bl .xh-artside__inner {
    max-height: none;
  }

  /* на телефоне оглавление — только строка сверху; боковое скрыто */
  .xh-bl .xh-artside__inner > .xh-arttoc {
    display: none;
  }
}

/* ---------- длинные заголовки статьи: шрифт уменьшается по длине (класс ставит js/blog-article.js) ---------- */
.xh-bl .xh-arthead .xh-arthead__title.is-long {
  font-size: 40px;
}

.xh-bl .xh-arthead .xh-arthead__title.is-xlong {
  font-size: 34px;
  line-height: 1.15;
}

.xh-bl .xh-arthead__title {
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .xh-bl .xh-arthead .xh-arthead__title.is-long {
    font-size: 32px;
  }

  .xh-bl .xh-arthead .xh-arthead__title.is-xlong {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .xh-bl .xh-arthead .xh-arthead__title.is-long {
    font-size: 25px;
  }

  .xh-bl .xh-arthead .xh-arthead__title.is-xlong {
    font-size: 22px;
    line-height: 1.2;
  }

  /* последняя крошка (название статьи) — в одну строку с многоточием */
  .xh-bl .xh-arthead .xh-crumbs > :last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
}

/* длинный заголовок внутри статьи и в карточках не должен рвать сетку */
.xh-bl .xh-art h2, .xh-bl .xh-blcard__title, .xh-bl .xh-blfeat__title, .xh-bl .xh-bltcard__title {
  overflow-wrap: break-word;
}

/* главная статья в первом экране: длинный заголовок обрезаем по строкам, высоту на телефоне задаёт текст */
.xh-bl .xh-blhero--photo .xh-blfeat__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

@media (max-width: 991px) {
  .xh-bl .xh-blhero--photo .xh-blfeat {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .xh-bl .xh-blhero--photo .xh-blfeat__body {
    padding-top: 110px;
  }

  .xh-bl .xh-blhero--photo .xh-blfeat__title {
    -webkit-line-clamp: 4;
  }
}

/* заголовки карточек в ленте — не больше трёх строк */
.xh-bl .xh-blcard__title, .xh-bl .xh-blhot__card b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.xh-bl .xh-bltcard__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* ---------- длинные названия глав в боковом оглавлении ---------- */
.xh-bl .xh-arttoc li {
  position: relative;
}

.xh-bl .xh-arttoc a {
  display: -webkit-box;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* полоска активного пункта — на строке списка: у ссылки overflow скрыт */
.xh-bl .xh-arttoc a.is-active::before {
  content: none;
}

.xh-bl .xh-arttoc li:has(> a.is-active)::before {
  background: var(--xh-blue);
  bottom: 2px;
  content: "";
  left: -16px;
  position: absolute;
  top: 2px;
  width: 2px;
}

/* на телефоне в раскрытом списке название целиком, но с ровными строками */
@media (max-width: 991px) {
  .xh-bl .xh-arttocm__list a {
    line-height: 1.35;
  }
}

/* обрезка до двух строк: вертикальный отступ на пункте, иначе в отступ ссылки «подглядывает» третья строка */
.xh-bl .xh-arttoc li {
  padding: 5px 0;
}

.xh-bl .xh-arttoc a {
  padding-bottom: 0;
  padding-top: 0;
}

/* ======================================================================
   СТАТЬЯ «100 ИДЕЙ» (blog-article-100.html): фильтр, темы по 10 идей, строки идей
   ====================================================================== */
.xh-bl .xh-ifilter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.xh-bl .xh-ifilter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xh-bl .xh-ifilter__row button {
  background: var(--xh-blue-soft);
  border-radius: 10px;
  color: var(--xh-blue-d);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.xh-bl .xh-ifilter__row button:hover {
  background: #dfe6ff;
}

.xh-bl .xh-ifilter__row button.is-active {
  background: var(--xh-blue);
  color: #fff;
}

.xh-bl .xh-ifilter__row button small {
  font-size: 12px;
  opacity: 0.7;
}

.xh-bl .xh-ifilter__count {
  color: var(--xh-muted);
  font-size: 13px;
}

.xh-bl .xh-ifilter__count:empty, .xh-bl .xh-ifilter__empty[hidden], .xh-bl .xh-ideasec[hidden], .xh-bl .xh-idea[hidden], .xh-bl .xh-arttoc li[hidden], .xh-bl .xh-arttocm__list li[hidden] {
  display: none;
}

.xh-bl .xh-ifilter__empty {
  background: var(--xh-soft);
  border-radius: 16px;
  color: var(--xh-muted);
  margin-top: 16px;
  padding: 18px;
  text-align: center;
}

.xh-bl .xh-ideasec h2 {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.xh-bl .xh-ideasec__range {
  color: var(--xh-blue);
  font-size: 0.7em;
}

.xh-bl .xh-ideas100 {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.xh-bl .xh-idea {
  align-items: flex-start;
  border-bottom: 1px solid var(--xh-line);
  display: flex;
  gap: 14px;
  padding: 14px 0;
}

.xh-bl .xh-ideas100 .xh-idea:first-child {
  border-top: 1px solid var(--xh-line);
}

.xh-bl .xh-idea__n {
  align-items: center;
  background: #fff1e2;
  border-radius: 50%;
  color: #b25e00;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  height: 34px;
  justify-content: center;
}

.xh-bl .xh-idea--ours .xh-idea__n {
  background: var(--xh-blue-soft);
  color: var(--xh-blue-d);
}

.xh-bl .xh-idea__img {
  border-radius: 12px;
  flex: 0 0 72px;
  height: 72px;
  overflow: hidden;
}

.xh-bl .xh-idea__img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xh-bl .xh-idea__main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 5px;
}

.xh-bl .xh-idea__main b {
  color: var(--xh-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.xh-bl .xh-art .xh-idea__main p {
  color: var(--xh-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.xh-bl .xh-idea__city {
  align-items: center;
  color: var(--xh-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
}

.xh-bl .xh-idea__city .xh-i {
  height: 13px;
  width: 13px;
}

.xh-bl .xh-idea__city.is-ok {
  color: var(--xh-green-d);
}

.xh-bl .xh-idea__side {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.xh-bl .xh-idea__side .xh-ideas__price {
  margin-top: 0;
}

.xh-bl .xh-idea__more {
  background: var(--xh-blue);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.xh-bl .xh-idea__more:hover {
  background: var(--xh-blue-d);
  color: #fff;
}

.xh-bl .xh-idea.is-away .xh-idea__img {
  opacity: 0.5;
}

.xh-bl .xh-idea.is-away .xh-idea__more {
  background: var(--xh-soft);
  color: var(--xh-muted);
}

@media (max-width: 767px) {
  .xh-bl .xh-idea {
    display: grid;
    gap: 6px 12px;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .xh-bl .xh-idea--ours {
    grid-template-columns: 30px 56px minmax(0, 1fr);
  }

  .xh-bl .xh-idea__n {
    height: 30px;
    width: 30px;
  }

  .xh-bl .xh-idea__img {
    height: 56px;
    width: 56px;
  }

  .xh-bl .xh-idea__side {
    align-items: center;
    flex-direction: row;
    grid-column: 2 / -1;
    justify-content: space-between;
    padding-top: 0;
  }

  .xh-bl .xh-idea:not(.xh-idea--ours) .xh-idea__side {
    justify-content: flex-start;
  }

  .xh-bl .xh-ifilter__row {
    flex-wrap: nowrap;
    margin: 0 -12px;
    overflow-x: auto;
    padding: 0 12px;
    scrollbar-width: none;
  }

  .xh-bl .xh-ifilter__row::-webkit-scrollbar {
    display: none;
  }

  .xh-bl .xh-ifilter__row button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

#wrapper:has(#xh) {
  overflow: visible;
}
