/*
Theme Name: Royal Elementor Kit — SciPro
Description: Child theme with SciPro journal, conference paper, and proceedings templates.
Author: SciPro
Template: royal-elementor-kit
Version: 1.0.0
Text Domain: royal-scipro
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
	--scipro-accent: #2467a6;
	--scipro-accent-dark: #184a78;
	--scipro-text: #2f3740;
	--scipro-muted: #68737d;
	--scipro-border: #dce3e8;
	--scipro-soft: #f5f8fa;
}

.scipro-main {
	width: 100%;
	margin: 0 auto 3.5rem;
}

.scipro-entry,
.scipro-archive {
	color: var(--scipro-text);
}

.scipro-entry-header,
.scipro-archive-header {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--scipro-border);
}

.scipro-entry-title,
.scipro-entry-subtitle,
.scipro-archive-title {
	margin-right: auto;
	margin-left: auto;
	max-width: 900px;
	text-align: center;
}

.scipro-entry-title {
	font-size: clamp(1.8rem, 4vw, 2.65rem);
	line-height: 1.2;
}

.scipro-entry-subtitle {
	color: #4b5660;
	font-size: clamp(1.25rem, 3vw, 1.8rem);
	line-height: 1.3;
}

.scipro-kicker {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .45rem 1rem;
	margin-bottom: 1rem;
	color: var(--scipro-muted);
	font-size: .92rem;
}

.scipro-kicker span:not(:last-child)::after {
	margin-left: 1rem;
	color: var(--scipro-border);
	content: "•";
}

.scipro-authors {
	margin: 1.5rem 0 2rem auto;
	max-width: 760px;
	text-align: right;
}

.scipro-authors p {
	margin-bottom: .45rem;
}

.scipro-field-block {
	margin: 1.15rem 0;
	padding: 1rem 1.1rem;
	background: var(--scipro-soft);
	border-left: 3px solid var(--scipro-accent);
}

.scipro-field-block > :last-child,
.scipro-paper > :last-child,
.scipro-description > :last-child {
	margin-bottom: 0;
}

.scipro-field-label {
	font-weight: 700;
}

.scipro-paper,
.scipro-description,
.scipro-bibliography {
	margin-top: 2rem;
}

.scipro-paper {
	font-size: 1.04rem;
	line-height: 1.7;
}

.scipro-paper img,
.scipro-description img {
	height: auto;
	max-width: 100%;
}

.scipro-paper table,
.scipro-description table {
	display: block;
	overflow-x: auto;
}

.scipro-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	justify-content: flex-end;
	margin: 1.5rem 0;
}

.scipro-button {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: .55rem .9rem;
	color: #fff;
	background: var(--scipro-accent);
	border-radius: 4px;
	text-decoration: none;
}

.scipro-button:hover,
.scipro-button:focus {
	color: #fff;
	background: var(--scipro-accent-dark);
}

.scipro-relation {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--scipro-border);
	border-radius: 5px;
}

.scipro-article-list,
.scipro-archive-list {
	margin: 1.25rem 0 2rem;
	padding-left: 1.5rem;
}

.scipro-article-list > li,
.scipro-archive-list > li {
	margin-bottom: .9rem;
	padding: 0 0 .9rem .35rem;
	border-bottom: 1px solid var(--scipro-border);
}

.scipro-list-item a {
	color: var(--scipro-text);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
}

.scipro-list-item a:hover,
.scipro-list-item a:focus {
	color: var(--scipro-accent);
	text-decoration: underline;
}

.scipro-list-meta {
	margin-bottom: .2rem;
	color: var(--scipro-muted);
	font-size: .9rem;
}

.scipro-entry-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--scipro-border);
	color: var(--scipro-muted);
	font-size: .9rem;
}

.scipro-empty {
	padding: 2rem;
	background: var(--scipro-soft);
	text-align: center;
}

.scipro-year-archive {
	font-size: 1.1rem;
	line-height: 1.9;
}

.scipro-year-archive li {
	margin-bottom: .4rem;
}

@media (max-width: 640px) {
	.scipro-kicker {
		display: block;
		text-align: center;
	}

	.scipro-kicker span {
		display: block;
		margin-bottom: .3rem;
	}

	.scipro-kicker span::after {
		display: none;
	}

	.scipro-authors {
		text-align: left;
	}

	.scipro-downloads {
		justify-content: flex-start;
	}

	.scipro-button {
		width: 100%;
		justify-content: center;
	}
}

@media print {
	.scipro-downloads,
	.scipro-entry-footer,
	#site-header,
	#page-footer {
		display: none !important;
	}

	.scipro-field-block,
	.scipro-relation {
		padding: .5rem 0;
		background: transparent;
		border: 0;
	}
}

.footer-copyright {
	line-height: 1.8;
}

.footer-copyright p {
	margin: 0;
}

