@media (max-width:1024px){
  body.page-template-template-residential-hub .hub-hero .grid,
  body.page-template-template-residential-hub-php .hub-hero .grid{
    grid-template-columns:1fr;
    height:auto;
    min-height:auto;
    max-height:none;
  }
  body.page-template-template-residential-hub .hub-hero .text,
  body.page-template-template-residential-hub-php .hub-hero .text{
    width:100%;
    height:auto;
  }
  body.page-template-template-residential-hub .hub-hero .vis,
  body.page-template-template-residential-hub-php .hub-hero .vis{
    width:100%;
    height:auto;
    min-height:0;
    overflow:visible;
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  body.page-template-template-residential-hub .hub-hero .vis img,
  body.page-template-template-residential-hub-php .hub-hero .vis img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
  body.page-template-template-residential-hub .hub-hero .badge,
  body.page-template-template-residential-hub-php .hub-hero .badge{
    position:relative;
    left:auto;
    bottom:auto;
    width:fit-content;
    max-width:100%;
  }
}

@media (max-width:1024px){
  body.page-template-template-residential-hub .selector .head{
    grid-template-columns:1fr;
    gap:20px;
  }
  body.page-template-template-residential-hub .selector .sel-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.page-template-template-residential-hub .selector .sel-card{
    width:100%;
    min-width:0;
  }
  body.page-template-template-residential-hub .selector .sel-card.feat{
    grid-column:span 2;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  body.page-template-template-residential-hub .scenario .grid{
    grid-template-columns:1fr;
    gap:36px;
  }
  body.page-template-template-residential-hub .scenario ul{
    grid-template-columns:1fr;
  }
  body.page-template-template-residential-hub .pt-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.page-template-template-residential-hub .pt-cell,
  body.page-template-template-residential-hub .process .p-step,
  body.page-template-template-residential-hub .trust .t-cell{
    min-width:0;
  }
  body.page-template-template-residential-hub .process .p-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.page-template-template-residential-hub .process .p-step:nth-child(4n){
    border-right:1px solid var(--line-strong);
  }
  body.page-template-template-residential-hub .process .p-step:nth-child(2n){
    border-right:0;
  }
  body.page-template-template-residential-hub .trust .t-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.page-template-template-residential-hub .trust .t-cell:nth-child(2n){
    border-right:0;
  }
  body.page-template-template-residential-hub .faq-grid{
    grid-template-columns:1fr;
    gap:0;
  }
  body.page-template-template-residential-hub .contact-grid{
    grid-template-columns:1fr;
  }
  body.page-template-template-residential-hub .contact-vis{
    min-height:340px;
    max-height:440px;
  }
}

@media (max-width:640px){
  body.page-template-template-residential-hub .selector .sel-grid,
  body.page-template-template-residential-hub .pt-grid,
  body.page-template-template-residential-hub .process .p-grid,
  body.page-template-template-residential-hub .trust .t-grid{
    grid-template-columns:minmax(0,1fr);
  }
  body.page-template-template-residential-hub .selector .sel-card.feat{
    grid-column:span 1;
  }
  body.page-template-template-residential-hub .process .p-step{
    border-right:0;
  }
  body.page-template-template-residential-hub .trust .t-cell{
    border-right:0;
  }
  body.page-template-template-residential-hub .contact-vis{
    min-height:300px;
    max-height:420px;
  }
}
