/*
Theme Name: Fanta Elezioni Theme
Theme URI: https://seggilive.it
Author: SCLab
Description: Tema dedicato per Fanta Elezioni con navigazione migliorata, hero, menu e layout frontend.
Version: 0.2.3
Text Domain: fanta-elezioni-theme
*/

:root{
  --fe-dark:#0f172a;
  --fe-blue:#1d4ed8;
  --fe-soft:#f4f7fb;
  --fe-card:#ffffff;
  --fe-text:#111827;
  --fe-muted:#64748b;
  --fe-border:#e5e7eb;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--fe-soft);
  color:var(--fe-text);
}

a{color:inherit}
.fe-site-header{
  background:linear-gradient(135deg,var(--fe-dark),var(--fe-blue));
  color:white;
  padding:18px 5vw 34px;
}

.fe-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width:1240px;
  margin:0 auto;
}

.fe-brand{
  display:flex;
  flex-direction:column;
  text-decoration:none;
}

.fe-brand-title{
  font-size:28px;
  font-weight:900;
  letter-spacing:-.03em;
}

.fe-brand-subtitle{
  font-size:14px;
  opacity:.8;
}

.fe-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.fe-nav a{
  color:white;
  text-decoration:none;
  font-weight:700;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}

.fe-nav a:hover{
  background:rgba(255,255,255,.22);
}

.fe-nav .fe-primary-link{
  background:white;
  color:var(--fe-dark);
}

.fe-hero{
  max-width:1240px;
  margin:34px auto 0;
  padding:44px;
  border-radius:32px;
  background:rgba(255,255,255,.96);
  color:var(--fe-dark);
  box-shadow:0 24px 70px rgba(15,23,42,.20);
}

.fe-hero h1{
  font-size:clamp(42px,6vw,86px);
  line-height:.95;
  letter-spacing:-.06em;
  margin:0 0 18px;
}

.fe-hero p{
  font-size:clamp(18px,2.3vw,28px);
  max-width:850px;
  margin:0 0 28px;
  color:#1f2937;
}

.fe-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.fe-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:15px 24px;
  font-weight:900;
  text-decoration:none;
  background:var(--fe-dark);
  color:white;
  border:2px solid var(--fe-dark);
}

.fe-button.secondary{
  background:white;
  color:var(--fe-dark);
}

.fe-main{
  max-width:1240px;
  margin:34px auto;
  padding:0 5vw;
}

.fe-page-card{
  background:white;
  border-radius:28px;
  padding:28px;
  box-shadow:0 10px 35px rgba(15,23,42,.08);
}

.fe-quick-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:16px;
  margin:0 0 28px;
}

.fe-quick-card{
  background:white;
  border:1px solid var(--fe-border);
  border-radius:22px;
  padding:20px;
  text-decoration:none;
  box-shadow:0 8px 28px rgba(15,23,42,.06);
}

.fe-quick-card strong{
  display:block;
  font-size:20px;
  margin-bottom:6px;
}

.fe-quick-card span{
  color:var(--fe-muted);
}

.fe-footer{
  text-align:center;
  padding:34px 5vw;
  color:var(--fe-muted);
}

@media(max-width:780px){
  .fe-topbar{align-items:flex-start;flex-direction:column}
  .fe-nav{width:100%}
  .fe-nav a{font-size:14px;padding:9px 11px}
  .fe-hero{padding:28px;border-radius:24px}
}

.fe-logo-img{
  width:260px;
  max-width:100%;
  height:auto;
  display:block;
}
.fe-brand-text-fallback{display:none}
@media(max-width:780px){
  .fe-logo-img{width:220px}
}
