/* ==========================================================================
   VENUS TRAVEL – TOUR PAGE (ELEGANT)
   Scope: .content-tour
   Colors: primary #26528c, gold #f4c100, ink #1f2333, soft #f6f7fb
   Typography: Figtree
========================================================================== */

:root {
  --vt-primary: #26528c;
  --vt-gold: #f4c100;
  --vt-ink: #1f2333;
  --vt-muted: #6b7280;
  --vt-soft: #f6f7fb;
  --vt-line: #e8ecf2;
  --vt-card: #ffffff;
}

/* ---------- Page Frame ---------- */
.content-tour {
  width: min(1180px, 92%);
  margin: 48px auto 80px;
  color: var(--vt-ink);
  font-size: 16px;
  font-family: "Figtree", sans-serif;
}
.content-tour img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ---------- Breadcrumb ---------- */
.content-tour nav {
  background: linear-gradient(180deg, #fafbff, transparent);
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  padding: 10px 14px;
}
.content-tour nav ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.content-tour nav li {
  list-style: none;
  font-size: 14px;
  color: #7b8190;
}
.content-tour nav .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #b8bfcc;
  margin: 0 6px;
}
.content-tour nav a {
  color: #495268;
  text-decoration: none;
}
.content-tour nav a span:hover {
  color: var(--vt-primary);
}

/* ---------- Page Title ---------- */
.content-tour h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--vt-primary) !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 18px 0 24px;
}

/* ---------- Hero Slider (glide) ---------- */
.content-tour .glide-tour li {
  overflow: hidden;
  border-radius: 18px;
}
.content-tour .glide-tour .glide__track img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px #0b1d3a14;
}
.glide-tour .glide {
  margin: 14px 0 0;
}
.glide-tour .glide > div {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.glide-tour .glide button {
  width: 98px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  filter: grayscale(0.15) contrast(0.95);
  transition: all 0.25s ease;
}
.glide-tour .glide button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.glide-tour .glide button:hover {
  transform: translateY(-2px);
  border-color: #d8deea;
}
.glide-tour .glide button[aria-current="true"],
.glide-tour .glide button:focus {
  border-color: var(--vt-primary);
  filter: none;
}

/* ===== Tour Menu – Refined Elegant ===== */
.menuTrip {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--vt-line, #e8ecf2);
  backdrop-filter: saturate(1.1) blur(4px);
}

.menuTrip__inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menuTrip__inner::-webkit-scrollbar {
  display: none;
}

.menuTrip a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #465066;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.menuTrip a:hover {
  background: #f7f9ff;
  color: var(--vt-primary, #26528c);
}
.menuTrip a.active {
  background: #eef4ff;
  color: var(--vt-primary, #26528c);
  box-shadow: inset 0 0 0 1.5px var(--vt-primary);
}

/* Responsive tinh chỉnh */
@media (max-width: 680px) {
  .menuTrip a {
    font-size: 13px;
    padding: 7px 14px;
  }
}

/* Offset khi nhảy đến anchor để không bị header/sticky che */
#summaryTitle,
#tour_1,
#tour_3 {
  scroll-margin-top: 88px;
}

/* Tinh chỉnh khi màn nhỏ */
@media (max-width: 680px) {
  .menuTrip a {
    font-size: 12.5px;
    padding: 9px 12px;
  }
}

/* ---------- Article body ---------- */
.content-tour .content {
  margin: 18px 0 6px;
  padding: 0;
  color: #3b4151;
  line-height: 1.75;
  font-size: 16.5px;
}
.content-tour .content p {
  margin: 0 0 10px;
}
.content-tour h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 32px 0 14px;
  color: var(--vt-primary);
}
.content-tour h3 {
  color: #3f2a1f;
  font-size: 20px;
}

/* ======================================================================
   SUMMARY – giữ class cũ (summaryContent) + biến thể timeline mới (vt-*)
======================================================================*/

/* Cũ: Accordion nhẹ nhàng */
.summaryTour {
  margin: 40px auto;
}
.summaryPrt {
  margin-top: 10px;
}
.summaryContent {
  position: relative;
  padding: 10px 0;
}
.summaryContent h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #1f2430;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.25s;
}
.summaryContent h3 i {
  margin-left: auto;
  color: #9aa3b2;
  font-size: 16px;
  transition: transform 0.25s ease;
}
.summaryContent h3:hover {
  color: var(--vt-primary);
}
.summaryContent .firstTitle,
.summaryContent .lastTitle {
  color: var(--vt-primary) !important;
}
.summaryContent .contentByDay {
  background: linear-gradient(180deg, #f7f9ff, #f6f7fb);
  border: 1px solid var(--vt-line);
  border-radius: 14px;
  margin: 12px 0 6px 28px;
  padding: 0 16px;
  box-shadow: 0 8px 20px #0b1d3a0a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
}
.summaryContent .destination,
.summaryContent .meal {
  color: #704a2f;
  font-weight: 600;
}
.summaryContent .contentOfDay {
  margin: 8px 0 0;
  color: #4c5366;
}
.summaryContent.is-open .contentByDay {
  max-height: 1000px;
  padding: 16px;
}
.summaryContent.is-open h3 i {
  transform: rotate(180deg);
}

/* Mới: Timeline badge số (dùng khi bạn render vt-summary) */
.content-tour .vt-summary {
  margin: 40px 0;
}
.content-tour .vt-summary h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0 0 14px;
  color: var(--vt-primary);
}
.content-tour .vt-steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  counter-reset: vt-day;
}
.content-tour .vt-steps::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(#dfe6f3, #e9eef7);
}
.content-tour .vt-step {
  position: relative;
  margin: 0 0 14px 0;
}
.content-tour .vt-step::before {
  counter-increment: vt-day;
  content: counter(vt-day);
  position: absolute;
  left: -2px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vt-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px #0b1d3a22;
}
.content-tour .vt-step__head {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 12px 40px 12px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #1f2430;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}
.content-tour .vt-step__head:hover {
  background: #f7f9ff;
  box-shadow: 0 4px 12px #0b1d3a0d;
}
.content-tour .vt-step__head i {
  margin-left: auto;
  color: #8b94a6;
  transition: transform 0.25s ease;
}
.content-tour .vt-step.is-open .vt-step__head i {
  transform: rotate(180deg);
}
.content-tour .vt-step__body {
  margin: 10px 0 0 0;
  border: 1px solid var(--vt-line);
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px #0b1d3a0a;
}
.content-tour .vt-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.content-tour .vt-meta__item {
  background: #f7f9ff;
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 500;
  color: #704a2f;
}
.content-tour .vt-meta__item i {
  margin-right: 6px;
  color: #c09a5a;
}
.content-tour .vt-content {
  color: #4c5366;
  line-height: 1.7;
}

/* ---------- ITINERARY – clean separators (Gutenberg h3) ---------- */
.content-tour .content {
  margin-top: 12px;
  color: #3b4151;
  line-height: 1.75;
  font-size: 16.5px;
}
.content-tour .content p {
  margin: 8px 0 12px;
}
.content-tour .content h3.wp-block-heading {
  position: relative;
  margin: 32px 0 14px;
  line-height: 1.3;
  font-size: 18px;
  font-weight: 400;
}
.content-tour .content h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--vt-line);
}
.content-tour .content h3.wp-block-heading > strong {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  background: #fff;
  color: var(--vt-primary);
  border: 1px solid #e6edf7;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 0 #f3f6fc;
}
.content-tour .content h3.wp-block-heading > strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--vt-gold);
  vertical-align: middle;
}
.content-tour .content p strong {
  font-weight: 600;
  color: #1f2333;
}
.content-tour .content p:last-child {
  margin-bottom: 0;
}

/* ---------- INCLUDED / EXCLUDED ---------- */
.in-ex {
  margin: 22px 0 8px;
}
.in-ex > p {
  margin: 0 0 12px;
}
.in-ex a {
  color: var(--vt-primary);
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 16px;
  text-decoration: none;
}
.in-ex .show {
  display: flex;
  gap: 22px;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--vt-line);
  box-shadow: 0 8px 20px #0b1d3a0a;
}
.in-ex .included,
.in-ex .excluded {
  flex: 1;
}
.in-ex h3 {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px;
}

.in-ex .included p,
.in-ex .excluded p {
  margin: 8px 0;
  padding-left: 32px;
  position: relative;
  color: #465066;
  font-size: 15px;
}
.in-ex .included p::before,
.in-ex .excluded p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef5ff;
  border: 1px solid #dbe8ff;
}
.in-ex .included p::after {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #1a7f37;
  font-weight: 900;
}
.in-ex .excluded p::after {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #b42318;
  font-weight: 900;
}

/* ---------- Accommodation table ---------- */
.table-price {
  width: 100%;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px #0b1d3a0a;
  margin-top: 8px;
}
.table-price thead th {
  background: #f2f6ff;
  color: #1b2850;
  font-weight: 700;
  border-bottom: 1px solid var(--vt-line);
  padding: 10px 12px;
  white-space: nowrap;
}
.table-price td {
  padding: 10px 12px;
  border-bottom: 1px dashed #e9edf5;
  color: #3f465a;
}
.table-price tr:nth-child(even) td {
  background: #fafbff;
}

/* ---------- Sidebar ---------- */
#sidebar {
  padding-left: 18px;
}
#sidebar h3 {
  font-size: 18px;
  text-transform: uppercase;
  color: #7b5a21;
  letter-spacing: 1px;
  margin: 10px 0 12px;
}
.card-relative {
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px #0b1d3a10;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-relative:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px #0b1d3a14;
}
.img_rlt img {
  height: 170px;
  object-fit: cover;
}
.card-relative .price {
  background: #1c2533;
  color: #fff;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.shadow-small {
  box-shadow: 0 8px 20px #0b1d3a0a;
}
hr {
  border: 0;
  border-top: 1px solid var(--vt-line);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  #sidebar {
    padding: 0;
    margin-top: 22px;
  }
}
@media (max-width: 680px) {
  .content-tour {
    width: 94%;
  }
  .menuTrip {
    top: 56px;
    gap: 12px;
  }
  .glide-tour .glide > div {
    gap: 8px;
  }
  .glide-tour .glide button {
    width: 72px;
    height: 48px;
  }
  .in-ex .show {
    flex-direction: column;
  }

  .content-tour .vt-step__head {
    font-size: 16.5px;
    padding: 12px 36px 12px 12px;
  }
  .content-tour .vt-step::before {
    top: 16px;
  }

  .content-tour .content h3.wp-block-heading {
    margin: 26px 0 12px;
    font-size: 17px;
  }
  .content-tour .content h3.wp-block-heading > strong {
    padding: 7px 12px;
  }
}
/* ===== Breathing Tour Menu (spacious + smooth anchor) ===== */

/* 1) Đỡ bị che khi click #anchor (tính luôn header + sticky menu) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* tùy chiều cao header của bạn (60–120px) */
}

/* 2) Menu pill rộng rãi & thoáng hơn */
.menuTrip {
  position: sticky;
  top: 0; /* đẩy xuống dưới header 1 chút */
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--vt-line, #e8ecf2);
  box-shadow: 0 6px 16px rgba(11, 29, 58, 0.04); /* bóng nhẹ cho cảm giác nổi */
  padding: 12px 20px; /* tạo “breathing room” hai bên */
}

/* tạo khoảng trống bên dưới menu để không dính vào content */
.menuTrip + * {
  margin-top: 18px;
}

.menuTrip a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  color: #465066;
  padding: 9px 18px; /* pill rộng hơn */
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  outline: none;
}
.menuTrip a:hover {
  background: #f7f9ff;
  color: var(--vt-primary, #26528c);
}
.menuTrip a.active {
  background: #eef4ff;
  color: var(--vt-primary, #26528c);
  box-shadow: inset 0 0 0 2px var(--vt-primary);
}

/* 3) Anchor targets có khoảng đệm khi cuộn tới */
#summaryTitle,
#tour_1,
#tour_3,
.content-tour .content h3.wp-block-heading {
  scroll-margin-top: 120px; /* đồng bộ với sticky menu */
}

/* 4) Tăng khoảng thở giữa các section chính */
.summaryTour {
  margin-top: 28px;
}
.content-tour .content {
  margin-top: 24px;
}
.in-ex {
  margin-top: 28px;
}

/* 5) Day chip (Itinerary heading) bớt “nặng” & thoáng hơn */
.content-tour .content h3.wp-block-heading {
  position: relative;
  margin: 34px 0 16px;
  line-height: 1.35;
  font-size: 18px;
  font-weight: 400;
}
.content-tour .content h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--vt-line, #e8ecf2);
}
.content-tour .content h3.wp-block-heading > strong {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 10px 16px; /* chip dày hơn chút cho sang */
  background: #fff;
  color: var(--vt-primary, #26528c);
  border: 1px solid #e6edf7;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 0 #f3f6fc;
}
.content-tour .content h3.wp-block-heading > strong::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--vt-gold, #f4c100);
  display: inline-block;
  vertical-align: middle;
}

/* 6) Mobile tinh chỉnh cho nhẹ */
@media (max-width: 680px) {
  .menuTrip {
    top: 56px;
    padding: 10px 12px;
  }
  .menuTrip a {
    font-size: 13.5px;
    padding: 8px 14px;
  }
  html {
    scroll-padding-top: 96px;
  }
  #summaryTitle,
  #tour_1,
  #tour_3,
  .content-tour .content h3.wp-block-heading {
    scroll-margin-top: 96px;
  }
  .content-tour .content h3.wp-block-heading {
    margin: 26px 0 12px;
    font-size: 17px;
  }
  .content-tour .content h3.wp-block-heading > strong {
    padding: 8px 12px;
  }
}
/* ===== Summary – meta chips đầu Summary ===== */
.vt-meta-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 12px 0 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--vt-line, #e8ecf2);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(11, 29, 58, 0.06);
}
.vt-meta-top__photo {
  flex: 0 0 96px;
  height: 128px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--vt-line, #e8ecf2);
}
.vt-meta-top__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vt-meta-top__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.vt-meta-top__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f7f9ff;
  border: 1px solid var(--vt-line, #e8ecf2);
  border-radius: 12px;
  color: #3f465a;
  font-size: 14.5px;
}
.vt-meta-top__item i {
  color: #c09a5a;
  font-size: 14px;
}
.vt-meta-top__label {
  font-weight: 700;
  color: #1f2430;
}
.vt-meta-top__val {
  font-weight: 500;
}
@media (max-width: 680px) {
  .vt-meta-top {
    flex-direction: column;
  }
  .vt-meta-top__photo {
    width: 100%;
    height: 180px;
  }
}
.agency-cta {
  margin: 40px auto 30px;
  padding: 28px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
  max-width: 760px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.agency-cta .cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #26528c;
  margin-bottom: 10px;
}

.agency-cta .cta-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.55;
}

.agency-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 9px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta.btn-outline {
  border: 1.5px solid #26528c;
  color: #26528c;
  background: #fff;
}

.btn-cta.btn-outline:hover {
  background: #26528c;
  color: #fff;
}

.btn-cta.btn-primary {
  background: #125123;
  color: #fff;
  border: 1.5px solid #125123;
}

.btn-cta.btn-primary:hover {
  background: #0f401c;
  border-color: #0f401c;
}
