/**
 * Prime Academic Press — force layer v4.
 * Goals:
 * 1) Add border treatment to upper content area (match lower area tone).
 * 2) Make top utility buttons golden for stronger recognition.
 * 3) Add tasteful golden accents across page.
 */

/* ───────────────── Upper content border (site index) ───────────────── */
body.pap-site-index #main-site .about_site {
	border-top: 1px solid rgba(201, 162, 39, 0.35) !important;
	border-bottom: 1px solid rgba(201, 162, 39, 0.35) !important;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	margin-bottom: 1.6rem !important;
}

/* Keep heading dividers consistent with lower section style */
body.pap-site-index #main-site .about_site h2,
body.pap-site-index #main-site .about_site h3,
body.pap-site-index #main-site .about_site h4 {
	border-bottom: 1px solid rgba(201, 162, 39, 0.28) !important;
	padding-bottom: 0.35rem !important;
}

/* ───────────────── Top buttons: gold emphasis ───────────────── */
header#headerNavigationContainer.pap-masthead .pap-topbar-end__user .pkp_navigation_user > li > a {
	background: linear-gradient(180deg, rgba(244, 208, 63, 0.24) 0%, rgba(201, 162, 39, 0.26) 100%) !important;
	border: 1px solid rgba(244, 208, 63, 0.6) !important;
	color: #fff6d0 !important;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18) !important;
}

header#headerNavigationContainer.pap-masthead .pap-topbar-end__user .pkp_navigation_user > li > a:hover,
header#headerNavigationContainer.pap-masthead .pap-topbar-end__user .pkp_navigation_user > li > a:focus {
	background: linear-gradient(180deg, rgba(244, 208, 63, 0.4) 0%, rgba(201, 162, 39, 0.42) 100%) !important;
	border-color: #f4d03f !important;
	color: #ffffff !important;
}

header#headerNavigationContainer.pap-masthead a.pap-header-search-link {
	background: linear-gradient(180deg, rgba(244, 208, 63, 0.36) 0%, rgba(201, 162, 39, 0.42) 100%) !important;
	border-color: #f4d03f !important;
	color: #fff8dc !important;
	box-shadow: 0 0 0 1px rgba(244, 208, 63, 0.22), 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}

/* ───────────────── Global gold accents (elegant, restrained) ───────────────── */
body.pap-site-index .pkp_structure_content.container.pap-content_layout,
body.pap-site-index .pkp_structure_content.container.pap-site-main-fluid {
	border-top: 1px solid rgba(201, 162, 39, 0.22) !important;
}

body.pap-site-index #main-site .journals .media-list > .media {
	border-color: rgba(201, 162, 39, 0.28) !important;
	box-shadow: 0 6px 22px rgba(138, 107, 24, 0.09) !important;
}

body.pap-site-index #main-site .journals .media-list > .media::before {
	background: linear-gradient(90deg, rgba(201, 162, 39, 0.95), rgba(244, 208, 63, 0.88)) !important;
}

/* Active nav item gold emphasis */
header#headerNavigationContainer.pap-masthead #nav-menu .navbar-nav > li.active > a,
header#headerNavigationContainer.pap-masthead #nav-menu .navbar-nav > li.current > a {
	background: rgba(201, 162, 39, 0.28) !important;
	border-color: rgba(244, 208, 63, 0.48) !important;
}
