.bel-activity-summary { display:block; margin-top:.25rem; color:#555; line-height:1.5; }
.home-featured .mhome-cover.has-mobile-art { background:#f4f1ee; aspect-ratio:4/3; }
.home-featured .mhome-cover img { width:100%; height:100%; object-fit:contain; }
.home-featured .mhome-card-title { display:block; }
.bel-desktop-preview { position:relative; }
.bel-activity-preview { position:absolute; inset:0; display:grid; grid-template-rows:minmax(0,1fr) auto; background:white; color:inherit; text-decoration:none; }
.bel-activity-preview:hover { color:inherit; }
.bel-desktop-art { display:block; background:#f4f1ee center / contain no-repeat; min-height:0; }

/* All desktop covers occupy one image track and one shared caption track.
   The longest caption reserves its space even while another activity is selected. */
@media (min-width: 768px) {
  .home-featured .bel-desktop-gallery {
    display: grid !important;
    grid-template-rows: auto auto;
    align-content: center;
    min-height: 420px;
  }
  .bel-desktop-gallery > .bel-desktop-preview,
  .bel-desktop-gallery .bel-activity-preview {
    display: grid;
    grid-area: 1 / 1 / 3 / 2;
    grid-template-rows: subgrid;
    min-height: 0;
  }
  .bel-desktop-gallery > .bel-desktop-preview {
    height: auto;
    visibility: hidden;
  }
  .bel-desktop-gallery > .bel-desktop-preview.visible {
    visibility: visible;
    z-index: 1;
  }
  .bel-desktop-gallery .bel-activity-preview {
    position: static;
  }
  .bel-desktop-gallery .bel-desktop-art {
    width: 100%;
    aspect-ratio: 4 / 3;
    align-self: start;
  }
}

/* Reserve the site's two 40px carousel controls at the right of the heading. */
@media (min-width: 992px) {
  .bel-desktop-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.125rem;
    margin-bottom: 1rem;
    padding-inline-end: calc(80px + 1rem);
  }
  .bel-desktop-news-header .title { margin-bottom: 0 !important; }
  .bel-desktop-news-header .bel-desktop-news-more { padding-bottom: 0; }
  .bel-desktop-news-header + .home-news .owl-nav {
    width: auto;
    top: auto;
    bottom: calc(100% + 1rem);
    margin: 0;
  }
  .bel-desktop-news-header + .home-news .owl-nav:not(.disabled) {
    display: flex;
    align-items: center;
    height: 3.125rem;
  }
}

/* Reserve space for the news covers while the browser loads them.
   Use the decoded image ratio for future covers with other dimensions. */
@media (min-width: 992px) {
  .home-news .thumb-box img.aspect-img {
    width: 100%;
    height: auto;
    aspect-ratio: auto 600 / 337;
    object-fit: contain;
  }

  /* Owl can retain a pixel height measured before images or fonts load. */
  .home-news.owl-carousel > .owl-stage-outer {
    height: auto !important;
  }
}
