/* ---------- FONTS ---------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* ---------- ROOT TOKENS ---------- */
:root {
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
}

@media screen and (min-width: 968px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: var(--normal-font-size);
}

/* ---------- PAGE TITLE ---------- */
.private-label .page-title-dealer {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
      21deg,
      rgba(91, 116, 145, 0.37) 68%,
      rgba(245, 247, 248, 0.5) 163%
    ),
    linear-gradient(
      163deg,
      rgba(91, 116, 145, 0.08) 86%,
      rgba(170, 191, 218, 0.5) 40%
    ),
    linear-gradient(
      30deg,
      rgba(170, 191, 218, 0.62) 22%,
      rgba(245, 247, 248, 0.5) 169%
    ),
    linear-gradient(
      48deg,
      rgba(91, 116, 145, 0.73) 64%,
      rgba(170, 191, 218, 0.5) 43%
    );
  background-blend-mode: overlay, multiply, color, normal;
  background-position: center;
  margin: 1.5rem 6rem 0;
  border-radius: 16px;
}

.private-label .page-title-text {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin: 3rem 0;
}

/* ---------- INTRO ---------- */
.private-label .introduction {
  margin: 3rem 20rem 4rem;
}

.private-label .intro-benefits {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 4rem;
}

/* ---------- ACCORDION LAYOUT ---------- */
.container {
  margin: 0 1rem 3rem;
}

.accordion {
  display: grid;
  align-content: center;
  min-height: 100vh;
}

.accordion__container {
  display: grid;
  row-gap: 0.75rem;
  width: 550px;
  padding: 2rem 1rem;
  margin: 0 auto 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(51, 51, 51, 0.1);
}

.accordion__item {
  position: relative;
  border-radius: 0.25rem;
  box-shadow: 0 2px 6px rgba(38, 38, 38, 0.1);
  transition: all 0.25s ease;
}

.accordion__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: 0.25rem 0 0 0.25rem;
}

/* alternating background colours */
.accordion__item:nth-child(odd) {
  background-color: #bbcde7;
}
.accordion__item:nth-child(odd)::after {
  background-color: #bbcde7;
}
.accordion__item:nth-child(even) {
  background-color: #f0faff;
}
.accordion__item:nth-child(even)::after {
  background-color: #f0faff;
}

/* ---------- ACCORDION HEADER ---------- */
.accordion__header {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  min-height: 5rem;
  padding-left: 1rem;
  cursor: pointer;
}

.accordion__title {
  font-size: var(--small-font-size);
  font-style: italic;
  color: #000;
}

.accordion__symbol {
  margin-left: auto;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.accordion__header.active .accordion__symbol {
  transform: rotate(360deg);
}

/* ---------- ACCORDION CONTENT ---------- */
.accordion__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.accordion__description {
  font-size: var(--smaller-font-size);
  margin: 1rem 1rem;
}

/* ---------- MEDIA QUERIES ---------- */
@media screen and (max-width: 50em) {
  .private-label .introduction {
    margin: 2rem 1.5rem 3rem;
  }
  .private-label .intro-benefits {
    font-size: 1rem;
    margin: 1rem 1rem 3rem;
  }
  .accordion__container {
    width: 90%;
    padding: 2.5rem;
  }
}

@media screen and (min-width: 1470px) {
  .private-label .introduction {
    margin: 4rem 30rem 2rem;
  }
  .private-label .intro-benefits {
    margin-bottom: 0.5rem;
  }
}
