/* Sports and entertainment destinations, within the approved blue editorial theme. */
body.qb-theme-destination #rw_container { margin: 0; display: block; }
.qb-theme-destination #main_section { padding: 0; }
.qb-destination { padding-bottom: 36px; }
.qb-destination-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0 18px; }
.qb-destination-heading h1 { margin: 0; font: 38px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; color: var(--qb-ink); }
.qb-destination-heading > span { color: var(--qb-muted); font-size: 12px; }
.qb-topic-nav { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--qb-line); border-bottom: 1px solid var(--qb-line); padding: 12px 0; margin-bottom: 28px; }
.qb-topic-nav a { display: inline-flex; align-items: center; gap: 14px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--qb-line); border-radius: 3px; background: var(--qb-surface); font-size: 13px; font-weight: 600; text-decoration: none; }
.qb-topic-nav a:hover { background: var(--qb-tint); border-color: var(--qb-accent); }
.qb-topic-nav a span { color: var(--qb-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.qb-topic-nav .qb-topic-nav-match { background: var(--qb-tint); }
.qb-topic-block { margin-bottom: 38px; scroll-margin-top: 155px; }
.qb-topic-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 3px solid var(--qb-ink); padding: 17px 0; }
.qb-topic-heading h2 { color: var(--qb-ink); font: 28px/1.2 Georgia, 'Times New Roman', serif; margin: 0; }
.qb-topic-heading > a { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font-size: 12px; font-weight: 600; }
.qb-topic-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; }
.qb-destination-story { min-width: 0; }
.qb-destination-story a { color: var(--qb-ink) !important; display: block; text-decoration: none; }
.qb-destination-story a:hover h3 { color: var(--qb-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qb-destination-photo { background: var(--qb-tint); border-radius: 3px; overflow: hidden; }
.qb-destination-photo img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.qb-destination-copy h3 { font: 25px/1.23 Georgia, 'Times New Roman', serif; letter-spacing: -.015em; margin: 13px 0 10px; color: var(--qb-ink); }
.qb-destination-copy p { color: var(--qb-muted); font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.qb-destination-copy .qb-home-meta { display: block; font-size: 11px; }
.qb-topic-list { display: flex; flex-direction: column; border-left: 1px solid var(--qb-line); padding-left: 30px; }
.qb-destination-story--brief { padding: 20px 0; border-bottom: 1px solid var(--qb-line); }
.qb-destination-story--brief:first-child { padding-top: 0; }
.qb-destination-story--brief:last-child { border-bottom: 0; }
.qb-destination-story--brief a { display: grid; grid-template-columns: minmax(0, 1fr) 110px; align-items: start; gap: 20px; }
.qb-destination-story--brief .qb-destination-photo { grid-column: 2; grid-row: 1; }
.qb-destination-story--brief .qb-destination-photo img { aspect-ratio: 4/3; object-fit: contain; }
.qb-destination-story--brief .qb-destination-copy { grid-column: 1; grid-row: 1; }
.qb-destination-story--brief h3 { font-size: 22px; margin-top: 0; }
.qb-destination-story--text a { grid-template-columns: minmax(0, 1fr); }
.qb-destination-story--text.qb-destination-story--feature { background: var(--qb-surface); border: 1px solid var(--qb-line); border-radius: 3px; padding: 26px; }
.qb-topic-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--qb-line); }
.qb-destination-story--compact .qb-destination-photo img { height: 150px; object-fit: contain; }
.qb-destination-story--compact h3 { font-size: 19px; }
.qb-topic-layout--single { grid-template-columns: minmax(0, 1fr); }
.qb-topic-layout--single .qb-destination-story--feature:not(.qb-destination-story--text) > a { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.qb-destination--entertainment .qb-topic-block--local { padding: 0 25px 25px; background: #edf1f8; border-radius: 3px; }
.qb-destination--sports .qb-topic-block { background: var(--qb-surface); padding: 0 24px 24px; border: 1px solid var(--qb-line); border-radius: 3px; }
.qb-destination--sports .qb-topic-heading { margin-top: -1px; }
.qb-destination--sports .qb-destination-story--feature h3 { font-size: 27px; }
.qb-destination-ad:empty { display: none; }
.qb-destination-empty { padding: 30px; background: white; border: 1px solid var(--qb-line); }

/* Match utilities precede reporting; the horizontal rail stays compact as coverage grows. */
.qb-match-centre { margin: 0 0 32px; border: 1px solid var(--qb-line); border-radius: 4px; background: var(--qb-surface); overflow: hidden; scroll-margin-top: 155px; }
.qb-match-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; background: var(--qb-ink); color: white; }
.qb-match-kicker { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; margin-bottom: 4px; color: #c0cee9; }
.qb-match-heading h2 { font: 27px/1.2 Georgia, 'Times New Roman', serif; color: white; margin: 0; }
body.qb-theme-home .qb-match-heading > a { color: white; font-size: 12px; font-weight: 600; padding: 10px 0; }
.qb-match-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--qb-line); }
.qb-match-views { display: flex; gap: 24px; }
.qb-match-views a { display: inline-flex; min-height: 48px; align-items: center; font-size: 13px; font-weight: 600; border-bottom: 3px solid transparent; padding: 8px 0 5px; text-decoration: none; }
.qb-match-views a[aria-current="true"] { border-color: var(--qb-accent); color: var(--qb-accent); }
.qb-match-sport-filter { margin: 0; }
.qb-match-sport-filter select { min-height: 40px; max-width: 220px; border: 0; color: var(--qb-ink); background: var(--qb-surface); font-size: 12px; }
.qb-match-panel { padding: 18px 24px 0; scroll-margin-top: 150px; }
.qb-match-panel-title { font-size: 17px; }
.qb-match-centre.is-enhanced .qb-match-panel-title { display: none; }
.qb-match-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px)/4); align-items: start; gap: 12px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #a8b7d1 transparent; padding-bottom: 12px; scroll-snap-type: x proximity; }
.qb-match-card { border: 1px solid var(--qb-line); border-radius: 3px; background: #fff; scroll-snap-align: start; }
.qb-match-card summary { display: block; padding: 13px 14px 0; cursor: pointer; list-style: none; }
.qb-match-card summary::-webkit-details-marker { display: none; }
.qb-match-card summary:hover { background: #f7f9fd; }
.qb-match-card-top { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--qb-muted); font-weight: 700; }
.qb-match-status { font-weight: 500; }
.qb-match-status--live { color: #b32940; font-weight: 700; }
.qb-match-status--live::before { content: ''; display: inline-block; width: 6px; height: 6px; background: currentColor; border-radius: 50%; margin-right: 4px; }
.qb-match-date { display: block; color: var(--qb-muted); font-size: 10px; margin: 6px 0 14px; }
.qb-match-team { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--qb-ink); line-height: 1.4; margin: 8px 0; }
.qb-match-team > span { min-width: 0; }
.qb-match-team strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.qb-match-detail-label { border-top: 1px solid var(--qb-line); display: flex; justify-content: space-between; align-items: center; min-height: 40px; margin-top: 14px; font-size: 10px; color: var(--qb-accent); }
.qb-match-detail-label > span { font-size: 19px; }
.qb-match-card[open] { border-color: var(--qb-accent); }
.qb-match-card[open] .qb-match-detail-label > span { transform: rotate(45deg); }
.qb-match-detail { padding: 14px; background: #f2f5fb; border-top: 1px solid var(--qb-line); }
.qb-match-detail dl { margin: 0 0 14px; font-size: 11px; }
.qb-match-detail dt { color: var(--qb-muted); font-weight: 500; }
.qb-match-detail dd { margin-bottom: 8px; color: var(--qb-ink); }
.qb-match-detail h4 { font-size: 12px; margin: 0 0 6px; }
.qb-match-detail p { font-size: 11px; line-height: 1.5; color: var(--qb-muted); margin: 0; }
.qb-match-missing { display: block; font-size: 10px; color: var(--qb-muted); }
.qb-match-updated { color: var(--qb-muted); font-size: 10px; margin: 6px 0 0; }
.qb-match-note { font-size: 11px; color: var(--qb-muted); padding: 10px 24px 15px; margin: 0; }
.qb-match-empty { padding: 24px 0; color: var(--qb-muted); font-size: 13px; margin: 0; }
.qb-match-centre [hidden] { display: none !important; }
.qb-theme-destination :is(a, summary, select):focus-visible { outline: 3px solid #477bc8; outline-offset: 4px; }
@media (max-width: 1199px) {
  .qb-match-rail { grid-auto-columns: calc((100% - 24px)/3); }
  .qb-destination-story--brief a { grid-template-columns: minmax(0, 1fr) 85px; gap: 16px; }
}
@media (max-width: 991px) {
  .qb-topic-layout { gap: 22px; }
  .qb-topic-list { padding-left: 22px; }
  .qb-destination-copy h3, .qb-destination--sports .qb-destination-story--feature h3 { font-size: 23px; }
  .qb-destination-story--brief h3 { font-size: 19px; }
  .qb-topic-block, .qb-match-centre { scroll-margin-top: 20px; }
}
@media (max-width: 767px) {
  .qb-destination-heading { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 2px; }
  .qb-destination-heading h1 { font-size: 31px; }
  .qb-topic-nav { gap: 6px; margin-bottom: 22px; }
  .qb-topic-nav a { font-size: 12px; padding: 7px 10px; gap: 9px; }
  .qb-topic-heading { gap: 12px; align-items: flex-start; }
  .qb-topic-heading h2 { font-size: 25px; }
  .qb-topic-heading > a { font-size: 11px; min-height: 32px; text-align: right; flex-shrink: 0; max-width: 115px; }
  .qb-topic-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .qb-topic-list { padding: 0; border-left: 0; }
  .qb-destination-photo img { max-height: 400px; }
  .qb-destination-story--brief { padding: 17px 0; }
  .qb-destination-story--brief:first-child { border-top: 1px solid var(--qb-line); padding-top: 17px; }
  .qb-destination-story--brief a { grid-template-columns: minmax(0, 1fr) 90px; }
  .qb-topic-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 10px; padding-top: 20px; }
  .qb-destination-story--compact h3 { font-size: 18px; }
  .qb-destination-story--compact .qb-destination-photo img { height: 110px; }
  .qb-topic-layout--single .qb-destination-story--feature:not(.qb-destination-story--text) > a { display: block; }
  .qb-destination--entertainment .qb-topic-block--local, .qb-destination--sports .qb-topic-block { padding: 0 15px 20px; }
  .qb-match-centre { margin-bottom: 25px; }
  .qb-match-heading { align-items: flex-start; padding: 17px 15px; gap: 10px; }
  .qb-match-heading h2 { font-size: 23px; }
  body.qb-theme-home .qb-match-heading > a { max-width: 110px; font-size: 11px; padding: 0; text-align: right; line-height: 1.6; }
  .qb-match-controls { padding: 0 15px; flex-wrap: wrap; gap: 0; }
  .qb-match-views { gap: 22px; }
  .qb-match-sport-filter { width: 100%; padding-bottom: 7px; }
  .qb-match-sport-filter select { width: 100%; max-width: none; }
  .qb-match-panel { padding: 15px 15px 0; }
  .qb-match-rail { grid-auto-columns: min(245px, 100%); }
  .qb-match-note { padding: 10px 15px 15px; }
}
@media (prefers-reduced-motion: reduce) { .qb-match-rail { scroll-behavior: auto; } }

.qb-match-pagination { display: flex; justify-content: flex-end; gap: 18px; }
.qb-match-pagination > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.qb-match-arrows { display: flex; gap: 6px; }
.qb-match-arrows button { border: 1px solid var(--qb-line); background: white; border-radius: 3px; color: var(--qb-accent); min-width: 44px; min-height: 44px; font-size: 19px; cursor: pointer; }
.qb-match-arrows button:disabled { opacity: .35; cursor: default; }
.qb-match-arrows button:focus-visible { outline: 3px solid #477bc8; outline-offset: 2px; }
.qb-match-centre--full .qb-match-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
@media (max-width: 991px) { .qb-match-centre--full .qb-match-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .qb-match-centre--full .qb-match-rail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) {
  .qb-topic-heading { flex-wrap: wrap; gap: 4px 14px; }
  .qb-topic-heading h2 { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .qb-topic-heading > a { min-height: 36px; max-width: none; text-align: left; }
  .qb-match-heading { flex-wrap: wrap; }
  body.qb-theme-home .qb-match-heading > a { max-width: none; text-align: left; min-height: 30px; }
}