﻿/* =========================================================
   Les Francs – Stili specifici della homepage
   Basato sul layout comune dei siti numismatici
   ========================================================= */

/* Layout di base */
body.lf-fr {
  background-color: #e5d4b4;
  color: #2f2418;
}

/* Titoli e testi principali */
body.lf-fr h1,
body.lf-fr h2,
body.lf-fr h3 {
  font-weight: 700;
  color: #24345a;
}

body.lf-fr p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Hero */
body.lf-fr .lf-hero {
  background: linear-gradient(135deg, #3e4f80, #f0c86e);
  color: #ffffff;
}

body.lf-fr .lf-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
}

body.lf-fr .lf-hero-subtitle {
  font-size: 1.05rem;
  max-width: 720px;
}

/* Sezione principale (sotto l'hero) */
body.lf-fr .lf-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #24345a;
}

body.lf-fr .lf-section-subtitle {
  font-size: 0.98rem;
  color: #4b4333;
}

/* =========================================================
   Griglia delle card – 3 per riga su desktop
   con spaziatura costante
   ========================================================= */

body.lf-fr .lf-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem;            /* spaziatura orizzontale e verticale costante */
  max-width: 1120px;      /* così 3 card fisse ci stanno comode */
  margin: 2.5rem auto 3rem;
}

/* Card paese */
body.lf-fr .lf-card {
  width: 260px;           /* dimensione fissa su desktop */
  background-color: #364f82;
  border-radius: 24px;
  padding: 2.2rem 1.7rem 1.7rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

body.lf-fr .lf-card-image-wrapper {
  display: inline-block;
  padding: 0.9rem;
  border-radius: 12px;
  background-color: #0a152f;
  margin-bottom: 1rem;
}

body.lf-fr .lf-card-image {
  max-width: 150px;
  height: auto;
  display: block;
}

body.lf-fr .lf-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

body.lf-fr .lf-card-text {
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

body.lf-fr .lf-card-links {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

body.lf-fr .lf-card-links a {
  color: #f4d789;
  text-decoration: none;
}

body.lf-fr .lf-card-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

body.lf-fr .lf-card-link-sep {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991.98px) {
  body.lf-fr .lf-card-grid {
    gap: 2rem;
  }

  body.lf-fr .lf-card {
    width: 240px;
    padding: 2rem 1.5rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  body.lf-fr .lf-card-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
  }

  body.lf-fr .lf-card {
    width: 100%;
    max-width: 320px;   /* una card per riga su mobile */
  }
}
