/* GSN header styling similar to Game Taco */
.gsn-header-container {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
}
.gsn-logo {
  height: 64px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0002;
  background: #fff;
  padding: 4px 12px;
}
.gsn-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #0003;
}
/* Clean, centered Skill Games Shipped heading at top */
.gsn-skillgames-heading {
  width: 100%;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.gsn-skillgames-heading .text-draw {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
.gsn-skillgames-heading .text-draw__p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 4px 0;
  text-align: center;
}
.gsn-skillgames-heading .text-draw__box {
  margin: 0 auto;
}
/* Center and stretch the Skill Games Shipped heading */
.games-shipped {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
}
.games-shipped .text-draw {
  width: 100%;
  max-width: 560px; /* prevent the heading from expanding too wide */
  text-align: center;
  margin: 0 auto;
}
.games-shipped .text-draw__p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 4px 0;
  text-align: center;
}
.games-shipped .text-draw__box {
  margin: 0 auto;
}
/* gsn.css */
 .text-draw {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0 auto 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 0;
    z-index: 9999;
    pointer-events: none;
  }

.gsn-games-carousel {
    position: relative;
    z-index: 1;
}

.gsn-skillgames-heading, .games-shipped {
    position: relative;
    z-index: 101;
}
  .text-draw__count {
  font-size: 4.5rem;
    font-weight: bold;
  color: #fff;
    text-align: center;
    margin: 0 0 0.1em 0;
    line-height: 1.0;
    letter-spacing: -0.04em;
    width: 100%;
  }
  .text-draw__title-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.1em;
  }
  .text-draw__p {
    font-size: clamp(1.6rem, 2.6rem, 3.2rem); /* keep readable but stop growing past 3.2rem */
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    width: auto;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .text-draw__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 310px;
    height: 40px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    top: 0;
  }
  @media (max-width: 900px) {
    .text-draw__count {
      font-size: 2.5rem;
    }
    .text-draw__p {
      font-size: 1.7rem;
    }
    .text-draw__box {
      width: 180px;
      height: 28px;
    }
  }
  @media (max-width: 600px) {
    .text-draw__count {
      font-size: 1.5rem;
    }
    .text-draw__p {
      font-size: 1.1rem;
    }
    .text-draw__box {
      width: 120px;
      height: 18px;
    }
  }
/* 1) Top half of panel for timeline */
.gsn-timeline-wrapper {
  position: relative;
  width: 100%;
  height: 50%;
  margin-bottom: 2rem;
  overflow: visible;
}

/* 2) SVG fills container */
#gsn-timeline {
  width: 100%;
  height: 100%;
}

/* 3) Events absolutely positioned by JS */
.timeline-event {
  position: absolute;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: auto;
}
.gsn-responsive-layout {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
      gap: 2vw;
      width: 100%;
  /* allow full panel width; multi-column sizing still governed by flex */
  max-width: none;
  margin: 0;
      box-sizing: border-box;
    }
    .gsn-kpis {
      flex: 1 1 220px;
      min-width: 180px;
      max-width: 320px;
      padding: 12px 8px;
      box-sizing: border-box;
      color: #222;
      background: none;
      font-size: 1.1rem;
    }
    .gsn-header {
      font-weight: bold;
      font-size: 1.2rem;
      margin-bottom: 8px;
    }
    .gsn-skillgames-heading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
  width: 100%;
  margin: 18px auto 8px auto; /* tighter since we scaled the block */
      position: relative;
    }
    .gsn-skillgames-heading .text-draw__p {
      font-size: 2rem;
      font-weight: bold;
      margin: 0 0 4px 0;
      text-align: center;
      position: relative;
      z-index: 2;
    }
    .gsn-skillgames-heading .text-draw__box {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 310px;
      height: 40px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      top: 0;
    }
    .gsn-games-carousel {
      flex: 2 1 400px;
      min-width: 260px;
      /* let it grow to the panel edges unless constrained by media rules */
      max-width: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      box-sizing: border-box;
      padding: 0 8px;
    }
    /* Right column: stack highlight and team horizontally-aligned card so their combined height
       equals the left carousel when parent is stretched. */
    .gsn-team-card-col {
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1 1 320px;
      min-width: 240px;
      max-width: 420px;
      align-items: stretch;
      box-sizing: border-box;
      padding: 0 8px;
    }
  /* show highlight PNG at its intrinsic size with no extra framing */
  .gsn-highlight-card { display:flex; align-items:center; justify-content:center; flex: 0 0 auto; padding:0; background: transparent; box-shadow:none; }
  .gsn-wwhighlight { width: auto; height: auto; max-width: 100%; display:block; }

    .gsn-team-horizontal {
      background: linear-gradient(180deg, #1976a8 0%, #15608f 100%);
      border-radius: 20px;
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(0,0,0,0.18);
      color: #fff;
  width: 100%;
  max-width: 380px; /* fixed visual width so the bubble doesn't grow on large screens */
  flex: 0 0 auto; /* prevent flex from growing */
  margin: 0 auto; /* center inside its column */
  box-sizing: border-box;
    }
  .gsn-team-row { display:flex; align-items:center; gap:14px; width:100%; justify-content:center; }
    .gsn-team-count { font-size: 4.2rem; font-weight:900; color:#fff; margin:0; line-height:1; }
    .gsn-people-wrap { flex:0 0 auto; display:flex; align-items:center; }
    .gsn-people-img { width: 140px; height: auto; transform: scale(0.86); display:block; }
    .gsn-team-caption { font-size: 1rem; color:#e8f6ff; text-align:center; width:100%; padding-top:6px; }

    @media (max-width: 900px) {
      .gsn-team-card-col { gap:10px; }
      .gsn-team-horizontal { padding:10px; }
      .gsn-team-count { font-size: 3rem; }
      .gsn-people-img { width: 120px; transform: scale(0.78); }
    }
    @media (max-width: 600px) {
      .gsn-team-card-col { flex-direction: column; }
      .gsn-team-horizontal { flex-direction: column; }
      .gsn-team-count { font-size: 2.4rem; }
      .gsn-people-img { width: 92px; transform: scale(0.7); }
    }

    /* make the text-draw underline and title white */
  .text-draw { color: #fff; }
  .games-shipped .text-draw, .gsn-skillgames-heading .text-draw { color: #fff !important; }
  .text-draw__box svg path { stroke: #fff !important; }
    #drag-container {
      width: 100%;
      max-width: none; /* allow full width unless constrained by parent */
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    #spin-container {
      width: 100%;
      min-height: 200px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .sprite-icon {
      display: inline-block;
      width: 200px;
      height: 200px;
      max-width: 120px;
      max-height: 170px;
      aspect-ratio: 1/1;
      background-image: url('./images/games-list.webp');
      background-size:830px 600px;
      background-repeat: no-repeat;
      margin: 0 4px;
      border: 0px solid #fff2;
      border-radius: 0;
      box-shadow: none;
      background-color: #fff0;
      overflow: hidden;
    }
    .sprite-icon img, .sprite-icon video {
      object-fit: contain;
      width: 100%;
      height: 100%;
      display: block;
    }
    @media (max-width: 900px) {
      .gsn-responsive-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        /* Full-bleed the layout so first child (carousel) can use the entire panel width */
        position: relative;
        left: calc(-1 * var(--panel-padding));
        width: calc(100% + (var(--panel-padding) * 2));
        max-width: none;
      }
      .gsn-kpis, .gsn-games-carousel {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 8px 0;
      }
      /* Make the carousel full-bleed across the panel like the footer */
      .gsn-games-carousel {
        position: relative;
        left: calc(-1 * var(--panel-padding));
        width: calc(100% + (var(--panel-padding) * 2));
        max-width: none;
        padding: 0; /* remove side padding so it truly spans edge-to-edge */
      }
      #gsn-section { overflow-x: hidden; }
      #drag-container { max-width: none; width: 100%; }
  .gsn-team-card-col { align-items: center; justify-content: center; margin-left:auto; margin-right:auto; width:100%; max-width: 560px; }
  .gsn-highlight-card { display:flex; justify-content: center; align-items:center; margin: 10px auto; width:100%; }
  .gsn-wwhighlight { display:block; margin: 0 auto; }
  .gsn-team-horizontal { margin: 12px auto 0 auto; text-align: center; width:100%; max-width: 420px; }
      #drag-container {
        max-width: none; /* override previous cap */
      }
    }
    @media (max-width: 600px) {
      .gsn-header {
        font-size: 1rem;
      }
      .gsn-kpis, .gsn-games-carousel {
        font-size: 0.98rem;
        padding: 4px 0;
      }
      #spin-container {
        min-height: 120px;
      }
    }
    /* Text-draw block styles */
    .text-draw {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      margin: 0 auto 0 auto;
      position: relative;
      padding: 0;
    }
    .text-draw__count {
      font-size: clamp(2rem, 3.6rem, 4.5rem); /* cap growth at 4.5rem */
      font-weight: bold;
      color: #fff;
      text-align: center;
      margin: 0 0 0.1em 0;
      line-height: 1.0;
      letter-spacing: -0.04em;
      width: 100%;
    }
    .text-draw__title-row {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 0.1em;
    }
    .text-draw__p {
      font-size: 3.2rem;
      font-weight: bold;
      color: #fff;
      text-align: center;
      white-space: nowrap;
      margin: 0;
      padding: 0;
      line-height: 1.1;
      letter-spacing: -0.02em;
      width: auto;
      display: inline-block;
    }
    .text-draw__box {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 310px;
      height: 40px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      top: 0;
    }
    @media (max-width: 900px) {
      .text-draw__count {
        font-size: 2.5rem;
      }
      .text-draw__p {
        font-size: 1.7rem;
      }
      .text-draw__box {
        width: 180px;
        height: 28px;
      }
    }
    @media (max-width: 600px) {
      .text-draw__count {
        font-size: 1.5rem;
      }
      .text-draw__p {
        font-size: 1.1rem;
      }
      .text-draw__box {
        width: 120px;
        height: 18px;
      }
    }

    .gsn-team-card {
      /* shift to bluer palette to match wwhighlight */
      background: linear-gradient(180deg, #2e86c1 0%, #1976a8 100%);
      border-radius: 28px;
      box-shadow: 0 2px 20px 0 rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
      padding: 8px 18px 8px 18px;
      max-width: 420px;
      margin: 0 auto 20px auto;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 260px; /* reduced vertical space */
    }
    .gsn-team-card .gsn-team-count {
      font-size: 3.8rem; /* slightly smaller to reduce vertical space */
      font-weight: 800;
      color: #ffffff;
      text-align: center;
      line-height: 1.0;
      margin-bottom: 0.05em;
      margin-top: 0.05em;
      text-shadow: 0 2px 6px rgba(0,0,0,0.45);
    }
    .gsn-team-card .gsn-team-label {
      font-size: 1.15rem;
      font-weight: 700;
      color: #e8f6ff;
      text-align: center;
      margin-bottom: 0.25em;
      text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    }
    /* new highlight image above the count */
    .gsn-wwhighlight {
      max-width: 480px;
      height: auto;
      margin-bottom: 6px;
      display: block;
      filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
    }
    .gsn-team-card .gsn-team-img {
      width: 100%;
      max-width: 380px;
      margin: 0 auto 0.5em auto;
      display: block;
      border-radius: 0;
      box-shadow: none;
      background: #fff0;
    }
    .gsn-team-card-reflection {
      width: 100%;
      max-width: 380px;
      height: 60px;
      margin: 0 auto;
      border-radius: 0 0 36px 36px;
      background: linear-gradient(180deg, #fff6 0%, #fff0 100%);
      filter: blur(2px) opacity(0.5);
      transform: scaleY(-1) translateY(-10px);
      position: relative;
      top: -30px;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }
    @media (max-width: 600px) {
      .gsn-team-card {
        padding: 6px 8px 6px 8px;
        min-height: 200px;
      }
      .gsn-team-card .gsn-team-count {
        font-size: 2.6rem;
      }
      .gsn-team-card .gsn-team-label {
        font-size: 1rem;
      }
      .gsn-team-card .gsn-team-img,
      .gsn-team-card-reflection {
        max-width: 98vw;
        height: auto;
      }

/* 4) The green bubble */
  .timeline-event .marker {
    position: relative;
    width: 24px;
    height: 24px;
    background: #181818;
    border-radius: 50%;
    box-shadow: 0 0 8px #64ff64, 0 0 2px #222 inset;
    transform: translateY(50%);
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #64ff64;
    z-index: 2;
  }

  .digital-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 3;
    mix-blend-mode: lighten;
  }
}

/* 5) Date + title */
.timeline-event .text {
  display: flex;
  flex-direction: column;
}
.timeline-event .event-date {
  font-size: .75rem;
  color: #eee;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  white-space: nowrap;
  margin: 0;
}
.timeline-event .event-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  white-space: nowrap;
  margin: 0;
}

/* 6) “More” tooltip */
.timeline-event .more {
  display: none;
  position: absolute;
  top:  -4px;
  left:  100%;
  margin-left: 8px;
  background: rgba(0,0,0,0.8);
  color:      #fff;
  padding:    6px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  width: 160px;
  white-space: normal;
}
.timeline-event.expandable.active .more {
  display: block;
  animation: fadeIn 0.2s ease-in;
}

/* 7) Games shipped list */
.gsn-list {
  max-height: 300px; overflow-y: auto;
  background: rgba(0,0,0,0.3);
  padding: 1rem; border-radius: 8px;
  margin-bottom: 2rem;
}
.gsn-list ul { list-style:none; margin:0; padding:0 }
.gsn-list li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.gsn-list li:last-child { border-bottom:none }

/* 8) Fade keyframe */
@keyframes fadeIn {
  from { opacity: 0 }
  to   { opacity: 1 }
}

/* Prevent the Skill Games Shipped heading from growing past a fixed readable size
   and stop it overlapping right-column content on very wide viewports. These
   rules are intentionally specific and use !important so they win over earlier
   rules that might change font-size on large screens. */
.games-shipped .text-draw {
  max-width: 560px !important;
  margin: 0 auto !important;
}
.games-shipped .text-draw__p,
.gsn-skillgames-heading .text-draw__p {
  color: #fff !important;
  font-size: clamp(1.6rem, 2.6rem, 3.2rem) !important;
  white-space: nowrap;
}
.games-shipped .text-draw__count,
.gsn-skillgames-heading .text-draw__count {
  color: #fff !important;
  font-size: clamp(2rem, 3.6rem, 4.5rem) !important;
}


#drag-container, #spin-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: rotateX(-10deg);
          transform: rotateX(-10deg);
}

#drag-container img, #drag-container video {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  line-height: 200px;
  font-size: 50px;
  text-align: center;
  -webkit-box-shadow: 0 0 8px #fff;
          box-shadow: 0 0 8px #fff;
  -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0005);
}

#drag-container img:hover, #drag-container video:hover {
  -webkit-box-shadow: 0 0 15px #fffd;
          box-shadow: 0 0 15px #fffd;
  -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0007);
}

#drag-container p {
  font-family: Serif;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%) rotateX(90deg);
          transform: translate(-50%,-50%) rotateX(90deg);
  color: #fff;
}

#ground {
  width: 900px;
  height: 900px;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%) rotateX(90deg);
          transform: translate(-50%,-50%) rotateX(90deg);
  background: -webkit-radial-gradient(center center, farthest-side , #9993, transparent);
}

#music-container {
  position: absolute;
  top: 0;
  left: 0;
}

@-webkit-keyframes spin {
  from{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  } to{
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}

@keyframes spin {
  from{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  } to{
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}
@-webkit-keyframes spinRevert {
  from{
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  } to{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

/* FINAL OVERRIDES: prevent the Skill Games Shipped block from growing on very large screens.
   These rules are intentionally specific and placed at the end so they win against earlier styles. */
.games-shipped .text-draw,
.gsn-skillgames-heading .text-draw {
  max-width: 560px !important; /* container width cap */
}
.games-shipped .text-draw__p,
.gsn-skillgames-heading .text-draw__p {
  /* fixed maximum size for desktop; use px to avoid viewport scaling */
  font-size: 51px !important; /* ~3.2rem */
  line-height: 1.05 !important;
  white-space: nowrap !important;
}
.games-shipped .text-draw__count,
.gsn-skillgames-heading .text-draw__count {
  font-size: 72px !important; /* ~4.5rem */
  line-height: 1 !important;
}

/* Smaller screens: reduce sizes so layout stays intact */
@media (max-width: 900px) {
  .games-shipped .text-draw__p,
  .gsn-skillgames-heading .text-draw__p {
    font-size: 28px !important;
  }
  .games-shipped .text-draw__count,
  .gsn-skillgames-heading .text-draw__count {
    font-size: 40px !important;
  }
}

@keyframes spinRevert {
  from{
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  } to{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

/* Roboto Flex for footer typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght,wdth@8..144,300..700,75..125&display=swap');

/* GSN footer — full-width CodePen-like compact quotes grid */
.gsn-footer {
  /* full-bleed: expand to parent's width including its padding */
  position: relative;
  left: calc(-1 * var(--panel-padding));
  width: calc(100% + (var(--panel-padding) * 2));
  padding: 28px var(--panel-padding) 36px var(--panel-padding);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.04));
}
/* On very small screens, remove the full-bleed to avoid horizontal overflow */
@media (max-width: 500px) {
  #gsn-section { overflow-x: hidden; }
  .gsn-footer { left: 0; width: 100%; }
  .gsn-responsive-layout { overflow-x: hidden; }
  #drag-container { max-width: 100%; }
}
.gsn-compact {
  max-width: 100%;
  margin: 0;
  font-family: 'Roboto Flex', 'Segoe UI', sans-serif;
}
.gsn-compact-title {
  text-align: center;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.gsn-compact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gsn-compact-grid > article {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 0.95rem;
  gap: 6px;
  padding: 12px 12px 14px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.gsn-compact-grid > article.in {
  opacity: 1;
  transform: translateY(0);
}

/* Big number */
/* Role and years */
.gsn-compact-grid .role { text-transform: uppercase; font-weight: 500; padding: .3rem 0 .2rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.gsn-compact-grid .years { text-transform: uppercase; padding-top: .2rem; opacity: .9; font-weight: 400; }
.gsn-compact-grid .desc { display:flex; align-items:center; justify-content:center; min-height: 5rem; }
.gsn-compact-grid .desc p { max-width: 14rem; margin: 0 auto; font-weight: 300; font-size: .82rem; }

/* Quote block (static now, no sliding cover) */
.gsn-compact-grid .quote-block { position: relative; min-height: 6rem; padding: .4rem 0 .6rem; }
.gsn-compact-grid q.quote { display:block; margin: 0 auto; max-width: 84%; font-size: .9rem; line-height: 1.35; opacity: .95; }

/* quote top helpers */
.qtop-16{ --quote-top: 4rem }
.qtop-20{ --quote-top: 5rem }
.qtop-24{ --quote-top: 6rem }
.qtop-28{ --quote-top: 7rem }
.qtop-32{ --quote-top: 8rem }
.qtop-36{ --quote-top: 9rem }

@media (max-width: 1200px){ .gsn-compact-grid { grid-template-columns: repeat(3, 1fr); } .gsn-compact-grid .desc p { max-width: 20rem; } }
@media (max-width: 700px){ .gsn-compact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .gsn-compact-grid { grid-template-columns: 1fr; } }

/* Final override: ensure inline links in the compact cards (e.g., Sparcade) render bold + white */
.gsn-footer .gsn-compact .gsn-compact-grid article.group .desc a,
.gsn-footer .gsn-compact .gsn-compact-grid article.group .desc a:link,
.gsn-footer .gsn-compact .gsn-compact-grid article.group .desc a:visited,
.gsn-footer .gsn-compact .gsn-compact-grid article.group .desc a:hover,
.gsn-footer .gsn-compact .gsn-compact-grid article.group .desc a:active {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.85);
  text-underline-offset: 2px;
}
