/*
CTC Separate Stylesheet
Updated: 2025-11-21 16:05:44
*/

/* ======================================= */
/*  SINGLE POST CONTENT OPTIMIZATION CSS   */
/*  Classic Editor + Elementor Single Page */
/* ======================================= */

/* ------------------------------ */
/* 1. CENTER IMAGE + CAPTION FIX */
/* ------------------------------ */

.single .wp-caption,
.single figure.wp-caption,
.single .aligncenter,
.single img.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

.single .entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    max-width: 100%;
}

/* Caption */
.single .wp-caption-text,
.single figcaption {
    margin-top: 10px;
    text-align: center;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

/* Add spacing around figure */
.single figure,
.single .wp-caption {
    margin-top: 20px;
    margin-bottom: 20px;
}


/* ------------------------------ */
/* 2. PARAGRAPH & HEADING SPACING */
/* ------------------------------ */

.single .entry-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6 {
    line-height: 1.3;
    font-weight: 600;
}

.single .entry-content h1 { margin: 36px 0 18px; font-size: 32px; }
.single .entry-content h2 { margin: 32px 0 16px; font-size: 28px; }
.single .entry-content h3 { margin: 28px 0 14px; font-size: 24px; }
.single .entry-content h4 { margin: 24px 0 12px; font-size: 20px; }
.single .entry-content h5 { margin: 20px 0 10px; font-size: 18px; }
.single .entry-content h6 { margin: 18px 0 10px; font-size: 16px; }


/* ------------------------------ */
/* 3. LIST SPACING (UL/OL)        */
/* ------------------------------ */

.single .entry-content ul,
.single .entry-content ol {
    margin: 0 0 20px 25px;
    padding: 0;
    line-height: 1.7;
}

.single .entry-content ul li,
.single .entry-content ol li {
    margin-bottom: 6px;
}


/* ------------------------------ */
/* 4. BLOCKQUOTE STYLE            */
/* ------------------------------ */

.single blockquote {
    border-left: 4px solid #38a000;
    padding: 12px 20px;
    margin: 20px 0;
    background: #f8f8f8;
    color: #444;
    font-style: italic;
}


/* ------------------------------ */
/* 5. TABLE STYLE (CLEAN)         */
/* ------------------------------ */

.single table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.single table th,
.single table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.single table th {
    background: #f0f0f0;
    font-weight: 600;
}


/* ------------------------------ */
/* 6. MOBILE RESPONSIVE TUNING    */
/* ------------------------------ */

@media (max-width: 768px) {
    .single .entry-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .single .entry-content h1 { font-size: 26px; }
    .single .entry-content h2 { font-size: 24px; }
    .single .entry-content h3 { font-size: 22px; }
    .single .entry-content h4 { font-size: 20px; }
}
/* ======================================= */
/*        END OF SINGLE POST CSS           */
/* ======================================= */