#bootscore-navbar.navbar-nav {
gap: 1.5rem;
}
#masthead .navbar-brand .sodep-header-logo { max-width: 200px; height: auto; }
.sodep-revue-ratio { --bs-aspect-ratio: 100%; }
.sodep-revue-thumbnail { width: 85%; }

/* Les contenus éditoriaux partagent un axe centré et des retraits symétriques. */
.sodep-editorial {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.sodep-editorial .inner,
.sodep-editorial .inner-x {
  box-sizing: border-box;
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.sodep-editorial h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
}
.sodep-editorial h2,
.sodep-editorial h3,
.sodep-editorial h4 {
  line-height: 1.3;
}
.sodep-editorial .sodep-entry-description {
  margin-top: 1.5rem;
}
.sodep-editorial .sodep-entry-description p {
  max-width: 85ch;
  margin-block: 0 1rem;
  font-size: 1.0625rem;
}
.sodep-editorial .sodep-entry-navigation {
  margin-bottom: 3rem;
}
.sodep-editorial-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 24vw, 360px);
  padding: 3rem 1.5rem;
  overflow: hidden;
  color: #fff;
  background: #283830;
  text-align: center;
}
.sodep-editorial-hero .sodep-editorial-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sodep-editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 20%);
}
.sodep-editorial-hero-copy {
  max-width: 860px;
}
.sodep-editorial-hero h1 {
  margin-bottom: 1.25rem;
  color: #fff;
}
.sodep-editorial .sodep-editorial-hero p {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.sodep-editorial-card {
  height: 100%;
  background: #fff;
  border-radius: 1rem;
}
.sodep-editorial-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  color: #283830;
  text-decoration: none;
  transition: box-shadow .2s ease;
}
.sodep-editorial-card-link:hover {
  color: #283830;
  box-shadow: 0 8px 24px rgb(40 56 48 / 16%);
}
.sodep-editorial-card-link:focus-visible {
  outline: 3px solid var(--sodep-slate);
  outline-offset: 4px;
}
.sodep-editorial-card .sodep-editorial-card-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 580 / 500;
  object-fit: cover;
}
.sodep-editorial-card-body {
  flex: 1;
  padding: 1.25rem;
}
.sodep-editorial-card-label {
  display: block;
  margin-bottom: .5rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sodep-slate);
}
.sodep-editorial #main .sodep-editorial-card h2 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  color: #283830;
}
.sodep-editorial .sodep-editorial-card p {
  margin: .75rem 0 0;
  font-size: .875rem;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  .sodep-editorial-card-link {
    transition: none;
  }
}

/* Les sous-menus disposent de leur propre espacement et de liens contenus. */
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu {
  width: 20rem;
  max-width: calc(100vw - 2rem);
  padding: .375rem;
  border-radius: .375rem;
}
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .625rem .875rem;
  line-height: 1.5;
  letter-spacing: .12em;
  white-space: normal;
  border-radius: .25rem;
}
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item:hover,
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item:focus,
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item.active,
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item:active {
  color: #fff;
  background-color: var(--sodep-slate);
}
:is(#masthead, #offcanvas-navbar) #bootscore-navbar .dropdown-menu .dropdown-item:focus-visible {
  outline: 2px solid var(--sodep-slate);
  outline-offset: 2px;
}
@media (max-width: 991.98px) {
  #offcanvas-navbar #bootscore-navbar .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: .5rem 0 !important;
  }
  #offcanvas-navbar #bootscore-navbar .dropdown-toggle::after {
    border: 0;
  }
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .nav-item {
    margin-bottom: 0;
  }
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item::after {
    display: none !important;
  }
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item {
    padding: .625rem .875rem !important;
    font-size: .875rem !important;
    letter-spacing: .08em !important;
  }
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item:hover,
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item:focus,
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item.active,
  #offcanvas-navbar #bootscore-navbar .dropdown-menu .dropdown-item:active {
    color: #fff !important;
  }
}

/* Texte d'un article. */
.sodep-entry-text {
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Fiche d'une revue : couverture qui suit la lecture sur grand écran, textes secondaires lisibles sur le fond clair,
   grille des caractéristiques et formules d'abonnement en cartes sous le grand écran. */
@media (min-width: 768px) {
  .sodep-revue-cover {
    position: sticky;
    top: 8rem;
    align-self: flex-start;
  }
}
.sodep-revue-secondary,
.sodep-revue-facts dt {
  color: var(--sodep-slate-dark);
}
.sodep-revue-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: .375rem;
}
.sodep-revue-facts dt {
  font-weight: 400;
}
.sodep-revue-facts dd {
  margin: 0;
}
.sodep-revue-grid-title {
  margin: 1.25rem 0 .5rem;
  color: var(--sodep-ink);
  font-size: 1rem;
  font-weight: 600;
}
.sodep-revue-plan {
  margin-bottom: .75rem;
  padding: .875rem 1rem;
  border-radius: 1rem;
  background: var(--bs-white);
}
.sodep-revue-plan > :first-child {
  margin-top: 0;
}
.sodep-revue-plan-title {
  font-weight: 600;
}
.sodep-revue-plan-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: .25rem;
}
.sodep-revue-plan-prices dt {
  font-weight: 400;
}
.sodep-revue-plan-prices dd {
  margin: 0;
  text-align: right;
}
