.ptg-featured-games {
  --fg-accent:#ff6200;
  position:relative;
  margin:0 0 28px;
  padding:0;
  border:1px solid #e7ebf0;
  border-radius:24px;
  background:#e7ebf0;
  box-shadow:0 12px 32px #17243b0a;
  overflow:hidden;
  outline-offset:4px;
}
/* The parent theme gives every section vertical padding. Keep this image edge to edge. */
.ptg-home-page .ptg-featured-games { padding:0; }
.ptg-featured-games * { box-sizing:border-box; }
.ptg-featured-stage,.ptg-featured-slide { position:relative; height:326px; }
.ptg-featured-slide[hidden] { display:none!important; }
.ptg-featured-scene { display:block; height:100%; color:#fff!important; text-decoration:none!important; }
.ptg-featured-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.ptg-featured-shade { position:absolute; inset:0; background:linear-gradient(0deg,#08101bd9 0%,#08101b65 22%,#08101b16 46%,transparent 68%); }
.ptg-featured-copy { position:absolute; left:30px; bottom:27px; max-width:calc(100% - 410px); text-shadow:0 2px 14px #0005; }
.ptg-featured-eyebrow { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0 0 10px; color:#ffffffde; font-size:11px; line-height:1.4; }
.ptg-featured-eyebrow>span { padding:4px 8px; border:1px solid #ffffff45; border-radius:6px; background:#ffffff1c; backdrop-filter:blur(8px); font-weight:600; }
.ptg-featured-eyebrow small { font-size:10px; }
.ptg-featured-copy h2 { color:#fff; margin:0; font-size:31px; line-height:1.25; font-weight:750; letter-spacing:-.025em; text-wrap:balance; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.ptg-featured-pagination { position:absolute; right:22px; bottom:23px; display:flex; align-items:center; gap:12px; padding:6px; border:1px solid #ffffff2b; border-radius:12px; background:#07131d38; backdrop-filter:blur(10px); max-width:calc(100% - 44px); }
.ptg-featured-counter { padding:0 2px 0 5px; color:#fff; font-size:17px; line-height:1.3; font-weight:700; font-variant-numeric:tabular-nums; text-shadow:0 1px 5px #0006; white-space:nowrap; }
.ptg-featured-counter small { font-size:10px; font-weight:400; color:#ffffffb5; }
.ptg-featured-thumbs { display:flex; gap:6px; min-width:0; }
.ptg-featured-thumbs button { display:block; flex:none; width:54px; height:38px; min-height:0; padding:2px; border:1.5px solid #ffffff70; border-radius:7px; background:#ffffff14; opacity:.7; overflow:hidden; cursor:pointer; }
.ptg-featured-thumbs button[aria-current=true] { opacity:1; border-color:var(--fg-accent); box-shadow:0 0 0 1px #ffffff65; }
.ptg-featured-thumbs button:focus-visible,.ptg-featured-scene:focus-visible { outline:2px solid var(--fg-accent); outline-offset:-3px; }
.ptg-featured-thumbs img { display:block; width:100%; height:100%; border-radius:4px; object-fit:cover; }
.ptg-featured-thumbs button span { display:none; }
.ptg-featured-games .screen-reader-text { position:absolute!important; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
html[data-bs-theme=dark] .ptg-featured-games,.ptg-home-page[data-theme=dark] .ptg-featured-games { border-color:#323235; background:#1a1a1c; box-shadow:0 12px 32px #0002; }
@media(max-width:1100px) and (min-width:768px) {
  .ptg-featured-copy { left:24px; max-width:calc(100% - 335px); }
  .ptg-featured-copy h2 { font-size:27px; }
  .ptg-featured-pagination { right:18px; gap:8px; }
  .ptg-featured-thumbs button { width:42px; height:32px; }
}
@media(max-width:767px) {
  .ptg-featured-games { margin-bottom:21px; border-radius:18px; }
  .ptg-featured-stage,.ptg-featured-slide { height:228px; }
  .ptg-featured-shade { background:linear-gradient(0deg,#08101be6 0%,#08101b68 28%,#08101b18 60%,transparent 82%); }
  .ptg-featured-copy { left:17px; right:17px; bottom:66px; max-width:none; }
  .ptg-featured-eyebrow { gap:7px; margin-bottom:7px; font-size:9px; }
  .ptg-featured-eyebrow>span { padding:3px 6px; border-radius:5px; }
  .ptg-featured-eyebrow small { font-size:9px; }
  .ptg-featured-copy h2 { font-size:23px; line-height:1.25; }
  .ptg-featured-pagination { right:13px; bottom:12px; padding:5px; gap:8px; border-radius:10px; max-width:calc(100% - 26px); }
  .ptg-featured-counter { font-size:12px; padding-left:3px; }
  .ptg-featured-counter small { font-size:9px; }
  .ptg-featured-thumbs { gap:4px; }
  .ptg-featured-thumbs button { width:36px; height:26px; padding:1px; border-radius:5px; }
  .ptg-featured-thumbs img { display:block; border-radius:3px; }
}
@media(prefers-reduced-motion:reduce) {
  .ptg-featured-games * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
