.card-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card-tour-grid .card {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  color: #0f0617;
  text-decoration: none;
  position: relative;
}

.card-tour-grid .card__picture {
  display: block;
  width: 100%;
  height: 270px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.card-tour-grid .card:hover .card__picture:after {
  background: linear-gradient(rgba(14, 2, 23, 0) 25%, rgba(0, 0, 0, 0.5));
}

.card-tour-grid .card__picture:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 6, 23, 0) 25%, rgba(15, 6, 23, 0));
  z-index: 1;
}

.card-tour-grid .card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-tour-grid .card:hover .card__image {
  transform: scale(1.1);
}

.card-tour-grid .card__more {
  position: relative;
  margin: -1.5rem 1.5rem -1.5rem 0;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background: #8b0000;
  color: #ffffff;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s;
  z-index: 2;
}

.card-tour-grid .card:hover .card__more {
  background: #c60b0b;
}

.card-tour-grid .card__more:after {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
}

.card-tour-grid .card__content {
  padding: 2rem 1.5rem;
  position: relative;
}

.card-tour-grid .card__subheader {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.card-tour-grid .card__title {
  font-family: "Merriweather", serif;
  background: linear-gradient(90deg, #413702ff, #ff4500);
  -webkit-background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.card-tour-grid .card__description {
  font-style: italic;
}

@media (max-width: 768px) {
  .card-tour-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

#termine-und-preise .timeline-actions {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 12px;
}

#programm .timeline-actions {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 12px;
}
/* card tour 2 */

.container .column {
  width: 50%;
  width: 100%;
  padding: 0 8px;
}

.container .post-card {
  position: relative;
  z-index: 1;
  display: block;
  background: #ffffff;
  min-width: 270px;
  height: 567px;
}

.post-card .thumbnail {
  background: #000000;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.post-card .thumbnail .date {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  background: #8b0000;
  width: 65px;
  height: 65px;
  padding: 12.5px 0;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  -webkti-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.post-card .thumbnail .date .day {
  color: #ffffff;
  font-size: 18px;
}

.post-card .thumbnail .date .month {
  font-size: 12px;
  text-transform: uppercase;
}

.post-card .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero .stour-credit {
  position: absolute;
  color: #808080;
  background: #87878708;
  padding: 13px;
  bottom: 5px;
  right: 5px;
  text-transform: capitalize;
  border-radius: 6px;
}

.tour-hero .stour-credit .title {
  font-size: 11px;
  font-weight: bold;
}

.tour-hero .stour-credit .fotoname {
  font-size: 9px;
}

/* tour card footer */
.post-card .thumbnail .stour-credit {
  position: absolute;
  color: #808080;
  background: #87878708;
  padding: 10px;
  bottom: 5px;
  right: 5px;
  text-transform: capitalize;
  border-radius: 6px;
}

.post-card .thumbnail .stour-credit .title {
  font-size: 11px;
  font-weight: bold;
}

.post-card .thumbnail .stour-credit .fotoname {
  font-size: 9px;
}

.post-card .post-content {
  position: absolute;
  /* bottom: 0; */
  background: #ffffff;
  width: 100%;
  padding: 30px;
}

.post-card .post-content .category {
  position: absolute;
  top: -34px;
  left: 0;
  background: #8b0000;
  padding: 10px 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-card .post-content .title {
  margin: 0;
  padding: 0 0 10px;
  color: #333333;
  font-size: 26px;
  font-weight: 700;
}

.post-card .post-content .sub_title {
  margin: 0;
  padding: 0 0 20px;
  color: #8b0000;
  font-size: 20px;
  font-weight: 400;
}

.post-card .post-content .description {
  color: #666666;
  font-size: 13px;
  line-height: 1.6em;
}
* .post-card .post-content .post-footer .tour-link {
  margin: 0 16px 0 0;
}

#reise .highlight-card .stour-credit {
  position: absolute;
  top: 56%;
  left: 8px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  width: max-content;
  white-space: nowrap;
  background: #87878708;
  color: #808080;
  padding: 4px 7px;
  border-radius: 6px;
  text-align: center;
  text-transform: capitalize;
}

#programm .card-image .stour-credit,
#reiseroute .img-col .fotoname {
  position: absolute;
  width: 139px;
  bottom: 36%;
  left: -59px;
  background: #87878708;
  color: #808080;
  padding: 4px 7px;
  border-radius: 6px;
  text-transform: capitalize;
  text-align: center;
  transform: rotate(270deg);
}

/* tour kurzprogram photoname */
#reise .highlight-card .stour-credit .title,
#programm .card-image .stour-credit .title {
  display: none;
}

#reise .highlight-card .stour-credit .fotoname,
#programm .card-image .stour-credit .fotoname,
#reiseroute .img-col .fotoname {
  font-size: 8px;
}

/* #termine-und-preise .notes-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
} */

#reiseroute .img-map-grp {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
  gap: 12px;
}

#reiseroute .img-map-grp .img-col {
  position: relative;
}

#reiseroute .img-map-grp img {
  width: 597px;
  height: 270px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .container .column {
    grid-template-columns: repeat(1, 1fr);
    height: 648px;
  }
}

@media (max-width: 480px) {
  .swiper-slide.day-card {
    width: 100% !important;
  }

  .tour-hero .stour-credit {
    padding: 7px;
  }

  .tour-hero .stour-credit .title,
  .tour-hero .stour-credit .fotoname {
    font-size: 7px;
  }

  #reise .highlight-card .stour-credit {
    top: 69%;
  }

  .post-card .thumbnail .stour-credit .title,
  #programm.card-image .stour-credit .title {
    font-size: 10px;
  }

  #reise .highlight-card .stour-credit .fotoname,
  .post-card .thumbnail .stour-credit .fotoname,
  #programm .card-image .stour-credit .fotoname {
    font-size: 9px;
  }

  #termine-und-preise .timeline-actions,
  #programm .timeline-actions {
    justify-content: center;
  }

  #termine-und-preise .notes-accordion .col-md-6 {
    margin-bottom: 0;
  }

  #reiseroute .img-map-grp {
    display: none;
  }
}
