/*
Theme Name: Kuki
Theme URI: https://kuki.codexalters.com/
Author: Codexalters
Author URI: 
Description: Kuki is multi-purpose WordPress theme for creating stunning websites.
Version: 3.0.3
License: GPL-2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, theme-options, translation-ready, custom-menu, custom-logo, editor-style, featured-images
Text Domain: kuki
Tested up to: 5.5
Requires PHP: 7.4
*/


/* =========================================
   Aayushi Home Decor - Single Blog Page
========================================= */

/* Main blog container */
body.single-post article.post {
    max-width: 1140px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 35px 0 60px;
    color: #444;
    font-family: inherit;
    box-sizing: border-box;
}

/* Blog title */
body.single-post .entry-header {
    width: 100%;
    max-width: 950px;
    margin: 0 auto 25px;
    padding: 0;
    text-align: center;
}

body.single-post .entry-title {
    margin: 0;
    padding: 0;
    color: #292929;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

/* Featured image wrapper */
body.single-post .post_single_image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 25px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0;
    background: #f7f5f1;
}

/* Featured image */
body.single-post .post_single_image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: cover;
    border-radius: 8px;
}

/* Post metadata */
body.single-post .post-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto 35px;
    padding: 15px 20px;
    background: #f8f6f2;
    border: 1px solid #eee9e1;
    border-radius: 5px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.single-post .post-categories strong {
    color: #292929;
    font-weight: 600;
}

body.single-post .post-categories a {
    color: #96764a;
    text-decoration: none;
    transition: color 0.25s ease;
}

body.single-post .post-categories a:hover {
    color: #292929;
    text-decoration: underline;
}

/* Article content */
body.single-post .entry-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    color: #505050;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

/* Paragraph spacing */
body.single-post .entry-content p {
    margin: 0 0 22px;
}

/* Article headings */
body.single-post .entry-content h2 {
    margin: 38px 0 18px;
    color: #292929;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.4;
}

body.single-post .entry-content h3 {
    margin: 30px 0 14px;
    color: #333;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.45;
}

body.single-post .entry-content h4 {
    margin: 25px 0 12px;
    color: #333;
    font-size: 19px;
    line-height: 1.5;
}

/* Article links */
body.single-post .entry-content a {
    color: #96764a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.single-post .entry-content a:hover {
    color: #6f5430;
}

/* Lists */
body.single-post .entry-content ul,
body.single-post .entry-content ol {
    margin: 0 0 25px;
    padding-left: 26px;
}

body.single-post .entry-content li {
    margin-bottom: 9px;
    padding-left: 3px;
}

/* Images inside article */
body.single-post .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border-radius: 6px;
}

/* Image captions */
body.single-post .entry-content .wp-caption {
    max-width: 100%;
    margin: 25px auto;
}

body.single-post .entry-content .wp-caption-text,
body.single-post .entry-content figcaption {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* Blockquotes */
body.single-post .entry-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    border-left: 4px solid #a88a60;
    background: #f8f6f2;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

body.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables inside blog posts */
body.single-post .entry-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border: 1px solid #e8e4dc;
    font-size: 14px;
    line-height: 1.6;
}

body.single-post .entry-content th,
body.single-post .entry-content td {
    padding: 12px 15px;
    border: 1px solid #e8e4dc;
    text-align: left;
    vertical-align: top;
}

body.single-post .entry-content th {
    background: #f8f6f2;
    color: #292929;
    font-weight: 600;
}

/* Horizontal divider */
body.single-post .entry-content hr {
    margin: 35px 0;
    border: 0;
    border-top: 1px solid #e8e4dc;
}

/* Embedded media */
body.single-post .entry-content iframe,
body.single-post .entry-content video {
    max-width: 100%;
}

/* Prevent wide content from breaking the layout */
body.single-post .entry-content pre {
    max-width: 100%;
    overflow-x: auto;
}

body.single-post .entry-content figure {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 768px) {
    body.single-post article.post {
        width: calc(100% - 30px);
        padding: 25px 0 45px;
    }

    body.single-post .entry-header {
        margin-bottom: 20px;
    }

    body.single-post .post_single_image {
        margin-bottom: 20px;
        border-radius: 6px;
    }

    body.single-post .post_single_image img {
        border-radius: 6px;
    }

    body.single-post .post-categories {
        justify-content: flex-start;
        gap: 5px 7px;
        margin-bottom: 28px;
        padding: 12px 14px;
        font-size: 12px;
    }

    body.single-post .entry-content {
        font-size: 15px;
        line-height: 1.8;
    }

    body.single-post .entry-content h2 {
        margin-top: 30px;
    }

    body.single-post .entry-content h3 {
        margin-top: 25px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body.single-post article.post {
        width: calc(100% - 24px);
        padding-top: 20px;
        padding-bottom: 35px;
    }

    body.single-post .entry-title {
        font-size: 26px;
        line-height: 1.35;
        letter-spacing: 0;
    }

    body.single-post .post_single_image {
        margin-bottom: 16px;
    }

    body.single-post .post-categories {
        margin-bottom: 24px;
        padding: 12px;
        line-height: 1.7;
    }

    body.single-post .entry-content {
        font-size: 15px;
        line-height: 1.75;
    }

    body.single-post .entry-content p {
        margin-bottom: 18px;
    }

    body.single-post .entry-content h2 {
        font-size: 23px;
    }

    body.single-post .entry-content h3 {
        font-size: 19px;
    }

    body.single-post .entry-content blockquote {
        padding: 15px 17px;
        font-size: 15px;
    }

    body.single-post .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    body.single-post .entry-content th,
    body.single-post .entry-content td {
        padding: 9px 10px;
    }
}

@media only screen and (max-width: 767px) {
	h2 {
    font-size: 28px !important;
	}
}