   

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

body{
     font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif !important;
     background: #e8f4f8;
}

*{
    /*font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif !important;*/
    line-height: 1.5;
}


        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        .container p , .container a ,  .container a span{
           font-size: 16px;
        }
        .article_content img {
            width: 100%;
            object-fit: contain;
            height: 100%;

        }
        
        

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        ul {
            list-style: none;
        }

        /* SAAOL Brand Colors */
        .saaol-blue {
            color: #005A9C;
        }

        .saaol-red {
            color: #D8232A;
        }

        .bg-saaol-blue {
            background-color: #005A9C;
        }

        .bg-saaol-red {
            background-color: #D8232A;
        }

        .border-saaol-red {
            border-color: #D8232A;
        }

        /* Utility Classes */
        .flex {
            display: flex;
        }

        .hidden {
            display: none;
        }

        .grid {
            display: grid;
        }

        .items-center {
            align-items: center;
        }

        .items-start {
            align-items: flex-start;
        }

        .items-baseline {
            align-items: baseline;
        }

        .justify-between {
            justify-content: space-between;
        }

        .justify-center {
            justify-content: center;
        }

        .text-center {
            text-align: center;
        }

        .sticky {
            position: sticky;
        }

        .relative {
            position: relative;
        }

        .absolute {
            position: absolute;
        }

        .rounded-full {
            border-radius: 9999px;
        }

        .rounded-lg {
            border-radius: 0.5rem;
        }

        .rounded-xl {
            border-radius: 0.75rem;
        }

        .rounded-md {
            border-radius: 0.375rem;
        }

        .shadow-md {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .shadow-lg {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .object-cover {
            object-fit: cover;
        }

        .overflow-hidden {
            overflow: hidden;
        }

        .transition-all {
            transition: all 0.3s ease;
        }

        .transition-colors {
            transition: color 0.3s ease, background-color 0.3s ease;
        }

        .hover\:bg-saaol-red-dark:hover {
            background-color: #b91c23;
        }

        .hover\:underline:hover {
            text-decoration: underline;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        #searchResults{
            border-radius: 10px;
            text-align: left;
            margin-top:5px;
        }
        #searchResults img{
            border-radius: 10px !important;
            width: 100px !important;
            height: auto !important;
        }
        
        #searchResults::-webkit-scrollbar {
              border-radius: 10px; 
        }
        
        #searchResults::-webkit-scrollbar {
          width: 12px;
        }

       #searchResults::-webkit-scrollbar-track {
             background: #e8f4f8;
             border-radius: 10px; /* Rounded track */
        }

#searchResults::-webkit-scrollbar-thumb {
    background-color: #1e95c3;
    border-radius: 10px; /* Rounded thumb */
    border: 3px solid #f0f0f0; /* Optional: space around thumb */
}

#searchResults::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


/*tob bar css start*/
.top-bar .main-button{
    padding: 6px 18px;
}
/*tob bar css end*/
        
          /* Hero Section */
        .wave-container {
            background-image: url(https://saaol.com/psd/assets/images/home/patient-bg.png);
            color: white;
            padding: 5% 0;
            position: relative;
        }

        /*.wave-container::before {*/
        /*    content: '';*/
        /*    position: absolute;*/
        /*    bottom: 0;*/
        /*    left: 0;*/
        /*    width: 100%;*/
        /*    height: 100px;*/
        /*    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");*/
        /*    background-repeat: no-repeat;*/
        /*    background-size: cover;*/
        /*    background-position: bottom;*/
        /*}*/

        .hero-content {
            max-width: 768px;
            margin: 0 auto;
            padding: 0 1rem;
            text-align: center;
            position: relative;
            z-index: 10;
        }
        
        .hero-content .home-heading{
            color: var(--white);
            font-weight: 700;
            text-align: center;

        }

        .hero-title {
            font-size: 2.25rem;
            font-weight: 700;
            line-height: 1.25;
        }

        .hero-subtitle {
            margin-top: 1rem;
            font-size: 1.125rem;
            color: #e5e7eb;
        }

        .search-form {
            margin-top: 2rem;
            /*max-width: 36rem;*/
            margin-left: auto;
            margin-right: auto;
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 9999px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            padding: 0.5rem;
        }
        
        #searchIcon{
            cursor: pointer;
        }

        .search-input {
            width: 100%;
            background-color: transparent;
            padding: 0.5rem 1rem;
            color: #374151;
            border: none;
            outline: none;
        }
        
        /* For Chrome, Safari, Edge */
       input[type = "search"]::-webkit-search-decoration,
           input[type = "search"]::-webkit-search-cancel-button,
           input[type = "search"]::-webkit-search-results-button,
           input[type = "search"]::-webkit-search-results-decoration {
               display: none;
           }

       /* For Firefox */
       input[type = "search"] {
           -moz-appearance: textfield;
       }
        .search-button {
            background-color: #D8232A;
            color: white;
            border-radius: 9999px;
            padding: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            
        }

        .search-button:hover {
            background-color: #b91c23;
        }
        
        .article_content{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }

        /* Featured Blog Section */
        .section-py {
            padding: 5% 0;
        }

        .grid-cols-1 {
            grid-template-columns: 1fr;
        }

        .gap-12 {
            gap: 3rem;
        }

        .featured-blog {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 5%;
        }

        .featured-blog:hover {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        /*.featured-blog img {*/
        /*    width: 100%;*/
        /*    height: 384px;*/
        /*    object-fit: cover;*/
        /*}*/

        .blog-content {
            padding: 1.1rem;
        }

        .blog-tag {
            font-size: 0.875rem;
            font-weight: 600;
            color: #D8232A;
        }

        .blog-title a {
            margin-top: 0.5rem;
            font-size: 1.875rem !important;
            font-weight: 700;
            color: #1f2937;
            position: relative;
            z-index: 1;
        }

        article:hover  .blog-title a {
            color: #005A9C;
        }

        .blog-excerpt {
            margin-top: 1rem;
            color: #4b5563;
            line-height: 1.625;
            display: -webkit-box;
            -webkit-line-clamp: 4;  /* Number of lines to show */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .blog-author {
            display: flex;
            align-items: center;
            padding: 2rem;
            background: #e8f4f8;
            background: linear-gradient(135deg, #0c7dbc 0%, #1a4d7a 100%);
            position: relative;
        }
        
        .blog-author:before{
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(30deg);
        }

        .author-image {
            height: 3rem;
            width: 3rem;
            border-radius: 9999px;
            object-fit: cover;
        }

        .author-info {
            margin-left: 1rem;
        }

        .author-name {
            font-weight: 600;
            color: white;
        }

        .blog-date {
            font-size: 0.875rem;
            color: white;
        }

        .read-more {
            margin-left: auto;
            font-weight: 700;
            color: white;
            position: relative;
            z-index: 10;
        }

        .read-more:hover {
            text-decoration: underline;
        }

        /* Subscribe Box */
        .subscribe-box {
            background-color: white;
            padding: 1.5rem 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 9rem;
        }

        .subscribe-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1f2937;
        }

        .subscribe-text {
            margin-top: 0.5rem;
            color: #4b5563;
        }

        .subscribe-form {
            margin-top: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .subscribe-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            outline: none;
        }

        .subscribe-input:focus {
            border-color: #005A9C;
            box-shadow: 0 0 0 2px rgba(0, 90, 156, 0.2);
        }

        .subscribe-button {
            width: 100%;
            background-color: #D8232A;
            color: white;
            font-weight: 700;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            border: none;
            cursor: pointer;
        }

        .subscribe-button:hover {
            background-color: #b91c23;
        }

        /* Latest Articles Section */
        .section-title {
            font-size: 1.875rem;
            font-weight: 700;
            color: #1f2937;
            border-left: 4px solid #D8232A;
            padding-left: 1rem;
            margin-bottom: 2rem;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .article-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .article-card:hover {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: translateY(-0.25rem);
        }

        .article-card img {
            width: 100%;
            /*height: 15rem;*/
            object-fit: contain;
        }

        .article-content {
            padding: 1.5rem;
        }

        .article-tag {
            font-size: 0.875rem;
            font-weight: 600;
            color: #D8232A;
        }

        .article-title a {
            margin-top: 0.5rem;
            /*font-size: 1.125rem;*/
            font-weight: 700;
            color: #1f2937;
            height: 3.5rem;
            overflow: hidden;
        }

        .article-card:hover .article-title a {
            color: #005A9C;
        }

        .article-date {
            margin-top: 0.75rem;
            font-size: 0.875rem;
            color: #6b7280;
        }

       /* Pagination */
    .pagination {
        margin-top: 3rem;
        display: flex;
        justify-content: center;
    }

    .pagination-nav {
        display: flex;
        border-radius: 0.375rem;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .pagination-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        border: 1px solid #d1d5db;
        background-color: white;
        font-size: 0.875rem;
        font-weight: 500;
        color: #6b7280;
        cursor: pointer;
        min-width: 2.5rem;
    }

    .pagination-link:first-child {
        border-top-left-radius: 0.375rem;
        border-bottom-left-radius: 0.375rem;
    }

    .pagination-link:last-child {
        border-top-right-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }

    .pagination-link.active {
        background-color: #005A9C;
        color: white;
        border-color: #005A9C;
    }

    .pagination-link:hover:not(.active) {
        background-color: #f9fafb;
    }

    .pagination-link.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 9rem;
            display: flex;
            flex-direction: column;
            /*gap: 2.5rem;*/
        }
        
        .sidebar .div{
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }

        .widget-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1f2937;
            border-left: 4px solid #D8232A;
            padding-left: 1rem;
            margin-bottom: 1.5rem;
        }

        .popular-posts {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .post-item {
            display: flex;
            align-items: center;
            padding: 7px;
            gap: 1rem;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .post-image {
            height: 4rem;
            width: 4rem;
            border-radius: 0.5rem;
            object-fit: cover;
            flex-shrink: 0;
        }

        .post-title {
            font-weight: 600;
            color: #374151;
        }

        .post-title:hover {
            color: #005A9C;
        }

        .categories-list li{
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            padding: 7px;
        }

        .category-item {
            display: flex;
            justify-content: space-between;
            color: #374151;
            
        }
        .categories-card .category-item{
            text-decoration: none;
        }

        .category-item:hover {
            color: #005A9C;
        }
        
         /* Media Queries */
        @media (min-width: 640px) {
            .container {
                padding: 0 1.5rem;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .articles-grid {
                grid-template-columns: 1fr 1fr;
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
         @media (max-width: 768px) {
           .article_content{
               grid-template-columns:1fr;
           }

        }
        @media (max-width: 450px) {
          
        .author-name , .read-more , .blog-date {
            font-size:12px !important;
        }
        
        .blog-author{
            padding: 1rem;
        }

        }
        
        

        @media (max-width: 1024px) {
             .subscribe-box{
                margin-top: 20px;
            }
            .sidebar{
                margin-top: 20px;
            }
        }
        @media (min-width: 1024px) {
            .grid-cols-3 {
                grid-template-columns: 2fr 1fr;
            }

            .featured-grid {
                display: grid;
                grid-template-columns: 2fr 1fr;
                gap: 3rem;
                align-items: start;
            }

            .main-grid {
                display: grid;
                grid-template-columns: 2fr 1fr;
                gap: 3rem;
                align-items: start;
            }
            
        }

        @media (min-width: 1280px) {
            .container {
                padding: 0 2rem;
            }
        }