
#carousel-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-deep-navy);
}

#carousel-hero a:focus {
  outline: 2px solid white;
  outline-offset: 4px;
}

#carousel-hero .home-button {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 100;
}

#carousel-hero .home-button a {
  color: var(--color-warm-ivory);
  text-decoration: underline;
}

#carousel-hero .home-button a:hover {
  color: var(--color-burgundy);
}

.sub-page_titles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
  width: 80%;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  pointer-events: none;
}

.text-shadow {
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

#carousel-window {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

#carousel-track {
  display: flex;
  height: 100%;
  flex-direction: row;
  transition: transform .5s ease-in-out;
}

#carousel-track .img-container {
  height: 550px;
}

#carousel-track {
  height: 100%;
}

#carousel-window .img-container {
  flex-shrink: 0;
}

.carousel-button {
  width: 13px;
  height: 13px;
  border-radius: 10px;
  background-color: var(--color-warm-ivory);
  appearance: none;
  -webkit-appearance: none;
  border: none;
  box-shadow: none;
}

/*Remove Click Focus*/
.carousel-button:focus {
  outline: none;
}

.carousel-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.carousel-button.active-button {
  background-color: var(--color-burgundy);
}

#carousel-button_row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
}

#detail_block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

#detail_block .quick-facts h2 {
  margin-bottom: 0;
}

#detail_block .fact-sheet .fact-cell:last-child {
  border-bottom: 2px solid #B0AFAB;
}

.fact-sheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

#detail_block .fact-detail {
  margin-bottom: 0;
}

.quick-facts {
  width: 100%;
}

.fact-label {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--color-burgundy);
  font-weight: 700;
  letter-spacing: 1px;
}

.fact-cell {
  border-bottom: 2px solid #B0AFAB;
  padding: 15px 0;
}

.fact-cell:last-child {
  border: none;
}

/* ===========================
  ARTIST SECTION 
================================== */

.artist-section .text-frame_content {
  padding-bottom: 0;
}

#main-content .artist-section .text-frame_content p {
  margin-bottom: 15px;
}

#artist-words h2 {
  margin: 0 0 35px;
}

#artist-words .image-block_content a {
  color: var(--color-warm-ivory);
  text-decoration: underline;
}

#artist-wrods .image-block_content a:hover {
  filter: brightness(80%);
}

#artist-words .artist-link {
  color: var(--color-warm-ivory);
  text-decoration: underline;
}

#artist-words .artist-link:hover {
  filter: brightness(80%);
}

#artist-words .row::before, 
#artist-words .row::after {
  content: unset;
}

/* =========================================
   DONOR CARD
========================================= */

#donor_card {
  padding: 20px 35px;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

#donor_card h3 {
  font-family: "Cabinet Grotesk", "Arial";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

#donor_card p {
  font-size: 17px;
  color: var(--color-soft-black);
}

#donor_card h3::after {
  content: '';
  width: 25%;
  max-width: 200px;
  height: 2px;
  margin: 15px auto 20px;
  background-color: var(--color-burgundy);
  display: block;
}


/* =====================================
  SUB PAGE RESPONSIVE 
=================================== */


@media (min-width: 600px) {
  
  #carousel-track .img-container {
    height: 500px;
  }
  
  #collection-card_container {
    flex-direction: column;
  }
  
    #discover_more .collection_card {
    flex-direction: row;
    max-width: none;
    width: 100%;
  }

  #discover_more .collection-card_content {
    padding: 25px 20px;
  }
  
  #discover_more .collection_card .img-container {
    aspect-ratio: unset;
    width: 45%;
  }
}

@media (min-width: 768px) {
   #carousel-track .img-container {
    height: 600px;
  }
  
  .sub-page_titles {
    gap: 10px;
    font-size: 20px;
  }
  
  #carousel-button_row {
    bottom: 20px;
  }
  
  .artist-section .text-frame_content {
    padding-bottom: 80px;
  }

  #detail_block {
    flex-direction: row;
    align-items: start;
  }

  #detail_block .fact-sheet .fact-cell:last-child {
    border: none;
  }
  
  #detail_block .quick-facts h2 {
    margin-bottom: 10px;
  }
  
  .fact-sheet {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .fact-cell:first-child {
  padding-top: 0;
}
  
  .quick-facts {
    width: 30%;
  }
  
  .story {
    width: 70%;
  }

  #donor_card {
    padding: 40px 60px;
    font-size: 20px;
  }

  .artist-section .text-frame_content {
    padding: 100px 80px 80px
  }
}

@media (min-width: 992px) {
  
  #collection-card_container {
    flex-direction: row;
    gap: 40px;
  }
  
  #discover_more .collection_card {
    flex-direction: column;
    max-width: 280px;
  }

  #discover_more .collection-card_content {
    padding: 15px 20px;
  }
  
  #discover_more .collection_card .img-container {
    aspect-ratio: 3/2;
    width: 100%;
  }

  .link-arrow::before {
    margin: 8px auto 15px;
  }
  
    #carousel-track .img-container {
    height: 650px;
  }
  
  .sub-page_titles {
    font-size: 22px;
    flex-direction: row;
    width: 90%;
    padding: 0 40px;
    max-width: 1170px;
    gap: 15px;
    justify-content: space-between;
  }
  
  #carousel-button_row {
    bottom: 40px;
  }
}

@media (min-width: 1200px) {
  #collection-card_container {
    gap: 60px;
  }
  
  #discover_more .collection_card {
    max-width: 325px;
  }
  
   #carousel-track .img-container {
    height: 750px;
  }
}
