/* ===============================
   FOOTNEWS24 – LIGHT SPORT THEME
   =============================== */

:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#111318;
  --muted:#6b7280;

  /* Couleurs du logo */
  --green:#22c55e;
  --yellow:#facc15;
  --red:#ef4444;

  --gradient: linear-gradient(90deg, var(--green), var(--yellow), var(--red));

  --border:#e5e7eb;
  --radius:14px;
  --shadow:0 8px 22px rgba(0,0,0,.08);

  --max:1100px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== Reset ===== */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{text-decoration:none;color:inherit}
img{max-width:100%}

/* ===== Container ===== */
.container{
  max-width:var(--max);
  margin:auto;
  padding:0 16px;
}

/* =================================
   HEADER / NAVBAR
   ================================= */

.topbar{
  background:#ffffff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:100;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.logo{
  width:36px;
  height:36px;
  border-radius:10px;
  background:var(--gradient);
}

.brand span{
  font-size:18px;
  font-weight:900;
}

/* menu */

.navlinks{
  display:flex;
  gap:14px;
}

.navlinks a{
  padding:8px 12px;
  border-radius:10px;
  color:#444;
  font-weight:600;
}

.navlinks a:hover{
  background:#f2f2f2;
  color:var(--green);
}

/* =================================
   CARDS
   ================================= */

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

/* =================================
   HERO ARTICLE
   ================================= */

.feature{
  overflow:hidden;
}

.feature .cover{
  height:260px;
  background:
  linear-gradient(180deg, transparent, rgba(0,0,0,.4)),
  url('https://images.unsplash.com/photo-1521412644187-c49fa049e84d?auto=format&fit=crop&w=1600&q=60');
  background-size:cover;
  background-position:center;
}

.feature .content{
  padding:18px;
}

.kicker{
  color:var(--green);
  font-weight:800;
  font-size:12px;
  text-transform:uppercase;
}

.h1{
  font-size:24px;
  font-weight:900;
  margin:8px 0;
}

.meta{
  color:var(--muted);
  font-size:13px;
}

/* =================================
   GRID POSTS
   ================================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

@media(max-width:900px){
  .grid{grid-template-columns:1fr 1fr}
}

@media(max-width:600px){
  .grid{grid-template-columns:1fr}
}

.post .img{
  height:170px;
  background:
  linear-gradient(180deg, transparent, rgba(0,0,0,.45)),
  url('https://images.unsplash.com/photo-1547347298-4074fc3086f0?auto=format&fit=crop&w=1400&q=60');
  background-size:cover;
}

.post .body{
  padding:14px;
}

.post h3{
  font-size:16px;
  font-weight:800;
  margin:8px 0;
}

.post p{
  color:var(--muted);
  font-size:13px;
}

/* =================================
   BUTTONS
   ================================= */

.btn{
  background:var(--gradient);
  color:white;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.btn:hover{
  opacity:.9;
}

/* =================================
   TAGS
   ================================= */

.tag{
  background:#f3f4f6;
  color:#555;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}

/* =================================
   FOOTER
   ================================= */

.footer{
  margin-top:40px;
  background:white;
  border-top:1px solid var(--border);
  padding:18px 0;
  font-size:13px;
  color:var(--muted);
}

.footer a:hover{
  color:var(--green);
}

/* =================================
   FORMS
   ================================= */

.form input,
.form textarea{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid var(--border);
  font-family:inherit;
}

.form input:focus,
.form textarea:focus{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 2px rgba(34,197,94,.2);
}
