/* Основной контейнер блока */
.block-white-container {
    background-color: #ffffff;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Сетка для текста и фото (Flexbox) */
.vet-block {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

/* Адаптивность: на мобильных устройствах колонки встают друг под друга */
@media (max-width: 768px) {
    .vet-block {
        flex-direction: column-reverse; /* Сначала ставим текст, чтобы кнопка была выше в зоне видимости */
    }

    .text-start.block-link.mt-5 {
        text-align: center;
    }


}

/* Колонка с текстом */
.text-content {
    flex: 1;
    min-width: 0; /* Защита от переполнения длинным заголовком */
}

/* Заголовок */
.text-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Подзаголовок */
.text-content .subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}

/* Основной текстовый абзац */
.text-content .main-text {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Колонка с изображением */
.photo-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Стили изображения */
.img-fluid.pic-rounder {
    width: 100%;
    max-width: 500px; /* Ограничиваем ширину, чтобы картинка не растягивалась слишком сильно */
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Легкий интерактив при наведении */
.img-fluid.pic-rounder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* Основной контейнер блока */
.emergency-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Заголовок списка */
.emergency-title {
    font-size: 1.4rem;
    color: #c0392b; /* Насыщенный красный для привлечения внимания к опасности */
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    display: block;
}

/* Список состояний */
.emergency-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Элемент списка */
.emergency-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* Последняя запись без отступа снизу */
.emergency-item:last-child {
    margin-bottom: 0;
}

/* Иконка-тревога перед текстом (абсолютное позиционирование) */
.emergency-item::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.5em;
    line-height: 1;
}

/* Выделение названий болезней жирным шрифтом */
.emergency-term {
    font-weight: 600;
}

/* Пояснение к состоянию более мелким и спокойным цветом */
.emergency-desc {
    display: block;
    font-size: 0.95rem;
    color: #555;
    margin-top: 4px;
    font-style: italic;
}

/* Адаптивность под мобильные устройства */
@media (max-width: 576px) {
    .emergency-block {
        padding: 20px 15px;
    }

    .emergency-title {
        font-size: 1.2rem;
    }

    .emergency-item {
        padding-left: 45px;
        font-size: 0.95rem;
    }

    .emergency-item::before {
        font-size: 1.3em;
    }
}


/* Основной контейнер блока */
.plan-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    margin-top: 30px; /* Отступ от предыдущего экстренного блока */
}

/* Заголовок H2 */
.plan-block h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Подзаголовок-пояснение */
.plan-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 25px;
    display: block;
    font-weight: 500;
}

/* Список симптомов */
.plan-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Элемент списка */
.plan-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
    color: #34495e;
}

/* Последняя запись без отступа снизу */
.plan-item:last-child {
    margin-bottom: 0;
}

/* Иконка-часы перед текстом (абсолютное позиционирование) */
.plan-item::before {
    content: '🕒';
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 1.3em;
    line-height: 1;
}

/* Текст самого симптома */
.plan-term {
    font-weight: 500;
}

/* Адаптивность под мобильные устройства */
@media (max-width: 576px) {
    .plan-block {
        padding: 20px 15px;
    }

    .plan-block h2 {
        font-size: 1.5rem;
    }

    .plan-subtitle {
        font-size: 1rem;
    }

    .plan-item {
        padding-left: 35px;
        font-size: 0.95rem;
    }

    .plan-item::before {
        font-size: 1.2em;
    }
}


/* Сетка карточек — теперь строго 2 колонки */
.breeds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Ровно две равные колонки */
    gap: 25px;
}

/* Адаптив: на узких экранах телефоны блоки встают друг под друга */
@media (max-width: 768px) {
    .breeds-grid {
        grid-template-columns: 1fr; /* Одна колонка */
    }
}

/* Остальные стили остаются без изменений */
.breed-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.breed-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.breed-content {
    padding: 20px 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.breed-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 8px;
    line-height: 1.3;
}

.breed-examples {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-style: italic;
}

.breed-risks {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.breed-risks li {
    font-size: 0.95rem;
    color: #34495e;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.breed-risks li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db;
    font-size: 1.2em;
    font-weight: bold;
}

.breed-risks li:last-child {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .breeds-block {
        padding: 25px 15px;
    }

    .breeds-block h2 {
        font-size: 1.6rem;
    }

    .breeds-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .breed-content {
        padding: 15px 15px 20px;
    }

    .breed-title {
        font-size: 1.2rem;
    }

    .breed-risks li {
        font-size: 0.9rem;
    }
}


/* Основной контейнер */
.diagnosis-block {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Заголовок H2 */
.diagnosis-block h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Подзаголовок */
.diagnosis-subtitle {
    display: block;
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 500;
}

/* Сетка методов — адаптируется под ширину экрана */
.diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Элемент метода */
.diagnosis-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Эффект при наведении */
.diagnosis-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

/* Рамка для иконки */
.icon-frame {
    width: 70px;
    height: 70px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

/* Изменение фона рамки при наведении */
.diagnosis-item:hover .icon-frame {
    background-color: #bbdefb;
}

/* Иконка */
.diagnosis-icon {
    width: 36px;
    height: 36px;
    color: #1976d2; /* Цвет самих SVG-иконок */
    object-fit: contain;
}

/* Название метода */
.diagnosis-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0 0 12px;
    line-height: 1.4;
    font-weight: 600;
}

/* Описание метода */
.diagnosis-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Адаптивность текста */
@media (max-width: 576px) {
    .diagnosis-block {
        padding: 25px 15px;
    }

    .diagnosis-block h2 {
        font-size: 1.6rem;
    }

    .diagnosis-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .diagnosis-item {
        padding: 20px 15px;
    }

    .icon-frame {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .diagnosis-icon {
        width: 30px;
        height: 30px;
    }

    .diagnosis-title {
        font-size: 1.1rem;
    }

    .diagnosis-text {
        font-size: 0.9rem;
    }
}


/* Основной контейнер */
.treatment-block {


    padding: 40px 30px;

    margin-top: 30px;
    display: grid;
    /* На больших экранах — две колонки с соотношением примерно 1 к 1.2 */
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start; /* Выравниваем по верхнему краю, а не по центру */
}

/* Заголовок H2 над всей секцией */
.treatment-block h2 {
    grid-column: 1 / -1; /* Занимает всю ширину обеих колонок */
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Левая текстовая часть */
.treatment-text-side {
    max-width: 100%;
}

/* Подзаголовки методов (Терапия и Хирургия) внутри левого блока */
.treatment-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 700;
    position: relative;
    padding-left: 30px;
}

/* Иконка перед заголовками методов */
.treatment-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: #e3f2fd;
}

/* Специфическая иконка для хирургического блока (заменяем фон на более акцентный) */
.surgical-title::before {
    background-color: #bbdefb;
}

/* Описание терапевтического метода */
.treatment-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
    padding-left: 30px;
    font-style: italic;
}

/* Список хирургических процедур */
.treatment-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Пункт списка хирургии */
.treatment-list li {
    font-size: 0.95rem;
    color: #34495e;
    position: relative;
    padding-left: 30px;

}


/* Заголовок H2 */
.faq-section h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #1e3a8a;
    margin-bottom: 40px;
    font-weight: 600;
}

/* --- СТИЛИЗАЦИЯ ТЕГА DETAILS --- */
details {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Убираем стандартный черный треугольник справа в Webkit-браузерах */
details summary::-webkit-details-marker {
    display: none;
}
/* Для Firefox */
details > summary {
    list-style: none;
}

/* Область вопроса (заголовок аккордеона) */
summary {
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e3a8a;
    position: relative;
    outline: none;
}

/* Иконка плюса/минуса сбоку */
summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #64748b;
    transition: transform 0.3s ease;
}

/* Превращаем плюс в минус при открытии */
details[open] summary::after {
    content: '–';
    transform: translateY(-50%) rotate(0deg);
}

/* Текст ответа внутри */
details p {
    padding: 0 25px 25px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    border-top: 1px dashed #cbd5e1;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 640px) {
    .faq-section h2 {
        font-size: 1.8rem;
    }

    details summary {
        font-size: 1rem;
        padding: 18px 20px;
    }

    details p {
        padding-left: 20px;
        padding-right: 20px;
    }
}
