/* Journal Header & Footer Builder — public styles */
#jhfb-site-header,
#jhfb-site-footer {
	box-sizing: border-box;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.55;
	color: var(--jhfb-text, #172033);
}
#jhfb-site-header *, #jhfb-site-header *::before, #jhfb-site-header *::after,
#jhfb-site-footer *, #jhfb-site-footer *::before, #jhfb-site-footer *::after { box-sizing: border-box; }
.jhfb-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.jhfb-skip-link { position: fixed; top: -100px; left: 16px; z-index: 100000; padding: 10px 16px; background: #fff; color: #000; border: 2px solid var(--jhfb-secondary, #b8860b); }
.jhfb-skip-link:focus { top: 12px; }
.jhfb-header a, .jhfb-footer a { text-decoration: none; }
.jhfb-topbar { background: var(--jhfb-primary, #12355b); color: #fff; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .02em; }
.jhfb-topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.jhfb-status-list, .jhfb-top-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.jhfb-status-list span + span::before, .jhfb-top-contact > * + *::before { content: "•"; margin: 0 10px; color: color-mix(in srgb, var(--jhfb-secondary, #b8860b) 82%, white); }
.jhfb-topbar a { color: #fff; }
.jhfb-topbar a:hover, .jhfb-topbar a:focus { text-decoration: underline; }
.jhfb-brandbar { background: #fff; border-bottom: 1px solid #dbe3ea; }
.jhfb-brandbar-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 17px; }
.jhfb-brand { min-width: 0; display: flex; align-items: center; gap: 17px; color: var(--jhfb-primary, #12355b); }
.jhfb-logo { width: 78px; height: 78px; flex: 0 0 78px; display: grid; place-items: center; }
.jhfb-logo-image { width: 100%; height: 100%; object-fit: contain; }
.jhfb-logo-fallback { border-radius: 50%; background: var(--jhfb-primary, #12355b); color: #fff; border: 3px solid var(--jhfb-secondary, #b8860b); font: 700 22px/1 Arial, sans-serif; text-transform: uppercase; }
.jhfb-brand-copy { min-width: 0; display: flex; flex-direction: column; }
.jhfb-brand-copy strong { color: var(--jhfb-primary, #12355b); font-size: clamp(21px, 2.2vw, 31px); line-height: 1.18; letter-spacing: -.02em; overflow-wrap: anywhere; }
.jhfb-brand-copy small { margin-top: 5px; color: #475569; font: 14px/1.3 Arial, sans-serif; }
.jhfb-brand-copy em { margin-top: 5px; color: #6b7280; font: normal 11px/1.3 Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.jhfb-brand-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 13px; }
.jhfb-search { display: flex; height: 40px; border: 1px solid #cbd5e1; border-radius: 4px; overflow: hidden; background: #fff; }
.jhfb-search input { width: 180px; height: 100%; border: 0 !important; box-shadow: none !important; padding: 0 11px !important; margin: 0 !important; background: transparent !important; color: #172033 !important; font: 13px Arial, sans-serif !important; }
.jhfb-search button { width: 40px; height: 40px; padding: 10px; border: 0; border-left: 1px solid #cbd5e1; background: var(--jhfb-accent, #eef4f8); color: var(--jhfb-primary, #12355b); cursor: pointer; }
.jhfb-search svg, .jhfb-menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.jhfb-submit-button, .jhfb-mobile-submit { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 17px; border-radius: 4px; background: var(--jhfb-secondary, #b8860b); color: #fff !important; font: 700 13px/1.2 Arial, sans-serif; box-shadow: inset 0 -2px rgba(0,0,0,.12); }
.jhfb-submit-button:hover, .jhfb-submit-button:focus, .jhfb-mobile-submit:hover, .jhfb-mobile-submit:focus { filter: brightness(.92); color: #fff; }
.jhfb-navigation-bar { background: var(--jhfb-primary, #12355b); font-family: Arial, sans-serif; }
.jhfb-navigation-inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 48px; }
.jhfb-primary-nav { flex: 1 1 auto; }
.jhfb-menu, .jhfb-footer-menu { list-style: none; padding: 0; margin: 0; }
.jhfb-menu { display: flex; align-items: stretch; flex-wrap: wrap; min-height: 48px; }
.jhfb-menu > li { position: relative; display: flex; align-items: stretch; margin: 0; }
.jhfb-menu > li > a { display: flex; align-items: center; padding: 11px 15px; color: #fff; font-size: 13px; font-weight: 600; border-bottom: 3px solid transparent; }
.jhfb-menu > li.current-menu-item > a, .jhfb-menu > li > a:hover, .jhfb-menu > li > a:focus { background: rgba(255,255,255,.08); border-bottom-color: var(--jhfb-secondary, #b8860b); color: #fff; }
.jhfb-menu .sub-menu { display: none; position: absolute; z-index: 9990; left: 0; top: 100%; min-width: 220px; padding: 7px 0; margin: 0; list-style: none; background: #fff; border-top: 3px solid var(--jhfb-secondary, #b8860b); box-shadow: 0 10px 28px rgba(15,23,42,.16); }
.jhfb-menu li:hover > .sub-menu, .jhfb-menu li:focus-within > .sub-menu { display: block; }
.jhfb-menu .sub-menu li { margin: 0; }
.jhfb-menu .sub-menu a { display: block; padding: 9px 14px; color: #26354a; font-size: 13px; }
.jhfb-menu .sub-menu a:hover, .jhfb-menu .sub-menu a:focus { background: var(--jhfb-accent, #eef4f8); color: var(--jhfb-primary, #12355b); }
.jhfb-menu-toggle, .jhfb-mobile-submit, .jhfb-mobile-search { display: none; }
.jhfb-announcement { background: var(--jhfb-accent, #eef4f8); border-bottom: 1px solid color-mix(in srgb, var(--jhfb-primary, #12355b) 22%, white); color: var(--jhfb-text, #172033); font: 13px/1.4 Arial, sans-serif; }
.jhfb-announcement .jhfb-container { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 11px; padding-block: 7px; text-align: center; }
.jhfb-announcement strong { padding: 2px 7px; border-radius: 3px; background: var(--jhfb-primary, #12355b); color: #fff; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; }
.jhfb-announcement a { color: var(--jhfb-primary, #12355b); font-weight: 700; }
.jhfb-footer { margin: 0; background: #0d2948; color: #dce6f1; }
.jhfb-footer-grid { display: grid; grid-template-columns: 1.45fr .85fr .95fr 1.05fr; gap: 45px; padding-block: 50px 42px; }
.jhfb-footer h2 { margin: 0 0 17px; padding: 0 0 9px; position: relative; color: #fff; font-size: 16px; line-height: 1.25; }
.jhfb-footer h2::after { content: ""; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--jhfb-secondary, #b8860b); }
.jhfb-footer p, .jhfb-footer address { margin: 0 0 11px; color: #c5d3e2; font: normal 13px/1.65 Arial, sans-serif; }
.jhfb-footer a { color: #e8f0f8; }
.jhfb-footer a:hover, .jhfb-footer a:focus { color: #fff; text-decoration: underline; }
.jhfb-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff !important; }
.jhfb-footer-logo { width: 52px; height: 52px; object-fit: contain; }
.jhfb-footer-brand strong { font-size: 19px; line-height: 1.25; }
.jhfb-issn-block { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font: 11px/1.3 Arial, sans-serif; }
.jhfb-issn-block span { padding: 5px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; }
.jhfb-issn-block b { color: var(--jhfb-secondary, #d0a529); }
.jhfb-footer-menu li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.jhfb-footer-menu a { display: block; padding: 7px 0; font: 13px/1.4 Arial, sans-serif; }
.jhfb-profile-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.jhfb-profile-links a { min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 6px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; font: 700 11px Arial, sans-serif; }
.jhfb-profile-links a:hover, .jhfb-profile-links a:focus { background: var(--jhfb-secondary, #b8860b); border-color: var(--jhfb-secondary, #b8860b); text-decoration: none; }
.jhfb-contact strong { color: #fff; }
.jhfb-contact a, .jhfb-contact address, .jhfb-footer-brand strong { overflow-wrap: anywhere; word-break: break-word; }
.jhfb-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.13); font-family: Arial, sans-serif; }
.jhfb-footer-bottom .jhfb-container { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.jhfb-footer-bottom p { margin: 0; font-size: 11px; }
.jhfb-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 15px; font-size: 11px; }
.jhfb-back-to-top { position: fixed; z-index: 9000; right: 20px; bottom: 20px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: var(--jhfb-secondary, #b8860b); color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.22); font-size: 21px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.jhfb-back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Theme replacement targets are intentionally conservative and reversible. */
body.jhfb-replace-header > header.site-header,
body.jhfb-replace-header #page > header.site-header,
body.jhfb-replace-header #masthead,
body.jhfb-replace-header .wp-site-blocks > header.wp-block-template-part,
body.jhfb-replace-header .elementor-location-header { display: none !important; }
body.jhfb-replace-footer > footer.site-footer,
body.jhfb-replace-footer #page > footer.site-footer,
body.jhfb-replace-footer #colophon,
body.jhfb-replace-footer .wp-site-blocks > footer.wp-block-template-part,
body.jhfb-replace-footer .elementor-location-footer { display: none !important; }

@media (max-width: 980px) {
	.jhfb-brand-actions .jhfb-search { display: none; }
	.jhfb-footer-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 35px; }
	.jhfb-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.jhfb-container { width: min(100% - 28px, 1180px); }
	.jhfb-topbar-inner { min-height: 32px; justify-content: center; }
	.jhfb-status-list span:nth-child(n+3), .jhfb-top-contact { display: none; }
	.jhfb-brandbar-inner { min-height: 88px; padding-block: 12px; gap: 10px; }
	.jhfb-logo { width: 58px; height: 58px; flex-basis: 58px; }
	.jhfb-brand { gap: 11px; }
	.jhfb-brand-copy strong { font-size: clamp(17px, 5vw, 22px); }
	.jhfb-brand-copy small { font-size: 12px; }
	.jhfb-brand-copy em { display: none; }
	.jhfb-brand-actions { display: none; }
	.jhfb-navigation-inner { min-height: 48px; align-items: center; position: relative; flex-wrap: wrap; }
	.jhfb-menu-toggle { display: none; height: 48px; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #fff; font: 700 13px Arial, sans-serif; cursor: pointer; }
	.jhfb-header.jhfb-enhanced .jhfb-menu-toggle { display: inline-flex; }
	.jhfb-menu-toggle svg { order: -1; }
	.jhfb-mobile-submit { display: inline-flex; min-height: 36px; padding: 7px 11px; font-size: 12px; }
	.jhfb-primary-nav { display: block; flex: 1 0 100%; order: 3; background: #fff; }
	.jhfb-header.jhfb-enhanced .jhfb-primary-nav { display: none; position: absolute; z-index: 9991; top: 100%; left: -14px; right: -14px; box-shadow: 0 12px 25px rgba(15,23,42,.22); }
	.jhfb-header.jhfb-enhanced .jhfb-primary-nav.is-open { display: block; }
	.jhfb-mobile-search { display: flex; min-height: 48px; padding: 7px 12px; gap: 7px; border-bottom: 1px solid #e5eaf0; background: #f8fafc; }
	.jhfb-mobile-search label { flex: 1 1 auto; }
	.jhfb-mobile-search input { width: 100%; height: 34px; margin: 0; padding: 6px 9px; border: 1px solid #cbd5e1; border-radius: 3px; background: #fff; color: #172033; font: 13px Arial, sans-serif; }
	.jhfb-mobile-search button { min-height: 34px; padding: 6px 11px; border: 0; border-radius: 3px; background: var(--jhfb-primary, #12355b); color: #fff; font: 700 12px Arial, sans-serif; }
	.jhfb-menu { display: block; max-height: min(70vh, 520px); overflow-y: auto; padding: 7px 0; }
	.jhfb-menu > li { display: block; }
	.jhfb-menu > li > a { min-height: 44px; display: flex; padding: 10px 17px; border: 0; border-bottom: 1px solid #e5eaf0; color: #20314a; }
	.jhfb-menu > li.current-menu-item > a, .jhfb-menu > li > a:hover, .jhfb-menu > li > a:focus { background: var(--jhfb-accent, #eef4f8); color: var(--jhfb-primary, #12355b); border: 0; }
	.jhfb-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 6px 18px; border: 0; box-shadow: none; background: #f8fafc; }
	.jhfb-announcement .jhfb-container { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; padding-block: 8px; }
	.jhfb-announcement span { flex: 1 1 calc(100% - 70px); text-align: left; }
	.jhfb-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 25px; padding-block: 38px; }
	.jhfb-footer-about { grid-column: 1 / -1; }
	.jhfb-footer-bottom .jhfb-container { flex-direction: column; align-items: flex-start; gap: 5px; }
	.jhfb-footer-bottom p, .jhfb-footer-bottom nav, .jhfb-issn-block, .jhfb-profile-links a { font-size: 12px; }
}
@media (max-width: 480px) {
	.jhfb-status-list span + span::before { margin-inline: 7px; }
	.jhfb-footer-grid { grid-template-columns: 1fr; gap: 29px; }
	.jhfb-footer-about { grid-column: auto; }
	.jhfb-footer-bottom nav { gap: 10px; }
	.jhfb-back-to-top { width: 36px; height: 36px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.jhfb-back-to-top { transition: none; }
}
