/**
 * Ayoub Skin — skin.css
 *
 * Header, navigation, search dialog, footer, and skin-specific section layouts.
 * Tokens only: all colours and font-family values use var(--...).
 */

/* header */
.site-header,
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--header-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 44px;
}

.brand__name {
  display: block;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--navy);
}

.brand__tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 3px;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  font-family: var(--font-body);
}

.nav__link:hover {
  color: var(--orange);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.nav__link .icon {
  width: 14px;
  height: 14px;
}

.nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s;
  z-index: 105;
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown.is-open .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
}

.dropdown a:hover {
  background: var(--sand);
  color: var(--orange);
}

.dropdown small {
  color: var(--muted);
  font-weight: 500;
}

.dropdown hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .site-header,
  .navbar {
    overflow-x: clip;
  }
  .nav-toggle {
    display: inline-grid;
  }
  .header-actions .btn {
    display: none;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    margin: 0;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .site-header__inner {
    gap: 12px;
  }
  .header-actions {
    margin-left: auto;
    gap: 4px;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link[aria-current="page"]::after {
    display: none;
  }
  .nav__link[aria-current="page"] {
    color: var(--orange);
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 10px 12px;
    display: none;
  }
  .nav__item--dropdown.is-open .dropdown {
    display: block;
  }
  .nav__cta {
    margin-top: 24px;
    display: grid;
    gap: 12px;
  }
  body.nav-open {
    overflow: hidden;
  }
  /* backdrop-filter makes the header the containing block for the fixed .nav panel,
     shrinking it to the header's height; drop it while the menu is open. */
  body.nav-open .navbar {
    backdrop-filter: none;
  }
}

@media (min-width: 1025px) {
  .nav__cta {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
  }
  .brand__mark {
    width: 34px;
    height: 38px;
  }
  .brand__tag {
    display: none;
  }
  .brand__name {
    font-size: 0.95rem;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
}

/* search dialog */
.search-dialog {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  width: min(640px, calc(100% - 32px));
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.search-dialog::backdrop {
  background: var(--backdrop);
}

.search-dialog__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 14px 20px;
}

.search-dialog input {
  flex: 1;
  border: 0;
  font-size: 1.15rem;
  padding: 10px 0;
  outline: none;
  min-width: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
}

.search-dialog__hints {
  padding: 0 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* footer */
.site-footer {
  background: var(--navy-900);
  color: var(--footer-text);
  padding-top: 56px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--footer-border);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand__name {
  color: var(--white);
}

.site-footer .brand__tag {
  color: var(--peach);
}

.site-footer h2,
.site-footer h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact .icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--peach);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--footer-social-bg);
}

.socials a:hover {
  background: var(--orange);
  text-decoration: none;
}

.socials .icon {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  font-size: 0.85rem;
  color: var(--footer-bottom);
}

.footer-about {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 0.92rem;
}

/* wa-float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn-wa);
  color: var(--white);
  box-shadow: var(--wa-shadow);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.06);
  color: var(--white);
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  body.has-mobile-book .wa-float {
    bottom: 92px;
  }
}

/* page-hero */
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--page-hero-overlay-1) 0%, var(--page-hero-overlay-2) 55%, var(--page-hero-overlay-3) 100%);
}

.page-hero h1 {
  color: var(--white);
  max-width: 20ch;
}

.page-hero p {
  max-width: 58ch;
  font-size: 1.1rem;
  color: var(--hero-text);
}

.page-hero--plain {
  background: var(--navy);
}

/* breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hero-text);
}

.breadcrumbs li + li::before {
  content: "›";
  opacity: 0.7;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--white);
}

/* card grid */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card-grid--4,
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* tour card */
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tour-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sand-200);
}

.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.tour-card:hover .tour-card__media img {
  transform: scale(1.05);
}

.tour-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.tour-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}

.tour-card__title {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.tour-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.tour-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tour-card__route {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.tour-card__price {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.tour-card__price small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}

.tour-card:hover .round-arrow {
  background: var(--orange);
}

.tour-card[hidden],
.tour-card.hide {
  display: none;
}

/* tours filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.tour-list__more {
  margin: 28px 0 0;
}

.filters__search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  background: var(--white);
}

.filters__search input {
  border: 0;
  outline: none;
  flex: 1;
  padding: 8px 0;
  min-width: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
}

.filters__search .icon {
  color: var(--muted);
}

.results-note {
  color: var(--muted);
  margin: -12px 0 20px;
  font-size: 0.95rem;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-block: clamp(64px, 9vw, 110px);
  overflow: hidden;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--cta-overlay-1) 0%, var(--cta-overlay-2) 50%, var(--cta-overlay-3) 100%);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band p {
  font-size: 1.15rem;
  color: var(--hero-text);
  margin-bottom: 26px;
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* two-col split & lists */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.rounded-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rounded-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tick-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tick-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tick-list .icon {
  color: var(--green);
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

/* tour page */
.tour-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-block: 28px 56px;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}

.tour-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.tour-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tour-hero-overlay);
}

.tour-hero .container {
  display: flex;
  flex-direction: column;
}

.tour-hero .breadcrumbs {
  margin-bottom: auto;
  padding-bottom: 36px;
}

.tour-hero h1 {
  color: var(--white);
  max-width: 18ch;
  margin: 14px 0 14px;
}

.tour-hero__intro {
  max-width: 58ch;
  font-size: 1.06rem;
  color: var(--hero-text);
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 6px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.tour-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tour-meta .icon {
  width: 20px;
  height: 20px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -1px;
  padding-top: 28px;
}

@media (max-width: 800px) {
  .highlights {
    grid-template-columns: 1fr;
  }
}

.highlight {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.highlight__media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight__body {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
}

.highlight__body .icon {
  color: var(--navy);
  margin-top: 3px;
}

.highlight h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.highlight p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

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

@media (max-width: 1024px) {
  .tour-layout {
    grid-template-columns: 1fr;
  }
}

.tour-main > section {
  margin-bottom: 56px;
}

.tour-main > section:last-child {
  margin-bottom: 0;
}

.title-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.title-rule::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  flex: none;
}

.title-rule h2 {
  margin: 0;
  color: var(--navy);
}

.title-sub {
  color: var(--muted);
  margin: 0 0 28px 52px;
  font-size: 0.95rem;
}

.prose {
  font-size: 1.02rem;
}

.prose p {
  margin-bottom: 1.1em;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.5em;
}

.prose ul li,
.prose ol li {
  margin-bottom: 0.45em;
}

.prose img {
  border-radius: var(--radius);
  margin: 1.5em 0;
}

.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--navy) 0 0) left / 2px 100% no-repeat;
  opacity: 0.14;
}

.day {
  position: relative;
  display: grid;
  grid-template-columns: 44px 220px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.day:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.day__num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--white);
}

.day__num small {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.day__num b {
  font-size: 1.05rem;
}

.day__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.day__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.day h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.25rem;
}


/* faq details */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--ink);
}

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

.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--navy);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--orange);
}

.faq details > div {
  padding: 0 18px 18px 52px;
  color: var(--muted);
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* content blocks */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card .icon {
  width: 32px;
  height: 32px;
  color: var(--orange);
  margin-bottom: 12px;
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.tier--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
  position: relative;
}

.tier--featured::before {
  content: "Most chosen";
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.tier h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.tier .tier__price {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.tier p {
  color: var(--muted);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.rounded-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rounded-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tick-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tick-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tick-list .icon {
  color: var(--green);
  margin-top: 3px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pull-quote {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  margin: 24px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange-50);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.team-card h3 {
  margin-bottom: 2px;
}

.team-card .role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.team-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.team-card q {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--navy);
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .gallery figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-list .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-50);
  color: var(--orange);
}

.contact-list b {
  display: block;
  color: var(--ink);
}

.contact-list a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: auto; /* Astra's inline CSS fixes inputs at 40px, which clips select text under this padding */
  min-height: 3.125rem; /* matches the 50px text inputs; Chrome ignores line-height on select */
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--white);
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: var(--input-focus-shadow);
}

.field .error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 4px;
}

.field--invalid input,
.field--invalid textarea {
  border-color: var(--red);
}

.hp-field,
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.alert--ok {
  background: var(--green-50);
  border: 1px solid var(--alert-ok-border);
  color: var(--alert-ok-text);
}

.alert--err {
  background: var(--red-50);
  border: 1px solid var(--alert-err-border);
  color: var(--alert-err-text);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 14px 0 0;
}

/* blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 960px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.post-card .link-arrow {
  margin-top: auto;
  font-size: 0.92rem;
}

.post-hero {
  padding-block: clamp(40px, 6vw, 72px) 0;
  background: var(--sand);
}

.post-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 22ch;
}

.post-hero .breadcrumbs li,
.post-hero .breadcrumbs a {
  color: var(--muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-cover {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding-block: 48px 72px;
}

.toc {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 32px;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span,
.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.pagination [aria-current],
.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


/* search */
.search-form {
  display: flex;
  gap: 10px;
}

.search-form .search-field {
  flex: 1;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}

.search-results-grid {
  margin-top: 20px;
}

/* prose */
.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.prose h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.prose h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.2em;
}

.prose ul,
.prose ol {
  margin-bottom: 1.2em;
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.4em;
}

.container--narrow {
  max-width: 860px;
}

.center-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-lg {
  margin-top: 28px;
}

.nav-mobile {
  display: none !important;
}

.clear-search-criteria,
#reset-trip-search-criteria {
  color: var(--navy) !important;
}

.clear-search-criteria:hover,
#reset-trip-search-criteria:hover {
  color: var(--orange) !important;
}

.wpte__input {
  max-width: none !important;
  width: auto !important;
  min-width: 120px !important;
}

.wte-filterbar-toggle-btn {
  background-color: var(--navy) !important;
  color: var(--white) !important;
}

.wpte-toolbar-container {
  margin-inline: 0 !important;
  max-width: 100% !important;
}


@media (max-width: 768px) {
  a,
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"] {
    min-height: 24px;
    min-width: 24px;
  }
  a {
    display: inline-block;
  }
  .prose a,
  .post-body a,
  .entry-content a {
    display: inline-block;
    min-height: 24px;
    line-height: 24px;
  }
  .site-footer a,
  .footer a,
  .breadcrumbs a,
  .post-meta a,
  .contact-list a,
  .form-note a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
  }
  .tour-card h3 a,
  .post-card h3 a {
    display: inline-block;
    min-height: 24px;
    line-height: 1.3;
  }
}
