﻿.mcb-faq-body {
  width: 80%;
  background-color: var(--queenBlack);
  border-radius: 10px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
@media (max-width: 1240px) {
  .mcb-faq-body {
    width: 90%;
  }
}
@media (max-width: 800px) {
  .mcb-faq-body {
    width: 100%;
  }
}

.mcb-faq-title {
  padding-right: 1.5rem;
  color: var(--queenWhite);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
}

.mcb-faq-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-inline: 5%;
}

.mcb-faq-item {
  width: 100%;
  border: 1px solid var(--queenWhite);
  border-radius: 10px;
  padding: 10px;
  margin: 0.5rem;
}

.mcb-faq-q {
  color: var(--queenWhite);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  transition: 0.25s;
  position: relative;
  padding-right: 1.5rem;
  display: block;
}
.mcb-faq-q::-webkit-details-marker {
  display: none;
}
.mcb-faq-q::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--queenWhite);
  pointer-events: none;
}
.mcb-faq-q:where(:hover, :focus-visible) {
  color: var(--queenPurple);
}
.mcb-faq-item[open] .mcb-faq-q {
  color: var(--queenPurple);
}
.mcb-faq-item[close] .mcb-faq-q {
  color: var(--queenWhite);
}

.mcb-faq-a {
  font-size: 16px;
  font-weight: 400;
  text-align: start;
  margin-top: 8px;
  color: var(--queenWhite);
}

.mcb-faq-a p {
  margin: 0;
}

.mcb-faq-a a {
  text-decoration: underline;
  color: var(--queenYellow);
  transition: 0.25s;
}
.mcb-faq-a a:where(:hover, :focus-visible) {
  color: var(--queenWhite);
}
