/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Version:      1.0.0
*/

/* ===========================================
   BLOG LAYOUT & CARD DESIGN
   =========================================== */


#menu-main-menu a.ekit-menu-nav-link {
    font-size: 0.85rem !important;
}
#menu-main-menu a.dropdown-item{
	font-size: 0.85rem !important;
}
@media (max-width:1065) and (min-width:1026){
	#menu-main-menu a.ekit-menu-nav-link {
    font-size: 0.75rem !important;
}
	#menu-main-menu a.dropdown-item{
	font-size: 0.75rem !important;
}
}


/* Blog Page Container */
.blog-page-container,
.archive-page-container,
.single-post-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-blog-grid{
	display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Modern Blog Card Design */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #2563eb;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

/* Pagination Design */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.prev-page a,
.next-page a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.prev-page a:hover,
.next-page a:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Single Post Layout */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
	align-items:center;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
	position:relative;
}

.post-categories a {
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-categories a:hover {
    background: #2563eb;
    color: white;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
   position:relative;
}

.post-tags a {
    background: #f8fafc;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #475569;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #2563eb;
}

.nav-next {
    text-align: right;
    margin-left: auto;
}

/* Archive Page Header */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.archive-description {
    color: #64748b;
    font-size: 1.1rem;
}

/* No Posts Message */
.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Tablet: 2 columns */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-page-container,
    .archive-page-container,
    .single-post-container {
        padding: 2rem 1.5rem;
    }
    
    .archive-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: 1 column */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-page-container,
    .archive-page-container,
    .single-post-container {
        padding: 1.5rem 1rem;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.3rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .archive-title {
        font-size: 1.8rem;
    }
}

h3.blog-card-title{
	font-size:1.5rem;
	line-height:1.5;
}

.blog-header h1{
	margin:2rem 0;
	text-align:center;
}


a.blog-card-button {
    color: #2563eb;
}

a.blog-card-button:hover {
    color: #2563eb;
    opacity: 0.7;
}


.post-categories a::before {
    content: "Category";
    position: absolute;
    top: -11px;
    font-size: 0.35rem;
    background-color: #023E74;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    color: #fff;
}


.post-tags a::before {
    content: "Tag";
    position: absolute;
    top: -11px;
    font-size: 0.35rem;
    background-color: #023E74;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    color: #fff;
}