/* Deva V10.119 — blog index full bleed + photo-only rounding; no JS/fonts. */
/* Only /blog index: remove the legacy padded colored image frame; keep the card body unchanged. */
main.dv119-blog-index .grid > article.card:has(> a:first-child > img) {
  border-radius:20px!important; overflow:hidden!important;
}
main.dv119-blog-index .grid > article.card:has(> a:first-child > img) > a:first-child {
  display:block!important; box-sizing:border-box!important;
  width:100%!important; height:218px!important; flex:0 0 218px!important;
  min-height:0!important; padding:0!important; margin:0!important;
  overflow:hidden!important; border:0!important;
  border-radius:19px 19px 0 0!important; background:transparent!important;
}
main.dv119-blog-index .grid > article.card:has(> a:first-child > img) > a:first-child > img {
  display:block!important; width:100%!important; height:100%!important;
  min-width:0!important; min-height:0!important;
  max-width:none!important; max-height:none!important;
  padding:0!important; margin:0!important;
  object-fit:cover!important; object-position:center center!important;
  mix-blend-mode:normal!important; background:transparent!important;
  border:0!important; border-radius:19px 19px 0 0!important;
  clip-path:none!important; filter:none!important;
}
main.dv119-blog-index .grid > article.card > .pad {margin-top:0!important;}
/* Product details: round the image itself without cropping technical/photo details. */
main[data-deva-demo-product] figure.v10-cover,
main[data-deva-demo-product] figure.v10-feature-image {
  border-radius:20px!important; overflow:hidden!important;
}
main[data-deva-demo-product] figure.v10-cover > img,
main[data-deva-demo-product] figure.v10-feature-image > img,
main[data-deva-demo-product] .detail-body img {
  border-radius:16px!important;
  clip-path:inset(0 round 16px)!important;
}
/* Blog article main images, gallery and inline photos — keep original aspect ratio. */
main .v9-detail-article .v9-primary-image img,
main .v9-detail-article .v9-gallery-card img,
main .v9-detail-article .detail-body img,
main .v9-detail-article .dv97-feature img {
  border-radius:16px!important;
  clip-path:inset(0 round 16px)!important;
}
@media(max-width:650px){
  main.dv119-blog-index .grid > article.card:has(> a:first-child > img){border-radius:17px!important;}
  main.dv119-blog-index .grid > article.card:has(> a:first-child > img) > a:first-child {
    height:205px!important;flex-basis:205px!important;border-radius:16px 16px 0 0!important;
  }
  main.dv119-blog-index .grid > article.card:has(> a:first-child > img) > a:first-child > img {
    border-radius:16px 16px 0 0!important;
  }
}
/* DEVA-V10148H-STICKY-BLOG-SIDEBAR-START */
/* Only standard blog articles; not rental overview or product pages. */
@media (min-width: 951px) {
  main .detail-grid:not(.rental-overview) > aside.sidebar {
    position: sticky;
    top: 106px;
    align-self: start;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #afcbd7 transparent;
  }
  main .detail-grid:not(.rental-overview) > aside.sidebar:focus-within {
    scrollbar-color: #5a9aab transparent;
  }
}
@media (max-width: 950px) {
  main .detail-grid:not(.rental-overview) > aside.sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}
/* DEVA-V10148H-STICKY-BLOG-SIDEBAR-END */
