.paragraph--type--me-art-carousel .art-carousel {
  padding: 24px;

  @media (min-width: 992px) {
    padding: 60px;
  }
}

.art-carousel--bg-black {
  background-color: #262A2D;
  color: #fff;
}

.art-carousel--bg-white {
  background-color: #fff;
  color: #000;
}

.art-carousel--bg-black a {
  color: #fff;
}

/* Header: title on the left, carousel controls top-right. */
.art-carousel__head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* Reuses the site-wide .h2 treatment (36px), scaled to 64px on desktop, with a
   brand-red accent underline (same pattern as .me-collection__title). */
.art-carousel .art-carousel__title {
  border-bottom: 7px solid #D6001C;
  margin: 0;
  padding-bottom: 4px;

  @media (min-width: 992px) {
    font-size: 64px;
    line-height: 1.1;
  }
}

/* Controls read left-to-right as [prev] [dots] [next]. */
.art-carousel__controls {
  align-items: center;
  display: flex;
  gap: 16px;
}

.art-carousel__arrow {
  align-items: center;
  background: #FFF;
  border: 2px solid #707372;
  cursor: pointer;
  display: flex;
  height: 27px;
  justify-content: center;
  padding: 6px;
  width: 27px;
}

.art-carousel__arrow:disabled {
  cursor: default;
  opacity: 0.4;
}

/* Dark/gray chevron glyphs built from borders, matching the arrow border. */
.art-carousel__arrow-icon {
  border-bottom: 2px solid #707372;
  border-right: 2px solid #707372;
  display: block;
  height: 8px;
  width: 8px;
}

.art-carousel__arrow--prev .art-carousel__arrow-icon {
  margin-left: 2px;
  transform: rotate(135deg);
}

.art-carousel__arrow--next .art-carousel__arrow-icon {
  margin-right: 2px;
  transform: rotate(-45deg);
}

/* Page dots (relocated here from inside the Flickity viewport). */
.art-carousel__dots .flickity-page-dots {
  align-items: center;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  position: static;
}

.art-carousel__dots .flickity-page-dots .dot {
  background: #FFF;
  border: 1px solid #333F48;
  border-radius: 5px;
  height: 10px;
  margin: 0;
  opacity: 1;
  width: 10px;
}

/* The active dot is fully brand red (border and background). */
.art-carousel__dots .flickity-page-dots .dot.is-selected {
  background: #D6001C;
  border-color: #D6001C;
}

/* Slides: ~3 full cards + a partial 4th peeking on desktop. */
.art-carousel__viewport {
  position: relative;
}

.art-carousel__viewport .paragraph--type--me-art-carousel-item {
  margin-right: 20px;
  width: 80%;
}

@media (min-width: 768px) {
  .art-carousel__viewport .paragraph--type--me-art-carousel-item {
    width: 42%;
  }
}

@media (min-width: 992px) {
  .art-carousel__viewport .paragraph--type--me-art-carousel-item {
    margin-right: 42px;
    width: 28%;
  }
}
