/*
Theme Name: Koora TV Live SEO Arabic
Author: Koora TV Live
Description: Arabic RTL football theme, SEO-ready and Elementor-friendly.
Version: 10.6.0
Text Domain: koora-tv-live
*/
:root{--bg:#0b1016;--card:#121a23;--card2:#18232e;--text:#f7f9fb;--muted:#9ba9b7;--green:#21c875;--red:#ff5262;--border:#263543;--radius:14px}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.ktl-wrap{width:min(1180px,92%);margin:auto}
.ktl-header{position:sticky;top:0;z-index:999;background:rgba(11,16,22,.97);border-bottom:1px solid var(--border)}.ktl-head{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ktl-brand{font-size:25px;font-weight:900;white-space:nowrap}.ktl-brand em{font-style:normal;color:var(--green)}.ktl-nav{display:flex;gap:5px;flex-wrap:wrap}.ktl-nav a{padding:8px 12px;border-radius:9px;color:#dfe6ec}.ktl-nav a:hover,.ktl-nav .current-menu-item>a{background:var(--green);color:#06140c}
.ktl-hero{padding:46px 0 28px;text-align:center;background:radial-gradient(circle at 50% 0,#153b27 0,transparent 42%)}.ktl-hero h1{font-size:38px;margin:0 0 8px}.ktl-hero p{color:var(--muted);margin:0}.ktl-tabs{display:flex;justify-content:center;gap:8px;margin-top:20px;flex-wrap:wrap}.ktl-tab{background:var(--card);border:1px solid var(--border);padding:9px 18px;border-radius:9px}.ktl-tab.active{background:var(--green);color:#06140c;font-weight:800}
.ktl-section{margin:30px 0}.ktl-title{display:flex;justify-content:space-between;align-items:center;border-right:4px solid var(--green);padding-right:12px;margin-bottom:14px}.ktl-title h2{font-size:21px;margin:0}.ktl-live{color:var(--red);font-size:12px;font-weight:800}.ktl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.ktl-match{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.ktl-league{background:var(--card2);padding:8px 12px;color:#b9c5cf;font-size:12px;display:flex;justify-content:space-between}.ktl-matchbody{text-align:center;padding:18px 12px}.ktl-teams{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:5px}.ktl-team{font-size:14px;font-weight:800}.ktl-badge{width:46px;height:46px;border-radius:50%;background:#222e39;display:flex;align-items:center;justify-content:center;margin:0 auto 5px}.ktl-score{font-size:25px;font-weight:900}.ktl-time{font-size:11px;color:var(--muted)}.ktl-watch{display:inline-block;margin-top:15px;background:var(--green);color:#06140c;padding:8px 18px;border-radius:8px;font-weight:800;font-size:13px}
.ktl-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.ktl-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px;text-align:center}.ktl-card h3{margin:3px 0;font-size:16px}.ktl-card p{margin:0;color:var(--muted);font-size:12px}.ktl-news{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.ktl-news article{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.ktl-news h3{margin:0 0 5px;font-size:16px}.ktl-news p{margin:0;color:var(--muted);font-size:13px}.ktl-content{padding:36px 0}.ktl-entry{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:25px}.ktl-page-title{font-size:30px;margin:0 0 20px}.ktl-footer{margin-top:50px;padding:28px 0;border-top:1px solid var(--border);text-align:center;color:var(--muted);font-size:13px}
@media(max-width:900px){.ktl-grid{grid-template-columns:repeat(2,1fr)}.ktl-cards{grid-template-columns:repeat(2,1fr)}.ktl-news{grid-template-columns:1fr 1fr}.ktl-head{padding:10px 0;align-items:flex-start;flex-direction:column}.ktl-nav{width:100%;overflow:auto;flex-wrap:nowrap}.ktl-nav a{white-space:nowrap}}
@media(max-width:600px){.ktl-grid,.ktl-cards,.ktl-news{grid-template-columns:1fr}.ktl-hero h1{font-size:28px}.ktl-wrap{width:94%}}

/* v6 homepage visual system */
body{background:#eef0f4;color:#15191e;font-family:Tahoma,Arial,sans-serif}
.ktl-header{position:relative;background:#fff;border-bottom:1px solid #d7dbe0;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.ktl-head{min-height:105px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.ktl-brand{grid-column:3;justify-self:end;background:#a94105;color:#fff;padding:8px 34px 10px;border-radius:0 0 12px 12px;font-size:27px;line-height:1.1;text-align:center;min-width:250px}
.ktl-brand em{display:block;color:#fff;font-size:21px}
.ktl-nav{grid-column:2;justify-self:center;gap:22px}
.ktl-nav ul{display:flex;align-items:center;justify-content:center;gap:22px;list-style:none;margin:0;padding:0}
.ktl-nav li{margin:0;padding:0;list-style:none}
.ktl-nav a{color:#16191d;padding:8px 3px;border-radius:0;font-size:18px;display:block;white-space:nowrap}
.ktl-nav a:hover,.ktl-nav .current-menu-item>a{background:none;color:#a94105}
.ktl-social{grid-column:1;display:flex;gap:8px;direction:ltr;justify-self:start}
.ktl-social a{width:44px;height:44px;border-radius:9px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:900}
.ktl-social .moon{background:#263543}.ktl-social .video{background:#ef3d32}.ktl-social .fb{background:#3e67aa}.ktl-social .tw{background:#4ca4d8}
.ktl-home-shell{width:min(1290px,94%);margin:20px auto 50px;background:#f5f6f8;border:1px solid #d7dbe0;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.08);padding:14px 16px 24px}
.ktl-home-top{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #d8dce1;padding-bottom:12px;margin-bottom:14px}
.ktl-home-title{background:#a94105;color:#fff;padding:9px 16px;border-radius:11px;font-size:18px;font-weight:800}
.ktl-day-tabs{display:flex;gap:7px;direction:rtl}
.ktl-day-tabs a{background:#b85808;color:#fff;border-radius:10px;padding:8px 16px;font-weight:700}
.ktl-day-tabs a.active{background:#135493}
.ktl-ref-match{background:#e8ebf0;border-radius:11px;margin:12px 0;overflow:hidden;transition:.15s;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ktl-ref-match.live{background:#6b6c6e;color:#111}
.ktl-ref-main{min-height:112px;display:grid;grid-template-columns:1fr 190px 1fr;align-items:center;text-align:center;direction:ltr}
.ktl-ref-team{display:flex;align-items:center;justify-content:center;gap:24px;font-size:18px;font-weight:700;direction:rtl}
.ktl-ref-flag{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #c9cdd2;font-size:39px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.ktl-ref-center{direction:rtl}
.ktl-ref-time{font-size:19px;margin-bottom:7px}
.ktl-ref-play{display:inline-flex;align-items:center;justify-content:center;background:#263746;color:#fff;border-radius:9px;padding:7px 18px;font-size:13px;font-weight:800}
.ktl-ref-play.livebtn{background:#bd4b08}
.ktl-ref-play .playicon{margin-right:6px}
.ktl-ref-meta{display:grid;grid-template-columns:1fr 1fr 1fr;background:rgba(255,255,255,.28);border-top:1px solid rgba(0,0,0,.06);min-height:42px;align-items:center;text-align:center;font-size:14px;direction:rtl}
.ktl-ref-meta span{padding:7px 8px}
.ktl-ref-meta .channel{direction:ltr}
.ktl-ref-match.live .ktl-ref-meta{background:rgba(255,255,255,.16)}
.ktl-footer{background:#fff}
@media(max-width:800px){
 .ktl-head{display:flex;flex-direction:column;padding:12px 0;gap:10px}
 .ktl-brand{order:1;min-width:210px}.ktl-nav{order:2;width:100%;justify-content:center;overflow:auto;flex-wrap:nowrap}.ktl-nav ul{flex-wrap:nowrap;min-width:max-content}.ktl-social{order:3}
 .ktl-home-top{flex-direction:column;align-items:stretch}.ktl-day-tabs{justify-content:center}
 .ktl-ref-main{grid-template-columns:1fr 120px 1fr;min-height:105px}.ktl-ref-team{font-size:14px;gap:8px}.ktl-ref-flag{width:50px;height:50px;font-size:29px}.ktl-ref-time{font-size:15px}
}
@media(max-width:560px){
 .ktl-home-shell{width:96%;padding:10px}.ktl-ref-main{grid-template-columns:1fr 84px 1fr}.ktl-ref-team{flex-direction:column;gap:4px}.ktl-ref-flag{width:45px;height:45px;font-size:25px}.ktl-ref-meta{font-size:11px}
}

/* v7 match article / news-style page */
.ktl-match-article{max-width:1050px;margin:28px auto 55px;background:#fff;border:1px solid #dfe2e6;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.ktl-article-head{padding:28px 32px;background:#f7f8fa;border-bottom:1px solid #e1e4e8;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.ktl-article-kicker{color:#a94105;font-weight:800;margin-bottom:8px}
.ktl-article-head h1{font-size:30px;margin:0 0 10px}
.ktl-article-head p{margin:0;color:#606873;line-height:1.9}
.ktl-article-matchbox{background:#eef0f4;padding:30px 22px;display:grid;grid-template-columns:1fr 180px 1fr;align-items:center;text-align:center;gap:10px}
.ktl-article-team{display:flex;align-items:center;justify-content:center;gap:16px;font-size:20px}
.ktl-article-ball{width:68px;height:68px;border-radius:50%;background:#fff;border:1px solid #d2d6dc;display:flex;align-items:center;justify-content:center;font-size:36px}
.ktl-article-time{font-size:18px}.ktl-article-score{font-size:30px;font-weight:900;margin:4px 0}.ktl-article-status{font-size:13px;color:#6b737d}
.ktl-article-info{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e1e4e8}
.ktl-article-info div{padding:17px;text-align:center;border-left:1px solid #e1e4e8}.ktl-article-info div:last-child{border-left:0}
.ktl-article-info b,.ktl-article-info span{display:block}.ktl-article-info span{margin-top:6px;color:#68717b}
.ktl-article-body{padding:30px 34px;line-height:2}
.ktl-article-body h2{font-size:22px;margin:0 0 10px;color:#222}
.ktl-big-watch{display:inline-block;margin:12px 0 18px;font-size:17px;padding:12px 28px}
.ktl-no-stream{background:#fff4ed;color:#8b3c0b;border:1px solid #f0c8ac;padding:14px;border-radius:9px}
.ktl-article-note{background:#f7f8fa;color:#6d747d;padding:14px 30px;font-size:13px;border-top:1px solid #e2e5e9}
@media(max-width:700px){
 .ktl-article-head{padding:20px;flex-direction:column}.ktl-article-head h1{font-size:24px}
 .ktl-article-matchbox{grid-template-columns:1fr 100px 1fr;padding:20px 8px}.ktl-article-team{flex-direction:column;font-size:14px;gap:7px}.ktl-article-ball{width:52px;height:52px;font-size:27px}
 .ktl-article-info{grid-template-columns:1fr}.ktl-article-info div{border-left:0;border-bottom:1px solid #e1e4e8}.ktl-article-body{padding:22px 18px}
}

/* v8 legal pages + ad slots */
.ktl-legal-page{max-width:950px;margin:28px auto 55px;background:#fff;border:1px solid #e0e3e7;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.05);padding-bottom:30px}
.ktl-legal-page>h2,.ktl-legal-page>p{margin-left:34px;margin-right:34px}
.ktl-legal-page>h2{margin-top:28px;color:#222}.ktl-legal-page>p{line-height:2;color:#555}
.ktl-legal-hero{background:#f7f8fa;border-bottom:1px solid #e0e3e7;padding:30px 34px}
.ktl-legal-hero span{color:#a94105;font-weight:800}.ktl-legal-hero h1{font-size:30px;margin:8px 0}.ktl-legal-hero p{margin:0;color:#68717b}
.ktl-contact-placeholder{margin:20px 34px;padding:15px;background:#f2f4f6;border-radius:9px;direction:ltr;text-align:left}
.ktl-legal-note{font-size:13px!important;color:#8b3c0b!important}
.ktl-ad-slot{margin:18px auto;padding:8px;min-height:90px;max-width:970px;text-align:center;display:flex;align-items:center;justify-content:center}
.ktl-ad-slot:empty{display:none}
@media(max-width:600px){.ktl-legal-page>h2,.ktl-legal-page>p{margin-left:20px;margin-right:20px}.ktl-legal-hero{padding:22px 20px}.ktl-contact-placeholder{margin:20px}}


.ktl-legal-footer{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;padding:20px;border-top:1px solid #e2e5e9;background:#fff}
.ktl-legal-footer a{color:#555;text-decoration:none}.ktl-legal-footer a:hover{color:#a94105}

/* API-Football team logos: preserve existing layout */
.ktl-ref-flag img,.ktl-badge img,.ktl-article-ball img{width:100%;height:100%;object-fit:contain;display:block}.ktl-ref-flag img{border-radius:50%}

/* v10 content typography fix: posts/pages use the same light visual system */
body.page, body.single-post, body.single, body.archive, body.blog, body.search, body.single-ktl_match, body.single-ktl_league,
body.page-template-default, body.page-template-page-about, body.page-template-page-contact, body.page-template-page-privacy, body.page-template-page-terms,
body.page-template-page-news, body.page-template-page-live, body.page-template-page-matches, body.page-template-page-leagues, body.page-template-page-match {
    background:#eef0f4;
    color:#15191e;
    font-family:Tahoma,Arial,sans-serif;
}

.ktl-entry,
.ktl-entry .entry-content,
.ktl-entry .wp-block-post-content {
    color:#15191e;
    font-family:Tahoma,Arial,sans-serif;
}

.ktl-entry h1,
.ktl-entry h2,
.ktl-entry h3,
.ktl-entry h4,
.ktl-entry h5,
.ktl-entry h6 {
    color:#15191e;
    font-family:Tahoma,Arial,sans-serif;
    font-weight:800;
    line-height:1.45;
    margin:1.1em 0 .55em;
}
.ktl-entry h1{font-size:32px}
.ktl-entry h2{font-size:27px}
.ktl-entry h3{font-size:23px}
.ktl-entry h4{font-size:20px}
.ktl-entry h5{font-size:18px}
.ktl-entry h6{font-size:16px}
.ktl-entry > h1:first-child,
.ktl-entry > h2:first-child,
.ktl-entry > h3:first-child{margin-top:0}

.ktl-entry p{margin:0 0 1em;line-height:2;color:#3f474f}
.ktl-entry a{color:#a94105;text-decoration:underline;text-underline-offset:2px}
.ktl-entry a:hover{color:#135493}
.ktl-entry ul,.ktl-entry ol{margin:0 0 1.2em;padding-right:28px;line-height:2;color:#3f474f}
.ktl-entry blockquote{margin:1.2em 0;padding:12px 18px;border-right:4px solid #a94105;background:#f7f8fa;color:#555d66}
.ktl-entry hr{border:0;border-top:1px solid #dfe2e6;margin:24px 0}
.ktl-entry img{display:block;margin:12px auto}
.ktl-entry table{width:100%;border-collapse:collapse;margin:18px 0;background:#fff}
.ktl-entry th,.ktl-entry td{border:1px solid #dfe2e6;padding:9px;text-align:right}
.ktl-entry th{background:#f3f5f7;font-weight:800}

.ktl-page-title{color:#15191e!important;font-family:Tahoma,Arial,sans-serif;font-weight:900;line-height:1.45}

/* Keep WordPress block/editor content readable on the frontend. */
.ktl-entry .wp-block-heading{color:#15191e;font-family:Tahoma,Arial,sans-serif}
.ktl-entry .wp-block-paragraph{color:#3f474f}

@media(max-width:600px){
    .ktl-entry h1{font-size:27px}.ktl-entry h2{font-size:23px}.ktl-entry h3{font-size:20px}.ktl-entry h4{font-size:18px}.ktl-entry h5{font-size:17px}.ktl-entry h6{font-size:16px}
}

/* Elementor pages inherit the existing content typography; no frontend layout changes are required. */
.ktl-elementor-page{width:100%}

/* News page background fix: keep the same light background as the other main pages. */
html body.page-template-page-news,
html body.page-template-page-news .ktl-content,
html body.page-template-page-news .ktl-wrap {
    background:#eef0f4 !important;
    color:#15191e !important;
}
html body.page-template-page-news .ktl-entry {
    background:#fff !important;
    color:#15191e !important;
}

/* v11 global light page background fix
 * Keeps every post/page/Elementor canvas on the same light background.
 * Content cards remain independently styled by their existing classes.
 */
html, body {
    background:#eef0f4 !important;
    color:#15191e;
}
body.elementor-page,
body.elementor-page.elementor-default,
body.elementor-kit-1,
body.single-post,
body.single,
body.archive,
body.blog,
body.search,
body.page,
body.page-template-default,
body[class*="page-template"],
body[class*="single-"] {
    background:#eef0f4 !important;
    color:#15191e !important;
}
.ktl-content,
.ktl-content.ktl-elementor-page,
.ktl-elementor-page,
body.elementor-page .ktl-content {
    background:#eef0f4 !important;
    color:#15191e !important;
}
/* Elementor's page canvas should not introduce a dark full-page background. */
body.elementor-page .elementor,
body.elementor-page .elementor-element-populated,
body.elementor-page .elementor-section-wrap,
body.elementor-page .elementor-inner,
body.elementor-page .elementor-container {
    background-color:transparent !important;
}
/* Gutenberg/WordPress block canvas */
.wp-site-blocks,
.entry-content,
.wp-block-post-content {
    background:transparent !important;
}

/* v8: keep the four primary header links horizontal on desktop and mobile */
.ktl-head{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:24px !important;min-height:105px !important;direction:ltr !important}
.ktl-brand{order:1 !important;flex:0 0 auto !important;grid-column:auto !important;justify-self:auto !important}
.ktl-nav{order:2 !important;flex:1 1 auto !important;display:flex !important;align-items:center !important;justify-content:center !important;width:auto !important;grid-column:auto !important;justify-self:auto !important;gap:0 !important;overflow:visible !important;flex-wrap:nowrap !important}
.ktl-nav ul{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:center !important;gap:22px !important;list-style:none !important;margin:0 !important;padding:0 !important;white-space:nowrap !important}
.ktl-nav li{display:block !important;list-style:none !important;margin:0 !important;padding:0 !important}
.ktl-nav a{display:block !important;white-space:nowrap !important}
.ktl-social{order:3 !important;flex:0 0 auto !important;grid-column:auto !important;justify-self:auto !important}
@media(max-width:800px){
 .ktl-head{flex-direction:row !important;align-items:center !important;overflow:hidden !important;padding:10px 0 !important;gap:10px !important}
 .ktl-brand{order:1 !important;min-width:150px !important;font-size:21px !important}
 .ktl-nav{order:2 !important;flex:1 1 auto !important;justify-content:flex-start !important;overflow-x:auto !important;overflow-y:hidden !important;min-width:0 !important}
 .ktl-nav ul{flex-wrap:nowrap !important;min-width:max-content !important;gap:16px !important}
 .ktl-social{order:3 !important;display:none !important}
}

/* v12: definitive light background for WordPress blog posts and single-post templates.
   Match cards keep their existing visual styles; only the page/post canvas is light. */
body.single-post,
body.single-post #page,
body.single-post .site,
body.single-post .site-main,
body.single-post .content-area,
body.single-post main,
body.single-post .ktl-content,
body.single-post .ktl-wrap {
    background:#eef0f4 !important;
    color:#15191e !important;
}
body.single-post article.ktl-entry,
body.single-post .entry-content,
body.single-post .wp-block-post-content,
body.single-post .post-content {
    background:#fff !important;
    color:#15191e !important;
}
body.single-post article.ktl-entry *:not(img):not(video):not(iframe) {
    border-color:#dfe2e6;
}
body.single-post article.ktl-entry p,
body.single-post article.ktl-entry li,
body.single-post article.ktl-entry span,
body.single-post article.ktl-entry div {
    color:inherit;
}

/* Same protection for ordinary WordPress pages and archives. */
body.page,
body.archive,
body.blog,
body.search {
    background:#eef0f4 !important;
}

/* FINAL v4 — content canvas cleanup + cache-safe frontend styles.
   Keep the existing match/news card design intact; only the page/post canvas is light. */
html, body { background-color:#eef0f4 !important; color:#15191e !important; }
body.single-post, body.blog, body.archive, body.search, body.page, body.single-ktl_match,
body.page-template-default, body[class*="page-template"], body[class*="single-"] {
  background-color:#eef0f4 !important;
  color:#15191e !important;
}
body.single-post #page,
body.single-post .site,
body.single-post .site-main,
body.single-post main,
body.single-post .content-area,
body.single-post .ktl-content,
body.blog #page, body.blog .site, body.blog .site-main,
body.archive #page, body.archive .site, body.archive .site-main,
body.page #page, body.page .site, body.page .site-main,
body.page .ktl-content {
  background-color:#eef0f4 !important;
  color:#15191e !important;
}
body.single-post .ktl-wrap,
body.blog .ktl-wrap,
body.archive .ktl-wrap,
body.page .ktl-wrap { background-color:transparent !important; }
body.single-post article.ktl-entry,
body.blog article.ktl-entry,
body.archive article.ktl-entry,
body.page article.ktl-entry,
body.single-post .entry-content,
body.single-post .post-content,
body.single-post .wp-block-post-content {
  background-color:#fff !important;
  color:#15191e !important;
}
/* Common editor blocks must not inherit an old dark canvas. */
body.single-post .wp-block-group,
body.single-post .wp-block-columns,
body.single-post .wp-block-column,
body.single-post .wp-block-cover,
body.single-post .wp-block-media-text,
body.single-post .wp-block-separator,
body.page .wp-block-group,
body.page .wp-block-columns,
body.page .wp-block-column,
body.page .wp-block-media-text {
  color:#15191e;
}
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6 { color:#15191e; }
/* Header menu is always one horizontal row. */
.ktl-nav, .ktl-nav ul { display:flex !important; flex-direction:row !important; align-items:center !important; }
.ktl-nav { flex-wrap:nowrap !important; }
.ktl-nav ul { list-style:none !important; margin:0 !important; padding:0 !important; gap:22px !important; white-space:nowrap !important; }
.ktl-nav li { list-style:none !important; margin:0 !important; padding:0 !important; }
.ktl-nav a { display:block !important; white-space:nowrap !important; }
@media(max-width:800px){
  .ktl-nav { overflow-x:auto !important; overflow-y:hidden !important; min-width:0 !important; }
  .ktl-nav ul { min-width:max-content !important; }
}

/* v5 FINAL — Astra-style content safety without changing the Koora interface.
   All newly-created WordPress pages/posts start with a light canvas. Existing
   match/news cards retain their own styling through their specific classes. */
html, body {
    background: #eef0f4 !important;
    color: #15191e !important;
}
body::before, body::after { background: transparent !important; }

/* WordPress content containers */
body > #page,
body > .site,
.site-main,
#primary,
#content,
main,
.ktl-content,
.ktl-wrap {
    background-color: #eef0f4 !important;
    color: #15191e !important;
}

/* Default pages/posts: white reading surface, light outer canvas. */
article.ktl-entry,
body.single-post article,
body.page article,
body.blog article,
body.archive article,
body.search article,
.entry-content,
.post-content,
.wp-block-post-content {
    background-color: #fff !important;
    color: #15191e !important;
}

/* Gutenberg blocks should never inherit a dark theme canvas on normal posts/pages. */
.entry-content .wp-block-group,
.entry-content .wp-block-columns,
.entry-content .wp-block-column,
.entry-content .wp-block-media-text,
.entry-content .wp-block-post-template,
.wp-block-post-content .wp-block-group,
.wp-block-post-content .wp-block-columns,
.wp-block-post-content .wp-block-column,
.wp-block-post-content .wp-block-media-text {
    background-color: transparent !important;
    color: #15191e !important;
}

/* Typography for newly-created content. */
article.ktl-entry h1,
article.ktl-entry h2,
article.ktl-entry h3,
article.ktl-entry h4,
article.ktl-entry h5,
article.ktl-entry h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
    color: #15191e !important;
    font-family: Tahoma, Arial, sans-serif !important;
}
article.ktl-entry p,
article.ktl-entry li,
.entry-content p,
.entry-content li,
.wp-block-post-content p,
.wp-block-post-content li {
    color: #3f474f !important;
}

/* Elementor: transparent canvas lets the theme's light page background show through. */
body.elementor-page,
body.elementor-page .elementor,
body.elementor-page .elementor-section-wrap,
body.elementor-page .elementor-inner,
body.elementor-page .elementor-container,
body.elementor-page .elementor-element-populated {
    background-color: transparent !important;
}
body.elementor-page .ktl-content,
body.elementor-page .ktl-wrap {
    background-color: #eef0f4 !important;
}

/* Keep the football interface itself unchanged. */
.ktl-match,
.ktl-card,
.ktl-news article,
.ktl-ref-match,
.ktl-match-article,
.ktl-legal-page,
.ktl-article-head,
.ktl-article-matchbox,
.ktl-article-body {
    /* their existing background declarations remain authoritative */
}
