body {
    max-width: 1740px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}
html {
    overflow-x:hidden;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -20px;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #ffffff;
    width: 95%;
    z-index: 9999;
    border-bottom: 1px solid #e5e7eb;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.site-navigation {
    flex-grow: 1;
    margin-left: 8%;
}

.menu {
    display: flex;
    padding: 10px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-right: 5%;
    display: inline-block;
    font-family: 'Lato', sans-serif; 
}

a {
    text-decoration: none;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.menu div:hover {
    text-decoration: underline;
}


.grey-icon {
    color: #636363

}

.hamburger-menu {
    display: none
    
}

.header {
    position: relative;
    z-index: 10;
}


.mobile-menu {
    position: fixed; 
    top: 0; /* Adjust as needed */
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background-color: #fff;
    display: none; 
    flex-direction: column;
    align-items: flex-start; 
    padding: 20px;
    z-index: 1000; 
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu li {
    padding: 10px 0;
}

/* Style menu links */
.mobile-menu a {

    font-size: 15px;
    text-decoration: none;
    display: block;
}

.close-humburger {
    position: absolute;
    top: 15px;
    right: 40px;
    background: none;
    border: none;
    color: #636363;
    font-size: 25px;
    cursor: pointer;
}

.content-container {
    padding-left: 3%;
    padding-right: 3%;
    margin-top: 60px;
    background-color: #ffffff;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.card {
    height: auto;
    margin-bottom: 20px;
    transition: 0.3s;
    padding-bottom: 15px;
    margin-top: 10px;
}



.card-view {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-left: 15px;
    margin-right: 15px;
    height: 100%;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}
.card-view:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e5e7eb;
}

.card-content {
    padding: 15px;
}

p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1rem;
}

@media (min-width: 1140px) {
    .card {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 800px) {
    .card-view img {
        height: 250px;
    }
}
@media (max-width: 800px) {
    .single-post-card-view img {
        height: 250px;
    }
    .swiper-container{
        margin-top: -100px;
    }
}
@media (max-width: 800px) {
    .postcontainer img {
        height: 250px;
    }
}



@media (min-width: 800px) {
    .card {
        max-width: 33%;
    }
}

@media (min-width: 600px) and (max-width: 800px) {
    .card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


.all-post-card-view {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 5px;
    margin-top: 20px;

}


.card img {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.02);
}


.category-view {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.category-view h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    padding: 0 20px;
    background-color: #ffffff;
}

.line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb 0%, #9ca3af 50%, #e5e7eb 100%);
}

.view-all a {
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all a:hover {
    color: #991b1b;
    text-decoration: underline;
}

.card-date {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 18px;
    color: #111827;
    font-weight: 600;
    margin: 0;
    margin-top: 8px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.card-excerpt {
    margin: 0;
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card:hover .card-title {
    color: #dc2626;
}

.menu-item a:hover {
    color: #dc2626;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-right: 3%;
    padding-bottom: 50px;
    margin-top: 80px;
}

.footer-menu-item {
    width: 100%;
    margin-top: 2px;
}



.footer-button {
    display: flex;
    flex-wrap: wrap;
    margin-left: -50%;
    margin-top: 25px;
}
.footer-img {
    width: 100%;
    margin: 0;
    height: 100px;
}

.footer-img1 {
    margin-top: -50px
}

.copyright {
    width: 100%;;
    justify-content: center;
    align-items: center;
}

.copyright p {
    text-align: center;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
}

.authorContainer {
    width: 100%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 70px;
}

.comments {
    margin-top: 80px;
    width: 61%;
}
@media (max-width: 1000px) {
    .comments {
        width: 90%;
    }
}
.author-thums{
    display: flex;
    align-items: center;
}

.single-post-card-view {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 50px;
    border: 5px;
}

.postcontainer {
    flex: 61%;
    max-width: 61%;
}

.sidebar {
    flex: 25%;
    max-width: 25%;
    margin-left: 3%;
}





@media only screen and (max-width: 742px) {
    .menu {
        display: none;
    }
    .search-icon {
        display: none;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
    }

    .site-navigation {
        display: none;
        position: absolute;
        top: 60px;
        background-color: #333;
        padding: 10px;
    }

    .site-navigation.show {
        display: block;
    }
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    margin-top: -30px;
}



.custom-swiper-container {
    width: 100%;
    margin: 0 auto;  
}

/* Custom Swiper Slide Styles */
.custom-swiper-slide {
    margin-top: 60px;
    position: relative;
}

/* Custom Card Styles */
.custom-card {
    margin-top: 100px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Custom Card View Styles */

/* Custom Card Link Styles */
.custom-card-link {
    display: flex;
    flex-wrap: wrap;
}

.slider-img {
    max-width: 40%;
    flex: 40%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* Custom Card Image Styles */
.custom-card-image {
    width: 700px; /* Adjust the width as needed */
    height: 350px; /* Adjust the height as needed */
    object-fit: cover; /* Ensure the image covers the entire container */
}

/* Custom Card Content Styles */
.custom-card-content {
   flex: 40%;
   max-width: 40%;
   margin-left: 40px;
}

/* Custom Card Info Styles */
.custom-card-info {
    margin-bottom: 10px; /* Add space between title and date */
}

/* Custom Card Title Styles */
.custom-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    line-height: 1.3;
}

/* Custom Card Date Styles */
.custom-card-date {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

.custom-card-view {
    margin-left: 5%;
    margin-right: 5%;
}

/* Custom Card Excerpt Styles */
.custom-card-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 20px;
}


.post-navigation {
    margin-bottom: 30px;
}
.post-navigation .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.post-navigation .nav-prev,
.post-navigation .nav-next {
    flex: 1;
    min-height: 60px; /* optional: gives empty boxes some height */
}
.post-navigation .nav-previous {
    border-right: 1px solid #f5f5f5;
}
.post-navigation .nav-links span{

font-size: 16px;
color: rgba(0, 0, 0, 0.3);
}



.sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 5px;
    
}


.sidebar a {
    color: #333;
    text-decoration: none;
}

.sidebar a:hover {
   color: #dc2626;
}

.my-button {
    background-color: #111827;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-button:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}


.pagination {
    display: inline-block;
  }

  .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #a6a29e;
    border-radius: 50%;
  }

  .pagination a.active {
  
    color: white;
    border-radius: 50%;
  }

  .pagination a:hover:not(.active) {
    background-color: #ddd;
  }


  @media (max-width: 1000px) {
    .postcontainer {
        flex: 90%;
        max-width: 90%;
    }
    .sidebar {
        flex: 100%;
        max-width: 90%;
    }
    .slider-img {
        flex: 90%;
        max-width: 90%;
        margin-left: 16px;
    }
    .custom-card-content {
        flex: 90%;
        max-width: 90%;
        margin-left: 16px;
    }

}
.social-icons {
    display: flex;
    gap: 15px; 
}

.social-icon-list {
    border: 1px solid grey;
    padding: 5px;
}

.social-icon-list:hover {
    border: 1px solid red;
}

.social {
    text-decoration: none;
}
.social :hover {
    color: red;
}
a.read-more {
    font-size: 16px;
    color: #6b7280;
    text-decoration: none;
}

a.read-more:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Image container for consistent aspect ratios */
.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}
  .sidebar {
    flex: 25%;
    max-width: 25%;
    margin-left: 3%;
    position: sticky;
    top: 120px; 
    align-self: flex-start; 
    overflow-y: auto; 
}
