/* Стили отдельных страниц сайта (кроме раздела «Сведения» — он в sveden.css).
 * Перенесены из блоков <style> страниц. Корневой блок страницы помечен классами pg и pg-<страница>:
 * каждое правило действует только на перечисленные в нём страницы.
 * Привязка обёрнута в :where(), чтобы не добавлять правилам веса: так их по-прежнему
 * перекрывают стили версии для слабовидящих. */

:where(.pg-education, .pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-tselevoe-obuchenie, .pg-konf-obedinyaya-usiliya, .pg-events, .pg-institute, .pg-medicine, .pg-dostupnaya-sreda, .pg-gospitalizatsiya, .pg-patsientam, .pg-informatsiya-dlya-patsientov, .pg-podgotovka-k-issledovaniyam, .pg-dissovet, .pg-zashchity-2023, .pg-zashchity-2025, .pg-eticheskiy-komitet, .pg-goszadanie, .pg-granty, .pg-science, .pg-klinicheskie-issledovaniya, .pg-nmk, .pg-partneram, .pg-uchenyy-sovet) .sveden-common-title { color: var(--pm-blue-900); border-bottom: 3px solid var(--pm-blue-700); padding-bottom: 12px; margin-bottom: 1.5rem; }
:where(.pg-education, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-tselevoe-obuchenie, .pg-konf-obedinyaya-usiliya, .pg-institute, .pg-medicine, .pg-dostupnaya-sreda, .pg-gospitalizatsiya, .pg-patsientam, .pg-informatsiya-dlya-patsientov, .pg-podgotovka-k-issledovaniyam, .pg-dissovet, .pg-zashchity-2023, .pg-eticheskiy-komitet, .pg-granty, .pg-science, .pg-klinicheskie-issledovaniya, .pg-nmk, .pg-partneram, .pg-uchenyy-sovet) .card { border-radius: 10px !important; }
:where(.pg-education, .pg-institute, .pg-medicine, .pg-patsientam, .pg-science) .bg-image-block { position: relative; border-radius: 10px !important; overflow: hidden; min-height: 320px; }
:where(.pg-education, .pg-institute, .pg-medicine, .pg-patsientam, .pg-science) .bg-overlay { background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(1.5px); min-height: 100%; padding: 1.2rem; border-radius: 10px; height: 100%; }
:where(.pg-education, .pg-institute, .pg-medicine, .pg-patsientam, .pg-podgotovka-k-issledovaniyam, .pg-science) .sveden-card-hover { transition: all 0.2s ease; border: 1px solid transparent !important; cursor: pointer; }
:where(.pg-education, .pg-institute, .pg-medicine, .pg-patsientam, .pg-science) .sveden-card-hover:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(10, 64, 154, 0.12) !important; border-color: var(--pm-blue-700) !important; }
@media (max-width: 991.98px) {
    :where(.pg-education, .pg-institute, .pg-medicine, .pg-patsientam, .pg-science) .bg-image-block { min-height: 200px; }
}

:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-accordion .accordion-item { border: none; border-radius: 10px !important; margin-bottom: 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.07); overflow: hidden; }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-accordion .accordion-button { font-weight: 600; font-size: 1rem; color: var(--pm-blue-900); background: var(--pm-blue-50); }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-accordion .accordion-button:not(.collapsed) { color: var(--pm-blue-700); background: var(--pm-blue-100); box-shadow: none; }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-accordion .accordion-button::after { filter: invert(20%) sepia(80%) saturate(500%) hue-rotate(190deg); }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-accordion .accordion-body { padding: 0 1.25rem 1rem; font-size: 0.92rem; }
:where(.pg-obuchayushchimsya) .sveden-accordion .accordion-body .card { border-radius: 10px !important; }
:where(.pg-obuchayushchimsya) .sveden-accordion .accordion-body .card .row { font-size: 0.92rem; }
:where(.pg-obuchayushchimsya) .appeal-list { padding-left: 1.2rem; margin-bottom: 0; }
:where(.pg-obuchayushchimsya) .appeal-list li { padding: 8px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-obuchayushchimsya) .appeal-list li:last-child { border-bottom: none; }
:where(.pg-obuchayushchimsya, .pg-nmk) .document_block { padding: 8px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-informatsiya-dlya-patsientov, .pg-nmk) .document_block:last-child { border-bottom: none; }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-zashchity-2023, .pg-zashchity-2025) .document_link { color: var(--pm-blue-700); text-decoration: none; border-bottom: 1px dashed var(--pm-blue-700); transition: color 0.15s; }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-zashchity-2023, .pg-zashchity-2025) .document_link:hover { color: var(--pm-blue-800); border-bottom-style: solid; }
:where(.pg-obuchayushchimsya, .pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-priemnaya-kampaniya-2025, .pg-programmy-litsenzirovaniya, .pg-den-otkrytykh-dverey, .pg-lekarstvennoe-obespechenie, .pg-normativnye-dokumenty, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-otzyvy, .pg-dissovet, .pg-zashchity-2025) .accordion:after { content: none; }
:where(.pg-postupayushchim, .pg-tselevoe-obuchenie, .pg-konf-obedinyaya-usiliya, .pg-eticheskiy-komitet, .pg-uchenyy-sovet) .card .row { font-size: 0.95rem; }
:where(.pg-postupayushchim) .sveden-card-hover { transition: all 0.2s ease; }
:where(.pg-postupayushchim, .pg-aspirantura-2026, .pg-ordinatura-2026, .pg-tselevoe-obuchenie, .pg-podgotovka-k-issledovaniyam) .sveden-card-hover:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(10, 64, 154, 0.12) !important; border-color: var(--pm-blue-700) !important; }
:where(.pg-postupayushchim, .pg-ordinatura-2026, .pg-programmy-litsenzirovaniya, .pg-informatsiya-dlya-patsientov) .document_block { padding: 6px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-aspirantura-2026, .pg-ordinatura-2026, .pg-tselevoe-obuchenie) .sveden-card-hover { transition: all 0.2s ease; border: 1px solid transparent !important; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .nav-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px; background: var(--pm-blue-50); border-radius: 10px; border-left: 5px solid var(--pm-blue-700); text-decoration: none; color: var(--pm-gray-900); transition: all 0.2s ease; height: 100%; margin-bottom: 10px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .nav-item:hover { background: var(--pm-blue-100); border-left-color: var(--pm-blue-800); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10, 64, 154, 0.1); color: var(--pm-gray-900); text-decoration: none; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .nav-item-icon { font-size: 1.5rem; color: var(--pm-blue-700); flex-shrink: 0; margin-top: 2px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie, .pg-protivodeystvie-korruptsii) .nav-item-body { display: flex; flex-direction: column; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .item-name { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 4px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .item-desc { font-size: 0.85rem; color: var(--pm-gray-600); display: block; line-height: 1.4; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .accordion { background-color: #ffffff; border: 1px solid #e9edf4; border-radius: 10px; color: var(--pm-blue-900); cursor: pointer; padding: 16px 20px; width: 100%; text-align: left; outline: none; transition: background-color 0.2s, border-color 0.2s; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .accordion:hover { background-color: var(--pm-blue-50); border-color: var(--pm-blue-700); }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .accordion.acc-active { background-color: var(--pm-blue-50); border-color: var(--pm-blue-700); border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .acc-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .acc-icon::before,
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .acc-icon::after { content: ""; position: absolute; background: var(--pm-blue-700); transition: transform 0.2s ease; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .acc-icon::before { top: 8px; left: 0; width: 100%; height: 2px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .acc-icon::after { top: 0; left: 8px; width: 2px; height: 100%; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .accordion.acc-active .acc-icon::after { transform: rotate(90deg); }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: #ffffff; border: 1px solid var(--pm-blue-700); border-top: none; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; padding: 0 20px; margin-bottom: 15px; }
:where(.pg-priemnaya-kampaniya-2025, .pg-lekarstvennoe-obespechenie) .accordion.acc-active + .panel { padding: 20px; }
:where(.pg-den-otkrytykh-dverey) .accordion-button { font-size: 20px; font-weight: 500; }
:where(.pg-konf-obedinyaya-usiliya, .pg-events) .event-btn { display: inline-block; padding: 11px 28px; background: var(--pm-blue-700); color: #ffffff; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.92rem; border: 1px solid var(--pm-blue-700); transition: all 0.18s ease; box-shadow: 0 3px 10px rgba(10, 64, 154, 0.18); }
:where(.pg-konf-obedinyaya-usiliya, .pg-events) .event-btn:hover { background: var(--pm-blue-800); border-color: var(--pm-blue-800); color: #ffffff; box-shadow: 0 6px 16px rgba(10, 64, 154, 0.28); transform: translateY(-1px); }
:where(.pg-konf-obedinyaya-usiliya, .pg-events) .event-btn-outline { background: transparent; color: var(--pm-blue-700); box-shadow: none; }
:where(.pg-konf-obedinyaya-usiliya, .pg-events) .event-btn-outline:hover { background: var(--pm-blue-700); color: #ffffff; box-shadow: 0 6px 16px rgba(10, 64, 154, 0.28); }
:where(.pg-konf-obedinyaya-usiliya) .conf-banner { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(10, 64, 154, 0.10); background: var(--pm-gray-50); }
:where(.pg-konf-obedinyaya-usiliya) .conf-banner img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 767.98px) {
    :where(.pg-konf-obedinyaya-usiliya) .conf-banner { border-radius: 10px; }
}

:where(.pg-konf-obedinyaya-usiliya, .pg-vyshestoyashchie-organy, .pg-dostupnaya-sreda, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov) .doc-link { color: var(--pm-blue-700); text-decoration: none; border-bottom: 1px dashed var(--pm-blue-700); transition: color 0.15s; }
:where(.pg-konf-obedinyaya-usiliya, .pg-vyshestoyashchie-organy, .pg-dostupnaya-sreda, .pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-nmk) .doc-link:hover { color: var(--pm-blue-800); border-bottom-style: solid; }
:where(.pg-events) .event-card { border-radius: 14px !important; transition: all 0.25s ease; overflow: hidden; }
:where(.pg-events) .event-card:hover { box-shadow: 0 12px 32px rgba(10, 64, 154, 0.12) !important; transform: translateY(-2px); }
:where(.pg-events) .event-thumb { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: var(--pm-gray-50); box-shadow: 0 2px 10px rgba(10, 64, 154, 0.08); display: flex; align-items: center; justify-content: center; }
:where(.pg-events) .event-thumb img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: contain; transition: transform 0.4s ease; }
:where(.pg-events) .event-card:hover .event-thumb img { transform: scale(1.03); }
@media (max-width: 991.98px) {
    :where(.pg-events) .event-thumb { max-width: 320px; margin: 0 auto; }
    :where(.pg-events) .event-thumb img { max-height: 240px; }
}

:where(.pg-events) .event-title { color: var(--pm-blue-900); font-weight: 600; font-size: 1.1rem; line-height: 1.4; margin: 0; transition: color 0.15s; }
:where(.pg-events) .event-title:hover { color: var(--pm-blue-700); }
@media (max-width: 991.98px) {
    :where(.pg-events) .event-thumb { max-width: 240px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
    :where(.pg-events) .event-title { font-size: 1rem; text-align: center; }
    :where(.pg-events) .event-card .mt-3 { text-align: center; }
    :where(.pg-events) .event-thumb { max-width: 200px; }
}

:where(.pg-lekarstvennoe-obespechenie) .panel-content { font-size: 0.95rem; line-height: 1.6; color: var(--pm-gray-900); }
:where(.pg-lekarstvennoe-obespechenie) .panel-content p { margin: 0 0 12px 0; }
:where(.pg-lekarstvennoe-obespechenie) .panel-content ul { margin: 0 0 16px 0; padding-left: 20px; }
:where(.pg-lekarstvennoe-obespechenie) .panel-content li { margin-bottom: 6px; }
:where(.pg-lekarstvennoe-obespechenie) .panel-content strong { color: var(--pm-blue-900); }
:where(.pg-lekarstvennoe-obespechenie) .panel-content a { color: var(--pm-blue-700); text-decoration: none; }
:where(.pg-lekarstvennoe-obespechenie) .panel-content a:hover { text-decoration: underline; }
:where(.pg-protivodeystvie-korruptsii) .sveden-title { color: var(--pm-blue-900); border-bottom: 3px solid var(--pm-blue-700); padding-bottom: 12px; margin-bottom: 1.5rem; }
:where(.pg-protivodeystvie-korruptsii) .sveden-subtitle { color: var(--pm-blue-900); font-size: 1.25rem; font-weight: 600; margin: 2rem 0 1rem 0; padding-top: 1rem; border-top: 2px solid #e9edf4; display: flex; align-items: center; gap: 10px; }
:where(.pg-protivodeystvie-korruptsii) .sveden-subtitle::before { content: ""; display: inline-block; width: 6px; height: 22px; background: var(--pm-blue-700); border-radius: 3px; flex-shrink: 0; }
:where(.pg-protivodeystvie-korruptsii) .nav-item { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--pm-blue-50); border-radius: 10px; border-left: 5px solid var(--pm-blue-700); text-decoration: none; color: var(--pm-gray-900); transition: all 0.2s ease; height: 100%; }
:where(.pg-protivodeystvie-korruptsii) .nav-item:hover { background: var(--pm-blue-100); border-left-color: var(--pm-blue-800); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(10, 64, 154, 0.13); color: var(--pm-gray-900); }
:where(.pg-protivodeystvie-korruptsii) .nav-item-icon { font-size: 1.75rem; color: var(--pm-blue-700); flex-shrink: 0; margin-top: 1px; transition: color 0.2s; }
:where(.pg-protivodeystvie-korruptsii) .nav-item:hover .nav-item-icon { color: var(--pm-blue-800); }
:where(.pg-protivodeystvie-korruptsii) .nav-item .item-name { font-weight: 600; font-size: 1.0rem; display: block; margin-bottom: 4px; }
:where(.pg-protivodeystvie-korruptsii) .nav-item .item-desc { font-size: 0.88rem; color: var(--pm-gray-600); display: block; line-height: 1.4; }
@media (max-width: 575.98px) {
    :where(.pg-protivodeystvie-korruptsii) .nav-item { padding: 14px 16px; }
    :where(.pg-protivodeystvie-korruptsii) .nav-item .item-name { font-size: 0.95rem; }
    :where(.pg-protivodeystvie-korruptsii) .sveden-title { font-size: 1.4rem; }
    :where(.pg-protivodeystvie-korruptsii) .sveden-subtitle { font-size: 1.1rem; }
}

:where(.pg-reglamentiruyushchie-dokumenty, .pg-vyshestoyashchie-organy) .sveden-common-title { color: var(--pm-blue-900); border-bottom: 3px solid var(--pm-blue-700); padding-bottom: 12px; margin-bottom: 1.5rem; text-align: center; }
:where(.pg-reglamentiruyushchie-dokumenty) .requisite-card { text-decoration: none; display: block; }
:where(.pg-reglamentiruyushchie-dokumenty) .sveden-card-hover { border-radius: 12px !important; transition: all 0.2s ease; border: 1px solid transparent !important; cursor: pointer; background: var(--pm-blue-50); }
:where(.pg-reglamentiruyushchie-dokumenty) .sveden-card-hover:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(10, 64, 154, 0.12) !important; border-color: var(--pm-blue-700) !important; background: #ffffff; }
@media (max-width: 576px) {
    :where(.pg-reglamentiruyushchie-dokumenty) .sveden-card-hover .card-body { flex-direction: column; text-align: center; }
    :where(.pg-reglamentiruyushchie-dokumenty) .sveden-card-hover .card-body i { margin-right: 0 !important; margin-bottom: 10px; }
}

:where(.pg-vyshestoyashchie-organy) .org-card { border-radius: 12px !important; transition: all 0.2s ease; border: 1px solid var(--pm-blue-100) !important; }
:where(.pg-vyshestoyashchie-organy) .org-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(10, 64, 154, 0.10) !important; border-color: var(--pm-blue-200) !important; }
:where(.pg-vyshestoyashchie-organy) .org-title { color: var(--pm-blue-700); font-size: 1.05rem; font-weight: 600; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--pm-blue-100); line-height: 1.4; }
:where(.pg-vyshestoyashchie-organy) .org-info p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 8px; color: var(--pm-gray-900); }
:where(.pg-vyshestoyashchie-organy) .org-info p:last-child { margin-bottom: 0; }
:where(.pg-dostupnaya-sreda) .carousel-item { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 10px; }
:where(.pg-dostupnaya-sreda) .carousel-item img { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); }
:where(.pg-dostupnaya-sreda) .carousel-indicators { z-index: 10; }
:where(.pg-dostupnaya-sreda) .carousel-control-prev,
:where(.pg-dostupnaya-sreda) .carousel-control-next { width: 8%; }
@media (max-width: 768px) {
    :where(.pg-dostupnaya-sreda) .carousel-item { aspect-ratio: 4 / 3; }
}

@media (max-width: 576px) {
    :where(.pg-dostupnaya-sreda) .carousel-item { aspect-ratio: 1 / 1; }
    :where(.pg-dostupnaya-sreda) .carousel-control-prev,
    :where(.pg-dostupnaya-sreda) .carousel-control-next { width: 10%; }
}

:where(.pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-table { font-size: 0.92rem; margin-bottom: 0; }
:where(.pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-table thead th { background: var(--pm-blue-100); color: var(--pm-blue-900); font-weight: 600; border-color: var(--pm-blue-200); vertical-align: middle; padding: 8px 10px; }
:where(.pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2025) .sveden-table tbody td { vertical-align: middle; border-color: var(--pm-blue-200); padding: 8px 10px; }
:where(.pg-gospitalizatsiya, .pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-zashchity-2023, .pg-zashchity-2025, .pg-granty) .sveden-table tbody tr:hover { background: #f5f9ff; }
:where(.pg-informatsiya-dlya-patsientov, .pg-dissovet, .pg-nmk) .doc-link i { font-size: 0.9rem; }
:where(.pg-otzyvy) .custom-review-accordion .accordion-button:not(.collapsed) { background: var(--pm-blue-100) !important; color: var(--pm-blue-700) !important; box-shadow: none; }
:where(.pg-otzyvy) .custom-review-accordion .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,.125); }
:where(.pg-otzyvy) .custom-review-accordion .accordion-body > div { padding: 20px 30px 30px 30px; }
:where(.pg-dissovet) .sub-accordion .sub-item { border: none !important; border-radius: 8px !important; margin-bottom: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); overflow: hidden; background: #fafcff; }
:where(.pg-dissovet) .sub-accordion .sub-header .accordion-button { font-weight: 500; font-size: 0.92rem; color: var(--pm-blue-900); background: #f5f9ff; padding: 8px 16px; }
:where(.pg-dissovet) .sub-accordion .sub-header .accordion-button:not(.collapsed) { background: var(--pm-blue-100); color: var(--pm-blue-700); }
:where(.pg-dissovet) .sub-accordion .sub-header .accordion-button::after { filter: invert(20%) sepia(80%) saturate(500%) hue-rotate(190deg); width: 0.8rem; height: 0.8rem; background-size: 0.8rem; }
:where(.pg-dissovet) .sub-accordion .accordion-body { padding: 0.75rem 1rem; font-size: 0.9rem; }
:where(.pg-dissovet) .sub-accordion .accordion-body ul { padding-left: 1.2rem; margin-bottom: 0; }
:where(.pg-dissovet) .sub-accordion .accordion-body ul li { padding: 3px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-dissovet) .sub-accordion .accordion-body ul li:last-child { border-bottom: none; }
:where(.pg-dissovet, .pg-nmk) .doc-link { color: var(--pm-blue-700); text-decoration: none; border-bottom: 1px dashed var(--pm-blue-700); transition: color 0.15s; display: inline-block; padding: 2px 0; }
:where(.pg-zashchity-2023, .pg-granty) .sveden-table { font-size: 0.95rem; margin-bottom: 0; }
:where(.pg-zashchity-2023, .pg-granty) .sveden-table thead th { background: var(--pm-blue-100); color: var(--pm-blue-900); font-weight: 600; border-color: var(--pm-blue-200); vertical-align: middle; padding: 10px 12px; }
:where(.pg-zashchity-2023, .pg-granty) .sveden-table tbody td { vertical-align: middle; border-color: var(--pm-blue-200); padding: 10px 12px; }
:where(.pg-eticheskiy-komitet) .card ul { padding-left: 1.2rem; margin-bottom: 0; }
:where(.pg-eticheskiy-komitet) .card ul li { padding: 3px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-eticheskiy-komitet) .card ul li:last-child { border-bottom: none; }
:where(.pg-uchenyy-sovet) .sveden-list { padding-left: 1.2rem; margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; }
:where(.pg-uchenyy-sovet) .sveden-list li { padding: 6px 0; border-bottom: 1px solid var(--pm-gray-50); }
:where(.pg-uchenyy-sovet) .sveden-list li:last-child { border-bottom: none; }

/* Контакты, «Правила въезда и парковка»: две колонки, на узком экране — одна
 * (жёсткие 1fr 1fr не давали колонкам сжаться, и страница на телефоне становилась шире экрана) */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 767.98px) {
    .contacts-grid { grid-template-columns: 1fr; }
}
