.promo-page.py-5 {
    padding-top: 0 !important;
}

.promo-page {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;
}

.promo-section a{
  text-decoration: underline;
  color: #00843d;
}

.promo-inner {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 767px) {
    .promo-page {
        padding-left: 16px;
        padding-right: 16px;
    }
    .promo-inner  {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* фон всей страницы */
.promo-inner {
    background-color: var(--page-bg, transparent);
}

/* секции */
.promo-section {
    background-color: var(--section-bg, transparent);

    margin-left: -30px;
    margin-right: -30px;

    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
}

@media (max-width: 767px) {
    .promo-section {
        margin-left: -16px;
        margin-right: -16px;

        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Стили для всех CTA-кнопок баннера */
.banner .btn-banner,
.steps .btn-banner {
    background-color: #00843d;
    color: white;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

/* .banner {
    padding: 0;
}

.banner .col-md-6 {
    padding: 0;
} */

.banner .btn-banner:hover,
.steps .btn-banner:hover {
    background-color: #17a057;
    color: white;
}

.banner .btn-banner:active,
.steps .btn-banner:active {
    background-color: #0b9b4e;
    color: white;
}

.banner h1 {
    margin-bottom: 0.3em;
}

.banner h3 {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.banner.no-subtitle h1 {
    margin-bottom: 1.2em;
}

.banner .lead {
    margin-top: 0;
}

.rich-text {
    line-height: 1.65;
}

.rich-text > *:first-child {
    margin-top: 0;
}

.rich-text > *:last-child {
    margin-bottom: 0;
}

.rich-text p {
    margin-bottom: 1rem;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin-top: 1.6em;
    margin-bottom: 0.65em;
    line-height: 1.25;
}

.rich-text h2:first-child,
.rich-text h3:first-child,
.rich-text h4:first-child {
    margin-top: 0;
}

.rich-text h2 {
    font-size: 1.65rem;
}

.rich-text h3 {
    font-size: 1.35rem;
}

.rich-text h4 {
    font-size: 1.12rem;
}

.rich-text ul,
.rich-text ol {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    padding-left: 1.4rem;
}

.rich-text ul {
    list-style-type: disc;
    list-style-position: outside;
}

.rich-text li {
    margin-bottom: 0.45rem;
}

.rich-text li::marker {
    color: #00843d;
}

.rich-text blockquote {
    border-left: 4px solid #00843d;
    margin: 1.25rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    color: #4f5b55;
}

.rich-text blockquote p {
    margin-bottom: 0.5rem;
}

.rich-text a {
    text-underline-offset: 0.18em;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.rich-text table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.rich-text th,
.rich-text td {
    border: 1px solid #d8dedb;
    padding: 0.65rem 0.8rem;
    vertical-align: top;
}

.rich-text th {
    background-color: #f3f7f5;
    font-weight: 600;
}

span.text_red   { color: #e53935; }
span.text_blue  { color: #1e88e5; }
span.text_green { color: #43a047; }
span.text_white { color: #ffffff; }

span.font_small  { font-size: 0.85em; }
span.font_medium { font-size: 1em; }
span.font_large  { font-size: 1.25rem; }

.promo-analysis-unavailable {
    color: #d32f2f;
    font-weight: 700;
}

.banner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.banner-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.custom-banner-margin {
  margin-bottom: 1.5rem !important;
}

.banner-badge--white { color: #ffffff; }
.banner-badge--black { color: #000000; }
.banner-badge--green { color: #27ae60; }
.banner-badge--red   { color: #e53935; }
