/* L’accès aux articles reste dans la navigation principale sur ordinateur. */
.site-header .articles-nav-link[aria-current="page"] {
  color: var(--navy, #001a41);
  text-decoration: underline;
  text-decoration-color: var(--gold, #deb066);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.site-header .articles-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-header .articles-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--navy, #001a41);
  cursor: pointer;
}
.site-header .articles-menu-toggle[hidden] { display: none; }
.site-header .articles-menu-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-header .articles-menu-toggle[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}
.site-header .articles-menu-toggle:hover { background: var(--soft, #f5f7f9); }
.site-header .articles-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 25;
  width: 330px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line, #dce3eb);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px #001a4120;
}
.site-header .articles-dropdown.is-enhanced[data-open="true"] > .articles-dropdown-panel,
.site-header .articles-dropdown:not(.is-enhanced):focus-within > .articles-dropdown-panel {
  display: block;
}
@media (hover: hover) {
  .site-header .articles-dropdown:not(.is-enhanced):hover > .articles-dropdown-panel { display: block; }
}
.site-header .articles-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--navy, #001a41);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  text-decoration: none;
}
.site-header .articles-dropdown-panel a:hover,
.site-header .articles-dropdown-panel a:focus-visible,
.site-header .articles-dropdown-panel a[aria-current="page"] {
  background: var(--soft, #f5f7f9);
  text-decoration: none;
}
.site-header .articles-dropdown-panel a:focus-visible { outline-offset: -3px; }
.site-header .articles-dropdown-panel a[aria-current="page"] { box-shadow: inset 3px 0 var(--gold, #deb066); }
.site-header .articles-dropdown-panel .articles-sub-link {
  padding-left: 26px;
  color: var(--muted, #566579);
  font-size: 12px;
}
.site-header .articles-dropdown-panel .articles-all-link {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line, #dce3eb);
  border-radius: 0;
  font-weight: 600;
}
.site-header .mobile-menu .articles-mobile-links {
  margin: 4px 0 10px 8px;
  padding-left: 14px;
  border-left: 2px solid var(--gold, #deb066);
}
.site-header .mobile-menu .articles-mobile-links a {
  min-height: 44px;
  padding: 10px 4px;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
}
.site-header .mobile-menu .articles-mobile-links .articles-sub-link {
  padding-left: 16px;
  color: var(--muted, #566579);
  font-size: 12px;
}
.site-header .mobile-menu .articles-mobile-links a[aria-current="page"] {
  color: var(--navy, #001a41);
  font-weight: 700;
}

/* Extension du menu aux tablettes ; les styles existants gèrent les téléphones. */
@media screen and (min-width: 961px) and (max-width: 1120px) {
.site-header .mobile-menu summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy, #001a41);
  font-size: 12px;
  font-weight: 600;
}
.site-header .mobile-menu summary::-webkit-details-marker { display: none; }
.site-header .mobile-menu[open] summary span { transform: rotate(45deg); }
.site-header .mobile-menu nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line, #dce3eb);
  box-shadow: 0 12px 16px #001a4110;
  padding: 12px 20px 22px;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
}
.site-header .mobile-menu nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #dce3eb);
  font-size: 13px;
  text-decoration: none;
}
.site-header .mobile-menu nav a[aria-current="page"] { font-weight: 700; }
.site-header .mobile-menu nav .doctor-link { font-size: 12px; color: var(--muted, #566579); border: 0; }

  .site-header .main-nav { display: none; }
  .site-header .mobile-menu { display: block; }
}
