/* 17 Nov (Shali): subtle card images in the same warm backlit light as the Horizon models (Higgsfield, Nano Banana Pro;
   05_Assets/Section card images - 2026-11-17). The photos-off switch still hides everything else. */
/* genetic tests: photo fills the card, copy at the foot over a soft cream fade */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image { display: block !important; position: absolute !important; inset: 0 !important; z-index: 0; margin: 0 !important; background: #ece6dc !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 30% !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image::after { content: "" !important; display: block !important; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(240, 235, 227, 0) 0%, rgba(240, 235, 227, .9) 60%, rgba(240, 235, 227, .97) 100%) !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon > :not(.dd-addon-image) { position: relative; z-index: 1; }
/* care: the panel shows its photo */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #care .cf-fig img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 25% !important; }
/* programmes: photo across the top of each card, bleeding to the card edges */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .yl-card-img { display: block !important; grid-column: 1 / -1; width: calc(100% + 80px) !important; max-width: none !important; height: auto !important; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 28%; margin: -40px -40px 26px !important; }
/* my health: the photo takes the media area under the copy */
@media (max-width: 759px) {
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .yl-card-img { width: calc(100% + 48px) !important; margin: -24px -24px 16px !important; }
}
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .yl-card-img { order: -1 !important; grid-row: 1 !important; }
@media (max-width: 759px) {
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card { grid-template-rows: auto !important; }
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .yl-card-img { grid-column: 1 / -1 !important; }
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .pg-ic { grid-row: 2 !important; }
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .pg-t { grid-row: 2 !important; }
  html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .pg-d { grid-row: 3 !important; grid-column: 1 / -1 !important; }
}

/* 17 Nov (Shali: "image subjects overlap the text; subjects should be visible"): genetic test cards are split, photo
   on the top 62%, copy below it on the card's cream (no text over the photo). */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon { background: #f3efe8 !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image { inset: 0 0 auto 0 !important; height: 62% !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image img { object-position: 50% 22% !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image::after { display: none !important; }
/* split card, in flow: photo block (58% of the card), then the copy with its own padding */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; padding: 0 !important; overflow: hidden !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-image { position: relative !important; inset: auto !important; flex: 0 0 58% !important; height: auto !important; width: 100% !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-title { margin: 0 !important; padding: 24px 28px 0 !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-copy { margin: 0 !important; padding: 10px 28px 24px !important; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-copy > p { margin: 0 !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #beyond .dd-addon .dd-addon-footer { margin-top: 12px !important; }
/* 17 Nov (Shali): Programmes cards are type only: no photo, no icon; title and line at the top of the card */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card { grid-template-columns: 1fr !important; grid-template-rows: auto auto 1fr !important; align-content: start !important; padding: 36px 32px !important; min-height: 230px !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card :is(.yl-card-img, .pg-ic) { display: none !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .pg-t { grid-column: 1 !important; grid-row: 1 !important; margin: 0 !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #programs .pg-card .pg-d { grid-column: 1 !important; grid-row: 2 !important; margin: 14px 0 0 !important; }
