/* General Body Styling */
body {
  background: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 1100px;
  margin: 30px auto;
}

/* Navbar */
.navbar {
  background-color: #007bff;
}

.navbar-brand {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-brand:hover {
  color: #cce5ff;
}

/* Search Box */
.search-box {
  margin: 20px 0;
}

/* Post Grid */
#post-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Post Card */
.post-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  padding: 15px;
  transition: .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.post-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Post Info */
.post-info {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.post-info h3 {
  font-size: 1.1rem;
  color: #007bff;
  margin: 10px 0;
}

.post-info h3:hover {
  text-decoration: underline;
}

.post-links a {
  font-size: .9rem;
  color: #198754;
  font-weight: 600;
}

/* Pagination */
.pagination {
  margin-top: 30px;
}

/* Footer */
.footer {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9rem;
  background-color: #f1f1f1;
}

/* Additional Footer Styling */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 10px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
}

footer a {
  color: #007bff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

.btn-dark-web {
  background-color: #1a1a1a;
  color: #ff4d4d;
  border: 1px solid #333;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-dark-web:hover {
  background-color: #2a2a2a;
  color: #ff6666;
}
