/* Published-paper page v2: breadcrumb, abstract shown first (no hidden tab), related papers. Mobile first.
   Scoped by body.ijl-paper-v2, which IJL_Paper_Page (ij-dash) adds while it is on. Roll back: remove the enqueue in single-manuscript.php. */
body.ijl-paper-v2{--ipp-nv:#193452;--ipp-mu:#5f6b76;--ipp-ln:#d5dbe3}

/* breadcrumb (inside the grey title area, above the paper type tag) */
body.ijl-paper-v2 .ipp-crumbs{margin:0 0 10px;font-size:.9rem;line-height:1.4;color:var(--ipp-mu)}
body.ijl-paper-v2 .ipp-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0}
body.ijl-paper-v2 .ipp-crumbs li{min-width:0;overflow-wrap:anywhere}
body.ijl-paper-v2 .ipp-crumbs li+li::before{content:"\203A";margin:0 8px;color:var(--ipp-mu)}
body.ijl-paper-v2 .ipp-crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--ipp-nv);text-decoration:underline}
body.ijl-paper-v2 .ipp-crumbs a:focus-visible{outline:3px solid #2a6fb5;outline-offset:2px}

/* PDF buttons in the title area: thumb-size targets */
body.ijl-paper-v2 .paper-header-btns .btn{display:inline-flex;align-items:center;min-height:44px;margin:0 8px 8px 0}

/* abstract first: the legacy box prints two tab panes; show both stacked, abstract on top, hide the tab strip */
body.ijl-paper-v2 .each-issue-new>.nav-tabs{display:none}
body.ijl-paper-v2 .each-issue-new .tab-content{display:flex;flex-direction:column;border:0;padding:0}
body.ijl-paper-v2 .each-issue-new .tab-content>.tab-pane{display:block;opacity:1}
body.ijl-paper-v2 .each-issue-new .tab-content>#abstract{order:-1}
body.ijl-paper-v2 #abstract .abstract-holder{margin-top:12px}
body.ijl-paper-v2 #abstract .abstract-body{font-size:1.0625rem;line-height:1.65;overflow-wrap:anywhere}
body.ijl-paper-v2 #paperdetails{margin-top:8px}
/* long values in the details rows must wrap inside the viewport (label column is 100px) */
body.ijl-paper-v2 .each-issue-new .issue-right{max-width:calc(100% - 108px);overflow-wrap:anywhere}
body.ijl-paper-v2 .each-issue-new .citation-holder .abstract-body{overflow-wrap:anywhere}

/* related papers */
body.ijl-paper-v2 .ipp-related{margin:28px 0 8px}
body.ijl-paper-v2 .ipp-related h2{margin:0 0 12px;font-size:1.25rem;color:var(--ipp-nv)}
body.ijl-paper-v2 .ipp-related ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ipp-ln)}
body.ijl-paper-v2 .ipp-related li{border-bottom:1px solid var(--ipp-ln)}
body.ijl-paper-v2 .ipp-related a{display:block;min-height:44px;padding:12px 4px;color:var(--ipp-nv);font-weight:600;line-height:1.35;text-decoration:none;overflow-wrap:anywhere}
body.ijl-paper-v2 .ipp-related a:hover{background:#f5f7fa;text-decoration:underline}
body.ijl-paper-v2 .ipp-related a:focus-visible{outline:3px solid #2a6fb5;outline-offset:-3px}
body.ijl-paper-v2 .ipp-related small{display:block;margin-top:2px;font-size:.875rem;font-weight:400;color:var(--ipp-mu)}
