/* ------------------------------------------------------------------
   Blog: the blog page (template-blog.php widgets), category and tag
   pages, and articles (single-post.php). The dark intro comes from
   services.css (.ed-svc-hero); this file adds the rest.
   ------------------------------------------------------------------ */

.ed-blogp,
.ed-blogp *,
.ed-art,
.ed-art *,
.ed-artmore,
.ed-artmore *,
.ed-bstack,
.ed-bstack * {
	font-family: "Thmanyah Sans", sans-serif !important;
	letter-spacing: 0;
}

.ed-blogp .container::before,
.ed-blogp .container::after,
.ed-art .container::before,
.ed-art .container::after,
.ed-artmore .container::before,
.ed-artmore .container::after {
	display: none;
}

/* Intro: the newest covers stacked; the front one in colour with its title. */
.ed-bstack {
	position: relative;
	width: 100%;
	max-width: 440px;
	height: 400px;
	margin-bottom: 64px;
}

.ed-bstack__card {
	--k: 0;
	position: absolute;
	inset: auto 0 0 auto;
	z-index: calc(10 - var(--k));
	margin: 0;
	border-radius: 22px;
	background: #1b1b1b;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .8);
	width: calc(100% - 90px);
	transform: translate(calc(var(--k) * -30px), calc(var(--k) * -34px)) scale(calc(1 - var(--k) * .04));
	transform-origin: bottom right;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease, opacity .7s ease;
	/* Back cards are solid (dimmed, not see-through), so the front card always reads cleanly. */
	filter: grayscale(calc(min(var(--k), 1))) brightness(calc(1 - min(var(--k), 1) * .45));
}

.ed-bstack__card .ed-bpost__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.ed-bstack__card .ed-bpost__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ed-bstack__card .ed-bpost__media.is-fit img {
	object-fit: contain;
}

.ed-bstack__card figcaption {
	padding: 16px 20px 20px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.ed-bstack__card figcaption span {
	display: block;
	margin-bottom: 6px;
	color: var(--ed-lime);
	font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
	.ed-bstack__card {
		transition: none;
	}
}

/* Article cards. */
.ed-bpost {
	min-width: 0;
}

.ed-bpost[hidden] {
	display: none;
}

.ed-bpost__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--ed-line);
	border-radius: 24px;
	background: var(--ed-surface);
	overflow: hidden;
	color: var(--ed-text) !important;
	text-decoration: none !important;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

.ed-bpost__link:hover,
.ed-bpost__link:focus-visible {
	border-color: var(--ed-edge);
	box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .4);
	transform: translateY(-4px);
}

.ed-bpost__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--ed-bg-2);
	overflow: hidden;
}

.ed-bpost__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ed-bpost__link:hover .ed-bpost__media img {
	transform: scale(1.04);
}

.ed-bpost__media.is-fit {
	position: relative;
}

.ed-bpost__media.is-fit::before {
	content: "";
	position: absolute;
	inset: -20px;
	background: var(--bg) center / cover;
	filter: blur(18px) brightness(.9);
}

.ed-bpost__media.is-fit img {
	position: relative;
	object-fit: contain;
}

.ed-bpost__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 24px;
}

.ed-bpost__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	color: var(--ed-muted-3);
	font-size: 13px;
}

.ed-bpost__cat {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ed-lime);
	color: var(--ed-ink);
	font-weight: 700;
}

.ed-bpost__title {
	font-size: 19px;
	font-weight: 900;
	line-height: 1.55;
	text-align: right;
}

.ed-bpost__excerpt {
	color: var(--ed-muted);
	font-size: 16px;
	line-height: 1.85;
	text-align: right;
}

.ed-bpost__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 15px;
	font-weight: 700;
	transition: gap .2s ease;
}

.ed-bpost__more svg {
	width: 16px;
	height: 16px;
}

.ed-bpost__link:hover .ed-bpost__more {
	gap: 10px;
}

/* The featured article: picture beside the text. */
.ed-bpost--big .ed-bpost__link {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	border-radius: 28px;
}

.ed-bpost--big .ed-bpost__media {
	align-self: center;
	aspect-ratio: 16 / 9;
}

.ed-bpost--big .ed-bpost__link {
	align-items: center;
}

.ed-bpost--big .ed-bpost__body {
	justify-content: center;
	gap: 14px;
	padding: 40px;
}

.ed-bpost--big .ed-bpost__title {
	font-size: 30px;
	line-height: 1.45;
}

/* Blog page listing. */
.ed-blogp {
	padding: 76px 0;
	background: var(--ed-section);
	color: var(--ed-text-2);
}

.ed-blogp__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 64px 0 24px;
}

.ed-blogp__title {
	margin: 0;
	color: var(--ed-text);
	font-size: 30px !important;
	font-weight: 900;
	text-align: right;
}

.ed-blogp__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ed-blogp__topics button,
.ed-blogp__topics a {
	padding: 9px 16px;
	border: 1px solid var(--ed-line);
	border-radius: 999px;
	background: var(--ed-surface);
	color: var(--ed-text) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ed-blogp__topics span {
	margin-right: 4px;
	color: var(--ed-muted-3);
	font-weight: 500;
}

.ed-blogp__topics button:hover,
.ed-blogp__topics a:hover {
	border-color: var(--ed-edge);
}

.ed-blogp__topics .is-on {
	border-color: var(--ed-ink);
	background: var(--ed-ink);
	color: #fff !important;
}

.ed-blogp__topics .is-on span {
	color: var(--ed-lime);
}

.ed-blogp__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ed-blogp__empty {
	padding: 40px 0;
	color: var(--ed-muted);
	font-size: 18px;
	text-align: center !important;
}

/* ------------------------------------------------------------------
   Article (single-post.php).
   ------------------------------------------------------------------ */
.ed-svc-hero--art .ed-svc-hero__grid {
	grid-template-columns: minmax(0, 1fr);
}

.ed-svc-hero--art .ed-svc-hero__text {
	max-width: 880px;
	padding-bottom: 40px;
}

.ed-svc-hero--art .ed-svc-hero__title {
	font-size: 46px !important;
	line-height: 1.4;
}

.ed-art__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	color: var(--ed-muted-3);
	font-size: 14px;
}

.ed-art__crumbs a {
	color: var(--ed-muted-4) !important;
	text-decoration: none !important;
}

.ed-art__crumbs a:hover {
	color: var(--ed-lime) !important;
}

.ed-art__crumbs li + li::before {
	content: "‹";
	margin-left: 8px;
	color: #6b6e68;
}

.ed-art__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ed-muted-4);
	font-size: 15px;
}

.ed-art__meta b {
	color: #fff;
}

.ed-art {
	padding: 0 0 76px;
	/* The dark intro continues behind the top of the cover (the header's own layer sits above
	   the page, so the cover cannot overlap it). */
	background: linear-gradient(var(--ed-ink-2) 0 120px, var(--ed-surface) 120px);
	color: #2b2b2b;
}

/* The cover overlaps the dark intro; shown whole. */
.ed-art__cover {
	max-width: 1000px;
	margin: 0 auto 56px;
}

.ed-art__cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 28px;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45);
}

.ed-art__cover--small img {
	width: auto;
	max-width: 100%;
	max-height: 420px;
	margin: 0 auto;
}

.ed-art__grid {
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(0, 280px);
	justify-content: center;
	align-items: start;
	gap: 64px;
}

/* Reading column. */
.ed-art__body {
	color: var(--ed-text-2);
	font-size: 19px;
	line-height: 2;
}

.ed-art__body p,
.ed-art__body li {
	font-family: inherit !important;
	font-size: 19px !important;
	line-height: 2 !important;
	text-align: right !important;
}

.ed-art__body p {
	margin: 0 0 1.15em;
}

.ed-art__body h2,
.ed-art__body h3 {
	text-align: right !important;
}

.ed-art__body h2 {
	margin: 1.9em 0 .6em;
	color: var(--ed-text);
	font-size: 30px !important;
	font-weight: 900;
	line-height: 1.4;
	text-align: right;
	scroll-margin-top: 110px;
}

.ed-art__body h3 {
	margin: 1.5em 0 .45em;
	color: var(--ed-text);
	font-size: 22px !important;
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
}

.ed-art__body ul,
.ed-art__body ol {
	margin: 0 0 1.3em;
	padding-right: 1.3em;
}

.ed-art__body ul li {
	list-style: none;
	position: relative;
}

.ed-art__body ul li::before {
	content: "";
	position: absolute;
	top: .85em;
	right: -1.05em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ed-lime);
	box-shadow: 0 0 0 2px var(--ed-ink);
}

.ed-art__body ol li {
	list-style: arabic-indic;
}

.ed-art__body li {
	margin-bottom: .45em;
}

.ed-art__body a {
	color: var(--ed-text) !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-decoration-color: var(--ed-lime) !important;
	text-decoration-thickness: 3px !important;
	text-underline-offset: 4px;
}

.ed-art__body a:hover {
	background: var(--ed-lime);
}

.ed-art__body strong,
.ed-art__body b {
	color: var(--ed-text);
	font-weight: 700;
}

.ed-art__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5em auto;
	border-radius: 18px;
}

.ed-art__body blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-right: 4px solid var(--ed-lime);
	border-radius: 0 14px 14px 0;
	background: var(--ed-bg);
}

.ed-art__body pre {
	margin: 1.4em 0;
	padding: 18px 22px;
	border: 0;
	border-radius: 16px;
	background: var(--ed-ink);
	color: #e9ffe0;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
	font-size: 15px;
	line-height: 1.7;
	direction: ltr;
	text-align: left;
	white-space: pre;
	overflow-x: auto;
}

.ed-art__body pre * {
	font-family: inherit !important;
}

.ed-art__body code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--ed-bg-2);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
	font-size: .85em;
	direction: ltr;
	unicode-bidi: isolate;
}

.ed-art__body pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.ed-art__body table {
	width: 100%;
	margin: 1.4em 0;
	border-collapse: collapse;
	font-size: 16px;
}

.ed-art__body th,
.ed-art__body td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--ed-line);
	text-align: right;
}

.ed-art__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--ed-line);
	list-style: none;
}

.ed-art__tags a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ed-bg-2);
	color: var(--ed-text) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color .2s ease;
}

.ed-art__tags a:hover {
	background: var(--ed-lime);
}

/* Side column: contents, share, a small call to action, then our products, which stay in
   view for the rest of the article. */
.ed-art__side {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ed-art__toc {
	padding: 22px;
	border: 1px solid var(--ed-line);
	border-radius: 22px;
	background: var(--ed-surface);
}

.ed-art__toc summary {
	color: var(--ed-text);
	font-size: 16px;
	font-weight: 900;
	list-style: none;
	cursor: default;
}

.ed-art__toc summary::-webkit-details-marker {
	display: none;
}

.ed-art__toc ol {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.ed-art__toc li {
	counter-increment: toc;
}

.ed-art__toc a {
	position: relative;
	display: block;
	padding: 7px 26px 7px 0;
	color: var(--ed-muted) !important;
	font-size: 14px;
	line-height: 1.6;
	text-decoration: none !important;
	transition: color .2s ease;
}

.ed-art__toc a::before {
	content: counter(toc);
	position: absolute;
	top: 8px;
	right: 0;
	width: 18px;
	color: #b0b0aa;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.ed-art__toc a:hover,
.ed-art__toc a.is-on {
	color: var(--ed-text) !important;
}

.ed-art__toc a.is-on::before {
	border-radius: 50%;
	background: var(--ed-lime);
	color: var(--ed-ink);
}

.ed-art__side .ed-app3__share {
	margin: 0;
	padding: 20px 22px;
	border: 1px solid var(--ed-line);
	border-radius: 22px;
}

.ed-art__side .ed-app3__share > span {
	width: 100%;
	margin-bottom: 4px;
}

.ed-art__cta {
	padding: 24px 22px;
	border-radius: 22px;
	background: var(--ed-ink-2);
	color: #fff;
	box-shadow: 0 0 80px -40px rgba(171, 250, 8, .5);
}

.ed-art__cta b {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
	line-height: 1.5;
}

.ed-art__cta p {
	margin: 0 0 16px;
	color: var(--ed-muted-4);
	font-size: 14px;
	line-height: 1.8;
	text-align: right !important;
}

.ed-art__cta a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--ed-lime);
	color: var(--ed-ink-2) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.ed-art__cta .fa {
	font-family: FontAwesome !important;
}

/* Reading progress along the top of the page. */
.ed-art__progress {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	width: 0;
	height: 3px;
	background: var(--ed-lime);
}

/* More articles under the article. */
.ed-artmore {
	padding: 70px 0 76px;
	background: var(--ed-section);
	color: var(--ed-text-2);
}

.ed-artmore .ed-blogp__bar {
	margin-top: 0;
}

@media (max-width: 1199px) {
	.ed-art__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
		gap: 40px;
	}
}

@media (max-width: 991px) {
	.ed-bstack {
		height: 360px;
		margin: 0 auto 48px;
	}

	.ed-bpost--big .ed-bpost__link {
		grid-template-columns: minmax(0, 1fr);
	}

	.ed-bpost--big .ed-bpost__media {
		aspect-ratio: 16 / 9;
	}

	.ed-bpost--big .ed-bpost__body {
		padding: 26px;
	}

	.ed-bpost--big .ed-bpost__title {
		font-size: 24px;
	}

	.ed-blogp {
		padding: 60px 0;
	}

	.ed-blogp__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ed-svc-hero--art .ed-svc-hero__title {
		font-size: 36px !important;
	}

	.ed-art__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The side column moves above the text: contents collapse, share and CTA follow the text. */
	.ed-art__side {
		position: static;
		order: -1;
	}

	.ed-art__side .ed-app3__share,
	.ed-art__side .ed-art__cta {
		display: none;
	}

	.ed-art__toc summary {
		cursor: pointer;
	}

	.ed-art__toc summary::after {
		content: "+";
		float: left;
		color: var(--ed-muted-3);
	}

	.ed-art__toc[open] summary::after {
		content: "−";
	}
}

@media (min-width: 992px) {
	.ed-art__after {
		display: none;
	}
}

@media (max-width: 600px) {
	.ed-bstack {
		height: 320px;
	}

	.ed-bstack {
		max-width: calc(100% - 40px);
		margin-right: 0;
		margin-left: auto;
	}

	.ed-bstack__card {
		transform: translate(calc(var(--k) * -12px), calc(var(--k) * -18px)) scale(calc(1 - var(--k) * .05));
	}

	.ed-bstack__card {
		width: calc(100% - 36px);
	}

	.ed-blogp {
		padding: 48px 0;
	}

	.ed-blogp__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ed-blogp__title {
		font-size: 24px !important;
	}

	.ed-svc-hero--art .ed-svc-hero__text {
		padding-bottom: 32px;
	}

	.ed-art {
		background: linear-gradient(var(--ed-ink-2) 0 70px, var(--ed-surface) 70px);
	}

	.ed-svc-hero--art .ed-svc-hero__title {
		font-size: 28px !important;
	}

	.ed-art__cover {
		margin: 0 auto 36px;
	}

	.ed-art__cover img {
		border-radius: 18px;
	}

	.ed-art__body,
	.ed-art__body p,
	.ed-art__body li {
		font-size: 17px !important;
	}

	.ed-art__body h2 {
		font-size: 24px !important;
	}

	.ed-art__body h3 {
		font-size: 19px !important;
	}

	.ed-art {
		padding-bottom: 48px;
	}

	.ed-artmore {
		padding: 48px 0;
	}
}

/* Article extras: the short summary, ask an AI assistant, section links. */
.ed-art__sum {
	margin: 0 0 22px;
	padding: 20px 24px;
	border-right: 4px solid var(--ed-lime);
	border-radius: 0 18px 18px 0;
	background: var(--ed-bg);
}

.ed-art__sum b {
	display: block;
	margin-bottom: 6px;
	color: var(--ed-text);
	font-size: 15px;
	font-weight: 900;
}

.ed-art__sum p {
	margin: 0;
	color: var(--ed-text-3);
	font-size: 17px;
	line-height: 1.9;
	text-align: right !important;
}

.ed-art__ai {
	margin: 0 0 36px;
	padding: 18px 20px;
	border-radius: 20px;
	background: var(--ed-ink-2);
	color: #fff;
}

.ed-art__ai-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.ed-art__ai-label svg {
	width: 18px;
	height: 18px;
	color: var(--ed-lime);
}

.ed-art__ai-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ed-art__ai-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	direction: ltr;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ed-art__ai-btn:hover,
.ed-art__ai-btn:focus-visible {
	border-color: var(--ed-lime);
	background: var(--ed-lime);
	color: var(--ed-ink-2) !important;
}

.ed-art__ai-btn svg {
	width: 15px;
	height: 15px;
}

.ed-art__ai-copy {
	direction: rtl;
	border-color: var(--ed-lime);
	color: var(--ed-lime) !important;
}

.ed-art__ai-note {
	min-height: 0;
	margin: 0;
	color: var(--ed-lime);
	font-size: 13px;
	text-align: right !important;
}

.ed-art__ai-note:not(:empty) {
	margin-top: 10px;
}

.ed-art__body h2 {
	position: relative;
}

.ed-art__anchor {
	margin-right: 10px;
	color: #c9c9c3 !important;
	font-size: .7em;
	font-weight: 700;
	text-decoration: none !important;
	opacity: 0;
	transition: opacity .2s ease, color .2s ease;
}

.ed-art__body h2:hover .ed-art__anchor,
.ed-art__anchor:focus-visible {
	opacity: 1;
}

.ed-art__anchor:hover {
	background: none !important;
	color: var(--ed-text) !important;
}

.ed-art__anchor.is-done {
	opacity: 1;
	color: #6aa400 !important;
}

@media (hover: none) {
	.ed-art__anchor {
		display: none;
	}
}

/* Our products, small, each in its brand. */
.ed-pmini {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ed-pmini__title {
	margin: 4px 0 0;
	color: var(--ed-text);
	font-size: 15px;
	font-weight: 900;
	text-align: right !important;
}

.ed-pmini__card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	text-decoration: none !important;
	transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease;
}

.ed-pmini__card:hover,
.ed-pmini__card:focus-visible {
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5);
	transform: translateY(-3px);
}

.ed-pmini__logo {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	overflow: hidden;
}

.ed-pmini__logo img {
	display: block;
	width: 100%;
	height: 100%;
}

.ed-pmini__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ed-art__side .ed-pmini {
	position: sticky;
	top: 110px;
}

.ed-art__cta b,
.ed-pmini__text b {
	color: inherit !important;
}

.ed-pmini__text b {
	font-size: 16px;
	font-weight: 900;
}

.ed-pmini__text small {
	font-size: 13px;
	line-height: 1.7;
	opacity: .8;
}

.ed-pmini__text em {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	transition: gap .2s ease;
}

.ed-pmini__text em svg {
	width: 13px;
	height: 13px;
}

.ed-pmini__card:hover em {
	gap: 8px;
}

/* Arab Shop: ink and lime. */
.ed-pmini__card--shop {
	background: var(--ed-ink-2);
	color: #fff !important;
}

.ed-pmini__card--shop em {
	color: var(--ed-lime);
}

/* Osolna: brand green, cream and gold. */
.ed-pmini__card--osolna {
	background: #055a48;
	color: #f6f2e6 !important;
}

.ed-pmini__card--osolna .ed-pmini__logo {
	padding: 7px;
	background: #f6f2e6;
}

.ed-pmini__card--osolna em {
	color: #dcaf5c;
}

/* Phones: under the share links, two cards side by side when there is room. */
.ed-art__after .ed-pmini {
	margin-top: 28px;
}

@media (min-width: 480px) and (max-width: 991px) {
	.ed-art__after .ed-pmini {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ed-art__after .ed-pmini__title {
		grid-column: 1 / -1;
	}
}

.ed-art__ai-btn small {
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(171, 250, 8, .16);
	color: var(--ed-lime);
	font-size: 11px;
	direction: rtl;
}

.ed-art__ai-btn:hover small {
	background: rgba(0, 0, 0, .12);
	color: var(--ed-text-strong);
}

.ed-art__ai-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.ed-art__ai-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--ed-muted-4) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: color .2s ease;
}

.ed-art__ai-tool svg {
	width: 15px;
	height: 15px;
}

.ed-art__ai-tool:hover,
.ed-art__ai-tool:focus-visible {
	color: var(--ed-lime) !important;
}
