/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* Page Header Section */
.page-header-section {
    background: #000000;
    padding: 60px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #e9ecef;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 15px 0;
    line-height: 1.2 !important;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #666;
    gap: 8px;
}

.breadcrumb-home,
.breadcrumb-blog,
.breadcrumb-category {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-home:hover,
.breadcrumb-blog:hover,
.breadcrumb-category:hover {
    color: #0073aa;
}

.breadcrumb-separator {
    color: #fff;
    margin: 0 5px;
}

.breadcrumb-current {
    color: #fff;
    font-weight: 600;
}
/* Row and Columns Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8,
.col-lg-4 {
    padding: 0 15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
/* Blog Container */
.blog-container,
.single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 50px;
}

/* Blog Grid Layout - Responsive Columns */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
}

/* Mobile: 1 column (default) */

/* Tablet: 2 columns (768px and above) */
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .page-title {
        font-size: 3rem !important;
    }
}

/* Desktop: 3 columns (992px and above) */
@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .page-title {
        font-size: 2.5rem !important;
    }
}

/* Archive Description */
.archive-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Post Styling */
.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 65%; /* 16:9 aspect ratio */
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.entry-title {
        font-size: 1.3rem !important;
    margin: 0 0 12px 0;
    line-height: 1.4 !important;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.entry-meta i {
    margin-right: 5px;
    width: 14px;
    text-align: center;
}

.entry-summary {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #0073aa;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more:hover {
    color: #005a87;
}

.read-more .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover .arrow {
    transform: translateX(5px);
}

/* Single Post Styling */
/* .single-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
} */

.single-post .post-thumbnail {
    padding-top: 45%; /* Different aspect ratio for single */
}

.single-post .post-content {
    padding: 30px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 35px;
    margin-bottom: 20px;
    color: #333;
	font-size: 30px !important;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}
/* Sticky Sidebar - Like Elementor */
.sidebar-sticky-wrapper {
    position: relative;
    height: 100%;
}

.sticky-sidebar {
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    will-change: top;
}
/* Sidebar Styling */
.sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3rem;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.contact-form-wrapper {
    margin-top: 10px;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}

.page-numbers {
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    background: #f5f5f5;
}

.page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 48%;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .sidebar {
        padding-left: 0;
    }
	.sticky-sidebar {
        position: static;
        top: auto;
    }
}
@media (max-width: 768px) {
    .page-header-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 2rem !important;
    }
    
    .page-breadcrumb {
        font-size: 0.9rem;
    }
    
    .single-post .post-thumbnail {
        padding-top: 56.25%; /* 16:9 on mobile */
    }
    
    .single-post .post-content {
        padding: 20px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
}

/* No posts message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 30px 0;
}

.no-posts h3 {
    color: #333;
    margin-bottom: 15px;
}

.no-posts p {
    color: #666;
    margin: 0;
}