/* ==========================================================================
   Anniversary Quote block — "Celebrating 50 Years" quote panel.
   ========================================================================== */

.anniversary-quote {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 10px auto;
  overflow: hidden;
  background: #7a121a;
  isolation: isolate;
}

.anniversary-quote__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.anniversary-quote__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.anniversary-quote__inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 200px 80px 75px;
  display: flex;
  gap: 120px;
}

/* ------------------------------ Anniversary column ---------------------- */

.anniversary-quote__anniversary {
  width: 30%;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #d7bc75;
  margin-top: 10px;
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
}

.anniversary-quote__eyebrow {
  font-weight: 700;
  font-size: 46px;
  line-height: 42px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.anniversary-quote__number {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

.anniversary-quote__sub {
  font-weight: 700;
  font-size: 31px;
  letter-spacing: 28px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

/* ------------------------------ Quote column ---------------------------- */

.anniversary-quote__quote-wrap {
  width: 70%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #ffffff;
}

.anniversary-quote__mark {
  position: absolute;
  top: 14px;
  left: -35px;
  width: 72px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.anniversary-quote__quote {
  margin: 0;
  padding-left: 60px;
  font-family: Quattrocento;
  font-weight: 400;
  font-size: 44px;
  line-height: 61px;
  letter-spacing: -1.76px;
  color: #ffffff;
  max-width: 880px;
}

.anniversary-quote__quote p {
  margin: 0 0 12px;
}

.anniversary-quote__quote p:last-child {
  margin-bottom: 0;
}

.anniversary-quote__signature {
  align-self: flex-end;
  width: 550px;
  margin-top: 32px;
  margin-right: 60px;
  filter: brightness(0) invert(1);
}

.anniversary-quote__author {
  align-self: flex-end;
  position: absolute;
  top: 70%;
  right: 8%;
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #d7bc75;
}

.anniversary-quote__signature-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-right: 25px;
}

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 1100px) {
  .anniversary-quote__inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 80px 40px;
  }
  .anniversary-quote__anniversary,
  .anniversary-quote__quote-wrap {
    width: 100%;
  }
  .anniversary-quote__quote {
    font-size: 36px;
    padding-left: 0;
    margin: 0 auto;
    line-height: 1.5;
    text-align: center;
  }
  .anniversary-quote__mark {
    display: none;
  }
  .anniversary-quote__signature {
    width: 380px;
    margin-right: 20px;
  }
  .anniversary-quote__author {
    font-size: 18px;
    right: 0;
  }
}

@media (max-width: 767px) {
  /* Mobile design: single centered column — anniversary block on top,
     centered quote (no leading mark), signature + author stacked centered. */
  .anniversary-quote__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 48px 24px;
  }

  .anniversary-quote__anniversary {
    width: 100%;
    gap: 8px;
    margin-top: 0;
  }

  .anniversary-quote__eyebrow {
    font-size: 22px;
    line-height: 21px;
    letter-spacing: 0.9px;
  }

  .anniversary-quote__number {
    max-width: 170px;
  }

  .anniversary-quote__sub {
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.24em;
    text-indent: 0.9px;
  }

  .anniversary-quote__quote-wrap {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  /* Quote mark isn't shown on the mobile Figma. */
  .anniversary-quote__mark {
    display: none;
  }

  .anniversary-quote__quote {
    padding: 0;
    max-width: none;
    font-size: 25px;
    line-height: 32px;
    letter-spacing: -1px;
    text-align: center;
  }

  .anniversary-quote__signature-wrapper {
    margin: 0;
    width: 100%;
    justify-content: end;
  }

  .anniversary-quote__signature {
    width: 280px;
    margin: 0;
  }

  .anniversary-quote__author {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 3.6px;
    line-height: 12px;
  }
}

/* ------------------------------ Editor preview -------------------------- */

.anniversary-quote--is-preview {
  zoom: 0.55;
}
