/* Version “plus mairie” : clair, institutionnel, lisible + pages config JSON */
:root{
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --accent: #0b5ed7;
  --accent-2: #0a58ca;
  --shadow: 0 10px 28px rgba(17,24,39,.10);
  --radius: 14px;
  --ok: #0f766e;
  --warn: #b45309;
  --danger: #b91c1c;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a{ color:inherit; }
code{ background: #eef2ff; padding:2px 6px; border-radius:8px; }
.container{ width:min(1120px, 92vw); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:8px;
  padding:10px 12px; background:#111827; color:#fff; border-radius:10px;
}
.skip-link:focus{ left:12px; z-index:999; }

/* Header */
.site-header{
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand-mark{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  background: var(--accent);
  color:#fff; font-weight:800;
}
.brand-text span{ display:block; font-size:.82rem; color:var(--muted); }

.nav{
  display:flex; align-items:center; gap:10px;
}
.nav a{
  text-decoration:none;
  padding:10px 12px; border-radius:12px;
  color: #1f2937;
}
.nav a:hover{ background: #f3f4f6; }
.nav a[aria-current="page"]{ background:#eef2ff; }

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding:10px 12px; border-radius:12px;
}
.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Important bar */
.important-bar{
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.important-inner{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 10px 0;
}
.important-text{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.important-text strong{
  padding:4px 10px;
  border-radius:999px;
  background: rgba(11,94,215,.10);
  border:1px solid rgba(11,94,215,.22);
  color:#0b2f6b;
}
.important-bar[data-style="warning"] .important-text strong{
  background: rgba(180,83,9,.10);
  border-color: rgba(180,83,9,.22);
  color: #7c2d12;
}
.important-bar[data-style="danger"] .important-text strong{
  background: rgba(185,28,28,.10);
  border-color: rgba(185,28,28,.22);
  color: #7f1d1d;
}
.important-link{
  color: var(--accent);
  text-decoration:none;
  white-space:nowrap;
}
.important-link:hover{ text-decoration:underline; }
.important-close{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  width:36px; height:36px;
}

/* Hero */
.hero{ padding:28px 0 10px; }
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items: start;
}
.kicker{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color: var(--muted);
  background: #fff;
}
h1{ margin:12px 0 10px; font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing:-.03em; }
.lead{ margin:0 0 16px; color: var(--muted); font-size:1.05rem; line-height:1.55; }

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 14px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: #fff;
  text-decoration:none;
}
.btn:hover{ background: #f9fafb; }
.btn.primary{
  border-color: rgba(11,94,215,.25);
  background: var(--accent);
  color:#fff;
}
.btn.primary:hover{ background: var(--accent-2); }
.btn.ghost{ background: transparent; }
.btn.small{ padding:10px 12px; border-radius:12px; font-size:.95rem; }

.quick-links{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-flex; padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-decoration:none;
  font-size:.95rem;
}
.chip:hover{ color: var(--text); background: #f9fafb; }

.hero-card{
  border:1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.h3{ font-size:1.2rem; margin:0 0 8px; }
.note{
  margin:12px 0;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: var(--surface-2);
}
.list{ margin:8px 0 0; padding-left:18px; }
.list li{ margin:4px 0; }

/* Sections */
.section{ padding: 26px 0; }
.section.alt{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.section-head h2{ margin:0; font-size:1.55rem; letter-spacing:-.02em; }
.muted{ color: var(--muted); }
.small{ font-size:.95rem; }
.section-actions{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

.grid{ display:grid; gap:14px; margin-top:14px; }
.cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  border:1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 1px 0 rgba(17,24,39,.03);
}
.card h3{ margin:8px 0 8px; letter-spacing:-.02em; }
.tag{
  display:inline-block;
  margin:0;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(11,94,215,.08);
  border:1px solid rgba(11,94,215,.18);
  color: #0b2f6b;
  font-size:.9rem;
}
.link{ color: var(--accent); text-decoration:none; }
.link:hover{ text-decoration:underline; }

.tile{
  display:block;
  text-decoration:none;
  border:1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 1px 0 rgba(17,24,39,.03);
}
.tile:hover{ background: #f9fafb; }

/* Page head / prose */
.page-head{ padding: 24px 0 8px; }
.filters{
  display:grid;
  grid-template-columns: 1fr 220px;
  gap:12px;
  margin: 14px 0 0;
}
.filter{
  display:block;
  color: var(--muted);
  font-size:.95rem;
}
.filter input, .filter select{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font: inherit;
}
.prose{ line-height:1.65; }

/* Meetings list */
.stack{ display:grid; gap:12px; }
.meeting{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:16px;
}
.meeting-top{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  align-items:flex-start;
}
.meeting h3{ margin:6px 0 6px; }
.meta{ color: var(--muted); font-size:.95rem; }
.docs{ margin:10px 0 0; padding-left:18px; }
.docs li{ margin:6px 0; }

/* Contact */
.contact{ grid-template-columns: 1fr 1.2fr; }
label{ display:block; margin:10px 0 0; color: var(--muted); font-size:.95rem; }
input, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}
textarea{ resize: vertical; }

/* Footer */
.site-footer{
  padding: 18px 0 22px;
  border-top:1px solid var(--line);
  background: #fff;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .filters{ grid-template-columns: 1fr; }
  .nav-toggle{ display:inline-flex; }
  .nav{
    display:none;
    position:absolute;
    right: 4vw;
    top: 64px;
    width: min(360px, 92vw);
    flex-direction:column;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border:1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav a{ width:100%; }
  .nav.open{ display:flex; }
}

/* === Logo blason (sans fond) === */
.brand-mark{
  background: none !important;
  color: inherit !important;
}
.brand-mark img{
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

/* === Image optionnelle dans les actus ("À la une") === */
.news-media{
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.news-img{
  width: 100%;
  height: auto;
  display: block;
}

/* === À la une : image pleine largeur dans la carte === */
.news-card{
  padding: 0;
  overflow: hidden;
}
.news-media-full{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-img-full{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-content{
  padding: 18px;
}

/* === Logo partenaire (footer) === */
.partner-logo{
  height: 28px;
  width: auto;
  vertical-align: middle;
  margin-left: 8px;
}
@media (max-width: 600px){
  .partner-logo{ height: 24px; }
}


/* === Équipe municipale (photos optionnelles) === */
.team-card{ overflow: hidden; }
.team-photo{
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 10px;
}
.team-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* === Agenda : images optionnelles === */
.agenda-card{
  padding: 0;
  overflow: hidden;
}
.agenda-content{
  padding: 18px;
}
.agenda-media-full{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.agenda-img-full{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Agenda page (cartes dans "À venir" / "Passés") */
.agenda-meeting{
  overflow: hidden;
}
.agenda-meeting-body{
  padding-top: 10px;
}


/* === Footer : logo partenaire plus grand, aligné bas droite (sans chevauchement) === */
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-main{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
}

.partner-logo-wrap{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-left: auto;
}

.partner-links{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.partner-link{
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}

.partner-link:focus-visible{
  outline: 3px solid var(--focus, #f2c94c);
  outline-offset: 4px;
}

.partner-logo{
  height: 70px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px){
  .footer-main{
    flex-direction: column;
    align-items: flex-start;
  }
  .partner-logo-wrap{
    align-self: flex-end;
    margin-top: 10px;
  }
  .partner-links{
    gap: 16px;
  }
  .partner-logo{
    height: 56px;
    max-width: 150px;
  }
}
/* === Associations : images optionnelles (plein largeur) === */
.asso-card{
  padding: 0;
  overflow: hidden;
}
.asso-media-full{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.asso-img-full{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.asso-content{
  padding: 18px;
}
/* === Commerces : filtres + images optionnelles (plein largeur) === */
.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip{
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}
.chip.active{
  border-color: var(--primary);
  color: var(--primary);
}
.badge{
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.commerce-card{ padding: 0; overflow: hidden; }
.commerce-media-full{ width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.commerce-img-full{ width: 100%; height: 100%; object-fit: cover; display: block; }
.commerce-content{ padding: 18px; }
.commerce-actions{ margin-top: 10px; }
/* === Infos (avec icônes) : Associations / Commerces === */
.infos-block{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-line{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

.info-ico{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--muted);
  margin-top: 2px;
}

.info-ico svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.info-txt{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px;
}

.info-label{
  font-weight: 600;
  color: var(--text);
}

.info-value{
  color: var(--muted);
}

@media (max-width: 520px){
  .info-txt{
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .info-label{ color: var(--muted); }
}

/* === Infos (avec icônes) : Associations / Commerces === */
.infos-block{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-line{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

.info-ico{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--muted);
  margin-top: 2px;
}

.info-ico svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.info-txt{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px;
}

.info-label{
  font-weight: 600;
  color: var(--text);
}

.info-value{
  color: var(--muted);
}

@media (max-width: 520px){
  .info-txt{
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .info-label{ color: var(--muted); }
}


/* Couleurs par type d'info */
.info-ico.kind-map{ color: #e11d48; }      /* rouge point/position */
.info-ico.kind-phone{ color: #0b4ea2; }    /* bleu institutionnel */
.info-ico.kind-mail{ color: #0b4ea2; }
.info-ico.kind-globe{ color: #0b4ea2; }

/* === Boutons "mini" (Accueil) === */
.btn.mini{
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1.1;
  box-shadow: none;
}

.btn.mini.outline{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn.mini:hover{
  filter: brightness(0.98);
}


/* =====================================================================
   HERO : bandeau photo (accueil) — rendu pro + lisibilité + mobile
   Image : mairie de Roppe, version WebP optimisée
   ===================================================================== */
.hero{
  position: relative;
  color: #fff;
  padding: 56px 0 18px;

  /* Photo + voile pour la lisibilité */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.32) 100%),
    url("assets/img/mairie-roppe-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* panneau discret derrière le texte (lisibilité) */
.hero-copy{
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
}

/* on garde les éléments au-dessus du voile */
.hero *{ position: relative; z-index: 1; }

/* kicker lisible */
.hero .kicker{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.96);
}

.hero h1{ color:#fff; text-shadow: 0 10px 26px rgba(0,0,0,.55); }
.hero .lead{ color: rgba(255,255,255,.92); text-shadow: 0 8px 20px rgba(0,0,0,.35); }

/* Carte infos pratiques : blanche semi-transparente pour rester lisible */
.hero-card{
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.hero-card, .hero-card *{ color: var(--text); text-shadow: none; }
.hero-card .muted{ color: #475569; }

/* Boutons : contraste OK sur photo */
.hero .btn{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.65);
  color: var(--text);
}
.hero .btn:hover{ background: #fff; }
.hero .btn.primary{
  background: var(--accent);
  border-color: rgba(11,94,215,.25);
  color: #fff;
}
.hero .btn.primary:hover{ background: var(--accent-2); }

/* Petits boutons (chips) */
.hero .chip,
.hero .btn.mini{
  background: rgba(255,255,255,.90);
  border-color: rgba(255,255,255,.65);
}

/* Responsive (mobile) */
@media (max-width: 900px){
  .hero{ padding: 42px 0 14px; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-copy{ padding: 14px 14px 10px; }
  .hero-card{ margin-top: 10px; }
}
@media (max-width: 520px){
  .hero{ padding: 34px 0 10px; background-position: 58% 46%; }
  .hero h1{ font-size: 1.9rem; }
  .hero .lead{ font-size: 1.0rem; }
  .hero-actions{ gap: 8px; }
  .hero .btn{ width: 100%; }
}


/* === OVERRIDE : HERO CARD "GLASS" (plus intégré) === */
.hero-card{
  background: rgba(255,255,255,0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important;
}
.hero-card h3{
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
}
/* ===== HERO CARD : GLASS PRO (override fort) ===== */
.hero-card{
  position: relative !important;
  overflow: hidden !important;

  /* glass plus marqué */
  background: rgba(255,255,255,0.62) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;

  border: 1px solid rgba(255,255,255,0.28) !important;
  border-radius: 20px !important;

  box-shadow:
    0 18px 55px rgba(0,0,0,0.30) !important;

  padding: 24px !important;
}

/* léger dégradé interne (effet premium) */
.hero-card::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.08) 55%,
    rgba(255,255,255,0.00) 100%
  ) !important;
}

/* texte bien lisible */
.hero-card, .hero-card *{
  color: #0f172a !important;
  text-shadow: none !important;
}
.hero-card .muted{ color:#475569 !important; }
.hero-card a{ color:#0b4ea2 !important; }

/* option : un peu plus “intégré” au bandeau */
@media (min-width: 901px){
  .hero-card{ transform: translateY(6px) !important; }
}

/* === Contacts utiles : labels hors liens === */

.contact-item-line{
  margin: 3px 0;
}

.contact-item-line .label{
  color: var(--muted);
  font-weight: 600;
  margin-right: 6px;
}

/* === Contacts utiles (bas de page) === */

.contacts-list{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-item{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-item-title{
  font-weight: 700;
  margin: 0 0 6px;
}

.contact-item-note{
  margin-top: 6px;
  color: var(--muted);
  font-size: .95rem;
}

/* === Contacts utiles : icônes + libellés === */

.contact-item-line{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.contact-item-ico{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  opacity: .9;
}

.contact-item-ico svg{
  width: 18px;
  height: 18px;
  display: block;
}

.contact-item-line .label{
  color: var(--muted);
  font-weight: 650;
  margin-right: 4px;
}
/* Photos équipe municipale */
.team-photo{
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:12px;
  margin-bottom:10px;
}

.team-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* === Actualités === */
.news-card{
  overflow: hidden;
}

.news-card-featured{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.news-media{
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-card-featured .news-media{
  margin-bottom: 0;
}

.news-media img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-media-large img{
  height: 100%;
  min-height: 280px;
}

.news-content{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 860px){
  .news-card-featured{
    grid-template-columns: 1fr;
  }

  .news-media-large img{
    min-height: 220px;
  }
}

.news-card .tag,
.agenda-card .tag,
.card .tag{
  display: inline-block;
  width: auto;
  align-self: flex-start;
}

.news-content,
.agenda-content{
  align-items: flex-start;
}
.download-link{
	display:inline-flex;
	align-items:center;
	gap:4px;
}
.download-link::after{
  content: "→";
  margin-left:4px;
}


/* === Réseaux sociaux : Facebook dans le footer === */
.footer-social{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  min-width:230px;
}

.footer-social-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}

.footer-social-copy strong{
  color:inherit;
  font-size:.92rem;
}

.footer-social-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--brand, #1f4e8c);
  font-weight:700;
  text-decoration:none;
}

.footer-social-link:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-social-copy small{
  max-width:190px;
  color:var(--muted, #64748b);
  font-size:.72rem;
  line-height:1.35;
}

.footer-social-qr{
  display:block;
  flex:0 0 auto;
  padding:5px;
  background:#fff;
  border:1px solid rgba(100,116,139,.25);
  border-radius:10px;
  box-shadow:0 5px 16px rgba(15,23,42,.08);
}

.footer-social-qr img{
  display:block;
  width:72px;
  height:72px;
}

.site-footer-light .footer-main{
  grid-template-columns:minmax(240px,1.25fr) minmax(180px,.9fr) minmax(245px,1fr) auto;
}

.site-footer:not(.site-footer-light) .footer-inner{
  gap:22px;
  flex-wrap:wrap;
}

.site-footer:not(.site-footer-light) .footer-social{
  margin-left:auto;
}

@media (max-width: 900px){
  .site-footer-light .footer-main{
    grid-template-columns:1fr 1fr;
  }
  .site-footer-light .footer-social{
    justify-self:start;
  }
}

@media (max-width: 640px){
  .footer-social{
    width:100%;
    justify-content:space-between;
    padding-top:14px;
    margin-top:8px;
    border-top:1px solid rgba(100,116,139,.18);
  }

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

  .site-footer:not(.site-footer-light) .footer-social{
    margin-left:0;
  }

  .footer-social-qr img{
    width:68px;
    height:68px;
  }
}
