/* ===== Prishtina News — stili i faqes ===== */
:root {
  --red: #c8102e;
  --red-dark: #9e0b23;
  --ink: #121418;
  --ink-2: #3a3f47;
  --muted: #6b717b;
  --line: #e6e3de;
  --bg: #f7f5f2;
  --card: #ffffff;
  --radius: 10px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---- Topbar ---- */
.topbar { background: var(--ink); color: #cfd3da; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .social { display: flex; gap: 16px; }
.topbar a:hover { color: #fff; }

/* ---- Masthead ---- */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 20px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 26px/1 var(--serif); }
.logo-text { font: 800 26px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.logo-text b { color: var(--red); font-weight: 800; margin-left: 3px; }
.logo-light .logo-text { color: #fff; }
.search { margin-left: auto; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; width: 300px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.search input { flex: 1; border: 0; background: none; outline: none; font: inherit; font-size: 14px; min-width: 0; }
.search button { border: 0; background: var(--ink); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.menu-btn { display: none; }

/* ---- Navigation ---- */
.mainnav { background: #fff; border-bottom: 3px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.mainnav a { padding: 14px 14px 12px; font-weight: 700; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; color: var(--ink-2); }
.mainnav a:hover { color: var(--red); }
.mainnav a.active { color: var(--red); border-bottom-color: var(--red); }

/* ---- Ticker ---- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; height: 42px; gap: 14px; overflow: hidden; }
.ticker-label { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 4px; flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: tick 50s linear infinite; font-size: 14px; font-weight: 500; }
.ticker-move a::before { content: "●"; color: var(--red); font-size: 9px; margin-right: 10px; vertical-align: 2px; }
.ticker-move a:hover { color: var(--red); }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

main { padding-bottom: 48px; }

/* ---- Ads ---- */
.ad { margin: 22px auto; text-align: center; }
.ad-label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #a1a6ae; margin-bottom: 4px; }
.ad-slot { display: flex; justify-content: center; }
.ad-placeholder { margin: 0 auto; display: grid; place-items: center; gap: 2px; border: 1.5px dashed #cfcac2; border-radius: 8px; background: repeating-linear-gradient(45deg, #f1eee9, #f1eee9 10px, #f6f4f0 10px, #f6f4f0 20px); color: #8b9099; font-size: 13px; }
.ad-placeholder small { font-size: 11px; }
.ad-top .ad-placeholder, .ad-feed .ad-placeholder { max-width: 970px; height: 90px; }
.ad-sidebar .ad-placeholder { width: 300px; height: 600px; max-width: 100%; }
.ad-in_article .ad-placeholder { width: 336px; height: 280px; max-width: 100%; }
.ad-inline { padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0; }
.ad-top .ad-slot { min-height: 90px; }

/* ---- Cards ---- */
.tag { display: inline-block; color: var(--red); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.tag:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: 12.5px; }
.card-title { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; line-height: 1.22; }
.card-title a:hover { color: var(--red); }
.card-img { display: block; overflow: hidden; background: #ddd; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }

.card-lead, .card-over { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; height: 100%; }
.card-lead .card-img, .card-over .card-img { position: absolute; inset: 0; }
.card-lead::after, .card-over::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); pointer-events: none; }
.card-lead .card-body, .card-over .card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; }
.card-lead .tag, .card-over .tag { background: var(--red); color: #fff; padding: 3px 8px; border-radius: 3px; }
.card-lead .card-title { font-size: clamp(24px, 3vw, 38px); }
.card-lead .card-ex { color: rgba(255,255,255,.85); margin: 0 0 8px; max-width: 640px; }
.card-over .card-body { padding: 16px; }
.card-over .card-title { font-size: 17px; }
.card-lead .meta, .card-over .meta { color: rgba(255,255,255,.75); }
.card-lead .card-title a:hover, .card-over .card-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.content > .card-lead { min-height: 420px; margin-bottom: 24px; }

.card-row { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.card-row:first-child { padding-top: 4px; }
.card-row .card-img { aspect-ratio: 16/10; border-radius: 8px; }
.card-row .card-title { font-size: 21px; }
.card-row .card-ex { color: var(--ink-2); margin: 0 0 8px; font-size: 15px; }

.card-grid { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04); }
.card-grid .card-img { aspect-ratio: 16/10; }
.card-grid .card-body { padding: 14px 16px 16px; }
.card-grid .card-title { font-size: 18px; }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin: 6px 0 36px; }
.hero-lead { min-height: 520px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-side .card-over { min-height: 250px; }

/* ---- Layout ---- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.section-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.section-head h2 { font: 800 22px/1 var(--serif); margin: 0; padding: 10px 0; position: relative; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--red); }
.section-head h2 a:hover { color: var(--red); }
.section-head .more { font-size: 13px; font-weight: 700; color: var(--red); }
.live-dot { font-size: 12px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,.5); } 70% { box-shadow: 0 0 0 8px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }

.cat-block { margin-top: 44px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---- Sidebar ---- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.box { background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.box-title { font: 800 18px/1.2 var(--serif); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.popular { list-style: none; margin: 0; padding: 0; }
.popular li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.popular li:last-child { border-bottom: 0; padding-bottom: 0; }
.popular .num { font: 800 30px/1 var(--serif); color: var(--red); min-width: 24px; opacity: .9; }
.popular a { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; margin-bottom: 3px; }
.popular a:hover { color: var(--red); }
.sticky-ad { position: sticky; top: 64px; }
.sticky-ad .ad { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.chips a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- Page header ---- */
.page-head { padding: 22px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-kicker { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.page-head h1 { font: 800 clamp(32px, 5vw, 52px)/1.05 var(--serif); margin: 6px 0; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted); }
.search-big { width: 100%; max-width: 560px; margin-top: 18px; background: #fff; padding: 6px 6px 6px 20px; }
.search-big input { font-size: 16px; }
.search-big button { width: auto; border-radius: 999px; padding: 0 22px; height: 42px; font-weight: 700; }

/* ---- Article ---- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); width: 0; z-index: 100; }
.article { background: var(--card); border-radius: var(--radius); padding: 32px 40px 40px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--red); font-weight: 600; }
.article-title { font: 800 clamp(28px, 4.2vw, 44px)/1.12 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; }
.article-lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; font-weight: 500; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; font-size: 13.5px; color: var(--muted); }
.article-meta > div:first-child { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article-meta strong { color: var(--ink); }
.share { display: flex; gap: 6px; }
.share a, .share button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; border: 0; cursor: pointer; font-family: inherit; }
.sh-fb { background: #1877f2; } .sh-wa { background: #25d366; } .sh-x { background: #111; } .sh-vb { background: #7360f2; }
.sh-copy { background: var(--bg) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.sh-copy.done { background: #e7f7ec !important; color: #157a3a !important; }
.article-figure { margin: 0 -40px 26px; }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; }
.article-figure figcaption { padding: 8px 40px 0; font-size: 13px; color: var(--muted); }
.article-body { font: 19px/1.75 var(--serif); color: #1d2026; max-width: 720px; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font: 800 26px/1.25 var(--serif); margin: 1.6em 0 .6em; }
.article-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-style: italic; font-size: 22px; color: var(--ink-2); }
.article-body a { color: var(--red); text-decoration: underline; word-break: break-word; }
.article-body .ad { margin: 30px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tag-lg { font-size: 13px; }
.btn-edit { background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.related { margin-top: 36px; }
.notice { background: #fff6d6; border: 1px solid #f0d77a; padding: 12px 16px; border-radius: 8px; margin: 16px 0; }

/* ---- Misc ---- */
.empty { text-align: center; padding: 80px 20px; background: #fff; border-radius: var(--radius); margin: 30px 0; }
.empty h2 { font-family: var(--serif); margin: 0 0 6px; }
.empty a { color: var(--red); font-weight: 600; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 10px; font-size: 14px; color: var(--muted); }
.pager a { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.pager a:hover { background: var(--red); }

/* ---- Footer ---- */
.footer { background: var(--ink); color: #b9bec7; padding: 48px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 4px 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-about { max-width: 360px; margin-top: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links.cols2 { grid-template-columns: 1fr 1fr; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #2b2f36; margin-top: 36px; padding: 18px 20px; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .sticky-ad { position: static; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-lead { min-height: 420px; }
  .menu-btn { display: block; }
  .masthead-in { height: 64px; gap: 10px; }
  .search { width: 44px; padding: 4px; border-color: transparent; background: none; }
  .search input { display: none; }
  .search:focus-within { width: 100%; position: absolute; left: 12px; right: 12px; background: #fff; padding-left: 14px; border-color: var(--red); z-index: 60; }
  .search:focus-within input { display: block; }
  .masthead-in { position: relative; }
  .logo-mark { width: 36px; height: 36px; font-size: 22px; }
  .logo-text { font-size: 21px; }
  .mainnav a { padding: 12px 11px 10px; font-size: 14px; }
  .mainnav.open .nav-in { flex-direction: column; padding: 6px 20px 12px; }
  .mainnav.open a { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 13px 0; font-size: 16px; }
  .article { padding: 22px 18px 28px; border-radius: 0; margin: 0 -20px; }
  .article-figure { margin: 0 -18px 22px; }
  .article-figure figcaption { padding: 8px 18px 0; }
  .article-body { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .topbar .social { display: none; }
  .hero-side { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero-side .card-over { min-height: 220px; }
  .hero-lead { min-height: 360px; }
  .card-lead .card-body { padding: 18px; }
  .card-row { grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; }
  .card-row .card-title { font-size: 16.5px; }
  .card-row .card-ex { display: none; }
  .card-row .tag { font-size: 10.5px; margin-bottom: 3px; }
  .grid4, .grid2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-grid .card-body { padding: 10px 12px 12px; }
  .card-grid .card-title { font-size: 15px; }
  .sidebar { grid-template-columns: 1fr; }
  .ad-top .ad-placeholder, .ad-feed .ad-placeholder { max-width: 320px; height: 100px; }
  .ad-sidebar .ad-placeholder { height: 250px; }
  .ad-in_article .ad-placeholder { width: 300px; height: 250px; }
  .article { margin: 0 -14px; }
  .share a.sh-x, .share a.sh-vb { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
