/* La Barbata: phone-only refinements. The original desktop theme is unchanged. */
.lb-mobile-only { display: none; }

@media (max-width: 767px) {
  .lb-desktop-only { display: none !important; }
  .lb-mobile-only { display: inline; }
  .lb-neater-wrap { text-wrap: pretty; }
  .lb-wrap-together { display: inline-block; max-inline-size: 100%; }
  /* The imported theme's outer wrapper overran the phone viewport by 3px. */
  .body-wrap { overflow-x: clip; }

  /* Home hero: v2 crop, overlay and type, without changing the site navigation. */
  @font-face {
    font-family: 'La Barbata Hero'; src: url('assets/mobile-hero-raleway.woff2') format('woff2');
    font-weight: 400 800; font-display: swap;
  }
  .lb-home-hero .wsite-header-section {
    position: relative; display: block; width: 100%; min-height: 0; aspect-ratio: 3 / 2;
    background-image: radial-gradient(ellipse at center, rgba(20,22,10,.34), rgba(20,22,10,.12) 75%), url('assets/mobile-hero-original-800.webp') !important;
    background-image: radial-gradient(ellipse at center, rgba(20,22,10,.34), rgba(20,22,10,.12) 75%), image-set(url('assets/mobile-hero-original-800.webp') 1x, url('assets/mobile-hero-original-1600.webp') 2x) !important;
    background-size: cover !important;
    background-position: center, 50% 66.75% !important;
  }
  .lb-home-hero .wsite-section-content, .lb-home-hero #banner, .lb-home-hero #banner-container,
  .lb-home-hero #banner-container > .wsite-section-elements {
    display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 0;
  }
  .lb-home-hero .wsite-section-content { position: absolute; inset: 0; }
  .lb-home-hero #banner h2.lb-home-slogan {
    box-sizing: border-box; margin: 0; padding: 0 16px;
    font: 800 clamp(1.75rem, 7.2vw, 3.6rem)/1.15 'La Barbata Hero', Raleway, sans-serif !important;
    color: white; text-transform: none; letter-spacing: -.01em !important; text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.5);
  }
  .lb-home-hero .lb-home-slogan strong { font-weight: 800; }
  .lb-home-features .lb-home-feature-icon {
    margin-inline: auto !important; padding-block: 14px !important;
  }
  .lb-home-feature-icon img { width: min(38vw, 128px); height: auto; }

  /* Intentional on-page spacing only; PDF page boundaries aren't layout. */
  .lb-olive-tree-cta td:has(> .wsite-spacer:only-child) { display: none !important; }
  .lb-olive-tree-cta td:has(.colored-box-content) { margin-bottom: 0 !important; }
  .lb-olive-cta-gap { height: 24px !important; }
  .lb-spanish-ready { margin-block: 18px !important; }
  .lb-spanish-ready > br { display: none; }
  .lb-spanish-first-cta td:has(> .wsite-spacer:only-child) { display: none !important; }
  .lb-spanish-first-cta td:has(.colored-box-content) { margin-bottom: 0 !important; }
  .lb-spanish-opening { padding-bottom: 6px !important; }
  .lb-spanish-photo-gap { height: 8px !important; }
  .lb-spanish-photo-start { padding-top: 0 !important; }
  #wsite-content .lb-spanish-dates-title font { font-size: clamp(23px, 6.4vw, 30px) !important; line-height: 1.2 !important; }
  .lb-spanish-dates .lb-spanish-date-card {
    float: none !important; width: min(66%, 222px) !important;
    margin-inline: auto; padding: 9px 8px !important;
  }
  .wsite-page-spanish-conversation #wsite-content h2.lb-spanish-date-label {
    font-size: 20px !important; line-height: 1.2 !important; margin: 0; padding: 0;
  }
  .lb-date-spacing { height: 22px !important; }

  /* Host: the arrows lived in desktop side columns; only the options remain on phone. */
  .lb-host-options .lb-host-side { display: none !important; }
  .lb-host-options .lb-host-options-central { padding-inline: 15px !important; margin-block: 0 !important; }
  .lb-host-option-copy { text-align: center; text-wrap: pretty; margin-bottom: 0 !important; padding-bottom: 0; }
  .lb-host-option-copy .lb-host-option-heading {
    display: block; margin: 0 auto 12px; font-size: 1.18em; line-height: 1.3; text-wrap: balance;
  }
  .lb-host-options .lb-host-option-button { width: min(100%, 420px); margin: 8px auto 36px; }
  .lb-host-options .lb-host-option-button:last-child { margin-bottom: 0; }
  .lb-host-options .lb-host-option-button-box { padding: 0 !important; }
  .wsite-page-lead-your-own-retreat #wsite-content .lb-host-option-button h2 { margin: 0; padding: 0; }
  .lb-host-option-button a { box-sizing: border-box; display: grid; place-items: center; min-height: 44px; padding: 4px 12px; }
  .wsite-page-lead-your-own-retreat #wsite-content .lb-host-transformative {
    overflow-wrap: normal; word-break: normal; text-wrap: balance;
  }
  .lb-host-transformative font { font-size: clamp(26px, 8vw, 44px); }

  .lb-host-pair-layout { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 8px; }
  .lb-host-pair-layout .lb-host-pair-flatten { display: contents; }
  .lb-host-pair-layout .lb-host-pair-extra { display: none !important; }
  .lb-host-pair-layout .lb-host-icon { width: min(46vw, 164px) !important; float: none !important; }
  .lb-host-pair-layout .lb-host-icon > div { margin: 0 !important; }
  .lb-host-pair-layout .lb-host-icon-copy { padding-inline: 10px !important; max-width: 36ch !important; }
  .lb-host-icon-1 { order: 1; } .lb-host-icon-copy-1 { order: 2; }
  .lb-host-icon-2 { order: 3; } .lb-host-icon-copy-2 { order: 4; }
  .lb-host-icon-3 { order: 5; } .lb-host-icon-copy-3 { order: 6; }
}
