.post-container {
  
  margin: auto;
  margin-left: 18px;
  margin-right: 18px;
}
.post-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.post-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: -10px;
  color: #333;
}

.post-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: bold;
  font-size: 1rem;
}

.author-role {
  font-size: 0.85rem;
  color: #777;
}

.post-stats {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  color: #555;
}

.post-stats i {
  margin-right: 5px;
  color: #077A7D;
}

.post-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* ====================== Mobile Responsive ====================== */
@media screen and (max-width: 768px) {
  .post-card {
    padding: 15px;
    margin-left: 4px;
    margin-right: 4px;
  }

  .post-title {
    font-size: 14px;
    margin-bottom: -8px !important;
    margin-top: 4px;
    line-height: 14px;
  }

  .post-description {
    font-size: 10px;
    margin-bottom: -6px;
  }

  /* Footer: left = author, right = stats */
  .post-footer {
    flex-direction: row; /* row for mobile */
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: -5px;
  }

  .author-info {
    gap: 8px;
  }

  .author-img {
    width: 34px;
    height: 34px;
  }

  .author-name {
    font-size: 10px;
  }

  .author-role {
    font-size: 8px;
  }

  .post-stats {
    font-size: 0.9rem;
    gap: 12px;
  }

  .post-stats i {
    margin-right: 3px;
  }

  .post-stats span {
    gap: 3px;
  }
  .post-container {
  margin-left: 14px !important;
  margin-right: 14px;
}

.seemore {
  background: linear-gradient(135deg, #077A7D, #0aa0a3);
  color: white;
  padding: 8px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 20px auto;
  text-align: center;
  transition: background 0.3s; /* hover এ smooth effect */
}

.seemore:hover {
  background: linear-gradient(135deg, #0aa0a3, #077A7D);
}


}




html.dark-mode .post-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
}

html.dark-mode .post-title  {
  color: #fff;
}
html.dark-mode .post-description {
  color: #e0e0e0;
}
html.dark-mode .post-stats {
  color: #e0e0e0;
}









/* Notice Home Css */

.latest-updates-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: #f9f9f9;
  overflow: hidden;
  position: relative;
}
html.dark-mode .latest-updates-section { background: #1f1f1f; }

.update-heading {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #077A7D;
}
html.dark-mode .update-heading { color: #0aa0a3; }

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.updates-slider {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1rem;
}

.update-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
html.dark-mode .update-card { background: #2a2a2a; color: #f0f0f0; box-shadow: 0 2px 8px rgba(255,255,255,0.05); }
