/* ==========================================================================
   aboutpregnancy.org — стили сайта
   Палитра: тёплый blush-фон, роза (акцент), лаванда (спокойствие),
   мягкий бирюзовый (доверие), сливовый (текст и футер).
   ========================================================================== */

:root {
    --bg: #f4f7fa;
    --bg-soft: #e9f0f6;
    --surface: #ffffff;
    --ink: #1d2a36;
    --ink-soft: #4e6172;
    --muted: #7b8b99;
    --rose: #1f4e79;
    --rose-dark: #163b5c;
    --rose-soft: #e3edf5;
    --lavender: #5b7a99;
    --lavender-soft: #eaf0f6;
    --teal: #3f8d84;
    --teal-soft: #e2f1ee;
    --plum: #22384a;
    --plum-dark: #1a2c3a;
    --line: #dbe5ee;
    --shadow: 0 12px 34px rgba(34, 56, 74, .08);
    --shadow-sm: 0 4px 14px rgba(34, 56, 74, .06);
    --radius: 18px;
    --radius-sm: 12px;
    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font: 16px/1.7 var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--rose-dark); text-decoration: none; }
a:hover { color: var(--rose); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--rose-soft); color: var(--plum-dark); }

.container { width: min(1180px, calc(100% - 32px)); margin: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--rose);
    color: #fff;
    padding: 10px 16px;
    z-index: 50;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- header */

.site-header { position: relative; z-index: 30; }

.utility { background: var(--plum); font: 13.5px var(--font-sans); }
.utility-inner { min-height: 34px; display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.utility a { color: #f6e3ea; }
.utility a:hover { color: #fff; }

.brand-row { background: var(--surface); border-bottom: 1px solid var(--line); }
.brand-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; gap: 14px; align-items: center; color: var(--plum-dark); }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--rose) 0%, var(--lavender) 100%);
    color: #fff;
    font: 600 15px/1 var(--font-serif);
    letter-spacing: .5px;
    flex: 0 0 auto;
}
.brand-text { display: block; min-width: 0; }
.brand-name { display: block; font: 600 25px/1.1 var(--font-serif); letter-spacing: -.2px; }
.brand-tld { color: var(--rose); }
.brand-tagline { display: block; margin-top: 4px; font: 13px var(--font-sans); color: var(--muted); }
.brand-note {
    font: 12.5px var(--font-sans);
    color: var(--teal);
    background: var(--teal-soft);
    padding: 7px 13px;
    border-radius: 999px;
    white-space: nowrap;
}

.main-nav { position: sticky; top: 0; z-index: 20; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 48px; display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.nav-inner a {
    font: 14.5px var(--font-sans);
    color: var(--plum);
    padding: 7px 13px;
    border-radius: 999px;
    white-space: nowrap;
}
.nav-inner a:hover { background: #fff; color: var(--rose-dark); text-decoration: none; }
.nav-inner .nav-all { margin-left: auto; color: var(--rose-dark); font-weight: 600; }

/* ------------------------------------------------------------------ main */

.site-main { padding: 40px 0 60px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.content { min-width: 0; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 38px 36px 34px;
    margin-bottom: 34px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fdeef3 0%, #f7eefb 52%, #eaf4f3 100%);
    box-shadow: var(--shadow-sm);
}
.hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 84, 122, .16), rgba(194, 84, 122, 0) 70%);
}
.hero-kicker {
    margin: 0 0 10px;
    font: 600 12px var(--font-sans);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--rose);
}
.hero h1 {
    margin: 0 0 14px;
    font: 600 38px/1.18 var(--font-serif);
    color: var(--plum-dark);
    max-width: 22ch;
}
.hero-text { margin: 0 0 22px; color: var(--ink-soft); max-width: 62ch; font-size: 16.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font: 600 14.5px var(--font-sans);
    box-shadow: 0 8px 20px rgba(194, 84, 122, .25);
}
.button:hover { background: var(--rose-dark); color: #fff; text-decoration: none; }
.button-ghost { background: #fff; color: var(--rose-dark); box-shadow: var(--shadow-sm); }
.button-ghost:hover { background: #fff; color: var(--rose); }

.page-heading { margin: 0 0 30px; }
.page-heading h1,
.article-header h1,
.author-card h1 {
    font: 600 36px/1.2 var(--font-serif);
    margin: 0 0 10px;
    color: var(--plum-dark);
}
.page-heading p { margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* --------------------------------------------------------- blocks & cards */

.category-block { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.category-block:last-child { border-bottom: 0; margin-bottom: 0; }

.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.section-title h2,
.sidebar h2,
.list-title { font: 600 25px/1.25 var(--font-serif); margin: 0; color: var(--plum-dark); }
.section-title h2 a { color: inherit; }
.section-intro { margin: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; max-width: 70ch; }
.section-link,
.read-more { font: 600 14px var(--font-sans); white-space: nowrap; }
.read-more::after { content: " →"; }
.read-more:hover { text-decoration: none; }
.read-more:hover::after { content: " →"; }

.category-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal);
    font: 600 11.5px var(--font-sans);
    letter-spacing: .9px;
    text-transform: uppercase;
}
.category-label:hover { background: var(--teal); color: #fff; text-decoration: none; }

.featured-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    padding: 16px;
    margin-bottom: 18px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.featured-card h3 { margin: 0 0 10px; font: 600 24px/1.3 var(--font-serif); }
.featured-card h3 a { color: var(--plum-dark); }
.featured-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15.5px; }
.featured-body { display: flex; flex-direction: column; justify-content: center; }

.card-image { display: block; height: 268px; border-radius: var(--radius-sm); overflow: hidden; }
.featured-card img,
.compact-card img,
.post-card img,
.sidebar-post img,
.article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-card .card-image img { height: 268px; }

.compact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.compact-card { background: var(--surface); border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow-sm); }
.compact-card > a { display: block; height: 104px; border-radius: 9px; overflow: hidden; }
.compact-card h3 { margin: 11px 0 0; font: 600 15px/1.4 var(--font-sans); }
.compact-card h3 a { color: var(--plum); }
.compact-card:hover { box-shadow: var(--shadow); }

.post-list { display: grid; gap: 22px; }
.post-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.post-card-image { display: block; height: 208px; border-radius: var(--radius-sm); overflow: hidden; }
.post-card-content { padding: 4px 6px 4px 0; min-width: 0; }
.post-card h2 { margin: 0 0 8px; font: 600 23px/1.3 var(--font-serif); }
.post-card h2 a { color: var(--plum-dark); }
.post-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.post-meta { margin-bottom: 10px; font: 13px var(--font-sans); color: var(--muted); }
.post-meta a { color: var(--muted); }

.empty-note { padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); color: var(--ink-soft); }

/* --------------------------------------------------------------- sidebar */

.sidebar { display: grid; gap: 22px; position: sticky; top: 68px; }
.sidebar-block { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar h2 { font-size: 20px; margin-bottom: 14px; }
.sidebar-start { background: linear-gradient(150deg, #fff 0%, #fdf1f5 100%); }
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.start-list a { display: block; padding-left: 14px; border-left: 3px solid var(--rose-soft); }
.start-list a:hover { border-left-color: var(--rose); text-decoration: none; }
.start-name { display: block; font: 600 15.5px var(--font-sans); color: var(--plum-dark); }
.start-note { display: block; font-size: 13px; color: var(--muted); }

.sidebar-post { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.sidebar-post:first-of-type { border-top: 0; padding-top: 0; }
.sidebar-post > a { display: block; height: 64px; border-radius: 10px; overflow: hidden; }
.sidebar-post h3 { margin: 0; font: 600 15px/1.4 var(--font-sans); }
.sidebar-post h3 a { color: var(--plum); }
.sidebar-meta { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.gentle-note {
    background: var(--lavender-soft);
    border-left: 4px solid var(--lavender);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
}
.gentle-note h2 { font: 600 17px var(--font-sans); margin: 0 0 8px; color: #54447c; }
.gentle-note p { margin: 0; font-size: 14px; color: #57496f; }

/* --------------------------------------------------------------- article */

.article {
    background: var(--surface);
    border-radius: 20px;
    padding: 34px 36px 30px;
    box-shadow: var(--shadow-sm);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin-bottom: 18px; font: 13px var(--font-sans); color: var(--muted); }
.breadcrumbs .crumb + .crumb::before { content: "›"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rose-dark); }
.breadcrumbs span { color: var(--muted); }

.article-header { margin-bottom: 22px; }
.article-header h1 { font-size: 37px; max-width: 26ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 13.5px var(--font-sans); color: var(--muted); }
.article-meta a { color: var(--ink-soft); }

.article-cover { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; height: 380px; box-shadow: var(--shadow-sm); }

.article-body { font: 17.5px/1.78 var(--font-serif); color: #3a2f34; margin-top: 6px; }
.article-body > p:first-of-type { font-size: 19px; color: var(--plum); }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 {
    font: 600 27px/1.3 var(--font-serif);
    margin: 38px 0 14px;
    color: var(--plum-dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rose-soft);
}
.article-body h3 { font: 600 21px/1.35 var(--font-serif); margin: 28px 0 10px; color: var(--plum-dark); }
.article-body ul,
.article-body ol { margin: 0 0 1.2em; padding-left: 24px; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    background: var(--bg-soft);
    border-left: 4px solid var(--rose);
    border-radius: var(--radius-sm);
    font-style: italic;
}
.article-body img { border-radius: var(--radius-sm); height: auto; }
.article-body a { text-decoration: underline; text-decoration-color: var(--rose-soft); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--rose); }

.share-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.share-label { font: 600 13px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.share-links { display: flex; flex-wrap: wrap; gap: 10px; }
.share-links a {
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--rose-dark);
    font: 600 13.5px var(--font-sans);
}
.share-links a:hover { background: var(--rose); color: #fff; text-decoration: none; }

.article .gentle-note { margin-top: 28px; }

.see-also { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.see-also h2 { font: 600 22px var(--font-serif); margin: 0 0 16px; color: var(--plum-dark); }
.see-also-links { display: grid; gap: 10px; }
.see-also-links a {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 14px;
    padding: 13px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    color: var(--plum);
}
.see-also-links a:hover { background: var(--bg-soft); text-decoration: none; }
.see-also-title { font: 600 15.5px var(--font-sans); }
.see-also-cat { font-size: 12.5px; color: var(--muted); }

.author-card { display: flex; gap: 22px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 26px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.author-avatar {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--rose) 0%, var(--lavender) 100%);
    color: #fff;
    font: 600 26px var(--font-serif);
}
.author-card h1 { font-size: 30px; margin-bottom: 6px; }
.author-card p { margin: 0; color: var(--ink-soft); }
.author-credentials { font: 600 13.5px var(--font-sans); color: var(--teal); margin-bottom: 8px !important; }
.list-title { margin-bottom: 18px; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a,
.pagination .active {
    min-width: 40px;
    padding: 9px 13px;
    text-align: center;
    border-radius: 10px;
    background: var(--surface);
    color: var(--rose-dark);
    font: 600 14.5px var(--font-sans);
    box-shadow: var(--shadow-sm);
}
.pagination .active { background: var(--rose); color: #fff; }
.pagination a:hover { background: var(--bg-soft); text-decoration: none; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--plum); color: #f0dfe6; padding: 40px 0 26px; margin-top: 20px; font: 14px var(--font-sans); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 30px; }
.footer-brand { min-width: 0; }
.footer-name { margin: 0 0 8px; font: 600 22px var(--font-serif); color: #fff; }
.footer-name .brand-tld { color: #f3a9c1; }
.footer-tagline { margin: 0; color: #dcc7d1; max-width: 42ch; }
.footer-links p { margin: 0 0 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f7c6d6; }
.footer-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.footer-note p { margin: 0 0 8px; color: #d9c3ce; font-size: 12.8px; max-width: 92ch; }
.footer-copy { color: #b79aa8 !important; }

.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    max-width: 660px;
    margin: auto;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px rgba(59, 36, 49, .22);
    font: 14px var(--font-sans);
}
.cookie-notice p { margin: 0 0 14px; color: var(--ink-soft); }
.cookie-notice button {
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font: 600 14px var(--font-sans);
    cursor: pointer;
}
.cookie-notice button:hover { background: var(--rose-dark); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
    .page-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .sidebar { position: static; }
    .hero h1 { font-size: 33px; }
}

@media (max-width: 850px) {
    .brand-inner { justify-content: flex-start; }
    .brand-note { display: none; }
    .utility-inner { justify-content: center; }
    .compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .card-image,
    .featured-card .card-image img { height: 232px; }
    .post-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .post-card-image { height: 220px; }
    .article { padding: 24px 22px; }
    .article-cover { height: 260px; }
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 24px), 1180px); }
    .brand-mark { width: 40px; height: 40px; }
    .brand-name { font-size: 21px; }
    .hero { padding: 26px 20px; border-radius: 18px; }
    .hero h1 { font-size: 27px; max-width: none; }
    .hero-actions .button { flex: 1 1 auto; text-align: center; }
    .page-heading h1,
    .article-header h1,
    .author-card h1 { font-size: 27px; }
    .section-title { flex-direction: column; align-items: flex-start; gap: 6px; }
    .compact-grid { gap: 12px; }
    .compact-card > a { height: 92px; }
    .article-body { font-size: 16.5px; }
    .article-body h2 { font-size: 23px; }
    .author-card { flex-direction: column; text-align: center; }
    .post-card h2 { font-size: 20px; }
}

/* ------------------------------------------------------------- автор */

.author-profile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.author-intro { max-width: 720px; margin: 0 auto; }
.author-photo { flex: 0 0 auto; }
.author-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--rose-soft);
    background: var(--bg-soft);
}
.author-intro h1 {
    font: 600 34px/1.15 var(--font-serif);
    margin: 0 0 8px;
    color: var(--plum-dark);
}
.author-role {
    margin: 0 0 6px;
    color: var(--rose-dark);
    font: 700 12px/1.3 var(--font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.author-lead {
    margin: 0 0 10px;
    font-size: 17px;
    color: var(--ink-soft);
}
.author-section {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.author-section h2 {
    font: 600 24px/1.2 var(--font-serif);
    margin: 0 0 12px;
    color: var(--plum-dark);
}
.author-section p { margin: 0 0 12px; }
.author-section p:last-child { margin-bottom: 0; }
.author-latest { margin-top: 8px; }
.author-latest .section-title { margin-bottom: 16px; }
.author-latest .post-list { margin-top: 0; }

@media (max-width: 700px) {
    .author-profile { flex-direction: column; text-align: center; }
    .author-photo img { width: 150px; height: 150px; }
    .author-intro h1 { font-size: 29px; }
}

/* ------------------------------------------------------------- кластер */

.cluster-links {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 26px 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.cluster-links h2 {
    font: 600 24px/1.2 var(--font-serif);
    margin: 0 0 12px;
    color: var(--plum-dark);
}
.cluster-links ul { margin: 0; padding-left: 22px; }
.cluster-links li { margin: 8px 0; }
.cluster-links a { font-weight: 600; }
.cluster-back {
    margin: 24px 0;
    padding: 14px 18px;
    background: var(--rose-soft);
    border-left: 4px solid var(--rose);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cluster-back a { font-weight: 600; }


/* ????????? ???? HowTo: ??????? ????? ? ?????? ??? JSON-LD */
.howto {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid #d8e4df;
  border-radius: 14px;
  background: #f7fbf9;
}
.howto h2 {
  margin-top: 0;
}
.howto-intro {
  margin-bottom: 0.9rem;
}
.howto ol {
  margin-bottom: 0;
}
.howto li + li {
  margin-top: 0.55rem;
}


/* Оглавление статьи (TOC) */
.toc{margin:18px 0 26px;padding:12px 18px;border:1px solid rgba(127,127,127,.35);border-radius:10px;background:rgba(127,127,127,.06)}
.toc summary{cursor:pointer;font-weight:600;font-size:15px;letter-spacing:.02em;text-transform:uppercase;opacity:.75;list-style:none}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:"▾";float:right;opacity:.6;font-size:12px;line-height:1.6}
.toc[open] summary::after{content:"▴"}
.toc ol{list-style:none;margin:10px 0 0;padding-left:0}
.toc li{list-style:none;margin:5px 0;line-height:1.45}
.toc a{text-decoration:none;border-bottom:1px solid transparent}
.toc a:hover{border-bottom-color:currentColor}
@media (max-width:640px){.toc{padding:10px 14px}.toc ol{padding-left:0}}


/* По теме и блок «Когда вызвать мастера» */
.related,.call-master{margin:22px 0;padding:14px 18px;border-radius:10px;background:rgba(127,127,127,.06)}
.related h2,.call-master h2{margin:0 0 8px;font-size:18px;line-height:1.3}
.related ul,.call-master ul{margin:0;padding-left:20px}
.related li,.call-master li{margin:5px 0;line-height:1.45}
.related a{text-decoration:none;border-bottom:1px solid transparent}
.related a:hover{border-bottom-color:currentColor}
.call-master{border-left:4px solid rgba(127,127,127,.45)}
.call-master p{margin:8px 0}
@media (max-width:640px){.related,.call-master{padding:12px 14px}.related h2,.call-master h2{font-size:17px}}


/* FAQ без H3, вложенное оглавление и содержательные подзаголовки */
.faq-q{margin:20px 0 6px;font-weight:700;font-size:17px;line-height:1.35}
.toc ol ol{list-style:none;margin:6px 0 8px;padding-left:16px;font-size:.95em}
.toc ol ol li{margin:3px 0}
.article-body h3{margin:26px 0 10px;font-size:20px;line-height:1.3}

/* Индикатор прогресса чтения */
.reading-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent,#4a90e2);z-index:9999;transition:width .08s linear}

/* Вступление и большой текст рубрики */
.category-intro{max-width:72ch;margin:0 0 1.6rem;font-size:1.06rem;line-height:1.7;opacity:.92}
.category-about{max-width:72ch;margin:2.6rem 0 0;padding-top:1.5rem;border-top:1px solid rgba(127,127,127,.25)}
.category-about h2{margin:0 0 .9rem;font-size:1.35rem;line-height:1.3}
.category-about p{margin:0 0 .9rem;line-height:1.75}
.category-about p:last-child{margin-bottom:0}

/* Текстовые страницы и ссылки на политики */
.page-text{max-width:76ch}
.page-text h2{margin-top:2rem}
.page-lead{font-size:1.07rem;line-height:1.7;opacity:.92}
.footer-policies{margin-top:.35rem;font-size:.92rem}

/* Врезки-callout */
.callout{display:flex;flex-wrap:wrap;gap:.35rem .8rem;margin:1.8rem 0;padding:1rem 1.1rem;border-left:4px solid currentColor;border-radius:10px;background:rgba(127,127,127,.08)}
.callout-icon{width:20px;height:20px;flex:0 0 20px;margin-top:.1rem}
.callout-title{display:flex;align-items:flex-start;gap:.55rem;width:100%;margin:0;font-size:1.02rem;font-weight:700;line-height:1.35}
.callout>p:last-child{width:100%;margin:0;padding-left:1.75rem;font-size:.98rem;line-height:1.55}
.callout-warning{color:#9a3412;background:rgba(234,88,12,.09)}
.callout-check{color:#1d4ed8;background:rgba(37,99,235,.08)}
.callout-safety{color:#b91c1c;background:rgba(220,38,38,.08)}
.callout-tip{color:#0f766e;background:rgba(13,148,136,.08)}
@media (max-width:520px){.callout{padding:.9rem}.callout>p:last-child{padding-left:0}}

/* Блок источников */
.article-sources{margin:2rem 0 1rem;padding:1.1rem 1.2rem;border-radius:12px;background:rgba(127,127,127,.06);border:1px solid rgba(127,127,127,.2)}
.article-sources h2{margin:0 0 .6rem;font-size:1.1rem}
.article-sources ol{margin:0;padding-left:1.25rem}
.article-sources li{margin:.35rem 0;line-height:1.5;overflow-wrap:anywhere}
.article-sources a{text-decoration:underline;text-underline-offset:.15em}

/* Контекстные ссылки «По теме» */
.context-links{margin:2rem 0 1rem;padding:1rem 1.2rem;border-radius:12px;border:1px solid rgba(127,127,127,.22);background:rgba(127,127,127,.05)}
.context-links h2{margin:0 0 .55rem;font-size:1.1rem}
.context-links ul{margin:0;padding-left:1.2rem}
.context-links li{margin:.3rem 0;line-height:1.5}
.context-links a{text-decoration:underline;text-underline-offset:.15em}

/* Инфографика в статье */
.infographic{margin:2rem 0;padding:0;border:1px solid rgba(127,127,127,.2);border-radius:14px;overflow:hidden;background:rgba(127,127,127,.04)}
.infographic picture{display:block}
.infographic img{display:block;width:100%;height:auto}
.infographic figcaption{padding:.65rem 1rem;font-size:.9rem;opacity:.78}

/* Блок автора под статьёй */
.author-box{margin:2rem 0 1rem;padding:1.1rem 1.2rem;border:1px solid rgba(127,127,127,.22);border-radius:12px;background:rgba(127,127,127,.05)}
.author-box p{margin:0 0 .35rem}
.author-box-label{margin:0 0 .35rem;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;opacity:.7}
.author-box-name{margin:0 0 .25rem;font-size:1.12rem;font-weight:700}
.author-box-name a{text-decoration:none}
.author-box-meta{font-size:.95rem;opacity:.85}
.author-box-bio{margin-top:.55rem;line-height:1.55;max-width:72ch}
.author-box-link{margin-top:.55rem;font-size:.95rem}

/* Итоговые тезисы в конце статьи */
.article-takeaways{margin:2.2rem 0 1rem;padding:1.2rem;border:1px solid rgba(127,127,127,.22);border-radius:14px;background:rgba(127,127,127,.05)}
.article-takeaways h2{margin:0 0 .9rem;font-size:1.25rem}
.takeaways-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem}
.takeaway{padding:.9rem;border-radius:10px;background:rgba(255,255,255,.45);border:1px solid rgba(127,127,127,.14)}
.takeaway-num{display:inline-block;margin-bottom:.35rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;opacity:.55}
.takeaway h3{margin:0 0 .35rem;font-size:1rem;line-height:1.35}
.takeaway p{margin:0;font-size:.94rem;line-height:1.55}
@media (prefers-color-scheme:dark){.takeaway{background:rgba(255,255,255,.06)}}
