/* Africa.Luxury v1.7.207 — reference typography + desktop ghost continuity.
   Typography scale is aligned to the supplied Airbnb reference tokens while
   retaining the Africa.Luxury font family, colours, spacing and brand identity. */

/* Keep incomplete desktop shelves visually complete while a regular desktop is
   still showing the desktop catalogue. v1.7.130/v1.7.205 hid ghosts below 1360px;
   this keeps them through common 1024–1359px desktop widths, including ~1157px. */
@media (min-width:1024px) and (max-width:1359px){
  body.al-hp-body .al-shelf-placeholder,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-placeholder{
    display:block!important;
  }
}
@media (max-width:1023px){
  body.al-hp-body .al-shelf-placeholder,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-placeholder{
    display:none!important;
  }
}

:is(body.al-hp-body,body.al-cars-body,body.al-experiences-body){
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

@media (min-width:700px){
  /* Airbnb-reference core scale used here:
     body 14/18, nav/title medium 14/18, section 22/26,
     body/supporting 16/22, display 40/44; weights 400/500/600. */

  /* Main service navigation — medium, not heavy. */
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) .al-main-header .al-nav-item,
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) .al-main-header .al-currency-top,
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) .al-main-header .al-hello,
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) .al-main-header .al-menu-scroller>a{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }

  /* Hero display hierarchy. */
  body.al-hp-body .al-hero-copy h1,
  body.al-cars-body .cp-hero-copy h1,
  body.al-experiences-body .ex150-hero-copy h1{
    font-size:40px!important;
    line-height:44px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
  }
  body.al-hp-body .al-hero-copy>p,
  body.al-cars-body .cp-hero-copy>p:not(.cp-eyebrow),
  body.al-experiences-body .ex150-hero-copy>p:not(.ex150-eyebrow){
    font-size:16px!important;
    line-height:22px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
  }

  /* Search labels and values. */
  body.al-hp-body .al-search-field strong,
  body.al-cars-body .cp-search-field-v173 strong,
  body.al-experiences-body .ex175-search-field strong{
    font-size:12px!important;
    line-height:16px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
  }
  body.al-hp-body .al-search-field small,
  body.al-cars-body .cp-search-field-v173 small,
  body.al-experiences-body .ex175-search-field small{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
    color:#6a6a6a!important;
  }
  body.al-hp-body .al-search-submit,
  body.al-cars-body .cp-search-submit,
  body.al-experiences-body .ex150-search-submit{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
  }

  /* Shelf headings use the supplied 22/26 semibold title token. */
  body.al-hp-body .al-shelf-heading h2,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-shelf-heading h2{
    font-size:22px!important;
    line-height:26px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
    color:var(--al-ink,#132444)!important;
  }
  body.al-hp-body .al-shelf-view-all,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-shelf-heading a{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }

  /* Listing cards: medium title, regular supporting information. */
  body.al-hp-body .al-shelf-name,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy>strong{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
    color:var(--al-ink,#132444)!important;
  }
  body.al-hp-body .al-shelf-secondary,
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy>small{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
    color:#6a6a6a!important;
  }
  body.al-hp-body .al-shelf-secondary strong{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    color:var(--al-ink,#132444)!important;
  }
  :is(body.al-cars-body,body.al-experiences-body) .al-service-card-copy strong em{
    font-weight:400!important;
    color:#6a6a6a!important;
  }

  /* Amenities, category chips and filters. */
  body.al-hp-body :is(.al-amenity-fixed,.al-mf-quick-filter,.al-amenity-pill),
  body.al-experiences-body :is(.ex150-all,.ex150-cat,.ex150-filter-button){
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }

  /* Search/popover content follows the same reference hierarchy. */
  :is(body.al-cars-body,body.al-experiences-body) .al-us-panel>h2,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-calendar-header h2{
    font-size:22px!important;
    line-height:26px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
  }
  :is(body.al-cars-body,body.al-experiences-body) .al-us-option-list strong,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-choice strong,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-guest-row strong{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }
  :is(body.al-cars-body,body.al-experiences-body) .al-us-option-list small,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-choice small,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-guest-row small,
  :is(body.al-cars-body,body.al-experiences-body) .al-us-subtitle{
    font-size:14px!important;
    line-height:20px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
  }
}

/* Wide displays can use the next reference display token without changing
   card/body typography, keeping the hierarchy stable at 1920px layouts. */
@media (min-width:1900px){
  body.al-hp-body .al-hero-copy h1,
  body.al-cars-body .cp-hero-copy h1,
  body.al-experiences-body .ex150-hero-copy h1{
    font-size:48px!important;
    line-height:54px!important;
  }
}

@media (max-width:699px){
  body.al-hp-body .al-shelf-heading h2,
  body.al-experiences-body .ex150-section-heading h2{
    font-size:18px!important;
    line-height:24px!important;
    font-weight:600!important;
    letter-spacing:normal!important;
  }
  body.al-hp-body .al-shelf-name,
  body.al-experiences-body .ex150-card-title{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }
  body.al-hp-body .al-shelf-secondary,
  body.al-experiences-body :is(.ex150-card-location,.ex150-card-desc){
    font-size:12px!important;
    line-height:16px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-mobile-search-summary,.cp-mobile-search-summary,.ex157-mobile-search-summary) strong{
    font-size:14px!important;
    line-height:18px!important;
    font-weight:500!important;
    letter-spacing:normal!important;
  }
  :is(body.al-hp-body,body.al-cars-body,body.al-experiences-body) :is(.al-mobile-search-summary,.cp-mobile-search-summary,.ex157-mobile-search-summary) small{
    font-size:12px!important;
    line-height:16px!important;
    font-weight:400!important;
    letter-spacing:normal!important;
  }
}
