/* Стили для разделов Услуги / Заболевания / Диагностика */
.section--top { padding-top: 60px; padding-bottom: 80px; }

.breadcrumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 24px;
    color: var(--color-text-muted, #6b7a73);
    font-size: 14px;
}
.breadcrumbs a { color: var(--color-primary, #759283); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span:not(:first-child) { color: #c5cdc8; }

.page-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--color-heading, #1f2937);
}
.page-lead {
    max-width: 760px;
    color: var(--color-text-muted, #6b7a73);
    font-size: 17px;
    margin: 0 0 32px;
}

.tag-filter {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 32px;
}
.tag-chip {
    --tag-color: var(--color-primary, #759283);
    display: inline-flex; align-items: center;
    padding: 8px 14px;
    background: #f3f5f4;
    color: #4a5751;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, box-shadow .15s;
}
.tag-chip:hover { background: #e5ebe8; }
.tag-chip.is-active {
    background: var(--tag-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(117,146,131,.25);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.section-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid #ecefed;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(31,41,55,.10);
    border-color: #d6dedb;
}
.section-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f5f4;
}
.section-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.section-card:hover .section-card__image img { transform: scale(1.05); }
.section-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.section-card__title { margin: 0; font-size: 18px; font-weight: 700; color: #1f2937; }
.section-card__excerpt { margin: 0; color: #6b7a73; font-size: 14px; line-height: 1.5; flex: 1; }

.section-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.section-card__tag {
    --tag-color: var(--color-primary, #759283);
    display: inline-flex;
    padding: 3px 10px;
    background: rgba(117,146,131,.12);
    color: var(--tag-color);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.page-header { margin-bottom: 24px; }
.page-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.page-cover { margin: 0 0 24px; border-radius: 14px; overflow: hidden; }
.page-cover img { width: 100%; height: auto; display: block; }

.prose { max-width: 820px; line-height: 1.7; color: #2c3936; font-size: 16px; }
.prose h2 { font-size: 24px; margin: 32px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose a { color: var(--color-primary, #759283); }

.empty-state {
    padding: 40px;
    text-align: center;
    color: #6b7a73;
    background: #f9faf9;
    border-radius: 14px;
}
