/* Zendesk-style CSS for article content - Extracted from original Zendesk CSS */



/* Article Title */
.article-title {
    margin-bottom: 20px;
    margin-top: 0px;
}

.article-title .icon-lock {
    position: relative;
    left: -5px;
    vertical-align: baseline;
}

@media (min-width: 768px) {
    .article-title {
        flex-basis: 100%;
    }
}

/* Article Author */
.article-author {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Article Body - Images */
.description img,
.article-body img {
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #d8e5ea;
}

/* Article Body - Lists */
.description ul,
.description ol,
.article-body ul,
.article-body ol {
    padding-left: 30px;
    list-style-position: outside;
    margin: 20px 0 20px 30px;
}

.description ul,
.article-body ul {
    list-style-type: disc;
}

.description ul > ul,
.description ol > ol,
.description ol > ul,
.description ul > ol,
.description li > ul,
.description li > ol,
.article-body ul > ul,
.article-body ol > ol,
.article-body ol > ul,
.article-body ul > ol,
.article-body li > ul,
.article-body li > ol {
    margin: 0;
}

/* Article Body - Code */
.description code,
.article-body code {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 5px;
    margin: 0 2px;
}

.description pre,
.article-body pre {
    background: #f0f4f5;
    border: 1px solid #d8e5ea;
    border-radius: 3px;
    padding: 10px 15px;
    overflow: auto;
    white-space: pre;
}

/* Article Body - Blockquotes */
.description blockquote,
.article-body blockquote {
    border-left: 1px solid #d8e5ea;
    color: #02bda4;
    font-style: italic;
    padding: 0 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-left: 40px;
}

/* Article Body - Tables */
.description table,
.article-body table {
    margin: 0px;
}

.description td,
.article-body td {
    margin: 0px;
}

.description tr,
.article-body tr {
    margin: 0px;
}

/* Article Body - Paragraphs */
.description > p:last-child,
.article-body > p:last-child {
    margin-bottom: 0;
}

/* WYSIWYG Font Sizes */
.wysiwyg-font-size-x-large {
    margin-bottom: 30px;
    margin-top: 30px;
    font-size: 20px;
    line-height: 30px;
    display: block;
    padding: 20px 25px;
    border-radius: 8px;
    border: 2px dashed #d8e5ea;
}

.wysiwyg-font-size-large {
    border-left: 1px solid #d8e5ea;
    color: #02bda4;
    font-style: italic;
    padding: 0 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-left: 40px;
    display: block;
}

.wysiwyg-font-size-medium {
    font-size: 24px;
    line-height: 30px;
}

.wysiwyg-font-size-small {
    font-size: 12px;
}

/* WYSIWYG Text Alignment */
.wysiwyg-text-align-center {
    text-align: center;
}

.wysiwyg-text-align-left {
    text-align: left;
}

.wysiwyg-text-align-right {
    text-align: right;
}

/* WYSIWYG Text Decoration */
.wysiwyg-underline {
    text-decoration: underline;
}

/* WYSIWYG Colors */
.wysiwyg-color-black {
    color: #000;
}

/* WYSIWYG Indentation */
.wysiwyg-indent0\.8333333333333334 {
    padding-left: 1.6666666666666667em;
}

.wysiwyg-indent1 {
    padding-left: 2em;
}

.wysiwyg-indent2 {
    padding-left: 4em;
}

.wysiwyg-indent3 {
    padding-left: 6em;
}

.wysiwyg-indent6 {
    padding-left: 12em;
}

/* WYSIWYG Images */
.wysiwyg-image {
    display: block;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.wysiwyg-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

figure.wysiwyg-image {
    margin: 1.5rem 0;
    text-align: center;
}

figure.wysiwyg-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Images */
.image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

/* Video Container */
.embed-container,
.video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1.5rem 0;
}

.embed-container iframe,
.embed-container object,
.embed-container embed,
.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* List Marker Styles */
.ck-list-marker-bold {
    font-weight: 700;
}

/* Headings in article content */
.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.description h1 {
    font-size: 2rem;
}

.description h2 {
    font-size: 1.75rem;
}

.description h3 {
    font-size: 1.5rem;
}

.description h4 {
    font-size: 1.25rem;
}

.description h5 {
    font-size: 1.125rem;
}

.description h6 {
    font-size: 1rem;
}

/* Paragraphs */
.description p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Links */
.description a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.description a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.description a:focus {
    outline: 2px solid #1e88e5;
    outline-offset: 2px;
}

.description a:visited {
    color: #7b1fa2;
}

/* Strong and Emphasis */
.description strong,
.description b {
    font-weight: 700;
}

.description em,
.description i {
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .wysiwyg-font-size-x-large {
        font-size: 1.125rem;
        padding: 15px 20px;
    }
    
    .wysiwyg-font-size-large {
        font-size: 1rem;
        margin-left: 20px;
        padding: 0 15px;
    }
    
    .wysiwyg-indent1,
    .wysiwyg-indent2,
    .wysiwyg-indent3,
    .wysiwyg-indent6 {
        padding-left: 1rem;
    }
    
    .description blockquote,
    .article-body blockquote {
        margin-left: 20px;
        padding: 0 15px;
        font-size: 1rem;
    }
}
