/* Device screens carry the example; captions no longer cover their content. */
.screen-demo-note { margin-block: 18px 28px; color: #47586a; font-size: 15px; line-height: 1.6; }
[id^="screen-example-"] { scroll-margin-top: 100px; }
.odl-cozy .ad-page-photo { height: auto; }
.odl-cozy .ad-page-photo > img { height: auto; aspect-ratio: 3/2; object-fit: contain; }
.odl-cozy .ad-page-photo > span { position: static; display: block; width: auto; max-width: none; padding: 10px 16px; font-size: 10px; }
.odl-cozy .wh-browser > img[data-screen-example] { height: auto; aspect-ratio: 3/2; object-fit: contain; }
.odl-cozy .odl-service-picture:has(> img[data-screen-example]) {
  height: auto;
  min-height: 0;
  background: #102442;
}
.odl-cozy .odl-service-picture > img[data-screen-example] {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  transform: none;
}
.odl-cozy .odl-service-picture:has(> img[data-screen-example])::after { display: none; }
.odl-cozy .odl-service-picture:has(> img[data-screen-example]) figcaption {
  position: static;
  padding: 20px 22px;
  max-width: none;
  background: #102442;
}
.odl-cozy .odl-service-picture:has(> img[data-screen-example]) figcaption > strong { max-width: none; }
.odl-cozy .odl-service-picture:has(> img[data-screen-example]) figcaption > span { max-width: none; }
.odl-cozy .related-card > img[data-screen-example] { height: auto; aspect-ratio: 3/2; object-fit: contain; }
.odl-cozy .odl-cover:has(> img[data-screen-example]) {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.2fr);
  align-content: center;
  align-items: center;
  column-gap: 28px;
  padding: 30px;
  min-height: 0;
  background: #102442;
}
.odl-cozy .odl-cover:has(> img[data-screen-example])::after { display: none; }
.odl-cozy .odl-cover > img[data-screen-example] {
  position: static;
  z-index: auto;
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 3/2;
  border-radius: 12px;
}
.odl-cozy .odl-cover:has(> img[data-screen-example]) > :is(h2,p,a) { grid-column: 1; }
.odl-cozy .odl-cover:has(> img[data-screen-example]) h2 { font-size: clamp(29px,3vw,43px); }
.odl-cozy .odl-cover:has(> img[data-screen-example]) p { font-size: 17px; line-height: 1.65; }
@media(max-width:1050px) {
  .odl-cozy .odl-cover:has(> img[data-screen-example]) { grid-template-columns: 1fr; padding: 25px; }
  .odl-cozy .odl-cover > img[data-screen-example] { grid-column: 1; grid-row: auto; margin: 0 0 24px; }
  .odl-cozy .odl-cover:has(> img[data-screen-example]) h2 { font-size: clamp(30px,6vw,42px); }
}
@media(max-width:640px) {
  .odl-cozy :is(.odl-service-picture,.odl-cover,.odl-workshop-image,.wh-browser) > img[data-screen-example] { aspect-ratio: 1; object-fit: cover; object-position: right center; }
  .odl-cozy .odl-cover:has(> img[data-screen-example]) { padding: 18px; }
  .odl-cozy .odl-service-picture:has(> img[data-screen-example]) figcaption { padding: 18px; }
  .odl-cozy .odl-service-picture:has(> img[data-screen-example]) figcaption > strong { font-size: 22px; line-height: 1.35; }
}
