.elementor-4051 .elementor-element.elementor-element-0938ed3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4051 .elementor-element.elementor-element-a0b8835{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-around;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-4051 .elementor-element.elementor-element-fcf31b6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-search{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search.e-focus{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search .elementor-pagination{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-4051 .elementor-element.elementor-element-fa3ed98 .e-search-submit{background-color:#103353;}.elementor-4051 .elementor-element.elementor-element-fa3ed98 .e-search-input{font-family:"Vazirmatn", Sans-serif;font-size:18px;}.elementor-4051 .elementor-element.elementor-element-fa3ed98{--e-search-input-color:#CDCDCD;--e-search-input-padding-block-start:0px;--e-search-input-padding-inline-start:20px;--e-search-input-padding-block-end:0px;--e-search-input-padding-inline-end:0px;--e-search-submit-border-radius:6px 6px 6px 6px;--e-search-submit-padding:0px 50px 2px 50px;}.elementor-4051 .elementor-element.elementor-element-fa3ed98 .e-search-submit span{font-family:"Vazirmatn", Sans-serif;}.elementor-4051 .elementor-element.elementor-element-7336945{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4051 .elementor-element.elementor-element-f4a2cc4{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-posts .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-posts .elementor-post__meta-data{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .elementor-post__excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-posts a.elementor-post__read-more{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__card .elementor-post__badge{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-4051 .elementor-element.elementor-element-e1e74ff{--item-display:flex;--read-more-alignment:1;--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-4051 .elementor-element.elementor-element-e1e74ff:after{content:"0.66";}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-post__thumbnail__link{width:100%;}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-post__meta-data span + span:before{content:"///";}.elementor-4051 .elementor-element.elementor-element-e1e74ff.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-4051 .elementor-element.elementor-element-e1e74ff.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-4051 .elementor-element.elementor-element-e1e74ff.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:767px){.elementor-4051 .elementor-element.elementor-element-fa3ed98{--e-search-submit-margin-inline-start:43px;--e-search-submit-padding:10px 10px 10px 10px;}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-4051 .elementor-element.elementor-element-e1e74ff:after{content:"0.5";}.elementor-4051 .elementor-element.elementor-element-e1e74ff .elementor-post__thumbnail__link{width:100%;}}@media(min-width:768px){.elementor-4051 .elementor-element.elementor-element-a0b8835{--content-width:1600px;}.elementor-4051 .elementor-element.elementor-element-fcf31b6{--width:50%;}.elementor-4051 .elementor-element.elementor-element-7336945{--width:50%;}.elementor-4051 .elementor-element.elementor-element-f4a2cc4{--content-width:1600px;}}/* Start custom CSS for container, class: .elementor-element-fcf31b6 *//* Glass Morphism Search Form - Minimal & Professional */
.wd-page-content .e-search {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.wd-page-content .e-search-form {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 60px;
    align-items: center;
}

.wd-page-content .e-search-form:focus-within {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wd-page-content .e-search-input-wrapper {
    flex-grow: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.wd-page-content .e-search-input {
    width: 100%;
    padding: 0 25px 0 20px; /* 5px more space on left */
    border: none;
    background: transparent;
    font-size: 16px;
    color: #1e293b;
    outline: none;
    font-weight: 400;
    line-height: 1;
    height: 100%;
    transition: all 0.3s ease;
}

.wd-page-content .e-search-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.wd-page-content .e-search-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 10px 10px 10px 0; /* Adjusted right margin */
    border-radius: 10px; /* More rounded corners */
    letter-spacing: 0.3px;
    height: calc(100% - 20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.wd-page-content .e-search-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}

.wd-page-content .e-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.wd-page-content .e-search-submit:hover::before {
    left: 100%;
}

.wd-page-content .e-search-submit:active {
    transform: translateY(0);
}

/* Search Results - Glass Morphism */
.wd-page-content .e-search-results-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.wd-page-content .e-search-results-container:not(.hide-loader) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.wd-page-content .e-search-results {
    padding: 8px 0;
}

.wd-page-content .e-search-results .e-search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    text-decoration: none;
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.wd-page-content .e-search-results .e-search-result-item:hover {
    background: rgba(59, 130, 246, 0.08);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .wd-page-content .e-search {
        max-width: 450px;
    }
    
    .wd-page-content .e-search-form {
        height: 56px;
    }
    
    .wd-page-content .e-search-input {
        padding: 0 23px 0 18px; /* Adjusted for tablet */
        font-size: 15px;
    }
    
    .wd-page-content .e-search-submit {
        padding: 0 26px;
        font-size: 13px;
        margin: 8px 8px 8px 0; /* Adjusted right margin */
        height: calc(100% - 16px);
        border-radius: 8px; /* Slightly less rounded on tablet */
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .wd-page-content .e-search {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .wd-page-content .e-search-form {
        height: 52px;
        border-radius: 10px;
    }
    
    .wd-page-content .e-search-input {
        padding: 0 21px 0 16px; /* Adjusted for mobile */
        font-size: 15px;
    }
    
    .wd-page-content .e-search-submit {
        padding: 0 22px;
        font-size: 13px;
        margin: 6px 6px 6px 0; /* Adjusted right margin */
        height: calc(100% - 12px);
        border-radius: 8px; /* Slightly less rounded on mobile */
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .wd-page-content .e-search-form {
        height: 48px;
    }
    
    .wd-page-content .e-search-input {
        padding: 0 19px 0 14px; /* Adjusted for small mobile */
        font-size: 14px;
    }
    
    .wd-page-content .e-search-submit {
        padding: 0 20px;
        font-size: 12px;
        margin: 6px 6px 6px 0; /* Adjusted right margin */
        height: calc(100% - 12px);
        border-radius: 7px; /* Slightly less rounded on small mobile */
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .wd-page-content .e-search-form {
        background: rgba(30, 41, 59, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .wd-page-content .e-search-input {
        color: #f1f5f9;
    }
    
    .wd-page-content .e-search-input::placeholder {
        color: #94a3b8;
    }
    
    .wd-page-content .e-search-results-container {
        background: rgba(30, 41, 59, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .wd-page-content .e-search-results .e-search-result-item {
        color: #e2e8f0;
    }
    
    .wd-page-content .e-search-results .e-search-result-item:hover {
        background: rgba(59, 130, 246, 0.15);
    }
}

/* Focus States */
.wd-page-content .e-search-input:focus {
    background: rgba(255, 255, 255, 0.05);
}

/* Simple Loading Animation */
.wd-page-content .e-search-results-container:not(.hide-loader)::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin: 20px auto;
    border: 2px solid #f1f5f9;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Remove all unnecessary icons and elements */
.wd-page-content .e-search-input-wrapper::before,
.wd-page-content .e-font-icon-svg.e-fas-times {
    display: none !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-f4a2cc4 *//* Custom Professional CSS for WordPress Posts Grid */
.wd-content-area .elementor-posts-container {
    display: grid;
    gap: 2.5rem;
    width: 100%;
}

/* Desktop - 3 Columns */
.wd-content-area .elementor-posts-container {
    grid-template-columns: repeat(3, 1fr);
}

/* Tablet - 2 Columns */
@media (max-width: 1024px) {
    .wd-content-area .elementor-posts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile - 1 Column */
@media (max-width: 768px) {
    .wd-content-area .elementor-posts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Enhanced Professional Card Design */
.wd-content-area .elementor-post {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    min-height: 480px; /* Minimum height instead of fixed */
}

.wd-content-area .elementor-post:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08);
    background: linear-gradient(145deg, #ffffff, #fefefe);
}

/* Fixed height image container with default image */
.wd-content-area .elementor-post__thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 200px; /* Fixed height for image container */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Default gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure all images have the same styling */
.wd-content-area .elementor-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Default image for posts without featured image */
.wd-content-area .elementor-post:not(:has(img)) .elementor-post__thumbnail,
.wd-content-area .elementor-post__thumbnail:empty {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.wd-content-area .elementor-post:not(:has(img)) .elementor-post__thumbnail::before,
.wd-content-area .elementor-post__thumbnail:empty::before {
    content: '📄';
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Professional Content Styling */
.wd-content-area .elementor-post__text {
    padding: 1.5rem;
    position: relative;
    background: transparent;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wd-content-area .elementor-post__title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #2d3748;
}

.wd-content-area .elementor-post__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.wd-content-area .elementor-post__title a:hover {
    color: #4299e1;
}

/* Professional Meta Data */
.wd-content-area .elementor-post__meta-data {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #718096;
    align-items: center;
    flex-wrap: wrap;
}

.wd-content-area .elementor-post-date {
    position: relative;
    padding-left: 1.5rem;
}

.wd-content-area .elementor-post-date::before {
    content: '📅';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.wd-content-area .elementor-post-avatar {
    position: relative;
    padding-left: 1.5rem;
}

.wd-content-area .elementor-post-avatar::before {
    content: '💬';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Excerpt Styling */
.wd-content-area .elementor-post__excerpt {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex: 1;
}

/* Full Width Button with Custom Color */
.wd-content-area .elementor-post__read-more {
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #103353 !important;
    box-sizing: border-box;
    margin-top: auto;
}

.wd-content-area .elementor-post__read-more:hover {
    background: #0c2942 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 51, 83, 0.3);
}

/* Remove any arrow or icon from button */
.wd-content-area .elementor-post__read-more::after {
    display: none !important;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .wd-content-area .elementor-post {
        border-radius: 12px;
        margin-bottom: 1rem;
        min-height: 420px;
    }
    
    .wd-content-area .elementor-post__text {
        padding: 1.25rem;
    }
    
    .wd-content-area .elementor-post__title {
        font-size: 1.2rem;
    }
    
    .wd-content-area .elementor-post__meta-data {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .wd-content-area .elementor-post__thumbnail {
        height: 180px;
    }
    
    .wd-content-area .elementor-post__read-more {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Professional Loading Animation */
.wd-content-area .elementor-posts-container {
    animation: professionalFadeIn 0.8s ease both;
}

@keyframes professionalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation for Posts */
.wd-content-area .elementor-post {
    animation: postStagger 0.6s ease both;
}

.wd-content-area .elementor-post:nth-child(1) { animation-delay: 0.1s; }
.wd-content-area .elementor-post:nth-child(2) { animation-delay: 0.2s; }
.wd-content-area .elementor-post:nth-child(3) { animation-delay: 0.3s; }
.wd-content-area .elementor-post:nth-child(4) { animation-delay: 0.4s; }
.wd-content-area .elementor-post:nth-child(5) { animation-delay: 0.5s; }
.wd-content-area .elementor-post:nth-child(6) { animation-delay: 0.6s; }

@keyframes postStagger {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional Hover States */
.wd-content-area .elementor-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.03), rgba(49, 130, 206, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 16px;
}

.wd-content-area .elementor-post:hover::before {
    opacity: 1;
}

/* Enhanced Focus States for Accessibility */
.wd-content-area .elementor-post__thumbnail__link:focus,
.wd-content-area .elementor-post__read-more:focus {
    outline: 3px solid rgba(16, 51, 83, 0.5);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Print Optimization */
@media print {
    .wd-content-area .elementor-post {
        break-inside: avoid;
        border: 1px solid #e2e8f0;
        box-shadow: none;
        background: white;
        min-height: auto;
    }
    
    .wd-content-area .elementor-post__read-more {
        border: 1px solid #2d3748;
        color: #2d3748 !important;
        background: transparent !important;
    }
}

/* Fallback for older browsers */
.wd-content-area .elementor-post__thumbnail:not(:has(img)) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.wd-content-area .elementor-post__thumbnail:not(:has(img))::before {
    content: '📄';
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}/* End custom CSS */