﻿/* Стили цвета и других элементов на всем сайте */
 :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --danger: #dc2626;
            --warning: #d97706;
            --success: #16a34a;
            --info: #0891b2;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --radius: 8px;
            --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
        }
/* Стили для автора статьи */

        /* ===== Блок об авторе вверху страницы с микроразметкой ===== */

.author-block {
            display: flex;
            align-items: center;
            gap: 15px;
            background: #e8f0fe;
            padding: 15px 20px;
            border-radius: 40px;
	margin: 1.0em 2% 0.5em 2%;           
        }
        .author-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #0b3954;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5em;
            flex-shrink: 0; /* Запрет сжатия */
        }
        
        /* Изображение внутри .author-image - сохраняет пропорции */
        .author-image img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover; /* Сохраняет пропорции */
            object-position: center;
        }

        /* Адаптив для мобильных устройств */
        @media (max-width: 480px) {
            .author-image {
                width: 50px;
                height: 50px;
            }
            .author-image img {
                width: 50px;
                height: 50px;
            }
        }

        /* ===== Блок об авторе внизу страницы ===== */
        .author-card {
            margin: 1.0em 2% 0.5em 2%;
            padding: 25px;
            background-color: #f0f7ff;
            border-radius: 8px;
            border: 1px solid #2c3e50;
            border-left: 4px solid #2c3e50;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            line-height: 1.5;
            color: #1e293b;
        }

        .author-card__container {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            align-items: flex-start;
        }

        /* Фото автора внизу - побольше в круге */
        .author-card__photo {
            flex: 0 0 120px;
            text-align: center;
        }

        .author-card__photo-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .author-card__photo-caption {
            margin: 10px 0 0;
            font-size: 0.85rem;
            color: #4a5568;
        }

        /* Информация про автора */
        .author-card__content {
            flex: 1;
            min-width: 260px;
        }

        .author-card__name {
            margin: 0 0 8px 0;
            font-size: 1.6rem;
            font-weight: 600;
            color: #1e293b;
            border-bottom: 2px solid #3498db;
            padding-bottom: 8px;
        }

        .author-card__title {
            margin: 0 0 12px 0;
            font-size: 1.1rem;
            font-weight: 500;
            color: #2c3e50;
        }

        .author-card__tags {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 15px 0;
        }

        .author-card__tag {
            background: #e2e8f0;
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .author-card__text {
            margin: 15px 0;
            font-size: 1rem;
        }

        .author-card__text strong {
            font-weight: 600;
        }

        .author-card__experience {
            background: white;
            padding: 15px 20px;
            border-radius: 15px;
            margin: 15px 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .author-card__experience-title {
            margin: 0 0 10px 0;
            font-weight: 600;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .author-card__experience-title span {
            font-size: 1.3rem;
        }

        .author-card__experience-list {
            margin: 0;
            padding-left: 20px;
        }

        .author-card__experience-list li {
            margin-bottom: 6px;
        }

        .author-card__principles {
            margin: 10px 0;
            font-size: 0.95rem;
            color: #334155;
        }

        .author-card__link {
            display: inline-block;
            background: #2c3e50;
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: background 0.2s;
            margin: 15px 0 0 0;
        }

        .author-card__link:hover {
            background: #1a252f;
        }

        .author-card__footer {
            margin: 20px 0 0 0;
            font-size: 0.85rem;
            color: #64748b;
            border-top: 1px dashed #cbd5e1;
            padding-top: 12px;
            text-align: center;
        }

      





/* Стили для краткого ответа */
.quick-answer {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border: 2px solid var(--primary);
            border-radius: var(--radius);
            padding: 24px;
	margin: 1.0em 2% 0.5em 2%;           
        }
                .quick-answer-label {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--primary);
	margin: 1.0em 2% 0.5em 2%;           
        }
         .quick-answer h2 {
            font-size: 1.4rem;
            color: var(--gray-900);
            margin-bottom: 12px;
            font-weight: 700;
            	margin: 0.5em 2% 0.5em 2%;
        }        
        .quick-answer p {
            font-size: 1.1rem;
        }
        .quick-answer li {
            font-size: 1.0rem;
        }
/* Стили для кнопок переходов телефона и др кнопок */
    .btn {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      text-decoration: none;
      border-radius: 4px;
      font-weight: 600;
      margin: 0.5rem;
    }

    .btn-primary {
          border: 2px solid white;
      background-color: #007bff;
      color: white;
    }

    .btn-outline {
	border: 2px solid white;
	background-color: #99CCFF;
	color: white;
}
        .btn-phone {
            display: inline-block;
            background: #0b3954;
            color: white;
            text-decoration: none;
            padding: 14px 30px;
            border-radius: 40px;
            font-weight: bold;
            font-size: 1.2em;
            margin: 15px 0;
            transition: background 0.2s;
        }
        .btn-phone:hover { background: #145a7a; }
        footer {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 2px dashed #ccd7e4;
            text-align: center;
            color: #5c6f87;
        }

/* Блок где получить помощь запись и контакты ветклиники */
.contacts {
      background: linear-gradient(145deg, #eef6fb, #ffffff);
      padding: 20px;
            margin: 1.5em 2% 0.5em 2%;
                  border-radius: 8px;
            border: 1px solid #a5f3fc;
            border-left: 4px solid #0891b2;

          }




.p-centr-ramka-seryj {
				text-align: center;
				font-size: 0.9em;
				border: 1px solid #446699;
				border-radius: var(--radius);
				background-color: #E5E5E5;
				padding: 2%;
            margin: 1.5em 2% 0.5em 2%;
}

/* Стили боксов - внимание  для маленьких сообщений в виде div внутри section */
        /* ===== ALERT BOXES ===== */
        .alert {
            padding: 16px 20px;
            border-radius: var(--radius);
            margin: 1.0em 2% 0.5em 2%;
            display: flex;
            gap: 12px;
        }
        
        .alert-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
            line-height: 1;
        }
        
        .alert-content h4 {
            font-weight: 700;
            margin-bottom: 4px;
                        margin: 0;
        }
        
        .alert-content p {
            margin: 0;
            font-size: 0.95rem;
        }
    /* Стили div важное выделение розоватым цветом */
        .alert-danger {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-left: 4px solid var(--danger);
        }
        
        .alert-danger .alert-content h4 {
            color: var(--danger);
        }
        
        .alert-warning {
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-left: 4px solid var(--warning);
        }
        
        .alert-warning .alert-content h4 {
            color: var(--warning);
        }
        
        .alert-success {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-left: 4px solid var(--success);
        }
        
        .alert-success .alert-content h4 {
            color: var(--success);
        }
/* alert-info -  предупреждение - напоминание - светло-голубой фон, боковая синяя полоса, углы*/
        .alert-info {
            background: #ecfeff;
            border: 1px solid #a5f3fc;
            border-left: 4px solid var(--info);
        }
        
        .alert-info .alert-content h4 {
            color: var(--info);
        }



        /* Стили чек листов и боксов - внимание  для списков или нескольких абзацев в виде section  */
        /* ===== Section списки чек листы ===== */

    .box {
            padding: 10px;
            border-radius: var(--radius);
            margin: 2.0em 2% 2.0em 2%;
            gap: 12px;
        }

        .box-important {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-left: 4px solid var(--danger);
        }
        .box-important .box-content h2,
        .box-important .box-content h3,
        .box-important .box-content h4 {
            color: var(--danger);
        }
        .box-attention {
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-left: 4px solid var(--warning);
        }
        .box-attention .box-content h2,
        .box-attention .box-content h3,
        .box-attention .box-content h4 {
            color: var(--warning);
        }
        .box-info {
            background: #ecfeff;
            border: 1px solid #a5f3fc;
            border-left: 4px solid var(--info);
        }
        .box-info .box-content h2,
        .box-info .box-content h3,
        .box-info .box-content h4 {
            color: var(--info);
        }
        .box-success {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-left: 4px solid var(--success);
        }

        










    /* Стили div выделение желтоватым цветом - мифы */
.myth-card {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 0px;
            margin: 1.0em 2% 0.5em 2%;
      background-color: #fff9eb;
    }









    /* Блок внутренних ссылок - общая серая плашка и белые плашки для ссылок */
        .related-articles {
            background: var(--gray-50);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius);
            padding: 24px;
            margin: 1.0em 2% 0.5em 2%;
        }
        
        .related-articles h3 {
            margin-top: 0;
            margin-bottom: 16px;
            font-size: 1.1rem;
        }
        
        .related-links {
            display: grid;
                        background: var(--gray-50);
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 10px;
            list-style: none;
            margin: 0;
        }
        
        .related-links li {
            margin: 0;
        }
        
        .related-links a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: 6px;
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .related-links a:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }
        
        .related-links a::before {
            content: '→';
            font-weight: 700;
        }
        
        /* Стили div fag частые вопросы с микроразметкой */
        .faq-item {
            background: white;
            border-radius: 16px;
            padding: 0px;
            margin: 1.0em 2% 0.5em 2%;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            border: 1px solid #edf2f7;
        }
        .faq-question {
            font-size: 1.3em;
            font-weight: 600;
            color: #0b3954;
            margin-bottom: 15px;
        }
        .faq-answer { color: #2c3e50; 
        }

    
    /* Стили таблица с подсветкой строки при наведении мыши и прокрутка для маленьких экранов */

.table-responsive {
    overflow-x: auto;          /* включает горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    margin: 20px 0;            /* сохраняем отступы, как у таблицы */
}
table.table-piro-01 {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
table.table-piro-01 th,
table.table-piro-01 td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}
table.table-piro-01 th {
    background-color: #f2f6fc;
    font-weight: 600;
    color: #0b3954;
}
table.table-piro-01 tr:hover {
    background-color: #f8fbfe;
}







    /* Стили шняга для шкалы времени */
        .timeline-segments {
            display: flex;
            width: 100%;
            height: 60px;
            margin: 1.0em 0% 0.5em 0%;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .segment {
            display: flex;
            width: 33%;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.1em;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
            transition: transform 0.2s;
            cursor: help;
        }
        .segment:hover { transform: scaleY(1.05); 
        }


        /* ===== SYMPTOMS GRID ===== */
        .symptoms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
            margin: 1.0em 2% 0.5em 2%;
        }
        
        .symptom-card {
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: var(--radius);
            padding: 16px;
            box-shadow: var(--shadow);
        }
        
        .symptom-card-icon {
            font-size: 2rem;
            margin-bottom: 8px;
        }
        
        .symptom-card h4 {
            font-size: 0.95rem;
            margin: 0 0 6px;
            color: var(--gray-900);
        }
        
        .symptom-card p {
            font-size: 0.85rem;
            color: var(--gray-600);
            margin: 0;
        }
        
        .symptom-card.urgent {
            border-color: #fca5a5;
            background: #fff5f5;
        }
        /* ===== CTA BLOCK ===== */
        .cta-block {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 32px;
            border-radius: var(--radius);
            text-align: center;
            margin: 40px 0;
        }
        
        .cta-block h3 {
            color: white;
            font-size: 1.4rem;
            margin: 0 0 12px;
				text-align: center;
        }
        
        .cta-block p {
            color: #bfdbfe;
            margin-bottom: 20px;
            				text-align: center;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 6px;
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
        }
        
        .btn-white {
            background: white;
            color: var(--primary);
        }
        
        .btn-white:hover {
            background: #eff6ff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
        .btn-danger {
            background: var(--danger);
            color: white;
        }
        
        .btn-danger:hover {
            background: #b91c1c;
            transform: translateY(-2px);
        }

        @media (max-width: 640px) {
            .timeline-segments { flex-direction: column; height: auto; }
            .segment { width: 100%; }
        }

          /* Адаптивность */
        @media (max-width: 600px) {
            .author-card__container {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .author-card__photo {
                flex: 0 0 auto;
            }

            .author-card__tags {
                justify-content: center;
            }

            .author-card__experience-title {
                justify-content: center;
            }

            .author-card__experience-list {
                text-align: left;
            }
        }

