/* Antiques, Collectables and Oddities page */

h1.ACO,
h2.ACO {
  color: rgb(217, 171, 67);
}

div.InfoBox.ACO {
  background-color: rgb(217, 171, 67);
}

.AntiquesPage {
  width: min(1120px, 94%);
  margin: 0 auto;
}

.AntiquesIntro {
  margin: 24px auto;
  text-align: center;
}

.AntiquesIntro h1 {
  margin: 0 0 12px;
}

.AntiquesIntro p {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
}

.AntiquesVisitPanel,
.AntiquesHighlights {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.AntiquesVisitPanel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.AntiquesVisitCard,
.AntiquesHighlights article,
.AntiquesClosing {
  border-radius: 8px;
  border: 1px solid rgba(136, 24, 30, 0.22);
  background: rgb(250, 241, 220);
  color: rgb(36, 30, 26);
  box-shadow: 0 10px 24px rgba(36, 20, 12, 0.14);
}

.AntiquesVisitCard,
.AntiquesHighlights article {
  padding: 22px;
}

.AntiquesVisitCard h2,
.AntiquesHighlights h2,
.AntiquesClosing h2 {
  margin: 0 0 10px;
  color: #88181e;
  line-height: 1.2;
}

.AntiquesVisitCard h2,
.AntiquesClosing h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.AntiquesHighlights h2 {
  font-size: clamp(1rem, 1.9vw, 1.22rem);
}

.AntiquesVisitCard p,
.AntiquesHighlights p,
.AntiquesClosing p {
  margin: 0;
  line-height: 1.55;
}

.AntiquesButton {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 7px;
  background: #88181e;
  color: rgb(255, 255, 255) !important;
  text-decoration: none;
  font-weight: 700;
}

.AntiquesButton:hover {
  background: rgb(217, 171, 67);
  color: #1f1916 !important;
}

.AntiquesButtonAlt {
  background: rgb(97, 74, 46);
}

.AntiquesHighlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.AntiquesClosing {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1fr;
  align-items: center;
  gap: 22px;
  margin: 24px 0 32px;
  padding: 18px;
}

.AntiquesClosing img {
  display: block;
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

body.dark-theme .AntiquesVisitCard,
body.dark-theme .AntiquesHighlights article,
body.dark-theme .AntiquesClosing,
body.dark-theme .AntiquesCarousel {
  border-color: rgba(217, 171, 67, 0.28);
  background: rgb(48, 43, 39);
  color: rgb(246, 239, 226);
}

body.dark-theme .AntiquesVisitCard h2,
body.dark-theme .AntiquesHighlights h2,
body.dark-theme .AntiquesClosing h2 {
  color: rgb(248, 217, 154);
}

@media (prefers-color-scheme: dark) {
  body:not(.light-theme) .AntiquesVisitCard,
  body:not(.light-theme) .AntiquesHighlights article,
  body:not(.light-theme) .AntiquesClosing,
  body:not(.light-theme) .AntiquesCarousel {
    border-color: rgba(217, 171, 67, 0.28);
    background: rgb(48, 43, 39);
    color: rgb(246, 239, 226);
  }

  body:not(.light-theme) .AntiquesVisitCard h2,
  body:not(.light-theme) .AntiquesHighlights h2,
  body:not(.light-theme) .AntiquesClosing h2 {
    color: rgb(248, 217, 154);
  }
}

@media screen and (max-width: 900px) {
  .AntiquesHighlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .AntiquesPage {
    width: min(94%, calc(100vw - 20px));
  }

  .AntiquesVisitPanel,
  .AntiquesHighlights,
  .AntiquesClosing {
    grid-template-columns: 1fr;
  }

  .AntiquesVisitCard,
  .AntiquesHighlights article,
  .AntiquesClosing {
    padding: 16px;
  }

  .AntiquesButton {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.AntiquesCarousel {
  position: relative;
  width: min(900px, 100%);
  height: clamp(300px, 52vw, 520px);
  margin: 26px auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(136, 24, 30, 0.22);
  background: rgb(123, 110, 107);
  color: rgb(255, 255, 255);
  box-shadow: 0 12px 28px rgba(36, 20, 12, 0.2);
}

.AntiquesCarouselWrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.AntiquesCarouselSlide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.AntiquesCarouselSlide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.AntiquesCarouselPagination {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 12;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.AntiquesCarouselDot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.AntiquesCarouselDotActive {
  width: 30px;
  border-radius: 999px;
  background-color: rgb(248, 217, 154);
}

.AntiquesCarouselButton {
  position: absolute;
  top: 50%;
  z-index: 13;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(248, 217, 154, 0.9);
  color: rgb(36, 30, 26);
  cursor: pointer;
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.AntiquesCarouselButton:hover {
  background-color: rgb(248, 217, 154);
}

.AntiquesCarouselButtonPrev {
  left: 14px;
}

.AntiquesCarouselButtonNext {
  right: 14px;
}

@media screen and (max-width: 640px) {
  .AntiquesCarousel {
    height: 320px;
  }

  .AntiquesCarouselButton {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}
