/* ===== Black Tie responsive rules ===== */
/* Breakpoints: 1400 / 1200 / 991 / 767 / 575 / 400 */

@media (max-width: 1400px){
  .bt-container{max-width:1140px;}
}

@media (max-width: 1200px){
  .bt-container{max-width:960px;}
  .bt-app-promo__phone{width:190px;height:380px;}
}

@media (max-width: 991px){
  body{padding-top:64px;}
  .bt-header__utility{display:none;}
  .bt-header__main-inner{height:64px;}
  .bt-burger{display:flex;}
  .bt-nav{
    position:fixed;top:64px;left:0;right:0;bottom:0;background:var(--bt-white);padding:20px 24px;overflow-y:auto;
    transform:translateX(100%);transition:transform .3s ease;box-shadow:var(--bt-shadow-lg);
  }
  .bt-nav.is-open{transform:translateX(0);}
  .bt-nav ul{flex-direction:column;align-items:stretch;gap:4px;}
  .bt-nav__item>a{padding:16px 4px;border-bottom:1px solid var(--bt-line);border-radius:0;justify-content:space-between;}
  .bt-nav__item--signin{margin-left:0;padding-left:0;border-left:none;margin-top:8px;}
  .bt-dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;display:none;padding:0 0 0 14px;}
  .bt-nav__item.open .bt-dropdown{display:block;}
  .bt-tiles{grid-template-columns:repeat(2,1fr);}
  .bt-grid-3,.bt-grid-2,.bt-feature-row,.bt-tabs__panel-inner,.bt-carousel,.bt-icon-carousel,.bt-offers,.bt-banner,.bt-support__stack,.bt-app-promo__grid{grid-template-columns:1fr;}
  .bt-overview__grid{grid-template-columns:1fr;}
  .bt-linkgrid__cols{grid-template-columns:repeat(2,1fr);}
  .bt-quickform__grid{grid-template-columns:1fr 1fr;}
  .bt-planner__grid,.bt-planner__grid--3,.bt-planner__grid--4{grid-template-columns:repeat(3,1fr);}
  .bt-grid-4{grid-template-columns:repeat(2,1fr);}
  .bt-banner{padding:32px;}
  .bt-banner__image{border-radius:28px;min-height:240px;order:-1;}
  .bt-stats__grid{grid-template-columns:repeat(2,1fr);}
  .bt-stat{border-right:none;border-bottom:1px solid var(--bt-line-dark);}
  .bt-numbered-grid{grid-template-columns:repeat(2,1fr);}
  .bt-steps{grid-template-columns:repeat(2,1fr);}
  .bt-fact-table td:first-child{width:auto;white-space:normal;}
  .bt-app-promo__phone{order:-1;width:220px;height:440px;}
  .section{padding:44px 0;}
}

@media (max-width: 767px){
  /* Cancel the desktop rounded-corner overlap trick (.bt-hero margin-bottom:-40px pulling
     .bt-coverage up on top of it) - on mobile the quick-nav tiles stack into 2-3 rows and
     grow much taller than the hero's reduced bottom padding, so that overlap band was
     landing on top of the last row of tiles and silently swallowing taps on them. */
  .bt-hero{padding:56px 0 44px;min-height:auto;margin-bottom:0;}
  .bt-hero+.bt-coverage{border-radius:24px 24px 0 0;}
  .bt-hero__badge-corner{display:none;}
  .bt-hero__sub .bt-hero__sub-line{white-space:normal;}
  .bt-pill-tabs{gap:16px;}
  .bt-pill-tabs__btn span.circle{width:52px;height:52px;font-size:1.2rem;}
  .bt-app-promo__icons{grid-template-columns:repeat(2,1fr);}
  .bt-carousel{gap:14px;}
  .section--dark .section-head h2,#offers .section-head h2{white-space:normal;}
  .bt-offer-card__head{flex-wrap:wrap;}
  .bt-offer-card i{font-size:2rem;}
  .bt-store-btn{padding:9px 14px;}
  .bt-page-hero{padding:28px 0 40px !important;}
  .bt-page-hero__split{display:block;text-align:left;position:relative;}
  .bt-page-hero__text{max-width:none;position:absolute;left:18px;right:18px;bottom:22px;z-index:1;text-align:left;}
  .bt-page-hero__text .eyebrow{justify-content:flex-start;}
  .bt-page-hero__text p{margin-left:0;margin-right:0;color:rgba(255,255,255,.88);}
  .bt-page-hero__split .bt-page-hero__chips{justify-content:flex-start;}
  .bt-page-hero__image{
    position:relative;width:100%;height:300px;border-radius:24px;margin-bottom:0;
    box-shadow:0 16px 40px rgba(0,0,0,.35);
  }
  .bt-page-hero__image::after{
    content:'';position:absolute;inset:0;border-radius:inherit;
    background:linear-gradient(to top,rgba(5,5,8,.92) 0%,rgba(5,5,8,.55) 42%,rgba(5,5,8,0) 75%);
  }
  .bt-page-hero__text h1{text-shadow:0 2px 12px rgba(0,0,0,.4);}
}

@media (max-width: 575px){
  .bt-hero__pills{
    flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;
    padding-bottom:4px;margin:0 -24px;padding-left:24px;padding-right:24px;scrollbar-width:none;
  }
  .bt-hero__pills::-webkit-scrollbar{display:none;}
  .bt-hero__pills span{white-space:nowrap;flex-shrink:0;font-size:.78rem;padding:8px 14px;}
  .bt-coverage__input-wrap{flex-wrap:wrap;border-radius:16px;}
  .bt-coverage__input-wrap input{width:100%;padding:14px 16px;}
  .bt-coverage__input-wrap>.bi-geo-alt{display:none;}
  .bt-coverage__input-wrap button{width:100%;justify-content:center;border-radius:0 0 14px 14px;}
  .bt-grid-4{grid-template-columns:1fr;}
  .bt-icon-carousel{grid-template-columns:1fr 1fr;}
  .bt-linkgrid__cols{grid-template-columns:1fr;}
  .bt-quickform__grid{grid-template-columns:1fr;}
  .bt-planner__grid,.bt-planner__grid--3,.bt-planner__grid--4{grid-template-columns:1fr 1fr;}
  .bt-planner__foot{flex-direction:column;align-items:stretch;text-align:center;}
  .bt-carousel-head{flex-direction:column;align-items:flex-start;}
  .bt-steps{grid-template-columns:1fr;}
  .bt-fact-table,.bt-fact-table tbody,.bt-fact-table tr,.bt-fact-table td{display:block;width:100%;}
  .bt-fact-table td:first-child{border-bottom:none;padding-bottom:4px;}
  .bt-fact-table td:last-child{padding-top:0;}
  .bt-tiles{grid-template-columns:1fr;}
  .bt-stats__grid{grid-template-columns:1fr;}
  .bt-cta-band__inner{flex-direction:column;text-align:center;}
  .bt-hero__actions,.bt-cta-band__actions{flex-direction:column;align-items:stretch;}
  .bt-offers--small{grid-template-columns:1fr;}
  .bt-footer__row,.bt-footer__bottom{flex-direction:column;align-items:flex-start;}
  .bt-footer__meta{flex-direction:column;align-items:flex-start;gap:8px;}
  .bt-numbered-grid{grid-template-columns:1fr;}
}

@media (max-width: 400px){
  .bt-container{padding:0 16px;}
  .bt-hero h1{font-size:1.4rem;}
  .bt-hero h1 .bt-hero__line{white-space:normal;}
  .bt-page-hero{padding:130px 0 60px;}
  .btn-lg{padding:14px 24px;font-size:.92rem;}
}
