/* ==========================================================================
   Fos7ty Extras — group tours + furnished rentals
   RTL-first (Arabic). Self-contained: no imports, no web fonts, no resets.
   Every rule is scoped to .fos7ty-* so nothing can leak into the theme.
   Mobile first. Breakpoints: 640px and 980px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens

   Colours come from Settings → Colors and are published as --fos7ty-* by
   fos7ty_get_css_variables(). This file must NOT redefine those variables, or
   it would override the owner's palette. It only adds the extra tokens the
   tour/rental templates need, derived from the Core values.
   -------------------------------------------------------------------------- */
:root {
  --fos7ty-primary-dark: var(--fos7ty-secondary, #007b8a);
  --fos7ty-accent: var(--fos7ty-warning, #f59e0b);
  --fos7ty-ink: var(--fos7ty-text, #111111);
  --fos7ty-muted: var(--fos7ty-text-secondary, #555555);
  --fos7ty-line: var(--fos7ty-border, #e5e7eb);
  --fos7ty-surface: var(--fos7ty-bg, #ffffff);
  --fos7ty-bg-soft: rgba(0, 0, 0, .03);
  --fos7ty-radius: 14px;
  --fos7ty-radius-sm: 10px;
  --fos7ty-shadow: 0 6px 24px rgba(18, 35, 46, .08);
  --fos7ty-shadow-lg: 0 14px 34px rgba(18, 35, 46, .14);
  --fos7ty-gap: 20px;
  --fos7ty-tint: rgba(0, 0, 0, .04);
  --fos7ty-tint-accent: rgba(245, 158, 11, .14);
  --fos7ty-danger: var(--fos7ty-error, #ef4444);
  --fos7ty-danger-tint: rgba(239, 68, 68, .08);
  --fos7ty-success-soft: rgba(16, 185, 129, .09);
  --fos7ty-ring: 0 0 0 3px rgba(0, 71, 100, .22);
}

/* --------------------------------------------------------------------------
   2. Layout wrapper
   -------------------------------------------------------------------------- */
.fos7ty-wrap { box-sizing: border-box; direction: rtl; text-align: start; font-family: inherit; color: var(--fos7ty-ink); line-height: 1.7; max-width: 1200px; margin-inline: auto; margin-block: 0 40px; padding-block: 16px; padding-inline: 16px; }
.fos7ty-wrap *, .fos7ty-wrap *::before, .fos7ty-wrap *::after { box-sizing: border-box; }
.fos7ty-wrap img { max-width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.fos7ty-x-hero { display: grid; gap: var(--fos7ty-gap); align-items: stretch; background: var(--fos7ty-surface); border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius); box-shadow: var(--fos7ty-shadow); padding: 16px; margin-block-end: 24px; }
.fos7ty-x-hero-media { position: relative; min-height: 180px; border-radius: var(--fos7ty-radius-sm); background-color: var(--fos7ty-bg); background-size: cover; background-position: center; overflow: hidden; }
.fos7ty-x-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fos7ty-x-hero-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.fos7ty-x-hero-title { margin: 0; font-family: inherit; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.35; font-weight: 700; color: var(--fos7ty-ink); }
.fos7ty-x-hero-excerpt { margin: 0; color: var(--fos7ty-muted); font-size: 1rem; }

/* Chips row */
.fos7ty-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fos7ty-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 12px; border: 1px solid var(--fos7ty-line); border-radius: 999px; background: var(--fos7ty-bg); color: var(--fos7ty-muted); font-size: .85rem; line-height: 1.6; white-space: nowrap; }
.fos7ty-chip strong { color: var(--fos7ty-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   4. Two column layout (main + side)
   -------------------------------------------------------------------------- */
.fos7ty-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fos7ty-gap); align-items: start; }
.fos7ty-main, .fos7ty-side { min-width: 0; }
.fos7ty-sticky { position: static; }

/* --------------------------------------------------------------------------
   5. Cards + titles
   -------------------------------------------------------------------------- */
.fos7ty-x-card { background: var(--fos7ty-surface); border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius); box-shadow: var(--fos7ty-shadow); padding: 18px; margin-block-end: var(--fos7ty-gap); }
.fos7ty-x-card > :last-child { margin-block-end: 0; }
.fos7ty-x-card-title { position: relative; margin: 0 0 14px; padding-inline-start: 14px; font-family: inherit; font-size: 1.15rem; font-weight: 700; line-height: 1.5; color: var(--fos7ty-ink); }
/* small accent bar — flips to the other side automatically in LTR */
.fos7ty-x-card-title::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .45em; width: 4px; height: .9em; border-radius: 999px; background: var(--fos7ty-accent); }
.fos7ty-subtle { color: var(--fos7ty-muted); font-size: .875rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   6. Facts grid
   -------------------------------------------------------------------------- */
.fos7ty-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.fos7ty-fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-bg); }
.fos7ty-fact-label { color: var(--fos7ty-muted); font-size: .8rem; line-height: 1.5; }
.fos7ty-fact-value { color: var(--fos7ty-ink); font-weight: 700; font-size: .975rem; line-height: 1.6; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   7. Lists (included / excluded / bring)
   -------------------------------------------------------------------------- */
.fos7ty-x-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fos7ty-x-list li { position: relative; display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; line-height: 1.7; }
.fos7ty-x-list li::before { flex: 0 0 auto; font-weight: 700; line-height: inherit; }
.fos7ty-x-list.included li::before { content: "✓"; color: var(--fos7ty-success); }
.fos7ty-x-list.excluded li::before { content: "✕"; color: var(--fos7ty-danger); }
.fos7ty-x-list.bring li::before { content: "•"; color: var(--fos7ty-accent); }

/* --------------------------------------------------------------------------
   8. Amenities pills
   -------------------------------------------------------------------------- */
.fos7ty-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fos7ty-amenity { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; border: 1px solid var(--fos7ty-line); border-radius: 999px; background: var(--fos7ty-bg); color: var(--fos7ty-ink); font-size: .9rem; line-height: 1.6; }
.fos7ty-amenity::before { content: "✓"; flex: 0 0 auto; color: var(--fos7ty-primary); font-weight: 700; }

/* --------------------------------------------------------------------------
   9. Departures schedule table
   -------------------------------------------------------------------------- */
.fos7ty-departures { margin-block-end: var(--fos7ty-gap); }
.fos7ty-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); }
.fos7ty-dep-table { width: 100%; min-width: 560px; border-collapse: collapse; border-spacing: 0; text-align: start; font-size: .925rem; background: var(--fos7ty-surface); }
.fos7ty-dep-table th, .fos7ty-dep-table td { padding: 10px 12px; border-bottom: 1px solid var(--fos7ty-line); text-align: start; vertical-align: middle; white-space: nowrap; }
.fos7ty-dep-table thead th { background: var(--fos7ty-tint); color: var(--fos7ty-primary-dark); font-size: .875rem; font-weight: 700; }
.fos7ty-dep-table tbody tr:nth-child(even) { background: var(--fos7ty-bg); }
.fos7ty-dep-table tbody tr:last-child td { border-bottom: 0; }
.fos7ty-dep-table .fos7ty-dep-note { white-space: normal; min-width: 180px; color: var(--fos7ty-muted); }
.fos7ty-dep-date { font-weight: 700; color: var(--fos7ty-ink); }
.fos7ty-dep-time { color: var(--fos7ty-ink); }
.fos7ty-dep-seats { font-weight: 600; }
.fos7ty-dep-price { font-weight: 700; color: var(--fos7ty-primary); }

/* Status badges */
.fos7ty-x-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid transparent; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.fos7ty-x-badge-open { background: var(--fos7ty-success-soft); color: var(--fos7ty-success); border-color: rgba(6, 118, 71, .22); }
.fos7ty-x-badge-full { background: var(--fos7ty-danger-tint); color: var(--fos7ty-danger); border-color: rgba(180, 35, 24, .22); }
.fos7ty-x-badge-closed { background: var(--fos7ty-bg); color: var(--fos7ty-muted); border-color: var(--fos7ty-line); }
.fos7ty-x-badge-next { background: var(--fos7ty-tint-accent); color: #92590a; border-color: rgba(245, 158, 11, .35); }

/* Human readable recurrence rule */
.fos7ty-rule { display: block; margin-block-start: 12px; padding: 10px 14px; border-inline-start: 4px solid var(--fos7ty-accent); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-tint-accent); color: var(--fos7ty-ink); font-size: .9rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   10. Slots / time chips (inside the booking form)
   -------------------------------------------------------------------------- */
.fos7ty-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 12px; }
.fos7ty-slot { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; min-width: 84px; padding: 8px 12px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-surface); color: var(--fos7ty-ink); font-family: inherit; font-size: .9rem; line-height: 1.5; text-align: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.fos7ty-slot:hover { border-color: var(--fos7ty-primary); box-shadow: var(--fos7ty-shadow); }
.fos7ty-slot.is-active { background: var(--fos7ty-primary); border-color: var(--fos7ty-primary); color: #fff; }
.fos7ty-slot.is-active .fos7ty-slot-free, .fos7ty-slot.is-active .fos7ty-slot-label { color: rgba(255, 255, 255, .85); }
.fos7ty-slot.is-full { background: var(--fos7ty-bg); border-color: var(--fos7ty-line); color: var(--fos7ty-muted); opacity: .7; cursor: not-allowed; box-shadow: none; }
.fos7ty-slot.is-full .fos7ty-slot-label { text-decoration: line-through; }
.fos7ty-slot .fos7ty-slot-label { font-weight: 700; font-size: .82rem; color: var(--fos7ty-muted); }
.fos7ty-slot .fos7ty-slot-free { font-size: .75rem; color: var(--fos7ty-muted); }

/* --------------------------------------------------------------------------
   11. Booking card + form
   -------------------------------------------------------------------------- */
.fos7ty-booking { overflow: hidden; padding: 0; }
.fos7ty-booking-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding: 14px 18px; background: var(--fos7ty-tint); border-block-end: 1px solid var(--fos7ty-line); }
.fos7ty-booking-price { font-size: 1.2rem; font-weight: 700; line-height: 1.5; color: var(--fos7ty-primary); }
.fos7ty-booking-price small { display: block; font-size: .75rem; font-weight: 400; color: var(--fos7ty-muted); }
.fos7ty-x-booking-form { padding: 16px 18px 18px; }
.fos7ty-x-field { display: block; margin-block-end: 14px; }
.fos7ty-x-field > label { display: block; margin-block-end: 6px; font-weight: 600; font-size: .875rem; color: var(--fos7ty-ink); }
.fos7ty-x-field input, .fos7ty-x-field select, .fos7ty-x-field textarea { display: block; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-surface); color: var(--fos7ty-ink); font-family: inherit; font-size: .95rem; line-height: 1.6; transition: border-color .15s ease, box-shadow .15s ease; }
.fos7ty-x-field textarea { min-height: 90px; resize: vertical; }
.fos7ty-x-field input:focus, .fos7ty-x-field select:focus, .fos7ty-x-field textarea:focus { outline: none; border-color: var(--fos7ty-primary); box-shadow: var(--fos7ty-ring); }
.fos7ty-x-field input:disabled, .fos7ty-x-field select:disabled, .fos7ty-x-field textarea:disabled { background: var(--fos7ty-bg); color: var(--fos7ty-muted); cursor: not-allowed; }
.fos7ty-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* honeypot: in the DOM, out of sight and out of the tab order */
.fos7ty-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   12. Price breakdown / totals
   -------------------------------------------------------------------------- */
.fos7ty-breakdown { margin-block: 4px 14px; padding: 12px 14px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-bg); font-size: .9rem; }
.fos7ty-bd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 6px; border-block-end: 1px dashed var(--fos7ty-line); color: var(--fos7ty-muted); }
.fos7ty-bd-row:last-child { border-block-end: 0; }
.fos7ty-bd-total { margin-block-start: 8px; padding-block-start: 10px; border-block-start: 2px solid var(--fos7ty-line); font-weight: 700; font-size: 1.05rem; color: var(--fos7ty-ink); }
.fos7ty-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-block-end: 12px; font-weight: 700; font-size: 1.05rem; color: var(--fos7ty-primary); }

/* --------------------------------------------------------------------------
   13. Submit button + messages
   -------------------------------------------------------------------------- */
.fos7ty-submit { display: block; width: 100%; padding: 12px 18px; border: 1px solid var(--fos7ty-primary); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-primary); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.6; text-align: center; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, opacity .15s ease; }
.fos7ty-submit:hover, .fos7ty-submit:focus { background: var(--fos7ty-primary-dark); border-color: var(--fos7ty-primary-dark); box-shadow: var(--fos7ty-shadow); outline: none; }
.fos7ty-submit:disabled, .fos7ty-submit.is-loading { opacity: .6; cursor: progress; box-shadow: none; }
.fos7ty-msg { display: none; margin-block-start: 12px; padding: 10px 14px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-bg); font-size: .9rem; line-height: 1.7; }
.fos7ty-msg.is-visible { display: block; }
.fos7ty-msg.is-error { background: var(--fos7ty-danger-tint); border-color: rgba(180, 35, 24, .3); color: var(--fos7ty-danger); }
.fos7ty-msg.is-success { background: var(--fos7ty-success-soft); border-color: rgba(6, 118, 71, .3); color: var(--fos7ty-success); }
.fos7ty-payload { display: none; }

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.fos7ty-accordion { display: flex; flex-direction: column; gap: 10px; }
.fos7ty-accordion-item { border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-surface); overflow: hidden; }
.fos7ty-accordion-q { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 12px 14px; border: 0; background: transparent; color: var(--fos7ty-ink); font-family: inherit; font-size: .975rem; font-weight: 700; line-height: 1.7; text-align: start; cursor: pointer; }
/* "＋" indicator sits at the line end (left in RTL) */
.fos7ty-accordion-q::after { content: "＋"; flex: 0 0 auto; margin-inline-start: auto; color: var(--fos7ty-accent); font-size: 1.1rem; line-height: 1; transition: transform .2s ease, color .2s ease; }
.fos7ty-accordion-a { max-height: 0; overflow: hidden; padding-inline: 14px; color: var(--fos7ty-muted); line-height: 1.8; transition: max-height .28s ease, padding .28s ease; }
.fos7ty-accordion-a > :first-child { margin-block-start: 0; }
.fos7ty-accordion-item.is-open .fos7ty-accordion-a { max-height: 800px; padding-block-end: 14px; }
.fos7ty-accordion-item.is-open .fos7ty-accordion-q { background: var(--fos7ty-tint); color: var(--fos7ty-primary-dark); }
.fos7ty-accordion-item.is-open .fos7ty-accordion-q::after { transform: rotate(45deg); color: var(--fos7ty-primary); }

/* --------------------------------------------------------------------------
   15. Cards grid (archive + shortcodes)
   -------------------------------------------------------------------------- */
.fos7ty-x-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--fos7ty-gap); }
.fos7ty-x-card-item { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--fos7ty-surface); border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius); box-shadow: var(--fos7ty-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.fos7ty-x-card-item:hover, .fos7ty-x-card-item:focus-within { transform: translateY(-3px); box-shadow: var(--fos7ty-shadow-lg); border-color: rgba(15, 118, 110, .35); }
.fos7ty-x-card-media { position: relative; aspect-ratio: 16 / 10; background-color: var(--fos7ty-bg); background-size: cover; background-position: center; overflow: hidden; }
.fos7ty-x-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fos7ty-x-card-badge { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--fos7ty-accent); color: #3a2400; font-size: .75rem; font-weight: 700; line-height: 1.6; box-shadow: 0 2px 10px rgba(18, 35, 46, .18); }
.fos7ty-x-card-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; padding: 14px 16px 16px; }
.fos7ty-x-card-body .fos7ty-x-card-title { margin: 0; font-size: 1.05rem; }
.fos7ty-x-card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; color: var(--fos7ty-muted); font-size: .82rem; }
.fos7ty-x-card-price { font-weight: 700; font-size: 1rem; color: var(--fos7ty-primary); }
.fos7ty-x-card-link { margin-block-start: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--fos7ty-primary); font-weight: 700; font-size: .9rem; text-decoration: none; border-block-end: 2px solid transparent; }
.fos7ty-x-card-link:hover, .fos7ty-x-card-link:focus { color: var(--fos7ty-primary-dark); border-block-end-color: var(--fos7ty-accent); }

/* --------------------------------------------------------------------------
   16. Archive header + filters
   -------------------------------------------------------------------------- */
.fos7ty-x-archive-head { margin-block-end: var(--fos7ty-gap); padding: 16px 18px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius); background: var(--fos7ty-surface); box-shadow: var(--fos7ty-shadow); }
.fos7ty-x-archive-head h1, .fos7ty-x-archive-head h2 { margin: 0 0 6px; font-family: inherit; font-size: clamp(1.25rem, 3.5vw, 1.75rem); font-weight: 700; line-height: 1.4; color: var(--fos7ty-ink); }
.fos7ty-x-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-block-end: var(--fos7ty-gap); }
.fos7ty-x-filters select, .fos7ty-x-filters input, .fos7ty-x-filters button { max-width: 100%; padding: 9px 12px; border: 1px solid var(--fos7ty-line); border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-surface); color: var(--fos7ty-ink); font-family: inherit; font-size: .9rem; line-height: 1.6; }
.fos7ty-x-filters select:focus, .fos7ty-x-filters input:focus { outline: none; border-color: var(--fos7ty-primary); box-shadow: var(--fos7ty-ring); }

/* --------------------------------------------------------------------------
   17. Rental specifics
   -------------------------------------------------------------------------- */
.fos7ty-rental-widget { margin-block-end: var(--fos7ty-gap); }
.fos7ty-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 7px; border-block-end: 1px dashed var(--fos7ty-line); color: var(--fos7ty-muted); font-size: .9rem; }
.fos7ty-price-row:last-child { border-block-end: 0; }
.fos7ty-price-row strong { color: var(--fos7ty-ink); font-weight: 700; font-size: 1rem; }
.fos7ty-unavailable { display: block; margin-block-start: 10px; padding: 8px 12px; border-radius: var(--fos7ty-radius-sm); background: var(--fos7ty-danger-tint); color: var(--fos7ty-danger); font-size: .85rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   18. Empty state
   -------------------------------------------------------------------------- */
.fos7ty-x-empty { padding: 36px 18px; text-align: center; color: var(--fos7ty-muted); background: var(--fos7ty-bg); border: 1px dashed var(--fos7ty-line); border-radius: var(--fos7ty-radius); font-size: .95rem; line-height: 1.8; }

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.fos7ty-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   20. Responsive — 640px
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .fos7ty-wrap { padding-inline: 20px; }
  .fos7ty-x-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); padding: 20px; }
  .fos7ty-x-hero-media { min-height: 220px; }
  .fos7ty-x-card { padding: 22px; }
  .fos7ty-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fos7ty-x-booking-form { padding: 18px 20px 20px; }
}

/* --------------------------------------------------------------------------
   21. Responsive — 980px
   -------------------------------------------------------------------------- */
@media (min-width: 980px) {
  .fos7ty-wrap { padding-block: 24px; }
  .fos7ty-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  /* sticky side column on desktop only */
  .fos7ty-sticky { position: sticky; top: 24px; }
  .fos7ty-x-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); padding: 24px; }
  .fos7ty-x-hero-media { min-height: 280px; }
  .fos7ty-dep-table th, .fos7ty-dep-table td { padding: 12px 14px; }
}

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */
@media print {
  .fos7ty-no-print, .fos7ty-booking, .fos7ty-side { display: none !important; }
  .fos7ty-wrap { max-width: none; padding: 0; margin: 0; }
  .fos7ty-x-card, .fos7ty-x-card-item, .fos7ty-x-hero, .fos7ty-x-archive-head { box-shadow: none; border-color: #ccc; break-inside: avoid; page-break-inside: avoid; }
  .fos7ty-sticky { position: static; }
  .fos7ty-accordion-a { max-height: none; overflow: visible; padding-block-end: 14px; }
  .fos7ty-accordion-q::after { display: none; }
}

/* --------------------------------------------------------------------------
   23. Card media — real <img> inside the 16:10 box (group tours / rentals)
   -------------------------------------------------------------------------- */
.fos7ty-x-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--fos7ty-bg, #f7f9fa); }
.fos7ty-x-card-media .fos7ty-x-card-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
