
:root{--navy:#15344a;--blue:#1f668f;--sky:#eaf5fb;--bg:#f6f9fb;--card:#fff;--text:#17232c;--muted:#62727d;--border:#d9e5ec;--focus:#8cc7e8}
*{box-sizing:border-box} body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);line-height:1.45}
a{color:inherit}.map-container,.map-main,.map-footer{max-width:1180px;margin:auto}.map-hero{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;padding:34px 18px}
.map-brand{font-weight:800}.map-breadcrumb{font-size:.9rem;margin:8px 0;opacity:.9}.map-hero h1{margin:8px 0;font-size:clamp(1.9rem,4vw,2.8rem)}.map-hero p{margin:0;max-width:820px}
.map-nav{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.map-nav-inner{max-width:1180px;margin:auto;display:flex;gap:8px;padding:10px 18px;overflow:auto}
.map-nav a{text-decoration:none;font-weight:800;color:var(--navy);white-space:nowrap;padding:8px 10px;border-radius:8px}.map-nav a:hover,.map-nav a.active{background:var(--sky)}
.map-main{padding:24px 18px 48px}.map-speciality-grid,.map-set-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.map-tile{display:block;text-decoration:none;background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:0 3px 12px rgba(21,52,74,.06);transition:.15s}
.map-tile:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(21,52,74,.1)}.map-tile-icon{font-size:2rem}.map-tile h2,.map-tile h3{margin:8px 0 5px;color:var(--navy)}
.map-tile p{margin:4px 0;color:var(--muted)}.map-count{display:inline-block;margin-top:13px;font-weight:800;color:var(--blue)}
.map-tools{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-bottom:14px}.map-search{width:100%;padding:13px 14px;border:1px solid var(--border);border-radius:10px;font-size:1rem;background:#fff}
.map-result-count{font-weight:800;color:var(--muted);white-space:nowrap}.map-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.map-filter{border:1px solid var(--border);background:#fff;padding:8px 12px;border-radius:999px;cursor:pointer;font-weight:800;color:var(--navy)}.map-filter.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.map-vocab-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.map-word-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:15px;box-shadow:0 2px 8px rgba(21,52,74,.05)}
.map-word-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.map-english{font-size:1.13rem;font-weight:900;color:var(--navy)}.map-french{margin-top:6px;color:var(--muted)}
.map-category{margin-top:10px;font-size:.76rem;font-weight:800;color:var(--blue);text-transform:uppercase}.map-listen{border:0;background:var(--sky);color:var(--navy);width:42px;height:42px;border-radius:50%;cursor:pointer;font-size:1.08rem;flex:0 0 42px}
.map-listen:focus,.map-search:focus,.map-filter:focus{outline:3px solid var(--focus);outline-offset:2px}.map-empty,.map-status{background:#fff;border:1px solid var(--border);padding:18px;border-radius:12px;color:var(--muted)}
.map-note{margin-top:24px;background:#fff;border-left:4px solid var(--blue);padding:14px 16px;border-radius:8px;color:var(--muted)}.map-footer{padding:0 18px 35px;color:var(--muted);font-size:.9rem}
.map-back{display:inline-block;margin-bottom:18px;text-decoration:none;font-weight:800;color:var(--blue)}@media(max-width:680px){.map-tools{grid-template-columns:1fr}}

.map-speciality-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.map-speciality-toolbar .map-back{
  margin-bottom:0;
}
.map-total-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:var(--sky);
  color:var(--blue);
  font-weight:800;
  white-space:nowrap;
}
@media(max-width:680px){
  .map-speciality-toolbar{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
}

/* ===== MonAnglaisPro.fr shared header ===== */
.map-site-header{
  background:#ffffff;
  border-bottom:1px solid #d9e5ec;
}
.map-site-header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.map-site-brand{
  color:#15344a;
  text-decoration:none;
  font-weight:900;
  font-size:1.02rem;
  white-space:nowrap;
}
.map-site-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.map-site-menu a{
  color:#15344a;
  text-decoration:none;
  font-weight:700;
  padding:10px 12px;
  border-radius:10px;
}
.map-site-menu a:hover,
.map-site-menu a.active{
  background:#eef6fb;
  color:#0b67a3;
}

/* ===== MonAnglaisPro.fr shared footer ===== */
.map-site-footer{
  background:#173e69;
  color:#ffffff;
  margin-top:0;
}
.map-site-footer-inner{
  max-width:1180px;
  margin:0 auto;
  padding:34px 18px 30px;
  text-align:center;
}
.map-site-footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 22px;
  margin-bottom:18px;
}
.map-site-footer-links a{
  color:#ffffff;
  text-decoration:underline;
}
.map-site-copyright{
  margin:0 0 14px;
  font-size:1.05rem;
  font-weight:800;
}
.map-site-legal{
  margin:0 auto;
  max-width:1000px;
  font-size:.88rem;
  line-height:1.5;
}

/* Vocabulary content should sit naturally between global header and footer */
.map-hero{
  margin-top:0;
}

/* Homepage vocabulary CTA — matches the existing outlined hero buttons */
.map-home-vocab-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 18px;
  border:1.5px solid #0b79c9;
  border-radius:9px;
  background:#ffffff;
  color:#006fc2;
  text-decoration:none;
  font-weight:800;
  font-size:1rem;
  box-shadow:none;
}
.map-home-vocab-button:hover{
  background:#f2f8fc;
}
.map-home-vocab-button:focus{
  outline:3px solid #8cc7e8;
  outline-offset:2px;
}

@media(max-width:900px){
  .map-site-header-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    padding-top:14px;
    padding-bottom:14px;
  }
  .map-site-menu{
    justify-content:flex-start;
  }
}
@media(max-width:600px){
  .map-site-menu{
    gap:4px;
  }
  .map-site-menu a{
    padding:8px 9px;
    font-size:.92rem;
  }
  .map-site-footer-links{
    gap:8px 14px;
  }
}
