/*
Theme Name: CAKEOTV 08 Cobalt Blue Champions Child
Template: generatepress
Version: 1.0
*/
:root {
  --ck-pri: #3B82F6;
  --ck-pri-d: #1D4ED8;
  --ck-pri-l: #60A5FA;
  --ck-bg: #0C121E;
  --ck-card: #151F33;
  --ck-surf: #1C2942;
  --ck-btn-txt: #FFFFFF;
}
html, body { background-color: var(--ck-bg) !important; color: #e5e7eb !important; font-family: 'Be Vietnam Pro', 'Roboto', sans-serif !important; overflow-x: clip !important; margin: 0; padding: 0; }
#page, .site-content { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.site-header, .main-navigation, #masthead, .site-footer { display: none !important; }
.ck-container { max-width: 1280px; margin: 0 auto; padding: 0 14px; box-sizing: border-box; }

/* STICKY DARK SPORTS HEADER MATCHING xoilacxza.tv 100% */
.ck-nav { position: sticky; top: 0; z-index: 999; background: linear-gradient(180deg, #0c0c18 0%, #0a0a14 100%); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.ck-nav-in { max-width: 1280px; margin: 0 auto; padding: 0 14px; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-sizing: border-box; }
.ck-logo img { height: 48px; width: auto; display: block; }
.ck-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.ck-menu li a { color: #e5e7eb !important; font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.ck-menu li a:hover, .ck-menu li.active a { color: var(--ck-pri) !important; border-bottom-color: var(--ck-pri); }
.ck-cta-btn { background: linear-gradient(98deg, var(--ck-pri-l) 0%, var(--ck-pri) 50%, var(--ck-pri-d) 100%); color: var(--ck-btn-txt) !important; font-size: 14px; font-weight: 800; padding: 10px 18px; border-radius: 6px; text-decoration: none; text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .18s, filter .18s; }
.ck-cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* HERO H1 & LIVE MATCH MODULE */
.ck-main { padding: 20px 0 48px; }
.ck-h1 { font-size: 24px; font-weight: 800; color: #ffffff; text-transform: uppercase; margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--ck-pri); line-height: 1.35; }
.ck-hero-banner { margin: 0 0 18px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.ck-hero-banner { max-width: 860px; margin: 0 auto 20px; }
.ck-hero-banner img { width: 100%; height: auto; display: block; }
.ck-live-shell { background: var(--ck-card); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin-bottom: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.ck-live-bar { background: linear-gradient(90deg, rgba(255,255,255,.06), transparent); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13.5px; font-weight: 700; color: var(--ck-pri); }
.ck-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; margin-right: 8px; box-shadow: 0 0 10px #ef4444; }

/* 4-COL ARTICLE GRIDS MATCHING xoilacxza.tv */
.ck-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 16px; }
.ck-sec-title { font-size: 20px; font-weight: 800; color: #ffffff; text-transform: uppercase; margin: 0; padding-left: 12px; border-left: 4px solid var(--ck-pri); }
.ck-sec-more { color: var(--ck-pri-l); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ck-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.ck-card { display: flex; flex-direction: column; text-decoration: none; background: var(--ck-card); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; transition: transform .2s, border-color .2s; }
.ck-card:hover { transform: translateY(-4px); border-color: var(--ck-pri); }
.ck-card-th { position: relative; overflow: hidden; }
.ck-card-th img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ck-pill { position: absolute; top: 10px; right: 10px; background: var(--ck-pri); color: var(--ck-btn-txt); font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.ck-card-bd { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.ck-card-bd h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #ffffff; line-height: 1.42; }
.ck-card-bd p { margin: 0 0 12px; font-size: 13px; color: #9ca3af; line-height: 1.55; flex: 1; }
.ck-card-rd { color: var(--ck-pri); font-size: 13px; font-weight: 700; }

/* 2-COLUMN LỜI GIỚI THIỆU (STICKY TOC LEFT + PROSE RIGHT) MATCHING xoilacxza.tv */
.ck-seo-box { background: #1A1B1F; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 20px; margin-top: 32px; }
.ck-seo-lbl { font-size: 16px; font-weight: 800; color: var(--ck-pri); text-transform: uppercase; margin: 0 0 16px; letter-spacing: .5px; }
.ck-seo-flex { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
#toc_container { background: var(--ck-card); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px 16px; position: sticky; top: 96px; max-height: 760px; overflow-y: auto; }
.ck-toc-title { font-size: 14px; font-weight: 800; color: var(--ck-pri); text-transform: uppercase; margin-bottom: 10px; }
.ck-toc-ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ck-toc-ul li a { display: block; font-size: 13.5px; color: #d1d5db; text-decoration: none; padding: 6px 8px; border-radius: 6px; line-height: 1.4; }
.ck-toc-ul li a::before { content: '› '; color: var(--ck-pri); font-weight: 900; }
.ck-toc-ul li a:hover { background: rgba(255,255,255,.06); color: var(--ck-pri); }

.match-content-article { background: var(--ck-surf); border-radius: 10px; padding: 22px 26px; }
.match-content-article h2 { color: #ffffff; font-size: 22px; font-weight: 800; margin: 28px 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.match-content-article h3 { color: var(--ck-pri-l); font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.match-content-article p, .match-content-article li { font-size: 15.5px; line-height: 1.8; color: #e5e7eb; }
.match-content-article p { margin: 0 0 14px; }
.match-content-article ul, .match-content-article ol { margin: 0 0 16px 22px; }
.match-content-article a { color: var(--ck-pri-l); font-weight: 700; text-decoration: underline; }
.match-content-article table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14px; }
.match-content-article th { background: rgba(255,255,255,.08); color: var(--ck-pri); padding: 10px 12px; text-align: left; border: 1px solid rgba(255,255,255,.12); }
.match-content-article td { border: 1px solid rgba(255,255,255,.1); padding: 9px 12px; color: #e5e7eb; }
.match-content-article figure, .ck-fig { margin: 18px auto 22px !important; text-align: center !important; max-width: 800px !important; width: 100% !important; display: block !important; }
.match-content-article figure img, .ck-fig img { margin: 0 auto !important; display: block !important; max-width: 100% !important; height: auto !important; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.match-content-article figcaption, .ck-fig figcaption { text-align: center !important; font-size: 13px; color: #9ca3af; margin-top: 6px; font-style: italic; }
.cta-box { background: rgba(255,255,255,.05); border: 1px solid var(--ck-pri); border-radius: 12px; padding: 18px 22px; margin: 22px 0; text-align: center; }
.cta-box a { display: inline-block; margin-top: 10px; background: var(--ck-pri); color: var(--ck-btn-txt) !important; font-weight: 800; padding: 10px 26px; border-radius: 8px; text-decoration: none; }

/* SINGLE POST 10-COL GRID (7 MAIN + 3 SIDEBAR) */
.ck-bc { font-size: 13px; color: #9ca3af; margin-bottom: 14px; }
.ck-bc a { color: var(--ck-pri-l); text-decoration: none; font-weight: 600; }
.ck-post-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 24px; align-items: start; }
.ck-sb-card { background: var(--ck-card); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.ck-sb-cta { text-align: center; border-color: var(--ck-pri); }
.ck-sb-list { display: flex; flex-direction: column; gap: 12px; }
.ck-sb-item { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.ck-sb-item img { width: 76px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ck-sb-item span { font-size: 13.5px; font-weight: 600; color: #e5e7eb; line-height: 1.38; }
.ck-sb-item:hover span { color: var(--ck-pri); }

/* CENTERED FOOTER MATCHING xoilacxza.tv */
.ck-footer { background: #0c0d12; border-top: 1px solid #303030; padding: 36px 14px 86px; text-align: center; color: #afb4ba; }
.ck-ft-in { max-width: 1060px; margin: 0 auto; }
.ck-ft-intro { font-size: 14px; line-height: 1.7; max-width: 820px; margin: 0 auto 20px; }
.ck-ft-menu { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.ck-ft-menu a { color: #e5e7eb; font-size: 14px; font-weight: 600; text-decoration: none; }
.ck-ft-menu a:hover { color: var(--ck-pri); }
.ck-ft-meta { font-size: 13px; line-height: 1.8; color: #9ca3af; margin-bottom: 18px; }
.ck-ft-copy { border-top: 1px solid #303030; padding-top: 16px; font-size: 13px; color: #9ca3af; }

/* STICKY BOTTOM GIF & POPUP */
#b88-sticky { position: fixed; left: 0; right: 0; bottom: 8px; z-index: 9998; display: flex; justify-content: center; pointer-events: none; }
.b88-st-box { position: relative; display: flex; gap: 8px; pointer-events: auto; max-width: 96vw; }
.b88-st-box a img { height: 64px; width: auto; border-radius: 6px; display: block; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.b88-st-close { position: absolute; top: -12px; right: -8px; background: var(--ck-pri); color: var(--ck-btn-txt); border: none; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; cursor: pointer; }
#b88-pop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 99999; align-items: center; justify-content: center; padding: 16px; }
.b88-pop-in { position: relative; max-width: 460px; width: 100%; }
.b88-pop-in img { width: 100%; height: auto; border-radius: 10px; display: block; }
.b88-pop-close { position: absolute; top: -12px; right: -10px; background: var(--ck-pri); color: var(--ck-btn-txt); border: none; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; cursor: pointer; }

@media (max-width: 1024px) {
  .ck-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ck-seo-flex, .ck-post-grid { grid-template-columns: 1fr; }
  #toc_container { position: static; max-height: none; }
}
@media (max-width: 768px) {
  .ck-nav-in { height: auto; padding: 8px 10px; flex-wrap: wrap; gap: 8px; }
  .ck-logo img { height: 34px; }
  .ck-cta-btn { padding: 6px 12px; font-size: 11.5px; }
  .ck-menu { width: 100%; order: 3; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 14px; padding-bottom: 4px; }
  .ck-menu::-webkit-scrollbar { display: none; }
  .ck-menu li a { font-size: 13px; padding: 6px 0; }
  .ck-h1 { font-size: 18px; }
  .ck-grid-4 { grid-template-columns: 1fr; }
  .match-content-article { padding: 14px 12px; }
  .match-content-article table { display: block !important; width: 100% !important; max-width: calc(100vw - 44px) !important; overflow-x: auto !important; }
  .b88-st-box a:nth-of-type(2) { display: none !important; }
  .b88-st-box a img { height: auto; max-width: 94vw; }
}

/* CENTER ALIGNMENT FIX (OVERRIDE GENERATEPRESS FLEX/GRID CONTAINER) */
#page, .site, .site-content, .content-area, .site-main { display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; padding: 0 !important; float: none !important; }
.ck-nav-in, .ck-container, .ck-ft-in { width: 100% !important; max-width: 1280px !important; margin-left: auto !important; margin-right: auto !important; float: none !important; }
.ck-main { width: 100% !important; display: block !important; }
.ck-live-shell { width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
.ck-live-shell iframe { width: 100% !important; margin: 0 auto !important; display: block !important; }
