/* ===========================================================
   Portal lajmesh — stil kryesor
   =========================================================== */
:root {
    --navy: #0b1b33;
    --navy-2: #13294b;
    --red: #c8102e;
    --red-dark: #a00d25;
    --ink: #14161a;
    --body: #33383f;
    --muted: #6b7280;
    --line: #e3e6ea;
    --bg: #f2f4f7;
    --white: #fff;
    --cat: var(--red);
    --radius: 6px;
    --shadow: 0 1px 3px rgba(11,27,51,.08), 0 6px 20px rgba(11,27,51,.06);
    --shadow-lg: 0 10px 40px rgba(11,27,51,.16);
    --head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
    --text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Butona ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 4px; border: 1px solid transparent;
    font-weight: 700; font-family: var(--head); letter-spacing: .3px; cursor: pointer;
    transition: .18s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 7px 14px; font-size: .88rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d3e2; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-date { text-transform: capitalize; }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a:hover { color: #fff; }

/* ---------- Masthead ---------- */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 4px;
    background: var(--red); color: #fff; font-family: var(--head); font-size: 1.7rem; font-weight: 700;
}
.logo-text { font-family: var(--head); font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; text-transform: uppercase; letter-spacing: .5px; }
.logo-text small { display: block; font-family: var(--text); font-size: .72rem; font-weight: 400; letter-spacing: .4px; color: var(--muted); text-transform: none; margin-top: 4px; }
.masthead-ad { display: flex; justify-content: center; }
.masthead-ad:empty { display: none; }
.search-mini { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #f7f8fa; }
.search-mini input { border: 0; background: none; padding: 9px 14px; width: 170px; outline: none; font-size: .9rem; }
.search-mini button { border: 0; background: none; padding: 9px 14px; cursor: pointer; }

/* ---------- Menyja ---------- */
.mainnav { background: var(--navy); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.mainnav-inner { display: flex; align-items: center; gap: 10px; }
.mainnav ul { display: flex; flex-wrap: wrap; }
.mainnav a {
    display: block; padding: 14px 15px; color: #e8edf5; font-family: var(--head);
    font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
    border-bottom: 3px solid transparent;
}
.mainnav a:hover { background: rgba(255,255,255,.07); border-color: var(--cat, var(--red)); }
.mainnav a.active { background: rgba(255,255,255,.1); border-color: var(--cat, var(--red)); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; padding: 10px; cursor: pointer; }

/* ---------- Ticker ---------- */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker-label {
    flex-shrink: 0; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700;
    text-transform: uppercase; font-size: .82rem; letter-spacing: .6px; padding: 5px 12px; border-radius: 3px;
    animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
.ticker-mask { flex: 1; overflow: hidden; min-width: 0; }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: slide 45s linear infinite; width: max-content; }
.ticker-track a { font-weight: 600; color: var(--ink); font-size: .95rem; }
.ticker-track a:hover { color: var(--red); }
.ticker-inner:hover .ticker-track { animation-play-state: paused; }
.hero-side { align-content: start; }
.hero-side .news-card { height: 100%; }
.lead-img .thumb-fallback, .news-img .thumb-fallback { position: absolute; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-60%); } }

/* ---------- Struktura ---------- */
main { padding: 26px 0 50px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.content { min-width: 0; }
.page-head { padding: 6px 0 22px; border-bottom: 3px solid var(--navy); margin-bottom: 26px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.page-head-cat { border-color: var(--cat); }
.page-head-cat h1 { color: var(--cat); }

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; margin-bottom: 34px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.lead-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.lead-img { position: relative; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lead-card:hover .lead-img img { transform: scale(1.04); }
.lead-body { padding: 20px 22px 24px; }
.lead-body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 10px; }
.lead-card:hover h2 { color: var(--red); }
.lead-body p { color: var(--muted); margin-bottom: 10px; }

/* ---------- Kartelat ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.news-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.news-grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.news-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-img { position: relative; aspect-ratio: 16/10; background: var(--navy-2); overflow: hidden; display: grid; place-items: center; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-body h3 { font-size: 1.05rem; line-height: 1.3; }
.news-card:hover h3 { color: var(--red); }
.news-card.big .news-body h3 { font-size: 1.3rem; }
.news-card.compact .news-img { aspect-ratio: 16/9; }
.news-card.compact .news-body h3 { font-size: .98rem; }
.thumb-fallback { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.28); font-size: .95rem; }
.meta { color: var(--muted); font-size: .8rem; }
.pill-cat {
    position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--red); color: #fff;
    font-family: var(--head); font-size: .74rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; padding: 4px 10px; border-radius: 3px;
}
.pill-video { background: #111; }
.pill-breaking {
    position: absolute; top: 10px; right: 10px; background: #111; color: #fff; font-family: var(--head);
    font-size: .74rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
    animation: blink 1.6s infinite;
}

/* ---------- Blloqet ---------- */
.block { margin-bottom: 38px; }
.block-title {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    border-bottom: 2px solid var(--line); margin-bottom: 18px; padding-bottom: 0;
    font-size: 1.25rem; text-transform: uppercase;
}
.block-title span { background: var(--navy); color: #fff; padding: 7px 16px; border-radius: 3px 3px 0 0; }
.block-title-cat span { background: var(--cat); }
.block-more { font-family: var(--text); font-size: .85rem; font-weight: 600; color: var(--muted); }
.block-more:hover { color: var(--red); }
.cat-block { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.cat-rows { display: grid; gap: 4px; align-content: start; }
.news-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.news-row:last-child { border-bottom: 0; }
.news-row strong { display: block; font-family: var(--head); font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.news-row:hover strong { color: var(--red); }
.news-row .meta { display: block; margin-top: 3px; }
.row-num { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1; min-width: 26px; }

/* ---------- Anash ---------- */
.sidebar { display: grid; gap: 24px; align-content: start; }
.side-block { background: var(--white); border-radius: var(--radius); padding: 18px 18px 20px; box-shadow: var(--shadow); }
.side-block .block-title { font-size: 1.05rem; }
.rank-list .news-row { padding: 10px 0; }
.newsletter-box p { color: var(--muted); font-size: .92rem; }
.newsletter-form { display: grid; gap: 8px; }
.newsletter-form input { padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.sticky-ad { position: sticky; top: 74px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-chip { background: #eef1f5; color: var(--navy); font-size: .85rem; font-weight: 600; padding: 5px 11px; border-radius: 3px; }
.tag-chip:hover { background: var(--red); color: #fff; }

/* ---------- Lajmi ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.article { background: var(--white); border-radius: var(--radius); padding: 30px 34px 34px; box-shadow: var(--shadow); }
.article-head { position: relative; margin-bottom: 20px; }
.article-head .pill-cat, .article-head .pill-breaking { position: static; display: inline-block; margin: 0 6px 12px 0; }
.article-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.article-lead { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.article-hero { margin: 0 0 22px; }
.article-hero img { width: 100%; border-radius: 4px; }
.article-hero figcaption, .article-figure figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; font-style: italic; }
.article-body { font-size: 1.08rem; line-height: 1.85; }
.article-body p { margin-bottom: 1.1em; }
.article-body h2 { font-size: 1.5rem; margin: 30px 0 12px; scroll-margin-top: 80px; }
.article-body ul { list-style: disc; margin: 0 0 1.2em 22px; }
.article-body li { margin-bottom: .5em; }
.article-body a { color: var(--red); font-weight: 600; text-decoration: underline; }
.article-body blockquote {
    margin: 24px 0; padding: 16px 22px; background: #f7f9fc; border-left: 4px solid var(--cat);
    font-size: 1.12rem; font-style: italic; color: var(--ink);
}
.article-figure { margin: 26px 0; }
.article-figure img { border-radius: 4px; }
.inline-video { margin: 26px 0; }
.video-embed { position: relative; padding-top: 56.25%; background: #000; border-radius: 4px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { text-align: center; font-size: .88rem; color: var(--muted); font-style: italic; margin-top: 8px; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; font-size: .9rem; }
.share-row > span { color: var(--muted); font-weight: 600; }
.sh { padding: 7px 14px; border-radius: 3px; color: #fff; font-weight: 600; font-size: .85rem; border: 0; cursor: pointer; }
.sh-fb { background: #1877f2; }
.sh-wa { background: #25d366; }
.sh-x { background: #111; }
.sh-copy { background: #6b7280; }
.sh:hover { opacity: .9; }
.article-tags { margin: 24px 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.post-nav a { display: grid; gap: 5px; padding: 14px 16px; background: #f7f9fc; border-radius: 4px; }
.post-nav a:hover { background: #eef2f8; }
.post-nav span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.post-nav strong { font-family: var(--head); font-size: 1rem; color: var(--ink); line-height: 1.3; }
.post-nav .next { text-align: right; }

/* ---------- Faqe statike / forma ---------- */
.static-page { background: var(--white); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); font-size: 1.05rem; line-height: 1.8; }
.static-page h2 { font-size: 1.35rem; margin: 26px 0 10px; }
.static-page ul { list-style: disc; margin: 0 0 1.2em 22px; }
.static-page li { margin-bottom: .45em; }
.static-page a { color: var(--red); font-weight: 600; }
.ad-formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 18px 0 26px; }
.ad-formats > div { background: #f7f9fc; border-radius: 4px; padding: 16px 18px; }
.ad-formats h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ad-formats p { margin: 0; font-size: .92rem; color: var(--muted); }
.form-box { background: var(--white); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form-box label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-box input, .form-box select, .form-box textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-weight: 400; }
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: none; border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { font-size: .92rem; color: var(--muted); }
.contact-card a { color: var(--red); font-weight: 600; }
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 18px; }
.alert-ok { background: #e9f7ee; border: 1px solid #b9e3c8; color: #17693b; }
.alert-err { background: #fdeeee; border: 1px solid #f3c3c3; color: #9c2323; }
.empty-state { background: var(--white); border-radius: var(--radius); padding: 50px 30px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }
.center-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.err-head { text-align: center; border: 0; }
.err-code { font-family: var(--head); font-size: 5rem; color: var(--red); line-height: 1; display: block; }
.search-big { display: flex; gap: 10px; margin: 14px 0; }
.search-big input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.search-big input:focus { outline: none; border-color: var(--red); }

/* ---------- Faqosja ---------- */
.pager { display: flex; gap: 6px; justify-content: center; margin: 30px 0 10px; flex-wrap: wrap; }
.pager a { padding: 9px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-weight: 600; color: var(--ink); }
.pager a:hover, .pager a.active { background: var(--red); border-color: var(--red); color: #fff; }
.pager .gap { padding: 9px 4px; color: var(--muted); }

/* ---------- Reklamat ---------- */
.ad-box { margin: 22px 0; text-align: center; }
.ad-box .ad-label { display: block; font-size: .68rem; letter-spacing: 1.4px; color: #9aa3af; text-transform: uppercase; margin-bottom: 5px; }
.ad-inner { display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ad-header { margin: 0; }
.ad-under_nav { margin: 14px 0 0; }
.ad-sidebar_top, .ad-sidebar_bottom { margin: 0; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.ad-in_article { margin: 26px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-ad { grid-column: 1 / -1; }
.ad-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line); padding: 6px 8px; display: flex; justify-content: center;
    box-shadow: 0 -2px 14px rgba(0,0,0,.1);
}
.ad-sticky-close {
    position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border-radius: 4px 4px 0 0;
    border: 1px solid var(--line); border-bottom: 0; background: #fff; cursor: pointer; font-size: .8rem; color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c2cddd; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 44px 0 34px; }
.footer-grid h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-logo .logo-text { color: #fff; }
.footer-about { font-size: .92rem; margin: 14px 0; }
.footer-social { display: flex; gap: 14px; font-size: .9rem; }
.footer-mail { margin-top: 14px; }
.footer-mail a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-note { color: #8d9cb3; }

/* ---------- Cookie + lart ---------- */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px;
    display: none; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap;
}
.cookie-banner.active { display: flex; }
.cookie-banner p { margin: 0; font-size: .92rem; }
.cookie-banner a { color: var(--red); font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; }
.to-top {
    position: fixed; right: 18px; bottom: 80px; z-index: 70; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); display: grid; }
    .sticky-ad { position: static; }
}
@media (max-width: 900px) {
    .masthead-inner { grid-template-columns: 1fr auto; }
    .masthead-ad { grid-column: 1 / -1; order: 3; }
    .hero-grid { grid-template-columns: 1fr; }
    .cat-block { grid-template-columns: 1fr; }
    .article { padding: 22px 20px 26px; }
    .static-page { padding: 22px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 680px) {
    .topbar-links { display: none; }
    .nav-toggle { display: block; }
    .mainnav ul { display: none; width: 100%; flex-direction: column; padding-bottom: 8px; }
    .mainnav ul.open { display: flex; }
    .mainnav a { padding: 11px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .search-mini input { width: 120px; }
    .hero-side { grid-template-columns: 1fr; }
    .news-grid, .news-grid-3, .news-grid-4 { grid-template-columns: 1fr; }
    .post-nav, .form-row { grid-template-columns: 1fr; }
    .post-nav .next { text-align: left; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-body { font-size: 1.04rem; }
    body.has-sticky-ad { padding-bottom: 70px; }
}
