﻿/* ===============================
   CONTENT PAGE BASE STYLES
   =============================== */

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
}

    /* Paragraphs */
    .content-body p {
        margin-bottom: 1rem;
    }

    /* Headings inside CMS content */
    .content-body h1,
    .content-body h2,
    .content-body h3,
    .content-body h4,
    .content-body h5,
    .content-body h6 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 600;
        color: #333;
    }

    /* Lists */
    .content-body ul,
    .content-body ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-body li {
        margin-bottom: 0.5rem;
    }

    /* Links */
    .content-body a {
        color: #0d6efd;
        text-decoration: none;
    }

        .content-body a:hover {
            text-decoration: underline;
        }

    /* Images */
    .content-body img {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
        border-radius: 6px;
    }

    /* Tables */
    .content-body table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1.5rem;
    }

        .content-body table th,
        .content-body table td {
            border: 1px solid #dee2e6;
            padding: 0.75rem;
            text-align: left;
        }

        .content-body table th {
            background-color: #f8f9fa;
            font-weight: 600;
        }

    /* Blockquotes */
    .content-body blockquote {
        padding: 1rem 1.25rem;
        margin: 1.5rem 0;
        border-left: 4px solid #0d6efd;
        background-color: #f8f9fa;
        font-style: italic;
    }

    /* Code blocks */
    .content-body pre {
        background-color: #212529;
        color: #f8f9fa;
        padding: 1rem;
        border-radius: 6px;
        overflow-x: auto;
    }

    .content-body code {
        background-color: #f1f3f5;
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        font-size: 90%;
    }

    /* Horizontal rule */
    .content-body hr {
        margin: 2rem 0;
        border-top: 1px solid #dee2e6;
    }

/* ===============================
   PAGE TITLE DECORATION
   =============================== */

.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

    .page-title h2 {
        font-weight: 700;
        color: #6c757d;
    }

    .page-title .title-divider {
        width: 80px;
        height: 3px;
        background-color: #0d6efd;
        margin: 0.75rem auto 0;
    }

/* ===============================
   RESPONSIVE TWEAKS
   =============================== */

@media (max-width: 768px) {
    .content-body {
        font-size: 15px;
        line-height: 1.7;
    }

    .page-title h2 {
        font-size: 1.5rem;
    }
}
