/* CK Editor 前台內容呈現自訂樣式 */
/* ck editor custom style */
.content .ck-h1,
.content .ck-h2,
.content .ck-h3,
.content h1,
.content h2,
.content h3,
.section-content__full .content .owl-carousel,
.content blockquote {
    margin: 0.5rem 0 2rem 0;
}

.content blockquote {
    margin-bottom: 2.5rem;
}

.content .owl-carousel {
    margin-bottom: 6rem;
}

/* 單一輪播圖移除.owl-nav的高度 */
.content .owl-single {
    margin-bottom: 2rem;
}

.content .owl-single .owl-item img {
    object-fit: cover;
}

.content .owl-carousel .owl-nav {
    width: 100%;
    justify-content: flex-end;
}

.content .ck-h1,
.content h1 {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;
}

.content .ck-h2,
.content h2 {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.content .ck-h3,
.content h3 {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
}

.content blockquote {
    padding: 2.5rem 1.25rem;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.content blockquote i {
    font-style: normal !important;
}

.content blockquote p:last-of-type {
    margin-bottom: 0;
}

.content img {
    max-width: 100%;
}

@media (min-width: 900px) {
    .content .ck-h1,
    .content h1 {
        font-size: 2rem;
    }

    .content blockquote {
        padding: 1.5rem 4.5rem;
    }
}

@media print {
    /* ckeditor5-page-break/theme/pagebreak.css */
    .ck-content .page-break {
        padding: 0;
    }

    /* ckeditor5-page-break/theme/pagebreak.css */
    .ck-content .page-break::after {
        display: none;
    }
}