
.icey-media-note {font-size: .8125rem; line-height: 1.35; color: inherit; margin: .55rem 0 0}
.icey-form-note {font-size: .8125rem; line-height: 1.35; opacity: .85; margin: .55rem 0 0}
.icey-form-note:empty {display: none}
.icey-source {text-decoration: underline; text-underline-offset: .2em; color: inherit}
.icey-contact-media {object-fit: contain !important; background: #f1f0ec}
body[data-icey-utility] :is(.section_instruction,.section-licenses) {overflow-wrap: anywhere}
body[data-icey-utility] :is(pre,.code-block) {max-width: min(100%, calc(100vw - 2rem)); overflow: auto}
body[data-icey-utility] .section-licenses img {max-width: 100%; height: auto}
@media (max-width: 479px) {
  body[data-icey-utility] .section-licenses .icon-grid {grid-template-columns: repeat(3, minmax(0, 1fr))}
  .section_contact .contact-grid:has(a[href^="mailto:"]) {grid-template-columns: 1fr; row-gap: .35rem}
  .section_contact a.contact-link[href^="mailto:"] {min-width: 0; flex-shrink: 1; overflow-wrap: anywhere}
}

.footer-copyright-wrap .utility-page-link {cursor: default}
@media (max-width: 479px) {
  .footer-copyright-wrap .copyright-text {overflow-wrap: anywhere}
}

/* Keep the complete landscape frame on phones and retain the inline video poster behind it. */
@media screen and (max-width: 767px),
       screen and (max-width: 960px) and (max-height: 500px) and (pointer: coarse) {
  .w-background-video > video {
    object-fit: contain;
    object-position: center;
    background-color: #39424a;
    background-blend-mode: multiply;
  }

  /* The existing placeholder posters contain labels that should not appear around a playing video. */
  .w-background-video > video[style*="?v=1.1.0"] {
    background-image: none !important;
  }

  .w-background-video [data-wf-bgvideo-fallback-img] {
    object-fit: contain;
    background-color: #202831;
  }

  /* Size the video to the animated layer, then allow for its 1.1× scale. */
  .cta-video-layer > .cta-video {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .cta-video-layer > .cta-video > video {
    box-sizing: border-box;
    padding: 5%;
  }
}

@media screen and (orientation: landscape) and (max-width: 960px)
       and (max-height: 500px) and (pointer: coarse) {
  .w-background-video > video {
    max-height: 90svh;
  }

  .section_hero.hero-v1 > .hero-bg-video > video {
    inset-block: 0 auto;
    margin-block: 0;
    max-height: calc(100svh - 4rem);
  }
}
