/*
Theme Name:        خبری ۳۶۰ (Khabari360)
Theme URI:         https://example.com/khabari360-theme
Description:        قالب اختصاصی سایت خبری ورزشی «خبری ۳۶۰» — راست‌چین، فارسی، سریع و مدرن. سازگار با افزونه‌ی خبری۳۶۰ برای جمع‌آوری و ترجمه‌ی خودکار اخبار ورزشی.
Author:            Khabari360
Version:           1.7.0
Requires at least: 5.6
Tested up to:      6.6
Requires PHP:      7.4
License:           GNU General Public License v2 or later
Text Domain:       khabari360
Tags:              news, sports, rtl, right-to-left, blog, two-columns, custom-menu, featured-images, translation-ready
*/

/* ===================================================================
   0. Bundled font — IRANYekanX (FaNum)
   =================================================================== */
@font-face { font-family: 'IRANYekanX'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/IRANYekanX-400.ttf') format('truetype'); }
@font-face { font-family: 'IRANYekanX'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/IRANYekanX-500.ttf') format('truetype'); }
@font-face { font-family: 'IRANYekanX'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/IRANYekanX-600.ttf') format('truetype'); }
@font-face { font-family: 'IRANYekanX'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/IRANYekanX-700.ttf') format('truetype'); }
@font-face { font-family: 'IRANYekanX'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/IRANYekanX-800.ttf') format('truetype'); }

/* ===================================================================
   1. Design tokens
   =================================================================== */
:root {
	--brand-1: #065f46;
	--brand-2: #059669;
	--brand-3: #10b981;
	--brand-grad: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
	--live: #ef4444;
	--accent: #f59e0b;

	--ink: #0f172a;
	--text: #1f2937;
	--muted: #64748b;
	--line: #e8ecf1;
	--bg: #f4f6fb;
	--card: #ffffff;

	--radius: 16px;
	--radius-sm: 11px;
	--shadow: 0 10px 30px -16px rgba(15, 23, 42, .25);
	--shadow-sm: 0 4px 14px -10px rgba(15, 23, 42, .22);
	--container: 1200px;
	--font: 'IRANYekanX', 'Vazirmatn', 'IRANSans', Tahoma, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===================================================================
   2. Reset / base
   =================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.85;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-3); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.5; font-weight: 800; }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.4em; }

.k360-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.k360-skip { position: absolute; right: -9999px; top: 0; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.k360-skip:focus { right: 12px; top: 12px; }

/* ===================================================================
   3. Header
   =================================================================== */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.k360-topline { background: var(--brand-grad); color: #fff; font-size: 13px; }
.k360-topline .k360-container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.k360-topline .k360-date { color: rgba(255,255,255,.9); }
.k360-topline .k360-socials a { color: #fff; opacity: .85; margin-inline-start: 12px; font-size: 13px; }
.k360-topline .k360-socials a:hover { opacity: 1; }

.k360-header-main .k360-container { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.k360-brand { display: flex; align-items: center; gap: 13px; }
.k360-logo {
	width: 54px; height: 54px; border-radius: 14px;
	background: var(--brand-grad); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 20px; font-weight: 800; letter-spacing: 1px;
	box-shadow: 0 8px 20px -8px rgba(5,150,105,.6);
	flex-shrink: 0;
}
.k360-logo img { width: 54px; height: 54px; object-fit: contain; }
.k360-brand-text .site-title { margin: 0; font-size: 23px; font-weight: 800; }
.k360-brand-text .site-title a { color: var(--ink); }
.k360-brand-text .site-desc { margin: 0; font-size: 12.5px; color: var(--muted); }

.k360-header-search { margin-inline-start: auto; }
.k360-header-search form { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 4px 6px 4px 16px; }
.k360-header-search input[type="search"] { border: 0; background: transparent; outline: none; font-family: var(--font); font-size: 14px; width: 190px; color: var(--ink); }
.k360-header-search button { border: 0; cursor: pointer; background: var(--brand-grad); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; }

/* Nav */
.k360-nav { background: var(--ink); }
.k360-nav .k360-container { display: flex; align-items: center; gap: 4px; }
.k360-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.k360-menu li { position: relative; }
.k360-menu a { display: block; color: #e2e8f0; padding: 13px 16px; font-weight: 600; font-size: 14.5px; }
.k360-menu a:hover, .k360-menu .current-menu-item > a { color: #fff; background: rgba(255,255,255,.08); }
.k360-menu .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--brand-2); }
.k360-menu ul { position: absolute; right: 0; top: 100%; background: var(--ink); min-width: 190px; list-style: none; margin: 0; padding: 6px 0; border-radius: 0 0 10px 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 60; }
.k360-menu li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.k360-menu ul a { padding: 9px 16px; }
.k360-menu-toggle { display: none; }
.k360-nav-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; font-weight: 700; padding-inline-end: 4px; }
.k360-nav-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: k360pulse 1.6s infinite; }
@keyframes k360pulse { 0%{box-shadow:0 0 0 0 rgba(239,68,68,.5);} 70%{box-shadow:0 0 0 9px rgba(239,68,68,0);} 100%{box-shadow:0 0 0 0 rgba(239,68,68,0);} }

/* ===================================================================
   4. Breaking ticker
   =================================================================== */
.k360-ticker { background: var(--card); border-bottom: 1px solid var(--line); }
.k360-ticker .k360-container { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.k360-ticker-label { background: var(--live); color: #fff; font-weight: 800; font-size: 12.5px; padding: 5px 13px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.k360-ticker-track { display: flex; gap: 30px; white-space: nowrap; overflow: hidden; }
.k360-ticker-track a { color: var(--text); font-size: 14px; font-weight: 600; }
.k360-ticker-track a::before { content: '●'; color: var(--brand-2); font-size: 8px; vertical-align: middle; margin-inline-end: 8px; }

/* ===================================================================
   5. Layout
   =================================================================== */
.site-content { padding: 28px 0 40px; }
.k360-layout { display: grid; grid-template-columns: 1fr 330px; gap: 30px; align-items: start; }
.k360-layout.full { grid-template-columns: 1fr; }

/* Section heading */
.k360-section { margin-bottom: 34px; }
.k360-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.k360-section-head h2 { margin: 0; font-size: 20px; position: relative; padding-inline-start: 14px; }
.k360-section-head h2::before { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 22px; border-radius: 4px; background: var(--brand-grad); }
.k360-section-head .more { margin-inline-start: auto; font-size: 13px; font-weight: 700; color: var(--brand-2); }
.k360-section-head .more:hover { color: var(--brand-3); }

/* ===================================================================
   6. Hero
   =================================================================== */
.k360-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-bottom: 34px; }
.k360-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.k360-feature { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 240px; background: #0b1220; }
.k360-feature.big { min-height: 470px; }
.k360-feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.k360-feature:hover img { transform: scale(1.05); }
.k360-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,12,24,.92) 0%, rgba(8,12,24,.35) 45%, rgba(8,12,24,0) 75%); }
.k360-feature-body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; z-index: 2; }
.k360-feature.big .k360-feature-body { padding: 28px; }
.k360-feature-body h3 { color: #fff; margin: 9px 0 0; font-size: 18px; line-height: 1.6; }
.k360-feature.big .k360-feature-body h3 { font-size: 27px; }
.k360-feature-body h3 a { color: #fff; }
.k360-feature-body h3 a:hover { color: #d1fae5; }
.k360-feature-meta { display: flex; align-items: center; gap: 12px; margin-top: 11px; color: rgba(255,255,255,.85); font-size: 12.5px; }

/* Category chip */
.k360-cat {
	display: inline-block; background: var(--brand-grad); color: #fff;
	font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 20px;
	/* Never stretch full-width, even if it lands in a flex/grid parent. */
	align-self: flex-start; width: -moz-fit-content; width: fit-content; max-width: 100%; line-height: 1.7; white-space: nowrap;
}
.k360-cat.ghost { background: #ecfdf5; color: var(--brand-3); }

/* ===================================================================
   7. Cards grid
   =================================================================== */
.k360-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.k360-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.k360-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.k360-card {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.k360-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.k360-card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef6; }
.k360-card-thumb-link { display: block; width: 100%; height: 100%; }
.k360-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.k360-card:hover .k360-card-thumb img { transform: scale(1.06); }
.k360-card-thumb .k360-cat {
	position: absolute; inset-inline-start: 10px; top: 10px; z-index: 2;
	width: auto; max-width: calc(100% - 20px);
	box-shadow: 0 4px 12px -4px rgba(8, 12, 24, .45);
}
.k360-card-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.k360-card-body h3 { margin: 0 0 10px; font-size: 16.5px; line-height: 1.65; }
.k360-card-body p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0; }
.k360-card-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 13px; color: var(--muted); font-size: 12px; }
.k360-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }

/* List item (compact, for sidebar / sections) */
.k360-list { display: flex; flex-direction: column; gap: 14px; }
.k360-list-item { display: flex; gap: 13px; align-items: flex-start; }
.k360-list-item .thumb { width: 86px; height: 62px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #e9eef6; }
.k360-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.k360-list-item h4 { margin: 0 0 5px; font-size: 14px; line-height: 1.7; font-weight: 700; }
.k360-list-item .meta { color: var(--muted); font-size: 11.5px; }
.k360-list-item.numbered { counter-increment: k360n; }
.k360-list-item.numbered .num { font-size: 22px; font-weight: 800; color: var(--brand-2); opacity: .35; width: 26px; flex-shrink: 0; line-height: 1.4; }

/* ===================================================================
   8. Sidebar / widgets
   =================================================================== */
.k360-sidebar .widget, .k360-widget {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.k360-widget-title, .widget-title, .k360-sidebar .widget-title {
	margin: 0 0 16px; font-size: 16px; position: relative; padding-inline-start: 13px;
}
.k360-widget-title::before, .widget-title::before {
	content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 5px; height: 19px; border-radius: 4px; background: var(--brand-grad);
}
.k360-sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.k360-sidebar .widget li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.k360-sidebar .widget li:last-child { border-bottom: 0; }
.k360-sidebar .widget a { color: var(--text); font-weight: 600; font-size: 14px; }
.k360-sidebar .widget a:hover { color: var(--brand-2); }

.k360-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.k360-tags a { background: #ecfdf5; color: var(--brand-3); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.k360-tags a:hover { background: var(--brand-grad); color: #fff; }

.k360-newsletter { background: var(--brand-grad); color: #fff; border: 0; }
.k360-newsletter .k360-widget-title { color: #fff; }
.k360-newsletter .k360-widget-title::before { background: #fff; }
.k360-newsletter p { color: rgba(255,255,255,.9); font-size: 13.5px; }
.k360-newsletter input { width: 100%; border: 0; border-radius: 10px; padding: 11px 14px; font-family: var(--font); margin-bottom: 9px; }
.k360-newsletter button { width: 100%; border: 0; background: #fff; color: var(--brand-3); font-weight: 800; font-family: var(--font); padding: 11px; border-radius: 10px; cursor: pointer; }

/* ===================================================================
   9. Single post
   =================================================================== */
.k360-single { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.k360-single-hero { position: relative; aspect-ratio: 21 / 9; background: #0b1220; }
.k360-single-hero img { width: 100%; height: 100%; object-fit: cover; }
.k360-single-inner { padding: 30px 36px 40px; }
.k360-single-inner > .k360-cat { margin-bottom: 14px; }
.k360-single-title { font-size: 30px; line-height: 1.55; margin: 0 0 16px; }
.k360-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.k360-single-meta .item { display: inline-flex; align-items: center; gap: 6px; }
.k360-single-meta .avatar { width: 26px; height: 26px; border-radius: 50%; }
.k360-content { font-size: 17px; line-height: 2.1; color: #27303f; }
.k360-content h2 { font-size: 22px; margin: 1.4em 0 .6em; }
.k360-content h3 { font-size: 19px; margin: 1.2em 0 .5em; }
.k360-content img { border-radius: 12px; margin: 1em 0; }
.k360-content a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.k360-content blockquote { margin: 1.2em 0; padding: 6px 18px; border-inline-start: 4px solid var(--brand-2); background: #f8fafc; border-radius: 8px; color: #334155; }
.k360-content figure { margin: 1.2em 0; }
.k360-source-note { margin-top: 24px; padding: 13px 16px; background: #f8fafc; border: 1px dashed var(--line); border-radius: 10px; font-size: 13px; color: var(--muted); }

.k360-post-foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.k360-share { display: flex; gap: 9px; align-items: center; }
.k360-share span { font-size: 13px; font-weight: 700; color: var(--muted); }
.k360-share a { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--brand-3); font-size: 15px; font-weight: 700; }
.k360-share a:hover { background: var(--brand-grad); color: #fff; }

/* ===================================================================
   10. Pagination, comments, misc
   =================================================================== */
.k360-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.k360-pagination a, .k360-pagination span {
	min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 11px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 700; padding: 0 12px;
}
.k360-pagination .current { background: var(--brand-grad); color: #fff; border-color: transparent; }
.k360-pagination a:hover { border-color: var(--brand-2); color: var(--brand-2); }

.k360-related { margin-top: 36px; }
.comments-area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-top: 26px; box-shadow: var(--shadow-sm); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.comments-area .comment-author { font-weight: 700; color: var(--ink); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-family: var(--font); margin-bottom: 12px; background: var(--bg);
}
.k360-btn, .comment-respond input[type="submit"], .wp-block-button__link {
	display: inline-block; background: var(--brand-grad); color: #fff !important; border: 0; border-radius: 11px;
	padding: 12px 26px; font-weight: 800; font-family: var(--font); cursor: pointer; box-shadow: 0 8px 20px -8px rgba(16,185,129,.5);
}
.k360-btn:hover { color: #fff; opacity: .94; }

.k360-archive-head { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.k360-archive-head h1 { margin: 0 0 6px; font-size: 25px; }
.k360-archive-head p { margin: 0; color: var(--muted); }

.k360-404 { text-align: center; padding: 60px 20px; }
.k360-404 .code { font-size: 90px; font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }

/* ===================================================================
   11. Footer
   =================================================================== */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 30px; }
.k360-footer-top { padding: 44px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.k360-footer-top .site-title { color: #fff; font-size: 22px; }
.k360-footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.k360-footer-col ul { list-style: none; padding: 0; margin: 0; }
.k360-footer-col li { padding: 6px 0; }
.k360-footer-col a { color: #94a3b8; font-size: 14px; }
.k360-footer-col a:hover { color: #fff; }
.k360-footer-about p { color: #94a3b8; font-size: 14px; }
.k360-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; color: #94a3b8; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.k360-footer-bottom a { color: #cbd5e1; }

/* ===================================================================
   13. Wordmark / brand / floating UI
   =================================================================== */
.k360-brand-text .site-title { font-size: 25px; letter-spacing: -.2px; }
.k360-brand .custom-logo-link { line-height: 0; }
.k360-brand .custom-logo { width: 50px; height: 50px; border-radius: 12px; object-fit: contain; }
.k360-num {
	background: var(--brand-grad);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: var(--brand-2); font-weight: 800;
}
.k360-footer-mark { color: #fff; font-size: 24px; margin: 0 0 14px; font-weight: 800; }

.k360-progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 100; pointer-events: none; }
.k360-progress span { display: block; height: 100%; width: 0; background: var(--brand-grad); transition: width .1s linear; }

.k360-totop {
	position: fixed; inset-block-end: 22px; inset-inline-start: 22px;
	width: 46px; height: 46px; border: 0; border-radius: 14px; cursor: pointer;
	background: var(--brand-grad); color: #fff; font-size: 20px; font-weight: 700;
	box-shadow: 0 10px 24px -8px rgba(5,150,105,.55);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; z-index: 90;
}
.k360-totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.k360-mobile-search { display: none; }

/* ===================================================================
   14. Readability polish (single / content)
   =================================================================== */
.k360-single-inner { padding: 34px 42px 46px; }
.k360-single-title { font-size: 31px; line-height: 1.6; letter-spacing: -.3px; }
.k360-content { font-size: 18px; line-height: 2.15; color: #283142; }
.k360-content p { margin: 0 0 1.25em; }
.k360-content > p:first-of-type { font-size: 1.07em; color: #1a2230; font-weight: 500; }
.k360-content h2, .k360-content h3 { letter-spacing: -.2px; scroll-margin-top: 90px; }
.k360-content ul, .k360-content ol { margin: 1em 0 1.3em; padding-inline-start: 1.5em; }
.k360-content li { margin: .45em 0; }
.k360-content a { text-decoration-color: rgba(5,150,105,.4); }
.k360-content a:hover { text-decoration-color: var(--brand-2); }
.k360-content img { border-radius: 14px; }
.k360-content figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.k360-content hr { border: 0; border-top: 1px solid var(--line); margin: 1.8em 0; }

:focus-visible { outline: 3px solid rgba(5,150,105,.45); outline-offset: 2px; border-radius: 4px; }
a:focus-visible, button:focus-visible { outline-offset: 3px; }

/* ===================================================================
   15. Responsive
   =================================================================== */
@media (max-width: 1080px) {
	.k360-layout { grid-template-columns: 1fr; }
	.k360-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.k360-hero { grid-template-columns: 1fr; }
	.k360-feature.big { min-height: 320px; }
	.k360-grid.cols-3, .k360-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.k360-header-search { display: none; }
}
@media (max-width: 680px) {
	body { font-size: 15.5px; }
	.k360-container { padding: 0 14px; }
	.k360-grid, .k360-grid.cols-3, .k360-grid.cols-4 { grid-template-columns: 1fr; }
	.k360-footer-top { grid-template-columns: 1fr; gap: 24px; }

	.k360-topline { display: none; }
	.k360-header-main .k360-container { padding-top: 12px; padding-bottom: 12px; }
	.k360-brand-text .site-title { font-size: 21px; }
	.k360-brand-text .site-desc { display: none; }

	.k360-nav .k360-container { flex-wrap: wrap; padding: 0 14px; }
	.k360-menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: #fff; font-family: var(--font); font-weight: 700; padding: 13px 2px; cursor: pointer; font-size: 15px; margin-inline-end: auto; }
	.k360-menu { display: none; width: 100%; flex-direction: column; padding-bottom: 6px; }
	.k360-menu.open { display: flex; }
	.k360-menu li { border-top: 1px solid rgba(255,255,255,.06); }
	.k360-menu a { padding: 14px 8px; font-size: 15.5px; }
	.k360-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--brand-2); }
	.k360-menu ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); min-width: 0; border-radius: 0; }
	.k360-menu ul a { padding-inline-start: 26px; }
	.k360-menu.open ~ .k360-mobile-search { display: flex; }
	.k360-mobile-search { width: 100%; align-items: center; gap: 8px; padding: 8px 0 14px; }
	.k360-mobile-search input { flex: 1; border: 0; border-radius: 10px; padding: 12px 14px; font-family: var(--font); font-size: 15px; background: rgba(255,255,255,.1); color: #fff; }
	.k360-mobile-search input::placeholder { color: rgba(255,255,255,.6); }
	.k360-mobile-search button { border: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-grad); color: #fff; font-size: 18px; cursor: pointer; }
	.k360-nav-live { display: none; }

	.k360-hero { gap: 12px; margin-bottom: 26px; }
	.k360-feature.big { min-height: 300px; }
	.k360-feature.big .k360-feature-body h3 { font-size: 21px; }
	.k360-feature-body { padding: 16px; }
	.k360-hero-side { grid-template-rows: auto auto; }
	.k360-feature { min-height: 150px; }

	.k360-card-body { padding: 14px 15px 16px; }
	.k360-card-body h3 { font-size: 16px; }
	.k360-section { margin-bottom: 26px; }

	.site-content { padding: 18px 0 30px; }
	.k360-single-hero { aspect-ratio: 16 / 10; }
	.k360-single-inner { padding: 22px 18px 30px; }
	.k360-single-title { font-size: 24px; line-height: 1.55; }
	.k360-single-meta { gap: 12px 16px; }
	.k360-content { font-size: 17px; line-height: 2.05; }
	.k360-content > p:first-of-type { font-size: 1.04em; }
	.comments-area { padding: 20px 16px; }

	.k360-totop { inset-block-end: 16px; inset-inline-start: 16px; width: 44px; height: 44px; }
}
@media (max-width: 380px) {
	.k360-feature.big .k360-feature-body h3 { font-size: 19px; }
	.k360-single-title { font-size: 22px; }
}

/* ===================================================================
   16. Reduced motion
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.k360-nav-live .dot { animation: none; }
	.k360-feature img, .k360-card-thumb img, .k360-totop, .k360-progress span { transition: none; }
	.k360-feature:hover img, .k360-card:hover .k360-card-thumb img { transform: none; }
}

/* ===================================================================
   17. Live scores
   =================================================================== */
.k360-ls { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.k360-ls-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.k360-ls-head h3 { margin: 0; font-size: 16px; }
.k360-ls-head .k360-ls-auto { margin-inline-start: auto; font-size: 11.5px; color: var(--muted); }
.k360-ls-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: k360pulse 1.6s infinite; flex-shrink: 0; }
.k360-ls-body { padding: 4px 0; }
.k360-ls-list { display: flex; flex-direction: column; }
.k360-ls-row { display: grid; grid-template-columns: 120px 1fr auto 1fr 62px; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.k360-ls-row:last-child { border-bottom: 0; }
.k360-ls-comp { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k360-ls-team { font-weight: 700; color: var(--ink); }
.k360-ls-team.home { text-align: start; }
.k360-ls-team.away { text-align: end; }
.k360-ls-score { font-weight: 800; color: var(--brand-2); min-width: 54px; text-align: center; background: #ecfdf5; border-radius: 8px; padding: 4px 8px; }
.k360-ls-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 20px; text-align: center; white-space: nowrap; }
.k360-ls-badge.live { background: #fee2e2; color: #b91c1c; }
.k360-ls-badge.done { background: #e8ecf1; color: #475569; }
.k360-ls-badge.soon { background: #ecfdf5; color: #047857; }
.k360-ls-empty { padding: 22px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.k360-ls iframe { display: block; width: 100%; border: 0; }
@media (max-width: 600px) {
	.k360-ls-row { grid-template-columns: 1fr auto 1fr; row-gap: 6px; padding: 12px 14px; }
	.k360-ls-comp { grid-column: 1 / -1; }
	.k360-ls-badge { grid-column: 1 / -1; justify-self: start; }
}

/* ===================================================================
   18. World Cup tables (standings / fixtures)
   =================================================================== */
.k360-tables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.k360-tbl-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.k360-tbl-title { padding: 12px 16px; font-weight: 800; color: #fff; background: var(--brand-grad); font-size: 14px; }
.k360-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.k360-tbl th { background: #f1f5f9; color: #334155; font-weight: 700; padding: 8px 6px; text-align: center; font-size: 12px; }
.k360-tbl td { padding: 9px 6px; text-align: center; border-top: 1px solid var(--line); color: var(--text); }
.k360-tbl td.t { text-align: start; font-weight: 700; color: var(--ink); }
.k360-tbl td.pts { font-weight: 800; color: var(--brand-2); }
.k360-tbl tbody tr:nth-child(-n+2) td.t { color: var(--brand-2); }
@media (max-width: 700px) {
	.k360-tables { grid-template-columns: 1fr; }
	.k360-tbl th, .k360-tbl td { padding: 8px 4px; font-size: 12px; }
}

/* Footer social links */
.k360-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.k360-footer-social a { font-size: 12.5px; color: #cbd5e1; background: rgba(255,255,255,.06); padding: 5px 12px; border-radius: 20px; }
.k360-footer-social a:hover { background: var(--brand-grad); color: #fff; }
