/* =========================================================
   FINALLY... feature cards (.gmefirst31-card)
   Wide white cards, two to a row: a tinted panel on the left holding
   the 3D icon (with the card number tucked in its corner), the title and
   its line on the right. Each card has its own pastel.
========================================================= */

/* section ground: images/bg6.png */
body.cyber-monday.cyber-monday.cyber-monday .gmefirst31-section.th-light.th-light {
  background: #fff url(../images/bg6.png) center top / cover no-repeat !important;
}

body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card {
  --p1: #efe6ff;
  --p2: #e2d3ff;
  --pc: #5a1fd0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  align-items: center;
  gap: 0 24px;
  height: 100%;
  min-height: 168px;
  margin: 0;
  padding: 10px 26px 10px 10px !important;
  overflow: hidden;
  border: 1px solid #ebe3fb !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 18px 38px -28px rgba(74, 18, 184, .55) !important;
  text-align: left;
  transform: none;
}
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card::before,
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card::after { display: none !important; }
.gmefirst31-section .gmefirst31-card:hover { transform: none; }

/* tinted panel with the icon */
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-icon-wrap {
  grid-column: 1;
  grid-row: 1 / -1;
  position: relative;
  display: grid;
  place-items: center;
  width: auto;
  height: 100%;
  min-height: 148px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(140deg, var(--p1), var(--p2));
  box-shadow: none;
}
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-icon-img {
width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: hue-rotate(244deg) saturate(1.05) drop-shadow(0 12px 16px rgba(58, 10, 158, .28));
}

/* the number, small, in the panel's corner */
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-number {
  position: absolute;
  top: 18px;
  left: 18px;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 34px;
  height: 24px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 100px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 4px 10px -6px rgba(58, 10, 158, .5);
  color: var(--pc) !important;
  -webkit-text-fill-color: var(--pc);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  opacity: 1;
}
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-divider { display: none; }

/* text */
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #150533 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  line-height: 1.28 !important;
  text-align: left;
  text-wrap: balance;
}
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card p {
  grid-column: 2;
  grid-row: 3;
  margin: 8px 0 0;
  color: #5d4d80 !important;
  font-size: 15.5px;
  line-height: 1.5;
  text-align: left;
}
body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card p::first-letter { text-transform: uppercase; }

/* a pastel of its own for every card */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+1) .gmefirst31-card { --p1: #f1e9ff; --p2: #dccbff; --pc: #5a1fd0; } /* lavender */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+2) .gmefirst31-card { --p1: #e9f8f0; --p2: #c9ecd9; --pc: #0f6e4c; } /* mint */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+3) .gmefirst31-card { --p1: #fff0e6; --p2: #ffd9c2; --pc: #b4441c; } /* peach */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+4) .gmefirst31-card { --p1: #eaf1ff; --p2: #cddcff; --pc: #2442b0; } /* blue */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+5) .gmefirst31-card { --p1: #fff7dc; --p2: #ffe8a8; --pc: #9a5b00; } /* butter */
body.cyber-monday.cyber-monday .gmefirst31-section .row > :nth-child(6n+6) .gmefirst31-card { --p1: #ffeaf2; --p2: #ffd0e0; --pc: #b0213f; } /* rose */

/* ---------- smaller screens ---------- */
@media (max-width: 767px) {
  body.cyber-monday.cyber-monday.cyber-monday .gmefirst31-section.th-light.th-light { background-size: 100% auto !important; }
}
@media (max-width: 575px) {
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 0 14px; min-height: 128px; padding: 8px 14px 8px 8px !important; border-radius: 16px !important; }
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-icon-wrap { min-height: 112px; border-radius: 10px; }
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-icon-img { width: 78px; }
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-number { top: 8px; left: 8px; min-width: 28px; height: 20px; padding: 0 6px; font-size: 10.5px; }
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card h3 { font-size: 16px !important; }
  body.cyber-monday.cyber-monday .gmefirst31-section .gmefirst31-card p { margin-top: 5px; font-size: 13.5px; }
}
