@charset "UTF-8";
/* Guidelines for Authors (guidelines.php).
   Every rule is scoped to #section1.eg-guide, so no other page is affected.
   !important is used only where the site's base sheets already use it
   (font_style.css: h3/p margin-bottom) or to beat an inline style.
   Icons come from Font Awesome 5, which every page already loads. */

#section1.eg-guide {
	--eg-text: #333;
	--eg-muted: #666;
	--eg-green: #00913a;
	--eg-green-dark: #006b2b;
	--eg-teal: #0b8793;
	--eg-amber: #d9822b;
	--eg-blue: #2563c9;
	--eg-violet: #7048c8;
	--eg-card-gap: 14px;
}

/* ---------- Journal line and quick links ---------- */

#section1.eg-guide h3.l_markp {
	margin-bottom: 6px !important;
	color: var(--eg-muted);
	font-size: 0.85rem;
}

#section1.eg-guide .eg-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0 14px 2%;
}
#section1.eg-guide .eg-nav a {
	--c: var(--eg-green);
	padding: 4px 12px;
	border: 1px solid color-mix(in srgb, var(--c) 35%, #fff);
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 9%, #fff);
	color: var(--c);
	font-size: 0.8rem;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
#section1.eg-guide .eg-nav a:hover,
#section1.eg-guide .eg-nav a:focus-visible {
	background: var(--c);
	color: #fff;
}

/* ---------- At a glance ---------- */

#section1.eg-guide ul.eg-glance {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	margin: 0 0 14px 2%;
	padding: 0;
	list-style: none;
}
#section1.eg-guide ul.eg-glance > li {
	--c: var(--eg-green);
	position: relative;
	margin: 0;
	padding: 8px 12px 9px;
	border-left: 4px solid var(--c);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 6px 18px rgba(0, 0, 0, 0.05);
}
#section1.eg-guide ul.eg-glance > li > span {
	display: block;
	color: var(--eg-muted);
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
#section1.eg-guide ul.eg-glance > li > strong {
	display: block;
	color: var(--c);
	font-size: 0.95rem;
	line-height: 1.35;
}
#section1.eg-guide ul.eg-glance > li > strong a {
	color: inherit;
}
/* (as specific as the li rule above, so each tile's colour wins) */
#section1.eg-guide ul.eg-glance > li.eg-glance--fee    { --c: var(--eg-green); }
#section1.eg-guide ul.eg-glance > li.eg-glance--access { --c: var(--eg-teal); }
#section1.eg-guide ul.eg-glance > li.eg-glance--review,
#section1.eg-guide ul.eg-glance > li.eg-glance--time   { --c: var(--eg-violet); }
#section1.eg-guide ul.eg-glance > li.eg-glance--licence { --c: var(--eg-amber); }
#section1.eg-guide ul.eg-glance > li.eg-glance--submit { --c: var(--eg-blue); }

/* ---------- Section cards ---------- */

#section1.eg-guide .eg-card {
	--c: var(--eg-green);
	--icon: "\f02d";
	margin: 0 0 var(--eg-card-gap) 2%;
	padding: 12px 16px 8px;
	border-top: 4px solid var(--c);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 6px 18px rgba(0, 0, 0, 0.05);
	scroll-margin-top: 12px;
}
#section1.eg-guide .eg-card--intro       { --c: var(--eg-green);      --icon: "\f02d"; } /* book */
#section1.eg-guide .eg-card--types       { --c: var(--eg-teal);       --icon: "\f15c"; } /* file-alt */
#section1.eg-guide .eg-card--important   { --c: var(--eg-amber);      --icon: "\f05a"; } /* info-circle */
#section1.eg-guide .eg-card--submission  { --c: var(--eg-blue);       --icon: "\f1d8"; } /* paper-plane */
#section1.eg-guide .eg-card--review      { --c: var(--eg-violet);     --icon: "\f4fc"; } /* user-check */
#section1.eg-guide .eg-card--preparation { --c: var(--eg-green-dark); --icon: "\f5ad"; } /* pen-nib */

#section1.eg-guide .eg-nav a[href="#g-intro"]       { --c: var(--eg-green); }
#section1.eg-guide .eg-nav a[href="#g-types"]       { --c: var(--eg-teal); }
#section1.eg-guide .eg-nav a[href="#g-important"]   { --c: var(--eg-amber); }
#section1.eg-guide .eg-nav a[href="#g-submission"]  { --c: var(--eg-blue); }
#section1.eg-guide .eg-nav a[href="#g-review"]      { --c: var(--eg-violet); }
#section1.eg-guide .eg-nav a[href="#g-preparation"],
#section1.eg-guide .eg-nav a[href="#g-contact"]     { --c: var(--eg-green-dark); }

/* Card heading: coloured icon badge + title */
#section1.eg-guide .eg-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto;
	margin: 0 0 8px !important;
	color: var(--c);
	font-size: 1.05rem;
	line-height: 1.3;
}
#section1.eg-guide .eg-card h3::before {
	content: var(--icon);
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--c) 14%, #fff);
	color: var(--c);
	font-family: "Font Awesome 5 Free";
	font-size: 0.85rem;
	font-weight: 900;
}

/* Paragraphs inside cards sit flush with the card padding */
#section1.eg-guide .eg-card p {
	width: auto;
	margin: 0 0 8px !important;
	color: var(--eg-text);
	line-height: 1.7;
}
#section1.eg-guide .eg-card--intro p {
	font-size: 0.95rem;
}

/* Sub-headings inside a card ("Article lengths:", ...) */
#section1.eg-guide p.eg-sub {
	margin-top: 12px !important;
	margin-bottom: 6px !important;
	padding-bottom: 3px;
	border-bottom: 1px solid color-mix(in srgb, var(--c) 25%, #fff);
}
#section1.eg-guide p.eg-sub strong {
	color: var(--c);
}

/* ---------- Lists ---------- */

#section1.eg-guide .eg-card ul.tt {
	margin: 0 0 8px;
	padding: 0;
}
#section1.eg-guide .eg-card ul.tt > li > strong:first-child {
	color: var(--c);
}

/* Preparation card lists: one row per item, coloured dot */
#section1.eg-guide .eg-card--preparation ul.tt:not(.eg-contact) > li {
	position: relative;
	margin: 0;
	padding: 4px 6px 4px 18px;
	border-bottom: 1px dotted #e3e3e3;
	line-height: 1.6;
	color: var(--eg-text);
}
#section1.eg-guide .eg-card--preparation ul.tt:not(.eg-contact) > li:last-child {
	border-bottom: 0;
}
#section1.eg-guide .eg-card--preparation ul.tt:not(.eg-contact) > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.9em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c);
}

/* Tile lists: manuscript types, important information, submission, review */
#section1.eg-guide .eg-card--types ul.tt,
#section1.eg-guide .eg-card--submission ul.tt {
	display: grid;
	gap: 8px;
}
#section1.eg-guide .eg-card--types ul.tt {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));   /* the 5 types in one row */
}
#section1.eg-guide .eg-card--submission ul.tt {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));   /* the 3 items fill the row */
}
#section1.eg-guide .eg-card--review ul.tt {
	column-count: 2;
	column-gap: 10px;
}
#section1.eg-guide .eg-card--types ul.tt > li,
#section1.eg-guide .eg-card--submission ul.tt > li,
#section1.eg-guide .eg-card--important ul.tt > li,
#section1.eg-guide .eg-card--review ul.tt > li {
	break-inside: avoid;
	margin: 0 0 8px;
	padding: 8px 10px;
	border: 0;
	border-left: 3px solid var(--c);
	border-radius: 6px;
	background: color-mix(in srgb, var(--c) 7%, #fff);
	line-height: 1.55;
	overflow-wrap: anywhere;   /* long web addresses wrap inside the tile */
}
#section1.eg-guide .eg-card--types ul.tt > li,
#section1.eg-guide .eg-card--submission ul.tt > li {
	margin: 0;
}

/* Manuscript types: term on top, description, word limit at the foot of the tile */
#section1.eg-guide .eg-card--types ul.tt > li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
#section1.eg-guide .eg-limit {
	align-self: flex-start;
	margin-top: auto;   /* all badges line up along the bottom of the tiles */
	padding: 1px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 16%, #fff);
	color: var(--c);
	font-size: 0.75rem;
	font-weight: bold;
	white-space: nowrap;
}
/* Important information: the 16 rules in four themed groups, two columns */
#section1.eg-guide .eg-groups {
	column-count: 2;
	column-gap: 14px;
}
#section1.eg-guide .eg-group {
	break-inside: avoid;
	margin: 0 0 12px;
}
#section1.eg-guide .eg-group h4 {
	margin: 0 0 6px;
	padding: 0 0 3px;
	border-bottom: 2px solid color-mix(in srgb, var(--c) 30%, #fff);
	color: var(--c);
	font-size: 0.8rem;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
#section1.eg-guide .eg-group ul.tt {
	margin: 0;
}

/* Numbered list (article structure): coloured numbers */
#section1.eg-guide .eg-card > ol.tt > li {
	margin-bottom: 6px;
	line-height: 1.6;
	color: var(--eg-text);
}
#section1.eg-guide .eg-card > ol.tt > li::marker {
	color: var(--c);
	font-weight: bold;
}

/* Reference examples (lists inside the article-structure list).
   They were meant to read "1) M. Elimelech ..." with a hanging indent (the page's
   closing_bracket style), but the markup gives that class as a second class
   attribute, which browsers ignore; the default "1." then sat on top of the text
   pulled left by the inline text-indent:-1.2em. Draw the intended "1)" here. */
#section1.eg-guide ol.tt ol.tt {
	list-style: none;
	counter-reset: eg-ref;
	padding-left: 1.4em !important;
}
#section1.eg-guide ol.tt ol.tt > li {
	counter-increment: eg-ref;
}
#section1.eg-guide ol.tt ol.tt > li::before {
	content: counter(eg-ref) ") ";
}

/* ---------- Contact box ---------- */

/* Row 1: e-mail, phone, fax side by side; row 2: the address across the box */
#section1.eg-guide ul.eg-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 32px;
	list-style: none !important;
	margin: 0 0 10px;
	padding: 10px 14px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--eg-green) 7%, #fff);
}
#section1.eg-guide ul.eg-contact > li {
	position: relative;
	margin: 0 !important;
	padding: 1px 0 1px 24px;
	line-height: 1.5;
}
#section1.eg-guide ul.eg-contact > li:nth-child(1) { order: 1; white-space: nowrap; }   /* e-mail */
#section1.eg-guide ul.eg-contact > li:nth-child(3) { order: 2; white-space: nowrap; }   /* phone */
#section1.eg-guide ul.eg-contact > li:nth-child(4) { order: 3; white-space: nowrap; }   /* fax */
#section1.eg-guide ul.eg-contact > li:nth-child(2) { order: 4; flex-basis: 100%; }      /* address */
#section1.eg-guide ul.eg-contact > li::before {
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	color: var(--eg-green);
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	text-align: center;
}
#section1.eg-guide ul.eg-contact > li:nth-child(1)::before { content: "\f0e0"; } /* envelope */
#section1.eg-guide ul.eg-contact > li:nth-child(2)::before { content: "\f3c5"; } /* map marker */
#section1.eg-guide ul.eg-contact > li:nth-child(3)::before { content: "\f095"; } /* phone */
#section1.eg-guide ul.eg-contact > li:nth-child(4)::before { content: "\f1ac"; } /* fax */

/* ---------- Narrow screens: one column everywhere ---------- */

@media screen and (max-width: 799px) {
	#section1.eg-guide .eg-card {
		margin-left: 0;
		padding: 10px 12px 6px;
	}
	#section1.eg-guide .eg-groups,
	#section1.eg-guide .eg-card--review ul.tt {
		column-count: 1;
	}
	#section1.eg-guide ul.eg-glance {
		margin-left: 0;
		grid-template-columns: repeat(2, 1fr);
	}
	#section1.eg-guide ul.eg-contact > li:nth-child(n) {
		flex-basis: 100%;
		white-space: normal;
	}
}
