/* =============================================================================
   Offer cards (v0.82.0, restyled ivory and gold in v0.85.0) · Black Friday deals
   and weekly specials
   -----------------------------------------------------------------------------
   v0.82.0 made these jewel-tone cards to match the first holiday ads. On 26 Nov
   2026 the ads moved to a cream, white and gold European look (like the studio
   itself), so the cards follow: a photo on top, an ivory panel with a curved gold
   edge, a double gold frame, an ivory seal with the offer in gold, dark serif
   type with one gold italic word. Colours are the --lux-* tokens in
   design-system.css.

   The class names still say "jewel" so the markup did not have to change. The
   colour variants (--emerald --aqua --sapphire --rasp --amethyst --amber) are
   still accepted but now all look the same, on purpose.

   Markup:
     <article class="jewel jewel--emerald">
       <div class="jewel__photo"><img ...></div>        (or .jewel__mosaic with 6 imgs)
       <div class="jewel__seal"><small>Any program</small><strong>30%</strong><span>off</span></div>
       <div class="jewel__body"><span class="jewel__kick">…</span><h3>… <i>word</i></h3><p>…</p></div>
     </article>
   ============================================================================= */

/* The band behind a set of cards: ivory into a soft cream. */
.offers-band,.bf-areas.offers-band{background:linear-gradient(180deg,var(--lux-ivory) 0%,var(--lux-cream) 100%)}

.jewel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:32px 0 24px}
@media (max-width:1100px){.jewel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.jewel-grid{grid-template-columns:1fr}}

.jewel{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:2px;
  background:var(--lux-ivory);border:1.5px solid rgba(var(--lux-gold-rgb),.75);
  box-shadow:0 14px 34px rgba(46,36,30,.10)}
/* Second, finer gold line inside the first, like the frame on the ads. */
.jewel:after{content:"";position:absolute;inset:6px;z-index:4;border:1px solid rgba(var(--lux-gold-rgb),.4);pointer-events:none}

/* Photo, or a mosaic of program photos. */
.jewel__photo{aspect-ratio:4/3;overflow:hidden}
.jewel__photo img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.jewel__mosaic{aspect-ratio:4/3;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr 1fr;gap:3px;background:var(--lux-ivory)}
.jewel__mosaic img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}

/* Ivory panel with a curved gold edge, overlapping the photo. */
.jewel__body{position:relative;flex:1;display:flex;flex-direction:column;gap:8px;margin-top:-26px;padding:34px 22px 26px;
  border-radius:50% 50% 0 0 / 26px 26px 0 0;border-top:1.5px solid rgba(var(--lux-gold-rgb),.85);
  background:var(--lux-ivory)}
.jewel__kick{min-height:44px;font:700 10.5px var(--font-ui);letter-spacing:.24em;text-transform:uppercase;color:var(--lux-gold-text);padding-right:100px}
.jewel h3{margin:0;font-family:var(--font-display);font-weight:500;font-size:25px;line-height:1.15;color:var(--lux-ink)}
.jewel h3 i{font-style:italic;color:var(--lux-gold)}
.update-wrap .jewel p{margin:0;font-size:15.5px;line-height:1.55;color:var(--lux-ink-soft)}
.jewel p a{color:var(--lux-gold-text);text-decoration:underline;text-underline-offset:3px}
.jewel p strong{color:var(--lux-ink)}

/* Ivory seal on the edge between photo and panel, offer in gold. */
.jewel__seal{position:absolute;z-index:3;right:14px;top:0;
  /* margin % is a share of the card's WIDTH, so 75% lands on the bottom of the 4:3 photo */
  width:96px;height:96px;margin-top:calc(75% - 62px);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background:var(--lux-ivory);color:var(--lux-gold-text);
  box-shadow:0 8px 22px rgba(46,36,30,.16),inset 0 0 0 1.5px rgba(var(--lux-gold-rgb),.8),inset 0 0 0 5px var(--lux-ivory),inset 0 0 0 6px rgba(var(--lux-gold-rgb),.45)}
.jewel__seal small,.jewel__seal span{font:700 8.5px var(--font-ui);letter-spacing:.16em;text-transform:uppercase;line-height:1.2;max-width:78px}
.jewel__seal strong{font-family:var(--font-display);font-weight:600;font-size:30px;line-height:1;margin:2px 0;font-variant-numeric:lining-nums;
  background:var(--lux-gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.jewel__seal strong.sm{font-size:21px}
.jewel__seal strong em{font-style:italic;font-weight:600;font-size:22px}
