.policyPages { padding: 5px 20px 20px; }
/* Match the theme's legacy title position while retaining a semantic h1. */
.policyPages > .headings > .section { margin-top: 5px; }
.policyPages .headings h1 { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.policyPages :where(h1.headings, h2.policyPages-groupTitle) { color: #767676; }
body:not(.high-contrast):not(.white-contrast) .policyPages-introduction > p:first-child > :is(strong, b) { color: #767676; }
.policyPages-group { margin: 1.1em 0 0 0; }
.policyPages .policyPages-groupTitle { margin: 1.5em 0 .75em; font-size: 18px; line-height: 1.5; }
.policyPages-section { margin: 0; scroll-margin-top: 180px; border-bottom: 1px solid #e7e7e7; }
.policyPages-section > summary { padding: 12px 32px 12px 18px; position: relative; cursor: pointer; list-style: none; }
.policyPages-section > summary::-webkit-details-marker { display: none; }
.policyPages-section > summary::before, .policyPages-footer a[href$="/about/privacy"]::before { content: ''; position: absolute; left: 0; top: 50%; border: 6px solid transparent; border-left: 9px solid currentColor; transform: translateY(-50%); transform-origin: 4.5px 6px; }
.policyPages-section[open] > summary::before { transform: translateY(-50%) rotate(90deg); }
.policyPages-section > summary h2, .policyPages-section > summary h3 { display: inline; margin: 0; color: inherit; }
.policyPages-section > summary h2, .policyPages-section > summary h3, .policyPages-footer a[href$="/about/privacy"] { font-size: 14px; line-height: 1.6; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.policyPages-section > summary:focus-visible, .policyPages-footer a[href$="/about/privacy"]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.policyPages-body { padding: 4px 0px 20px; overflow-wrap: anywhere; }
.policyPages-body p { text-indent: 0; margin: 0 0 1.43rem 0; line-height: 1.5;   }
.policyPages-body ul { list-style: disc; padding-left: 24px; }
.policyPages-body ol { list-style: decimal; padding-left: 24px; }
.policyPages-body li { padding: 2px 0; }
.policyPages-preview { border: 1px solid currentColor; padding: 10px; }
.policyPages-footer p { margin-top: 0px; }
.policyPages-footer a[href$="/about/privacy"] { display: block; position: relative; padding: 12px 32px 12px 18px; text-decoration: none; }
@media (min-width: 993px) {
    .policyPages { font-size: 14px; line-height: 1.5; }
    .policyPages :is(p, ul, ol, li, a) { font-size: inherit; }
}
@media (max-width: 992px) {
    .policyPages > .headings > .section { margin-top: 0; }
}
@media (max-width: 600px) {
    .policyPages { padding: 5px 15px 20px; }
    .policyPages-section { scroll-margin-top: 140px; }
    .policyPages-section > summary h2, .policyPages-section > summary h3, .policyPages-footer a[href$="/about/privacy"] { letter-spacing: 1px; }
    .policyPages-body { padding: 4px 0 16px; }
}
@media (max-width: 575.98px) {
    .policyPages > .headings > .section { margin-top: 3px; }
}
@media print {
    /* The globally loaded PDF viewer hides every .page when printing. */
    .page.policyPages { display: block !important; float: none !important; width: 100%; height: auto; overflow: visible; }
    :is(.pkp_page_journal-policies, .pkp_page_publishing-policies, .pkp_page_policyPages) :is(.pkp_structure_page, .pkp_structure_content, .pkp_structure_main) {
        display: block !important; float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
    }
    :is(.pkp_page_journal-policies, .pkp_page_publishing-policies, .pkp_page_policyPages) :is(.pkp_structure_sidebar, #cookieConsent) { display: none !important; }
    .policyPages-section { break-inside: auto; }
    .policyPages-section > summary { break-after: avoid; }
    .policyPages-section::details-content { content-visibility: visible; display: block; height: auto; }
    .policyPages-body { display: block !important; }
    .policyPages-preview { display: none; }
}
