:root {
  --dfaq-red: #e00027;
  --dfaq-navy: #0e1630;
  --dfaq-lilac: #e9e8f6;
  --dfaq-card: #f5f4fb;
  --dfaq-border: #e7e7ee;
}

/* Wrapper and segment buttons */
.dfaq22-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dfaq22-segment {
  display: inline-flex;
  align-items: center;
  background: var(--dfaq-red);
  border-radius: 999px;
  padding: 6px;
  border: 2px solid var(--dfaq-red);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  gap: 0;
  margin: 18px auto 24px;
}

.dfaq22-segbtn {
  border: none;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.dfaq22-segbtn.active {
  background: #fff;
  color: var(--dfaq-red);
}

/* FAQ Container */
.dfaq22-container {
  width: 100%;
  max-width: 1160px;
}

.dfaq22-item {
  margin: 14px 0;
}

.dfaq22-card {
  border: 1px solid var(--dfaq-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--dfaq-card);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

/* ===== FAQ Question Row (fixed alignment + left text) ===== */
.dfaq22-q {
  width: 100%;
  display: flex;
  align-items: center;             /* centers text + icon vertically */
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  min-height: 64px;
  background: var(--dfaq-lilac);
  border: none;
  cursor: pointer;
  transition: background 0.2s, border-radius 0.2s;
}

/* Question text — now left aligned + bolder */
.dfaq22-qtext {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;                /* increased weight */
  color: #1a1a40;
  flex: 1;
  margin: 0;
  text-align: left;                /* left aligned */
}

/* Plus / Cross icon */
.dfaq22-iconwrap {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8dbe8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

.dfaq22-icon {
  font-size: 20px;
  font-weight: 900;
  color: var(--dfaq-navy);
  line-height: 1;
}

/* ===== Answer Area ===== */
/* ===== Answer Area (Reduced Padding) ===== */
.dfaq22-a {
  background: #fff;
  padding: 3px 22px 14px; /* reduced top spacing */
}

.dfaq22-acontent {
  color: #333;
  line-height: 1.6; /* slightly tighter line spacing */
  font-weight: 400;
  margin-top: 1px; /* very subtle offset for smooth look */
}


/* ===== Open State ===== */
.dfaq22-q.open {
  background: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.dfaq22-q.open + .dfaq22-a {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ===== Status Messages ===== */
.dfaq22-loading,
.dfaq22-empty,
.dfaq22-error {
  text-align: center;
  padding: 24px;
  color: #444;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .dfaq22-qtext {
    font-size: 16px;
    text-align: left !important;
  }
  .dfaq22-q {
    padding: 14px 19px;
  }
  .dfaq22-a {
/*     padding: 10px !important; */
  }
}

@media (max-width: 768px) {
  .dfaq22-segbtn {
    border: none;
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.1 !important;
  }
}
