/* Category cards only. Reuse Storely's .btn .btn-primary base classes. */
body.home #bannerinfo-section .info-content {
  min-width: 0;
}
body.home #bannerinfo-section a.gt-category-cta {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  white-space: normal;
  color: #10140a;
  background: #7aa228;
  text-shadow: none;
}
body.home #bannerinfo-section a.gt-category-cta:hover {
  background: #93be38;
  color: #10140a;
}
body.home #bannerinfo-section a.gt-category-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
body.home #bannerinfo-section a.gt-category-cta i {
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  body.home #bannerinfo-section .bannerinfo {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 28px 20px;
    text-align: center;
  }
  body.home #bannerinfo-section .bannerinfo .bannerinfo-img {
    flex: 0 0 auto;
    width: min(220px, 100%);
    height: 160px;
    margin: 0;
  }
  body.home #bannerinfo-section .bannerinfo-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  body.home #bannerinfo-section .info-content {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }
  body.home #bannerinfo-section .info-content > span,
  body.home #bannerinfo-section .info-content > h4,
  body.home #bannerinfo-section .info-content > p {
    max-width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
  }
  body.home #bannerinfo-section a.gt-category-cta {
    margin-top: 8px;
  }
}


/* Local design proposal only. Every rule stays inside the homepage category section. */
body.home #bannerinfo-section .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-inline: 0;
}
body.home #bannerinfo-section .row > div {
  display: flex;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}
body.home #bannerinfo-section .bannerinfo {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
  height: 100%;
  padding: 24px;
  text-align: center;
}
body.home #bannerinfo-section .bannerinfo .bannerinfo-img {
  flex: 0 0 auto;
  width: min(260px, 100%);
  height: 190px;
  margin: 0;
}
body.home #bannerinfo-section .bannerinfo-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.home #bannerinfo-section .info-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  text-align: center;
}
body.home #bannerinfo-section .info-content > span,
body.home #bannerinfo-section .info-content > h4,
body.home #bannerinfo-section .info-content > p {
  max-width: 100%;
  margin: 0;
  overflow-wrap: break-word;
}
body.home #bannerinfo-section .info-content > p {
  flex: 1;
  line-height: 1.45;
  text-wrap: balance;
}
body.home #bannerinfo-section a.gt-category-cta {
  flex: 0 0 auto;
  margin-top: 8px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.home #bannerinfo-section .row { gap: 16px; }
  body.home #bannerinfo-section .bannerinfo { padding: 20px 16px; gap: 14px; }
  body.home #bannerinfo-section .bannerinfo .bannerinfo-img { height: 150px; }
  body.home #bannerinfo-section .info-content > h4 { font-size: 22px; }
  body.home #bannerinfo-section .info-content > p { font-size: 16px; }
}
@media (max-width: 767px) {
  body.home #bannerinfo-section .row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.home #bannerinfo-section .bannerinfo { padding: 24px 20px; }
  body.home #bannerinfo-section .bannerinfo .bannerinfo-img { width: min(260px, 100%); height: 180px; }
}
/* The theme's clearfix pseudo-elements must not occupy Grid cells. */
body.home #bannerinfo-section .row::before,
body.home #bannerinfo-section .row::after { display: none; }
/* Bootstrap's existing mb-4 utility is !important; row gap replaces it here. */
body.home #bannerinfo-section .row > .mb-4 { margin-bottom: 0 !important; }


/* V3 local refinement. No image asset or live file is changed. */
body.home #bannerinfo-section .info-content { gap: 4px; }
/* Preserve 16 px total separation from description to CTA (4 + 12). */
body.home #bannerinfo-section a.gt-category-cta { margin-top: 12px; }
/* Original artwork: opaque motif midpoint x=1069; canvas midpoint x=836.
   Translate by 233/1672 of rendered width, preserving size and aspect ratio. */
body.home #bannerinfo-section .bannerinfo-img img[src*="Nintendo-Switch-Spil-i-Farverig-Produktopstilling"] {
  transform: translateX(-13.9354067%);
}


/* Local V4 refinement. Original image assets remain untouched. */
body.home #bannerinfo-section .bannerinfo {
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: border-color .18s ease, box-shadow .18s ease;
}
body.home #bannerinfo-section .bannerinfo:hover,
body.home #bannerinfo-section .bannerinfo:focus-within {
  border-color: rgba(122,162,40,.4);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
/* Replace only these cards' white flash with the quiet border treatment. */
body.home #bannerinfo-section .bannerinfo::before,
body.home #bannerinfo-section .bannerinfo::after { display: none; }
body.home #bannerinfo-section .bannerinfo .bannerinfo-img {
  position: relative;
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 260 / 180;
}
body.home #bannerinfo-section .bannerinfo-img img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  height: auto;
  object-fit: contain;
}
/* Fit the visible motifs, not their unequal transparent canvases. */
body.home #bannerinfo-section .bannerinfo-img img[src*="01.08.15"] {
  width: 77%;
  transform: translate(-50.5668934%, -48.8645921%);
}
body.home #bannerinfo-section .bannerinfo-img img[src*="00.46.13"] {
  width: 95.4%;
  transform: translate(-50.4557292%, -49.9511719%);
}
body.home #bannerinfo-section .bannerinfo-img img[src*="Nintendo-Switch-Spil-i-"] {
  width: 110%;
  transform: translate(-63.9653110%, -51.9128587%);
}
body.home #bannerinfo-section .info-content { gap: 4px; }
body.home #bannerinfo-section .info-content > span {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .08em;
  color: #c3c5c0;
}
body.home #bannerinfo-section .info-content > h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}
body.home #bannerinfo-section .info-content > p {
  font-size: 16px;
  line-height: 1.5;
  color: #e1e2df;
}
body.home #bannerinfo-section a.gt-category-cta {
  width: 176px;
  max-width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 10px 20px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}
@media (min-width:768px) and (max-width:1023px) {
  body.home #bannerinfo-section .bannerinfo { padding: 18px 14px; gap: 10px; }
  body.home #bannerinfo-section .info-content > h4 { font-size: 22px; }
  body.home #bannerinfo-section .info-content > p { font-size: 15px; }
  body.home #bannerinfo-section a.gt-category-cta { width: 168px; }
}
@media (max-width:767px) {
  body.home #bannerinfo-section .bannerinfo { padding: 22px 20px; }
}
@media (prefers-reduced-motion:reduce) {
  body.home #bannerinfo-section .bannerinfo { transition: none; }
}
/* Keep even the Nintendo file's very faint left-edge pixels inside narrow cards. */
@media (min-width:768px) and (max-width:1023px) {
  body.home #bannerinfo-section .bannerinfo-img img[src*="Nintendo-Switch-Spil-i-"] { width: 100%; }
}
@media (min-width:1024px) and (max-width:1279px) {
  body.home #bannerinfo-section .bannerinfo-img img[src*="Nintendo-Switch-Spil-i-"] { width: 106%; }
}
