/* Стили для страницы каталога клиник /clinics/ */

/* Стили для блока с h1 и кнопкой "На карте" */
.clinics-h1-with-button {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.clinics-h1-with-button h1 {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.clinics-map-button-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(96, 165, 250, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.clinics-map-button-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(96, 165, 250, 0.3);
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.clinics-map-button-header:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(96, 165, 250, 0.2);
}

.clinics-map-button-header svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Стили для контейнера кнопок фильтров */
.filter-buttons-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

/* На мобильных устройствах кнопки остаются на одной линии и центрируются */
@media (max-width: 768px) {
    .clinics-h1-with-button {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .clinics-h1-with-button h1 {
        width: 100%;
        font-size: 24px !important;
    }
    
    .clinics-map-button-header {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .clinics-map-button-header svg {
        width: 18px;
        height: 18px;
    }
    
    .advanced-filters {
        align-items: center;
        justify-content: center;
    }
    
    .filter-buttons-wrapper {
        width: 100% !important;
        max-width: 100%;
        justify-content: center !important;
        margin: 0 auto;
        display: flex !important;
    }
    
    .filter-buttons-wrapper .filter-reset {
        flex: 0 0 auto !important;
        white-space: nowrap;
        min-width: auto;
    }
    
    /* Если кнопок две, они не растягиваются, остаются по центру */
    .filter-buttons-wrapper .filter-reset:first-child:not(:only-child),
    .filter-buttons-wrapper .filter-reset:last-child:not(:only-child) {
        flex: 0 0 auto !important;
    }
}

/* Стили для времени открытия клиники */
.clinic-footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .clinic-footer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .clinic-footer-actions .clinic-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-buttons-wrapper {
        gap: 6px;
    }
    
    .filter-buttons-wrapper .filter-reset {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    #show-map-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Модальное окно с картой клиник */
#clinics-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#clinics-map-modal[style*="flex"] {
    display: flex !important;
}

#clinics-map-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#clinics-map-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#clinics-map-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

#clinics-map-count {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #6b7280;
}

#clinics-map-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

#clinics-map-modal-close-btn:hover {
    background: #f3f4f6;
}

#clinics-map-modal-body {
    flex: 1;
    position: relative;
    padding: 20px;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 12px;
}

.map-loading.active {
    display: flex;
}

.map-loading p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.map-loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #e5e7eb;
    border-top-color: #4F46E5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#clinics-yandex-map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Стили для рекламных баннеров на странице каталога клиник */
.ad-banner-item {
    width: 100%;
    box-sizing: border-box;
}

.ad-banner-horizontal {
    max-width: 100%;
}

.ad-banner-placeholder {
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.ad-banner-placeholder:hover {
    background-color: #e5e7eb !important;
    border-color: #9ca3af !important;
}

/* Адаптивность рекламных баннеров */
@media (max-width: 1024px) {
    .ad-banner-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .ad-banner-placeholder {
        min-height: 90px !important;
        padding: 16px !important;
    }
    
    .ad-banner-placeholder svg {
        width: 40px !important;
        height: 40px !important;
    }
    
    .ad-banner-placeholder p {
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
    .ad-banner-placeholder {
        min-height: 80px !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    .ad-banner-placeholder svg {
        width: 36px !important;
        height: 36px !important;
        margin-bottom: 8px !important;
    }
    
    .ad-banner-placeholder p {
        font-size: 11px !important;
    }
    
    .ad-banner-item {
        margin: 20px 0 !important;
    }
}

@media (max-width: 480px) {
    .ad-banner-placeholder {
        min-height: 70px !important;
        padding: 10px !important;
    }
    
    .ad-banner-placeholder svg {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 6px !important;
    }
    
    .ad-banner-placeholder p {
        font-size: 10px !important;
    }
}

/* Единые стили для всех grid-блоков со ссылками внизу страницы - 100% ширина на мобильных */
@media (max-width: 768px) {
    .disease-okrug-rayons-grid,
    .other-diseases-okrug-grid,
    .service-rayon-metro-grid,
    .service-rayon-diseases-grid,
    .nearby-rayons-grid,
    .disease-rayon-metro-grid,
    .filter-rayon-metro-grid,
    .other-diseases-rayon-grid,
    .other-diseases-metro-grid,
    .disease-okrugs-grid,
    .filter-okrugs-grid,
    .filter-okrug-rayons-grid,
    .other-diseases-grid,
    .diseases-grid,
    .service-diseases-grid,
    .service-okrugs-grid,
    .filter-metro-nearby-grid,
    .okrug-rayons-grid,
    .rayon-metro-grid,
    .rayon-diseases-grid,
    .okrug-services-grid,
    .okrug-diseases-grid,
    .rayon-services-grid,
    .service-okrug-diseases-grid,
    .other-metro-services-grid,
    .other-metro-stations-grid,
    .other-okrug-services-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Стили для ссылок в flex-блоках внизу страницы */
    .bottom-links-flex-container > .bottom-link-item {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    /* Старый класс для обратной совместимости */
    .nearby-metro-link {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    /* Адаптивные стили для премиум баннеров на странице каталога - мобильная версия (1 в ряд) */
    .premium-banners-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .premium-banners-section {
        padding: 16px !important;
        margin-bottom: 24px !important;
    }
}

/* Стили для баннера экстренной помощи */
.emergency-help-banner {
    margin: 28px 0 32px 0 !important;
    position: relative !important;
}

.emergency-help-banner-container {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 50%, #FEE2E2 100%) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    border: 2px solid #FCA5A5 !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
}

.emergency-help-banner-decoration-1 {
    position: absolute !important;
    top: -20px !important;
    right: -20px !important;
    width: 120px !important;
    height: 120px !important;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%) !important;
    border-radius: 50% !important;
}

.emergency-help-banner-decoration-2 {
    position: absolute !important;
    bottom: -25px !important;
    left: -25px !important;
    width: 100px !important;
    height: 100px !important;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%) !important;
    border-radius: 50% !important;
}

.emergency-help-banner-content {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
}

.emergency-help-banner-buttons {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 1000px !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    margin: 0 auto !important;
    align-items: stretch !important;
}

#emergencyHelpButton {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyHelpButton:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

#emergencyHelpButton:active {
    transform: translateY(0) !important;
}

#emergencyHelpButton svg {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

#emergencyMapButton {
    background: white !important;
    color: #EF4444 !important;
    border: 2px solid #EF4444 !important;
    padding: 14px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyMapButton::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%) !important;
    transition: width 0.3s ease !important;
    z-index: 0 !important;
}

#emergencyMapButton:hover::before {
    width: 100% !important;
}

#emergencyMapButton:hover {
    border-color: #DC2626 !important;
    color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3) !important;
}

#emergencyMapButton:active {
    transform: translateY(0) !important;
}

#emergencyMapButton span,
#emergencyMapButton svg {
    position: relative !important;
    z-index: 1 !important;
}

#emergencyMapButton svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Стили для кнопок округов (используют те же стили, что и кнопки районов) */
#emergencyHelpButtonOkrug {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyHelpButtonOkrug:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

#emergencyHelpButtonOkrug:active {
    transform: translateY(0) !important;
}

#emergencyHelpButtonOkrug svg {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

#emergencyMapButtonOkrug {
    background: white !important;
    color: #EF4444 !important;
    border: 2px solid #EF4444 !important;
    padding: 14px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyMapButtonOkrug::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%) !important;
    transition: width 0.3s ease !important;
    z-index: 0 !important;
}

#emergencyMapButtonOkrug:hover::before {
    width: 100% !important;
}

#emergencyMapButtonOkrug:hover {
    border-color: #DC2626 !important;
    color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3) !important;
}

#emergencyMapButtonOkrug:active {
    transform: translateY(0) !important;
}

#emergencyMapButtonOkrug span,
#emergencyMapButtonOkrug svg {
    position: relative !important;
    z-index: 1 !important;
}

#emergencyMapButtonOkrug svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Стили для кнопок метро (используют те же стили, что и кнопки районов и округов) */
#emergencyHelpButtonMetro {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyHelpButtonMetro:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

#emergencyHelpButtonMetro:active {
    transform: translateY(0) !important;
}

#emergencyHelpButtonMetro svg {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

#emergencyMapButtonMetro {
    background: white !important;
    color: #EF4444 !important;
    border: 2px solid #EF4444 !important;
    padding: 14px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#emergencyMapButtonMetro::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%) !important;
    transition: width 0.3s ease !important;
    z-index: 0 !important;
}

#emergencyMapButtonMetro:hover::before {
    width: 100% !important;
}

#emergencyMapButtonMetro:hover {
    border-color: #DC2626 !important;
    color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3) !important;
}

#emergencyMapButtonMetro:active {
    transform: translateY(0) !important;
}

#emergencyMapButtonMetro span,
#emergencyMapButtonMetro svg {
    position: relative !important;
    z-index: 1 !important;
}

#emergencyMapButtonMetro svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Стили для кнопок вызова врача на дом (используют те же стили, что и кнопки экстренной помощи) */
#houseCallHelpButton,
#houseCallHelpButtonOkrug,
#houseCallHelpButtonMetro {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#houseCallHelpButton:hover,
#houseCallHelpButtonOkrug:hover,
#houseCallHelpButtonMetro:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

#houseCallHelpButton:active,
#houseCallHelpButtonOkrug:active,
#houseCallHelpButtonMetro:active {
    transform: translateY(0) !important;
}

#houseCallHelpButton svg,
#houseCallHelpButtonOkrug svg,
#houseCallHelpButtonMetro svg {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

#houseCallMapButton,
#houseCallMapButtonOkrug,
#houseCallMapButtonMetro {
    background: white !important;
    color: #EF4444 !important;
    border: 2px solid #EF4444 !important;
    padding: 14px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#houseCallMapButton::before,
#houseCallMapButtonOkrug::before,
#houseCallMapButtonMetro::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%) !important;
    transition: width 0.3s ease !important;
    z-index: 0 !important;
}

#houseCallMapButton:hover::before,
#houseCallMapButtonOkrug:hover::before,
#houseCallMapButtonMetro:hover::before {
    width: 100% !important;
}

#houseCallMapButton:hover,
#houseCallMapButtonOkrug:hover,
#houseCallMapButtonMetro:hover {
    border-color: #DC2626 !important;
    color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3) !important;
}

#houseCallMapButton:active,
#houseCallMapButtonOkrug:active,
#houseCallMapButtonMetro:active {
    transform: translateY(0) !important;
}

#houseCallMapButton span,
#houseCallMapButton svg,
#houseCallMapButtonOkrug span,
#houseCallMapButtonOkrug svg,
#houseCallMapButtonMetro span,
#houseCallMapButtonMetro svg {
    position: relative !important;
    z-index: 1 !important;
}

#houseCallMapButton svg,
#houseCallMapButtonOkrug svg,
#houseCallMapButtonMetro svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Стили для кнопок круглосуточных клиник и клиник, открытых сейчас */
#help24hButton,
#help24hButtonOkrug,
#help24hButtonMetro,
#helpOpenNowButton,
#helpOpenNowButtonOkrug,
#helpOpenNowButtonMetro,
#helpMetroButton,
#helpRayonButton,
#helpOkrugButton,
#helpLabButton,
#helpLabButtonOkrug,
#helpLabButtonMetro {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 200px !important;
    max-width: calc(70% - 6px) !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    width: auto !important;
    text-align: center !important;
}

#help24hButton span,
#help24hButtonOkrug span,
#help24hButtonMetro span,
#helpOpenNowButton span,
#helpOpenNowButtonOkrug span,
#helpOpenNowButtonMetro span,
#helpMetroButton span,
#helpRayonButton span,
#helpOkrugButton span,
#helpLabButton span,
#helpLabButtonOkrug span,
#helpLabButtonMetro span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#help24hButton:hover,
#help24hButtonOkrug:hover,
#help24hButtonMetro:hover,
#helpOpenNowButton:hover,
#helpOpenNowButtonOkrug:hover,
#helpOpenNowButtonMetro:hover,
#helpMetroButton:hover,
#helpRayonButton:hover,
#helpOkrugButton:hover,
#helpLabButton:hover,
#helpLabButtonOkrug:hover,
#helpLabButtonMetro:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
}

#help24hButton:active,
#help24hButtonOkrug:active,
#help24hButtonMetro:active,
#helpOpenNowButton:active,
#helpOpenNowButtonOkrug:active,
#helpOpenNowButtonMetro:active,
#helpMetroButton:active,
#helpRayonButton:active,
#helpOkrugButton:active,
#helpLabButton:active,
#helpLabButtonOkrug:active,
#helpLabButtonMetro:active {
    transform: translateY(0) !important;
}

#help24hButton svg,
#help24hButtonOkrug svg,
#help24hButtonMetro svg,
#helpOpenNowButton svg,
#helpOpenNowButtonOkrug svg,
#helpOpenNowButtonMetro svg,
#helpLabButton svg,
#helpLabButtonOkrug svg,
#helpLabButtonMetro svg {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

#map24hButton,
#map24hButtonOkrug,
#map24hButtonMetro,
#mapOpenNowButton,
#mapOpenNowButtonOkrug,
#mapOpenNowButtonMetro,
#mapMetroButton,
#mapRayonButton,
#mapOkrugButton,
#mapLabButton,
#mapLabButtonOkrug,
#mapLabButtonMetro {
    background: white !important;
    color: #3B82F6 !important;
    border: 2px solid #3B82F6 !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 1 auto !important;
    min-width: 140px !important;
    max-width: calc(30% - 6px) !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    width: auto !important;
    text-align: center !important;
}

#map24hButton span,
#map24hButtonOkrug span,
#map24hButtonMetro span,
#mapOpenNowButton span,
#mapOpenNowButtonOkrug span,
#mapOpenNowButtonMetro span,
#mapMetroButton span,
#mapRayonButton span,
#mapOkrugButton span,
#mapLabButton span,
#mapLabButtonOkrug span,
#mapLabButtonMetro span {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

#map24hButton:hover,
#map24hButtonOkrug:hover,
#map24hButtonMetro:hover,
#mapOpenNowButton:hover,
#mapOpenNowButtonOkrug:hover,
#mapOpenNowButtonMetro:hover,
#mapMetroButton:hover,
#mapRayonButton:hover,
#mapOkrugButton:hover,
#mapLabButton:hover,
#mapLabButtonOkrug:hover,
#mapLabButtonMetro:hover {
    border-color: #2563EB !important;
    color: #2563EB !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3) !important;
}

#map24hButton:active,
#map24hButtonOkrug:active,
#map24hButtonMetro:active,
#mapOpenNowButton:active,
#mapOpenNowButtonOkrug:active,
#mapOpenNowButtonMetro:active,
#mapMetroButton:active,
#mapRayonButton:active,
#mapOkrugButton:active,
#mapLabButton:active,
#mapLabButtonOkrug:active,
#mapLabButtonMetro:active {
    transform: translateY(0) !important;
}

#map24hButton span,
#map24hButtonOkrug span,
#map24hButtonMetro span,
#map24hButton svg,
#map24hButtonOkrug svg,
#map24hButtonMetro svg,
#mapOpenNowButton span,
#mapOpenNowButtonOkrug span,
#mapOpenNowButtonMetro span,
#mapOpenNowButton svg,
#mapOpenNowButtonOkrug svg,
#mapOpenNowButtonMetro svg,
#mapMetroButton span,
#mapMetroButton svg,
#mapRayonButton span,
#mapRayonButton svg,
#mapOkrugButton span,
#mapOkrugButton svg,
#mapLabButton span,
#mapLabButton svg,
#mapLabButtonOkrug span,
#mapLabButtonOkrug svg,
#mapLabButtonMetro span,
#mapLabButtonMetro svg {
    position: relative !important;
    z-index: 1 !important;
}

#map24hButton span,
#map24hButtonOkrug span,
#map24hButtonMetro span,
#mapOpenNowButton span,
#mapOpenNowButtonOkrug span,
#mapOpenNowButtonMetro span,
#mapMetroButton span,
#mapLabButton span,
#mapLabButtonOkrug span,
#mapLabButtonMetro span {
    white-space: nowrap !important;
}

#map24hButton svg,
#map24hButtonOkrug svg,
#map24hButtonMetro svg,
#mapOpenNowButton svg,
#mapOpenNowButtonOkrug svg,
#mapOpenNowButtonMetro svg,
#mapMetroButton svg,
#mapRayonButton svg,
#mapOkrugButton svg,
#mapLabButton svg,
#mapLabButtonOkrug svg,
#mapLabButtonMetro svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* Мобильные стили для кнопок круглосуточных клиник и клиник, открытых сейчас */
@media (max-width: 768px) {
    #help24hButton,
    #help24hButtonOkrug,
    #help24hButtonMetro,
    #map24hButton,
    #map24hButtonOkrug,
    #map24hButtonMetro,
    #helpOpenNowButton,
    #helpOpenNowButtonOkrug,
    #helpOpenNowButtonMetro,
    #mapOpenNowButton,
    #mapOpenNowButtonOkrug,
    #mapOpenNowButtonMetro,
    #helpMetroButton,
    #mapMetroButton,
    #helpRayonButton,
    #mapRayonButton,
    #helpOkrugButton,
    #mapOkrugButton,
    #helpLabButton,
    #helpLabButtonOkrug,
    #helpLabButtonMetro,
    #mapLabButton,
    #mapLabButtonOkrug,
    #mapLabButtonMetro {
        padding: 14px 20px !important;
        font-size: 15px !important;
        width: auto !important;
        flex: 0 1 auto !important;
        min-width: 150px !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        gap: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #help24hButton svg,
    #map24hButton svg,
    #help24hButtonOkrug svg,
    #map24hButtonOkrug svg,
    #help24hButtonMetro svg,
    #map24hButtonMetro svg,
    #helpOpenNowButton svg,
    #mapOpenNowButton svg,
    #helpOpenNowButtonOkrug svg,
    #mapOpenNowButtonOkrug svg,
    #helpOpenNowButtonMetro svg,
    #mapOpenNowButtonMetro svg,
    #helpMetroButton svg,
    #mapMetroButton svg,
    #helpRayonButton svg,
    #mapRayonButton svg,
    #helpOkrugButton svg,
    #mapOkrugButton svg,
    #helpLabButton svg,
    #mapLabButton svg,
    #helpLabButtonOkrug svg,
    #mapLabButtonOkrug svg,
    #helpLabButtonMetro svg,
    #mapLabButtonMetro svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }

    #help24hButton span,
    #map24hButton span,
    #help24hButtonOkrug span,
    #map24hButtonOkrug span,
    #help24hButtonMetro span,
    #map24hButtonMetro span,
    #helpOpenNowButton span,
    #mapOpenNowButton span,
    #helpOpenNowButtonOkrug span,
    #mapOpenNowButtonOkrug span,
    #helpOpenNowButtonMetro span,
    #mapOpenNowButtonMetro span,
    #helpMetroButton span,
    #mapMetroButton span,
    #helpRayonButton span,
    #mapRayonButton span,
    #helpOkrugButton span,
    #mapOkrugButton span {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 480px) {
    #help24hButton,
    #help24hButtonOkrug,
    #help24hButtonMetro,
    #map24hButton,
    #map24hButtonOkrug,
    #map24hButtonMetro,
    #helpOpenNowButton,
    #helpOpenNowButtonOkrug,
    #helpOpenNowButtonMetro,
    #mapOpenNowButton,
    #mapOpenNowButtonOkrug,
    #mapOpenNowButtonMetro,
    #helpMetroButton,
    #mapMetroButton,
    #helpRayonButton,
    #mapRayonButton {
        padding: 12px 16px !important;
        font-size: 14px !important;
        min-height: 44px !important;
        height: 44px !important;
        gap: 6px !important;
    }
}

.emergency-help-banner-info {
    margin: 0 !important;
    font-size: 13px !important;
    color: #7f1d1d !important;
    text-align: center !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.emergency-help-banner-info svg {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    width: 14px !important;
    height: 14px !important;
    color: #DC2626 !important;
}


@media (max-width: 768px) {
    .emergency-help-banner {
        margin: 20px -15px 24px -15px !important;
    }
    
    .emergency-help-banner-container {
        border-radius: 10px !important;
        padding: 14px 16px !important;
    }
    
    .emergency-help-banner-content {
        gap: 10px !important;
    }
    
    .emergency-help-banner-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
    }
    
    #help24hButton,
    #help24hButtonOkrug,
    #help24hButtonMetro,
    #helpOpenNowButton,
    #helpOpenNowButtonOkrug,
    #helpOpenNowButtonMetro,
    #helpMetroButton,
    #helpRayonButton,
    #helpOkrugButton,
    #map24hButton,
    #map24hButtonOkrug,
    #map24hButtonMetro,
    #mapOpenNowButton,
    #mapOpenNowButtonOkrug,
    #mapOpenNowButtonMetro,
    #mapMetroButton,
    #mapRayonButton,
    #mapOkrugButton {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #emergencyHelpButton,
    #emergencyHelpButtonOkrug,
    #emergencyHelpButtonMetro,
    #houseCallHelpButton,
    #houseCallHelpButtonOkrug,
    #houseCallHelpButtonMetro {
        padding: 14px 20px !important;
        font-size: 15px !important;
        width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        gap: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #emergencyMapButton,
    #emergencyMapButtonOkrug,
    #emergencyMapButtonMetro,
    #houseCallMapButton,
    #houseCallMapButtonOkrug,
    #houseCallMapButtonMetro {
        padding: 14px 20px !important;
        font-size: 15px !important;
        width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        gap: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #emergencyHelpButton svg,
    #emergencyMapButton svg,
    #emergencyHelpButtonOkrug svg,
    #emergencyMapButtonOkrug svg,
    #emergencyHelpButtonMetro svg,
    #emergencyMapButtonMetro svg,
    #houseCallHelpButton svg,
    #houseCallMapButton svg,
    #houseCallHelpButtonOkrug svg,
    #houseCallMapButtonOkrug svg,
    #houseCallHelpButtonMetro svg,
    #houseCallMapButtonMetro svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    #emergencyHelpButton span,
    #emergencyMapButton span,
    #emergencyHelpButtonOkrug span,
    #emergencyMapButtonOkrug span,
    #emergencyHelpButtonMetro span,
    #emergencyMapButtonMetro span,
    #houseCallHelpButton span,
    #houseCallMapButton span,
    #houseCallHelpButtonOkrug span,
    #houseCallMapButtonOkrug span,
    #houseCallHelpButtonMetro span,
    #houseCallMapButtonMetro span {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .emergency-help-banner-info {
        font-size: 11px !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .emergency-help-banner {
        margin: 16px -15px 20px -15px !important;
    }
    
    .emergency-help-banner-container {
        padding: 12px 14px !important;
    }
    
    .emergency-help-banner-content {
        gap: 10px !important;
    }
    
    .emergency-help-banner-buttons {
        gap: 10px !important;
    }
    
    #emergencyHelpButton,
    #emergencyHelpButtonOkrug,
    #emergencyHelpButtonMetro,
    #houseCallHelpButton,
    #houseCallHelpButtonOkrug,
    #houseCallHelpButtonMetro {
        padding: 12px 16px !important;
        font-size: 14px !important;
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        gap: 6px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #emergencyMapButton,
    #emergencyMapButtonOkrug,
    #emergencyMapButtonMetro,
    #houseCallMapButton,
    #houseCallMapButtonOkrug,
    #houseCallMapButtonMetro {
        padding: 12px 16px !important;
        font-size: 14px !important;
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        gap: 6px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #emergencyHelpButton svg,
    #emergencyMapButton svg,
    #emergencyHelpButtonOkrug svg,
    #emergencyMapButtonOkrug svg,
    #emergencyHelpButtonMetro svg,
    #emergencyMapButtonMetro svg,
    #houseCallHelpButton svg,
    #houseCallMapButton svg,
    #houseCallHelpButtonOkrug svg,
    #houseCallMapButtonOkrug svg,
    #houseCallHelpButtonMetro svg,
    #houseCallMapButtonMetro svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    #emergencyHelpButton span,
    #emergencyMapButton span,
    #emergencyHelpButtonOkrug span,
    #emergencyMapButtonOkrug span,
    #emergencyHelpButtonMetro span,
    #emergencyMapButtonMetro span,
    #houseCallHelpButton span,
    #houseCallMapButton span,
    #houseCallHelpButtonOkrug span,
    #houseCallMapButtonOkrug span,
    #houseCallHelpButtonMetro span,
    #houseCallMapButtonMetro span {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .emergency-help-banner-info {
        font-size: 10px !important;
    }
}

/* Стили для модального окна экстренной помощи */
.emergency-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 10000 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    animation: fadeIn 0.3s ease !important;
}

.emergency-modal[style*="flex"] {
    display: flex !important;
}

.emergency-modal-content {
    background: white !important;
    border-radius: 24px !important;
    max-width: 560px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    animation: slideUp 0.3s ease !important;
}

.emergency-modal-header {
    padding: 28px 28px 24px 28px !important;
    border-bottom: 1px solid #e5e7eb !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%) !important;
    border-radius: 24px 24px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.emergency-modal-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.1) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

.emergency-modal-header-content {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    position: relative !important;
    z-index: 1 !important;
}

.emergency-modal-icon {
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4) !important;
}

.emergency-modal-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: white !important;
}

.emergency-modal-title {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
}

.emergency-modal-close {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    font-size: 26px !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    line-height: 1 !important;
}

.emergency-modal-close:hover {
    background: white !important;
    color: #1f2937 !important;
    transform: scale(1.1) !important;
}

#emergencyModalContent,
#houseCallModalContent,
#modal24hContent,
#modalOpenNowContent,
#modalMetroContent,
#modalRayonContent,
#modalOkrugContent,
#modalLaboratoryContent {
    padding: 28px !important;
}


.emergency-clinic-header {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 28px !important;
    border: 1px solid #FECACA !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.08) !important;
}

.emergency-clinic-header h3 {
    margin: 0 0 10px 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
}

.emergency-clinic-header p {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
}

.emergency-section-title {
    margin: 0 0 16px 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.emergency-section-title svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    color: #EF4444 !important;
}

.phone-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s ease !important;
}

.phone-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    border-color: #d1d5db !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.phone-item-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.phone-item-number {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 6px !important;
    word-break: break-all !important;
    letter-spacing: 0.5px !important;
}

.phone-item-type {
    font-size: 12px !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-weight: 600 !important;
}

.phone-call-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.phone-call-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.phone-call-button svg {
    width: 24px !important;
    height: 24px !important;
}

.phone-call-button.clinic-call-button-disabled {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    pointer-events: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #e5e7eb !important;
}

.phone-call-button.clinic-call-button-disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Стили для статуса работы клиники рядом с кнопкой "Позвонить" */
.clinic-call-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    margin-top: 6px !important;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border-radius: 6px !important;
    line-height: 1.4 !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.clinic-call-status:empty {
    display: none !important;
}

.clinic-call-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    flex-shrink: 0;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.clinic-call-status[data-status="closed"]::before {
    background: #ef4444;
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 768px) {
    .clinic-call-status {
        font-size: 12px !important;
        padding: 8px 14px !important;
        gap: 6px !important;
        border-radius: 8px !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .clinic-call-status::before {
        width: 6px;
        height: 6px;
    }
}

.address-item {
    padding: 14px 16px !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    transition: all 0.2s ease !important;
}

.address-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    transform: translateX(2px) !important;
}

.address-item svg {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    color: #EF4444 !important;
    margin-top: 2px !important;
}

.emergency-call-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: white !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45) !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.3px !important;
}

.emergency-call-button span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.emergency-call-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.55) !important;
}

.emergency-call-button:active {
    transform: translateY(0) !important;
}

.emergency-call-button svg {
    flex-shrink: 0 !important;
    width: 26px !important;
    height: 26px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .emergency-modal {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    
    .emergency-modal-content {
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        max-height: 90vh !important;
        animation: slideUpMobile 0.3s ease !important;
    }
    
    .emergency-modal-header {
        padding: 22px 20px 18px 20px !important;
        border-radius: 24px 24px 0 0 !important;
    }
    
    .emergency-modal-title {
        font-size: 20px !important;
    }
    
    .emergency-modal-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .emergency-modal-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    #emergencyModalContent,
    #houseCallModalContent,
    #modal24hContent,
    #modalOpenNowContent,
    #modalMetroContent,
    #modalLaboratoryContent {
        padding: 22px 20px !important;
    }
    
    .emergency-clinic-header {
        padding: 20px !important;
        margin-bottom: 24px !important;
    }
    
    .emergency-clinic-header h3 {
        font-size: 20px !important;
    }
    
    .phone-item {
        padding: 14px !important;
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
    }
    
    .phone-item-content {
        width: 100% !important;
        text-align: center !important;
    }
    
    .phone-item-number {
        font-size: 18px !important;
    }
    
    .phone-call-button {
        width: 100% !important;
        height: 52px !important;
    }
    
    .emergency-call-button {
        padding: 18px !important;
        font-size: 18px !important;
    }
    
    .emergency-call-button svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .emergency-modal-header {
        padding: 18px 16px 16px 16px !important;
    }
    
    .emergency-modal-title {
        font-size: 18px !important;
    }
    
    .emergency-modal-icon {
        width: 36px !important;
        height: 36px !important;
    }
    
    #emergencyModalContent,
    #houseCallModalContent,
    #modal24hContent,
    #modalOpenNowContent,
    #modalMetroContent,
    #modalLaboratoryContent {
        padding: 18px 16px !important;
    }
    
    .emergency-clinic-header {
        padding: 18px !important;
    }
    
    .emergency-clinic-header h3 {
        font-size: 18px !important;
    }
    
    .phone-item {
        padding: 12px !important;
    }
    
    .phone-item-number {
        font-size: 17px !important;
    }
    
    .phone-call-button {
        height: 48px !important;
    }
    
    .emergency-call-button {
        padding: 16px !important;
        font-size: 17px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .emergency-call-button span {
        text-align: center !important;
    }
}

/* Стили для геолокации */

/* Кнопка "Рядом со мной" */
#nearby-me-btn {
    transition: all 0.2s ease;
}

#nearby-me-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

#nearby-me-btn:active {
    transform: translateY(0);
}

/* Модальное окно геолокации */
.geolocation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.geolocation-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: geolocationModalFadeIn 0.3s ease;
}

@keyframes geolocationModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.geolocation-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.geolocation-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.geolocation-close-button {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.geolocation-close-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.geolocation-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.geolocation-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.geolocation-screen {
    padding: 32px;
}

.geolocation-screen h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.geolocation-description {
    margin: 0 0 24px 0;
    color: #6b7280;
    font-size: 14px;
}

/* Методы определения местоположения */
.geolocation-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.geolocation-method-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.geolocation-method-btn:hover {
    border-color: #10B981;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.geolocation-method-btn svg {
    flex-shrink: 0;
    color: #10B981;
}

.geolocation-method-btn div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.geolocation-method-btn strong {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.geolocation-method-btn span {
    font-size: 13px;
    color: #6b7280;
}

/* Индикатор загрузки */
.geolocation-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
}

.geolocation-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #10B981;
    border-radius: 50%;
    animation: geolocationSpinner 0.8s linear infinite;
}

@keyframes geolocationSpinner {
    to {
        transform: rotate(360deg);
    }
}

.geolocation-loading-message {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Ручной ввод */
.geolocation-manual-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.geolocation-input-group {
    position: relative;
}

.geolocation-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.geolocation-input,
.geolocation-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.geolocation-input:focus,
.geolocation-select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Автодополнение */
.geolocation-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.geolocation-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.geolocation-autocomplete-item:hover {
    background: #f3f4f6;
}

.geolocation-autocomplete-item:first-child {
    border-top: 1px solid #e5e7eb;
}

/* Кнопка применения */
.geolocation-apply-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.geolocation-apply-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.geolocation-apply-btn:active {
    transform: translateY(0);
}

.geolocation-map-picker-btn {
    width: 100%;
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.geolocation-map-picker-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.geolocation-map-picker-btn-active {
    background: #ecfdf5;
    border-color: #10B981;
    color: #059669;
}

.geolocation-map-picker-btn-active:hover {
    background: #d1fae5;
    border-color: #059669;
}

.geolocation-map-picker-btn svg {
    flex-shrink: 0;
}

#geolocation-map-container {
    width: 100%;
    height: 400px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin: 16px 0;
}

#geolocation-map-coordinates {
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #374151;
}

#geolocation-map-coordinates strong {
    color: #111827;
}

.geolocation-screen h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* Экран выбора на карте */
.geolocation-map-picker-screen {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh;
}

.geolocation-map-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.geolocation-map-picker-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.geolocation-map-cancel-btn {
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geolocation-map-cancel-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Выравнивание кнопок в подвале карты */
.geolocation-map-picker-footer .geolocation-apply-btn {
    width: auto;
    min-width: 120px;
    height: 44px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geolocation-map-search-container {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.geolocation-map-search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.geolocation-map-search-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.geolocation-map-search-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.geolocation-map-search-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.geolocation-map-search-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.geolocation-map-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.geolocation-map-container-fullscreen {
    flex: 1;
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 0;
    margin: 0;
}

.geolocation-map-picker-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.geolocation-spinner {
    animation: geolocation-spin 1s linear infinite;
}

@keyframes geolocation-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .geolocation-map-picker-header {
        padding: 16px;
    }
    
    .geolocation-map-picker-header h4 {
        font-size: 16px;
    }
    
    .geolocation-map-search-container {
        padding: 12px 16px;
    }
    
    .geolocation-map-picker-footer {
        flex-direction: row;
        padding: 12px 16px;
        justify-content: space-between;
    }
    
    .geolocation-map-coordinates {
        width: 100%;
    }
    
    .geolocation-map-container-fullscreen {
        min-height: 300px;
    }
}

/* Сообщение об ошибке */
.geolocation-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
}

/* Уведомление о местоположении */
.geolocation-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    animation: geolocationNotificationSlideIn 0.3s ease;
    max-width: 350px;
}

@keyframes geolocationNotificationSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.geolocation-notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 12px;
}

.geolocation-notification-content span {
    font-size: 14px;
    color: #374151;
    flex: 1;
}

.geolocation-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.geolocation-notification-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Адаптивность */
@media (max-width: 768px) {
    .geolocation-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .geolocation-screen {
        padding: 24px 20px;
    }
    
    .geolocation-screen h2 {
        font-size: 20px;
    }
    
    .geolocation-method-btn {
        padding: 14px;
    }
    
    .geolocation-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .geolocation-screen {
        padding: 20px 16px;
    }
    
    .geolocation-method-btn {
        flex-direction: column;
        text-align: center;
    }
    
    .geolocation-method-btn div {
        align-items: center;
    }
}

/* Стили для автодополнения адресов */

.address-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.address-autocomplete-loader {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.address-autocomplete-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #10B981;
    border-radius: 50%;
    animation: geolocationSpinner 0.8s linear infinite;
}

.address-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
}

.address-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.address-autocomplete-item:last-child {
    border-bottom: none;
}

.address-autocomplete-item:hover,
.address-autocomplete-item.highlighted {
    background: #f0fdf4;
    color: #059669;
}

.address-autocomplete-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.address-autocomplete-text {
    flex: 1;
    min-width: 0;
}

.address-autocomplete-text mark {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.address-autocomplete-source {
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.address-autocomplete-no-results,
.address-autocomplete-error {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.address-autocomplete-error {
    color: #dc2626;
}

.address-autocomplete-map-btn {
    margin-top: 12px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.address-autocomplete-map-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.address-autocomplete-map-btn svg {
    flex-shrink: 0;
}

/* Адаптивность для автодополнения */
@media (max-width: 768px) {
    .address-autocomplete-suggestions {
        max-height: 250px;
    }
    
    .address-autocomplete-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .address-autocomplete-suggestions {
        max-height: 200px;
    }
    
    .address-autocomplete-item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .address-autocomplete-icon {
        font-size: 16px;
        width: 20px;
    }
    
    .address-autocomplete-source {
        display: none;
    }
}

/* Стили для информационного блока о ночных ветклиниках */
.clinics-info-section {
    margin-bottom: 0;
}

.clinics-info-block {
    background: #f9fafb;
    border-radius: 20px;
    margin-bottom: 28px;
    /* padding: 24px; */
}

.clinics-info-block h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.clinics-info-block p {
    margin-bottom: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
}

.clinics-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.clinics-info-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
}

.clinics-info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.clinics-info-card-icon {
    font-size: 24px;
    display: block;
    flex-shrink: 0;
}

.clinics-info-card h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: #1f2937;
}

.clinics-info-card p {
    color: #4b5563;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.clinics-info-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.clinics-info-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.clinics-info-links a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .clinics-info-block {
        /* padding: 20px; */
        border-radius: 16px;
        margin-bottom: 24px;
    }
    
    .clinics-info-block h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .clinics-info-block p {
        font-size: 15px;
    }
    
    .clinics-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .clinics-info-card {
        padding: 16px;
    }
    
    .clinics-info-card-header {
        margin-bottom: 6px;
    }
    
    .clinics-info-card-icon {
        font-size: 22px;
    }
    
    .clinics-info-card h3 {
        font-size: 16px;
    }
    
    .clinics-info-card p {
        font-size: 13px;
    }
    
    .clinics-info-links {
        flex-direction: column;
        gap: 12px;
        padding-top: 0;
    }
    
    .clinics-info-links a {
        display: block;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .clinics-info-block {
        /* padding: 16px; */
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .clinics-info-block h2 {
        font-size: 18px;
    }
    
    .clinics-info-block p {
        font-size: 14px;
    }
    
    .clinics-info-grid {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .clinics-info-card {
        padding: 14px;
    }
}
