/* ==========================================================================
   SJOH Article Reader - OJS 3.5 child theme of Default
   Ported from SAFE_Journal_Article_3D_Coverflow_No_Arrows_Larger_Cards.html
   Every rule is scoped to .sjr (the article reader) or to OJS page wrappers
   that CONTAIN .sjr, so the homepage, archives, header and footer are untouched.
   ========================================================================== */

/* ---------- 1. Open up the OJS page frame on the article page only ---------- */
.pkp_structure_content:has(.sjr){max-width:none!important;width:100%!important;padding:0!important;margin:0!important;}
.pkp_structure_main:has(.sjr){width:100%!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;}
.pkp_structure_main:has(.sjr)::before,.pkp_structure_main:has(.sjr)::after{display:none!important;content:none!important;}
.pkp_structure_content:has(.sjr) .pkp_structure_sidebar{display:none!important;}
.page_article:has(.sjr){padding:0!important;margin:0!important;max-width:none!important;}
.page_article:has(.sjr) > .cmp_breadcrumbs{display:none!important;}
body:has(.sjr){background:#f0f2f5;padding-bottom:36px;}
html:has(.sjr){scroll-behavior:smooth;scroll-padding-top:90px;}

/* ---------- 2. Tokens + base ---------- */
.sjr{
  --navy:#0e1f3d;--blue:#1695c8;--accent:#2255e0;--teal:#2a7a72;--amber:#e08a1e;
  --text:#222;--muted:#666;--border:#e2e5ea;--bg:#f0f2f5;--white:#fff;
  font-family:'Source Sans 3',sans-serif;color:#000;background:#f0f2f5;
  font-size:16px;line-height:1.5;width:100%;
}
.sjr *,.sjr *::before,.sjr *::after{box-sizing:border-box;}
.sjr a{text-decoration:none;}
.sjr img{max-width:100%;height:auto;}

/* ---------- 3. Banner ---------- */
.sjr-hero{width:100%;overflow:hidden;display:flex;align-items:stretch;margin-bottom:18px;}
.sjr-hero-img{width:100%;flex-shrink:0;background-image:url("https://safesocietypublishing.com/wp-content/uploads/2026/06/Firefly_Gemini-Flash-3-scaled.png");background-size:cover;background-position:center top;background-repeat:no-repeat;aspect-ratio:2600/350;position:relative;}
.sjr-hero-img::after{content:'';position:absolute;top:0;right:0;bottom:0;width:100px;background:linear-gradient(to right,transparent,#0e2a6e);}

/* ---------- 4. Page grid ---------- */
.sjr-container{max-width:1640px;margin:0 auto;padding:0 32px 50px;display:grid;grid-template-columns:250px minmax(0,1fr);column-gap:20px;row-gap:18px;align-items:start;}
.sjr-left{min-width:0;}
@media(min-width:769px){.sjr-left{position:sticky;top:70px;align-self:start;}}

/* ---------- 5. Left sidebar ---------- */
.sjr .card{background:#fff;border:1px solid var(--border);padding:20px;margin-bottom:18px;border-radius:4px;}
.sjr-brand{display:flex;flex-direction:column;margin-bottom:16px;}
.sjr-brand-row{display:flex;align-items:flex-start;}
.sjr-brand-logo{height:80px!important;width:auto!important;display:block;object-fit:contain;flex-shrink:0;}
.sjr-brand-rule{display:inline-block;width:1.5px;height:64px;background:#6b7280;margin:10px 3.5px 1px;flex-shrink:0;}
.sjr-brand-name{display:flex;flex-direction:column;justify-content:flex-start;margin-top:16px;}
.sjr-brand-l1{font-family:'Playfair Display',serif;font-size:16px;font-weight:700;color:#0e1f3d;line-height:1.25;white-space:nowrap;}
.sjr-brand-l2{font-family:'Playfair Display',serif;font-size:16px;font-weight:600;color:#1695c8;font-style:italic;line-height:1.25;white-space:nowrap;}
.sjr-brand-tag{font-size:11.5px;color:#666;margin-top:5px;font-style:italic;}
.sjr .blue-btn{display:block;background:var(--blue);color:#fff;text-align:center;padding:9px 10px;border-radius:4px;margin:10px 0;font-weight:600;font-size:13px;transition:background .2s;}
.sjr .blue-btn:hover{background:#1278a8;color:#fff;}
.sjr .outline-btn{display:block;border:1px solid #aaa;color:#333;text-align:center;padding:9px 10px;border-radius:4px;margin-bottom:16px;font-weight:600;font-size:13px;background:transparent;transition:all .2s;}
.sjr .outline-btn:hover{background:var(--blue);color:#fff;}
.sjr .sidebar-title{font-size:18px;font-weight:700;margin:0 0 14px;font-family:'Playfair Display',serif;color:var(--navy);}
.sjr .article-toc{display:flex;flex-direction:column;gap:2px;}
.sjr .article-toc .sidebar-title{margin:0 0 10px;}
.sjr .article-toc a{display:block;color:#43566a;font-size:13.5px;line-height:1.45;padding:9px 10px;border-left:2px solid transparent;border-bottom:1px solid #eff2f5;}
.sjr .article-toc a:hover,.sjr .article-toc a.active{color:#087aab;background:#eef8fc;border-left-color:#1695c8;}
.sjr .issue-links a{display:block;color:var(--blue);font-weight:700;font-size:13px;padding:4px 0;transition:color .15s;}
.sjr .issue-links a::before{content:"\25B6  ";font-size:9px;}
.sjr .issue-links a:hover{color:var(--navy);}

/* ---------- 6. Article column + rail grid ---------- */
.sjr .safe-article-main{grid-column:2;min-width:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 316px;align-items:start;gap:18px;}

/* ---------- 7. Reader ---------- */
.sjr .safe-reader{min-width:0;background:#fff;border:1px solid #e1e5eb;border-radius:4px;padding:28px clamp(20px,2.3vw,32px) 50px;box-shadow:0 3px 18px rgba(14,31,61,.035);font-family:'Source Sans 3',sans-serif;color:#212936;font-size:16px;line-height:1.85;}
.sjr .safe-reader .cmp_notification{margin:0 0 18px;}
.sjr .safe-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#718096;margin-bottom:24px;line-height:1.5;}
.sjr .safe-breadcrumb a{color:#157da4;}
.sjr .safe-reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;}
.sjr .safe-article-labels{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;}
.sjr .safe-article-type,.sjr .safe-fulltext-label{font-size:13px;line-height:1.25;font-weight:600;display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;white-space:nowrap;}
.sjr .safe-article-type{background:#0879ad;color:#fff;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);}
.sjr .safe-fulltext-label{background:#dce8f0;color:#235f83;}
.sjr .safe-reader-actions{display:flex;gap:8px;flex-wrap:wrap;}
.sjr .safe-reader-actions a,.sjr .safe-reader-actions button{font:600 12px 'Source Sans 3',sans-serif;display:inline-block;padding:8px 12px;border:1px solid #b8cadd;border-radius:4px;color:#17456b;background:#f6fafe;cursor:pointer;line-height:1.3;}
.sjr .safe-reader h1{font:700 clamp(25px,2.25vw,32px)/1.18 Georgia,'Times New Roman',serif;color:#171717;letter-spacing:-.028em;margin:0 0 14px;max-width:780px;padding:0;}
.sjr .sjr-subtitle{font:italic 500 19px/1.4 Georgia,serif;color:#33475b;margin:-6px 0 14px;}
.sjr .safe-authors{font-size:14px;font-weight:500;color:#135a86;line-height:1.9;margin:0 0 8px;}
.sjr .safe-authors a{color:#145a88;border-bottom:1px solid #9fbcd0;}
.sjr .safe-authors a.sjr-orcid{border:0;display:inline-block;vertical-align:-2px;}
.sjr .safe-authors a.sjr-orcid svg{width:15px;height:15px;}
.sjr .safe-authors sup{font-size:10px;color:#293d50;margin-left:2px;}
.sjr .safe-affiliation-list{margin:6px 0 17px;padding:12px 0 0;border-top:1px solid #e8edf1;list-style:none;font-size:12px;color:#53606f;line-height:1.6;}
.sjr .safe-affiliation-list:empty{display:none;}
.sjr .safe-affiliation-list li{margin:0 0 4px;padding-left:19px;position:relative;}
.sjr .safe-affiliation-list sup{position:absolute;left:0;font-size:10px;top:1px;font-weight:700;color:#233e56;}
.sjr .safe-corresponding{font-size:12px;color:#425168;margin:6px 0 15px;}
.sjr .safe-meta{display:flex;flex-wrap:wrap;gap:6px 22px;padding:12px 0;margin:15px 0 0;border-top:1px solid #e1e8f0;font-size:12.5px;color:#425168;line-height:1.6;}
.sjr .safe-meta b{color:#102747;}
.sjr .safe-meta a{color:#0879ae;word-break:break-all;}
.sjr .safe-reader-notice{font-size:13px;line-height:1.55;color:#68768a;border-left:3px solid #8aa9bf;padding:9px 12px;background:#f6f9fb;margin:28px 0 0;}
.sjr .safe-reader-notice a{color:#0879ae;font-weight:600;}

/* Open-access lock + tooltip */
.sjr .safe-oa-hover{display:inline-block;position:relative;vertical-align:baseline;white-space:normal;}
.sjr .safe-open-access-lock{display:inline-flex;align-items:center;justify-content:center;width:24px;height:25px;vertical-align:-3px;margin-left:4px;color:#f36a21;cursor:pointer;}
.sjr .safe-open-access-lock svg{width:100%;height:100%;}
.sjr .safe-open-access-lock:focus-visible{outline:2px solid #0877a9;outline-offset:3px;}
.sjr .safe-oa-tooltip{display:none;position:absolute;left:50%;top:calc(100% + 10px);transform:translateX(-50%);z-index:1000;width:min(440px,80vw);padding:15px 17px;background:#fff;border:1px solid #cdd6df;box-shadow:0 8px 24px rgba(14,31,61,.20);color:#243447;text-align:left;font:normal 14px/1.6 'Source Sans 3',Arial,sans-serif;letter-spacing:normal;}
.sjr .safe-oa-tooltip strong{display:block;color:#0e1f3d;font:700 15px/1.35 'Source Sans 3',Arial,sans-serif;margin-bottom:6px;}
.sjr .safe-oa-tooltip span{display:block;}
.sjr .safe-oa-tooltip a{color:#0879ad;text-decoration:underline;font-weight:600;}
.sjr .safe-oa-hover:hover .safe-oa-tooltip,.sjr .safe-oa-hover:focus-within .safe-oa-tooltip{display:block;}
@media(max-width:680px){.sjr .safe-oa-tooltip{left:auto;right:-10px;transform:none;width:min(320px,84vw);}}

/* Share toolbar */
.sjr .safe-share-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid #aeb0b2;border-bottom:1px solid #aeb0b2;padding:16px 0;margin:8px 0 24px;}
.sjr .safe-share-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid #dde3e9;background:#fff;color:#24374e;cursor:pointer;transition:background .15s,border-color .15s;appearance:none;padding:9px;}
.sjr .safe-share-icon:hover,.sjr .safe-share-icon:focus-visible{background:#f0f7fc;border-color:#9dbbd2;}
.sjr .safe-share-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.sjr .safe-share-icon.whatsapp{color:#17bf69}.sjr .safe-share-icon.email{color:#1363cc}.sjr .safe-share-icon.linkedin,.sjr .safe-share-icon.facebook{color:#0874c5}.sjr .safe-share-icon.x-social{color:#171717}
.sjr .safe-share-icon.favorite[aria-pressed="true"]{color:#ed4164;background:#fff2f5;border-color:#ffc4d2;}
.sjr .safe-share-icon.favorite[aria-pressed="true"] svg{fill:#ed4164;}
.sjr .safe-share-feedback{font-size:12px;color:#476179;min-height:18px;}

/* Sections, text, tables, figures (shared by OJS metadata + HTML galley body) */
.sjr .safe-section{margin:34px 0 0;scroll-margin-top:85px;}
.sjr .safe-section h2{font:700 23px/1.35 'Playfair Display',Georgia,serif;color:#102747;margin:0 0 14px;border-bottom:1px solid #d5e0e8;padding:0 0 9px;}
.sjr .safe-section h3{font:700 18px/1.4 'Source Sans 3',sans-serif;color:#173a61;margin:23px 0 9px;}
.sjr .safe-section h4{font:700 16px/1.4 'Source Sans 3',sans-serif;color:#173a61;margin:18px 0 8px;}
.sjr .safe-section p,.sjr .sjr-abstract p{font-size:16px;line-height:1.85;margin:0 0 15px;text-align:left;}
.sjr .safe-section ul,.sjr .safe-section ol{padding-left:24px;margin:0 0 15px;}
.sjr .safe-section li{margin-bottom:5px;}
.sjr .safe-section a{color:#0879ae;}
.sjr .safe-keywords{border-top:1px solid #e5eaf0;margin-top:20px!important;padding-top:13px;font-size:14px!important;color:#44566c;}
.sjr .safe-cite{color:#0879ae;border-bottom:1px dotted #0879ae;font-weight:700;}
.sjr .safe-cite:hover{background:#e6f5fb;}
.sjr .safe-table-wrap{overflow-x:auto;margin:22px 0;}
.sjr .safe-table-wrap table,.sjr .sjr-fulltext table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.55;}
.sjr .safe-table-wrap table{min-width:530px;}
.sjr .safe-table-wrap caption,.sjr .sjr-fulltext caption{text-align:left;padding-bottom:10px;color:#25364b;font-size:13px;}
.sjr .sjr-fulltext th{background:#edf4f8;font-weight:700;color:#15395a;}
.sjr .sjr-fulltext td,.sjr .sjr-fulltext th{border-bottom:1px solid #dfe7ee;padding:10px 12px;text-align:left;vertical-align:top;}
.sjr .safe-figure,.sjr .sjr-fulltext figure{margin:25px 0;}
.sjr .sjr-fulltext figure img,.sjr .safe-figure img{display:block;max-width:100%;height:auto;margin:0 auto;border:1px solid #e0e6ec;}
.sjr .safe-figure-placeholder{height:220px;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#e8f2f7,#f8fafc);border:1px dashed #a1bccd;color:#496779;text-align:center;font-size:14px;}
.sjr .safe-figure-caption,.sjr .sjr-fulltext figcaption{font-size:13px;line-height:1.55;margin-top:9px;color:#485365;}
.sjr .safe-references ol{padding-left:24px;margin:0;}
.sjr .safe-references li{padding:10px 0 10px 6px;border-bottom:1px solid #e5eaf0;font-size:14px;line-height:1.7;scroll-margin-top:90px;overflow-wrap:anywhere;}
.sjr .safe-references li:target{background:#e8f6fc;outline:2px solid #8ec9e4;}
.sjr .safe-references li a{color:#167ca7;font-size:12px;}
.sjr .sjr-raw-citations{font-size:14px;line-height:1.7;overflow-wrap:anywhere;}
.sjr .sjr-license{font-size:13px;color:#53606f;}
.sjr .sjr-license h2{font-size:18px;}
.sjr .sjr-license p{font-size:13px;line-height:1.6;}
.sjr .sjr-license img{display:inline-block;vertical-align:middle;}

/* ---------- 8. Right rail ---------- */
.sjr .safe-article-rail{min-width:0;position:sticky;top:70px;align-self:start;background:#fff;border:1px solid #e1e5eb;padding:18px 16px 20px;box-shadow:0 3px 18px rgba(14,31,61,.03);font-family:'Source Sans 3',sans-serif;}
.sjr .safe-rail-pdf{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:49px;padding:12px 17px;border:0;border-radius:0;background:#00699b;color:#fff;font:700 15px 'Source Sans 3',sans-serif;cursor:pointer;margin:0 0 19px;}
.sjr .safe-rail-pdf:hover,.sjr .safe-rail-pdf:focus-visible{background:#084c79;color:#fff;}
.sjr .safe-rail-pdf svg{width:19px;height:19px;}
.sjr .sjr-galleys{display:flex;flex-wrap:wrap;gap:6px;margin:-8px 0 16px;}
.sjr .sjr-galleys a{display:inline-block;font-size:13px;font-weight:600;padding:6px 10px;border:1px solid #b8cadd;border-radius:4px;color:#17456b;background:#f6fafe;}
.sjr .safe-rail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #d5d6d9;margin-bottom:14px;}
.sjr .safe-rail-tab{background:#f0f0f1;border:0;border-right:1px solid #d5d6d9;border-radius:0;cursor:pointer;padding:12px 4px;font:600 13px 'Source Sans 3',sans-serif;color:#485266;text-align:center;}
.sjr .safe-rail-tab:last-child{border-right:0;}
.sjr .safe-rail-tab[aria-selected='true']{background:#fff;color:#121b29;box-shadow:inset 0 -3px 0 #087ba8;}
.sjr .safe-rail-tab:hover{background:#e8f3f8;}
.sjr .safe-rail-panel{display:none;}
.sjr .safe-rail-panel.active{display:block;}
.sjr .safe-rail-panel a{color:#12628c;}
.sjr .safe-rail-panel a:hover{text-decoration:underline;}
.sjr .safe-rail-empty{font-size:13px;color:#758294;padding:8px 2px;}
.sjr .safe-rail-section-link{display:block;padding:11px 6px;border-bottom:1px solid #e0e5eb;font-size:14px;line-height:1.4;}
.sjr .safe-rail-figure{border-bottom:1px solid #d7dce0;padding:12px 0 17px;margin-bottom:7px;}
.sjr .safe-rail-figure h3{font:700 16px/1.3 Georgia,'Times New Roman',serif;color:#17202b;margin:0 0 11px;}
.sjr .safe-rail-figure img,.sjr .safe-rail-figure svg{display:block;width:100%;height:auto;background:#fafdff;border:1px solid #e0e6ec;}
.sjr .safe-rail-figure-foot{display:flex;justify-content:space-between;gap:9px;margin-top:10px;font-size:12.5px;}
.sjr .safe-rail-references{list-style:none;padding:0;margin:0;}
.sjr .safe-rail-references li{padding:13px 0;border-bottom:1px solid #dce0e4;color:#303948;font-size:13.5px;line-height:1.6;overflow-wrap:anywhere;}
.sjr .safe-rail-references li strong{font-weight:700;color:#15283b;}
.sjr .safe-rail-references li a{display:inline-block;margin-top:4px;}

/* ---------- 9. Promo coverflow ---------- */
.sjr .safe-promo{position:relative;border:1px solid #dce2e9;overflow:hidden;margin:0 0 15px;font-family:'Source Sans 3',Arial,sans-serif;perspective:850px;isolation:isolate;background:linear-gradient(180deg,#f8fbfd,#edf3f7);border-radius:7px;}
.sjr .safe-promo .sp-track{position:relative;display:block;width:100%;height:196px;overflow:visible;perspective:850px;}
.sjr .safe-promo .sp-slide{position:absolute;top:9px;left:50%;width:81%;height:176px;padding:12px 14px;border:1px solid #d4e0e9;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#19304d;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateZ(-90px) scale(.72);transition:transform .65s cubic-bezier(.2,.75,.25,1),opacity .65s ease,filter .65s ease;background:#fff;box-shadow:0 4px 14px rgba(10,31,52,.1);overflow:hidden;}
.sjr .safe-promo .sp-slide.cf-center,.sjr .safe-promo .sp-slide.cf-left,.sjr .safe-promo .sp-slide.cf-right{opacity:1;visibility:visible;}
.sjr .safe-promo .sp-slide.cf-center{transform:translateX(-50%) translateZ(45px) scale(1);z-index:3;pointer-events:auto;filter:none;}
.sjr .safe-promo .sp-slide.cf-left{transform:translateX(-104%) rotateY(-23deg) translateZ(-55px) scale(.78);z-index:2;filter:brightness(.84);}
.sjr .safe-promo .sp-slide.cf-right{transform:translateX(4%) rotateY(23deg) translateZ(-55px) scale(.78);z-index:2;filter:brightness(.84);}
.sjr .safe-promo .sp-logo{display:block;width:auto!important;height:auto;max-width:87%;max-height:59px;object-fit:contain;margin:0 auto 4px;}
.sjr .safe-promo .sp-logo.sp-wide{max-width:97%;max-height:45px;}
.sjr .safe-promo .sp-books-logo{max-height:64px;max-width:98%;}
.sjr .safe-promo .sp-head{font-weight:800;color:#0e1f3d;font-size:13px;line-height:1.18;margin:1px 0 3px;}
.sjr .safe-promo .sp-desc{color:#536578;font-size:10.5px;line-height:1.25;margin:0 0 4px;}
.sjr .safe-promo .sp-cta{font-size:10.5px;font-weight:800;color:#126b96;text-decoration:underline;text-underline-offset:2px;}
.sjr .safe-promo .sp-publish-banner{color:#0d3155;font-family:Georgia,serif;font-size:24px;font-weight:700;line-height:1.15;margin-bottom:14px;}
@media(prefers-reduced-motion:reduce){.sjr .safe-promo .sp-slide{transition:none;}}

/* ---------- 10. Bottom ticker ---------- */
.sjr .bottom-ticker-bar{position:fixed;bottom:0;left:0;right:0;background:var(--navy);color:#fff;height:36px;display:flex;align-items:center;overflow:hidden;z-index:9999;border-top:2px solid var(--blue);box-shadow:0 -2px 10px rgba(0,0,0,.3);font-family:'Source Sans 3',sans-serif;}
.sjr .ticker-label{background:var(--blue);color:#fff;font-size:11px;font-weight:700;padding:0 14px;height:100%;display:flex;align-items:center;white-space:nowrap;letter-spacing:.5px;text-transform:uppercase;flex-shrink:0;z-index:2;}
.sjr .ticker-track-wrap{overflow:hidden;flex:1;height:100%;display:flex;align-items:center;position:relative;}
.sjr .ticker-track-wrap::after{content:'';position:absolute;right:0;top:0;width:50px;height:100%;background:linear-gradient(to left,var(--navy),transparent);z-index:1;pointer-events:none;}
.sjr .ticker-track{display:flex;align-items:center;white-space:nowrap;animation:sjrScrollTicker 60s linear infinite;}
.sjr .ticker-track:hover{animation-play-state:paused;}
.sjr .ticker-item{display:inline-flex;align-items:center;padding:0 20px;font-size:12.5px;color:rgba(255,255,255,.85);gap:8px;}
.sjr .ticker-item.sjr-ticker-loading{color:rgba(255,255,255,.5);font-style:italic;}
.sjr .ticker-item a{color:#7dd8f0;transition:color .2s;}
.sjr .ticker-item a:hover{color:#fff;text-decoration:underline;}
.sjr .ticker-sep{display:inline-block;width:4px;height:4px;background:var(--blue);border-radius:50%;margin:0 14px;vertical-align:middle;opacity:.65;}
@keyframes sjrScrollTicker{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
@media(prefers-reduced-motion:reduce){.sjr .ticker-track{animation:none;}}

/* ---------- 11. Responsive ---------- */
@media(max-width:1180px){
  .sjr-container{padding:0 18px 40px;grid-template-columns:225px minmax(0,1fr);column-gap:14px;}
  .sjr .safe-article-main{grid-template-columns:minmax(0,1fr) 275px;gap:12px;}
  .sjr .safe-article-rail{padding:14px 11px;}
}
@media(max-width:920px){
  .sjr .safe-article-main{grid-template-columns:minmax(0,1fr);}
  .sjr .safe-article-rail{position:static;grid-row:2;}
}
@media(max-width:768px){
  .sjr-container{display:flex;flex-direction:column;gap:14px;padding:0 12px 40px;}
  .sjr-left{width:100%;position:static;}
  .sjr-left .card:nth-child(2){display:none;}
  .sjr .safe-article-main{width:100%;display:flex;flex-direction:column;}
  .sjr .safe-article-rail,.sjr .safe-reader{width:100%;}
  .sjr .safe-reader{padding:24px 19px 40px;}
  .sjr .safe-reader h1{font-size:26px;}
  .sjr-hero-img{aspect-ratio:2600/480;}
  .sjr .article-toc{display:grid;grid-template-columns:1fr 1fr;gap:0;}
  .sjr .article-toc .sidebar-title{grid-column:1/-1;}
  .sjr .bottom-ticker-bar{height:32px;}
  body:has(.sjr){padding-bottom:32px;}
}

/* ---------- 12. Print ---------- */
@media print{
  body:has(.sjr) .pkp_structure_head,body:has(.sjr) .pkp_structure_footer_wrapper,.sjr-hero,.sjr-left,.sjr .safe-article-rail,.sjr .bottom-ticker-bar,.sjr .safe-reader-actions,.sjr .safe-share-toolbar,.sjr .safe-oa-tooltip{display:none!important;}
  .sjr-container{display:block;padding:0;}
  .sjr .safe-article-main{display:block!important;}
  .sjr .safe-reader{border:0;box-shadow:none;padding:0;}
  .sjr,body:has(.sjr){background:#fff;padding:0;}
  .sjr .safe-table-wrap{overflow:visible;}
}
