/*
Theme Name: Journal of Private Enterprise
Version: 1.0.0
Description: Accessible, responsive edition of the APEE journal website.
*/
:root{--ink:#202020;--muted:#656565;--line:#d4d4d4;--accent:#8c2820}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 Georgia,'Times New Roman',serif}a{color:inherit;text-decoration:underline;text-underline-offset:3px}a:hover{color:var(--accent)}h1,h2,h3{line-height:1.18}h1{font-size:2rem;margin:0 0 25px}h2{font-size:1.45rem}h3{font-size:1.15rem}.site-header{background:#000}.site-header a{display:block;max-width:1090px;margin:auto}.site-header img{display:block;width:100%;height:auto}.search-bar{background:var(--ink);padding:12px max(24px,calc((100vw - 1090px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;color:white}.search-bar nav{display:flex;gap:24px;font:14px/1.3 Arial,sans-serif}.search-bar nav a{text-decoration:none}.search-form{display:flex;background:white;border-radius:4px;max-width:360px;flex:1}.search-form input{min-width:0;width:100%;border:0;background:transparent;padding:12px;font:15px Arial,sans-serif;color:#222}.search-form button{border:0;background:transparent;padding:0 14px;cursor:pointer;color:#222}.site-layout{max-width:1090px;margin:24px auto 64px;display:grid;grid-template-columns:230px minmax(0,1fr);gap:40px;padding:0 0}.home-layout{grid-template-columns:230px minmax(0,1fr) 230px;gap:30px}.sidebar{border:1px solid var(--line);padding:18px 20px;align-self:start;font-size:14px}.sidebar h2,.current-issue h2{font-size:18px;margin:0 0 24px;text-decoration:underline;text-underline-offset:8px}.sidebar ul{list-style:none;padding:0;margin:0}.sidebar li{margin:0 0 10px}.sidebar a{text-decoration:none}.current-issue{background:var(--ink);color:#fff;padding:20px;align-self:start;font-size:14px}.current-issue a{text-decoration:none}.current-issue li{margin-bottom:18px}.current-issue ul{padding-left:20px}.issue-meta{font-size:14px;color:var(--muted);margin:0 0 24px}.current-issue .issue-meta{color:#fff}.home-copy h1{text-align:center}.home-copy img{max-width:100%;height:auto}.home-copy .portadacolumna1{float:left;width:31%;margin:0 24px 16px 0;font-size:14px}.home-copy .portadacolumna1 img{width:100%}.home-copy .portadacolumna3{clear:both}.home-copy .portadacolumna3>div{float:none!important;width:auto!important;height:auto!important;border:0!important;padding:0!important;columns:2}.home-copy .hedline2{display:none}.home-copy p{margin:0 0 18px}.article-list{list-style:none;padding:0}.article-row{border-bottom:1px solid var(--line);padding:0 0 22px;margin:0 0 24px}.article-row h2{font-size:1.3rem;margin:0 0 9px}.article-row h2 a{text-decoration:none}.byline{color:#555;font-size:15px;margin:0 0 10px}.eyebrow{font:12px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:12px}.article-detail h1{max-width:850px}.article-detail .byline{margin:0 0 24px}.article-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.button{display:inline-block;padding:11px 18px;background:var(--ink);color:#fff;border:1px solid var(--ink);font:14px/1.4 Arial,sans-serif;text-decoration:none;border-radius:3px}.button:hover{background:var(--accent);color:white}.button.secondary{background:white;color:var(--ink)}.pdf-viewer{width:100%;height:780px;border:1px solid var(--line);background:#eee}.metadata{display:grid;grid-template-columns:130px 1fr;gap:8px 20px;font-size:15px}.metadata dt{font-weight:bold}.metadata dd{margin:0;overflow-wrap:anywhere}.extracted-text{white-space:pre-wrap;max-height:650px;overflow:auto;font:15px/1.65 Georgia,serif;padding:20px;background:#f7f7f7}.issue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.issue-card{border:1px solid var(--line);padding:20px}.issue-card a{font-weight:bold}.site-footer{background:#202020;color:#fff;padding:35px max(24px,calc((100vw - 1090px)/2));font-size:14px;clear:both}.footer-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px}.footer-columns ul{list-style:none;padding:0}.footer-columns li{margin-bottom:10px}.site-footer a{color:white}.copyright{border-top:1px solid #555;padding-top:20px;margin-top:28px;font-size:12px}.pagination{display:flex;gap:14px;margin:30px 0}.skip-link{position:absolute;top:-100px;left:15px;background:white;padding:12px;z-index:10}.skip-link:focus{top:10px}.empty{padding:35px 0;color:var(--muted)}:focus-visible{outline:3px solid #b15b35;outline-offset:4px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1150px){.site-layout{margin-left:24px;margin-right:24px}.home-layout{grid-template-columns:190px minmax(0,1fr) 200px;gap:22px}}@media(max-width:850px){.home-layout{grid-template-columns:180px minmax(0,1fr)}.current-issue{grid-column:2}.site-layout{gap:25px}.issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-bar nav{gap:14px}}@media(max-width:600px){body{font-size:16px}.site-layout,.home-layout{display:flex;flex-direction:column;margin:20px 18px 40px}.site-layout main{width:100%;order:0}.sidebar{order:2;width:100%}.sidebar ul{columns:2}.current-issue{order:1;width:100%}.search-bar{flex-wrap:wrap;padding:12px 18px;gap:12px}.search-bar nav{width:100%;justify-content:space-between}.search-form{max-width:none}.footer-columns{grid-template-columns:1fr;gap:10px}.pdf-viewer{height:560px}.metadata{grid-template-columns:100px 1fr}h1{font-size:1.65rem}.home-copy .portadacolumna1{width:34%;margin-right:18px}.issue-grid{grid-template-columns:1fr 1fr}.home-copy .portadacolumna3>div{columns:1}}

.home-copy>.container{margin:0!important;padding:0}.home-copy .headline2{display:none}.home-copy .col-md-4{float:left;width:31%;margin:0 24px 16px 0;font-size:14px}.home-copy .col-md-4 img{width:100%;height:auto}.home-copy .col-md-4 h4{font-size:1.3rem;margin:12px 0}.home-copy .col-md-8{display:contents}.home-copy .editorial-board,.home-copy .col-md-12{clear:both}.home-copy [class*=editorial] p{margin-bottom:14px}.home-copy .row:after{content:"";display:block;clear:both}

.home-copy .col-md-5{display:inline-block;width:48%;vertical-align:top;font-size:14px}.home-copy .col-md-1{display:none}.home-copy h4{font-size:1.2rem}.home-copy .mt-5.row>h4{border-top:1px solid #ccc;padding-top:24px;margin-top:28px}@media(max-width:600px){.home-copy .col-md-5{width:100%}}

.jpe-pdf-reader{border:1px solid #ccc;margin:24px 0}.pdf-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:#f3f3f3;font:13px Arial,sans-serif}.pdf-toolbar button{cursor:pointer;background:white;border:1px solid #bbb;border-radius:3px;padding:5px 9px;min-width:30px}.pdf-toolbar button:disabled{opacity:.35;cursor:default}.pdf-toolbar input{width:48px;padding:5px;border:1px solid #bbb}.pdf-toolbar [data-status]{margin-left:auto;font-size:12px;color:#555}.pdf-canvas-viewport{background:#ddd;overflow:auto;max-height:780px;padding:12px 0;min-height:150px}.pdf-canvas-viewport canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 1px 4px #999;max-width:none}@media(max-width:600px){.pdf-toolbar{gap:8px}.pdf-toolbar [data-status]{width:100%;margin:0}.pdf-canvas-viewport{max-height:600px}}

/* Beaver Builder child theme integration */
.fl-page{background:#fff}.fl-page-content{background:transparent}.fl-page .site-header{padding:0}.fl-page-content .site-layout{max-width:1200px;margin:0 auto;padding:28px 24px}.fl-page .search-form{margin:0}.fl-page h1,.fl-page h2,.fl-page h3{font-family:Georgia,serif;line-height:1.25}.fl-page .piv-shell{max-width:100%;margin:24px 0}.fl-page .piv-viewer{min-width:0}.fl-page .piv-shell button{font-family:Arial,sans-serif}.fl-page .site-footer{clear:both}

/* Keep imported homepage content inside its grid column. */
.home-layout .home-copy > .container {
    width: 100%;
    max-width: 100%;
}
.home-layout .home-copy .row {
    margin-left: 0;
    margin-right: 0;
}
.home-layout .current-issue h2 {
    color: inherit;
}

/* Footer follows the journal's production layout. */
.fl-page .site-footer {
    background: #fff;
    color: #111;
    padding: 24px 24px 16px;
    font: 12px/1.5 Georgia, 'Times New Roman', serif;
}
.journal-footer-inner {
    max-width: 1104px;
    margin: 0 auto;
    border-top: 1px solid #c8c6c7;
}
.fl-page .site-footer #journal-footer-title {
    margin: 36px 0 30px;
    color: #111;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.site-footer a {
    color: inherit;
}
.site-footer #journal-footer-title a,
.site-footer .journal-footer-links a {
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.site-footer .footer-columns {
    display: grid;
    grid-template-columns: 316px 220px minmax(0, 1fr);
    gap: 62px;
    padding-bottom: 34px;
}
.site-footer .journal-footer-contact {
    border-right: 1px solid #c8c6c7;
    padding-right: 62px;
    text-align: right;
}
.fl-page .site-footer h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.fl-page .site-footer .journal-footer-contact h3 {
    font-size: 15px;
}
.site-footer .journal-footer-contact p {
    margin: 0;
    line-height: 2.2;
}
.site-footer .journal-footer-contact a {
    color: #456b80;
}
.site-footer .journal-footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer .journal-footer-links li {
    margin: 0 0 8px;
}
.site-footer .copyright {
    border-top: 1px solid #c8c6c7;
    margin: 0;
    padding: 16px 0 0;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}
@media (max-width: 991px) {
    .site-footer .footer-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        text-align: center;
    }
    .site-footer .journal-footer-contact {
        border-right: 0;
        padding-right: 0;
        text-align: center;
    }
    .fl-page .site-footer #journal-footer-title {
        font-size: 23px;
    }
}

/* Beaver Themer header (Journal Themer Header). */
.fl-builder-content[data-type="header"] .fl-row-content-wrap{margin:0}
.jpe-themer-banner .fl-col-content,.jpe-themer-banner .fl-module,.jpe-themer-banner .fl-module-content{margin:0;padding:0}
.jpe-themer-logo .fl-photo-content,.jpe-themer-logo a,.jpe-themer-logo img{display:block;width:100%;max-width:1090px;height:auto;margin:0 auto}
.jpe-themer-nav .fl-col-group{display:flex;align-items:center;gap:24px}
.jpe-themer-nav .fl-col{float:none;min-width:0}
.jpe-themer-nav .fl-col-content,.jpe-themer-nav .fl-module,.jpe-themer-nav .fl-module-content{margin:0;padding:0}
.jpe-themer-menu .menu{display:flex;flex-wrap:wrap;gap:0 24px}
.jpe-themer-menu .menu>li>a{font:14px/1.3 Arial,sans-serif;text-decoration:none}
.jpe-themer-menu .menu>li>a:hover,.jpe-themer-menu .menu>li.current-menu-item>a{text-decoration:underline;text-underline-offset:4px}
.jpe-themer-search .search-form{margin-left:auto}
.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled .jpe-themer-banner{display:none}
@media(max-width:768px){
.jpe-themer-nav .fl-col-group{flex-wrap:wrap;gap:8px 12px}
.jpe-themer-nav .fl-col.jpe-themer-nav-menu{width:auto!important;flex:0 0 auto}
.jpe-themer-nav .fl-col.jpe-themer-nav-search{width:auto!important;flex:1 1 180px}
.jpe-themer-menu .fl-menu-mobile-toggle{color:#fff;border-color:#666;background:transparent}
.jpe-themer-menu .fl-menu-mobile-toggle .fl-menu-icon{fill:#fff}
.jpe-themer-nav .fl-row-content-wrap{position:relative}
.jpe-themer-nav .fl-row-content,.jpe-themer-nav .fl-col-group,.jpe-themer-nav .fl-col,.jpe-themer-nav .fl-col-content,.jpe-themer-menu,.jpe-themer-menu .fl-module-content,.jpe-themer-menu .fl-menu{position:static}
.jpe-themer-menu .fl-menu-mobile-toggle{font:15px/1 Arial,sans-serif}
.jpe-themer-menu .menu{display:none;position:absolute;left:0;right:0;top:100%;z-index:60;flex-direction:column;gap:0;background:#202020;padding:0 24px 12px;border-top:1px solid #444}
.jpe-themer-menu .menu>li>a{padding:12px 0;font-size:16px;border-bottom:1px solid #3a3a3a}
.jpe-themer-search .search-form{max-width:none}
}

/* Beaver Themer footer (Journal Themer Footer): same look as the previous coded footer. */
.jpe-themer-footer{font:12px/1.5 Georgia,'Times New Roman',serif;color:#111}
.jpe-themer-footer .fl-row-content{border-top:1px solid #c8c6c7}
.jpe-themer-footer a{color:inherit;text-decoration:none}
.jpe-themer-footer a:hover{color:var(--accent);text-decoration:underline}
.jpe-themer-footer .fl-module-content{margin:0}
.jpe-themer-footer .jpe-footer-title{padding:36px 0 30px}
.jpe-footer-title .fl-heading{margin:0;font-size:25px;font-weight:700;line-height:1.3;text-align:center;color:#111}
.jpe-themer-footer h3,.jpe-themer-footer h3.fl-heading{margin:0 0 10px;color:#111;font-size:14px;font-weight:700;line-height:1.3}
.jpe-themer-footer .fl-col-group-nested{padding-bottom:34px}
.jpe-footer-contact .fl-col-content{border-right:1px solid #c8c6c7;padding-right:62px;text-align:right}
.jpe-footer-contact h3{font-size:15px}
.jpe-footer-contact p{margin:0;line-height:2.2}
.jpe-footer-contact a{color:#456b80}
.jpe-footer-links .fl-col-content{padding-left:62px}
.jpe-footer-links .menu a{font-size:12px;line-height:1.5}
.jpe-footer-copyright .fl-rich-text{border-top:1px solid #c8c6c7;padding-top:16px;text-align:center;font-size:12px;line-height:1.6}
.jpe-footer-copyright p{margin:0}
@media(max-width:991px){
.jpe-themer-footer .fl-col-group-nested .fl-col{width:100%!important;float:none;padding-bottom:24px}
.jpe-footer-contact .fl-col-content{border-right:0;padding-right:0}
.jpe-footer-contact .fl-col-content,.jpe-footer-links .fl-col-content{text-align:center;padding-left:0;margin-bottom:26px}
.jpe-footer-links .menu{text-align:center}
.jpe-footer-title .fl-heading{font-size:23px}
}

/* Journal parity with production: readable links, actions and issue navigation. */
:root{--accent:#365d70}
.fl-page a:hover,.fl-page a:focus-visible{color:#365d70}
.fl-page .search-bar a:hover,.fl-page .jpe-themer-nav a:hover,.fl-page .current-issue a:hover{color:#fff;text-decoration:underline}
.fl-page .button:hover,.fl-page .button:focus-visible{background:#365d70;border-color:#365d70;color:#fff}
.fl-page .piv-shell{--piv-accent:#365d70;--piv-accent-dark:#284858}
.home-copy p{text-align:left;hyphens:manual}
.journal-sidebar{min-width:0;align-self:start}
.journal-sidebar .current-issue{margin-bottom:22px}
.current-issue>summary{font-size:18px;font-weight:bold;cursor:pointer;margin-bottom:20px;color:#fff}
.current-issue:not([open])>summary{margin-bottom:0}
.journal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;font:14px/1.4 Arial,sans-serif}
.fl-page .journal-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border:1px solid #bbb;border-radius:3px;background:#fff;color:#202020;font:14px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer}
.fl-page .journal-action:hover,.fl-page .journal-action:focus-visible{color:#284858;background:#f0f4f6;border-color:#365d70;text-decoration:none}
.article-row .journal-actions{margin-bottom:0}
.piv-shell>.journal-actions{padding:0 18px;margin:0 0 16px}
.journal-metadata{margin:24px 0;border-top:1px solid #d4d4d4;padding-top:18px}
.journal-metadata>summary{font-size:1.45rem;font-weight:bold;cursor:pointer;margin-bottom:18px}
.journal-share-dialog{width:min(560px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:28px;border:1px solid #bbb;border-radius:6px;color:#202020;background:#fff;font:16px/1.5 Georgia,serif}
.journal-share-dialog::backdrop{background:rgb(0 0 0 / .45)}
.journal-share-close{float:right;border:0;background:transparent;color:#202020;font:28px Arial;cursor:pointer}
.journal-copy-row{display:flex;gap:8px;margin:10px 0 20px}
.journal-copy-row input{width:100%;min-width:0;padding:10px;border:1px solid #aaa;color:#202020;background:#fff}
.journal-copy-row button{flex-shrink:0}
.journal-share-networks{display:flex;flex-wrap:wrap;gap:22px}
.journal-share-status{min-height:1.5em;margin-bottom:0}
:focus-visible{outline-color:#365d70}
@media(max-width:600px){.journal-sidebar{order:2;width:100%}.journal-sidebar .sidebar ul{columns:2}.journal-copy-row{flex-wrap:wrap}.home-copy .col-md-4 p,.home-copy .portadacolumna1 p{text-align:left}}
.current-issue>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.current-issue>summary::-webkit-details-marker{display:none}
.current-issue>summary::after{content:'+';font:22px/1 Arial,sans-serif}
.current-issue[open]>summary::after{content:'−'}
.journal-metadata>summary::after{content:' [show]';font:13px Arial,sans-serif;color:#656565}
.journal-metadata[open]>summary::after{content:' [hide]'}

/* Category references and column alignment follow the production journal. */
.fl-page-content .site-layout{grid-template-columns:280px minmax(0,1fr);gap:30px}
.fl-page-content .home-layout{grid-template-columns:280px minmax(0,1fr) 230px;gap:30px}
.sidebar h2{white-space:nowrap}
.issue-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 20px}
.issue-tools .journal-actions{margin:0}
.issue-result-count{font-size:14px;color:#656565;margin-bottom:20px}
.article-reference{padding:14px 2px 22px;margin:0;border-bottom:0;color:#656565}
.article-reference p{margin:0;line-height:1.45}
.article-reference a{color:#202020;text-decoration:none}
.article-reference a:hover{text-decoration:underline}
body.tax-jpe_issue .article-list,body.tax-jpe_topic .article-list{border-top:1px solid #aaa;border-bottom:1px solid #aaa;padding:0 12px}
.jpe-themer-nav-search .fl-col-content{margin-right:0!important}
.jpe-themer-search .search-form{margin-right:0;max-width:100%;width:100%}
@media(min-width:1101px){
.jpe-themer-nav .fl-col.jpe-themer-nav-search{width:230px!important;flex:0 0 230px;margin-left:auto}
.jpe-themer-nav .fl-col.jpe-themer-nav-menu{width:auto!important;flex:1 1 auto}
.jpe-themer-nav .fl-row-content{max-width:1152px}
}
@media(min-width:601px) and (max-width:1100px){
.fl-page-content .home-layout{grid-template-columns:280px minmax(0,1fr)}
.home-layout>.current-issue{grid-column:2}
}
@media(max-width:600px){
.fl-page-content .site-layout,.fl-page-content .home-layout{display:flex}
.sidebar h2{white-space:normal}
.issue-tools{justify-content:flex-start}
.article-reference{padding:16px 0}
}
/* Beaver's clearfix pseudo-elements must not occupy slots in this flex row. */
.jpe-themer-nav .fl-col-group::before,.jpe-themer-nav .fl-col-group::after{display:none}

/* Article sequence mirrors production; the journal owns its single title and metadata block. */
.article-detail .piv-header{display:none}
.journal-article-header .journal-article-issue{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px;color:#656565;margin:0 0 12px}
.journal-article-categories{font-size:14px;margin:0 0 20px}
.journal-article-header h1{margin:0 0 12px}
.journal-article-header .byline{margin:0 0 18px}
.article-detail .piv-shell{margin:0 0 24px}
.article-detail .piv-shell>.journal-actions{padding:0;margin:0 0 18px;justify-content:flex-end}
.journal-metadata .metadata{grid-template-columns:145px minmax(0,1fr);gap:14px 18px;margin:0}
.journal-metadata .metadata dt{text-align:right}
.journal-metadata .metadata dd{margin:0}
.journal-metadata .journal-citation{border-top:1px solid #d4d4d4;padding-top:14px;margin:22px 0 0;font-size:14px}
@media(max-width:600px){.journal-metadata .metadata{grid-template-columns:100px minmax(0,1fr);gap:12px}.article-detail .piv-shell>.journal-actions{justify-content:flex-start}}
