/* Correctifs de disposition KeeperLab */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1;
}
.catalog-image {
  display: block;
}
.category-card span {
  top: 18px;
  left: 20px;
  font-weight: 800;
}
.article-list a:first-child {
  border-top: 1px solid #ffffff35;
}
.article-list h3 {
  grid-column: 1;
  font-size: 29px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.article-list b {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-size: 22px;
}
.article-list span {
  grid-column: 1;
  font-size: 9px;
  font-weight: 800;
}
footer small:last-child {
  justify-self: end;
  margin-top: -15px;
}
.site-header nav {
  gap: clamp(14px, 2.2vw, 32px);
}
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: 64px;
  align-items: center;
}
.newsletter h2 em {
  color: var(--ink);
  opacity: 0.42;
}
.newsletter h2 {
  font-size: clamp(28px, 4.4vw, 55px);
  white-space: nowrap;
}
.newsletter-form {
  width: 100%;
}
.newsletter-form form {
  width: 100%;
}
.newsletter-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}
.newsletter-field input,
.newsletter-field button {
  height: 52px;
  border: 1px solid var(--ink);
  font:
    11px Montserrat,
    Arial,
    sans-serif;
}
.newsletter-field input {
  min-width: 0;
  width: 100%;
  padding: 0 16px;
  background: #ebff88;
  color: var(--ink);
  outline: none;
}
.newsletter-field input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.newsletter-field input::placeholder {
  color: #5d671f;
}
.newsletter-field button {
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.newsletter-field button:hover {
  background: #202820;
}
.newsletter-form small {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 600;
}
.newsletter-message {
  display: none;
  margin-bottom: 10px;
  padding: 11px 13px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.newsletter-message-success {
  background: #fff;
  color: #085229;
}
.newsletter-message-error {
  background: #fff;
  color: #8b1e1e;
}
.newsletter-field-error {
  margin: 7px 0 0;
  color: #8b1e1e;
  font-size: 10px;
  font-weight: 700;
}
.input--hidden {
  position: absolute !important;
  left: -9999px !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .site-header {
    height: auto;
    min-height: 65px;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .site-header nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 0 0 14px;
    font-size: 9px;
  }
  .header-actions {
    margin-left: auto;
  }
  .icon-button {
    display: none;
  }
  .article-list a {
    height: auto;
    min-height: 112px;
    padding: 20px 0;
  }
  .article-list h3 {
    font-size: 27px;
  }
  footer small:last-child {
    justify-self: start;
    margin-top: 0;
  }
  .newsletter {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .newsletter-form {
    max-width: 540px;
  }
}

@media (max-width: 480px) {
  .category-card span {
    top: 17px;
    left: 18px;
  }
  .article-list h3 {
    font-size: 25px;
  }
  .article-list {
    padding: 25px 30px;
  }
  .newsletter-field {
    grid-template-columns: 1fr;
  }
  .newsletter-field button {
    width: 100%;
  }
}

/* Accès au comparateur, y compris sur petit écran. */
/* Keep the extended navigation readable on tablet and small laptop widths. */
@media (min-width: 801px) and (max-width: 1150px) {
  .site-header {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 16px;
  }
}
.site-header nav .nav-comparator {
  background: var(--lime);
  color: var(--ink);
  padding: 9px 12px;
}
.site-header nav {
  align-items: center;
}
.site-header nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.site-header nav .nav-comparator[aria-current="page"] {
  box-shadow: inset 0 -3px var(--ink);
}
@media (max-width: 800px) {
  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 12px;
  }
  .site-header nav a {
    padding: 8px 0;
  }
  .site-header {
    position: relative;
  }
}
