.ps-guides {
	--guide-ink: #1a0a2e;
	--guide-text: #5c4d6b;
	--guide-muted: #7a6b8a;
	--guide-purple: #7b2d8e;
	--guide-pink: #e91e8c;
	--guide-lilac: #f0e6f6;
	--guide-border: #ede5f2;
	--guide-heading: "Plus Jakarta Sans", "Inter", sans-serif;
	padding-block: 64px;
	background: #fff;
	color: var(--guide-ink);
	font: 400 16px/1.6 "Inter", system-ui, sans-serif;
}

.ps-guides__container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.ps-guides__container--narrow {
	max-width: 1024px;
}

.ps-guides .ps-guides__title {
	margin: 0;
	color: var(--guide-ink);
	font: 700 48px/1.2 var(--guide-heading);
	letter-spacing: normal;
	overflow-wrap: anywhere;
}

.ps-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ps-guide-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--guide-border);
	border-radius: 16px;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ps-guide-card:hover,
.ps-guide-card:focus-within {
	transform: translateY(-4px);
	border-color: #9b4db0;
	box-shadow: 0 20px 25px -5px #1a0a2e1a, 0 8px 10px -6px #1a0a2e0f;
}

.ps-guide-card__image {
	display: block;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	text-decoration: none;
}

.ps-guide-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.ps-guide-cover {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	display: flex;
	align-items: center;
	width: 100%;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	border-block: 2px solid #dc47c6;
	background: linear-gradient(#6e287f, #220d33);
	color: #fff;
}

.ps-guide-cover::after {
	position: absolute;
	z-index: -1;
	inset: 0 0 0 56%;
	background: url("guide-glassware.webp") 78% 52% / cover no-repeat;
	filter: grayscale(1);
	mask-image: linear-gradient(90deg, transparent 2%, #000 75%);
	mix-blend-mode: screen;
	content: "";
}

.ps-guide-cover strong {
	max-width: 62%;
	margin-inline-start: 6.5%;
	color: inherit;
	font: 700 clamp(16px, 4.8cqi, 48px)/1.18 var(--guide-heading);
	overflow-wrap: anywhere;
}

.ps-guide-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.ps-guide-card__meta,
.ps-guide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	color: var(--guide-muted);
	font-size: 12px;
}

.ps-guide-category {
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--guide-lilac);
	color: var(--guide-purple);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.ps-guides .ps-guide-card h2,
.ps-guides .ps-guide-card h3 {
	margin: 40px 0 16px;
	font: 700 24px/1.3 var(--guide-heading);
	letter-spacing: normal;
	overflow-wrap: anywhere;
}

.ps-guides .ps-guide-card h2 a,
.ps-guides .ps-guide-card h3 a {
	color: var(--guide-ink);
	text-decoration: none;
}

.ps-guides .ps-guide-card h2 a:hover,
.ps-guides .ps-guide-card h3 a:hover {
	color: var(--guide-purple);
}

.ps-guide-card__summary {
	flex: 1;
	margin: 0 0 16px;
	color: var(--guide-text);
	font-size: 14px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.ps-guide-card__read,
.ps-guide__return {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--guide-purple);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ps-guide-card__read:hover,
.ps-guide__return:hover {
	color: #c01070;
}

.ps-guides .pagination {
	margin-top: 48px;
}

.ps-guides .pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ps-guides .pagination .nav-links > .page-numbers {
	display: inline-grid;
	min-width: 48px;
	height: 48px;
	place-content: center;
	padding: 0 16px;
	border: 2px solid var(--guide-border);
	border-radius: 999px;
	background: #fff;
	color: var(--guide-text);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.ps-guides .pagination .nav-links > .current {
	border-color: transparent;
	background: linear-gradient(135deg, var(--guide-purple), var(--guide-pink));
	color: #fff;
}

.ps-guides .pagination .nav-links > a:hover {
	border-color: var(--guide-purple);
	background: var(--guide-lilac);
	color: var(--guide-purple);
}

.ps-guide__meta {
	margin-bottom: 24px;
	font-size: 14px;
}

.ps-guide__meta .ps-guide-category {
	padding-inline: 12px;
}

.ps-guide__image {
	overflow: hidden;
	margin: 0 0 32px;
	border-radius: 16px;
}

.ps-guide__image img {
	display: block;
	width: 100%;
	height: auto;
}

.ps-guide__content {
	color: var(--guide-text);
	font-size: 16px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.ps-guide__content h2,
.ps-guide__content h3 {
	color: var(--guide-ink);
	font-family: var(--guide-heading);
	font-weight: 700;
	line-height: 1.2;
}

.ps-guide__content h2 {
	margin: 40px 0 16px;
	font-size: 24px;
}

.ps-guide__content h3 {
	margin: 32px 0 12px;
	font-size: 20px;
}

.ps-guide__content p,
.ps-guide__content ul,
.ps-guide__content ol {
	margin: 0 0 20px;
}

.ps-guide__content ul,
.ps-guide__content ol {
	padding-inline-start: 24px;
}

.ps-guide__content ul { list-style: disc; }
.ps-guide__content ol { list-style: decimal; }
.ps-guide__content li { margin-bottom: 8px; }

.ps-guide__content a {
	color: var(--guide-purple);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ps-guide__content img {
	margin-block: 24px;
	border-radius: 12px;
}

.ps-guide__content blockquote {
	margin: 24px 0;
	padding: 16px 24px;
	border-inline-start: 4px solid var(--guide-purple);
	border-radius: 0 8px 8px 0;
	background: #f8f5fa;
	font-style: italic;
}

.ps-guide__content table {
	display: block;
	max-width: 100%;
	overflow: auto;
}

.ps-guide .post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--guide-border);
}

.ps-guide .post-navigation .nav-next {
	margin-inline-start: auto;
	text-align: right;
}

.ps-guide .post-navigation a {
	color: var(--guide-purple);
	text-decoration: none;
}

.ps-guide__nav-label {
	display: block;
	color: var(--guide-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.ps-guide__return {
	margin-top: 24px;
}

@media (max-width: 1024px) {
	.ps-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	.ps-guides .ps-guides__title { font-size: 30px; }
	.ps-guides__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.ps-guide-card { transition: none; }
	.ps-guide-card:hover, .ps-guide-card:focus-within { transform: none; }
}
