/*
 * K5 Match V10 WP Font & Wide Layout
 * Clean presentation layer for Flatsome. All brand, colour, sizing, menu and
 * module data is controlled by the WordPress Customizer, Menus or Widgets.
 */

:root {
  --k5-red: #ec000f;
  --k5-red-dark: #c9000d;
  --k5-red-soft: #fff1f2;
  --k5-black: #101010;
  --k5-black-2: #1b1b1b;
  --k5-header-bg: #fff;
  --k5-league-bg: #ec000f;
  --k5-top-strip: #dbe8ea;
  --k5-header-text: #111;
  --k5-announcement-bg: #fff9f9;
  --k5-announcement-border: #ffb9bd;
  --k5-bg: #fff;
  --k5-card: #fff;
  --k5-text: #202020;
  --k5-muted: #737373;
  --k5-line: #e4e4e4;
  --k5-gold: #f5b400;
  --k5-green: #108b5d;
  --k5-footer: #0e0e0f;
  --k5-container: 1320px;
  --k5-sidebar: 320px;
  --k5-gap: 24px;
  --k5-radius: 6px;
  --k5-header-height: 68px;
  --k5-header-wide: 1760px;
  --k5-header-gutter: 22px;
  --k5-top-strip-height: 6px;
  --k5-leaguebar-height: 36px;
  --k5-announcement-height: 52px;
  --k5-main-menu-font-size: 18px;
  --k5-league-menu-font-size: 17px;
  --k5-announcement-font-size: 16px;
  --k5-header-item-gap: 8px;
  --k5-header-logo-gap: 58px;
  --k5-mobile-header-height: 58px;
  --k5-mobile-primary-height: 38px;
  --k5-mobile-primary-offset: 38px;
  --k5-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

html { scroll-behavior: smooth; }
body.k5-pro {
  margin: 0;
  background: var(--k5-bg);
  color: var(--k5-text);
  font-family: var(--k5-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.k5-pro.menu-open { overflow: hidden; }

/* Keep one reliable Vietnamese-capable type stack across Flatsome/WordPress.
   Icon fonts and the WP admin bar are explicitly excluded from this override. */
body.k5-pro h1,
body.k5-pro h2,
body.k5-pro h3,
body.k5-pro h4,
body.k5-pro h5,
body.k5-pro h6,
body.k5-pro .heading-font,
body.k5-pro .nav > li > a,
body.k5-pro .mobile-sidebar-levels-2 .nav > li > ul > li > a,
body.k5-pro button,
body.k5-pro input,
body.k5-pro select,
body.k5-pro textarea,
body.k5-pro .button {
  font-family: var(--k5-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif) !important;
}
body.k5-pro #wpadminbar,
body.k5-pro #wpadminbar * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.k5-pro .dashicons,
body.k5-pro .dashicons-before::before { font-family: dashicons !important; }
body.k5-pro [class^="icon-"]::before,
body.k5-pro [class*=" icon-"]::before { font-family: "fl-icons" !important; }
body.k5-pro #wrapper,
body.k5-pro #main { background: transparent; }
body.k5-pro #main { min-height: 55vh; }
body.k5-pro .k5-wrapper { overflow: clip; }
body.k5-pro a { color: var(--k5-red-dark); text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
body.k5-pro a:hover { color: var(--k5-red); }
body.k5-pro img { max-width: 100%; height: auto; }
body.k5-pro button,
body.k5-pro input,
body.k5-pro select,
body.k5-pro textarea { font: inherit; }
body.k5-pro .container,
body.k5-pro .row { max-width: none; }
body.k5-pro .col,
body.k5-pro .columns,
body.k5-pro .gallery-item { padding-bottom: 0; }

.k5-container {
  width: min(calc(100% - 32px), var(--k5-container));
  margin-inline: auto;
}
.k5-header-wide {
  width: min(calc(100% - (var(--k5-header-gutter) * 2)), var(--k5-header-wide));
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  top: 10px;
  left: 10px;
  z-index: 999999;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 4px;
  box-shadow: var(--k5-shadow);
}

/* --------------------------------------------------------------------------
   Exact desktop header
   -------------------------------------------------------------------------- */
.k5-header {
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .15);
}
.admin-bar .k5-header { top: 32px; }
.k5-header-top-strip {
  height: var(--k5-top-strip-height);
  background: var(--k5-top-strip);
  border-bottom: 1px solid rgba(45, 80, 86, .08);
}
.k5-header-main {
  position: relative;
  background: var(--k5-header-bg);
}
.k5-header-main__inner {
  height: var(--k5-header-height);
  min-height: var(--k5-header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}
.k5-brand {
  flex: 0 0 auto;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.k5-site-logo {
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 24vw;
}
.k5-site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(var(--k5-header-height) - 4px);
  object-fit: contain;
  object-position: center;
  border-radius: 0 !important;
}
.k5-primary-nav {
  flex: 1 1 auto;
  margin-left: var(--k5-header-logo-gap);
  min-width: 0;
  height: 100%;
}
.k5-nav-menu,
.k5-nav-menu ul,
.k5-league-menu,
.k5-featured-menu,
.k5-hot-menu,
.k5-footer-links,
.k5-mobile-bottom-menu,
.k5-league-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.k5-nav-menu {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--k5-header-item-gap);
}
.k5-nav-menu > li {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}
.k5-nav-menu > li > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--k5-header-text);
  font-size: var(--k5-main-menu-font-size);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.25px;
  white-space: nowrap;
  border-radius: 10px;
}
.k5-nav-menu > li.k5-nav-odds > a,
.k5-nav-menu > li.k5-nav-live > a {
  height: 42px;
  padding-inline: 20px;
  border: 1px solid #c7c7c7;
  background: #fff;
  font-size: calc(var(--k5-main-menu-font-size) - 1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.k5-nav-menu > li.k5-nav-odds > a {
  min-width: 154px;
  justify-content: flex-start;
  color: #fff;
  border-color: var(--k5-red);
  background: var(--k5-red);
  border-radius: 17px 7px 7px 17px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.k5-nav-menu > li.k5-nav-odds > a::after {
  content: "⚽";
  margin-left: 8px;
  font-size: 17px;
  line-height: 1;
}
.k5-nav-menu > li.k5-nav-live {
  margin-left: -21px;
  z-index: 2;
}
.k5-nav-menu > li.k5-nav-live > a {
  min-width: 136px;
  padding-left: 18px;
  border-radius: 17px;
  color: #191919;
}
.k5-nav-menu > li.k5-nav-live > a::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  border: 2px solid #ff626b;
  box-shadow: inset 0 0 0 3px #fff;
  background: #ff626b;
}
.k5-nav-menu > li:not(.k5-nav-odds):not(.k5-nav-live) > a:hover,
.k5-nav-menu > li:not(.k5-nav-odds):not(.k5-nav-live).current-menu-item > a,
.k5-nav-menu > li:not(.k5-nav-odds):not(.k5-nav-live).current-menu-ancestor > a {
  color: var(--k5-red);
  background: #fff4f5;
}
.k5-nav-menu > li.k5-nav-odds > a:hover,
.k5-nav-menu > li.k5-nav-live > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}
.k5-nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--k5-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .15);
}
.k5-nav-menu li:hover > .sub-menu,
.k5-nav-menu li:focus-within > .sub-menu { display: block; }
.k5-nav-menu .sub-menu a {
  display: block;
  padding: 9px 10px;
  color: #272727;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  white-space: nowrap;
}
.k5-nav-menu .sub-menu a:hover { color: var(--k5-red); background: #fff3f4; }

.k5-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.k5-icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #222;
  cursor: pointer;
}
.k5-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.k5-icon-button:hover { color: var(--k5-red); border-color: #ffc3c7; background: #fff4f5; }
.k5-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.k5-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.k5-gift-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  overflow: hidden;
  flex: 0 0 auto;
}
.k5-gift-button img { width: 100%; height: 100%; object-fit: contain; }
.k5-gift-button:hover { transform: translateY(-1px); filter: saturate(1.08); }

.k5-search-panel {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 100;
  padding: 12px 0;
  background: #fff;
  border-top: 1px solid var(--k5-line);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .1);
}
.k5-search-panel[hidden] { display: none; }
.k5-search-panel__inner { display: flex; align-items: center; gap: 10px; }
.k5-search-panel .searchform { flex: 1; margin: 0; }
.k5-search-panel .search-field { height: 44px; margin: 0; box-shadow: none; border-radius: 8px; }
.k5-search-panel .submit-button { min-height: 44px; margin: 0; background: var(--k5-red); border-radius: 8px; }
.k5-search-close { width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #555; font-size: 30px; cursor: pointer; }

/* Red league ribbon with the same cut/curved ends as the reference. */
.k5-leaguebar-shell {
  position: relative;
  min-height: var(--k5-leaguebar-height);
  background: #e9e9e9;
}
.k5-leaguebar-shell > .k5-header-wide { height: var(--k5-leaguebar-height); }
.k5-leaguebar {
  position: relative;
  height: var(--k5-leaguebar-height);
  margin-inline: 0;
  background: var(--k5-league-bg);
  clip-path: polygon(0 0, 100% 0, 95.2% 100%, 4.8% 100%);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}
.k5-league-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.k5-league-menu {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.k5-league-menu li { flex: 0 0 auto; }
body.k5-pro .k5-league-menu a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #fff;
  font-size: var(--k5-league-menu-font-size);
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}
body.k5-pro .k5-league-menu a:hover,
body.k5-pro .k5-league-menu .current-menu-item > a { color: #fff; background: rgba(0, 0, 0, .12); }

/* Announcement and keyword rows. */
.k5-announcement-shell {
  padding: 14px 0 10px;
  background: #e9e9e9;
}
.k5-announcement {
  min-height: var(--k5-announcement-height);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--k5-announcement-bg);
  border: 1px solid var(--k5-announcement-border);
  border-radius: 6px;
  color: #444;
  font-size: var(--k5-announcement-font-size);
  line-height: 1.5;
}
.k5-announcement[hidden] { display: none; }
.k5-announcement__content { flex: 1; min-width: 0; }
.k5-announcement__content a,
.k5-announcement__content strong { color: #ff232e; font-weight: 800; }
.k5-announcement__close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.k5-header.is-compact-header .k5-announcement-shell { padding: 8px 0; }
.k5-header.is-compact-header .k5-announcement { min-height: min(var(--k5-announcement-height), 52px); }
.k5-header.is-scrolled.is-compact-header .k5-announcement-shell { display: none; }
.k5-featuredbar,
.k5-hotbar { border-bottom: 1px solid #e8e8e8; }
.k5-featuredbar { background: #fff; }
.k5-hotbar { background: #f7f7f7; }
.k5-featuredbar__inner,
.k5-hotbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.k5-featuredbar__label,
.k5-hotbar__label {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--k5-red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.k5-featured-nav,
.k5-hot-nav { min-width: 0; flex: 1; overflow: hidden; }
.k5-featured-menu,
.k5-hot-menu { display: flex; align-items: center; width: max-content; }
.k5-featured-menu li,
.k5-hot-menu li { flex: 0 0 auto; }
.k5-featured-menu a,
.k5-hot-menu a {
  display: block;
  padding: 6px 12px;
  color: #333;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.k5-hot-menu--clone span {
  display: block;
  padding: 6px 12px;
  color: #333;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.k5-featured-menu a::before,
.k5-hot-menu a::before,
.k5-hot-menu--clone span::before { content: "⚽"; margin-right: 6px; font-size: 10px; }
.k5-featured-menu a:hover,
.k5-hot-menu a:hover { color: var(--k5-red); }
.k5-hot-track { display: flex; width: max-content; will-change: transform; }
.k5-hotbar.is-marquee .k5-hot-track.is-ready { animation: k5Ticker 34s linear infinite; }
.k5-hotbar.is-marquee:hover .k5-hot-track { animation-play-state: paused; }
@keyframes k5Ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.k5-header-status { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #777; font-size: 11px; white-space: nowrap; }
.k5-header-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--k5-green); box-shadow: 0 0 0 4px rgba(16, 139, 93, .12); }

/* Single-DOM mobile navigation overlay. */
.k5-mobile-nav-head,
.k5-mobile-nav-backdrop { display: none; }
.k5-mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1280;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .58);
  cursor: pointer;
}
.k5-mobile-nav-backdrop[hidden] { display: none !important; }
.k5-mobile-nav-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f2f2f2;
  color: #222;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@keyframes k5SlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* --------------------------------------------------------------------------
   Main layout
   -------------------------------------------------------------------------- */
.k5-page-shell { padding: 20px 0 36px; background: #fff; }
.k5-page-shell--front { padding-top: 18px; }
.k5-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--k5-sidebar); gap: var(--k5-gap); align-items: start; }
.k5-content-column,
.k5-sidebar-column { min-width: 0; }
.k5-content-surface,
.k5-article,
.k5-home-article { background: #fff; }
.k5-single-column { width: 100%; }
.k5-data-page .k5-content-surface { overflow: hidden; }

.k5-breadcrumbs {
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #858585;
  font-size: 12px;
  line-height: 1.4;
}
.k5-breadcrumbs a { color: #5b5b5b; }
.k5-breadcrumbs a:hover { color: var(--k5-red); }
.k5-breadcrumbs--rankmath .rank-math-breadcrumb p { margin: 0; }

.k5-article-header { margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--k5-line); }
.k5-article-header h1,
.k5-page-heading h1,
.k5-archive-header h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(28px, 2.55vw, 36px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.5px;
  text-transform: none;
}
.k5-home-header h1 { font-size: clamp(28px, 2.45vw, 35px); }
.k5-article-meta,
.k5-archive-meta {
  margin-top: 9px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  color: #777;
  font-size: 12px;
}
.k5-article-meta span + span::before { content: "•"; margin-right: 8px; color: #b6b6b6; }
.k5-category-pill,
.k5-category-feature__label,
.k5-post-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: var(--k5-red);
  color: #fff !important;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
}
.k5-article-featured { margin: 0 0 20px; }
.k5-article-featured img { width: 100%; border-radius: var(--k5-radius); }

/* Bookmaker rail. */
.k5-bookmaker-rail {
  margin: 18px 0 24px;
  padding: 13px;
  background: #f8f8f8;
  border: 1px solid var(--k5-line);
  border-radius: var(--k5-radius);
}
.k5-module-head { margin-bottom: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.k5-module-head h2 { margin: 0; color: #171717; font-size: 19px; line-height: 1.25; }
.k5-module-kicker { display: block; color: var(--k5-red); font-size: 9px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.k5-module-head > a { font-size: 11px; font-weight: 800; white-space: nowrap; }
.k5-bookmaker-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.k5-bookmaker-intro {
  flex: 0 0 112px;
  min-height: 154px;
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--k5-red), var(--k5-red-dark));
  color: #fff;
  text-transform: uppercase;
  scroll-snap-align: start;
}
.k5-bookmaker-intro span { margin-bottom: 6px; font-size: 10px; font-weight: 900; opacity: .85; letter-spacing: .8px; }
.k5-bookmaker-intro strong { font-size: 20px; line-height: 1.08; font-weight: 900; }
.k5-bookmaker-card {
  flex: 0 0 124px;
  min-width: 124px;
  min-height: 154px;
  padding: 11px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fff;
  scroll-snap-align: start;
}
.k5-bookmaker-card__logo { width: 50px; height: 50px; margin-bottom: 5px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; }
.k5-bookmaker-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.k5-bookmaker-card h3 { min-height: 31px; margin: 0 0 3px; font-size: 11px; line-height: 1.28; text-align: center; }
.k5-bookmaker-card h3 a { color: #222; }
.k5-bookmaker-card__rating { margin: auto 0 5px; color: var(--k5-gold); font-size: 9px; }
.k5-bookmaker-card__button { width: 100%; padding: 5px 3px; border-radius: 3px; background: var(--k5-red); color: #fff !important; font-size: 8px; font-weight: 900; text-align: center; text-transform: uppercase; }
.k5-bookmaker-card__button:hover { background: var(--k5-red-dark); }

/* Editorial content. */
.k5-entry-content { color: var(--k5-text); font-size: 16px; }
.k5-entry-content p { margin: 0 0 15px; }
.k5-entry-content h2 {
  margin: 28px 0 11px;
  padding-left: 12px;
  border-left: 4px solid var(--k5-red);
  color: #171717;
  font-size: 24px;
  line-height: 1.35;
}
.k5-entry-content h3 { margin: 23px 0 9px; color: #202020; font-size: 20px; line-height: 1.4; }
.k5-entry-content h4 { margin: 19px 0 8px; font-size: 17px; }
.k5-entry-content ul,
.k5-entry-content ol { margin-bottom: 16px; }
.k5-entry-content li { margin: 5px 0; }
.k5-entry-content img { border-radius: 3px; }
.k5-entry-content blockquote { margin: 18px 0; padding: 13px 16px; border-left: 4px solid var(--k5-red); background: #fff3f4; font-style: normal; }
.k5-entry-content table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14px; }
.k5-entry-content th,
.k5-entry-content td { padding: 10px 11px; border: 1px solid #dedede; }
.k5-entry-content thead th { background: #171717; color: #fff; }
.k5-entry-content .toc,
.k5-entry-content .table-of-contents,
.k5-entry-content .ez-toc-container,
.k5-entry-content #ez-toc-container {
  margin: 18px 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #dedede !important;
  border-top: 3px solid var(--k5-red) !important;
  border-radius: 4px !important;
  background: #f8f8f8 !important;
  box-shadow: none !important;
}
.k5-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.k5-tags a { padding: 5px 9px; border: 1px solid var(--k5-line); border-radius: 3px; color: #555; font-size: 11px; }
.k5-share-row { margin-top: 20px; padding-top: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--k5-line); }
.k5-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--k5-line); border-radius: 4px; background: #fff; color: #333; font-size: 12px; font-weight: 800; }
.k5-button--primary { border-color: var(--k5-red); background: var(--k5-red); color: #fff !important; }
.k5-button:hover { border-color: var(--k5-red); color: var(--k5-red); }
.k5-button--primary:hover { background: var(--k5-red-dark); color: #fff; }

/* Sidebar. */
.k5-sidebar { display: grid; gap: 13px; }
.k5-sidebar-box,
.k5-widget {
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .04);
}
.k5-sidebar-heading {
  min-height: 38px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-left: 4px solid var(--k5-red);
  background: #171717;
  color: #fff;
}
.k5-sidebar-heading span { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .25px; }
.k5-sidebar-heading small { color: #ddd; font-size: 9px; font-weight: 800; }
.k5-match-list,
.k5-mini-posts { display: grid; }
.k5-match-item,
.k5-mini-post { border-bottom: 1px solid #ececec; }
.k5-match-item:last-child,
.k5-mini-post:last-child { border-bottom: 0; }
.k5-match-item {
  min-height: 58px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
}
.k5-match-item:hover,
.k5-mini-post:hover { background: #fff6f7; }
.k5-match-item__time { width: 42px; min-width: 42px; padding: 7px 3px; border-radius: 3px; background: #f1f1f1; color: var(--k5-red); font-size: 9px; font-weight: 900; text-align: center; }
.k5-match-item__copy { min-width: 0; flex: 1; }
.k5-match-item__copy strong { display: block; color: #222; font-size: 11px; line-height: 1.35; }
.k5-match-item__copy small { display: block; margin-top: 3px; color: #888; font-size: 9px; }
.k5-match-item__arrow { color: #aaa; font-size: 18px; }
.k5-mini-post { min-height: 64px; padding: 8px 9px; display: flex; align-items: center; gap: 9px; color: #222; }
.k5-mini-post__thumb { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: #f3f3f3; }
.k5-mini-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.k5-mini-post__copy { min-width: 0; flex: 1; }
.k5-mini-post__copy strong { display: -webkit-box; overflow: hidden; color: #222; font-size: 11px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.k5-mini-post__copy small { display: block; margin-top: 4px; color: #888; font-size: 9px; }
.k5-league-list a { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-bottom: 1px solid #ececec; color: #333; font-size: 11px; font-weight: 700; }
.k5-league-list li:last-child a { border-bottom: 0; }
.k5-league-list a:hover { color: var(--k5-red); background: #fff6f7; }
.k5-league-list span { color: var(--k5-red); }

/* Archive and cards. */
.k5-archive-shell { padding: 20px 0 36px; }
.k5-archive-header {
  margin-bottom: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--k5-line);
  border-radius: 5px;
  background: #fff;
}
.k5-archive-header__content { min-width: 0; }
.k5-archive-header > p,
.k5-archive-summary { margin: 7px 0 0; color: var(--k5-muted); font-size: 14px; }
.k5-archive-header__aside { min-width: 230px; padding: 11px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--k5-line); border-radius: 5px; background: #fafafa; }
.k5-archive-emblem { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--k5-red); color: #fff; font-weight: 900; }
.k5-archive-header__aside strong { display: block; color: #222; font-size: 12px; }
.k5-archive-header__aside small { display: block; color: #888; font-size: 10px; }
.k5-category-feature { margin-bottom: 16px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; border: 1px solid var(--k5-line); border-radius: 5px; background: #fff; }
.k5-category-feature__media { min-height: 270px; background: #eee; }
.k5-category-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.k5-category-feature__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: #f1f1f1; }
.k5-category-feature__placeholder img { width: 100px; height: 100px; object-fit: contain; }
.k5-category-feature__content { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.k5-category-feature__content h2 { margin: 0 0 9px; font-size: 25px; line-height: 1.3; }
.k5-category-feature__content h2 a { color: #222; }
.k5-category-feature__content p { margin: 0 0 13px; color: #666; font-size: 14px; }
.k5-category-feature__meta { color: #888; font-size: 11px; }
.k5-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.k5-post-card { overflow: hidden; display: grid; grid-template-columns: 160px minmax(0, 1fr); border: 1px solid var(--k5-line); border-radius: 4px; background: #fff; }
.k5-post-card__media { min-height: 125px; background: #eee; }
.k5-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.k5-post-card__body { min-width: 0; padding: 13px; }
.k5-post-card__title { margin: 0 0 7px; font-size: 15px; line-height: 1.4; }
.k5-post-card__title a { color: #222; }
.k5-post-card__body p { margin: 0; color: #747474; font-size: 12px; line-height: 1.55; }
.k5-read-more { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; }
.k5-pagination { margin-top: 22px; }
.k5-pagination .page-numbers { display: inline-flex; min-width: 36px; height: 36px; margin: 0 3px; align-items: center; justify-content: center; border: 1px solid var(--k5-line); border-radius: 4px; color: #444; }
.k5-pagination .current { border-color: var(--k5-red); background: var(--k5-red); color: #fff; }

/* Article footer, author and related. */
.k5-article-footer { margin-top: 25px; }
.k5-author-box { margin-top: 24px; padding: 18px; display: flex; gap: 15px; border: 1px solid var(--k5-line); border-left: 4px solid var(--k5-red); border-radius: 5px; background: #fafafa; }
.k5-author-box__avatar { width: 72px; flex: 0 0 72px; }
.k5-author-box__avatar img { border-radius: 50%; }
.k5-author-box__eyebrow { color: var(--k5-red); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.k5-author-box h2 { margin: 2px 0 5px; font-size: 18px; }
.k5-author-box p { margin: 0; color: #666; font-size: 13px; }
.k5-author-box__link { display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 800; }
.k5-related-section,
.k5-related { margin-top: 25px; }
.k5-section-heading { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--k5-red); font-size: 20px; }
.k5-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.k5-related-grid .k5-post-card { grid-template-columns: 140px minmax(0, 1fr); }
.k5-related-grid .k5-post-card__media { min-height: 108px; }

/* Error/empty states. */
.k5-empty-state,
.k5-error-page { padding: 50px 20px; text-align: center; }
.k5-kicker { color: var(--k5-red); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.k5-page-heading { margin-bottom: 18px; }
.k5-topic-strip { margin-bottom: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; overflow: hidden; border: 1px solid var(--k5-line); background: #fafafa; }
.k5-topic-strip__label { flex: 0 0 auto; color: var(--k5-red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.k5-topic-strip__links { min-width: 0; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.k5-topic-strip__links::-webkit-scrollbar { display: none; }
.k5-topic-strip__links a { flex: 0 0 auto; color: #333; font-size: 12px; font-weight: 700; }

/* Footer. */
.k5-footer { background: var(--k5-footer); color: #aaa; }
.k5-footer-main { padding: 34px 0 26px; }
.k5-footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1.05fr; gap: 28px; }
.k5-footer-logo .k5-site-logo { width: 145px !important; height: 92px; justify-content: flex-start; }
.k5-footer-logo .k5-site-logo img { max-height: 92px; }
.k5-footer-brand h2,
.k5-footer-column h3 { margin: 13px 0 10px; color: #fff; font-size: 14px; }
.k5-footer-description p { margin: 0; color: #aaa; font-size: 12px; line-height: 1.65; }
.k5-footer-contact { margin: 11px 0 0; padding: 0; list-style: none; }
.k5-footer-contact li { display: flex; gap: 8px; margin: 5px 0; color: #aaa; font-size: 11px; }
.k5-footer-contact li span { color: var(--k5-red); }
.k5-footer-contact a { color: #bbb; }
.k5-responsible { margin-top: 13px; display: flex; align-items: center; gap: 9px; color: #aaa; font-size: 10px; }
.k5-responsible strong { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--k5-red); color: #fff; font-size: 12px; }
.k5-footer-links a { display: block; padding: 6px 0; color: #bcbcbc; font-size: 12px; }
.k5-footer-links a::before { content: "›"; margin-right: 7px; color: var(--k5-red); }
.k5-footer-links a:hover { color: #fff; }
.k5-footer .k5-widget { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.k5-footer .k5-widget .k5-sidebar-heading { min-height: auto; padding: 0 0 8px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); background: transparent; }
.k5-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.k5-footer-bottom__inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.k5-footer-bottom p { margin: 0; color: #858585; font-size: 10px; }

/* Fixed mobile menu. */
.k5-mobile-bottom-nav { display: none; }
.k5-mobile-bottom-menu { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.k5-mobile-bottom-menu li { min-width: 0; }
.k5-mobile-bottom-menu a,
.k5-mobile-bottom-menu button { width: 100%; min-height: 52px; padding: 5px 3px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; color: #333; font-size: 9px; font-weight: 800; text-align: center; }
.k5-mobile-bottom-menu a::before { content: "⚽"; font-size: 15px; line-height: 1; }
.k5-mobile-bottom-menu .current-menu-item a { color: var(--k5-red); }

/* Sport plugin containment: preserve plugin layout and prevent theme overflow. */
.k5-data-page .k5-entry-content > [id*="bongdako"],
.k5-data-page .k5-entry-content > [class*="bongdako"],
.k5-data-page .k5-entry-content > .sport-plugin-wrap { max-width: 100%; overflow-x: auto; }

/* --------------------------------------------------------------------------
   Responsive header and layout
   -------------------------------------------------------------------------- */
@media (max-width: 1550px) {
  .k5-primary-nav { margin-left: min(var(--k5-header-logo-gap), 14px); }
  .k5-header-main__inner { gap: 14px; }
  .k5-nav-menu { gap: 3px; }
  .k5-nav-menu > li > a { padding-inline: 10px; font-size: calc(var(--k5-main-menu-font-size) - 1px); }
  .k5-nav-menu > li.k5-nav-odds > a { min-width: 138px; }
  .k5-nav-menu > li.k5-nav-live > a { min-width: 126px; }
  .k5-league-menu { gap: 2px; }
  .k5-league-menu a { padding-inline: 10px; font-size: calc(var(--k5-league-menu-font-size) - 1px); }
}

@media (max-width: 1180px) {
  .k5-header-wide { width: min(calc(100% - 24px), var(--k5-header-wide)); }
  .k5-header-main__inner { gap: 10px; }
  .k5-nav-menu > li:not(.k5-nav-odds):not(.k5-nav-live) > a { padding-inline: 7px; font-size: 14px; }
  .k5-nav-menu > li.k5-nav-odds > a { min-width: 124px; padding-left: 15px; font-size: 14px; }
  .k5-nav-menu > li.k5-nav-live > a { min-width: 116px; font-size: 14px; }
  .k5-gift-button { width: 44px; height: 44px; }
  .k5-header-status { display: none; }
}

@media (max-width: 960px) {
  .admin-bar .k5-header { top: 46px; }
  .k5-header { box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
  .k5-header-top-strip { height: 3px; }
  .k5-header-main { z-index: 20; margin-bottom: var(--k5-mobile-primary-offset); }
  .k5-header-main__inner {
    position: relative;
    height: var(--k5-mobile-header-height);
    min-height: var(--k5-mobile-header-height);
    padding-inline: 0;
    justify-content: space-between;
  }
  .k5-menu-toggle {
    display: inline-flex;
    order: 1;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
  }
  .k5-brand {
    order: 2;
    position: absolute;
    left: 50%;
    top: 50%;
    height: calc(var(--k5-mobile-header-height) - 2px);
    transform: translate(-50%, -50%);
  }
  .k5-site-logo { width: 142px; max-width: 44vw; }
  .k5-site-logo img { max-height: calc(var(--k5-mobile-header-height) - 2px); }
  .k5-header-actions { order: 3; margin-left: auto; }
  .k5-search-toggle { width: 38px; height: 38px; }
  .k5-gift-button { width: 42px; height: 42px; border-radius: 12px; }

  /* Reuse the same primary menu as a red horizontal mobile strip. */
  .k5-primary-nav {
    margin-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: block;
    height: var(--k5-mobile-primary-height);
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--k5-red);
    scrollbar-width: none;
  }
  .k5-primary-nav::-webkit-scrollbar { display: none; }
  .k5-nav-menu {
    width: max-content;
    min-width: 100%;
    height: var(--k5-mobile-primary-height);
    justify-content: flex-start;
    gap: 0;
  }
  .k5-nav-menu > li { flex: 0 0 auto; margin: 0 !important; }
  .k5-nav-menu > li > a,
  .k5-nav-menu > li.k5-nav-odds > a,
  .k5-nav-menu > li.k5-nav-live > a {
    min-width: 0;
    height: var(--k5-mobile-primary-height);
    min-height: var(--k5-mobile-primary-height);
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    clip-path: none;
    background: transparent;
    color: #fff;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800;
  }
  .k5-nav-menu > li.k5-nav-odds > a::after,
  .k5-nav-menu > li.k5-nav-live > a::before { display: none; }
  .k5-nav-menu > li > a:hover,
  .k5-nav-menu > li.current-menu-item > a,
  .k5-nav-menu > li.current-menu-ancestor > a { color: #fff !important; background: rgba(0, 0, 0, .13) !important; transform: none; }
  .k5-nav-menu .sub-menu { display: none !important; }

  .k5-mobile-nav-head {
    display: none;
    min-height: 64px;
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid var(--k5-red);
    background: #fff;
    color: #222;
  }
  .k5-mobile-nav-head strong { max-width: calc(100% - 54px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
  .k5-header.is-menu-open .k5-mobile-nav-backdrop { display: block; }
  .k5-primary-nav.is-expanded {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1290;
    width: min(88vw, 360px);
    height: 100dvh;
    margin: 0;
    overflow: auto;
    background: #fff;
    box-shadow: 14px 0 40px rgba(0, 0, 0, .24);
    animation: k5SlideIn .2s ease both;
  }
  .k5-primary-nav.is-expanded .k5-mobile-nav-head { display: flex; }
  .k5-primary-nav.is-expanded .k5-nav-menu {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    background: #fff;
  }
  .k5-primary-nav.is-expanded .k5-nav-menu > li { display: block; border-bottom: 1px solid var(--k5-line); }
  .k5-primary-nav.is-expanded .k5-nav-menu > li > a,
  .k5-primary-nav.is-expanded .k5-nav-menu > li.k5-nav-odds > a,
  .k5-primary-nav.is-expanded .k5-nav-menu > li.k5-nav-live > a {
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 16px;
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    clip-path: none;
    background: #fff;
    color: #222;
    box-shadow: none;
    font-size: 14px;
  }
  .k5-primary-nav.is-expanded .k5-nav-menu > li > a:hover,
  .k5-primary-nav.is-expanded .k5-nav-menu > li.current-menu-item > a,
  .k5-primary-nav.is-expanded .k5-nav-menu > li.current-menu-ancestor > a { color: var(--k5-red) !important; background: #fff4f5 !important; }
  .k5-primary-nav.is-expanded .k5-nav-menu .sub-menu {
    position: static;
    display: block !important;
    min-width: 0;
    padding: 0 0 6px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fafafa;
  }
  .k5-primary-nav.is-expanded .k5-nav-menu .sub-menu a { padding: 9px 16px; font-size: 13px; }

  .k5-leaguebar-shell { display: none; }
  .k5-announcement-shell { padding-top: 8px; padding-bottom: 8px; }
  .k5-announcement { min-height: 46px; padding: 8px 11px; gap: 7px; font-size: 12px; border-radius: 4px; }
  .k5-announcement__close { width: 28px; height: 28px; font-size: 23px; }
  .k5-featuredbar__inner,
  .k5-hotbar__inner { width: 100%; min-height: 34px; padding-inline: 10px; }
  .k5-featured-menu,
  .k5-hot-menu { overflow: visible; }
  .k5-featured-menu a,
  .k5-hot-menu a { padding: 5px 9px; font-size: 11px; }

  .k5-layout-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .k5-sidebar-column { position: static !important; top: auto !important; }
  .k5-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body.k5-pro.k5-has-mobile-bottom-nav { padding-bottom: 52px; }
  .k5-header-wide { width: calc(100% - 20px); }
  .k5-container { width: calc(100% - 22px); }
  .k5-page-shell,
  .k5-archive-shell { padding: 14px 0 24px; }
  .k5-home-header h1,
  .k5-article-header h1,
  .k5-page-heading h1,
  .k5-archive-header h1 { font-size: 25px; line-height: 1.28; }
  .k5-article-header { margin-bottom: 12px; padding-bottom: 11px; }
  .k5-article-meta { font-size: 11px; }
  .k5-entry-content { font-size: 15px; }
  .k5-entry-content h2 { margin-top: 24px; font-size: 21px; }
  .k5-entry-content h3 { font-size: 18px; }
  .k5-entry-content table { display: block; overflow-x: auto; white-space: nowrap; }

  .k5-bookmaker-rail { margin: 14px -1px 20px; padding: 10px; }
  .k5-bookmaker-card { flex-basis: 112px; min-width: 112px; }
  .k5-bookmaker-intro { flex-basis: 104px; }

  .k5-archive-header { display: block; padding: 15px 14px; }
  .k5-archive-header__aside { display: none; }
  .k5-category-feature { grid-template-columns: 1fr; }
  .k5-category-feature__media { min-height: 210px; }
  .k5-category-feature__content { padding: 17px; }
  .k5-post-grid,
  .k5-related-grid { grid-template-columns: 1fr; }
  .k5-post-card,
  .k5-related-grid .k5-post-card { grid-template-columns: 118px minmax(0, 1fr); }
  .k5-post-card__media,
  .k5-related-grid .k5-post-card__media { min-height: 105px; }
  .k5-post-card__body { padding: 10px; }
  .k5-post-card__title { font-size: 13px; }
  .k5-post-card__body p { display: none; }

  .k5-author-box { padding: 14px; }
  .k5-author-box__avatar { width: 58px; flex-basis: 58px; }
  .k5-author-box h2 { font-size: 16px; }
  .k5-footer-main { padding: 28px 0 20px; }
  .k5-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .k5-footer-bottom__inner { min-height: 62px; flex-direction: column; justify-content: center; gap: 3px; text-align: center; }
  .k5-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: block;
    border-top: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, .1);
  }
  .k5-mobile-bottom-menu a,
  .k5-mobile-bottom-menu button { min-height: 52px; }
}

@media (max-width: 390px) {
  .k5-header-main__inner { padding-inline: 0; }
  .k5-menu-toggle { width: 36px; }
  .k5-gift-button { width: 38px; height: 38px; }
  .k5-nav-menu > li > a,
  .k5-nav-menu > li.k5-nav-odds > a,
  .k5-nav-menu > li.k5-nav-live > a { padding-inline: 12px; font-size: 12px; }
  .k5-announcement-shell { padding-top: 7px; }
  .k5-announcement { font-size: 11px; }
  .k5-entry-content { font-size: 14px; }
  .k5-post-card,
  .k5-related-grid .k5-post-card { grid-template-columns: 104px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .k5-hotbar.is-marquee .k5-hot-track.is-ready,
  .k5-primary-nav.is-expanded { animation: none !important; }
  .k5-nav-menu > li > a,
  .k5-gift-button { transition: none !important; }
}

@media print {
  .k5-header,
  .k5-sidebar-column,
  .k5-mobile-bottom-nav,
  .k5-footer,
  .k5-share-row,
  .k5-related-section { display: none !important; }
  .k5-layout-grid { display: block !important; }
  body.k5-pro { background: #fff; color: #000; }
}
