/* ------------------------------------------------------- g2 section */
.g2band { background: #f2f0ed; }
.g2title { text-align: center; font-size: clamp(30px, 4.4cqi, 50px); }
.g2badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.g2badges img { width: 112px; height: auto; }
.g2cards {
  display: flex; gap: 20px; margin-top: 48px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.g2cards::-webkit-scrollbar { display: none; }
.g2card {
  position: relative; overflow: hidden; border-radius: 22px; scroll-snap-align: start;
  flex: 0 0 31.5%; padding: 26px 26px 22px; display: flex; flex-direction: column; min-height: 400px;
}
.g2card.dark { background: #17140f; color: #fdfdf7; }
.g2card.light { background: var(--surface); border: 1px solid var(--line); }
.g2stars { display: flex; gap: 4px; }
.g2stars svg { width: 15px; height: 15px; fill: #f4442e; }
.g2q { margin: 16px 0 0; font-size: 20.5px; line-height: 1.34; letter-spacing: -0.02em; font-weight: 500; }
.g2by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.g2av {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  background: rgba(253,253,247,.16); color: #fdfdf7;
}
.g2card.light .g2av { background: var(--sand); color: var(--ink-2); }
.g2nm { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.g2role { font-size: 13px; line-height: 1.3; opacity: .66; }
.g2mark {
  margin-left: auto; width: 26px; height: 26px; border-radius: 6px; flex: none;
  background: #f4442e; color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: -0.04em;
}
.g2foot { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.g2more {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-2);
}
.g2more:hover { text-decoration-color: var(--ink-3); }
.g2b { display: block; border-radius: 6px; transition: transform .16s; }
.g2b:hover { transform: translateY(-2px); }
.g2link { display: inline-flex; flex: none; margin-left: auto; border-radius: 50%; transition: transform .16s; }
.g2link:hover { transform: scale(1.08); }
.rating-g2-link { display: inline-flex; }
.g2track { flex: 1; max-width: 220px; height: 2px; background: var(--line-2); border-radius: 2px; position: relative; overflow: hidden; }
.g2track i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--ink); border-radius: 2px; transition: left .25s ease, width .25s ease; }
.g2nav { display: flex; gap: 8px; }
.g2nb {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  display: inline-grid; place-items: center; color: var(--ink-2); cursor: pointer;
}
.g2nb:hover { border-color: var(--brand); color: var(--brand); }
.g2nb:disabled { opacity: .4; cursor: default; border-color: var(--line); color: var(--ink-3); }
.g2nb svg { width: 16px; height: 16px; }
@container pg (max-width: 1000px) { .g2card { flex-basis: 47%; } }
@container pg (max-width: 720px) {
  .g2badges img { width: 92px; }
  .g2cards { gap: 14px; }
  .g2card { flex-basis: 84%; }
  .g2card { min-height: 340px; }
  .g2foot { flex-wrap: wrap; }
}
img.g2mark { background: none; border-radius: 50%; object-fit: contain; }
