@layer cybertel-responsive-pages {
  @container cyb-pillars (max-width: 1119px) {
    #page-solutions #solutionPlanner .cyb-solutions-pillars {
      --cyb-pillar-columns: 4 !important;
      gap: 20px 12px !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-card {
      grid-template-rows: auto 1fr !important;
      align-content: start !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-heading {
      display: grid !important;
      grid-template-rows: 48px auto !important;
      justify-items: center !important;
      align-content: end !important;
      gap: 4px !important;
      padding-bottom: 9px !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-icon {
      display: block !important;
      height: 48px !important; width: 66px !important; object-fit: contain !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-label {
      color: #12334f !important;
      font-size: clamp(.9375rem, 2.7vw, 1.0625rem) !important;
      line-height: 1.2 !important; white-space: normal !important;
      overflow-wrap: anywhere; text-align: center !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-body {
      width: 100% !important; height: auto !important; aspect-ratio: auto !important;
      background: none !important; clip-path: none !important;
      overflow: visible !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-body::after { content: none !important; }
    #page-solutions #solutionPlanner .cyb-pillar-photo {
      position: relative !important; inset: auto !important;
      height: auto !important; aspect-ratio: 1.34 !important;
      clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%) !important;
    }
    #page-solutions #solutionPlanner .cyb-pillar-photo img {
      /* Keep each art-directed horizontal crop. Several source banners have
         desktop lettering outside that crop. Frame its focal point vertically. */
      inset: var(--pillar-mobile-y, var(--pillar-zoom-y, 50%)) auto auto var(--pillar-photo-left, 0) !important;
      width: var(--pillar-photo-width, 100%) !important; height: auto !important;
      max-width: none !important; max-height: none !important;
      translate: 0 calc(0% - var(--pillar-mobile-y, var(--pillar-zoom-y, 50%)));
    }
    /* Full-bleed crop for the approved Websites laptop/phone portrait when
       presented as a wide mobile service tile. Preserve the complete source. */
    #page-solutions #solutionPlanner .cyb-solution-pillar[data-cyb-pillar="websites"] .cyb-pillar-photo img {
      position: absolute !important; inset: 0 !important;
      top: 0 !important; left: 0 !important;
      display: block !important; width: 100% !important; height: 100% !important;
      max-width: none !important; max-height: none !important;
      object-fit: cover !important; object-position: 50% 70% !important;
      translate: none !important;
    }
    #solutionPlanner :is([data-cyb-pillar=cooling], [data-cyb-pillar=cctv]) { --pillar-mobile-y: 0%; }
    #page-solutions #solutionPlanner .cyb-pillar-photo::after { content: none !important; }
    #page-solutions #solutionPlanner .cyb-pillar-caption {
      position: static !important;
      padding: 7px 4px 0 !important;
      font-size: .875rem !important; line-height: 1.35 !important;
      font-weight: 500 !important; text-shadow: none !important; color: #39556a !important;
    }
    #page-solutions #solutionPlanner [data-cyb-pillar=pos] .cyb-pillar-caption { color: #735208 !important; }
  }
  @container cyb-pillars (max-width: 619px) {
    #page-solutions #solutionPlanner .cyb-solutions-pillars { --cyb-pillar-columns: 2 !important; gap: 16px 12px !important; }
  }
  @supports not (container-type: inline-size) {
    @media (max-width: 1119px) {
      #page-solutions #solutionPlanner .cyb-pillar-heading { display: grid !important; }
      #page-solutions #solutionPlanner .cyb-pillar-card { grid-template-rows: auto 1fr !important; }
      #page-solutions #solutionPlanner .cyb-pillar-body::after { content: none !important; }
    }
  }

  @media (max-width: 900px) {
    #page-support .c15-request-layout:has(> .mobile-support-preparation) {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 0 !important;
    }
    #page-solutions .mobile-service-index {
      display: inline-flex !important; align-items: center; justify-content: center;
      min-height: 44px; min-width: 7.25rem; padding: 4px 12px !important;
      margin: 6px 0 0 8px; border: 1px solid #b4c7d6 !important; border-radius: 6px;
      color: #123d60 !important; background: #fff !important;
      font: 600 .9375rem/1.25 var(--cy-type-font, sans-serif) !important;
    }
    #page-support .c15-request-layout > .c15-request-aside,
    #page-support .mobile-support-preparation .c15-request-aside {
      display: block !important;
      min-width: 0 !important; width: auto !important; max-width: 100% !important;
      position: static !important; margin: 0 !important;
      padding: 16px !important; background: #f2f7fb !important; color: #143852 !important;
    }
    #page-support .c15-request-aside > img {
      display: block !important; width: 100% !important; height: auto !important;
      visibility: visible !important; opacity: 1 !important;
      max-height: 168px !important; object-fit: cover !important; border-radius: 3px !important;
    }
    #page-support .c15-request-aside ol { padding-inline-start: 1.5rem !important; }
    #page-support .c15-request-aside :is(p,li) { font-size: 1rem !important; line-height: 1.5 !important; }
    #page-support .c15-request-aside a { display: inline-flex !important; align-items: center; min-height: 44px; }
    .mobile-support-preparation { margin: 0 0 16px; border: 1px solid #bdcfdc; border-radius: 8px; overflow: clip; }
    .mobile-support-preparation summary {
      display: flex; align-items: center; gap: .75rem; min-height: 52px;
      list-style: none; padding: 8px 14px; cursor: pointer;
      color: #133959; background: #f2f7fb; font-weight: 700;
    }
    .mobile-support-preparation summary::-webkit-details-marker { display: none; }
    .mobile-support-preparation summary::after {
      content: ''; margin-inline-start: auto; width: 8px; height: 8px;
      border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
    }
    .mobile-support-preparation[open] summary::after { transform: rotate(225deg); }
    .mobile-support-preparation summary img { width: 34px; height: 34px; object-fit: contain; }
    #page-support .mobile-support-preparation .c15-request-aside > h3 { display: none !important; }
  }
  @media (max-width: 680px) {
    :is(#page-policies,#page-support) .r8-resource-links {
      display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important;
      gap: 8px !important; align-items: stretch !important;
      padding: 12px 0 !important;
    }
    :is(#page-policies,#page-support) .r8-resource-links > a {
      display: flex !important; flex-direction: column; justify-content: center; align-items: center;
      gap: 5px; min-height: 70px !important; padding: 8px 5px !important;
      border: 1px solid #d6e1e9 !important; border-radius: 7px !important; background: #f5f9fc !important;
      font-size: .875rem !important; line-height: 1.3 !important; text-align: center;
    }
    .r8-resource-links a[href="#downloads"]::before, .r8-resource-links a[href="#warranty"]::before {
      content: ''; display: block; width: 32px; height: 30px;
      background: center / contain no-repeat url('/assets/studio-a-v1/documents.webp');
    }
    .r8-resource-links a[href="#warranty"]::before { background-image: url('/assets/studio-a-v1/warranty.webp'); }
    :is(#page-login,#page-signup) .c15-auth-shell { display: flex !important; flex-direction: column !important; }
    :is(#page-login,#page-signup) .c15-auth-main { order: 0; }
    :is(#page-login,#page-signup) .c15-auth-backdrop.cyb-open-scene-host {
      display: grid !important; order: 1; position: relative !important;
      grid-template-columns: minmax(80px,.8fr) minmax(0,1.65fr);
      gap: 12px; align-items: center; width: 100% !important;
      min-height: 0 !important; height: auto !important; padding: 18px !important;
      background: #123551 !important;
    }
    :is(#page-login,#page-signup) .c15-auth-backdrop > .cyb-open-scene-source {
      display: block !important; position: static !important; opacity: 1 !important;
      width: 100% !important; height: auto !important; aspect-ratio: 4/5 !important; object-fit: cover !important;
    }
    :is(#page-login,#page-signup) .c15-auth-backdrop-shade { display: none !important; }
    :is(#page-login,#page-signup) .c15-auth-backdrop-copy {
      display: block !important; position: static !important; padding: 0 !important; width: auto !important;
    }
    :is(#page-login,#page-signup) .c15-auth-backdrop-copy h1 { font-size: 1.2rem !important; line-height: 1.17 !important; margin-block: 6px !important; }
    :is(#page-login,#page-signup) .c15-auth-backdrop-copy p { display: block !important; font-size: .9375rem !important; line-height: 1.4 !important; margin-block: 8px !important; }
    #page-about .c15-about-hero-grid > .c15-about-photo.cyb-open-scene-host {
      display: block !important; width: 100% !important; height: auto !important; min-height: 0 !important;
      aspect-ratio: auto !important; margin: 16px 0 0 !important; overflow: visible !important;
    }
    #page-about .c15-about-photo > .cyb-open-scene-source { display: none !important; }
    #page-about .c15-about-overlap {
      display: flex !important; align-items: center !important; gap: 10px !important;
      position: static !important; margin: 0 !important; padding: 0 !important;
    }
    #page-about .c15-about-overlap img { height: 45px !important; width: 68px !important; object-fit: cover !important; }
    #page-about .c15-about-overlap span { font-size: .75rem !important; }
    #page-support .c15-help-grid > .c15-help-photo.cyb-open-scene-host,
    #page-account .c15-account-hero-grid > .c15-account-visual.cyb-open-scene-host,
    #page-contact .c15-contact-hero-grid > .c15-contact-hero-photo.cyb-open-scene-host {
      display: block !important; position: absolute !important; inset: auto 16px 100% !important;
      width: auto !important; height: auto !important; min-height: 0 !important;
      aspect-ratio: auto !important; border: 0 !important; margin: 0 !important; padding: 0 0 6px !important;
    }
    :is(.c15-help-photo,.c15-account-visual,.c15-contact-hero-photo).cyb-open-scene-host > .cyb-open-scene-source { display: none !important; }
    :is(#page-support .c15-help-photo-label, #page-account .c15-account-visual-label, #page-contact .c15-contact-hero-photo > div) {
      display: block !important; position: static !important; width: fit-content !important;
      max-width: 100% !important; margin: 0 !important; padding: 5px 9px !important;
      font-size: .75rem !important; line-height: 1.3 !important;
      letter-spacing: .04em !important; color: white !important; background: #0c2a45eb !important;
    }
    #page-warranty .r8-resource-hero > .cyb-open-scene .cyb-open-scene-photograph,
    #page-warranty .r8-resource-hero > .cyb-open-scene .cyb-open-scene-wash {
      display: none !important;
    }
    #page-warranty .r8-resource-hero,
    #page-warranty .r8-resource-hero > .cyb-open-scene { background: #0c2a45 !important; }
    #page-warranty .cyb-finish-warranty-photo.cyb-open-scene-host {
      display: block !important; width: 100% !important; height: auto !important;
      min-height: 0 !important; aspect-ratio: auto !important; margin: 10px 0 0 !important;
      align-self: start !important; padding: 0 !important; background: #123551 !important;
    }
    #page-warranty .cyb-finish-warranty-photo figcaption {
      display: block !important; position: static !important; padding: 8px 12px !important;
      background: #123551 !important; color: #fff !important; font-size: .875rem !important;
    }
    #page-warranty .cyb-finish-warranty-photo > img {
      display: block !important; position: static !important; opacity: 1 !important;
      width: 100% !important; height: auto !important; max-height: 190px !important;
      aspect-ratio: 2/1 !important; object-fit: cover !important;
    }
    #page-warranty .cyb-finish-warranty-photo::after { display: none !important; }
    :is(.c15-cta-actions a.c15-cta-secondary,.r82-policy-context a,.cyb-finish-warranty-actions a,
      .c15-auth-home,.c15-auth-help,.c15-auth-switch a,.r82-resource-empty a,.c5-project-ready a) {
      display: inline-flex !important; align-items: center !important; min-height: 44px !important;
    }
  }
}

/* Compact public heroes use a separate photograph above the copy in portrait
   and keep the image beside the copy when the viewport has more width. */
@layer cybertel-responsive-pages {
  @media (max-width: 1100px) {
    :is(#page-solutions, #page-contact, #page-support) > .cyb-open-blend-hero {
      --hero-gutter: clamp(1rem, 4.3vw, 2.75rem);
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-actions, .c15-hero-actions) {
      display: grid !important;
      grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) !important;
      width: min(100%, 32rem) !important;
      max-width: 100% !important;
      gap: .6rem !important;
      margin: 1.05rem 0 0 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-actions, .c15-hero-actions) > :is(a, button) {
      display: inline-flex !important;
      align-self: stretch !important;
      align-items: center !important;
      justify-content: center !important;
      gap: .45rem !important;
      width: 100% !important;
      height: auto !important;
      min-height: 2.875rem !important;
      min-width: 0 !important;
      margin: 0 !important;
      padding: .65rem .7rem !important;
      font-size: .9375rem !important;
      line-height: 1.22 !important;
      white-space: normal !important;
      text-align: center !important;
    }
    #page-contact .cyb-open-blend-hero .c15-contact-ledger {
      width: fit-content !important;
      max-width: 100% !important;
      margin: 1.05rem 0 0 !important;
      padding-top: .7rem !important;
    }
  }
  @media (max-width: 680px), (min-width: 681px) and (max-width: 900px) and (orientation: portrait) {
    :is(#page-solutions, #page-contact, #page-support) > .cyb-open-blend-hero {
      --photo-band: clamp(10rem, 45vw, 18rem);
      min-height: 0 !important;
      height: auto !important;
      padding: var(--photo-band) 0 0 !important;
      background: #0b2945 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene {
      bottom: auto !important;
      height: calc(var(--cyb1000-header-height, 100px) + var(--photo-band)) !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene-photograph {
      inset: var(--cyb1000-header-height, 100px) 0 0 !important;
      background-position: 50% 32% !important;
      background-size: cover !important;
      mask-image: none !important;
    }
    /* The approved 1920-wide SVG reserves its first 500 pixels for desktop
       headlines. Give those pixels room outside the clipped photo band. */
    #page-solutions .cyb-open-blend-hero > .cyb-open-scene > .cyb-open-scene-photograph {
      left: -35.22% !important;
      background-position: right center !important;
    }
    #page-contact .cyb-open-scene-photograph { background-position: 41% 25% !important; }
    #page-support .cyb-open-scene-photograph { background-position: 58% 29% !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene::after {
      content: '' !important;
      position: absolute !important;
      inset: auto 0 0 !important;
      height: 1.5rem !important;
      background: linear-gradient(to bottom, transparent, #0b2945) !important;
      pointer-events: none !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene-host,
    #page-solutions .cyb-open-blend-hero > .cyb1673-bluewash { display: none !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-grid, .c15-contact-hero-grid, .c15-help-grid) {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: clamp(1.05rem, 3vw, 1.6rem) var(--hero-gutter) 1.5rem !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1691-content-column, .cyb1673-hero-copy, .c15-contact-hero-copy, .c15-help-copy) {
      width: 100% !important;
      max-width: 46rem !important;
      min-height: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero h1 {
      max-width: 100% !important;
      font-size: clamp(2rem, 6.7vw, 3.05rem) !important;
      line-height: 1.07 !important;
      margin: .7rem 0 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero p:not(.cyb1673-kicker) {
      font-size: 1rem !important;
      line-height: 1.48 !important;
      max-width: 60ch !important;
      margin: 0 !important;
    }
  }
  @media (min-width: 681px) and (max-width: 1100px) and (orientation: landscape) {
    :is(#page-solutions, #page-contact, #page-support) > .cyb-open-blend-hero {
      min-height: 0 !important; height: auto !important; padding: 0 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene-photograph {
      inset: var(--cyb1000-header-height, 100px) 0 0 41% !important;
      background-size: cover !important;
      background-position: 43% 30% !important;
      mask-image: linear-gradient(to right, transparent, black 24%) !important;
    }
    #page-solutions .cyb-open-scene-photograph { background-position: right center !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero .cyb-open-scene-host { display: none !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-scene::after {
      background: linear-gradient(90deg, #092a48 32%, #092a48e0 46%, transparent 68%) !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-grid, .c15-contact-hero-grid, .c15-help-grid) {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: clamp(1rem, 4vh, 2.5rem) var(--hero-gutter) !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1691-content-column, .c15-contact-hero-copy, .c15-help-copy) {
      width: 54% !important;
      max-width: 36rem !important;
      padding: 0 !important;
      min-height: 0 !important;
    }
    #page-solutions .cyb1673-hero-copy { width: 100% !important; max-width: none !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero h1 {
      font-size: clamp(2rem, 4.2vw, 3rem) !important;
      line-height: 1.06 !important;
      margin: .65rem 0 !important;
    }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero p:not(.cyb1673-kicker) {
      font-size: 1rem !important; line-height: 1.42 !important; margin: 0 !important;
    }
  }
  @media (min-width: 681px) and (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-kicker, .c15-eyebrow) { margin-block: 0 !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero h1 { font-size: 2rem !important; margin-block: .45rem !important; }
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-actions, .c15-hero-actions) { margin-top: .7rem !important; }
  }
  @media (min-width: 360px) and (max-width: 420px) {
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-actions, .c15-hero-actions) > :is(a, button) {
      font-size: .875rem !important;
      gap: .35rem !important;
      padding-inline: .45rem !important;
    }
  }
  @media (max-width: 359px) {
    :is(#page-solutions, #page-contact, #page-support) .cyb-open-blend-hero :is(.cyb1673-actions, .c15-hero-actions) {
      grid-template-columns: minmax(0,1fr) !important;
    }
  }
}
@layer cybertelResponsiveHome {
  @media (max-width: 680px), (min-width: 681px) and (max-width: 900px) and (orientation: portrait) {
    #page-home .v20-hero-inner { --cyb-home-gutter: clamp(1rem, 4.3vw, 2.75rem); }
    #page-home .v20-hero h1 { max-width: 100% !important; font-size: clamp(2.15rem, 6.7vw, 3.05rem) !important; }
    #page-home .v20-hero-copy > p { max-width: 60ch !important; }
    #page-home .v20-hero-actions { width: min(100%,32rem) !important; }
  }
}
