/* Gazeta Tribuna – one stylesheet for the whole site.
   Layout: black top bar, white masthead, category nav, then content in a 1200px column. */
:root {
  --red: #E41E20;
  --red-dark: #B3151A;
  --ink: #0E0E10;
  --ink-2: #3A3A40;
  --muted: #66666D;
  --line: #E4E1DB;
  --paper: #FFFFFF;
  --soft: #F6F4F0;
  --kosova: #244AA5;
  --shqiperi: #E41E20;
  --bota: #F5A300;
  --showbiz: #D6246E;
  --disp: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 16px; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- top bar, masthead, nav ---------- */
.topbar { background: var(--ink); color: #C8C8CD; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.topbar a:hover { color: #FF9C9D; }
.topbar svg { width: 16px; height: 16px; }

.masthead { background: var(--paper); }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.mast-tagline { margin: 0; font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo:hover { color: inherit; }
.logo-mark svg { width: 54px; height: 40px; display: block; }
.logo-div { width: 3px; height: 44px; background: var(--red); }
.logo-words { display: flex; flex-direction: column; font-family: var(--disp); line-height: .92; }
.logo-small { font-size: 13px; font-weight: 600; letter-spacing: .42em; }
.logo-big { font-size: 38px; font-weight: 800; letter-spacing: .02em; }

.nav { border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); background: var(--paper); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { flex-shrink: 0; font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; padding: 12px 14px 9px; border-bottom: 4px solid transparent; margin-bottom: -3px; }
.nav a:hover { color: var(--ink); border-color: var(--line); }
.nav a.on { border-color: var(--ink); }
.nav a.nav-kosova.on, .nav a.nav-kosova:hover { border-color: var(--kosova); }
.nav a.nav-shqiperi.on, .nav a.nav-shqiperi:hover { border-color: var(--shqiperi); }
.nav a.nav-bota.on, .nav a.nav-bota:hover { border-color: var(--bota); }
.nav a.nav-showbiz.on, .nav a.nav-showbiz:hover { border-color: var(--showbiz); }
@media (max-width: 760px) {
  .mast-in { padding-block: 14px; }
  .mast-tagline { display: none; }
  .logo-big { font-size: 32px; }
  .logo-mark svg { width: 46px; height: 34px; }
  .nav a { font-size: 17px; padding: 11px 10px 8px; }
  .nav a.nav-home { display: none; }
}

/* ---------- breaking bar ---------- */
.breaking { background: var(--red); color: #fff; }
.breaking-in { display: flex; align-items: center; gap: 14px; min-height: 50px; padding-block: 8px; }
.breaking-label { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--ink); padding: 5px 10px; font-family: var(--disp); font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(228, 30, 32, .4); }
.breaking a { font-weight: 600; line-height: 1.3; }
.breaking a:hover { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(228, 30, 32, .15); } }
}

/* ---------- tags, meta, media ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 3px 8px 2px; line-height: 1.25; }
.tag:hover { color: #fff; }
.tag-kosova { background: var(--kosova); }
.tag-shqiperi { background: var(--shqiperi); }
.tag-bota { background: var(--bota); color: var(--ink); }
.tag-bota:hover { color: var(--ink); }
.tag-showbiz { background: var(--showbiz); }
.tag-breaking { background: var(--ink); }
.meta { margin: 0; color: var(--muted); font-size: 14px; }

.media { position: relative; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%; background: var(--ink); color: #fff; border-bottom: 6px solid var(--c, var(--red)); }
.ph svg { width: 24%; max-width: 120px; height: auto; }
.ph span { font-family: var(--disp); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(13px, 1.6vw, 22px); }
.ph-kosova { --c: var(--kosova); }
.ph-shqiperi { --c: var(--shqiperi); }
.ph-bota { --c: var(--bota); }
.ph-showbiz { --c: var(--showbiz); }
.card-media { display: block; }
.card-media:hover img { opacity: .92; }
.card-title { font-family: var(--disp); font-weight: 700; line-height: 1.06; text-wrap: balance; }
.card-title a:hover { color: var(--red); }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.card-lg .card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.card-lg .card-title { font-size: clamp(30px, 4.2vw, 48px); margin: 0; }
.card-sum { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.hero-side { display: flex; flex-direction: column; }
.card-sm { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.card-sm:first-child { padding-top: 0; }
.card-sm:last-child { border-bottom: 0; }
.card-sm .media { aspect-ratio: 4 / 3; }
.card-sm .card-title { font-size: 21px; margin: 6px 0 4px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 16px 20px; }
  .card-sm { grid-template-columns: 108px minmax(0, 1fr); }
  .card-sm .card-title { font-size: 19px; }
}

.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 32px 48px; }
.home-side { align-self: start; position: sticky; top: 16px; }
@media (max-width: 900px) {
  .home-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 20px 36px; }
  .home-side { position: static; order: -1; }
}
.side-title { font-family: var(--disp); font-weight: 800; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 4px; padding-top: 8px; border-top: 4px solid var(--red); }
.latest { list-style: none; margin: 0 0 28px; padding: 0; }
.latest li { display: flex; flex-direction: column; gap: 3px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.latest-time { display: flex; align-items: center; gap: 8px; font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--red); font-variant-numeric: tabular-nums; }
.latest-cat { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.latest a { font-weight: 600; line-height: 1.3; }

.sec { margin-bottom: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 4px solid var(--c, var(--ink)); padding-top: 8px; margin-bottom: 18px; }
.sec-kosova { --c: var(--kosova); }
.sec-shqiperi { --c: var(--shqiperi); }
.sec-bota { --c: var(--bota); }
.sec-showbiz { --c: var(--showbiz); }
.sec-title { font-family: var(--disp); font-weight: 800; font-size: 26px; letter-spacing: .03em; text-transform: uppercase; margin: 0; }
.sec-more { font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--muted); white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 22px; }
.card-grid { display: flex; flex-direction: column; gap: 8px; }
.card-grid .card-media { margin-bottom: 4px; }
.card-grid .card-title { font-size: 22px; margin: 0; }
@media (max-width: 520px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- category pages ---------- */
.cat-head { background: var(--soft); border-bottom: 4px solid var(--c, var(--ink)); }
.cat-head h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 7vw, 64px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 0; padding-block: 28px 22px; }
.cat-head .meta { padding-bottom: 16px; margin-top: -10px; }
.cat-kosova { --c: var(--kosova); }
.cat-shqiperi { --c: var(--shqiperi); }
.cat-bota { --c: var(--bota); }
.cat-showbiz { --c: var(--showbiz); }
.cat-body { padding-block: 28px 48px; }
.grid-cat { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pager { display: flex; justify-content: space-between; gap: 16px; padding-top: 36px; font-family: var(--disp); font-weight: 700; font-size: 19px; }
.empty-note { color: var(--muted); }
.empty { padding-block: 64px; }
.empty h1 { font-family: var(--disp); font-size: 40px; margin: 0 0 12px; }

/* ---------- article ---------- */
.art { max-width: 800px; padding-block: 32px 8px; }
.art-head { display: flex; flex-direction: column; gap: 14px; }
.art-title { font-family: var(--disp); font-weight: 700; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.02; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
.art-lead { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 500; color: var(--ink-2); }
.art-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 4px 0 26px; padding-block: 10px; border-block: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.art-meta span { font-weight: 600; color: var(--ink); }
.correction { margin: 0 0 24px; padding: 12px 16px; background: #FFF5DA; border-left: 4px solid var(--bota); font-size: 16px; }
.art-fig { margin: 0 0 26px; }
.art-fig figcaption { padding-top: 8px; font-size: 13px; color: var(--muted); }
.art-fig figcaption a { text-decoration: underline; }
.art-body { font-size: 19px; line-height: 1.7; max-width: 68ch; }
.art-body p { margin: 0 0 1.1em; }
.art-body h2 { font-family: var(--disp); font-weight: 700; font-size: 30px; line-height: 1.1; margin: 1.4em 0 .5em; }
.art-body h3 { font-family: var(--disp); font-weight: 700; font-size: 24px; margin: 1.2em 0 .4em; }
.art-body ul, .art-body ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.art-body li { margin-bottom: .35em; }
.art-body blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 4px solid var(--red); font-size: 21px; font-style: italic; color: var(--ink-2); }
.art-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: var(--red-dark); }
.sources { margin: 28px 0 22px; padding: 18px 20px; background: var(--soft); max-width: 68ch; }
.sources h2 { font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { margin-bottom: 4px; }
.sources a { color: var(--kosova); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.share-label { font-family: var(--disp); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.btn-share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.btn-share:hover { border-color: var(--ink); color: var(--ink); }
.btn-share svg { width: 18px; height: 18px; }
.related { padding-block: 32px 48px; }

/* ---------- info pages ---------- */
.page { max-width: 800px; padding-block: 36px 56px; display: flex; flex-direction: column; gap: 18px; }
.page .art-body a { color: var(--red); }
.btn-home { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--red); color: #fff; font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.btn-home:hover { background: var(--red-dark); color: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #BDBDC3; margin-top: 8px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 40px 28px; }
.foot-brand p { max-width: 40ch; margin: 14px 0 0; }
.foot h2 { font-family: var(--disp); font-weight: 800; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 4px 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: #fff; }
.foot a:hover { color: #FF9C9D; }
.foot-base { border-top: 1px solid #2A2A30; padding-block: 16px 24px; font-size: 13px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
