/** Sekcja z treścią SEO na stronie głównej (kontener Elementora z klasą "md-seo")
 *  Skala dopasowana do reszty SG: Figtree, tytuły kart 23px/600, tekst 16px/160%. */
.md-seo > .e-con-inner {
    padding-top: 100px;
    padding-bottom: 100px;
    gap: 50px;
}

.md-seo .elementor-heading-title,
.md-seo .post_faq_heading {
    margin: 0;
    color: var(--BLACK, #231F20);
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
}

/* Wstęp - H2, lead, przycisk */
.md-seo > .e-con-inner > .e-con:first-child {
    gap: 20px;
}

.md-seo > .e-con-inner > .e-con:first-child .elementor-heading-title {
    font-size: 44px;
}

.md-seo > .e-con-inner > .e-con:first-child .elementor-widget-button {
    margin-top: 10px;
}

/* Dwie kolumny z treścią */
.md-seo .e-con.e-child > .e-con.e-child {
    gap: 20px;
}

/* margines dokładany przez Elementor w ustawieniach widgetu - odstępy daje gap kontenera */
body .md-seo .elementor-element.elementor-widget-heading {
    margin-bottom: 0;
}

.md-seo .e-con.e-child > .e-con.e-child > .elementor-widget-heading:not(:first-child),
.md-seo .e-con.e-child > .e-con.e-child > .elementor-widget-shortcode {
    margin-top: 30px;
}

.md-seo .elementor-widget-text-editor h3 {
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--BLACK, #231F20);
    font-size: 23px;
    font-weight: 600;
    line-height: 120%;
}

.md-seo .elementor-widget-text-editor h3:first-child {
    margin-top: 0;
}

.md-seo .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.md-seo .elementor-widget-text-editor ul {
    margin-bottom: 16px;
}

.md-seo .elementor-widget-text-editor li > p {
    margin: 0;
}

/* FAQ ([faq] z inc/schema-faq.php) w prawej kolumnie */
.md-seo .post_faq {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.md-seo .post_faq_heading {
    margin-bottom: 24px;
}

.md-seo .post_faq_list {
    gap: 12px;
}

.md-seo .post_faq_item {
    padding: 0;
    border: 1px solid var(--theme-color-border, #e2e2e2);
    border-radius: 15px;
    background-color: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.md-seo .post_faq_item[open] {
    border-color: #23A0DA;
    background-color: var(--theme-color-bg_2, #F2F4F5);
}

.md-seo .post_faq_question {
    padding: 18px 22px;
}

.md-seo .post_faq_question_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
}

.md-seo .post_faq_question:hover .post_faq_question_title {
    color: #23A0DA;
}

.md-seo .post_faq_question::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #23A0DA;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

.md-seo .post_faq_answer {
    margin-top: 0;
    padding: 0 22px 20px;
    color: var(--BLACK, #231F20);
    font-size: 16px;
    line-height: 160%;
}

@media (max-width: 1024px) {
    .md-seo > .e-con-inner {
        padding-top: 70px;
        padding-bottom: 70px;
        gap: 40px;
    }

    .md-seo > .e-con-inner > .e-con:first-child .elementor-heading-title {
        font-size: 34px;
    }

    .md-seo .elementor-heading-title,
    .md-seo .post_faq_heading {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .md-seo > .e-con-inner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .md-seo > .e-con-inner > .e-con:first-child .elementor-heading-title {
        font-size: 28px;
    }

    .md-seo .elementor-heading-title,
    .md-seo .post_faq_heading {
        font-size: 24px;
    }

    .md-seo .elementor-widget-text-editor h3 {
        font-size: 20px;
    }

    .md-seo .post_faq_question {
        padding: 16px 18px;
    }

    .md-seo .post_faq_question_title {
        font-size: 16px;
    }

    .md-seo .post_faq_answer {
        padding: 0 18px 18px;
    }
}
