/* ─── Resource Inner Hero ─────────────────────────── */
.ri-hero {
	height: 100vh;
	max-height: 1082px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background-color: #000;
}

.ri-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ri-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}

.ri-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: #070707;
	opacity: 0.57;
}

.ri-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 70px;
	max-width: 1225px;
	padding: 0 var(--section-padding);
	text-align: center;
}

.ri-hero__title {
	font-size: 64px;
	font-weight: var(--fw-regular);
	color: var(--text-white);
	line-height: 1.15;
}

.ri-hero__subtitle {
	font-size: 40px;
	font-weight: var(--fw-regular);
	color: rgba(172, 172, 172, 0.79);
}

/* ─── Article Content Section ────────────────────── */
.ri-content {
	padding: 100px;
}

.ri-content__body {
	max-width: 1653px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Article body typography — rendered from content_body HTML */
.ri-content__body p {
	font-size: 24px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.6;
}

.ri-content__body h2,
.ri-content__body h3 {
	font-size: 40px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.2;
}

.ri-content__body h4 {
	font-size: 32px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.3;
}

.ri-content__body img {
	width: 100%;
	border-radius: var(--radius);
	margin: 0;
}

.ri-content__body ul,
.ri-content__body ol {
	font-size: 24px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.6;
	padding-left: 24px;
	list-style: disc;
}

.ri-content__body ol {
	list-style: decimal;
}

.ri-content__body blockquote {
	border-left: 3px solid var(--primary-red);
	padding-left: 24px;
	margin: 0;
	font-size: 24px;
	font-style: italic;
	color: var(--text-body-gray);
}

.ri-content__body a {
	color: var(--primary-red);
	text-decoration: underline;
}

.ri-content__body a:hover {
	opacity: 0.8;
}

/* ─── Responses & Related Section ────────────────── */
.ri-engagement {
	display: flex;
	gap: 56px;
	align-items: flex-start;
	padding: 100px;
}

.ri-responses {
	flex: 0 0 1012px;
	display: flex;
	flex-direction: column;
	gap: 111px;
}

.ri-responses__header {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.ri-responses__title {
	font-size: 64px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
}

.ri-responses__input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	padding: 20px;
	background: #e8e8e8;
	border-radius: 5px;
}

.ri-responses__field {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 24px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	outline: none;
}

.ri-responses__field::placeholder {
	color: #8f8f8f;
}

.ri-responses__send {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dark);
	flex-shrink: 0;
}

.ri-responses__send:hover {
	opacity: 0.7;
}

.ri-responses__list {
	display: flex;
	flex-direction: column;
	gap: 111px;
}

/* ─── Response Card ──────────────────────────────── */
.ri-response-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ri-response-card__avatar {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.ri-response-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ri-response-card__avatar-placeholder {
	width: 100%;
	height: 100%;
	background: var(--bg-light);
	border-radius: 50%;
}

.ri-response-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ri-response-card__header {
	display: flex;
	flex-direction: column;
}

.ri-response-card__name {
	font-size: 40px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
}

.ri-response-card__time {
	font-size: 24px;
	font-weight: var(--fw-regular);
	color: #bebebe;
}

.ri-response-card__text {
	font-size: 24px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.5;
}

.ri-response-card__reply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	font-size: 20px;
	font-weight: var(--fw-regular);
	color: var(--primary-red);
	border-bottom: 2px solid var(--primary-red);
	align-self: flex-start;
	transition: opacity 0.2s;
}

.ri-response-card__reply:hover {
	opacity: 0.7;
}

/* ─── Engagement Divider ─────────────────────────── */
.ri-engagement__divider {
	width: 1px;
	align-self: stretch;
	background: #d9d9d9;
	flex-shrink: 0;
}

/* ─── Related Section ────────────────────────────── */
.ri-related {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.ri-related__title {
	font-size: 64px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
}

.ri-related__cards {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ri-related-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: opacity 0.2s;
}

.ri-related-card:hover {
	opacity: 0.8;
}

.ri-related-card__image {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1456 / 816;
}

.ri-related-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ri-related-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: var(--bg-light);
}

.ri-related-card__title {
	font-size: 40px;
	font-weight: var(--fw-regular);
	color: var(--text-dark);
	line-height: 1.065;
}

/* ─── Resources Queue Section ────────────────────── */
.ri-queue {
	padding: 0 100px 200px;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.ri-queue__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ri-queue__btn {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 10px;
	font-size: 32px;
	font-weight: var(--fw-regular);
	color: #828282;
	transition: opacity 0.2s;
}

.ri-queue__btn:hover {
	opacity: 0.7;
}

.ri-queue__btn svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.ri-queue__cards {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.ri-queue-card {
	flex: 0 0 calc(50% - 20px);
}

/* ─── Responsive: 1200px ─────────────────────────── */
@media (max-width: 1200px) {
	.ri-hero__title {
		font-size: 48px;
	}

	.ri-hero__subtitle {
		font-size: 30px;
	}

	.ri-hero__content {
		gap: 40px;
	}

	.ri-content {
		padding: 80px 60px;
	}

	.ri-content__body p {
		font-size: 20px;
	}

	.ri-content__body h2,
	.ri-content__body h3 {
		font-size: 32px;
	}

	.ri-content__body h4 {
		font-size: 28px;
	}

	.ri-content__body ul,
	.ri-content__body ol {
		font-size: 20px;
	}

	.ri-content__body blockquote {
		font-size: 20px;
	}

	.ri-engagement {
		padding: 80px 60px;
	}

	.ri-responses {
		flex: 0 0 55%;
	}

	.ri-responses__title {
		font-size: 48px;
	}

	.ri-responses__list {
		gap: 80px;
	}

	.ri-related__title {
		font-size: 48px;
	}

	.ri-related-card__title {
		font-size: 28px;
	}

	.ri-response-card__name {
		font-size: 28px;
	}

	.ri-response-card__text {
		font-size: 20px;
	}

	.ri-response-card__time {
		font-size: 20px;
	}

	.ri-queue {
		padding: 0 60px 150px;
	}

	.ri-queue__btn {
		font-size: 24px;
	}

	.ri-queue__cards {
		gap: 30px;
	}
}

/* ─── Responsive: 1024px ─────────────────────────── */
@media (max-width: 1024px) {
	.ri-hero {
		height: 600px;
	}

	.ri-hero__title {
		font-size: 36px;
	}

	.ri-hero__subtitle {
		font-size: 24px;
	}

	.ri-hero__content {
		gap: 30px;
	}

	.ri-content {
		padding: 60px 40px;
	}

	.ri-content__body {
		gap: 32px;
	}

	.ri-content__body p {
		font-size: 18px;
	}

	.ri-content__body h2,
	.ri-content__body h3 {
		font-size: 28px;
	}

	.ri-content__body ul,
	.ri-content__body ol {
		font-size: 18px;
	}

	.ri-content__body blockquote {
		font-size: 18px;
	}

	/* Stack engagement section vertically */
	.ri-engagement {
		flex-direction: column;
		padding: 60px 40px;
		gap: 60px;
	}

	.ri-responses {
		flex: none;
		width: 100%;
		gap: 60px;
	}

	.ri-responses__title {
		font-size: 36px;
	}

	.ri-responses__field {
		font-size: 18px;
	}

	.ri-responses__input {
		height: 56px;
		padding: 15px;
	}

	.ri-responses__list {
		gap: 60px;
	}

	.ri-engagement__divider {
		width: 100%;
		height: 1px;
		align-self: auto;
	}

	.ri-related {
		width: 100%;
		gap: 30px;
	}

	.ri-related__title {
		font-size: 36px;
	}

	.ri-related__cards {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 20px;
	}

	.ri-related-card {
		flex: 0 0 calc(33.333% - 14px);
	}

	.ri-related-card__title {
		font-size: 22px;
	}

	.ri-queue {
		padding: 0 40px 100px;
	}

	.ri-queue__btn {
		font-size: 20px;
	}

	.ri-queue__btn svg {
		width: 20px;
		height: 20px;
	}
}

/* ─── Responsive: 768px ──────────────────────────── */
@media (max-width: 768px) {
	.ri-hero {
		height: 500px;
	}

	.ri-hero__title {
		font-size: 28px;
	}

	.ri-hero__subtitle {
		font-size: 20px;
	}

	.ri-hero__content {
		gap: 20px;
		max-width: 100%;
	}

	.ri-content {
		padding: 40px 20px;
	}

	.ri-content__body {
		gap: 24px;
	}

	.ri-content__body p {
		font-size: 16px;
	}

	.ri-content__body h2,
	.ri-content__body h3 {
		font-size: 24px;
	}

	.ri-content__body h4 {
		font-size: 22px;
	}

	.ri-content__body ul,
	.ri-content__body ol {
		font-size: 16px;
	}

	.ri-content__body blockquote {
		font-size: 16px;
		padding-left: 16px;
	}

	.ri-engagement {
		padding: 40px 20px;
		gap: 40px;
	}

	.ri-responses {
		gap: 40px;
	}

	.ri-responses__title {
		font-size: 28px;
	}

	.ri-responses__list {
		gap: 40px;
	}

	.ri-response-card__avatar {
		width: 48px;
		height: 48px;
	}

	.ri-response-card__name {
		font-size: 22px;
	}

	.ri-response-card__time {
		font-size: 16px;
	}

	.ri-response-card__text {
		font-size: 16px;
	}

	.ri-response-card__reply {
		font-size: 16px;
	}

	.ri-responses__field {
		font-size: 16px;
	}

	.ri-responses__send {
		width: 32px;
		height: 32px;
	}

	.ri-responses__send svg {
		width: 32px;
		height: 32px;
	}

	.ri-related__title {
		font-size: 28px;
	}

	.ri-related__cards {
		flex-direction: column;
		gap: 20px;
	}

	.ri-related-card {
		flex: none;
		width: 100%;
	}

	.ri-related-card__title {
		font-size: 22px;
	}

	.ri-queue {
		padding: 0 20px 80px;
		gap: 16px;
	}

	.ri-queue__btn {
		font-size: 16px;
		gap: 6px;
		padding: 8px;
	}

	.ri-queue__btn svg {
		width: 16px;
		height: 16px;
	}

	.ri-queue__cards {
		flex-direction: column;
		gap: 24px;
	}

	.ri-queue-card {
		flex: none;
		width: 100%;
	}
}
