.eb-page__content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.eb-page__header {
  margin-bottom: 28px;
}

.eb-page__title {
  margin: 0 0 14px;
}

.eb-page__intro {
  max-width: 860px;
}

.eb-comparatif {
  margin: 32px 0 48px;
}

.eb-comparatif__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #e7e1d8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.eb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eb-filter,
.eb-reset {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d7cfc3;
  border-radius: 12px;
  background: #fff;
  color: #1c1712;
  font-size: 15px;
}

.eb-reset {
  background: #191510;
  border-color: #191510;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.eb-reset:hover {
  background: #7a4b12;
  border-color: #7a4b12;
}

.eb-count {
  margin: 0;
  color: #5e554b;
  font-weight: 600;
}

.eb-empty {
  margin: 0 0 20px;
  color: #7a4b12;
  font-weight: 600;
}

.eb-comparatif__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.eb-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7e1d8;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff 100%);
  box-shadow: 0 14px 34px rgba(32, 22, 8, 0.08);
}

.eb-card[hidden] {
  display: none !important;
}

.eb-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f4efe8;
}

.eb-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eb-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #7b7164;
  font-weight: 600;
}

.eb-card__body {
  padding: 20px;
}

.eb-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.eb-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #efe7db;
  color: #6b4d27;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.eb-badge--dark {
  background: #1f1a14;
  color: #fff;
}

.eb-card__title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #16120d;
}

.eb-card__stars {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
}

.eb-stars {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
}

.eb-stars__base {
  color: #dfd6ca;
}

.eb-stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  color: #d9921c;
}

.eb-card__stars-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.eb-card__stars-score {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1f1a14;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.eb-card__stars-count {
  color: #6f655a;
  font-size: 13px;
  font-weight: 700;
}

.eb-card__ratings,
.eb-card__usage {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.eb-card__usage {
  padding-top: 16px;
  border-top: 1px solid #eee3d4;
}

.eb-rating {
  display: grid;
  gap: 8px;
}

.eb-rating__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.eb-rating__label-wrap {
  display: grid;
  gap: 2px;
}

.eb-rating__label {
  color: #2b241d;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}

.eb-rating__hint {
  color: #85796b;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.eb-rating__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3eee7;
  color: #3e3429;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.eb-rating__track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eee7dc 0%, #e7dfd3 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.eb-rating__fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(.22, 1, .36, 1);
  z-index: 1;
}

.eb-rating__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.32) 45%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.eb-rating__ticks {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(10% - 2px),
    rgba(255, 255, 255, 0.9) calc(10% - 2px),
    rgba(255, 255, 255, 0.9) 10%
  );
  pointer-events: none;
}

.eb-rating__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.eb-rating.is-very-low .eb-rating__fill {
  background: linear-gradient(90deg, #b43c32 0%, #d95c50 100%);
}

.eb-rating.is-low .eb-rating__fill {
  background: linear-gradient(90deg, #cb6a1d 0%, #e49035 100%);
}

.eb-rating.is-medium .eb-rating__fill {
  background: linear-gradient(90deg, #d5a01e 0%, #e7bf55 100%);
}

.eb-rating.is-good .eb-rating__fill {
  background: linear-gradient(90deg, #7da73c 0%, #9ac659 100%);
}

.eb-rating.is-excellent .eb-rating__fill {
  background: linear-gradient(90deg, #248a4a 0%, #3fc26d 100%);
}

.eb-rating.is-very-low .eb-rating__value {
  background: #f7dedb;
  color: #8d2a22;
}

.eb-rating.is-low .eb-rating__value {
  background: #f8e7d8;
  color: #975113;
}

.eb-rating.is-medium .eb-rating__value {
  background: #f9f0d1;
  color: #8a6613;
}

.eb-rating.is-good .eb-rating__value {
  background: #e6f0da;
  color: #55781f;
}

.eb-rating.is-excellent .eb-rating__value {
  background: #d9f0e1;
  color: #21683b;
}

.eb-card__footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 2px 0 18px;
  color: #6b6258;
  font-size: 14px;
  font-weight: 700;
}

.eb-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c97a1a 0%, #e7a33b 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(201, 122, 26, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.eb-card__button:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 122, 26, 0.34);
  filter: saturate(1.05);
}

@media (max-width: 640px) {
  .eb-page__content {
    padding: 24px 16px 40px;
  }

  .eb-comparatif__toolbar {
    padding: 14px;
  }

  .eb-filters {
    width: 100%;
    flex-direction: column;
  }

  .eb-filter,
  .eb-reset {
    width: 100%;
  }

  .eb-card__body {
    padding: 16px;
  }

  .eb-card__title {
    font-size: 1.2rem;
  }
}
.eb-guide-content {
  margin-top: 56px;
}

.eb-guide-content .by-four {
  margin-bottom: 34px;
}

.eb-guide-content .gcol-3_md-6_sm-12 {
  margin-bottom: 24px;
}

.eb-guide-content .gcol-3_md-6_sm-12 > h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.eb-guide-content .gcol-3_md-6_sm-12 > p {
  margin: 0;
  padding: 18px;
  height: 100%;
  border: 1px solid #e7e1d8;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff 100%);
  box-shadow: 0 14px 34px rgba(32, 22, 8, 0.06);
  color: #574d42;
  line-height: 1.65;
}

.eb-guide-content .gcol-3_md-6_sm-12 img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 0 14px;
  border-radius: 14px;
}

.eb-guide-content h2.wp-block-heading {
  margin: 18px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.eb-guide-content .wp-block-paragraph {
  max-width: 920px;
  margin: 0;
  color: #574d42;
  line-height: 1.75;
}

.eb-guide-content a {
  color: #a76417;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.eb-guide-content a:hover {
  color: #7a4b12;
}

@media (max-width: 640px) {
  .eb-guide-content {
    margin-top: 40px;
  }

  .eb-guide-content .gcol-3_md-6_sm-12 > p {
    padding: 16px;
  }
}
.eb-card__footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 18px;
}

.eb-perf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #e4dccf;
  border-radius: 999px;
  background: #f7f2eb;
  color: #6b6258;
  font-size: 13px;
  font-weight: 700;
}

.eb-perf__label {
  color: #6b6258;
}

.eb-perf__value {
  color: #2b241d;
  font-weight: 800;
}

.eb-perf.is-top {
  border-color: #d9921c;
  background: linear-gradient(135deg, #fff4df 0%, #ffe8bf 100%);
  box-shadow: 0 8px 18px rgba(217, 146, 28, 0.16);
}

.eb-perf.is-top .eb-perf__label,
.eb-perf.is-top .eb-perf__value {
  color: #8a5412;
}