/* .navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.nav-links li {
  font-size: 15px;
  color: #111;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.nav-links li:hover {
  color: #2563eb;
}

.nav-links .active {
  color: #2563eb;
  font-weight: 500;
}

.nav-links .active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 2px;
  background: #2563eb;
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #ccc;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    padding: 10px;
    width: 100%;
  }
  .nav-search {
    width: 100%;
    margin-top: 10px;
  }
  .search-input {
    width: 100%;
  }
}
.more {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
}
.dropdown1s {
  position: absolute;
  top: 185%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  z-index: 100;
}

.dropdown1s li {
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}

.dropdown1s li:hover {
  background-color: #f0f0f0;
}
.arrow {
  font-size: 15px;
}

.nav-search {
  font-size: 16px;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  width: 180px;
  transition: width 0.3s ease;
}

.search-input:focus {
  width: 250px;
  border-color: #b9bbbd;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-search {
    margin-left: 10px;
  }
}


.posts-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.post-card {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #e3e3e3;
}

.post-image {
  flex: 0 0 320px;
}

.post-image img {
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 6px;
}

.post-content {
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.avatar {
  width: 22px;
  height: 22px;
  background: #2e2e2e;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
}

.post-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #111;
  cursor: pointer;
}

.post-title:hover {
  text-decoration: underline;
  color: #479beb;
}

.post-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #5f5f5f;
}

.heart {
  margin-left: auto;
  font-size: 20px;
  cursor: pointer;
}

.heart:hover {
  color: red;
}

@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
  }

  .post-image {
    width: 100%;
  }

  .post-image img {
    max-height: 240px;
  }
}

@media (max-width: 500px) {
  .post-image {
    flex: 0 0 0px;
  }
  .nav-search {
    display: none;
  }
  .nav-links {
    margin-top: 0px;
    border-top: none;
  }
  .dropdown1s {
    position: static;
  }
  .nav-links .active::after {
    display: none;
  }
}

.pagination {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 15px; 
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.pagination button {
  background-color: #007bff; 
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.pagination button:disabled {
  background-color: #cccccc; 
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background-color: #0056b3; 
}

.pagination span {
  font-size: 14px;
  font-weight: 500;
} */

.navbarb {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.nav-containerb {
  max-width: 1000px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
}

.nav-linksb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.nav-linksb li {
  font-size: 16px;
  color: #111;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.nav-linksb li:hover {
  color: #2563eb;
}

.nav-linksb .active {
  color: #2563eb;
  font-weight: 500;
}

.nav-linksb .active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 2px;
  background: #2563eb;
}
.hamburgerb {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .hamburgerb {
    display: block;
  }
  .nav-linksb {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #ccc;
  }
  .nav-linksb.activeb {
    display: flex;
  }
  .nav-linksb li {
    padding: 10px;
    width: 100%;
  }
  .nav-searchb {
    width: 100%;
    margin-top: 10px;
  }
  .search-inputb {
    width: 100%;
  }
}
.moreb {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
}
.dropdown1sb {
  position: absolute;
  top: 185%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  z-index: 100;
}

.dropdown1sb li {
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}

.dropdown1sb li:hover {
  background-color: #f0f0f0;
}
.arrowb {
  font-size: 15px;
}

.nav-searchb {
  font-size: 16px;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-inputb {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  width: 180px;
  transition: width 0.3s ease;
}

.search-inputb:focus {
  width: 250px;
  border-color: #b9bbbd;
}

@media (max-width: 900px) {
  .nav-linksb {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .nav-linksb {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-linksb::-webkit-scrollbar {
    display: none;
  }

  .nav-searchb {
    margin-left: 10px;
  }
}

.posts-wrapperb {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.post-cardb {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #e3e3e3;
}

.post-imageb {
  flex: 0 0 320px;
}

.post-imageb img {
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 6px;
}

.post-contentb {
  flex: 1;
}

.post-metab {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
}

.authorb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.avatarb {
  width: 22px;
  height: 22px;
  background: #2e2e2e;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -3px;
}

.post-titleb {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #111;
  cursor: pointer;
}

.post-titleb:hover {
  text-decoration: underline;
  color: #479beb;
}

.post-descb {
  font-size: 17px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footerb {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: #5f5f5f;
}

.heartb {
  margin-left: auto;
  font-size: 20px;
  cursor: pointer;
}

.heartb:hover {
  color: red;
}

@media (max-width: 768px) {
  .post-cardb {
    flex-direction: column;
  }

  .post-imageb {
    width: 100%;
  }

  .post-imageb img {
    max-height: 240px;
  }
}

@media (max-width: 500px) {
  .post-imageb {
    flex: 0 0 0px;
  }
  .nav-searchb {
    display: none;
  }
  .nav-linksb {
    margin-top: 0px;
    border-top: none;
  }
  .dropdown1sb {
    position: static;
  }
  .nav-linksb .activeb::after {
    display: none;
  }
}

.paginationb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.paginationb button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.paginationb button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.paginationb button:hover:not(:disabled) {
  background-color: #0056b3;
}

.paginationb span {
  font-size: 14px;
  font-weight: 500;
}
