/* Mobile hero typography for every page. Loaded last (end of <body>) so it wins over page styles. */
@media (max-width: 560px) {
  /* Home: smaller type, sitting lower over the building photo */
  body #main .lx-hero .lx-hero-content { padding-top: 200px !important; }
  body #main .lx-hero .lx-hero-welcome { font-size: 11px !important; letter-spacing: .14em !important; margin-bottom: 8px !important; }
  body #main .lx-hero h1 { font-size: 32px !important; line-height: 1.1 !important; margin-bottom: 8px !important; }
  body #main .lx-hero .lx-hero-tagline { font-size: 15px !important; line-height: 1.35 !important; margin-bottom: 16px !important; }
  body #main .lx-hero .lx-hero-actions .lx-btn,
  body #main .lx-hero .lx-btn-white { padding: 10px 18px !important; font-size: 13px !important; }

  /* Rooms */
  body #main .rooms-hero h1 { font-size: 30px !important; line-height: 1.12 !important; }

  /* Restaurant */
  body #main .restaurant-hero h1 { font-size: 30px !important; line-height: 1.12 !important; }

  /* Gallery, About, Contact */
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 { font-size: 30px !important; line-height: 1.15 !important; margin-bottom: 14px !important; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) p { font-size: 13.5px !important; line-height: 1.6 !important; }
}

/* Gallery, About, Contact on mobile: same as desktop — photo behind the title with a deep navy wash,
   white heading with gold accents, and a transparent header over it. */
@media (max-width: 800px) {
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) {
    display: flex !important;
    align-items: flex-end !important;
    height: auto !important;
    min-height: 560px !important;
    padding: 150px 0 64px !important;
    background-color: #0b1f55 !important;
    background-size: cover !important;
    background-position: 38% center !important;
  }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero)::before {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(5,14,44,.62) 0%, rgba(8,24,70,.42) 30%, rgba(8,24,70,.80) 62%, rgba(7,20,60,.94) 100%) !important;
  }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 { color: #fff !important; text-shadow: 0 3px 18px rgba(0,0,0,.3) !important; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 em { color: #e8bd62 !important; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) p { color: rgba(255,255,255,.9) !important; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) :is(.eyebrow, .aw-eyebrow) { color: #e8bd62 !important; }

  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(5,14,44,.6), rgba(5,14,44,0)) !important;
    box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .header-inner { border-bottom-color: rgba(255,255,255,.16) !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .lx-brand-text { color: #fff !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .brand-logo-light { opacity: 1 !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .brand-logo-scrolled { opacity: 0 !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .menu-toggle span { background: #fff !important; }
}

/* Home on mobile: the full hotel photo as a clean band under a white header (no blue wash),
   with the welcome text below it. */
@media (max-width: 800px) {
  body:has(#main .lx-hero) .site-header:not(.scrolled) { background: #fff !important; box-shadow: 0 4px 16px rgba(11,13,42,.08) !important; }
  body:has(#main .lx-hero) .site-header:not(.scrolled) .header-inner { border-bottom-color: transparent !important; }
  body:has(#main .lx-hero) .site-header:not(.scrolled) .lx-brand-text { color: #1a2fa3 !important; }
  body:has(#main .lx-hero) .site-header:not(.scrolled) .brand-logo-light { opacity: 0 !important; }
  body:has(#main .lx-hero) .site-header:not(.scrolled) .brand-logo-scrolled { opacity: 1 !important; }
  body:has(#main .lx-hero) .site-header:not(.scrolled) .menu-toggle span { background: #1a2fa3 !important; }

  body #main .lx-hero.hero { --hero-top: 80px; --hero-img: 62vw; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; background: #f7f8fd !important; overflow: hidden !important; }
  body #main .lx-hero .hero-slide { top: var(--hero-top) !important; bottom: auto !important; height: var(--hero-img) !important; }
  body #main .lx-hero .hero-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; }
  body #main .lx-hero .hero-overlay { display: none !important; }
  body #main .lx-hero .lx-hero-content { position: relative !important; width: calc(100% - 40px) !important; padding: calc(var(--hero-top) + var(--hero-img) + 26px) 0 80px !important; }
  body #main .lx-hero .lx-hero-welcome { color: #d27a2c !important; }
  body #main .lx-hero h1 { color: #1a2fa3 !important; text-shadow: none !important; }
  body #main .lx-hero .lx-hero-tagline { color: #2a3a75 !important; }
  body #main .lx-hero .lx-hero-text { color: #4a5578 !important; }
  body #main .lx-hero .lx-btn-white { background: #1a2fa3 !important; border-color: #1a2fa3 !important; color: #fff !important; }
  body #main .lx-hero .hero-arrow { top: calc(var(--hero-top) + var(--hero-img) / 2) !important; transform: translateY(-50%) !important; width: 34px !important; height: 34px !important; font-size: 22px !important; }
  body #main .lx-hero .hero-pagination { top: calc(var(--hero-top) + var(--hero-img) - 22px) !important; bottom: auto !important; }
  body #main .lx-strip { margin-top: -40px !important; }
}

/* Rooms on mobile: same clean treatment as home — full hotel photo under a white header, copy below. */
@media (max-width: 800px) {
  body:has(#main .rooms-hero) .site-header:not(.scrolled) { background: #fff !important; box-shadow: 0 4px 16px rgba(11,13,42,.08) !important; }
  body:has(#main .rooms-hero) .site-header:not(.scrolled) .header-inner { border-bottom-color: transparent !important; }
  body:has(#main .rooms-hero) .site-header:not(.scrolled) .lx-brand-text { color: #1a2fa3 !important; }
  body:has(#main .rooms-hero) .site-header:not(.scrolled) .brand-logo-light { opacity: 0 !important; }
  body:has(#main .rooms-hero) .site-header:not(.scrolled) .brand-logo-scrolled { opacity: 1 !important; }
  body:has(#main .rooms-hero) .site-header:not(.scrolled) .menu-toggle span { background: #1a2fa3 !important; }

  body #main .rooms-hero { display: block !important; height: auto !important; min-height: 0 !important; padding: 80px 0 0 !important; background: #f7f8fd !important; }
  body #main .rooms-hero::before, body #main .rooms-hero::after { display: none !important; }
  body #main .rooms-hero .rooms-hero-image { position: static !important; display: block !important; width: 100% !important; height: 62vw !important; object-fit: cover !important; object-position: center !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  body #main .rooms-hero .rooms-hero-content { position: relative !important; width: calc(100% - 40px) !important; max-width: none !important; margin: 0 auto !important; padding: 24px 0 70px !important; transform: none !important; background: none !important; }
  body #main .rooms-hero h1 { color: #1a2fa3 !important; text-shadow: none !important; }
  body #main .rooms-hero h1 em { color: #c58a28 !important; }
  body #main .rooms-hero p { color: #4a5578 !important; text-shadow: none !important; }
}

/* Mobile polish found while reviewing every page at 360px. */
@media (max-width: 560px) {
  /* Home: favourite-table cards — wider card, no counter crowding the title */
  body #main .lx-tables .dining-cards .photo-card { flex-basis: 84% !important; height: 230px !important; }
  body #main .lx-tables .lx-table-count { display: none !important; }
  body #main .lx-tables .card-caption h3 { font-size: 20px !important; line-height: 1.15 !important; }
  body #main .lx-tables .card-caption p { font-size: 11.5px !important; }

  /* Home: gallery captions stay on one or two lines */
  body #main .lx-gallery .lx-g-cap { padding: 18px 8px 8px !important; gap: 6px !important; }
  body #main .lx-gallery .lx-g-cap b { font-size: 12.5px !important; line-height: 1.2 !important; }
  body #main .lx-gallery .lx-g-cap .icon { display: none !important; }
  body #main .lx-gallery .lx-g-cap i { width: 22px !important; height: 22px !important; font-size: 11px !important; flex-shrink: 0 !important; }

  /* Contact: benefit card titles sized for a phone */
  body #main .contact-benefits strong { font-size: 15px !important; line-height: 1.25 !important; }

  /* Footer action card: keep the arrows inside the card */
  body .lx-foot-card { padding: 20px 18px !important; box-sizing: border-box !important; max-width: 100% !important; }
  body .lx-foot-card button { padding-right: 2px !important; }
}

/* Mobile footer: one consistent, compact layout on every page. */
@media (max-width: 640px) {
  body .site-footer.lx-footer .lx-foot-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 40px 0 26px !important;
  }
  body .site-footer.lx-footer .lx-foot-grid > * { padding: 0 !important; margin: 0 !important; border: 0 !important; min-width: 0 !important; }

  /* brand block: centred */
  body .site-footer.lx-footer .lx-foot-brand { grid-column: 1 / -1 !important; text-align: center !important; padding-bottom: 22px !important; border-bottom: 1px solid rgba(255,255,255,.14) !important; }
  body .site-footer.lx-footer .lx-brand-foot { justify-content: center !important; margin: 0 auto 14px !important; }
  body .site-footer.lx-footer .lx-brand-foot .lx-brand-mark img { height: 46px !important; }
  body .site-footer.lx-footer .lx-brand-foot .lx-brand-text strong { font-size: 17px !important; }
  body .site-footer.lx-footer .lx-foot-brand p { font-size: 13px !important; line-height: 1.65 !important; max-width: 320px !important; margin: 0 auto 16px !important; color: rgba(255,255,255,.82) !important; }
  body .site-footer.lx-footer .social-links { justify-content: center !important; gap: 12px !important; }
  body .site-footer.lx-footer .social-links a { width: 40px !important; height: 40px !important; flex-basis: 40px !important; }

  /* link columns side by side */
  body .site-footer.lx-footer .lx-foot-col h3 { font: 600 16px/1.2 var(--serif) !important; color: #fff !important; margin: 0 0 12px !important; }
  body .site-footer.lx-footer .lx-foot-col a,
  body .site-footer.lx-footer .lx-foot-col button { display: block !important; font-size: 13px !important; line-height: 1.35 !important; margin: 0 0 10px !important; padding: 0 !important; color: rgba(255,255,255,.82) !important; text-align: left !important; }

  /* contact: full width */
  body .site-footer.lx-footer .lx-foot-contact { grid-column: 1 / -1 !important; padding-top: 4px !important; }
  body .site-footer.lx-footer .lx-foot-contact address,
  body .site-footer.lx-footer .lx-foot-contact a { display: flex !important; align-items: flex-start !important; gap: 10px !important; font-size: 13px !important; line-height: 1.55 !important; margin: 0 0 12px !important; }
  body .site-footer.lx-footer .lx-foot-contact .icon { width: 17px !important; height: 17px !important; margin-top: 2px !important; flex-shrink: 0 !important; }

  /* action card: full width, compact */
  body .site-footer.lx-footer .lx-foot-card { grid-column: 1 / -1 !important; padding: 20px 18px !important; border: 1px solid rgba(255,255,255,.24) !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important; }
  body .site-footer.lx-footer .lx-foot-card h3 { font-size: 18px !important; line-height: 1.25 !important; margin: 0 0 12px !important; }
  body .site-footer.lx-footer .lx-foot-card button { font-size: 13px !important; padding: 11px 2px !important; }

  /* bottom bar: centred, clear of the floating WhatsApp button */
  body .site-footer.lx-footer .lx-foot-bottom { display: flex !important; flex-direction: column-reverse !important; align-items: center !important; gap: 12px !important; width: calc(100% - 40px) !important; margin: 0 auto !important; padding: 18px 0 90px !important; text-align: center !important; font-size: 12px !important; line-height: 1.5 !important; }
  body .site-footer.lx-footer .lx-top { width: 36px !important; height: 36px !important; }
}
@media (max-width: 640px) {
  /* Rooms & Restaurant show a single link column: put contact beside it instead of leaving a gap. */
  body:is(:has(#main .rooms-hero), :has(#main .restaurant-hero)) .site-footer.lx-footer .lx-foot-contact { grid-column: 2 / 3 !important; padding-top: 0 !important; }
  body:is(:has(#main .rooms-hero), :has(#main .restaurant-hero)) .site-footer.lx-footer .lx-foot-contact address span br { display: none; }
}

/* Mobile footer, short version: logo + icons, two-column links, contact, one-line bottom bar. */
@media (max-width: 640px) {
  body .site-footer.lx-footer .lx-foot-grid { grid-template-columns: 1fr !important; gap: 18px !important; padding: 26px 0 16px !important; }
  body .site-footer.lx-footer .lx-foot-brand { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; text-align: left !important; padding-bottom: 16px !important; }
  body .site-footer.lx-footer .lx-brand-foot { margin: 0 !important; }
  body .site-footer.lx-footer .lx-brand-foot .lx-brand-mark img { height: 36px !important; }
  body .site-footer.lx-footer .lx-brand-foot .lx-brand-text small { font-size: 9px !important; }
  body .site-footer.lx-footer .lx-brand-foot .lx-brand-text strong { font-size: 14px !important; }
  body .site-footer.lx-footer .lx-foot-brand p { display: none !important; }
  body .site-footer.lx-footer .social-links { gap: 8px !important; flex-shrink: 0 !important; }
  body .site-footer.lx-footer .social-links a { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
  body .site-footer.lx-footer .social-links .icon { width: 15px !important; height: 15px !important; }

  body .site-footer.lx-footer .lx-foot-col:not(.lx-foot-contact) { grid-column: 1 !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 8px 12px !important; }
  body .site-footer.lx-footer .lx-foot-col:not(.lx-foot-contact) h3 { grid-column: 1 / -1 !important; margin-bottom: 4px !important; }
  body .site-footer.lx-footer .lx-foot-col:not(.lx-foot-contact) a { margin: 0 !important; }
  body .site-footer.lx-footer .lx-foot-col:not(.lx-foot-contact) + .lx-foot-col:not(.lx-foot-contact),
  body .site-footer.lx-footer .lx-foot-card { display: none !important; }

  body .site-footer.lx-footer .lx-foot-contact,
  body:is(:has(#main .rooms-hero), :has(#main .restaurant-hero)) .site-footer.lx-footer .lx-foot-contact { grid-column: 1 !important; padding-top: 0 !important; }
  body .site-footer.lx-footer .lx-foot-contact address span br { display: none !important; }
  body .site-footer.lx-footer .lx-foot-contact address,
  body .site-footer.lx-footer .lx-foot-contact a { margin: 0 0 8px !important; }
  body .site-footer.lx-footer .lx-foot-col h3 { font-size: 15px !important; margin-bottom: 10px !important; }

  body .site-footer.lx-footer .lx-foot-bottom { flex-direction: row !important; justify-content: space-between !important; text-align: left !important; padding: 14px 0 80px !important; font-size: 11px !important; }
  body .site-footer.lx-footer .lx-top { width: 32px !important; height: 32px !important; flex-shrink: 0 !important; }
}
