/* Accueil régional : comparaison des souvenirs, avec la charte existante. */
.home-comparison {
  background: var(--ivory);
}

.home-comparison .modern-section-heading {
  margin-bottom: 22px;
  max-width: 900px;
}

.home-comparison .modern-section-heading p {
  max-width: 72ch;
  margin-bottom: 0;
}

.home-comparison-table {
  margin: 30px 0 22px;
}

.home-comparison table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

.home-comparison col:first-child {
  width: 25%;
}

.home-comparison col:nth-child(2) {
  width: 18%;
}

.home-comparison caption {
  caption-side: top;
  padding-bottom: 15px;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
}

.home-comparison th,
.home-comparison td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  font-weight: 400;
}

.home-comparison thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 2px solid var(--blue);
  border-bottom-color: var(--blue);
  color: var(--blue);
  font-size: 14px;
}

.home-comparison tbody th {
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.home-comparison tbody tr:nth-child(2) {
  background: var(--linen);
}

.home-comparison-price {
  color: var(--blue);
  font-size: 24px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.home-comparison .home-comparison-note {
  margin: 12px 0 0;
  max-width: 80ch;
  font-size: 14px;
  line-height: 1.7;
}

.modern-hero--home .home-hero-note {
  grid-column: 2;
  grid-row: 3;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .home-comparison col:first-child {
    width: 30%;
  }

  .home-comparison col:nth-child(2) {
    width: 22%;
  }

  .home-comparison th,
  .home-comparison td {
    padding: 20px 8px;
  }

  .home-comparison thead th {
    font-size: 13px;
  }

  .home-comparison tbody th {
    font-size: 21px;
  }

  .home-comparison-price {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .home-comparison tbody th {
    font-size: 19px;
  }

  .home-comparison th,
  .home-comparison td {
    padding-right: 6px;
    padding-left: 6px;
  }
}
