/* Accessible FR/EN navigation for specialised pages built outside the main shell.
   Scoped so existing topic-specific tools and layouts remain untouched. */
.renoatlas-standalone-header,
.renoatlas-standalone-header * { box-sizing: border-box; }
.renoatlas-standalone-header {
  background: #fffdf7;
  color: #17372b;
  border-bottom: 1px solid #dce5dc;
  font: 500 0.94rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  width: 100%;
  position: relative;
  z-index: 20;
}
.renoatlas-standalone-header a { color: #104b38; text-decoration: none; }
.renoatlas-standalone-header a:hover,
.renoatlas-standalone-header a:focus-visible { text-decoration: underline; }
.renoatlas-standalone-header a:focus-visible,
.renoatlas-standalone-header summary:focus-visible {
  outline: 3px solid #c77924;
  outline-offset: 3px;
}
.renoatlas-standalone-header .ra-shell {
  width: min(100% - 1.5rem, 1280px);
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.renoatlas-standalone-header .ra-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #07513d;
  font-weight: 800;
  font-size: 1.12rem;
  white-space: nowrap;
  flex: 0 0 auto;
}
.renoatlas-standalone-header .ra-brand img {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 38px;
}
.renoatlas-standalone-header .ra-site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 0.9rem;
  align-items: center;
}
.renoatlas-standalone-header .ra-site-nav a { white-space: nowrap; }
.renoatlas-standalone-header .ra-language-switch {
  flex: 0 0 auto;
  font-weight: 800;
  padding: 0.4rem 0.6rem;
  border: 1px solid #c7d8cc;
  border-radius: 0.5rem;
}
.renoatlas-standalone-header .renoatlas-mobile-menu { display: none; }
.ra-standalone-skip {
  position: absolute;
  top: -200px;
  left: 0.75rem;
  background: #fffdf7;
  color: #104b38;
  font: 700 1rem system-ui, sans-serif;
  padding: 0.65rem;
  z-index: 100;
}
.ra-standalone-skip:focus { top: 0.5rem; }
@media (max-width: 1120px) {
  .renoatlas-standalone-header .ra-site-nav { display: none; }
  .renoatlas-standalone-header .ra-shell { justify-content: flex-start; gap: 0.75rem; }
  .renoatlas-standalone-header .ra-language-switch { margin-left: auto; }
  .renoatlas-standalone-header .renoatlas-mobile-menu { display: block; position: relative; }
  .renoatlas-standalone-header .renoatlas-mobile-menu > summary {
    display: list-item;
    cursor: pointer;
    padding: 0.5rem 0.6rem;
    border: 1px solid #c7d8cc;
    border-radius: 0.5rem;
    color: #104b38;
    font-weight: 700;
  }
  .renoatlas-standalone-header .renoatlas-mobile-menu > nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: min(82vw, 260px);
    display: grid;
    gap: 0.3rem;
    padding: 0.8rem;
    background: #fffdf7;
    border: 1px solid #c7d8cc;
    border-radius: 0.55rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }
  .renoatlas-standalone-header .renoatlas-mobile-menu > nav a {
    padding: 0.45rem 0.35rem;
    white-space: nowrap;
  }
}
@media (max-width: 350px) {
  .renoatlas-standalone-header .ra-shell { gap: 0.4rem; }
  .renoatlas-standalone-header .ra-brand { font-size: 0.96rem; gap: 0.25rem; }
  .renoatlas-standalone-header .ra-brand img { width: 30px; height: 30px; flex-basis: 30px; }
  .renoatlas-standalone-header .ra-language-switch { padding: 0.35rem; }
}
