body.beidaihe-landing .hero {
  background:
    linear-gradient(90deg, rgba(2, 21, 66, 0.9) 0%, rgba(2, 21, 66, 0.68) 42%, rgba(2, 21, 66, 0.08) 76%),
    url("../images/beidaihe-hero.webp") center / cover no-repeat !important;
}

body.beidaihe-landing .culture-photo {
  background: url("../images/beidaihe-sunset.webp") center / cover no-repeat !important;
}

body.beidaihe-landing .culture-photo::after {
  content: none !important;
}

.beidaihe-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.beidaihe-program {
  overflow: hidden;
  border: 1px solid rgba(14, 10, 219, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(3, 5, 114, 0.08);
}

.beidaihe-program-head {
  display: grid;
  gap: 7px;
  padding: 24px 26px;
  color: #fff;
  background: linear-gradient(135deg, #030572, #0e0adb);
}

.beidaihe-program-head span {
  font-size: 22px;
  font-weight: 700;
}

.beidaihe-program-head b {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.82;
}

.beidaihe-program ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 24px 18px;
  list-style: none;
}

.beidaihe-program li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(3, 5, 114, 0.09);
}

.beidaihe-program li:last-child {
  border-bottom: 0;
}

.beidaihe-program li > span {
  color: #f17105;
  font-weight: 700;
}

.beidaihe-program li b {
  color: #030572;
}

.beidaihe-program li p {
  margin: 7px 0 0;
  color: #566175;
  line-height: 1.55;
}

.beidaihe-direct-dates {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 2fr;
  gap: 24px;
  align-items: center;
  margin: 28px 0 0;
  padding: 24px 28px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #f17105, #ff983d);
  box-shadow: 0 16px 38px rgba(241, 113, 5, 0.2);
}

.beidaihe-direct-dates > div {
  display: grid;
  gap: 4px;
}

.beidaihe-direct-dates span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.beidaihe-direct-dates b {
  font-size: 19px;
}

.beidaihe-direct-dates ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beidaihe-direct-dates li {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  text-align: center;
  font-weight: 700;
}

.beidaihe-direct-dates small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.86;
}

.beidaihe-direct-dates a,
.beidaihe-direct-dates .date-option {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.beidaihe-direct-dates .date-option.is-unavailable,
.beidaihe-direct-dates a.is-unavailable {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.64);
  opacity: 0.78;
}

.beidaihe-direct-dates li.is-unavailable {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(60, 65, 78, 0.28);
}

.beidaihe-direct-dates .date-option.is-unavailable b,
.beidaihe-direct-dates .date-option.is-unavailable span,
.beidaihe-direct-dates a.is-unavailable b,
.beidaihe-direct-dates a.is-unavailable span {
  color: inherit;
}

.beidaihe-direct-dates a:hover,
.beidaihe-direct-dates a:focus-visible {
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.19);
  transform: translateY(-2px);
}

.beidaihe-direct-dates a b,
.beidaihe-direct-dates .date-option b {
  font-size: 16px;
}

.beidaihe-direct-dates a span,
.beidaihe-direct-dates .date-option span {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.beidaihe-price-options a.is-unavailable {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.45;
}

.quiz-calendar-day.is-unavailable {
  cursor: not-allowed;
  color: #9aa3b2;
  background: #edf0f4;
  opacity: 0.72;
}

.beidaihe-excursions-block {
  padding-top: 74px;
  scroll-margin-top: 90px;
}

.beidaihe-excursions-block .excursions-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 390px;
  overflow: hidden;
  padding: 48px 50px;
  border-radius: 30px;
  background: url("../images/beidaihe-excursions-hero.webp") center 52% / cover no-repeat;
  box-shadow: 0 22px 54px rgba(3, 5, 114, 0.16);
}

.beidaihe-excursions-block .excursions-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 18, 67, 0.9) 0%, rgba(3, 31, 82, 0.72) 48%, rgba(3, 36, 77, 0.34) 100%),
    linear-gradient(0deg, rgba(1, 16, 52, 0.5), rgba(1, 16, 52, 0.05) 68%);
  backdrop-filter: blur(1px);
}

.beidaihe-excursions-block .excursions-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 24px 54px;
  align-items: end;
  width: 100%;
}

.beidaihe-excursions-block .excursions-hero .overline {
  margin-bottom: 13px;
  color: #9edcff;
}

.beidaihe-excursions-block .excursions-hero h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
}

.beidaihe-excursions-block .excursions-hero .section-lead {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.beidaihe-excursions-block .excursions-hero__tags {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 9px;
}

.beidaihe-excursions-block .excursions-hero__tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.beidaihe-excursions-block .tour-excursions-grid {
  margin-top: 22px;
}

.beidaihe-excursions-block .tour-excursions-grid .beidaihe-excursion {
  border: 1px solid #cedaeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(3, 5, 114, 0.07);
}

.beidaihe-excursions-block .tour-excursions-grid .beidaihe-excursion:hover {
  border-color: #8eb8e3;
  box-shadow: 0 14px 32px rgba(3, 5, 114, 0.12);
}

.beidaihe-excursions-block .tour-excursions-grid .beidaihe-excursion[open] {
  border-color: #76a9dc;
  box-shadow: 0 16px 38px rgba(3, 5, 114, 0.12);
}

.beidaihe-excursions-block .beidaihe-excursion summary {
  min-height: 74px;
  padding: 18px 20px;
  background: #fff;
}

.beidaihe-excursions-block .beidaihe-excursion[open] summary {
  background: #f3f7fd;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-name {
  color: #07145f;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-price {
  color: #d95b00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-toggle {
  background: #e6f3ff;
  color: #075e9b;
  font-size: 20px;
}

.beidaihe-excursions-block .tour-excursions-grid .beidaihe-excursion[open] .excursion-toggle {
  background: #0e0adb;
  color: #fff;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-details {
  padding: 22px 24px 24px;
  border-top: 1px solid #d8e2ef;
  background: #f8fbff;
  color: #2f3b4e;
  font-size: 14px;
  line-height: 1.7;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-details p {
  min-height: 0;
  color: #2f3b4e;
  font-size: 14px;
  line-height: 1.7;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-details b {
  display: inline;
  color: #07145f;
  font-size: inherit;
}

.beidaihe-excursions-block .tour-excursions-grid .excursion-caveat {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff1e3;
  color: #66370e;
  font-size: 13px;
}

.beidaihe-excursions-block .excursion-note {
  color: #48566a;
  font-size: 13px;
  line-height: 1.6;
}

.beidaihe-tickets {
  border: 1px solid #f1dfbd;
}

.beidaihe-tickets b,
.beidaihe-tickets span {
  color: #24324a;
}

.beidaihe-price-options {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.price-band .beidaihe-price-from {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.price-band .beidaihe-price-from b {
  color: #fff;
  font-size: 18px;
}

.beidaihe-price-options a {
  display: grid;
  gap: 5px;
  min-height: 126px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.beidaihe-price-options a:hover,
.beidaihe-price-options a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.beidaihe-price-options span {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.84;
}

.beidaihe-price-options b {
  font-size: 17px;
  line-height: 1.3;
}

.beidaihe-price-options small {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.8;
}

.beidaihe-excursion .excursion-price {
  min-width: 220px;
  text-align: right;
}

.beidaihe-tickets {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #fff9ec;
  color: #303a50;
}

.beidaihe-tickets b {
  color: #030572;
}

.beidaihe-tickets span {
  font-size: 13px;
  line-height: 1.45;
}

.beidaihe-gallery {
  display: grid;
  grid-template-columns: 1.18fr repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 210px);
  gap: 12px;
}

.beidaihe-gallery + .beidaihe-sights-section {
  margin-top: 0;
}

.beidaihe-gallery .section-head h2,
#gallery > .section-head h2 {
  color: #07145f;
}

.beidaihe-gallery article {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(3, 5, 114, 0.09);
}

.beidaihe-gallery article.wide {
  grid-column: 1;
  grid-row: 1 / 3;
}

.beidaihe-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.beidaihe-gallery .wide img {
  height: 100%;
}

.beidaihe-gallery article:hover img {
  transform: scale(1.035);
}

.beidaihe-gallery p {
  position: absolute;
  top: auto;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(3, 5, 114, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.beidaihe-gallery p strong,
.beidaihe-gallery p span {
  display: block;
}

.beidaihe-gallery p strong {
  font-size: 12px;
  line-height: 1.3;
}

.beidaihe-gallery p span {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.92;
}

.beidaihe-sights-section {
  padding-top: 76px;
  scroll-margin-top: 90px;
}

.beidaihe-sights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beidaihe-sight {
  border: 1px solid rgba(3, 5, 114, 0.11);
  border-radius: 18px;
  background: #fff;
}

.beidaihe-sight summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.beidaihe-sight summary::-webkit-details-marker {
  display: none;
}

.beidaihe-sight summary span {
  color: #f17105;
  font-weight: 700;
}

.beidaihe-sight summary b {
  color: #030572;
}

.beidaihe-sight summary i {
  color: #0e0adb;
  font-size: 22px;
  font-style: normal;
}

.beidaihe-sight[open] summary i {
  transform: rotate(45deg);
}

.beidaihe-sight p {
  margin: 0;
  padding: 0 18px 20px 68px;
  color: #566175;
  line-height: 1.6;
}

/* Final CTA: use a Beidaihe beach image and keep secondary contact
   channels on a separate row below the two primary actions. */
body.beidaihe-landing .cta {
  background:
    linear-gradient(90deg, rgba(3, 5, 114, 0.96), rgba(0, 121, 191, 0.76)),
    url("../images/beidaihe-beach.webp") center 72% / cover no-repeat;
}

body.beidaihe-landing .cta .hero-actions {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

body.beidaihe-landing .cta .contact-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 18px;
}

@media (min-width: 1021px) {
  body.beidaihe-landing .cta .hero-actions {
    /* Keep the whole action group on the same vertical line as in the
       approved Tour Mountains banner, regardless of the shorter
       WhatsApp label. */
    margin-right: 96px;
  }
}

@media (max-width: 760px) {
  body.beidaihe-landing .hero {
    background:
      linear-gradient(180deg, rgba(2, 21, 66, 0.48) 0%, rgba(2, 21, 66, 0.86) 54%, rgba(2, 21, 66, 0.98) 100%),
      url("../images/beidaihe-hero.webp") 64% center / cover no-repeat !important;
  }

  .beidaihe-programs,
  .beidaihe-sights {
    grid-template-columns: 1fr;
  }

  .beidaihe-excursions-block {
    padding-top: 54px;
  }

  .beidaihe-excursions-block .excursions-hero {
    min-height: 470px;
    padding: 28px 22px;
    border-radius: 23px;
    background-position: 48% center;
  }

  .beidaihe-excursions-block .excursions-hero::before {
    background:
      linear-gradient(180deg, rgba(2, 22, 64, 0.18) 0%, rgba(2, 22, 64, 0.55) 45%, rgba(2, 18, 67, 0.94) 100%);
  }

  .beidaihe-excursions-block .excursions-hero__content {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .beidaihe-excursions-block .excursions-hero h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .beidaihe-excursions-block .excursions-hero .section-lead {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .beidaihe-excursions-block .excursions-hero__tags {
    grid-column: auto;
    gap: 7px;
  }

  .beidaihe-excursions-block .excursions-hero__tags span {
    padding: 7px 9px;
    font-size: 10.5px;
  }

  .beidaihe-price-options {
    grid-template-columns: 1fr;
  }

  .beidaihe-direct-dates {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .beidaihe-direct-dates ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beidaihe-tickets {
    grid-template-columns: 1fr;
  }

  .beidaihe-excursion .excursion-price {
    min-width: 0;
    text-align: left;
  }

  .beidaihe-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .beidaihe-gallery article.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .beidaihe-gallery img,
  .beidaihe-gallery .wide img {
    height: 210px;
  }

  .beidaihe-gallery p {
    position: static;
    padding: 13px 14px 15px;
    border: 0;
    border-radius: 0;
    color: #536071;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .beidaihe-gallery .wide img {
    height: 230px;
  }

  .beidaihe-gallery p strong {
    color: #030572;
    font-size: 14px;
    line-height: 1.35;
  }

  .beidaihe-gallery p span {
    margin-top: 4px;
    color: #536071;
    font-size: 12px;
    line-height: 1.45;
    opacity: 1;
  }

  body.beidaihe-landing .cta .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.beidaihe-landing .cta .hero-actions > .button {
    width: 100%;
    margin-top: 0;
    padding-inline: 12px;
  }

  body.beidaihe-landing .cta .contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 18px;
  }

  body.beidaihe-landing .cta .contact-actions a {
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }
}
