/* HDS — lien CTA du header mobile : hérite du bleu nuit, illisible sur le hero et sur le header bleu */
.header-nav__mobile--last-link a {
  color: var(--aky-color-text-primary) !important;
}

/* HDS — le parent force 100px de padding sur mobile dès qu'une marge Gutenberg est posée (200px entre deux sections) */
@media screen and (max-width: 767px) {
  [style*="--pt:"] {
    padding-top: min(var(--pt), 48px) !important;
  }

  [style*="--pb:"] {
    padding-bottom: min(var(--pb), 48px) !important;
  }

  .s-title[style*="--pt:"] {
    padding-top: var(--pt) !important;
  }
}

/* HDS — grilles de prix (page Tarifs) */
.hds-prices {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
}

.hds-prices th {
  padding: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  opacity: .6;
}

.hds-prices td {
  padding: 14px 0;
  border-top: 1px solid rgba(var(--aky-color-text-background_body--rgb), .12);
  vertical-align: top;
}

.hds-prices th + th,
.hds-prices td + td {
  padding-left: 16px;
  text-align: right;
  white-space: nowrap;
}

.hds-prices td:nth-child(2) {
  font-weight: 700;
  color: var(--aky-color-primary);
}

.hds-prices td:nth-child(3) {
  opacity: .65;
}

@media screen and (max-width: 767px) {
  .hds-prices {
    font-size: 14px;
  }

  .hds-prices th + th,
  .hds-prices td + td {
    padding-left: 10px;
  }
}
