/* Why Areté Section */
.why-arete-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
  background: url("/public/img/why-arete.webp") no-repeat;
  background-position: top -4rem center;
  background-size: cover;
  height: 100%;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
}

.why-arete-section .text-container {
  padding-left: 4.5rem;
  padding-right: 1rem;
}

.why-arete-section .why-text {
  font-family: "Cormorant Infant", serif;
  font-size: 4.8rem;
  color: #b0b0b0;
  font-weight: 500;
  line-height: 1.5;
}

.why-arete-section .arete-text {
  font-family: "Cormorant Infant", serif;
  font-size: 5.4rem;
  color: #000;
  font-weight: 400;
  line-height: 1;
  margin-top: -1rem;
}

/* Story Details Section */
.story-details-section {
  padding: 4rem 8rem 1rem 8rem;
  column-gap: 3rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: fit-content 1fr;
  grid-template-areas:
    "start start start start start start start image image image image image"
    "content content content content content content content image image image image image";
  max-width: 1540px;
  margin: 0 auto;
}

.story-details-section .story-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.story-details-section .story-quote-container {
  padding-left: 3rem;
}

.story-details-section .story-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #6c757d;
  border-left: 3px solid #b99753;
  padding-left: 1.5rem;
}

.story-details-section .story-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #212529;
  text-align: justify;
}

.story-details-section .story-image-container {
  padding: 1rem;
}

.story-text.emphasis {
  color: #0a2c5a;
}

.story-details-section .story-start {
  grid-area: start;
}

.story-details-section .story-content {
  grid-area: content;
}

.story-details-section .story-image-container {
  grid-area: image;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Credentials Section */
.credentials-section {
  background-color: #f8f9fa;
}

.credentials-section .credentials-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.credentials-section .credentials-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #676766;
  font-style: italic;
}

.credentials-section .credentials-list {
  padding-left: 0;
}

.credentials-section .credential-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0a2c5a;
  margin-top: 0.5rem;
}

.credentials-section .credential-title {
  font-size: 1.5rem;
  font-weight: 500;
}

.credentials-section .credential-desc {
  font-size: 1rem;
  color: #676766;
}

/* Final Quote Section */
.final-quote-section {
  background-color: #fff;
}

.final-quote {
  font-size: 2.2rem;
  line-height: 1.6;
  color: #6c757d;
  font-weight: 400;
  border: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 991.98px) {
  .why-arete-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 3rem 0.5rem;
    aspect-ratio: unset;
    min-height: 32rem;
    text-align: start;
    background-position: center center;
  }
  .why-arete-section .text-container {
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .why-arete-section .why-text {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .why-arete-section .arete-text {
    font-size: 2.8rem;
    margin-top: 0;
  }
  .story-details-section .story-title,
  .credentials-section .credentials-title {
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem 0;
  }
  .story-details-section .story-quote {
    font-size: 0.95rem;
    padding-left: 0.7rem;
  }
  .story-details-section .story-text,
  .credentials-section .credentials-text,
  .credentials-section .credential-desc {
    font-size: 0.95rem;
  }
  .credentials-section .credential-title {
    font-size: 1.2rem;
  }
  .story-details-section {
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .why-arete-section {
    background: url("/public/img/why-arete-mobile.webp") no-repeat;
    background-position: top center;
    background-size: cover;
    flex-direction: column;
    justify-content: start;
    padding: 1.5rem 0.5rem 0 0.5rem;
  }
  .why-arete-section .text-container {
    padding-left: 1rem;
    padding-right: 0;
    padding-top: 1.5rem;
  }
  .why-arete-section .why-text {
    font-size: 1.8rem;
  }
  .why-arete-section .arete-text {
    font-size: 2rem;
  }
  .story-details-section .story-title,
  .credentials-section .credentials-title {
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem 0;
  }
  .story-details-section .story-quote-container {
    padding-left: 0;
  }
  .story-details-section .story-quote {
    font-size: 0.95rem;
    padding-left: 0.7rem;
  }
  .story-details-section .story-text,
  .credentials-section .credentials-text,
  .credentials-section .credential-desc {
    font-size: 0.95rem;
  }
  .credentials-section .credential-title {
    font-size: 1.2rem;
  }
  .credential-desc,
  .credentials-text {
    text-align: justify;
  }
  .final-quote {
    font-size: 1.1rem;
  }
}
@media (max-width: 991.98px) and (min-width: 575.99px) {
  .story-img {
    max-width: 450px;
    margin-bottom: -2.5rem;
  }
}
@media (max-width: 1430px) and (min-width: 991.98px) {
  .credentials-img {
    object-fit: contain;
  }
  .story-img {
    align-self: center;
    width: 120%;
  }
  .story-image-container {
    height: 100%;
  }
  .story-details-section {
    grid-template-areas:
      "start start start start start start start image image image image image"
      "content content content content content content content content content content content content";
  }
}
