/* The wider layout keeps the same photographs, type and quiet actions. */
.reference-home .hero-program-link{display:none}

@media(min-width:1024px){
  :root{
    --desktop-content-width:1240px;
    --desktop-edge:40px;
    --content-edge:40px;
    --content-gap:88px;
    --site-header-height:72px;
  }

  .reference-home .ref-wrap{
    width:calc(100% - var(--desktop-edge) - var(--desktop-edge));
    max-width:var(--desktop-content-width);
    margin-inline:auto;
    padding-inline:0;
  }

  .reference-home .ref-header{
    height:var(--site-header-height);
    padding:0;
  }

  .reference-home .ref-header .ref-bar{
    width:calc(100% - var(--desktop-edge) - var(--desktop-edge));
    max-width:var(--desktop-content-width);
    height:100%;
    margin-inline:auto;
    padding:0;
    gap:48px;
  }

  .reference-home .ref-header .ref-nav{
    margin-inline-start:auto;
    margin-inline-end:0;
    gap:28px;
  }

  .reference-home .ref-header-actions{display:none}

  body.reference-home main>section:not(.tg-root){padding-top:var(--content-gap)}
  body.reference-home main section h2{font-size:36px;line-height:42px}
  .reference-home .service-catalog-head,
  .reference-home .ref-head{margin-bottom:28px}

  .reference-home main>.tg-root.tg-single{
    width:calc(100% - var(--desktop-edge) - var(--desktop-edge));
    max-width:var(--desktop-content-width);
    margin-inline:auto;
    padding:24px 0 0;
    gap:0;
  }

  .tg-root.tg-single .tg-container{
    display:grid;
    grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);
    align-items:center;
    gap:64px;
    width:100%;
  }

  .tg-root.tg-single .tg-content{
    position:static;
    inset:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    max-width:none;
  }

  .tg-root.tg-single .tg-subtitle{
    max-width:390px;
    margin:0 0 24px;
    color:var(--content-muted);
    font:300 16px/24px Onest,Arial,sans-serif;
  }

  .tg-root.tg-single #heroTitle{
    width:100%;
    max-width:none;
    margin:0;
    font-size:clamp(52px,4.75vw,64px);
    line-height:1.14;
    letter-spacing:-.02em;
    overflow-wrap:normal;
    word-break:normal;
  }

  .reference-home .hero-program-link{
    display:inline-flex;
    align-self:flex-start;
    margin-top:28px;
    font:300 16px/24px Onest,Arial,sans-serif;
  }

  .tg-root.tg-single .tg-productList{
    display:block;
    width:100%;
    min-width:0;
  }

  .tg-root.tg-single .tg-productItem{
    display:block;
    position:relative;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    margin:0;
    padding:0;
    aspect-ratio:1801/1327;
    border-radius:0;
    background:transparent;
    overflow:hidden;
  }

  .tg-root.tg-single .tg-productLink{display:block;width:100%;height:100%}
  .tg-root.tg-single .tg-productContent{display:none}
  .tg-root.tg-single .tg-productImage{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    border-radius:0;
  }

  .tg-root.tg-single .tg-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:50% 50%;
    border-radius:0;
  }

  .reference-home .first-visit-placement{padding-top:24px}
  .reference-home .first-visit-note{
    display:grid;
    grid-template-columns:148px minmax(0,1fr) auto;
    column-gap:32px;
    row-gap:4px;
    align-items:center;
    margin:0;
    padding:16px 0;
    border-block:1px solid var(--content-line);
  }

  .reference-home .first-visit-note h3{
    grid-column:1;
    grid-row:1/3;
    margin:0;
    font:400 18px/24px Onest,Arial,sans-serif;
    white-space:nowrap;
  }

  body.reference-home .first-visit-note p{
    grid-column:2;
    margin:0;
    font:300 14px/20px Onest,Arial,sans-serif;
  }

  .reference-home .first-visit-note .first-visit-tariffs{
    grid-row:1;
    display:flex;
    flex-wrap:wrap;
    gap:4px 24px;
  }

  .reference-home .first-visit-note .ref-text-link{
    grid-column:3;
    grid-row:1/3;
    align-self:center;
    margin:0;
    padding-block:6px;
    white-space:nowrap;
  }

  .reference-home .ref-dock[data-location-actions-visible]:not(:focus-within){visibility:hidden}
}

@media(min-width:1024px) and (max-width:1199px){
  .tg-root.tg-single .tg-container{gap:48px}
  .tg-root.tg-single .tg-subtitle{max-width:340px;margin-bottom:20px}
  .reference-home .first-visit-note{grid-template-columns:136px minmax(0,1fr) auto;column-gap:24px}
  .reference-home .first-visit-note .first-visit-tariffs{gap:4px 16px}
}
