/* Container styling */

@media (max-width: 767px) {
  .container {
    width: 100%;
    max-width: 640px; /* Adjust based on your layout needs */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Padding around the content */
  }
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: auto;
  margin-bottom: auto;
}

/* Breadcrumb styling */
#breadcrumbs {
  color: #666; /* Light grey color for breadcrumb text */
  font-size: 14px; /* Smaller font size for breadcrumbs */
  padding-bottom: 10px; /* Space below breadcrumbs */
  margin-bottom: 20px; /* Additional spacing below breadcrumbs */
  border-bottom: 1px solid #eee; /* Light line below breadcrumbs */
}

#breadcrumbs a {
  color: #666; /* Sets the color of links within breadcrumbs */
}

#breadcrumbs #text {
  color: red; /* Assuming 'span' might be wrapping the arrows, change color here */
}

/* Post title styling */
.post h1 {
  color: #333; /* Dark grey color for title */
  font-size: 24px; /* Large font size for title */
  font-weight: bold; /* Bold font weight for title */
  margin-top: 20px; /* Spacing above title */
  margin-bottom: 10px; /* Spacing below title */
}

.title-with-icon {
  display: flex;
  margin-top: 30px;
  margin-bottom: 30px;
  align-items: center; /* Centers the items vertically */
}

/* Subtitle or section title */
h3 .title {
  color: #333; /* Dark grey color */
  font-size: 18px; /* Font size for subtitles */
  font-weight: normal; /* Normal font weight for subtitles */
  margin: auto 0;
  padding-top: 1%;
}
h3 .title {
  padding-top: 1%;
}

.circle-icon {
  width: 20px; /* Diameter of the circle */
  height: 20px; /* Diameter of the circle */
  background-color: #197d46; /* Green background color */
  border-radius: 50%; /* Makes the div a circle */
  margin-right: 10px; /* Optional: Adjust spacing to the right */
  display: inline-block; /* Allows the circle to sit inline with text */
  vertical-align: middle; /* Aligns vertically with adjacent text */
}

/* Additional responsive adjustments */
@media (max-width: 767px) {
  .container {
    padding: 0px 20px; /* Smaller padding on smaller screens */
  }
  #breadcrumbs {
    font-size: 12px; /* Smaller font size for breadcrumbs on mobile */
  }
  .post h1 {
    font-size: 20px; /* Smaller title on mobile */
  }
  h3 {
    font-size: 16px; /* Smaller subtitle on mobile */
  }
  .circle-icon {
    width: 15px;
    height: 15px;
  }
}

.blog-posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  --gap: 2em;
  --line-offset: calc(var(--gap) / 2);
  --line-thickness: 2px;
  --line-color: gray;
  --card-frame-height: 520px;
  --card-contents-height: calc(var(--card-frame-height) / 2);
  --page-width: 1280px;
  width: var(--page-width);
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-posts-container {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1em; /* Smaller gap on mobile */
    width: 100%;
    --page-width: 100%;
    --card-frame-height: 400px;
    padding: 0px;
  }
}
.blog-post {
  background: #fff;
  overflow: hidden;
  position: relative;
  /* height: 520px; */
  /* height: var(--card-frame-height); */
  width: 100%;
  padding-bottom: 80px;
  margin: 0px auto;
  margin-bottom: 80px;
}

.blog-card {
  width: 100%;
}

.blog-post img {
  width: 100%;
  height: auto; /* Ensure images are responsive */
  min-height: 260px; /* Set a fixed height for consistent alignment */
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
  border-radius: 8px; /* Add rounded corners */
}
@media (max-width: 768px) {

  .blog-post {
    padding-bottom: 0px;
  }

  .blog-card {
    width: 90%;
    height: 70%;
    margin: 15% auto;
  }
  .blog-post img {
    min-height: auto;
  }
}

.blog-info {
  padding-top: 15px;
}

.blog-info a {
  color: black;
  font-size: 16px;
  font-weight: 700;
}

.blog-info a:hover {
  text-decoration: none;
}

.blog-info h3 {
  margin: 0;
  font-size: 16px; /* Adjust as needed */
}

.blog-info p {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #323232;
  flex: none;
  order: 0;
  flex-grow: 1;
}

.blog-info ul {
  margin-top: 15px;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap:4px;
}

.blog-info ul li {
  padding: 2px 10px 2px 10px;
  border-radius: 4px;
  background: #F6F6F6;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #323232;
}

.tags {
  color: #757575; /* Gray color for tags */
  font-size: 14px; /* Smaller font size for tags */
  display: block; /* Tags on a new line */
}

.tag {
  margin-right: 5px;
  display: inline-block;
  background-color: #f6f6f6;
  padding: 5px 12px 5px 12px;
  border-radius: 10px;
}

.container .reviewspostlist {
  max-width: 1170px;
}

.blog-posts-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
}

.blog-post-row {
  display: flex;
  width: 100%;
}

.blog-post {
  width:360px;
  border-bottom: 1px solid #d9d9d9;
}

.blog-divider {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ddd;
  margin: 20px 0; /* Space above and below the hr */
}

@media (max-width: 768px) {
  .tags {
    font-size: 12px;
  }

  .blog-posts-container {
    max-width: 100%;
  }
}

.blog-post::before,
.blog-post::after {
  content: "";
  position: absolute;
  background-color: var(--line-color);
  z-index: 1;
}

.blog-post::after {
  inline-size: 100vw;
  block-size: var(--line-thickness);
  inset-inline-start: 0;
  inset-block-start: calc(var(--line-offset) * -1);
}

.pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; 
  list-style: none; 
  padding: 20px 20px 80px 20px;
  width: var(--page-width);
  gap:8px;
}

.pagination.blog .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  font-size:14px;
  text-decoration: none; 
  color: #323232; 
}

.pagination.blog .page-numbers.current {
  /* text-decoration: underline;
  text-underline-offset: 4px; */
  border-bottom: 1px solid black;
}

.pagination.blog .pagination-icon {
  display: flex;
  padding:8px;
  line-height: 40px; 
  border-radius: 50%; 
  background-color: #fff; 
  color: #000;
  border: 1px solid #000;
  font-size: 20px;
  text-align: center;
  position: relative;
}

.pagination.blog .pagination-icon .dashicons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pagination.blog .pagination-icon:hover {
  background-color: #000;
}

.pagination.blog .pagination-icon:hover svg {
  fill: #fff;
}

.pagination.blog .disabled {
  color: #ccc;
  cursor: not-allowed;
  border-color: #ccc;
}

.pagination.blog a.next,
.pagination.blog a.prev {
  border-radius: 50%; 
}
