/*
Theme Name: TV Arena Sport MK
Theme URI: https://tvarenasport.mk/
Author: NewsEra
Author URI: https://tvarenasport.mk/
Description: Спортска тема за tvarenasport.mk — конзумира draft објави што ги испраќа NewsEra Importer pluginot. Распоред инспириран од tvarenasport.com — magazine layout со hero + grid од вертикалних картичка, single со sidebar „Најнови".
Version: 1.3.13
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
License URI: https://tvarenasport.mk/
Text Domain: tvarenasport-mk
Tags: news, sports, gutenberg, custom-menu, featured-images, translation-ready
*/

/* ─── 1. Tokens (бела + arena blue, тенка црвена за timestamp) ──────────── */

:root {
	--c-primary:    #0b3a82;
	--c-primary-2:  #1d4ed8;
	--c-primary-dk: #0a2d66;
	--c-accent:     #d92638;  /* arena red — timestamp + topvest eyebrow */
	--c-accent-dk:  #b91c2c;

	--c-text:       #111827;
	--c-text-2:     #1f2937;
	--c-muted:      #6b7280;
	--c-muted-2:    #9ca3af;

	--c-bg:         #ffffff;
	--c-bg-2:       #f8fafc;
	--c-card:       #ffffff;
	--c-border:     #e5e7eb;
	--c-border-dk:  #d1d5db;

	--c-header:     #ffffff;
	--c-footer:     #0b1320;

	/* Per-sport accent — solid badges */
	--c-fudbal:   #047857;
	--c-kosharka: #c2410c;
	--c-rakomet:  #6d28d9;
	--c-tenis:    #b45309;
	--c-f1:       #b91c2c;
	--c-ostanato: #334155;

	--r-sm: 4px;
	--r-md: 8px;
	--r-lg: 12px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
	--shadow-md: 0 4px 14px rgba(15, 23, 42, .06);
	--shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, .12);

	--ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ff-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--container: 1240px;
	--container-narrow: 800px;
}

/* ─── 2. Reset / base ─────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--c-text);
	background: var(--c-bg);
	/* NE stavljati overflow-x: hidden ovde — kreira scroll container koji kvari
	   position: fixed header na mobilnim browserima (header ne ostaje na vrhu).
	   Anti-horizontal-scroll je na .main-content (ne dira fixed header). */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary-2); }
button { font: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip: rect(0,0,0,0);
	overflow: hidden;
}

.tasmk-skip-link {
	position: absolute; top: -100px; left: 0;
	background: var(--c-primary); color: #fff;
	padding: .75rem 1rem; z-index: 1000;
	font-weight: 600;
}
.tasmk-skip-link:focus { top: 0; color: #fff; }

/* ─── 3. Container ────────────────────────────────────────────────────────── */

.tasmk-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
.tasmk-container--narrow { max-width: var(--container-narrow); }

/* ─── 4. Header / nav (бел) ───────────────────────────────────────────────── */

.tasmk-header {
	background: var(--c-header);
	color: var(--c-text);
	/* fixed (umesto sticky) jer sticky pukne ako bilo koji ancestor ima
	   overflow:hidden ili transform — pouzdanije za multi-section magazine
	   layout. Body padding-top kompenzuje height-u da prvi blok ne ide ispod. */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	border-bottom: 1px solid var(--c-border);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Kompenzacija za fixed header — push glavni content nadole.
   Header height = ~76px (logo 50px + bar padding) — koristimo CSS var
   da mobile breakpoint može lako override-ovati. */
:root {
	--tasmk-header-h: 76px;
	--tasmk-ticker-h: 44px;
}
body {
	padding-top: var(--tasmk-header-h);
}
/* Ticker je position-static unutar normal flow-a, ide direktno ispod fixed
   header-a (jer body padding-top već gura sve dole). */

/* WP admin bar offset — kad je user logovan, admin bar je 32px top.
   VAŽNO: WP core već dodaje `html { margin-top: 32px !important }` za admin bar,
   pa NE smemo ponovo da dodajemo 32px u body padding (bilo je dvostruko brojanje
   → 32px gap između header-a i ticker-a). Samo header `top` offset treba. */
.admin-bar .tasmk-header { top: 32px; }
.admin-bar { padding-top: var(--tasmk-header-h); }
@media (max-width: 782px) {
	.admin-bar .tasmk-header { top: 46px; }
	.admin-bar { padding-top: var(--tasmk-header-h); }
}
.tasmk-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	/* Fiksna visina (ne min-height) — nav scrollbar živi UNUTAR ove visine
	   umesto da gura header preko --tasmk-header-h i pravi gap sa ticker-om. */
	height: var(--tasmk-header-h);
}

.tasmk-logo {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	color: var(--c-text);
	flex-shrink: 0;
	line-height: 1;
}
.tasmk-logo:hover { color: var(--c-text); }
.tasmk-logo img { display: block; height: 42px; width: auto; max-width: 100%; }
.tasmk-logo__cc {
	display: inline-block;
	background: var(--c-primary);
	color: #fff;
	padding: 3px 7px;
	border-radius: var(--r-sm);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	margin-left: .2rem;
}
.tasmk-logo__text {
	font-size: 17px;
	font-family: var(--ff-head);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1;
}
.tasmk-logo__text strong { color: var(--c-primary); font-weight: 900; }

.tasmk-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: var(--c-text);
	padding: .5rem;
	margin-left: auto;
	border-radius: var(--r-sm);
}
.tasmk-nav-toggle__bar {
	display: block;
	width: 22px; height: 2px;
	background: currentColor;
	margin: 5px 0;
	transition: transform .2s, opacity .2s;
}
.tasmk-nav-toggle[aria-expanded="true"] .tasmk-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tasmk-nav-toggle[aria-expanded="true"] .tasmk-nav-toggle__bar:nth-child(2) { opacity: 0; }
.tasmk-nav-toggle[aria-expanded="true"] .tasmk-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* min-width: 0 je KLJUČAN — bez njega flex child ne dozvoljava overflow-x scroll
   (default min-width: auto sprečava shrink ispod sadržaja). */
.tasmk-nav { flex: 1 1 auto; min-width: 0; }
.tasmk-nav__list {
	display: flex;
	flex-wrap: nowrap;            /* jedan red — kao tvarenasport.com */
	gap: .35rem;
	list-style: none;
	margin: 0;
	/* padding-top 6px gura linkove dole tako da im optička sredina padne na istu
	   liniju kao logo i search (scrollbar 6px na dnu inače povlači linkove gore). */
	padding: 6px 0 0;
	overflow-x: auto;            /* horizontal scroll kad stavke ne stanu */
	overflow-y: hidden;
	scrollbar-width: thin;       /* Firefox */
	scrollbar-color: #c4c4c4 transparent;
}
/* Webkit (Chrome/Safari/Edge) thin gray scrollbar — vizuelno kao tvarenasport.com */
.tasmk-nav__list::-webkit-scrollbar { height: 6px; }
.tasmk-nav__list::-webkit-scrollbar-track { background: transparent; }
.tasmk-nav__list::-webkit-scrollbar-thumb { background: #c4c4c4; border-radius: 3px; }
.tasmk-nav__list::-webkit-scrollbar-thumb:hover { background: #a0a0a0; }
/* Stavke se NE skupljaju i tekst se NE prelama — forsira horizontal overflow. */
.tasmk-nav__list > li { flex: 0 0 auto; }
.tasmk-nav__list > li > a,
.tasmk-nav__item > a {
	display: inline-block;
	white-space: nowrap;
	padding: .55rem .8rem;
	color: #242424;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .005em;
	border-radius: var(--r-sm);
	transition: color .15s, background-color .15s;
	white-space: nowrap;
	text-decoration: none;
	position: relative;
}
.tasmk-nav__list > li > a:hover,
.tasmk-nav__item > a:hover {
	color: #005586;
	background: var(--c-bg-2);
}
.tasmk-nav__list > li.current-menu-item > a,
.tasmk-nav__list > li.current-cat > a,
.tasmk-nav__item.current-menu-item > a {
	color: var(--c-primary);
	background: transparent;
}
.tasmk-nav__list > li.current-menu-item > a::after,
.tasmk-nav__list > li.current-cat > a::after,
.tasmk-nav__item.current-menu-item > a::after {
	content: "";
	position: absolute;
	left: .8rem; right: .8rem; bottom: -2px;
	height: 3px;
	background: var(--c-primary);
	border-radius: 3px 3px 0 0;
}

.tasmk-search {
	display: flex;
	align-items: center;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: 999px;
	padding: 3px 3px 3px 14px;
	min-width: 220px;
	transition: border-color .15s, background-color .15s;
}
.tasmk-search:focus-within { border-color: var(--c-primary-2); background: #fff; }
.tasmk-search input {
	flex: 1 1 auto;
	background: transparent;
	border: 0;
	color: var(--c-text);
	font-size: 14px;
	padding: .35rem 0;
	min-width: 0;
}
.tasmk-search input::placeholder { color: var(--c-muted-2); }
.tasmk-search input:focus { outline: 0; }
.tasmk-search button {
	background: var(--c-primary);
	border: 0;
	color: #fff;
	width: 32px; height: 32px;
	border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: background-color .15s;
}
.tasmk-search button:hover { background: var(--c-primary-dk); }
.tasmk-search--inline {
	background: #fff;
	border-color: var(--c-border);
	min-width: 0; max-width: 420px;
	margin: 1.25rem auto 0;
}
.tasmk-search--inline button {
	background: var(--c-primary);
	font-weight: 600;
	font-size: 13px;
	color: #fff;
	width: auto; padding: 0 1rem;
}

/* ─── 5. Section / typography ─────────────────────────────────────────────── */

.tasmk-main { padding: 2rem 0 4rem; background: var(--c-bg); }
.tasmk-section { padding: 2.5rem 0 0; }
.tasmk-section:first-child { padding-top: 0; }

.tasmk-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1.5rem;
	padding-bottom: .85rem;
	border-bottom: 1px solid var(--c-border);
}
.tasmk-section__title {
	font-family: var(--ff-head);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0;
	line-height: 1.15;
	color: var(--c-text);
}
.tasmk-section__title--sm { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.tasmk-section__title span { color: var(--c-primary-2); }
.tasmk-section__sub {
	color: var(--c-muted);
	font-size: 14px;
	margin: 0;
}

/* ─── 6. Feed / grid (magazine style — 3-col na desktop) ─────────────────── */

.tasmk-feed {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.tasmk-grid { display: grid; gap: 1.75rem 1.5rem; }
.tasmk-grid--cards {
	grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .tasmk-grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tasmk-grid--cards { grid-template-columns: repeat(3, 1fr); } }

/* ─── 7. Badge ────────────────────────────────────────────────────────────── */

.tasmk-badge {
	display: inline-block;
	background: transparent;
	color: var(--c-primary-2);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 0;
	border-radius: 0;
	white-space: nowrap;
	transition: color .15s;
	text-decoration: none;
}
.tasmk-badge:hover { color: var(--c-primary); }

/* Solid variant — za slika overlay */
.tasmk-badge--solid {
	background: var(--c-primary);
	color: #fff;
	padding: 5px 11px;
	border-radius: var(--r-sm);
	font-size: 11px;
}
.tasmk-badge--solid:hover { color: #fff; }

/* Per-sport solid */
.tasmk-badge--solid.tasmk-badge--fudbal   { background: var(--c-fudbal); }
.tasmk-badge--solid.tasmk-badge--kosharka { background: var(--c-kosharka); }
.tasmk-badge--solid.tasmk-badge--rakomet  { background: var(--c-rakomet); }
.tasmk-badge--solid.tasmk-badge--tenis    { background: var(--c-tenis); }
.tasmk-badge--solid.tasmk-badge--f1       { background: var(--c-f1); }
.tasmk-badge--solid.tasmk-badge--ostanato { background: var(--c-ostanato); }

/* Inline (текстуален) per-sport */
.tasmk-badge--fudbal   { color: var(--c-fudbal); }
.tasmk-badge--kosharka { color: var(--c-kosharka); }
.tasmk-badge--rakomet  { color: var(--c-rakomet); }
.tasmk-badge--tenis    { color: var(--c-tenis); }
.tasmk-badge--f1       { color: var(--c-f1); }
.tasmk-badge--ostanato { color: var(--c-ostanato); }

/* ─── 8. Card (vertical — slika gore, tekst dole) ────────────────────────── */

.tasmk-card {
	background: var(--c-card);
	display: flex;
	flex-direction: column;
	transition: transform .2s ease;
}
.tasmk-card:hover { transform: translateY(-2px); }
.tasmk-card:hover .tasmk-card__title a { color: var(--c-primary-2); }
.tasmk-card:hover .tasmk-card__media img { transform: scale(1.03); }

.tasmk-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--r-md);
	background: linear-gradient(135deg, #e5e7eb, #cbd5e1);
}
.tasmk-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.tasmk-card__media-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: var(--c-muted-2);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .1em;
}

/* .tasmk-card__cat-overlay uklonjen — kategorija se prikazuje samo u .tasmk-card__meta
   (ispod slike). Smanjenje vizuelnog šuma + bolja čitljivost hero slika. */

.tasmk-card__body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding-top: .85rem;
	min-width: 0;
}

.tasmk-card__meta {
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.tasmk-card__cat {
	color: var(--c-primary-2);
	text-decoration: none;
}
.tasmk-card__cat:hover { color: var(--c-primary); }
.tasmk-card__time {
	color: var(--c-accent);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}
.tasmk-card__meta span[aria-hidden] {
	color: var(--c-muted-2);
	font-weight: 400;
}

.tasmk-card__title {
	font-family: var(--ff-head);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	letter-spacing: -.015em;
}
.tasmk-card__title a {
	color: var(--c-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tasmk-card__excerpt {
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ─── 9. Hero card (full-bleed slika + tekst ispod) ──────────────────────── */

.tasmk-hero {
	background: var(--c-card);
	display: flex;
	flex-direction: column;
	margin-bottom: .5rem;
}
.tasmk-hero:hover .tasmk-hero__title a { color: var(--c-primary-2); }
.tasmk-hero:hover .tasmk-hero__media img { transform: scale(1.02); }

.tasmk-hero__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--r-md);
	background: linear-gradient(135deg, #1a232b, #0f1419);
}
@media (min-width: 768px) {
	.tasmk-hero__media { aspect-ratio: 21 / 9; max-height: 520px; }
}
.tasmk-hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.tasmk-hero__media-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.35);
	font-weight: 900;
	font-size: 26px;
	letter-spacing: .12em;
}
.tasmk-hero__cat {
	position: absolute;
	left: 18px;
	bottom: 18px;
	font-size: 12px;
	padding: 7px 14px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.tasmk-hero__body {
	display: flex;
	flex-direction: column;
	gap: .65rem;
	padding-top: 1.1rem;
}

.tasmk-hero__meta {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.tasmk-hero__cat-link {
	color: var(--c-primary-2);
	text-decoration: none;
}
.tasmk-hero__cat-link:hover { color: var(--c-primary); }
.tasmk-hero__time {
	color: var(--c-accent);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
.tasmk-hero__meta span[aria-hidden] {
	color: var(--c-muted-2);
	font-weight: 400;
}

.tasmk-hero__title {
	font-family: var(--ff-head);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0;
}
.tasmk-hero__title a { color: var(--c-text); text-decoration: none; }

.tasmk-hero__excerpt {
	color: var(--c-muted);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	max-width: 800px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ─── 10. Article (single — 2-column layout) ─────────────────────────────── */

.tasmk-article { padding: 1.5rem 0 0; }

.tasmk-article__layout {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
	.tasmk-article__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 3rem;
	}
}

.tasmk-article__main { min-width: 0; }

.tasmk-breadcrumb {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 13px;
	color: var(--c-muted);
	font-weight: 500;
	margin-bottom: 1rem;
}
.tasmk-breadcrumb a { color: var(--c-muted); text-decoration: none; transition: color .15s; }
.tasmk-breadcrumb a:hover { color: var(--c-primary-2); }

.tasmk-article__head {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--c-border);
}

.tasmk-article__head > .tasmk-badge {
	display: inline-block;
	margin-bottom: .85rem;
	font-size: 13px;
}

.tasmk-article__title {
	font-family: var(--ff-head);
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	margin: 0 0 1rem;
	color: var(--c-text);
}

.tasmk-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
	font-size: 13.5px;
	color: var(--c-muted);
	font-weight: 500;
}
.tasmk-article__meta-time {
	font-weight: 600;
	color: var(--c-accent);
}
.tasmk-article__meta span[aria-hidden] {
	color: var(--c-muted-2);
}

.tasmk-article__hero {
	margin: 0 0 2rem;
	background: var(--c-bg-2);
	border-radius: var(--r-md);
	overflow: hidden;
}
.tasmk-article__hero img {
	width: 100%; height: auto;
	max-height: 560px;
	object-fit: cover;
	margin: 0 auto;
	display: block;
}

/* ─── 11. Prose (Gutenberg content iz importer-a) ────────────────────────── */

.tasmk-prose { font-size: 17.5px; line-height: 1.75; color: var(--c-text); }
.tasmk-prose > * + * { margin-top: 1rem; }
.tasmk-prose p:first-of-type strong:only-child {
	display: block;
	font-size: 1.18em;
	font-weight: 600;
	line-height: 1.5;
	color: var(--c-text);
	padding: 1rem 0 .25rem;
	border-left: 4px solid var(--c-primary);
	padding-left: 1.1rem;
	margin: .5rem 0 1.5rem;
	background: var(--c-bg-2);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.tasmk-prose h2, .tasmk-prose h3, .tasmk-prose h4 {
	font-family: var(--ff-head);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
	margin: 2rem 0 .75rem;
	color: var(--c-text);
}
.tasmk-prose h2 { font-size: 1.5rem; }
.tasmk-prose h3 {
	font-size: 1.25rem;
	padding-top: 1.25rem;
	border-top: 2px solid var(--c-primary);
}
.tasmk-prose h4 { font-size: 1.1rem; }
.tasmk-prose a {
	color: var(--c-primary-2);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.tasmk-prose a:hover { color: var(--c-primary); }
.tasmk-prose ul, .tasmk-prose ol { padding-left: 1.4rem; margin-top: 1rem; }
.tasmk-prose li + li { margin-top: .35rem; }
.tasmk-prose blockquote {
	margin: 1.5rem 0;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 4px solid var(--c-primary);
	font-style: italic;
	color: var(--c-text);
}
.tasmk-prose hr {
	border: 0;
	height: 1px;
	background: var(--c-border);
	margin: 2.5rem 0;
}

.tasmk-prose .wp-block-image,
.tasmk-prose figure {
	margin: 1.75rem 0;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--c-bg-2);
}
.tasmk-prose .wp-block-image img,
.tasmk-prose figure img {
	width: 100%; height: auto;
	display: block;
}
.tasmk-prose figcaption,
.tasmk-prose .wp-element-caption {
	background: #f1f5f9;
	color: var(--c-muted);
	font-size: 13px;
	padding: .55rem .85rem;
	border-top: 1px solid var(--c-border);
}
.tasmk-prose figcaption a,
.tasmk-prose .wp-element-caption a {
	color: var(--c-text);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dotted var(--c-muted);
}
.tasmk-prose figcaption a:hover,
.tasmk-prose .wp-element-caption a:hover {
	color: var(--c-primary-2);
	border-bottom-color: var(--c-primary-2);
}

/* Извори листа — importer ja генерира као последна ul */
.tasmk-prose h3 + ul {
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	padding: 1rem 1.2rem 1rem 2.4rem;
	margin-top: .75rem;
	list-style-type: '→  ';
}
.tasmk-prose h3 + ul li { font-size: 15px; padding: .15rem 0; }
.tasmk-prose h3 + ul li a { font-weight: 600; text-decoration: none; }
.tasmk-prose h3 + ul li em {
	color: var(--c-muted);
	font-style: normal;
	font-size: 13px;
	margin-left: .3rem;
}

.tasmk-article__tags {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-border);
	font-size: 13px;
	color: var(--c-muted);
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}
.tasmk-article__tags a {
	background: var(--c-card);
	border: 1px solid var(--c-border);
	padding: 3px 10px;
	border-radius: 999px;
	font-weight: 600;
	color: var(--c-text);
	font-size: 12px;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.tasmk-article__tags a:hover { border-color: var(--c-primary-2); color: var(--c-primary-2); }

/* ─── 11b. Related posts (na dnu single article-a) ───────────────────────── */

.tasmk-article__related {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 2px solid var(--c-border);
}
.tasmk-article__related-title {
	font-family: var(--ff-head);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.015em;
	margin: 0 0 1.25rem;
}
.tasmk-article__related-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.tasmk-article__related-list { grid-template-columns: repeat(2, 1fr); }
}
.tasmk-article__related-item {}
.tasmk-article__related-link {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 0.85rem;
	align-items: start;
	color: inherit;
	text-decoration: none;
	transition: transform .15s ease;
}
.tasmk-article__related-link:hover {
	transform: translateX(2px);
}
.tasmk-article__related-link:hover .tasmk-article__related-headline {
	color: var(--c-primary-2);
}
.tasmk-article__related-thumb {
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--c-bg-2);
}
.tasmk-article__related-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.tasmk-article__related-body {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	min-width: 0;
}
.tasmk-article__related-cat {
	font-size: 11px;
	letter-spacing: .08em;
	font-weight: 800;
	text-transform: uppercase;
}
.tasmk-article__related-headline {
	font-family: var(--ff-head);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tasmk-article__related-time {
	font-size: 12px;
	color: var(--c-accent);
	font-weight: 500;
}

/* ─── 12. Sidebar (single article „Најнови") ─────────────────────────────── */

.tasmk-article__sidebar {
	min-width: 0;
}
@media (min-width: 1024px) {
	.tasmk-article__sidebar {
		position: sticky;
		top: 96px;   /* below sticky header */
		align-self: start;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
	/* Subtle scrollbar */
	.tasmk-article__sidebar::-webkit-scrollbar { width: 6px; }
	.tasmk-article__sidebar::-webkit-scrollbar-track { background: transparent; }
	.tasmk-article__sidebar::-webkit-scrollbar-thumb { background: var(--c-border-dk); border-radius: 6px; }
}

.tasmk-sidebar-block {
	background: var(--c-card);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	padding: 1.1rem 1.15rem 1.25rem;
}

.tasmk-sidebar__title {
	font-family: var(--ff-head);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	padding-bottom: .65rem;
	border-bottom: 3px solid var(--c-primary);
	color: var(--c-text);
}

.tasmk-sidebar__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.tasmk-sidebar__item + .tasmk-sidebar__item {
	border-top: 1px solid var(--c-border);
}

.tasmk-sidebar__link {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: .7rem;
	align-items: start;
	padding: .75rem 0;
	color: inherit;
	text-decoration: none;
	transition: color .15s;
}
.tasmk-sidebar__link:hover .tasmk-sidebar__headline {
	color: var(--c-primary-2);
}

.tasmk-sidebar__time {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: var(--c-accent);
	border-radius: var(--r-sm);
	padding: .35rem 0;
	letter-spacing: .03em;
	height: fit-content;
	margin-top: 2px;
}

.tasmk-sidebar__body {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	min-width: 0;
}

.tasmk-sidebar__cat {
	font-size: 10.5px;
	letter-spacing: .08em;
	font-weight: 800;
	text-transform: uppercase;
}

.tasmk-sidebar__headline {
	font-family: var(--ff-head);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--c-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .15s;
}

/* ─── 13. Empty / 404 / button ────────────────────────────────────────────── */

.tasmk-empty {
	text-align: center;
	background: var(--c-card);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 3rem 1.5rem;
}
.tasmk-empty h1, .tasmk-empty h2 {
	font-family: var(--ff-head);
	font-weight: 800;
	margin: 0 0 .75rem;
}
.tasmk-empty p { color: var(--c-muted); margin: .25rem 0; }
.tasmk-empty__code {
	font-family: var(--ff-head);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 900;
	color: var(--c-primary);
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: .5rem;
}

.tasmk-button {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	background: var(--c-primary);
	color: #fff;
	font-weight: 700;
	padding: .65rem 1.15rem;
	border-radius: var(--r-sm);
	font-size: 14px;
	text-decoration: none;
	transition: background-color .15s, transform .15s;
}
.tasmk-button:hover { background: var(--c-primary-dk); color: #fff; transform: translateY(-1px); }

/* ─── 14. Pagination ─────────────────────────────────────────────────────── */

.tasmk-main .pagination,
.tasmk-main nav.pagination,
.tasmk-main .navigation.pagination {
	margin: 2.5rem 0 0;
	display: flex;
	justify-content: center;
}
.tasmk-main .nav-links { display: flex; gap: .35rem; flex-wrap: wrap; }
.tasmk-main .nav-links .page-numbers {
	background: var(--c-card);
	border: 1px solid var(--c-border);
	padding: .5rem .85rem;
	border-radius: var(--r-sm);
	font-weight: 600;
	font-size: 14px;
	color: var(--c-text);
	text-decoration: none;
	transition: border-color .15s, background-color .15s, color .15s;
}
.tasmk-main .nav-links .page-numbers:hover { border-color: var(--c-primary-2); color: var(--c-primary-2); }
.tasmk-main .nav-links .page-numbers.current {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}
.tasmk-main .nav-links .page-numbers.dots { background: transparent; border-color: transparent; }

/* ─── 15. Footer ─────────────────────────────────────────────────────────── */

.tasmk-footer {
	background: var(--c-footer);
	color: rgba(255,255,255,.72);
	margin-top: 4rem;
	padding: 2.5rem 0;
	font-size: 14px;
}
.tasmk-footer__inner {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.tasmk-footer__inner {
		grid-template-columns: 1.2fr 2fr 1fr;
		align-items: start;
	}
}
.tasmk-footer__brand { display: flex; align-items: center; gap: .85rem; }
.tasmk-footer__brand img {
	height: 36px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: .92;
}
.tasmk-footer__brand p {
	margin: .25rem 0 0;
	color: rgba(255,255,255,.55);
	font-size: 13px;
}
.tasmk-footer__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	padding: 0; margin: 0;
}
.tasmk-footer__list a {
	color: rgba(255,255,255,.78);
	font-weight: 600;
	text-decoration: none;
	transition: color .15s;
}
.tasmk-footer__list a:hover { color: #fff; }
.tasmk-footer__meta { font-size: 13px; }
.tasmk-footer__meta p { margin: 0 0 .25rem; }
.tasmk-footer__credit { color: rgba(255,255,255,.45); }
.tasmk-footer__credit strong { color: #fff; font-weight: 700; }

/* ─── 16. Responsive (nav + manje vrste) ─────────────────────────────────── */

@media (max-width: 1100px) {
	.tasmk-search { min-width: 180px; }
	.tasmk-nav__list > li > a { padding: .55rem .65rem; font-size: 14px; }
}

@media (max-width: 940px) {
	.tasmk-search { display: none; }
}

@media (max-width: 840px) {
	.tasmk-nav-toggle { display: inline-block; }
	.tasmk-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		padding: .75rem 1rem 1rem;
		box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
		border-top: 1px solid var(--c-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease, padding .25s ease;
		padding-top: 0; padding-bottom: 0;
	}
	.tasmk-nav[data-open="true"] {
		max-height: 80vh;
		padding-top: .75rem;
		padding-bottom: 1rem;
		overflow: auto;
	}
	.tasmk-nav__list {
		flex-direction: column;
		gap: 0;
		flex-wrap: nowrap;
		overflow-x: visible;        /* reset desktop horizontal scroll u mobilnom dropdown-u */
		overflow-y: visible;
		padding-bottom: 0;
	}
	.tasmk-nav__list > li { width: 100%; flex: 0 0 auto; }
	.tasmk-nav__list > li > a,
	.tasmk-nav__item > a {
		display: block;
		width: 100%;
		padding: .85rem 1rem;
		border-radius: var(--r-sm);
		font-size: 15px;
	}
	.tasmk-nav__list > li.current-menu-item > a::after,
	.tasmk-nav__list > li.current-cat > a::after,
	.tasmk-nav__item.current-menu-item > a::after { display: none; }
	.tasmk-nav__list > li.current-menu-item > a,
	.tasmk-nav__list > li.current-cat > a,
	.tasmk-nav__item.current-menu-item > a { background: var(--c-bg-2); }
	.tasmk-header__inner { flex-wrap: wrap; }
}

@media (max-width: 480px) {
	.tasmk-main { padding: 1.25rem 0 3rem; }
	.tasmk-section { padding-top: 1.5rem; }
	.tasmk-section__head { padding-bottom: .65rem; margin-bottom: 1.1rem; }
	.tasmk-logo img { height: 34px; }
	.tasmk-article__title { font-size: 1.6rem; line-height: 1.18; }
	/* Manji bočni padding → više prostora za sadržaj na uskim ekranima */
	.tasmk-container { padding: 0 1rem; }
	.tasmk-ticker__inner { padding: 0 1rem; }
	.tasmk-trending__featured .tasmk-card__title { font-size: 1.3rem; }
	.tasmk-list-card__excerpt { -webkit-line-clamp: 3; }
}

/* ─── Ticker traka (sticky news scroll bar) ─────────────────────────── */
/* Arena svetlo plava (#0298dd) traka ispod glavnog nav-a sa rotirajucim naslovima.
   Inspiracija: tvarenasport.com .news-item bar. Implementacija je CSS-only
   marquee — items se renderuju dva puta da bi transform: translateX(-50%)
   pravio seamless loop bez vidljivog jump-a na granici. */
.tasmk-ticker {
	background: #0298dd;           /* full-bleed plava — ide do ivica ekrana */
	color: #fff;
	overflow: hidden;
	position: relative;
}

.tasmk-ticker__inner {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 0 1.25rem;            /* container padding → sadržaj (label/items) poravnat sa karticama */
	min-height: 44px;
}

/* "НАЈНОВО" label — flat, bez badge background-a; samo bold beli tekst
   sa malom desnom padding-om koja ga vizuelno odvaja od track-a. */
.tasmk-ticker__label {
	display: inline-flex;
	align-items: center;
	background: transparent;
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.06em;
	padding: 0 18px 0 0;       /* levi padding 0 → "НАЈНОВО" poravnat sa logom/sadržajem */
	text-decoration: none;
	flex-shrink: 0;
	position: relative;
	transition: opacity .15s;
}
.tasmk-ticker__label:hover {
	opacity: 0.85;
	color: #fff;
	text-decoration: none;
}

.tasmk-ticker__track {
	flex: 1;
	overflow: hidden;
	padding-left: 18px;
	display: flex;
	align-items: center;
	mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 24px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 24px), transparent 100%);
}

.tasmk-ticker__items {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	white-space: nowrap;
	animation: tasmk-ticker-scroll 90s linear infinite;
	will-change: transform;
}
/* Pause kad korisnik hover-uje — da moze da procita / klikne na link.
   Bez ovoga ticker-i su frustrirajuci jer naslov pobegne pre nego sto klikne. */
.tasmk-ticker:hover .tasmk-ticker__items,
.tasmk-ticker:focus-within .tasmk-ticker__items {
	animation-play-state: paused;
}

.tasmk-ticker__item {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	flex-shrink: 0;
	max-width: 360px;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .15s;
}
.tasmk-ticker__item:hover,
.tasmk-ticker__item:focus {
	color: #fef08a; /* zlatasto za high-contrast hover */
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tasmk-ticker__sep {
	color: rgba(255,255,255,0.45);
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
	user-select: none;
}

@keyframes tasmk-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Mobile — krace items, brzi loop, manji label */
@media (max-width: 720px) {
	.tasmk-ticker__inner { min-height: 38px; }
	.tasmk-ticker__label { padding: 0 12px; font-size: 11px; letter-spacing: 0.04em; }
	.tasmk-ticker__item { font-size: 13px; max-width: 240px; }
	.tasmk-ticker__items { animation-duration: 60s; }
}

/* Reduced motion — gasi marquee za korisnike sa prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.tasmk-ticker__items {
		animation: none;
		transform: none;
		flex-wrap: wrap;
		white-space: normal;
	}
	.tasmk-ticker__track {
		mask-image: none;
		-webkit-mask-image: none;
		overflow-x: auto;
	}
}

/* ─── main-content + Top Trending grid ──────────────────────────────── */
/* Klasa .main-content je semanticki naziv koji tvarenasport.com koristi.
   Mi je dodajemo na home <section> kao alias — postojeci .tasmk-section
   stilovi nastavljaju da rade istovremeno. */
.main-content {
	/* alias hook — vidljiv samo u DOM-u za bilo koji external script/tool */
	/* Anti-horizontal-scroll na nivou sadržaja (NE na body) — header je sibling
	   pre .main-content pa ostaje position: fixed netaknut. */
	overflow-x: hidden;
}

/* Trending head — crveni accent left border + uppercase label */
.tasmk-section__head--trending {
	border-bottom-color: var(--c-accent);
}
.tasmk-section__title--trending {
	display: flex;
	align-items: center;
	gap: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.tasmk-section__title-mark {
	display: inline-block;
	width: 6px;
	height: 28px;
	background: var(--c-accent);
	border-radius: 2px;
	flex-shrink: 0;
}

/* "Najnovije vesti" head ako se prikazuje POSLE trending sekcije — manji top margin */
.tasmk-section__head--secondary {
	margin-top: 2.5rem;
}

/* ─── List layout (Најнови archive) ────────────────────────────────── */
/* Single-column list, inspirisano tvarenasport.com .news-list:
     ┌─ time ─┬─ thumb ─┬─ category + title + excerpt ─┐
   Time u sa strane (Pre N minuta), thumbnail kompaktan (160x96),
   meta+naslov+excerpt zauzima ostatak širine. */
.tasmk-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid #e5e7eb;
}
.tasmk-list-card {
	display: grid;
	grid-template-columns: 130px 384px 1fr;   /* thumb 240px → 384px (~+60%) */
	gap: 2rem;
	align-items: center;        /* vertikalno centriraj time/thumb/text za veće kartice */
	padding: 2.25rem 0;
	border-bottom: 1px solid #e5e7eb;
}
.tasmk-list-card__time {
	font-size: 15px;
	font-weight: 700;
	color: #111827;            /* crna (bilo siva #6b7280) */
	text-transform: lowercase;
	letter-spacing: 0.01em;
	white-space: nowrap;       /* 130px kolona staje "пред 15 часа" — bez ellipsis truncation */
}
.tasmk-list-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}
.tasmk-list-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}
.tasmk-list-card:hover .tasmk-list-card__media img {
	transform: scale(1.04);
}
.tasmk-list-card__media-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 800;
	color: #94a3b8;
	background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}
.tasmk-list-card__body {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	min-width: 0; /* fix za text-overflow u grid child */
}
.tasmk-list-card__cat {
	font-size: 11px;
	font-weight: 800;
	color: var(--c-primary-2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: color .15s;
}
.tasmk-list-card__cat:hover {
	color: var(--c-primary);
}
.tasmk-list-card__meta {
	display: flex;
	align-items: center;
	gap: .4rem;
	flex-wrap: wrap;
}
/* Inline vreme + separator žive u levoj 130px koloni na desktopu — skriveni ovde,
   prikazuju se tek na mobile (<=640px) gde je leva kolona display:none. */
.tasmk-list-card__meta-sep,
.tasmk-list-card__meta-time { display: none; }
.tasmk-list-card__title {
	margin: 0;
	font-size: 1.75rem;         /* ~+60% veći blok (1.3rem → 1.75rem) */
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.005em;
}
.tasmk-list-card__title a {
	color: #1f2937;
	text-decoration: none;
	transition: color .15s;
}
.tasmk-list-card__title a:hover {
	color: var(--c-primary-2);
}
.tasmk-list-card__excerpt {
	margin: 0;
	font-size: 1.15rem;         /* veći excerpt uz veći naslov */
	line-height: 1.55;
	color: #475569;
	display: -webkit-box;
	-webkit-line-clamp: 3;      /* 3 reda — veća kartica pa staje više teksta */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Mobile — thumb levo + tekst desno (bez leve time kolone). */
@media (max-width: 640px) {
	.tasmk-list-card {
		grid-template-columns: 130px 1fr;   /* veći thumb nego pre (100px) za čitljivost */
		gap: 1rem;
		padding: 1.25rem 0;
	}
	.tasmk-list-card__time { display: none; }
	/* Leva time-kolona je skrivena — vreme se prikazuje inline pored kategorije
	   (kao na .tasmk-card meta na fudbal/kategorija stranicama). */
	.tasmk-list-card__meta-sep {
		display: inline;
		color: var(--c-muted-2);
		font-weight: 400;
	}
	.tasmk-list-card__meta-time {
		display: inline;
		font-size: 12px;
		font-weight: 600;
		color: var(--c-accent);
		text-transform: none;
	}
	.tasmk-list-card__title { font-size: 1.15rem; }
	.tasmk-list-card__excerpt { font-size: .92rem; -webkit-line-clamp: 2; }
}
/* Vrlo uski telefoni — thumb iznad teksta (stack), pun-width slika. */
@media (max-width: 440px) {
	.tasmk-list-card {
		grid-template-columns: 1fr;
		gap: .6rem;
		padding: 1.1rem 0;
	}
	.tasmk-list-card__media { aspect-ratio: 16 / 9; }
	.tasmk-list-card__title { font-size: 1.1rem; }
}

/* ─── Top Trend featured layout ────────────────────────────────────────────
   Magazine blok inspirisan tvarenasport.com Top Trend-om:
   ┌───────────────────────┬──────────┐
   │                       │  side 1  │   gornji blok: featured (велика вест)
   │   FEATURED (велика)   ├──────────┤   levo + 2 mini вести desno
   │                       │  side 2  │
   ├───────┬───────┬───────┴──────────┤
   │ rest1 │ rest2 │ rest3            │   donji blok: 6 rest вести
   ├───────┼───────┼──────────────────┤   (2 reda × 3 kolone)
   │ rest4 │ rest5 │ rest6            │
   └───────┴───────┴──────────────────┘                                       */
.tasmk-trending { margin-bottom: 2rem; }

.tasmk-trending__top {
	display: grid;
	grid-template-columns: 2fr 1fr;   /* featured ~2/3, side stupac ~1/3 */
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}
.tasmk-trending__featured { min-width: 0; }
.tasmk-trending__featured .tasmk-card__title { font-size: 1.85rem; line-height: 1.18; }
.tasmk-trending__featured .tasmk-card__title a { -webkit-line-clamp: 3; }
.tasmk-trending__featured .tasmk-card__excerpt { font-size: 1rem; -webkit-line-clamp: 3; }

/* Side stupac — 2 mini kartice vertikalno, popunjavaju visinu featured-a. */
.tasmk-trending__side {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}
.tasmk-mini-card {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	min-width: 0;
}
.tasmk-mini-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: var(--r-md);
	overflow: hidden;
	background: linear-gradient(135deg, #e5e7eb, #cbd5e1);
}
.tasmk-mini-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.tasmk-mini-card:hover .tasmk-mini-card__media img { transform: scale(1.04); }
.tasmk-mini-card__media-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-weight: 800;
	color: #94a3b8;
}
.tasmk-mini-card__body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.tasmk-mini-card__cat {
	font-size: 11.5px;
	font-weight: 800;
	color: var(--c-primary-2);
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
}
.tasmk-mini-card__cat:hover { color: var(--c-primary); }
.tasmk-mini-card__meta {
	display: flex;
	align-items: center;
	gap: .4rem;
	flex-wrap: wrap;
}
.tasmk-mini-card__meta-sep { color: var(--c-muted-2); font-weight: 400; font-size: 11.5px; }
.tasmk-mini-card__time {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--c-accent);
}
.tasmk-mini-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}
.tasmk-mini-card__title a {
	color: var(--c-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tasmk-mini-card:hover .tasmk-mini-card__title a { color: var(--c-primary-2); }

/* Donji blok — 6 rest вести, 3 kolone. */
.tasmk-trending__rest {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* Tablet — featured preko cele širine, side ide u 2 kolone ispod, rest 2-col. */
@media (max-width: 960px) {
	.tasmk-trending__top { grid-template-columns: 1fr; }
	.tasmk-trending__side { flex-direction: row; }
	.tasmk-trending__side .tasmk-mini-card { flex: 1 1 0; }
	.tasmk-trending__featured .tasmk-card__title { font-size: 1.55rem; }
	.tasmk-trending__rest { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile — sve u jednu kolonu. */
@media (max-width: 560px) {
	.tasmk-trending__side { flex-direction: column; }
	.tasmk-trending__rest { grid-template-columns: 1fr; }
	.tasmk-trending__featured .tasmk-card__title { font-size: 1.4rem; }
}

/* ─── Home sekcije (Top Trending + FIFA + sport kategorije) ────────── */
/* Magazine layout — niz sekcija sa istim wrapper-om i header pattern-om.
   Svaka sekcija ima accent boju (left mark + bottom border) da vizuelno
   razdvoji blokove. Inspiracija: tvarenasport.com home struktura. */
.tasmk-home-section {
	margin-bottom: 2.5rem;
}
.tasmk-home-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: .65rem;
	margin-bottom: 1.25rem;
	border-bottom: 2px solid #e5e7eb;
	flex-wrap: wrap;
}
.tasmk-home-section__title {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin: 0;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--c-text);
	text-transform: uppercase;
}
.tasmk-home-section__mark {
	display: inline-block;
	width: 6px;
	height: 26px;
	background: var(--c-primary);
	border-radius: 2px;
	flex-shrink: 0;
	transition: background-color .15s;
}
.tasmk-home-section__more {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text-2);
	text-decoration: none;
	transition: color .15s;
}
.tasmk-home-section__more:hover {
	color: var(--c-primary-2);
}

/* Accent variants — svaka sekcija ima svoju boju mark-a + bottom border-a.
   Pomaze user-u da odmah razlikuje fudbal od kosarke vizuelno. */
.tasmk-home-section.is-red    .tasmk-home-section__mark,
.tasmk-home-section.is-red    .tasmk-home-section__head { border-bottom-color: #d92638; }
.tasmk-home-section.is-red    .tasmk-home-section__mark { background: #d92638; }

.tasmk-home-section.is-blue   .tasmk-home-section__head { border-bottom-color: #0298dd; }
.tasmk-home-section.is-blue   .tasmk-home-section__mark { background: #0298dd; }

.tasmk-home-section.is-orange .tasmk-home-section__head { border-bottom-color: #ea580c; }
.tasmk-home-section.is-orange .tasmk-home-section__mark { background: #ea580c; }

.tasmk-home-section.is-green  .tasmk-home-section__head { border-bottom-color: #059669; }
.tasmk-home-section.is-green  .tasmk-home-section__mark { background: #059669; }

.tasmk-home-section.is-purple .tasmk-home-section__head { border-bottom-color: #7c3aed; }
.tasmk-home-section.is-purple .tasmk-home-section__mark { background: #7c3aed; }

.tasmk-home-section.is-gold   .tasmk-home-section__head { border-bottom-color: #d97706; }
.tasmk-home-section.is-gold   .tasmk-home-section__mark {
	background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
}

.tasmk-home-section.is-gray   .tasmk-home-section__head { border-bottom-color: #94a3b8; }
.tasmk-home-section.is-gray   .tasmk-home-section__mark { background: #94a3b8; }

/* Mobile — manji headeri */
@media (max-width: 600px) {
	.tasmk-home-section__title { font-size: 1.25rem; }
	.tasmk-home-section__mark { height: 22px; }
	.tasmk-home-section { margin-bottom: 1.75rem; }
}
