

.wz5 {
  --wz5-k: var(--wz-accent);

  padding: var(--wz-sec-y) 0;
  background: #fff;
}

.wz5 :where(p, h2, ul, li, summary) { margin: 0; }
.wz5 :where(ul) { padding: 0; list-style: none; }

.wz5-inner {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  font-family: var(--wz-ui-font);
}

.wz5-list > li { border-top: 1px solid var(--wz-line); }
.wz5-list > li:last-child { border-bottom: 1px solid var(--wz-line); }

.wz5-list > li:has(> .wz5-d[open]) { border-top-color: var(--wz5-k); }

.wz5-q {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}

.wz5-q::-webkit-details-marker { display: none; }
.wz5-q::marker { content: ""; }

.wz5-q:focus-visible {
  outline: 3px solid var(--wz5-k);
  outline-offset: 4px;
}

.wz5-qt {
  flex: 1 1 auto;
  font-family: var(--wz-display-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.2px;
  color: var(--wz-ink);
  transition: color 0.2s ease;
}
.wz5-d[open] .wz5-qt { color: var(--wz5-k); }

.wz5-t {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: #6f6976;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
.wz5-t::before,
.wz5-t::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  margin: -0.75px 0 0 -10px;
  background: currentColor;
}
.wz5-t::after { transform: rotate(90deg); }

.wz5-d[open] .wz5-t { transform: rotate(45deg); color: var(--wz5-k); }

.wz5-a { overflow: hidden; }

.wz5-ain { padding: 0 48px 30px 0; max-width: 66ch; }
.wz5-ain p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.78;
  color: var(--wz-ink-soft);
}
.wz5-ain p + p { margin-top: 14px; }
.wz5-ain strong { font-weight: 700; color: var(--wz-ink); }

@media (hover: hover) {
  .wz5-d:not([open]):hover .wz5-qt,
  .wz5-d:not([open]):hover .wz5-t { color: var(--wz5-k); }
}

.wz5-js .wz5-a { transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1); }

.wz5-lagi {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--wz-ink-soft);
}

.wz5-lagi a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--wz5-k);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.16s ease;
}
.wz5-lagi a:hover,
.wz5-lagi a:focus-visible { color: #8f1c44; }
.wz5-lagi a svg { display: block; width: 17px; height: 17px; }

@media (max-width: 720px) {
  .wz5-inner { width: calc(100% - 40px); }

  .wz5-q { gap: 18px; padding: 21px 0; }
  .wz5-qt { font-size: 17px; }
  .wz5-t { width: 18px; height: 18px; margin-top: 3px; }
  .wz5-t::before,
  .wz5-t::after { width: 18px; margin-left: -9px; }

  .wz5-ain { padding: 0 34px 24px 0; }
  .wz5-ain p { font-size: 15px; line-height: 1.72; }

  .wz5-lagi { margin-top: 32px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .wz5-js .wz5-a,
  .wz5-qt,
  .wz5-t,
  .wz5-lagi a { transition: none; }
}
