:root{
  --bg:#f4f7fb;
  --ink:#102033;
  --muted:#657789;
  --card:#ffffff;
  --line:rgba(16,32,51,.10);
  --blue:#155eef;
  --deep:#071d3d;
  --cyan:#58c7f3;
  --gold:#e2b447;
  --shadow:0 22px 60px rgba(12,28,52,.13);
  --soft-shadow:0 12px 28px rgba(12,28,52,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 0%,rgba(21,94,239,.10),transparent 30%),
    radial-gradient(circle at 92% 0%,rgba(226,180,71,.14),transparent 26%),
    var(--bg);
}
a{color:inherit;text-decoration:none}
.page{width:min(1180px,calc(100% - 28px));margin:0 auto}
.topbar{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:18px 0 12px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 18px rgba(12,28,52,.05);
}
.brand span{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--cyan))}
.hero{
  min-height:500px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:end;
  padding:clamp(28px,5vw,56px);
  border-radius:36px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(110deg,rgba(5,18,43,.92),rgba(11,47,106,.72) 48%,rgba(21,94,239,.20)),
    url("hero-diritti.jpg") center/cover no-repeat;
  box-shadow:var(--shadow);
  position:relative;
}
.kicker{
  display:inline-flex;
  margin-bottom:18px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.22);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}
.hero h1{
  margin:0;
  font-size:clamp(48px,8vw,92px);
  line-height:.9;
  letter-spacing:-.065em;
}
.hero p{
  max-width:680px;
  margin:24px 0 0;
  font-size:clamp(17px,2vw,22px);
  line-height:1.62;
  color:rgba(255,255,255,.90);
}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.btn{
  display:inline-flex;
  padding:13px 16px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
}
.btn.primary{background:#fff;color:var(--ink)}
.btn.ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff}
.hero-panel{
  padding:20px;
  border-radius:28px;
  background:rgba(5,18,43,.50);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(18px);
}
.hero-panel h2{margin:0 0 14px;font-size:21px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stats div{
  padding:13px 10px;
  border-radius:18px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.12);
}
.stats strong{display:block;font-size:27px;line-height:1}
.stats span{display:block;margin-top:6px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.72);font-weight:900}
.ticker{
  display:flex;
  align-items:center;
  gap:14px;
  margin:16px 0 18px;
  padding:14px 16px;
  border-radius:22px;
  overflow:hidden;
  background:#09182b;
  color:#fff;
  box-shadow:0 12px 30px rgba(9,24,43,.18);
}
.ticker strong{background:#e23636;padding:8px 11px;border-radius:12px;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
#tickerTrack{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.88);font-size:14px}
.controls{
  display:grid;
  grid-template-columns:1.35fr .85fr .85fr;
  gap:12px;
  margin:0 0 22px;
}
.controls label{
  display:grid;
  gap:8px;
  padding:13px;
  border-radius:20px;
  background:rgba(255,255,255,.90);
  border:1px solid var(--line);
  box-shadow:0 10px 22px rgba(12,28,52,.05);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--muted);
}
input,select{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  text-transform:none;
  letter-spacing:0;
}
.layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin:28px 0 14px;
}
.section-head.small{margin-top:24px}
.section-head h2{
  margin:0;
  font-size:clamp(30px,4vw,44px);
  line-height:1;
  letter-spacing:-.055em;
}
.section-head p{margin:8px 0 0;color:var(--muted);line-height:1.55}
#resultMeta{font-size:13px;color:var(--muted);font-weight:900;white-space:nowrap}
.featured,.card,.side-card{
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  box-shadow:var(--soft-shadow);
}
.featured{
  display:grid;
  grid-template-columns:240px 1fr;
  min-height:250px;
  border-radius:32px;
  overflow:hidden;
}
.featured img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#eaf1f8;
}
.featured-body{padding:24px}
.eyebrow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.featured h3{margin:0;font-size:clamp(28px,4vw,44px);line-height:1.04;letter-spacing:-.055em}
.featured p,.card p,.side-card p{color:var(--muted);line-height:1.65}
.why{
  margin-top:14px;
  padding:13px 14px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(21,94,239,.08),rgba(226,180,71,.10));
  border:1px solid rgba(21,94,239,.10);
  color:#41566a;
  font-size:14px;
  line-height:1.55;
}
.why strong{color:var(--ink)}
.feed{display:grid;gap:14px}
.card{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:16px;
  padding:17px;
  border-radius:26px;
}
.card.no-image{grid-template-columns:1fr}
.thumb{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:18px;
  background:#eaf1f8;
}
.card h3{margin:0;font-size:clamp(22px,2.6vw,30px);line-height:1.13;letter-spacing:-.04em}
.meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.source{font-size:12px;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.date{font-size:12px;color:var(--muted);font-weight:800;background:#f5f8fc;border:1px solid var(--line);padding:5px 9px;border-radius:999px}
.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.tag{padding:6px 9px;border-radius:999px;background:#eef4ff;color:#0b3f93;font-size:11px;font-weight:900;text-transform:capitalize}
.read-more{display:inline-flex;margin-top:13px;color:#0b3f93;font-size:14px;font-weight:900}
.sidebar{display:grid;gap:18px;align-content:start}
.side-card{
  padding:18px;
  border-radius:28px;
}
.side-card h3{margin:0 0 8px;font-size:23px;line-height:1.1;letter-spacing:-.04em}
.side-card.blue{background:linear-gradient(135deg,#071d3d,#155eef);color:#fff}
.side-card.blue p{color:rgba(255,255,255,.82)}
.radar-bars{display:grid;gap:9px;margin-top:16px}
.radar-row{display:grid;grid-template-columns:105px 1fr 32px;gap:9px;align-items:center;font-size:12px;font-weight:900;color:var(--muted)}
.radar-track{height:9px;border-radius:999px;background:#edf2f8;overflow:hidden}
.radar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--cyan))}
.sources-list{display:grid;gap:10px}
.source-box{padding:12px;border-radius:16px;background:#f7fbff;border:1px solid var(--line)}
.source-box strong{display:block;font-size:14px}
.source-box span{display:block;margin-top:4px;color:var(--muted);font-size:13px;line-height:1.45}
.empty{padding:28px;text-align:center;color:var(--muted)}
footer{
  margin:32px 0 38px;
  padding:18px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}

@media(max-width:980px){
  .hero,.layout,.controls,.featured{grid-template-columns:1fr}
}
@media(max-width:640px){
  .page{width:min(100% - 22px,1180px)}
  .topbar{align-items:flex-start;flex-direction:column}
  .hero{min-height:560px;padding:24px;border-radius:26px;background-position:68% center}
  .hero h1{font-size:46px}
  .stats{grid-template-columns:repeat(3,1fr)}
  .card{grid-template-columns:1fr}
  .thumb{aspect-ratio:16/9}
  .section-head{align-items:flex-start;flex-direction:column}
}
.update-note{
  margin: -4px 0 20px;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,32,51,.10);
  color: #657789;
  font-size: 13px;
  line-height: 1.5;
}

.ticker{
  overflow:hidden;
}

#tickerTrack{
  display:flex;
  gap:34px;
  white-space:nowrap;
  animation:tickerMove 42s linear infinite;
  min-width:max-content;
}

#tickerTrack a{
  color:rgba(255,255,255,.92);
  font-size:14px;
}

.ticker:hover #tickerTrack{
  animation-play-state:paused;
}

@keyframes tickerMove{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

.card{
  align-items:start;
}

.card.no-image{
  grid-template-columns: 90px 1fr;
}

.card.no-image::before{
  content:"D";
  display:flex;
  align-items:center;
  justify-content:center;
  width:90px;
  aspect-ratio:4/3;
  border-radius:18px;
  background:linear-gradient(135deg,#155eef,#58c7f3);
  color:#fff;
  font-size:34px;
  font-weight:900;
}

.featured > div:first-child:empty{
  background:linear-gradient(135deg,#155eef,#58c7f3);
}

@media(max-width:640px){
  .page{
    width:calc(100% - 20px);
  }

  .hero{
    min-height:auto;
    padding:26px 20px;
    display:block;
  }

  .hero-panel{
    margin-top:26px;
  }

  .hero h1{
    font-size:44px;
    line-height:.92;
  }

  .hero p{
    font-size:16px;
    line-height:1.5;
  }

  .controls{
    grid-template-columns:1fr;
  }

  .layout{
    grid-template-columns:1fr;
  }

  .featured{
    grid-template-columns:1fr;
  }

  .featured img{
    height:180px;
  }

  .card,
  .card.no-image{
    grid-template-columns:1fr;
  }

  .card.no-image::before{
    width:100%;
    aspect-ratio:16/9;
  }

  .stats{
    grid-template-columns:repeat(3,1fr);
  }

  #tickerTrack a{
    font-size:13px;
  }
}
.related{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#f3f7fc;
  border:1px solid rgba(16,32,51,.08);
  color:#657789;
  font-size:13px;
  line-height:1.45;
}

.card.no-image::before{
  content:"D";
  display:flex;
  align-items:center;
  justify-content:center;
  width:90px;
  aspect-ratio:4/3;
  border-radius:18px;
  background:linear-gradient(135deg,#155eef,#58c7f3);
  color:#fff;
  font-size:34px;
  font-weight:900;
}
.mini-stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 22px;
}

.mini-stats span{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(16,32,51,.08);
  color:#657789;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
