/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://example.com/twentytwentyfour-child
Description: A child theme for the Twenty Twenty-Four theme.
Author: Your Name
Author URI: https://example.com
Template: twentytwentyfour
Version: 1.0
Text Domain: twentytwentyfour-child
*/

/* ==========================================================================
   VARIABLES & GLOBALS
   ========================================================================== */

:root {
    --primary-red: #C8102E;
    --dark-red: #CC0024;
    --hover-red: #a50d24;
    --text-dark: #0D0D0E;
    --text-gray: #555;
    --text-light: #6b7280;
    --background-white: #fff;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 20px rgba(0,0,0,0.12);
    --font-family: 'Kumbh Sans', sans-serif;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */

.container {
    padding-left: 100px;
    padding-right: 100px;
    margin: 0 auto;
}

/* ==========================================================================
   SUCCESS STORIES - GENERAL
   ========================================================================== */

.success-stories-grid,
.stories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
    align-items: stretch;
}

.success-story-card,
.story-card {
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
}

.success-story-card:hover,
.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Story Header */
.story-icon,
.story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.story-icon .icon {
    font-size: 28px;
    color: var(--primary-red);
    height: 40px;
    object-fit: contain;
}

.story-icon .badge,
.story-tag {
       background: var(--dark-red);
    color: var(--background-white);
    font-size: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    font-family: Kumbh sans-serif;
}

/* Story Content */
.story-content h3,
.story-title {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    /*font-family: var(--font-family);*/
    font-family: 'Kumbh Sans';
}

.story-content h3 a {
    text-decoration: none;
    color: inherit;
}

.story-excerpt,
.story-content {
    color: var(--text-gray);
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
    font-family: 'Kumbh Sans';
    font-size: 22px;
}

.story-meta {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.story-metric {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-family: 'Kumbh Sans';
}

.story-metric::before {
    content: "📈";
    margin-right: 8px;
    font-size: 14px;
}

/* Story Buttons */
.read-more-btn,
.story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary-red);
    color: var(--background-white);
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
font-family: 'Kumbh Sans';
}

.story-btn {
    background: transparent;
    color: var(--primary-red);
    font-family: 'Kumbh Sans';
}

.read-more-btn:hover {
    background: var(--hover-red);
}

.story-btn:hover {
    background: var(--dark-red);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.story-btn::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
    display:none;
}

.story-btn:hover::after {
    transform: translateX(3px);
}

/* ==========================================================================
   EXPERTISE & FEATURE COMPONENTS
   ========================================================================== */

.expertise-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expertise-container p {
    flex-grow: 1;
    margin-right: 20px;
}

.expertise-container a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
}

.feature-icon {
    margin-right: 15px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    margin: 0 0 6px;
    text-transform: capitalize;
    color: #000;
}

.feature-content p {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--text-gray);
    margin: 0;
}

.feature-link a {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feature-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CARD LAYOUTS
   ========================================================================== */

.card {
    display: flex;
    position: relative;
    overflow: hidden;
}

.card .image {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .image img {
    width: 90%;
    height: 70%;
    border-radius: 8px;
}

.card .content {
    width: 60%;
    /* padding: 30px; */
    box-sizing: border-box;
    padding-top: 65px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}

.card .content h2 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #111;
}

.card .content h3 {
    margin: 5px 0 20px;
    font-size: 18px;
    color: var(--primary-red);
    font-weight: normal;
}

.card .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card .content ul li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.4em;
    position: relative;
    padding-left: 25px;
}

.card .content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("http://3.7.8.99/Wordpress/wp-content/uploads/2025/09/Group-1-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ==========================================================================
   WPR GRID COMPONENTS
   ========================================================================== */

.wpr-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wpr-grid-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpr-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.wpr-grid-image-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.wpr-grid-item-below-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wpr-grid-item-title a {
    font-size: 22px;
    margin-left: 4px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 0;
    font-family: var(--font-family);
    line-height: 29.18px;
}

.wpr-grid-item-title a:hover {
    color: #c00;
}

.wpr-grid-item-excerpt p {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--text-gray);
    flex-grow: 1;
    margin-bottom: 16px;
    font-weight: 400;
}

.wpr-grid-item-read-more a {
    font-size: 14px;
    font-weight: 600;
    color: #c00;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.wpr-grid-item-read-more a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   ELEMENTOR SPECIFIC ADJUSTMENTS
   ========================================================================== */

.elementor-2973 .elementor-element.elementor-element-eff3630 .wpr-page-list .wpr-page-list-item-icon,
.elementor-2973 .elementor-element.elementor-element-021d5de .wpr-page-list .wpr-page-list-item-icon {
    margin-right: 6px;
    margin-top: -5px;
}

.elementor-2973 .elementor-element.elementor-element-dca7c82 .wpr-page-list .wpr-page-list-item-icon {
    margin-right: 6px;
    margin-top: -8px;
}

/* ==========================================================================
   ARCHIVE SUCCESS STORIES SPECIFIC
   ========================================================================== */

.archive-success-stories .stories-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.archive-success-stories .story-card {
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-success-stories .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large Screens */
@media (max-width: 1200px) {
    .wpr-grid-item,
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wpr-grid-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .wpr-grid-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (min-width: 992px) and (max-width:1366px){
   .elementor-2753 .elementor-element.elementor-element-75257e1{
    padding-left: 20px;
    padding-right: 20px;
   }
   .elementor-2753 .elementor-element.elementor-element-1245121{
      padding-left: 20px;
    padding-right: 20px;
   }
   .elementor-2753 .elementor-element.elementor-element-55aa119{
    padding-left: 20px;
    padding-right: 20px;
   }
   .elementor-element-75257e1  .elementor-element{
     padding: 25px 20px;
   }
   .elementor-element-75257e1 .elementor-element .elementor-view-default{
    padding: 0;
   }
   .elementor-2753 .elementor-element.elementor-element-637d71b{
     padding-left: 20px;
    padding-right: 20px;
   }
   .elementor-2753 .elementor-element .elementor-widget-button{
    padding: 0;
    text-align: left;
   }
   .elementor-2753 .elementor-element .elementor-widget-button .elementor-button-text{
    text-align: left;
    line-height: 21px;
   }
   .elementor-element-c5b3ecc{
    padding: 0;
   }
    .elementor-element-c5b3ecc .elementor-element-b804ca4{
    padding: 20px;
   }
   .elementor-element-c5b3ecc .elementor-element.e-con-full{
        margin: 0 15px;
   }

   .elementor-element-d68343c .elementor-widget-image img {
   
    width: 150px !important;
}
}




/* Medium Tablets */
@media (max-width: 768px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
  
    .elementor-button-wrapper {
    text-align: center;
}
}

/* Mobile */
@media (max-width: 600px) {
    .elementor-button.elementor-size-xl {
    border-radius: 6px;
    font-size: 16px !important;
    padding: 21px 30px;
}
   .ds-popup-content  .card {
    
    flex-direction: column;
}
.ds-popup-content .card .image {
    width: 100%;
    
}
.ds-popup-content .card .content {
    width: 100%;
    padding: 20px;
    
}
.ds-popup-wrapper{
    height: 80% !important; 
}
    .wpr-grid-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .wpr-grid-image-wrap img {
        height: 180px;
    }

    .wpr-grid-item-title a {
        font-size: 18px;
        line-height: 24px;
    }

    .wpr-grid-item-excerpt p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: 1fr;
    }
}

/* General Mobile Adjustments */
@media (max-width: 1024px) {
    .stories-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-card {
        padding: 25px;
    }
    
    .story-title {
        font-size: 20px;
    }
    
    .story-content {
        font-size: 14px;
    }
}

/* ==========================================================================
   ARCHIVE SUCCESS STORIES - 4 COLUMN GRID LAYOUT
   ========================================================================== */

/* Archive Section Styling */
.client-success-stories.archive-success-stories {
    /* padding: 60px 0; */
    background-color: #f8f9fa;
}

.client-success-stories .container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 0px;
}

/* Section Headers */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark, #0D0D0E);
    margin-bottom: 15px;
    font-family: 'Kumbh Sans', sans-serif;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-gray, #555);
    margin-bottom: 50px;
    font-family: 'Kumbh Sans', sans-serif;
}

/* 4-Column Grid Container */
.archive-success-stories .stories-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
    gap: 30px 30px; /* Row gap 30px, Column gap 30px */
    row-gap: 40px; /* Extra space between rows */
    margin-bottom: 50px;
    align-items: stretch; /* Equal height cards */
    grid-auto-rows: 1fr; /* Make all rows same height */
}

/* Individual Story Cards */
.archive-success-stories .story-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Equal height cards */
    position: relative;
    margin-bottom: 0; /* Remove any default margin */
}

.archive-success-stories .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Story Header */
.archive-success-stories .story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: 40px; /* Consistent header height */
}

.archive-success-stories .story-icon {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.archive-success-stories .story-tag {
    background: #CC0024;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Kumbh Sans', sans-serif;
    flex-shrink: 0;
}

/* Story Content */
.archive-success-stories .story-title {
    font-size: 27px;
    font-weight: 700;
    color: #0D0D0E;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Kumbh Sans', sans-serif;
    min-height: 52px; /* 2 lines minimum */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-success-stories .story-content {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Takes available space */
    font-family: 'Kumbh Sans', sans-serif;
}

.archive-success-stories .story-metric {
    color: #0D0D0E;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 8px 0;
   
    font-family: 'Kumbh Sans', sans-serif;
}

.archive-success-stories .story-metric::before {
    content: "📈";
    margin-right: 8px;
    font-size: 16px;
}

/* Story Button */
.archive-success-stories .story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid #CC0024;
    background: transparent;
    color: #CC0024;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    font-family: 'Kumbh Sans', sans-serif;
}

.archive-success-stories .story-btn:hover {
    background: #CC0024;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 36, 0.3);
}

/* Pagination Styling */
.archive-success-stories .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.archive-success-stories .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 2px solid #e5e5e5;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
}

.archive-success-stories .pagination .page-numbers:hover,
.archive-success-stories .pagination .page-numbers.current {
    background: #CC0024;
    color: white;
    border-color: #CC0024;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR 4-COLUMN GRID
   ========================================================================== */

/* Large Desktop (1400px+) - 4 columns */
@media (min-width: 1400px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px 35px;
        row-gap: 100px; /* More space between rows on large screens */
        margin-bottom: 100px;
        margin-top: 50px;
    }
}

/* Desktop (1200px - 1399px) - 4 columns with smaller gap */
@media (max-width: 1399px) and (min-width: 1200px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px 25px;
        row-gap: 35px; /* Consistent row spacing */
    }
    
    .archive-success-stories .story-card {
        padding: 20px;
    }
    
    .archive-success-stories .story-title {
        font-size: 18px;
    }
}

/* Large Tablet (992px - 1199px) - 3 columns */
@media (max-width: 1199px) and (min-width: 992px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 25px;
        row-gap: 35px;
    }
     .elementor-2753 .elementor-element.elementor-element-2f7ab36 {
        --width: inherit !important;
    }
        .elementor-2753 .elementor-element.elementor-element-86bdf2e {
        --width: inherit !important;
    }
   .elementor-element-b3ee3b2 .elementor-widget-container p {
    margin: 0;
}
.elementor-element-86bdf2e .elementor-widget-container {
    margin-top: 0 !important;
    text-align: end;
    float: inline-end;
}
.elementor-2753 .elementor-element.elementor-element-e52e516{
     flex-direction: column;
}
}



/* Tablet (768px - 991px) - 2 columns */
@media (max-width: 991px) and (min-width: 768px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 25px;
        row-gap: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    .elementor-2753 .elementor-element.elementor-element-a42bdb1 .swiper-slide-inner{
        padding: 30px !important;
    }
    .elementor-2753 .elementor-element.elementor-element-75257e1,
    .elementor-2753 .elementor-element.elementor-element-55aa119,
    .elementor-2753 .elementor-element.elementor-element-b804ca4,
    .elementor-2753 .elementor-element.elementor-element-637d71b
    {
        padding-left: 20px;
        padding-right: 20px;
    }
     .elementor-2753 .elementor-element.elementor-element-b804ca4{
        padding-top: 0;
     }
     .elementor-2753 .elementor-element.elementor-element-2cec4d7{
        padding-left: 15px;
        padding-right: 15px;
     }
       .elementor-2753 .elementor-element.elementor-element-75257e1{
         width: 100%;
         flex-direction: inherit !important;
         flex-wrap: wrap !important;
         gap: 20px;
         align-items: start;
       }
   .elementor-element-75257e1 .e-child {
        width: 48%;
        flex: 0 0 auto;
        margin: 0 !important;
        height: 100%;
        margin-top: 0 !important;
    }
    .elementor-element-637d71b .e-child , .elementor-element-55aa119 .e-child{
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .elementor-element-046b2f1 .elementor-widget-container p {
    margin-top: 0;
    margin-bottom: 0 !important;
}
.elementor-2753 .elementor-element.elementor-element-b804ca4{
    width: 100%;
        
         flex-wrap: wrap !important;
         gap: 20px;
         align-items: start;
}
.elementor-element-b804ca4 .e-child{
    width: 48%;
        flex: 0 0 auto;
        margin: 0 !important;
        height: 100%;
        margin-top: 0 !important;
}
.elementor-2753 .elementor-element.elementor-element-971a4c1{
     padding-left: 20px;
        padding-right: 20px;
}
.elementor-2753 .elementor-element.elementor-element-9a98167{
      padding-left: 20px;
        padding-right: 20px;
        align-items: center;
}
.elementor-2753 .elementor-element.elementor-element-e52e516{
     padding-left: 20px;
        padding-right: 20px;
}
.elementor-element-2f7ab36 .elementor-widget-container {
    margin-left: 0 !important;
}
.elementor-2753 .elementor-element.elementor-element-e52e516{
     flex-direction: column;
}
    .elementor-2753 .elementor-element.elementor-element-2f7ab36 {
        --width: inherit !important;
    }
        .elementor-2753 .elementor-element.elementor-element-86bdf2e {
        --width: inherit !important;
    }
    .elementor-element-b3ee3b2 .elementor-widget-container p {
    margin: 0;
}
.elementor-element-86bdf2e .elementor-widget-container {
    margin-top: 0 !important;
    text-align: end;
    float: inline-end;
}
.stories-wrapper {
    margin-left: 0px !important;
    margin-right: 00px !important;
     padding-left: 20px;
        padding-right: 20px;
}


}

/* Mobile (576px - 767px) - 2 columns */
@media (max-width: 767px) and (min-width: 576px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 20px;
        row-gap: 25px;
    }
    
    .archive-success-stories .story-card {
        padding: 18px;
    }
    
    .archive-success-stories .story-title {
        font-size: 16px;
        min-height: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
}

@media (max-width: 767px) {
     .archive-success-stories .story-card {
       
        height: inherit !important;
    }
.elementor-2753 .elementor-element.elementor-element-83c14f2 > .elementor-widget-container {
        margin: 0 !important;
        padding: 0 0px !important;
    }
    .stories-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 20px !important;
}
.elementor-element-b3ee3b2 .elementor-widget-container p {
    margin: 0;
}

.elementor-2753 .elementor-element.elementor-element-a42bdb1 .swiper-slide {
   
    height: 500px !important;
 }
}

/* Small Mobile (below 575px) - 1 column */
@media (max-width: 575px) {
    .archive-success-stories .stories-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 25px;
    }
    
    .client-success-stories .container {
        padding: 0 15px;
    }
    
        .archive-success-stories .story-card {
        padding: 20px;
        height: inherit !important;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }
    
    .elementor-2753 .elementor-element.elementor-element-a42bdb1 .elementor-slide-heading {
        font-size: 26px !important;
        line-height: 36px;
        letter-spacing: 0;
    }       

    .elementor-2753 .elementor-element.elementor-element-a42bdb1 .elementor-slide-description {
        font-size: 16px;
        line-height: 26px;
    }
     .elementor-2961 .elementor-element.elementor-element-7fbaa56 > .elementor-widget-container {
        margin: 8px 0px 0px 101px !important; 
        padding: 0px 0px 0px 0px;
    }
   
}

/* ==========================================================================
   GRID AUTO-FIT FALLBACK (for older browsers)
   ========================================================================== */

@supports not (display: grid) {
    .archive-success-stories .stories-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin: -15px;
    }
    
    .archive-success-stories .story-card {
        flex: 0 1 calc(25% - 30px);
        margin: 15px;
    }
    
    @media (max-width: 1199px) {
        .archive-success-stories .story-card {
            flex: 0 1 calc(33.333% - 30px);
        }
    }
    
    @media (max-width: 991px) {
        .archive-success-stories .story-card {
            flex: 0 1 calc(50% - 30px);
        }
    }
    
    @media (max-width: 575px) {
        .archive-success-stories .story-card {
            flex: 0 1 calc(100% - 30px);
        }
    }
}


.archive-header {
    /* width: 100%; */
    background: linear-gradient(90deg, #c8102e 0%, #7a0019 100%);
    color: #fff;
    text-align: center;
    padding: 100px;
    /* margin: 0 0 60px; */

}

.archive-header .section-title {
    font-size: 54px;
    font-weight: 700;
    margin: 0 0 20px;
        text-align: justify;
        font-family: "Kumbh Sans", Sans-serif;
    font-size: 70px;
    font-weight: 700;
    color: #FFFFFF;
}

.archive-header .section-subtitle {
    font-size: 22px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    /* margin: 0 auto; */
    /* line-height: 1.6; */
    text-align: left;
        font-family: "Kumbh Sans", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #FFFFFF;
}
.stories-wrapper {
    margin-left: 100px;
    margin-right: 100px;
}

.view-all-wrapper {
    display: none;
}

.circle-tm {
display: inline-block;
    border: 2px solid #d3d3d3;
    border-radius: 50%;
    font-size: 18px;
    width: 22px;
    text-align: center;
    vertical-align: super;
    margin-left: 6px;
    height: 22px;
}
.story-title a {
  color: #000000 !important;   /* makes the link black */
  text-decoration: none;       /* removes underline */
}

.story-title a:hover {
  color: #333333;              /* slightly lighter/darker on hover */
}

.elementor-heading-title {
    line-height: inherit;
}






.search-results-page {
  padding: 40px 20px;
}

.search-title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.search-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.search-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-item h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.search-item p {
  color: #555;
  font-size: 14px;
}



.elementor-element-2eea0fa .elementor-widget-image .elementor-widget-container {
    min-height: 250px;
    overflow: hidden;
    
}
 .elementor-element.elementor-element-089558e.jltma-glass-effect-no.elementor-widget.elementor-widget-image {

    overflow: hidden;
   
}

.elementor-element.elementor-element-9640cc2.jltma-glass-effect-no.elementor-widget.elementor-widget-image {
    min-height: 250px;
    overflow: hidden;
    
}

.elementor-element.elementor-element-b2e11f3.jltma-glass-effect-no.elementor-widget.elementor-widget-image {
    min-height: 250px;
    overflow: hidden;
   
}

.js .jltma-search:before {
  display: none !important;
}
.js .jltma-search {
    height: inherit !important;
    left: inherit !important;
    position: absolute !important;
    top: 68px;
    width: 500px !important;
    background: #fff;
    right: 0 !important;
    padding: 15px;
}

.jltma-search__form .jltma-search__input {
   
    background: transparent;
    border: 0;
    border: 1px solid #b60a2c !important;    
    color: #b60a2c !important;
    font-size: 16px !important;
    line-height: 1;
    padding: 0;
    width: 100%;
    height: 50px !important;
    width: 100%;
    border-radius: 8px !important;
    padding: 15px;
    box-shadow: #cc0024 0px 2px 7px 0px;
}
.jltma-search__form {
    margin: 0 !important;
    z-index: 999;
    height: 50px !important;
}
.jltma-search__form {
    margin: 5em 0;
    z-index: 999;
    width: 80%;
    float: left;
    left: 15px;
    position: absolute;
}
.jltma-btn--search-close {
    border: 0;
    height: 50px;
    padding: 0;
    position: relative !important;
    right: -210px !important;
    top: 4px !important;
    width: 50px !important;
    border-radius: 8px !important;
    overflow: hidden;
}
.js .jltma-search {
    height: 100vh;
    left: 0;
    position: fixed;
    top: 68px !important;
    width: 100%;
    z-index: 1000;
}

/* Parent li always relative */
.menu-item-has-children {
    position: relative;
}

/* Submenu default hidden */
.wpr-mobile-sub-menu {
    display: none;
    position: absolute; /* parent ni andar absolute */
    top: 100%;          /* parent niche start */
    left: 0;
    width: max-content;  /* submenu width content pr depend kare */
    min-width: 180px;    /* tamaru minimum width */
    background: #fff;
    z-index: 9999;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.15); */
    
   
}

/* When open class added */
.menu-item-has-children.wpr-mobile-sub-open > .wpr-mobile-sub-menu {
    display: block;
}

/* Prevent submenu from going outside screen */
.wpr-mobile-sub-menu {
    right: auto;
    left: 0;
}

/* For nested submenu (child of child) */
.wpr-mobile-sub-menu .menu-item-has-children > .wpr-mobile-sub-menu {
    top: 0;
    left: 100%; /* submenu right side open */
}

/* Optional: adjust if submenu goes offscreen */
@media (max-width: 768px) {
    .wpr-mobile-sub-menu, 
    .wpr-mobile-sub-menu .wpr-mobile-sub-menu {
        position: static; /* mobile ma submenu niche j opens */
        width: 100%;
    }
    li.menu-item:last-child {
        border-bottom: 1px solid black; /* Black border for small screens */
    }
    
}