/* Recurring image roles; page containers retain composition and placement. */
.delivery-picture { display: contents; }
/* Source candidates must not create empty flex/grid items around the image. */
.delivery-picture > source { display: none; }
[data-image-role] { height: auto; object-fit: contain; }
[data-image-role="hero"], [data-image-role="hero-narrow"], [data-image-role="hero-bounded"], [data-image-role="home-hero"] { width: 100%; height: auto; }
/* Keep thumbnail slots inside the declared fractional grid, including long titles. */
.course-card-link { min-width: 0; }
[data-image-role="hero-bounded"] { max-width: 500px; }
[data-image-role="home-hero"] { max-width: 450px; }
[data-image-role="hero-icon"] { width: 40px; height: 40px; object-fit: contain; }
[data-image-role="module"] { width: 50px; height: auto; }
[data-image-role="crown"] { width: 120px; height: auto; margin-bottom: 30px; }
[data-image-role="benefit"] { width: 26px; height: auto; flex-shrink: 0; }
[data-image-role="guarantee"] { width: 100%; height: auto; }
[data-image-role="faq"] { width: 50px; height: auto; }
[data-image-role="home-thumbnail"] { width: 100%; height: auto; display: block; border-radius: 16px; }
[data-image-role="path-thumbnail"] { width: 100%; height: auto; max-width: 72px; }
[data-image-role="path-icon"] { flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; }
[data-image-role="wordmark"] { width: 150px; height: auto; }
[data-image-role="header-wordmark"] { height: 32px; width: auto; }
@media (max-width: 768px) {
  [data-image-role="faq"] { width: 40px; }
  [data-image-role="path-thumbnail"] { max-width: 56px; }
  [data-image-role="path-icon"] { width: 52px; height: 52px; }
  [data-image-role="wordmark"] { width: 120px; }
}
@media (max-width: 480px) {
  [data-image-role="path-icon"] { width: 48px; height: 48px; }
}
@media (max-width: 400px) {
  [data-image-role="path-thumbnail"] { max-width: 48px; }
}
