.rupp-site a.ajmr-banner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1400px;
  min-height: 150px;
  margin: 20px auto;
  box-sizing: border-box;

  color: #fff;
  text-decoration: none;

  /*
   * Fond tiré de la couverture, fortement agrandi.
   * Modifier "165% auto" pour augmenter ou réduire le zoom.
   * Modifier "center 38%" pour déplacer verticalement le cadrage.
   */
  background-color: #111;
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.94) 0%,
      rgba(5, 5, 5, 0.82) 38%,
      rgba(5, 5, 5, 0.50) 68%,
      rgba(5, 5, 5, 0.22) 100%
    ),
    url("/ajmr/assets/banner.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center 100%;
  background-size: cover, 100% auto;

  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-size 0.35s ease;
}

/* Neutralise tout décor injecté par le thème sur les liens. */
.rupp-site a.ajmr-banner::before,
.rupp-site a.ajmr-banner::after {
  content: none !important;
  display: none !important;
}

.rupp-site a.ajmr-banner:hover {
  transform: translateY(-2px);
  background-size: cover, 172% auto;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.rupp-site .ajmr-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 17px;
  min-height: 120px;
}

.ajmr-books {
  flex: 0 0 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-stack {
  position: relative;
  width: 90px;
  height: 120px;
}

.book-main,
.book-shadow {
  position: absolute;
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}

.book-main {
  z-index: 3;
  transform: rotate(-2deg);
}

.book-shadow-1 {
  z-index: 2;
  left: 18px;
  top: 14px;
  opacity: 0.55;
  transform: rotate(5deg);
}

.book-shadow-2 {
  z-index: 1;
  left: 34px;
  top: 28px;
  opacity: 0.28;
  transform: rotate(10deg);
}

.rupp-site .ajmr-content {
  flex: 1;
}

.rupp-site .ajmr-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d7b4b4;
  margin-bottom: 8px;
  font-weight: 700;
}

.rupp-site .ajmr-content h2 {
  margin: 0 0 12px 0;
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.rupp-site .ajmr-subtitle {
  margin: 0 0 12px 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: #f0dcdc;
  font-weight: 600;
}

.rupp-site .ajmr-text {
  margin: 0 0 18px 0;
  max-width: 760px;
  color: #e9e9e9;
  font-size: 1rem;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.rupp-site .ajmr-button {
  display: inline-block;
  background: #ffffff;
  color: #111;
  font-weight: 350;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 0.98rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 800px) {
  .rupp-site a.ajmr-banner {
    min-height: 0;
    background-position: center, center 30%;
    background-size: cover, 250% auto;
  }

  .rupp-site a.ajmr-banner:hover {
    background-size: cover, 250% auto;
  }

  .ajmr-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 12px 10px 15px;
  }

  .ajmr-books {
    flex: none;
  }

  .rupp-site .ajmr-text {
    margin-left: auto;
    margin-right: auto;
  }
}

.ajmr-amazon-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  padding: 8px 18px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #111820;
  color: #fff;
  text-decoration: none;
  font: 700 16px/1.1 Arial, Helvetica, sans-serif;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.ajmr-amazon-button:hover {
  transform: translateY(-2px);
  background: #1a232e;
  border-color: rgba(255, 153, 0, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.ajmr-amazon-button:focus-visible {
  outline: 3px solid #ff9900;
  outline-offset: 3px;
}

.ajmr-amazon-button:active {
  transform: translateY(0);
}

.ajmr-amazon-logo {
  display: block;
  width: 116px;
  height: auto;
  flex: 0 0 auto;
}

.ajmr-amazon-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.ajmr-amazon-label::after {
  content: "→";
  color: #ff9900;
  font-size: 20px;
  line-height: 1;
  transition: transform 160ms ease;
}

.ajmr-amazon-button:hover .ajmr-amazon-label::after {
  transform: translateX(3px);
}

@media (max-width: 520px) {
  .ajmr-amazon-button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .ajmr-amazon-logo {
    width: 104px;
  }
}