/* =========================
   Quick Start Article Layout
   ========================= */

/* Main article container */
.item-page.quick-start-doc,
.quick-start-doc .item-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 55px 30px 80px;
}

/* Article title */
.item-page.quick-start-doc .page-header h2,
.quick-start-doc .item-page .page-header h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 18px;
}

/* Publish date / metadata */
.item-page.quick-start-doc .article-info,
.quick-start-doc .item-page .article-info {
    margin-bottom: 42px;
    font-size: 14px;
    opacity: 0.7;
}

/* Body text */
.item-page.quick-start-doc p,
.quick-start-doc .item-page p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 18px;
}

/* Main section headings */
.item-page.quick-start-doc h1,
.quick-start-doc .item-page h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-top: 55px;
    margin-bottom: 22px;
}

.item-page.quick-start-doc h2,
.quick-start-doc .item-page h2 {
    font-size: 28px;
    line-height: 1.35;
    margin-top: 48px;
    margin-bottom: 18px;
}

.item-page.quick-start-doc h3,
.quick-start-doc .item-page h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 36px;
    margin-bottom: 14px;
}

/* Images */
.item-page.quick-start-doc img,
.quick-start-doc .item-page img {
    max-width: 100%;
    height: auto;
}

/* Lists */
.item-page.quick-start-doc ul,
.item-page.quick-start-doc ol,
.quick-start-doc .item-page ul,
.quick-start-doc .item-page ol {
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Links inside technical articles */
.item-page.quick-start-doc a,
.quick-start-doc .item-page a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
    .item-page.quick-start-doc,
    .quick-start-doc .item-page {
        padding: 30px 18px 55px;
    }

    .item-page.quick-start-doc .page-header h2,
    .quick-start-doc .item-page .page-header h2 {
        font-size: 30px;
    }

    .item-page.quick-start-doc h1,
    .quick-start-doc .item-page h1 {
        font-size: 28px;
    }

    .item-page.quick-start-doc h2,
    .quick-start-doc .item-page h2 {
        font-size: 24px;
    }

    .item-page.quick-start-doc h3,
    .quick-start-doc .item-page h3 {
        font-size: 20px;
    }
}
/* Joomla article reading width */
body.view-article .item-page {
    max-width: 1080px !important;
    width: calc(100% - 60px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 50px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

/* Article main title */
body.view-article .item-page .page-header h2 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

/* Main sections */
body.view-article .item-page h1 {
    font-size: 34px !important;
    line-height: 1.3 !important;
    margin-top: 55px !important;
    margin-bottom: 22px !important;
}

/* Sub sections */
body.view-article .item-page h2:not(.page-header h2) {
    font-size: 27px !important;
    line-height: 1.35 !important;
    margin-top: 38px !important;
    margin-bottom: 16px !important;
}

body.view-article .item-page h3 {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-top: 32px !important;
    margin-bottom: 14px !important;
}

/* Paragraph readability */
body.view-article .item-page p,
body.view-article .item-page li {
    font-size: 16px;
    line-height: 1.75;
}

/* Images must stay inside article */
body.view-article .item-page img {
    max-width: 100% !important;
    height: auto !important;
}

/* Tables / old migrated content */
body.view-article .item-page table {
    max-width: 100% !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.view-article .item-page {
        width: calc(100% - 32px) !important;
        padding-top: 30px;
    }

    body.view-article .item-page .page-header h2 {
        font-size: 30px !important;
    }

    body.view-article .item-page h1 {
        font-size: 27px !important;
    }

    body.view-article .item-page h2:not(.page-header h2) {
        font-size: 23px !important;
    }
}