@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

        :root {
            --primary-purple: #700779;
            --secondary-purple: #A855C7;
            --gradient-start: #fbe159;
            --gradient-end: #fc2662;
        }

        body {
           font-family: "Montserrat", sans-serif;
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        .header-gradient {
            /* background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%); */
            background: #fff;
            padding: 10px 0;
        }

        .logo {
            /* background-color: rgba(255, 255, 255, 0.2); */
            padding: 8px 15px;
            text-align: center;
        }

        /* .logo:hover {
            color: white;
            background-color: rgba(255, 255, 255, 0.3);
        } */

        .navbar-custom {
            /* background: var(--primary-purple); */
               background: linear-gradient(90deg, #65007e 0%, #fc7926 100%);
            padding: 5px 0;
        }
        li.nav-item:hover {
            background: #f4742b;
            border-radius: 5px;
            padding: 0px 0;
        }

        .navbar-custom .nav-link {
               border-color: #000;
                color: #fff;
                font-weight: bold;
                text-transform: uppercase;
                font-size: 14px;
                line-height: 17px;
                margin: 0px;
                padding: 5px;
        }
        li.nav-item {
            letter-spacing: 1px;
            margin-right: 10px;
        }

        .navbar-custom .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .search-btn {
            background-color: rgb(251 205 90);
            border: none;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all 0.3s ease;
            margin-left: 120px;
        }

        .search-btn:hover {
            background-color: rgba(255, 255, 255, 0.3);
            color: white;
        }
        .company {
           color: #fbcc5a;
          font-weight: 600;
        }
        .search-container {
            position: relative;
            display: inline-block;
            }

            .search-input {
            width: 0;
            opacity: 0;
            transition: all 0.3s ease;
            border: 1px solid #ccc;
            padding: 5px 10px;
            border-radius: 5px;
            background-color: white;
            position: absolute;
            top: 0;
            left: -200px;
            z-index: 10;
            }

            .search-input.active {
            width: 180px;
            opacity: 1;
            margin-left: 125px;
            }

        .section-title {
            color: var(--primary-purple);
            font-weight: bold;
            font-size: 21px;
            margin-bottom: 20px;
            padding-bottom: 8px;
            border-bottom: 3px solid var(--primary-purple);
            display: inline-block;
            text-transform: uppercase;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .news-card {
            /* background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease; */
        }

        .news-card:hover {
            transform: translateY(-3px);
        }

        .news-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .news-card-content {
            padding: 8px 0px;
        }

        .news-card-title a {
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            line-height: 1.4;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-family: "Montserrat", sans-serif;

        }

        .news-card-meta {
            font-size: 12px;
            color: #666;
        }

        .featured-section {
            margin-bottom: 40px;
        }

        /* .featured-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        } */

        .featured-main {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
        }

        .featured-main img {
            width: 100%;
            object-fit: cover;
        }

        .featured-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 30px 20px 20px;
        }

        .featured-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .featured-sidebar {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .row.news-card-title-inner a img {
            border: 3px solid #000;
        }
        .sidebar-item {
            display: flex;
            /* background: white; */
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .sidebar-item img {
            width: 100%;
            object-fit: cover;
            flex-shrink: 0;
            border: 3px solid #000;
        }
        img{
            width: 100%;
        }

        .sidebar-content {
            padding: 0px 14px 10px 0px;
            flex: 1;
        }

        .sidebar-content a {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-decoration: none;
        }

        .line2
        {
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
        }

        .footer {
            background: #399dff;
            color: white;
            padding: 40px 0 20px;
        }

        .footer-logo {
            /* background-color: var(--primary-purple); */
            padding: 10px 15px;
            border-radius: 5px;
            color: white;
            font-weight: bold;
            font-size: 18px;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
        }

        .footer-links a:hover {
            color: white;
        }


        .section-title-main {
            justify-content: space-between;
            display: flex;
        }
        .section-title-main h3 a {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-purple);
            text-decoration: none;
            border-bottom: 3px solid var(--primary-purple);
        }
        .news-card-content a {
            font-size: 16px;
            color: #333;
            font-weight: 600;
            overflow: hidden;
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .featured-grid {
                grid-template-columns: 1fr;
            }
            
            .news-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
            
            .navbar-custom .nav-link {
                padding: 8px 10px !important;
                font-size: 14px;
            }
            /* .nav-res {
                display: flex;
            } */
            .logo {
                padding: 0px 15px;
                text-align: center;
            }
            .sidebar-title {
                margin-left: 12px;
            }
            .section-title {
                font-size: 15px;
            }
            .section-title-main h3 a {
               font-size: 16px;
            }
            .article-title {
                font-size: 22px !important;
            }
            .sub-title {
                font-size: 16px !important;
            }
            span.ms-3.social-icons {
                margin: 0 21px;
            }
            /* .nav-res{
                display: none;
            } */
             .nav-res-mobile{
                display: block !important;
            }
            ul.navbar-nav {
                margin-top: 25px;
            }
            .search-input.active {
                margin-left: 210px;
            }
            /* .search-btn {
                margin-left: 200px;
            } */
            .search-container {
                margin-top: 8px;
            }
            .sidebar-content {
                padding: 0px 25px 0px 0px;
            }



        }

        /* details page css */

         .article-title {
         color: #7d2b99;
        font-size: 42px;
        font-weight: 600;
    }
    .sub-title {
      font-style: italic;
      color: #d32f2f;
      font-size: 21px;
      font-weight: 500;
    }
    .author-bar {
      border-top: 3px solid #ff9800;
      margin: 1rem 0;
      padding-top: 0.5rem;
      font-size: 0.9rem;
    }
    .social-icons i {
      font-size: 1.2rem;
      margin-right: 10px;
      color: #555;
      cursor: pointer;
    }
    .related-posts .title {
      font-weight: 600;
      color: #6a1b9a;
    }
    .related-posts .post {
      border-bottom: 1px solid #ddd;
      padding-bottom: 0.5rem;
      margin-bottom: 0.5rem;
    }
    .related-posts img {
      width: 100%;
      border-radius: 4px;
    }
    .related-posts .caption {
      font-size: 0.9rem;
    }
    .author-bar a {
        color: #7d2b99;
        font-weight: 600;
    }
    .main-content p {
        font-size: 17px;
    }
    .post a{
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    overflow: hidden;
    text-decoration: none;
    width: 50%;
    }
    .caption {
        margin-left: 15px;
    }

    /* about css */
        .about-section {
      max-width: 900px;
      margin: auto;
    }
    .about-section h2 {
      font-weight: 700;
      margin-bottom: 1.5rem;
    }
    .about-section p {
      text-align: justify;
      line-height: 1.7;
      margin-bottom: 1rem;
    }
    .highlight-blockquote {
      border-left: 5px solid #7b1fa2;
      padding-left: 15px;
      margin-bottom: 1.5rem;
      font-style: normal;
    }
    .about-section h5 {
      font-weight: 600;
      margin-top: 2rem;
    }



    .nav-res-mobile{
        display: none;
    }
    .navbar-toggler {
    color: rgb(255, 255, 255);
    background-color: var(--primary-purple) !important;
    padding: 8px;
    border-radius: 4px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl
    {
        max-width: 1140px;
    }
}



@media (max-width:768px)
{

     .search-container .search-input {
    min-width: 110px;
    
  }
  .navbar-custom {
            background: var(--primary-purple);
            padding: 0px 0;
        }

}

.header-action-button
{
    display: none;
}
@media (max-width:991px)
{
    .header-desktop-search
    {
        display: none !important;
    }
    .header-action-button
    {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .navbar-toggler
    {
        background-color: transparent;
        font-size: 28px;
    }

    .navbar-collapse .position-relative
    {
        display: none;
    }

}

@media (max-width:769px)
{
    .news-card img {
        height: 126px !important;
    }
    .news-card-title-inner img.border-dark-1 {
        height: 100px !important;
    }
}




.border-dark-1
{
    border: 2px solid #000;
}
img.border-dark-1
{
    object-fit: cover !important;
}

button.search-modal.btn.btn-sm.btn-warning.text-white.me-2 {
    padding: 7px 14px;
    font-size: 19px;
}

/* "More" link next to section titles */
.more-btn {
    font-size: 15px;
    font-weight: 600;
    align-self: flex-end;
    margin-bottom: 8px;
}
.more-btn a {
    color: var(--primary-purple);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-purple);
}
.more-btn a:hover {
    color: #fc2662;
    border-color: #fc2662;
}

/* Sidebar title text */
.sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
