:root {
  --ink: #121212;
  --ink-2: #363636;
  --muted: #727272;
  --rule: #dfdfdf;
  --rule-strong: #121212;
  --accent: #a32d2d;
  --navy: #121212;
  --bg: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
a:hover h2, a:hover h3, a:hover h4 { color: var(--ink-2); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Shiriti i sipërm */
.topbar {
  font-family: var(--sans);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.topbar .left, .topbar .right { display: flex; gap: 14px; align-items: center; }
.topbar button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}
.btn-sub {
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 3px;
  padding: 7px 12px !important;
  font-weight: 600 !important;
  letter-spacing: .3px;
}
.edition { color: var(--muted); }

/* Masthead */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 6px 0 14px;
}
.masthead .date {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
}
.masthead .date strong { display: block; font-weight: 700; }
.masthead .weather { text-align: right; font-family: var(--sans); font-size: 12px; }
/* Logoja: "kodi" e trashë, pika e i-së e kuqe, "online" në gri */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.04em;
  justify-self: center;
}
.logo .w { font-weight: 800; color: var(--ink); }
.logo .o { font-weight: 400; color: #8a8a8a; }
.logo .i { position: relative; }
.logo .i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: .1em;
  width: .19em;
  height: .19em;
  border-radius: 50%;
  background: #e24b4a;
  transform: translateX(-50%);
}

/* Navigimi */
.nav {
  border-top: 1px solid var(--rule);
  border-bottom: 3px double var(--rule-strong);
}
.nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 4px;
  font-family: var(--sans);
  font-size: 14px;
}
.nav li { padding: 0 20px; border-left: 1px solid var(--rule); white-space: nowrap; }
.nav li:first-child { border-left: 0; }
.nav-ico { margin-left: 5px; vertical-align: -1px; }
.nav a:hover { text-decoration: underline; }

/* Lajmi i fundit */
.breaking {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
}
.breaking .tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.breaking .tag::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e24b4a;
  margin-right: 6px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

/* Rrjeti kryesor */
.front {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  gap: 0;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--rule-strong);
}
.front .main { padding-right: 20px; border-right: 1px solid var(--rule); }
.front .side { padding-left: 20px; }

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
h2.headline {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 10px;
}
.summary { font-size: 16px; color: var(--ink-2); margin: 0 0 10px; }
.summary-list { margin: 0; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.summary-list li { margin-bottom: 6px; }
.meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
}

.ph {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #c9c4b8;
  overflow: hidden;
}
.ph::after {
  content: "FOTO";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, .35);
}
.ph.t1 { background: #b9c4cc; }
.ph.t2 { background: #cdbfa8; }
.ph.t3 { background: #a9b9a3; }
.ph.t4 { background: #c7b3b3; }
.ph.t5 { background: #b3b1c7; }
.ph.sq { aspect-ratio: 1 / 1; }
.caption {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  text-align: right;
}

.row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 18px;
}
.row3 > article { padding: 0 18px; border-left: 1px solid var(--rule); }
.row3 > article:first-child { padding-left: 0; border-left: 0; }
.row3 > article:last-child { padding-right: 0; }
h3 { font-size: 19px; line-height: 1.2; font-weight: 700; margin: 8px 0 6px; }
h4 { font-size: 16px; line-height: 1.25; font-weight: 700; margin: 0 0 4px; }
article p { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }

/* Opinion */
.section-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule-strong);
  display: flex;
  justify-content: space-between;
}
.section-label a { font-weight: 400; color: var(--muted); }
.opinion { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; }
.opinion:last-child { border-bottom: 0; }
.opinion .who {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}
.opinion h4 { font-weight: 400; font-size: 17px; }
.avatar {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: #d3d1c7;
}

/* Seksionet */
.sections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--rule-strong);
}
.sections > section { padding: 0 18px; border-left: 1px solid var(--rule); }
.sections > section:first-child { padding-left: 0; border-left: 0; }
.sections > section:last-child { padding-right: 0; }
.sections .item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sections .item:last-child { border-bottom: 0; }

/* Më të lexuarat */
.popular { padding: 22px 0 28px; border-bottom: 1px solid var(--rule-strong); }
.popular ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: n;
}
.popular li {
  counter-increment: n;
  padding: 0 16px;
  border-left: 1px solid var(--rule);
}
.popular li:first-child { padding-left: 0; border-left: 0; }
.popular li::before {
  content: counter(n);
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

/* Hapësirat reklamuese
   Çdo hapësirë e ka lartësinë të rezervuar që faqja të mos "kërcejë" kur ngarkohet reklama.
   data-slot përdoret më vonë për lidhjen me Google Ad Manager ose sistemin e reklamave. */
.ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.ad-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.ad-box {
  width: var(--w);
  max-width: 100%;
  height: var(--h);
  background: #f4f3ef;
  border: 1px dashed #c9c7bd;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.ad-box b { display: block; color: var(--ink-2); font-size: 13px; }

.ad-leader { --w: 970px; --h: 90px; padding: 14px 0; }
.ad-leader .size::after { content: "970 × 90"; }
.ad-billboard { --w: 970px; --h: 250px; padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.ad-billboard .size::after { content: "970 × 250"; }
.ad-mpu { --w: 300px; --h: 250px; padding: 16px 0; border-top: 1px solid var(--rule); }
.ad-halfpage { --w: 300px; --h: 600px; padding: 16px 0; position: sticky; top: 12px; }
.ad-footer { --w: 728px; --h: 90px; padding: 22px 0; }
.ad-footer .size::after { content: "728 × 90"; }

/* Artikull i sponsorizuar (native) */
.sponsored .kicker { color: var(--muted); }
.sponsored .by { font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* Reklama ngjitëse në fund të ekranit (vetëm celular) */
.ad-anchor { display: none; }

/* Lidhjet e veçanta në menu */
.nav a.hl { font-weight: 700; }
.nav a.active { color: var(--accent); font-weight: 700; }
[hidden] { display: none !important; }

/* Brezi i podcastit në faqen kryesore: i errët, nga skaji në skaj të ekranit */
.pod-band {
  background: #121212;
  box-shadow: 0 0 0 100vmax #121212;
  clip-path: inset(0 -100vmax);
  color: #fff;
  padding: 32px 0 36px;
}
.pod-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--sans);
}
.pod-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; letter-spacing: 3px; font-weight: 700; }
.pod-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e24b4a; }
.pod-head a { font-size: 13px; color: #c9c7bd; }
.pod-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
.pod-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pod-band h3 { font-size: 26px; line-height: 1.15; margin: 6px 0 10px; color: #fff; }
.pod-band h4 { font-size: 16px; font-weight: 400; margin: 4px 0; color: #fff; }
.pod-band a:hover h3, .pod-band a:hover h4 { color: #c9c7bd; }
.pod-band p { font-size: 15px; color: #c9c7bd; margin: 0 0 14px; }
.pod-band p.tag { font-size: 11px; color: #e24b4a; margin: 0; }
.tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #e24b4a;
  margin: 0;
}
.tag.sq { color: var(--accent); }
.dur { font-family: var(--sans); font-size: 12px; color: #a5a39b; }
.host { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; color: #c9c7bd; }
.host .avatar { flex: 0 0 40px; height: 40px; background: #5f5e5a; }
.host b { display: block; color: #fff; font-size: 13px; }
.pod-list { border-left: 1px solid #3a3a38; padding-left: 28px; }
.pod-list a { display: block; padding: 12px 0; border-bottom: 1px solid #3a3a38; }
.pod-list a:first-child { padding-top: 0; }
.pod-list a:last-child { border-bottom: 0; }
.pod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pod-chips a {
  font-family: var(--sans);
  font-size: 12px;
  color: #fff;
  border: 1px solid #5f5e5a;
  border-radius: 999px;
  padding: 6px 12px;
}
.pod-chips a:hover { background: #2c2c2a; }

/* Kopertina e episodit me butonin e luajtjes */
.video { position: relative; }
.video .ph { aspect-ratio: 16 / 9; }
.video .ph::after { content: none; }
.video[role="button"] { cursor: pointer; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video.playing::before, .video.playing::after { display: none; }
.video::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: #e24b4a;
}
.video::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  margin: -11px 0 0 -6px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

/* Blloku i mërgatës në faqen kryesore */
.mergata-home { padding: 22px 0 28px; border-bottom: 1px solid var(--rule-strong); }
.mergata-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.mergata-lead h3 { font-size: 24px; }
.mergata-list .item { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.mergata-list .item:first-child { padding-top: 0; }
.mergata-list .item:last-child { border-bottom: 0; }
.ask-box { background: #f4f3ef; padding: 20px; font-family: var(--sans); align-self: start; }
.ask-box h3 { font-family: var(--serif); margin-top: 0; }
.ask-box p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
  padding: 9px 14px;
}

/* Faqet Podcast dhe Mërgata */
.page-head { padding: 30px 0 22px; border-bottom: 1px solid var(--rule-strong); }
.page-head h1 { font-size: 42px; line-height: 1.1; margin: 0 0 8px; }
.page-head p { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 720px; }
.page-head p.kicker { font-size: 11px; color: var(--accent); margin-bottom: 6px; }
.ep-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.ep-hero h2 { font-size: 30px; line-height: 1.12; margin: 8px 0 10px; }
.ep-hero .summary { margin-bottom: 16px; }
.ep-hero .host { color: var(--muted); margin-bottom: 16px; }
.ep-hero .host .avatar { background: #d3d1c7; }
.ep-hero .host b { color: var(--ink); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.platforms a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  padding: 7px 11px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.chips button {
  font-family: var(--sans);
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; padding-bottom: 28px; }
.card-grid h3 { font-size: 18px; margin: 6px 0; }
#media .ph { aspect-ratio: 16 / 9; }
.card-grid .tag { margin-top: 10px; }
.note { font-family: var(--sans); font-size: 11px; line-height: 1.4; color: var(--muted); margin: 6px 0 0; }
.empty { font-family: var(--sans); font-size: 14px; color: var(--muted); padding-bottom: 28px; margin: 0; }
.ad-sponsor { --w: 728px; --h: 90px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-strong); }
.ad-sponsor .size::after { content: "728 × 90"; }
.sub-section { padding-top: 24px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 28px; }
.info { border: 1px solid var(--rule); padding: 16px; }
.info:hover { border-color: var(--rule-strong); }
.info h3 { font-size: 17px; margin: 0 0 6px; }
.info p { font-size: 14px; color: var(--ink-2); margin: 0; }
.ask-wide { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 4px 0 28px; }
.ask-wide p { margin: 0; }

@media (max-width: 960px) {
  .pod-grid { grid-template-columns: 1fr; }
  .pod-list { border-left: 0; padding-left: 0; }
  .mergata-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mergata-lead { grid-column: 1 / -1; }
  .ep-hero { grid-template-columns: 1fr; }
  .card-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pod-main, .mergata-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 32px; }
  .ad-sponsor { --w: 320px; --h: 100px; }
  .ad-sponsor .size::after { content: "320 × 100"; }
  .ask-wide { flex-direction: column; align-items: flex-start; }
}

/* Footer */
footer {
  padding: 28px 0 40px;
  font-family: var(--sans);
  font-size: 13px;
}
footer.wrap { padding-top: 28px; padding-bottom: 40px; }
footer .logo { font-size: 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.footer-grid h5 a { color: inherit; text-decoration: none; }
.footer-grid h5 {font-size: 12px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .5px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; color: var(--ink-2); }
.copy { color: var(--muted); font-size: 11px; border-top: 1px solid var(--rule); padding-top: 14px; }

/* Tablet */
@media (max-width: 960px) {
  .front { grid-template-columns: 1fr; }
  .front .main { padding-right: 0; border-right: 0; }
  .front .side { padding-left: 0; padding-top: 22px; }
  .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .sections > section:nth-child(3) { padding-left: 0; border-left: 0; }
  .popular ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .popular li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Tablet: menyja mbetet në një rresht; nëse s'nxë, rrëshqet anash si në celular */
  .nav ul { font-size: 13px; flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scrollbar-width: none; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav li { padding: 0 10px; }
  .ad-leader, .ad-billboard { --w: 728px; --h: 90px; }
  .ad-leader .size::after, .ad-billboard .size::after { content: "728 × 90"; }
  .ad-halfpage { position: static; }
}

/* Celular */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .edition, .masthead .weather, .masthead .date { display: none; }
  .masthead { grid-template-columns: 1fr; }
  .logo { font-size: 40px; }
  .nav ul { padding: 10px 16px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav li { padding: 0 14px; }
  .nav li:first-child { padding-left: 0; }
  .lead { grid-template-columns: 1fr; }
  .lead .media { order: -1; }
  h2.headline { font-size: 25px; }
  .row3 { grid-template-columns: 1fr; }
  .row3 > article { padding: 14px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .row3 > article:first-child { border-top: 0; padding-top: 0; }
  .sections { grid-template-columns: 1fr; }
  .sections > section { padding: 0; border-left: 0; }
  .popular ol { grid-template-columns: 1fr; }
  .popular li { padding: 0 0 14px; border-left: 0; border-bottom: 1px solid var(--rule); display: flex; gap: 14px; }
  .popular li::before { margin: 0; flex: 0 0 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-leader { --w: 320px; --h: 100px; }
  .ad-leader .size::after { content: "320 × 100"; }
  .ad-billboard { --w: 300px; --h: 250px; }
  .ad-billboard .size::after { content: "300 × 250"; }
  .ad-halfpage { display: none; }
  .ad-footer { --w: 300px; --h: 250px; }
  .ad-footer .size::after { content: "300 × 250"; }
  body { padding-bottom: 66px; }
  .ad-anchor {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid var(--rule);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    --w: 320px; --h: 50px;
  }
  .ad-anchor.closed { display: none; }
  .ad-anchor .close {
    position: absolute;
    top: -22px; right: 8px;
    width: 22px; height: 22px;
    border: 1px solid var(--rule);
    border-bottom: 0;
    background: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
  }
}
body:has(.ad-anchor.closed) { padding-bottom: 0; }
