/* Native FAQ accordions. Loaded only outside the three owner reference pages. */
.safa-faq {
  width: 100%;
  min-width: 0;
  text-align: left;
}
.safa-faq-item {
  margin: 0;
  border-bottom: 1px solid rgba(73, 51, 40, .18);
}
.safa-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 20px 0;
  color: #34251f;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.safa-faq-question::-webkit-details-marker { display: none; }
.safa-faq-question::after {
  content: "+";
  flex: 0 0 24px;
  color: #875439;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}
.safa-faq-item[open] > .safa-faq-question::after { content: "−"; }
.safa-faq-question:focus-visible {
  outline: 2px solid #875439;
  outline-offset: 4px;
  border-radius: 3px;
}
.safa-faq-answer { padding: 0 0 20px; }
body main .safa-faq .safa-faq-item .safa-faq-answer p {
  margin: 0;
  color: #51463e;
  font-size: 15px;
  line-height: 1.8;
}
.article-faq { margin-top: 40px; }
.journal-faq .safa-faq { max-width: 880px; }
@media (hover: hover) {
  .safa-faq-question:hover { color: #875439; }
}

/* Context in previously empty FAQ columns. No selectors affect owner pages. */
.question-panel.faq-context-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
  gap: clamp(24px, 3vw, 42px);
}
.faq-context-panel > .faq-context {
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid #e6d6c4;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffdf8 0%, #f5eadb 100%);
}
body main .faq-context-panel .faq-context .faq-context-lead {
  margin: 8px 0 0;
  color: #51463e;
  font-size: 15px;
  line-height: 1.75;
}
.faq-context-art {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin: 12px 0;
  min-height: 84px;
  color: #86583f;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, #efdebf 0%, #f7efdf 46%, transparent 73%);
}
.faq-context-art svg { display: block; width: min(100%, 230px); height: 92px; }
.faq-context-art .faq-art-accent { stroke: #ac6b38; stroke-width: 2.6; }
.faq-context-notes { display: grid; gap: 0; margin: 0; padding: 0; }
.faq-context-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #dfcdb9;
}
.faq-context-note > span {
  color: #8b5131;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
}
body main .faq-context-panel .faq-context-note strong {
  display: block;
  color: #34251f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
body main .faq-context-panel .faq-context-note p {
  margin: 5px 0 0;
  color: #51463e;
  font-size: 14px;
  line-height: 1.7;
}
.faq-context-panel .faq-context > .btn {
  align-self: flex-start;
  justify-self: auto;
  margin-top: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.faq-context-panel .faq-context-notes + .btn { margin-top: 20px; }
.faq-context-panel > .safa-faq { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 1024px) {
  .question-panel.faq-context-panel { grid-template-columns: minmax(0, 1fr); }
  .faq-context-panel > .faq-context { padding: 22px; }
  .faq-context-art { min-height: 90px; margin: 12px 0; }
  .faq-context-art svg { height: 110px; }
}
@media (max-width: 480px) {
  .question-panel.faq-context-panel { padding: 16px; gap: 18px; }
  .faq-context-panel > .faq-context { padding: 18px; }
  body main .faq-context-panel .faq-context-note p { font-size: 14px; }
}

/* Only the explicitly approved bottom section on DHI. */
.reference-layout-instrument.dhi-bottom-layout { align-items: stretch; }
.dhi-bottom-layout > .dhi-bottom-context {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #dfcdb9;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffcf7, #f3e6d2);
  color: #34251f;
}
body main .dhi-bottom-context h3 { margin: 12px 0; color: #34251f; font-size: 25px; line-height: 1.3; }
body main .dhi-bottom-context > p { margin: 12px 0 0; color: #51463e; font-size: 15px; line-height: 1.8; }
.dhi-bottom-art { margin: 22px 0 12px; padding: 12px; border-radius: 12px; background: radial-gradient(ellipse, #ead3ad, transparent 70%); color: #8b5b3c; }
.dhi-bottom-art svg { display: block; width: 100%; height: 132px; }
.dhi-bottom-layout .dhi-bottom-context .reference-definitions {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.dhi-bottom-layout .dhi-bottom-context .reference-definitions > div { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 18px 0; }
body main .dhi-bottom-context .reference-definitions dt { font-size: 16px; font-weight: 700; }
body main .dhi-bottom-context .reference-definitions dd { font-size: 15px; line-height: 1.7; }
body main .dhi-bottom-context .reference-definitions small { color: #65554b; }
.dhi-bottom-price { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d7bea1; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
body main .dhi-bottom-price strong { display: block; color: #58331f; font-size: 24px; line-height: 1.3; }
body main .dhi-bottom-price span { display: block; margin-top: 4px; color: #65554b; font-size: 13px; }
body main .dhi-bottom-price a { color: #744529; font-size: 14px; line-height: 1.6; text-underline-offset: 4px; }
.dhi-bottom-price a:focus-visible { outline: 2px solid #875439; outline-offset: 4px; }
.dhi-bottom-layout > .question-panel { min-width: 0; }
@media (max-width: 1024px) { .reference-layout-instrument.dhi-bottom-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .dhi-bottom-art svg { height: 112px; } body main .dhi-bottom-context h3 { font-size: 22px; } }
