.rnpr-embed,
.rnpr-page {
	color: #1f2933;
	font-family: inherit;
}

.rnpr-embed,
.rnpr-embed *,
.rnpr-page,
.rnpr-page * {
	box-sizing: border-box;
}

.rnpr-embed {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(31, 41, 51, 0.06);
	margin: 1.8rem 0;
	padding: clamp(14px, 2.2vw, 20px);
	position: relative;
}

.rnpr-embed::before {
	background: linear-gradient(90deg, #e9486b, #f59f3a, #4f9fda);
	border-radius: 8px 8px 0 0;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.rnpr-embed__header,
.rnpr-actions,
.rnpr-single__meta,
.rnpr-card__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
}

.rnpr-embed__header {
	margin-bottom: 14px;
}

.rnpr-eyebrow {
	color: #e9486b;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.rnpr-embed__title,
.rnpr-page h1,
.rnpr-single__header h1,
.rnpr-detail-box h2 {
	color: #111827;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.rnpr-embed__title {
	font-size: clamp(1.22rem, 2.4vw, 1.6rem);
}

.rnpr-card-grid {
	display: grid;
	gap: 12px;
}

.rnpr-card-grid--embed {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rnpr-card-grid--embed.rnpr-card-grid--count-1 {
	grid-template-columns: 1fr;
}

.rnpr-card-grid--embed.rnpr-card-grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rnpr-card-grid--embed.rnpr-card-grid--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rnpr-card-grid--embed.rnpr-card-grid--count-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rnpr-card-grid--list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rnpr-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rnpr-card:hover {
	box-shadow: 0 14px 30px rgba(31, 41, 51, 0.12);
	transform: translateY(-2px);
}

.rnpr-card__link {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.rnpr-card__image {
	aspect-ratio: 1 / 1;
	background: #f3f4f6;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.rnpr-card__image--placeholder {
	align-items: center;
	color: #6b7280;
	display: flex;
	font-weight: 700;
	justify-content: center;
}

.rnpr-card__body {
	padding: 10px;
}

.rnpr-card--embed .rnpr-card__body {
	padding: 10px;
}

.rnpr-card--embed .rnpr-card__image {
	aspect-ratio: 16 / 9;
}

.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__link {
	align-items: stretch;
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
}

.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__image {
	aspect-ratio: auto;
	height: clamp(140px, 16vw, 190px);
	min-height: 0;
}

.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__body {
	align-content: start;
	display: grid;
	padding: 14px 16px;
}

.rnpr-card__type,
.rnpr-single__type {
	background: #eefdf8;
	border: 1px solid #b6ead9;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 8px;
	padding: 5px 9px;
}

.rnpr-card__title {
	color: #111827;
	font-size: 0.98rem;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 0 0 6px;
	overflow-wrap: anywhere;
}

.rnpr-card__summary {
	color: #4b5563;
	display: -webkit-box;
	font-size: 0.86rem;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.rnpr-card--embed .rnpr-card__summary {
	-webkit-line-clamp: 3;
}

.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__summary {
	font-size: 0.92rem;
	line-height: 1.7;
	-webkit-line-clamp: 4;
}

.rnpr-card__meta {
	border-top: 1px solid #eef0f3;
	color: #6b7280;
	font-size: 0.82rem;
	justify-content: flex-start;
	padding: 10px 12px 12px;
}

.rnpr-card__meta a,
.rnpr-more-link,
.rnpr-detail-box a,
.rnpr-source-box a,
.rnpr-single__meta a {
	color: #0f766e;
	font-weight: 700;
	text-decoration: none;
}

.rnpr-card__meta a:hover,
.rnpr-more-link:hover,
.rnpr-detail-box a:hover,
.rnpr-source-box a:hover,
.rnpr-single__meta a:hover {
	text-decoration: underline;
}

.rnpr-embed__footer {
	border-top: 1px solid #eef0f3;
	margin-top: 16px;
	padding-top: 14px;
	text-align: right;
}

.rnpr-button {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 18px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rnpr-button--primary {
	background: #111827;
	border: 1px solid #111827;
	color: #fff;
}

.rnpr-button--primary:hover {
	background: #374151;
	border-color: #374151;
	color: #fff;
	text-decoration: none;
}

.rnpr-button--ghost {
	background: #fff;
	border: 1px solid #d1d5db;
	color: #111827;
}

.rnpr-button--ghost:hover {
	border-color: #0f766e;
	color: #0f766e;
	text-decoration: none;
}

.rnpr-empty,
.rnpr-notice {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: #4b5563;
	line-height: 1.8;
	margin: 0;
	padding: 16px;
}

.rnpr-page {
	background: #f7f8fa;
	padding: clamp(28px, 5vw, 56px) 0;
}

.rnpr-page__inner {
	margin: 0 auto;
	max-width: 1080px;
	padding: 0 16px;
}

.rnpr-page-header,
.rnpr-author-header,
.rnpr-single {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 20px;
	padding: clamp(20px, 3.5vw, 34px);
}

.rnpr-page-header h1,
.rnpr-single__header h1 {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	margin-bottom: 12px;
}

.rnpr-page-header p:last-child {
	margin-bottom: 0;
}

.rnpr-actions {
	justify-content: flex-start;
	margin-top: 18px;
}

.rnpr-author-header {
	align-items: center;
	display: flex;
	gap: 18px;
}

.rnpr-author-header__avatar {
	border-radius: 50%;
	flex: 0 0 auto;
}

.rnpr-source-box {
	align-items: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 18px;
	padding: 14px 16px;
}

.rnpr-source-box span {
	color: #6b7280;
	font-size: 0.82rem;
	font-weight: 700;
}

.rnpr-form {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: grid;
	gap: 18px;
	padding: clamp(18px, 3vw, 28px);
}

.rnpr-field {
	display: grid;
	gap: 8px;
}

.rnpr-fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.rnpr-field span,
.rnpr-fieldset legend,
.rnpr-check {
	color: #111827;
	font-weight: 700;
}

.rnpr-choice-group {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rnpr-choice {
	align-items: center;
	background: #f9fafb;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	display: flex;
	gap: 8px;
	min-height: 46px;
	padding: 10px 12px;
}

.rnpr-choice span {
	font-size: 0.94rem;
}

.rnpr-field input[type="text"],
.rnpr-field input[type="url"],
.rnpr-field input[type="file"],
.rnpr-field textarea {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font: inherit;
	line-height: 1.6;
	padding: 11px 12px;
	width: 100%;
}

.rnpr-field textarea {
	min-height: 120px;
	resize: vertical;
}

.rnpr-field small {
	color: #6b7280;
	font-size: 0.86rem;
	line-height: 1.6;
}

.rnpr-check {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	line-height: 1.7;
}

.rnpr-check input {
	flex: 0 0 auto;
	margin-top: 0.35em;
}

.rnpr-notice {
	margin-bottom: 18px;
}

.rnpr-notice--success {
	background: #ecfdf3;
	border-color: #bbf7d0;
	color: #166534;
}

.rnpr-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.rnpr-notice ul {
	margin: 0;
	padding-left: 1.2em;
}

.rnpr-single {
	margin-bottom: 0;
}

.rnpr-single__header {
	margin-bottom: 20px;
}

.rnpr-single__type {
	margin-bottom: 12px;
}

.rnpr-single__meta {
	color: #6b7280;
	font-size: 0.92rem;
	justify-content: flex-start;
}

.rnpr-single__gallery {
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
}

.rnpr-single__gallery figure {
	margin: 0;
}

.rnpr-single__gallery-link {
	background: #f3f4f6;
	border-radius: 8px;
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.rnpr-single__gallery img {
	background: #f3f4f6;
	border-radius: 8px;
	display: block;
	height: auto;
	width: 100%;
}

.rnpr-single__gallery-link:hover img {
	transform: scale(1.015);
}

.rnpr-single__gallery-image {
	transition: transform 0.2s ease;
}

.rnpr-single__gallery-main img {
	max-height: 640px;
	object-fit: contain;
}

.rnpr-single__gallery-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rnpr-single__gallery-grid .rnpr-single__gallery-link {
	align-items: center;
	aspect-ratio: 4 / 3;
	display: flex;
	justify-content: center;
}

.rnpr-single__gallery-grid img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.rnpr-single__gallery-zoom {
	background: rgba(17, 24, 39, 0.78);
	border-radius: 999px;
	bottom: 8px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	padding: 7px 10px;
	position: absolute;
	right: 8px;
}

.rnpr-lightbox-open {
	overflow: hidden;
}

.rnpr-lightbox {
	align-items: center;
	background: rgba(17, 24, 39, 0.86);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.rnpr-lightbox__image {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
	display: block;
	max-height: 90vh;
	max-width: min(96vw, 1200px);
	object-fit: contain;
	width: auto;
}

.rnpr-lightbox__close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.6rem;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	line-height: 1;
	position: fixed;
	right: 18px;
	top: 18px;
	width: 42px;
}

.rnpr-single__content {
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.rnpr-single__comments {
	border-top: 1px solid #e5e7eb;
	margin-top: 32px;
	padding-top: 24px;
}

.rnpr-detail-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-top: 28px;
	padding: 18px;
}

.rnpr-detail-box h2 {
	font-size: 1.15rem;
	margin-bottom: 12px;
}

.rnpr-detail-box ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rnpr-detail-box li {
	display: grid;
	gap: 4px;
	line-height: 1.65;
}

.rnpr-detail-box span {
	color: #6b7280;
	font-size: 0.82rem;
	font-weight: 700;
}

.rnpr-pagination {
	margin-top: 24px;
}

.rnpr-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rnpr-pagination a,
.rnpr-pagination span {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	color: #111827;
	display: block;
	min-width: 40px;
	padding: 8px 12px;
	text-align: center;
	text-decoration: none;
}

.rnpr-pagination .current {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

@media (max-width: 960px) {
	.rnpr-card-grid--embed.rnpr-card-grid--count-3,
	.rnpr-card-grid--embed.rnpr-card-grid--count-4,
	.rnpr-card-grid--list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rnpr-embed__header,
	.rnpr-author-header {
		align-items: stretch;
		flex-direction: column;
	}

	.rnpr-card-grid--embed.rnpr-card-grid--count-1,
	.rnpr-card-grid--embed.rnpr-card-grid--count-2,
	.rnpr-card-grid--embed.rnpr-card-grid--count-3,
	.rnpr-card-grid--embed.rnpr-card-grid--count-4,
	.rnpr-card-grid--list {
		grid-template-columns: 1fr;
	}

	.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__link {
		display: block;
		min-height: 0;
	}

	.rnpr-card-grid--count-1 .rnpr-card--embed .rnpr-card__image {
		aspect-ratio: 16 / 9;
		height: auto;
		min-height: 0;
	}

	.rnpr-choice-group {
		grid-template-columns: 1fr;
	}

	.rnpr-single__gallery-grid {
		grid-template-columns: 1fr;
	}

	.rnpr-button {
		width: 100%;
	}

	.rnpr-embed__footer {
		text-align: left;
	}
}
