/*
 * Blog: listing (home, archive, search) and single post. Loaded by inc/blog.php on those views only.
 */

.es-blog,
.es-article {
	--b-navy: var(--es-navy, #2F2E79);
	--b-navy-x: var(--es-navy-x, #1A1A4E);
	--b-navy-t: var(--es-navy-t, #EEF0F8);
	--b-orange: var(--es-orange, #F68E1F);
	--b-orange-d: var(--es-orange-d, #E07C0E);
	--b-orange-t: var(--wp--preset--color--orange-tint, #FFF3E6);
	--b-ink: var(--es-ink, #23244A);
	--b-ink-2: var(--es-ink-2, #5B5D80);
	--b-ink-3: var(--es-ink-3, #8F91AE);
	--b-line: var(--es-line, #E4E6F0);
	--b-out: var(--wp--custom--ease-out, cubic-bezier(.16, 1, .3, 1));
	--b-wrap: 1440px; /* same as the header bar */
}

.es-blog .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Shared bits ---------- */

.es-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	font-size: .84rem;
	font-weight: 500;
	color: var(--b-ink-3);
}

.es-crumbs a {
	color: var(--b-ink-2);
	text-decoration: none;
}

.es-crumbs a:hover {
	color: var(--b-orange-d);
}

.es-chip {
	margin: 0;
	font-size: 0;
}

.es-chip a {
	display: inline-block;
	padding: .3rem .72rem;
	border-radius: 999px;
	background: var(--b-orange-t);
	color: var(--b-orange-d);
	font-family: var(--es-body);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s, color .25s;
}

.es-chip a:hover {
	background: var(--b-orange);
	color: #fff;
}

.es-chip .wp-block-post-terms__separator {
	display: none;
}

.es-postmeta {
	display: flex;
	flex-wrap: wrap;
	gap: .2rem .45rem;
	margin: 0;
	font-size: .8rem;
	font-weight: 500;
	color: var(--b-ink-3);
}

/* ---------- Listing hero ---------- */

.es-bloghero {
	position: relative;
	margin: 0;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 88% -10%, rgba(246, 142, 31, .28), transparent 60%),
		radial-gradient(700px 380px at 0% 110%, rgba(62, 61, 150, .55), transparent 65%),
		var(--b-navy-x);
	color: #fff;
}

.es-bloghero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
	pointer-events: none;
}

.es-bloghero__inner {
	position: relative;
	box-sizing: border-box;
	max-width: var(--b-wrap);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 88px) var(--es-gutter) clamp(36px, 5vw, 64px);
}

.es-bloghero .es-crumbs {
	color: rgba(255, 255, 255, .55);
}

.es-bloghero .es-crumbs a {
	color: rgba(255, 255, 255, .8);
}

.es-bloghero .es-crumbs a:hover {
	color: var(--b-orange);
}

.es-bloghero__kicker {
	display: block;
	margin-top: clamp(20px, 3vw, 36px);
	font-size: .84rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--b-orange);
}

.es-bloghero__title {
	max-width: 20ch;
	margin: .6rem 0 0;
	color: #fff;
	font-family: var(--es-head);
	font-size: clamp(2.1rem, 5vw, 4.1rem);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.04;
	text-wrap: balance;
}

.es-bloghero__lede {
	max-width: 62ch;
	margin: 1.1rem 0 0;
	color: rgba(255, 255, 255, .75);
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	font-weight: 300;
	line-height: 1.7;
}

.es-bloghero__search {
	display: flex;
	align-items: center;
	gap: .5rem;
	max-width: 640px;
	margin-top: clamp(22px, 3vw, 32px);
	padding: 6px 6px 6px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.es-bloghero__search svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--b-ink-3);
}

.es-bloghero__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 .3rem;
	border: 0;
	background: transparent;
	color: var(--b-ink);
	font: inherit;
	font-size: 1rem;
	outline: none;
}

.es-bloghero__search button {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--b-orange);
	color: #fff;
	font: inherit;
	font-size: .95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .25s;
}

.es-bloghero__search button:hover {
	background: var(--b-orange-d);
}

.es-bloghero__search:focus-within {
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25), 0 0 0 4px rgba(246, 142, 31, .45);
}

.es-bloghero__topics {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: clamp(22px, 3vw, 30px);
}

.es-bloghero__topics a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem .95rem;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: .86rem;
	font-weight: 500;
	text-decoration: none;
	transition: background .25s, border-color .25s, color .25s;
}

.es-bloghero__topics a small {
	font-size: .72rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .55);
}

.es-bloghero__topics a:hover {
	border-color: rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.es-bloghero__topics a[aria-current] {
	border-color: var(--b-orange);
	background: var(--b-orange);
}

.es-bloghero__topics a[aria-current] small {
	color: rgba(255, 255, 255, .8);
}

/* Phones: one row of topics that scrolls sideways. */
@media (max-width: 639px) {
	.es-bloghero__topics {
		flex-wrap: nowrap;
		margin-right: calc(-1 * var(--es-gutter));
		padding-right: var(--es-gutter);
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}

	.es-bloghero__topics::-webkit-scrollbar {
		display: none;
	}

	.es-bloghero__topics a {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

/* ---------- Listing grid ---------- */

.es-blist {
	box-sizing: border-box;
	max-width: var(--b-wrap);
	margin: 0 auto !important;
	padding: clamp(40px, 5vw, 72px) var(--es-gutter) clamp(56px, 7vw, 96px);
}

.es-blist__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(20px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.es-blist__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body:not(.paged) .es-blist__grid > li:first-child {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1000px) {
	.es-blist__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body:not(.paged) .es-blist__grid > li:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.es-blist__grid > li {
	display: flex;
	min-width: 0;
	margin: 0 !important;
}

.es-blist__empty {
	padding: 2rem;
	border-radius: 22px;
	background: var(--b-navy-t);
	color: var(--b-ink-2);
	text-align: center;
}

/* ---------- Card (listing and related posts) ---------- */

.es-pcard {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--b-line);
	border-radius: 22px;
	background: #fff;
	transition: transform .4s var(--b-out), box-shadow .4s var(--b-out), border-color .3s;
}

.es-pcard > *,
.es-pcard__body > * {
	margin-block: 0 !important;
}

.es-pcard:hover {
	border-color: transparent;
	box-shadow: 0 24px 50px rgba(35, 34, 98, .12);
	transform: translateY(-4px);
}

.es-pcard__media {
	position: relative;
	display: block;
	margin: 0;
	overflow: hidden;
	background: var(--b-navy-t);
}

.es-pcard__media a {
	display: block;
	height: 100%;
}

.es-pcard__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .8s var(--b-out);
}

.es-pcard:hover .es-pcard__media img {
	transform: scale(1.04);
}

.es-pcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .65rem;
	padding: 1.25rem 1.35rem 1.4rem;
}

.es-pcard__title {
	margin: 0;
	font-family: var(--es-head);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.32;
	color: var(--b-navy);
}

.es-pcard__title a {
	color: inherit;
	text-decoration: none;
}

.es-pcard__title a:hover {
	color: var(--b-orange-d);
}

.es-pcard__excerpt,
.es-pcard__excerpt p {
	margin: 0;
	color: var(--b-ink-2);
	font-size: .92rem;
	font-weight: 300;
	line-height: 1.6;
}

.es-pcard__excerpt p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.es-pcard .es-postmeta {
	margin-top: auto !important;
	padding-top: .35rem;
}

/* Page 1's first post: a large tile across two columns and two rows. */
@media (min-width: 1000px) {
	body:not(.paged) .es-blist__grid > li:first-child .es-pcard__media {
		flex: 1 1 auto;
		min-height: 0;
	}

	body:not(.paged) .es-blist__grid > li:first-child .es-pcard__media img {
		height: 100%;
		aspect-ratio: auto;
		min-height: 320px;
	}

	body:not(.paged) .es-blist__grid > li:first-child .es-pcard__body {
		flex: 0 0 auto;
		padding: 1.6rem 1.8rem 1.8rem;
	}

	body:not(.paged) .es-blist__grid > li:first-child .es-pcard__title {
		font-size: clamp(1.5rem, 2vw, 1.9rem);
		letter-spacing: -.02em;
		line-height: 1.18;
	}

	body:not(.paged) .es-blist__grid > li:first-child .es-pcard__excerpt p {
		font-size: 1rem;
		-webkit-line-clamp: 2;
	}
}

/* ---------- Pagination ---------- */

.es-pager {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
	justify-content: center;
	margin-top: clamp(36px, 5vw, 56px) !important;
}

.es-pager .page-numbers,
.es-pager .wp-block-query-pagination-previous,
.es-pager .wp-block-query-pagination-next {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .9rem;
	border: 1px solid var(--b-line);
	border-radius: 999px;
	background: #fff;
	color: var(--b-navy);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .25s, color .25s, border-color .25s;
}

.es-pager .wp-block-query-pagination-previous,
.es-pager .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	white-space: nowrap;
}

.es-pager .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.es-pager a:hover {
	border-color: var(--b-navy);
	background: var(--b-navy);
	color: #fff;
}

.es-pager .page-numbers.current {
	border-color: var(--b-orange);
	background: var(--b-orange);
	color: #fff;
}

.es-pager .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- Single post: head ---------- */

.es-article__head {
	margin: 0 !important;
	padding: clamp(28px, 4vw, 56px) var(--es-gutter) 0;
	background: linear-gradient(var(--b-navy-t) 0, var(--b-navy-t) calc(100% - clamp(80px, 12vw, 180px)), #fff calc(100% - clamp(80px, 12vw, 180px)));
}

.es-article__intro {
	display: grid;
	gap: .9rem;
	justify-items: start;
	max-width: calc(var(--b-wrap) - 2 * var(--es-gutter));
	margin: 0 auto !important;
}

.es-article__intro > * {
	margin: 0 !important;
}

.es-article__intro .es-chip {
	margin-top: .6rem !important;
}

.es-article__title {
	max-width: 24ch;
	color: var(--b-navy);
	font-family: var(--es-head);
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.06;
	text-wrap: balance;
}

.es-article__intro .es-postmeta {
	font-size: .88rem;
}

.es-article__image {
	max-width: calc(var(--b-wrap) - 2 * var(--es-gutter));
	margin: clamp(24px, 3.5vw, 44px) auto 0 !important;
	overflow: hidden;
	border-radius: clamp(18px, 2.4vw, 32px);
	box-shadow: 0 30px 70px rgba(26, 26, 78, .16);
}

.es-article__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

/* ---------- Single post: body ---------- */

.es-article__body {
	display: grid;
	gap: clamp(24px, 4vw, 72px);
	max-width: var(--b-wrap);
	margin: 0 auto !important;
	padding: clamp(36px, 5vw, 72px) var(--es-gutter) clamp(48px, 6vw, 88px);
	box-sizing: border-box;
}

@media (min-width: 1000px) {
	.es-article__body {
		grid-template-columns: 300px minmax(0, 1fr);
		align-items: start;
	}
}

.es-article__body > * {
	margin: 0 !important;
	min-width: 0;
}

/* Sidebar */

.es-aside {
	display: grid;
	gap: 1.2rem;
}

@media (min-width: 1000px) {
	.es-aside {
		position: sticky;
		top: calc(var(--es-bar, 76px) + 28px);
		max-height: calc(100vh - var(--es-bar, 76px) - 56px);
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

.es-progress {
	position: fixed;
	top: var(--es-bar, 76px);
	left: 0;
	right: 0;
	z-index: 999;
	height: 3px;
	pointer-events: none;
}

body.admin-bar .es-progress {
	top: calc(var(--es-bar, 76px) + 32px);
}

.es-progress i {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--b-orange);
	transform: scaleX(0);
	transform-origin: left;
}

.es-toc {
	border-radius: 18px;
	background: var(--b-navy-t);
	padding: .9rem 1rem;
}

.es-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	padding: .2rem .2rem;
	color: var(--b-navy);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.es-toc summary::-webkit-details-marker {
	display: none;
}

.es-toc summary::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .3s;
}

.es-toc[open] summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.es-toc__count {
	padding: .1rem .5rem;
	border-radius: 999px;
	background: #fff;
	color: var(--b-ink-2);
	font-size: .7rem;
	letter-spacing: 0;
}

.es-toc ol {
	display: grid;
	gap: 1px;
	margin: .7rem 0 0;
	padding: 0;
	list-style: none;
}

.es-toc a {
	display: block;
	padding: .45rem .75rem;
	border-left: 2px solid var(--b-line);
	border-radius: 0 10px 10px 0;
	color: var(--b-ink-2);
	font-size: .85rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: color .2s, background .2s, border-color .2s;
}

.es-toc a:hover {
	color: var(--b-navy);
	background: rgba(255, 255, 255, .7);
}

.es-toc a[aria-current] {
	border-left-color: var(--b-orange);
	background: #fff;
	color: var(--b-navy);
	font-weight: 600;
}

@media (min-width: 1000px) {
	.es-toc {
		padding: 1rem .6rem 1rem 1rem;
		background: transparent;
	}

	.es-toc summary {
		cursor: default;
		pointer-events: none;
	}

	.es-toc summary::after {
		display: none;
	}
}

.es-askcard {
	display: none;
	gap: .6rem;
	padding: 1.4rem;
	border-radius: 22px;
	background:
		radial-gradient(260px 160px at 100% 0, rgba(246, 142, 31, .35), transparent 70%),
		var(--b-navy);
	color: #fff;
}

@media (min-width: 1000px) {
	.es-askcard {
		display: grid;
	}
}

.es-askcard > * {
	margin: 0;
}

.es-askcard__kicker {
	color: var(--b-orange);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.es-askcard__title {
	font-family: var(--es-head);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
}

.es-askcard__text {
	color: rgba(255, 255, 255, .75);
	font-size: .86rem;
	font-weight: 300;
	line-height: 1.55;
}

.es-askcard__btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	justify-self: start;
	margin-top: .3rem;
	color: #fff;
	text-decoration: none;
}

.es-askcard__btn span,
.es-askcard__btn i {
	display: inline-grid;
	place-items: center;
	height: 44px;
	border-radius: 999px;
	background: var(--b-orange);
	transition: background .25s, transform .35s var(--b-out);
}

.es-askcard__btn span {
	padding: 0 1.1rem;
	font-size: .88rem;
	font-weight: 600;
}

.es-askcard__btn i {
	width: 44px;
}

.es-askcard__btn svg {
	width: 16px;
	height: 16px;
}

.es-askcard__btn:hover span,
.es-askcard__btn:hover i {
	background: var(--b-orange-d);
	color: #fff;
}

.es-askcard__btn:hover i {
	transform: translateX(4px);
}

.es-askcard__tel {
	color: #fff;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
}

.es-askcard__tel:hover {
	color: var(--b-orange);
}

/* ---------- Single post: article text ---------- */

.es-prose {
	max-width: 760px;
	color: var(--b-ink);
	font-size: 1.06rem;
	line-height: 1.8;
}

.es-prose > * {
	margin-block: 0 1.15em;
}

.es-prose [data-es-intoc] {
	display: none !important;
}

.es-prose h2,
.es-prose h3,
.es-prose h4 {
	color: var(--b-navy);
	font-family: var(--es-head);
	letter-spacing: -.02em;
	text-wrap: balance;
	scroll-margin-top: calc(var(--es-bar, 76px) + 28px);
}

.es-prose h2 {
	margin: 2.2em 0 .7em;
	font-size: clamp(1.45rem, 2.3vw, 1.9rem);
	font-weight: 800;
	line-height: 1.2;
}

.es-prose > h2:first-child,
.es-prose > [data-es-intoc] + [data-es-intoc] + h2 {
	margin-top: 0;
}

.es-prose h3 {
	margin: 1.8em 0 .5em;
	font-size: clamp(1.15rem, 1.6vw, 1.32rem);
	font-weight: 700;
	line-height: 1.3;
}

.es-prose h4 {
	margin: 1.5em 0 .4em;
	font-size: 1.05rem;
	font-weight: 700;
}

.es-prose h2 strong,
.es-prose h3 strong,
.es-prose h4 strong {
	font-weight: inherit;
}

.es-prose p {
	color: var(--b-ink);
}

.es-prose strong {
	font-weight: 600;
	color: var(--b-navy);
}

.es-prose a {
	color: var(--b-navy);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--b-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.es-prose a:hover {
	color: var(--b-orange-d);
}

.es-prose ul,
.es-prose ol {
	padding-left: 1.35em;
}

.es-prose li {
	margin: .4em 0;
	padding-left: .2em;
}

.es-prose li::marker {
	color: var(--b-orange);
	font-weight: 700;
}

.es-prose figure {
	margin: 1.8em 0;
}

.es-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 18px;
}

.es-prose figcaption {
	margin-top: .6em;
	color: var(--b-ink-3);
	font-size: .84rem;
	text-align: center;
}

.es-prose hr,
.es-prose .wp-block-separator {
	width: 100%;
	max-width: none;
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--b-line);
	background: none;
	opacity: 1;
}

.es-prose blockquote,
.es-prose .wp-block-quote {
	margin: 1.8em 0;
	padding: 1.1em 1.4em;
	border: 0;
	border-left: 4px solid var(--b-orange);
	border-radius: 0 16px 16px 0;
	background: var(--b-navy-t);
	color: var(--b-ink);
	font-size: 1.05em;
}

.es-prose blockquote p {
	margin: 0;
}

.es-prose .wp-block-table {
	margin: 1.8em 0;
	overflow-x: auto;
	border: 1px solid var(--b-line);
	border-radius: 16px;
}

.es-prose table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: .92rem;
	line-height: 1.5;
}

.es-prose th,
.es-prose td {
	padding: .75rem .9rem;
	border: 0;
	border-bottom: 1px solid var(--b-line);
	text-align: left;
	vertical-align: top;
}

.es-prose th,
.es-prose thead td {
	background: var(--b-navy-t);
	color: var(--b-navy);
	font-weight: 700;
}

.es-prose tr:last-child td {
	border-bottom: 0;
}

/* ---------- Related posts ---------- */

.es-related {
	box-sizing: border-box;
	max-width: var(--b-wrap);
	margin: 0 auto !important;
	padding: 0 var(--es-gutter) clamp(56px, 7vw, 96px);
}

.es-related__head {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem 1.4rem;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: clamp(20px, 2.6vw, 32px);
	padding-top: clamp(36px, 5vw, 56px);
	border-top: 1px solid var(--b-line);
}

.es-related__head h2 {
	margin: 0;
	color: var(--b-navy);
	font-family: var(--es-head);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -.03em;
}

.es-related__head a {
	color: var(--b-navy);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--b-orange);
	text-underline-offset: 4px;
}

.es-related__grid {
	display: grid;
	gap: clamp(20px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.es-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.es-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.es-related__grid .es-pcard__media img {
	aspect-ratio: 16 / 10;
}

/* ---------- Focus and motion ---------- */

.es-blog a:focus-visible,
.es-blog button:focus-visible,
.es-article a:focus-visible,
.es-article summary:focus-visible {
	outline: 3px solid var(--b-orange);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.es-blog *,
	.es-article *,
	.es-progress i {
		transition: none !important;
	}
}
