/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #4daf5c;
  --green-dark: #023b41;
  --green-mid:  #3a9e4a;
  --green-pale: #eef8f0;
  --blue:       #007cba;
  --blue-pale:  #e6f2fb;
  --text:       #1a1a2e;
  --text-mid:   #3d4452;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --border-mid: #d1d5db;
  --bg:         #ffffff;
  --bg-alt:     #f9fafb;
  --bg-dark:    #023b41;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --radius:     8px;
  --radius-lg:  16px;
  --t:          .18s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img, svg { display: block; }

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section       { padding: 4rem 0; }
.section-alt   { background: var(--bg-alt); }
.section-dark  { background: var(--bg-dark); color: #fff; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); }
.btn-dark { background: var(--green-dark); color: #fff; }
.btn-dark:hover { background: #035060; }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-pale); }
.btn-outline-white { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-ghost { color: var(--text-muted); border-color: var(--border-mid); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn-sm { padding: .35rem .9rem; font-size: .8rem; }

/* === HEADER / NAV === */
.site-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-full {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-logo-text {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1;
}
.nav-logo-text span { color: var(--green); }

/* === LANG SWITCHER === */
.lang-switcher {
  display: flex;
  gap: .2rem;
  margin-left: auto;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  padding: .3rem .45rem;
  border-radius: 4px;
  transition: var(--t);
  letter-spacing: .05em;
  line-height: 1;
}
.lang-btn:hover { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }
.lang-btn.active { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: var(--t);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.nav-cta {
  background: var(--green);
  color: #fff;
  margin-left: .5rem;
  border-radius: 9999px;
}
.nav-links a.nav-cta:hover { background: var(--green-mid); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  z-index: 201;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }

/* === SECTION HEADER === */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
  color: var(--green-dark);
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}
.section-header { margin-bottom: 2.5rem; }
.section-header-center { text-align: center; }
.section-header-center .section-sub { margin-left: auto; margin-right: auto; }

/* Events section header - replacement for inline style */
.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* Events container - replacement for inline style */
.events-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* === HERO === */
.hero {
  background: var(--green-dark);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(77,175,92,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-banner-col {
  position: relative;
  flex-shrink: 0;
}
.hero-banner-img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  display: block;
  object-fit: cover;
}
.hero-logo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--green-dark);
  border: 3px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: .6rem .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.hero-logo-badge img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.hero-text-col { padding-left: .5rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(77,175,92,.2);
  border: 1px solid rgba(77,175,92,.3);
  border-radius: 9999px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* === FOSS4G YEARS GRID === */
.foss4g-years-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.foss4g-year-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .9rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--t);
  min-width: 90px;
  text-align: center;
  position: relative;
}
.foss4g-year-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.foss4g-year-card.foss4g-current { border-color: var(--green); background: var(--green-pale); }
.foss4g-year-card.foss4g-upcoming { border-color: #e07b00; background: #fff8f0; }
.foss4g-year-card.foss4g-upcoming .fy-year { color: #b35c00; }
.foss4g-year-card.foss4g-upcoming .fy-badge { background: #e07b00; }
.fy-year { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); line-height: 1; }
.fy-label { font-size: .72rem; color: var(--text-muted); margin-top: .2rem; }
.fy-badge {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  background: var(--green);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* FOSS4G promo box (archive.html) */
.foss4g-promo-box {
  background: var(--green-pale);
  border: 1px solid #b8e0c0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.foss4g-promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.foss4g-promo-box .section-eyebrow {
  margin-bottom: 0.5rem;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.stats-inner {
  display: flex;
  gap: 0;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5rem 2rem;
}
.stat strong {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.stat span { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

/* === CARDS === */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.card-meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.card-text { font-size: .875rem; color: var(--text-mid); line-height: 1.6; }

/* === GRID === */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

/* === EVENT CARDS === */
.event-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: box-shadow var(--t), transform var(--t);
  text-decoration: none;
  color: inherit;
}
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.event-card.featured { border-color: var(--green); border-left: 4px solid var(--green); }

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 48px;
  text-align: center;
  padding-top: .1rem;
  flex-shrink: 0;
}
.event-date-badge .day { font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--green-dark); }
.event-date-badge .month { font-size: .7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

.event-info h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
.event-info .event-loc { font-size: .8rem; color: var(--text-muted); margin-bottom: .4rem; }
.event-info p { font-size: .85rem; color: var(--text-mid); }
.event-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 9999px;
  background: var(--green-pale);
  color: var(--green-dark);
  margin-bottom: .4rem;
}
.event-tag.tag-blue { background: var(--blue-pale); color: var(--blue); }
.event-tag.tag-orange { background: #fff0e0; color: #b35c00; }

/* === PILLARS === */
.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--t);
}
.pillar:hover { box-shadow: var(--shadow); }
.pillar-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.pillar h3 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; color: var(--green-dark); }
.pillar p { font-size: .85rem; color: var(--text-muted); }

/* === JOIN BANNER === */
.join-banner {
  background: linear-gradient(135deg, var(--green-dark), #035060);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.join-banner h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.join-banner p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 480px; }

/* === BOARD === */
.board-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.board-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  flex: 1 1 200px;
}
.board-card.president { border-color: var(--green); background: var(--green-pale); }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  flex-shrink: 0;
}
.board-card.president .avatar { background: var(--green); }
.board-card h3 { font-size: .9rem; font-weight: 600; }
.board-card .role { font-size: .78rem; color: var(--green-dark); font-weight: 500; }

/* === FOUNDERS PHOTO === */
.founders-photo {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.founders-photo img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: center 60%;
}
.founders-photo figcaption {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .6rem 1rem;
  text-align: center;
  font-style: italic;
}
.founders-photo figcaption em { color: #fff; font-style: italic; }

/* === SOCIAL LINKS === */
.social-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--t);
  background: var(--bg);
}
.social-link:hover { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); text-decoration: none; }
.social-link .icon { width: 20px; height: 20px; flex-shrink: 0; }
.contact-matrix-help {
  margin-top: .6rem;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-matrix-help a { color: var(--blue); }

/* === ARCHIVE TABLE === */
.year-group { margin-bottom: 3rem; }
.year-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.events-list { display: flex; flex-direction: column; gap: .6rem; }
.archive-event {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: .85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--t);
}
.archive-event:hover { border-color: var(--border-mid); background: var(--bg-alt); }
.archive-event .ev-date { font-size: .82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.archive-event .ev-title { font-size: .9rem; font-weight: 600; color: var(--text); }
.archive-event .ev-loc { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.archive-event .ev-badge { font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 9999px; background: var(--green-pale); color: var(--green-dark); white-space: nowrap; }

/* === AG PAGE === */
.ag-grid { display: flex; flex-direction: column; gap: 1rem; }
.ag-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--t);
}
.ag-row:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.ag-year { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); }
.ag-info h3 { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.ag-info p { font-size: .82rem; color: var(--text-muted); }

/* === CONTACT/LINKS/RESOURCES PAGES === */
.page-hero {
  padding: 3rem 0;
  background: var(--bg);
}

.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--green-dark);
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-dark.active-filter {
  background: var(--green-dark);
  color: #fff;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255,255,255,.6);
}
.footer-legal a:hover {
  color: #fff;
}
.social-icons {
  display: flex;
  gap: .75rem;
}
.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  transition: var(--t);
}
.social-icons a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.social-icons svg { width: 18px; height: 18px; }

/* === GALLERY PAGE === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 40%);
  pointer-events: none;
}
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 1.5rem 1rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

/* === FOSS4G 2026 PAGE === */
.foss4g-hero {
  background: linear-gradient(135deg, var(--green-dark), #035060);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.foss4g-hero-content {
  max-width: 600px;
  margin: 0 auto;
}
.foss4g-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(77,175,92,.2);
  border: 1px solid rgba(77,175,92,.3);
  border-radius: 9999px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.foss4g-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.foss4g-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.foss4g-date {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9999px;
  padding: .6rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.foss4g-date-icon {
  width: 28px;
  height: 28px;
}

/* ===== INLINE STYLES REPLACEMENT =====
   These classes replace inline styles found in index.html and archive.html */
[data-i18n-html] {
  white-space: pre-line;
}

/* ===== RESPONSIVE STYLES ===== */

/* Mobile First - Base styles already handle mobile */

/* Mobile menu styles - always present but hidden on desktop */
.nav-links {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--green-dark);
  flex-direction: column;
  align-items: stretch;
  padding: 1rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 199;
  display: none;
}

.nav-links.open {
  transform: translateY(0);
  display: flex;
}

.nav-links li:last-child {
  margin-top: 0.5rem;
}

.nav-burger {
  display: block;
  position: relative;
  z-index: 201;
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
  .nav-burger { display: none; }
  .nav-links {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    z-index: auto;
  }
  
  .hero-inner {
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
  }

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

  .hero-banner-col {
    position: relative;
    flex-shrink: 0;
  }
  
  .events-header {
    flex-direction: row;
    align-items: flex-end;
  }
  
  .filter-bar {
    flex-direction: row;
    align-items: center;
  }
  
  .btn {
    justify-content: flex-start;
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  :root {
    --radius-lg: 12px;
  }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }

  html {
    font-size: 18px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-inner {
    grid-template-columns: 380px 1fr;
    gap: 3.5rem;
  }
  
  .hero-banner-img {
    max-width: 380px;
  }
  
  .stats-bar {
    padding: 1.75rem 0;
  }
  
  .stat {
    padding: 0.5rem 2.5rem;
  }
  
  .join-banner {
    padding: 3.5rem;
  }
  
  .grid-4 {
    gap: 1.5rem;
  }
  
  .foss4g-years-grid {
    justify-content: flex-start;
  }
  
  .archive-event {
    grid-template-columns: 110px 1fr auto;
  }
}

/* Large Desktop - 1024px and up */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .grid-4 {
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

/* Extra Large - 1280px and up */
@media (min-width: 1280px) {
  .hero {
    padding: 5rem 0;
  }
}

/* Extra Small - 360px and down */
@media (max-width: 360px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* CONTACT PAGE */  
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }  
.contact-block { margin-bottom: 2.5rem; }  
.legal-dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }  
.legal-dl dt { font-weight: 600; color: var(--text); }  
.legal-dl dd { color: var(--text-muted); font-size: 0.9rem; }  
.channel-category { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.65rem; } 
.text-mid-i18n { color: var(--text-mid); margin-bottom: 1rem; } 
.btn-statutes { display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }  
.social-link-full { flex: 1 1 100%; }  
.social-link-name { font-size: 0.85rem; font-weight: 600; }  
.social-link-desc { font-size: 0.75rem; color: var(--text-muted); } 
.join-cta-section { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }  
.join-cta-section p { margin-bottom: 0.5rem; } 
/* Links page styles */  
.links-section { margin-bottom: 3rem; }  
.links-section-header { margin-bottom: 1.5rem; }  
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }  
.links-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } 
.link-card { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-decoration: none; color: inherit; transition: var(--t); }  
.link-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }  
.link-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; } 
.link-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }  
.link-icon-logo { flex-shrink: 0; }  
.link-icon-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }  
.link-icon-wide { flex: 1; min-width: 120px; }  
.link-icon-wide img { width: 100%; height: auto; max-height: 32px; display: block; } 
.link-icon-mb { margin-bottom: 0.75rem; }  
.link-icon-add { font-size: 1.5rem; font-weight: 700; color: var(--green); }  
.link-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 9999px; background: var(--bg-alt); color: var(--text-muted); } 
.link-tag-green { background: var(--green-pale); color: var(--green-dark); }  
.link-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }  
.link-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.75rem; } 
.link-url { font-size: 0.75rem; color: var(--green-dark); font-weight: 500; }  
.link-card-volunteer { border-color: var(--border-mid); background: var(--bg-alt); }  
.link-card-add { text-align: center; } 
.ag-notice { background: var(--blue-pale); border: 1px solid #b3d4f0; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-size: 0.9rem; color: #1a4a6e; }  
.ag-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }  
.divider { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; } 
.mb-3 { margin-bottom: 1.5rem; }  
.board-founder { font-size: 0.85rem; font-style: italic; }  
.join-banner-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; } 
.legal-card { text-decoration: none; color: inherit; }  
.legal-badge .day { font-size: 1rem; }  
.footer-legal-sm { font-size: 0.75rem; margin-top: 0.25rem; }  
.footer-social { display: flex; gap: 1rem; margin-top: 0.75rem; }  
.footer-social a { color: rgba(255,255,255,.6); font-weight: 500; } 
/* Resources page styles */  
.osgeo-catalog { background: var(--green-pale); border: 1px solid #b8e0c0; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }  
.osgeo-catalog-title { font-weight: 600; margin-bottom: 0.25rem; }  
.osgeo-catalog-desc { font-size: 0.85rem; color: var(--text-muted); } 
.res-categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }  
.res-category-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }  
.res-category-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; } 
.res-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }  
.res-pill { display: inline-block; padding: 0.25rem 0.65rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; background: var(--bg-alt); color: var(--text); text-decoration: none; border: 1px solid var(--border); transition: var(--t); }  
.res-pill:hover { background: var(--green-pale); border-color: var(--green); color: var(--green-dark); } 
.osgeolive-card { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--green-pale); border: 1px solid #b8e0c0; border-radius: var(--radius-lg); display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; }  
.osgeolive-card-title { font-weight: 700; margin-bottom: 0.3rem; }  
.osgeolive-card-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; } 
.ml-info { margin-top: 1rem; padding: 1rem 1.25rem; background: #f0f7ff; border: 1px solid #c5d8f0; border-radius: var(--radius); font-size: 0.875rem; }  
.geodev-promo { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--green-pale); border: 1px solid #b8e0c0; border-radius: var(--radius-lg); display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; } 
.geodev-promo-title { font-weight: 700; margin-bottom: 0.3rem; }  
.geodev-promo-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; }  
.companies-info { margin-top: 1rem; padding: 1rem 1.25rem; background: #fff8f0; border: 1px solid #f0d0a0; border-radius: var(--radius); font-size: 0.875rem; color: #5a4a00; } 
/* CoC page styles */  
.coc-notice { background: var(--green-pale); border: 1px solid #b8e0c0; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; font-size: 0.9rem; }  
.coc-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--green-dark); }  
.coc-text { margin-bottom: 1.5rem; }  
.coc-list { margin-bottom: 1.5rem; padding-left: 1.25rem; line-height: 1.9; }  
.coc-attribution { font-size: 0.875rem; color: var(--text-muted); } 
/* FOSS4G 2026 page styles */
.foss4g-info { text-align: center; }
.foss4g-info-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.foss4g-info-desc { color: var(--text-muted); margin-bottom: 2rem; }
.foss4g-btn { background: #b35c00; border-color: #b35c00; font-size: 1rem; padding: 0.85rem 2rem; }
.foss4g-btn:hover { background: #934a00; border-color: #934a00; }
.foss4g-mail-link { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.foss4g-history { text-align: center; }
.foss4g-history-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* FOSS4G 2026 — hero */
.f26-hero {
  background: linear-gradient(135deg, #7a3000 0%, #b35c00 60%, #c97020 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
}
.f26-breadcrumb { margin-bottom: 2rem; }
.f26-breadcrumb a,
.f26-breadcrumb span { color: rgba(255,255,255,.6); font-size: .85rem; }
.f26-breadcrumb a:hover { color: #fff; }
.f26-breadcrumb span:last-child { color: rgba(255,255,255,.9); }
.f26-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.f26-hero-date {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  flex-shrink: 0;
}
.f26-date-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f9c880;
  margin-bottom: .6rem;
}
.f26-date-day {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: .2rem;
}
.f26-date-month {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: .5rem;
}
.f26-date-loc { font-size: .9rem; color: rgba(255,255,255,.7); }
.f26-hero-text { padding-left: .5rem; }
.f26-hero-text h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
  line-height: 1.15;
}
.f26-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.75rem;
  max-width: 480px;
  line-height: 1.65;
}
.f26-hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* FOSS4G 2026 — calls grid */
.f26-calls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.f26-call-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--t);
}
.f26-call-card:hover { box-shadow: var(--shadow); border-color: var(--border-mid); }
.f26-call-icon { font-size: 1.75rem; line-height: 1; }
.f26-call-body { flex: 1; }
.f26-call-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.f26-call-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); }
.f26-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 9999px;
}
.f26-badge-soon  { background: #fff3e0; color: #b35c00; }
.f26-badge-open  { background: var(--green-pale); color: var(--green-dark); }
.f26-badge-closed { background: var(--bg-alt); color: var(--text-muted); }
.f26-call-body p { font-size: .9rem; color: var(--text-mid); line-height: 1.55; }
.f26-call-deadline {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .5rem;
}
.f26-call-footer { margin-top: auto; }

/* FOSS4G 2026 — timeline */
.f26-timeline {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}
.f26-timeline::before {
  content: '';
  position: absolute;
  left: .45rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: var(--border);
}
.f26-tl-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
  display: flex;
  gap: 1rem;
}
.f26-tl-item:last-child { padding-bottom: 0; }
.f26-tl-dot {
  position: absolute;
  left: -1.575rem;
  top: .35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-mid);
  border: 2px solid var(--bg);
  flex-shrink: 0;
}
.f26-tl-dot-main {
  width: 14px;
  height: 14px;
  background: #b35c00;
  left: -1.775rem;
  top: .2rem;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(179,92,0,.2);
}
.f26-tl-content { flex: 1; }
.f26-tl-date {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.f26-tl-text { font-size: .95rem; color: var(--text-mid); }
.f26-tl-highlight { font-weight: 700; color: var(--green-dark); font-size: 1rem; }
.f26-tl-main .f26-tl-date { color: #b35c00; }

/* FOSS4G 2026 — inscriptions */
.f26-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.f26-reg-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 2px solid transparent;
}
.f26-reg-free {
  background: var(--green-pale);
  border-color: rgba(77,175,92,.25);
}
.f26-reg-training {
  background: var(--blue-pale);
  border-color: rgba(0,124,186,.2);
}
.f26-reg-icon { font-size: 1.75rem; margin-bottom: .6rem; }
.f26-reg-card h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: .5rem; }
.f26-reg-training h3 { color: var(--blue); }
.f26-reg-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.55; }
.f26-reg-note { font-size: .78rem !important; color: var(--text-muted) !important; margin-top: .5rem; }
.f26-reg-legal {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-mid);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOSS4G 2026 — pretix placeholder + pré-inscription */
.f26-pretix-placeholder {
  margin-top: 1.5rem;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  background: var(--bg-alt);
}
.f26-pretix-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
  text-align: center;
}
.f26-pretix-note {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.f26-prereg-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.f26-prereg-option {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.f26-prereg-option-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}
.f26-prereg-option-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}
.f26-prereg-divider {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .f26-prereg-actions { flex-direction: column; }
  .f26-prereg-divider { align-self: center; }
}

/* FOSS4G 2026 — github section */
.f26-github-section { padding: 3.5rem 0; }

/* FOSS4G 2026 — status chips on date card */
.f26-hero-chips { display: flex; flex-direction: column; gap: .35rem; margin-top: .9rem; }
.f26-chip {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: .22rem .6rem;
  border-radius: 9999px;
  text-align: center;
}
.f26-chip-ok { background: rgba(77,175,92,.25); color: #d4f5da; border: 1px solid rgba(77,175,92,.3); }

/* FOSS4G 2026 — meeting notice banner */
.f26-meeting-notice {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.f26-meeting-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.f26-meeting-notice strong { color: #fff; }
.f26-meeting-notice a { color: #f9c880; text-decoration: underline; }
.f26-meeting-notice a:hover { color: #fff; }

/* ── FOSS4G 2026 — carte Leaflet ─────────────────────────── */

/* Cadre cartographique */
.f26-map-frame {
  position: relative;
  border: 3px solid var(--green-dark);
  box-shadow:
    inset 0 0 0 1px rgba(2,59,65,.25),
    0 8px 32px rgba(0,0,0,.12);
  border-radius: 6px;
  overflow: hidden;
  background: #e8e0d5;
}

#f26-map {
  height: 300px;
  width: 100%;
  display: block;
  cursor: crosshair;
}

/* Légende — overlay en bas à gauche, style cartographique */
.f26-map-legend {
  position: absolute;
  bottom: 28px;
  left: 12px;
  z-index: 800;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  min-width: 180px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  line-height: 1.5;
}
.f26-map-legend-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-dark);
  margin-bottom: .3rem;
}
.f26-map-legend-addr {
  color: var(--text-mid);
  margin-bottom: .4rem;
}
.f26-map-legend-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.f26-map-legend-link:hover { text-decoration: underline; }
.f26-map-legend-sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: .5rem 0;
}
.f26-map-legend-transport {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  list-style: none;
  padding: 0;
}
.f26-map-legend-transport li {
  color: var(--text-muted);
  font-size: .78rem;
  display: flex;
  gap: .35rem;
  align-items: baseline;
}

/* Flèche nord — coin haut-droite */
.f26-map-north {
  position: absolute;
  top: 10px;
  right: 48px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: .2rem .35rem;
  line-height: 1.1;
}
.f26-map-north-arrow {
  font-size: .95rem;
  color: var(--green-dark);
  font-weight: 700;
}
.f26-map-north-label {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--text-muted);
}

/* Crédit sous la carte */
.f26-map-credit {
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--text-muted);
  text-align: right;
}
.f26-map-credit a { color: var(--text-muted); }
.f26-map-credit a:hover { color: var(--blue); }

/* Marqueur pulsant */
.f26-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(77,175,92,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: f26-pulse 2.4s ease-out infinite;
}
.f26-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
@keyframes f26-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(77,175,92,.55); }
  65%  { box-shadow: 0 0 0 14px rgba(77,175,92,0);  }
  100% { box-shadow: 0 0 0 0   rgba(77,175,92,0);   }
}

/* Surcharge popup Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  font-family: inherit !important;
}
.leaflet-popup-tip-container { display: none; }

/* ── FOSS4G 2026 — pages calls ────────────────────────────── */

/* Hero des pages call */
.f26-call-hero {
  color: #fff;
  padding: 2.5rem 0;
}
.f26-call-hero-sponsors  { background: linear-gradient(135deg, #7a3000, #b35c00); }
.f26-call-hero-cfp       { background: linear-gradient(135deg, #023b41, #035a64); }
.f26-call-hero-cfv       { background: linear-gradient(135deg, #1a4a1a, #2e7d32); }
.f26-call-hero-cfm       { background: linear-gradient(135deg, #1a3a5c, #1565c0); }

.f26-call-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.f26-call-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}

/* Bloc méta dans le hero */
.f26-call-meta {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 200px;
  flex-shrink: 0;
}
.f26-meta-item { display: flex; flex-direction: column; gap: .1rem; }
.f26-meta-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.f26-meta-item strong,
.f26-meta-item span:not(.f26-meta-label):not(.f26-badge) {
  font-size: .9rem;
  color: #fff;
}
.f26-meta-item a { color: #f9c880; font-size: .9rem; }

/* Layout 2 colonnes contenu + sidebar */
.f26-call-body-container {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}
.f26-call-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.f26-call-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.f26-call-content p { color: var(--text-mid); line-height: 1.65; margin-bottom: .75rem; }

/* Liste stylée */
.f26-list { padding-left: 0; display: flex; flex-direction: column; gap: .4rem; }
.f26-list li {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.f26-list li::before { content: '–'; color: var(--green); flex-shrink: 0; }
.f26-list-grid { display: grid; grid-template-columns: 1fr 1fr; }

/* Formats CfP */
.f26-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: .5rem;
}
.f26-format-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.f26-format-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.f26-format-card h3 { font-size: .95rem; font-weight: 700; color: var(--green-dark); margin-bottom: .2rem; }
.f26-format-time { font-size: .75rem; font-weight: 600; color: var(--green); margin-bottom: .4rem; }
.f26-format-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Tiers sponsoring */
.f26-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: .75rem; }
.f26-tier {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 2px solid transparent;
}
.f26-tier-gold     { background: #fffbea; border-color: #f5c518; }
.f26-tier-silver   { background: #f5f5f5; border-color: #aaa; }
.f26-tier-bronze   { background: #fff5ef; border-color: #cd7f32; }
.f26-tier-community{ background: var(--green-pale); border-color: rgba(77,175,92,.3); }
.f26-tier-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.f26-tier-medal { font-size: 1.4rem; }
.f26-tier-head h3 { font-size: 1rem; font-weight: 700; flex: 1; color: var(--text); }
.f26-tier-price { font-size: 1rem; font-weight: 800; color: var(--green-dark); }
.f26-tier-list { padding-left: 0; display: flex; flex-direction: column; gap: .3rem; }
.f26-tier-list li { font-size: .82rem; color: var(--text-mid); display: flex; gap: .4rem; align-items: baseline; }
.f26-tier-list li::before { content: '✓'; color: var(--green); flex-shrink: 0; font-size: .75rem; }
.f26-tiers-note { font-size: .82rem; color: var(--text-muted); font-style: italic; }

/* Perks bénévoles */
.f26-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: .5rem;
}
.f26-perk {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .9rem;
  color: var(--text-mid);
  font-weight: 500;
}
.f26-perk span { font-size: 1.4rem; flex-shrink: 0; }

/* Tableau des rôles */
.f26-roles-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.f26-role-row {
  display: grid;
  grid-template-columns: 2fr .4fr 3fr;
  gap: 1rem;
  padding: .7rem 1rem;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.f26-role-row:last-child { border-bottom: none; }
.f26-role-head {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.f26-role-row span:nth-child(2) { text-align: center; font-weight: 700; color: var(--green-dark); }
.f26-role-row span:last-child { color: var(--text-muted); }

/* Sidebar */
.f26-call-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.f26-sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.f26-sidebar-card h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.f26-sidebar-card p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: .2rem;
}
.f26-sidebar-links { display: flex; flex-direction: column; gap: .35rem; }
.f26-sidebar-links a {
  font-size: .875rem;
  color: var(--blue);
  text-decoration: none;
}
.f26-sidebar-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 700px) {
  .f26-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .f26-hero-date { padding: 1.25rem 1.5rem; }
  .f26-date-day { font-size: 3rem; }
  .f26-calls-grid { grid-template-columns: 1fr; }
  .f26-reg-grid { grid-template-columns: 1fr; }
  .f26-call-hero-inner { grid-template-columns: 1fr; }
  .f26-call-meta { min-width: unset; }
  .f26-call-body-container { grid-template-columns: 1fr; }
  .f26-call-sidebar { position: static; }
  .f26-formats-grid { grid-template-columns: 1fr; }
  .f26-tiers { grid-template-columns: 1fr; }
  .f26-perks { grid-template-columns: 1fr; }
  .f26-list-grid { grid-template-columns: 1fr; }
  .f26-role-row { grid-template-columns: 1fr; gap: .2rem; }
  .f26-role-head { display: none; }
} 
