code,pre{word-break:break-word;white-space:pre-wrap}body,figure{margin:0}.public .container,body{padding:0}.search>ul>li:hover,.search>ul>li[aria-selected=true]{background-color:rgba(79,158,175,.15)}.mobile,.search,.search__button,.search__input{background:#fff}html{height:100%}body{display:flex;flex-direction:column;font-family:Arial,sans-serif;min-height:100%;word-break:break-word}iframe{max-width:100%}pre{padding:10px;color:#353535;background:hsla(0,0%,78%,.3);border:1px solid #c4c4c4;border-radius:2px;text-align:left;direction:ltr;tab-size:4;font-style:normal}.header__lng-switcher select,.header__login a{border-radius:3px;height:30px;box-sizing:border-box}.container{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:75px;padding-right:10px;width:100%;box-sizing:border-box;flex:1}.mobile.inner .container_search{padding:0 10px;max-height:60px;margin-bottom:0;margin-top:10px}.mobile .container{padding:10px}.container_search{max-height:40px;margin-bottom:10px}.container_category{flex:none;flex-direction:column}.container_article,.container_news,.container_search-results{flex-direction:column}.header{height:80px;display:flex}.header .container{gap:10px}.header__logo{display:flex;align-items:center;flex:1}.mobile .header__logo img{max-height:30px}.mobile.inner .header{display:none}.header__lng-switcher select{outline:0}.header__lng-switcher{flex:1;max-width:45px;text-align:right;display:flex;align-items:center}.header__login{display:flex;align-items:center}.header__login a{padding:0 15px;font-size:16px;color:#fff;background-color:#23869b;border-color:#23869b;display:block;line-height:30px}.category li,.category-article__icon,.category-article__name{line-height:1.5;font-size:14px}.header__login a:hover{background-color:#4f9eaf;border-color:#4f9eaf}.search{display:flex;flex-direction:row;width:100%;border-radius:20px;height:40px;border:1px solid #dcdfe6;box-sizing:border-box;box-shadow:0 12px 32px 4px rgba(0,0,0,.04),0 8px 20px rgba(0,0,0,.08);position:relative}.search>ul{position:absolute;max-height:226px;overflow-y:scroll;box-sizing:border-box;left:0;right:0;margin:.5rem 0 0;top:40px;padding:0;z-index:1;list-style:none;border-radius:.6rem;background-color:#fff;border:1px solid rgba(33,33,33,.07);box-shadow:0 3px 6px rgba(149,157,165,.15);outline:0;transition:opacity .15s ease-in-out;-moz-transition:opacity .15s ease-in-out;-webkit-transition:opacity .15s ease-in-out}.breadcrumbs ul,.category ul{list-style:none;margin:0;padding:0}.search>ul[hidden],.search__input-container>ul:empty{display:block;opacity:0;transform:scale(0)}.search>ul>li{margin:.3rem;padding:.3rem .5rem;text-align:left;font-size:1rem;color:#212121;border-radius:.35rem;background-color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.2s}.search .icon{max-height:18px}.search>ul>li mark{background-color:transparent;color:#23869b;font-weight:700}.search>ul>li:hover{cursor:pointer}.search__input{border-top-left-radius:20px;border-bottom-left-radius:20px;border:none;outline:0;padding-left:20px;font-size:16px;height:100%;width:100%;box-sizing:border-box}.search__button{max-width:60px;min-width:60px;cursor:pointer;border-top-right-radius:20px;border-bottom-right-radius:20px;border:none;font-size:16px}.breadcrumbs{margin-top:20px}.breadcrumbs ul{display:flex;gap:5px;font-size:14px;flex-wrap:wrap}.breadcrumbs li:after{content:'>';padding-left:5px;color:#d9d9d9}.breadcrumbs li:last-child:after{content:'';padding:0}.categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px 20px;grid-auto-rows:max-content;max-width:100%;width:100%;flex:1;padding:20px 0}.article-author,.article-content{padding:10px 0;gap:10px;display:flex}.category a{color:#303133}.article-file__download:hover,.article-file__preview:hover,.article-header__name a:hover,.category a:hover,.category-article_is-active a,.news-pagination__button:hover{color:#4f9eaf}.category-article,.category-header{display:flex;flex-direction:row;gap:10px}.category-article__icon{width:14px;height:14px;text-align:center}.category-article__icon img{max-width:14px;max-height:14px}.category-header{font-size:16px;margin-bottom:5px;font-weight:400;color:#303133;margin-top:0}.category-header__name{line-height:25px}.category-header__icon img{max-width:20px;max-height:20px}.category-header__icon{max-width:20px;height:20px;text-align:center;font-size:20px;line-height:20px}.article-files,.category__show-more{margin-top:10px}.category__show-more a{color:#23869b;font-size:12px}.container_category .categories{gap:0 20px}.article{display:flex;flex-direction:column;flex:1}.article-header{display:flex;font-size:24px;gap:10px;margin-bottom:10px;margin-top:20px}.article-header__icon,.article-header__icon img{max-width:24px;min-width:24px}.article-header__name{flex:1;font-size:24px;margin:0;font-weight:400}.article-header__id{color:#23869b}.article-file__icon,.article-header__name a{color:#303133}.article-author{border-top:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.article-author__avatar{height:45px;width:45px;border-radius:90%;margin:auto;box-sizing:border-box;max-width:45px;box-shadow:0 0 12px rgba(0,0,0,.12)}.article-author__name{flex:1;font-size:16px;margin-top:5px}.article-author__last-updated{margin-top:5px;font-size:12px;color:#909399}.article-content{flex-wrap:wrap;flex:1}.article-content__text{flex:1;line-height:24px;font-size:14px}.article-content__text p,.article-content__text ul{line-height:1.5}.article-content__text .image-style-block-align-right{margin-right:0;margin-left:auto;text-align:right}.article-content__text .image-style-block-align-left{margin-right:auto;margin-left:0;text-align:left}.article-content__text .image-style-align-center{margin-right:auto;margin-left:auto;text-align:center}.article-content__text img{max-width:100%;height:100%}.article-content__text .text-huge{font-size:1.8em}.article-content__text .text-big{font-size:1.4em}.article-content__text .text-small{font-size:.85em}.article-content__text .text-tiny{font-size:.7em}.article-content__text code{background-color:#c7c7c780}.article-content__text pre code{background-color:unset}.article-content__text .table{margin:10px auto;display:table}.article-content__text .table table{width:100%;height:100%;border-collapse:collapse;border-spacing:0}.article-content__text .table table td,.article-content__text .table table th{min-width:2em;padding:.4em}.article-content__text blockquote{box-sizing:border-box;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:5px solid #ccc}.article-content__sidebar{flex:1;max-width:250px;min-width:250px}@media (max-width:594px){.article-content{flex-direction:column}.article-content__sidebar{max-width:unset}}.article-content__sidebar .category:last-child{margin-bottom:0}.article-content__sidebar .category{margin-bottom:20px}.article-useful__buttons button{cursor:pointer}.article-footer{padding:20px 0;display:flex;border-top:1px solid #dcdfe6}.article-footer__views{flex:1;font-size:12px;color:#909399;text-align:right}.article-favorite__button{background:0 0;border:none;cursor:pointer;color:#909399;padding:0;margin:0;font-size:20px;outline:0}.article-file,.article-useful__buttons,.article-useful__heading,.inner .hero{margin-bottom:10px}.article-favorite__button_active{color:red}.article-file{display:flex;flex-direction:column;font-size:14px}.article-file__meta{display:flex;gap:10px;flex-direction:row}.article-file__buttons{display:flex;gap:10px}.article-file__download,.article-file__preview{color:#303133;font-size:12px}.article-useful{border-top:1px solid #dcdfe6;padding:20px 0;text-align:center;font-size:14px}.article-useful__stats{font-size:12px}.article-useful__buttons{display:flex;gap:10px;justify-content:center}.article-useful__button{border-radius:3px;color:#23869b;background-color:#e9f3f5;border:1px solid #bddbe1;padding:3px 5px;width:60px;outline:0}.article-useful__button_active{color:#fff;background-color:#23869b;border-color:#23869b}.article-useful__button_active:hover{background-color:#4f9eaf;border-color:#4f9eaf}.article-footer__read-more{text-align:right;font-size:14px;width:100%}.access-denied,.news__no-news{text-align:center;flex:1;padding-top:20px}.access-denied h2{font-size:20px;font-weight:400}.inner .hero{background:0 0;height:40px}.mobile.inner .hero{height:60px;margin-bottom:0}.mobile .hero{height:100px}.hero{height:150px;display:flex;justify-items:center;align-items:center;width:100%;background:-moz-linear-gradient(left,#2c9b75 0,#23879a 100%);background:-webkit-linear-gradient(left,#2c9b75 0,#23879a 100%);background:linear-gradient(to right,#2c9b75 0,#23879a 100%)}.search-results__total-found{margin-top:20px;font-size:14px}.search-results__total-found span{font-weight:700}.news__no-news h2,.search-results__no-results h2{font-size:20px;font-weight:400}.search-results__no-results{text-align:center;padding-top:20px}.news-pagination{margin-bottom:20px;text-align:center;display:flex;gap:10px;justify-content:center}.news-pagination__button{cursor:pointer;font-size:14px;border:none;background:0 0}.kb-management{border-bottom:1px solid #dcdfe6;background:#fff}.kb-management__buttons{display:flex;justify-content:end;align-items:center;height:30px;width:100%;gap:10px}.kb-management__button{font-size:12px;border-right:1px solid #dcdfe6;padding-right:10px}.kb-management__button:last-child{border:none}.mobile .footer{height:30px}.footer{height:60px;border-top:1px solid #dcdfe6;display:flex;align-items:center}.footer__copyright{text-align:center;width:100%;color:#909399;font-size:12px}
/* OLX Uzbekistan Help Center — полный шаблон HelpDeskEddy.
   Штатные формы, ссылки, языковой переключатель и права доступа сохранены. */

:root {
  --olx-charcoal: #002f34;
  --olx-teal: #23e5db;
  --olx-mint: #cbf7ee;
  --olx-coral: #ffd6c9;
  --olx-blue-tint: #d7e4ff;
  --page: #f4f5f6;
  --white: #ffffff;
  --text: var(--olx-charcoal);
  --muted: #52696c;
  --line: #dce3e4;
  --font: "Geomanist Medium", "Platform", Roboto, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1160px;
  --radius: 6px;
  --ease: 160ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page) !important;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--text);
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--olx-teal);
  outline-offset: 3px;
}

::selection {
  background: var(--olx-teal);
  color: var(--olx-charcoal);
}

[hidden] {
  display: none !important;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Шапка и системные действия */
body .header {
  position: relative;
  z-index: 20;
  height: auto;
  min-height: 76px;
  padding: 0;
  background: var(--olx-charcoal);
  color: var(--white);
  border: 0;
}

body .header > .container {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}

body .header .header__logo {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  color: var(--white);
  text-decoration: none;
  background: transparent;
}

.olx-brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: 52px;
  color: var(--olx-teal);
}

.olx-brand svg {
  display: block;
  width: 52px;
  height: 40px;
}

body .header__label {
  max-width: 210px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

body .header__lng-switcher {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: none;
  margin: 0;
}

body .header__lng-switcher::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--white);
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

body .header__lng-switcher select {
  min-width: 70px;
  min-height: 38px;
  padding: 7px 30px 7px 12px;
  appearance: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.38);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

body .header__lng-switcher select:hover {
  border-color: var(--olx-teal);
}

body .header__lng-switcher option {
  background: var(--white);
  color: var(--olx-charcoal);
}

body .header__actions > a,
body .header__actions .header__login a,
body .header__actions .login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  background: var(--olx-teal);
  color: var(--olx-charcoal);
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Поиск: разметка и обработчики HelpDeskEddy не переопределяются. */
body .search {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

body .search:focus-within {
  outline: 2px solid var(--olx-teal);
  outline-offset: 2px;
}

body .search__input {
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 0;
  max-height: none;
  padding: 12px 16px;
  background: var(--white);
  color: var(--text);
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.4;
}

body .search__input::placeholder {
  color: #6f8083;
  opacity: 1;
}

body .search__input:hover,
body .search__input:focus {
  background: var(--white);
  border: 0;
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

body .search__button {
  position: relative;
  order: -1;
  display: inline-flex;
  flex: 0 0 78px;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 48px;
  min-width: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  padding: 0;
  background: var(--olx-charcoal);
  color: var(--white);
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

body .search__button:hover {
  background: #10484e;
  color: var(--olx-teal);
}

body .search__button .icon,
body .search__button i {
  display: none;
}

body .search__button::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-2px, -2px);
}

body .search__button::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(8px, 8px) rotate(45deg);
}

body [id^="autoComplete_list"] {
  z-index: 100;
  max-height: 360px;
  margin: 6px 0 0;
  padding: 6px;
  overflow: auto;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(0 47 52 / 0.14);
  list-style: none;
}

body [id^="autoComplete_list"] li {
  padding: 10px 12px;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
}

body [id^="autoComplete_list"] li:hover,
body [id^="autoComplete_list"] li[aria-selected="true"],
body [id^="autoComplete_list"] .autoComplete_selected {
  background: var(--olx-mint);
}

body [id^="autoComplete_list"] mark {
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

/* Герой главной: фирменные дуги текущего OLX UZ Help. */
body .hero {
  position: relative;
  z-index: 10;
  isolation: isolate;
  display: grid;
  min-height: 306px;
  padding: 48px 0 54px;
  overflow: visible;
  place-items: center;
  background: var(--olx-mint);
  color: var(--text);
  border: 0;
}

body .hero__decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

body .hero__decoration::before {
  content: "";
  position: absolute;
  top: -155px;
  left: 50%;
  width: 940px;
  height: 600px;
  border: 80px solid var(--olx-teal);
  border-radius: 50%;
  transform: translateX(-50%);
}

body .hero > .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

body .hero__title,
body .olx-hero__title {
  max-width: 850px;
  margin: 0 0 38px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(2rem, 2.7vw + 1rem, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
  text-transform: none;
}

body .hero .search {
  max-width: 612px;
}

/* Поиск внутренних страниц перемещается в шапку скриптом. */
body .header__search {
  flex: 0 1 320px;
  width: 320px;
  margin-left: auto;
}

body .header__search + .header__actions {
  margin-left: 0;
}

body .header__search .search__input {
  height: 36px;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
}

body .header__search .search__button {
  flex-basis: 42px;
  width: 42px;
  height: 36px;
  background: var(--olx-teal);
  color: var(--olx-charcoal);
  border-radius: 4px 0 0 4px;
}

body .header__search .search__button::before {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
}

body .header__search .search__button::after {
  width: 6px;
  transform: translate(6px, 6px) rotate(45deg);
}

body .container_search:empty {
  display: none;
}

/* Главная: объявления */
body .home-main {
  display: block;
  padding-bottom: 64px;
}

body .announcements {
  margin-top: 12px;
}

body .announcements__list {
  overflow: hidden;
  background: var(--olx-coral);
  border-radius: 4px;
}

body .announcement-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--text);
}

body .announcement-bar + .announcement-bar {
  border-top: 1px solid rgb(0 47 52 / 0.18);
}

body .announcement-bar__icon {
  display: inline-flex;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--text);
}

body .announcement-bar__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body .announcement-bar__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body .announcement-bar__link {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

body .announcement-bar__link:hover {
  text-decoration-thickness: 2px;
}

body .announcement-bar--empty .announcement-bar__title {
  font-weight: 400;
}

/* Контакты — реальные каналы поддержки OLX UZ. */
body .contact-panel {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 16px 24px;
  background: var(--olx-coral);
  color: var(--text);
  border-radius: 4px;
  text-align: center;
}

body .contact-panel__lang {
  display: grid;
  gap: 3px;
  font-size: 14px;
  line-height: 1.45;
}

body .contact-panel__lang strong {
  font-weight: 700;
}

body .contact-panel__lang a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
}

body .contact-panel__lang a:hover {
  text-decoration-thickness: 2px;
}

/* Плитки категорий */
body .home-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 44px 0 0;
}

body .home-categories > .category {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 150px;
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--ease), background-color var(--ease);
}

body .home-categories > .category:hover {
  background: #fbffff;
  transform: translateY(-2px);
}

body .home-categories .category-header {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-width: 0;
  padding: 24px;
}

body .category-header__icon {
  display: inline-flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  max-width: 50px;
  min-height: 50px;
  max-height: 50px;
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: var(--olx-mint);
  color: var(--text) !important;
  border: 0;
  border-radius: 50%;
}

body .category-header__icon .icon,
body .category-header__icon i {
  display: none;
}

body .category-header__icon svg {
  flex: 0 0 25px;
  width: 25px;
  max-width: none;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body .home-categories .category-header__name {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

body .category-header__name a {
  color: var(--text);
  font-weight: inherit;
  text-decoration: none;
  background: transparent;
}

body .home-categories .category-header__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

body .home-categories .category-header__name a:focus-visible {
  outline: none;
}

body .home-categories .category-header__name a:focus-visible::after {
  outline: 3px solid var(--olx-teal);
  outline-offset: -3px;
}

body .home-categories > .category > ul {
  display: none;
}

/* Основные статьи: только реальные материалы из выбранных категорий. */
body .essentials {
  margin-top: 44px;
}

body .essentials > h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

body .essentials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

body .essential-group {
  min-width: 0;
}

body .essential-group__title {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

body .essential-group__title:hover {
  text-decoration: underline;
}

body .essential-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body .essential-group .category-article {
  display: block;
  margin: 0;
  padding: 5px 0;
  background: transparent;
  border: 0;
}

body .essential-group .category-article__icon {
  display: none;
}

body .essential-group .category-article__name,
body .essential-group .category-article__name a {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

body .essential-group .category-article__name a:hover {
  text-decoration: underline;
}

body .essential-group__all {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body .essential-group__all:hover {
  text-decoration: underline;
}

/* Футер */
body .footer {
  padding: 24px 0;
  background: var(--page);
  color: var(--text);
  border-top: 1px solid #d4d9da;
}

body .footer > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body .footer__brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

body .footer__brand {
  display: inline-flex;
  color: var(--olx-teal);
}

body .footer__home-link {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

body .footer__copyright {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

body .footer__copyright a {
  color: inherit;
}

/* Внутренняя навигация */
body .container_category,
body .container_article,
body .container_search-results,
body .access-denied-wrap {
  display: block;
  padding-top: 24px;
  padding-bottom: 64px;
}

body .breadcrumbs {
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
}

body .breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

body .breadcrumbs li + li::before {
  content: "›";
  color: #789094;
  font-size: 16px;
}

body .breadcrumbs a {
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
}

body .breadcrumbs a:hover {
  text-decoration: underline;
}

body .breadcrumbs li:last-child a {
  color: var(--muted);
}

body .category-page-heading {
  margin: 0 0 24px;
}

body .category-page-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* Категории и списки статей */
body .container_category .categories,
body > .container > .categories:not(.home-categories),
body .search-results .categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}

body .container_category .category,
body > .container > .categories:not(.home-categories) > .category,
body .search-results .category {
  min-width: 0;
  margin: 0;
  padding: 20px;
  background: var(--white);
  color: var(--text);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

body .category ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body .category--article-column > ul,
body .search-results .category > ul {
  margin-top: 0;
}

body .category-article {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 11px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

body .category-article:last-child {
  border-bottom: 0;
}

body .category-article__icon {
  display: inline-flex;
  flex: 0 0 16px;
  justify-content: center;
  width: 16px;
  padding-top: 3px;
  color: var(--text) !important;
}

body .category-article__icon .icon,
body .category-article__icon i {
  display: none;
}

body .category-article__icon::before {
  content: "→";
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

body .category-article__name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body .category-article__name a {
  color: var(--text);
  text-decoration: none;
  background: transparent;
}

body .category-article__name a:hover {
  text-decoration: underline;
  text-decoration-color: var(--olx-teal);
  text-decoration-thickness: 2px;
}

body .category-article_is-active .category-article__name,
body .category-article_is-active .category-article__name a {
  font-weight: 700;
}

body .category-navigation-grid .category-header,
body > .container > .categories:not(.home-categories) .category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body .category-navigation-grid .category-header__icon,
body > .container > .categories:not(.home-categories) .category-header__icon {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
}

body .category-navigation-grid .category-header__name,
body > .container > .categories:not(.home-categories) .category-header__name {
  min-width: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

body .category__show-more {
  margin-top: 8px;
  padding-top: 10px;
  list-style: none;
}

body .category__show-more a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--olx-teal);
  text-decoration-thickness: 2px;
}

/* Статья */
body .container_article > .article {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body .article-header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

body .article-header__icon {
  display: none;
}

body .article-header__name {
  flex: 1 1 720px;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
}

body .article-header__id {
  color: var(--muted);
  font-size: 0.55em;
  font-weight: 400;
}

body .article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

body .article-author__avatar {
  width: 36px;
  height: 36px;
  background-color: var(--olx-mint);
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

body .article-author__name {
  color: var(--text);
  font-weight: 600;
}

body .article-author__last-updated {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

body .article-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 48px;
  align-items: start;
  margin: 0;
}

body .article-content__text {
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body .article-content__text > :first-child {
  margin-top: 0;
}

body .article-content__text h2,
body .article-content__text h3,
body .article-content__text h4 {
  margin: 1.6em 0 0.65em;
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
}

body .article-content__text h2 { font-size: 25px; }
body .article-content__text h3 { font-size: 21px; }
body .article-content__text h4 { font-size: 18px; }

body .article-content__text p,
body .article-content__text ul,
body .article-content__text ol {
  margin: 0 0 1em;
}

body .article-content__text ul,
body .article-content__text ol {
  padding-left: 1.5em;
}

body .article-content__text li {
  margin: 0.35em 0;
}

body .article-content__text a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--olx-teal);
  text-decoration-thickness: 2px;
}

body .article-content__text a:hover {
  background: var(--olx-mint);
}

body .article-content__text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
  cursor: zoom-in;
}

body .article-content__text table {
  width: 100%;
  margin: 24px 0;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 14px;
}

body .article-content__text th,
body .article-content__text td {
  padding: 12px;
  border: 1px solid #bdcdcf;
  text-align: left;
  vertical-align: top;
}

body .article-content__text th {
  background: var(--olx-mint);
  font-weight: 700;
}

body .article-content__text blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--olx-mint);
  color: var(--text);
  border-left: 4px solid var(--olx-teal);
}

body .article-content__text pre {
  max-width: 100%;
  padding: 18px;
  overflow: auto;
  background: var(--olx-charcoal);
  color: var(--white);
  border-radius: 4px;
}

body .article-content__text code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

body .article-content__sidebar {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
}

body .article-sidebar__title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

body .article-content__sidebar .category {
  padding: 0;
  background: transparent;
}

body .article-content__sidebar .category-header__icon {
  display: none;
}

body .article-content__sidebar .category-header__name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

body .article-content__sidebar .category-article {
  padding: 10px 0;
}

body .article-content__sidebar .category-article__icon {
  display: none;
}

body .article-content__sidebar .category-article__name,
body .article-content__sidebar .category-article__name a {
  font-size: 14px;
}

body .article-favorite {
  flex: 0 0 auto;
}

body .article-favorite__button,
body .article-useful__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--text);
  border: 1px solid #aebfc1;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

body .article-favorite__button:hover,
body .article-favorite__button_active,
body .article-useful__button:hover,
body .article-useful__button_active {
  background: var(--olx-mint);
  color: var(--text);
  border-color: var(--olx-charcoal);
}

body .article-useful {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

body .article-useful__heading {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

body .article-useful__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body .article-useful__stats {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

body .article-footer {
  margin-top: 20px;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* Результаты поиска */
body .search-results {
  margin: 0 0 32px;
}

body .search-results__total-found {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

body .search-results__total-found span {
  color: var(--muted);
}

body .search-results--articles > .article {
  margin: 0 0 16px;
  padding: 24px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
}

body .search-results--articles .article-header {
  margin-bottom: 12px;
}

body .search-results--articles .article-header__name {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

body .search-results--articles .article-header__name a {
  color: var(--text);
  text-decoration: none;
}

body .search-results--articles .article-header__name a:hover {
  text-decoration: underline;
  text-decoration-color: var(--olx-teal);
  text-decoration-thickness: 2px;
}

body .search-results--articles .article-content {
  display: block;
}

body .search-results--articles .article-content__text {
  color: #334f53;
  font-size: 14px;
  line-height: 1.55;
}

body .search-results--articles .article-content__text img,
body .search-results--articles .article-content__text table {
  display: none;
}

body .search-results .article-footer {
  margin-top: 12px;
  padding-top: 12px;
}

body .article-footer__read-more a,
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  background: var(--olx-charcoal);
  color: var(--white) !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

body .article-footer__read-more a:hover,
.button-link:hover {
  background: #10484e;
}

body .search-results__no-results,
body .access-denied {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
}

body .search-results__no-results h1,
body .search-results__no-results h2,
body .access-denied h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
}

body .search-results__no-results p,
body .access-denied p {
  margin: 0 0 20px;
  color: var(--muted);
}

body .access-denied__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Локальный предпросмотр: в рабочую тему эти элементы не попадают. */
body .olx-preview-results {
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
}

body .olx-preview-results__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

body .olx-preview-results__top h2 {
  margin: 0;
  font-size: 22px;
}

body .olx-preview-results__clear,
body .olx-preview-dialog__close {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--olx-charcoal);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body .olx-preview-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body .olx-preview-results__list li {
  border-top: 1px solid var(--line);
}

body .olx-preview-results__list a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
}

body .olx-preview-results__list a:hover {
  text-decoration: underline;
}

body .olx-preview-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  background: var(--white);
  color: var(--text);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(0 47 52 / 0.25);
}

body .olx-preview-dialog::backdrop {
  background: rgb(0 47 52 / 0.65);
}

body .olx-preview-dialog__body {
  padding: 24px;
}

body .olx-preview-dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

body .olx-preview-dialog__path {
  margin: 16px 0;
  padding: 12px;
  overflow-wrap: anywhere;
  background: var(--olx-mint);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

body .preview-notice {
  padding: 8px 24px;
  background: var(--olx-mint);
  color: var(--text);
  font-size: 12px;
  text-align: center;
}

/* Адаптивность */
@media (max-width: 1050px) {
  body .home-categories {
    gap: 20px;
  }

  body .home-categories .category-header {
    gap: 14px;
    padding: 20px;
  }

  body .home-categories .category-header__name {
    font-size: 18px;
  }

  body .article-content {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  body .home-categories,
  body .container_category .categories,
  body > .container > .categories:not(.home-categories),
  body .search-results .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .essentials__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body .article-content {
    grid-template-columns: minmax(0, 1fr);
  }

  body .article-content__sidebar {
    position: static;
  }

  body .footer > .container {
    align-items: flex-start;
    flex-direction: column;
  }

  body .footer__copyright {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  body .header > .container {
    flex-wrap: wrap;
    width: calc(100% - 24px);
    gap: 8px 14px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body .header__label {
    max-width: 150px;
    font-size: 12px;
  }

  body .header__actions {
    gap: 8px;
  }

  body .header__search + .header__actions {
    margin-left: auto;
  }

  body .header__search {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin: 0 0 6px;
  }

  body .hero {
    min-height: 260px;
    padding: 36px 0 42px;
  }

  body .hero__decoration::before {
    top: -110px;
    width: 690px;
    height: 480px;
    border-width: 52px;
  }

  body .hero__title,
  body .olx-hero__title {
    margin-bottom: 30px;
    font-size: 32px;
  }

  body .announcement-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  body .announcement-bar__title {
    flex-basis: calc(100% - 34px);
  }

  body .announcement-bar__link {
    margin-left: 32px;
  }

  body .contact-panel {
    padding: 16px;
  }

  body .home-categories {
    margin-top: 32px;
  }

  body .home-main {
    padding-bottom: 48px;
  }

  body .footer__home-link {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  body .home-categories,
  body .container_category .categories,
  body > .container > .categories:not(.home-categories),
  body .search-results .categories {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body .home-categories > .category {
    min-height: 112px;
  }

  body .home-categories .category-header {
    padding: 18px;
  }

  body .home-categories .category-header__name {
    justify-content: flex-start;
    text-align: left;
  }

  body .hero__decoration::before {
    opacity: 0.28;
  }

  body .hero .search__input {
    font-size: 14px;
  }

  body .hero .search__button {
    flex-basis: 60px;
    width: 60px;
  }

  body .contact-panel__lang {
    font-size: 13px;
  }

  body .container_category,
  body .container_article,
  body .container_search-results,
  body .access-denied-wrap {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  body .article-content {
    gap: 24px;
  }

  body .article-content__text {
    font-size: 15px;
  }

  body .article-content__text table {
    display: block;
    overflow-x: auto;
  }

  body .search-results--articles > .article,
  body .search-results__no-results,
  body .access-denied {
    padding: 20px;
  }

  body .olx-preview-results__top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .container {
    width: calc(100% - 24px);
  }

  .olx-brand,
  .olx-brand svg {
    width: 44px;
  }

  body .header__label {
    max-width: 125px;
    font-size: 11px;
  }

  body .header__lng-switcher select {
    min-width: 62px;
    padding-left: 9px;
  }

  body .hero__title,
  body .olx-hero__title {
    font-size: 30px;
  }

  body .home-categories .category-header__name {
    font-size: 17px;
  }

  body .footer__brand-row {
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
