/**
 * Author archive styles — loaded ONLY on author pages.
 * All rules are scoped under body.author to avoid affecting the rest of the site.
 */

body.author .rmc-author-page .space-page-section-ins {
	padding-top: 30px;
	padding-bottom: 60px;
}

body.author .rmc-author-page .space-content-section.no-sidebar {
	max-width: 100%;
	width: 100%;
	margin: 0;
}

body.author .rmc-author-page .space-block-title {
	padding-left: 0;
	padding-right: 0;
}

body.author .rmc-author-social {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

body.author .rmc-author-social a,
body.author .rmc-author-social a:visited {
	font-family: 'Roboto', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--rmc-author-accent, #004d33);
	transition: opacity 0.2s ease;
}

body.author .rmc-author-social a:hover {
	opacity: 0.85;
	text-decoration: underline;
}

body.author .rmc-author-section-title {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 10px;
}

body.author .rmc-author-columns {
	margin-bottom: 30px;
}

body.author .rmc-author-columns > .box-100 {
	float: none;
	margin-bottom: 24px;
}

body.author .rmc-author-columns > .box-100:last-child {
	margin-bottom: 0;
}

body.author .rmc-author-card {
	margin: 0;
	padding: 24px 20px;
	border-radius: 10px;
	background-color: var(--rmc-author-card-bg, #1e1e1e);
	border: 1px solid var(--rmc-author-border, #333333);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.author .rmc-author-card__title {
	font-family: 'Roboto', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 18px;
	padding-bottom: 14px;
	color: var(--rmc-author-title, #ffffff);
	border-bottom: 1px solid var(--rmc-author-border, #333333);
}

body.author .rmc-author-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--rmc-author-border, #333333);
}

body.author .rmc-author-card__list li {
	margin: 0;
	border-bottom: 1px solid var(--rmc-author-border, #333333);
}

body.author .rmc-author-card__list a,
body.author .rmc-author-card__list a:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--rmc-author-title, #ffffff);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
	min-height: 100%;
}

body.author .rmc-author-card__list a span {
	flex: 1;
	min-width: 0;
}

body.author .rmc-author-card__list a i {
	flex-shrink: 0;
	font-size: 0.7rem;
	color: var(--rmc-author-accent, #004d33);
	opacity: 0.85;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body.author .rmc-author-card__list a:hover,
body.author .rmc-author-card__list a:hover span {
	color: var(--rmc-author-accent, #004d33);
}

body.author .rmc-author-card__list a:hover {
	background-color: rgba(255, 255, 255, 0.04);
	padding-left: 14px;
}

body.author .rmc-author-card__list a:hover i {
	transform: translateX(3px);
	opacity: 1;
}

body.author .rmc-author-intro p,
body.author .rmc-author-card--empty p {
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
	line-height: 1.65;
	color: var(--rmc-author-body, #777777);
	margin: 0 0 14px;
}

body.author .rmc-author-intro p:last-child {
	margin-bottom: 0;
}

body.author .rmc-author-intro__email {
	color: var(--rmc-author-muted, #777777);
}

body.author .rmc-author-intro__email a,
body.author .rmc-author-intro__email a:visited {
	color: var(--rmc-author-accent, #004d33);
	font-weight: 700;
	text-decoration: none;
}

body.author .rmc-author-intro__email a:hover {
	text-decoration: underline;
}

body.author .rmc-author-page .rmc-author-section-title span:before,
body.author .rmc-author-page .rmc-author-section-title span:after {
	background-color: var(--rmc-author-accent, #004d33);
}

@media (max-width: 991px) {
	body.author .rmc-author-card__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 576px) {
	body.author .rmc-author-card {
		margin: 0;
		padding: 20px 18px;
	}

	body.author .rmc-author-social {
		gap: 8px 18px;
	}

	body.author .rmc-author-card__list {
		grid-template-columns: 1fr;
	}
}
