/*
 * LOA App sections (blocks and shortcodes).
 * Everything is scoped to .mui-app so it looks the same on any page, in the editor,
 * and on the mobile homepage, whatever the theme does.
 */

:root {
  --mui-accent: #FFB800;
  --mui-ink: #1C1B17;
  --mui-ground: #F6F6F3;
  --mui-line: #ECECE7;
  --mui-muted: #5F6368;
  --mui-soft: #F3F3EF;
  --mui-chip: #FFF4D6;
  --mui-chip-ink: #6B4A00;
  --mui-r: 20px;
  --mui-safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
.mui-app { color: var(--mui-ink); line-height: 1.4; -webkit-text-size-adjust: 100%; }
.mui-app *, .mui-app *::before, .mui-app *::after { box-sizing: border-box; }
.mui-app a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mui-app a:hover { text-decoration: none; }
.mui-app h2, .mui-app h3, .mui-app .mui-sec h2, .mui-app .mui-sec h3 { margin: 0; padding: 0; font-weight: 600; font-family: inherit; text-transform: none; letter-spacing: -0.01em; color: inherit; }
.mui-app img { max-width: 100%; border: 0; box-shadow: none; }
.mui-app [hidden] { display: none !important; }
.mui-app--embed { max-width: 100%; margin: 0 0 1.5em; }
.mui-app .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section shell: the same spacing everywhere. */
.mui-app .mui-sec { padding: 0 16px 26px; margin: 0; }
.mui-app .mui-sec--flush { padding-left: 0; padding-right: 0; }
.mui-app .mui-sec--flush .mui-sec__head { padding: 0 16px 12px; }
.mui-app .mui-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.mui-app .mui-sec__head h2 { font-size: 19px; line-height: 1.25; }
.mui-app .mui-sec__head a { font-size: 14px; font-weight: 500; color: var(--mui-muted); white-space: nowrap; }
.mui-app .mui-sec--title { padding-bottom: 4px; }
.mui-app .mui-sec__sub { margin: -6px 0 12px; font-size: 14px; color: var(--mui-muted); }

.mui-app .mui-ph { display: flex; align-items: center; justify-content: center; background: #EDEDE8; }
.mui-app .mui-empty { margin: 0 16px 20px; padding: 18px; border: 2px dashed #D9D9D2; border-radius: 16px; color: var(--mui-muted); font-size: 14px; text-align: center; background: #FAFAF7; }

/* ---------- Buttons ---------- */
.mui-app .mui-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 14px; background: var(--mui-accent); color: var(--mui-ink); font-size: 15px; font-weight: 600; border: 0; line-height: 1; white-space: nowrap; }
.mui-app .mui-btn--sm { height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.mui-app .mui-btn--grow { flex: 1; }
.mui-app .mui-iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mui-line); background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; color: var(--mui-ink); }
.mui-app .mui-iconbtn--outline { border-color: currentColor; background: transparent; border-radius: 14px; width: 50px; height: 50px; opacity: 0.85; color: inherit; }

/* ---------- Header ---------- */
.mui-app .mui-hh { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.mui-home .mui-hh:first-child { padding-top: calc(18px + env(safe-area-inset-top, 0px)); }
.mui-app .mui-hh__logo { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; background: var(--mui-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.mui-app .mui-hh__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mui-app .mui-hh__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mui-app .mui-greet { font-size: 13px; color: var(--mui-muted); }
.mui-app .mui-hh__title { font-size: 20px; font-weight: 600; line-height: 1.2; }

/* ---------- Search ---------- */
.mui-app .mui-search { display: flex; gap: 10px; padding: 4px 16px 16px; margin: 0; }
.mui-app .mui-search__box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; margin: 0; border-radius: 14px; background: var(--mui-soft); cursor: text; }
.mui-app .mui-search__box svg { flex: none; }
.mui-app .mui-search input[type=search], .mui-app .mui-search input[type=search]:focus {
  flex: 1; min-width: 0; width: auto; height: 48px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none;
  font-size: 16px !important; color: var(--mui-ink); -webkit-appearance: none; appearance: none;
}
.mui-app .mui-search__go { width: 50px; height: 50px; flex: none; border: 0; border-radius: 14px; background: var(--mui-accent) !important; color: var(--mui-ink) !important; display: flex; align-items: center; justify-content: center; padding: 0 !important; margin: 0; min-height: 0 !important; box-shadow: none !important; cursor: pointer; }

/* ---------- Sideways rows ---------- */
.mui-app .mui-hscroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 16px; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; }
.mui-app .mui-hscroll::-webkit-scrollbar { display: none; }
.mui-app .mui-hscroll > * { scroll-snap-align: start; flex: none; }

/* ---------- Category icons ---------- */
.mui-app .mui-cats { padding-bottom: 22px; gap: 12px; }
.mui-app .mui-cat { width: 66px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mui-app .mui-cat__icon { width: 62px; height: 62px; border-radius: 20px; background: var(--mui-chip); display: flex; align-items: center; justify-content: center; color: var(--mui-ink); }
.mui-app .mui-cat__label { font-size: 12px; font-weight: 500; color: #3C3B36; text-align: center; line-height: 1.2; }

/* ---------- Trips: big cards ---------- */
.mui-app .mui-bigcard { width: 272px; border-radius: var(--mui-r); border: 1px solid var(--mui-line); background: #FFFFFF; overflow: hidden; display: flex; flex-direction: column; }
.mui-app .mui-bigcard__media { position: relative; display: block; height: 168px; }
.mui-app .mui-bigcard__img { width: 100%; height: 168px; object-fit: cover; display: block; border-radius: 0; }
.mui-app .mui-datebadge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 10px; background: #FFFFFF; font-size: 11px; font-weight: 600; line-height: 1.1; text-align: center; display: flex; flex-direction: column; color: var(--mui-ink); }
.mui-app .mui-datebadge b { font-size: 17px; font-weight: 700; }
.mui-app .mui-bigcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mui-app .mui-kicker { font-size: 12px; font-weight: 500; color: #8A5A00; }
.mui-app .mui-bigcard h3 { font-size: 17px; line-height: 1.3; }
.mui-app .mui-meta { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mui-muted); }
.mui-app .mui-meta svg { flex: none; }
.mui-app .mui-bigcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.mui-app .mui-price { font-size: 18px; font-weight: 700; }
.mui-app .mui-price small { font-size: 13px; font-weight: 400; color: var(--mui-muted); }

/* ---------- Trips: list / panel ---------- */
.mui-app .mui-list { display: flex; flex-direction: column; }
.mui-app .mui-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F0F0EC; }
.mui-app .mui-row:last-child, .mui-app .mui-row.is-last { border-bottom: 0; }
.mui-app .mui-row__img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; display: block; }
.mui-app .mui-row__img--sm { width: 52px; height: 52px; }
.mui-app .mui-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mui-app .mui-row__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.mui-app .mui-row__sub { font-size: 13px; color: var(--mui-muted); }
.mui-app .mui-row__price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.mui-app .mui-card { background: #FFFFFF; border: 1px solid var(--mui-line); border-radius: 22px; }
.mui-app .mui-list--card { padding: 2px 16px; }

/* ---------- Trips: grid ---------- */
.mui-app .mui-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mui-app .mui-tile { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #F7F7F4; }
.mui-app .mui-tile__img { width: 100%; height: 104px; object-fit: cover; display: block; border-radius: 0; }
.mui-app .mui-tile__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.mui-app .mui-tile__title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mui-app .mui-tile__sub { font-size: 13px; color: var(--mui-muted); }
.mui-app .mui-tile__sub strong { color: var(--mui-ink); }

/* ---------- Trips: dark panel ---------- */
.mui-app .mui-travel { border-radius: 24px; padding: 20px; background: #1E2A3F; color: #FFFFFF; display: flex; flex-direction: column; gap: 12px; }
.mui-app .mui-travel__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: #B9C8E4; }
.mui-app .mui-travel__list { display: flex; flex-direction: column; gap: 8px; }
.mui-app .mui-travel__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #2A3954; color: #FFFFFF; }
.mui-app .mui-travel__row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mui-app .mui-travel__title { font-size: 14px; font-weight: 500; line-height: 1.3; }
.mui-app .mui-travel__sub { font-size: 12px; color: #B9C8E4; }
.mui-app .mui-travel__row strong { font-size: 15px; white-space: nowrap; }
.mui-app .mui-travel__all { display: inline-flex; align-items: center; gap: 4px; color: #FFFFFF; font-size: 14px; font-weight: 500; align-self: flex-start; }

/* ---------- Call to action ---------- */
.mui-app .mui-cta { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mui-app .mui-cta h2 { font-size: 21px; line-height: 1.3; color: inherit; }
.mui-app .mui-cta p { margin: 0; font-size: 14px; line-height: 1.5; }
.mui-app .mui-cta__actions { display: flex; gap: 10px; margin-top: 4px; }
.mui-app .mui-cta--dark { background: #1C1B17; color: #FFFFFF; }
.mui-app .mui-cta--dark p { color: #D6D6CF; }
.mui-app .mui-cta--brand { background: var(--mui-accent); color: var(--mui-ink); }
.mui-app .mui-cta--brand .mui-btn { background: var(--mui-ink); color: #FFFFFF; }
.mui-app .mui-cta--light { background: #FFFFFF; border: 1px solid var(--mui-line); color: var(--mui-ink); }
.mui-app .mui-cta--light p { color: var(--mui-muted); }

/* ---------- Hosts ---------- */
.mui-app .mui-host { width: 116px; padding: 16px 10px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--mui-line); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mui-app .mui-host img, .mui-app .mui-host__ini { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.mui-app .mui-host__ini { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: var(--mui-ink); }
.mui-app .mui-host__name { font-size: 14px; font-weight: 600; }
.mui-app .mui-host__meta { font-size: 12px; color: var(--mui-muted); }

/* ---------- Review ---------- */
.mui-app .mui-review { margin: 0; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mui-app .mui-review--brand { background: var(--mui-accent); color: var(--mui-ink); }
.mui-app .mui-review--light { background: #FFFFFF; border: 1px solid var(--mui-line); color: var(--mui-ink); }
.mui-app .mui-review--light .mui-stars { color: var(--mui-accent); }
.mui-app .mui-review--dark { background: #1C1B17; color: #FFFFFF; }
.mui-app .mui-review--dark .mui-stars { color: var(--mui-accent); }
.mui-app .mui-stars { display: flex; gap: 3px; }
.mui-app .mui-review blockquote { margin: 0; padding: 0; border: 0; font-size: 21px; font-weight: 700; line-height: 1.25; color: inherit; background: none; font-style: normal; quotes: none; }
.mui-app .mui-review blockquote::before, .mui-app .mui-review blockquote::after { display: none; content: none; }
.mui-app .mui-review figcaption { font-size: 13px; }

/* ---------- Wider screens ---------- */
@media (min-width: 700px) {
  .mui-app .mui-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mui-app .mui-bigcard { width: 300px; }
}

/* ---------- Your own content inside the mobile homepage ---------- */
.mui-home > :not(.mui-x) { margin-left: 16px; margin-right: 16px; max-width: calc(100% - 32px); }
.mui-home > .alignfull, .mui-home > .wp-block-cover.alignfull { margin-left: 0; margin-right: 0; max-width: 100%; }
.mui-home > p { font-size: 15px; line-height: 1.6; margin-top: 0; margin-bottom: 18px; }
.mui-home > p:empty, .mui-home > br { display: none; }
.mui-home > h2, .mui-home > h3, .mui-home > .wp-block-heading { font-size: 19px; line-height: 1.25; margin-top: 0; margin-bottom: 12px; }
.mui-home > figure, .mui-home > .wp-block-image, .mui-home > .wp-block-embed, .mui-home > .wp-block-video { margin-top: 0; margin-bottom: 26px; }
.mui-home > figure img, .mui-home > .wp-block-image img { border-radius: 20px; width: 100%; height: auto; }
.mui-home > .wp-block-buttons { margin-bottom: 26px; }
.mui-home .wp-block-button__link { border-radius: 14px; background: var(--mui-accent); color: var(--mui-ink); font-weight: 600; }

/* ---------- Inside a normal page: line up with the page's own text ---------- */
.mui-app--embed .mui-sec, .mui-app--embed .mui-hh, .mui-app--embed .mui-search,
.mui-app--embed .mui-sec--flush .mui-sec__head { padding-left: 0; padding-right: 0; }
.mui-app--embed .mui-hscroll { padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
.mui-app--embed .mui-empty { margin-left: 0; margin-right: 0; }
