﻿.municipals {
    box-sizing: border-box;
    width: 100%;
    padding: 32px 24px 48px;
    color: #111;
    font-size: 16px;
    line-height: 1.65;
}

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

.municipals__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    margin: 0 0 28px;
    padding: 32px;
    border: 1px solid #000;
    background: linear-gradient(180deg, #fff, #f7fbf7);
}

    .municipals__hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 8px;
        background: linear-gradient(to right, #7ed957, #1b5e20);
        border-bottom: 1px solid #000;
    }

.municipals__hero-content {
    min-width: 0;
}

.municipals__title {
    max-width: 820px;
    margin: 0;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
}

.municipals__lead {
    max-width: 820px;
    margin: 18px 0 0;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}

.municipals__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 18px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.municipals__image {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}

.municipals__section {
    margin: 0 0 28px;
    padding: 28px 32px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.municipals__section-title {
    margin: 0 0 16px;
    color: #1b5e20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.municipals__text {
    margin: 0 0 14px;
    color: #222;
}

    .municipals__text:last-child {
        margin-bottom: 0;
    }

.municipals__notice {
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid #000;
    background: linear-gradient(to right, #eef8ee, #fff);
}

.municipals__notice-text {
    margin: 0;
    color: #111;
    font-weight: 700;
}

.municipals__issue-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.municipals__issue-item {
    position: relative;
    padding: 12px 14px 12px 42px;
    border: 1px solid #e1e1e1;
    background: #fbfbfb;
    color: #222;
}

    .municipals__issue-item::before {
        content: "";
        position: absolute;
        top: 18px;
        left: 18px;
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: #2f8f2f;
    }

.municipals__hint {
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #000;
    background: #fff;
    color: #111;
}

.municipals__examples {
    display: grid;
    gap: 18px;
    margin: 22px 0 0;
}

.municipals__example {
    padding: 22px;
    border: 1px solid #d8d8d8;
    border-left: 5px solid #2f8f2f;
    background: #fbfbfb;
}

.municipals__example-title {
    margin: 0 0 16px;
    color: #111;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.municipals__message {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.municipals__message-label {
    margin: 0 0 10px;
    color: #1b5e20;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.municipals__quote {
    margin: 0;
    padding: 0;
    border: 0;
}

.municipals__quote-text {
    margin: 0 0 12px;
    color: #222;
}

    .municipals__quote-text:last-child {
        margin-bottom: 0;
    }

.municipals__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: municipals-step;
}

.municipals__step {
    position: relative;
    min-height: 42px;
    margin: 0 0 12px;
    padding: 8px 0 8px 56px;
    color: #222;
    counter-increment: municipals-step;
}

    .municipals__step::before {
        content: counter(municipals-step);
        position: absolute;
        top: 4px;
        left: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #000;
        background: #eef8ee;
        color: #1b5e20;
        font-weight: 700;
        line-height: 1;
    }

    .municipals__step:last-child {
        margin-bottom: 0;
    }

.municipals__plain-list {
    margin: 10px 0 0 20px;
    padding: 0;
    color: #222;
}

.municipals__plain-item {
    margin: 0 0 6px;
    padding: 0;
}

    .municipals__plain-item:last-child {
        margin-bottom: 0;
    }

.municipals__result {
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid #000;
    background: linear-gradient(to right, #eef8ee, #fff);
    color: #111;
    font-weight: 700;
}

@media (max-width: 768px) {
    .municipals {
        padding: 20px 12px 34px;
        font-size: 15px;
    }

    .municipals__hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 18px 22px;
    }

    .municipals__title {
        font-size: 28px;
    }

    .municipals__lead {
        font-size: 16px;
    }

    .municipals__image-wrap {
        justify-self: center;
        width: 100%;
        max-width: 260px;
        padding: 14px;
    }

    .municipals__section {
        padding: 22px 16px;
    }

    .municipals__section-title {
        font-size: 23px;
    }

    .municipals__example {
        padding: 16px;
    }

    .municipals__message {
        padding: 14px;
    }

    .municipals__step {
        padding-left: 48px;
    }
}

@media (max-width: 420px) {
    .municipals__title {
        font-size: 25px;
    }

    .municipals__section-title {
        font-size: 21px;
    }

    .municipals__example-title {
        font-size: 19px;
    }
}

@media print {
    .municipals {
        padding: 0;
    }

    .municipals__section,
    .municipals__hero {
        break-inside: avoid;
    }
}
