/* Responsive presentation for the rich-editor guide. The source keeps its
   screenshots, links and localization selectors, while this layer removes
   the legacy sidebar/floats that made the guide appear pushed to one side. */
body.editor-features-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(204, 239, 219, .68), transparent 28rem),
        linear-gradient(180deg, #f6fbf8 0, #fff 32rem);
}

body.editor-features-page > .container-fluid {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.editor-features-page > .container-fluid > .row:first-child {
    display: block;
    width: 100%;
    margin: 0;
}
body.editor-features-page > .container-fluid > .row:nth-of-type(2) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(34px, 6vw, 76px) 0 88px;
    box-sizing: border-box;
}
body.editor-features-page > .container-fluid > .row:nth-of-type(2) > .col-6 { display: none; }
body.editor-features-page > .container-fluid > .row:nth-of-type(2) > .col-12 {
    width: 100%;
    max-width: none;
    float: none;
    padding: 0;
}
body.editor-features-page .logo,
body.editor-features-page .fb-comments,
body.editor-features-page .fb-like,
body.editor-features-page .twitter-follow-button { display: none!important; }
body.editor-features-page > .container-fluid > .row:nth-of-type(2) > .col-12 > .container:first-of-type,
body.editor-features-page > .container-fluid > .row:nth-of-type(2) > .col-12 > hr.solid { display: none!important; }
body.editor-features-page .content-article {
    width: min(860px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid #d6e6dc;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(21, 64, 41, .075);
    box-sizing: border-box;
}
body.editor-features-page .content-article h1 { margin-top: 0!important; }
body.editor-features-page .content-article h2 {
    margin-top: clamp(34px, 5vw, 58px);
    padding-top: 4px;
    color: #12271d;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
}
body.editor-features-page .content-article h2:first-of-type { margin-top: 28px; }
body.editor-features-page .content-article h3 { margin-top: 30px; color: #167448; }
body.editor-features-page .content-article p,
body.editor-features-page .content-article li { color: #40564a; }
body.editor-features-page .content-article ol { padding-left: 1.45rem; }
body.editor-features-page .content-article ol li { margin-bottom: 7px; }
body.editor-features-page .content-article img {
    display: inline-block;
    width: min(100%, 380px);
    max-height: 300px;
    margin: 14px 12px 10px 0;
    border: 1px solid #d6e6dc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(21, 64, 41, .08);
    object-fit: contain;
    vertical-align: top;
}
body.editor-features-page .content-article picture.editor-screenshot {
    display: block;
    margin: 22px 0 30px;
}
body.editor-features-page .content-article picture.editor-screenshot img {
    display: block;
    width: 100%;
    max-width: 860px;
    max-height: none;
    margin: 0;
}
body.editor-features-page .content-article .compact-list { margin-top: 12px; }
body.editor-features-page .card {
    width: min(860px, 100%);
    margin: 28px auto 0;
    border: 1px solid #d6e6dc;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(21, 64, 41, .06);
}
body.editor-features-page .card-body { padding: clamp(22px, 4vw, 34px); }
body.editor-features-page .card-title { color: #12271d; font-weight: 780; }
body.editor-features-page .facebook-responsive { width: 100%; overflow: hidden; border-radius: 12px; }
body.editor-features-page .facebook-responsive iframe { display: block; width: 100%; max-width: 560px; margin: 0 auto; }

@media (max-width: 760px) {
    body.editor-features-page > .container-fluid > .row:nth-of-type(2) { width: min(100% - 24px, 1120px); padding-top: 28px; }
    body.editor-features-page .content-article { padding: 22px 17px; border-radius: 18px; }
    body.editor-features-page .content-article img { display: block; width: 100%; max-height: none; margin: 14px 0; }
}
