/* Desktop audit fixes, 4.13.8. Loaded after the existing theme layers. */
.bst-generic-page article h1{font-size:2.25rem;line-height:1.2;font-weight:800;margin:0 0 24px;color:#073568}
.bst-generic-page article h2{font-size:1.5rem;line-height:1.3;font-weight:750;margin:28px 0 12px;color:#073568}
.bst-generic-page article h3{font-size:1.125rem;line-height:1.4;font-weight:750;margin:24px 0 10px}
.bst-generic-page article p{line-height:1.75;margin:0 0 16px;color:#394b5f}
.bst-generic-page article h1 a{color:inherit;text-decoration:none}
.bst-auth-page textarea{width:100%;max-width:100%;box-sizing:border-box}
.bst-calendar-empty{padding:12px 16px;margin:12px 0;border:1px solid #ccd9e8;border-radius:12px;background:#f2f7fc;color:#264464;line-height:1.5;font-size:14px}
.bst-airbnb-filter-clear{border:1px solid #b0c1d3!important;background:#fff!important;border-radius:10px!important;padding:10px 16px!important;min-height:40px!important;font-weight:700!important;color:#153c65!important}
.bst-airbnb-filter-clear:hover{background:#eef5fc!important}
.bst-airbnb-filter-drawer__scroll .bst-sidebar-filter__head h2{display:none}
@media(min-width:1024px){
  .bst-php-header__inner,.bst-single-listing,.bst-v2-shell,.bst-v3-tool-page{width:calc(100% - 64px);max-width:1320px;margin-left:auto;margin-right:auto;box-sizing:border-box}
  .bst-v2-form-shell{max-width:1120px}
  .bst-php-header__inner{min-height:96px}
  .bst-php-header__right{display:flex;align-items:center;gap:16px}
  .bst-role-nav__link,.bst-php-header__signin{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px!important;font-size:14px!important}
  .bst-php-header__signin{background:#003f87!important;color:white!important;border-radius:999px}
  .bst-v3-toolbar__inner{max-width:1320px;margin:auto}
  .bst-airbnb-search-segment input,.bst-airbnb-search-pill input,.bst-server-search input{min-height:40px!important;height:40px!important;padding:8px 12px!important;font-size:14px!important;box-sizing:border-box;width:100%;color:#243b53}
  .bst-airbnb-search-pill{min-height:88px!important}
  button[aria-label="Decrease guests"],button[aria-label="Increase guests"]{width:40px!important;height:40px!important;min-height:40px!important;flex-shrink:0}
  .bst-role-tourist .bst-listing-grid{max-width:1320px;margin-left:auto;margin-right:auto}
  .bst-role-tourist .bst-listing-card__title-row{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:8px!important;min-height:0}
  .bst-role-tourist .bst-listing-card__title{display:block!important;-webkit-line-clamp:unset!important;white-space:normal!important;overflow:visible!important;font-size:15px!important;line-height:1.4!important;min-height:0!important;overflow-wrap:anywhere}
  .bst-role-tourist .bst-listing-card__rating{font-size:13px!important;white-space:nowrap}
  .bst-listing-card__body{display:flex;flex-direction:column;gap:6px}
  .bst-listing-card__host,.bst-listing-card__meta-line{font-size:13px!important;line-height:1.5!important;color:#526273!important}
  .bst-v3-compare-card{min-height:36px!important;padding:8px 12px!important;font-size:12px!important;line-height:1.3!important}
  .bst-listing-card--shuttle .bst-listing-card__route{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  .bst-listing-card--shuttle .bst-listing-card__route>span:before{content:none!important}
  .bst-listing-card--shuttle .bst-listing-card__route>.bst-route-origin:before{content:'FROM'!important;font-size:10px!important}
  .bst-listing-card--shuttle .bst-listing-card__route>strong:before{font-size:10px!important}
  .bst-listing-card--shuttle .bst-listing-card__route>.bst-route-origin,.bst-listing-card--shuttle .bst-listing-card__route>strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13px!important;line-height:1.45}
  .bst-listing-card--shuttle .bst-listing-card__route>.dashicons{display:none!important}
  .bst-v2-gallery{display:grid!important;grid-template-columns:2fr 1fr 1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:4px!important;height:420px!important;overflow:hidden}
  .bst-v2-gallery img{height:100%!important;min-height:0!important;width:100%!important;object-fit:cover}
  .bst-v2-gallery .is-main{grid-row:1 / -1!important}
  .bst-v2-gallery[data-photo-count="1"]{grid-template-columns:1fr!important;grid-template-rows:1fr!important}
  .bst-v2-gallery[data-photo-count="2"]{grid-template-columns:1.5fr 1fr!important;grid-template-rows:1fr!important}
  .bst-v2-gallery[data-photo-count="3"]{grid-template-columns:2fr 1fr!important}
  .bst-v2-gallery[data-photo-count="4"] img:last-child{grid-column:2 / 4!important}
  .bst-v2-gallery[data-photo-count="1"] img{object-position:center}
  .bst-single-grid{grid-template-columns:minmax(0,1fr) 350px!important;gap:32px!important}
  .bst-single-grid>*{min-width:0}
  .bst-single-grid h1,.bst-v2-pagehead h1,.bst-v2-guide-hero h1{font-size:40px!important;line-height:1.15!important;overflow-wrap:anywhere}
  .bst-v2-guide-hero{grid-template-columns:220px minmax(0,1fr)!important}
  .bst-v2-experience-card,.bst-v2-guide-card{min-width:0}
  .bst-auth-page h1{font-size:32px!important;line-height:1.2!important}
  .bst-auth-page .bst-field:has(textarea){grid-column:1 / -1}
  .bst-v3-modal__card{max-width:1120px!important;width:calc(100vw - 64px)!important;max-height:90vh!important;overflow:auto!important}
  .bst-v3-compare-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important}
  .bst-v3-compare-grid article{min-width:0}
  .bst-v3-compare-grid h3{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
  .bst-v3-compare-grid dd{overflow-wrap:anywhere}
  .bst-modal-card{scroll-padding-top:76px;overscroll-behavior:contain}
  .bst-airbnb-filter-drawer{overscroll-behavior:contain}
  .bst-airbnb-filter-drawer__scroll{min-height:0}
  .bst-airbnb-filter-drawer select{min-height:44px;font-size:14px}
  :is(.bst-v2-page,.bst-single-listing,.bst-generic-page,.bst-auth-page) :is(input,select,textarea){box-sizing:border-box;max-width:100%}
  :is(.bst-admin-main,.bst-operator-main) table{min-width:720px}
  .bst-table-wrap{max-width:100%;overflow-x:auto}
}
@media(min-width:1024px) and (max-width:1279px){
  .bst-role-tourist .bst-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .bst-single-grid{grid-template-columns:minmax(0,1fr) 310px!important}
}

@media(min-width:1024px){
 .bst-desktop-map-split__cards .bst-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 .bst-listing-card__button{flex:1;display:flex;flex-direction:column}
 .bst-listing-card__body{flex:1;width:100%;box-sizing:border-box}
 .bst-v3-compare-grid article img{width:100%;height:170px;object-fit:cover}
 .bst-airbnb-filter-head{gap:16px;align-items:center}
}
@media(min-width:1024px) and (max-width:1279px){
 .bst-desktop-map-split__cards .bst-listing-grid{grid-template-columns:minmax(0,1fr)!important}
}
