body {
  font-family: 'Arial', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.section_space {
  padding: 40px 0;
}

h1.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.nav-link {
  font-size: 18px;
  font-weight: bold;
  color: #555;
  text-decoration: none;
  background-color: #fff;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link:focus {
  background-color: #007bff;
  color: #fff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  min-width: 200px;
  background-color: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  color: #555;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #007bff;
  color: #fff;
}

.content {
  display: none;
}

.content.active {
  display: block;
}

.post-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* Styling the comment section */
.media {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
padding: 15px;
background-color: #f8f9fa;
border-radius: 10px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.media img.media-object {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 15px;
}

.media-body {
flex-grow: 1;
background-color: #fff;
padding: 10px 15px;
border-radius: 8px;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.media-body h6.font-head {
font-size: 16px;
font-weight: bold;
margin: 0 0 10px 0;
color: #333;
}

.media-body p.font-body {
font-size: 14px;
color: #555;
margin: 0;
}

hr.post-hr {
border-top: 1px solid #ddd;
margin: 10px 0;
}

/* No comments message */
h6.font-head.edit_pos {
font-size: 14px;
color: #777;
text-align: center;
margin: 10px 0;
}


/* Styling for post body paragraph */
.post-body p {
font-size: 16px;
color: #555;
line-height: 1.6;
word-wrap: break-word; /* Break words that are too long */
overflow-wrap: break-word; /* Ensure text wraps to the next line */
margin: 0; /* Remove default margins for better spacing control */
}


/* Styling for comment body paragraph */
.media-body p.font-body {
font-size: 14px;
color: #666;
line-height: 1.5;
word-wrap: break-word; /* Break long words onto the next line */
overflow-wrap: break-word; /* Ensure proper text wrapping */
margin: 5px 0 0; /* Add a bit of spacing above and below */
}
