/* WWT – Tour Item: destination chips */

.wwt-tour-destinations{
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wwt-tour-destinations__label{
  font-weight: 600;
  opacity: .85;
}

.wwt-tour-destinations__list{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wwt-dest-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  text-decoration: none !important;
  line-height: 1;
  font-weight: 600;
  font-size: 13px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wwt-dest-chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* WWT – Tour Item: destination chips (SetSail short-info aligned) */

.qodef-tour-item-short-info .wwt-tour-destinations-item{
  display: flex;
  align-items: center;
}

.qodef-tour-item-short-info .wwt-tour-destinations{
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qodef-tour-item-short-info .wwt-tour-destinations__label{
  font-weight: 600;
  opacity: .95;
  line-height: 1;
  font-size: 12px;
  white-space: nowrap;
}

.qodef-tour-item-short-info .wwt-tour-destinations__list{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qodef-tour-item-short-info .wwt-dest-chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none !important;
  line-height: 1;
  font-weight: 700;
  font-size: 12px;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.qodef-tour-item-short-info .wwt-dest-chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
}

/* Mobile: label above chips so it doesn't look cramped */
@media (max-width: 680px){
  .qodef-tour-item-short-info .wwt-tour-destinations{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .qodef-tour-item-short-info .wwt-tour-destinations__label{
    font-size: 11px;
  }
}

/* WWT – Tour Item: related blog posts (scoped, production-safe) */

.wwt-tour-related-posts__spacer{
  height: 18px;
}

.wwt-tour-related-posts{
  margin: 22px 0 0;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(16,21,24,.10);
  box-shadow: 0 10px 26px rgba(16,21,24,.06);
}

.wwt-tour-related-posts__title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.wwt-tour-related-posts__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.wwt-tour-related-post{
  grid-column: span 12;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(16,21,24,.10);
  background: #fff;
  display: grid;
}

.wwt-tour-related-post__media{
  display: block;
  background: rgba(16,21,24,.04);
}

.wwt-tour-related-post__media img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.wwt-tour-related-post__placeholder{
  display: block;
  width: 100%;
  height: 170px;
  background: rgba(16,21,24,.06);
}

.wwt-tour-related-post__body{
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}

.wwt-tour-related-post__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  opacity: .75;
}

.wwt-tour-related-post__dot{
  opacity: .55;
}

.wwt-tour-related-post__h{
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.wwt-tour-related-post__link{
  text-decoration: none;
  color: inherit;
  font-weight: 900;
}

.wwt-tour-related-post__link:hover{
  text-decoration: underline;
}

.wwt-tour-related-post__more{
  text-decoration: none;
  font-weight: 900;
  color: #44d1cf;
}

.wwt-tour-related-post__more:hover{
  text-decoration: underline;
}

/* Desktop grid */
@media (min-width: 720px){
  .wwt-tour-related-post{ grid-column: span 4; }
  .wwt-tour-related-post__media img,
  .wwt-tour-related-post__placeholder{ height: 160px; }
}

/* Make related posts block align with theme container spacing */
.wwt-tour-related-posts{
  max-width: 1100px;
  margin: 28px auto 0;
}

@media (min-width: 1024px){
  .wwt-tour-related-posts{
    margin-top: 34px;
  }
}

/* WWT Related Articles inside tour page - align with SetSail sections */
.wwt-tour-related-posts{
  margin: 22px 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wwt-tour-related-posts__title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.wwt-tour-related-post{
  border-radius: 8px;
  box-shadow: none;
}

.wwt-tour-related-posts{
  margin: 18px 0 18px;
}

.wwt-tour-related-posts__grid{
  margin-bottom: 4px;
}
