/* Scoped to subpages: conversion, parent guide, then local reading. */
body main .mobile-product-hero .subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: stretch;
  padding: 0;
  text-align: left;
}
body main .mobile-product-hero .subpage-hero-actions > .button {
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  line-height: 1.35;
}
body main .mobile-product-hero .subpage-hero-actions > .subpage-parent-button {
  background: #fff;
  color: #232823;
  border: 1px solid #646c64;
  box-shadow: none;
  font-weight: 600;
  font-size: 15px;
}
body main .mobile-product-hero .subpage-hero-actions > .subpage-parent-button:hover {
  background: #f2f4f1;
  border-color: #232823;
}
body main .mobile-product-hero .subpage-hero-actions > .subpage-reading-link {
  flex: 0 0 100%;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body main .mobile-product-hero .subpage-hero-actions > a:focus-visible {
  outline: 3px solid #167aa5;
  outline-offset: 3px;
}
main #sommaire { scroll-margin-top: 18px; }
@media (max-width: 800px) {
  body main .mobile-product-hero .subpage-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
  }
  body main .mobile-product-hero .subpage-hero-actions > .button { width: 100%; }
  body main .mobile-product-hero .subpage-hero-actions > .subpage-reading-link { flex-basis: auto; justify-content: center; }
}

/* Commerce: the parent guide keeps its own compact height in the hero row. */
body.commerce-page main .mobile-product-hero .subpage-hero-actions > .subpage-parent-button {
  align-self: center;
  padding: 12px 20px;
}
@media (max-width: 800px) {
  body.commerce-page main .mobile-product-hero .subpage-hero-actions > .subpage-parent-button { align-self: stretch; }
}
