/* 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;
  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: 10px; /* 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;
  }
}

.day-tours-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: 1060px;
  width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 768px) {
  .day-tours-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;
  }
}

.tour-post {
  background: #fff;
  /* overflow: hidden; */
  position: relative;
  /* height: 520px; */
  height: var(--card-frame-height);
  width: 100%;
  margin: 0px auto;
  /* border-bottom: 2px solid #ccc; */
}

.tour-post::after {
  content: "";
  position: absolute;
  background-color: #ccc;
  z-index: 1;
  width: 100vw;
  height: 2px;
  left: 0;
  bottom: 5px;
}
@media (max-width: 768px) {
  .tour-post::after {
    bottom: -6px;
  }
}

.day-tours-container .tour-post:last-child::after {
  background-color: transparent;
}
.tour-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  width: 90%;
  height: 90%;
  margin: 5% auto;
}

.tour-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.tour-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  padding: 15px;
}

@media (max-width: 768px) {
  .tour-info {
    padding: 10px 10px 0 10px;
  }
}

.tour-info h3 {
  margin-top: 0;
  color: #333;
  font-size: auto;
}

.price-range {
  color: #d00;
}

.btn {
  display: block;
  position: relative;
  color: white;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 20px;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(90deg, #d21e32 0%, #dc6464 60%, #e69696 100%);
  text-transform: lowercase;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
}
.btn:after {
  content: "➔";
  padding-left: 16px;
  position: relative;
}

/* Pagination Container */
.pagination.tour {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Center pagination links */
  list-style: none; /* Remove list styling */
  padding: 20px;
  width: var(--page-width);
}

/* Pagination Links */
.pagination.tour a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px; /* Space between links */
  padding: 10px;
  text-decoration: none; /* Remove underline from links */
  color: #323232; /* Text color */
}

/* Active Page and Hover Styles */
.pagination.tour a.next:hover,
.pagination.tour a.prev:hover {
  background-color: #323232; /* Background for active/hover */
  color: #ffffff; /* Text color for active/hover */
}

.pagination.tour .current {
  border-bottom: 1px solid #323232;
}

/* Disabled Pagination Links */
.pagination.tour .disabled {
  color: #ccc;
  cursor: not-allowed;
  border-color: #ccc;
}

/* 'Next' and 'Previous' Links Styling */
.pagination.tour a.next,
.pagination.tour a.prev {
  width: auto;
  padding: 5px 10px;
  border: solid 1px #323232;
  border-radius: 20px; /* Less rounded corners for next/prev */
}
