/* v1.0.12: match the approved interactive two-column argument cards.
   Scoped to actual Foundation study content. Foundation still owns chapter
   expansion, navigation, scripture links, voting, source links, and notes. */
body.single-sssf_study .sssf-original-reading-intro .sss-editorial-argument-heading{
 color:var(--sss-title,#f8e6d3)!important;font:normal clamp(28px,3vw,41px)/1.2 Georgia,serif!important;
 margin:26px 0 14px!important;background:none!important;
}
body.single-sssf_study .sssf-original-reading-intro ol.sss-editorial-argument-grid{
 list-style:none!important;counter-reset:none!important;margin:18px 0 34px!important;padding:0!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px!important;
}
body.single-sssf_study .sssf-original-reading-intro ol.sss-editorial-argument-grid>li.sss-editorial-argument-item{
 margin:0!important;padding:0!important;display:block!important;list-style:none!important;border:0!important;
 background:transparent!important;min-width:0!important;
}
body.single-sssf_study .sss-editorial-argument-card{
 height:100%;background:linear-gradient(150deg,#273032,#22282a)!important;border:1px solid #996641!important;
 border-radius:11px;overflow:hidden;box-shadow:0 5px 16px #0002;
}
body.single-sssf_study .sss-editorial-argument-card[open]{border-color:#d5975c!important;box-shadow:0 7px 24px #0004}
body.single-sssf_study .sss-editorial-argument-summary{
 padding:20px 18px!important;display:grid!important;grid-template-columns:31px minmax(0,1fr) 20px;gap:10px!important;
 align-items:start;cursor:pointer;list-style:none!important;color:#fff0df!important;min-height:78px;
}
body.single-sssf_study .sss-editorial-argument-summary::-webkit-details-marker{display:none}
body.single-sssf_study .sss-editorial-argument-summary::marker{content:''}
body.single-sssf_study .sss-editorial-argument-number{font:800 18px/1.35 Arial,sans-serif;color:#f0a65b}
body.single-sssf_study .sss-editorial-argument-title{font:700 16px/1.55 Arial,sans-serif;color:#fff0de!important}
body.single-sssf_study .sss-editorial-argument-chevron{font:700 24px/1 Arial,sans-serif;color:#efa75f;text-align:center}
body.single-sssf_study .sss-editorial-argument-card[open] .sss-editorial-argument-chevron{font-size:0}
body.single-sssf_study .sss-editorial-argument-card[open] .sss-editorial-argument-chevron::after{content:'−';font:700 24px/1 Arial,sans-serif}
body.single-sssf_study .sss-editorial-argument-content{padding:2px 20px 20px 59px!important;border-top:1px solid #6d513e66;color:#e9d8c3;line-height:1.7!important;font-size:15px}
body.single-sssf_study .sss-editorial-argument-content a{color:#ffc48a!important}
body.single-sssf_study .sss-editorial-argument-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
body.single-sssf_study .sss-editorial-argument-links a{font:700 12px/1.3 Arial,sans-serif;color:#ffc58e!important;border:1px solid #926344;border-radius:999px;padding:5px 10px;text-decoration:none!important}
body.single-sssf_study .sss-editorial-argument-links a:hover{background:#84522d55}
body.single-sssf_study .sss-editorial-argument-summary:focus-visible{outline:3px solid #f6bc76;outline-offset:-4px}
/* The study's chapter count is the actual number of imported records. The
   existing <details> cards themselves are the expandable controls. */
@media(min-width:1060px){
 body.single-sssf_study .sssf-original-reader-layout .sssf-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important;align-items:start}
 body.single-sssf_study .sssf-original-reader-layout .sssf-main>details.sssf-chapter{min-width:0;margin:0!important}
 body.single-sssf_study .sssf-original-reader-layout .sssf-main>details.sssf-chapter[open]{grid-column:1/-1}
 body.single-sssf_study .sssf-original-reader-layout .sssf-main>details.sssf-chapter>summary.sssf-chapter-summary{min-height:148px!important}
 body.single-sssf_study .sssf-original-reader-layout .sssf-main>details.sssf-chapter>summary.sssf-chapter-summary strong{font-size:clamp(23px,2vw,30px)!important}
}
@media(max-width:690px){
 body.single-sssf_study .sssf-original-reading-intro ol.sss-editorial-argument-grid{grid-template-columns:1fr!important}
}
/* Day mode must not inherit an unreadable dark-on-dark combination. */
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-card,
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-card{background:#f9f1e7!important;border-color:#b78d65!important}
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-title,
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-title{color:#3a261b!important}
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-content,
html.sss-mode-day body.single-sssf_study .sss-editorial-argument-content{color:#392b22!important}
@media print{
 body.single-sssf_study .sss-editorial-argument-card{break-inside:avoid;background:#fff!important;color:#000!important;border-color:#aaa!important}
 body.single-sssf_study .sss-editorial-argument-title,body.single-sssf_study .sss-editorial-argument-content{color:#111!important}
}

/* v1.0.13: the approved reference shows explanations and case badges without clicking.
   Details remain user-collapsible, but start expanded in the shared script. */
body.single-sssf_study .sss-editorial-argument-card[open] .sss-editorial-argument-summary{padding-bottom:9px!important;min-height:auto!important}
body.single-sssf_study .sss-editorial-argument-card[open] .sss-editorial-argument-content{border-top:0!important;padding-top:0!important;line-height:1.6!important}
body.single-sssf_study .sss-editorial-argument-card[open] .sss-editorial-argument-content > :first-child{margin-top:0}
