/*
 * iBET Promote. Units for iBET Nation: the site's own Poppins and light ground, iBET's ink and
 * orange, and each card dressed in its team's colour. Scoped to .ibetp- so nothing here touches
 * Salient's own styles.
 */
.ibetp-unit,
.ibetp-strip {
  --ibetp-ink: #0c0e2c;
  --ibetp-orange: #ff5300;
  --ibetp-orange2: #ff8a00;
  --ibetp-line: #e3e5ef;
  --ibetp-muted: #5c6280;
  --ibetp-green: #16a06a;
  --ibetp-team: #0c0e2c;
  color: var(--ibetp-ink);
  font-size: 15px;
  line-height: 1.45;
}
.ibetp-unit *, .ibetp-unit *::before, .ibetp-unit *::after,
.ibetp-strip *, .ibetp-strip *::before, .ibetp-strip *::after { box-sizing: border-box; }
.ibetp-unit a, .ibetp-strip a { text-decoration: none; }
.ibetp-unit img, .ibetp-strip img { margin: 0; box-shadow: none; border-radius: 0; opacity: 1 !important; }

/* the rail: alongside the article on a wide screen, full width on a phone */
.ibetp-rail { float: right; width: 340px; margin: 6px 0 24px 32px; }
.ibetp-rail .ibetp-unit { margin: 0 0 18px; }
.ibetp-rail .ibetp-cards { grid-template-columns: minmax(0, 1fr); }

/* The post's own picture: small, to the left, inside the article. Salient's full-width banner is
   stood down while the units show, so the rail starts at the top of the story. */
.ibetp-on .featured-media-under-header__featured-media,
.ibetp-on .post-featured-img.page-header-bg-image,
/* On a 34-word news item the header excerpt is the whole story, printed twice. */
.ibetp-on .featured-media-under-header__excerpt { display: none !important; }
.ibetp-thumb { float: left; width: 280px; max-width: 45%; margin: 4px 26px 14px 0; }
.ibetp-thumb img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* The headline: the theme gives it a 1000px box at 42-56px, so a long one stacks five lines deep.
   Wider box, a size down, and it reads in two or three. */
.ibetp-on .featured-media-under-header__content { max-width: 1240px !important; }
.ibetp-on h1.entry-title { font-size: clamp(28px, 3.1vw, 40px) !important; line-height: 1.14 !important; }

/* Room for the rail: the theme sets the post column to 900px, which leaves about 520px of text
   beside a 340px rail. Wider column, slightly smaller type, so the line length reads properly. */
.ibetp-on .post-area { max-width: 1200px !important; width: 100% !important; }
.ibetp-on .content-inner, .ibetp-on .post-content { width: auto !important; max-width: none !important; }
.ibetp-on .post-content, .ibetp-on .post-content p, .ibetp-on .post-content li { font-size: 17px; line-height: 1.62; }

.ibetp-unit {
  display: block;
  border: 1px solid var(--ibetp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px -26px rgba(12, 14, 44, .6);
  overflow: hidden;
}
/* The block that names the unit is iBET blue, so the widget reads as iBET at a glance. */
.ibetp-head { padding: 15px 18px; background: linear-gradient(120deg, #0c0e2c 0%, #1b2257 100%); color: #fff; }
.ibetp-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ibetp-orange2); }
.ibetp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ibetp-green); box-shadow: 0 0 0 3px rgba(22, 160, 106, .25); }
.ibetp-unit .ibetp-title { margin: 7px 0 0; font-size: 20px; line-height: 1.2; font-weight: 700; color: #fff; }
.ibetp-unit .ibetp-note { margin: 5px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.ibetp-cards { padding: 14px; }
.ibetp-foot { padding: 0 14px 14px; }

/* cards, in the team's colours */
.ibetp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ibetp-cards-stacked { grid-template-columns: minmax(0, 1fr); }
.ibetp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ibetp-line);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ibetp-team) 10%, #fff) 0 62px, #fff 62px);
}
.ibetp-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--ibetp-team), color-mix(in srgb, var(--ibetp-team) 55%, var(--ibetp-orange))); }
.ibetp-card-top { display: flex; align-items: center; gap: 10px; padding: 11px 12px 9px; color: inherit; }
/* The line is its own row so a long stat name never squeezes the player's name. */
.ibetp-card-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 12px 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: inherit;
  background: color-mix(in srgb, var(--ibetp-team) 12%, #fff);
}
.ibetp-line-val { font-size: 25px; font-weight: 700; line-height: 1; color: var(--ibetp-team); font-variant-numeric: tabular-nums; }
.ibetp-line-stat { font-size: 13px; font-weight: 600; color: var(--ibetp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibetp-card-line .ibetp-when { grid-column: 1 / -1; font-size: 11.5px; color: var(--ibetp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibetp-unit .ibetp-av, .ibetp-strip .ibetp-av {
  width: 56px !important; height: 56px !important; max-width: 56px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: top;
  background: #fff; box-shadow: 0 0 0 2px var(--ibetp-team), 0 0 0 4px #fff;
}
.ibetp-av-logo { object-fit: contain; padding: 6px; }
.ibetp-av-initials { display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; background: var(--ibetp-team) !important; }
.ibetp-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ibetp-who strong { font-size: 15.5px; line-height: 1.2; overflow-wrap: anywhere; }
.ibetp-meta { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ibetp-team); }
.ibetp-when { font-size: 12px; color: var(--ibetp-muted); }

.ibetp-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; margin-top: auto; }
.ibetp-pick { display: block; padding: 9px 0; text-align: center; border-radius: 9px; border: 1px solid var(--ibetp-line); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ibetp-ink); background: #fff; }
.ibetp-pick:hover { border-color: var(--ibetp-team); color: var(--ibetp-team); }
.ibetp-pick-more { background: linear-gradient(90deg, var(--ibetp-orange), var(--ibetp-orange2)); border-color: transparent; color: #fff; }
.ibetp-pick-more:hover { filter: brightness(1.06); color: #fff; }
.ibetp-pick-off { opacity: .4; }

.ibetp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ibetp-more { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ibetp-ink); border-bottom: 2px solid var(--ibetp-orange); }
.ibetp-btn { display: inline-block; padding: 11px 18px; border-radius: 10px; background: linear-gradient(90deg, var(--ibetp-orange), var(--ibetp-orange2)); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.ibetp-btn:hover { filter: brightness(1.06); color: #fff; }

.ibetp-unit-replacement .ibetp-head, .ibetp-unit-stand-in .ibetp-head { background: linear-gradient(120deg, #2a1206 0%, #7a2c05 100%); }

/* the app block: the board as it looks on a phone, beside the pitch */
/* overflow: the screenshot is taller than the block and would otherwise lie over the store
   buttons underneath and swallow their clicks. */
.ibetp-app .ibetp-head { padding-bottom: 0; overflow: hidden; }
.ibetp-app-shot { pointer-events: none; }
.ibetp-app-head { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: end; }
.ibetp-app-shot { display: block; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 18px 30px -18px rgba(0, 0, 0, .9); }
.ibetp-app-shot img { display: block; width: 100% !important; max-width: 96px !important; height: 132px !important; object-fit: cover; object-position: top; }
.ibetp-app .ibetp-stores { display: grid; gap: 10px; padding: 14px; }
/* The buttons state their own colours: in the footer, where the theme paints links dark, the
   labels otherwise come out dark on the dark button. */
.ibetp-store,
.ibetp-store:link,
.ibetp-store:visited,
.ibetp-store:hover,
.ibetp-store:focus { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: var(--ibetp-ink); color: #fff !important; text-decoration: none !important; border-bottom: 0 !important; }
.ibetp-store:hover, .ibetp-store:focus { background: #1b2257; }
.ibetp-store svg { width: 22px; height: 22px; flex: none; }
.ibetp-store .ibetp-apple, .ibetp-store .ibetp-apple path { fill: #fff !important; color: #fff !important; }
.ibetp-store small { display: block; font-size: 10px; line-height: 1.1; color: #cfd3ea !important; }
.ibetp-store strong { display: block; font-size: 16px; line-height: 1.15; font-weight: 600; color: #fff !important; }
/* In the footer the buttons sit side by side under the logo. */
.ibetp-stores-footer { --ibetp-ink: #0c0e2c; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* the promotion */
.ibetp-promo-banner { display: block; }
.ibetp-promo-banner img { display: block; width: 100%; height: auto; aspect-ratio: 1200/340; object-fit: cover; object-position: center; background: var(--ibetp-ink); }
.ibetp-promo .ibetp-foot { padding: 14px; }
.ibetp-promo .ibetp-btn { width: 100%; text-align: center; }

/* The band under a built front page, and the wide app advert inside one. */
.ibetp-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1200px; margin: 44px auto; padding: 0 20px; align-items: start; }

/* On the front page the same widgets stand in a right-hand column and the built rows take the
   left, so the stories and the board sit side by side the way the sport pages do. */
/* The rail is taken out of the flow rather than made a grid column: the built rows are each as
   tall as their own stories, and a column taller than all of them would stretch the page and leave
   a screen of white above the footer. */
.ibetp-front-on .container.main-content > .row { position: relative; padding-right: 374px; }
.ibetp-front-on .ibetp-band {
  position: absolute;
  /* Above the built rows: each carries a background layer that would otherwise take the clicks. */
  z-index: 30;
  /* Clear of the fixed header, which sits 25-123px down the page. */
  top: 136px;
  right: 0;
  width: 340px;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  max-width: none;
}
.ibetp-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: center;
  max-width: 1100px;
  margin: 36px auto;
  padding: 34px 36px;
  border-radius: 18px;
  background: linear-gradient(120deg, #0c0e2c 0%, #1b2257 68%, #2a1f5e 100%);
  color: #fff;
  overflow: hidden;
}
.ibetp-ad::before { content: ""; position: absolute; right: 12%; top: -40%; width: 60%; height: 160%; background: radial-gradient(45% 45% at 50% 50%, rgba(255, 83, 0, .35), transparent 70%); pointer-events: none; }
.ibetp-ad .ibetp-ad-body { position: relative; }
.ibetp-ad .ibetp-eyebrow { font-size: 13px; color: var(--ibetp-orange2); }
.ibetp-ad-title {
  /* The theme sizes headings inside content, so this one states its own size. */
  margin: 10px 0 0 !important;
  font-size: clamp(34px, 4.2vw, 52px) !important;
  line-height: 1.02 !important;
  font-weight: 800;
  letter-spacing: -.01em;
  background: linear-gradient(92deg, var(--ibetp-orange), var(--ibetp-orange2) 60%, #ffc46b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.ibetp-ad-sub { margin: 12px 0 0 !important; font-size: 19px; line-height: 1.45; color: #fff !important; max-width: 40ch; }
.ibetp-ad-open { margin: 12px 0 0 !important; font-size: 15px; color: rgba(255, 255, 255, .7) !important; }
.ibetp-ad-open b { color: var(--ibetp-orange2); font-size: 18px; }
.ibetp-ad .ibetp-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ibetp-ad .ibetp-store { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.ibetp-ad .ibetp-store:hover { background: rgba(255, 255, 255, .18); }

/* Two phones with the day's boost over them, as the app's own page shows it. */
.ibetp-ad-shots { position: relative; display: block; height: 300px; align-self: center; }
/* The theme sizes images inside content, so these state their own size. */
.ibetp-ad-shots img { position: absolute; width: 132px !important; height: 268px !important; max-width: 132px !important; object-fit: cover; object-position: top; border-radius: 16px; background: #05061a; padding: 4px; }
.ibetp-shot-back { right: 108px; top: 22px; transform: rotate(-7deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 26px 44px -20px rgba(0, 0, 0, .95); }
.ibetp-shot-front { right: 0; top: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 50px -18px #000; }
.ibetp-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 230px;
  padding: 9px 12px;
  border-radius: 13px;
  background: #222a63;
  border: 1px solid #2f355e;
  box-shadow: 0 20px 36px -18px rgba(0, 0, 0, .95);
  font-size: 12px;
  line-height: 1.3;
  color: #9aa3c7;
}
.ibetp-chip b { display: block; font-size: 14px; color: #fff; }
.ibetp-chip-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--ibetp-orange), var(--ibetp-orange2)); }
.ibetp-chip-boost { right: -14px; top: -16px; }
.ibetp-chip-reboot { left: -26px; bottom: -14px; }
.ibetp-chip-reboot .ibetp-chip-ic { background: #16a06a; }

/* Sport pages: the article grid keeps its column, the sport's own news sits in a widget beside it. */
.ibetp-archive-on .container.main-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}
.ibetp-archive-on .container.main-content > .row { grid-column: 1; grid-row: 1; min-width: 0; }
.ibetp-archive-rail { grid-column: 2; grid-row: 1; position: sticky; top: 110px; display: grid; gap: 18px; }
/* Search results have no column of their own to sit in, so the widgets float into the list. */
.ibetp-rail-listing { float: right; width: 340px; margin: 0 0 24px 32px; display: grid; gap: 18px; }
.ibetp-rail-listing .ibetp-cards { padding: 12px; }
.ibetp-archive-rail .ibetp-cards { padding: 12px; }

/* The theme styles lists inside content with bullets and its own indents; this one is a feed. */
.ibetp-news-list { list-style: none !important; margin: 0 !important; padding: 6px 18px 16px !important; display: grid; }
.ibetp-news-list li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ibetp-news-list li::before, .ibetp-news-list li::marker { content: none !important; display: none !important; }
.ibetp-news-list li + li { border-top: 1px solid var(--ibetp-line); }
.ibetp-news-list a { display: grid; gap: 4px; padding: 13px 0; }
.ibetp-news-when { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ibetp-muted); }
.ibetp-news-title { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ibetp-ink); }
.ibetp-news-list a:hover .ibetp-news-title { color: var(--ibetp-orange); }

@media (max-width: 999px) {
  .ibetp-band { grid-template-columns: minmax(0, 1fr); }
  .ibetp-front-on .container.main-content > .row { padding-right: 0; }
  .ibetp-front-on .ibetp-band { position: static; width: auto; margin-top: 30px; }
  .ibetp-ad { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .ibetp-ad-shots { justify-self: center; width: 280px; height: 300px; margin-top: 10px; }
  .ibetp-chip-reboot { left: 0; }
  .ibetp-chip-boost { right: 0; }
  .ibetp-rail { float: none; width: 100%; margin: 24px 0; }
  .ibetp-rail .ibetp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ibetp-thumb { width: 200px; margin-right: 18px; }
  .ibetp-archive-on .container.main-content { grid-template-columns: minmax(0, 1fr); }
  .ibetp-archive-rail { grid-column: 1; grid-row: 2; position: static; }
}
@media (max-width: 690px) {
  .ibetp-cards, .ibetp-rail .ibetp-cards { grid-template-columns: minmax(0, 1fr); }
  .ibetp-unit { padding: 16px; }
  .ibetp-strip { padding: 16px; }
  .ibetp-foot .ibetp-btn { width: 100%; text-align: center; }
}

/* The header's download link: an iBET-blue outline on the light header, filling in on hover. */
#header-outer .menu-item > a[href*="download-the-app"],
#slide-out-widget-area .menu-item > a[href*="download-the-app"] {
  background: transparent !important;
  color: #0c0e2c !important;
  border: 2px solid #0c0e2c !important;
  border-radius: 30px !important;
  padding: 9px 20px !important;
  box-shadow: none !important;
  transition: background .15s, color .15s;
}
html body #header-outer .menu-item > a[href*="download-the-app"] *,
html body #header-outer .sf-menu li a[href*="download-the-app"] .menu-title-text { color: #0c0e2c !important; }
html body #header-outer .menu-item > a[href*="download-the-app"]:hover *,
html body #header-outer .sf-menu li a[href*="download-the-app"]:hover .menu-title-text { color: #fff !important; }
#header-outer .menu-item > a[href*="download-the-app"]:hover { background: #0c0e2c !important; color: #fff !important; }

/* A sport whose board is dark keeps its page: it says so rather than borrowing another sport. */
.ibetp-unit-quiet .ibetp-head { background: linear-gradient(120deg, #1a1c38 0%, #2a2d55 100%); }

/* The front page's heading. It sits above the article stack, which previously started cold. */
.ibetp-pagehead { margin: 0 0 26px; }
.ibetp-pagehead-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #ff5300; margin-bottom: 8px; }
.ibetp-pagehead h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; color: #0c0e2c; }
.ibetp-pagehead p { margin: 0; font-size: 16px; line-height: 1.55; color: #4a5171; max-width: 60ch; }
@media (max-width: 690px) {
  .ibetp-pagehead { margin-bottom: 18px; }
  .ibetp-pagehead p { font-size: 15px; }
}

/* Salient runs a fixed, transparent header on the front page and the content behind it starts at
   zero, so the heading has to clear it itself or the first line sits under the logo. */
.ibetp-pagehead { padding-top: 124px; }
@media (max-width: 999px) { .ibetp-pagehead { padding-top: 124px; } }
@media (max-width: 690px) { .ibetp-pagehead { padding-top: 118px; } }
