/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Description: Child theme of Hello Elementor
Author: Mohit
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Template: hello-elementor
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* Add your custom styles below this line */

:root                   
{ 
    /* color */
    --white: #ffffff; 
    --black: #000000;    
    --green:#325962;  
    --gray:#CFCFCF;
    --secondary:#616161;
    --dark-gray:#DADADA;
    --light-gray:#F2F7F8;
    --light-green:#BBD6DD;
    
    /* background-color */
    --bg-green:#325962;
    --bg-secondary:#616161;
    --bg-light-green: #BBD6DD; 
    --bg-light-creme:#F1F7F8;   
    --f0: transparent;
    /* --bg-gray:;
    --bg-light-black:; */
    
    /* validation color */
    --g1: #36612F;
    --g2: #C0D7BC;
    --r1 : #ff4500;
    --r2 : #ffc8c8;
}
/* Global: Remove underlines from all links */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

a:focus {
    text-decoration: none !important;
}

a:active {
    text-decoration: none !important;
}

a:visited {
    text-decoration: none !important;
}

*:not(.slick-track):not(.slick-list) { transition: all 0.3s ease-in-out;}
/* Modern Blog Page Styles */
.page-header {
    margin-bottom: 3rem;
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.page-header * {
    position: relative;
    z-index: 2;
}

.page-header .entry-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header .page-content,
.page-header .page-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Clean Blog Posts Wrapper - 3 Column Grid */
.blog-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.blog-posts-wrapper article {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog-posts-wrapper article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

/* Post Content Layout */
.blog-posts-wrapper article {
    padding: 1.5rem;
}

/* Post Thumbnail */
.post-thumbnail {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Entry Header */
.entry-header {
    margin-bottom: 1rem;
}

.entry-header .entry-title {
    font-size: 24px;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.entry-header .entry-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    display: block;
}

.entry-header .entry-title a:hover {
    color: #333333;
}

/* Entry Meta */
.entry-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.entry-meta span {
    margin-right: 0;
    display: flex;
    align-items: center;
}

.entry-meta a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #374151;
    text-decoration: none;
}

/* Entry Content */
.entry-content {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #4b5563;
    font-size: 0.95rem;
    flex-grow: 1;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #047857;
}

/* Entry Footer with Read More */
.entry-footer {
    border-top: none;
    padding-top: 0;
    font-size: 0.9rem;
    margin-top: auto;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link:hover {
    color: #047857;
    transform: translateX(2px);
}

.read-more-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: translateX(2px);
}

/* Tags Links */
.tags-links {
    color: #6b7280;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.tags-links span {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
}

.tags-links a {
    display: inline-block;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.tags-links a:hover {
    color: #374151;
    text-decoration: none;
}

.tags-links a::before {
    content: '#';
    margin-right: 0.25rem;
    opacity: 0.5;
}

/* Modern Pagination - paginate_links structure */
.pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem 0;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-item {
    display: flex;
    align-items: center;
}

.pagination-item a,
.pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1rem;
    border: 2px solid #1D7377;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    background: #1D7377;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-item a:hover {
    background: #1D7377;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: #1D7377;
}

.pagination-item.current span {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.pagination-item a[aria-label*="Previous"],
.pagination-item a[aria-label*="Next"] {
    padding: 0 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    min-width: auto;
}


.pagination-item .dots {
    color: #9ca3af;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.pagination-item .dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Pagination responsive */
@media (max-width: 768px) {
    .pagination-list {
        gap: 0.5rem;
    }
    
    .pagination-item a,
    .pagination-item span {
        min-width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .pagination-item a[aria-label*="Previous"],
    .pagination-item a[aria-label*="Next"] {
        padding: 0 1.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .pagination-list {
        gap: 0.4rem;
    }
    
    .pagination-item a,
    .pagination-item span {
        min-width: 40px;
        height: 40px;
        padding: 0 0.75rem;
        font-size: 0.85rem;
        border-radius: 0;
    }
    
    .pagination-item a[aria-label*="Previous"],
    .pagination-item a[aria-label*="Next"] {
        padding: 0 1rem;
        font-size: 0.75rem;
    }
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .blog-posts-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .page-header .entry-title {
        font-size: 2rem;
    }
    
    .blog-posts-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .blog-posts-wrapper article {
        padding: 1rem;
    }
    
    .entry-header .entry-title {
        font-size: 1.25rem;
    }
    
    .entry-meta span {
        display: block;
        margin-bottom: 0.25rem;
        margin-right: 0;
    }
    
    .pagination .nav-links {
        flex-wrap: wrap;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .page-header .entry-title {
        font-size: 1.75rem;
    }
    
    .blog-posts-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-posts-wrapper article {
        padding: 1rem;
    }
    
    .entry-header .entry-title {
        font-size: 1.2rem;
    }
    
    .entry-meta {
        font-size: 0.8rem;
    }
}

/* Grid Layout Enhancements */
.blog-posts-wrapper article .entry-content {
    flex-grow: 1;
}

.blog-posts-wrapper article .entry-footer {
    margin-top: auto;
}

/* Ensure equal height cards */
.blog-posts-wrapper article {
    min-height: 400px;
}

@media (max-width: 768px) {
    .blog-posts-wrapper article {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .blog-posts-wrapper article {
        min-height: auto;
    }
}


/* .section-blog-listing{padding-block: 100px ;} */
.section-blog-listing.comman-bg-pattern,.section-blog-detail.comman-bg-pattern{background: url(./assets/images/bg-commen-pattern-left.png) no-repeat left top / 40% auto, url(./assets/images/bg-commen-pattern-right.png) no-repeat right top / 30% auto;}
.section-blog-listing .col-12{ margin: 0 0 24px; }
.section-blog-listing .card{ height: 100%; padding: 0; margin: 0; background-color: #F7F7F7; border: 0; border-radius: 0; transition: all ease-in-out 0.35s; }
.section-blog-listing .card:hover{ filter: drop-shadow(0px 100px 133px rgba(0, 0, 0, 0.06)) drop-shadow(0px 50.625px 57.9797px rgba(0, 0, 0, 0.06)) drop-shadow(0px 20px 21.6125px rgba(0, 0, 0, 0.02)) drop-shadow(0px 4.375px 7.68906px rgba(0, 0, 0, 0.01)); }
.section-blog-listing .card .card-img{ height: 205px; width: 100%; display: block; flex-shrink: 0;transition: all ease-in-out 1s;overflow: hidden; }
.section-blog-listing .card .card-img img{ height: 100%; width: 100%; object-fit: cover; object-position: center center; }
.section-blog-listing .card .card-img:hover img{ transform: scale(1.1); }
.section-blog-listing .card .card-text{ padding: 24px; overflow: hidden; height: 100%; }
.section-blog-listing .card .card-text .heading-style-5{ margin-bottom: 8px;text-align: start; color: var(--black); font-weight: 600; transition: all ease-in-out 0.15s; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;text-transform:none; }
.section-blog-listing .card .card-text .heading-style-5:hover{ color: var(--green); }
.section-blog-listing .card .card-text .blog-date{ margin-bottom: 16px; color: var(--black);text-align: start;  font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; }
.section-blog-listing .card .card-text p{ text-align: start; margin-bottom: 16px; color: #7A7A7A; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.section-blog-listing .card .card-text .theme-btn-transprent,
.theme-btn-transprent a{margin-top: 20px;}
.section-blog-listing .theme-btn-transprent{transition: all ease-in-out 0.5s;}
.section-blog-listing .d-flex .theme-btn-transprent{ font-size: 15px; padding: 10px 25px; }
.section-blog-listing .d-flex .theme-btn-transprent svg{ fill: var(--white); right: 6px; }

/* Square Button Styles for Blog Cards - Black & White Theme */
.theme-btn-transprent,
.theme-btn-transprent a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    padding: 14px 28px;
    background: #000000;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-btn-fill-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
 
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    background: #1a1a1a;
    border: none;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.theme-btn-fill-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #000000;
    padding: 12px 26px;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Black & White Button Hover Effects */
.theme-btn-transprent:hover,
.theme-btn-transprent:hover a {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.theme-btn-fill-green:hover {
    color: #ffffff;
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-btn-fill-white:hover {
    color: #ffffff;
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Focus States */
.theme-btn-transprent:focus,
.theme-btn-fill-green:focus,
.theme-btn-fill-white:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Active States */
.theme-btn-transprent:active {
    background: #333333;
    color: #ffffff;
    transform: translateY(0);
}

.theme-btn-fill-green:active {
    background: #333333;
    transform: translateY(0);
}

.theme-btn-fill-white:active {
    background: #f5f5f5;
    transform: translateY(0);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem
}
.section-blog-listing .card .card-text .theme-btn-transprent, .theme-btn-transprent a {
    margin-top: 20px;
    color: #fff;
	background-color: var(--e-global-color-accent);
}

header#masthead nav ul li.active a {
    color: #1D7377;
}