:root {
    --ch-navy: #17315f;
    --ch-medical: #1374c9;
    --ch-mint: #49b96e;
    --ch-mist: #f5faff;
    --ch-line: #dce9f4;
    --ch-text: #475569;
    --ch-text-muted: #5d789e;
    --ch-shadow-card: 0 7px 24px rgba(23, 49, 95, 0.06);
    --ch-max: 80rem;
    --ch-radius: 1rem;
    --ch-radius-lg: 1.125rem;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    font-family: var(--font-sans);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-sofiatria-main {
    color: #10499F !important;
    font-size: 1.25rem !important;
}

.yandex-map-shell {
    position: relative;
    width: 100%;
}

.yandex-map {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.yandex-map > ymaps,
.yandex-map ymaps[class*="ymaps-2-1-map"] {
    width: 100% !important;
    height: 100% !important;
}

.yandex-map-shell > .yandex-map-image,
.ch-map-card > .yandex-map-image {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.yandex-map-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-map-pin {
    position: relative;
    width: 2.75rem;
    height: 3.25rem;
}

.clinic-map-pin__bubble {
    position: absolute;
    inset: 0 0 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ch-mint, #49b96e);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.clinic-map-pin__white {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    transform: rotate(45deg);
}

.clinic-map-pin__icon {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
}

/* Footer column grid — dynamic cols cannot rely on Tailwind JIT after CDN removal */
.site-footer__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: var(--site-footer-cols, 1.4fr minmax(0, .85fr) 1fr);
    }
}

.site-footer nav a,
.site-footer .site-footer__legal a {
    min-height: 44px;
}
