/* Production adaptation of 01-frontiers/reference-v3, 2026-11-17.
   Loaded only on inner pages; publisher home keeps its existing assets. */
body.hk-reference[data-variant] {
  --ink: #0f333a; --muted: #586b70; --accent: #dd593f; --accent2: #0a6f70;
  --dark: #073b42; --pale: #eef5f2; --rule: #ceddd8;
  --heading: 'DM Sans', Arial, sans-serif; --body: 'DM Sans', Arial, sans-serif;
  color: var(--ink); background: #fff; font-size: 15px;
}
.hk-reference .wrap { width: min(1312px, calc(100% - 100px)); }
.hk-reference h1,.hk-reference h2,.hk-reference h3 { font-family: var(--body); letter-spacing: -.02em; }
.hk-reference h2 { font-size: 25px; line-height: 1.3; }
.hk-reference h3 { font-size: 19px; line-height: 1.35; }
.hk-reference p { color: #475258; }
.hk-reference .section { padding-block: 45px; }
.hk-reference .site-header.atlas-header { position: sticky; top: 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--rule); box-shadow: none; }
.hk-reference .main-nav { min-height: 66px; height: auto; padding-block: 10px; gap: 28px; }
.hk-reference .publisher-logo { width: 180px; max-height: 45px; object-fit: contain; }
.hk-reference .nav-links { gap: 22px; font-size: 13px; font-weight: 500; }
.hk-reference .site-header .nav-links > a,.hk-reference .site-header .nav-dropdown > summary,.hk-reference .site-header .hk-account > [data-account-guest],.hk-reference .site-header .hk-account > button { color: var(--ink); }
.hk-reference .nav-submit { border: 1px solid #8d969d; border-radius: 25px; padding: 9px 17px; background: #fff; color: var(--ink)!important; font-size: 12px; }
.hk-reference .nav-submit:hover { background: var(--pale); }
.hk-reference .site-header .journal-more-panel { background: white; color: var(--ink); }
.hk-reference .journal-subnav { background: var(--pale); color: #4e555d; border-bottom: 1px solid #ddd; position: sticky; top: var(--hk-header-height,66px); }
.hk-reference .journal-menu-inner { min-height: 52px; gap: 25px; }
.journal-sections { display: contents; }
.journal-sections-toggle { display: none; }
.hk-reference .journal-subnav a,.hk-reference .journal-subnav summary { color: #4e555d; font-size: 13px; font-weight: 500; }
.hk-reference .journal-subnav .journal-name { color: var(--ink); font-size: 14px; font-weight: 600; flex: 0 0 auto; max-width: 100%; width: max-content; white-space: normal; overflow-wrap: anywhere; }
.hk-reference .journal-subnav [aria-current],.hk-reference .journal-subnav .is-current > summary { color: var(--accent2); }
.hk-reference .ref-breadcrumb { padding: 16px 0; font-size: 12px; }
.hk-reference .ref-breadcrumb span { padding: 0 6px; }
.hk-reference .ref-section-heading { padding: 35px 0; background: var(--pale); }
.hk-reference .ref-section-heading h1 { font-size: clamp(29px,3vw,38px); font-weight: 500; line-height: 1.18; margin: 0 0 12px; overflow-wrap: anywhere; }
.hk-reference .ref-section-heading p { font-size: 13px; margin: 0; }
.hk-reference .inner-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 220px; gap: 35px; padding-block: 40px 80px; align-items: start; }
.hk-reference .inner-layout > * { min-width: 0; }
.hk-reference .inner-layout > .side-panel { padding: 15px 0; border: 0; border-top: 3px solid var(--accent2); background: none; position: static; }
.hk-reference .side-nav a { display: block; border: 0; color: var(--accent2); padding: 7px 0; font-size: 13px; }
.hk-reference .side-panel > strong { font-size: 13px; }
.hk-reference .ref-resource-rail { min-width: 0; }
.hk-reference .ref-section-extra { background: var(--pale); padding: 20px; font-size: 13px; }
.hk-reference .ref-section-extra p { margin-block: 12px; font-size: 13px; line-height: 1.6; }
.hk-reference .ref-resource-rail .right-sidebar { display: block; }
.hk-reference .ref-resource-rail .side-panel { background: var(--pale); padding: 20px; margin-top: 20px; border: 0; }
.hk-reference .ref-resource-rail .side-panel h2 { font-size: 17px; line-height: 1.4; margin: 0 0 15px; }
.hk-reference .ref-resource-rail a { color: var(--accent2); font-size: 13px; }
.hk-reference .ref-resource-rail .side-panel p,.hk-reference .ref-resource-rail .prose { font-size: 13px; }
.hk-reference .prose,.hk-reference .prose p { font: 15px/1.7 var(--body); color: #475258; }
.hk-reference .prose h2 { font-size: 25px; margin: 30px 0 12px; }
.hk-reference .prose h2:first-child { margin-top: 0; }
.hk-reference .prose a { color: var(--accent2); }
.hk-reference .main-column > h2 { font-size: 25px; }
.hk-reference .button,.hk-reference .btn { min-height: 40px; padding: 10px 15px; font-size: 13px; }
.hk-reference .btn.primary,.hk-reference .button.primary { color: #fff; background: var(--accent2); border-color: var(--accent2); }
.hk-reference .paper-row { padding: 24px 0; }
.hk-reference .paper-row h3 { color: var(--accent2); font: 600 19px/1.4 var(--body); margin: 0 0 10px; letter-spacing: 0; }
.hk-reference .paper-meta { font-size: 11px; letter-spacing: .03em; margin-bottom: 12px; color: var(--muted); }
.hk-reference .paper-meta span + span { color: var(--accent2); }
.hk-reference .paper-foot { font-size: 12px; gap: 6px 12px; }
.hk-reference .paper-extra summary,.hk-reference .paper-doi { font-size: 12px; color: var(--accent2); }
.hk-reference .paper-extra p { font-size: 14px; line-height: 1.7; }
.hk-reference .section-head { margin-bottom: 18px; gap: 15px; }
.hk-reference .section-head h2 { font-size: 23px; }
.hk-reference .hk-page-banner { background: var(--pale)!important; color: var(--ink); min-height: 0; padding: 35px 0; }
.hk-reference .hk-page-banner .wrap { padding-right: 0; }
.hk-reference .hk-page-banner h1 { color: var(--ink); font-size: clamp(30px,3.2vw,42px); font-weight: 500; max-width: none; }
.hk-reference .hk-page-banner p,.hk-reference .hk-page-banner a,.hk-reference .hk-page-banner .breadcrumbs { color: var(--muted); }
.hk-reference .hk-page-banner .overline { display: none; }
/* Journal overview: reference geometry, configured content, no sample editors. */
.hk-reference .rf-journal-hero { isolation: isolate; background: #0a2247; }
.hk-reference .rf-journal-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; z-index: -1; }
.hk-reference .rf-journal-hero h1 { color: #fff; max-width: 800px; }
.hk-reference .rf-hero-bottom { grid-template-columns: repeat(3,minmax(100px,155px)) minmax(180px,215px); }
.hk-reference .rf-hero-bottom:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2,minmax(120px,180px)) minmax(180px,215px); }
.hk-reference .rf-hero-bottom:has(> :nth-child(2):last-child) { grid-template-columns: 180px 215px; }
.hk-reference .rf-intro { gap: 90px; }
.hk-reference .rf-intro h2,.hk-reference .rf-section-heading h2 { font-size: 31px; font-weight: 500; }
.hk-reference .rf-intro .journal-intro-preview { font-size: 15px; line-height: 1.6; }
.hk-reference .rf-intro .intro-toggle { font-size: 13px; color: var(--accent2); margin-bottom: 15px; }
.hk-reference .rf-card-image { display: block; width: 100%; height: 125px; object-fit: cover; }
.hk-reference .rf-service-cards { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.hk-reference .rf-service h3 { font-size: 17px; letter-spacing: 0; }
.hk-reference .rf-service p { font-size: 13px; }
.hk-reference .rf-real-editors { max-width: 780px; }
.hk-reference .rf-editor-card { display: flex; gap: 22px; padding: 24px; background: #fff; }
.hk-reference .rf-editor-card > img { width: 76px; height: 96px; object-fit: cover; flex: none; }
.hk-reference .rf-editor-card h3 { font-size: 17px; margin-bottom: 12px; }
.hk-reference .rf-editor-card a { color: var(--accent2); font-size: 13px; }
.hk-reference .rf-tabs { flex-wrap: wrap; gap: 14px 30px; }
.hk-reference .rf-tabs [aria-current] { color: var(--accent2); font-weight: 700; }
.hk-reference .rf-paper-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.hk-reference .rf-paper-grid .paper-row { padding: 20px; border: 0; height: 100%; }
.hk-reference .rf-paper-grid .paper-row h3 { font-size: 17px; color: var(--ink); }
.hk-reference .rf-current-issue { margin-top: 45px; }
.hk-reference .rf-current-issue > div { display: flex; align-items: start; gap: 24px; }
.hk-reference .rf-current-issue img { width: 105px; height: auto; }
.hk-reference .rf-current-issue h2 { font-size: 25px; }
.hk-reference .rf-current-issue h3 { font-size: 19px; }
.hk-reference .rf-current-issue a { color: var(--accent2); }
.hk-reference .ref-journal-extras { padding-block: 40px; }
.hk-reference .ref-journal-extras .editor-chief { display: none; }
/* Three-column article reading page. */
.hk-reference .article-layout.rf-article { grid-template-columns: 220px minmax(0,1fr) 220px; gap: 55px; padding-top: 50px; padding-bottom: 80px; }
.hk-reference .rf-article > * { min-width: 0; }
.hk-reference .rf-article-left,.hk-reference .article-aside { position: static; max-height: none; overflow: visible; }
.hk-reference .rf-publication-image { width: 100%; height: 110px; object-fit: contain; margin-top: 14px; background: var(--pale); }
.hk-reference .article-toc.rf-panel { position: sticky; top: 140px; padding: 20px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; font-size: 12px; }
.hk-reference .article-toc a { color: var(--accent2); padding: 0; margin-top: 12px; font-size: 12px; }
.hk-reference .article-toc strong { font-size: 13px; }
.hk-reference .article-toc .article-toc-section { padding-inline-start: 10px; overflow-wrap: anywhere; }
.hk-reference .article-toc .article-toc-subsection { padding-inline-start: 22px; }
.hk-reference .rf-article-heading { padding: 0; margin-bottom: 38px; }
.hk-reference .rf-article-heading .paper-meta { font-size: 13px; margin-bottom: 14px; }
.hk-reference .rf-article-heading h1 { font: 500 clamp(29px,2.5vw,40px)/1.25 var(--body); letter-spacing: -.02em; color: var(--ink); margin: 25px 0; overflow-wrap: anywhere; }
.hk-reference .rf-article-heading .article-authors { border-top: 1px solid #e1e1e1; padding-top: 18px; font-size: 13px; line-height: 2; color: var(--accent2); }
.hk-reference .article-authors a { display: inline-block; border-radius: 25px; background: #f5f7f9; padding: 3px 10px; margin: 3px 0; }
.hk-reference .article-publication-line { color: var(--muted); font-size: 12px; }
.hk-reference .article-body { padding: 0; }
.hk-reference .article-body h2 { font: 700 20px/1.3 var(--body); margin-bottom: 14px; }
.hk-reference .article-body section { margin: 38px 0; padding: 0; border: 0; }
.hk-reference .article-body p,.hk-reference .article-body li { font: 16px/1.75 var(--body); color: #373d42; }
.hk-reference .article-aside { background: none; border: 0; padding: 0; }
.hk-reference .article-aside .article-rail-section { border: 1px solid var(--rule); border-radius: 14px; padding: 20px; margin: 0 0 15px; }
.hk-reference .article-aside h2 { font-size: 14px; line-height: 1.4; }
.hk-reference .article-aside p,.hk-reference .article-aside dt,.hk-reference .article-aside dd { font-size: 12px; }
.hk-reference .article-publication-details > div { display: block; padding-block: 7px; }
.hk-reference .article-publication-details dt { margin-bottom: 3px; }
.hk-reference .rf-article-actions { display: grid; gap: 10px; margin-bottom: 20px; }
.hk-reference .rf-article-actions .button { width: 100%; border-radius: 25px; justify-content: center; font-size: 13px; }
.hk-reference .rf-article-actions a[href*="download"] { background: var(--accent2); color: #fff; border-color: var(--accent2); }
/* Catalogue and collection layouts keep their working filters and controls. */
.hk-reference .atlas-directory > .section { padding-top: 35px; }
.hk-reference .atlas-directory-intro { display: flex; justify-content: space-between; align-items: end; margin: 0 0 24px; }
.hk-reference .atlas-directory-intro .atlas-kicker { display: none; }
.hk-reference .atlas-directory-intro h2 { font-size: 26px; margin-bottom: 10px; }
.hk-reference .atlas-directory-intro p { font-size: 14px; max-width: none; }
.hk-reference .atlas-directory .filter-bar { background: #f4f6f6; padding: 20px; margin-bottom: 16px; }
.hk-reference .atlas-directory-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 30px; }
.hk-reference .atlas-directory-cards .directory-journal-card { grid-template-columns: 90px minmax(0,1fr); gap: 20px; background: var(--pale); padding: 20px; border: 0; }
.hk-reference .atlas-directory-cards .directory-journal-card.no-cover { grid-template-columns: minmax(0,1fr); }
.hk-reference .directory-journal-card .journal-cover-link { width: 90px; }
.hk-reference .directory-journal-card h3 { font: 600 19px/1.35 var(--body); color: var(--accent2); }
.hk-reference .directory-journal-card .journal-card-facts { font-size: 12px; padding-block: 8px; }
.hk-reference .directory-journal-card .journal-description { font-size: 13px; line-height: 1.6; }
.hk-reference .atlas-directory-cards.list-view { grid-template-columns: minmax(0,1fr); }
.hk-reference .archive-volume { margin: 25px 0 0; border: 0; border-top: 1px solid #d9e0e2; background: none; }
.hk-reference .archive-volume > summary { padding: 20px 0 12px; font-size: 25px; }
.hk-reference .archive-issues { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.hk-reference .archive-issue { display: block; border: 0; border-bottom: 1px solid #e3e6e7; padding: 16px 0; min-height: 0; background: none; }
.hk-reference .archive-issue-cover { float: left; width: 48px; margin: 0 14px 8px 0; }
.hk-reference .archive-issue h2 { font-size: 15px; line-height: 1.5; margin: 0 0 8px; }
.hk-reference .archive-issue p,.hk-reference .archive-issue-description { font-size: 12px; }
.hk-reference .issue-intro { padding: 0 0 30px; background: none; gap: 25px; }
.hk-reference .issue-intro > img { width: 120px; max-height: 180px; object-fit: contain; }
.hk-reference .issue-intro h2 { font-size: 23px; }
.hk-reference .imprint-table th,.hk-reference .imprint-table td { font-size: 14px; padding: 12px 10px; }
.hk-reference .imprint-table th { width: 36%; }
.hk-reference .imprint-extra { background: var(--pale); padding: 20px; border: 0; }
.hk-reference .imprint-extra h2 { font-size: 17px; }
.hk-reference .news-detail { display: block; max-width: none; }
.hk-reference .news-detail > img { width: 100%; max-height: 340px; height: auto; object-fit: contain; margin-bottom: 25px; }
.hk-reference .ref-news-layout .journal-news { padding: 0; }
.hk-reference .ref-news-layout .hk-news-grid { display: block; }
.hk-reference .ref-news-layout .news-item { padding-block: 20px; border-bottom: 1px solid #d9e0e2; }
.hk-reference .ref-news-layout .news-item:first-child { padding-top: 0; }
.hk-reference .ref-news-layout .news-item h3 { font-size: 23px; }
.hk-reference .ref-news-layout .news-photo img { height: auto; max-height: 300px; object-fit: contain; margin-bottom: 20px; }
.hk-reference .books-catalogue { grid-template-columns: 210px minmax(0,1fr) 220px; gap: 35px; padding-top: 40px; padding-bottom: 70px; }
.hk-reference .books-browse { border-top: 3px solid var(--accent2); padding-top: 15px; }
.hk-reference .books-filter-panel { padding: 0; background: none; border: 0; }
.hk-reference .books-filter-panel > summary { font-size: 16px; }
.hk-reference .books-result-heading h2 { font-size: 25px; }
.hk-reference .book-entry { grid-template-columns: 150px minmax(0,1fr); gap: 25px; padding-block: 25px; }
.hk-reference .book-entry h3 { font-size: 23px; }
.hk-reference .book-entry .book-cover-link { width: 150px; }
.hk-reference .book-entry p { font-size: 14px; }
.hk-reference .books-detail-wrap { padding: 0; }
.hk-reference .book-detail-feature { grid-template-columns: 150px minmax(0,1fr); gap: 25px; padding: 0 0 30px; }
.hk-reference .book-cover-stage { background: none; padding: 0; min-height: 0; }
.hk-reference .book-detail-cover { width: 150px; max-height: 230px; box-shadow: none; }
.hk-reference .book-standfirst { font-size: 16px; line-height: 1.7; }
.hk-reference .book-facts { font-size: 14px; }
.hk-reference .book-reading-layout { display: flex; flex-direction: column; gap: 30px; padding-top: 15px; }
.hk-reference .book-detail-aside { position: static; width: 100%; }
.hk-reference .book-contents-panel { background: var(--pale); padding: 15px; }
.hk-reference .book-reading { max-width: none; width: 100%; }
.hk-reference .book-reading .prose { font-size: 15px; }
.hk-reference .book-body h2 { font-size: 25px; }
.hk-reference .hk-search-banner .publication-search { margin: 25px 0 0; max-width: 650px; }
.hk-reference .hk-search-layout { grid-template-columns: 240px minmax(0,1fr); gap: 45px; padding-top: 40px; }
.hk-reference .hk-search-layout .filter-panel { background: var(--pale); padding: 22px; }
.hk-reference .search-filter-disclosure > summary { font-size: 20px; }
.hk-reference .search-content .section-head { border-bottom: 2px solid #d4dadd; padding-bottom: 15px; }
.hk-reference .resource-directory { padding-block: 40px 70px; }
.hk-reference .resource-intro h2 { font-size: 27px; }
.hk-reference .resource-journal { padding: 22px; background: var(--pale); }
.hk-reference .resource-journal h3 { font-size: 19px; color: var(--accent2); }
.hk-reference .agreement-measure { width: 100%; max-width: none; }
.hk-reference .footer { background: var(--dark)!important; color: #fff; border-top: 1px solid var(--rule); padding-top: 40px; }
.hk-reference .footer-lead { display: none; }
.hk-reference .footer-grid { border-top: 0; padding-top: 0; }
.hk-reference .footer-grid a,.hk-reference .footer-grid p,.hk-reference .footer-bottom,.hk-reference .footer-bottom a { color: #d5e5e0; }
.hk-reference .footer-grid strong { color: #fff; }
.hk-reference .footer-bottom { border-color: #477076; }
@media (max-width: 1150px) {
  .hk-reference .nav-links { gap: 12px; }
  .hk-reference .main-nav { gap: 18px; }
  .hk-reference .inner-layout,.hk-reference .books-catalogue { grid-template-columns: 170px minmax(0,1fr) 190px; gap: 24px; }
  .hk-reference .article-layout.rf-article { grid-template-columns: 170px minmax(0,1fr) 180px; gap: 25px; }
}
@media (max-width: 1000px) {
  .hk-reference .wrap { width: calc(100% - 48px); }
  .hk-reference .inner-layout,.hk-reference .books-catalogue { grid-template-columns: 170px minmax(0,1fr); }
  .hk-reference .ref-resource-rail,.hk-reference .imprint-extra { grid-column: 2; }
  .hk-reference .rf-intro { gap: 35px; }
  .hk-reference .rf-service-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hk-reference .rf-paper-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hk-reference .article-layout.rf-article { grid-template-columns: 150px minmax(0,1fr); }
  .hk-reference .article-aside { grid-column: 2; }
  .hk-reference .atlas-directory-cards .directory-journal-card { grid-template-columns: 70px minmax(0,1fr); gap: 15px; }
  .hk-reference .directory-journal-card .journal-cover-link { width: 70px; }
}
@media (max-width: 720px) {
  .hk-reference .wrap { width: calc(100% - 36px); }
  .hk-reference .main-nav { min-height: 65px; }
  .hk-reference .publisher-logo { width: 166px; }
  .hk-reference .nav-links { background: #fff; color: var(--ink); }
  .hk-reference .menu-toggle { color: var(--ink); }
  .hk-reference .journal-menu-inner { gap: 16px; padding-block: 10px; }
  .hk-reference .journal-subnav .journal-name { max-width: none; flex-basis: 100%; }
  .hk-reference .ref-section-heading { padding-block: 28px; }
  .hk-reference .ref-section-heading h1 { font-size: 30px; }
  .hk-reference .ref-breadcrumb { padding: 12px 0; }
  .hk-reference .inner-layout,.hk-reference .books-catalogue { grid-template-columns: minmax(0,1fr); gap: 25px; padding-top: 25px; padding-bottom: 45px; }
  .hk-reference .inner-layout > .side-panel { padding: 12px 0; }
  .hk-reference .inner-layout > .side-panel > strong { display: none; }
  .hk-reference .side-nav { display: flex; overflow-x: auto; gap: 18px; white-space: nowrap; max-width: 100%; }
  .hk-reference .side-nav a { flex: none; margin: 0; }
  .hk-reference .ref-resource-rail,.hk-reference .imprint-extra { grid-column: auto; }
  .hk-reference .ref-resource-rail .right-sidebar { display: grid; grid-template-columns: minmax(0,1fr); }
  .hk-reference .rf-journal-hero { height: 320px; }
  .hk-reference .rf-journal-hero h1 { font-size: 32px; max-width: 100%; }
  .hk-reference .rf-hero-bottom,.hk-reference .rf-hero-bottom:has(> :nth-child(3):last-child),.hk-reference .rf-hero-bottom:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .hk-reference .rf-hero-bottom > div { padding: 8px 12px; }
  .hk-reference .rf-hero-bottom strong { font-size: 11px; }
  .hk-reference .rf-hero-bottom span { font-size: 10px; }
  .hk-reference .rf-hero-bottom > a { font-size: 11px; min-height: 45px; padding: 8px; }
  .hk-reference .rf-journal-hero > .wrap { padding-bottom: 85px; }
  .hk-reference .rf-intro { grid-template-columns: minmax(0,1fr); gap: 18px; padding-block: 35px; }
  .hk-reference .rf-intro h2,.hk-reference .rf-section-heading h2 { font-size: 28px; }
  .hk-reference .rf-grey { padding-block: 30px 45px; }
  .hk-reference .rf-service-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .hk-reference .rf-service-cards .rf-service:last-child { grid-column: auto; }
  .hk-reference .rf-service-cards .rf-service:last-child:nth-child(odd) { grid-column: span 2; }
  .hk-reference .rf-card-image { height: 90px; }
  .hk-reference .rf-service h3 { font-size: 16px; }
  .hk-reference .rf-section-heading { margin-top: 40px; }
  .hk-reference .rf-paper-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .hk-reference .rf-tabs { gap: 12px 20px; }
  .hk-reference .rf-editor-card { padding: 18px; gap: 15px; }
  .hk-reference .rf-editor-card > img { width: 60px; height: 76px; }
  .hk-reference .article-layout.rf-article { display: flex; flex-direction: column; gap: 24px; padding-top: 25px; }
  .hk-reference .rf-article-left { display: none; }
  .hk-reference .rf-article-main .article-toc {
    position: static; display: block; padding: 0; margin: 0 0 20px;
    border-radius: 8px; background: var(--pale);
  }
  .hk-reference .rf-article-main .article-toc > strong { padding: 12px 14px; }
  .hk-reference .article-toc:has(.column-contents-toggle) > strong { display: none; }
  .hk-reference .article-toc .article-toc-links { padding: 0 8px 6px; }
  .hk-reference .article-toc .article-toc-links a {
    display: flex; align-items: center; min-height: 44px; margin: 0; padding: 6px 10px;
    font: 500 14px/1.4 var(--body);
  }
  .hk-reference .article-toc .article-toc-links > a[aria-current="location"] {
    box-shadow: inset 3px 0 var(--accent2); color: var(--ink); background: #dceee9; font-weight: 700;
  }
  .hk-reference .article-toc .article-toc-links > .article-toc-section { padding-inline-start: 20px; }
  .hk-reference .article-toc .article-toc-links > .article-toc-subsection { padding-inline-start: 32px; }
  .hk-reference .article-toc-journal { display: block; margin-top: 4px; padding-top: 4px; }
  .hk-reference .rf-article-heading:has(+ .article-toc) { margin-bottom: 20px; }
  .hk-reference .article-toc + section { margin-top: 0; }
  .hk-reference .submission-html-content pre { max-width: 100%; overflow-x: auto; }
  .hk-reference .rf-article-main { width: 100%; order: 1; }
  .hk-reference .article-aside { width: 100%; order: 3; }
  .hk-reference .rf-article-heading h1 { font-size: 30px; margin-block: 20px; }
  .hk-reference .rf-article-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hk-reference .article-body p,.hk-reference .article-body li { font-size: 15px; line-height: 1.75; }
  .hk-reference .atlas-directory-intro { display: block; }
  .hk-reference .atlas-directory .filter-bar { padding: 18px; }
  .hk-reference .atlas-directory-cards { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .hk-reference .atlas-directory-cards .directory-journal-card { grid-template-columns: 70px minmax(0,1fr); padding: 18px; }
  .hk-reference .atlas-directory-cards.list-view .directory-journal-card { grid-template-columns: 55px minmax(0,1fr); }
  .hk-reference .atlas-directory-cards.list-view .directory-journal-card.no-cover { grid-template-columns: minmax(0,1fr); }
  .hk-reference .atlas-directory-cards.list-view .journal-cover-link { width: 55px; }
  .hk-reference .archive-issues { grid-template-columns: minmax(0,1fr); }
  .hk-reference .hk-search-layout { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .hk-reference .hk-search-layout .filter-panel { padding: 18px; }
  .hk-reference .hk-search-banner .publication-search input { padding: 12px; font-size: 14px; }
  .hk-reference .books-browse { padding: 15px 0; }
  .hk-reference .books-publisher { display: none; }
  .hk-reference .book-entry { grid-template-columns: 85px minmax(0,1fr); gap: 18px; }
  .hk-reference .book-entry .book-cover-link { width: 85px; }
  .hk-reference .book-entry h3 { font-size: 20px; }
  .hk-reference .book-detail-feature { grid-template-columns: 100px minmax(0,1fr); gap: 18px; }
  .hk-reference .book-detail-cover { width: 100px; }
  .hk-reference .book-standfirst { font-size: 14px; }
  .hk-reference .book-facts > div { display: block; }
  .hk-reference .book-summary-actions { grid-column: 1/-1; }
  .hk-reference .imprint-table th,.hk-reference .imprint-table td { padding: 10px 6px; font-size: 13px; }
  .hk-reference .footer { padding-top: 30px; }
}

/* Override the original theme's variant-specific rail and collection rules. */
body.hk-theme.hk-reference[data-variant] .article-layout > .side-panel { background: none; border: 0; padding: 0; }
body.hk-reference .book-entry { background: #fff; border: 0; border-bottom: 1px solid #e3e6e7; padding-inline: 0; }
body.hk-reference .rf-article-heading .article-publication-line { font-size: 12px; }
body.hk-reference .rf-article-heading .article-publication-line a { font-size: inherit; }
@media(max-width:720px) {
 body.hk-theme.hk-reference[data-variant] .article-layout > .article-aside { display: contents; }
 .hk-reference .rf-article-actions { order: 0; width: 100%; margin: 0; }
 .hk-reference .article-aside .article-rail-section { order: 3; width: 100%; }
}

body.hk-reference .book-detail-feature { background: #fff; border: 0; }
body.hk-reference .book-detail-summary h2 { color: var(--accent2); font-size: 23px; margin: 0 0 14px; }
body.hk-reference .book-reading-layout { margin-top: 0; }
body.hk-reference .book-detail-summary .book-author { font-size: 13px; margin-bottom: 12px; }
body.hk-reference .rf-journal .hk-metrics { padding-block: 0 35px; }
body.hk-reference .imprint-extra { grid-column: 3; grid-row: 1; }
body.hk-reference .archive-issue img { width: 48px; height: auto; max-height: 70px; margin: 0; }
body.hk-reference .archive-issue { display: flow-root; }
@media(max-width:1000px) {
 body.hk-reference .imprint-extra { grid-column: 2; grid-row: auto; }
}
@media(max-width:720px) {
 body.hk-reference .imprint-extra { grid-column: auto; }
}

.hk-reference .ref-more-info { margin-top: 20px; border-top: 1px solid var(--rule); }
.hk-reference .ref-more-info > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; padding-block: 16px; font-size: 13px; cursor: pointer; color: var(--accent2); }
.hk-reference .ref-more-info > summary::-webkit-details-marker { display: none; }
.hk-reference .ref-more-info > summary svg { width: 14px; height: 14px; flex: none; }
.hk-reference .ref-more-info[open] > summary svg { transform: rotate(180deg); }
.hk-reference .hk-search-banner p { font-size: 14px; }
.hk-reference .hk-search-banner h1 { margin-bottom: 12px; }
.hk-reference .hk-search-banner .wrap { min-height: 0; }
.hk-reference .search-filter-disclosure > summary { font-size: 18px; line-height: 1.35; }
.hk-reference .article-aside .article-publication-details > div { margin: 0; padding: 6px 0; }
.hk-reference .article-aside .article-rail-section h2 { font: 600 14px/1.4 var(--body); margin: 0 0 12px; }
.hk-reference .book-detail-feature { align-items: start; }
.hk-reference .journal-browser .journal-card-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 12px 0; }
.hk-reference .journal-browser .journal-card-facts dt { color: var(--muted); font-size: 11px; }
.hk-reference .journal-browser .journal-card-facts dd { margin: 0; font-size: 13px; }
.hk-reference .journal-browser .journal-entry h3 { color: var(--accent2); font-size: 19px; }
@media (max-width:720px) {
 .hk-reference .inner-layout > .side-panel { display: block; order: 0; }
 .hk-reference .inner-layout > .side-panel .side-nav { flex-wrap: nowrap; padding-bottom: 4px; }
 .hk-reference .inner-layout > .main-column,.hk-reference .inner-layout > article { order: 1; }
 .hk-reference .inner-layout > .ref-resource-rail,.hk-reference .inner-layout > .imprint-extra { order: 2; }
 .hk-reference .book-detail-summary { display: contents; }
 .hk-reference .book-detail-feature { row-gap: 12px; }
 .hk-reference .book-cover-stage { grid-column: 1; grid-row: 1 / span 2; width: 100px; margin: 0; }
 .hk-reference .book-detail-cover { height: auto; }
 .hk-reference .book-detail-summary > h2,.hk-reference .book-detail-summary > .book-author { grid-column: 2; margin: 0; }
 .hk-reference .book-detail-summary > .book-standfirst,.hk-reference .book-detail-summary > .book-facts,.hk-reference .book-summary-actions { grid-column: 1 / -1; margin-bottom: 8px; }
 .hk-reference .book-entry { row-gap: 8px; }
 .hk-reference .book-entry .book-author,.hk-reference .book-entry .book-collection,.hk-reference .book-entry h3 { margin-bottom: 4px; }
 .hk-reference .books-result-heading { margin-bottom: 12px; }
 .hk-reference .ref-resource-rail { margin-top: 12px; }
 .hk-reference .imprint-main .imprint-section:first-child { padding-top: 0; }
}

.hk-reference .ref-article-search { margin-top: 30px; max-width: 650px; }
.hk-reference .hk-search-layout > .side-panel { padding: 22px; background: var(--pale); border: 0; }
@media (max-width:1100px) {
 .hk-reference .main-nav { position: relative; justify-content: space-between; }
 .hk-reference .site-header .menu-toggle { display: block; color: var(--ink); }
 .hk-reference .site-header .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 15px; max-height: calc(100dvh - 75px); overflow-y: auto; box-shadow: 0 8px 15px #0002; }
 .hk-reference .site-header .nav-links.open { display: flex; }
 .hk-reference .site-header .nav-links > a,.hk-reference .site-header .nav-dropdown > summary { padding: 11px; }
 .hk-reference .site-header .nav-dropdown .journal-more-panel { position: static; min-width: 0; width: 100%; box-shadow: none; margin: 0 0 10px; }
 .hk-reference .site-header .nav-submit { margin-top: 12px; }
}
@media (min-width:721px) and (max-width:1000px) {
 .hk-reference .article-layout.rf-article { grid-template-columns: 140px minmax(0,1fr) 150px; gap: 20px; }
 .hk-reference .article-aside { grid-column: auto; }
 .hk-reference .rf-panel,.hk-reference .article-toc.rf-panel,.hk-reference .article-aside .article-rail-section { padding: 15px; }
 .hk-reference .article-aside .article-publication-details { display: block; }
}

/* Keep the journal identity and its publishing actions aligned to one reading margin. */
.hk-reference .journal-title-band { position: relative; isolation: isolate; background: #0a2944; color: white; }
.hk-reference .journal-title-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#071d33bf,transparent 85%); }
.hk-reference .journal-title-band .rf-journal-background { z-index: -2; }
.hk-reference .journal-title-band .wrap { padding-block: clamp(48px,5.5vw,82px); }
.hk-reference .journal-title-band h1 { max-width: 23ch; margin: 0; color: white; font: 500 clamp(32px,3.8vw,56px)/1.08 var(--body); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.hk-reference .journal-subject { color: #daeaf2; font-size: 14px; margin: 0 0 12px; }
.hk-reference .journal-fact-strip { background: var(--pale); border-bottom: 1px solid var(--rule); }
.hk-reference .journal-fact-strip .wrap,.hk-reference .journal-identifiers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hk-reference .journal-fact-strip .wrap { justify-content: space-between; padding-block: 12px; }
.hk-reference .journal-identifiers { font-size: 14px; color: var(--ink); }
.hk-reference .journal-identifiers b { color: #576570; font-weight: 500; margin-right: 4px; }
.hk-reference .journal-action { display: inline-block; padding: 10px 17px; background: var(--accent2); color: white; font-size: 14px; font-weight: 600; border-radius: 4px; }
.hk-reference .journal-action:hover { background: var(--dark); }
.hk-reference .rf-intro { grid-template-columns: minmax(180px,1fr) minmax(0,3fr); gap: clamp(24px,4vw,64px); padding-block: clamp(28px,3.5vw,52px); }
.hk-reference .journal-about-cover { display: block; width: auto; max-width: 95px; max-height: 112px; margin-top: 16px; }
.hk-reference .journal-about-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.hk-reference .journal-about-links a { display: inline-block; margin: 0; }
.hk-reference .journal-issue-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 14px; }
.hk-reference .journal-issue-entry { display: flex; gap: 14px; align-items: center; padding: 16px; background: white; border: 1px solid var(--rule); color: var(--ink); }
.hk-reference .journal-issue-entry img { width: 55px; height: 76px; object-fit: contain; }
.hk-reference .journal-issue-entry div { display: grid; gap: 3px; }
.hk-reference .journal-issue-entry small { color: var(--accent2); }
.hk-reference .journal-issue-entry span { color: var(--muted); font-size: 13px; }
.hk-reference .journal-open-access { display: inline-flex; align-items: center; gap: 7px; }
.hk-reference .journal-open-access .oa-mark { display: block; width: 14px; height: 22px; flex: none; }
.hk-reference .journal-issue-entry:is(:hover,:focus-visible) { text-decoration: none; background: #f8fbfa; border-color: var(--accent2); }
.hk-reference .journal-issue-entry:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .hk-reference .journal-issue-entry { transition: transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease; }
  .hk-reference .journal-issue-entry:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #073b4218; }
}
@media (max-width: 720px) {
  .hk-reference .rf-intro { grid-template-columns: 1fr; gap: 12px; }
  .hk-reference .journal-about-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .hk-reference .journal-about-heading h2 { margin: 0; }
  .hk-reference .journal-about-cover { max-height: 55px; max-width: 45px; margin: 0; }
  .hk-reference .journal-identifiers { gap: 6px 15px; font-size: 13px; }
}

.hk-reference .journal-full-intro summary { color: var(--accent2); cursor: pointer; font-size: 14px; width: fit-content; }
.hk-reference .journal-full-intro[open] .prose { padding-block: 12px; }

/* Publisher palette across the reference layouts. */
.hk-reference .rf-grey { background: var(--pale); padding-block: clamp(28px,4vw,52px); }
.hk-reference .rf-intro a,.hk-reference .rf-section-heading a,.hk-reference .rf-tabs a,
.hk-reference .ref-breadcrumb a,.hk-reference .journal-child-list a { color: var(--accent2); }
.hk-reference .rf-tabs a[aria-current] { color: var(--ink); border-color: var(--accent); }
.hk-reference .rf-service { display: flex; flex-direction: column; border: 1px solid var(--rule); }
.hk-reference .rf-service:hover,.hk-reference .rf-service:focus-visible { border-color: var(--accent2); }
.hk-reference .rf-service .rf-card-image { background: var(--pale); }
.hk-reference .rf-service p { color: var(--muted); line-height: 1.45; }
.hk-reference .journal-column-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--rule); }
.hk-reference .journal-column-links strong,.hk-reference .journal-column-links a { margin: 0; font-size: 14px; }
.hk-reference .journal-subnav .journal-more-panel { z-index: 30; top: 100%; background: white; border: 1px solid var(--rule); }
.hk-reference .journal-subnav .journal-more-panel a { color: var(--ink); }
.hk-reference .journal-subnav .journal-more-panel a:hover { color: var(--accent2); background: var(--pale); }
.hk-reference .journal-research-empty { padding: 22px 24px; border: 1px solid var(--rule); border-left: 3px solid var(--accent2); background: white; }
.hk-reference .journal-research-empty p { margin: 0; color: var(--muted); }
.hk-reference .journal-child-list { display: grid; gap: 8px; margin-block: 18px; }
.hk-reference .journal-sections a[aria-current="page"],
.hk-reference .side-nav a[aria-current="page"],
.hk-reference .hk-column-content > ul > li > a[aria-current="location"] {
  background: #dceee9; color: var(--ink); font-weight: 700;
  box-shadow: inset 3px 0 var(--accent2); padding-inline: 12px;
}
.hk-reference .journal-subnav .is-current > summary { font-weight: 700; }
.hk-reference.journal-page .hk-column-content :target > :is(h2,h3,h4):first-child {
  border-inline-start: 3px solid var(--accent2); padding-inline-start: 10px;
}
:is(.hk-column-content,.rf-article) :is(.column-contents-toggle,.column-contents-back) { display: none; }
@media (max-width: 720px) {
  .hk-reference :is(.hk-column-content,.article-toc):not(.contents-open) > .column-contents-list { display: none; }
  .hk-reference :is(.hk-column-content,.article-toc) .column-contents-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px;
    padding: 10px 14px; border: 1px solid var(--rule); background: var(--pale); color: var(--ink);
    font: 600 14px/1.4 var(--body); cursor: pointer;
  }
  .hk-reference .article-toc .column-contents-toggle { border: 0; border-radius: inherit; }
  .column-contents-toggle::after {
    content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
  }
  .column-contents-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
  .hk-reference :is(.hk-column-content,.rf-article-main) .column-contents-back {
    display: inline-flex; align-items: center; min-height: 44px; color: var(--accent2); font-size: 14px;
  }
  /* Editor-authored section indexes can be split into floated lists. */
  .hk-reference.journal-page .hk-column-content > ul:has(> li > a[href^="#"]) {
    float: none !important; width: 100% !important; box-sizing: border-box;
    margin: 0; padding: 0; list-style: none;
  }
  .hk-reference.journal-page .hk-column-content > ul:has(> li > a[href^="#"]) > li {
    margin: 0; padding: 0; border-bottom: 1px solid var(--rule);
  }
  .hk-reference.journal-page .hk-column-content > ul > li > a[href^="#"] {
    display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
    line-height: 1.45; word-break: normal; overflow-wrap: break-word;
  }
}
.hk-reference .rf-section-heading { align-items: baseline; }
.hk-reference .ref-section-heading h1:last-child,.hk-reference .ref-section-extra p:last-child { margin-bottom: 0; }
@media (max-width:720px) {
  .hk-reference .journal-menu-inner { position: relative; overflow: visible; }
  .hk-reference .journal-subnav details { position: static; }
  .hk-reference .journal-subnav :is(summary, .journal-sections > a, .journal-more-panel a) {
    display: flex; align-items: center; min-height: 44px;
  }
  .hk-reference .journal-subnav .journal-more-panel {
    position: absolute; inset: auto 0 auto; width: auto; min-width: 0; max-width: none;
    max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px; box-shadow: 0 6px 16px #102d321a;
  }
  .hk-reference .journal-subnav .journal-menu-inner {
    min-height: 44px; padding-block: 0;
  }
  .hk-reference .journal-subnav[data-compact-menu] .journal-menu-inner {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 10px !important;
  }
  .hk-reference .journal-subnav .journal-name {
    display: flex; align-items: center; width: auto; min-width: 0; min-height: 44px;
    margin: 0; padding-block: 5px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3;
  }
  .hk-reference [data-compact-menu] .journal-sections-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px;
    padding: 0 4px; border: 0; background: transparent; color: var(--accent2); font: 600 13px/1.2 var(--body);
  }
  .hk-reference [data-compact-menu] .journal-sections-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
  .hk-reference [data-compact-menu] .journal-sections { display: none; }
  .hk-reference [data-compact-menu] .journal-sections-toggle[aria-expanded="true"] + .journal-sections {
    display: block; position: absolute; z-index: 30; inset: 100% 0 auto; padding: 4px 8px;
    max-height: calc(100dvh - var(--hk-scroll-offset,130px)); overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid var(--rule); background: white; box-shadow: 0 6px 16px #102d321a;
  }
  .hk-reference [data-compact-menu] .journal-sections :is(a,summary) {
    padding: 8px 12px; min-height: 44px; line-height: 1.35; font-size: 14px;
  }
  .hk-reference [data-compact-menu] .journal-sections summary { justify-content: space-between; }
  .hk-reference [data-compact-menu] .journal-more-panel {
    position: static; margin: 0 4px 4px 12px; padding: 0; max-height: none; overflow: visible;
    border: 0; border-inline-start: 2px solid var(--rule); background: var(--pale); box-shadow: none;
  }
  .hk-reference [data-compact-menu] .journal-more-panel .nav-subitem { padding-inline-start: 24px; }
  .hk-reference .journal-research-empty { padding: 16px; }
  .hk-reference[data-page="home_journals"] .paper-extra { margin-top: 4px; }
  .hk-reference[data-page="home_journals"] .paper-extra summary {
    min-height: 44px; padding-block: 12px; font-size: 13px; line-height: 20px;
  }
  .hk-reference[data-page="home_journals"] .paper-abstract { margin-block: 0 8px; }
  .hk-reference[data-page="submission_detail"] .article-body [id] { scroll-margin-top: 0; }
  .hk-reference :is(#hk-dialog, #hk-citation-dialog) {
    padding: 16px; max-width: calc(100% - 24px); max-height: calc(100dvh - 32px); overscroll-behavior: contain;
  }
  .hk-reference .modal-head { align-items: center; gap: 12px; margin-bottom: 12px; }
  .hk-reference .modal-head h2 { font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
  .hk-reference .modal-head button {
    display: grid; place-items: center; flex: 0 0 44px; height: 44px;
    background: var(--pale); color: var(--ink); border-radius: 50%;
  }
  .hk-reference .figure-preview {
    width: 100%; aspect-ratio: var(--figure-ratio, 4 / 3); max-height: 58dvh; background: var(--pale);
  }
  .hk-reference #hk-dialog-body .figure-preview img {
    display: block; width: 100%; height: 100%; max-height: none; object-fit: contain;
  }
  .hk-reference .figure-preview + a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
  html:has(.hk-reference #hk-dialog[open]) { overflow: hidden; }
  .hk-reference .citation-output { padding: 14px; }
  .hk-reference :is(.citation-tabs button, .citation-actions .btn) { min-height: 44px; }
  .hk-reference .citation-actions { margin-block: 12px 0; }
  .hk-reference .citation-status:empty { margin: 0; }
}

.hk-reference .rf-journal .rf-section-heading { justify-content: space-between; gap: 16px; margin: clamp(28px,4vw,52px) 0 16px; }
.hk-reference .rf-journal .rf-section-heading h2 { margin: 0; }
.hk-reference .ref-journal-extras > .right-sidebar { padding-block: 0; gap: 20px; }
.hk-reference .ref-section-extra > a { display: block; width: fit-content; margin-top: 8px; }
@media (max-width:720px) {
  .hk-reference .rf-service-cards .rf-service:last-child:nth-child(odd) { flex-direction: row; align-items: center; }
  .hk-reference .rf-service-cards .rf-service:last-child:nth-child(odd) img { width: 32%; height: 88px; }
  .hk-reference .ref-journal-extras { padding-block: 24px; }
}

.hk-reference .rf-service:is(:hover,:focus-visible),.hk-reference .rf-service:is(:hover,:focus-visible) :is(h3,p) { text-decoration: none; }
.hk-reference .rf-service:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .hk-reference .rf-service { transition: transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease; }
  .hk-reference .rf-service:hover { transform: translateY(-3px); box-shadow: 0 6px 15px #073b421a; }
}
.hk-reference .rf-paper-grid .journal-paper-image { display: block; aspect-ratio: 2.35; background: var(--pale); overflow: hidden; margin: -20px -20px 16px; }
.hk-reference .journal-paper-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hk-reference .rf-paper-grid .paper-row h3 { line-height: 1.4; height: 2.8em; overflow: hidden; }
.hk-reference .rf-paper-grid .paper-row h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hk-reference .journal-volume-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 12px; }
.hk-reference .journal-volume-list details { background: white; border: 1px solid var(--rule); }
.hk-reference .journal-volume-list summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.hk-reference .journal-volume-list summary::-webkit-details-marker { display: none; }
.hk-reference .journal-volume-list details[open] svg { transform: rotate(180deg); }
.hk-reference .journal-volume-list details > div { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 16px; padding-block: 12px; border-top: 1px solid var(--rule); }
.hk-reference .ref-journal-extras > .right-sidebar { display: block; }
.hk-reference .ref-journal-extras .right-sidebar > .side-panel:not(.editor-chief) {
  display: grid; grid-template-columns: minmax(165px,24%) minmax(0,1fr); column-gap: 24px; row-gap: 6px;
  background: transparent; border: 0; border-top: 1px solid var(--rule); padding: 16px 0; margin: 0;
}
.hk-reference .ref-journal-extras .side-panel > h2 { grid-column: 1; grid-row: 1; margin: 0; font: 600 17px/1.4 var(--body); }
.hk-reference .ref-journal-extras .side-panel > :not(h2) { grid-column: 2; margin-block: 0; min-width: 0; }
.hk-reference .ref-journal-extras .side-panel > .button { justify-self: start; }
.hk-reference .config-content {
  --config-image-width: 180px;
  --config-image-height: 80px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hk-reference .config-content table {
  max-width: 100% !important;
  table-layout: fixed;
}
/* Rich text may include image dimensions and margins from the editor. */
.hk-reference .config-content img {
  box-sizing: border-box;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: min(100%, var(--config-image-width)) !important;
  max-height: var(--config-image-height) !important;
  height: auto !important;
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .hk-reference .config-content {
    --config-image-width: 140px;
    --config-image-height: 60px;
  }
}
@media (max-width:720px) {
  .hk-reference .journal-volume-list { grid-template-columns: 1fr; }
  .hk-reference .ref-journal-extras .right-sidebar > .side-panel:not(.editor-chief) { grid-template-columns: 1fr; gap: 8px; }
  .hk-reference .ref-journal-extras .side-panel > :not(h2) { grid-column: 1; }
}

/* The colored journal bar already separates navigation from these page headings. */
.hk-reference:is([data-page="issue_list"],[data-page="issue_detail"],[data-page="search"],[data-page="publisher_search"]) :is(.site-header.atlas-header,.journal-subnav) { border-bottom: 0; }
.hk-reference:is([data-page="issue_list"],[data-page="issue_detail"]) .inner-layout > .side-panel { border-top: 0; }
.hk-reference .inner-layout:not(:has(> .side-panel)):has(> .ref-resource-rail,> .imprint-extra) { grid-template-columns: minmax(0,1fr) 220px; }
.hk-reference .inner-layout:not(:has(> .side-panel)) > :is(.ref-resource-rail,.imprint-extra) { grid-column: 2; }
.hk-reference .hk-search-layout:has(> .search-content:only-child) { grid-template-columns: minmax(0,1fr); }
@media (max-width:720px) {
  .hk-reference .inner-layout:not(:has(> .side-panel)):has(> .ref-resource-rail,> .imprint-extra) { grid-template-columns: minmax(0,1fr); }
  .hk-reference .inner-layout:not(:has(> .side-panel)) > :is(.ref-resource-rail,.imprint-extra) { grid-column: auto; }
}

/* Feedback for browsing, reading and navigating the journal's inner pages. */
.hk-reference main :is(a,button,summary,select,input):focus-visible,
.hk-reference dialog :is(a,button):focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes hk-detail-appear {
    from { opacity: .65; translate: 0 3px; }
    to { opacity: 1; translate: 0 0; }
  }
  .hk-reference :is(.paper-extra,.archive-volume,.journal-volume-list details,.books-filter-panel,
    .book-contents-panel,.search-filter-disclosure,.search-journal-picker,.ref-more-info,
    .journal-full-intro)[open] > :not(summary) {
    animation: hk-detail-appear 160ms ease-out;
  }
  .hk-reference :is(.archive-volume,.journal-volume-list details,.ref-more-info,.book-contents-panel,
    .books-filter-panel,.search-filter-disclosure) > summary .nav-chevron {
    transition: transform 160ms ease-out;
  }
  .hk-reference :is(#hk-dialog,#hk-citation-dialog)[open] {
    animation: hk-detail-appear 160ms ease-out;
  }
  .hk-reference :is(.view-switch button,.rf-tabs a,.ref-resource-rail a,.side-nav a,.book-contents a,
    .article-toc a,.rf-article-actions .button) { transition: color 150ms, background-color 150ms, box-shadow 150ms; }
}
@media (hover:hover) and (pointer:fine) {
  .hk-reference :is(.side-nav,.article-toc,.book-contents,.ref-section-extra) a:hover {
    background-color: var(--pale); color: var(--accent2);
  }
  .hk-reference .rf-article-actions .button:hover { box-shadow: 0 0 0 2px var(--accent2); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hk-reference :is(.book-cover-link,.archive-issue-cover,.directory-journal-card .journal-cover-link,
    .news-item .news-photo,.book-text-link span) { transition: translate 180ms ease-out; }
  .hk-reference :is(.book-cover-link,.archive-issue-cover,.directory-journal-card .journal-cover-link,
    .news-item .news-photo):hover { translate: 0 -3px; }
  .hk-reference .book-text-link span { display: inline-block; }
  .hk-reference .book-text-link:hover span { translate: 3px 0; }
}

.hk-reference .article-body [id], .hk-reference .article-body section[id] { scroll-margin-top: 0; }
@media (max-width:720px) {
  /* An embedded reference list can have an anchor but no heading of its own. */
  .hk-reference[data-page="submission_detail"] .article-body .column-contents-back + :is(ol,ul)[id] { scroll-margin-top: 44px; }
}
.hk-theme .site-header .nav-dropdown.is-current > summary,
.hk-theme .site-header .journal-more-panel a[aria-current] {
  text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px;
}
.hk-reference .hk-facet > strong { display: block; font-size: inherit; }
.hk-reference .hk-facet summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px;
  padding: 9px 12px; border: 1px solid var(--rule); background: white; cursor: pointer;
}
.hk-reference .hk-facet summary::-webkit-details-marker { display: none; }
.hk-reference .hk-facet summary .nav-chevron { flex-shrink: 0; }
.hk-reference .hk-facet details[open] .nav-chevron { transform: rotate(180deg); }
.hk-reference .hk-facet-options {
  border: 1px solid var(--rule); border-top: 0; padding: 4px 10px;
  max-height: 15rem; overflow-y: auto; background: white;
}
.hk-reference .hk-facet-options label {
  display: flex; align-items: center; gap: 8px; min-height: 38px; font-weight: 400; cursor: pointer;
}
.hk-reference .hk-facet-options input { appearance: auto; width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--accent2); }
@media (max-width:720px) {
  .hk-reference .hk-facet-options label { min-height: 44px; }
}
@media (min-width:981px) {
  .hk-reference .inner-layout > .side-panel, .hk-reference .inner-layout > .ref-resource-rail,
  .hk-reference .rf-article-left, .hk-reference .rf-article-right {
    position: sticky; align-self: start;
    top: min(var(--hk-scroll-offset,140px), calc(100dvh - var(--hk-rail-height,0px) - 14px));
  }
  .hk-reference .rf-article-left .article-toc { position: static; }
}
