/*
 * override.css — Runas Expeditions (Phase 1)
 *
 * Loaded LAST, after main.css and styles.css, so rules here win by cascade.
 * Put ALL Phase 1 mobile + visual polish here.
 * NEVER edit main.css or styles.css directly.
 */

/* ---------------------------------------------------------------------------
 * QA — Task 1: Mobile horizontal scroll guard
 * Stop any block from bleeding past the viewport width on small screens.
 * ------------------------------------------------------------------------- */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.runas-review,
.runas-urgency,
.hero-slide__urgency-wrap,
.trending-adventures-gallery {
  max-width: 100vw;
  box-sizing: border-box;
}

/* Hero H1 — undo global styles.css h1 rules after SEO h2→h1 change (slider.php) */
.hero-slide__home-shelf .cta-container h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: normal;
  width: auto;
  max-width: 100%;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero-slide__home-shelf .cta-container h1::before,
.hero-slide__home-shelf .cta-container h1::after {
  content: none;
  display: none;
}

.hero-slide__home-shelf .cta-container.center .hr15 {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------------------
 * CRO + Social Proof (Phase 2)
 * Urgency banner, static text reviews, and trust-transition grid.
 * ------------------------------------------------------------------------- */

/* 1. Urgency / FOMO banner — clean light warning alert pointing to WhatsApp */
.runas-urgency {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin: 18px auto;
  padding: 16px 18px;
  min-height: 48px;
  height: auto;
  overflow: visible;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  color: #7c2d12;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(124, 45, 18, 0.08);
  transition: box-shadow .2s ease, transform .2s ease;
  box-sizing: border-box;
}

.runas-urgency:hover,
.runas-urgency:focus {
  color: #7c2d12;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 45, 18, 0.14);
}

.runas-urgency__text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #7c2d12;
}

.runas-urgency__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  min-height: 44px;
  height: auto;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  box-sizing: border-box;
}

.runas-urgency__cta small {
  display: inline;
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.9;
}

/* Home hero: banner sits outside the fixed-size shelf to avoid clipping */
.hero-slide__urgency-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  box-sizing: border-box;
}

.hero-slide__urgency-wrap .runas-urgency {
  max-width: 100%;
  margin: 0;
}

.hero-slide__content {
  overflow: visible;
}

.hero-slide__home-shelf {
  overflow: visible;
  gap: 1rem;
  padding-block: 1.5rem;
}

.hero-slide__home-shelf .cta-container,
.hero-slide__home-shelf .cta-container.center {
  flex: 0 1 auto;
}

@media screen and (min-width: 992px) {
  .hero-slide__home-shelf {
    height: auto;
    min-height: 31rem;
    padding-block: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media screen and (min-width: 768px) {
  .runas-urgency:not(.hero-slide__urgency-wrap .runas-urgency) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
  }

  .runas-urgency:not(.hero-slide__urgency-wrap .runas-urgency) .runas-urgency__cta {
    width: auto;
    margin-left: auto;
  }
}

@media screen and (min-width: 992px) {
  .hero-slide__urgency-wrap {
    position: absolute;
    left: 0;
    bottom: 2rem;
    max-width: 39rem;
    padding: 0 2rem 0 4rem;
  }
}

/* Logo visibility — keep header above hero overlay */
.st-menu-mobile {
  z-index: 1000;
}

.st-menu-mobile__bar {
  z-index: 1001;
}

.st-menu-mobile .main-logo,
.salkantay-menu__logo {
  overflow: visible;
  flex-shrink: 0;
  display: block;
}

.st-menu-mobile .main-logo picture,
.salkantay-menu__logo picture {
  display: block;
}

.st-menu-mobile .main-logo img,
.salkantay-menu__logo img {
  display: block;
  height: 4rem !important;
  width: auto !important;
  max-width: 220px;
  object-fit: contain;
}

@media screen and (min-width: 992px) {
  .salkantay-menu__logo img {
    height: 6rem !important;
    max-width: 320px;
  }
}

/* Related Peru Tours swiper */
.related-peru-tours-swiper {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.related-peru-tours-swiper .swiper-slide {
  height: auto;
}

.related-peru-tours-swiper .tour-card__image {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

.related-peru-tours-swiper .tour-card__image picture,
.related-peru-tours-swiper .tour-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-peru-tours-swiper .related-peru-tours-next,
.related-peru-tours-swiper .related-peru-tours-prev {
  z-index: 5;
}

/* 2. Static text review — lightweight, no external scripts */
.runas-review {
  max-width: 640px;
  margin: 18px auto;
  padding: 16px 20px;
  border-left: 4px solid var(--runas-blue);
  background: rgba(2, 36, 146, 0.04);
  border-radius: 0 10px 10px 0;
}

.runas-review blockquote {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
  color: #243b53;
}

.runas-review figcaption {
  font-size: 0.85rem;
  color: #486581;
}

.runas-review__name {
  font-weight: 700;
  color: var(--runas-forest);
}

.runas-review__date::before {
  content: "•";
  margin: 0 6px;
  opacity: 0.6;
}

/* 3. Trust transition block — below hero, lazy-loaded media */
.runas-trust {
  padding: 2.4rem 0 1.6rem;
  background: #fff;
}

.runas-trust__head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.runas-trust__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 0.6rem;
  color: var(--runas-forest);
}

.runas-trust__subtitle {
  margin: 0;
  color: #486581;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.runas-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.runas-trust__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(2, 36, 146, 0.08);
}

.runas-trust__photo {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.runas-trust__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.runas-trust__review {
  margin: 0;
  flex: 1;
}

.runas-trust__card .runas-review {
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-top: 4px solid var(--runas-blue);
}

@media (min-width: 768px) {
  .runas-trust__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 1 — Task 1: Mobile sticky bottom bar
 * Markup lives in single.php (.cta-mobile-popup-container); js-mobile-enquire.js
 * toggles `bottom` between 0 and -70px on scroll. Mobile (<=768px) only.
 * ------------------------------------------------------------------------- */
.cta-mobile-popup-container {
  display: none;
}

@media (max-width: 768px) {
  .cta-mobile-popup-container {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: -70px;
    z-index: 1200;
    background: #fff;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.18);
    transition: bottom 0.3s ease;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .cta-mobile-popup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
  }

  .cta-mobile-popup__info {
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #243b53;
  }

  .cta-mobile-popup__info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--runas-forest);
  }

  .cta-mobile-popup__button-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cta-mobile-popup__button-group .enquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    min-height: 44px;
    border-radius: 999px;
    background: var(--runas-terracotta);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .cta-mobile-popup__button-group .solid-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    flex-shrink: 0;
  }

  .cta-mobile-popup__button-group .solid-whatsapp span,
  .cta-mobile-popup__button-group .solid-whatsapp i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1rem;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 1 — Task 2: Pricing transparency block
 * "What's Included" sits beside the price + WhatsApp CTA to kill hidden-cost fear.
 * ------------------------------------------------------------------------- */
.runas-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: 640px;
  margin: 18px auto;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.runas-pricing__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--runas-forest);
}

.runas-pricing__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.runas-pricing__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #243b53;
}

.runas-pricing__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background: var(--runas-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.runas-pricing__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.runas-pricing__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.runas-pricing__from {
  font-size: 0.8rem;
  color: #486581;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.runas-pricing__amount {
  font-size: 1.9rem;
  color: var(--runas-forest);
}

.runas-pricing__per {
  font-size: 0.8rem;
  color: #486581;
}

.runas-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--runas-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.runas-pricing__cta:hover,
.runas-pricing__cta:focus {
  background: var(--runas-blue-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .runas-pricing {
    grid-template-columns: 1fr auto;
    align-items: center;
    max-width: 760px;
  }

  .runas-pricing__buy {
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid #e2e8f0;
    min-width: 220px;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Task 3: Local expert bio block
 * Puts a human face to the operation at the bottom of tour pages.
 * ------------------------------------------------------------------------- */
.runas-expert {
  padding: 2.4rem 0;
  background: #f8fafc;
}

.runas-expert__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.runas-expert__photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  border: 3px solid var(--runas-blue);
}

.runas-expert__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.runas-expert__body {
  margin: 0;
}

.runas-expert__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--runas-blue-tint);
  color: var(--runas-blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.runas-expert__name {
  margin: 0 0 2px;
  font-size: 1.25rem;
  color: var(--runas-forest);
}

.runas-expert__role {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: #486581;
}

.runas-expert__bio {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #243b53;
}

.runas-expert__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: runas-cta-pulse 2.4s ease-in-out infinite;
}

.runas-expert__cta i {
  font-size: 1.2em;
}

.runas-expert__cta:hover,
.runas-expert__cta:focus {
  background: #1f6f3c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes runas-cta-pulse {
  0%,
  100% {
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .runas-expert__cta {
    animation: none;
  }
}

@media (min-width: 768px) {
  .runas-expert__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 28px;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Task 4: Footer trust badges
 * Inline-SVG license + secure payment proof. Visual only, no payment logic.
 * ------------------------------------------------------------------------- */
.runas-trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.runas-trust-badges__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.runas-trust-badges__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runas-trust-badges__item {
  display: inline-flex;
  align-items: center;
  color: #fff;
}

.runas-trust-badges__item svg {
  display: block;
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .runas-trust-badges {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

/* TripAdvisor — hero glass card */
.hero-slide__home-shelf .wta-container {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.runas-ta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 14.5rem;
  padding: 1.35rem 1.15rem 1.1rem;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.35rem;
  box-shadow:
    0 2px 4px rgba(2, 36, 146, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.14),
    0 24px 48px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #111;
  position: relative;
  z-index: 2;
  animation: runas-ta-float 4.5s ease-in-out infinite;
  transition: box-shadow 0.25s ease;
}

@media (max-width: 480px) {
  .runas-ta-card {
    width: min(13.5rem, 100%);
    gap: 0.55rem;
    padding: 1rem 0.9rem 0.9rem;
  }

  .runas-ta-card__wordmark {
    font-size: 1.25rem;
  }

  .runas-ta-card__bubble {
    width: 1rem;
    height: 1rem;
  }
}

.runas-ta-card:hover,
.runas-ta-card:focus-visible {
  color: #111;
  text-decoration: none;
  box-shadow:
    0 4px 8px rgba(2, 36, 146, 0.07),
    0 16px 36px rgba(0, 0, 0, 0.16),
    0 28px 56px rgba(0, 0, 0, 0.1);
}

.runas-ta-card__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.runas-ta-card__logo {
  display: flex;
  flex-shrink: 0;
}

.runas-ta-card__logo svg {
  display: block;
}

.runas-ta-card__wordmark {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111;
}

.runas-ta-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.runas-ta-card__bubble {
  width: 1.15rem;
  height: 1.15rem;
  border: 2.5px solid #00aa6c;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
}

.runas-ta-card__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  background: #00aa6c;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.runas-ta-card__reviews {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #111;
}

.runas-ta-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  padding: 0.35rem 0.9rem 0.35rem 0.45rem;
  background: #4285f4;
  border-radius: 999px;
  color: #fff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.runas-ta-card__verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

@keyframes runas-ta-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 2px 4px rgba(2, 36, 146, 0.05),
      0 12px 28px rgba(0, 0, 0, 0.14),
      0 24px 48px rgba(0, 0, 0, 0.08);
  }

  50% {
    transform: translateY(-10px);
    box-shadow:
      0 6px 10px rgba(2, 36, 146, 0.07),
      0 18px 38px rgba(0, 0, 0, 0.18),
      0 32px 58px rgba(0, 0, 0, 0.11);
  }
}

@media (prefers-reduced-motion: reduce) {
  .runas-ta-card {
    animation: none;
  }
}

.runas-ta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.2rem;
  margin-top: 1.2rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--runas-terracotta);
  border-radius: 0.5rem;
  background: var(--runas-terracotta);
  box-shadow: 0 0.7rem 1.6rem rgba(37, 39, 36, 0.12);
  color: var(--runas-paper) !important;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.runas-ta-link:hover,
.runas-ta-link:focus-visible {
  border-color: var(--runas-terracotta-dark);
  background: var(--runas-terracotta-dark);
  color: var(--runas-paper) !important;
  opacity: 1;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------------
 * QA — Task 2: Maximize "TOUR DETAILS" tap target
 * The blue .box-btn-book block becomes fully clickable by letting the <a> fill
 * it and carry all the padding.
 * ------------------------------------------------------------------------- */
.box-btn-book {
  padding: 0;
}

.box-btn-book .col-12 {
  padding: 0;
  height: 100%;
}

.box-btn-book a.btn-effect {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * QA — Task 4: Mobile carousel arrow placement
 * Lift the < / > arrows up so they sit centered over the tour image instead of
 * overlapping the description text below it.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .trending-adventures-gallery .swiper-button-next,
  .trending-adventures-gallery .swiper-button-prev {
    top: 28%;
    margin-top: 0;
    transform: translateY(-50%);
  }
}

/* ---------------------------------------------------------------------------
 * CRO — Legibility pass
 * Body copy, inclusion/highlight lists and review text were rendering below
 * 16px with tight leading and low-contrast slate. Bump to a 16px / 1.6 / #333
 * baseline so the content is easy to read and trustworthy.
 * ------------------------------------------------------------------------- */
.itinerary-introduction p,
#Mainsingle .content-single p,
#Mainsingle .content-single li,
.runas-expert__bio {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* "What's Included" / "Highlights" inclusion lists */
.runas-pricing__list li {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* Static testimonial / review copy */
.runas-review blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Step 1: compact header/nav only
 * Keep the existing menu structure and Max Mega Menu behavior intact.
 * ------------------------------------------------------------------------- */
:root {
  --runas-blue: #022492;
  --runas-blue-hover: #011a6e;
  --runas-blue-tint: #eef2fb;
  --runas-teal: #3fabaf;
  --runas-ivory: #f7f5ee;
  --runas-charcoal: #252724;
  --runas-gold: var(--runas-teal);
  --runas-paper: #ffffff;
  --runas-line-soft: rgba(2, 36, 146, 0.14);
  --runas-sans: "Montserrat", "Poppins", Arial, sans-serif;
  --runas-serif: Georgia, "Times New Roman", serif;
  /* Phase 2 compatibility aliases: retain component structure, restore brand blue. */
  --runas-forest: var(--runas-blue);
  --runas-forest-dark: var(--runas-blue-hover);
  --runas-terracotta: var(--runas-blue);
  --runas-terracotta-dark: var(--runas-blue-hover);
  --richard2: var(--runas-blue);
  --richard3: var(--runas-charcoal);
  --co-primary: var(--runas-blue);
  --co-primary-hover: var(--runas-blue-hover);
}

/* Mobile header uses its own theme component, so keep these rules isolated. */
.st-menu-mobile,
.st-menu-mobile__bar {
  background: var(--runas-ivory);
}

.st-menu-mobile__bar {
  border-bottom: 1px solid var(--runas-line-soft);
  box-shadow: 0 4px 16px rgba(37, 39, 36, 0.08);
}

.st-menu-mobile .main-logo img {
  filter: none;
}

.st-menu-mobile .upper-links li {
  border-left-color: var(--runas-line-soft);
}

.st-menu-mobile .upper-links a,
.st-menu-mobile__list a,
.st-menu-mobile__list > li.has-children.active-menu-item > a {
  color: var(--runas-forest);
}

.st-menu-mobile__navigation,
.st-menu-mobile__list > li {
  background: var(--runas-ivory);
}

.st-menu-mobile__sub-list {
  background: var(--runas-blue-tint);
}

.st-menu-mobile__sub-list > li > a:hover,
.st-menu-mobile__sub-list > li > a:focus {
  color: var(--runas-terracotta-dark);
}

.st-menu-mobile__contact > li,
.st-menu-mobile__contact > li:first-child,
.st-menu-mobile__contact > li + li {
  border-color: var(--runas-line-soft);
}

.st-menu-mobile__contact > li a.cta-phone,
.st-menu-mobile__contact > li a.cta-phone span::before {
  color: var(--runas-forest);
}

#toggle .hamburger-icon,
#toggle .hamburger-icon::before,
#toggle .hamburger-icon::after {
  background-color: var(--runas-forest);
}

@media screen and (min-width: 992px) {
  .salkantay-menu {
    background: var(--runas-ivory);
    color: var(--runas-charcoal);
    box-shadow: 0 4px 18px rgba(37, 39, 36, 0.1);
  }

  .salkantay-menu__upper {
    min-height: 7.6rem;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .salkantay-menu__logo {
    flex: 0 0 auto;
    margin: 0;
  }

  .salkantay-menu__logo img {
    display: block;
    height: 5.2rem !important;
    width: auto !important;
    max-width: 30rem;
    object-fit: contain;
    filter: none;
  }

  .salkantay-menu__upper-elements {
    color: rgba(37, 39, 36, 0.72);
  }

  .salkantay-menu__upper-elements:first-of-type {
    flex: 1 1 auto;
    min-width: 24rem;
  }

  .salkantay-menu__upper-elements:last-of-type {
    flex: 0 0 auto;
  }

  .salkantay-menu__upper-elements .infoTop,
  .salkantay-menu__upper-elements .infoTop p {
    margin: 0;
    color: rgba(37, 39, 36, 0.76);
    font-family: var(--runas-sans);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.45;
  }

  .salkantay-menu__upper-elements .infoTop strong {
    color: var(--runas-forest);
    font-weight: 800;
  }

  .salkantay-menu__upper-elements a,
  .salkantay-menu__down-list a {
    color: var(--runas-forest);
  }

  .salkantay-menu__upper-elements a:hover,
  .salkantay-menu__upper-elements a:focus,
  .salkantay-menu__down-list a:hover,
  .salkantay-menu__down-list a:focus {
    color: var(--runas-terracotta-dark);
    text-decoration: none;
  }

  .salkantay-menu__upper-list,
  .salkantay-menu__down-list {
    height: auto;
    margin: 0;
  }

  .salkantay-menu__down-list > li {
    display: flex;
    align-items: center;
    gap: 1.4rem;
  }

  .st-sam-header-social {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
  }

  .st-sam-header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 1px solid rgba(2, 36, 146, 0.2);
    border-radius: 50%;
    color: var(--runas-forest);
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .st-sam-header-social a:hover,
  .st-sam-header-social a:focus {
    background: var(--runas-forest);
    color: var(--runas-ivory);
  }

  .salkantay-menu a.cta-contact-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19rem;
    min-height: 4.4rem;
    padding: 1.1rem 1.8rem;
    border-radius: 0.5rem;
    background: var(--runas-terracotta) !important;
    background-color: var(--runas-terracotta) !important;
    color: var(--runas-paper);
    font-family: var(--runas-sans);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    box-shadow: 0 7px 16px rgba(2, 36, 146, 0.22);
  }

  .salkantay-menu a.cta-contact-us:hover,
  .salkantay-menu a.cta-contact-us:focus {
    background: var(--runas-terracotta-dark) !important;
    background-color: var(--runas-terracotta-dark) !important;
    color: var(--runas-paper);
  }

  .salkantay-menu__nav,
  #mega-menu-wrap-max_mega_menu_1 {
    background: var(--runas-ivory) !important;
  }

  .salkantay-menu__nav {
    border-top: 1px solid var(--runas-line-soft);
    border-bottom: 1px solid var(--runas-line-soft);
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
    background: transparent !important;
    text-align: center;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
    border-left: 1px solid rgba(2, 36, 146, 0.1);
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item:last-child {
    border-right: 1px solid rgba(2, 36, 146, 0.1);
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
    height: 5.4rem !important;
    min-height: 0 !important;
    padding: 0 1.5rem !important;
    background: transparent !important;
    color: var(--runas-forest) !important;
    font-family: var(--runas-sans) !important;
    font-size: 1.28rem !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 5.4rem !important;
    text-transform: uppercase;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:focus {
    background: rgba(2, 36, 146, 0.08) !important;
    color: var(--runas-forest-dark) !important;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link .mega-indicator {
    display: inline-block !important;
    float: none !important;
    margin-left: 0.55rem;
    line-height: inherit !important;
    vertical-align: top;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu {
    background: var(--runas-paper) !important;
    border: 1px solid rgba(2, 36, 146, 0.14) !important;
    border-radius: 0 0 0.7rem 0.7rem !important;
    box-shadow: 0 12px 28px rgba(37, 39, 36, 0.14) !important;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    border-left: 4px solid var(--runas-terracotta) !important;
    background: var(--runas-paper) !important;
    color: #17212b !important;
    font-family: var(--runas-sans) !important;
    font-size: 1.34rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    padding: 1rem 1.4rem !important;
  }

  /* Keep the inline menu badge together when a long tour name wraps. */
  #mega-menu-wrap-max_mega_menu_1 #toprm {
    display: inline-block;
    margin-left: 0.45rem;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
  }

  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover {
    background: var(--runas-forest) !important;
    color: var(--runas-paper) !important;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Step 2: static home hero image
 * Replace the rotating home slider with one existing WordPress/ACF hero photo.
 * ------------------------------------------------------------------------- */
.main-header .hero-slide {
  background: var(--runas-forest-dark);
}

.main-header .hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: 8.5rem 6vw 4rem;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  background: rgba(1, 26, 110, 0.48);
  text-align: left;
}

.main-header .hero-slide__home-shelf {
  position: relative;
  top: auto;
  left: auto;
  z-index: 3;
  width: min(62rem, 100%);
  height: auto;
  min-height: 0;
  padding: 0;
  gap: 1.8rem;
  align-items: flex-start;
  overflow: visible;
  transform: none;
  background: transparent;
  text-align: left;
}

.main-header .hero-slide__home-shelf .wta-container {
  width: auto;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.main-header .runas-ta-card {
  border-color: rgba(247, 245, 238, 0.72);
  border-radius: 0.8rem;
  background: rgba(247, 245, 238, 0.9);
  box-shadow: 0 10px 26px rgba(2, 36, 146, 0.2);
  animation: none;
}

.main-header .hero-slide__home-shelf .cta-container,
.main-header .hero-slide__home-shelf .cta-container.center {
  width: 100%;
  padding: 0;
  text-align: left;
}

.main-header .hero-slide__home-shelf .cta-container h1 {
  max-width: 12ch;
  margin: 0 0 1.6rem;
  padding: 0;
  color: var(--runas-ivory);
  font-family: var(--runas-serif);
  font-size: clamp(4.2rem, 5vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(1, 26, 110, 0.3);
}

.main-header .hero-slide__home-shelf .cta-container p {
  max-width: 48rem;
  margin: 0 0 2.4rem;
  color: rgba(247, 245, 238, 0.92);
  font-family: var(--runas-sans);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.55;
}

.runas-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 1.3rem 2.2rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: var(--runas-terracotta);
  color: var(--runas-paper);
  font-family: var(--runas-sans);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(2, 36, 146, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.runas-hero__cta:hover,
.runas-hero__cta:focus {
  background: var(--runas-terracotta-dark);
  color: var(--runas-paper);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-slide__image-container.runas-static-hero {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide__image-container.runas-static-hero .hero-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 62%;
}

@media screen and (min-width: 992px) {
  .main-header .hero-slide__content {
    padding: 5rem 7vw;
  }

  .hero-slide__image-container.runas-static-hero {
    display: block !important;
  }
}

@media screen and (max-width: 991px) {
  .main-header .hero-slide__content {
    padding-top: 10rem;
  }

  .main-header .hero-slide__home-shelf {
    width: min(54rem, 100%);
  }

  .main-header .hero-slide__home-shelf .cta-container h1 {
    font-size: clamp(3.8rem, 8vw, 5.5rem);
  }
}

@media screen and (max-width: 767px) {
  .main-header {
    min-height: 62rem;
    height: calc(100vh - 7rem);
    height: calc(100svh - 7rem);
  }

  .main-header .hero-slide__content {
    padding: 10rem 2.2rem 4rem;
    background: rgba(1, 26, 110, 0.54);
  }

  .main-header .hero-slide__home-shelf {
    gap: 1.4rem;
  }

  .main-header .hero-slide__home-shelf .cta-container h1 {
    max-width: 11ch;
    font-size: clamp(3.4rem, 11vw, 4.8rem);
    line-height: 1.02;
  }

  .main-header .hero-slide__home-shelf .cta-container p {
    max-width: 34rem;
    font-size: 1.5rem;
  }

  .hero-slide__image-container.runas-static-hero .hero-slide__image {
    object-position: 57% 66%;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Step 3: homepage values, reviews, guides, and tour cards.
 * Scope all layout changes to .runas-home so other templates stay unchanged.
 * ------------------------------------------------------------------------- */
.runas-home {
  background: var(--runas-paper);
  color: var(--runas-charcoal);
}

.runas-values {
  padding: 6.5rem 0 5.5rem;
  background: var(--runas-blue-tint);
  border-bottom: 1px solid var(--runas-line-soft);
}

.runas-values__head {
  max-width: 68rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.runas-values__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--runas-terracotta-dark);
  font-family: var(--runas-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.runas-values__title,
.runas-trust__title {
  margin: 0;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.runas-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.runas-values__item {
  min-width: 0;
  padding: 0.5rem 2.6rem;
  border-left: 1px solid var(--runas-line-soft);
  color: var(--runas-charcoal);
  text-align: center;
  text-decoration: none;
}

.runas-values__item:first-child {
  border-left: 0;
}

.runas-values__item:hover,
.runas-values__item:focus {
  color: var(--runas-charcoal);
  text-decoration: none;
}

.runas-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(2, 36, 146, 0.18);
  border-radius: 50%;
  color: var(--runas-forest);
  font-size: 1.7rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.runas-values__item:hover .runas-values__icon,
.runas-values__item:focus .runas-values__icon {
  background: var(--runas-forest);
  color: var(--runas-ivory);
}

.runas-values__item h3 {
  margin: 0 0 0.8rem;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.runas-values__item p {
  margin: 0;
  color: rgba(37, 39, 36, 0.72);
  font-size: 1.4rem;
  line-height: 1.55;
}

.runas-home .runas-trust {
  padding: 7rem 0;
  background: var(--runas-paper);
}

.runas-home .runas-trust__head {
  margin-bottom: 3.5rem;
}

.runas-home .runas-trust__title {
  margin-bottom: 1rem;
}

.runas-home .runas-trust__subtitle {
  color: rgba(37, 39, 36, 0.66);
  font-size: 1.5rem;
}

.runas-home .runas-trust__grid {
  gap: 2rem;
}

.runas-home .runas-trust__card {
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(37, 39, 36, 0.08);
}

.runas-home .runas-trust__photo {
  aspect-ratio: 4 / 3;
}

.runas-home .runas-trust__card .runas-review {
  padding: 2rem;
  border-top: 3px solid var(--runas-gold);
  background: var(--runas-ivory);
}

.runas-home .runas-review blockquote {
  color: rgba(37, 39, 36, 0.86);
  font-family: var(--runas-serif);
  font-size: 1.45rem;
  font-style: normal;
  line-height: 1.65;
}

.runas-home .runas-review figcaption,
.runas-home .runas-review__date {
  color: rgba(37, 39, 36, 0.62);
  font-family: var(--runas-sans);
  font-size: 1.2rem;
}

.runas-home .runas-review__name {
  color: var(--runas-forest);
}

.runas-home .section-title,
.runas-home .section-title-inner-page,
.runas-home .section-title-inner-page1 {
  color: var(--runas-forest) !important;
  font-family: var(--runas-serif) !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
}

.runas-home .section-title a,
.runas-home .section-title a:visited {
  color: var(--runas-forest) !important;
}

.runas-home .section-title a:hover,
.runas-home .section-title a:focus-visible {
  color: var(--runas-terracotta-dark) !important;
}

.runas-home .section-title-inner-page,
.runas-home .section-title-inner-page1 {
  color: var(--runas-terracotta-dark) !important;
}

.runas-home .section-subtitle,
.runas-home .section-description {
  color: rgba(37, 39, 36, 0.76);
}

/* Keep the complete local-company story visible at every breakpoint. */
.runas-home .richardspace,
.runas-home .richardspace .section-description,
.runas-home .richardspace .richardicons,
.runas-home .richardspace .richardicons ul,
.runas-home .richardspace .richardicons li {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.runas-home .richardspace img[alt="Why choose Runas Expeditions"] {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

/* White tour cards used by the day-tour and package sliders. */
.runas-home .tour-card {
  height: 100%;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.8rem;
  background: var(--runas-paper);
  color: var(--runas-charcoal);
  box-shadow: 0 8px 22px rgba(37, 39, 36, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.runas-home .tour-card:hover,
.runas-home .tour-card:focus {
  color: var(--runas-charcoal);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 39, 36, 0.13);
}

.runas-home .tour-card__image {
  padding-top: 66%;
}

.runas-home .tour-card__location {
  padding: 1.2rem;
}

.runas-home .tour-card__location span {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(2, 36, 146, 0.14);
  border-radius: 2rem;
  background: rgba(247, 245, 238, 0.94);
  color: var(--runas-forest);
  font-size: 1rem;
  letter-spacing: 0;
}

.runas-home .tour-card__content,
.runas-home .tour-card:hover .tour-card__content {
  position: relative;
  bottom: auto;
  left: auto;
  min-height: 28rem;
  height: auto;
  padding: 2rem;
  justify-content: flex-start;
  background: var(--runas-paper);
  color: var(--runas-charcoal);
}

.runas-home .tour-card__content .visited-places {
  margin-bottom: 0.6rem;
  color: var(--runas-terracotta-dark);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runas-home .tour-card__content .title {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 2.2rem;
  line-height: 1.2;
}

.runas-home .tour-card__content .duration-price {
  padding-top: 0.9rem;
  color: rgba(37, 39, 36, 0.66);
  font-size: 1.3rem;
  letter-spacing: 0;
}

.runas-home .tour-card__content .excerpt {
  margin-top: 1.4rem;
  color: rgba(37, 39, 36, 0.74);
  font-size: 1.35rem;
  line-height: 1.6;
  -webkit-line-clamp: 3;
}

.runas-home .tour-card__content .btn-wrapper {
  margin-top: auto;
  padding-top: 1.8rem;
  text-align: left;
}

.runas-home .tour-card .btn-salkantay.solid-primary {
  border-radius: 0.4rem;
  background: var(--runas-terracotta);
  color: var(--runas-paper);
}

/* Bootstrap-style tour cards used by the primary trek sliders. */
.runas-home .card-tour {
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.8rem;
  background: var(--runas-paper);
  box-shadow: 0 8px 22px rgba(37, 39, 36, 0.08);
}

.runas-home .card-tour .container-featured > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.runas-home .card-tour .container-featured img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.runas-home .card-tour .box-title {
  position: static;
  padding: 0;
  background: transparent;
}

.runas-home .card-tour .title-tour {
  margin: 0;
  padding: 1.6rem 1.6rem 0;
  border-left: 0;
  line-height: 1.2;
}

.runas-home .card-tour .box-title h3 a {
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.25;
}

.runas-home .card-tour .card-content {
  padding: 1.4rem 1.6rem 1.8rem !important;
}

.runas-home .card-tour .short-itinerary,
.runas-home .card-tour .resumen {
  color: rgba(37, 39, 36, 0.68);
  line-height: 1.55;
}

.runas-home .card-tour .box-itinerario {
  border-top-color: var(--runas-gold);
}

.runas-home .card-tour .price_amount {
  color: var(--runas-forest);
}

.runas-home .card-tour .box-btn-book {
  background: var(--runas-terracotta);
}

.runas-home .card-tour .box-btn-book a {
  color: var(--runas-paper);
  font-size: 1.2rem;
}

/* Existing real guide portraits. */
.runas-home .our-collaborators-img {
  margin: 1.2rem 0;
  padding: 0.8rem;
}

.runas-home .our-collaborators-img a {
  overflow: hidden;
  border-radius: 0.8rem 0.8rem 0 0;
}

.runas-home .our-collaborators-img a img.img_guide {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% center;
}

.runas-home .our-collaborators-img a[href*="eddy-champi"] img.img_guide {
  object-position: 78% center;
}

.runas-home .our-collaborators-img a[href*="santiago"] img.img_guide {
  object-position: 52% center;
}

.runas-home .our-collaborators-img a[href*="ruben_tour"] img.img_guide {
  object-position: 42% center;
}

.runas-home .our-collaborators-img p {
  position: static;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--runas-line-soft);
  border-top: 0;
  border-radius: 0 0 0.8rem 0.8rem;
  background: var(--runas-ivory);
}

.runas-home .our-collaborators-img p strong {
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 2rem;
  font-weight: 600;
}

.runas-home .our-collaborators-img p span {
  color: var(--runas-terracotta-dark);
  font-family: var(--runas-sans);
  font-size: 1.3rem;
  font-weight: 600;
}

@media screen and (max-width: 991px) {
  .runas-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .runas-values__item:nth-child(3) {
    border-left: 0;
  }
}

@media screen and (max-width: 575px) {
  .runas-values,
  .runas-home .runas-trust {
    padding: 5rem 0;
  }

  .runas-values__head {
    margin-bottom: 3rem;
  }

  .runas-values__grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .runas-values__item,
  .runas-values__item:nth-child(3) {
    padding: 2rem 1rem;
    border-left: 0;
    border-top: 1px solid var(--runas-line-soft);
  }

  .runas-values__item:first-child {
    border-top: 0;
  }

  .runas-home .tour-card__content,
  .runas-home .tour-card:hover .tour-card__content {
    min-height: 0;
  }

  .runas-home .our-collaborators-img a[href*="eddy-champi"] img.img_guide {
    object-position: 80% center;
  }

  .runas-home .our-collaborators-img a[href*="santiago"] img.img_guide {
    object-position: 54% center;
  }

  .runas-home .our-collaborators-img a[href*="ruben_tour"] img.img_guide {
    object-position: 40% center;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 2 — Step 4: local story and footer.
 * Keep existing photos, links, trust marks, and mobile accordion behavior.
 * ------------------------------------------------------------------------- */
.runas-local-story {
  padding: 7rem 0;
  background: var(--runas-blue-tint);
}

.runas-local-story .section-presentation {
  max-width: 78rem;
  margin: 0 auto 3.5rem;
}

.runas-local-story__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--runas-terracotta-dark);
  font-family: var(--runas-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.runas-local-story__intro {
  max-width: 68rem;
  margin: 1.4rem auto 0;
  color: rgba(37, 39, 36, 0.72);
  font-size: 1.55rem;
  line-height: 1.7;
  text-align: center;
}

.runas-local-story .gives-back-container .row {
  margin-right: -0.6rem;
  margin-left: -0.6rem;
}

.runas-local-story .gives-back-container .row > div {
  padding: 0.6rem;
}

.runas-local-story .gives-back-box {
  height: 32rem;
  border-radius: 0.8rem;
  background: var(--runas-forest);
  color: var(--runas-ivory);
  box-shadow: 0 8px 24px rgba(37, 39, 36, 0.1);
  overflow: hidden;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.runas-local-story .gives-back-box:hover,
.runas-local-story .gives-back-box:focus,
.runas-local-story .gives-back-box:active,
.runas-local-story .gives-back-box:focus-visible,
.runas-local-story .gives-back-box:visited {
  color: var(--runas-ivory);
  text-decoration: none;
  text-shadow: none;
}

.runas-local-story .gives-back-box__image {
  position: absolute;
  inset: 0;
}

.runas-local-story .gives-back-box__image,
.runas-local-story .gives-back-box__image picture,
.runas-local-story .gives-back-box__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.runas-local-story .gives-back-box__image img {
  object-fit: cover;
  object-position: center 40%;
}

.runas-local-story .gives-back-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(25, 28, 35, 0) 0%,
    rgba(25, 28, 35, 0.72) 55%,
    #10141b 100%
  );
}

.runas-local-story .gives-back-box__content,
.runas-local-story .gives-back-box__content.primary {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2.4rem;
  align-items: flex-end;
  justify-content: flex-start;
  background: transparent;
  text-align: left;
  text-shadow: none;
}

.runas-local-story .gives-back-box:hover .gives-back-box__image img {
  transform: none;
}

.runas-local-story .gives-back-box__content-wrapper {
  display: block;
  width: 100%;
  overflow: hidden;
}

.runas-local-story .gives-back-box__title {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--runas-ivory);
  font-family: var(--runas-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  opacity: 1;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  -webkit-text-fill-color: var(--runas-ivory);
  -webkit-text-stroke: 0 transparent;
  filter: none;
  -webkit-filter: none;
  -webkit-box-reflect: unset;
}

.runas-local-story .gives-back-box:hover .gives-back-box__title,
.runas-local-story .gives-back-box:focus .gives-back-box__title,
.runas-local-story .gives-back-box:active .gives-back-box__title,
.runas-local-story .gives-back-box:visited .gives-back-box__title {
  color: var(--runas-ivory);
  text-decoration: none;
  text-shadow: none;
}

.runas-local-story .gives-back-box::before,
.runas-local-story .gives-back-box__content::before,
.runas-local-story .gives-back-box__content::after,
.runas-local-story .gives-back-box__content-wrapper::before,
.runas-local-story .gives-back-box__content-wrapper::after,
.runas-local-story .gives-back-box__title::before,
.runas-local-story .gives-back-box__title::after {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
}

.runas-local-story .gives-back-box__content-wrapper > :not(.gives-back-box__title) {
  display: none !important;
}

.runas-local-story .gives-back-box__subtitle,
.gives-back-box__subtitle {
  display: none;
}

.salkantay-trekking-associations {
  padding: 3.5rem 0;
  border-top: 1px solid var(--runas-line-soft);
  background: var(--runas-ivory);
}

.salkantay-trekking-associations ul {
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.salkantay-trekking-associations ul li,
.salkantay-trekking-associations ul li:not(:first-child) {
  margin: 0;
}

.salkantay-trekking-associations ul li img {
  max-width: 15rem;
  height: 7rem;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
}

footer.main-footer {
  background: var(--runas-charcoal);
  color: rgba(247, 245, 238, 0.82);
}

.main-footer__landscape {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: saturate(0.65) brightness(0.75);
}

.main-footer .footer-update {
  background: var(--runas-charcoal);
}

.main-footer .footer-update__menu-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.main-footer .footer-update__menu-container > div + div::before {
  border-left-color: rgba(247, 245, 238, 0.12);
}

.main-footer .footer-update__menu-container > div.collapsable-block h3,
.main-footer .footer-update__menu-block h3 {
  color: var(--runas-ivory);
  font-family: var(--runas-serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.main-footer .footer-update__menu-container > div.collapsable-block h3 {
  border-bottom-color: rgba(247, 245, 238, 0.16);
}

.main-footer .footer-update__menu-container > div.collapsable-block h3::after {
  color: var(--runas-teal);
  font-size: 1.2rem;
}

.main-footer .footer-update__menu-block li,
.main-footer .footer-update__menu-block a {
  color: rgba(247, 245, 238, 0.74);
  font-size: 1.3rem;
  line-height: 1.55;
}

.main-footer .footer-update__menu-block a:hover,
.main-footer .footer-update__menu-block a:focus {
  color: var(--runas-ivory);
  text-decoration-color: var(--runas-teal);
}

.main-footer .footer-update__menu-block .btn-salkantay {
  border-radius: 0.4rem;
}

.main-footer .footer-update__menu-block .btn-salkantay.solid-primary {
  background: var(--runas-terracotta);
  color: var(--runas-paper);
}

.main-footer .footer-update__menu-block .btn-salkantay.solid-primary:hover,
.main-footer .footer-update__menu-block .btn-salkantay.solid-primary:focus-visible {
  background: var(--runas-blue-hover);
  color: var(--runas-paper);
}

.main-footer .footer-update__menu-block .btn-salkantay.outline-white {
  border-color: rgba(247, 245, 238, 0.45);
  color: var(--runas-ivory);
}

.main-footer .footer-copyright {
  padding-top: 4.5rem;
  border-top-color: rgba(247, 245, 238, 0.12);
  background: #1b201c;
}

.main-footer .footer-update__social-media2 {
  border-color: rgba(247, 245, 238, 0.16);
  background: var(--runas-forest-dark);
}

.main-footer .footer-update__social-media2 a {
  color: rgba(247, 245, 238, 0.84);
}

.main-footer .footer-update__social-media2 li span:hover,
.main-footer .footer-update__social-media2 a:focus span {
  color: var(--runas-teal);
}

.main-footer .runas-trust-badges {
  margin-bottom: 2.2rem;
  padding: 1.8rem 0;
  border-color: rgba(247, 245, 238, 0.12);
}

.main-footer .runas-trust-badges__label {
  color: rgba(247, 245, 238, 0.66);
  font-size: 1rem;
}

.main-footer .runas-trust-badges__item {
  color: var(--runas-ivory);
}

.main-footer .footer-copyright .logo-footer img {
  max-width: 22rem;
  max-height: 5rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.main-footer .footer-copyright h5 {
  color: rgba(247, 245, 238, 0.56);
  font-weight: 500;
}

.main-footer .footer-down-links a {
  color: rgba(247, 245, 238, 0.76) !important;
}

@media screen and (min-width: 768px) {
  .runas-local-story .gives-back-container .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .runas-local-story {
    padding: 5rem 0;
  }

  .runas-local-story .gives-back-box {
    height: 25rem;
  }

  .runas-local-story .gives-back-box__image img {
    object-position: center 32%;
  }

  .runas-local-story .gives-back-box::after {
    height: 52%;
    background: linear-gradient(
      180deg,
      rgba(25, 28, 35, 0) 0%,
      rgba(16, 20, 27, 0.86) 42%,
      #10141b 66%,
      #10141b 100%
    );
  }

  .runas-local-story .gives-back-box,
  .runas-local-story .gives-back-box:hover,
  .runas-local-story .gives-back-box:focus,
  .runas-local-story .gives-back-box:active,
  .runas-local-story .gives-back-box:focus-visible,
  .runas-local-story .gives-back-box:visited,
  .runas-local-story .gives-back-box__content,
  .runas-local-story .gives-back-box__content.primary,
  .runas-local-story .gives-back-box__content-wrapper,
  .runas-local-story .gives-back-box__title {
    color: var(--runas-ivory) !important;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-box-reflect: unset !important;
  }

  .runas-local-story .gives-back-box__title {
    -webkit-text-fill-color: var(--runas-ivory) !important;
    -webkit-text-stroke: 0 transparent !important;
  }

  .runas-local-story .gives-back-box::before,
  .runas-local-story .gives-back-box__content::before,
  .runas-local-story .gives-back-box__content::after,
  .runas-local-story .gives-back-box__content-wrapper::before,
  .runas-local-story .gives-back-box__content-wrapper::after,
  .runas-local-story .gives-back-box__title::before,
  .runas-local-story .gives-back-box__title::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
  }

  .main-footer__landscape {
    min-height: 9rem;
    object-fit: cover;
    object-position: center bottom;
  }

  .salkantay-trekking-associations ul li {
    width: calc(50% - 1.25rem);
  }

  .salkantay-trekking-associations ul li img {
    max-width: 12rem;
    height: 5.5rem;
  }

  .main-footer .footer-update__menu-container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
}

/* Restore inline legacy-blue presentation to the Runas brand palette. */
.runas-home section[style*="background-color:#02249208"],
.runas-home section[style*="background-color: #02249208"] {
  background-color: var(--runas-blue-tint) !important;
}

.runas-home [style*="color: #022492"],
.runas-home [style*="color:#022492"] {
  color: var(--runas-blue) !important;
}

.runas-home > div[style*="background-color: #f0f0f0"] {
  background-color: var(--runas-ivory) !important;
}

.runas-home .upper-line::before {
  background-color: var(--runas-gold);
}

.runas-local-story .upper-line::before {
  content: none;
  display: none;
}

.runas-trust + .salkantay-section .section-presentation h1,
.runas-trust + .salkantay-section .section-presentation h2,
.runas-trust + .salkantay-section .section-presentation h3,
.runas-trust + .salkantay-section .section-presentation [style*="color"] {
  color: var(--runas-forest) !important;
}

.runas-trust + .salkantay-section .section-presentation [style*="Reey"] {
  color: var(--runas-terracotta-dark) !important;
}

.runas-home .btn-salkantay.outline-white,
.runas-home .btn-salkantay.solid-primary {
  border-color: var(--runas-terracotta);
  border-radius: 0.5rem;
  background: var(--runas-terracotta) !important;
  color: var(--runas-paper) !important;
}

.runas-home .btn-salkantay.outline-white:hover,
.runas-home .btn-salkantay.outline-white:focus-visible,
.runas-home .btn-salkantay.solid-primary:hover,
.runas-home .btn-salkantay.solid-primary:focus-visible,
.runas-home .card-tour .box-btn-book:hover,
.runas-home .card-tour .box-btn-book:focus-within {
  border-color: var(--runas-blue-hover);
  background: var(--runas-blue-hover) !important;
  color: var(--runas-paper) !important;
}

.runas-home .swiper-button-next,
.runas-home .swiper-button-prev {
  color: var(--runas-forest) !important;
}

/* Keep trust-card depth subtle while retaining a faint brand-blue cast. */
.runas-home .runas-trust__card,
.runas-home .runas-ta-card {
  box-shadow: 0 1.2rem 2.8rem rgba(2, 36, 146, 0.12);
}

/* Homepage tour search: native WordPress keyword search, no filtering plugin. */
.runas-tour-search {
  position: relative;
  z-index: 5;
  height: 0;
}

.runas-tour-search .container {
  position: relative;
  top: 0;
  transform: translateY(-50%);
}

.runas-tour-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2rem;
  width: min(68rem, calc(100% - 3rem));
  min-height: 5.6rem;
  margin: 0 auto;
  padding: 0.5rem;
  border: 1px solid rgba(2, 36, 146, 0.16);
  border-radius: 0.7rem;
  background: var(--runas-paper);
  box-shadow: 0 1.4rem 3.2rem rgba(37, 39, 36, 0.18);
}

.runas-tour-search__input {
  min-width: 0;
  height: 4.6rem;
  padding: 0 1.5rem;
  border: 0;
  background: transparent;
  color: var(--runas-charcoal);
  font-family: var(--runas-sans);
  font-size: 1.5rem;
  outline: 0;
}

.runas-tour-search__input::placeholder {
  color: rgba(37, 39, 36, 0.58);
}

.runas-tour-search__input:focus-visible {
  box-shadow: inset 0 -2px 0 var(--runas-gold);
}

.runas-tour-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.6rem;
  border: 1px solid var(--runas-forest);
  border-radius: 0.5rem;
  background: var(--runas-forest);
  color: var(--runas-paper);
  font-size: 1.7rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.runas-tour-search__button:hover,
.runas-tour-search__button:focus-visible {
  border-color: var(--runas-blue-hover);
  background: var(--runas-blue-hover);
}

.runas-tour-search__hint {
  width: min(68rem, calc(100% - 3rem));
  margin: 0.8rem auto 0;
  color: var(--runas-forest);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

.runas-tour-search__results {
  position: absolute;
  top: 5.6rem;
  left: 50%;
  z-index: 8;
  width: min(68rem, calc(100% - 3rem));
  max-height: 34rem;
  padding: 0.6rem;
  overflow-y: auto;
  transform: translateX(-50%);
  border: 1px solid var(--runas-line-soft);
  border-radius: 0 0 0.7rem 0.7rem;
  background: var(--runas-paper);
  box-shadow: 0 1.8rem 3.6rem rgba(37, 39, 36, 0.2);
}

.runas-tour-search__results[hidden] {
  display: none;
}

.runas-tour-search__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.4rem;
  padding: 1rem 1.2rem;
  border-radius: 0.4rem;
  color: var(--runas-charcoal);
  text-decoration: none;
}

.runas-tour-search__result:hover,
.runas-tour-search__result:focus-visible,
.runas-tour-search__result.is-active {
  background: var(--runas-ivory);
  color: var(--runas-forest);
  text-decoration: none;
}

.runas-tour-search__result-title {
  font-family: var(--runas-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}

.runas-tour-search__result-type {
  flex-shrink: 0;
  color: var(--runas-terracotta-dark);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runas-tour-search__empty {
  margin: 0;
  padding: 1.3rem;
  color: rgba(37, 39, 36, 0.7);
  font-size: 1.35rem;
  text-align: center;
}

.runas-home .runas-values {
  padding-top: 9rem;
}

/* Keep TripAdvisor trust beside the testimonials instead of over the hero. */
.runas-trust__tripadvisor {
  display: flex;
  justify-content: center;
  margin-top: 3.2rem;
}

.runas-trust__tripadvisor .runas-ta-card {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  max-width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.7rem;
  background: var(--runas-paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
}

.runas-trust__tripadvisor .runas-ta-card__verified {
  background: var(--runas-forest);
}

@media screen and (max-width: 767px) {
  .runas-tour-search__form {
    grid-template-columns: minmax(0, 1fr) 4.8rem;
    width: calc(100% - 2.4rem);
  }

  .runas-tour-search__input {
    padding: 0 1.1rem;
    font-size: 1.4rem;
  }

  .runas-tour-search__hint {
    display: none;
  }

  .runas-tour-search__results {
    top: 5.6rem;
    width: calc(100% - 2.4rem);
  }

  .runas-tour-search__result {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .runas-home .runas-values {
    padding-top: 7.5rem;
  }

  .runas-trust__tripadvisor .runas-ta-card {
    flex-direction: column;
    width: min(18rem, 100%);
  }
}

/* Search results: replace the legacy blue cards and incomplete ACF labels. */
.runas-search-page {
  min-height: 60vh;
  background: var(--runas-blue-tint);
  color: var(--runas-charcoal);
}

.runas-search-page__header {
  padding: 6.5rem 0 5rem;
  border-bottom: 1px solid var(--runas-line-soft);
  background: var(--runas-paper);
  text-align: center;
}

.runas-search-page__eyebrow {
  margin: 0 0 1rem;
  color: var(--runas-terracotta-dark);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runas-search-page__header h1 {
  margin: 0;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.12;
  text-transform: none;
}

.runas-search-page__header h1 span {
  color: var(--runas-terracotta-dark);
}

.runas-search-page__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(62rem, 100%);
  margin: 2.5rem auto 0;
  padding: 0.5rem;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.7rem;
  background: var(--runas-paper);
  box-shadow: 0 1rem 2.4rem rgba(37, 39, 36, 0.08);
}

.runas-search-page__form input {
  min-width: 0;
  min-height: 4.6rem;
  padding: 0 1.4rem;
  border: 0;
  background: transparent;
  color: var(--runas-charcoal);
  font-size: 1.45rem;
  outline: 0;
}

.runas-search-page__form button {
  min-height: 4.6rem;
  padding: 0 2rem;
  border: 1px solid var(--runas-forest);
  border-radius: 0.5rem;
  background: var(--runas-forest);
  color: var(--runas-paper);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.runas-search-page__form button:hover,
.runas-search-page__form button:focus-visible {
  border-color: var(--runas-blue-hover);
  background: var(--runas-blue-hover);
}

.runas-search-page__results {
  padding: 5rem 0 7rem;
}

.runas-search-grid {
  display: grid;
  gap: 1.8rem;
}

.runas-search-card {
  display: grid;
  grid-template-columns: 28rem minmax(0, 1fr) 18rem;
  min-height: 23rem;
  overflow: hidden;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.7rem;
  background: var(--runas-paper);
  box-shadow: 0 0.8rem 2rem rgba(37, 39, 36, 0.07);
}

.runas-search-card__image {
  display: block;
  min-height: 23rem;
  overflow: hidden;
  background: rgba(2, 36, 146, 0.08);
}

.runas-search-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 23rem;
  object-fit: cover;
  transition: transform 300ms ease;
}

.runas-search-card__image:hover img {
  transform: scale(1.025);
}

.runas-search-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 23rem;
  color: var(--runas-gold);
  font-size: 4rem;
}

.runas-search-card__content {
  align-self: center;
  min-width: 0;
  padding: 2.4rem;
}

.runas-search-card__type {
  margin: 0 0 0.7rem;
  color: var(--runas-terracotta-dark);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runas-search-card__content h2 {
  margin: 0 0 1rem;
  font-family: var(--runas-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.runas-search-card__content h2 a {
  color: var(--runas-forest);
  text-decoration: none;
}

.runas-search-card__content h2 a:hover,
.runas-search-card__content h2 a:focus-visible {
  color: var(--runas-terracotta-dark);
}

.runas-search-card__excerpt {
  margin: 0;
  color: rgba(37, 39, 36, 0.78);
  font-size: 1.4rem;
  line-height: 1.6;
}

.runas-search-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1.5rem 0 0;
}

.runas-search-card__meta div {
  display: flex;
  gap: 0.5rem;
}

.runas-search-card__meta dt,
.runas-search-card__meta dd {
  margin: 0;
  font-size: 1.2rem;
}

.runas-search-card__meta dt {
  color: rgba(37, 39, 36, 0.58);
  font-weight: 600;
}

.runas-search-card__meta dd {
  color: var(--runas-charcoal);
}

.runas-search-card__action {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.2rem;
  border-left: 1px solid var(--runas-line-soft);
  background: rgba(247, 245, 238, 0.56);
  text-align: center;
}

.runas-search-card__price {
  margin: 0;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.runas-search-card__price span {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(37, 39, 36, 0.58);
  font-family: var(--runas-sans);
  font-size: 1rem;
  text-transform: uppercase;
}

.runas-search-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.6rem;
  padding: 1rem 1.4rem;
  border-radius: 0.5rem;
  background: var(--runas-terracotta);
  color: var(--runas-paper);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.runas-search-card__button:hover,
.runas-search-card__button:focus-visible {
  background: var(--runas-terracotta-dark);
  color: var(--runas-paper);
  text-decoration: none;
}

.runas-search-empty {
  padding: 5rem 2rem;
  text-align: center;
}

.runas-search-empty h2 {
  margin: 0 0 1rem;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 3.2rem;
  font-weight: 500;
}

.runas-search-page .navigation.pagination {
  margin-top: 3.5rem;
}

.runas-search-page .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.runas-search-page .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  min-height: 4rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.4rem;
  background: var(--runas-paper);
  color: var(--runas-forest);
  text-decoration: none;
}

.runas-search-page .page-numbers.current,
.runas-search-page .page-numbers:hover {
  border-color: var(--runas-forest);
  background: var(--runas-forest);
  color: var(--runas-paper);
}

@media screen and (max-width: 991px) {
  .runas-search-card {
    grid-template-columns: 22rem minmax(0, 1fr);
  }

  .runas-search-card__action {
    align-items: center;
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--runas-line-soft);
    border-left: 0;
  }

  .runas-search-card__button {
    min-width: 15rem;
  }
}

@media screen and (max-width: 767px) {
  .runas-search-page__header {
    padding: 4.5rem 0 4rem;
  }

  .runas-search-page__header h1 {
    font-size: 3.4rem;
  }

  .runas-search-page__form {
    width: calc(100% - 2rem);
  }

  .runas-search-page__form button {
    padding: 0 1.3rem;
  }

  .runas-search-page__results {
    padding: 3.5rem 0 5rem;
  }

  .runas-search-card {
    grid-template-columns: 1fr;
  }

  .runas-search-card__image,
  .runas-search-card__image img,
  .runas-search-card__placeholder {
    min-height: 21rem;
    max-height: 21rem;
  }

  .runas-search-card__content {
    padding: 2rem;
  }

  .runas-search-card__action {
    align-items: stretch;
    grid-column: auto;
    flex-direction: column;
  }
}

/* ---------------------------------------------------------------------------
 * Tour pages — replace the remaining legacy-blue presentation components.
 * ------------------------------------------------------------------------- */
.itinerary-presentation-section2 {
  padding-bottom: 6rem;
  background-color: var(--runas-blue-tint);
  background-image: none;
}

header .hero {
  overflow: hidden;
}

@media (max-width: 767px) {
  header .hero .hero-content {
    align-items: flex-end;
    padding-bottom: 3.2rem;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 35%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  header .hero .hero-content h1 {
    margin-bottom: 0;
    padding-bottom: 1.2rem;
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.12;
    width: 100%;
    text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.65);
  }

  header .hero .hero-content h1::after {
    width: 5rem;
    height: 3px;
  }
}

.itinerary-presentation-section2 .tour-route-container {
  padding: 2rem 1.6rem 0;
}

.itinerary-presentation-section2 .tour-route-container .main-visited-places {
  margin: 0;
  color: var(--runas-charcoal);
  font-family: var(--runas-sans);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: none;
}

.itinerary-presentation-section2 .tour-route-container .main-visited-places .icon {
  color: var(--runas-forest);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.runas-tour-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.itinerary-presentation-section2 .features-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: auto;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.8rem;
  background: var(--runas-paper);
  box-shadow: 0 1.2rem 3rem rgba(37, 39, 36, 0.14);
}

.itinerary-presentation-section2 .features-container .main-features-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  order: -1;
  margin: 0;
  background: var(--runas-paper);
}

.itinerary-presentation-section2 .main-features-list .feature-separator {
  display: none;
}

.itinerary-presentation-section2 .main-feature-item {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 11rem;
  margin: 0;
  padding: 1.7rem 1rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
  border: 0;
  border-right: 1px solid var(--runas-line-soft);
  border-bottom: 1px solid var(--runas-line-soft);
  border-radius: 0;
  background: var(--runas-paper);
  color: var(--runas-charcoal);
  text-align: center;
}

.itinerary-presentation-section2 .main-feature-item:nth-child(4n + 3),
.itinerary-presentation-section2 .main-feature-item:last-child {
  border-right: 0;
}

.itinerary-presentation-section2 .main-feature-item:last-child {
  grid-column: 1 / -1;
}

.itinerary-presentation-section2 .main-feature-item .icon {
  width: 3.8rem;
  height: 3.8rem;
  margin: 0;
  padding: 0;
  fill: none;
  stroke: var(--runas-forest);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.itinerary-presentation-section2 .main-feature-item .content {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  line-height: 1.2;
}

.itinerary-presentation-section2 .main-feature-item .content strong {
  display: block;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.15;
}

.itinerary-presentation-section2 .main-feature-item .content span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(37, 39, 36, 0.62);
  font-family: var(--runas-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.itinerary-presentation-section2 .features-container > .video-feature {
  display: flex;
  min-height: 7.2rem;
  padding: 1.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--runas-forest);
  color: var(--runas-ivory);
  font-family: var(--runas-sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.itinerary-presentation-section2 .features-container > .video-feature:first-child::after {
  content: none;
}

.itinerary-presentation-section2 .features-container > .video-feature:last-child::after {
  content: none;
}

.itinerary-presentation-section2 .features-container > .video-feature:hover,
.itinerary-presentation-section2 .features-container > .video-feature:focus-visible {
  background: var(--runas-blue-hover);
  color: var(--runas-paper);
}

.itinerary-presentation-section2 .features-container > .video-feature .runas-tour-action-icon {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 3.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.itinerary-presentation-section2 .features-container > .video-feature span {
  color: inherit;
}

.itinerary-presentation-section2 .runas-pricing {
  margin-top: 3rem;
}

/* Tour introduction heading and responsive-tab active state. */
.itinerary-presentation-section2 .itinerary-subtitle {
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-weight: 600;
  letter-spacing: 0;
}

.itinerary-presentation-section2 .intro-separator {
  border-bottom-color: var(--runas-line-soft);
}

#Mainsingle .content-single .responsive-tabs .responsive-tabs__list__item--active,
#Mainsingle .content-single .responsive-tabs .responsive-tabs__list__item--active:hover {
  border-color: var(--runas-terracotta) !important;
  color: var(--runas-forest) !important;
}

#Mainsingle .responsive-tabs .responsive-tabs__list__item--active::before {
  filter: brightness(0) saturate(100%) invert(16%) sepia(97%) saturate(4782%) hue-rotate(232deg) brightness(60%) contrast(120%) !important;
}

#Mainsingle .content-single .responsive-tabs .responsive-tabs__list__item:hover {
  color: var(--runas-terracotta-dark) !important;
}

@media screen and (min-width: 768px) {
  .itinerary-presentation-section2 .tour-route-container {
    padding: 0 1.6rem;
    margin-bottom: 1.2rem;
  }

  .itinerary-presentation-section2 .tour-route-container .main-visited-places {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
  }

  .itinerary-presentation-section2 .tour-route-container .main-visited-places .icon {
    flex: 0 0 auto;
    margin: 0.15rem 0 0;
  }

  .itinerary-presentation-section2 .features-container {
    grid-template-columns: 8.5rem minmax(0, 1fr) 8.5rem;
    margin-top: -5rem;
  }

  .itinerary-presentation-section2 .features-container .main-features-list {
    grid-column: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    order: 0;
  }

  .itinerary-presentation-section2 .main-feature-item,
  .itinerary-presentation-section2 .main-feature-item:nth-child(4n + 3),
  .itinerary-presentation-section2 .main-feature-item:last-child {
    grid-column: auto;
    min-height: 14rem;
    border-right: 1px solid var(--runas-line-soft);
    border-bottom: 0;
  }

  .itinerary-presentation-section2 .main-feature-item:last-child {
    border-right: 0;
  }

  .itinerary-presentation-section2 .features-container > .video-feature {
    min-height: 14rem;
    flex-direction: column;
  }
}

/* Why Travel With Us — modern cards scoped to the single-tour include. */
.runas-why-us__title.richardtitle {
  margin: 5rem 0 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--runas-forest);
  font-family: var(--runas-serif);
  font-size: clamp(2.8rem, 3.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.runas-why-us__title.richardtitle::before {
  content: none;
  display: none;
}

.runas-why-us.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.runas-why-us .runas-why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin: 0;
}

.runas-why-us__grid > .col-md-2 {
  width: auto;
  max-width: none;
  padding: 0;
}

.runas-why-us__grid > .col-md-2 > div {
  height: 100%;
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid var(--runas-line-soft);
  border-radius: 0.8rem !important;
  background: var(--runas-paper);
  box-shadow: 0 0.8rem 2.2rem rgba(37, 39, 36, 0.08) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.runas-why-us__grid > .col-md-2 > div:hover {
  border-color: rgba(2, 36, 146, 0.5);
  box-shadow: 0 1.2rem 2.8rem rgba(37, 39, 36, 0.14) !important;
  transform: translateY(-0.3rem);
}

.runas-why-us__grid .img-full {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.runas-why-us__grid .s-ours-card-title {
  margin: 0 !important;
  padding: 1.7rem 1.5rem 0.8rem !important;
}

.runas-why-us__grid .s-ours-card-title h3 {
  margin: 0;
  color: var(--runas-forest) !important;
  font-family: var(--runas-serif);
  font-size: 2rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-transform: none;
}

.runas-why-us__grid .s-ours-card-link {
  padding: 0 1.5rem 1.7rem !important;
}

.runas-why-us__grid .s-ours-card-link .btn1 {
  display: inline-flex;
  width: 100%;
  min-height: 4.4rem;
  padding: 1rem 1.5rem !important;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid var(--runas-terracotta) !important;
  border-radius: 0.5rem !important;
  background: var(--runas-terracotta) !important;
  color: var(--runas-paper) !important;
  font-family: var(--runas-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.runas-why-us__grid .s-ours-card-link .btn1:hover,
.runas-why-us__grid .s-ours-card-link .btn1:focus-visible {
  border-color: var(--runas-terracotta-dark) !important;
  background: var(--runas-terracotta-dark) !important;
  color: var(--runas-paper) !important;
}

@media screen and (min-width: 640px) {
  .runas-why-us .runas-why-us__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 992px) {
  .runas-why-us .runas-why-us__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------------------
 * Tour pages — mobile section accordion and long-form content containment.
 * The CMS already outputs .tabtitle/.tabcontent pairs. JavaScript progressively
 * enhances those pairs on small screens while desktop keeps its existing tabs.
 * ------------------------------------------------------------------------- */
.runas-tour-sections__intro {
  display: none;
}

@media (max-width: 767px) {
  #Mainsingle {
    overflow: visible;
  }

  #Mainsingle .content-single.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 2.4rem 1.6rem 4rem !important;
  }

  #Mainsingle .content-single article,
  #Mainsingle .content-single .responsive-tabs,
  #Mainsingle .content-single .tabcontent {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #Mainsingle .content-single .tabcontent {
    padding: 1.8rem 0.2rem 2.8rem !important;
    border: 0;
  }

  #Mainsingle .content-single .tabcontent > .row,
  #Mainsingle .content-single .tabcontent .containerrm > .row {
    margin-right: 0;
    margin-left: 0;
  }

  #Mainsingle .content-single img,
  #Mainsingle .content-single video,
  #Mainsingle .content-single iframe {
    max-width: 100%;
    height: auto;
  }

  #Mainsingle .content-single table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #Mainsingle .content-single h2,
  #Mainsingle .content-single h3,
  #Mainsingle .content-single h4,
  #Mainsingle .content-single p,
  #Mainsingle .content-single li,
  #Mainsingle .content-single a,
  #Mainsingle .content-single strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  #Mainsingle .content-single ul,
  #Mainsingle .content-single ol {
    margin-left: 0;
    padding-left: 1.4rem;
  }

  .runas-tour-accordion--ready .runas-tour-sections__intro {
    display: flex;
    margin: 0 0 1.2rem;
    padding: 0 0 1.2rem;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid var(--runas-line-soft);
  }

  .runas-tour-sections__intro strong {
    color: var(--runas-forest);
    font-family: var(--runas-serif);
    font-size: 2rem;
    line-height: 1.2;
  }

  .runas-tour-sections__intro span {
    color: #486581;
    font-size: 1.4rem;
    line-height: 1.45;
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__heading {
    position: relative;
    width: 100%;
    min-height: 5.6rem;
    margin: 0.8rem 0 0;
    padding: 1.4rem 4.8rem 1.4rem 1.6rem;
    border: 1px solid var(--runas-line-soft);
    border-radius: 0.8rem;
    background: var(--runas-paper);
    box-shadow: 0 0.4rem 1.2rem rgba(37, 39, 36, 0.06);
    color: var(--runas-forest) !important;
    cursor: pointer;
    font-family: var(--runas-sans);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__heading::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.6rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--runas-blue-tint);
    color: var(--runas-forest);
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.2rem;
    text-align: center;
    transform: translateY(-50%);
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__heading[aria-expanded="true"] {
    border-color: rgba(2, 36, 146, 0.42);
    background: var(--runas-blue-tint);
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__heading[aria-expanded="true"]::after {
    content: "\2212";
    background: var(--runas-forest);
    color: var(--runas-paper);
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__heading:focus-visible {
    outline: 3px solid rgba(2, 36, 146, 0.28);
    outline-offset: 2px;
  }

  #Mainsingle .runas-tour-accordion--ready .runas-tour-accordion__panel[hidden] {
    display: none !important;
  }

  .itinerary-presentation-section2 .container,
  .itinerary-presentation-section2 .intro-container {
    max-width: 100%;
  }

  .itinerary-presentation-section2 .intro-container,
  .itinerary-presentation-section2 > .container:not(.features-container) {
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }

  .itinerary-presentation-section2 .intro-wrapper,
  .itinerary-presentation-section2 .itinerary-introduction {
    min-width: 0;
    max-width: 100%;
  }

  .hero .hero-content .container {
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }

  .hero .hero-content h1 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .itinerary-presentation-section2 .tour-route-container {
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }
}
