@font-face {
  font-family: 'Stats365 Sport';
  src: url('headline.otf') format('opentype');
  font-style: oblique;
  font-weight: 700;
  font-display: swap;
}

body.stats365-blue-post {
  --s365-bg: #051326;
  --s365-panel: #0a203b;
  --s365-white: #f7fbff;
  --s365-muted: #b5cbe2;
  --s365-blue: #1b8fff;
  --s365-cyan: #66d6ff;
  --s365-border: #284768;
  background: var(--s365-bg) !important;
  color: var(--s365-white);
}
body.stats365-blue-post :is(#page, #content, .site-content, .content-area, .site-main, main) {
  background-color: transparent !important;
}
body.stats365-blue-post :is(article.type-post, article.post, article.type-page) {
  box-sizing: border-box;
  background: linear-gradient(145deg, #102e50 0%, #091c33 45%, #07172c 100%) !important;
  border: 1px solid var(--s365-border);
  border-top: 4px solid var(--s365-blue);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 52px);
  box-shadow: 0 18px 60px #0003;
  color: var(--s365-white);
  overflow-wrap: anywhere;
  min-width: 0;
}
body.stats365-blue-post :is(.entry-header, .entry-content, .entry-summary, .entry-footer, .wp-block-post-content) {
  background: transparent !important;
  color: var(--s365-white) !important;
}
body.stats365-blue-post :is(.entry-title, .wp-block-post-title, .page-title) {
  font-family: 'Stats365 Sport', Impact, 'Arial Narrow', sans-serif !important;
  font-style: oblique !important;
  font-weight: 700 !important;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.015em;
  color: #fff !important;
  text-wrap: balance;
  margin: .15em 0 .45em;
}
body.stats365-blue-post :is(.entry-title, .wp-block-post-title, .page-title) a {
  color: inherit !important;
}
body.stats365-blue-post :is(.entry-meta, .entry-footer, .posted-on, .byline, .wp-block-post-date, .wp-block-post-author) {
  color: var(--s365-muted) !important;
  font: 500 .88rem/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.stats365-blue-post :is(.entry-meta, .entry-footer, .wp-block-post-date, .wp-block-post-author) a {
  color: var(--s365-cyan) !important;
}
body.stats365-blue-post .s365-post-body {
  max-width: 820px;
  margin-inline: auto;
  padding-top: clamp(12px, 2vw, 26px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.8;
  color: var(--s365-white);
}
.s365-post-body :is(p, li, dd, dt, td, th) {
  color: var(--s365-white) !important;
  font-family: inherit;
}
.s365-post-body p { margin: 0 0 1.35em; }
.s365-post-body > p:first-child {
  font-size: 1.12em;
  line-height: 1.75;
  color: #d9eaff !important;
}
.s365-post-body :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Stats365 Sport', Impact, 'Arial Narrow', sans-serif !important;
  font-style: oblique;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.15;
  margin: 1.55em 0 .6em;
  text-wrap: balance;
  scroll-margin-top: 100px;
}
.s365-post-body h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  padding: .18em 0 .18em 18px;
  border-left: 4px solid var(--s365-blue);
}
.s365-post-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.s365-post-body a {
  color: var(--s365-cyan) !important;
  text-decoration: underline;
  text-decoration-color: #66d6ff70;
  text-underline-offset: .2em;
  transition: color .18s ease, text-shadow .18s ease;
}
.s365-post-body a:hover {
  color: #fff !important;
  text-shadow: 0 0 12px #1b8fff90;
}
.s365-post-body a:focus-visible {
  outline: 2px solid var(--s365-cyan);
  outline-offset: 4px;
  border-radius: 3px;
}
.s365-post-body strong { color: #fff; font-weight: 750; }
.s365-post-body :is(ul, ol) { padding-left: 1.4em; margin-bottom: 1.4em; }
.s365-post-body li { padding-left: .2em; margin-block: .45em; }
.s365-post-body li::marker { color: var(--s365-cyan); }
.s365-post-body blockquote {
  margin: 1.7em 0;
  padding: 22px 26px;
  background: #153e6570;
  border: 1px solid var(--s365-border);
  border-left: 4px solid var(--s365-cyan);
  border-radius: 0 12px 12px 0;
  color: var(--s365-white);
}
.s365-post-body blockquote p:last-child { margin-bottom: 0; }
.s365-post-body :is(img, video) { max-width: 100%; height: auto; border-radius: 12px; }
.s365-post-body :is(figure, .wp-caption) { max-width: 100%; margin-inline: 0; }
.s365-post-body :is(figcaption, .wp-caption-text) {
  color: var(--s365-muted) !important;
  font-size: .8em;
  line-height: 1.5;
}
body.stats365-blue-post :is(.post-thumbnail img, .wp-block-post-featured-image img) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.s365-post-body iframe { max-width: 100%; }
.s365-post-body .wp-block-table { overflow-x: auto; }
.s365-post-body table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: var(--s365-panel);
  color: var(--s365-white);
  font-size: .9em;
}
.s365-post-body :is(th, td) {
  padding: 13px 16px;
  border: 1px solid var(--s365-border);
  background: transparent !important;
  text-align: left;
}
.s365-post-body th { background: #124172 !important; }
.s365-post-body tr:nth-child(even) { background: #14304b; }
.s365-post-body :is(pre, code) {
  background: #031022;
  color: #c9efff;
  border-radius: 6px;
}
.s365-post-body pre { padding: 18px; overflow-x: auto; }
.s365-post-body hr { border: 0; border-top: 1px solid var(--s365-border); margin: 2em 0; }
body.stats365-blue-post :is(.post-navigation, .comments-area, .widget) {
  background: var(--s365-panel);
  color: var(--s365-white);
  border-radius: 12px;
}
body.stats365-blue-post :is(.post-navigation, .comments-area, .widget) a {
  color: var(--s365-cyan);
}
@media (max-width: 600px) {
  body.stats365-blue-post :is(article.type-post, article.post, article.type-page) {
    padding: 22px 18px;
    border-radius: 12px;
  }
  .s365-post-body blockquote { padding: 18px; }
  .s365-post-body h2 { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .s365-post-body a { transition: none; }
}

/* Theme inner wrappers must not paint a white surface over the navy article. */
body.stats365-blue-post :is(.inside-article, .inside-page-header, .page-content) {
  background: #091c33 !important;
  color: #f7fbff !important;
}
body.stats365-blue-post :is(article.type-post, article.post, article.type-page) > .inside-article {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.stats365-blue-post :is(.entry-header, .page-header, .entry-content, .wp-block-post-content) {
  background-color: #091c33 !important;
}
body.stats365-blue-post .s365-post-body {
  background: #091c33 !important;
  color: #f7fbff !important;
  padding: 24px 0 8px;
}
body.stats365-blue-post .s365-post-body :is(h1, h2, h3, h4, h5, h6, p, li, strong) {
  color: #f7fbff !important;
  opacity: 1 !important;
}
body.stats365-blue-post :is(.entry-header, .inside-article) :is(.entry-title, .page-title) {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Match the supplied Daily Hot Hand 1.2.4 design tokens and typography. */
body.stats365-blue-post {
  --s365-bg: #071322;
  --s365-panel: #0b1d31;
  --s365-white: #ffffff;
  --s365-muted: #abc3d9;
  --s365-blue: #25a5ff;
  --s365-cyan: #75cfff;
  --s365-border: #294862;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.stats365-blue-post :is(article.type-post, article.post, article.type-page) {
  background: radial-gradient(ellipse at top left, #143b60, transparent 52%), #071322 !important;
  border: 1px solid #28435f;
  box-shadow: 0 16px 44px #03101e30;
}
body.stats365-blue-post :is(.inside-article, .inside-page-header, .page-content, .entry-header, .page-header, .entry-content, .wp-block-post-content) {
  background: #071322 !important;
}
body.stats365-blue-post :is(.entry-title, .wp-block-post-title, .page-title),
body.stats365-blue-post .s365-post-body :is(h1,h2,h3,h4,h5,h6) {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: -.035em;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
body.stats365-blue-post :is(.entry-title, .wp-block-post-title, .page-title) {
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.1 !important;
}
body.stats365-blue-post .s365-post-body {
  background: #071322 !important;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
body.stats365-blue-post .s365-post-body h2 {
  font-size: clamp(23px, 3vw, 30px);
  margin-top: 1.7em;
  padding: 14px 18px;
  background: linear-gradient(145deg,#102c47,#0b1d31);
  border: 1px solid #294862;
  border-left: 4px solid #25a5ff;
  border-radius: 0 10px 10px 0;
}
body.stats365-blue-post .s365-post-body > p:first-child {
  font-size: 18px;
  color: #e3f2ff !important;
}

/* Sidebar panels, including theme and block-widget inner wrappers. */
body.stats365-blue-post :is(.sidebar, .widget-area, .inside-right-sidebar, .inside-left-sidebar) {
  color: #fff;
}
body.stats365-blue-post :is(.sidebar, .widget-area, .inside-right-sidebar, .inside-left-sidebar) .widget,
body.stats365-blue-post .widget {
  background: linear-gradient(145deg,#102c47,#0b1d31) !important;
  color: #fff !important;
  border: 1px solid #294862;
  border-radius: 14px;
  box-shadow: 0 5px 20px #0002;
  padding: 24px;
  overflow-wrap: anywhere;
  min-width: 0;
}
body.stats365-blue-post .widget :is(.wp-block-group,.wp-block-group__inner-container,.has-background,.wp-block-search,.wp-block-search__inside-wrapper) {
  background: transparent !important;
  color: #fff !important;
}
body.stats365-blue-post .widget :is(h1,h2,h3,h4,h5,h6,.widget-title,.wp-block-heading) {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-family: Inter,system-ui,-apple-system,'Segoe UI',sans-serif !important;
  font-weight: 850 !important;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-top: 0;
  margin-bottom: 18px;
}
body.stats365-blue-post .widget :is(p,li,label,span,time,.wp-block-latest-posts__post-date) {
  color: #dcecff !important;
}
body.stats365-blue-post .widget a {
  color: #75cfff !important;
  -webkit-text-fill-color: #75cfff;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}
body.stats365-blue-post .widget a:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.stats365-blue-post .widget :is(ul,ol) { margin: 0; padding-left: 1.15em; }
body.stats365-blue-post .widget li { margin: 12px 0; }
body.stats365-blue-post .widget :is(input[type=search],input[type=text],select) {
  box-sizing: border-box;
  background: #071726 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border: 1px solid #39556f !important;
  border-radius: 8px;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  font: 500 16px/1.4 Inter,system-ui,sans-serif;
  padding: 10px 12px;
}
body.stats365-blue-post .widget input::placeholder {
  color: #abc3d9 !important;
  -webkit-text-fill-color: #abc3d9;
  opacity: 1;
}
body.stats365-blue-post .widget :is(button,input[type=submit],.wp-block-search__button) {
  background: #168cff !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border: 1px solid #25a5ff !important;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font: 750 14px/1.4 Inter,system-ui,sans-serif;
  cursor: pointer;
}
body.stats365-blue-post .widget .wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
}
body.stats365-blue-post .widget .wp-block-search__input { flex: 1 1 140px; width: 100%; }
body.stats365-blue-post .widget .wp-block-search__button { margin: 0; flex: 0 0 auto; }
body.stats365-blue-post .widget :is(a,input,button,select):focus-visible {
  outline: 2px solid #75cfff;
  outline-offset: 3px;
}
body.single-post :is(.comments-area,.comments-link,.comment-respond) { display: none !important; }

/* Classic Recent Comments widget has no role when blog discussion is disabled. */
body.stats365-blue-post .widget_recent_comments { display: none !important; }
