.excursions-page {
  --ex-cream: #faf6ef;
  --ex-paper: #fffdf9;
  --ex-green: #064333;
  --ex-gold: #d9922f;
  --ex-gold-dark: #c47b1f;
  --ex-ink: #14211c;
  --ex-muted: #65706b;
  --ex-line: #e6dcca;
  background: linear-gradient(180deg, #fffdf9 0%, var(--ex-cream) 45%, #fffdf9 74%, var(--ex-cream) 100%);
  color: var(--ex-ink);
}

.ex-wrap {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
}

.ex-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 24%, rgba(255, 253, 248, 0.38) 48%, rgba(255, 253, 248, 0.04) 72%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.06) 0%, rgba(251, 246, 239, 0.38) 82%, #fbf6ef 100%),
    linear-gradient(0deg, rgba(8, 58, 45, 0.12), rgba(8, 58, 45, 0.12)),
    var(--hero-desktop);
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
}

.ex-hero-copy {
  max-width: 525px;
  padding-top: 18px;
}

.ex-hero h1,
.ex-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.ex-hero h1 {
  margin: 0 0 20px;
  color: var(--ex-ink);
  font-size: 55px;
  line-height: 1.06;
}

.ex-hero p {
  max-width: 420px;
  margin: 0 0 30px;
  color: #24312d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.56;
}

.ex-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
}

.ex-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ex-btn-green {
  background: var(--ex-green);
  color: #fff;
}

.ex-btn-gold {
  background: linear-gradient(180deg, #dda24d, #c98224);
  color: #fff;
}

.ex-btn-light {
  border: 1px solid rgba(6, 67, 51, 0.42);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ex-green);
}

.ex-section {
  padding: 34px 0;
}

.ex-intro {
  margin-top: 0;
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.ex-note {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 24px 250px;
  border: 1px solid var(--ex-line);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98), rgba(255, 253, 249, 0.88)),
    radial-gradient(circle at 7% 50%, rgba(217, 146, 47, 0.16), transparent 17%),
    radial-gradient(circle at 92% 50%, rgba(217, 146, 47, 0.14), transparent 18%);
  box-shadow: 0 14px 34px rgba(41, 29, 14, 0.08);
}

.ex-note p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
}

.ex-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ex-filters button,
.ex-more {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--ex-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ex-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ex-filters .is-active {
  border-color: var(--ex-green);
  background: var(--ex-green);
  color: #fff;
}

.ex-grid,
.ex-article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ex-card,
.ex-article-grid article,
.ex-review {
  overflow: hidden;
  border: 1px solid var(--ex-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 34px rgba(38, 28, 15, 0.08);
}

.ex-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.ex-card-img {
  height: 168px;
  flex: 0 0 168px;
  display: block;
  background: var(--bg) center / cover no-repeat;
}

.xm-card-img {
  display: block;
}

.ex-card-body {
  display: flex;
  min-height: 220px;
  flex: 1;
  flex-direction: column;
  padding: 13px 14px 14px;
}

.ex-tag {
  display: inline-flex;
  min-height: 19px;
  align-items: center;
  margin-bottom: 9px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(196, 123, 31, 0.2);
  background: rgba(217, 146, 47, 0.08);
  color: #8f5813;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ex-card h2 {
  min-height: 48px;
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.16;
}

.ex-card h2 a {
  color: inherit;
  text-decoration: none;
}

.ex-card p {
  min-height: 58px;
  margin: 0 0 14px;
  color: var(--ex-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ex-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ex-line);
  font-size: 13px;
  font-weight: 800;
}

.ex-meta span {
  color: var(--ex-gold-dark);
}

.ex-meta strong {
  justify-self: start;
}

.ex-meta a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(6, 67, 51, 0.44);
  border-radius: 5px;
  color: var(--ex-green);
  text-decoration: none;
}

.ex-more {
  display: flex;
  margin: 26px auto 0;
  min-width: 244px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: #fff;
  line-height: 1.2;
  text-align: center;
}

.ex-help,
.ex-final {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 67, 51, 0.98), rgba(6, 67, 51, 0.8) 54%, rgba(6, 67, 51, 0.16)),
    var(--bg) center / cover no-repeat;
}

.ex-help {
  min-height: 198px;
  display: grid;
  grid-template-columns: 1fr 42%;
  background:
    linear-gradient(90deg, rgba(6, 67, 51, 0.98) 0%, rgba(6, 67, 51, 0.96) 34%, rgba(6, 67, 51, 0.72) 46%, rgba(6, 67, 51, 0.22) 58%, rgba(6, 67, 51, 0) 70%),
    var(--bg) right center / 64% 100% no-repeat,
    #064333;
}

.ex-help > div {
  grid-column: 1;
  max-width: 585px;
  padding: 30px 54px 30px 42px;
}

.ex-help h2,
.ex-final h2 {
  max-width: 520px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 31px;
  line-height: 1.08;
}

.ex-help p,
.ex-final p {
  max-width: 560px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
}

.ex-why {
  text-align: center;
}

.ex-why h2,
.ex-reviews h2 {
  margin: 0 0 28px;
  font-size: 32px;
}

.ex-why-grid,
.ex-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ex-why-grid article {
  padding: 0 22px;
  border-right: 1px solid var(--ex-line);
}

.ex-why-grid article:last-child {
  border-right: 0;
}

.ex-why-grid span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(6, 67, 51, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ex-green);
}

.ex-why-grid span svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ex-why-grid h3 {
  margin: 0 0 9px;
  font-size: 17px;
}

.ex-why-grid p {
  margin: 0;
  color: var(--ex-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ex-about {
  display: grid;
  grid-template-columns: 38% 1fr 292px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--ex-line);
  border-radius: 9px;
  background: linear-gradient(135deg, #fffdf9 0%, #fbf5ec 58%, #f4eadb 100%);
  box-shadow: 0 18px 42px rgba(38, 28, 15, 0.08);
}

.ex-about-photo {
  min-height: 286px;
  background: var(--bg) center 45% / cover no-repeat;
}

.ex-about-copy {
  padding: 38px 42px;
}

.ex-about-copy span {
  color: var(--ex-gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ex-about-copy h2 {
  margin: 10px 0 12px;
  font-size: 31px;
}

.ex-about-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}

.ex-about-list {
  display: grid;
  align-content: center;
  gap: 17px;
  margin: 0;
  padding: 38px 34px 38px 28px;
  border-left: 1px solid rgba(230, 220, 202, 0.9);
  list-style: none;
}

.ex-about-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ex-green);
  font-weight: 800;
  line-height: 1.28;
}

.ex-about-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 146, 47, 0.52);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.72);
}

.ex-about-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ex-gold-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ex-reviews {
  text-align: center;
}

.ex-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ex-review {
  padding: 26px;
  text-align: left;
}

.ex-quote {
  color: var(--ex-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 0.8;
}

.ex-review p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
}

.ex-review div:last-child {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
}

.ex-review img {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.ex-review span {
  color: var(--ex-gold);
}

.ex-review-controls {
  display: none;
}

.ex-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ex-title-row h2 {
  margin: 0;
  font-size: 31px;
}

.ex-title-row a {
  color: var(--ex-green);
  font-weight: 800;
  text-decoration: none;
}

.ex-article-grid article div {
  height: 132px;
  background: var(--bg) center / cover no-repeat;
}

.ex-article-grid strong {
  display: block;
  padding: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
}

.ex-final {
  min-height: 190px;
  padding: 34px 44px;
}

@media (max-width: 760px) {
  .ex-wrap {
    width: min(100% - 32px, 430px);
  }

  .ex-hero {
    min-height: 462px;
    align-items: flex-start;
    padding-top: 86px;
    background-image:
      linear-gradient(90deg, rgba(250, 246, 239, 0.93), rgba(250, 246, 239, 0.55) 45%, rgba(250, 246, 239, 0.04) 76%),
      linear-gradient(180deg, rgba(250, 246, 239, 0) 0%, rgba(250, 246, 239, 0.95) 100%),
      linear-gradient(0deg, rgba(8, 58, 45, 0.07), rgba(8, 58, 45, 0.07)),
      var(--hero-mobile);
    background-position: center top;
    background-size: cover;
  }

  .ex-hero-copy {
    max-width: 300px;
    padding-top: 0;
  }

  .ex-hero h1 {
    font-size: 38px;
  }

  .ex-hero p {
    max-width: 260px;
    font-size: 13px;
  }

  .ex-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .ex-btn {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .ex-note {
    padding: 18px;
  }

  .ex-note p {
    font-size: 13px;
  }

  .ex-section {
    padding: 26px 0;
  }

  .ex-grid,
  .ex-article-grid,
  .ex-review-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 12px;
  }

  .ex-grid::-webkit-scrollbar,
  .ex-article-grid::-webkit-scrollbar,
  .ex-review-grid::-webkit-scrollbar,
  .ex-filters::-webkit-scrollbar {
    display: none;
  }

  .ex-card {
    flex: 0 0 226px;
    scroll-snap-align: start;
  }

  .ex-card-img {
    height: 132px;
  }

  .ex-card h2 {
    font-size: 18px;
  }

  .ex-card p {
    min-height: 44px;
    font-size: 12px;
  }

  .ex-help {
    min-height: 236px;
    display: block;
    background-position: center;
  }

  .ex-help > div {
    padding: 22px 18px;
  }

  .ex-help h2,
  .ex-final h2,
  .ex-title-row h2,
  .ex-why h2,
  .ex-reviews h2 {
    font-size: 27px;
  }

  .ex-help p,
  .ex-final p {
    max-width: 238px;
    font-size: 12px;
  }

  .ex-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .ex-why-grid article {
    padding: 0;
    border-right: 0;
  }

  .ex-about {
    display: block;
  }

  .ex-about-photo {
    min-height: 238px;
  }

  .ex-about-copy,
  .ex-about-list {
    padding: 20px 18px;
  }

  .ex-about-list {
    gap: 12px;
    border-top: 1px solid var(--ex-line);
  }

  .ex-review,
  .ex-article-grid article {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .ex-final {
    min-height: 252px;
    padding: 24px 18px;
  }
}

@media (max-width: 760px) {
  body.post-type-archive-excursion,
  body.post-type-archive-excursion .site-main {
    overflow-x: hidden;
    background: #fffaf3;
  }

  .excursions-page {
    background:
      linear-gradient(180deg, #fffdfa 0%, #fff7ed 30%, #fffdfa 66%, #fff6ea 100%);
  }

  .ex-wrap {
    width: calc(100% - 28px);
    max-width: 414px;
  }

  .ex-hero {
    min-height: 548px;
    padding: 92px 0 24px;
    align-items: flex-start;
    background-image:
      linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.84) 38%, rgba(255, 253, 248, 0.16) 68%, rgba(255, 253, 248, 0) 100%),
      linear-gradient(180deg, rgba(255, 253, 248, 0) 58%, rgba(255, 250, 243, 0.98) 100%),
      linear-gradient(0deg, rgba(6, 67, 51, 0.06), rgba(6, 67, 51, 0.06)),
      var(--hero-mobile);
    background-position: center top;
    background-size: cover;
  }

  .ex-hero-copy {
    max-width: 282px;
  }

  .ex-hero h1 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.08;
  }

  .ex-hero p {
    max-width: 274px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
  }

  .ex-actions {
    display: grid;
    gap: 10px;
  }

  .ex-hero .ex-actions {
    width: min(100%, 284px);
  }

  .ex-btn {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 13px;
  }

  .ex-intro {
    padding: 18px 0 8px;
  }

  .ex-note {
    min-height: 178px;
    align-items: flex-start;
    padding: 26px 22px 22px 96px;
    border: 0;
    border-radius: 0;
    background:
      url("../images/mobile-v2/icon-set.svg") left 20px top 26px / 58px auto no-repeat,
      radial-gradient(circle at 96% 76%, rgba(217, 146, 47, 0.18), transparent 26%),
      linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 244, 229, 0.76));
    box-shadow: none;
  }

  .ex-note p {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.62;
  }

  .ex-section {
    padding: 24px 0;
  }

  .ex-filters {
    margin: 0 -14px 20px;
    padding: 0 14px 4px;
    gap: 10px;
    scroll-padding-inline: 14px;
  }

  .ex-filters button,
  .ex-more {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.84);
    font-size: 12px;
  }

  .ex-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .ex-card {
    min-width: 0;
    min-height: 276px;
    flex: none;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(38, 28, 15, 0.08);
  }

  .ex-card-img {
    height: 112px;
    flex-basis: 112px;
  }

  .ex-card-body {
    min-height: 164px;
    padding: 9px 10px 10px;
  }

  .ex-tag {
    min-height: 16px;
    margin-bottom: 7px;
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(217, 146, 47, 0.13);
    font-size: 7px;
    line-height: 1;
  }

  .ex-card h2 {
    min-height: 37px;
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.08;
  }

  .ex-card p {
    display: none;
  }

  .ex-meta {
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding-top: 9px;
    font-size: 12px;
  }

  .ex-meta a {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 34px;
    margin-top: 4px;
    border-radius: 5px;
  }

  .ex-more {
    width: min(100%, 260px);
    display: flex;
    justify-content: center;
    margin: 22px auto 0;
  }

  .ex-help {
    min-height: 392px;
    border-radius: 9px;
    background:
      linear-gradient(90deg, rgba(5, 58, 44, 0) 0%, rgba(5, 58, 44, 0.24) 42%, rgba(5, 58, 44, 0.96) 55%, rgba(5, 58, 44, 0.98) 100%),
      var(--bg) left center / 52% 100% no-repeat,
      #064333;
  }

  .ex-help > div {
    width: 52%;
    margin-left: auto;
    padding: 25px 18px 22px 12px;
  }

  .ex-help h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .ex-help p {
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
  }

  .ex-help .ex-btn {
    min-height: 54px;
    margin-top: 10px;
    padding: 0 14px;
    line-height: 1.25;
  }

  .ex-why h2,
  .ex-reviews h2,
  .ex-title-row h2 {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.12;
  }

  .ex-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ex-why-grid article {
    min-height: 162px;
    padding: 18px 16px;
    border: 1px solid rgba(230, 220, 202, 0.82);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(38, 28, 15, 0.07);
  }

  .ex-why-grid article span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 13px;
    border: 1px solid rgba(6, 67, 51, 0.22);
    border-radius: 9px;
    color: var(--ex-green);
    font-size: 22px;
  }

  .ex-why-grid h3 {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.2;
  }

  .ex-why-grid p {
    font-size: 12px;
    line-height: 1.45;
  }

  .ex-about {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background:
      radial-gradient(circle at 90% 18%, rgba(217, 146, 47, 0.15), transparent 28%),
      rgba(255, 249, 241, 0.96);
    box-shadow: 0 16px 34px rgba(38, 28, 15, 0.08);
  }

  .ex-about-copy {
    order: 1;
    padding: 22px 20px 14px;
  }

  .ex-about-photo {
    order: 2;
    min-height: 218px;
    margin: 0 20px 18px;
    border-radius: 8px;
    background-position: center;
  }

  .ex-about-list {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding: 4px 20px 24px;
    border-top: 0;
  }

  .ex-about-copy span {
    font-size: 11px;
  }

  .ex-about-copy h2 {
    font-size: 25px;
    line-height: 1.12;
  }

  .ex-about-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .ex-about-list li {
    gap: 9px;
    align-items: center;
    font-size: 12px;
    line-height: 1.25;
  }

  .ex-about-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .ex-review-grid {
    display: flex;
    gap: 14px;
    margin: 0 -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .ex-review {
    flex: 0 0 calc(100vw - 42px);
    max-width: 390px;
    min-height: 220px;
    padding: 24px 22px;
    scroll-snap-align: center;
  }

  .ex-review p {
    font-size: 15px;
    line-height: 1.55;
  }

  .ex-review-controls {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    width: 174px;
    margin: 8px auto 0;
  }

  .ex-review-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--ex-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ex-gold-dark);
    font-size: 26px;
    line-height: 1;
  }

  .ex-review-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .ex-review-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8d2c7;
  }

  .ex-review-dots .is-active {
    background: var(--ex-gold-dark);
  }

  .ex-title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .ex-title-row a {
    margin-top: 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .ex-article-grid {
    display: flex;
    gap: 12px;
    margin: 0 -14px;
    padding: 0 14px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .ex-article-grid article {
    flex: 0 0 132px;
    min-height: 166px;
    scroll-snap-align: start;
  }

  .ex-article-grid article div {
    height: 82px;
  }

  .ex-article-grid strong {
    padding: 10px;
    font-size: 13px;
    line-height: 1.28;
  }

  .ex-final {
    min-height: 258px;
    padding: 23px 20px;
    border-radius: 9px;
    background-image:
      linear-gradient(90deg, rgba(5, 58, 44, 0.98) 0%, rgba(5, 58, 44, 0.9) 44%, rgba(5, 58, 44, 0.28) 72%, rgba(5, 58, 44, 0.1) 100%),
      var(--bg);
    background-position: center;
    background-size: cover;
  }

  .ex-final h2 {
    max-width: 250px;
    font-size: 25px;
    line-height: 1.08;
  }

  .ex-final p {
    max-width: 220px;
    font-size: 12px;
  }

  .ex-final .ex-actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 330px;
  }

  .ex-final .ex-btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11px;
  }
}

.ex-mobile-flow {
  display: none;
}

@media (max-width: 760px) {
  body.post-type-archive-excursion {
    background: #fffaf3;
  }

  body.post-type-archive-excursion .ex-desktop-flow {
    display: none !important;
  }

  body.post-type-archive-excursion .ex-mobile-flow {
    display: block;
    padding-bottom: 78px;
    background: linear-gradient(180deg, #fffdfa 0%, #fbf6ef 38%, #fffdf9 72%, #fbf6ef 100%);
    color: #12231d;
    overflow: hidden;
  }

  body.post-type-archive-excursion .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.admin-bar.post-type-archive-excursion .site-header {
    top: 46px;
  }

  body.post-type-archive-excursion .nav {
    width: calc(100% - 40px);
    height: 76px;
    padding: 0;
  }

  body.post-type-archive-excursion .brand {
    color: #064333;
    transform: scale(0.92);
    transform-origin: left center;
  }

  body.post-type-archive-excursion .menu,
  body.post-type-archive-excursion .langs {
    display: none !important;
  }

  body.post-type-archive-excursion .nav-actions {
    gap: 15px;
    margin-left: auto;
  }

  body.post-type-archive-excursion .btn-whatsapp {
    display: none !important;
  }

  body.post-type-archive-excursion .mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #17322a;
    font-size: 30px;
    line-height: 1;
  }

  .xm-wrap {
    width: calc(100% - 40px);
    max-width: 390px;
    margin: 0 auto;
  }

  .xm-hero {
    min-height: 500px;
    padding: 138px 0 26px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 252, 0.92) 0%, rgba(255, 255, 252, 0.52) 34%, rgba(255, 255, 252, 0.04) 67%, rgba(255, 255, 252, 0) 100%),
      linear-gradient(180deg, rgba(255, 255, 252, 0) 74%, rgba(251, 246, 239, 0.18) 92%, #fffdfa 100%),
      linear-gradient(0deg, rgba(6, 67, 51, 0.03), rgba(6, 67, 51, 0.03)),
      var(--hero-mobile);
    background-position: center 9%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .xm-hero-copy {
    max-width: 318px;
  }

  .xm-hero h1,
  .xm-section h2,
  .xm-team h2,
  .xm-final h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
  }

  .xm-hero h1 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.08;
  }

  .xm-hero p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.58;
  }

  .xm-hero-actions {
    display: none;
  }

  .xm-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
  }

  .xm-btn-green {
    background: #064333;
    color: #fff;
  }

  .xm-btn-gold {
    background: linear-gradient(180deg, #dda24d, #c98224);
    color: #fff;
  }

  .xm-btn-light {
    border: 1px solid rgba(6, 67, 51, 0.48);
    background: rgba(255, 255, 255, 0.82);
    color: #064333;
  }

  .xm-intro {
    padding: 12px 0 22px;
    background: #fffdfa;
  }

  .xm-note {
    min-height: 112px;
    display: flex;
    align-items: center;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(230, 220, 202, 0.58);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 12px 28px rgba(38, 28, 15, 0.05);
  }

  .xm-note::before,
  .xm-note::after {
    content: none;
  }

  .xm-note p {
    margin: 0;
    font-size: 11.7px;
    font-weight: 700;
    line-height: 1.5;
  }

  .xm-section {
    padding: 24px 0;
  }

  .xm-filters {
    display: flex;
    gap: 10px;
    margin: 0 -20px 22px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .xm-filters::-webkit-scrollbar {
    display: none;
  }

  .xm-filters button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #e7dcc9;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.88);
    color: #15231e;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .xm-filters .is-active {
    border-color: #064333;
    background: #064333;
    color: #fff;
  }

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

  .xm-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5dac8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 13px 28px rgba(38, 28, 15, 0.08);
  }

  .xm-card-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
  }

  .xm-card-img {
    display: block;
    height: 112px;
    background: var(--bg) center / cover no-repeat;
  }

  .xm-card-body {
    min-height: 194px;
    display: flex;
    flex-direction: column;
    padding: 9px 10px 10px;
  }

  .xm-tag {
    width: fit-content;
    min-height: 16px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 7px;
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(217, 146, 47, 0.16);
    color: #8b5714;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .xm-card h2,
  .xm-card-title {
    display: block;
    min-height: 38px;
    margin: 0 0 7px;
    color: #101915;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.1;
  }

  .xm-card p,
  .xm-card-text {
    display: block;
    height: 34px;
    margin: 0 0 auto;
    overflow: hidden;
    color: #65706b;
    font-size: 11px;
    font-weight: 600;
    line-height: 17px;
  }

  .xm-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-items: center;
    margin-top: 14px;
    padding-top: 9px;
    border-top: 1px solid #e5dac8;
    font-size: 12px;
    font-weight: 900;
  }

  .xm-meta span {
    color: #c47b1f;
  }

  .xm-card-btn,
  .xm-more {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border: 1px solid rgba(6, 67, 51, 0.48);
    border-radius: 5px;
    color: #064333;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
  }

  .xm-more {
    width: 260px;
    display: flex;
    margin: 24px auto 0;
    background: rgba(255,255,255,0.88);
  }

  .xm-help {
    min-height: 268px;
    overflow: hidden;
    border-radius: 9px;
    background:
      linear-gradient(90deg, rgba(5,58,44,0.96) 0%, rgba(5,58,44,0.9) 48%, rgba(5,58,44,0.38) 72%, rgba(5,58,44,0.08) 100%),
      var(--bg) right center / 58% 100% no-repeat,
      #064333;
    box-shadow: 0 16px 34px rgba(38, 28, 15, 0.1);
  }

  .xm-help > div {
    width: 57%;
    margin-left: 0;
    padding: 23px 12px 20px 18px;
    color: #fff;
  }

  .xm-help h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.08;
  }

  .xm-help p {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.42;
  }

  .xm-help .xm-btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 10.5px;
    line-height: 1.2;
    text-align: center;
  }

  .xm-why h2,
  .xm-reviews h2,
  .xm-title-row h2 {
    margin-bottom: 18px;
    font-size: 27px;
    line-height: 1.12;
  }

  .xm-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .xm-why-grid article {
    min-height: 166px;
    padding: 18px 16px;
    border: 1px solid rgba(230, 220, 202, 0.82);
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 14px 28px rgba(38, 28, 15, 0.07);
  }

  .xm-why-grid span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border: 1px solid rgba(6,67,51,0.24);
    border-radius: 50%;
    color: #064333;
    font-size: 20px;
  }

  .xm-why-grid span svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .xm-why-grid h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.2;
  }

  .xm-why-grid p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .xm-team {
    overflow: hidden;
    padding: 22px 20px 24px;
    border: 1px solid rgba(230, 220, 202, 0.88);
    border-radius: 10px;
    background: radial-gradient(circle at 94% 16%, rgba(217,146,47,0.08), transparent 30%), rgba(255,252,247,0.98);
    box-shadow: 0 16px 34px rgba(38, 28, 15, 0.08);
  }

  .xm-team-copy > span {
    display: block;
    margin-bottom: 10px;
    color: #c47b1f;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .xm-team h2 {
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.12;
  }

  .xm-team p {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
  }

  .xm-team-photo {
    height: 218px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--bg) center / cover no-repeat;
  }

  .xm-team > .xm-btn {
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
  }

  .xm-team-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .xm-team-list li {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #17322a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
  }

  .xm-small-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217,146,47,0.42);
    border-radius: 50%;
    color: #c47b1f;
    background: rgba(255,255,255,0.7);
  }

  .xm-small-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .xm-review-track,
  .xm-article-track {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0 0 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .xm-review-track::-webkit-scrollbar,
  .xm-article-track::-webkit-scrollbar {
    display: none;
  }

  .xm-review {
    flex: 0 0 calc(100vw - 40px);
    max-width: 390px;
    min-height: 220px;
    padding: 24px 22px;
    border: 1px solid #e5dac8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(38, 28, 15, 0.08);
    scroll-snap-align: center;
  }

  .xm-quote {
    color: #c98224;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    line-height: .7;
  }

  .xm-review p {
    margin: 10px 0 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
  }

  .xm-review-author {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
    align-items: center;
  }

  .xm-review-author img {
    width: 42px;
    height: 42px;
    grid-row: span 2;
    border-radius: 50%;
    object-fit: cover;
  }

  .xm-review-author span {
    color: #d9922f;
    letter-spacing: 2px;
  }

  .xm-review-controls {
    display: block;
    align-items: center;
    width: auto;
    margin: 8px auto 0;
  }

  .xm-review-controls button {
    display: none;
  }

  .xm-review-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .xm-review-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8d2c7;
  }

  .xm-review-dots .is-active {
    background: #c47b1f;
  }

  .xm-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
  }

  .xm-title-row a {
    margin-top: 9px;
    color: #064333;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
  }

  .xm-article-track article {
    flex: 0 0 138px;
    min-width: 0;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid #e5dac8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 13px 28px rgba(38, 28, 15, 0.08);
    scroll-snap-align: start;
  }

  .xm-article-track div {
    height: 86px;
    background: var(--bg) center / cover no-repeat;
  }

  .xm-article-track strong {
    display: block;
    min-height: 72px;
    padding: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12.5px;
    line-height: 1.28;
  }

  .xm-final {
    min-height: 258px;
    padding: 23px 20px;
    border-radius: 9px;
    color: #fff;
    background-image:
      linear-gradient(90deg, rgba(5,58,44,0.98) 0%, rgba(5,58,44,0.9) 44%, rgba(5,58,44,0.28) 72%, rgba(5,58,44,0.1) 100%),
      var(--bg);
    background-position: center;
    background-size: cover;
    box-shadow: 0 16px 34px rgba(38, 28, 15, 0.12);
  }

  .xm-final h2 {
    max-width: 260px;
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.08;
  }

  .xm-final p {
    max-width: 220px;
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
  }

  .xm-final-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 330px;
  }

  .xm-final .xm-btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  body.post-type-archive-excursion .btn-whatsapp {
    display: none !important;
  }

  body.post-type-archive-excursion .ex-review-controls,
  body.post-type-archive-excursion .xm-review-controls {
    display: flex;
    justify-content: center;
    width: auto;
  }

  body.post-type-archive-excursion .ex-review-controls button,
  body.post-type-archive-excursion .xm-review-controls button {
    display: none !important;
  }

  body.post-type-archive-excursion .ex-review-dots span,
  body.post-type-archive-excursion .xm-review-dots span {
    transition: width 0.18s ease, background-color 0.18s ease;
  }

  body.post-type-archive-excursion .ex-review-dots span.is-active,
  body.post-type-archive-excursion .xm-review-dots span.is-active {
    width: 18px;
    border-radius: 999px;
    background: #c47b1f;
  }
}
