/* Marsata public website readability + compact tour cards, November 2026.
   Layered after page-specific styles. Scoped to public pages; excludes dashboards,
   operator/admin portals, booking forms, payment rules and business logic. */

/* The accessible homepage skip link must appear only when keyboard-focused. */
body.ui-home > .skip-link {
  position: fixed; left: 16px; top: -160px; z-index: 1000;
  opacity: 0; pointer-events: none; padding: 11px 16px;
  background: #fff; color: #164c43; border: 2px solid #f37e61;
  border-radius: 0 0 12px 12px; font-size: 15px; font-weight: 700;
  box-shadow: 0 9px 24px rgba(10, 42, 37, .2);
}
body.ui-home > .skip-link:focus,
body.ui-home > .skip-link:focus-visible {
  top: 0; opacity: 1; pointer-events: auto;
  outline: 3px solid #174f49; outline-offset: 2px;
}

/* Homepage: larger readable navigation, buttons, metadata and descriptions. */
body.ui-home { font-size: 16px; }
body.ui-home .announcement { font-size: 12px; line-height: 1.55; }
body.ui-home .nav { gap: 18px; }
body.ui-home .links { font-size: 15px; gap: 18px; }
body.ui-home .nav-login { font-size: 15px; }
body.ui-home .nav-cta { font-size: 15px; padding-inline: 16px; }
body.ui-home .nav-right select.pill { font-size: 14px; }
body.ui-home .mobile-menu a { font-size: 16px; }
body.ui-home .eyebrow { font-size: 12px; letter-spacing: .15em; }
body.ui-home .hero-copy p { font-size: 17px; line-height: 1.6; }
body.ui-home .hero-benefits { font-size: 14px; }
body.ui-home .hero-benefits i { font-size: 12px; }
body.ui-home .search-tab { font-size: 15px; }
body.ui-home .field label { font-size: 12px; letter-spacing: .055em; }
body.ui-home .field input,
body.ui-home .field select { font-size: 16px; }
body.ui-home .search-go { font-size: 16px; }
body.ui-home .search-reassurance { font-size: 12px; }
body.ui-home .interest-label { font-size: 14px; }
body.ui-home .category-chip { font-size: 14px; }
body.ui-home .kicker { font-size: 12px; }
body.ui-home .section-subtitle { font-size: 16px; line-height: 1.65; }
body.ui-home .section-link { font-size: 15px; }
body.ui-home .promo p { font-size: 15px; line-height: 1.65; }
body.ui-home .step strong { font-size: 15px; }
body.ui-home .step p { font-size: 14px; }
body.ui-home .story-banner p,
body.ui-home .story-banner a { font-size: 15px; }
body.ui-home .footer-grid p,
body.ui-home .footer-grid a { font-size: 14px; }

/* Shorter homepage hero: the actual search fields and CTA appear sooner. */
@media (min-width: 1051px) {
  body.ui-home .hero { min-height: 438px; padding-top: 38px; }
  body.ui-home .hero h1 { font-size: clamp(51px, 5vw, 66px); margin: 12px 0 13px; }
  body.ui-home .hero-copy p { max-width: 510px; }
  body.ui-home .hero-benefits { margin-top: 18px; gap: 9px 20px; }
  body.ui-home .search-shell { bottom: -67px; padding: 9px 18px 11px; }
  body.ui-home .search-tab { min-height: 42px; padding: 9px 19px; }
  body.ui-home .search-row { padding-top: 8px; padding-bottom: 3px; }
  body.ui-home .field { padding-block: 3px; min-height: 54px; }
  body.ui-home .search-go { min-height: 54px; }
  body.ui-home .search-reassurance { margin-top: 6px; }
  body.ui-home main { padding-top: 91px; }
}

/* Home featured tour cards: four narrower cards, short pictures, full-size prices. */
body.ui-home .tour-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
body.ui-home .tour-media { aspect-ratio: 1.62; }
body.ui-home .tour-copy { padding: 14px 15px 15px; }
body.ui-home .tour-copy h3 { font-size: 18px; line-height: 1.28; margin-bottom: 8px; }
body.ui-home .tour-location { font-size: 12px; letter-spacing: .04em; }
body.ui-home .tour-copy .meta,
body.ui-home .tour-copy .rating { font-size: 14px; }
body.ui-home .tour-copy .rating { margin: 8px 0 10px; }
body.ui-home .review-count { font-size: 13px; }
body.ui-home .price-line { padding-top: 9px; }
body.ui-home .price { font-size: 19px; }
body.ui-home .price-label,
body.ui-home .price-unit { font-size: 12px; }
body.ui-home .tour-card .badge { font-size: 11px; }
body.ui-home .heart { width: 40px; height: 40px; }

/* Public tour catalogue: more experiences on wide screens, not smaller text. */
body.marsata-tours-body .site-header .nav-links,
body.marsata-destinations-body .site-header .nav-links { font-size: 15px; gap: 12px; }
body.marsata-tours-body .site-header :is(.currency-switcher,.language-switcher) select,
body.marsata-destinations-body .site-header :is(.currency-switcher,.language-switcher) select { font-size: 13px; }
body.marsata-tours-body .marsata-tour-hero p { font-size: 17px; line-height: 1.65; }
body.marsata-tours-body .marsata-tour-hero .tour-breadcrumb { font-size: 13px; }
body.marsata-tours-body .marsata-tour-eyebrow { font-size: 12px; }
body.marsata-tours-body .marsata-tour-search h2 { font-size: 13px !important; }
body.marsata-tours-body .marsata-tour-search-field label { font-size: 12px; }
body.marsata-tours-body .marsata-tour-search-field input { font-size: 16px; }
body.marsata-tours-body .marsata-tour-search-submit { font-size: 15px; }
body.marsata-tours-body .marsata-tour-search-note,
body.marsata-tours-body .marsata-tour-categories-label { font-size: 13px; }
body.marsata-tours-body .marsata-tour-category-chip { font-size: 14px; }
body.marsata-tours-body .filter-panel-title a { font-size: 14px; }
body.marsata-tours-body .filter-group > label,
body.marsata-tours-body .filter-group > legend,
body.marsata-tours-body .filter-label,
body.marsata-tours-body .marsata-tour-radio-choice,
body.marsata-tours-body .filter-group :is(select,input[type=search],input[type=number],input[type=date]) { font-size: 14px !important; }
body.marsata-tours-body .filter-shortcuts a,
body.marsata-tours-body .marsata-more-categories summary,
body.marsata-tours-body .marsata-tour-duration-options label span { font-size: 13px; }
body.marsata-tours-body .filter-apply { font-size: 15px !important; }
body.marsata-tours-body .results-heading p,
body.marsata-tours-body .marsata-tour-discovery-note { font-size: 14px; }
body.marsata-tours-body .sort-form,
body.marsata-tours-body .sort-form select,
body.marsata-tours-body .marsata-map-view-button { font-size: 14px; }
body.marsata-tours-body .active-filters strong,
body.marsata-tours-body .refresh-filter-chip,
body.marsata-tours-body .refresh-clear-filters { font-size: 13px; }

body.marsata-tours-body .tour-grid { gap: 16px; }
body.marsata-tours-body .tour-media { height: auto; aspect-ratio: 1.62; }
body.marsata-tours-body .tour-card .tour-body { padding: 13px; min-height: 0; gap: 7px; }
body.marsata-tours-body .tour-card h3 { font-size: 18px !important; line-height: 1.28; min-height: 0; }
body.marsata-tours-body .tour-card .marsata-tour-excerpt { font-size: 14px; line-height: 1.45; min-height: 0; }
body.marsata-tours-body .tour-kicker { font-size: 12px; }
body.marsata-tours-body .tour-meta-row.meta-rating,
body.marsata-tours-body .tour-card .meta,
body.marsata-tours-body .tour-card .meta-distance:not([hidden]) { font-size: 13px; }
body.marsata-tours-body .tour-card .price small,
body.marsata-tours-body .tour-card .price .price-range { font-size: 12px; }
body.marsata-tours-body .tour-card .price span { font-size: 19px; }
body.marsata-tours-body .tour-actions a { font-size: 14px; }
body.marsata-tours-body .tour-badges .badge { font-size: 11px; }
body.marsata-tours-body .marsata-tour-assurance { font-size: 14px; }

/* Text on Destinations and Travel Tips was also hard to read. */
body.marsata-destinations-body .destinations-lead { font-size: 16px; }
body.marsata-destinations-body .destinations-search-field>span { font-size: 12px; }
body.marsata-destinations-body .destinations-search-field :is(input,select) { font-size: 15px; }
body.marsata-destinations-body .destinations-primary-btn { font-size: 15px; }
body.marsata-destinations-body .destinations-chip { font-size: 14px; }
body.marsata-destinations-body .destination-tour-meta { font-size: 13px; }
body.marsata-destinations-body .destination-tour-info p { font-size: 14px; }
body.marsata-destinations-body .destination-tour-bottom>a { font-size: 14px; }
body.marsata-destinations-body .destinations-card p { font-size: 14px; }
body.marsata-tips-body .mtg-hero-content>p,
body.marsata-tips-body .mtg-detail-hero-inner>p { font-size: 17px; }
body.marsata-tips-body .mtg-hero-search input { font-size: 16px; }
body.marsata-tips-body .mtg-hero-search button,
body.marsata-tips-body .mtg-coral-btn { font-size: 14px; }
body.marsata-tips-body .mtg-category-pill { font-size: 14px; }
body.marsata-tips-body .mtg-section-heading p { font-size: 15px; }
body.marsata-tips-body .mtg-feature-content p,
body.marsata-tips-body .mtg-guide-content p { font-size: 14px; }
body.marsata-tips-body .mtg-guide-content h3 { font-size: 17px !important; }
body.marsata-tips-body .mtg-article-section p { font-size: 16px; }
body.marsata-tips-body .mtg-sort label,
body.marsata-tips-body .mtg-sort select { font-size: 14px; }

@media (min-width: 1320px) {
  body.marsata-tours-body .site-main > .container {
    max-width: 1440px; width: min(1440px, calc(100% - 44px));
  }
  body.marsata-tours-body .results-layout {
    grid-template-columns: 238px minmax(0, 1fr); gap: 22px;
  }
  body.marsata-tours-body .tour-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 1051px) and (max-width: 1319px) {
  body.marsata-tours-body .tour-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 821px) and (max-width: 930px) {
  body.marsata-tours-body .tour-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 601px) and (max-width: 820px) {
  body.marsata-tours-body .tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1180px) and (min-width: 931px) {
  /* A larger menu needs more breathing room; use the existing menu control. */
  body.marsata-tours-body .site-header .mobile-nav-toggle,
  body.marsata-destinations-body .site-header .mobile-nav-toggle { display: flex; }
  body.marsata-tours-body .site-header .nav-links,
  body.marsata-destinations-body .site-header .nav-links { display: none; }
  body.marsata-tours-body .site-header .nav.mobile-open .nav-links,
  body.marsata-destinations-body .site-header .nav.mobile-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    z-index: 90; margin: 0; padding: 18px 25px; flex-wrap: wrap;
    background: #fff; border: 1px solid #e4ede7;
    box-shadow: 0 16px 32px rgba(17, 64, 51, .18);
  }
}
@media (min-width: 1051px) and (max-width: 1180px) {
  body.ui-home .links { display: none; }
  body.ui-home .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 1050px) {
  body.ui-home .hero-copy p { font-size: 16px; }
  body.ui-home .hero-benefits { font-size: 13px; }
  body.ui-home .tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  body.ui-home .announcement { font-size: 11px; }
  body.ui-home .hero h1 { font-size: clamp(40px, 10vw, 57px); }
  body.ui-home .hero-copy p { font-size: 16px; line-height: 1.6; }
  body.ui-home .hero-benefits { font-size: 12px; }
  body.ui-home .search-shell { bottom: -313px; }
  body.ui-home main { padding-top: 343px; }
  body.ui-home .field label { font-size: 12px; }
  body.ui-home .field input,
  body.ui-home .field select { font-size: 16px; }
  body.ui-home .search-go { font-size: 15px; }
  body.ui-home .search-reassurance { font-size: 12px; }
  body.ui-home .tour-grid { grid-template-columns: 1fr; gap: 16px; }
  body.ui-home .tour-media { aspect-ratio: 1.8; }
  body.ui-home .section-subtitle { font-size: 15px; }
  body.ui-home .tour-copy h3 { font-size: 18px; }
  body.ui-home .tour-copy { padding: 15px; }
  body.marsata-tours-body .tour-grid { grid-template-columns: 1fr; }
  body.marsata-tours-body .tour-media { aspect-ratio: 1.75; }
  body.marsata-tours-body .tour-card .tour-body { padding: 15px; }
  body.marsata-tours-body .marsata-tour-hero p { font-size: 15px; }
  body.marsata-tours-body .marsata-tour-search-field label { font-size: 12px; }
  body.marsata-tours-body .marsata-tour-search-submit { font-size: 15px; }
  body.marsata-tips-body .mtg-hero-content>p { font-size: 15px; }
}
@media (max-width: 380px) {
  body.ui-home .hero { min-height: 610px; }
  body.ui-home .search-shell { bottom: -325px; }
  body.ui-home main { padding-top: 362px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ui-home .tour-card,
  body.marsata-tours-body .tour-card { transition: none; }
}
