/* v1.0.8 — editorial case treatment. Presentation only, scoped to Foundation case cards. */
body.single-sssf_study .sssf-study .sssf-case-list {
  width:min(1100px,100%); max-width:1100px; margin-inline:auto;gap:22px;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case {
  --case-surface:#142027;--case-heading:#fff0d8;--case-detail:#f5e9da;
  --case-accent:#edb779;--case-stroke:#a46d3e;
  margin:0!important;overflow:hidden!important;
  background:radial-gradient(ellipse at 105% 2%,#6b432544,transparent 35%),linear-gradient(145deg,#152127,#111b20)!important;
  border:1px solid #a9713d!important; border-radius:17px!important;
  box-shadow:0 22px 55px #0005,inset 0 1px #e8b77916;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case[open] {
  box-shadow:0 24px 54px #0007,0 0 0 1px #d79b6540;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary,
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case[open] > summary {
  min-height:122px;gap:24px!important;padding:18px clamp(18px,3vw,33px)!important;
  grid-template-columns:76px minmax(0,1fr) 30px!important;
  background:radial-gradient(ellipse at 88% 24%,#8b552b55,transparent 34%),linear-gradient(108deg,#111d23,#2d2926)!important;
  border-bottom:1px solid #73553c!important;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-number {
  width:74px!important; min-height:88px!important;align-self:center;
  font:normal 34px/1 Georgia,serif!important;padding-top:23px!important;
  border-radius:5px 5px 12px 12px!important;color:#ffeaca!important;
  -webkit-text-fill-color:#ffeaca!important;
  background:linear-gradient(155deg,#af662e,#65341f)!important;
  border:1px solid #dbab73!important;box-shadow:0 8px 20px #0005;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-number::before {font-size:10px;top:13px}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-summary-copy {
  gap:1px!important;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-category-title,
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-claim-kind {
  color:#e6a968!important;-webkit-text-fill-color:#e6a968!important;font:750 11px/1.45 Arial,sans-serif!important;letter-spacing:.15em;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary strong {
  margin-top:4px;font:normal clamp(25px,3vw,40px)/1.16 Georgia,serif!important;
  color:#fff1d9!important;-webkit-text-fill-color:#fff1d9!important;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > .sssf-body {
  margin:0!important;padding:22px clamp(16px,3vw,34px) 0!important;
  max-width:none!important;color:#f5e9da!important;
}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel {
  display:grid!important;grid-template-columns:64px minmax(0,1fr);
  gap:20px; align-items:start; padding:18px 21px 18px 16px!important;
  margin:0 0 13px!important;border:1px solid #67584c!important;
  border-radius:12px!important;background:linear-gradient(115deg,#2b3031,#24292b)!important;
  box-shadow:inset 0 1px #ffffff12,0 6px 17px #0002;
  color:#f6ebdb!important;
}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel::before {content:none!important;display:none!important}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel .sss-case-evidence-icon {
  display:grid;place-items:center;position:static;width:58px;height:58px;
  color:#efb575!important;-webkit-text-fill-color:#efb575!important;
  font:normal 38px/1 Georgia,serif;border-right:1px solid #ab7b55;
}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel .sss-case-evidence-content {min-width:0;}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel :is(h2,h3,h4,h5,h6) {
  margin:0 0 8px!important; padding:0!important;border:0!important;background:transparent!important;
  color:#f2b97c!important;-webkit-text-fill-color:#f2b97c!important;
  font:800 12px/1.4 Arial,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;
}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel :is(p,blockquote) {
  margin:0 0 8px!important;padding:0!important;background:transparent!important;
  border:0!important;box-shadow:none!important;max-width:none!important;
  color:#f9eee0!important;-webkit-text-fill-color:#f9eee0!important;
  font:normal clamp(16px,1.45vw,19px)/1.55 Georgia,serif!important;
}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-claim :is(p,blockquote) {font-size:clamp(17px,1.6vw,21px)!important}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-finding {background:linear-gradient(115deg,#283037,#22292f)!important}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel :is(.scripture-links,.wp-block-buttons) {display:flex;flex-wrap:wrap;gap:10px;margin:7px 0 0!important}
body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel a.sss-case-reference-pill {
 display:inline-flex!important;align-items:center;max-width:100%;min-height:38px;padding:7px 13px!important;
 margin:4px 4px 3px 0!important;border:1px solid #b7814c!important;
 border-radius:100px!important;background:linear-gradient(180deg,#493323,#302822)!important;
 color:#fcd19d!important;-webkit-text-fill-color:#fcd19d!important;
 text-decoration:none!important;font:650 15px/1.35 Georgia,serif!important;
}
body.single-sssf_study .sssf-study .sssf-case-list a.sss-case-reference-pill:hover {background:#66452d!important}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case .sssf-case-related-chapter {
 margin:18px auto 16px!important;text-align:center!important;
}
body.single-sssf_study .sssf-study .sssf-case-list .sssf-case-related-chapter > a {
 display:inline-flex;justify-content:center;align-items:center;min-height:45px;
 padding:10px 28px!important;border:1px solid #f2b675!important;border-radius:999px!important;
 color:#fff2dc!important;-webkit-text-fill-color:#fff2dc!important;
 background:linear-gradient(180deg,#a85f33,#673719)!important;box-shadow:0 4px 15px #0005,0 0 14px #ad6e3645;
 text-decoration:none!important;font:800 12px/1.4 Arial,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;
}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > .sssf-interactions {margin:17px clamp(16px,3vw,34px)!important;border-color:#775d46!important}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > .sssf-private-project-notes {margin:12px clamp(16px,3vw,34px)!important;background:linear-gradient(105deg,#28332f,#1e2b27)!important;border-color:#a78552!important}
body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > .sssf-section-footer {margin:15px clamp(16px,3vw,34px) 19px!important}
/* Maintain readable text on the intentionally dark cards even when site mode is Day. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary {
 background:linear-gradient(115deg,#233036,#29241f)!important;color:#f8eee0!important;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary strong {color:#fff1d9!important;-webkit-text-fill-color:#fff1d9!important}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list .sssf-body,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list .sssf-voting button {color:#f5e9da!important;-webkit-text-fill-color:#f5e9da!important}
@media (max-width:750px){
 body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary {grid-template-columns:52px minmax(0,1fr) 22px!important;gap:12px!important;padding:14px!important;min-height:86px}
 body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary .sssf-case-number {width:51px!important;min-height:63px!important;font-size:25px!important;padding-top:19px!important}
 body.single-sssf_study .sssf-study .sssf-case-list > details.sssf-case > summary strong {font-size:23px!important}
 body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel {grid-template-columns:1fr!important;padding:15px!important;gap:6px!important}
 body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel .sss-case-evidence-icon {width:44px;height:36px;font-size:27px;border-right:0;border-bottom:1px solid #a87750}
}
@media print {
 body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel {background:#fff!important;color:#111!important;border-color:#888!important;box-shadow:none!important}
 body.single-sssf_study .sssf-study .sssf-case-list .sss-case-evidence-panel :is(p,blockquote) {color:#111!important;-webkit-text-fill-color:#111!important}
}
