:root {
	--dr-ink: #181512;
	--dr-muted: #6e655e;
	--dr-paper: #fffaf3;
	--dr-panel: #ffffff;
	--dr-red: #9d1f1d;
	--dr-amber: #e0a128;
	--dr-line: #eadfd0;
	--dr-green: #315c48;
}

body {
	background: var(--dr-paper);
}
body.home .wp-block-post-title {
	display: none;
}

body.home #wp--skip-link--target {
	margin-top: 0 !important;
}

body.home #wp--skip-link--target > .wp-block-group.alignfull {
	padding-top: 0 !important;
}

body.home .entry-content {
	margin-top: 0 !important;
}

.dr-page {
	color: var(--dr-ink);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 20px 64px;
}

.dr-hero {
	align-items: stretch;
	background:
		linear-gradient(135deg, rgba(24, 21, 18, 0.92), rgba(87, 24, 22, 0.86)),
		url("dianetics-cover.jpg") center / cover;
	color: #fff7eb;
	display: grid;
	gap: clamp(24px, 4vw, 56px);
	grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	min-height: 430px;
	overflow: hidden;
	padding: clamp(28px, 5vw, 72px);
	position: relative;
}

.dr-hero::after {
	background: linear-gradient(90deg, rgba(224, 161, 40, 0.7), rgba(49, 92, 72, 0.85));
	bottom: 0;
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	right: 0;
}

.dr-hero__copy {
	align-self: center;
	max-width: 690px;
	position: relative;
	z-index: 1;
}

.dr-kicker {
	color: var(--dr-amber);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.dr-hero h1,
.dr-section-head h2 {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.dr-hero h1 {
	font-size: clamp(3.4rem, 9vw, 7.8rem);
	max-width: 720px;
	text-wrap: balance;
}

.dr-lede {
	color: #f2dfc2;
	font-size: clamp(1.06rem, 2vw, 1.35rem);
	line-height: 1.6;
	margin: 22px 0 0;
	max-width: 680px;
}

.dr-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.dr-meta span {
	background: rgba(255, 250, 243, 0.12);
	border: 1px solid rgba(255, 250, 243, 0.22);
	color: #fffaf3;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 9px 12px;
}

.dr-cover {
	align-self: center;
	justify-self: end;
	margin: 0;
	max-width: 320px;
	position: relative;
	z-index: 1;
}

.dr-cover img {
	aspect-ratio: 2 / 3;
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
	display: block;
	height: auto;
	object-fit: cover;
	width: min(100%, 320px);
}

.dr-cover figcaption {
	color: #f4d9a4;
	font-size: 0.78rem;
	margin-top: 10px;
	text-align: center;
}

.dr-reviews {
	margin-top: clamp(34px, 5vw, 56px);
}

.dr-section-head {
	margin-bottom: 18px;
	text-align: left;
}

.dr-section-head h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.dr-table-wrap {
	background: var(--dr-panel);
	border: 1px solid var(--dr-line);
	overflow-x: auto;
}

.dr-table {
	border-collapse: collapse;
	min-width: 1060px;
	width: 100%;
}

.dr-table th,
.dr-table td {
	border-bottom: 1px solid var(--dr-line);
	padding: 16px 14px;
	text-align: left;
	vertical-align: top;
}

.dr-table th {
	background: #f4eadc;
	color: #3c332b;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.dr-table tbody tr:hover {
	background: #fff7eb;
}

.dr-table td {
	color: var(--dr-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.dr-table td:first-child,
.dr-table td:nth-child(2),
.dr-table td:nth-child(4) {
	color: var(--dr-ink);
	font-weight: 700;
}

.dr-table td:nth-child(3) {
	min-width: 360px;
}

.dr-rating {
	display: inline-flex;
	font-size: 1.08rem;
	gap: 2px;
	line-height: 1;
	white-space: nowrap;
}

.dr-rating .is-filled {
	color: var(--dr-amber);
}

.dr-rating .is-empty {
	color: #d8cab8;
}


.dr-table a {
	color: var(--dr-red);
	font-weight: 800;
	text-decoration: none;
}

.dr-table a:hover,
.dr-table a:focus {
	text-decoration: underline;
}

@media (max-width: 760px) {
	.dr-page {
		padding-inline: 14px;
	}

	.dr-hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 28px;
	}

	.dr-cover {
		justify-self: start;
		max-width: 210px;
	}

	.dr-section-head h2 {
		margin-top: 0;
	}

	.dr-table-wrap {
		background: transparent;
		border: 0;
		overflow: visible;
	}

	.dr-table,
	.dr-table thead,
	.dr-table tbody,
	.dr-table tr,
	.dr-table th,
	.dr-table td {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.dr-table thead {
		clip: rect(0 0 0 0);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.dr-table tr {
		background: var(--dr-panel);
		border: 1px solid var(--dr-line);
		margin-bottom: 14px;
		padding: 12px 14px;
	}

	.dr-table td {
		border: 0;
		padding: 9px 0;
	}

	.dr-table td::before {
		color: var(--dr-green);
		content: attr(data-label);
		display: block;
		font-size: 0.72rem;
		font-weight: 800;
		margin-bottom: 2px;
		text-transform: uppercase;
	}
}
