/* Sky Exchange editorial design: reference-inspired, never loaded in WordPress admin. */
:root {
  --sx-blue: #0b56aa;
  --sx-blue-dark: #0a3978;
  --sx-blue-bright: #0b6dcc;
  --sx-ink: #172b43;
  --sx-muted: #516276;
  --sx-line: #dfe8f4;
  --sx-soft: #f3f7fd;
}
/* Keep Kadence's real menu, drawer, and native sticky mechanics. */
#masthead .site-main-header-wrap,
#masthead .site-main-header-wrap .site-header-row-container-inner {
  background: var(--sx-blue);
}
#masthead .site-header-row-container-inner { box-shadow: none; }
#masthead .site-title,
#masthead .site-title a,
#masthead .site-title a:visited,
#masthead #site-navigation .primary-menu-container > ul > li > a,
#masthead #site-navigation .primary-menu-container > ul > li > a:visited,
#masthead .menu-toggle-open,
#masthead .menu-toggle-open:hover { color: #fff; }
#masthead #site-navigation .primary-menu-container > ul > li > a:hover,
#masthead #site-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #e7f4ff; }
#masthead .menu-toggle-open .menu-toggle-icon { color: #fff; }
#masthead .site-main-header-wrap { box-shadow: 0 3px 14px rgb(5 34 72 / .10); }
#masthead .site-title { font-weight: 800; letter-spacing: -.025em; }
/* Existing dropdown submenus remain white with Kadence's readable text. */
body.home .entry-content { overflow: visible; }
.sx-reference-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  min-height: 595px;
  overflow: hidden;
  background: linear-gradient(116deg, #094a98 0%, #0b64bd 57%, #0e69c6 100%);
  color: #fff;
}
.sx-reference-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 48% 18%, rgb(255 255 255 / .18), transparent 40%);
}
.sx-reference-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 42px;
  background: #fff;
  clip-path: polygon(0 38%, 50% 100%, 100% 38%, 100% 100%, 0 100%);
  z-index: 4;
  pointer-events: none;
}
.sx-reference-hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 595px; margin: auto; display: flex; align-items: center; }
.sx-reference-copy { position: relative; z-index: 2; width: min(625px, 55%); padding: 70px 0 102px; }
.sx-reference-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: #c8e5ff; font-size: 12px; font-weight: 800; letter-spacing: .20em; }
.sx-reference-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #b9e3ff; box-shadow: 0 0 0 5px rgb(255 255 255 / .15); }
.sx-reference-hero h1 { margin: 0; color: #fff; font-size: clamp(52px, 5.9vw, 86px); font-weight: 800; line-height: 1.05; letter-spacing: -.055em; }
.sx-reference-hero h1 span { color: #d7ebff; }
.sx-reference-hero p.sx-reference-lead { width: min(540px, 100%); margin: 24px 0 0; color: #e4f2ff; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.58; }
.sx-reference-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.sx-reference-button, .sx-reference-button:visited { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 12px 21px; border: 1px solid rgb(255 255 255 / .85); border-radius: 4px; font-size: 14px; font-weight: 750; line-height: 1.3; text-decoration: none; }
.sx-reference-button-primary, .sx-reference-button-primary:visited { background: #fff; color: var(--sx-blue-dark); }
.sx-reference-button-outline, .sx-reference-button-outline:visited { background: transparent; color: #fff; }
.sx-reference-button:hover { transform: translateY(-2px); }
.sx-reference-button-primary:hover { color: var(--sx-blue-dark); background: #e9f5ff; }
.sx-reference-button-outline:hover { color: var(--sx-blue-dark); background: #fff; }
.sx-reference-hero p.sx-reference-disclaimer { margin: 23px 0 0; color: #d0e6ff; font-size: 12px; letter-spacing: .012em; }
.sx-reference-portrait { position: absolute; z-index: 1; right: calc((1180px - 100vw) / 2); top: 0; bottom: 0; width: min(54vw, 820px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 23%); mask-image: linear-gradient(90deg, transparent, #000 23%); }
.sx-reference-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.sx-reference-topics { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); background: #fff; border-bottom: 1px solid var(--sx-line); }
.sx-reference-topics-inner { width: min(1180px, calc(100% - 48px)); margin: auto; min-height: 120px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 18px; row-gap: 8px; }
.sx-reference-topics-label { color: #68809c; font-size: 11px; font-weight: 800; letter-spacing: .23em; }
.sx-reference-topics a, .sx-reference-topics a:visited { display: inline-flex; align-items: center; gap: 8px; padding: 14px 4px; color: #6d83a3; font-size: clamp(14px, 1.5vw, 19px); font-weight: 750; text-decoration: none; }
.sx-reference-topics a:hover { color: var(--sx-blue); }
.sx-reference-topics a span { opacity: .5; font-size: .8em; }
.sx-reference-hero a:focus-visible, .sx-reference-topics a:focus-visible,
body.home article a:focus-visible, #colophon a:focus-visible { outline: 3px solid #ffca5b; outline-offset: 4px; }
/* Only the eight authored homepage sections are restyled; the rest of the site stays readable. */
body.home article .wp-block-group[id] { width: min(1180px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 76px 0; color: var(--sx-ink); scroll-margin-top: 100px; }
body.home article .wp-block-group[id] h2 { margin: 0 0 24px; color: var(--sx-ink); font-size: clamp(32px, 3.3vw, 46px); letter-spacing: -.04em; line-height: 1.18; }
body.home article .wp-block-group[id] h3 { color: var(--sx-ink); font-size: 22px; letter-spacing: -.025em; }
body.home article .wp-block-group[id] p { color: var(--sx-muted); line-height: 1.7; }
body.home article .wp-block-group[id] a { text-underline-offset: 3px; }
body.home article .wp-block-group[id] a:not(.wp-block-button__link) { color: var(--sx-blue); }
body.home article .wp-block-group[id] .wp-block-button__link { background: var(--sx-blue); border-radius: 4px; color: #fff; }
body.home article .wp-block-group[id] .wp-block-button__link:hover { background: var(--sx-blue-dark); }
body.home article > .entry-content-wrap .wp-block-separator, body.home .entry-content > .wp-block-separator { max-width: 1180px; margin: 0 auto; border-color: var(--sx-line); opacity: .7; }
#sports-game-knowledge { padding-top: 82px; }
#sports-game-knowledge h2 { max-width: 780px; }
#sports-game-knowledge .wp-block-group__inner-container > p { max-width: 740px; font-size: 18px; }
#sports-game-knowledge .wp-block-buttons { margin-top: 25px; }
body.home article #sky-exchange-section { margin-top: 6px; margin-bottom: 7px; padding: 48px 56px; border-radius: 5px; background: var(--sx-blue); }
body.home article #sky-exchange-section .wp-block-group__inner-container { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 50px; align-items: center; }
body.home article #sky-exchange-section h2 { grid-row: span 2; margin: 0; color: #fff; }
body.home article #sky-exchange-section p { grid-column: 2; margin: 0 0 16px; color: #e7f3ff; }
body.home article #sky-exchange-section p:last-child { margin: 0; }
body.home article #sky-exchange-section a, body.home article #sky-exchange-section a:visited { color: #fff; font-weight: 700; }
#featured-sports .wp-block-columns { gap: 21px; align-items: stretch; }
#featured-sports .wp-block-column { overflow: hidden; border: 1px solid var(--sx-line); border-radius: 5px; background: #fff; box-shadow: 0 10px 30px rgb(17 50 93 / .06); }
#featured-sports figure { margin: 0; }
#featured-sports img { display: block; width: 100%; height: 245px; object-fit: cover; }
#featured-sports .wp-block-column h3 { margin: 22px 24px 7px; }
#featured-sports .wp-block-column p { margin: 0 24px 25px; }
#knowledge-base-section .wp-block-columns { gap: 14px; }
#knowledge-base-section .wp-block-column { padding: 23px 22px; border: 1px solid var(--sx-line); border-radius: 5px; background: var(--sx-soft); }
#knowledge-base-section .wp-block-column h3 { margin: 0 0 8px; }
#knowledge-base-section .wp-block-column p { margin: 0; }
#glossary-section { border-left: 4px solid var(--sx-blue); }
#glossary-section h2, #glossary-section p { margin-left: 25px; }
#latest-guides .wp-block-post-template { gap: 20px; }
#latest-guides .wp-block-post { padding: 27px; border: 1px solid var(--sx-line); border-radius: 5px; background: var(--sx-soft); }
#latest-guides .wp-block-post-title { margin: 0 0 13px; font-size: 22px; }
#latest-guides .wp-block-post-excerpt { margin-bottom: 12px; }
#latest-guides .wp-block-post-date { color: var(--sx-muted); font-size: 13px; }
#frequently-asked-questions details { padding: 17px 20px; margin-bottom: 10px; border: 1px solid var(--sx-line); border-radius: 5px; }
#frequently-asked-questions summary { color: var(--sx-ink); font-weight: 700; cursor: pointer; }
#frequently-asked-questions details p { margin: 17px 0 0; }
body.home article #latest-updates { margin-bottom: 65px; padding: 42px 48px; border-radius: 5px; background: var(--sx-soft); }
/* Coordinate the built-in Kadence footer with the new hero; do not replace its template. */
#colophon .site-top-footer-wrap, #colophon .site-bottom-footer-wrap { background: #0b2c56; }
#colophon .site-top-footer-wrap { border-top: 4px solid var(--sx-blue-bright); }
#colophon .site-top-footer-wrap h2, #colophon .site-footer-row-container-inner .widget-title { color: #fff; }
#colophon .site-top-footer-wrap p, #colophon .site-top-footer-wrap li,
#colophon .site-top-footer-wrap a, #colophon .site-top-footer-wrap a:visited,
#colophon .site-bottom-footer-wrap, #colophon .site-bottom-footer-wrap p { color: #d9e8f7; }
#colophon .site-top-footer-wrap a:hover { color: #fff; }
#colophon .site-top-footer-wrap .wp-block-list { list-style: none; padding-inline-start: 0; margin-inline-start: 0; }
#colophon .site-top-footer-wrap .wp-block-list li { margin-bottom: 6px; }
@media (max-width: 1180px) {
  .sx-reference-portrait { right: -24px; width: 53vw; }
  .sx-reference-copy { width: 56%; }
}
@media (max-width: 900px) {
  .sx-reference-hero, .sx-reference-hero-inner { min-height: 570px; }
  .sx-reference-copy { width: 62%; }
  .sx-reference-hero h1 { font-size: clamp(46px, 7vw, 66px); }
  .sx-reference-portrait { width: 55%; opacity: .8; }
  .sx-reference-topics-inner { justify-content: flex-start; padding: 20px 0; }
  .sx-reference-topics-label { margin-right: 18px; }
  body.home article #sky-exchange-section { padding: 40px; }
  #featured-sports img { height: 180px; }
}
@media (max-width: 720px) {
  #masthead .site-title { font-size: 23px; }
  .sx-reference-hero, .sx-reference-hero-inner { min-height: unset; }
  .sx-reference-hero-inner { width: 100%; display: block; }
  .sx-reference-copy { width: auto; padding: 58px 24px 28px; }
  .sx-reference-eyebrow { margin-bottom: 20px; font-size: 10px; }
  .sx-reference-hero h1 { font-size: clamp(43px, 9.4vw, 63px); }
  .sx-reference-hero p.sx-reference-lead { max-width: 500px; margin-top: 20px; font-size: 16px; }
  .sx-reference-actions { gap: 10px; margin-top: 25px; }
  .sx-reference-button { width: 100%; }
  .sx-reference-hero p.sx-reference-disclaimer { max-width: 310px; margin-top: 18px; }
  .sx-reference-portrait { position: relative; right: auto; width: 100%; height: 300px; opacity: 1; -webkit-mask-image: linear-gradient(0deg, #000 65%, transparent 100%); mask-image: linear-gradient(0deg, #000 65%, transparent 100%); }
  .sx-reference-portrait img { object-position: center 31%; }
  .sx-reference-hero::after { height: 22px; }
  .sx-reference-topics-inner { width: calc(100% - 36px); min-height: unset; justify-content: flex-start; gap: 6px 18px; padding: 22px 0; }
  .sx-reference-topics-label { display: block; flex-basis: 100%; margin: 0 0 3px; }
  .sx-reference-topics a { padding: 5px 0; font-size: 14px; }
  body.home article .wp-block-group[id] { width: calc(100% - 40px); padding: 56px 0; }
  body.home article #sky-exchange-section { padding: 29px; }
  body.home article #sky-exchange-section .wp-block-group__inner-container { display: block; }
  body.home article #sky-exchange-section h2 { margin-bottom: 16px; }
  #featured-sports img { height: 230px; }
  #knowledge-base-section .wp-block-columns { gap: 10px; }
  #knowledge-base-section .wp-block-column { padding: 20px; }
  body.home article #latest-updates { padding: 30px; margin-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) { .sx-reference-button:hover { transform: none; } }
