/**
 * MedGrup — Контролирующие органы.
 * Изолированная вёрстка для page-kontroliruyushchie-organy.php.
 * Desktop 1610 / Mobile 390 — Figma W67sge6aAWFQH0XuZqA2KS.
 * Не переопределять глобальные стили сайта вне .mg-regulators.
 */

 .mg-regulators {
    --mg-ink: #263246;
    --mg-muted: #68778d;
    --mg-blue: #153f91;
    --mg-soft: #f4f7fb;
    --mg-soft-blue: #eaf2ff;
    --mg-border: #e2e9f3;
    --mg-success: #1d8c65;
    box-sizing: border-box;
    width: 100%;
    padding: 72px 20px 104px;
    background: #fff;
    color: var(--mg-ink);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.mg-regulators *,
.mg-regulators *::before,
.mg-regulators *::after {
    box-sizing: border-box;
}

.mg-regulators__only-mobile {
    display: none;
}

.mg-regulators__container {
    width: 100%;
    margin: 0 auto;
}

.mg-regulators :is(h1, h2, h3, h4, p, ul) {
    margin: 0;
    padding: 0;
}

.mg-regulators :is(h1, h2, h3, h4) {
    font-family: inherit;
    font-weight: 700;
    color: var(--mg-ink);
    letter-spacing: 0;
}

.mg-regulators :is(a, button, summary):focus-visible {
    outline: 3px solid #77a7f5;
    outline-offset: 4px;
}

.mg-regulators a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.mg-regulators a:hover {
    color: #2662c3;
}

.mg-regulators__container > section + section {
    margin-top: 72px;
}

.mg-regulators__eyebrow {
    color: var(--mg-blue);
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.mg-regulators__link {
    display: inline-block;
    max-width: 100%;
    width: fit-content;
    color: var(--mg-blue) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mg-regulators__link:hover {
    color: #2662c3 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mg-regulators__link > span {
    white-space: nowrap;
}

.mg-regulators__icon {
    flex: none;
    display: block;
    width: auto;
    max-width: none;
    overflow: visible;
}

.mg-regulators__section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 26px;
}

.mg-regulators__section-head h2 {
    font-size: 32px;
    line-height: 1.23;
}

.mg-regulators__section-description {
    color: var(--mg-muted);
    font-size: 16px;
    line-height: 24px;
}

/* 01. Первый экран */
.mg-regulators__hero {
    display: flex;
    align-items: center;
    gap: 38px;
}

.mg-regulators__hero-copy {
    flex: 1 1 758px;
    min-width: 0;
}

.mg-regulators__hero-copy .mg-regulators__eyebrow {
    margin-bottom: 20px;
}

.mg-regulators__title {
    font-size: 44px;
    line-height: 51px;
    margin-bottom: 20px !important;
}

.mg-regulators__lead {
    max-width: 740px;
    color: var(--mg-muted);
    font-size: 16px;
    line-height: 26px;
}

.mg-regulators__trust {
    flex: 0 1 422px;
    min-width: 0;
    padding: 28px;
    border-radius: 18px;
    background: var(--mg-soft);
}

.mg-regulators__trust-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mg-border);
    margin-bottom: 16px;
}

.mg-regulators__trust-head .mg-regulators__icon {
    width: 44px;
    height: 44px;
}

.mg-regulators__trust-heading {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.mg-regulators__trust-heading strong {
    color: var(--mg-ink);
    font-size: 18px;
    line-height: 23px;
    font-weight: 700;
}

.mg-regulators__trust-heading span {
    color: var(--mg-blue);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.mg-regulators__trust > p {
    color: var(--mg-muted);
    font-size: 14px;
    line-height: 23px;
}

/* 02. Лицензии */
.mg-regulators__licenses {
    padding: 32px;
    border-radius: 20px;
    background: var(--mg-soft);
}

.mg-regulators__licenses .mg-regulators__section-head {
    margin-bottom: 26px;
}

.mg-regulators__license-list {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.mg-regulators__license {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--mg-border);
    border-radius: 14px;
    background: #fff;
}

.mg-regulators__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #e9f6ef;
    color: var(--mg-success);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.mg-regulators__license h3 {
    margin-top: 18px;
    font-size: 16px;
    line-height: 23px;
    font-weight: 600;
}

.mg-regulators__license-number {
    margin-top: 18px !important;
    color: var(--mg-blue);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    overflow-wrap: anywhere;
}

.mg-regulators__license-date {
    margin-top: 18px !important;
    color: var(--mg-muted);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.mg-regulators__license-note {
    width: 100%;
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--mg-border);
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 20px;
}

.mg-regulators__license-link {
    margin-top: auto;
    padding-top: 18px;
    font-size: 14px;
    line-height: 21px;
}

/* 03. Госорганы */
.mg-regulators__agencies .mg-regulators__section-head {
    margin-bottom: 24px;
}

.mg-regulators__agencies .mg-regulators__section-head h2 {
    font-size: 29px;
    line-height: 38px;
}

.mg-regulators__agencies .mg-regulators__section-description {
    font-size: 15px;
    line-height: 23px;
}

.mg-regulators__agency-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mg-regulators__agency {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px;
    border-radius: 18px;
    background: var(--mg-soft);
}

.mg-regulators__agency-main,
.mg-regulators__agency-documents {
    min-width: 0;
}

.mg-regulators__agency-main {
    flex: 450 1 0;
}

.mg-regulators__agency-documents {
    flex: 350 1 0;
}

.mg-regulators__agency > .mg-regulators__inspection {
    flex: 334 1 0;
}

.mg-regulators__agency-heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mg-regulators__agency-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--mg-soft-blue);
}

.mg-regulators__agency-icon .mg-regulators__icon {
    width: 38px;
    height: 38px;
}

.mg-regulators__agency-heading h3 {
    min-width: 0;
    font-size: 17px;
    line-height: 23px;
}

.mg-regulators__responsibilities {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 12px !important;
    list-style: none;
}

.mg-regulators__responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 19px;
    font-weight: 500;
}

.mg-regulators__responsibilities .mg-regulators__icon,
.mg-regulators__contacts .mg-regulators__icon {
    width: 18px;
    height: 18px;
}

.mg-regulators__responsibilities li span {
    min-width: 0;
}

.mg-regulators__contacts {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e8f2;
    color: var(--mg-muted);
    font-style: normal;
    font-size: 13px;
    line-height: 19px;
    font-weight: 500;
}

.mg-regulators__contacts p {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.mg-regulators__contacts :is(a, span) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mg-regulators__agency-laws {
    margin-top: 12px;
    font-size: 12px;
    line-height: 17px;
}

.mg-regulators__agency-documents h4 {
    font-size: 17px;
    line-height: 24px;
}

.mg-regulators__agency-documents-intro {
    margin-top: 16px !important;
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 19px;
}

.mg-regulators__document-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e0e8f2;
}

.mg-regulators__document-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.mg-regulators__document-icon {
    flex: 0 0 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--mg-soft-blue);
}

.mg-regulators__document-icon .mg-regulators__icon {
    width: 24px;
    height: 24px;
}

.mg-regulators__document-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mg-regulators__document-copy strong {
    font-size: 12px;
    line-height: 19px;
    color: var(--mg-ink);
    font-weight: 600;
}

.mg-regulators__document-copy span {
    color: var(--mg-muted);
    font-size: 11px;
    line-height: 17px;
}

.mg-regulators__document-link {
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
}

.mg-regulators__inspection {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e0e8f2;
    border-radius: 12px;
    background: #fff;
}

.mg-regulators__inspection-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e8f2;
}

.mg-regulators__inspection-title .mg-regulators__icon {
    width: 30px;
    height: 30px;
}

.mg-regulators__inspection-title h4 {
    padding-top: 4px;
    font-size: 15px;
    line-height: 22px;
}

.mg-regulators__inspection-summary {
    margin-top: 14px;
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 21px;
}

.mg-regulators__inspection-label {
    margin-bottom: 14px !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
}

.mg-regulators__inspection-registry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    background: var(--mg-soft-blue);
    overflow-wrap: anywhere;
}

.mg-regulators__inspection-registry strong {
    color: var(--mg-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

.mg-regulators__inspection-registry > span {
    font-size: 12px;
    line-height: 18px;
    color: var(--mg-muted);
}

.mg-regulators__inspection-registry .mg-regulators__link {
    font-size: 13px;
    line-height: 20px;
}

/* 04. Реестры */
.mg-regulators__registry-list {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.mg-regulators__registry {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 24px;
    border-radius: 16px;
    background: var(--mg-soft);
}

.mg-regulators__registry > .mg-regulators__icon {
    width: 34px;
    height: 34px;
}

.mg-regulators__registry-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
}

.mg-regulators__registry h3 {
    font-size: 16px;
    line-height: 23px;
}

.mg-regulators__registry p {
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 20px;
}

.mg-regulators__registry .mg-regulators__link {
    margin-top: auto;
    padding-top: 5px;
}

/* 05. Реквизиты */
.mg-regulators__legal {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 32px;
    border-radius: 18px;
    background: var(--mg-soft-blue);
}

.mg-regulators__legal-data {
    flex: 1 1 55%;
    min-width: 0;
}

.mg-regulators__legal-data h2 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 29px;
}

.mg-regulators__legal-data > p {
    font-size: 15px;
    line-height: 23px;
    font-weight: 600;
}

.mg-regulators__legal-numbers {
    margin-top: 6px !important;
    color: var(--mg-muted);
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
}

.mg-regulators__legal-action {
    flex: 1 1 45%;
    min-width: 0;
}

.mg-regulators__legal-action > p {
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 20px;
}

.mg-regulators__legal-action .mg-regulators__link {
    margin-top: 14px;
}

/* 06. FAQ */
.mg-regulators__faq .mg-regulators__section-head {
    margin-bottom: 18px;
}

.mg-regulators__faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-regulators__faq-item {
    overflow: hidden;
    border: 1px solid var(--mg-border);
    border-radius: 12px;
    background: #fff;
}

.mg-regulators__faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    padding: 20px 22px;
    color: var(--mg-ink);
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.mg-regulators__faq-question::-webkit-details-marker {
    display: none;
}

.mg-regulators__faq-question::marker {
    content: "";
}

.mg-regulators__faq-question > span:first-child {
    min-width: 0;
}

.mg-regulators__faq-toggle {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.mg-regulators__faq-toggle::before,
.mg-regulators__faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--mg-blue);
    content: "";
    transform: translate(-50%, -50%);
}

.mg-regulators__faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .18s ease;
}

.mg-regulators__faq-item[open] .mg-regulators__faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0);
}

.mg-regulators__faq-item[open] .mg-regulators__faq-question {
    border-bottom: 1px solid var(--mg-border);
}

.mg-regulators__faq-answer {
    padding: 16px 22px 20px;
    color: var(--mg-muted);
    font-size: 13px;
    line-height: 21px;
}

/* 07. Финальный CTA */
.mg-regulators__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 54px;
    padding: 32px;
    border-radius: 18px;
    background: var(--mg-blue);
    color: #fff;
}

.mg-regulators__cta > div:first-child {
    flex: 1 1 752px;
    min-width: 0;
}

.mg-regulators__cta h2 {
    color: #fff;
    font-size: 24px;
    line-height: 31px;
    margin-bottom: 10px;
}

.mg-regulators__cta p {
    color: #dde9ff;
    font-size: 15px;
    line-height: 23px;
}

.mg-regulators__cta-contact {
    flex: 1 1 346px;
    min-width: 0;
}

.mg-regulators__cta-contact a {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 31px;
}

.mg-regulators__cta-contact a:hover {
    color: #dde9ff;
}

.mg-regulators__cta-contact p {
    margin-top: 10px !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

@media (max-width: 1250px) {
    .mg-regulators__agency {
        flex-wrap: wrap;
        gap: 24px;
    }

    .mg-regulators__agency-main {
        flex: 1.2 1 0;
    }

    .mg-regulators__agency-documents {
        flex: 1 1 0;
    }

    .mg-regulators__agency > .mg-regulators__inspection {
        flex: 1 1 100%;
    }

    .mg-regulators__inspection-registry {
        width: 100%;
    }
}

@media (max-width: 950px) {
    .mg-regulators__hero {
        gap: 24px;
    }

    .mg-regulators__title {
        font-size: 36px;
        line-height: 1.2;
    }

    .mg-regulators__trust {
        padding: 22px;
        flex-basis: 38%;
    }

    .mg-regulators__trust-heading strong {
        font-size: 15px;
    }

    .mg-regulators__license-number {
        font-size: 20px;
    }

    .mg-regulators__registry-list {
        flex-wrap: wrap;
    }

    .mg-regulators__registry {
        flex-basis: calc((100% - 18px) / 2);
    }

    .mg-regulators__cta {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .mg-regulators__only-desktop {
        display: none;
    }

    .mg-regulators__only-mobile {
        display: inline;
    }

    .mg-regulators {
        padding: 44px 20px 68px;
        font-size: 13px;
    }

    .mg-regulators__container > section + section {
        margin-top: 44px;
    }

    .mg-regulators__eyebrow {
        font-size: 10px;
        line-height: 14px;
    }

    .mg-regulators__section-head {
        gap: 10px;
        margin-bottom: 16px;
    }

    .mg-regulators__section-head h2,
    .mg-regulators__agencies .mg-regulators__section-head h2 {
        font-size: 24px;
        line-height: 31px;
    }

    .mg-regulators__section-description,
    .mg-regulators__agencies .mg-regulators__section-description {
        font-size: 13px;
        line-height: 21px;
    }

    .mg-regulators__hero {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .mg-regulators__hero-copy {
        flex: auto;
    }

    .mg-regulators__hero-copy .mg-regulators__eyebrow {
        margin-bottom: 16px;
    }

    .mg-regulators__title {
        font-size: 28px;
        line-height: 35px;
        margin-bottom: 12px !important;
    }

    .mg-regulators__desktop-break {
        display: none;
    }

    .mg-regulators__lead {
        font-size: 13px;
        line-height: 21px;
    }

    .mg-regulators__trust {
        flex: auto;
        border-radius: 14px;
        padding: 18px;
    }

    .mg-regulators__trust-head {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .mg-regulators__trust-heading strong {
        font-size: 15px;
        line-height: 21px;
    }

    .mg-regulators__trust-heading {
        justify-content: center;
    }

    .mg-regulators__trust > p {
        font-size: 12px;
        line-height: 20px;
    }

    .mg-regulators__licenses {
        padding: 18px;
        border-radius: 16px;
    }

    .mg-regulators__licenses .mg-regulators__section-head {
        margin-bottom: 18px;
    }

    .mg-regulators__license-list {
        flex-direction: column;
        gap: 12px;
    }

    .mg-regulators__license {
        padding: 18px;
        flex-basis: auto;
        border-radius: 12px;
    }

    .mg-regulators__license h3,
    .mg-regulators__license-number,
    .mg-regulators__license-date,
    .mg-regulators__license-note {
        margin-top: 14px !important;
    }

    .mg-regulators__license h3 {
        font-size: 14px;
        line-height: 21px;
    }

    .mg-regulators__license-number {
        font-size: 18px;
        line-height: 25px;
    }

    .mg-regulators__license-date,
    .mg-regulators__license-note {
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__license-note {
        padding-top: 14px !important;
    }

    .mg-regulators__license-link {
        padding-top: 14px;
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__agencies .mg-regulators__section-head {
        margin-bottom: 17px;
    }

    .mg-regulators__agency-list {
        gap: 14px;
    }

    .mg-regulators__agency {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
        border-radius: 14px;
    }

    .mg-regulators__agency-main,
    .mg-regulators__agency-documents,
    .mg-regulators__inspection {
        flex: none !important;
        width: 100%;
    }

    .mg-regulators__agency-heading {
        gap: 12px;
    }

    .mg-regulators__agency-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .mg-regulators__agency-icon .mg-regulators__icon {
        width: 34px;
        height: 34px;
    }

    .mg-regulators__agency-heading h3 {
        font-size: 15px;
        line-height: 21px;
    }

    .mg-regulators__responsibilities {
        margin-top: 14px !important;
        gap: 9px;
    }

    .mg-regulators__responsibilities li,
    .mg-regulators__contacts {
        gap: 8px;
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__responsibilities .mg-regulators__icon,
    .mg-regulators__contacts .mg-regulators__icon {
        width: 16px;
        height: 16px;
    }

    .mg-regulators__contacts {
        margin-top: 14px;
        padding-top: 14px;
    }

    .mg-regulators__agency-laws {
        font-size: 11px;
        line-height: 18px;
    }

    .mg-regulators__agency-documents {
        padding: 17px;
        border: 1px solid var(--mg-border);
        border-radius: 12px;
        background: #fff;
    }

    .mg-regulators__agency-documents h4 {
        font-size: 15px;
        line-height: 21px;
    }

    .mg-regulators__agency-documents-intro {
        display: none;
    }

    .mg-regulators__document-list {
        gap: 12px;
        padding-top: 13px !important;
        margin-top: 12px !important;
    }

    .mg-regulators__document-list li {
        gap: 10px;
    }

    .mg-regulators__document-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .mg-regulators__document-copy strong {
        font-size: 12px;
        line-height: 17px;
    }

    .mg-regulators__document-copy span {
        font-size: 11px;
        line-height: 17px;
    }

    .mg-regulators__document-link {
        margin-top: 12px;
        font-size: 12px;
        line-height: 18px;
    }

    .mg-regulators__inspection {
        padding: 16px;
    }

    .mg-regulators__inspection-title {
        border: 0;
        padding: 0;
        gap: 8px;
    }

    .mg-regulators__inspection-title .mg-regulators__icon {
        width: 20px;
        height: 20px;
    }

    .mg-regulators__inspection-title h4 {
        padding-top: 0;
        font-size: 14px;
        line-height: 21px;
    }

    .mg-regulators__inspection-summary {
        margin-top: 10px;
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__inspection-label {
        display: none;
    }

    .mg-regulators__inspection-registry {
        margin-top: 10px;
        padding: 0;
        background: transparent;
        gap: 8px;
    }

    .mg-regulators__inspection-registry strong {
        font-size: 12px;
        line-height: 18px;
    }

    .mg-regulators__inspection-registry > span {
        font-size: 11px;
        line-height: 17px;
    }

    .mg-regulators__inspection-registry .mg-regulators__link {
        font-size: 12px;
    }

    .mg-regulators__registry-list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .mg-regulators__registry {
        flex-direction: row;
        flex-basis: auto;
        align-items: center;
        gap: 14px;
        padding: 18px;
        border-radius: 14px;
    }

    .mg-regulators__registry > .mg-regulators__icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .mg-regulators__registry h3 {
        font-size: 14px;
        line-height: 21px;
    }

    .mg-regulators__registry p {
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__registry .mg-regulators__link {
        margin-top: 0;
        padding-top: 0;
        font-size: 12px;
    }

    .mg-regulators__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
        border-radius: 14px;
    }

    .mg-regulators__legal-data,
    .mg-regulators__legal-action {
        flex-basis: auto;
        width: 100%;
    }

    .mg-regulators__legal-data h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .mg-regulators__legal-data > p {
        font-size: 13px;
        line-height: 20px;
    }

    .mg-regulators__legal-numbers {
        font-size: 12px !important;
        line-height: 19px !important;
        margin-top: 12px !important;
    }

    .mg-regulators__legal-action {
        padding-top: 12px;
        border-top: 1px solid var(--mg-border);
    }

    .mg-regulators__legal-action > p {
        font-size: 12px;
        line-height: 19px;
    }

    .mg-regulators__faq .mg-regulators__section-head {
        margin-bottom: 12px;
    }

    .mg-regulators__faq-list {
        gap: 12px;
    }

    .mg-regulators__faq-question {
        min-height: 54px;
        padding: 14px;
        font-size: 12px;
        line-height: 21px;
        gap: 10px;
    }

    .mg-regulators__faq-answer {
        padding: 16px 14px;
        font-size: 12px;
        line-height: 21px;
    }

    .mg-regulators__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 22px;
        border-radius: 16px;
    }

    .mg-regulators__cta > div:first-child,
    .mg-regulators__cta-contact {
        flex: none;
        width: 100%;
    }

    .mg-regulators__cta h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 14px;
    }

    .mg-regulators__cta p {
        font-size: 13px;
        line-height: 21px;
    }

    .mg-regulators__cta-contact {
        padding-top: 14px;
        border-top: 1px solid #d0dcf0;
    }

    .mg-regulators__cta-contact a {
        font-size: 20px;
        line-height: 26px;
    }

    .mg-regulators__cta-contact p {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 365px) {
    .mg-regulators {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mg-regulators__license-number {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mg-regulators a,
    .mg-regulators__faq-toggle::after {
        transition: none;
    }
}
/* Dev CMS integration: contain card columns and keep outline SVGs unfilled. */
.mg-regulators { min-width: 0; max-width: 100%; }
.mg-regulators__container { width: 100%; min-width: 0; }
.mg-regulators__icon { fill: none; }
.mg-regulators__agency { display: grid; grid-template-columns: minmax(0, 450fr) minmax(0, 350fr) minmax(0, 334fr); }
.mg-regulators__agency > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 1250px) {
 .mg-regulators__agency { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
 .mg-regulators__agency > .mg-regulators__inspection { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
 .mg-regulators__agency { grid-template-columns: minmax(0, 1fr); }
 .mg-regulators__agency > * { width: 100%; }
}

/* Align this page with the theme header and breadcrumbs using the shared layout. */
.mg-regulators.layout { padding-left: var(--offset); padding-right: var(--offset); }
