/* Epsilon Press theme for OJS (child of the Default theme).
   Header, footer and font match the main website, journals.epsilonpress.com. */

/* ---------------------------------------------------------------- font: Inter, as on the website */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/InterVariable.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/InterVariable-Italic.woff2") format("woff2"); }
:root { --ep-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body, .pkp_structure_page, .pkp_site_name, .pkp_site_name .is_text, h1, h2, h3, h4, h5, h6,
button, input, select, textarea, .pkp_button, .cmp_button, .obj_galley_link, .pkp_navigation_primary, .pkp_navigation_user,
.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3, .pkp_structure_main h4,
.pkp_structure_sidebar h2, .pkp_block .title, .page_title {
	font-family: var(--ep-font);
}
.pkp_structure_main h1, .pkp_structure_main h2, .page_title { color: #163D79; font-weight: 700; }
/* every text element of the public pages (icons keep their icon font) */
.pkp_structure_page *:not(.fa) { font-family: var(--ep-font); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "calt"; }
h1, h2, h3, h4 { letter-spacing: -0.012em; }

:root { --epsilon-ink: #173047; --epsilon-blue: #205d83; --epsilon-border: #d8e2e9; }
body { color: var(--epsilon-ink); background: #f7fafb; }
.epsilon_publisher { max-width: 1160px; margin: auto; padding: 1rem 1.5rem 0; color: var(--epsilon-blue); letter-spacing: .02em; }
.epsilon_publisher span { color: var(--epsilon-ink); font-weight: 400; }
.pkp_structure_content { background: #fff; }
.epsilon-declarations a { color: var(--epsilon-blue); }
.epsilon-declarations { margin: 1.5rem 0; padding: 1.2rem; border: 1px solid var(--epsilon-border); border-radius: .5rem; background: #f7fafb; }
.page_epsilon_certify fieldset { margin: 1.4rem 0; padding: 1rem; border: 1px solid var(--epsilon-border); border-radius: .5rem; }
.page_epsilon_certify legend { font-weight: 700; }
.page_epsilon_certify label { display: inline-block; margin: .4rem 1rem .4rem 0; }
.page_epsilon_certify textarea { width: min(100%, 44rem); padding: .5rem; border: 1px solid var(--epsilon-border); }
.page_epsilon_certify button { padding: .7rem 1.2rem; border: 0; border-radius: .3rem; color: #fff; background: var(--epsilon-blue); cursor: pointer; }
@media (max-width: 640px) { .epsilon_publisher { padding: .75rem 1rem 0; } .epsilon_publisher span { display: block; } }
/* Embed mode (?embed=1): page content only, shown inside the journal pages of the main website */
.epsilon_embed, html:has(.epsilon_embed) { background: #fff; height: auto; min-height: 0; }
.epsilon_embed .pkp_structure_page { min-height: 0; }
.epsilon_embed .pkp_structure_page { max-width: none; margin: 0; box-shadow: none; }
.epsilon_embed .pkp_structure_content { padding-top: 0; }
.epsilon_embed .pkp_structure_main { width: auto; float: none; padding: 0 12px 24px; }
.epsilon_embed .pkp_structure_main:before, .epsilon_embed .pkp_structure_main:after { display: none; }
.epsilon_embed .cmp_skip_to_content { display: none; }


/* footer at the bottom of the window on short pages */
.pkp_structure_page { display: flex; flex-direction: column; min-height: 100vh; }
.pkp_structure_content { flex: 1 0 auto; }
.pkp_structure_head, .pkp_structure_footer_wrapper { flex: none; }

/* ---------------------------------------------------------------- header: navy, as on the website */
.pkp_structure_head {
	position: relative;
	border-bottom: 0;
	background:
		radial-gradient(70% 160% at 100% 0%, rgba(67, 108, 168, .55) 0%, rgba(67, 108, 168, 0) 60%),
		radial-gradient(50% 140% at 0% 100%, rgba(207, 86, 0, .18) 0%, rgba(207, 86, 0, 0) 60%),
		linear-gradient(120deg, #0B2147 0%, #163D79 100%);
}
/* faint dot grid and the thin orange rule at the bottom */
.pkp_structure_head::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%);
}
.pkp_structure_head::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, #CF5600, #F28C28 60%, rgba(242, 140, 40, 0));
}
.pkp_head_wrapper { position: relative; z-index: 1; }
.epsilon_eyebrow {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #F6A35B;
	white-space: nowrap;
}
.pkp_site_name .is_text, .pkp_site_name .is_text:hover, .pkp_site_name .is_text:focus {
	color: #fff; font-weight: 700; letter-spacing: -0.02em; text-decoration: none;
}
.pkp_site_name > a.is_text { padding-top: 0; }
/* the menu row sits on the same navy */
@media (min-width: 992px) { .pkp_site_nav_menu { background: transparent; } }
.pkp_navigation_primary_row { background: transparent; border-top: 1px solid rgba(255, 255, 255, .12); }
.pkp_navigation_primary > li > a, .pkp_navigation_search_wrapper a, .pkp_navigation_user > li > a {
	color: #E8EFF9; font-weight: 500;
}
.pkp_navigation_primary > li > a:hover, .pkp_navigation_primary > li > a:focus,
.pkp_navigation_search_wrapper a:hover, .pkp_navigation_search_wrapper a:focus {
	color: #fff; border-color: #F28C28;
}
.pkp_navigation_user > li > a:hover, .pkp_navigation_user > li > a:focus { color: #fff; background: rgba(255, 255, 255, .12); }
.pkp_navigation_primary .dropdown-menu, .pkp_navigation_user .dropdown-menu { background: #fff; border-radius: 6px; box-shadow: 0 8px 24px rgba(11, 33, 71, .18); }
.pkp_navigation_primary .dropdown-menu a, .pkp_navigation_user .dropdown-menu a { color: #163D79; }
.pkp_navigation_user .task_count { background: #F28C28; color: #0B2147; }
/* mobile menu button and menu panel */
.pkp_site_nav_toggle { color: #fff; background: transparent; }
.pkp_site_nav_toggle:before, .pkp_site_nav_toggle:after, .pkp_site_nav_toggle span:before, .pkp_site_nav_toggle span:after { border-color: #fff; }
@media (max-width: 991px) {
	.epsilon_eyebrow { display: none; }   /* the phone header has room for one line: the journal name */
	.pkp_site_nav_menu { background: #0B2147; }
	.pkp_navigation_user_wrapper { border-top-color: rgba(255, 255, 255, .15); }
}
@media (min-width: 992px) {
	.pkp_site_name .is_text { font-size: 1.6rem; line-height: 1.2; }
	.pkp_head_wrapper { padding-bottom: 0; }
}

/* ---------------------------------------------------------------- footer: the same as the website footer */
.pkp_structure_footer_wrapper {
	position: relative;
	border-top: 0;
	background:
		radial-gradient(60% 140% at 100% 0%, rgba(67, 108, 168, .35) 0%, rgba(67, 108, 168, 0) 60%),
		linear-gradient(120deg, #0B2147 0%, #12336A 100%);
}
.pkp_structure_footer_wrapper::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, #CF5600, #F28C28 60%, rgba(242, 140, 40, 0));
}
.pkp_structure_footer { text-align: left; max-width: none; }
.pkp_footer_content { color: #C9D6EA; }
.pkp_footer_content a { color: #fff; }
.ep-footer {
	position: relative;
	color: #C9D6EA;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
	background: transparent;
}
.ep-footer-main {
	display: grid;
	grid-template-columns: 1.35fr .95fr 1.05fr 1.5fr;
	gap: 28px;
	max-width: 960px;
	margin: 0 auto;
	padding: 34px 30px 26px;
	box-sizing: border-box;
}
.ep-footer p { margin: 0 0 6px; color: #C9D6EA; font-size: 13px; }
.ep-footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; text-decoration: none; }
.ep-footer-logo img { width: 36px; height: 36px; background: #fff; border-radius: 8px; padding: 3px; box-sizing: border-box; }
.ep-footer-logo span { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ep-footer h2 {
	margin: 4px 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #F6A35B;
}
.ep-footer ul { margin: 0; padding: 0; list-style: none; }
.ep-footer li { margin: 0 0 8px; padding: 0; color: #E8EFF9; }
.ep-footer a, .ep-footer a:visited { color: #E8EFF9; text-decoration: none; }
.ep-footer a:hover, .ep-footer a:focus { color: #fff; text-decoration: underline; }
.ep-footer-muted, .ep-footer p.ep-footer-muted { color: #93A7C6; font-size: 12px; }
.ep-footer-email { white-space: nowrap; }
.ep-footer-bar {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
	max-width: 960px; margin: 0 auto; padding: 12px 30px 16px; box-sizing: border-box;
	font-size: 12px; color: #93A7C6;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.ep-footer-bar a, .ep-footer-bar a:visited { color: #C9D6EA; text-decoration: underline; }
@media (max-width: 760px) {
	.ep-footer-main { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 26px 16px 16px; }
	.ep-footer-brand { grid-column: 1 / -1; }
	.ep-footer-bar { padding: 12px 16px 16px; flex-direction: column; }
}
@media (max-width: 420px) { .ep-footer-main { grid-template-columns: 1fr; } }

/* About > Submissions: one line about sections instead of the list (templates/frontend/pages/submissions.tpl) */
.epsilon_sections_note { margin: 1.5rem 0 0; }
