/* Poker static sections: More Ways to Win, Discover, promotions, copy and accordions, closing banner, support strip.
 * Mobile-first, on the homepage breakpoints: columns from 768px, desktop sizes from 1200px.
 * Bordered cards pad 1px less than Figma, whose padding includes its inside stroke. */

/* ---- section headings ------------------------------------------------------------------------ */
/* Figma trims text to cap height; these margins remove the line-box slack so its gaps hold
 * (Nexa at line-height 1.2: 0.25em each side; Roboto at 1.5: 0.38em above the cap, 0.41em below the baseline). */
.poker-cards__title,
.poker-discover__title,
.poker-promos__title {
  margin-top: -0.25em;
}

.poker-cards__subtitle,
.poker-discover__subtitle,
.poker-promos__subtitle {
  margin-top: 5px;
  margin-bottom: -0.41em;
}

@media (min-width: 768px) {
  .poker-cards__subtitle,
  .poker-discover__subtitle,
  .poker-promos__subtitle {
    margin-top: 3px;
  }
}

/* ---- More Ways to Win ------------------------------------------------------------------------ */
.poker-cards {
  position: relative;
}

.poker-cards__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.poker-cards__list {
  gap: 8px;
  scrollbar-width: none;
}

.poker-cards__list::-webkit-scrollbar {
  display: none;
}

/* carousel.js toggles these on mouse drag; mandatory snap would fight the drag. */
.poker-cards__list.is-draggable {
  cursor: grab;
}

.poker-cards__list.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

/* Figma mobile: a 308px card with the next one peeking on the 366px frame. */
.poker-cards__item {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 8px) * 0.861);
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  height: 134px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
}

.poker-cards__media {
  position: absolute;
  inset: 0;
}

.poker-cards__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two lines tall whatever the name, so the buttons line up across the row; the negative
 * margins trim the line-box slack (0.23em at line-height 1.16) the way Figma does. The 7em
 * cap wraps three-word names after the first word (the partial binds the last two), as Figma does. */
.poker-cards__item-title {
  position: relative;
  max-width: min(234px, 7em);
  min-height: 2.32em;
  margin: -0.23em 0;
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.16;
}

/* Aurora ADS/CTA Outline on art (cta-3): glass face and a 1.5px light edge, as on the homepage. */
.poker-cards__cta,
.poker-promos__cta {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 32px;
  padding: 0 16px;
  border: 1.5px solid var(--color-cta-3-border);
  border-radius: var(--radius-action-1);
  background: var(--color-cta-3);
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  color: var(--color-cta-3-foreground);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* The full border is restated because site.css's link resets (`a:visited`, `a:hover`, `a:focus`,
   `a:active`: border none) outrank the base rule. */
.poker-cards__cta:visited,
.poker-promos__cta:visited,
.poker-cards__cta:hover,
.poker-promos__cta:hover,
.poker-cards__cta:focus,
.poker-promos__cta:focus {
  border: 1.5px solid var(--color-cta-3-border);
  color: var(--color-cta-3-foreground);
  text-decoration: none;
}

.poker-cards__cta:hover,
.poker-promos__cta:hover {
  background-color: var(--color-cta-3-hover);
}

.poker-cards__cta:active,
.poker-promos__cta:active {
  border: 3px solid var(--color-cta-3-border);
  background-color: var(--color-cta-3-active);
}

/* Link focus rings are !important because site.css sets `outline: 0 !important` on every link state. */
.poker-cards__cta:focus-visible,
.poker-promos__cta:focus-visible {
  outline: 2px solid var(--color-cta-3-border) !important;
  outline-offset: 3px;
}

/* Carousel arrows only appear when four or more cards overflow the row. */
.poker-v2 .carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--color-border-low);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-foreground-high);
  cursor: pointer;
}

.poker-v2 .carousel__btn svg {
  width: 16px;
  height: 16px;
}

.poker-v2 .carousel__btn:hover:not(:disabled) {
  background: var(--color-alpha-7-5);
}

.poker-v2 .carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.poker-v2 .carousel__btn:focus-visible {
  outline: 2px solid var(--color-cta-3-border);
  outline-offset: 3px;
}

.poker-cards__chip {
  display: none;
}

@media (min-width: 768px) {
  .poker-cards__list {
    gap: 12px;
  }

  .poker-cards__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .poker-cards__list:has(> :nth-child(4)) .poker-cards__item {
    flex: 0 0 calc((100% - 3 * 12px - 60px) / 3);
  }
}

@media (min-width: 1200px) {
  .poker-cards__item {
    gap: 24px;
    height: 183px;
    padding: 19px 29px;
  }

  .poker-cards__item-title {
    font-size: var(--text-2xl);
  }

  .poker-cards__cta,
  .poker-promos__cta {
    min-width: 0;
    height: 40px;
    font-size: var(--text-xl);
  }

  /* Figma's Chip 1, off the left edge beside the row; the transform is Figma's. */
  .poker-cards__chip {
    position: absolute;
    top: 227px;
    left: calc(var(--poker-gutter) - 132px);
    display: block;
    width: 309px;
    aspect-ratio: 1;
    pointer-events: none;
    background: var(--poker-chip, none) center / contain no-repeat;
    transform: translate(-50%, -50%) rotate(-19.34deg);
    --poker-chip-float: -8.7%;
    animation: poker-chip-float 0.8s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-cards__chip {
    animation: none;
  }
}

/* ---- Discover BetUS Poker ------------------------------------------------------------------- */
/* Fuse sends the tiles in the order Figma's columns read across, so a plain grid places them. */
.poker-discover__list {
  display: grid;
  gap: 6px;
}

.poker-discover__item {
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
  background: var(--color-card-1);
}

/* The 20px third column keeps Figma's text width; it holds the arrow when a tile links. */
.poker-discover__item,
.poker-discover__link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px 18px;
  padding: 15px;
}

/* A tile only reads as a link, arrow included, when Fuse gives it one. */
.poker-discover__item:has(> .poker-discover__link) {
  display: block;
  padding: 0;
}

.poker-discover__link {
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.poker-discover__link::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  background: var(--color-link);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.poker-discover__link:hover {
  color: inherit;
  text-decoration: none;
}

.poker-discover__link:focus-visible {
  outline: 2px solid var(--color-cta-3-border) !important;
  outline-offset: 2px;
}

.poker-v2 .poker-discover__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.poker-discover__item-title {
  grid-column: 2;
  margin: -0.25em 0;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
}

.poker-discover__item-text {
  grid-column: 2;
  margin: -0.38em 0 -0.37em;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-foreground-low);
}

@media (min-width: 768px) {
  .poker-discover__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

@media (min-width: 1024px) {
  .poker-discover__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .poker-discover__item,
  .poker-discover__link {
    padding: 35px 25px;
  }

  .poker-discover__item:has(> .poker-discover__link) {
    padding: 0;
  }

  .poker-discover__item-title {
    font-size: var(--text-base);
  }

  .poker-discover__item-text {
    font-size: var(--text-sm);
  }
}

/* ---- Online Casino Promotions --------------------------------------------------------------- */
.poker-promos__list {
  display: grid;
  gap: 16px;
}

/* The badge and headline are baked into the art; only the button and the footer strip are live. */
.poker-promos__item {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
}

.poker-promos__media {
  grid-area: 1 / 1;
}

.poker-promos__media img {
  display: block;
  width: 100%;
}

/* Sits in the gap the art leaves under its headline, which ends at the same height on every
 * card; the offsets are fractions of the card width so they scale with the art. */
.poker-promos__cta {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  margin: 0 0 4.2% 11.3%;
}

/* Figma: the icon and its text, then the payment logos 22px on; each group wraps whole. */
.poker-promos__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  min-height: 40px;
  margin: 0;
  padding: 8px 16px;
  list-style: none;
  background: var(--footer-bg, var(--color-card-3));
}

.poker-promos__footer-group {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: var(--text-2xs);
  line-height: 1.2;
  color: var(--color-foreground-high);
  white-space: nowrap;
}

.poker-promos__footer-group img {
  display: block;
  width: auto;
  max-height: 24px;
}

/* Fuse's bitcoin (27px disc on a 28px canvas) and litecoin (40px, a 2x export) don't match the 20px coins Figma draws. */
.poker-promos__footer-group img[src*="deposits-bitcoin"] {
  height: 20.6px;
}

.poker-promos__footer-group img:is([src*="litecoin"], [src*="litecon"]) {
  height: 20px;
}

@media (min-width: 576px) {
  .poker-promos__cta {
    margin: 0 0 3.4% 12%;
  }
}

/* Two columns only from 1024px: narrower, the art's baked headline shrinks under the live button. */
@media (min-width: 1024px) {
  .poker-promos__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1200px) {
  .poker-promos__footer {
    padding: 16px;
  }

  .poker-promos__footer-group {
    font-size: var(--text-sm);
  }
}

/* ---- SEO copy, Rules & Terms, FAQ ------------------------------------------------------------ */
/* Figma treats these as one group between two dividers, spaced tighter than the page's sections. */
/* The dividers are drawn at content width, inside the section's gutter padding. */
.poker-v2 > .poker-promos + .poker-block,
.poker-v2 > .poker-block + .poker-faq {
  background: linear-gradient(var(--color-card-border), var(--color-card-border)) center top / calc(100% - 2 * var(--poker-gutter)) 1px no-repeat;
}

.poker-v2 > .poker-promos + .poker-block {
  margin-top: 11px;
  padding-top: 13px;
}

.poker-v2 > .poker-block--prose + .poker-block--accordion {
  margin-top: -4px;
}

.poker-v2 > .poker-block + .poker-faq {
  margin-top: -4px;
  padding-top: 33px;
}

/* Body HTML authored in Fuse: headings and paragraph runs. */
.poker-block__body > * {
  margin: 0;
}

.poker-block__body > * + * {
  margin-top: 12px;
}

.poker-block__body > p + p {
  margin-top: 0;
}

.poker-block__body :is(h2, h3, h4) {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: normal;
}

.poker-block__body p {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-foreground-low);
}

/* Figma sets the copy at one weight and colour; the CMS's bold and links are for search, not for show. */
.poker-block__body :is(strong, b) {
  font-weight: inherit;
}

.poker-v2 .poker-block__body a {
  color: inherit;
  text-decoration: none;
}

.poker-v2 .poker-block__body a:hover {
  color: inherit;
  text-decoration: underline;
}

.poker-v2 .poker-block__body a:focus-visible,
.poker-v2 .poker-faq__answer a:focus-visible {
  outline: 2px solid var(--color-cta-3-border) !important;
  outline-offset: 2px;
}

.poker-block__accordion,
.poker-faq__accordion {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.poker-faq__title {
  margin: 0;
  font-size: var(--text-xl);
  line-height: normal;
  text-align: center;
}

.poker-faq__accordion {
  margin-top: 12px;
}

.poker-block__row,
.poker-faq__item {
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
  background: var(--color-card-1);
}

.poker-block__row-label,
.poker-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 9px 31px;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-foreground-high);
  list-style: none;
  cursor: pointer;
}

.poker-block__row-label::-webkit-details-marker,
.poker-faq__question::-webkit-details-marker {
  display: none;
}

.poker-block__row-label::after,
.poker-faq__question::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s ease;
}

[open] > .poker-block__row-label::after,
[open] > .poker-faq__question::after {
  transform: rotate(180deg);
}

/* Browsers without ::details-content keep the instant toggle. */
.poker-block__row::details-content,
.poker-faq__item::details-content {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, content-visibility 0.3s allow-discrete;
}

.poker-block__row[open]::details-content,
.poker-faq__item[open]::details-content {
  grid-template-rows: 1fr;
}

/* A 0fr row can't shrink below the body's padding, so it collapses alongside. The fade
   carries the motion on tall rows, whose visible height change is over almost instantly. */
.poker-block__row:not([open]) > .poker-block__row-body,
.poker-faq__item:not([open]) > .poker-faq__answer {
  padding-bottom: 0;
  opacity: 0;
}

@starting-style {
  .poker-block__row[open] > .poker-block__row-body,
  .poker-faq__item[open] > .poker-faq__answer {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-block__row-label::after,
  .poker-faq__question::after,
  .poker-block__row::details-content,
  .poker-faq__item::details-content,
  .poker-block__row-body,
  .poker-faq__answer {
    transition: none;
  }
}

.poker-block__row-label:focus-visible,
.poker-faq__question:focus-visible {
  border-radius: var(--radius-xl);
  outline: 2px solid var(--color-cta-3-border);
  outline-offset: 2px;
}

.poker-block__row-body,
.poker-faq__answer {
  min-height: 0;
  padding: 0 31px 24px;
  transition: padding-bottom 0.3s ease, opacity 0.3s ease;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-foreground-low);
}

.poker-block__row-body > :first-child,
.poker-faq__answer > :first-child {
  margin-top: 0;
}

.poker-block__row-body > :last-child,
.poker-faq__answer > :last-child {
  margin-bottom: 0;
}

.poker-block__row-body :is(p, ul, ol) {
  margin: 0 0 12px;
}

.poker-block__row-body :is(ul, ol) {
  padding-left: 1.25em;
}

/* The Rules HTML numbers its own items and marks sub-headings, as on the current page. */
.poker-block__row-body :is(.content-list, .sublist) {
  padding-left: 0;
  list-style-position: inside;
}

.poker-block__row-body .sub-list {
  margin-left: 20px;
}

.poker-block__row-body .list-plain {
  list-style: none;
}

.poker-block__row-body .title-text {
  color: var(--color-foreground-high);
}

/* Underlined, since the link colour alone is too close to the body grey. */
.poker-block__row-body a,
.poker-faq__answer a {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .poker-v2 > .poker-promos + .poker-block {
    margin-top: 0;
    padding-top: 21px;
  }

  .poker-v2 > .poker-block--prose + .poker-block--accordion {
    margin-top: calc(16px - var(--poker-section-gap));
  }

  .poker-v2 > .poker-block + .poker-faq {
    margin-top: calc(20px - var(--poker-section-gap));
  }

  .poker-block__body > * + * {
    margin-top: 24px;
  }

  .poker-block__accordion,
  .poker-faq__accordion {
    gap: 20px;
  }

  .poker-faq__accordion {
    margin-top: 20px;
  }

  .poker-block__row-label,
  .poker-faq__question {
    font-size: var(--text-xl);
  }

  .poker-block__row-label::after,
  .poker-faq__question::after {
    width: 24px;
    height: 24px;
  }
}

/* ---- closing banner and support strip -------------------------------------------------------- */
/* Figma mobile: the FAQ group carries 20px below it, and the two cards sit 7px apart. */
.poker-v2 > .poker-faq + * {
  margin-top: 11px;
}

.poker-v2 > .poker-closing + .poker-support {
  margin-top: -9px;
}

@media (min-width: 768px) {
  .poker-v2 > .poker-faq + *,
  .poker-v2 > .poker-closing + .poker-support {
    margin-top: 0;
  }
}

/* Each section is the card itself, so it sits inside the page gutter instead of padding to it. */
.poker-v2 > .poker-closing,
.poker-v2 > .poker-support {
  width: calc(100% - 2 * var(--poker-gutter));
  max-width: var(--poker-maxw);
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-2xl);
}

.poker-v2 > .poker-closing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29px;
  padding: 27px 31px;
  background: var(--color-card-3);
}

.poker-closing > :not(.poker-closing__media) {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1000px);
}

/* Margins trim the line-box slack (Nexa: 0.18em at line-height 1.06, 0.36em at 1.42). */
.poker-closing__title {
  margin: -0.18em 0;
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.06;
}

.poker-closing__subtitle {
  margin: -0.36em 0;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.42;
  color: color-mix(in srgb, var(--color-artwork-foreground-white) 80%, transparent);
}

/* The art carries a light 1px edge; it bleeds 2px past the card so the clip hides it. The
   cards sit in the image's right ~22%, so it anchors right to keep them in view. */
.poker-v2 .poker-closing__media {
  position: absolute;
  inset: -2px;
  z-index: 0;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  max-width: none;
  object-fit: cover;
  object-position: right center;
}

/* Too narrow to fit the text beside the cards; at these widths they were cropped off anyway. */
@media (max-width: 1199px) {
  .poker-v2 .poker-closing__media {
    display: none;
  }
}

/* Aurora ADS/CTA Yellow; Figma draws it 303px wide at both sizes. */
.poker-closing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 303px;
  max-width: 100%;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-action-1);
  background: var(--color-cta-2);
  color: var(--color-cta-2-foreground);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.poker-closing__cta:hover,
.poker-closing__cta:focus {
  background: var(--color-cta-2-hover);
  color: var(--color-cta-2-foreground);
  text-decoration: none;
}

.poker-closing__cta:active {
  background: var(--color-cta-2-active);
}

.poker-closing__cta:focus-visible {
  outline: 2px solid var(--color-cta-3-border) !important;
  outline-offset: 3px;
}

.poker-v2 > .poker-support {
  display: grid;
  align-items: center;
  gap: 36px 24px;
  padding: 31px 39px;
  background: var(--color-card-1);
}

/* Margins trim the line-box slack (Nexa 0.21em at line-height 1.12; Roboto at 1.4: 0.33em above, 0.36em below). */
.poker-support__title {
  margin: -0.21em 0;
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.12;
}

.poker-support__text {
  margin: -0.33em 0 -0.36em;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--color-foreground-low);
}

/* Aurora ADS/Button Outline, Medium; the payload's chat icon follows the label, as in Figma. */
.poker-support__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 14px;
  min-width: min(277px, 100%);
  height: 56px;
  margin-top: -12px;
  padding: 0 20px;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-action-1);
  background: transparent;
  color: var(--color-foreground-high);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.poker-support__cta:hover {
  background: var(--color-alpha-7-5);
}

.poker-support__cta:active {
  border-width: 2px;
  background: var(--color-alpha-20);
}

.poker-support__cta:focus-visible {
  outline: 2px solid var(--color-cta-3-border);
  outline-offset: 3px;
}

.poker-v2 .poker-support__icon {
  order: 1;
  width: 22px;
  height: 22px;
}

@media (min-width: 576px) {
  .poker-v2 > .poker-closing {
    padding: 47px 55px;
  }
}

@media (min-width: 768px) {
  .poker-v2 > .poker-support {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 24px;
  }

  .poker-support__title {
    grid-column: 1;
  }

  .poker-support__text {
    grid-column: 1;
    font-size: var(--text-base);
  }

  .poker-support__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

/* The right padding keeps the text clear of the cards, which are ~1.06x the card's height wide;
   below 1440 the text wraps to two lines, so the card and the cards grow. */
@media (min-width: 1200px) {
  .poker-v2 > .poker-closing {
    padding: 63px 430px 63px 79px;
    background: var(--color-background-1);
  }

  .poker-closing__subtitle {
    color: var(--color-foreground-low);
  }

  .poker-closing__cta {
    height: 56px;
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1440px) {
  .poker-v2 > .poker-closing {
    padding-right: 330px;
  }
}
