/* 
=======================================================
Scoped CSS for Single Post Details Page 
Har class ke aage .single-post laga hai taaki theme ki
baki elements par koi asar na ho.
=======================================================
*/

.single-post {
    /* Variables for this section only */
    --primary-color: #e67e22; 
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-color: #f7f6f2; 
    --white: #ffffff;
/*     --font-main: 'Inter', sans-serif;
    --font-heading: 'Syncopate', sans-serif; */
        padding-top: 65px;
    /* font-family: var(--font-main); */
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    
}

.single-post img {
    max-width: 100%;
    height: auto;
    display: block;
}
.single-post .heading-with-line {
    display: flex;
    align-items: center;
    gap: 20px; /* Text aur line ke beech ka space */
}

.single-post .heading-with-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #C5C5C5; /* Line ka color */
}
.single-post .container {
    /* max-width: 900px;  */
    /* margin: 0 auto;
    padding: 0 20px; */
}

/* Typography scoped to .single-post */
.single-post h1, 
.single-post h2, 
.single-post h3, 
.single-post h4, 
.single-post h5, 
.single-post h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    /* color: var(--text-color); */
}

.single-post h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.split-content {
    max-width: 693px;
}
.single-post h2 {
    /* font-size: 2rem; */
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post h3 {
    font-size: 1.5rem;
    margin-top: 30px;
}
.single.single-post .entry-content h2{
        color: #000;
    font-size: 40px;
    font-family: Commuters Sans !important;
    font-weight: 700;
    line-height: 117%;
    letter-spacing: -3%;
}
.single-post p {
    margin-bottom: 20px;
    color: #000;
    font-size: 18px;
    font-family: 'DM Sans' !important;
    font-weight: 400;
    line-height: 163%;
}
.post-container {
    border: 1px solid #ccc;
    padding: 50px;
    border-top: 0;
    padding-top: 0;
        padding-bottom: 50px;
    margin-bottom: 80px !important;
}
/* Header & Meta inside post */
.single-post .post-header {
    margin-bottom: 30px;
        padding-top: 80px;
}

.single-post .post-title {
    margin-bottom: 15px;
        font-weight: 500;
    line-height: 48px;
    letter-spacing: -3%;
    font-family: 'Commuters Sans' !important;
    text-transform: capitalize;
}

.single-post .post-meta {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-post .post-meta i {
        color: #F27200;
    font-size: 1.2rem;
}

/* Content Area */
.single-post .featured-image {
    margin-bottom: 40px;
}

.single-post .featured-image img {
    /* width: 100%; */
    /* width: 1173px; */
    /* height: 750px; */
    /* border-radius: 4px; */
}

/* 3 Image Gallery */
.single-post .image-gallery-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.single-post .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
}

.single-post .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-post .gallery-item:hover img {
    transform: scale(1.05);
}
.single-post .check-list i {
    display: none;
}
.single-post .gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.single-post .gallery-item .caption p {
    color: var(--white);
    font-size: 0.75rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.single-post .gallery-item .caption .highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Check List */
.single-post .check-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
}

.single-post .check-list li {
    position: relative;
    padding-left: 0px;
    margin-bottom: 15px;
    color: #000;
    font-size: 18px;
}

.single-post .check-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Split Section */
.single-post .split-section {
    display: flex;
    gap: 0px;
    margin: 50px 0;
}

.single-post .split-section.align-items-center {
    align-items: center;
}
.split-image img {
    width: 380px !important;
}
.single-post .split-section.split-reverse {
    flex-direction: row;
}

.single-post .split-image {
    flex: 1;
        max-width: 363px;
    padding-right: 20px;
    margin-right: 50px;
}

.single-post .split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.single-post .split-content {
    flex: 1;
}

/* Blockquote */
.single-post blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    background: transparent;
}

.single.single-post .entry-content h3 {
    color: #000;
    font-weight: 700;
    font-size: 30px;
    line-height: 117%;
    letter-spacing: -3%;
}
span.post-date {
    font-family: DM Sans;
    font-weight: 700;
    font-size: 24px;
    line-height: 154%;
}



/* Responsive Views */
@media (max-width: 992px) {
    .single-post .image-gallery-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 768px) {
	
    .single-post .heading-with-line {
        gap: 12px; /* Text aur line ke beech ka gap kam ho jayega */
    }	
	
    .single-post h1 {
        font-size: 2rem;
    }
    
    .single-post .split-section, 
    .single-post .split-section.split-reverse {
        flex-direction: column;
    }
    
    .single-post .image-gallery-3 {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

.single-post{
        padding-top: 0;
}
.post-container {
    padding-top: 0;
}
.single-post .post-title {
    line-height: normal;
    font-size: 24px;
}
.single-post .featured-image img{
    height: max-content;
}

.single.single-post .entry-content h2 {
    font-size: 22px;
    letter-spacing: 0;
    margin: 10px;
}
.single.single-post .entry-content h3 {
    font-size: 22px;
    font-family: 'Commuters Sans' !important;
}
.single-post .post-header{
    padding-top: 0;
}
.single-post .split-image{
        max-width: max-content;
    padding-right: 0;
    margin-right: 0;
}


}




