/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/
Description:  A child theme for Hello Elementor, customized for Rayshree Ayurveda.
Author:       Antigravity
Author URI:   https://google.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* ==========================================================================
   Rayshree Ayurveda Custom Blog Styles
   ========================================================================== */

/* Main Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 80px;
}

/* Header Styling */
.blog-header {
    background-image: linear-gradient(rgba(59, 75, 53, 0.75), rgba(59, 75, 53, 0.75)), url('/wp-content/uploads/2024/11/openart-image_U-uvn5U9_1731157138359_raw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 20px 100px 20px; /* Space for overlaying header + breathing room */
    text-align: center;
    margin-bottom: 60px;
}

.blog-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.blog-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e2c07d; /* Warm Gold */
}

.blog-title {
    font-size: 44px;
    font-weight: 700;
    font-family: 'Playfair Display', serif; /* Serif styling for headers */
    color: #ffffff !important; /* Force white title on banner */
    margin: 12px 0 16px 0;
    line-height: 1.2;
}

.blog-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f2ef !important; /* Force soft off-white description */
    max-width: 650px;
    margin: 0 auto;
}

/* Post Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    margin-bottom: 80px;
}

/* Base Card Styling */
.blog-card {
    background: #ffffff;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(59, 75, 53, 0.03);
    border: 1px solid rgba(59, 75, 53, 0.05);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(59, 75, 53, 0.07);
    border-color: rgba(131, 155, 122, 0.2);
}

/* Featured Hero Card (First post only) */
.blog-card.featured-card {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 460px;
    border: 1px solid rgba(59, 75, 53, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #FAF9F6 100%);
}

.blog-card.featured-card .post-thumbnail-wrapper {
    flex: 1.2;
    height: auto;
    min-height: 100%;
    margin-bottom: 0;
}

.blog-card.featured-card .post-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    border-left: 4px solid #ab8e53;
}

.blog-card.featured-card .post-title {
    font-size: 26px !important; /* Force refined size on featured title */
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin-bottom: 20px;
}

.blog-card.featured-card .post-excerpt {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Featured Badge */
.featured-badge {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #ab8e53 0%, #c4aa6e 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(171, 142, 83, 0.2);
}

/* Thumbnail Wrapper */
.post-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 300px; /* Increased from 250px to match the wider 2-column layout */
    overflow: hidden;
    background-color: #f3f1eb;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .post-thumbnail {
    transform: scale(1.08);
}

/* Category Badge (Premium Glassmorphic Style) */
.post-category-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #3b4b35;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(59, 75, 53, 0.08);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.blog-card:hover .post-category-badge {
    background: #3b4b35;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(59, 75, 53, 0.15);
}

/* Card Content Details */
.post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ba498;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta-separator {
    margin: 0 8px;
    color: #cbd2ca;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px !important; /* Force small and refined size on grid card titles */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #3b4b35;
    margin: 0 0 12px 0;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #ab8e53;
}

.post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #6d756b;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* Discover More Button Link (Animated) */
.post-read-more {
    font-size: 12px;
    font-weight: 700;
    color: #ab8e53; /* Ayurvedic Ochre/Gold Color */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    padding-bottom: 3px;
}

.post-read-more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #ab8e53;
    transition: width 0.3s ease;
}

.post-read-more:hover {
    color: #3b4b35;
}

.post-read-more:hover::after {
    width: 100%;
    background-color: #3b4b35;
}

.arrow-icon {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-read-more:hover .arrow-icon {
    transform: translateX(6px);
}

/* Pagination Styling */
.blog-pagination {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #6d756b;
    text-decoration: none;
    border: 1px solid #edf1eb;
    background: #ffffff;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #3b4b35;
    color: #ffffff;
    border-color: #3b4b35;
}

.blog-pagination .page-numbers svg {
    vertical-align: middle;
}

/* Empty State */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px dashed #cbd2ca;
    color: #6d756b;
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */

/* Tablet Layout (2 Columns) */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }
    
    .blog-card.featured-card {
        grid-column: span 2;
        flex-direction: column;
        min-height: auto;
    }

    .blog-card.featured-card .post-thumbnail-wrapper {
        height: 300px;
        min-height: auto !important; /* Reset desktop vertical fill */
        flex: none;
    }
    
    .blog-card.featured-card .post-content {
        padding: 36px;
        border-left: none;
        border-top: 4px solid #ab8e53;
    }
    
    .blog-card.featured-card .post-title {
        font-size: 28px;
    }
}

/* Mobile Layout (1 Column) */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        grid-gap: 28px;
    }
    
    .blog-card.featured-card {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .blog-card.featured-card .post-thumbnail-wrapper {
        height: 240px;
        min-height: auto !important; /* Reset desktop vertical fill */
    }
    
    .blog-card.featured-card .post-content {
        padding: 28px;
    }

    .blog-card {
        border-radius: 20px !important;
    }

    .post-thumbnail-wrapper {
        height: 220px;
    }
}


/* ==========================================================================
   Header Accessibility Adjustments for Blog & Single Pages
   ========================================================================== */
.blog header.elementor-location-header,
.blog header.elementor-location-header .elementor-section,
.blog header.elementor-location-header .e-con,
.blog header.elementor-location-header .e-container,
.single header.elementor-location-header,
.single header.elementor-location-header .elementor-section,
.single header.elementor-location-header .e-con,
.single header.elementor-location-header .e-container {
    background-color: #3b4b35 !important;
    background-image: none !important;
}

/* Only force header navigation links to be white on desktop viewports */
@media (min-width: 1025px) {
    .blog header.elementor-location-header a,
    .blog header.elementor-location-header .elementor-item,
    .blog header.elementor-location-header a .elementor-item,
    .single header.elementor-location-header a,
    .single header.elementor-location-header .elementor-item,
    .single header.elementor-location-header a .elementor-item {
        color: #ffffff !important;
    }
}

/* Ensure mobile menu drawer links remain dark and highly legible on their light background */
@media (max-width: 1024px) {
    .blog header.elementor-location-header .elementskit-menu-container a,
    .blog header.elementor-location-header .elementskit-menu-container span,
    .blog header.elementor-location-header .elementskit-navbar-nav a,
    .blog header.elementor-location-header .elementskit-navbar-nav span,
    .blog header.elementor-location-header .ekit-menu-container a,
    .blog header.elementor-location-header .ekit-menu-container span,
    .blog header.elementor-location-header .elementskit-menu-offcanvas-elements a,
    .blog header.elementor-location-header .elementskit-menu-offcanvas-elements span,
    .single header.elementor-location-header .elementskit-menu-container a,
    .single header.elementor-location-header .elementskit-menu-container span,
    .single header.elementor-location-header .elementskit-navbar-nav a,
    .single header.elementor-location-header .elementskit-navbar-nav span,
    .single header.elementor-location-header .ekit-menu-container a,
    .single header.elementor-location-header .ekit-menu-container span,
    .single header.elementor-location-header .elementskit-menu-offcanvas-elements a,
    .single header.elementor-location-header .elementskit-menu-offcanvas-elements span {
        color: #3b4b35 !important;
    }
}

/* Ensure dropdown menu items are black for legibility on their white box background */
.blog header.elementor-location-header .elementskit-dropdown a,
.blog header.elementor-location-header .elementskit-submenu a,
.blog header.elementor-location-header .elementskit-submenu-panel a,
.blog header.elementor-location-header .elementskit-menu-container .elementskit-submenu a,
.blog header.elementor-location-header .ekit-menu-dropdown a,
.blog header.elementor-location-header .ekit-menu-dropdown a .ekit-menu-nav-link,
.blog header.elementor-location-header .dropdown-item,
.blog header.elementor-location-header .sub-menu a,
.blog header.elementor-location-header .sub-menu a .elementor-item,
.blog header.elementor-location-header .elementor-sub-item,
.blog header.elementor-location-header .elementor-sub-item a,
.blog header.elementor-location-header .elementor-nav-menu--dropdown a,
.blog header.elementor-location-header .elementor-nav-menu--dropdown a .elementor-item,
.single header.elementor-location-header .elementskit-dropdown a,
.single header.elementor-location-header .elementskit-submenu a,
.single header.elementor-location-header .elementskit-submenu-panel a,
.single header.elementor-location-header .elementskit-menu-container .elementskit-submenu a,
.single header.elementor-location-header .ekit-menu-dropdown a,
.single header.elementor-location-header .ekit-menu-dropdown a .ekit-menu-nav-link,
.single header.elementor-location-header .dropdown-item,
.single header.elementor-location-header .sub-menu a,
.single header.elementor-location-header .sub-menu a .elementor-item,
.single header.elementor-location-header .elementor-sub-item,
.single header.elementor-location-header .elementor-sub-item a,
.single header.elementor-location-header .elementor-nav-menu--dropdown a,
.single header.elementor-location-header .elementor-nav-menu--dropdown a .elementor-item {
    color: #000000 !important;
}


/* ==========================================================================
   Single Post Page Premium Layout
   ========================================================================== */

.single-post-main {
    background-color: #fbfcfa;
    padding-bottom: 0;
}

.single-post-header {
    background: linear-gradient(135deg, #1b2618 0%, #3b4b35 100%) !important;
    padding: 160px 0 130px 0 !important;
    text-align: center !important;
    position: relative !important;
    border-bottom: 2px solid #ab8e53 !important;
}

.single-post-header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Elegant Breadcrumbs */
.single-post-breadcrumbs {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 20px !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

.single-post-breadcrumbs a {
    color: #ab8e53 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-weight: 500 !important;
}

.single-post-breadcrumbs a:hover {
    color: #ffffff !important;
}

.breadcrumb-separator {
    margin: 0 8px !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
}

.single-post-category {
    background: rgba(171, 142, 83, 0.15) !important;
    border: 1px solid rgba(171, 142, 83, 0.3) !important;
    color: #c4aa6e !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-bottom: 24px !important;
}

/* Editorial Divider Ornament */
.editorial-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 24px !important;
}

.editorial-divider .divider-line {
    width: 60px !important;
    height: 1px !important;
    background: rgba(171, 142, 83, 0.3) !important;
}

.editorial-divider .divider-leaf {
    color: #ab8e53 !important;
    font-size: 12px !important;
}

.single-post-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin: 0 auto 24px auto !important;
    max-width: 800px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.single-post-meta {
    color: #e2e7e1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    text-transform: uppercase !important;
}

.single-post-meta span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.single-post-meta .meta-icon {
    color: #ab8e53 !important;
}

.single-post-meta-separator {
    margin: 0 12px;
    color: #ab8e53;
}

/* Featured Image & Overlap Structure */
.single-post-container {
    max-width: 1140px !important;
    margin: -80px auto 0 auto !important;
    padding: 0 24px !important;
    position: relative !important;
    z-index: 20 !important;
}

.single-post-featured-image {
    max-width: 860px !important;
    max-height: 440px !important;
    margin: 0 auto 50px auto !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 48px rgba(43, 56, 38, 0.15) !important;
    border: 1px solid rgba(171, 142, 83, 0.2) !important;
    transition: transform 0.5s ease !important;
}

.single-post-featured-image:hover {
    transform: scale(1.005) !important;
}

.single-post-featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* 2-Column Article Grid */
.single-post-layout {
    display: grid !important;
    grid-template-columns: 7.2fr 4.8fr !important;
    grid-gap: 50px !important;
    align-items: start !important;
}

.single-post-content {
    background: #ffffff !important;
    padding: 50px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(59, 75, 53, 0.05) !important;
    box-shadow: 0 16px 40px rgba(59, 75, 53, 0.03) !important;
}

.entry-content {
    font-family: 'Outfit', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.95 !important;
    color: #3e473c !important;
}

/* Explicit Color Rules to Avoid Caching / Theme Conflicts */
.entry-content p,
.entry-content li,
.entry-content span {
    color: #3e473c !important;
}

.entry-content a {
    color: #ab8e53 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.entry-content a:hover {
    color: #3b4b35 !important;
}

/* Professional Drop Cap */
.entry-content > p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif !important;
    font-size: 58px !important;
    line-height: 46px !important;
    padding-top: 4px !important;
    padding-right: 10px !important;
    padding-left: 2px !important;
    float: left !important;
    color: #3b4b35 !important;
    font-weight: 600 !important;
}

.entry-content p {
    margin-bottom: 28px !important;
}

.entry-content p:last-child {
    margin-bottom: 0 !important;
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    font-family: 'Playfair Display', serif !important;
    color: #3b4b35 !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 48px 0 24px 0 !important;
}

.entry-content h2 {
    font-size: 28px !important;
    border-bottom: 1px solid rgba(59, 75, 53, 0.08) !important;
    padding-bottom: 12px !important;
}

.entry-content h3 {
    font-size: 22px !important;
}

.entry-content blockquote {
    border-left: 4px solid #ab8e53 !important;
    padding: 16px 0 16px 28px !important;
    margin: 40px 0 !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
    color: #5d675b !important;
    background: #fbfbfc !important;
    border-radius: 0 16px 16px 0 !important;
}

.entry-content img {
    border-radius: 16px !important;
    margin: 36px 0 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04) !important;
}

/* Elegant Tables for Ingredients/Symptoms */
.entry-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 36px 0 !important;
    font-size: 15px !important;
}

.entry-content th,
.entry-content td {
    padding: 14px 18px !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(59, 75, 53, 0.08) !important;
}

.entry-content th {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    color: #3b4b35 !important;
    background: #f4f6f3 !important;
}

.entry-content td {
    color: #5d675b !important;
}

/* Article Tags */
.single-post-tags {
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(59, 75, 53, 0.08) !important;
}

.tags-label {
    font-weight: 600 !important;
    color: #3b4b35 !important;
    margin-right: 12px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.single-post-tags a {
    background: #f4f6f3 !important;
    color: #5d675b !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    margin-right: 8px !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: background 0.3s, color 0.3s !important;
}

.single-post-tags a:hover {
    background: #ab8e53 !important;
    color: #ffffff !important;
}

/* Editorial Author Box */
.editorial-author-box {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    background: #FAF9F6 !important;
    padding: 40px !important;
    border-radius: 20px !important;
    margin-top: 60px !important;
    border: 1px solid rgba(59, 75, 53, 0.06) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

.author-avatar-wrapper {
    flex-shrink: 0 !important;
}

.author-avatar-wrapper img {
    border-radius: 50% !important;
    border: 3px solid #ab8e53 !important;
    padding: 3px !important;
    box-shadow: 0 8px 20px rgba(59, 75, 53, 0.1) !important;
}

.author-details {
    flex-grow: 1 !important;
}

.author-subtitle {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ab8e53 !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.author-name {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    color: #3b4b35 !important;
    margin: 0 0 10px 0 !important;
    font-weight: 600 !important;
}

.author-description {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #5d675b !important;
    margin: 0 !important;
}

/* Post Navigation (Next / Previous) */
.post-navigation {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(59, 75, 53, 0.08) !important;
}

.post-navigation .nav-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 40px !important;
}

.post-navigation .nav-links a {
    display: block !important;
    text-decoration: none !important;
}

.post-navigation .nav-subtitle {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #ab8e53 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    transition: color 0.3s ease !important;
}

.post-navigation .nav-links a:hover .nav-subtitle {
    color: #3b4b35 !important;
}

.post-navigation .nav-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #3b4b35 !important;
    line-height: 1.45 !important;
    display: block !important;
    transition: color 0.3s ease !important;
}

.post-navigation .nav-links a:hover .nav-title {
    color: #ab8e53 !important;
}

.post-navigation .nav-next {
    text-align: right !important;
}

/* Sidebar Columns & Widgets */
.single-post-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}

@media (min-width: 1025px) {
    .single-post-sidebar {
        position: sticky !important;
        top: 40px !important;
    }
}

.sidebar-widget {
    background: #ffffff !important;
    padding: 36px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(59, 75, 53, 0.05) !important;
    box-shadow: 0 12px 30px rgba(59, 75, 53, 0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.sidebar-widget:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(59, 75, 53, 0.05) !important;
}

.sidebar-widget .widget-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #3b4b35 !important;
    margin: 0 0 24px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #ab8e53 !important;
    display: inline-block !important;
}

/* Share buttons widget */
.share-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.share-btn {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s, opacity 0.2s !important;
}

.share-btn:hover {
    transform: translateY(-2px) !important;
    opacity: 0.95 !important;
}

.share-btn.facebook {
    background: #3b5998 !important;
}

.share-btn.twitter {
    background: #1da1f2 !important;
}

.share-btn.whatsapp {
    background: #25d366 !important;
}

/* Latest Posts List Widget */
.widget-posts-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.widget-post-item {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
}

.widget-post-thumb {
    width: 64px !important;
    height: 64px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(59, 75, 53, 0.08) !important;
}

.widget-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.widget-post-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.widget-post-date {
    font-size: 11px !important;
    color: #8c9689 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-weight: 500 !important;
}

.widget-post-title {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.widget-post-title a {
    font-family: 'Playfair Display', serif !important;
    color: #3b4b35 !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.widget-post-title a:hover {
    color: #ab8e53 !important;
}

/* Comment System Layout */
.comment-respond {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(59, 75, 53, 0.08) !important;
}

.comment-reply-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #3b4b35 !important;
    margin-bottom: 24px !important;
}

.comment-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 1px solid rgba(59, 75, 53, 0.12) !important;
    border-radius: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    background: #FAF9F6 !important;
    color: #3e473c !important;
    transition: border-color 0.3s, background 0.3s !important;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    outline: none !important;
    border-color: #ab8e53 !important;
    background: #ffffff !important;
}

.comment-form .submit {
    align-self: flex-start !important;
    background: #3b4b35 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    transition: background 0.3s !important;
}

.comment-form .submit:hover {
    background: #ab8e53 !important;
}

/* Related Posts Section (Bottom of Page) */
.related-posts-section {
    margin-top: 80px !important;
    padding: 80px 0 !important;
    background: #f4f6f3 !important;
    border-top: 1px solid rgba(59, 75, 53, 0.05) !important;
}

.related-posts-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.related-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 34px !important;
    color: #3b4b35 !important;
    margin: 0 0 40px 0 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.related-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 40px !important;
}

.related-card-item {
    background: #ffffff !important;
}

/* ==========================================================================
   Responsive Overrides for Single Post Layout
   ========================================================================== */

@media (max-width: 1024px) {
    .single-post-title {
        font-size: 34px !important;
    }
    
    .single-post-layout {
        grid-template-columns: 1fr !important;
        grid-gap: 50px !important;
    }
    
    .single-post-content {
        padding: 40px !important;
    }
    
    .related-grid {
        grid-template-columns: 1fr !important;
        grid-gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .single-post-header {
        padding: 130px 0 90px 0 !important;
    }
    
    .single-post-title {
        font-size: 28px !important;
    }
    
    .single-post-container {
        margin-top: -60px !important;
    }
    
    .single-post-featured-image {
        max-width: 100% !important;
        max-height: 340px !important;
        margin-bottom: 40px !important;
    }
    
    .single-post-content {
        padding: 30px 24px !important;
    }
    
    .entry-content {
        font-size: 16px !important;
    }
    
    .entry-content > p:first-of-type::first-letter {
        font-size: 50px !important;
        line-height: 42px !important;
        padding-right: 8px !important;
    }
    
    .editorial-author-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
        gap: 20px !important;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr !important;
        grid-gap: 30px !important;
    }
    
    .post-navigation .nav-next {
        text-align: left !important;
    }
    
    .sidebar-widget {
        padding: 28px !important;
    }
}

