/* =========================================================
   RSN About & Author Pages
   Dark GeneratePress-compatible layout
   ========================================================= */

.rsn-about-page-wrap,
.rsn-author-index,
.rsn-author-profile,
.rsn-author-latest-posts {
	box-sizing: border-box;
	color: #f4f4f5;
	font-family: "Lucida Sans", Arial, sans-serif;
}

.rsn-about-page-wrap *,
.rsn-author-index *,
.rsn-author-profile *,
.rsn-author-latest-posts * {
	box-sizing: border-box;
}

.rsn-about-page-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 36px 20px 60px;
}

.rsn-about-block {
	margin: 0 0 42px;
	padding: 0 0 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.rsn-about-block h1,
.rsn-about-block h2 {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 14px;
	color: #ffffff;
	font-family: "Lucida Sans", Arial, sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.rsn-about-block h1::after,
.rsn-about-block h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 3px;
	background: #d53e3e;
	border-radius: 999px;
}

.rsn-about-block h1 {
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.14;
}

.rsn-about-block h2 {
	font-size: clamp(21px, 2vw, 28px);
	line-height: 1.18;
}

.rsn-about-block p,
.rsn-about-block li {
	color: #e5e7eb;
	font-size: 18px;
	line-height: 1.72;
}

.rsn-about-block ul {
	margin: 14px 0 0 20px;
	padding: 0;
}

.rsn-author-index {
	width: 100%;
	margin: 36px auto;
}

.rsn-author-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 34px;
	align-items: stretch;
}

.rsn-author-index-cols-1 .rsn-author-grid {
	grid-template-columns: minmax(0, 1fr);
}

.rsn-author-index-cols-2 .rsn-author-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsn-author-index-cols-4 .rsn-author-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rsn-author-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100%;
	padding: 28px 24px 26px;
	background: linear-gradient(180deg, rgba(17, 17, 22, 0.96), rgba(3, 3, 5, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
	text-align: center;
}

.rsn-author-card-photo-link {
	display: block;
	margin: 0 0 22px;
	line-height: 0;
}

.rsn-author-card-photo {
	display: block;
	width: 140px;
	height: 90px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.rsn-author-card-name {
	margin: 0 0 7px;
	font-family: "Lucida Sans", Arial, sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.rsn-author-card-name a {
	color: #ffffff;
	text-decoration: none;
}

.rsn-author-card-title {
	margin: 0 0 14px;
	color: #b8bcc5;
	font-size: 14px;
	letter-spacing: 0.02em;
}

.rsn-author-card-bio {
	margin: 0 auto 18px;
	max-width: 340px;
	color: #f1f1f1;
	font-size: 15px;
	line-height: 1.55;
}

.rsn-author-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 6px 0 20px;
}

.rsn-author-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #d53e3e;
	border-radius: 999px;
	color: #d53e3e;
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rsn-author-socials a:hover,
.rsn-author-socials a:focus {
	background: #d53e3e;
	color: #ffffff;
	transform: translateY(-1px);
}

.rsn-author-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 200px);
	margin-top: auto;
	padding: 11px 16px;
	background: #c94747;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.18s ease, transform 0.18s ease;
}

.rsn-author-card-button:hover,
.rsn-author-card-button:focus {
	background: #d53e3e;
	transform: translateY(-1px);
}

.rsn-author-profile {
	max-width: 1080px;
	margin: 0 auto 42px;
	padding: 34px 20px 28px;
	background: transparent;
}

.rsn-author-profile-inner {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.rsn-author-profile-media {
	position: relative;
}

.rsn-author-profile-photo {
	display: block;
	width: 100%;
	max-width: 340px;
	aspect-ratio: 1.22 / 1;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.rsn-author-profile-name {
	margin: 0 0 6px;
	color: #d53e3e;
	font-family: "Lucida Sans", Arial, sans-serif;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.rsn-author-profile-title {
	margin: 0 0 14px;
	padding: 0 0 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	color: #d3d6dc;
	font-size: 16px;
	font-weight: 700;
}

.rsn-author-profile .rsn-author-socials {
	justify-content: flex-start;
	margin: 0 0 18px;
}

.rsn-author-profile-bio {
	color: #f1f1f1;
	font-size: 16px;
	line-height: 1.74;
}

.rsn-author-profile-bio p {
	margin: 0 0 16px;
}

.rsn-author-seen-on {
	margin: 28px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.rsn-author-seen-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
}

.rsn-author-seen-heading::before,
.rsn-author-seen-heading::after {
	content: "";
	height: 1px;
	background: rgba(255, 255, 255, 0.16);
	flex: 1;
}

.rsn-author-seen-heading::before {
	flex: 0 0 0;
}

.rsn-author-seen-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px 28px;
}

.rsn-author-seen-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	min-height: 44px;
	padding: 4px 0;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	filter: grayscale(1);
	opacity: 0.72;
	transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

.rsn-author-seen-logo:hover,
.rsn-author-seen-logo:focus {
	opacity: 1;
	filter: grayscale(0);
	transform: translateY(-1px);
}

.rsn-author-seen-logo img {
	display: block;
	max-width: 140px;
	max-height: 42px;
	object-fit: contain;
}

.rsn-author-seen-text-logo {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.52);
}

.rsn-author-latest-posts {
	max-width: 1080px;
	margin: 0 auto 60px;
	padding: 0 20px;
}

.rsn-author-latest-heading {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	font-family: "Lucida Sans", Arial, sans-serif;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.2;
}

.rsn-author-latest-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 64px;
	height: 3px;
	background: #d53e3e;
}

.rsn-author-latest-list {
	display: grid;
	gap: 18px;
}

.rsn-author-latest-item {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.rsn-author-latest-thumb {
	position: relative;
	display: block;
	min-height: 130px;
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
	text-decoration: none;
}

.rsn-author-latest-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 130px;
	object-fit: cover;
}

.rsn-author-latest-thumb span {
	position: absolute;
	left: 0;
	bottom: 0;
	display: inline-flex;
	padding: 7px 10px;
	background: #d53e3e;
	color: #ffffff;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.rsn-author-latest-content h3 {
	margin: 0 0 8px;
	font-family: "Lucida Sans", Arial, sans-serif;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.22;
	text-transform: uppercase;
}

.rsn-author-latest-content h3 a {
	color: #ffffff;
	text-decoration: none;
}

.rsn-author-latest-content h3 a:hover,
.rsn-author-latest-content h3 a:focus {
	color: #d53e3e;
}

.rsn-author-latest-date {
	margin: 0 0 8px;
	color: #b8bcc5;
	font-size: 12px;
}

.rsn-author-latest-content p {
	margin: 0;
	color: #d9dce3;
	font-size: 14px;
	line-height: 1.55;
}

.rsn-aap-empty {
	padding: 14px 16px;
	background: rgba(213, 62, 62, 0.12);
	border: 1px solid rgba(213, 62, 62, 0.28);
	color: #ffffff;
}

@media (max-width: 1024px) {
	.rsn-author-grid,
	.rsn-author-index-cols-4 .rsn-author-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rsn-author-profile-inner {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 26px;
	}
}

@media (max-width: 768px) {
	.rsn-about-page-wrap {
		padding: 26px 16px 42px;
	}

	.rsn-about-block {
		margin-bottom: 34px;
		padding-bottom: 28px;
	}

	.rsn-about-block p,
	.rsn-about-block li {
		font-size: 16px;
		line-height: 1.66;
	}

	.rsn-author-grid,
	.rsn-author-index-cols-2 .rsn-author-grid,
	.rsn-author-index-cols-3 .rsn-author-grid,
	.rsn-author-index-cols-4 .rsn-author-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.rsn-author-card {
		padding: 24px 18px;
	}

	.rsn-author-profile {
		padding: 22px 16px 24px;
	}

	.rsn-author-profile-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.rsn-author-profile-photo {
		max-width: none;
		aspect-ratio: 1.55 / 1;
	}

	.rsn-author-profile .rsn-author-socials {
		justify-content: flex-start;
	}

	.rsn-author-seen-logos {
		justify-content: center;
		gap: 18px;
	}

	.rsn-author-seen-logo {
		min-width: 92px;
	}

	.rsn-author-seen-text-logo {
		font-size: 23px;
	}

	.rsn-author-latest-posts {
		padding: 0 16px;
	}

	.rsn-author-latest-item {
		grid-template-columns: 132px minmax(0, 1fr);
		gap: 12px;
	}

	.rsn-author-latest-thumb,
	.rsn-author-latest-thumb img {
		min-height: 86px;
	}

	.rsn-author-latest-content h3 {
		font-size: 14px;
	}

	.rsn-author-latest-content p {
		display: none;
	}
}

@media (max-width: 480px) {
	.rsn-author-latest-item {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.rsn-author-socials a {
		width: 32px;
		height: 32px;
	}
}
