/* Расширенный текст динамических страниц каталога. */
.catcontent {
  margin: 10px 0 50px;
  max-width: 860px;
  color: var(--muted);
}

.catcontent h2 {
  margin: 34px 0 12px;
  color: var(--gold2);
  font: 26px/1.25 Georgia, serif;
  letter-spacing: -.02em;
}

.catcontent h3 {
  margin: 24px 0 10px;
  color: var(--gold2);
  font: 21px/1.3 Georgia, serif;
}

.catcontent p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

.catcontent a {
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catcontent a:hover { color: var(--gold); }

.catcontent mark {
  padding: 0 3px;
  border-radius: 3px;
  background: rgba(255, 221, 148, .22);
  color: var(--gold2);
}

.catcontent ul,
.catcontent ol {
  margin: 10px 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

.catcontent li {
  margin-bottom: 7px;
  padding-left: 3px;
  line-height: 1.65;
}

.catcontent .category-note {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(212, 169, 79, .3);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: rgba(212, 169, 79, .08);
  color: var(--text);
}

.catcontent .category-disclaimer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-style: italic;
}

.howlist {
  display: grid;
  gap: 14px;
  margin: 8px 0 6px;
}

.howitem {
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
}

.howitem b {
  display: block;
  margin-bottom: 7px;
  color: var(--gold2);
  font-size: 16.5px;
}

.howitem span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.cfq {
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s;
}

.cfq b {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--gold2);
  font-size: 16.5px;
}

.cfq b i {
  flex: 0 0 auto;
  color: var(--gold);
  font-style: normal;
  transition: transform .3s;
}

.cfq.open b i { transform: rotate(45deg); }

.cfq p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 15.5px;
  transition: max-height .35s, margin .35s, opacity .25s;
}

.cfq.open p {
  max-height: 800px;
  margin-top: 12px;
  opacity: 1;
}

.card-text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cfq:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (hover: hover) {
  .cfq:hover { background: rgba(255, 255, 255, .025); }
}

@media (max-width: 640px) {
  .catcontent h2 { font-size: 23px; }
  .howitem { padding: 18px; }
  .cfq b { font-size: 15.5px; }
  .cfq p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .cfq p,
  .cfq b i { transition: none; }
}
