/* ── CUSTOM GRID WIDTHS ── */
@media (min-width: 960px) {
  .uk-width-1-8\@m  { width: 12.5%; }
  .uk-width-2-4\@m  { width: 50%; }
}

/* ── BASE ── */
body {
  background-color: #2e3b4e;
  color: #ffffff;
  margin: 0;
}

.accent { color: #f28c28; }
.muted  { color: rgba(255,255,255,0.7); }

/* ── BUTTONS ── */
.uk-button { border-radius: 10px; }

.uk-button-primary {
  background-color: #f28c28;
  color: #303b4c;
}
.uk-button-primary:hover {
  background-color: #439FE8;
  color: #ffffff;
}

.uk-button-outline {
  background: transparent;
  color: #f28c28;
  border: 1px solid #f28c28;
}
.uk-button-outline:hover {
  background: #303b4c;
  color: #ffffff;
  border-color: #303b4c;
}

/* ── SECTIONS ── */
.section           { padding: 80px 20px; }
.section-primary   { background-color: #2e3b4e; }
.section-secondary { background-color: #3d4c67 !important; }

h2 { color: #f2a64a; }

/* ── HEADER IMAGE ── */
.site-header {
  width: 100%;
  display: block;
  line-height: 0;
  background-color: #2e3b4e;
  text-align: center;
}
.site-header img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ── STICKY NAV ── */
.sticky-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 980;
  background-color: #1e2a3a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Nav links base */
.sticky-nav .uk-navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 0 14px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

/* Hover: rettangolo blu chiaro + testo chiaro */
.sticky-nav .uk-navbar-nav > li > a:hover,
.sticky-nav .uk-navbar-nav > li > a:focus {
  background-color: #4a6080;
  color: #d0e8ff;
  border-radius: 6px;
}

/* Language links */
.sticky-nav .uk-navbar-right .uk-navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  padding: 0 10px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.sticky-nav .uk-navbar-right .uk-navbar-nav > li > a:hover,
.sticky-nav .uk-navbar-right .uk-navbar-nav > li > a:focus {
  background-color: #4a6080;
  color: #d0e8ff;
  border-radius: 6px;
}

/* ── RELEASE BADGE ── */
.release-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.18);
  border: 1px solid rgba(242, 140, 40, 0.45);
  color: #f28c28;
  font-size: 12px;
  margin-bottom: 10px;
}

/* ── BACK TO TOP ── */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #f28c28;
  color: #303b4c;
  z-index: 1000;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}
.back-top:hover {
  background: #439FE8;
  color: #ffffff;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #303b4c;
  color: #ffffff;
  padding: 16px;
  display: none;
  z-index: 2000;
}
.cookie-banner p {
  margin: 0 0 10px 0;
  font-size: 14px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions button {
  background: #f28c28;
  color: #303b4c;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.cookie-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
