/* =========================================================
   Страница «О нас» + выпадающее меню «О клинике»
   Подключается в чанке head после styles.css
   ========================================================= */

/* ---------- Меню «О клинике» (компактная выпадашка) ---------- */
.fph-nav__drop--compact {
    min-width: 220px;
    margin-left: -16px;
    padding: 8px;
}
.fph-nav__drop--compact .fph-nav__links a {
    padding: 10px 16px;
    border-radius: 10px;
    transition: color 0.2s, background-color 0.2s;
}
.fph-nav__drop--compact .fph-nav__links a:hover,
.fph-nav__drop--compact .fph-nav__links a:focus-visible,
.fph-nav__drop--compact .fph-nav__links a[aria-current="page"] {
    color: #2673c8;
    background-color: #e7f2ff;
}

/* ---------- Блок «Наш подход к помощи животным» ---------- */
.approach {
    padding: 80px 0;
    background: #fff;
}
.approach__title {
    margin: 0 0 40px;
    color: #133256;
    font-size: 38px;
    line-height: 45px;
    font-weight: 600;
}
.approach__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.approach__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 40px;
    background: #e7f2ff;
    border-radius: 20px;
}
.approach__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 10px;
    background: #2673c8;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}
.approach__num--green {
    background: #26c85c;
}
.approach__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #133256;
}
.approach__name {
    margin: 0;
    color: #133256;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}
.approach__text {
    margin: 0;
    color: #133256;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}

@media (max-width: 1023px) {
    .approach {
        padding: 64px 0;
    }
    .approach__title {
        font-size: 34px;
        line-height: 42px;
        margin-bottom: 32px;
    }
    .approach__card {
        padding: 28px 24px;
        gap: 20px;
    }
    .approach__name {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .approach {
        padding: 50px 0;
    }
    .approach__title {
        margin-bottom: 24px;
        font-size: 30px;
        line-height: 36px;
    }
    .approach__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .approach__card {
        gap: 18px;
        padding: 24px 20px;
        border-radius: 16px;
    }
    .approach__num {
        padding: 7px 11px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 20px;
    }
    .approach__body {
        gap: 10px;
    }
    .approach__name {
        font-size: 20px;
        line-height: 26px;
    }
    .approach__text {
        font-size: 15px;
        line-height: 23px;
    }
}

/* ---------- Меню в подвале: две колонки ---------- */
.footer__top .footer__menu {
    display: flex;
    gap: 20px;
}
.footer__top .footer__menu-col {
    flex: 1 1 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 15px;
    max-height: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer__top .footer__menu-col li {
    width: auto;
}

@media screen and (max-width: 768px) {
    .footer__top .footer__menu {
        flex-direction: column;
        gap: 15px;
    }
    .footer__top .footer__menu-col li {
        width: 100%;
    }
}
