/* Thème RIER — feuille chargée après le thème par défaut, côté public uniquement. */

:root {
	--rier-charcoal: #171717;
	--rier-black: #0d0d0d;
	--rier-white: #ffffff;
	--rier-paper: #f5f5f3;
	--rier-muted: #555555;
	--rier-gold: #c8a45d;
	--rier-line: #e4e2dc;
	--rier-serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
	--rier-sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
	--rier-width: 1120px;
}

body.rier-body {
	background: var(--rier-white);
	color: var(--rier-charcoal);
	font-family: var(--rier-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
}

body.rier-body h1,
body.rier-body h2,
body.rier-body h3,
body.rier-body .page_title {
	font-family: var(--rier-serif);
	font-weight: 600;
	line-height: 1.2;
	color: var(--rier-black);
}

body.rier-body a {
	color: var(--rier-charcoal);
}

body.rier-body a:hover,
body.rier-body a:focus {
	color: #6d5828;
}

.pkp_structure_head.rier-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--rier-charcoal);
	border-bottom: 0;
	color: var(--rier-white);
}

.rier-masthead-inner,
.rier-nav,
.rier-footer-inner,
.rier-footer-base {
	width: min(var(--rier-width), calc(100% - 3rem));
	margin-left: auto;
	margin-right: auto;
}

.rier-masthead {
	border-bottom: 1px solid rgba(200, 164, 93, 0.35);
}

.rier-masthead-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 92px;
	padding: 0.85rem 0;
}

.rier-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--rier-white);
	text-decoration: none;
	min-width: 220px;
}

.rier-brand img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.rier-brand-text {
	display: flex;
	flex-direction: column;
}

.rier-brand-sigle {
	font-family: var(--rier-serif);
	font-size: 1.35rem;
	letter-spacing: 0.14em;
	line-height: 1;
}

.rier-brand-name {
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #d9d4c8;
	max-width: 16rem;
	line-height: 1.35;
}

body.rier-body .rier-header .pkp_site_nav_menu {
	display: block;
	position: static;
	top: auto;
	left: auto;
	width: 100%;
	padding: 0;
	background: #101010;
	z-index: 5;
}

.rier-nav-bar {
	border-bottom: 1px solid var(--rier-gold);
}

.rier-nav-list,
.rier-footer-nav ul,
.rier-fields ul,
.rier-facts ul,
.rier-policy-nav ul,
.rier-people {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rier-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem 0.15rem;
	margin: 0;
	padding: 0.15rem 0;
}

body.rier-body .rier-header a,
body.rier-body .rier-footer a,
body.rier-body .rier-nav-list a,
body.rier-body .rier-user a {
	color: #ffffff;
	text-decoration: none;
}

body.rier-body .rier-brand-name {
	color: #d9d4c8;
}

body.rier-body .rier-nav-list a {
	display: inline-block;
	padding: 0.85rem 0.7rem;
	font-size: 0.92rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

body.rier-body .rier-nav-list a:hover,
body.rier-body .rier-nav-list a:focus,
body.rier-body .rier-footer a:hover,
body.rier-body .rier-footer a:focus,
body.rier-body .rier-header .rier-user a:hover,
body.rier-body .rier-header .rier-user a:focus,
body.rier-body .rier-brand:hover,
body.rier-body .rier-brand:focus {
	color: var(--rier-gold);
}

.rier-tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.rier-search {
	display: flex;
	align-items: center;
	border: 1px solid rgba(200, 164, 93, 0.55);
	background: #101010;
}

.rier-search input {
	background: transparent;
	border: 0;
	color: var(--rier-white);
	width: 15rem;
	padding: 0.55rem 0.75rem;
	font: inherit;
}

.rier-search input::placeholder {
	color: #b9b4a8;
}

.rier-search button,
.rier-btn,
.obj_article_details .obj_galley_link,
button.submit,
.cmp_button {
	font-family: var(--rier-sans);
}

.rier-search button {
	background: transparent;
	border: 0;
	border-left: 1px solid rgba(200, 164, 93, 0.55);
	color: var(--rier-gold);
	cursor: pointer;
	padding: 0.55rem 0.8rem;
	white-space: nowrap;
}

.rier-header .rier-btn {
	white-space: nowrap;
}

.rier-user .pkp_navigation_user {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.rier-footer-brand {
	display: grid;
	grid-template-columns: 72px 1fr;
	column-gap: 0.9rem;
	align-items: center;
}

.rier-footer-brand img {
	grid-row: 1 / span 3;
	width: 72px;
	height: 72px;
}

.rier-footer-brand p {
	margin: 0;
}

body.rier-body .rier-nav-toggle {
	position: static;
	box-shadow: none;
}

body.rier-body .rier-nav-toggle > span {
	position: static;
	top: auto;
	left: auto;
	transform: none;
	width: auto;
	height: auto;
	border: 0;
	text-indent: 0;
	overflow: visible;
}

.rier-search input {
	width: 15rem;
	max-width: 16rem;
}

body.rier-body a.rier-btn,
body.rier-body button.rier-btn {
	display: inline-block;
	border: 1px solid var(--rier-charcoal);
	background: var(--rier-charcoal);
	color: #ffffff;
	text-decoration: none;
	padding: 0.7rem 1.1rem;
	font-size: 0.95rem;
	line-height: 1.2;
}

body.rier-body a.rier-btn.rier-btn-line {
	background: transparent;
	color: var(--rier-charcoal);
}

body.rier-body .rier-header a.rier-btn-gold {
	background: transparent;
	border-color: var(--rier-gold);
	color: var(--rier-gold);
}

body.rier-body a.rier-btn:hover,
body.rier-body a.rier-btn:focus,
body.rier-body .rier-header a.rier-btn-gold:hover,
body.rier-body .rier-header a.rier-btn-gold:focus {
	background: var(--rier-gold);
	border-color: var(--rier-gold);
	color: var(--rier-black);
}

.rier-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--rier-gold);
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	cursor: pointer;
}

.rier-nav-toggle-icon,
.rier-nav-toggle-icon:before,
.rier-nav-toggle-icon:after {
	display: block;
	height: 1px;
	background: var(--rier-white);
	position: relative;
}

.rier-nav-toggle-icon {
	width: 1.1rem;
	margin: 0 auto;
}

.rier-nav-toggle-icon:before,
.rier-nav-toggle-icon:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
}

.rier-nav-toggle-icon:before { top: -6px; }
.rier-nav-toggle-icon:after { top: 6px; }

body.rier-body .pkp_structure_page .pkp_structure_content,
body.rier-body .pkp_structure_page .pkp_structure_main,
body.rier-body .pkp_structure_page .pkp_structure_main:first-child:last-child,
body.rier-body .pkp_structure_page .pkp_structure_sidebar {
	float: none;
	width: auto;
	max-width: none;
	background: transparent;
}

body.rier-body .pkp_structure_page .pkp_structure_content {
	display: block;
	padding: 0;
	margin: 0;
}

body.rier-body .pkp_structure_page .pkp_structure_main,
body.rier-body .pkp_structure_page .pkp_structure_main:first-child:last-child {
	width: min(var(--rier-width), calc(100% - 3rem));
	max-width: var(--rier-width);
	margin: 0 auto;
	padding: 2.25rem 0 4.5rem;
}

body.rier-body .pkp_structure_page .pkp_structure_main:before,
body.rier-body .pkp_structure_page .pkp_structure_main:after,
body.rier-body .pkp_structure_page .pkp_structure_main:first-child:last-child:before,
body.rier-body .pkp_structure_page .pkp_structure_main:first-child:last-child:after {
	content: none;
	display: none;
	background: transparent;
	width: 0;
	left: auto;
	right: auto;
}

body.rier-body .pkp_structure_sidebar {
	width: min(var(--rier-width), calc(100% - 3rem));
	margin: 0 auto 3rem;
	padding: 0;
}

body.rier-body .page > h1,
body.rier-body .rier-page > h1,
body.rier-body .rier-page-head h1 {
	margin: 0 0 0.8rem;
	font-size: clamp(2.1rem, 4vw, 3rem);
	font-weight: 560;
	letter-spacing: -0.015em;
}

.rier-page-head {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rier-line);
}

.rier-hero {
	padding: 3.5rem 0 2.5rem;
	border-bottom: 1px solid var(--rier-line);
}

.rier-hero-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.6fr;
	gap: 2rem;
	align-items: center;
}

.rier-kicker,
.rier-footer-label,
.obj_article_details .label {
	font-family: var(--rier-sans);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6d5828;
	font-weight: 600;
}

.rier-hero-full {
	margin: 0.4rem 0 0;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rier-muted);
}

.rier-hero h1 {
	margin: 0.2rem 0 0;
	font-size: clamp(3.5rem, 8vw, 6.5rem);
	letter-spacing: 0.08em;
	font-weight: 500;
}

.rier-rule {
	width: 4.5rem;
	height: 1px;
	background: var(--rier-gold);
	margin: 1rem 0;
}

.rier-lead {
	max-width: 38rem;
	color: var(--rier-muted);
	font-size: 1.15rem;
}

.rier-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.rier-hero-mark img {
	width: min(100%, 240px);
	height: auto;
	border-radius: 50%;
	display: block;
	margin-left: auto;
}

.rier-facts,
.rier-issue,
.rier-recent,
.rier-fields,
.rier-page {
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--rier-line);
}

.rier-facts {
	background: var(--rier-paper);
	margin: 0 -1.25rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.rier-facts ul,
.rier-fields ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
}

.rier-facts li,
.rier-fields li {
	padding-top: 0.55rem;
	border-top: 1px solid var(--rier-gold);
}

.rier-issue-id {
	font-family: var(--rier-serif);
	font-size: 1.5rem;
	margin-top: 0;
}

.rier-article-list li,
.obj_article_summary {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--rier-line);
}

.rier-article-list h3,
.rier-article-list h2,
.obj_article_summary .title {
	font-size: 1.45rem;
	margin: 0 0 0.35rem;
}

.rier-meta,
.obj_article_summary .meta,
.obj_article_details .authors {
	color: var(--rier-muted);
	font-size: 0.95rem;
}

.rier-summary {
	color: var(--rier-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 0.5rem;
}

.rier-text-link {
	border-bottom: 1px solid var(--rier-gold);
	text-decoration: none;
}

.cmp_breadcrumbs {
	margin: 0 0 1.5rem;
	font-size: 0.85rem;
	color: var(--rier-muted);
}

.cmp_breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.rier-body .cmp_breadcrumbs a {
	color: var(--rier-muted);
	text-decoration: none;
}

.cmp_breadcrumbs .separator {
	margin: 0 0.35rem;
	color: var(--rier-gold);
}

.rier-empty {
	color: var(--rier-muted);
	margin: 0 0 1.5rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--rier-line);
	border-bottom: 1px solid var(--rier-line);
	max-width: 36rem;
}

.rier-people li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--rier-line);
}

.rier-person-name {
	font-family: var(--rier-serif);
	font-size: 1.25rem;
	margin: 0;
}

.rier-policy-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 2rem;
}

.rier-policy-nav a {
	text-decoration: none;
	border-bottom: 1px solid var(--rier-gold);
}

.cmp_breadcrumbs {
	font-size: 0.85rem;
	color: var(--rier-muted);
	margin-top: 1.5rem;
}

.cmp_breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	padding: 0;
}

.page_article .page_title {
	font-size: clamp(2rem, 4vw, 3rem);
	max-width: 46rem;
}

.obj_article_details .row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(240px, 0.8fr);
	gap: 2.5rem;
	align-items: start;
}

.obj_article_details .entry_details {
	border-top: 1px solid var(--rier-gold);
	padding-top: 1rem;
}

.obj_article_details .main_entry .item,
.obj_article_details .entry_details .item {
	margin-bottom: 1.4rem;
}

body.rier-body a.obj_galley_link {
	display: inline-block;
	border: 1px solid var(--rier-charcoal);
	background: var(--rier-charcoal);
	color: #ffffff;
	padding: 0.45rem 0.7rem;
	text-decoration: none;
	margin: 0 0.4rem 0.4rem 0;
}

body.rier-body a.obj_galley_link:hover,
body.rier-body a.obj_galley_link:focus {
	background: var(--rier-gold);
	border-color: var(--rier-gold);
	color: var(--rier-black);
}

.rier-footer {
	background: var(--rier-charcoal);
	color: #e7e4dc;
	padding: 2.5rem 1.25rem 1.5rem;
}

.rier-footer-inner {
	max-width: var(--rier-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 1.5rem;
}

.rier-footer img {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
}

.rier-footer-sigle {
	font-family: var(--rier-serif);
	letter-spacing: 0.14em;
	font-size: 1.3rem;
	margin-bottom: 0;
}

.rier-footer-title {
	color: var(--rier-white);
}

.rier-footer-base {
	max-width: var(--rier-width);
	margin: 1.5rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(200, 164, 93, 0.45);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.9rem;
}

.pkp_page_index .pkp_structure_sidebar {
	display: none;
}

.pkp_page_index .pkp_structure_content.has_sidebar .pkp_structure_main {
	width: auto;
}

.page_login,
.page_register,
.page_lost_password,
.page_search,
.page_submissions,
.page_issue,
.page_issue_archive {
	padding-top: 1.5rem;
}

.page input[type="text"],
.page input[type="email"],
.page input[type="password"],
.page input[type="search"],
.page select,
.page textarea,
.cmp_form input[type="text"],
.cmp_form select {
	border: 1px solid #cfcbc2;
	background: var(--rier-white);
	padding: 0.55rem 0.7rem;
	font: inherit;
	width: 100%;
	max-width: 36rem;
}

button.submit,
.cmp_form .submit button {
	background: var(--rier-charcoal);
	color: var(--rier-white);
	border: 1px solid var(--rier-charcoal);
	padding: 0.65rem 1rem;
	cursor: pointer;
}

@media (max-width: 980px) {
	.rier-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: static;
		width: 2.5rem;
		height: 2.5rem;
		margin-left: 0.5rem;
		box-shadow: none;
	}

	.rier-masthead-inner {
		flex-wrap: wrap;
	}

	.rier-tools {
		order: 3;
		width: 100%;
		padding-bottom: 0.85rem;
	}

	body.rier-body .rier-header .pkp_site_nav_menu {
		display: none;
	}

	body.rier-body .rier-header .pkp_site_nav_menu.pkp_site_nav_menu--isOpen {
		display: block;
	}

	.rier-nav-list,
	.rier-tools,
	.rier-facts ul,
	.rier-fields ul,
	.rier-footer-inner,
	.obj_article_details .row,
	.rier-hero-grid {
		display: flex;
		flex-direction: column;
	}

	.rier-hero-mark img {
		margin-left: 0;
	}

	.rier-search input {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.rier-brand-name {
		display: none;
	}

	.rier-hero {
		padding-top: 2rem;
	}

	.pkp_structure_main {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media (max-width: 980px) {
	body.rier-body .rier-header .rier-nav-toggle {
		display: inline-flex;
		order: 2;
		margin-left: auto;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		flex: 0 0 auto;
		border: 1px solid var(--rier-gold);
		background: transparent;
		position: static;
	}

	body.rier-body .rier-header .rier-brand {
		order: 1;
		min-width: 0;
	}

	body.rier-body .rier-header .rier-tools {
		order: 3;
		align-items: stretch;
	}

	body.rier-body .rier-header .rier-nav-toggle > .pkp_screen_reader {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}

	body.rier-body .rier-header .rier-nav-toggle-icon {
		display: block;
		width: 1.15rem;
		height: 1px;
		background: #ffffff;
		position: relative;
	}
}
