/* SUNDUQ v440 — warm light theme only */

html.siteTheme-light,
body.siteTheme-light {
  background:
    radial-gradient(circle at 15% 8%,
      rgba(255,208,140,.14), transparent 36%),
    linear-gradient(135deg,
      #fff8ed 0%,
      #fff5e7 58%,
      #fff4e8 100%) !important;
  color: #3b332a !important;
}

body.siteTheme-light {
  --k-card: linear-gradient(145deg,#fff,#fffaf4);
  --k-card-flat: #fff;
  --k-card-2: #fff5e8;
  --k-line: #e9daca;
  --k-line-hover: #d7bfa6;
  --k-line-soft: rgba(112,79,51,.14);
  --k-text: #3b332a;
  --k-muted: #66594e;
  --k-dim: #766b61;
  --k-shadow: 0 5px 18px rgba(92,64,42,.07);
}

/* Profile page */
body.siteTheme-light.trustProfileBody {
  --tp-bg: #fff8ed;
  --tp-panel: #fff;
  --tp-panel2: #fff5e8;
  --tp-line: rgba(112,79,51,.18);
  --tp-text: #3b332a;
  --tp-muted: #66594e;
  background:
    radial-gradient(circle at 15% 8%,
      rgba(255,208,140,.14), transparent 36%),
    linear-gradient(135deg,
      #fff8ed 0%,
      #fff5e7 58%,
      #fff4e8 100%) !important;
}

body.siteTheme-light .trustCard {
  background: rgba(255,255,255,.96) !important;
  border-color: #e9daca !important;
  box-shadow: 0 12px 34px rgba(92,64,42,.09) !important;
}

body.siteTheme-light .trustPub,
body.siteTheme-light .trustReview,
body.siteTheme-light .trustStats div,
body.siteTheme-light .trustThemeChoice {
  background: rgba(255,245,232,.72);
  border-color: rgba(112,79,51,.14);
}

/* Navigation header */
body.siteTheme-light .suUnifiedHeader {
  background: rgba(255,251,245,.98) !important;
  border-color: #e9daca !important;
}


/* SUNDUQ v441 — light theme refinements */

/* Белые цифры на тёмном индикаторе */
body.siteTheme-light .trustActivityRing > div,
body.siteTheme-light .trustActivityRing b {
  color: #f4f9ff !important;
}

body.siteTheme-light .trustActivityRing span {
  color: #b8cadd !important;
}

/* Светлые варианты выбора оформления */
body.siteTheme-light .trustThemeChoice {
  background: #fff6eb !important;
  border-color: #e5cfb6 !important;
  color: #3b332a !important;
}

body.siteTheme-light .trustThemeChoice.active {
  background: linear-gradient(135deg,#ffe8c5,#fff8ed) !important;
  border-color: #d6a36a !important;
}

body.siteTheme-light .trustThemeChoice b {
  color: #3b332a !important;
}

body.siteTheme-light .trustThemeChoice small {
  color: #66594e !important;
}

/* SUNDUQ v442 — contrast inside dark profile hero */

body.siteTheme-light .trustHero .trustHeroBody {
  color: #edf5fc !important;
}

body.siteTheme-light .trustHero .trustIdentity h1 {
  color: #ffffff !important;
}

body.siteTheme-light .trustHero .trustIdentity > p {
  color: #dce8f2 !important;
}

body.siteTheme-light .trustHero .trustMeta,
body.siteTheme-light .trustHero .trustMeta span,
body.siteTheme-light .trustHero .trustMetaspan {
  color: #b8cbdc !important;
}

/* SUNDUQ v443 — contrast fixes for warm light theme */

/* Афиша: тёмная обложка */
body.siteTheme-light .events92Page .events92Hero {
  background: linear-gradient(180deg,#14283b,#0d1c2b) !important;
  color: #f4f8ff !important;
}

body.siteTheme-light .events92Page .events92Hero h1 {
  color: #ffffff !important;
}

body.siteTheme-light .events92Page .events92Hero p {
  color: #cbd9e6 !important;
}

/* Карточки событий */
body.siteTheme-light .events92Page .events92Card {
  background: #fffaf4 !important;
  border-color: #e9daca !important;
  color: #3b332a !important;
}

body.siteTheme-light .events92Page .events92CardBody h3 {
  color: #253447 !important;
}

body.siteTheme-light .events92Page .events92CardBody p {
  color: #594e44 !important;
}

body.siteTheme-light .events92Page .events92Meta {
  color: #66594e !important;
}

body.siteTheme-light .events92Page .events92Date {
  border-color: #e9daca !important;
}

/* Подсказки в тёмной панели фильтров */
body.siteTheme-light .events92Page .events92Side .events92Hint {
  color: #b8cbdc !important;
}

/* Читаемость кнопки Ещё */
body.siteTheme-light .suUnifiedHeader .suUnifiedMoreBtn {
  color: #142334 !important;
  opacity: 1 !important;
}

/* Нижние ссылки */
body.siteTheme-light .sunduqFooter {
  color: #66594e !important;
}

body.siteTheme-light .sunduqFooter a {
  color: #71533b !important;
}

body.siteTheme-light .sunduqFooter a:hover {
  color: #3b332a !important;
}

/* SUNDUQ v444 — home sidebar and mobile profile */

/* Заголовок блока Важное сегодня */
body.siteTheme-light.neighborsHome
.nhRightRail .nhCompactAlert > .nhSideHead {
  display: flex !important;
  align-items: center !important;
  padding: 11px 13px 3px !important;
  margin: 0 !important;
  min-height: 30px;
  box-sizing: border-box;
}

body.siteTheme-light.neighborsHome
.nhRightRail .nhCompactAlert > .nhSideHead h2 {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #f4f8ff !important;
}

/* Компактный профиль на мобильных */
@media (max-width: 980px) {

  body.siteTheme-light
  .suUnifiedUserWrap:not(.suUnifiedGuest) {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }

  body.siteTheme-light
  .suUnifiedUserWrap:not(.suUnifiedGuest)
  .suUnifiedAuthBox {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }

  body.siteTheme-light
  .suUnifiedUserWrap:not(.suUnifiedGuest)
  .suUnifiedAuthBox .profile {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
    border-radius: 12px !important;
  }

  body.siteTheme-light
  .suUnifiedUserWrap:not(.suUnifiedGuest)
  .suUnifiedAuthBox .profile::before {
    content: "👤";
    font-size: 20px;
    line-height: 1;
  }
}
