/* ==========================================================================
   CKEditor 5 Content Content Styling Mapping (Frontend View Integration)
   ========================================================================== */

/* Typography & Structural Formatting Elements */
.article-description-content h1 { font-size: 2.2em !important; margin: 0.7em 0 !important; font-weight: 700 !important; color: #222 !important; line-height: 1.3 !important; }
.article-description-content h2 { font-size: 1.8em !important; margin: 0.8em 0 !important; font-weight: 600 !important; color: #333 !important; line-height: 1.3 !important; }
.article-description-content h3 { font-size: 1.5em !important; margin: 0.8em 0 !important; font-weight: 600 !important; color: #333 !important; line-height: 1.4 !important; }
.article-description-content h4 { font-size: 1.3em !important; margin: 1em 0 !important; font-weight: 600 !important; color: #444 !important; }
.article-description-content h5 { font-size: 1.15em !important; margin: 1em 0 !important; font-weight: 600 !important; color: #444 !important; }
.article-description-content h6 { font-size: 1em !important; margin: 1em 0 !important; font-weight: 700 !important; text-transform: uppercase !important; color: #555 !important; letter-spacing: 0.5px !important; }

.article-description-content p { 
    font-size: 15px !important; 
    line-height: 1.8 !important; 
    margin: 1em 0 !important; 
    color: #333 !important;
}

/* Custom Highlight Pen and Marker Classes */
.article-description-content .marker-yellow { background-color: #fff2a8 !important; }
.article-description-content .marker-green { background-color: #baffc9 !important; }
.article-description-content .marker-pink { background-color: #ffb3ba !important; }
.article-description-content .blueMarker { background-color: #bae1ff !important; }
.article-description-content .pen-red { color: #ff0000 !important; background-color: transparent !important; }
.article-description-content .pen-green { color: #008000 !important; background-color: transparent !important; }

/* Custom Block Styles Definitions */
.article-description-content .info-tip { background: #e3f2fd !important; border-left: 4px solid #2196f3 !important; padding: 15px !important; margin: 1em 0 !important; border-radius: 0 4px 4px 0 !important; }
.article-description-content .warning-tip { background: #fff3e0 !important; border-left: 4px solid #ff9800 !important; padding: 15px !important; margin: 1em 0 !important; border-radius: 0 4px 4px 0 !important; }
.article-description-content .text-red { color: #e53935 !important; }
.article-description-content .text-green { color: #43a047 !important; }
.article-description-content .text-blue { color: #1e88e5 !important; }
.article-description-content .big-letter { font-size: 1.4em !important; font-weight: bold !important; }

/* Document Links */
.article-description-content a {
    color: #0d6efd !important;
    text-decoration: underline !important;
}
.article-description-content a:hover {
    color: #0a58ca !important;
}

/* Lists Mechanics */
.article-description-content ul {
    list-style-type: disc !important;
    padding-left: 2.5em !important;
    margin: 1em 0 !important;
}
.article-description-content ol {
    list-style-type: decimal !important;
    padding-left: 2.5em !important;
    margin: 1em 0 !important;
}
.article-description-content li {
    margin-bottom: 0.4em !important;
    line-height: 1.6 !important;
}

/* Tabular Data Containers */
.article-description-content table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 1.5em 0 !important;
    border: 1px solid #ddd !important;
}
.article-description-content table td,
.article-description-content table th {
    border: 1px solid #ddd !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
}
.article-description-content table th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Quotes and Inline Code Components */
.article-description-content blockquote {
    border-left: 4px solid #0d6efd !important;
    padding: 15px 20px !important;
    margin: 1.5em 0 !important;
    background-color: #f8f9fa !important;
    border-radius: 0 4px 4px 0 !important;
    font-style: italic !important;
    color: #555 !important;
}
.article-description-content code {
    background-color: #f8f9fa !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.85em !important;
    color: #d63384 !important;
    border: 1px solid #eaeaea !important;
}
.article-description-content pre {
    background-color: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 4px !important;
    overflow-x: auto !important;
    border: 1px solid #ddd !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.85em !important;
    line-height: 1.5 !important;
    margin: 1.5em 0 !important;
}

/* Dynamic Flexible Images & Multi-Directional Text-Wrapping Rules */
.article-description-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
    transition: transform 0.2s ease !important;
}
.article-description-content .image-style-align-left {
    float: left !important;
    margin-right: 1.8em !important;
    margin-bottom: 1.2em !important;
    max-width: 50% !important;
}
.article-description-content .image-style-align-right {
    float: right !important;
    margin-left: 1.8em !important;
    margin-bottom: 1.2em !important;
    max-width: 50% !important;
}
.article-description-content .image-style-block {
    display: block !important;
    margin: 1.8em auto !important;
    float: none !important;
    max-width: 100% !important;
}
.article-description-content .image-style-inline {
    display: inline-block !important;
    float: none !important;
    margin: 0 0.6em !important;
    vertical-align: middle !important;
}

/* Clearing breaks for layout rows when wrapped layout components terminate */
.article-description-content::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Responsive View Adjustment Queries */
@media (max-width: 768px) {
    .article-description-content .image-style-align-left,
    .article-description-content .image-style-align-right {
        float: none !important;
        display: block !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1em !important;
    }
    .article-description-content table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}