.quick-answers-page { background: var(--cream); }
.answers-hero { padding: clamp(54px, 7vw, 96px) 0; color: white; background: var(--green); }
.answers-hero-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(44px, 7vw, 92px); align-items: center; }
.answers-hero h1 { max-width: 780px; font-size: clamp(3.25rem, 6vw, 6.1rem); }
.answers-hero p:not(.eyebrow) { max-width: 680px; margin: 0; color: rgba(255,255,255,.74); font-size: 1.06rem; }
.answers-hero-image { position: relative; aspect-ratio: 16 / 10; max-height: 380px; overflow: hidden; background: var(--green-deep); }
.answers-hero-image picture { display: block; height: 100%; }
.answers-hero-image img { height: 100%; object-fit: cover; }
.answers-hero-image > span { position: absolute; right: 0; bottom: 0; min-width: 88px; min-height: 88px; display: grid; place-items: center; color: white; background: var(--terracotta); font: 800 1.15rem/1 Manrope, Arial, sans-serif; }

.answers-workspace { padding-block: 72px 86px; }
.answer-filter-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.answer-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.answer-filters button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); color: var(--green); background: transparent; font: 800 .78rem/1.2 Inter, Arial, sans-serif; cursor: pointer; }
.answer-filters button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.answer-filters button[aria-pressed="true"] { border-color: var(--green); color: white; background: var(--green); }
#answer-status { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .8rem; }
#answer-status strong { color: var(--green); font-size: 1rem; }
.answer-list { border-top: 1px solid var(--line); }
.quick-answer { border-bottom: 1px solid var(--line); background: white; }
.quick-answer[hidden] { display: none; }
.quick-answer summary { min-height: 90px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 34px; gap: 18px; align-items: center; padding: 20px 28px; cursor: pointer; list-style: none; }
.quick-answer summary::-webkit-details-marker { display: none; }
.quick-answer summary > span { color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.quick-answer summary > strong { color: var(--green); font: 700 clamp(1.06rem, 2vw, 1.28rem)/1.3 Manrope, Arial, sans-serif; }
.quick-answer summary > b { display: grid; place-items: center; width: 30px; height: 30px; color: var(--terracotta); font-size: 1.45rem; transition: transform .2s ease; }
.quick-answer[open] summary > b { transform: rotate(45deg); }
.quick-answer > div { max-width: 940px; padding: 0 34px 30px 94px; }
.quick-answer > div p { margin: 0 0 18px; color: #435451; font-size: 1rem; line-height: 1.75; }
.quick-answer > div a { color: var(--terracotta); font-size: .84rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.diagnostic-callout { min-height: 92px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 32px; gap: 18px; align-items: center; margin-top: 34px; padding: 20px 26px; color: white; background: var(--green); }
.diagnostic-callout > span { min-height: 48px; display: grid; place-items: center; background: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.diagnostic-callout > strong { max-width: 790px; font: 700 1rem/1.4 Manrope, Arial, sans-serif; }
.diagnostic-callout > b { color: #f2c6a8; font-size: 1.35rem; text-align: right; }

.answer-sources { padding-bottom: 86px; }
.answer-sources h2 { font-size: 1.45rem; }
.answer-sources ul { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 24px 0; border-block: 1px solid var(--line); list-style: none; }
.answer-sources a { color: var(--terracotta); font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.answer-sources > p { max-width: 790px; margin: 20px 0 0; color: var(--muted); font-size: .84rem; }

@media (max-width: 980px) {
  .answers-hero-layout { grid-template-columns: 1fr; }
  .answers-hero-image { max-height: 420px; }
}

@media (max-width: 680px) {
  .answers-hero { padding-block: 52px; }
  .answers-hero-layout { gap: 36px; }
  .answers-hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  html[lang="ru"] .answers-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.45rem); }
  .answers-hero-image { max-height: 300px; }
  .answers-hero-image > span { min-width: 70px; min-height: 70px; }
  .answers-workspace { padding-block: 56px 70px; }
  .answer-filter-bar { align-items: stretch; flex-direction: column; }
  .answer-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer-filters button { min-width: 0; padding-inline: 8px; }
  .quick-answer summary { min-height: 82px; grid-template-columns: 32px minmax(0, 1fr) 28px; gap: 10px; padding: 18px 16px; }
  .quick-answer > div { padding: 0 18px 26px 58px; }
  .diagnostic-callout { grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 12px; padding: 17px; }
  .answer-sources ul { display: block; }
  .answer-sources li + li { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-answer summary > b { transition: none; }
}
