.post-meta {
  display: inline-flex;
  flex-wrap: wrap; /* mobile friendly */
  justify-content: center;
  align-items: center;
  gap: 20px; /* slightly bigger gap for clarity */
  font-size: 16px; /* larger font for visibility */
  color: #ffffff; /* white text for high contrast */
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

.post-meta i {
  color: #00bfff; /* bright color for icons, professional look */
  margin-right: 8px;
  font-size: 18px; /* bigger icons for better visibility */
}

.post-meta span {
  display: flex;
  align-items: center;
  white-space: nowrap; /* prevent breaking */
  font-weight: 500; /* medium bold for better readability */
}

@media (max-width: 576px) {
  .post-meta {
    flex-direction: column; /* stack vertically */
    gap: 10px;
    justify-content: center; /* center horizontally */
    align-items: center; /* center horizontally */
    text-align: center; /* ensure text is centered */
  }

  .post-meta span:not(:last-child)::after {
    content: ""; /* remove | on mobile */
  }
}

.black-hr {
  border: none;            /* remove default border */
  height: 2px;             /* thickness of the line */
  background-color: #000000; /* pure black */
  width: 100%;             /* full width */
  margin: 20px 0;          /* spacing above and below */
  border-radius: 0;        /* sharp edges for strong line */
}

/* Numbered main places */
.places-list {
  padding-left: 30px;       /* space for numbers */
  margin-left: 0;
  list-style-type: decimal;  /* show numbers */
  counter-reset: place-counter;
  font-size: 18px;           /* larger font for main places */
  font-weight: 500;          /* bold numbers and text */
  color: #000000;            /* solid dark black */
}

/* Nested activity list remains bullets */
.places-list li ul {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 16px;           /* slightly smaller than main headings */
  color: #3e3e3e;            /* dark gray for readability */
}

/* Spacing between main places */
.places-list > li {
  margin-bottom: 25px;
}

/* On mobile devices */
@media (max-width: 576px) {
  .places-list {
    text-align: left;     /* align headings to left */
    padding-left: 20px;   /* keep some spacing for numbers */
  }

  .places-list li ul {
    margin-left: 25px;    /* nested activities remain indented */
  }
}


.image-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap; /* allow wrapping on smaller screens */
}

.img-box-1 {
  flex: 1;
  overflow: visible;
}

.img-box-1 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
  border-radius: 0px; /* smooth corners */
}

/* Tablet (max 768px) → 2 images per row */
@media (max-width: 768px) {
  .img-box-1 {
    flex: 0 0 calc(50% - 15px); /* 2 columns */
  }
}

/* Mobile (max 480px) → 1 image per row */
@media (max-width: 480px) {
  .img-box-1 {
    flex: 0 0 100%; /* full width */
  }

  .img-box-1 img {
    height: 250px; /* slightly smaller height for mobile */
  }
}


.wp-block-heading {
    clear: both;
    font-weight: 700;
    margin: 0 0 1em;
}

.wp-block-list {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.wp-block-list li {
    margin-bottom: .5em;
}

.wp-block-separator.has-alpha-channel-opacity {
    opacity: .4;
}

.wp-block-separator.has-alpha-channel-opacity.is-style-wide,
.wp-block-separator.has-alpha-channel-opacity.is-style-dots {
    opacity: 1; /* override for styled variants */
}


/* 🌟 Author Box Base */
.author-box {
  text-align: center;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  max-width: 350px; /* same width as form */
  margin: 0 auto;
}

.author-box h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #1d2f4f;
  display: inline-block;
  border: 1px solid #1d2f4f;
  padding: 5px 12px;
}

.author-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.author-name {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.author-bio {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.author-socials a {
  display: inline-block;
  margin: 0 5px;
  font-size: 18px;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.author-socials a:hover {
  background: #1d3c73;
  color: #fff;
  border-color: #1d3c73;
}

/* 📱 Tablet (<=768px) */
@media (max-width: 768px) {
  .author-box {
    max-width: 90%;   /* screen ke hisaab se chhoti ho jayegi */
    padding: 15px;
  }

  .author-box h3 {
    font-size: 1.2rem;
    padding: 4px 10px;
  }

  .author-image img {
    width: 100px;
    height: 100px;
  }

  .author-name {
    font-size: 18px;
    color: #1b78c7;
  }

  .author-bio {
    font-size: 0.95rem;
  }

  .author-socials a {
    font-size: 16px;
    padding: 6px 8px;
  }
}

/* 📱 Mobile (<=480px) */
@media (max-width: 480px) {
  .author-box {
    max-width: 95%;   /* almost full width */
    padding: 12px;
  }

  .author-box h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .author-image img {
    width: 90px;
    height: 90px;
  }

  .author-name {
    font-size: 16px;
    color: #1b78c7;
  }

  .author-bio {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .author-socials a {
    font-size: 15px;
    padding: 5px 7px;
    margin: 0 3px;
  }
}


/* 🌟 Sidebar Sections */
.sidebar-section {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  margin-top: 25px;
  width: 100%;
  max-width: 350px; /* form width */
  text-align: center; /* 👈 yeh add karo */
}

.sidebar-section h3 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #1d2f4f;
  display: inline-block;
  border: 1px solid #1d2f4f;
  padding: 5px 12px;
  margin-bottom: 20px;
}

/* 📌 Recent Posts */
.recent-posts .post-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.recent-posts .post-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.recent-posts .post-info a {
  font-size: 15px;
  font-weight: bold;
  color: #1d2f4f;
  text-decoration: none;
}

.recent-posts .post-info a:hover {
  text-decoration: underline;
}

.recent-posts .post-info span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* 📌 Follow Us Buttons */
.follow-us .social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.follow-us .social-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 8px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.follow-us .facebook { background: #3b5998; }
.follow-us .instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.follow-us .whatsapp { background: #25d366; }
.follow-us .linkedin { background: #0077b5; }

.follow-us .social-grid a:hover {
  opacity: 0.9;
}

/* 📱 Responsive */
@media (max-width: 480px) {
  .recent-posts .post-item img {
    width: 60px;
    height: 60px;
  }

  .recent-posts .post-info a {
    font-size: 14px;
  }

  .follow-us .social-grid {
    grid-template-columns: 1fr; /* mobile pe ek-ek row */
  }
}

/* Target mobile devices */
@media (max-width: 768px) {
  ol.wp-block-list > li {
    padding-left: 0 !important;   /* Remove default indentation */
    text-align: left;             /* Align text to left */
  }

  ol.wp-block-list > li > strong {
    display: block;               /* Ensure heading spans full width */
  }
}

/* Social Icons full width */
/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-icons a {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* round buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Brand Colors */
.social-icons a.facebook { background: #3b5998; }
.social-icons a.twitter { background: #1da1f2; }
.social-icons a.linkedin { background: #0077b5; }
.social-icons a.instagram { background: #bd081c; }

/* Hover Effects */
.social-icons a:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 8px 14px rgba(0,0,0,0.2);
}

/* Nice glow effect on hover */
.social-icons a.facebook:hover { background: #324b81; }
.social-icons a.twitter:hover { background: #178cd9; }
.social-icons a.linkedin:hover { background: #006097; }
.social-icons a.pinterest:hover { background: #a50717; }

/* User Box full width */
.user-box {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  width: 100%;
}

.user-box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
}

.user-info h4 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.user-info a {
  color: #28a745;
  text-decoration: none;
  font-weight: 600;
}

.user-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .user-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .user-box img {
    margin: 0 0 10px 0; /* space below image */
  }

  .user-info a {
    display: inline-block;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .user-info h4 {
    font-size: 16px;
  }
}


/* Comment Form */
.comment-form {
  margin-top: 40px;
  padding: 25px;
  border-top: 1px solid #ffffff;
  background: #ffffff;
  border-radius: 8px;
}

.comment-form h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.comment-form p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 500;
  color: #444;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.3);
}

.comment-form textarea {
  resize: none;
}

/* Checkbox Row */
.checkbox-row {
  display: flex;
  align-items: center; /* ✅ aligns checkbox and text vertically */
  gap: 10px;           /* space between checkbox and label */
  margin: 15px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;    /* better readability for long text */
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #5defcf; /* ✅ modern browsers: gives checkbox your theme color */
}

.checkbox-row label {
  cursor: pointer; /* clicking text also toggles checkbox */
}


/* Submit Button */
.btn-submit {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #218838;
  transform: translateY(-3px);
}

/* ===========================
   Responsive Media Queries
   =========================== */

/* Tablets and smaller (<= 768px) */
@media (max-width: 768px) {
  .comment-form {
    padding: 20px;
  }

  .comment-form h3 {
    font-size: 20px;
  }

  .comment-form input,
  .comment-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .btn-submit {
    width: 100%;   /* button full width on tablet */
    padding: 12px;
    font-size: 14px;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .comment-form {
    padding: 15px;
  }

  .comment-form h3 {
    font-size: 18px;
    text-align: center;
  }

  .comment-form p {
    font-size: 13px;
    text-align: center;
  }

  .comment-form label {
    font-size: 13px;
  }

  .checkbox-row {
    flex-direction: column;   /* ✅ checkbox above text */
    align-items: flex-start;  /* left align for neatness */
    gap: 5px;
  }

  .btn-submit {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }
}
