/* Listings: tour cards, results page, destinations bento and transfer rows (ported from the Next.js site). */
.amwaj h2, .amwaj h3 { padding: 0; }
.amwaj ul { list-style: none; margin: 0; padding: 0; }

/* Tour card (brand guide p.12) in the quiet editorial style: photo first, no card box, one hairline above the price. */
.amwaj .tcard { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.amwaj .tphoto { position: relative; aspect-ratio: 4/3; border-radius: var(--r-image); overflow: hidden; background: var(--surface); transition: transform .5s var(--ease-out); }
.amwaj .tcard:hover .tphoto { transform: translateY(-4px); }
.amwaj .tphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amwaj .tphoto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }
.amwaj .tbody { display: flex; flex-direction: column; gap: 6px; padding: 16px 2px 0; flex: 1; }
.amwaj .tfrom { font-size: 13px; color: var(--muted); }
.amwaj .tcard h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 500; color: var(--head); transition: color .2s; }
.amwaj .tcard:hover h3 { color: var(--accent-text); }
.amwaj .tfacts { margin: 2px 0 14px; display: grid; gap: 2px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.amwaj .tfacts li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amwaj .tfacts li:first-child { color: var(--head); }
.amwaj .tfoot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.amwaj .tprice { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: var(--head); }
.amwaj .tprice small { font-size: 13px; color: var(--muted); }
.amwaj .tprice b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.amwaj .tprice b.onrequest { font-size: 15px; font-weight: 500; }
.amwaj .trating { font-size: 13px; color: var(--muted); white-space: nowrap; }
.amwaj .trating .star { color: var(--gold); }
.amwaj .tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.amwaj .tgrid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amwaj .tgrid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .amwaj .tgrid, .amwaj .tgrid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .amwaj .tgrid, .amwaj .tgrid.cols-2, .amwaj .tgrid.cols-4 { grid-template-columns: 1fr; gap: 32px; } }

/* Results after GetYourGuide / Tripadvisor: filters left, results right. */
.amwaj-results { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.amwaj-results .filters { position: sticky; top: 104px; display: grid; gap: 32px; }
.amwaj .fgroup h2 { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.amwaj .fgroup ul { display: grid; }
.amwaj .fgroup a { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text); text-decoration: none; font-size: 15px; transition: color .15s; }
.amwaj .fgroup a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; transition: background-color .25s; }
.amwaj .fgroup a:hover { color: var(--head); }
.amwaj .fgroup a[aria-current="true"] { color: var(--head); font-weight: 500; }
.amwaj .fgroup a[aria-current="true"]::before { background: var(--gold); box-shadow: none; }
.amwaj .rbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.amwaj .rbar p { font-size: 15px; color: var(--muted); padding: 0; }
.amwaj .sort label { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.amwaj .sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--head); font: 500 15px var(--font-sans); cursor: pointer; padding: 4px 18px 4px 0; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-size: 5px 5px; background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-repeat: no-repeat; }
.amwaj .sort select option { color: #000; background: #fff; }
.amwaj .empty { text-align: center; padding: 72px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amwaj .empty h2 { font-size: 24px; }
.amwaj .empty p { margin: 8px auto 0; }
.amwaj .empty .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 1100px) { .amwaj-results .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .amwaj-results { grid-template-columns: 1fr; gap: 24px; }
  .amwaj-results .filters { position: static; gap: 16px; }
  .amwaj .fgroup h2 { border: 0; padding-bottom: 4px; margin: 0; }
  /* Filters scroll sideways on phones, like Tripadvisor's filter pills. */
  .amwaj .fgroup ul { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; }
  .amwaj .fgroup ul::-webkit-scrollbar { display: none; }
  .amwaj .fgroup a { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; font-size: 14px; }
  .amwaj .fgroup a::before { display: none; }
  .amwaj .fgroup a[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--head); }
}
@media (max-width: 600px) { .amwaj-results .tgrid { grid-template-columns: 1fr; } }

/* Destinations bento (brand guide DestinationGrid). */
.amwaj .bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 24vw, 320px); gap: 12px; }
.amwaj .tile { position: relative; overflow: hidden; border-radius: var(--r-tile); background: var(--surface); color: #fff; text-decoration: none; isolation: isolate; }
.amwaj .tile.lead { grid-column: span 2; grid-row: span 2; }
.amwaj .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.amwaj .tile:hover img { transform: scale(1.04); }
.amwaj .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .7) 100%); z-index: 1; }
.amwaj .tcap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 32px); transition: transform .5s var(--ease-out); }
.amwaj .tile:hover .tcap { transform: translateY(-4px); }
.amwaj .tcap small { font-size: 13px; color: rgba(255, 255, 255, .8); }
.amwaj .tcap b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.amwaj .tile.lead .tcap b { font-size: clamp(30px, 4vw, 52px); }
.amwaj .tcap span { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 40ch; }
@media (max-width: 900px) { .amwaj .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .amwaj .tile.lead { grid-column: auto; grid-row: span 1; } }

/* Transfer rows. */
.amwaj .tr-list { display: grid; border-top: 1px solid var(--line); }
.amwaj .tr-row { display: grid; grid-template-columns: 1fr auto 24px; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color .25s; }
.amwaj .tr-row:hover { background: var(--surface); }
.amwaj .tr-row b { display: block; color: var(--head); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.amwaj .tr-row small { color: var(--muted); font-size: 14px; }
.amwaj .tr-row .price { color: var(--head); font-weight: 600; white-space: nowrap; }
.amwaj .tr-row svg { color: var(--muted); transition: transform .5s var(--ease-out), color .25s; }
.amwaj .tr-row:hover svg { transform: translateX(4px); color: var(--head); }
@media (max-width: 600px) { .amwaj .tr-row { grid-template-columns: 1fr 24px; } .amwaj .tr-row .price { grid-column: 1; grid-row: 2; } }

/* "More tours from…" under a tour. */
.amwaj.related .h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 28px; padding: 0; }
