

/* Start:/local/board/board.css?179261213512887*/
/* Доска объявлений napolane.ru. Все классы с префиксом board-, чтобы не задевать остальной сайт. */
.board { --b-green: #55C15A; --b-green-d: #3fa645; --b-ink: #1d1d1b; --b-muted: #7a7f85; --b-line: rgba(0,0,0,.1); --b-soft: #f4f6f3; --b-radius: 14px; color: var(--b-ink); padding-bottom: 48px; }
.board a { color: inherit; }
.board-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--b-muted); margin: 8px 0 14px; }
.board-crumbs a { color: var(--b-muted); text-decoration: none; }
.board-crumbs a:hover { color: var(--b-ink); }
.board-crumbs b { font-weight: 500; color: var(--b-ink); }

.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.board-head__title { font-size: 32px; line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
.board-head .board-head__title { margin: 0; }

.board-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.board .board-btn--primary, .board-btn--primary { background: var(--b-green, #55C15A); color: #fff; }
.board-btn--primary:hover { background: var(--b-green-d, #3fa645); }
.board .board-btn--dark { background: var(--b-ink); color: #fff; }
.board .board-btn--ghost { background: transparent; border-color: var(--b-line); color: var(--b-ink); }
.board-btn--ghost:hover { border-color: var(--b-ink); }
.board-btn--wide { width: 100%; }
.board-btn--lg { padding: 14px 28px; font-size: 16px; }
.board-btn--sm { padding: 7px 12px; font-size: 13px; }
.board-btn[disabled] { opacity: .6; cursor: default; }

.board-input { width: 100%; box-sizing: border-box; padding: 11px 14px; font: inherit; font-size: 15px; color: inherit; background: #fff; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; appearance: auto; }
.board-input:focus { outline: none; border-color: var(--b-green); box-shadow: 0 0 0 3px rgba(85,193,90,.18); }
.board-input--area { resize: vertical; min-height: 140px; line-height: 1.45; }
.board-input--auto { width: auto; flex: 0 0 auto; }
.board-input--file { padding: 9px 12px; font-size: 14px; }

.board-search { display: flex; gap: 8px; margin-bottom: 14px; }
.board-search__q { flex: 1 1 auto; min-width: 0; }
.board-search__region { flex: 0 0 240px; }

.board-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.board-cat { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--b-soft); font-size: 14px; text-decoration: none; white-space: nowrap; }
.board-cat span { color: var(--b-muted); margin-left: 4px; }
.board-cat:hover { background: #e8ece6; }
.board-cat.is-active { background: var(--b-ink); color: #fff; }
.board-cat.is-active span { color: rgba(255,255,255,.65); }

.board-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--b-line); }
.board-tabs { display: flex; gap: 18px; }
.board-tab { padding: 8px 0 10px; font-weight: 600; text-decoration: none; color: var(--b-muted) !important; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.board-tab.is-active { color: var(--b-ink) !important; border-color: var(--b-green); }
.board-sort { display: flex; gap: 14px; font-size: 14px; }
.board-sort__item { color: var(--b-muted) !important; text-decoration: none; }
.board-sort__item.is-active { color: var(--b-ink) !important; font-weight: 600; }

.board-found { color: var(--b-muted); font-size: 14px; margin: 0 0 12px; }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.board-card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.board-card__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--b-radius); overflow: hidden; background: var(--b-soft); }
.board-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.board-card:hover .board-card__img img { transform: scale(1.03); }
.board-card__img--none { display: flex; align-items: center; justify-content: center; color: var(--b-muted); font-size: 14px; background: linear-gradient(135deg, #eef3ec, #f7f8f5); }
.board-card__badge, .board-card__count { position: absolute; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; }
.board-card__badge { top: 8px; left: 8px; background: #fff3c4; color: #6b5300; }
.board-card__count { bottom: 8px; right: 8px; background: rgba(0,0,0,.55); color: #fff; }
.board-card__body { display: flex; flex-direction: column; gap: 3px; padding-top: 10px; }
.board-card__title { font-size: 15px; line-height: 1.3; color: #0a62b8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-card:hover .board-card__title { color: #d33; }
.board-card__price { font-size: 17px; font-weight: 700; }
.board-card__meta { font-size: 13px; color: var(--b-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.board-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.board-pager a, .board-pager b { min-width: 38px; padding: 8px 10px; text-align: center; border-radius: 10px; text-decoration: none; }
.board-pager a { background: var(--b-soft); }
.board-pager b { background: var(--b-ink); color: #fff; }

.board-empty { text-align: center; padding: 48px 20px; border-radius: var(--b-radius); background: var(--b-soft); margin: 8px 0; }
.board-empty p { max-width: 520px; margin: 0 auto 16px; color: var(--b-muted); line-height: 1.5; }
.board-empty .board-empty__title { font-size: 20px; font-weight: 700; color: var(--b-ink); margin-bottom: 8px; }

.board-note { padding: 12px 16px; border-radius: 12px; background: #fff7dc; margin-bottom: 16px; line-height: 1.45; }
.board-note--ok { background: #e7f6e8; }
.board-note--err { background: #fde8e6; color: #a5322a; }

/* карточка объявления */
.board-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.board-detail__title { font-size: 28px; line-height: 1.2; margin: 0 0 16px; font-weight: 700; overflow-wrap: anywhere; }
.board-detail__price { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.board-detail__price--mobile { display: none; }
.board-gallery { margin-bottom: 24px; }
.board-gallery__main { border-radius: var(--b-radius); overflow: hidden; background: var(--b-soft); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.board-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.board-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.board-gallery__thumb { flex: 0 0 80px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.board-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-gallery__thumb.is-active { border-color: var(--b-green); }
.board-props { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 24px; font-size: 15px; }
.board-props dt { color: var(--b-muted); }
.board-props dd { margin: 0; }
.board-detail__h2 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.board-detail__text { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.board-detail__stats { color: var(--b-muted); font-size: 13px; margin-top: 24px; }
.board-detail__side { position: sticky; top: 90px; }
.board-panel { border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.board-panel__phone { font-size: 22px; font-weight: 700; text-align: center; padding: 6px 0; }
.board-panel__phone a { text-decoration: none; color: var(--b-ink); }
.board-panel__hint { margin: 0; color: var(--b-muted); font-size: 14px; }
.board-panel__author { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--b-line); margin-top: 4px; }
.board-panel__author b { display: block; }
.board-panel__author small { color: var(--b-muted); }
.board-panel__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--b-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--b-green-d); flex: 0 0 auto; }
.board-panel__safe { font-size: 13px; line-height: 1.45; color: var(--b-muted); margin: 14px 0 0; }

/* форма */
.board-form { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.board-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.board-field__label { font-size: 14px; font-weight: 600; padding: 0; }
.board-field__label i { color: #d33; font-style: normal; }
.board-field__hint { font-size: 13px; color: var(--b-muted); line-height: 1.4; }
.board-field__err { font-size: 13px; color: #c7443c; }
.board-row { display: flex; gap: 8px; }
.board-row--2 { gap: 16px; }
.board-row--2 > .board-field { flex: 1 1 0; }
.board-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.board-choice__item input { position: absolute; opacity: 0; pointer-events: none; }
.board-choice__item span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.18); cursor: pointer; font-size: 14px; }
.board-choice__item input:checked + span { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.board-choice__item input:focus-visible + span { box-shadow: 0 0 0 3px rgba(85,193,90,.35); }
.board-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.board-photos__item { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.board-photos__item img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
.board-form__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
[data-board-show][hidden] { display: none !important; }

/* мои объявления */
.board-my { padding-bottom: 32px; }
.board-my__top { margin-bottom: 16px; }
.board-my__list { display: flex; flex-direction: column; gap: 12px; }
.board-my__item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; padding: 14px; border: 1px solid var(--b-line); border-radius: var(--b-radius); align-items: center; }
.board-my__item.is-off { opacity: .7; }
.board-my__img { width: 120px; height: 90px; border-radius: 10px; overflow: hidden; background: var(--b-soft); display: block; }
.board-my__img img { width: 100%; height: 100%; object-fit: cover; }
.board-my__title { font-weight: 600; text-decoration: none; display: block; margin-bottom: 2px; overflow-wrap: anywhere; }
.board-my__price { font-weight: 700; }
.board-my__status { font-size: 13px; color: var(--b-muted); margin: 4px 0; }
.board-my__stats { display: flex; gap: 16px; font-size: 14px; }
.board-my__actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.board-my__actions form { display: flex; flex-direction: column; gap: 6px; margin: 0; }

@media (max-width: 1100px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .board-detail__grid { grid-template-columns: 1fr; gap: 20px; }
  .board-detail__side { position: static; }
  .board-detail__price--mobile { display: block; }
  .board-panel .board-detail__price { display: none; }
  .board-search { flex-wrap: wrap; }
  .board-search__region { flex: 1 1 100%; order: 3; }
}
@media (max-width: 560px) {
  .board-head__title { font-size: 24px; }
  .board-detail__title { font-size: 22px; }
  .board-detail__price { font-size: 22px; }
  .board-card__price { font-size: 15px; }
  .board-row--2 { flex-direction: column; }
  .board-props { grid-template-columns: 110px 1fr; }
  .board-my__item { grid-template-columns: 80px minmax(0, 1fr); }
  .board-my__img { width: 80px; height: 60px; }
  .board-my__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .board-my__actions form { flex-direction: row; flex-wrap: wrap; }
}

/* платное закрепление */
.board-card__badge--ad { background: #1d1d1b; color: #fff; }
.board-card--pinned .board-card__img { box-shadow: 0 0 0 2px #55C15A; }
.board-adlabel { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #1d1d1b; color: #fff; margin-bottom: 8px; }

/* End */
/* /local/board/board.css?179261213512887 */
