/* General Forum Page Styling */
.container {
  max-width: 960px;
}

.card {
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-body {
  padding: 1rem 1.25rem;
}

/* Forum Titles */
h2, h5, h6 {
  font-weight: 600;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

textarea.form-control {
  resize: vertical;
}

/* Reply Blocks */
.card + .card {
  margin-top: 15px;
}

/* Small fixes for spacing */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}
	  input.form-select,

button.btn {

  font-size: 0.9rem;

  padding: 0.375rem 0.75rem;

}
	  @media (max-width: 576px) {
  .forum-box .col-auto,
  .forum-box .text-sm-center,
  .forum-box .text-sm-end {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .forum-box img.rounded-circle {
    width: 30px !important;
    height: 30px !important;
  }

  .forum-box .text-truncate {
    max-width: 100%;
  }
}

    .forum-list-item {
      display: flex;
      align-items: center;
      padding: 8px;
      border-bottom: 1px solid #eee;
    }
    .forum-icon {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      background-color: #f4f4f4;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
    }
    .forum-info {
      flex-grow: 1;
    }
    .forum-meta {
      text-align: right;
      font-size: 0.875rem;
    }
    .forum-subforums {
      margin-top: 5px;
      font-size: 0.875rem;
      color: #777;
    }
    .latest-post {
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: flex-end;
    }
    .latest-post img {
      width: 32px;
      height: 32px;
      object-fit: cover;
      border-radius: 50%;
    }
    .forum-title a {
      font-weight: bold;
      font-size: 1rem;
      color: #0056b3;
      text-decoration: none;
    }
    .forum-title a:hover {
      text-decoration: underline;
    }
	  
	  .latest-post-block {
  text-align: left;
}

.latest-post-title {
  max-width: 250px;
}
.forum-category-section {
 
  background: #fff;
  transition: box-shadow 0.2s ease-in-out;
}
.forum-category-section:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.forum-list-item {
  transition: background 0.3s;
}
.forum-list-item:hover {
  background-color: #f0f8ff;
}
.forum-list-item {
  display: block;
  padding: 1rem;
  background: #ffffff;
  border-left: 4px solid #0d6efd;
  transition: box-shadow 0.2s;
}

.forum-list-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.forum-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
}

.forum-title:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .latest-post-title {
    max-width: 100%;
  }
}
