body {
    max-width: 1740px;
    margin-left: auto;
    margin-right: auto;
    /* overflow-x:hidden; */
	/* overflow-y:visible; */
    background-color : #f9f9f9;
    font-family: 'Lato', sans-serif;
    
}
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 : #f9f9f9;
    width: 95%;
    /* margin-bottom: 100px; */
    z-index: 9999
}

.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: inherit;
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    /* text-transform: capitalize; */
    
}

.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: 100px;
}

.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 4px 8px 0 rgb(0 0 0 / 20%);
    margin-left: 15px;
    margin-right: 15px;
    height: 100%;
    border-radius: 5px;

}
.card-view:hover {
    margin-top: -3px;
    margin-bottom: 3px;
}

.card-content {
    padding: 15px;
}

p {
    color: #7a7a7a;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
}

@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: 5px 5px 0 0;
    width: 100%;
    object-fit: cover
}


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

.line {
    flex-grow: 1;
    margin: 0 20px;
    height: 1px;
    background-color: #a6a29e;
}

.view-all p {
    text-align: right;
    color: #a6a29e;
}

.card-date {
    font-size: 18px;
    color: #29383e;
    margin: 0
}

.card-title {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin: 0;
    margin-top: 10px
}

.card-excerpt {
    margin: 0;
    margin-top: 10px;
    font-size: 16px;
}

.card-date:hover {
    color: red
}

.card-title:hover {
    color: red
}

.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;
}

.menu-item a:hover {
    color: red
}

.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: 70px;
}

.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%;
}

/* 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: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

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

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

/* Custom Card Excerpt Styles */
.custom-card-excerpt {
    font-size: 16px;
    line-height: 1.5;
}


.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: red;
}

.my-button {
    background-color: #fff;
    color: black;
    padding: 10px 15px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    border: 1px solid #e7e7e7;
    border-color:#444;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.my-button:hover {
    background-color: #444;
    color:  red;
}


.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: #333;
    text-decoration: none;
  }

  a.read-more:hover {
    text-decoration: underline;
  }
  .sidebar {
    flex: 25%;
    max-width: 25%;
    margin-left: 3%;
    position: sticky;
    top: 120px; 
    align-self: flex-start; 
    overflow-y: auto; 
}
