.page-veterinaru .hero-section,
.page-veterinaru .insight-strip { display: none !important; }

.gts-vet-page {
    padding: 34px 18px 80px;
    background:
        radial-gradient(circle at top left, rgba(45, 106, 45, .10), transparent 32%),
        linear-gradient(180deg, #f7f4ee 0%, #f3f6f1 100%);
}
.gts-vet-container { max-width: 1180px; margin: 0 auto; }
.gts-vet-page a { text-decoration: none; color: inherit; }

.gts-vet-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
}
.gts-vet-eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 800;
    color: #2d6a2d;
}
.gts-vet-masthead h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
    color: #172117;
}
.gts-vet-masthead-copy p,
.gts-vet-lead,
.gts-vet-detail p { margin: 0; color: #5c675f; line-height: 1.65; }
.gts-vet-search { display: flex; gap: 8px; background: #fff; border: 1px solid #e3ddd2; border-radius: 18px; padding: 6px; box-shadow: 0 10px 30px rgba(24, 19, 12, .05); }
.gts-vet-search input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    min-height: 46px; padding: 0 12px; font: inherit; color: #172117;
}
/* У поля поиска рамку снимаем, поэтому фокус показываем на самой форме. */
.gts-vet-search:focus-within { border-color: #2d6a2d; box-shadow: 0 0 0 3px rgba(45, 106, 45, .18); }
.gts-vet-search button {
    border: 0; border-radius: 14px; background: #2d6a2d; color: #fff;
    padding: 0 18px; font-weight: 800; cursor: pointer;
    flex: 0 0 auto; white-space: nowrap;
}

.gts-vet-back { margin: 0 0 18px; }
.gts-vet-back a { color: #2d6a2d; font-weight: 800; }
.gts-vet-pick { margin: 4px 0 14px; font-size: 20px; color: #172117; letter-spacing: -.02em; }
.gts-vet-hub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.gts-vet-hub-actions a {
    padding: 11px 18px; border-radius: 999px; background: #fff; color: #243028;
    border: 1px solid #e6e0d6; font-weight: 800; font-size: 14px;
}
.gts-vet-hub-actions a:hover { background: #2d6a2d; color: #fff; border-color: #2d6a2d; }
.gts-vet-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.gts-vet-subtabs a {
    padding: 10px 16px; border-radius: 999px; background: #fff; color: #243028;
    border: 1px solid #e6e0d6; font-weight: 800; font-size: 14px;
}
.gts-vet-subtabs a.active, .gts-vet-subtabs a:hover { background: #2d6a2d; color: #fff; border-color: #2d6a2d; }
/* Второй ряд фильтров (класс препарата) — компактнее, чем фильтр по виду */
.gts-vet-classes a { padding: 7px 13px; font-size: 13px; font-weight: 700; background: #f7fbf5; border-color: #dbe6d8; }
.gts-vet-classes a.active, .gts-vet-classes a:hover { background: #2d6a2d; color: #fff; border-color: #2d6a2d; }
.gts-vet-classes .gts-vet-count { color: #6b7a6b; }
.gts-vet-classes a.active .gts-vet-count, .gts-vet-classes a:hover .gts-vet-count { color: rgba(255, 255, 255, .8); }
/* Класс препарата на его карточке */
.gts-vet-drug-class { margin: 16px 0 0; font-size: 14px; color: #4c5a4e; }
.gts-vet-drug-class a { color: #166534; font-weight: 700; }

/* Дозы при конкретной болезни: сетка схем на карточке препарата */
.gts-vet-scheme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 26px; }
.gts-vet-scheme { background: #fff; border: 1px solid #eadfce; border-radius: 18px; padding: 18px 20px; }
.gts-vet-scheme-species { display: inline-block; margin-bottom: 6px; color: #2d6a2d; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gts-vet-scheme h3 { margin: 0 0 10px; font-size: 17px; }
.gts-vet-scheme h3 a { color: #166534; text-decoration: none; }
.gts-vet-scheme h3 a:hover { text-decoration: underline; }
.gts-vet-scheme p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #3f4c3f; }
.gts-vet-scheme p:last-child { margin-bottom: 0; }
.gts-vet-scheme-dose { color: #172117; }
.gts-vet-scheme-note { color: #6b7a6b; font-size: 13px; }
/* Карточка препарата в блоке «Что применять»: текст дозы не обрезаем построчно.
   Селектор с двумя классами — чтобы перебить общий clamp у .gts-vet-card p ниже по файлу. */
.gts-vet-card.gts-vet-drug-card h3 a { color: #172117; text-decoration: none; }
.gts-vet-card.gts-vet-drug-card h3 a:hover { color: #166534; }
.gts-vet-card.gts-vet-drug-card p { display: block; -webkit-line-clamp: none; -webkit-box-orient: initial; overflow: visible; margin: 0 0 8px; }
.gts-vet-card.gts-vet-drug-card p:last-child { margin-bottom: 0; }
.gts-vet-drug-dose { color: #172117; }
.gts-vet-drug-note { color: #6b7a6b; font-size: 13px; }
@media (max-width: 900px) {
    .gts-vet-scheme-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .gts-vet-subtabs { overflow-x: auto; flex-wrap: nowrap; }
    .gts-vet-subtabs a { flex: 0 0 auto; }
}

/* Единая полоса разделов: одна и та же навигация на всех страницах, кроме главной.
   Второстепенные разделы убраны в «Ещё», чтобы новичок видел 5 понятных кнопок. */
.gts-vet-sections {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 18px;
    position: sticky; top: 0; z-index: 60; padding: 10px 0;
    background: rgba(247, 244, 238, .96); backdrop-filter: blur(6px);
}
.gts-vet-sections > a, .gts-vet-more-menu > summary {
    padding: 10px 16px; border-radius: 999px; background: #fff; color: #243028;
    border: 1px solid #e6e0d6; font-weight: 800; font-size: 14px; cursor: pointer; list-style: none;
}
.gts-vet-more-menu > summary::-webkit-details-marker { display: none; }
.gts-vet-more-menu > summary::after { content: ' ▾'; }
.gts-vet-more-menu[open] > summary { background: #2d6a2d; color: #fff; border-color: #2d6a2d; }
.gts-vet-sections > a.active, .gts-vet-sections > a:hover, .gts-vet-more-menu > summary:hover {
    background: #2d6a2d; color: #fff; border-color: #2d6a2d;
}
.gts-vet-more-menu { position: relative; }
/* ВАЖНО: закрытое меню обязано быть невидимым. Иначе содержимое details остаётся
   отрисованным (наш селектор специфичнее встроенного правила браузера) и невидимая
   панель перехватывает клики по контенту под ней. */
.gts-vet-more-menu:not([open]) > .gts-vet-more-list { display: none; }
.gts-vet-more-menu .gts-vet-more-list {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 70; min-width: 280px;
    display: grid; gap: 2px; padding: 10px; border: 1px solid #d9e6d9; border-radius: 14px;
    background: #fff; box-shadow: 0 14px 34px rgba(23, 33, 23, .14);
}
.gts-vet-more-menu .gts-vet-more-list a { padding: 9px 12px; border-radius: 10px; color: #172117; text-decoration: none; font-size: 15px; font-weight: 700; }
.gts-vet-more-menu .gts-vet-more-list a:hover { background: #f1f7f1; color: #166534; }

/* Компактный список «другие разделы» — вместо простыни одинаковых кнопок */
.gts-vet-more-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 20px; }
.gts-vet-more-list a { color: #2d6a2d; font-weight: 800; }

/* Подпись над переключателем внутри вида: отличает его от полосы разделов */
.gts-vet-subtabs-note { margin: 6px 0 6px; color: #6d756f; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* На узких экранах кнопки переносятся, а не уезжают за край:
   горизонтальная прокрутка прятала часть разделов, и по ним нельзя было попасть. */
@media (max-width: 980px) {
    .gts-vet-sections {
        flex-wrap: wrap; overflow-x: visible;
        position: static; /* закреплённая полоса в две строки закрывала контент */
        padding: 6px 0;
    }
    .gts-vet-sections > a, .gts-vet-more-menu > summary { flex: 0 1 auto; font-size: 13px; padding: 9px 13px; }
    .gts-vet-more-menu { position: static; }
    .gts-vet-more-menu .gts-vet-more-list { position: static; left: auto; margin-top: 8px; min-width: 0; width: 100%; }
    .gts-vet-subtabs { flex-wrap: wrap; overflow-x: visible; }
    .gts-vet-subtabs a { flex: 0 1 auto; }
}
.gts-vet-note, .gts-vet-catalog { margin: 14px 0 22px; color: #6d756f; font-size: 14px; line-height: 1.5; }
.gts-vet-catalog a { color: #2d6a2d; font-weight: 800; }

.gts-vet-species-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 8px 0 22px; }
.gts-vet-species-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #172117; border-radius: 26px; position: relative;
    box-shadow: 0 16px 40px rgba(24, 19, 12, .08);
}
.gts-vet-species-card img { width: 100%; height: 210px; object-fit: cover; object-position: center 35%; display: block; }
.gts-vet-species-card picture { display: block; }
.gts-vet-species-card--noimg .gts-vet-species-body { padding-top: 24px; }
.gts-vet-species-card--noimg::before { content: ''; display: block; height: 96px; background: linear-gradient(135deg, #eaf4ea, #cfe0cf); }
.gts-vet-species-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; color: #fff; }
.gts-vet-species-body > span:first-child { color: #d7e7c8; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gts-vet-species-body h2 { margin: 6px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.gts-vet-species-body p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; font-weight: 400; }

.gts-vet-entry-grid, .gts-vet-card-grid { display: grid; gap: 18px; margin: 0 0 26px; }
.gts-vet-entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gts-vet-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gts-vet-entry-grid a, .gts-vet-card, .gts-vet-detail {
    background: #fff; border: 1px solid #eadfce; border-radius: 22px; padding: 20px 20px 18px;
    box-shadow: 0 10px 28px rgba(24, 19, 12, .04);
}
.gts-vet-entry-grid a h3, .gts-vet-card h3, .gts-vet-detail h2, .gts-vet-detail h3 { margin: 4px 0 8px; color: #172117; }
.gts-vet-entry-grid a p, .gts-vet-card p { margin: 0; color: #5c675f; line-height: 1.55; font-size: 14px; font-weight: 400; }
.gts-vet-card p {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gts-vet-card span { display: inline-block; margin-bottom: 6px; color: #2d6a2d; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* Метка фазы схемы: продолжение лечения выделяем янтарным, чтобы не путать с первыми сутками */
.gts-vet-phase[data-phase="continuation"] { color: #b45309; }
.gts-vet-card { display: flex; flex-direction: column; }
.gts-vet-card:hover, .gts-vet-species-card:hover, .gts-vet-entry-grid a:hover { transform: translateY(-2px); transition: .2s ease; }
.gts-vet-detail h2 { margin-top: 30px; font-size: 22px; }
.gts-vet-detail p { font-weight: 400; }
.gts-vet-detail ul, .gts-vet-steps { margin: 10px 0 0; padding-left: 20px; color: #3e483f; line-height: 1.6; font-weight: 400; }
.gts-vet-steps { display: grid; gap: 12px; }
.gts-vet-flag { display: inline-flex; width: fit-content; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; }
.gts-vet-flag.urgent { background: #fde8e8; color: #9f1239; }
.gts-vet-flag.watch { background: #fff4d6; color: #92400e; }
.gts-vet-flag.farm { background: #e7f6ea; color: #166534; }
.gts-vet-more { margin: 8px 0 24px; }
.gts-vet-more summary { cursor: pointer; font-weight: 800; margin-bottom: 14px; }
/* Как и у меню в полосе разделов: закрытый блок не должен оставаться отрисованным */
.gts-vet-more:not([open]) > .gts-vet-more-list { display: none; }
.gts-vet-more:not([open]) > summary { margin-bottom: 0; }
.gts-vet-detail { padding: 24px 24px 22px; }
.gts-vet-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.gts-vet-detail-head .gts-vet-eyebrow { margin: 0; }
.gts-vet-detail-head .gts-vet-flag { margin: 0; }
.gts-vet-dose { padding: 14px 0; border-top: 1px solid #eadfce; }
.gts-vet-dose h3 { margin: 0 0 6px; font-size: 17px; }
.gts-vet-block-title { margin: 8px 0 14px; }
.gts-vet-count {
    display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
    background: #e7f6ea; color: #166534; font-size: 14px; font-weight: 800; vertical-align: middle;
}
.gts-vet-group-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; }
.gts-vet-group-head img { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; }
.gts-vet-group-head p { margin: 0; color: #2d6a2d; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gts-vet-group-head h2 { margin: 2px 0 0; font-size: 26px; color: #172117; }

/* Разделы (категории) вида и пагинация */
.gts-vet-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 12px 0 30px; }
.gts-vet-cat-card { display: block; padding: 16px 16px 14px; border: 1px solid #d9e6d9; border-radius: 16px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gts-vet-cat-card:hover { border-color: #2d6a2d; box-shadow: 0 6px 18px rgba(23, 33, 23, .08); }
.gts-vet-cat-card h3 { margin: 8px 0 6px; font-size: 17px; color: #172117; }
.gts-vet-cat-card p { margin: 0; color: #4b5a4b; font-size: 13px; line-height: 1.45; }
.gts-vet-cat-count { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e7f6ea; color: #166534; font-size: 12px; font-weight: 800; }
/* Плитка темы с картинкой: изображение сверху во всю ширину, счётчик болезней остаётся видимым */
.gts-vet-cat-card--img { padding-top: 0; overflow: hidden; }
.gts-vet-cat-card--img picture { display: block; margin: 0 -16px 12px; }
.gts-vet-cat-card--img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.gts-vet-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 10px; }
.gts-vet-pagination a { padding: 8px 13px; border: 1px solid #d9e6d9; border-radius: 10px; background: #fff; color: #172117; text-decoration: none; font-weight: 700; font-size: 14px; }
.gts-vet-pagination a:hover { border-color: #2d6a2d; }
.gts-vet-pagination a.active { background: #2d6a2d; border-color: #2d6a2d; color: #fff; }
.gts-vet-dots { color: #6b7a6b; font-weight: 700; padding: 0 2px; }
.gts-vet-category .gts-vet-count { color: #166534; font-weight: 800; }

/* Блок «С чего начать» и предупреждающие метки на карточке */
.gts-vet-quick { margin: 18px 0 24px; padding: 16px 18px; border: 1px solid #e6ddc9; border-left: 4px solid #2d6a2d; border-radius: 14px; background: #fbfaf5; }
.gts-vet-quick h2 { margin: 0 0 10px; font-size: 18px; color: #172117; }
.gts-vet-quick ul { margin: 0; padding-left: 18px; }
.gts-vet-quick li { margin: 0 0 7px; line-height: 1.5; }
.gts-vet-flag.zoonoz { background: #fff1e6; color: #9a3412; }
.gts-vet-flag.quarantine { background: #fde8e8; color: #991b1b; }

/* Алфавитный указатель и сортировка в разделе */
.gts-vet-alpha { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.gts-vet-alpha a { min-width: 34px; padding: 6px 8px; border: 1px solid #d9e6d9; border-radius: 9px; background: #fff; text-align: center; text-decoration: none; color: #172117; font-weight: 700; font-size: 14px; }
.gts-vet-alpha a:hover { border-color: #2d6a2d; }
.gts-vet-alpha a.active { background: #2d6a2d; border-color: #2d6a2d; color: #fff; }
.gts-vet-sort { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; color: #4b5a4b; font-size: 14px; }
.gts-vet-sort a { color: #2d6a2d; font-weight: 700; text-decoration: none; border-bottom: 1px dashed #9dc29d; }
.gts-vet-sort a.active { color: #172117; border-bottom: 2px solid #2d6a2d; }

/* Памятки для персонала (в том числе для печати) */
.gts-vet-memo { padding: 24px; border: 1px solid #e6ddc9; border-radius: 16px; background: #fff; }
.gts-vet-memo-steps { margin: 0 0 22px; padding-left: 22px; }
.gts-vet-memo-steps li { margin-bottom: 10px; line-height: 1.6; font-size: 17px; }
.gts-vet-memo-donts { margin: 0 0 22px; padding-left: 22px; }
.gts-vet-memo-donts li { margin-bottom: 8px; line-height: 1.55; color: #7f1d1d; }
.gts-vet-memo-print button { padding: 10px 18px; border: 0; border-radius: 10px; background: #2d6a2d; color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.gts-vet-memo-print button:hover { background: #245424; }

@media print {
    header, footer, nav, .gts-vet-search, .gts-vet-subtabs, .gts-vet-hub-actions,
    .gts-vet-back, .gts-vet-memo-print { display: none !important; }
    .gts-vet-memo, .gts-vet-page, .gts-vet-container { border: 0 !important; padding: 0 !important; max-width: 100% !important; }
    .gts-vet-memo-steps li { font-size: 15pt; line-height: 1.5; }
    .gts-vet-memo h2 { font-size: 18pt; }
    body { background: #fff !important; }
}

@media (max-width: 1024px) {
    .gts-vet-page { padding: 22px 14px calc(120px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; }
    .gts-vet-container, .gts-vet-masthead, .gts-vet-masthead-copy, .gts-vet-masthead h1 { min-width: 0; max-width: 100%; }
    .gts-vet-masthead, .gts-vet-species-grid, .gts-vet-entry-grid, .gts-vet-card-grid, .gts-vet-cat-grid { grid-template-columns: 1fr; }
    .gts-vet-masthead { gap: 14px; }
    .gts-vet-search {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        gap: 8px;
    }
    .gts-vet-search input { width: 100%; min-width: 0; }
    .gts-vet-search button { width: 100%; padding: 12px 14px; min-height: 46px; }
    .gts-vet-masthead h1, .gts-vet-masthead-copy p, .gts-vet-lead {
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: normal;
    }
    .gts-vet-masthead h1 { font-size: clamp(24px, 6.8vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
    .page-veterinaru .breadcrumbs { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
    .page-veterinaru .breadcrumbs a:first-of-type,
    .page-veterinaru .breadcrumbs .separator:first-of-type { display: none; }
}

/* Живой поиск: выпадающие подсказки */
.gts-vet-search { position: relative; }
.gts-vet-suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 340px; overflow: auto; padding: 6px; border: 1px solid #d9e6d9; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(23, 33, 23, .14); text-align: left; }
.gts-vet-suggest a { display: block; padding: 9px 12px; border-radius: 10px; color: #172117; text-decoration: none; font-size: 15px; line-height: 1.35; }
.gts-vet-suggest a:hover { background: #f1f7f1; }
.gts-vet-suggest a span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: #e7f6ea; color: #166534; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gts-vet-suggest a em { color: #6b7a6b; font-style: normal; font-size: 13px; }
/* ===== Красивая подача: шаги, памятки, симптомы ===== */
.gts-vet-steps { display: grid; gap: 12px; margin: 18px 0 26px; }
.gts-vet-step { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid #e3ecdf; border-radius: 16px; background: linear-gradient(180deg, #ffffff 0%, #fbfdfa 100%); box-shadow: 0 2px 10px rgba(23, 33, 23, .04); }
.gts-vet-step-num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #2d6a2d; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.gts-vet-step-body strong { display: block; margin-bottom: 4px; font-size: 17px; color: #172117; }
.gts-vet-step-body p { margin: 0; color: #3f4c3f; line-height: 1.6; }

.gts-vet-memo { max-width: 900px; }
.gts-vet-memo-steps { list-style: none; counter-reset: memostep; margin: 0 0 26px; padding: 0; }
.gts-vet-memo-steps > li { counter-increment: memostep; position: relative; margin: 0 0 12px; padding: 14px 18px 14px 62px; border: 1px solid #e3ecdf; border-radius: 14px; background: #fff; line-height: 1.6; font-size: 16px; }
.gts-vet-memo-steps > li::before { content: counter(memostep); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #2d6a2d; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.gts-vet-memo-donts { list-style: none; margin: 0 0 24px; padding: 18px 20px; border: 1px solid #f3d6d6; border-left: 4px solid #b91c1c; border-radius: 14px; background: #fdf5f5; }
.gts-vet-memo-donts > li { position: relative; margin: 0 0 9px; padding-left: 24px; color: #7f1d1d; line-height: 1.55; }
.gts-vet-memo-donts > li:last-child { margin-bottom: 0; }
.gts-vet-memo-donts > li::before { content: '✕'; position: absolute; left: 0; top: 0; color: #b91c1c; font-weight: 800; }
.gts-vet-note-box { margin: 0 0 22px; padding: 16px 20px; border: 1px solid #eadfc4; border-left: 4px solid #b45309; border-radius: 14px; background: #fffaf0; }

/* Порядок действий на карточках, где лечения нет (карантин, уведомление, дезинфекция) */
.gts-vet-notreat-steps { list-style: none; counter-reset: notreat; display: grid; gap: 10px; margin: 0 0 20px; padding: 0; }
.gts-vet-notreat-steps > li { counter-increment: notreat; position: relative; padding: 12px 16px 12px 54px; border: 1px solid #f0e2c8; border-left: 4px solid #b45309; border-radius: 14px; background: #fffdf7; line-height: 1.55; }
.gts-vet-notreat-steps > li::before { content: counter(notreat); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #b45309; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.gts-vet-memo h2 { margin-top: 26px; }
.gts-vet-memo h2:first-of-type { margin-top: 8px; }

.gts-vet-cat-grid.gts-vet-symptom-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gts-vet-symptom-grid .gts-vet-cat-card { padding: 20px 20px 18px; }
.gts-vet-symptom-grid .gts-vet-cat-card h3 { font-size: 20px; margin: 10px 0 8px; }
.gts-vet-symptom-grid .gts-vet-cat-card p { font-size: 14px; }

@media (max-width: 640px) {
    .gts-vet-step { padding: 14px; }
    .gts-vet-memo-steps > li { padding: 12px 14px 12px 54px; }
}

/* Схема вакцинации — таймлайн */
.gts-vet-timeline { list-style: none; position: relative; margin: 4px 0 26px; padding: 0 0 0 30px; }
.gts-vet-timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: #cfe3cf; }
.gts-vet-timeline > li { position: relative; margin: 0 0 18px; padding: 14px 18px; border: 1px solid #e3ecdf; border-radius: 14px; background: #fff; line-height: 1.55; }
.gts-vet-timeline > li::before { content: ''; position: absolute; left: -27px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: #2d6a2d; box-shadow: 0 0 0 4px #eaf4ea; }
.gts-vet-timeline > li strong { display: block; margin-bottom: 4px; color: #166534; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }

/* Частые вопросы на карточке */
.gts-vet-faq { margin: 8px 0 26px; }
.gts-vet-faq-item { margin: 0 0 10px; border: 1px solid #e3ecdf; border-radius: 14px; background: #fff; overflow: hidden; }
.gts-vet-faq-item summary { padding: 14px 18px; cursor: pointer; font-weight: 700; font-size: 16px; color: #172117; list-style: none; position: relative; padding-right: 44px; }
.gts-vet-faq-item summary::-webkit-details-marker { display: none; }
.gts-vet-faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #2d6a2d; font-weight: 800; font-size: 20px; }
.gts-vet-faq-item[open] summary::after { content: '−'; }
.gts-vet-faq-item summary:hover { background: #f6faf6; }
.gts-vet-faq-item p { margin: 0; padding: 0 18px 16px; color: #3f4c3f; line-height: 1.6; }

/* Таблица сравнения состояний */
.gts-vet-compare { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.gts-vet-compare th, .gts-vet-compare td { border: 1px solid #e3ecdf; padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.5; }
.gts-vet-compare thead th { background: #f2f8f2; color: #172117; font-size: 15px; }
.gts-vet-compare tbody th { background: #fbfdfa; font-weight: 700; width: 22%; color: #172117; }
.gts-vet-compare td { color: #3f4c3f; }
@media (max-width: 760px) {
    .gts-vet-compare, .gts-vet-compare thead, .gts-vet-compare tbody, .gts-vet-compare tr, .gts-vet-compare th, .gts-vet-compare td { display: block; width: 100%; }
    .gts-vet-compare thead { display: none; }
    .gts-vet-compare tbody th { background: #f2f8f2; }
}

/* Календарь: пункты по видам животных */
.gts-vet-species-h { margin: 20px 0 8px; font-size: 18px; color: #166534; }
.gts-vet-checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.gts-vet-checklist li { position: relative; margin: 0 0 8px; padding-left: 26px; line-height: 1.55; color: #3f4c3f; }
.gts-vet-checklist li::before { content: '•'; position: absolute; left: 8px; top: 0; color: #2d6a2d; font-weight: 800; }

/* Печать карточки */
.gts-vet-print { margin: 0 0 14px; }
.gts-vet-print a, .gts-vet-print button { display: inline-block; padding: 8px 16px; border: 1px solid #cfe0cf; border-radius: 10px; background: #fff; color: #166534; font: inherit; font-weight: 600; font-size: 14px; line-height: 1.4; text-decoration: none; cursor: pointer; }
.gts-vet-print a::before, .gts-vet-print button::before { content: '⎙'; margin-right: 8px; }
.gts-vet-print a:hover, .gts-vet-print button:hover { background: #f2f8f2; }

/* Блок «Что дальше» на карточке */
.gts-vet-next { margin: 26px 0 10px; padding: 20px 22px; border: 1px solid #e3ecdf; border-radius: 16px; background: #f7fbf5; }
.gts-vet-next h2 { margin: 0 0 12px; font-size: 20px; color: #166534; }
.gts-vet-next-list { margin: 0; padding-left: 22px; }
.gts-vet-next-list li { margin: 0 0 10px; line-height: 1.6; color: #3f4c3f; }
.gts-vet-next-list li:last-child { margin-bottom: 0; }
.gts-vet-next-list strong { color: #172117; }

/* Страница «не найдено» внутри справочника */
.gts-vet-404 { padding: 22px; border: 1px solid #e3ecdf; border-radius: 16px; background: #fff; }
.gts-vet-404 h2 { margin-top: 0; }
.gts-vet-404 h3 { margin: 20px 0 10px; font-size: 18px; color: #166534; }

/* Строка-приглашение к калькуляторам потерь на главной справочника */
.gts-vet-calc-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: -6px 0 26px; padding: 18px 22px; border: 1px solid #cfe0cf; border-radius: 18px; background: linear-gradient(180deg, #f7fbf5, #eef6ec); }
.gts-vet-calc-promo strong { font-size: 17px; color: #172117; }
.gts-vet-calc-promo span { flex: 1 1 260px; color: #4c5a4e; font-size: 14px; line-height: 1.6; }
.gts-vet-calc-promo a { font-weight: 700; color: #166534; text-decoration: none; border-bottom: 1px solid rgba(22, 101, 52, .35); }
.gts-vet-calc-promo a:hover { border-bottom-color: #166534; }

/* Калькуляторы потерь: мастит, кокцидиоз, гельминты */
.gts-vet-calc { margin: 26px 0 10px; }
.gts-vet-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.gts-vet-calc-form { padding: 22px 24px; border: 1px solid #e3ecdf; border-radius: 16px; background: #fff; display: grid; gap: 14px; }
.gts-vet-calc-field { display: block; }
.gts-vet-calc-label { display: block; font-weight: 600; color: #172117; font-size: 14px; line-height: 1.45; }
.gts-vet-calc-label em { font-style: normal; color: #6b7a6b; font-weight: 500; }
.gts-vet-calc-field input { margin-top: 6px; width: 100%; padding: 10px 12px; border: 1px solid #d9e3d6; border-radius: 10px; font-size: 15px; color: #172117; background: #fbfdfa; box-sizing: border-box; }
.gts-vet-calc-field input:focus { outline: 2px solid rgba(45, 106, 45, .2); border-color: #2d6a2d; }
.gts-vet-calc-hint { display: block; margin-top: 4px; font-size: 12px; color: #6b7a6b; }
.gts-vet-calc-submit { margin-top: 4px; padding: 12px 22px; border: 0; border-radius: 12px; background: #2d6a2d; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.gts-vet-calc-submit:hover { background: #245524; }
.gts-vet-calc-out { padding: 22px 24px; border: 1px solid #e3ecdf; border-radius: 16px; background: #f7fbf5; }
.gts-vet-calc-metric { padding: 12px 0; border-bottom: 1px dashed #dbe6d8; }
.gts-vet-calc-metric:first-child { padding-top: 0; }
.gts-vet-calc-metric-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #6b7a6b; font-weight: 700; }
.gts-vet-calc-metric strong { display: block; margin-top: 4px; font-size: 22px; color: #172117; }
.gts-vet-calc-metric-hint { display: block; margin-top: 3px; font-size: 13px; color: #5d6b5d; }
.gts-vet-calc-total { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: #2d6a2d; color: #fff; }
.gts-vet-calc-total span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .72); font-weight: 700; }
.gts-vet-calc-total strong { display: block; margin-top: 4px; font-size: 28px; }
.gts-vet-calc-total p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.gts-vet-calc-bar { margin-top: 18px; display: grid; gap: 8px; }
.gts-vet-calc-bar-row { display: grid; grid-template-columns: minmax(90px, 42%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: #3f4c3f; }
.gts-vet-calc-bar-name { font-weight: 600; color: #172117; }
.gts-vet-calc-bar-track { display: block; height: 8px; border-radius: 6px; background: #e4ecdf; overflow: hidden; }
.gts-vet-calc-bar-track i { display: block; height: 100%; border-radius: 6px; }
.gts-vet-calc-bar-value { font-weight: 700; color: #172117; }
.gts-vet-calc-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #5d6b5d; }
.gts-vet-calc-steps li { line-height: 1.65; }
@media (max-width: 900px) {
    .gts-vet-calc-grid { grid-template-columns: 1fr; }
}

/* Памятка для персонала на карточке болезни */
.gts-vet-memo-links { display: grid; gap: 10px; margin: 12px 0 4px; }
.gts-vet-memo-links a { display: block; padding: 14px 18px; border: 1px solid #e3ecdf; border-radius: 14px; background: #f7fbf5; text-decoration: none; }
.gts-vet-memo-links strong { display: block; color: #166534; font-size: 16px; }
.gts-vet-memo-links span { display: block; margin-top: 4px; color: #5d6b5d; font-size: 13px; }
.gts-vet-memo-links a:hover { border-color: #2d6a2d; background: #f2f8f2; }

/* Счётчик в заголовке раздела списка памяток */
.gts-vet-group-count { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #eef6ec; color: #2d6a2d; font-size: 13px; font-weight: 700; vertical-align: middle; }

@media print {
    .gts-vet-search, .gts-vet-print, .gts-vet-back, .gts-vet-suggest, .gts-vet-hub-actions,
    .gts-vet-pagination, .gts-vet-subtabs, .gts-vet-masthead-copy p, nav, header, footer { display: none !important; }
    .gts-vet-page { padding: 0 !important; background: #fff !important; }
    .gts-vet-detail { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
    .gts-vet-faq-item { break-inside: avoid; }
    .gts-vet-next { background: #fff !important; }
    .gts-vet-calc-submit { display: none !important; }
    .gts-vet-calc-grid { grid-template-columns: 1fr !important; }
    .gts-vet-calc-promo { border: 0 !important; background: #fff !important; padding: 0 !important; }
    body { font-size: 12pt; }
}

/* Этап 11: справочник «Средства и процедуры» */
.gts-vet-tools-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.gts-vet-tools-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid #dfe4dc; border-radius: 999px; background: #fff; color: #172117; text-decoration: none; font-size: 14px; }
.gts-vet-tools-nav a:hover { border-color: #2f6b32; }
.gts-vet-tools-nav a span { color: #6b7568; font-size: 12px; }
.gts-vet-tools-group { margin: 26px 0 10px; }
.gts-vet-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.gts-vet-tool { border: 1px solid #e4e9e1; border-radius: 14px; padding: 15px 17px; background: #fff; }
.gts-vet-tool h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.gts-vet-tool h3 a { color: #172117; text-decoration: none; }
.gts-vet-tool h3 a:hover { color: #2f6b32; }
.gts-vet-tool p { margin: 0 0 9px; font-size: 14px; line-height: 1.55; color: #2b362a; }
.gts-vet-tool-how { color: #1f2a1e; }
.gts-vet-tool-caution { color: #7a4a12; }
.gts-vet-tool-species { margin: 0; color: #6b7568; font-size: 13px; }
@media (max-width: 640px) {
  .gts-vet-tools-grid { grid-template-columns: 1fr; }
}

/* Этап 15: печать страниц модуля.
   В gts-site.css есть правило печати для заказа (#zcmPrintSheet), которое
   прячет через body * всё остальное — из-за этого печать карточек и памяток
   выходила пустым листом. Возвращаем видимость контенту модуля. */
@media print {
    @page { size: A4 portrait; margin: 12mm; }
    body { background: #fff !important; }
    body * { visibility: hidden !important; }
    .gts-vet-page, .gts-vet-page * { visibility: visible !important; max-width: 100% !important; box-sizing: border-box !important; }
    .gts-vet-page {
        display: block !important;
        width: 100%;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        font-size: 11.5pt;
        line-height: 1.5;
    }
    /* служебные блоки на бумаге не нужны */
    .gts-vet-search, .gts-vet-print, .gts-vet-back, .gts-vet-suggest, .gts-vet-subtabs,
    .gts-vet-hub-actions, .gts-vet-pagination, .gts-vet-tools-nav, .gts-vet-classes,
    .gts-vet-more-list, .gts-vet-calc-promo, .gts-vet-group-count, .gts-vet-calc-form,
    .gts-vet-page > nav, .gts-vet-more,
    header, footer, nav, .burger-menu, .mobile-nav, .overlay { display: none !important; }
    /* Шапка сайта: телефон в шапке задан в gts-site.css через
       `.site-container > header.gts-top-header .mobile-header-phone
       { display:block !important; visibility:visible !important }` —
       на бумаге он вылезает пустой рамкой вверху. Перебиваем по специфичности. */
    html body .site-container > header.gts-top-header,
    html body .site-container > header.gts-top-header .mobile-header-phone,
    html body .site-container > header.gts-top-header .gts-header-actions,
    html body .site-container > header.gts-top-header .admin-door {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    /* Заголовок страницы, плитки симптомов, карточки видов и «С чего начать» —
       это содержание, а не навигация. Старый блок печати выше гасил их через
       display: none, поэтому возвращаем их явно. */
    .gts-vet-masthead, .gts-vet-masthead-copy { display: block !important; }
    .gts-vet-masthead { margin: 0 0 10pt !important; }
    .gts-vet-eyebrow { display: none !important; }
    .gts-vet-cat-grid, .gts-vet-cat-grid.gts-vet-symptom-grid,
    .gts-vet-species-grid, .gts-vet-entry-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8pt !important;
    }
    /* шаги, карточки и блоки не рвём между страницами */
    .gts-vet-memo-steps > li, .gts-vet-step, .gts-vet-tool, .gts-vet-dose, .gts-vet-faq-item,
    .gts-vet-drug-card, .gts-vet-scheme, .gts-vet-scheme-card, .gts-vet-cat-card,
    .gts-vet-child-card, .gts-vet-memo-donts li, .gts-vet-tool-caution,
    .gts-vet-species-card, .gts-vet-entry-grid > a { break-inside: avoid; page-break-inside: avoid; }
    h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
    h1 { font-size: 20pt; }
    h2 { font-size: 15pt; margin-top: 14pt; }
    h3 { font-size: 13pt; }
    /* тени и декоративные подложки на бумаге только мешают */
    .gts-vet-detail, .gts-vet-card, .gts-vet-tool, .gts-vet-memo, .gts-vet-memo-steps > li,
    .gts-vet-step, .gts-vet-dose, .gts-vet-faq-item, .gts-vet-scheme, .gts-vet-scheme-card {
        border: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    /* На бумаге частые вопросы раскрываем: ответы нужны, а нажать некому. */
    .gts-vet-faq-item::details-content { content-visibility: visible !important; }
    .gts-vet-faq-item > p { display: block !important; }
    .gts-vet-faq-item { margin-bottom: 6pt; }
    /* Плюсик «развернуть» на бумаге не нужен: ответы и так раскрыты */
    .gts-vet-faq-item > summary::after { content: '' !important; }
    /* Порядок действий в хозяйстве печатаем с номерами */
    .gts-vet-notreat-steps > li { padding-left: 42pt !important; }
    .gts-vet-notreat-steps > li::before { display: flex !important; }
    .gts-vet-memo-steps > li, .gts-vet-step { padding-left: 0 !important; }
    .gts-vet-step-num, .gts-vet-memo-steps > li::before { display: none !important; }
    /* На памятке заголовок карточки слово в слово повторяет заголовок страницы —
       на бумаге он лишний. */
    .gts-vet-memo > h2:first-of-type { display: none !important; }
    a { text-decoration: none !important; color: inherit !important; }
    .gts-vet-tools-grid { display: block !important; }
    .gts-vet-tool { margin-bottom: 10pt; }
}

@media (max-width: 1024px) {
    .page-veterinaru .site-container { overflow-x: hidden; max-width: 100vw; }
    .page-veterinaru .gts-header-logo-img { max-width: 150px; height: 40px !important; }
    .page-veterinaru .site-container header .mobile-header-phone {
        max-width: 42vw !important;
        min-width: 0 !important;
    }
    .page-veterinaru .site-container header .mobile-header-phone a {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
    }
}

.gts-vet-wait { width: 100%; max-width: 520px; border-collapse: collapse; margin: 8px 0 14px; background: #fff; }
.gts-vet-wait th, .gts-vet-wait td { border: 1px solid #e3ddd2; padding: 8px 12px; text-align: left; font-size: 15px; }
.gts-vet-wait th { background: #f4f7f2; }
