/* HV Media — стили раздела /media/. Работает поверх /assets/site.css (шапка, меню, чат, кнопки WhatsApp). */
html, body.m-body { margin: 0; padding: 0; }
.m-body { background: #f7f9fb; color: #0b0e14; }
.m-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.m-main a { color: inherit; text-decoration: none; }
.m-main a:hover { color: #00809a; }
.m-main p a, .m-prose a, .m-sources a, .m-news-links a { color: #00809a; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.m-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.m-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #0b0e14; color: #fff; padding: 10px 16px; border-radius: 10px; }
.m-skip:focus { top: 12px; }

/* Типографика */
.m-h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; margin: 0; }
.m-h2 { font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin: 0; }
.m-h3 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.m-h-hero { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.m-h-card { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; margin: 0; }
.m-lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: #5d6673; margin: 14px 0 0; max-width: 720px; }
.m-muted { color: #5d6673; margin: 0; }
.m-mono, .m-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #5d6673; margin: 0; font-weight: 500; }
.m-eyebrow { color: #00809a; display: block; margin-bottom: 10px; }
.m-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #00809a; margin: 0; }
.m-meta { font-size: 14px; color: #5d6673; margin: 0; }
.m-dek { font-size: 17px; line-height: 1.5; color: #5d6673; }
.m-dek-s { font-size: 15px; }
.m-more { color: #00809a !important; font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.m-tag { font-size: 13px; color: #5d6673; background: #eef2f5; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.m-gold { color: #f6c544; }

/* Кнопки */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none !important; white-space: nowrap; text-align: center; }
@media (max-width: 480px) { .m-btn-lg { white-space: normal; padding-block: 10px; } }
.m-btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.m-btn-wa { background: #15803d; color: #fff !important; }
.m-btn-wa:hover { background: #126c34; }
.m-btn-dark { background: #0b0e14; color: #fff !important; }
.m-btn-line { background: #fff; color: #0b0e14 !important; border-color: #dde3ea; }
.m-btn-line:hover { border-color: #00809a; }
.m-btn-line-dark { background: transparent; color: #f4f6fa !important; border-color: #2a3140; }
.m-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #dde3ea; background: #fff; font: inherit; font-size: 14px; color: #0b0e14; cursor: pointer; white-space: nowrap; }
.m-chip[aria-pressed="true"], .m-chip[aria-current] { background: #0b0e14; border-color: #0b0e14; color: #fff !important; }
.m-chip-static { cursor: default; }

/* Подменю HV Media */
.m-bar { background: #fff; border-bottom: 1px solid #dde3ea; }
.m-bar-row { display: flex; align-items: center; gap: 8px 24px; min-height: 64px; flex-wrap: wrap; }
.m-brand { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: #0b0e14; text-decoration: none; }
.m-sub { display: flex; gap: 2px; font-size: 15px; font-weight: 500; }
.m-sub a { color: #0b0e14; text-decoration: none; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.m-sub a:hover { color: #00809a; }
.m-sub a[aria-current] { color: #00809a; font-weight: 700; }
.m-search { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dde3ea; border-radius: 999px; padding: 0 16px; min-height: 44px; font-size: 14px; color: #5d6673; text-decoration: none; }
.m-search:hover, .m-search[aria-current] { color: #00809a; border-color: #00809a; }
.m-chips { display: flex; gap: 8px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chips a { flex: none; font-size: 14px; color: #5d6673; text-decoration: none; border: 1px solid #dde3ea; border-radius: 999px; padding: 0 14px; min-height: 36px; display: inline-flex; align-items: center; }
.m-chips a:hover, .m-chips a[aria-current] { color: #0b0e14; border-color: #0b0e14; }
@media (max-width: 760px) {
  .m-bar-row { padding-top: 8px; padding-bottom: 4px; gap: 0 12px; min-height: 0; }
  .m-brand { font-size: 21px; }
  .m-search { padding: 0 12px; }
  .m-search-label { display: none; }
  .m-sub { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
  .m-sub::-webkit-scrollbar { display: none; }
  .m-sub a { white-space: nowrap; padding: 8px; }
}

/* Карточки */
.m-main { padding-bottom: 72px; }
.m-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #dde3ea; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; height: 100%; }
.m-card:hover { border-color: #b9c3cf; color: inherit !important; }
.m-card:hover .m-h-card, .m-card:hover .m-h-hero { color: #00809a; }
.m-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.m-cover, .m-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #eef2f5; }
.m-byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #5d6673; margin-top: auto; }
.m-ava { border-radius: 50%; object-fit: cover; display: block; flex: none; background: #dde3ea; }
.m-sec { margin-top: 64px; }
.m-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.m-grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.m-plain { list-style: none; margin: 18px 0 0; padding: 0; }

/* Главная */
.m-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.m-hero-main .m-card-body { padding: clamp(20px, 3vw, 28px); gap: 12px; }
.m-hero-side { display: grid; gap: 16px; align-content: start; }
.m-hero-side .m-thumb { display: none; }
@media (max-width: 900px) { .m-hero { grid-template-columns: minmax(0, 1fr); } }
.m-empty { margin-top: 40px; background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: clamp(22px, 5vw, 40px); }
.m-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 64px; }
@media (max-width: 900px) { .m-split { grid-template-columns: minmax(0, 1fr); } }
.m-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dde3ea; }
.m-news li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #dde3ea; }
.m-news time { font-size: 14px; color: #5d6673; }
.m-news a { font-size: 17px; font-weight: 600; line-height: 1.35; }
@media (max-width: 600px) { .m-news li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; } .m-news time { grid-column: 1 / -1; } }
.m-pop { background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 22px; align-self: start; }
.m-pop ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.m-pop li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.m-pop li > span { font-size: 22px; font-weight: 800; color: #5d6673; }
.m-pop a { font-weight: 600; line-height: 1.35; }
.m-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.m-guide-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 22px; text-decoration: none; color: inherit; min-height: 150px; }
.m-guide-card .m-more { margin-top: auto; }
.m-guide-card:hover { border-color: #00809a; }
.m-topics { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.m-experts { background: #eef2f5; border-radius: 22px; padding: clamp(22px, 5vw, 40px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.m-experts-text { flex: 1 1 320px; min-width: 0; display: grid; gap: 12px; }
.m-people { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.m-people-row { margin-top: 14px; }
.m-person { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 18px; text-decoration: none; color: inherit; }
.m-person-line { border: 1px solid #dde3ea; }
.m-person > span { display: grid; gap: 3px; min-width: 0; }
.m-person b { font-size: 17px; }
.m-person span span { font-size: 14px; color: #5d6673; }
.m-subscribe { background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: clamp(22px, 5vw, 40px); display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; }
.m-subscribe > div { flex: 1 1 320px; display: grid; gap: 10px; }
.m-side .m-subscribe { padding: 22px; }
.m-side .m-subscribe .m-h2 { font-size: 21px; }

/* Шапка страниц-разделов */
.m-page-head { padding-top: 28px; }
.m-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: #5d6673; }
.m-crumbs a { color: #5d6673 !important; }
.m-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.m-list-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 32px; align-items: start; }
.m-list-grid-left { grid-template-columns: 260px minmax(0, 1fr); }
@media (max-width: 900px) { .m-list-grid, .m-list-grid-left { grid-template-columns: minmax(0, 1fr); } }
.m-side { display: grid; gap: 20px; }
.m-side-dark { background: #04060b; color: #f4f6fa; border-radius: 18px; padding: 22px; display: grid; gap: 12px; }
.m-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.m-filters .m-mono { margin-bottom: 10px; }
.m-month { margin-bottom: 28px; }
.m-month > .m-mono { margin-bottom: 10px; }
.m-news-full { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dde3ea; }
.m-news-full li { padding: 20px 0; border-bottom: 1px solid #dde3ea; display: grid; gap: 8px; }
.m-news-meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #5d6673; margin: 0; }
.m-news-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #5d6673; margin: 0; }
.m-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-row { display: grid; gap: 8px; background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 20px; }
.m-row:hover { border-color: #b9c3cf; }
.m-count { margin-bottom: 12px; }
.m-inline-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; background: #eef2f5; border-radius: 18px; padding: 20px; }

/* Статья */
.m-art-head { padding-top: 28px; }
.m-art-head .m-kicker { margin-bottom: 12px; }
.m-ad { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0 0 16px; padding: 8px 14px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0d58a; font-size: 14px; }
.m-ad b { text-transform: uppercase; letter-spacing: 0.06em; }
.m-art-head .m-h1 { max-width: 900px; }
.m-art-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }
.m-art-author { display: flex; gap: 12px; align-items: center; }
.m-art-author > span { display: grid; gap: 2px; font-size: 14px; color: #5d6673; }
.m-art-author b { font-size: 16px; color: #0b0e14; }
.m-art-dates { font-size: 14px; color: #5d6673; margin: 0; }
.m-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.m-share .m-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.m-art-cover { margin: 28px 0 0; }
.m-art-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; display: block; background: #eef2f5; }
.m-art-cover figcaption { font-size: 13px; color: #5d6673; margin-top: 8px; }
.m-art-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) 280px; gap: 32px; margin-top: 40px; justify-content: space-between; align-items: start; }
.m-art-grid:not(:has(.m-toc)) { grid-template-columns: minmax(0, 1fr) 300px; }
.m-toc { position: sticky; top: 84px; }
.m-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid #dde3ea; }
.m-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; color: #5d6673 !important; line-height: 1.35; }
.m-toc a[aria-current] { color: #0b0e14 !important; border-left-color: #00809a; font-weight: 600; }
.m-rail { display: grid; gap: 18px; position: sticky; top: 84px; }
@media (max-width: 1100px) { .m-art-grid, .m-art-grid:not(:has(.m-toc)) { grid-template-columns: minmax(0, 1fr) 300px; } .m-toc { display: none; } }
@media (max-width: 900px) { .m-art-grid, .m-art-grid:not(:has(.m-toc)) { grid-template-columns: minmax(0, 1fr); } .m-rail { position: static; } .m-rail-box { display: none; } }
.m-rail-cta { background: #04060b; color: #f4f6fa; border-radius: 18px; padding: 22px; display: grid; gap: 12px; }
.m-rail-cta .m-mono { color: #98a2b2; }
.m-rail-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.m-rail-text { color: #98a2b2; font-size: 15px; margin: 0; }
.m-rail-box { background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 20px; }
.m-rail-box .m-share { margin-top: 12px; }
.m-rail-label { font-size: 16px; font-weight: 700; margin: 0; }
.m-rail-pop { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; font-weight: 600; line-height: 1.35; }

.m-prose { font-size: 18px; line-height: 1.7; }
.m-prose > * + * { margin-top: 18px; }
.m-prose p, .m-prose ul, .m-prose ol { margin-bottom: 0; }
.m-prose h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; margin-top: 44px; scroll-margin-top: 84px; }
.m-prose h3 { font-size: 21px; font-weight: 700; margin-top: 32px; scroll-margin-top: 84px; }
.m-prose ul, .m-prose ol { padding-left: 24px; }
.m-prose li + li { margin-top: 8px; }
.m-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.m-prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid #00809a; color: #3a414c; }
.m-short { background: #eef2f5; border-radius: 18px; padding: 22px 24px; margin-top: 0 !important; }
.m-short h2 { margin-top: 0; font-size: 20px; }
.m-short ul { margin-top: 12px; }
.m-tip { background: #e6f6f9; border-left: 4px solid #00809a; border-radius: 0 16px 16px 0; padding: 18px 22px; }
.m-tip > .m-mono { color: #00809a; display: block; margin-bottom: 6px; }
.m-tip p { margin: 0; }
.m-tbl { overflow-x: auto; border: 1px solid #dde3ea; border-radius: 16px; background: #fff; }
.m-tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.m-tbl caption { caption-side: top; text-align: left; font-weight: 700; padding: 14px 16px 4px; }
.m-tbl th, .m-tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eef2f5; vertical-align: top; }
.m-tbl th { background: #f7f9fb; font-weight: 600; }
.m-tbl tr:last-child td { border-bottom: 0; }
.m-tbl th, .m-tbl td { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.m-steps { list-style: none; padding: 0 !important; display: grid; gap: 12px; counter-reset: st; }
.m-steps li { counter-increment: st; position: relative; display: block; background: #fff; border: 1px solid #dde3ea; border-radius: 16px; padding: 16px 18px 16px 62px; margin: 0 !important; }
.m-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 18px; top: 19px; font-family: var(--font-mono); font-size: 14px; color: #00809a; }
.m-svc { background: #04060b; color: #f4f6fa; border-radius: 18px; padding: 22px 24px; display: grid; gap: 14px; }
.m-svc .m-mono { color: #98a2b2; }
.m-svc p { margin: 0; }
.m-svc .m-svc-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.m-svc .m-svc-text { color: #98a2b2; font-size: 16px; }
.m-svc a.m-svc-link { color: #3fd6ee !important; text-decoration: none; font-weight: 600; font-size: 15px; }
.m-svc-btns { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

.m-faq { margin-top: 44px; }
.m-faq h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 16px; }
.m-faq details { background: #fff; border: 1px solid #dde3ea; border-radius: 16px; margin-top: 10px; }
.m-faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 22px; color: #00809a; }
.m-faq details[open] summary::after { content: "−"; }
.m-faq details > div { padding: 0 20px 18px; color: #3a414c; line-height: 1.6; }
.m-faq details > div p { margin: 0 0 10px; }
.m-sources { margin-top: 44px; padding-top: 24px; border-top: 1px solid #dde3ea; font-size: 15px; color: #5d6673; }
.m-sources h2 { font-size: 20px; font-weight: 800; color: #0b0e14; margin: 0 0 10px; }
.m-sources ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.m-art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.m-useful { margin-top: 32px; background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.m-useful-btns { display: flex; gap: 8px; }
.m-useful p { margin: 0; flex-basis: 100%; }
.m-author-box { margin-top: 24px; display: flex; gap: 18px; align-items: flex-start; background: #eef2f5; border-radius: 18px; padding: 22px; }
.m-author-box > div { display: grid; gap: 6px; min-width: 0; }
.m-author-name { font-size: 18px; font-weight: 800; margin: 0; }
.m-author-links a { display: inline-flex; align-items: center; min-height: 40px; }
.m-author-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-weight: 600; margin-top: 4px; }
.m-author-links a { color: #00809a !important; }

/* Гид */
.m-guide-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .m-guide-hero { grid-template-columns: minmax(0, 1fr); } }
.m-guide-hero > div:first-child { display: grid; gap: 14px; }
.m-guide-hero .m-lede { margin: 0; }
.m-facts { background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: 24px; display: grid; gap: 14px; }
.m-facts dl { margin: 0; display: grid; }
.m-facts dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef2f5; }
.m-facts dt { color: #5d6673; }
.m-facts dd { margin: 0; font-weight: 600; }
.m-guide-nav { margin-top: 28px; }
.m-start { flex-direction: row; }
.m-start .m-cover { width: 50%; aspect-ratio: auto; }
@media (max-width: 760px) { .m-start { flex-direction: column; } .m-start .m-cover { width: 100%; aspect-ratio: 16 / 9; } }
.m-service { background: #04060b; color: #f4f6fa; border-radius: 22px; padding: clamp(22px, 5vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.m-service > * { min-width: 0; }
.m-service .m-mono { color: #98a2b2; }
.m-service .m-h2 { margin-top: 8px; }
.m-service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.m-service-cards a { display: grid; gap: 6px; border: 1px solid #2a3140; border-radius: 16px; padding: 18px; color: #f4f6fa !important; }
.m-service-cards a span { color: #98a2b2; }
.m-service-cards a .m-more { color: #3fd6ee !important; }
.m-service .m-btn { justify-self: start; }

/* Автор */
.m-profile { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: clamp(22px, 5vw, 40px); }
.m-profile-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; flex: none; background: #eef2f5; }
@media (max-width: 600px) { .m-profile-photo { width: 140px; height: 140px; } }
.m-profile-text { flex: 1 1 360px; min-width: 0; display: grid; gap: 14px; }
.m-profile-text .m-lede { margin: 0; }
.m-profile-text .m-filter { margin: 0; }
.m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-top: 20px; }
.m-stats > div { background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 20px; display: grid; gap: 4px; }
.m-stats b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.m-stats span { color: #5d6673; font-size: 14px; }
.m-premium { background: #04060b; color: #f4f6fa; border-radius: 22px; padding: clamp(22px, 5vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.m-premium > div:first-child { flex: 1 1 420px; display: grid; gap: 10px; }
.m-premium p { color: #98a2b2; margin: 0; }
.m-premium-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* О редакции, формы */
.m-panel { background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: clamp(22px, 5vw, 36px); display: grid; gap: 12px; align-content: start; }
.m-panel p { margin: 0; line-height: 1.6; max-width: 760px; }
.m-panel-link:hover { border-color: #00809a; }
.m-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.m-big-link { font-size: 22px; font-weight: 700; color: #00809a !important; }
.m-steps4 { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.m-steps4 li { background: #fff; border: 1px solid #dde3ea; border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.m-steps4 li > .m-mono { color: #00809a; }
.m-steps4 b { font-size: 18px; }
.m-steps4 li > span:last-child { color: #5d6673; line-height: 1.55; }
.m-rules { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 12px; font-size: 17px; line-height: 1.6; max-width: 820px; }
.m-gap { margin-top: 28px !important; }
.m-report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: start; }
@media (max-width: 900px) { .m-report { grid-template-columns: minmax(0, 1fr); } }
.m-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.m-checks li::before { content: "✓"; color: #15803d; font-weight: 800; margin-right: 10px; }
.m-form { background: #fff; border: 1px solid #dde3ea; border-radius: 22px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 8px; }
.m-form label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.m-form input, .m-form textarea, .m-searchbox input { width: 100%; font: inherit; font-size: 16px; border: 1px solid #c9d1db; border-radius: 12px; padding: 12px 14px; background: #fff; color: #0b0e14; }
.m-form input:focus, .m-form textarea:focus, .m-searchbox input:focus { outline: 2px solid #00809a; outline-offset: 1px; border-color: #00809a; }
.m-form-err { color: #b3322b; font-size: 14px; margin: 0; min-height: 1px; }
.m-form-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.m-form .m-meta { margin-top: 6px; }
.m-search-page { margin-top: 20px; max-width: 860px; }
.m-searchbox { display: flex; gap: 10px; margin-bottom: 16px; }
.m-searchbox .m-btn { flex: none; min-height: 50px; }
.m-search-page .m-rows { margin-top: 16px; }
.m-search-page mark { background: #fff3b8; color: inherit; border-radius: 3px; }

/* Подвал */
.m-final { margin-top: 0; }
.m-foot { background: #04060b; color: #98a2b2; padding: 48px 0 28px; border-top: 1px solid #1a2230; }
.m-foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px; }
@media (max-width: 900px) { .m-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m-foot-brand, .m-foot-social { grid-column: 1 / -1; } }
.m-foot-brand { display: grid; gap: 10px; align-content: start; }
.m-foot-name { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: #fff; text-decoration: none; }
.m-foot-brand p { font-size: 14px; line-height: 1.55; max-width: 340px; margin: 0; }
.m-foot nav { display: grid; align-content: start; }
.m-foot nav h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #98a2b2; margin: 0 0 8px; }
.m-foot nav a { color: #c9d0db; text-decoration: none; font-size: 15px; padding: 8px 0; }
.m-foot nav a:hover { color: #3fd6ee; }
.m-foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1a2230; display: grid; gap: 10px; }
.m-foot-bottom p { font-size: 13px; line-height: 1.55; margin: 0; max-width: 90ch; }
.m-foot-row { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.m-foot-row a { color: #c9d0db; display: inline-block; padding: 4px 0; }
@media (max-width: 640px) { .m-foot { padding-bottom: 150px; } }

[data-c][hidden] { display: none !important; }
@media print { .m-prose h2, .m-faq h2, .m-sources h2 { break-after: avoid; } .m-tbl, .m-tip, .m-steps li, details { break-inside: avoid; }
  .top, .mnav, .m-bar, .m-rail, .m-share, .fabs, .mbar, .m-final, .m-foot, .chat, .m-useful { display: none !important; } .m-art-grid { display: block; } }

@media (max-width: 600px) { .m-tbl th, .m-tbl td { padding: 10px 12px; font-size: 14px; } .m-art-head .m-crumbs li:last-child { display: none; } .m-art-head .m-crumbs li:nth-last-child(2)::after { content: none; } }

/* В HV Media нет кнопки «Спросить ИИ»: читатель идёт к эксперту через WhatsApp.
   Разметка чата остаётся (её ждёт общий visa.js), но скрыта. */
.m-body .chat-fab, .m-body #chat { display: none !important; }
/* Плавающая кнопка WhatsApp не нужна: в шапке всегда есть кнопка WhatsApp, на телефоне — нижняя панель «Консультация» */
.m-body .fabs { display: none !important; }

/* Подвал: соцсети иконками (стили .soc — из общего site.css, как на всём сайте) */
.m-foot-social .socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.m-foot-social .soc { padding: 0 !important; }
.m-soc-rss { background: #f26522; color: #fff; }
