
/* Masthead styling */
.masthead {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0; /* Adjust padding for a bigger header */
  color: white;
  text-align: center;
  overflow: hidden;
}

.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
}

.masthead .post-heading {
  position: relative;
  z-index: 1;
}

.masthead .post-heading h1 {
  font-size: 4rem; /* Big header */
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.masthead .post-heading h2.subheading {
  font-size: 2rem; /* Smaller sub-header */
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.masthead .post-heading .meta {
  font-size: 1rem; /* Smaller author info */
  color: light blue;
}

/* Post content styling */
.post-content {
  padding: 60px 0; /* Padding around the content */
}

.post-content .container {
  max-width: 100%; /* Ensure full width */
  margin: 0 auto; /* Center the content */
  text-align: justify; /* Justify the text */
}

.post-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Comments section */
.comment {
  margin-top: 50px;
}

.commentList {
  list-style-type: none;
  padding: 0;
}

.commentList .commenterImage {
  float: left;
  margin-right: 10px;
}

.commentList .commenterImage img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.commentList .commentText {
  overflow: hidden;
  margin-bottom: 20px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
}

.commentList .date.sub-text {
  font-size: 0.8rem;
  color: #aaa;
}

/* Button styling */
.btn-primary {
  background-color: #206bfb;
  border-color: #206bfb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-link {
  color: #206bfb;
}

.btn-link:hover {
  color: #0056b3;
}

/* css new post */
/* Additional CSS for the Edit/New Post page */

/* Adjust the container for the post editor */
.post-box {
  background: #f1f1f1; /* Light grey background */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Styling the masthead specifically for this page */
.masthead .page-heading {
  position: relative;
  z-index: 1;
}

.masthead .page-heading h1 {
  font-size: 4rem; /* Big header */
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.masthead .page-heading .subheading {
  font-size: 2rem; /* Smaller sub-header */
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Styling the form and buttons */
form .form-group {
  margin-bottom: 1rem;
}

form .form-control {
  padding: 10px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ced4da;
}

form .form-control:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form .btn-primary {
  background-color: #206bfb;
  border-color: #206bfb;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

form .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

form .btn-link {
  color: #206bfb;
  text-decoration: none;
}

form .btn-link:hover {
  color: #0056b3;
  text-decoration: underline;
}
