/* Fixes on top of the archived CSS, which is kept unchanged. The site's images
   came from /api/assets/ and were not archived, so the restoration renders each
   one as a span.archive-image-unavailable carrying the image's alt text. */

/* The hero title is white (--hero-title-color) over a full-bleed background
   image. Without the image it sat white on the light page background. */
.hero-block:has(> .absolute .archive-image-unavailable) {
  background: linear-gradient(135deg, var(--hover-color, #4754d1) 0%, #232a6b 100%);
}

/* Slot list thumbnails (60x60): a tile with the game name instead of alt text
   spilling out of the box. */
.slots__list-img .archive-image-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: .25rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hover-color, #4754d1), #232a6b);
  color: #fff;
  font-size: .5625rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
}

/* Author avatar: the alt text inherited the 2.5rem initials size of .avatar. */
.avatar .archive-image-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: .75rem;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

/* Header logo: show the brand name as a wordmark. */
.header__logo .archive-image-unavailable {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--primary-color, #161616);
  white-space: nowrap;
}

/* Bonus cards: the archived onerror hid the logo and left an empty gap above
   the offer; show the brand name as a badge instead. */
.bonus-logo-wrapper .archive-image-unavailable {
  display: inline-flex !important;
  align-items: center;
  padding: .5rem 1.25rem;
  border-radius: 999px;
  background: var(--hover-color, #4754d1);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

/* /fr-fr/ (older site generation, shared landing template) */

/* Header logo image: its alt is only "Logo"; show the brand as a wordmark. */
#header .logo-wrap .archive-image-unavailable {
  font-size: 0;
}
#header .logo-wrap .archive-image-unavailable::after {
  content: "Prime Slots";
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* Teaser banner and in-article casino banners: a branded tile in place of the
   missing screenshot, still linking to the offer like the original image. */
.slide .archive-image-unavailable,
.image-gallery .archive-image-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 15px;
  background: linear-gradient(135deg, #4754d1 0%, #232a6b 100%);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.slide .archive-image-unavailable {
  width: min(1100px, 92vw);
  min-height: 260px;
  padding: 2rem;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
}
.image-gallery .archive-image-unavailable {
  min-height: 140px;
  padding: 1.5rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* Sticky promo widget logo. */
.promo-widget .archive-image-unavailable {
  font-weight: 800;
  white-space: nowrap;
}
