:root {
  color-scheme: light;
  --paper: #faf6ef;
  --ink: #332a24;
  --muted: #695c51;
  --clay: #974c32;
  --clay-soft: #f2e3d8;
  --sage: #e2e8db;
  --forest: #3c503f;
  --line: #d6cbbf;
  --white: #fffdf8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; border-radius: 2px; }
img { display: block; width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
figure, blockquote { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
main, section, article, aside, nav, div, figure { min-width: 0; }
[id] { scroll-margin-top: 24px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -90px; padding: 12px 20px; background: var(--ink); color: white; z-index: 10; }
.skip:focus { top: 12px; }
.masthead { padding: 22px 0 0; border-bottom: 1px solid var(--line); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { width: 31px; height: 34px; color: var(--clay); transform: rotate(-12deg); }
.brand-name { font-family: Georgia, serif; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.brand-name span { color: var(--clay); }
.brand-tagline { margin: 0; color: var(--muted); font-size: 12px; max-width: 115px; line-height: 1.45; }
.navigation ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.navigation li { margin: 0; }
.navigation a { display: block; padding: 9px 0; font-size: 14px; text-decoration: none; }
.navigation a[aria-current="page"] { color: var(--clay); font-weight: 700; text-decoration: underline; }
.eyebrow { color: var(--clay); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 17px; }
.hero { padding: 38px 0 35px; display: grid; gap: 30px; }
.hero-copy { align-self: center; }
.hero h1 em { color: var(--clay); font-weight: 400; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.hero .lead { margin: 23px 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 20px; background: var(--clay); color: var(--white); border-radius: 3px; font-weight: 600; text-decoration: none; font-size: 14px; }
.button:hover { background: #7d3d27; color: white; }
.hero-figure img { aspect-ratio: 1.2; object-fit: cover; border-radius: 150px 150px 5px 5px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.section { padding-block: 35px; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { color: var(--clay); font-size: 14px; font-weight: 600; }
.home-columns, .reading-layout, .breed-layout, .advert-layout { display: grid; gap: 30px; }
.question-list { list-style: none; padding: 0; margin: 0; }
.question-list li { border-top: 1px solid var(--line); margin: 0; }
.question-list li:first-child { border-top: 0; }
.question-list a { text-decoration: none; display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 10px; padding: 19px 0; align-items: start; }
.question-number { color: var(--clay); font: italic 20px/1.5 Georgia, serif; }
.question-title { display: block; font: 21px/1.3 Georgia, serif; }
.question-meta { display: block; color: var(--muted); margin-top: 7px; font-size: 12px; }
.question-arrow { color: var(--clay); padding-top: 2px; }
.editor-note { padding: 27px; background: var(--sage); border-radius: 4px; align-self: start; }
.editor-note .eyebrow { color: var(--forest); }
.editor-note h3 { font-size: 1.7rem; }
.editor-note p { font-size: 14px; }
.editor-note a { color: var(--forest); }
.small { font-size: 13px; color: var(--muted); }
.breed-feature { display: grid; gap: 26px; align-items: center; }
.breed-feature figure img { aspect-ratio: 1.6; object-fit: contain; background: #f0e9df; border-radius: 5px; }
.breed-feature h3 { font-size: 2rem; }
.label-line { display: flex; gap: 9px; flex-wrap: wrap; margin: 20px 0; }
.label { display: inline-block; border: 1px solid var(--line); border-radius: 30px; padding: 4px 12px; font-size: 12px; }
.article-teasers { display: grid; gap: 25px; }
.teaser { padding-top: 18px; border-top: 1px solid var(--line); }
.teaser .eyebrow { margin-bottom: 10px; }
.teaser h3 a { text-decoration: none; }
.teaser p { color: var(--muted); font-size: 14px; }
.tools-section { background: var(--sage); padding: 28px 24px; border-radius: 4px; margin: 12px 0 42px; }
.tools-section .eyebrow { color: var(--forest); }
.tools-list { display: grid; gap: 0 30px; }
.tool { border-top: 1px solid #aebba4; padding: 0; }
.tool summary { cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 600; }
.tool p { margin: 0 0 18px; font-size: 14px; color: var(--forest); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 27px 0; font-size: 12px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.page-title { max-width: 920px; margin: 0 0 32px; }
.page-title .lead { margin-top: 20px; }
.page-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 23px; }
.article-figure { margin: 25px 0 30px; }
.article-figure img { aspect-ratio: 1.5; object-fit: cover; border-radius: 5px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 38px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { line-height: 1.8; }
.prose a { color: var(--clay); }
.intro-paragraph:first-letter { font: 68px/.85 Georgia, serif; color: var(--clay); float: left; padding: 9px 10px 0 0; }
.toc { background: #f0e9df; padding: 24px; border-radius: 4px; align-self: start; }
.toc h2 { font: 700 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.toc ol { margin: 17px 0 0; padding-left: 20px; }
.toc a { display: inline-block; font-size: 14px; padding-block: 4px; text-decoration: none; }
.note { padding: 22px; border-left: 3px solid var(--clay); background: var(--clay-soft); margin: 28px 0; }
.note p:last-child { margin-bottom: 0; }
.related { margin-top: 38px; padding: 24px; background: var(--sage); }
.related h2 { font-size: 1.6rem; margin: 0 0 13px; }
.related ul { margin-bottom: 0; }
.related a { color: var(--forest); }
.breed-hero { display: grid; gap: 25px; align-items: center; margin-bottom: 30px; }
.breed-hero img { aspect-ratio: 1.2; object-fit: cover; border-radius: 160px 160px 5px 5px; }
.breed-hero .page-title { margin-bottom: 0; }
.fact-list { margin: 0; }
.fact-list div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; border-top: 1px solid var(--line); padding: 15px 0; }
.fact-list dt { color: var(--muted); font-size: 13px; }
.fact-list dd { margin: 0; font-size: 15px; }
.aside-title { font-size: 1.7rem; }
.archive-banner { background: var(--clay-soft); border-left: 3px solid var(--clay); padding: 18px 20px; margin-bottom: 28px; font-size: 14px; }
.archive-banner strong { display: block; font-weight: 600; }
.archive-banner a { display: inline-block; margin-top: 5px; color: var(--clay); }
.forum-title { max-width: 960px; }
.thread { max-width: 920px; }
.post { border-top: 1px solid var(--line); padding: 27px 0; display: grid; gap: 17px; }
.post-author h2 { font: 700 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin-bottom: 5px; }
.post-author p { margin: 0; color: var(--muted); font-size: 12px; }
.post-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; color: var(--muted); font-size: 12px; margin-bottom: 13px; }
.post-head a { color: var(--clay); }
.post-body p:last-child { margin-bottom: 0; }
.post-body blockquote { padding: 14px 18px; background: #f0e9df; border-left: 2px solid #ad9784; font-size: 14px; margin: 18px 0; }
.post-body blockquote cite { display: block; font-style: normal; font-weight: 600; margin-bottom: 5px; }
.medical-note { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 13px; margin-top: 18px; }
.post-editor { padding: 25px 22px; background: var(--sage); border: 1px solid #b3c0aa; border-top: 4px solid var(--forest); border-radius: 4px; margin: 15px 0 30px; }
.post-editor .eyebrow { color: var(--forest); margin-bottom: 8px; }
.post-editor a { color: var(--forest); }
.end-note { color: var(--muted); font-size: 13px; padding-bottom: 30px; }
.advert-paper { background: var(--white); border: 1px solid var(--line); padding: 25px; }
.advert-paper h2 { font-size: 1.6rem; }
.advert-details { display: flex; flex-wrap: wrap; gap: 15px 32px; margin-bottom: 23px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.advert-details div { min-width: 120px; }
.advert-details dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 5px; }
.advert-details dd { margin: 0; }
.archive-stamp { color: var(--clay); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: inline-block; border: 1px solid var(--clay); padding: 3px 9px; margin-bottom: 22px; }
.site-footer { margin-top: 35px; border-top: 1px solid var(--line); padding: 28px 0 35px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.footer-name { font: 23px Georgia, serif; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.footer-nav a { display: inline-block; padding: 6px 0; }
.mockup-label { border-top: 1px solid var(--line); margin: 20px 0 0; padding-top: 17px; color: var(--muted); font-size: 11px; }
@media (min-width: 700px) {
  .shell { width: min(1160px, calc(100% - 72px)); }
  .brand-row { padding-bottom: 20px; }
  .brand-tagline { max-width: none; font-size: 13px; }
  .navigation ul { display: flex; flex-wrap: wrap; gap: 0 35px; margin-bottom: 5px; }
  .navigation a { padding: 11px 0; }
  .hero { grid-template-columns: 1.05fr 1fr; gap: 50px; padding: 48px 0; }
  .hero h1 { font-size: clamp(3.3rem, 5.5vw, 4.6rem); }
  .hero-figure img { aspect-ratio: 1.17; border-radius: 240px 240px 5px 5px; }
  .section { padding-block: 44px; }
  .home-columns { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 50px; }
  .breed-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 45px; }
  .article-teasers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
  .tools-section { padding: 33px; margin-bottom: 50px; }
  .tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading-layout { grid-template-columns: minmax(0, 2.45fr) minmax(220px, 1fr); gap: 50px; }
  .reading-layout .toc { grid-column: 2; grid-row: 1; }
  .reading-layout .prose { grid-column: 1; grid-row: 1; }
  .breed-hero { grid-template-columns: 1.2fr 1fr; gap: 50px; margin-bottom: 45px; }
  .breed-layout { grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 55px; }
  .breed-layout .toc { order: 2; }
  .fact-list div { grid-template-columns: 135px minmax(0, 1fr); }
  .post { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; padding: 30px 0; }
  .post-editor { padding: 28px; }
  .advert-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 40px; }
  .advert-paper { padding: 38px; }
  .page-title { margin-bottom: 38px; }
  .site-footer { margin-top: 55px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Рабочие страницы: списки, архивы и простой HTML восстановленных материалов. */
body { overflow-wrap: anywhere; }
.prose img { width: auto; max-width: 100%; height: auto; margin: 20px auto; }
.prose .photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; margin-bottom: 25px; }
.prose .photo-grid img { max-height: 360px; object-fit: contain; align-self: center; margin: 0 auto; }
.prose iframe, .prose video { max-width: 100%; }
.prose img + br { display: none; }
.prose h4, .prose h5 { margin: 28px 0 12px; font-size: 1.1rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose blockquote { padding: 18px 23px; border-left: 3px solid var(--clay); background: #f0e9df; margin: 25px 0; }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0 0 15px; }
.prose figure { margin-block: 25px; }
.prose .center { text-align: center; }
.prose .right { text-align: right; }
.prose .caption { color: var(--muted); font-size: 13px; text-align: center; }
.prose .green { color: #315335; }
.prose .red { color: #943729; }
.prose .hl { background: var(--clay-soft); }
.prose .noborder, .prose .noborder td, .prose .noborder th { border: 0; }
.prose details { padding: 16px 20px; border: 1px solid var(--line); margin-block: 20px; }
.prose summary { cursor: pointer; font-weight: 600; }
.prose .video { margin: 25px 0; }
.prose .video video, .prose .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 10px 13px; vertical-align: top; }
.table-wrap th { text-align: left; background: #f0e9df; }
.table-wrap img { max-width: min(300px, 100%); }
.reading-single { max-width: 780px; }
.reading-text { min-width: 0; }
.toc-h3 { margin-left: 12px; }
.toc ol { list-style: none; padding: 0; }
.toc li { border-top: 1px solid var(--line); padding: 5px 0; margin-bottom: 0; }
.toc li:first-child { border-top: 0; }
.footer-caption { border-top: 1px solid var(--line); margin: 20px 0 0; padding-top: 17px; color: var(--muted); font-size: 11px; }
.list-intro { margin-bottom: 28px; }
.list-summary { display: flex; flex-wrap: wrap; gap: 10px 25px; font-size: 13px; color: var(--muted); padding-bottom: 15px; }
.cards-list { display: grid; gap: 0 38px; }
.list-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.list-card-text { grid-template-columns: 1fr; }
.list-card h2 { font-size: 1.5rem; }
.list-card h2 a { text-decoration: none; }
.list-card p { color: var(--muted); font-size: 14px; }
.list-card .small { font-size: 12px; margin-bottom: 8px; }
.card-picture img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 30px; }
.pagination a { display: inline-flex; min-width: 39px; height: 42px; padding: 7px 10px; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; border-radius: 3px; font-size: 14px; }
.pagination a[aria-current] { background: var(--clay); border-color: var(--clay); color: var(--white); }
.pagination-gap { color: var(--muted); }
.error-page { padding-block: 70px 80px; max-width: 800px; }
.error-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.kennel-card { max-width: 800px; margin-block: 25px; }
.post-body, .post-author { min-width: 0; }
.archive-sections .related { margin: 0 0 30px; }
.archive-sections .related ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; }
.archive-sections .related h2 { font-size: 1.3rem; }
.kennel-card .fact-list { margin-bottom: 28px; }
.advert-paper + .archive-banner { margin-top: 30px; }
.editor-note hr { border: 0; border-top: 1px solid #aebba4; margin: 25px 0; }
.tool-pending { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; font-size: 15px; font-weight: 600; }
.tool-pending .small { white-space: nowrap; font-weight: 400; }
.hero-no-picture, .breed-feature-text { grid-template-columns: 1fr; }
.home-intro { margin-bottom: 30px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 700px) {
  .reading-layout .reading-text { grid-column: 1; grid-row: 1; }
  .cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-card { grid-template-columns: 120px minmax(0, 1fr); }
  .list-card-text { grid-template-columns: 1fr; }
}
@media print {
  .navigation, .site-footer, .skip, .pagination, .toc { display: none; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  .reading-layout { display: block; }
}
