/* Shared by all normal theme pages. Preserve the site's existing 550px mobile switch. */
@media (min-width: 551px) {
    .bottomHeader .bottomHeader__inner { flex-wrap: nowrap; }
    .bottomHeader .bottomHeader__right { min-width: 0; margin-left: 16px; }
    .bottomHeader .bottomHeader__menu { flex-wrap: nowrap; }
    .bottomHeader .bottomHeader__link { padding: 10px 5px; white-space: nowrap; }
    .bottomHeader .bottomHeader__popup { top: 100%; }
    .bottomHeader .bottomHeader__menu > li:focus-within .bottomHeader__popup {
        visibility: visible; opacity: 1; z-index: 10;
    }
}
.bottomHeader__link:focus-visible,
.bottomHeader__popupItemMenuLink:focus-visible,
.footer__bottomMenuLink:focus-visible { outline: 2px solid #23a4ff; outline-offset: 2px; }

/* Footer and consultation form use the ORIGINAL shared /css/styles.css rules.
   In particular .clinForm + .footer handles their seam; no copied footer metrics. */

/* Company copy keeps the existing type size and line height. */
.aboutBlocks__itemText p { margin: 0 0 1em; line-height: inherit; }
.aboutBlocks__itemText p:last-child { margin-bottom: 0; }

/* Six company links share consistent hit areas and wrap in narrow columns. */
.cb-socials.socials,
.serviceMain .socials2 {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.cb-socials .socials__item,
.serviceMain .socials2__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #fff;
}
.cb-socials .socials__item svg,
.serviceMain .socials2__item svg {
    display: block;
    max-width: 32px;
    max-height: 24px;
}
.cb-socials .socials__item:focus-visible,
.serviceMain .socials2__item:focus-visible {
    outline: 2px solid #23a4ff;
    outline-offset: 3px;
    border-radius: 3px;
    opacity: 1;
}

/* About: center each photo beside its copy and gently separate the two rows. */
@media (min-width: 551px) {
    .aboutBlocks { row-gap: 3rem; }
    .aboutBlocks__itemPicture { align-self: center; }
    .aboutBlocks__itemPicture img { display: block; }
}
