/* ==========================================================================
   Holiday Raptors – tour pages (single-tour.php, archive-tour.php)

   Brand colours are set here directly. The primary navy no longer reads
   Elementor's global Primary: that global is a near-white on this site, which
   turned the card price and the title hover invisible.
   ========================================================================== */

.hr-tour,
.hr-tours {
  --hr-primary: #13334B;        /* navy - headings, day numbers, price panel */
  --hr-green: #98C28F;          /* light green from the homepage headings */
  --hr-green-strong: #4C7A43;   /* same green, dark enough for small text */
  --hr-accent: var(--e-global-color-accent, #DDD36C);
  --hr-accent-ink: #13334B;
  --hr-text: #1B2A36;
  --hr-muted: #56646F;
  --hr-bg: #FFFFFF;
  --hr-surface: #F4F6F8;
  --hr-line: #DDE3E8;
  --hr-hero-bg: #0D2536;
  --hr-radius: 14px;
  --hr-heading-font: var(--e-global-typography-primary-font-family, inherit);

  display: block;
  background: var(--hr-bg);
  color: var(--hr-text);
  font-size: 16px;
  line-height: 1.65;
}

.hr-tour *,
.hr-tours * {
  box-sizing: border-box;
}

.hr-tour .hr-wrap,
.hr-tours .hr-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hr-tour h1, .hr-tour h2, .hr-tour h3, .hr-tour h4,
.hr-tours h1, .hr-tours h2 {
  font-family: var(--hr-heading-font);
  color: var(--hr-text);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.hr-tour .hr-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hr-accent);
}

/* Buttons ----------------------------------------------------------------- */

.hr-tour .hr-btn,
.hr-tours .hr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--hr-accent);
  color: var(--hr-accent-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hr-tour .hr-btn:hover, .hr-tour .hr-btn:focus,
.hr-tours .hr-btn:hover, .hr-tours .hr-btn:focus {
  background: var(--hr-accent);
  color: var(--hr-accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px var(--hr-accent);
}

.hr-tour .hr-btn--block { display: flex; width: 100%; }
.hr-tours .hr-btn--small { padding: 9px 18px; font-size: 14px; }

.hr-tour :focus-visible,
.hr-tours :focus-visible {
  outline: 3px solid var(--hr-accent);
  outline-offset: 2px;
}

/* Hero -------------------------------------------------------------------- */

.hr-tour .hr-hero {
  position: relative;
  overflow: hidden;
  background: var(--hr-hero-bg);
  color: #fff;
}

.hr-tour .hr-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hr-tour .hr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 38, .82) 0%, rgba(9, 26, 38, .55) 55%, rgba(9, 26, 38, .3) 100%);
}

.hr-tour .hr-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.hr-tour .hr-crumbs,
.hr-tour .hr-crumbs a,
.hr-tour .hr-crumbs span {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.hr-tour .hr-crumbs p { margin: 0; }
.hr-tour .hr-crumbs a:hover { color: #fff; text-decoration: underline; }
.hr-tour .hr-hero .hr-eyebrow { margin: 0; }

.hr-tour .hr-hero__title {
  max-width: 16ch;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}

.hr-tour .hr-hero__lede {
  max-width: 56ch;
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, .92);
}

.hr-tour .hr-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.hr-tour .hr-route li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
}

.hr-tour .hr-route li + li::before {
  content: "→";
  margin-left: -28px;
  margin-right: 12px;
  opacity: .7;
}

.hr-tour .hr-route li + li { margin-left: 20px; }

.hr-tour .hr-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.hr-tour .hr-price-tag {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.1;
}

.hr-tour .hr-price-tag__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.hr-tour .hr-price-tag__amount {
  font-family: var(--hr-heading-font);
  font-size: 40px;
  font-weight: 800;
  color: var(--hr-accent);
}

.hr-tour .hr-price-tag__note { font-size: 13px; opacity: .85; }

/* Facts strip ------------------------------------------------------------- */

.hr-tour .hr-facts {
  background: var(--hr-surface);
  border-bottom: 1px solid var(--hr-line);
}

.hr-tour .hr-facts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 0;
  margin: 0 auto;
  padding-top: 22px;
  padding-bottom: 22px;
}

.hr-tour .hr-facts__item {
  padding: 4px 18px;
  border-left: 1px solid var(--hr-line);
}

.hr-tour .hr-facts__item:first-child { border-left: 0; padding-left: 0; }

.hr-tour .hr-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hr-muted);
}

.hr-tour .hr-facts dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Layout ------------------------------------------------------------------ */

.hr-tour .hr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 72px;
}

.hr-tour .hr-section + .hr-section { margin-top: 56px; }

.hr-tour .hr-section h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
}

.hr-tour .hr-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

/* Overview ---------------------------------------------------------------- */

.hr-tour .hr-prose {
  max-width: 68ch;
  margin-top: 12px;
  color: var(--hr-muted);
}

.hr-tour .hr-prose p { margin: 0 0 12px; }
.hr-tour .hr-prose > :last-child { margin-bottom: 0; }

.hr-tour .hr-stays {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hr-tour .hr-stay {
  padding: 16px 18px;
  border: 1px solid var(--hr-line);
  border-radius: var(--hr-radius);
  font-size: 14px;
  color: var(--hr-muted);
}

.hr-tour .hr-stay strong {
  display: block;
  font-family: var(--hr-heading-font);
  font-size: 20px;
  color: var(--hr-text);
}

.hr-tour .hr-stay__nights { font-weight: 700; color: var(--hr-primary); }

.hr-tour .hr-overview__sub {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
}

.hr-tour .hr-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hr-tour .hr-highlights li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hr-tour .hr-highlights li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hr-accent);
  transform: translateY(-2px);
}

/* Gallery ----------------------------------------------------------------- */

.hr-tour .hr-gallery { display: grid; gap: 10px; }

.hr-tour .hr-gallery--mosaic {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 170px 170px;
}

.hr-tour .hr-gallery--mosaic .hr-gallery__item:first-child { grid-row: span 2; }

.hr-tour .hr-gallery--grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
}

.hr-tour .hr-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--hr-radius);
  background: var(--hr-surface);
}

.hr-tour .hr-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hr-tour .hr-gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Itinerary --------------------------------------------------------------- */

.hr-tour .hr-toggle-all,
.hr-tour .hr-toggle-all:hover,
.hr-tour .hr-toggle-all:focus {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--hr-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.hr-tour .hr-toggle-all:hover { text-decoration: underline; }

.hr-tour .hr-days { display: grid; gap: 14px; }

.hr-tour .hr-day {
  overflow: hidden;
  border: 1px solid var(--hr-line);
  border-radius: var(--hr-radius);
  background: var(--hr-bg);
}

.hr-tour .hr-day summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
}

.hr-tour .hr-day summary::-webkit-details-marker { display: none; }

.hr-tour .hr-day__no {
  display: grid;
  place-content: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--hr-primary);
  color: #fff;
  text-align: center;
  line-height: 1;
}

.hr-tour .hr-day__no small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hr-tour .hr-day__no b {
  font-family: var(--hr-heading-font);
  font-size: 24px;
}

.hr-tour .hr-day__head { display: block; }
.hr-tour .hr-day h3 { font-size: 20px; font-weight: 700; }

.hr-tour .hr-day__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--hr-muted);
  font-variant-numeric: tabular-nums;
}

.hr-tour .hr-day__chev {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hr-line);
  border-radius: 50%;
  transition: transform .2s;
}

.hr-tour .hr-day[open] .hr-day__chev { transform: rotate(180deg); }

.hr-tour .hr-day__body {
  display: grid;
  gap: 14px;
  padding: 0 20px 22px 94px;
}

.hr-tour .hr-day__text,
.hr-tour .hr-stop p {
  max-width: 68ch;
  margin: 0;
  font-size: 15px;
  color: var(--hr-muted);
}

.hr-tour .hr-stop h4 {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}

.hr-tour .hr-overnight {
  margin: 4px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--hr-surface);
  font-size: 14px;
  font-weight: 600;
}

/* Sidebar ----------------------------------------------------------------- */

.hr-tour .hr-layout__side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  scroll-margin-top: 110px;
}

.hr-tour .hr-book {
  overflow: hidden;
  border: 1px solid var(--hr-line);
  border-radius: var(--hr-radius);
  background: var(--hr-bg);
  box-shadow: 0 18px 40px -24px rgba(19, 51, 75, .45);
}

.hr-tour .hr-book__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--hr-primary);
  color: #fff;
}

.hr-tour .hr-book__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.hr-tour .hr-book__amount {
  font-family: var(--hr-heading-font);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.hr-tour .hr-book__title { font-size: 20px; }
.hr-tour .hr-book__note { font-size: 13px; opacity: .85; }
.hr-tour .hr-book__body { padding: 20px 22px; }
.hr-tour .hr-book__body > p { margin: 0 0 14px; font-size: 15px; color: var(--hr-muted); }

.hr-tour .hr-contact {
  padding: 18px 22px;
  border-radius: var(--hr-radius);
  background: var(--hr-surface);
  font-size: 14px;
}

.hr-tour .hr-contact__title { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.hr-tour .hr-contact p { margin: 4px 0; color: var(--hr-muted); }
.hr-tour .hr-contact a { color: var(--hr-text); font-weight: 700; text-decoration: none; }
.hr-tour .hr-contact a:hover { text-decoration: underline; }

/* Archive ----------------------------------------------------------------- */

.hr-tours .hr-tours__header {
  padding: 56px 0 28px;
  background: var(--hr-surface);
  border-bottom: 1px solid var(--hr-line);
}

.hr-tours .hr-tours__title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
}

.hr-tours .hr-tours__intro {
  max-width: 65ch;
  margin-top: 10px;
  color: var(--hr-muted);
}

.hr-tours .hr-tours__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hr-tours .hr-tours__filter a {
  padding: 8px 16px;
  border: 1px solid var(--hr-line);
  border-radius: 999px;
  background: var(--hr-bg);
  color: var(--hr-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hr-tours .hr-tours__filter a[aria-current],
.hr-tours .hr-tours__filter a:hover {
  border-color: var(--hr-primary);
  background: var(--hr-primary);
  color: #fff;
}

.hr-tours .hr-tours__content { padding-top: 40px; padding-bottom: 72px; }

.hr-tours .hr-tours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* [hr_tours] placed in an Elementor section: no page padding of its own,
   and a fixed column count set by the shortcode. */
.hr-tours--embed { padding: 0; }

.hr-tours--embed .hr-tours__grid {
  grid-template-columns: repeat(var(--hr-cols, 3), minmax(0, 1fr));
}

.hr-tours--embed .hr-card__title { font-size: 20px; }

@media (max-width: 1024px) {
  .hr-tours--embed .hr-tours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hr-tours--embed .hr-tours__grid { grid-template-columns: minmax(0, 1fr); }
}

.hr-tours .hr-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hr-line);
  border-radius: var(--hr-radius);
  background: var(--hr-bg);
}

.hr-tours .hr-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--hr-surface);
}

.hr-tours .hr-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hr-tours .hr-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9, 26, 38, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hr-tours .hr-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
}

.hr-tours .hr-card__title { font-size: 21px; font-weight: 700; }
.hr-tours .hr-card__title a { color: inherit; text-decoration: none; }
.hr-tours .hr-card__title a:hover { color: var(--hr-green); }
.hr-tours .hr-card__text { margin: 0; font-size: 15px; color: var(--hr-muted); }

.hr-tours .hr-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.hr-tours .hr-card__price { margin: 0; font-size: 13px; color: var(--hr-muted); }
.hr-tours .hr-card__per { white-space: nowrap; }

/* The price is the light green you asked for. It only reaches 2:1 contrast on
   white, so if it reads too faint on a phone, swap --hr-green for
   --hr-green-strong on the line below: same colour family, 5:1 contrast. */
.hr-tours .hr-card__price strong {
  font-family: var(--hr-heading-font);
  font-size: 24px;
  color: var(--hr-green);
}

.hr-tours .navigation.pagination { margin-top: 40px; }
.hr-tours .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

.hr-tours .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--hr-line);
  border-radius: 8px;
  color: var(--hr-text);
  font-weight: 700;
  text-decoration: none;
}

.hr-tours .page-numbers.current {
  border-color: var(--hr-primary);
  background: var(--hr-primary);
  color: #fff;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
  .hr-tour .hr-layout { grid-template-columns: minmax(0, 1fr); }
  .hr-tour .hr-layout__side { position: static; }
}

@media (max-width: 860px) {
  .hr-tour .hr-facts__list { grid-template-columns: repeat(2, 1fr); }
  .hr-tour .hr-facts__item { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .hr-tour .hr-hero__inner { padding-top: 48px; padding-bottom: 44px; }
  .hr-tour .hr-gallery--mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 130px; }
  .hr-tour .hr-gallery--mosaic .hr-gallery__item:first-child { grid-column: span 2; grid-row: auto; }
  .hr-tour .hr-highlights { grid-template-columns: 1fr; }
  .hr-tour .hr-day summary { gap: 12px; padding: 16px; }
  .hr-tour .hr-day__no { width: 48px; height: 48px; }
  .hr-tour .hr-day__no b { font-size: 20px; }
  .hr-tour .hr-day__body { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-tour *, .hr-tours * { transition: none !important; }
}

.hr-tours .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
