/* Quote carousel — matches material card language used across the site */
:root {
  --quotes-accent: #1976D2;
}

footer#quotes {
  width: 100%;
  height: auto;
  color: #616161;
  margin-top: 0;
  margin-bottom: 24px;
  padding-top: 15px;
  padding-bottom: 30px;
}

#quotes-card {
  background: #fff;
  overflow: hidden;
}

.quotes-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  position: relative;
}

.quotes-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--quotes-accent);
  box-shadow: none !important;
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.quotes-nav:hover,
.quotes-nav:focus {
  outline: none;
  opacity: 0.7;
  transform: scale(1.08);
}

.quotes-nav:active {
  transform: scale(0.94);
  opacity: 0.85;
}

.quotes-nav i {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.swiper-container-quotes {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.quotes-blockquote {
  margin: 0;
  padding: 12px 8px 4px;
  border: 0;
  text-align: center;
  color: #616161;
  font-size: 16px;
  line-height: 1.65;
  font-family: 'Muli', 'Raleway', sans-serif;
}

.quotes-blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: var(--quotes-accent);
  font-size: 2.4em;
  line-height: 0.6;
  margin-bottom: 10px;
}

.quotes-blockquote p {
  margin: 0;
  color: inherit;
  text-align: center;
}

.quotes-blockquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9e9e9e;
}

@media screen and (max-width: 767px) {
  .quotes-slider-wrap {
    padding: 22px 10px;
    gap: 4px;
  }

  .quotes-nav {
    width: 40px;
    height: 40px;
  }

  .quotes-nav i {
    font-size: 24px;
  }

  .quotes-blockquote {
    font-size: 15px;
    padding: 8px 2px 0;
    line-height: 1.55;
  }

  .quotes-blockquote::before {
    font-size: 2em;
    margin-bottom: 8px;
  }

  .quotes-blockquote cite {
    font-size: 12px;
    margin-top: 14px;
  }
}

@media screen and (max-width: 420px) {
  .quotes-slider-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "slider slider"
      "prev next";
    gap: 12px 16px;
    padding: 20px 14px 18px;
    justify-items: center;
  }

  .swiper-container-quotes {
    grid-area: slider;
  }

  .quotes-prev {
    grid-area: prev;
    justify-self: end;
  }

  .quotes-next {
    grid-area: next;
    justify-self: start;
  }
}
