/*
 * Записи и служебные страницы (archive.php, single.php, page.php, 404.php) и информационный блок [gw_info] (БЭМ):
 * post-list, post-card, entry, static-page, not-found, callout. Значения перенесены из прежних классов Tailwind.
 */
.post-list {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 24px;
	padding-block: 48px;
}

.post-list__title {
	font-size: 30px;
	font-weight: 700;
	line-height: calc(2.25 / 1.875);
	color: oklch(21% .034 264.665);
	margin-bottom: 40px;
	text-align: center;
}

.post-list__grid {
	display: grid;
	gap: 32px;
}

.post-list__pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.post-card {
	border-radius: 16px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	background-color: #fff;
	overflow: hidden;
	transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background-color: oklch(96.7% .003 264.542);
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 20px;
}

.post-card__title {
	font-size: 18px;
	font-weight: 600;
	line-height: calc(1.75 / 1.125);
	color: oklch(21% .034 264.665);
	margin-bottom: 8px;
}

.post-card__excerpt {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(44.6% .03 256.802);
}

.post-card__more {
	display: inline-block;
	margin-top: 16px;
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 500;
	color: oklch(54.1% .281 293.009);
}

.static-page {
	flex: 1 1 0%;
	width: 100%;
	background-color: oklch(98.5% .002 247.839);
}

.static-page__hero {
	background-color: #fff;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.static-page__hero-inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 24px;
	padding-block: 64px;
	text-align: center;
}

.static-page__title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 16px;
	color: oklch(21% .034 264.665);
}

.static-page__updated {
	font-size: 20px;
	line-height: calc(1.75 / 1.25);
	color: oklch(44.6% .03 256.802);
}

.static-page__body {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 24px;
	padding-block: 48px;
}

.static-page__card {
	background-color: #fff;
	border-radius: 16px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	padding: 32px;
}

.entry {
	max-width: 768px;
	margin-inline: auto;
	padding-inline: 24px;
	padding-block: 48px;
}

.entry__title {
	font-size: 30px;
	font-weight: 700;
	line-height: calc(2.25 / 1.875);
	color: oklch(21% .034 264.665);
	margin-bottom: 16px;
}

.entry__date {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(55.1% .027 264.364);
	margin-bottom: 32px;
}

.entry__content {
	max-width: none;
	color: oklch(37.3% .034 259.733);
}

.not-found {
	max-width: 768px;
	margin-inline: auto;
	padding-inline: 24px;
	padding-block: 96px;
	text-align: center;
}

.not-found__title {
	font-size: 36px;
	font-weight: 700;
	line-height: calc(2.5 / 2.25);
	color: oklch(21% .034 264.665);
	margin-bottom: 16px;
}

.not-found__text {
	color: oklch(44.6% .03 256.802);
	margin-bottom: 32px;
}

.not-found__button {
	display: inline-flex;
	padding-inline: 32px;
	padding-block: 16px;
	border-radius: 14px;
	font-weight: 600;
	color: #fff;
}

.callout {
	background-color: oklch(97% .014 254.604);
	border-left-style: solid;
	border-left-width: 4px;
	border-color: oklch(62.3% .214 259.815);
	padding: 24px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	margin-block: 24px;
}

.callout__inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.callout__icon {
	font-size: 24px;
	line-height: calc(2 / 1.5);
	flex-shrink: 0;
}

.callout__body {
	min-width: 0;
	flex: 1 1 0%;
}

.callout__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: oklch(37.9% .146 265.522);
	margin-bottom: 8px;
}

.callout__text {
	color: oklch(42.4% .199 265.638);
	font-size: 14px;
	line-height: 1.625;
}

.post-card:hover {
	border-color: oklch(60.6% .25 292.717);
}

:where(.static-page__content > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 32px;
}

@media (min-width: 48rem) {
	.post-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.static-page__card {
		padding: 48px;
	}
}

@media (min-width: 64rem) {
	.post-list__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card__title a,
.post-card__more {
	text-decoration: none;
}

.not-found__button {
	background-image: linear-gradient(to right, #684dff, #4928d1, #684dff);
	text-decoration: none;
}

/* The title is a <p>: beat content rules such as .content_hook p { margin-bottom } */
.callout .callout__title {
	margin: 0 0 8px;
}
