/**
 * "First Volume / Most Recent Volume" feature module on the series page.
 *
 * Two side-by-side volume-highlight cards (rolled-back design per 2026-07
 * mock): grey padded cover on the left with a badge over its top-left
 * corner; series title, big volume title, grey description, then a single
 * "Read now for $X.XX" line, outlined Add to Cart, and a retailer-partners
 * link pinned to the card's bottom edge.
 */

.series-featured-volumes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	margin-block: var(--section-gap);
}

/* Column is a flex stack so both cards stretch to equal height */
.series-featured-volumes__column {
	display: flex;
	flex-direction: column;
}

/* Label voice (smallcaps via .kodansha--smallcaps in the template) over the
   same 2px rule the other series modules use for their headers. */
.series-featured-volumes__heading {
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--color-text);
	color: var(--color-text);
}

/* ── Volume-highlight card ─────────────────────────────────────────────── */

.volume-highlight {
	flex: 1;
	display: flex;
	gap: 2rem;
}

/* Grey padded cover panel; badge overlaps its top-left corner */
.volume-highlight__cover-wrapper {
	position: relative;
	flex: 0 0 clamp(160px, 46%, 320px);
	padding: 2.25rem 1.75rem;
	box-sizing: border-box;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
}

.volume-highlight__badge {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	z-index: 1;
}

.volume-highlight__cover {
	display: block;
	width: 100%;
}

.volume-highlight__cover-image {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

/* ── Content column ────────────────────────────────────────────────────── */

.volume-highlight__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding-block: 0.5rem;
}

.volume-highlight__series {
	font-family: "Maax Bold";
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--color-text);
	margin-bottom: 0.375rem;
}

.volume-highlight__title {
	font-family: "Maax Bold";
	font-weight: 400;
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: -0.5px;
	margin: 0 0 0.875rem;
}

.volume-highlight__title a {
	color: var(--color-text);
	text-decoration: none;
}

.volume-highlight__title a:hover {
	color: var(--color-red);
}

.volume-highlight__description {
	color: var(--color-text-2);
	font-size: 0.875rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	overflow: hidden;
}

.volume-highlight__read-account {
	margin: 0.75rem 0 0;
}

/* ── Commerce block, pinned to the card's bottom edge ──────────────────── */

.volume-highlight__commerce {
	margin-top: auto;
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.volume-highlight__price-line {
	font-family: "Maax Medium";
	font-weight: 400;
	font-size: 1.125rem;
	color: var(--color-text);
	margin: 0;
}

/* .button's 1rem loads after .kodansha--smallcaps and wins — restate the
   smallcaps size here. */
.volume-highlight__button {
	min-width: 15rem;
	padding: 0.875rem 1.5rem;
	font-size: 0.75rem;
	letter-spacing: 2px;
}

/* Underline comes from .kodansha--smallcaps--cta-link in the template;
   this only greys the link (cta-link's black is same-specificity but this
   file loads later). */
.volume-highlight__retailers {
	color: var(--color-text-2);
}

@media (max-width: 768px) {
	.series-featured-volumes {
		grid-template-columns: 1fr;
	}
}

/* Small phones: slimmer cover panel so the content column keeps enough
   room for the price line and button. */
@media (max-width: 480px) {
	.volume-highlight {
		gap: 1.25rem;
	}

	.volume-highlight__cover-wrapper {
		flex-basis: clamp(120px, 40%, 170px);
		padding: 1.25rem;
	}
}
