@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=PT+Serif:wght@400;700&family=PT+Sans:wght@400;700&display=swap');

/* Amanat journal stylesheet — charcoal #32302c + bronze-gold #987642,
   Playfair Display / PT Sans. Loaded after the OJS default theme. */

body,
.pkp_structure_page {
	font-family: "PT Sans", "Segoe UI", system-ui, Arial, sans-serif;
	color: #32302c;
	background: #f6f3ee;
}

h1, h2, h3, h4,
.pkp_site_name,
.page_title,
.obj_article_details .title {
	font-family: "Playfair Display", "PT Serif", Georgia, serif;
	color: #32302c;
}

a { color: #7c5f34; }
a:hover, a:focus { color: #32302c; }

/* ---------- Header (white masthead) ---------- */
.pkp_structure_head {
	background: #ffffff !important;
	border-bottom: 1px solid #e8e3d8;
}
.pkp_head_wrapper { background: #ffffff !important; }
.pkp_site_name_wrapper a,
.pkp_site_name .is_text { color: #32302c !important; font-weight: 700; letter-spacing: .5px; }
.pkp_site_name img { max-height: 84px; width: auto; }
.pkp_head_wrapper .pkp_navigation_user a { color: #32302c; }
.pkp_head_wrapper .pkp_navigation_user a:hover { color: #7c5f34; }

/* ---------- Primary navigation (charcoal bar) ---------- */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
	background: #32302c !important;
	border-top: 3px solid #987642;
}
ul.pkp_navigation_primary > li > a {
	color: #eceae5 !important;
	text-transform: uppercase;
	letter-spacing: .6px;
	font-weight: 700;
	font-size: 13.5px;
	border-bottom: 3px solid transparent;
}
ul.pkp_navigation_primary > li > a:hover,
ul.pkp_navigation_primary > li > a:focus {
	color: #ffffff !important;
	background: rgba(255,255,255,.05);
	border-bottom-color: #987642;
}
.pkp_navigation_primary li ul {
	background: #32302c;
	border-top: 2px solid #987642;
}
.pkp_navigation_primary li ul li a { color: #dcd9d2 !important; }
.pkp_navigation_primary li ul li a:hover { color: #fff !important; background: #7c5f34; }
.pkp_site_nav_toggle { background: #32302c; color: #fff; }

/* ---------- Content ---------- */
.page_title,
.pkp_structure_main > .page > h1:first-child {
	font-family: "Playfair Display", "PT Serif", Georgia, serif;
	color: #32302c;
	border-bottom: 3px solid #987642;
	display: inline-block;
	padding-bottom: 6px;
}
.pkp_structure_main h2 { font-family: "Playfair Display", "PT Serif", Georgia, serif; color: #32302c; }

/* buttons */
.pkp_button,
.cmp_button,
a.cmp_button,
button.submitFormButton,
input[type="submit"] {
	background: #987642 !important;
	border-color: #7c5f34 !important;
	color: #fff !important;
}
.pkp_button:hover,
.cmp_button:hover,
a.cmp_button:hover,
input[type="submit"]:hover { background: #7c5f34 !important; }

/* ---------- Sidebar blocks ---------- */
.pkp_block .title,
.pkp_block .pkp_block_title,
.pkp_block h2.title {
	background: #32302c;
	color: #b89a63;
	font-family: "PT Sans", sans-serif;
	text-transform: uppercase;
	letter-spacing: .7px;
	font-weight: 700;
	font-size: 13px;
	padding: 12px 16px;
	border-left: 4px solid #987642;
}
.pkp_block .content {
	background: #ffffff;
	border: 1px solid #e8e3d8;
	border-top: none;
}
.pkp_block .content ul li a:hover { color: #7c5f34; }

/* ---------- Footer (charcoal) ---------- */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
	background: #32302c !important;
	color: #cdc9c1;
	border-top: 3px solid #987642;
}
.pkp_structure_footer a { color: #e2ded6; }
.pkp_structure_footer a:hover { color: #b89a63; }
.pkp_structure_footer h2,
.pkp_structure_footer h3 { color: #b89a63; font-family: "PT Sans", sans-serif; }

/* ---------- Misc ---------- */
.obj_issue_toc h2, .current_issue_title { font-family: "Playfair Display", "PT Serif", Georgia, serif; }
::selection { background: #efe8d8; }

/* ---------- Mobile slide-out menu (fix default-theme blue) ---------- */
@media (max-width: 943px) {
	.pkp_site_nav_menu,
	.pkp_site_nav_menu--isOpen {
		background: #32302c !important;
		border-top: 3px solid #987642;
	}
	.pkp_site_nav_menu a { color: #eceae5 !important; }
	.pkp_site_nav_menu a:hover,
	.pkp_site_nav_menu a:focus { color: #b89a63 !important; }
	.pkp_site_nav_menu .pkp_navigation_user a { color: #eceae5 !important; }
	.pkp_site_nav_toggle { color: #32302c; }
}

/* ---------- Hide OJS/PKP branding in footer ---------- */
.pkp_brand_footer { display: none !important; }
