.block-white-container {
    background-color: #ffffff;
    padding: 40px 0;
}


/* Сетка для текста и фото — фиксированные 50% на 50% */
.vet-block {
    display: flex;
    align-items: stretch; /* Растягиваем дочерние элементы на всю высоту контейнера */
    gap: 40px;
    justify-content: space-between;
}

/* Каждый блок занимает ровно половину ширины минус отступ (gap) */
.vet-block > * {
    flex: 1 1 0; /* grow shrink basis. 0 в основе заставляет их делиться поровну */
    min-width: 0; /* Защита от переполнения длинным заголовком или текстом */
}

/* Стили конкретно для текстовой части (если нужен отдельный контроль) */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали внутри своей половины */
}

/* Адаптивность: на мобильных устройствах колонки встают друг под друга */
@media (max-width: 768px) {
    .vet-block {
        flex-direction: column-reverse; /* Сначала ставим текст, чтобы кнопка была выше */
    }

    /* Возвращаем полную ширину блокам на мобильных */
    .vet-block > * {
        flex-basis: 100%;
    }

    .text-start.block-link.mt-5 {
        text-align: center;
    }
}



/* --- ОБЕРТКА СЕКЦИИ --- */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Заголовок 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;
    }
}


/* Основной контейнер с белым фоном */
.eyes-container {
     text-align: center;
}


/* Основной контейнер */
.flags-container {

    margin: 0 auto;
    padding: 32px 24px;

}

/* Заголовок секции */
.flags-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: #1e293b;
}

/* Вводный текст */
.flags-intro {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
    color: #475569;
    line-height: 1.6;
}

/* Сетка: 5 колонок, которые умеют адаптироваться */
.flags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

/* Карточка симптома */
.flag-item {
    text-align: center;
    padding: 20px 15px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Эффект при наведении */
.flag-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #e11d48;
}

/* Иконка */
.flag-icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

/* Заголовок пункта */
.flag-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1e293b;
}

/* Текст пункта */
.flag-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .flags-container {
        padding: 24px 16px;
    }

    .flags-title {
        font-size: 22px;
    }

    .flags-intro {
        font-size: 15px;
    }

    .flag-title {
        font-size: 15px;
    }

    .flag-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .flags-grid {
        grid-template-columns: 1fr;
    }
}


/* Основной контейнер */
.tools-clean-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
}

/* Заголовок */
.tools-clean-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1e293b;
}

/* Сетка 2х2 */
.tools-clean-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Карточка */
.clean-item {
    background-color: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Эффект при наведении */
.clean-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Картинка */
.clean-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Текстовая часть */
.clean-title {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 20px 12px 20px;
    color: #1e293b;
}

.clean-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 20px 24px 20px;
    flex-grow: 1;
}

/* Адаптивность: на мобильных — одна колонка */
@media (max-width: 768px) {
    .tools-clean-grid {
        grid-template-columns: 1fr;
    }

    .tools-clean-container {
        padding: 24px 16px;
    }

    .tools-clean-title {
        font-size: 22px;
    }

    .clean-title {
        font-size: 16px;
    }

    .clean-text {
        font-size: 14px;
    }
}


/* Основной контейнер */
.stoplist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 0 auto;
    padding: 32px 24px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
}

/* Левая колонка с текстом */
.stoplist-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Главный заголовок */
.stoplist-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e293b;
}

/* Группировка пунктов */
.stoplist-item {
    margin-bottom: 20px;
    padding-left: 0;
}

/* Последний элемент без отступа снизу */
.stoplist-item:last-child {
    margin-bottom: 0;
}

/* Заголовок пункта */
.stoplist-item-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d3748;
}

/* Текст пункта */
.stoplist-item-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Правая колонка с изображением */
.stoplist-image {
    overflow: hidden;
    border-radius: 10px;
}

.stoplist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Эффект при наведении на блок */
.stoplist-container:hover .stoplist-image img {
    transform: scale(1.05);
}

/* Адаптивность: на мобильных — одна колонка */
@media (max-width: 768px) {
    .stoplist-container {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .stoplist-image {
        order: -1; /* Ставим картинку выше текста */
        margin-bottom: 24px;
    }

    .stoplist-title {
        font-size: 22px;
        text-align: center;
    }

    .stoplist-item-title {
        font-size: 16px;
    }

    .stoplist-item-text {
        font-size: 14px;
    }
}
/* Основной контейнер */
.species-container {

    margin: 0 auto;
    padding: 32px 24px;

}

/* Заголовок */
.species-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1e293b;
}

/* Сетка 2х2 */
.species-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Карточка животного */
.species-item {
    background-color: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Эффект при наведении */
.species-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Картинка */
.species-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Название животного */
.species-name {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 20px 12px 20px;
    color: #1e293b;
}

/* Текст описания */
.species-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 20px 24px 20px;
    flex-grow: 1;
}

/* Адаптивность: на мобильных — одна колонка */
@media (max-width: 768px) {
    .species-grid {
        grid-template-columns: 1fr;
    }

    .species-container {
        padding: 24px 16px;
    }

    .species-title {
        font-size: 22px;
    }

    .species-name {
        font-size: 16px;
    }

    .species-text {
        font-size: 14px;
    }
}
