/*
Theme Name: Plava e Gucia Sot
Theme URI: https://plavaeguciasot.com/
Author: Plava e Gucia Sot
Description: Temë gazetareske për portalin Plava e Gucia Sot: lajmi kryesor, rubrikat, opinionet dhe njoftimet e komunitetit. Përshtatet për celular dhe për pamjen e errët.
Version: 1.10.1
Requires at least: 5.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plava-e-gucia-sot
*/
:root {
  --paper: #f6f6f7;
  --card: #ffffff;
  --ink: #0d0d0f;
  --muted: #5d5f66;
  --rule: #e2e2e6;
  --accent: #d71920;      /* e kuqja e flamurit */
  --nav-bg: #0d0d0f;      /* e zeza e flamurit */
  --nav-ink: #ffffff;
  --accent-ink: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d0d0f;
    --card: #17171a;
    --ink: #f3f3f4;
    --muted: #a1a1aa;
    --rule: #2a2a2f;
    --accent: #ff4a4d;
    --accent-ink: #0d0d0f;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.plain { list-style: none; margin: 0; padding: 0; }

/* ---------- Shiriti i sipërm ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 36px; }
.ticker-label {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px;
  padding: 3px 8px; flex: none;
}
.ticker { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); }
/* Shiriti rrëshqitës: lista përsëritet dy herë dhe zhvendoset -50% për një lak pa ndërprerje */
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker a { flex: none; padding-right: 44px; position: relative; }
.ticker a::after { content: ""; position: absolute; right: 19px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker a:hover { color: inherit; text-decoration: underline; }
.today { flex: none; opacity: .75; }

/* ---------- Koka ---------- */
.masthead { text-align: center; padding: 28px 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { color: inherit; }
.brand-mark { width: 56px; height: 35px; color: var(--accent); flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(2rem, 6vw, 3.6rem);
}
.brand-name em, .footer-brand em { color: var(--accent); font-style: italic; }
.tagline { margin: 10px 0 0; color: var(--muted); font-family: var(--serif); font-style: italic; }

/* ---------- Navigimi ---------- */
.navbar {
  position: sticky; top: 0; z-index: 5;
  background: var(--nav-bg); color: var(--nav-ink);
  border-bottom: 3px solid var(--accent);
}
.navbar-inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
#nav { display: flex; flex-wrap: wrap; flex: 1; }
#nav a {
  font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
  padding: 14px 14px; color: var(--nav-ink);
}
#nav a:hover { background: rgba(255,255,255,.12); color: var(--nav-ink); }
#nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.menu-toggle { display: none; }
.search input {
  width: 190px; padding: 7px 12px; font: inherit; font-size: 14px;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--rule); border-radius: 999px;
}

/* ---------- Elementët e përbashkët ---------- */
main.wrap { padding-top: 28px; padding-bottom: 48px; }

.section-title {
  margin: 0 0 16px; padding-top: 10px;
  border-top: 3px solid var(--ink);
  font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .1em;
}

.meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 11.5px; }
.author { font-style: italic; }

.headline { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.22; font-size: 1.15rem; text-wrap: balance; }
.deck { margin: 10px 0 0; color: var(--muted); font-family: var(--serif); font-size: 1.1rem; }

/* Vendmbajtës për fotot derisa të lidhen fotot reale */
.thumb {
  aspect-ratio: 16 / 9; border-radius: 2px; margin-bottom: 12px;
  background:
    linear-gradient(to top, rgba(0,0,0,.28), transparent 60%),
    conic-gradient(from 200deg at 62% 100%, transparent 0 62deg, rgba(255,255,255,.16) 62deg 98deg, transparent 98deg),
    conic-gradient(from 205deg at 28% 100%, transparent 0 60deg, rgba(255,255,255,.1) 60deg 95deg, transparent 95deg),
    linear-gradient(160deg, var(--t1), var(--t2));
}
.thumb--lajmet { --t1: #d71920; --t2: #2a0607; }
.thumb--intelektuale { --t1: #3d3d44; --t2: #0d0d0f; }
.thumb--opinione { --t1: #8a1014; --t2: #0d0d0f; }
.thumb--njoftime { --t1: #6b6b73; --t2: #232327; }

/* ---------- Kryesoret ---------- */
.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
.card--lead .headline { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; }
.card--lead .thumb { aspect-ratio: 16 / 8; }
.lead-side { border-left: 1px solid var(--rule); padding-left: 32px; }
.lead-side .card { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.lead-side .card:first-child { padding-top: 0; }
.lead-side .card:last-child { border-bottom: 0; }

/* ---------- Kolonat ---------- */
.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 24px; }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.sidebar { display: grid; gap: 32px; align-content: start; }
.sidebar .section-title a:hover { color: var(--accent); }
.sidebar li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar .headline { font-size: 1.02rem; margin-bottom: 4px; }
.sidebar .meta { margin: 0; }

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
.numbered li::before {
  content: counter(n); grid-row: span 2;
  font: italic 700 1.7rem/1 var(--serif); color: var(--accent);
}
.numbered li > * { grid-column: 2; }

.notices { background: var(--card); border: 1px solid var(--rule); padding: 0 16px 6px; }
.notices .section-title { border-top-color: var(--accent); margin-bottom: 4px; }

/* ---------- Për ne ---------- */
.about { margin-top: 48px; max-width: 760px; scroll-margin-top: 70px; }
.about blockquote {
  margin: 0 0 16px; padding-left: 18px; border-left: 3px solid var(--accent);
  font: italic 1.45rem/1.35 var(--serif); text-wrap: balance;
}
.about p { color: var(--muted); }
.more { color: var(--accent); font-weight: 600; }
.more::after { content: " →"; }

/* ---------- Lista ---------- */
.list-head { border-bottom: 3px double var(--ink); margin-bottom: 24px; padding-bottom: 12px; }
.list-head h1 { margin: 0 0 4px; font: 700 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--serif); }
.empty { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }

/* ---------- Fundi ---------- */
.footer { background: var(--ink); color: var(--paper); border-top: 4px solid var(--accent); padding: 40px 0 0; font-size: 14px; scroll-margin-top: 60px; }
.footer a:hover { color: inherit; text-decoration: underline; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand { margin: 0 0 6px; font: 700 1.6rem/1 var(--serif); }
.footer-brand em { color: #ff4a4d; }
.footer h2 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.footer li { padding: 3px 0; }
.footer p { margin: 0; opacity: .8; }
.copyright { border-top: 1px solid rgba(128,128,128,.35); padding-top: 14px; padding-bottom: 18px; opacity: .7; font-size: 13px; }

@media (prefers-color-scheme: dark) {
  .footer { background: #000; color: var(--ink); }
  .topbar { background: #000; color: var(--ink); }
}

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .front, .columns { grid-template-columns: 1fr; }
  .lead-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .today { display: none; }
  .tagline { font-size: 14px; }
  .brand-mark { width: 40px; height: 25px; }

  .navbar-inner { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .menu-toggle {
    display: block; font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .05em;
    color: var(--nav-ink); background: none; border: 1px solid rgba(255,255,255,.6); padding: 7px 12px; cursor: pointer;
  }
  .search { flex: 1; }
  .search input { width: 100%; }
  #nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; }
  #nav.open { display: flex; }
  #nav a { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ==========================================================
   Shtesat për WordPress
   ========================================================== */

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
img { max-width: 100%; height: auto; }

/* Menyja e WordPress-it (ul > li > a) sillet si lista e thjeshtë e lidhjeve */
#nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
#nav li { display: contents; }
#nav .current-menu-item > a,
#nav .current-cat > a,
#nav .current-category-ancestor > a { background: var(--accent); color: #fff; }

.brand-logo { width: auto; height: 64px; flex: none; }
a.kicker:hover { text-decoration: underline; }

/* Fotot e artikujve */
:where(.thumb) { --t1: #d71920; --t2: #2a0607; }
a.thumb { display: block; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.category-opinione .thumb { --t1: #8a1014; --t2: #0d0d0f; }
.category-njoftime .thumb { --t1: #6b6b73; --t2: #232327; }
.category-bota-intelektuale .thumb { --t1: #3d3d44; --t2: #0d0d0f; }

.more-wrap { margin: 28px 0 0; }

/* Donacionet (Pamja → Customize → Donacionet) */
.donate { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 16px; text-align: center; }
.donate h2 { margin: 0 0 6px; font: 700 1.2rem/1.25 var(--serif); }
.donate p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.donate-btn {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  background: #ffc439; color: #111; font-weight: 700; font-size: 15px;
}
.donate-btn:hover { background: #f2b21f; color: #111; }
/* Shkëlqim që kalon nëpër buton çdo pak sekonda, për ta bërë më të dukshëm */
.donate-btn { position: relative; overflow: hidden; }
.donate-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg);
}
@media (prefers-reduced-motion: no-preference) {
  .donate-btn::after { animation: pegs-shine 3.5s ease-in-out infinite; }
}
@keyframes pegs-shine { 0%, 60% { left: -60%; } 100% { left: 120%; } }
.entry + .donate { max-width: 760px; margin: 36px auto 0; }

/* Reklamat (Pamja → Widgets) */
.ad { display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; }
.ad img, .ad iframe { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.ad > * { max-width: 100%; }
.ad p { margin: 0; }
.ad-label { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ad-item + .ad-item { margin-top: 12px; }
.ad--top { margin-bottom: 28px; }
/* Reklamat sipër dhe poshtë zgjerohen sa gjithë faqosja */
.ad--top, .ad--bottom { justify-items: stretch; }
.ad--top img, .ad--bottom img { width: 100%; }
.lead-side .ad { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
/* Fotoja mbush gjerësinë e kolonës dhe pritet në 260 px lartësi */
.lead-side .ad { justify-items: stretch; }
.lead-side .ad img { width: 100%; height: 260px; object-fit: cover; }
.ad--bottom { margin-top: 44px; }
.entry + .ad--bottom { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Ndërruesi i gjuhës (SQ / EN) */
.lang-switch { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex: none; }
.lang-switch a { display: block; padding: 2px 7px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.lang-switch a:hover { opacity: 1; color: inherit; }
.lang-switch .current-lang a { opacity: 1; background: var(--accent); color: var(--accent-ink); }
.footer .cat-item { padding: 3px 0; }

/* ---------- Artikulli ---------- */
.entry { max-width: 760px; margin: 0 auto; }
.entry-head { margin-bottom: 20px; }
.entry-title { margin: 0; font: 700 clamp(1.8rem, 4.5vw, 2.8rem)/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.entry-image { margin: 0 0 24px; }
.entry-image img { display: block; width: 100%; }
.entry-image figcaption, .wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.entry-content { font-family: var(--serif); font-size: 1.16rem; line-height: 1.72; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--serif); line-height: 1.25; margin-top: 1.6em; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding-left: 18px; border-left: 3px solid var(--accent); font-style: italic; }
.entry-content figure { margin-left: 0; margin-right: 0; max-width: 100%; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; font: 15px/1.4 var(--sans); }
.entry-content th, .entry-content td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; }
.entry-content .alignleft { float: left; margin: 4px 20px 12px 0; }
.entry-content .alignright { float: right; margin: 4px 0 12px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content::after { content: ""; display: block; clear: both; }

.entry-tags a {
  display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px;
  border: 1px solid var(--rule); border-radius: 999px; font-size: 13px;
}

/* ---------- Rrëshqitësi i ballinës (5 lajmet e fundit) ---------- */
.slider { min-width: 0; }
.slider-track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--muted); opacity: .4; cursor: pointer; transition: width .25s ease, opacity .25s ease; }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--accent); opacity: 1; }
.slider-arrows { display: flex; gap: 6px; }
.slider-arrows button { width: 38px; height: 38px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.slider-arrows button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Faqja e artikullit: teksti majtas, shiriti anësor djathtas ---------- */
.front--article .entry,
.front--article .post-navigation,
.front--article .comments,
.front--article .entry + .ad--bottom { max-width: none; margin-left: 0; margin-right: 0; }
.front--article .lead-side .section-title { margin-bottom: 14px; }
@media (max-width: 860px) {
  .front--article .front-main > * { order: 1; }
}

/* ---------- Artikujt e vegjël në shiritin anësor (foto + titull + datë) ---------- */
.mini { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.mini[hidden] { display: none; }
.mini:last-child { border-bottom: 0; }
.mini--noimg { grid-template-columns: minmax(0, 1fr); }
.mini-thumb { display: block; overflow: hidden; }
.mini-thumb img { display: block; width: 88px; height: 66px; object-fit: cover; }
.mini .headline { margin: 0 0 4px; font-size: 1rem; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.mini-text { margin: 0 0 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.mini .meta { margin: 0; }
.rail-more .section-title { margin-bottom: 4px; }
@media (max-width: 860px) {
  .rail-more { display: none; }
}

/* ---------- Donacioni: kuti e theksuar në krye të shiritit anësor ---------- */
.lead-side .donate {
  margin: 0 0 22px; padding: 22px 20px 24px; border: 0; border-radius: 4px;
  background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.lead-side .donate h2 { font-size: 1.5rem; margin-bottom: 8px; color: #fff; }
.lead-side .donate p { font-size: 15px; color: rgba(255,255,255,.92); margin-bottom: 16px; }
.lead-side .donate .donate-btn { display: block; padding: 14px 20px; font-size: 17px; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.front--article .front-main .latest { margin-top: 44px; }

/* ---------- Shpërndarja e artikullit ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); }
.share-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn { font: 700 13px var(--sans); color: #fff; background: #333; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.share-btn:hover { color: #fff; opacity: .88; }
.share-btn--facebook { background: #1877f2; }
.share-btn--whatsapp { background: #128c7e; }
.share-btn--viber { background: #7360f2; }
.share-btn--x { background: #000; }
.share-btn--copy { background: none; color: var(--ink); border: 1px solid var(--rule); }
.share-btn--copy:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Navigimi mes artikujve dhe faqeve ---------- */
.post-navigation, .comments { max-width: 760px; margin: 40px auto 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 3px solid var(--ink); padding-top: 14px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.nav-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.nav-title { font: 700 1.05rem/1.25 var(--serif); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 7px 13px; border: 1px solid var(--rule); background: var(--card); font-size: 14px; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-numbers.dots { border: 0; background: none; }

/* ---------- Komentet ---------- */
.comment-list, .comment-list ol { list-style: none; margin: 0; padding: 0; }
.comment-list ol { padding-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-size: 13px; color: var(--muted); }
.comment-respond { margin-top: 28px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 9px 12px; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--rule);
}
.comment-form input[type="submit"], .wp-block-button__link, .entry-content input[type="submit"], .entry-content button {
  font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent-ink); background: var(--accent); border: 0; padding: 11px 20px; cursor: pointer;
}

@media (max-width: 860px) {
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: 1; text-align: left; }
  .entry-content { font-size: 1.08rem; }
}

/* ---------- Koka: logo majtas, reklama djathtas (nga vija sipër te vija poshtë) ---------- */
.masthead { padding: 0; }
.masthead-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 32px; text-align: left; }
.masthead-brand { flex: none; align-self: center; padding: 28px 0 20px; }
.masthead-brand:only-child { margin: 0 auto; text-align: center; }
.masthead .ad { display: flex; flex: 1; min-width: 0; max-width: 620px; margin: 0 0 0 auto; }
.masthead .ad-label { display: none; }
.head-promo {
  flex: 1; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding-right: 22px; overflow: hidden; text-align: left; color: #fff;
  background: linear-gradient(110deg, #070B16, #1E293B); font-family: "Outfit", var(--sans);
}
.head-promo { min-height: 108px; }
.head-promo:hover { color: #fff; }
.head-promo-img { position: relative; align-self: stretch; }
.head-promo-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; margin: 0; }
.head-promo-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.head-promo-name { align-self: flex-start; font-size: 1.5rem; font-weight: 800; letter-spacing: .05em; line-height: 1; padding-bottom: 5px; border-bottom: 3px solid #10B981; border-image: linear-gradient(90deg, #10B981 62%, #F59E0B 62%) 1; }
.head-promo-line { font-size: 1.05rem; font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-promo-games { font-size: 12.5px; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-promo .promo-cta { margin-top: 0; font-size: 15px; padding: 8px 20px; white-space: nowrap; }
.head-promo:hover .promo-cta { background: #34d399; }
@media (max-width: 1000px) {
  .masthead-inner { flex-direction: column; text-align: center; gap: 0; }
  .masthead-brand { padding: 22px 0 16px; }
  .masthead .ad { max-width: 100%; width: 100%; margin: 0; }
  .head-promo { min-height: 84px; }
}
@media (max-width: 520px) {
  .head-promo { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; padding-right: 12px; }
  .head-promo-name { font-size: 1.1rem; }
  .head-promo-line { font-size: .82rem; line-height: 1.25; margin-top: 2px; }
  .head-promo-text { padding: 12px 0; }
  .head-promo-games { display: none; }
  .head-promo .promo-cta { font-size: 13px; padding: 7px 12px; }
}

/* Widget-et brenda kokës: paneli (Custom HTML) shtrihet nga vija sipër te vija poshtë;
   një foto e thjeshtë (widget Image) qëndron në mes, në përmasat e veta. */
.masthead .ad-item, .masthead .ad-item .textwidget { display: flex; flex: 1; min-width: 0; align-items: center; }
.masthead .ad-item:has(.head-promo), .masthead .ad-item .textwidget:has(.head-promo) { align-items: stretch; }
.masthead .ad-item figure { margin: 0; flex: 1; }

/* ---------- Panelet e gatshme të reklamave (Custom HTML) ---------- */
/* Paneli i gjerë i Degergjik (ngjyrat e markës: #070B16, #10B981, #F59E0B, #1E293B) */
.promo {
  display: grid; grid-template-columns: 340px 1fr; width: 100%; height: 250px; overflow: hidden;
  text-align: left; color: #fff; background: linear-gradient(110deg, #070B16, #1E293B); border-radius: 4px;
}
.promo:hover { color: #fff; }
.promo img { width: 100%; height: 250px; object-fit: cover; object-position: 50% 45%; margin: 0; max-width: none; }
.promo-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 36px; font-family: "Outfit", var(--sans); }
.promo-name { font-size: 2.2rem; font-weight: 800; letter-spacing: .05em; line-height: 1; padding-bottom: 8px; border-bottom: 3px solid #10B981; border-image: linear-gradient(90deg, #10B981 62%, #F59E0B 62%) 1; }
.promo-line { font-size: 1.45rem; font-weight: 600; margin-top: 6px; }
.promo-games { font-size: 14px; color: #cbd5e1; }
.promo-cta { margin-top: 10px; background: #10B981; color: #070B16; font-weight: 800; font-size: 17px; padding: 9px 28px; border-radius: 999px; }
.promo:hover .promo-cta { background: #34d399; }
@media (max-width: 640px) {
  .promo { grid-template-columns: 120px 1fr; height: 210px; }
  .promo img { height: 210px; }
  .promo-text { padding: 0 16px; }
  .promo-name { font-size: 1.4rem; }
  .promo-line { font-size: 1.05rem; }
  .promo-games { display: none; }
}

/* Reklama anash me foto që mbush kolonën */
.ad-fill { flex: 1; position: relative; display: block; min-height: 250px; overflow: hidden; border-radius: 2px; background: #070B16; }
.ad-fill img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 52%; }
.ad-fill-caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 28px 14px 12px; color: #fff; text-align: left;
  background: linear-gradient(to top, rgba(7,11,22,.95) 35%, transparent);
}
.ad-fill-caption strong { font: 800 1.15rem/1 "Outfit", var(--sans); letter-spacing: .05em; }
.ad-fill-caption span { background: #10B981; color: #070B16; font-weight: 800; font-size: 14px; padding: 6px 16px; border-radius: 999px; }
.lead-side .ad .ad-fill { min-height: 260px; }
.lead-side .ad .ad-fill img { height: 100%; }

/* ---------- Donacioni: butoni te menyja + kutia pranë lajmit kryesor ---------- */
.nav-donate {
  flex: none; padding: 7px 18px; border-radius: 999px;
  background: #ffc439; color: #111; font: 700 14px var(--sans); text-transform: uppercase; letter-spacing: .04em;
}
.nav-donate:hover { background: #f2b21f; color: #111; }
@media (min-width: 861px) {
  #nav a { padding-left: 9px; padding-right: 9px; font-size: 13.5px; letter-spacing: .03em; }
  .search input { width: 130px; }
  .navbar-inner { gap: 10px; }
}

/* ---------- Ballina: lajmi kryesor + Lajme tjera majtas, shiriti anësor djathtas ---------- */
.front { margin-bottom: 0; }
.front-main { min-width: 0; }
.front-main .latest { margin-top: 36px; }
.front-rail { min-width: 0; display: grid; gap: 32px; align-content: start; border-left: 1px solid var(--rule); padding-left: 32px; }
.front-rail .lead-side { border-left: 0; padding-left: 0; }
.excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.read-more { display: inline-block; margin-top: 10px; font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.read-more::after { content: " \2192"; }
.read-more:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .front { display: flex; flex-direction: column; gap: 28px; }
  .front-main, .front-rail { display: contents; }
  #lead, .front-main > div:first-child { order: 1; }
  .front-rail .lead-side { order: 2; border-top: 1px solid var(--rule); padding-top: 16px; }
  .front-main .latest { order: 3; margin-top: 0; }
  .front-rail .sidebar { order: 4; }
}

/* ---------- Ikonat e shpërndarjes ---------- */
.share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.share-btn{display:inline-flex!important;align-items:center;gap:7px;line-height:1}
.share-btn::before{content:"";flex:0 0 auto;width:16px;height:16px;background-color:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.share-btn--facebook{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'%23000'%3E%3Cpath%20d%3D'M14%208h3V4h-3c-2.8%200-5%202.2-5%205v2H7v4h2v9h4v-9h3l1-4h-4V9c0-.6.4-1%201-1z'%2F%3E%3C%2Fsvg%3E")}
.share-btn--whatsapp{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M21%2011.5a8.4%208.4%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.4%208.4%200%200%201-3.8-.9L3%2021l1.9-5.7a8.4%208.4%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.4%208.4%200%200%201%203.8-.9h.5a8.5%208.5%200%200%201%208%208z'%2F%3E%3Cpath%20d%3D'M9%208.6c.4-.5.9-.4%201.1.1l.5%201.3c.1.3%200%20.5-.2.7l-.4.4c.5%201%201.3%201.8%202.3%202.3l.4-.4c.2-.2.5-.3.7-.2l1.3.5c.5.2.6.7.1%201.1-.6.5-1.4.7-2.2.4-1.9-.7-3.4-2.2-4.1-4.1-.3-.8-.1-1.6.5-2.1z'%20fill%3D'%23000'%20stroke-width%3D'.6'%2F%3E%3C%2Fsvg%3E")}
.share-btn--viber{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M15%205a5%205%200%200%201%204%204M15%201a9%209%200%200%201%208%208'%2F%3E%3Cpath%20d%3D'M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L8.1%209.9a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.8.7a2%202%200%200%201%201.7%202z'%2F%3E%3C%2Fsvg%3E")}
.share-btn--x{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'%23000'%3E%3Cpath%20d%3D'M18.9%201.2h3.7l-8%209.2L24%2022.8h-7.4l-5.8-7.6-6.6%207.6H.5l8.6-9.8L0%201.2h7.6l5.2%206.9%206.1-6.9zm-1.3%2019.4h2L6.5%203.2H4.3l13.3%2017.4z'%2F%3E%3C%2Fsvg%3E")}
.share-btn--copy{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M10%2013a5%205%200%200%200%207.5.5l3-3a5%205%200%200%200-7-7l-1.8%201.7'%2F%3E%3Cpath%20d%3D'M14%2011a5%205%200%200%200-7.5-.5l-3%203a5%205%200%200%200%207%207l1.8-1.7'%2F%3E%3C%2Fsvg%3E")}
.share-btn--x{font-size:0!important;gap:0;padding-left:10px!important;padding-right:10px!important}
.share-btn--x::before{width:14px;height:14px}
@media (max-width:480px){.share-label{flex-basis:100%}}

/* Fshih butonat e Jetpack ("Share this:" / "Like this:") - tema ka butonat e vet */
.sharedaddy.sd-sharing-enabled,.sharedaddy.sd-like{display:none!important}

/* Shënimi i përkthimit automatik */
.mt-note { margin: 0 0 24px; padding: 12px 16px; border-left: 4px solid var(--accent, #d71920); background: rgba(0,0,0,.04); font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.5; }
.mt-note a { color: var(--accent, #d71920); font-weight: 600; }
