/*
Theme Name: Animal errant sur autoroute
Theme URI: https://example.com/animal-errant
Author: Équipe éditoriale
Description: Thème promotionnel du livre « Animal errant sur autoroute et autres offres d’emploi raisonnables », avec gestion intégrée des annonces inédites.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: animal-errant
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
  --cyan: #a9e6df;
  --cyan-deep: #8bd5cd;
  --ink: #121212;
  --paper: #f3efe5;
  --white: #fffdf7;
  --line: 2px solid var(--ink);
  --max: 1240px;
}


/* ==========================================================================
   BASE
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cyan);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* ==========================================================================
   ACCESSIBILITÉ
   ========================================================================== */

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding:
    0
    max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: var(--line);
  background: rgba(169, 230, 223, .94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand-mark {
  font-size: 1.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  border: var(--line);
  padding: .65rem .9rem;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.menu-toggle {
  display: none;
  border: var(--line);
  background: var(--paper);
  padding: .55rem .8rem;
  font-weight: 800;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: calc(100vh - 76px);
  max-width: var(--max);
  margin: 0 auto;
  padding:
    clamp(3.5rem, 7vw, 7rem)
    24px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, 'Times New Roman', serif;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 7rem);
  line-height: .84;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

h1 em {
  display: block;
  margin-top: .5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .29em;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-transform: none;
}

.hero-intro {
  max-width: 720px;
  margin: 2rem 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ==========================================================================
   BOUTONS
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.2rem;
  border: var(--line);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .035em;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

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

.button-paper {
  background: var(--paper);
}

.microcopy {
  margin-top: 1rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: .95rem;
}


/* ==========================================================================
   VISUEL HERO
   ========================================================================== */

.hero-visual {
  position: relative;
  max-width: 440px;
  justify-self: center;
  transform: rotate(2deg);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .15);
}

.cover-shadow {
  position: absolute;
  inset: 7% -5% -6% 5%;
  background: var(--ink);
  filter: blur(18px);
  opacity: .25;
}

.stamp {
  position: absolute;
  z-index: 3;
  right: -12%;
  bottom: 8%;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 4px double var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-13deg);
}


/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
  overflow: hidden;
  border-block: var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  font-weight: 900;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}


/* ==========================================================================
   SECTIONS GÉNÉRALES
   ========================================================================== */

.section {
  padding:
    clamp(4.5rem, 9vw, 8rem)
    max(24px, calc((100vw - var(--max)) / 2));
}

.section-paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(
      rgba(0, 0, 0, .06) .7px,
      transparent .7px
    );
  background-size: 5px 5px;
  border-bottom: var(--line);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2,
.author-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.05em;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.lead-copy {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.35;
}

.lead-copy p:first-child {
  margin-top: 0;
}


/* ==========================================================================
   FICHE LIVRE
   ========================================================================== */

.job-sheet {
  border: var(--line);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}

.job-sheet dl {
  margin: 0;
}

.job-sheet div {
  padding: 1.2rem;
  border-bottom: 1px solid var(--ink);
}

.job-sheet div:last-child {
  border-bottom: 0;
}

.job-sheet dt {
  font-size: .73rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.job-sheet dd {
  margin: .35rem 0 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}


/* ==========================================================================
   LISTE DES ANNONCES
   ========================================================================== */

.annonces-section {
  background: var(--cyan);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.filter {
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: .65rem .85rem;
  font-weight: 800;
  cursor: pointer;
}

.filter.is-active,
.filter:hover {
  background: var(--ink);
  color: white;
}


/* ==========================================================================
   CARTES D'ANNONCES
   ========================================================================== */

 .jobs-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   width: 100%;
   border-top: var(--line);
   border-left: var(--line);
 }

 .job-card {
   min-width: 0;
 }

.job-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--paper);
  border-right: var(--line);
  border-bottom: var(--line);
  transition:
    transform .18s ease,
    background .18s ease;
}

.job-card:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.job-card.featured {
  background: var(--ink);
  color: var(--paper);
}

.job-card[hidden] {
  display: none;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.job-card h3 {
  margin: 3rem 0 1rem;
  min-width: 0;

  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  line-height: .98;
  letter-spacing: -.025em;

  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.job-card__title a {
  display: block;
  min-width: 0;
  max-width: 100%;
}

.job-card p {
  margin: 0;
}

.job-card a {
  margin-top: auto;
  padding-top: 2rem;
  font-weight: 900;
  text-decoration: none;
}

.job-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.job-card__footer {
  margin-top: auto;
}

.job-card__footer a {
  display: inline-block;
}


/* ==========================================================================
   QR CALLOUT
   ========================================================================== */

.qr-callout {
  margin-top: 3rem;
  border: var(--line);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.qr-callout h3 {
  margin: 0 0 1rem;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
}

.qr-callout p:last-child {
  max-width: 740px;
  margin-bottom: 0;
}


/* ==========================================================================
   CITATION
   ========================================================================== */

.quote-section {
  padding:
    clamp(4rem, 10vw, 10rem)
    24px;
  border-block: var(--line);
  background: var(--ink);
  color: var(--paper);
}

.quote-section blockquote {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(2.2rem, 5.5vw, 5.8rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-align: center;
}


/* ==========================================================================
   AUTEUR
   ========================================================================== */

.author-section {
  display: grid;
  grid-template-columns: .35fr 1fr .65fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: var(--paper);
}

.author-label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.author-copy p {
  max-width: 760px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.author-card {
  border: var(--line);
  padding: 1.5rem;
  display: grid;
  gap: .85rem;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--cyan);
}

.author-card span {
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.author-card strong {
  border-top: 1px solid var(--ink);
  padding-top: .85rem;
}


/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.final-cta {
  padding:
    clamp(5rem, 12vw, 10rem)
    max(24px, calc((100vw - 1100px) / 2));
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding:
    2rem
    max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  border-top: var(--line);
  background: var(--paper);
  font-size: .9rem;
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.footer-links {
  align-items: flex-end;
}


/* ==========================================================================
   ARCHIVES WORDPRESS
   ========================================================================== */

.site-main-inner {
  min-height: 65vh;
}

.archive-hero {
  padding-bottom: 3rem;
}

.archive-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.pagination {
  margin-top: 3rem;
  font-weight: 800;
}

.pagination .nav-links {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  border: var(--line);
  background: var(--paper);
  padding: .65rem .9rem;
  text-decoration: none;
}

.pagination .current {
  background: var(--ink);
  color: #fff;
}

.empty-state {
  border: var(--line);
  background: var(--paper);
  padding: 2rem;
}


/* ==========================================================================
   ANNONCE INDIVIDUELLE
   ========================================================================== */

.single-annonce {
  min-height: 70vh;
  background: var(--paper);
}

.annonce-single {
  max-width: 1000px;
  margin: 0 auto;
  padding:
    clamp(3rem, 7vw, 7rem)
    24px
    clamp(5rem, 10vw, 9rem);
}


/* ==========================================================================
   EN-TÊTE DE L'ANNONCE
   ========================================================================== */

.annonce-single__header {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: var(--line);
}

.annonce-single__employer {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.annonce-single__title {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
}


/* ==========================================================================
   CONTENEUR DES SECTIONS
   ========================================================================== */

.annonce-single__sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}


/*
 * IMPORTANT :
 *
 * Les propriétés principales de :
 *
 * .annonce-section
 * .annonce-section__title
 * .annonce-section__content
 *
 * ainsi que des variantes :
 *
 * .annonce-section--intro
 * .annonce-section--missions
 * etc.
 *
 * sont générées par functions.php à partir de :
 *
 * Annonces → Styles des blocs
 */


/* ==========================================================================
   COMPORTEMENT INTERNE COMMUN DES CONTENUS
   ========================================================================== */

.annonce-section__content > :first-child {
  margin-top: 0;
}

.annonce-section__content > :last-child {
  margin-bottom: 0;
}

.annonce-section__content p {
  margin: 0 0 1.25em;
}

.annonce-section__content ul,
.annonce-section__content ol {
  margin: 1.25rem 0;
  padding-left: 1.5em;
}

.annonce-section__content li {
  margin-bottom: .55em;
}

.annonce-section__content a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.annonce-section__content strong {
  font-weight: 700;
}

.annonce-section__content em {
  font-style: italic;
}

.annonce-section__content blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--ink);
  font-size: 1.2em;
  line-height: 1.45;
}


/* ==========================================================================
   AJUSTEMENTS COMMUNS AUX SECTIONS
   ========================================================================== */

.annonce-section:first-child {
  padding-top: 0;
}

.annonce-section:last-child {
  border-bottom: 0;
}


/* ==========================================================================
   TAILLES DE TEXTE DE L'ÉDITEUR RICHE
   ========================================================================== */

.annonce-section__content .text-small {
  font-size: .82em;
}

.annonce-section__content .text-normal {
  font-size: 1em;
}

.annonce-section__content .text-large {
  font-size: 1.3em;
  line-height: 1.45;
}

.annonce-section__content .text-xlarge {
  font-size: 1.65em;
  line-height: 1.3;
  letter-spacing: -.02em;
}


/* ==========================================================================
   PETITES RÈGLES STRUCTURELLES SPÉCIFIQUES
   ========================================================================== */

/*
 * Ces règles ne définissent pas l'apparence générale des styles.
 * Elles gèrent seulement certains éléments internes.
 */

.annonce-section--missions .annonce-section__content ul {
  padding-left: 1.25em;
}

.annonce-section--postuler a {
  font-weight: 700;
}


/* ==========================================================================
   FALLBACK ANCIEN CONTENU
   ========================================================================== */

.annonce-single__legacy-content {
  max-width: 820px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  line-height: 1.65;
}

.annonce-single__legacy-content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}


/* ==========================================================================
   PIED DE L'ANNONCE
   ========================================================================== */

.annonce-single__footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: var(--line);
}

.annonce-single__edit-link {
  margin: 0 0 1rem;
}

.annonce-single__edit-link a,
.post-edit-link {
  font-weight: 800;
}

.annonce-single__back {
  margin: 0;
}

.annonce-single__back a {
  display: inline-block;
  font-weight: 900;
  text-decoration: none;
}

.annonce-single__back a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ==========================================================================
   ANCIENNES CLASSES — COMPATIBILITÉ
   ========================================================================== */

.annonce-header {
  padding-bottom: 3rem;
  border-bottom: var(--line);
}

.annonce-header h1 {
  max-width: 1100px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.annonce-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(260px, .6fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.annonce-content {
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.annonce-content h2,
.annonce-sidebar h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.annonce-sidebar {
  border: var(--line);
  background: var(--cyan);
  padding: 1.5rem;
  box-shadow: 8px 8px 0 var(--ink);
}

.annonce-sidebar ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 900;
}


/* ==========================================================================
   WORDPRESS ADMIN BAR
   ========================================================================== */

.admin-bar .site-header {
  top: 32px;
}


/* ==========================================================================
   RESPONSIVE — TABLETTE
   ========================================================================== */

@media (max-width: 900px) {

  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding:
      1.2rem
      20px
      1.5rem;
    border-bottom: var(--line);
    background: var(--cyan);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: .5rem 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(78vw, 410px);
  }

  .two-cols,
  .author-section {
    grid-template-columns: 1fr;
  }

  .author-label {
    writing-mode: initial;
    transform: none;
  }

  .section-heading-row,
  .qr-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    align-items: flex-start;
  }
}


/* ==========================================================================
   RESPONSIVE — ANNONCES
   ========================================================================== */

@media (max-width: 800px) {

  .annonce-layout {
    grid-template-columns: 1fr;
  }

  .annonce-single {
    padding-inline: 20px;
  }
}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 620px) {

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .stamp {
    width: 96px;
    height: 96px;
    right: -4%;
    font-size: .8rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    min-height: 280px;
  }

  .filters {
    width: 100%;
  }

  .filter {
    flex: 1 1 auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .annonce-single {
    padding-top: 2.5rem;
  }

  .annonce-single__header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  /*
   * On évite volontairement de redéfinir ici les propriétés
   * visuelles des styles administrables.
   *
   * Si tu veux un comportement mobile particulier pour un style,
   * on pourra ensuite ajouter une seconde zone "CSS mobile"
   * dans l'administration.
   */

  .annonce-section__content .text-xlarge {
    font-size: 1.45em;
  }
}


/* ==========================================================================
   WORDPRESS ADMIN BAR — MOBILE
   ========================================================================== */

@media (max-width: 782px) {

  .admin-bar .site-header {
    top: 46px;
  }
}

/* =========================================================
   TITRE DES ANNONCES — RESPONSIVE
   ========================================================= */

.annonce-single h1 {
	max-width: 100%;
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	line-height: 0.92;
	letter-spacing: -0.035em;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}

/* Mobile */
@media (max-width: 620px) {

	.annonce-single h1 {
		font-size: clamp(2rem, 9vw, 2.7rem);
		line-height: 0.94;
		letter-spacing: -0.025em;
		overflow-wrap: anywhere;
	}

}

/* =========================================================
   FOOTER — MENU WORDPRESS
   ========================================================= */

.site-footer {
	gap: 2rem;
}

/* Zone des liens */
.site-footer .footer-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem 1.5rem;
}

/* Menu généré par WordPress */
.site-footer .footer-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem 1.5rem;

	margin: 0;
	padding: 0;

	list-style: none;
}

/* Suppression des puces et marges des <li> */
.site-footer .footer-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Liens du menu + Haut de page */
.site-footer .footer-menu a,
.site-footer .footer-links > a {
	display: inline-block;

	font-size: 0.9rem;
	line-height: 1.3;

	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

/* Petit séparateur entre les liens du menu */
.site-footer .footer-menu li + li::before {
	content: "·";
	display: inline-block;
	margin-right: 1.5rem;
	text-decoration: none;
}

/* Interaction */
.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus-visible,
.site-footer .footer-links > a:hover,
.site-footer .footer-links > a:focus-visible {
	text-decoration-thickness: 2px;
}


/* =========================================================
   FOOTER — MOBILE
   ========================================================= */

@media (max-width: 620px) {

	.site-footer {
		gap: 1.75rem;
	}

	.site-footer .footer-links {
		display: block;
	}

	.site-footer .footer-menu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
		margin-bottom: 1.25rem;
	}

	.site-footer .footer-menu li + li::before {
		content: none;
	}

	.site-footer .footer-menu a,
	.site-footer .footer-links > a {
		font-size: 0.9rem;
	}

}
