/* НЕЙРОВЕНТ — SEO-блоки и фильтры страниц вентиляции.
   На проде переносится в style.css дочерней темы (woodmart-child). Всё под префиксом .nv- */

.nv-seo, .nv-seo *, .nv-subcats, .nv-subcats * { box-sizing: border-box; }
.nv-seo, .nv-subcats {
  --nv-primary: #2795c3;
  --nv-primary-dark: #1f7ea8;
  --nv-banner: #0090b5;
  --nv-title: #242424;
  --nv-text: #494949;
  --nv-muted: #7d8a94;
  --nv-line: #e3e9ed;
  --nv-soft: #f2f8fb;
  --nv-soft-line: #d6e7f0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nv-text);
}

/* ---------- список дочерних категорий (шорткод [nv_seo_top] / [nv_subcats]) ---------- */
.nv-subcats { margin: 26px 0 32px; }
.nv-subcats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.nv-subcats__list li { margin: 0; padding: 0; }
.nv-subcats__list a { position: relative; display: flex; flex-direction: column; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border: 1px solid var(--nv-soft-line); border-radius: 10px; box-shadow: 0 3px 14px rgba(20, 60, 90, .05); color: var(--nv-title); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.nv-subcats__list a.is-noimg { aspect-ratio: auto; justify-content: center; min-height: 120px; padding-top: 20px; }
.nv-subcats__list a:hover { border-color: var(--nv-primary); box-shadow: 0 10px 28px rgba(20, 60, 90, .12); transform: translateY(-2px); }
.nv-subcats__media { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px 22px 8px; background: linear-gradient(180deg, #f6fafc 0%, #fff 100%); }
.nv-subcats__media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.nv-subcats__name { flex: none; padding: 0 22px 20px; font-size: 17px; font-weight: 600; line-height: 1.3; text-align: center; }
.nv-subcats__list a:hover .nv-subcats__name { color: var(--nv-primary); }

/* ---------- хлебные крошки + вводный блок ---------- */
.nv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 6px; font-size: 13px; color: var(--nv-muted); }
.nv-crumbs a { color: #5b6b76; text-decoration: none; }
.nv-crumbs a:hover { color: var(--nv-primary); }
.nv-crumbs i { font-style: normal; color: #c2ccd3; }
.nv-crumbs span { color: var(--nv-title); }

.nv-intro { padding: 14px 0 34px; }
.nv-intro__title { margin: 0 0 16px; font-size: 26px; line-height: 1.3; font-weight: 600; color: var(--nv-title); }
.nv-intro__text p { margin: 0 0 12px; }
.nv-intro__text p:last-child { margin-bottom: 0; }

/* ---------- нижний SEO-блок ---------- */
.nv-seo-wrap { margin-top: 24px; }
.nv-seo--bottom { padding: 44px 0 20px; border-top: 1px solid var(--nv-line); }


.nv-sec { margin: 0 0 46px; scroll-margin-top: 96px; }
.nv-sec h2 { margin: 0 0 18px; padding: 2px 0 2px 16px; border-left: 4px solid var(--nv-primary); font-size: 25px; line-height: 1.28; font-weight: 600; color: var(--nv-title); text-transform: none; }
.nv-sec h3 { margin: 22px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--nv-title); }
.nv-sec p { margin: 0 0 14px; }
.nv-sec p:last-child { margin-bottom: 0; }
.nv-sec a { color: var(--nv-primary); }
.nv-lead { font-size: 17px; }

/* таблицы */
.nv-table-wrap { margin: 4px 0 14px; overflow-x: auto; border: 1px solid var(--nv-line); border-radius: 10px; }
.nv-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.nv-table th { padding: 13px 18px; background: #eaf4f9; text-align: left; font-weight: 600; color: var(--nv-title); border: 0; white-space: nowrap; }
.nv-table td { padding: 13px 18px; border: 0; border-top: 1px solid var(--nv-line); vertical-align: top; background: #fff; }
.nv-table tbody tr:nth-child(even) td { background: #fafcfd; }
.nv-table td:first-child { font-weight: 500; color: var(--nv-title); }
.nv-foot { font-size: 12.5px; color: var(--nv-muted); }

/* карточки */
.nv-cards { display: grid; gap: 16px; margin: 4px 0 6px; }
.nv-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-card { padding: 22px; background: #fff; border: 1px solid var(--nv-line); border-radius: 10px; box-shadow: 0 3px 14px rgba(20, 60, 90, .05); transition: box-shadow .2s, transform .2s; }
.nv-card:hover { box-shadow: 0 8px 24px rgba(20, 60, 90, .10); transform: translateY(-2px); }
.nv-card__ico { display: inline-flex; width: 46px; height: 46px; margin-bottom: 14px; align-items: center; justify-content: center; border-radius: 50%; background: #e4f2f8; color: var(--nv-primary); }
.nv-card h3 { margin: 0 0 8px; font-size: 16px; }
.nv-card p { margin: 0; font-size: 14px; line-height: 1.6; }

/* шаги */
.nv-steps { counter-reset: nv; list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nv-steps li { counter-increment: nv; position: relative; padding: 18px 18px 18px 68px; background: #fff; border: 1px solid var(--nv-line); border-radius: 10px; }
.nv-steps li::before { content: counter(nv); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--nv-primary); color: #fff; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.nv-steps h3 { margin: 0 0 4px; font-size: 15.5px; }
.nv-steps p { margin: 0; font-size: 14px; line-height: 1.55; }

/* списки */
.nv-list { margin: 0 0 14px; padding-left: 20px; }
.nv-list li { margin-bottom: 4px; }
.nv-check { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.nv-check li { position: relative; padding-left: 30px; line-height: 1.5; }
.nv-check li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e4f2f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%232795c3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.nv-tag { padding: 6px 14px; border-radius: 20px; background: #eef5f9; border: 1px solid var(--nv-soft-line); font-size: 13px; color: #56656f; }

/* заметка */
.nv-note { margin: 16px 0; padding: 16px 20px; background: #eef7fb; border-left: 4px solid var(--nv-primary); border-radius: 0 10px 10px 0; color: #33454f; }

/* FAQ */
.nv-faq details { margin: 0 0 10px; background: #fff; border: 1px solid var(--nv-line); border-radius: 10px; transition: box-shadow .2s, border-color .2s; }
.nv-faq details[open] { border-color: var(--nv-soft-line); box-shadow: 0 4px 16px rgba(20, 60, 90, .07); }
.nv-faq summary { position: relative; padding: 17px 56px 17px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--nv-title); line-height: 1.45; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::before, .nv-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--nv-primary); transition: transform .2s; }
.nv-faq summary::after { transform: rotate(90deg); }
.nv-faq details[open] summary::after { transform: rotate(0); }
.nv-faq__a { padding: 0 22px 18px; }
.nv-faq__a p { margin: 0; }

/* финальный блок */
.nv-sec--cta { margin-bottom: 20px; }
.nv-cta { display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: center; justify-content: space-between; padding: 38px 42px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #0090b5 0%, #2795c3 100%); position: relative; overflow: hidden; }
.nv-cta::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.nv-cta__text { flex: 1 1 420px; position: relative; z-index: 1; }
.nv-cta h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 26px; line-height: 1.25; color: #fff; }
.nv-cta p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 15px; }
.nv-cta__btns { display: flex; flex-direction: column; gap: 12px; min-width: 240px; position: relative; z-index: 1; }

/* кнопки */
.nv-btn { display: inline-block; padding: 14px 26px; border-radius: 5px; font-size: 13px; font-weight: 700; letter-spacing: .3px; line-height: 1.2; text-align: center; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.nv-btn--white { background: #fff; color: var(--nv-primary) !important; }
.nv-btn--white:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .nv-subcats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nv-subcats__list { grid-template-columns: 1fr; gap: 14px; }
  .nv-subcats__list a { aspect-ratio: 4 / 3; }
  .nv-intro__title { font-size: 21px; }
  .nv-sec h2 { font-size: 21px; }
  .nv-cards--3, .nv-cards--2, .nv-steps, .nv-check { grid-template-columns: 1fr; }
  .nv-cta { padding: 28px 22px; }
  .nv-cta h2 { font-size: 21px; }
  .nv-cta__btns { width: 100%; }
  .nv-table th, .nv-table td { padding: 11px 13px; }
	.nv-rich.table{
	max-width: calc(100vw - 30px);
	overflow: hidden;
}
}

/* ---------- SEO-текст из визуального редактора: оформление по тегам ---------- */
.nv-rich { font-size: 15px; line-height: 1.7; }
.nv-rich--top { padding: 6px 0 34px; }
.nv-rich--bottom { margin-top: 24px; padding: 44px 0 20px; border-top: 1px solid var(--nv-line); }
.nv-rich > *:first-child { margin-top: 0; }
.nv-rich h2 { margin: 44px 0 18px; padding: 2px 0 2px 16px; border-left: 4px solid var(--nv-primary); font-size: 25px; line-height: 1.28; font-weight: 600; color: var(--nv-title); text-transform: none; }
.nv-rich--top h2 { margin: 0 0 16px; }
.nv-rich h3 { margin: 26px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--nv-title); }
.nv-rich p { margin: 0 0 14px; }
.nv-rich a { color: var(--nv-primary); }
.nv-rich img { max-width: 100%; height: auto; border-radius: 8px; }
.nv-rich ul, .nv-rich ol { margin: 0 0 16px; padding: 0; list-style: none; }
.nv-rich ul li { position: relative; margin: 0 0 8px; padding-left: 30px; }
.nv-rich ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #e4f2f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%232795c3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.nv-rich ol { counter-reset: nvr; }
.nv-rich ol li { position: relative; margin: 0 0 12px; padding: 4px 0 4px 46px; counter-increment: nvr; }
.nv-rich ol li::before { content: counter(nvr); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--nv-primary); color: #fff; font-weight: 600; font-size: 14px; line-height: 32px; text-align: center; }
.nv-rich blockquote { margin: 4px 0 18px; padding: 16px 20px; background: #eef7fb; border-left: 4px solid var(--nv-primary); border-radius: 0 10px 10px 0; color: #33454f; }
.nv-rich blockquote p { margin: 0; font-size: 15px; line-height: 1.7; }
.nv-rich table { display: block; width: 100%; max-width: 100%; margin: 4px 0 18px; overflow-x: auto; border-collapse: collapse; border: 1px solid var(--nv-line); border-radius: 10px; font-size: 14px; line-height: 1.5; }
.nv-rich th { padding: 13px 18px; background: #eaf4f9; text-align: left; font-weight: 600; color: var(--nv-title); border: 0; white-space: nowrap; }
.nv-rich td { padding: 13px 18px; border: 0; border-top: 1px solid var(--nv-line); vertical-align: top; }
.nv-rich tbody tr:nth-child(even) td { background: #fafcfd; }
.nv-rich td:first-child { font-weight: 500; color: var(--nv-title); }
.nv-rich table thead + tbody tr:first-child td { border-top: 0; }
@media (max-width: 680px) {
  .nv-rich h2 { font-size: 21px; }
  .nv-rich th, .nv-rich td { padding: 11px 13px; }
  .nv-rich table { max-width: calc(100vw - 25px); overflow: scroll; }
}

/* ---------- переключатель Soft Limit «Посмотреть N / Подробнее / Скрыть» (FacetWP) — акцентный цвет ---------- */
.facetwp-toggle,
.facetwp-toggle.facetwp-hidden {
  color: #2795c3;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.facetwp-toggle:hover,
.facetwp-toggle.facetwp-hidden:hover {
  color: #1f7ea8;
  text-decoration: underline;
}
