/*
Theme Name: Canal Football
Theme URI: https://canalfootball.fr
Author: Ton Nom
Description: Thème WordPress optimisé SEO pour un blog de football professionnel.
Version: 1.0
*/
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
}
h1, h2, h3, h4 {
  color: #d60000;
}
a {
  color: #d60000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header, footer {
  padding: 1em;
  background: #f5f5f5;
  text-align: center;
}
main {
  padding: 1em;
  max-width: 800px;
  margin: auto;
}
.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.highlight-article .featured {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
  margin-bottom: 2rem;
}

.highlight-article .featured a {
  color: inherit;
  text-decoration: none;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-content {
  padding: 1rem;
}

.featured-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.grid-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-item {
  background: #f4f4f4;
  padding: 1rem;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.grid-item:hover {
  background: #fff;
  border-color: #aaa;
}

.grid-item img {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.grid-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.read-time {
  font-size: 0.9rem;
  color: #666;
}
/* =============== PIED DE PAGE =============== */
.site-footer {
  background-color: #fff;
  color: #111;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #000;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #d60000;
  text-decoration: underline;
}

.footer-col img {
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

.form-contact {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.form-contact input,
.form-contact textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-contact button {
  background: #d60000;
  color: white;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form-contact button:hover {
  background: #a30000;
}

.banniere-accueil img {
  width: 100%;
  height: auto;
  display: block;
}

.banniere-desktop {
  display: block;
}

.banniere-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .banniere-desktop {
    display: none;
  }
  .banniere-mobile {
    display: block;
  }
}

