/* Monkiey Domain Parking – front end.
   The artwork is the page; the domain list sits on its wooden board.
   Buttons use the Space Exploration Pro theme's "box grows from the centre" hover and its scroll-progress button. */

.mkdp-page,
.mkdp-embed {
	--mkdp-wood-1: #6d4624;
	--mkdp-wood-2: #583819;
	--mkdp-wood-3: #3f2711;
	--mkdp-wood-dark: #0f2410;
	--mkdp-cream: #f8ebcf;
	--mkdp-yellow: #ffe100;
	--mkdp-amber: #ffbe55;
	--mkdp-cyan: #00afe8; /* the theme's button colour */
	--mkdp-ink: #062235;
}

/* ---------- Intro: the monkey swings in toward the viewer on a long rope ---------- */
.mkdp-intro {
	--amp: 20deg;               /* how far the swing reaches */
	--w: min(51vh, 92vw);       /* width of the monkey+rope picture */
	position: fixed;
	inset: 0;
	z-index: 99999;
	overflow: hidden;
	cursor: pointer;
	background: #14260f;
	animation: mkdp-intro-out 2.1s ease-in forwards;
}
.mkdp-intro.is-done { display: none; }
/* the forest backdrop, filling the screen on any shape of device */
.mkdp-intro::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("intro-forest.webp") center 40% / cover no-repeat;
	animation: mkdp-bg-drift 2.1s ease-out forwards;
}
.mkdp-intro::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(4, 22, 6, 0.45) 100%);
}
@keyframes mkdp-bg-drift { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (max-aspect-ratio: 1/1) { .mkdp-intro { --amp: 8deg; --lean: 6deg; } }

.mkdp-swing-anchor {
	position: absolute;
	z-index: 1;
	/* the rope's top end sits well above the screen; the monkey hangs near the upper-middle */
	top: calc(20vh - 1.1316 * var(--w));
	left: 50%;
	width: var(--w);
	transform: translateX(-93.9%);
}
.mkdp-swing {
	/* swing about the (off-screen) top of the rope. The rope is drawn leaning 24deg, so -24deg hangs it straight down. */
	transform-origin: 93.9% 0;
	animation: mkdp-swing 2.1s ease-in-out forwards;
	will-change: transform;
}
.mkdp-zoom {
	transform-origin: 50% 76.7%; /* grow around the monkey, as if he's coming at the screen */
	animation: mkdp-zoom 2.1s ease-in forwards;
	will-change: transform, opacity;
}
.mkdp-zoom img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45));
}
@keyframes mkdp-swing {
	0%   { transform: rotate(calc(-24deg + var(--lean, 0deg) + var(--amp) * 0.9)); }
	24%  { transform: rotate(calc(-24deg + var(--lean, 0deg) - var(--amp))); }
	50%  { transform: rotate(calc(-24deg + var(--lean, 0deg) + var(--amp) * 0.55)); }
	74%  { transform: rotate(calc(-24deg + var(--lean, 0deg) - var(--amp) * 0.25)); }
	100% { transform: rotate(-24deg); }
}
@keyframes mkdp-zoom {
	0%   { transform: scale(0.55); opacity: 0; }
	10%  { opacity: 1; }
	62%  { transform: scale(0.95); opacity: 1; }
	100% { transform: scale(2.7); opacity: 0; }
}
@keyframes mkdp-intro-out {
	0%, 72% { opacity: 1; visibility: visible; }
	100%    { opacity: 0; visibility: hidden; }
}

/* ---------- Page shell ---------- */
body.mkdp-page {
	margin: 0;
	background: var(--mkdp-wood-dark);
	color: var(--mkdp-cream);
	font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.mkdp-page *,
.mkdp-page *::before,
.mkdp-page *::after { box-sizing: border-box; }

.mkdp-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100000;
	padding: 10px 16px;
	background: var(--mkdp-yellow);
	color: #111;
	font-weight: 800;
	border-radius: 8px;
	text-decoration: none;
}
.mkdp-skip:focus { top: 12px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Stage: artwork + board ---------- */
.mkdp-stage {
	position: relative;
	max-width: 2000px;
	margin: 0 auto;
	/* Wide artwork is 1672x941. The board's empty wood starts ~36.6% of the width down. */
	aspect-ratio: 1672 / 941;
	padding: 34.2% 0 4%;
	/* below the artwork the page continues into the same jungle: a mirrored strip of trees and ferns that repeats seamlessly */
	background: #1a3514 url("forest-tile.webp") center top / 100% auto repeat-y;
}
.mkdp-stage::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: min(260px, 22%);
	background: linear-gradient(transparent, #0f2410);
	pointer-events: none;
}
.mkdp-art-wrap {
	position: absolute;
	inset: 0 0 auto 0;
	pointer-events: none;
	/* the very bottom edge always melts into the jungle below, so there is never a hard line */
	-webkit-mask-image: linear-gradient(#000 88%, transparent);
	mask-image: linear-gradient(#000 88%, transparent);
}
.mkdp-art {
	display: block;
	/* fade the left/centre of the artwork into the jungle below; keep the right side (laptop + bananas) fully visible */
	-webkit-mask-image: linear-gradient(#000 72%, transparent 86%), linear-gradient(90deg, transparent 66%, #000 76%);
	mask-image: linear-gradient(#000 72%, transparent 86%), linear-gradient(90deg, transparent 66%, #000 76%);
	-webkit-mask-composite: source-over;
	mask-composite: add;
}
.mkdp-art img { display: block; width: 100%; height: auto; }

/* ---------- The wooden panel ---------- */
.mkdp-panel {
	position: relative;
	z-index: 1;
	width: 50%;
	margin: 0 auto;
	padding: max(14px, 1.8%) max(14px, 2.2%) max(14px, 1.6%);
	color: var(--mkdp-cream);
	background:
		repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 46px),
		linear-gradient(180deg, var(--mkdp-wood-1), var(--mkdp-wood-2) 45%, var(--mkdp-wood-3));
	border: 3px solid #2f1d0d;
	border-radius: 16px;
	box-shadow:
		inset 0 0 0 2px rgba(255, 220, 150, 0.16),
		inset 0 10px 28px rgba(0, 0, 0, 0.35),
		0 18px 44px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) and (max-width: 1100px) {
	.mkdp-stage .mkdp-panel { width: 64%; }
}
@media (max-width: 767px) {
	/* Tall artwork is 1024x1536; the board's wood starts ~92% of the width down. */
	.mkdp-stage { aspect-ratio: 1024 / 1536; padding: 92% 0 6%; background-size: auto 640px; }
	.mkdp-art {
		-webkit-mask-image: linear-gradient(#000 78%, transparent 91%);
		mask-image: linear-gradient(#000 78%, transparent 91%);
	}
	.mkdp-stage .mkdp-panel { width: 92%; }
}
.mkdp-embed.mkdp-panel { width: auto; max-width: 960px; margin: 1.5em 0; }

.mkdp-group + .mkdp-group { margin-top: clamp(18px, 2.4vw, 30px); }
.mkdp-page .mkdp-group-title,
.mkdp-embed .mkdp-group-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0;
	color: var(--mkdp-yellow);
	font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
	font-weight: 900;
	font-size: clamp(1.05rem, 1.7vw, 1.45rem);
	letter-spacing: 0.01em;
	line-height: 1.1;
	text-transform: uppercase;
	text-shadow: 0 2px 0 #2a1708, 0 0 12px rgba(0, 0, 0, 0.35);
}
.mkdp-page .mkdp-group-title::after,
.mkdp-embed .mkdp-group-title::after {
	content: "";
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 225, 0, 0.55), transparent);
	border-radius: 2px;
}

.mkdp-page .mkdp-list,
.mkdp-embed .mkdp-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
	gap: 10px;
}
.mkdp-page .mkdp-item,
.mkdp-embed .mkdp-item { margin: 0; padding: 0; list-style: none; }

/* ---------- Live site: the theme's button (box grows from the centre on hover) ---------- */
.mkdp-page .mkdp-go,
.mkdp-embed .mkdp-go {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	height: 100%;
	min-height: 52px;
	padding: 12px 14px;
	overflow: hidden;
	background: var(--mkdp-cyan);
	color: var(--mkdp-ink);
	border-radius: 10px;
	font-weight: 800;
	font-size: 0.94rem;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 4px 0 #0079a3, 0 8px 16px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mkdp-go::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	background: #fff;
	border-radius: 10px;
	transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}
.mkdp-go:hover::after,
.mkdp-go:focus-visible::after { width: 100%; height: 100%; }
.mkdp-go:hover,
.mkdp-go:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 0 #0079a3, 0 12px 22px rgba(0, 0, 0, 0.35); color: var(--mkdp-ink); }
.mkdp-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #0079a3; }
.mkdp-go:focus-visible { outline: 3px solid var(--mkdp-yellow); outline-offset: 3px; }
.mkdp-go-text { overflow-wrap: break-word; font-size: 0.92rem; }
.mkdp-go i { flex: none; transform: rotate(-45deg); transition: transform 0.3s ease; }
.mkdp-go:hover i,
.mkdp-go:focus-visible i { transform: rotate(0deg) translateX(3px); }

/* ---------- Under construction: carved tile, not clickable ---------- */
.mkdp-page .mkdp-tile,
.mkdp-embed .mkdp-tile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	height: 100%;
	min-height: 52px;
	padding: 10px 16px;
	background: rgba(24, 12, 3, 0.32);
	border: 1px dashed rgba(248, 235, 207, 0.32);
	border-radius: 10px;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}
.mkdp-tile-name {
	font-weight: 800;
	font-size: 0.98rem;
	line-height: 1.2;
	color: var(--mkdp-cream);
	overflow-wrap: break-word;
}
.mkdp-tile-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mkdp-amber);
}
.mkdp-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: mkdp-pulse 1.8s ease-in-out infinite;
}
@keyframes mkdp-pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 190, 85, 0.65); }
	50%      { opacity: 0.55; box-shadow: 0 0 0 5px rgba(255, 190, 85, 0); }
}

/* panel footer, echoing the artwork's tagline */
.mkdp-panel-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	margin: clamp(18px, 2.4vw, 28px) 0 0;
	padding-top: 14px;
	border-top: 1px dashed rgba(248, 235, 207, 0.28);
}
.mkdp-foot-tag {
	font-style: italic;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--mkdp-cream);
	background: linear-gradient(transparent 88%, #e5252b 88% 96%, transparent 96%);
	padding-bottom: 2px;
}
.mkdp-foot-count { font-size: 0.85rem; font-weight: 700; color: var(--mkdp-amber); align-self: center; }
.mkdp-none { margin: 0; color: var(--mkdp-cream); }

/* ---------- Footer ---------- */
.mkdp-footer {
	padding: 28px 20px 40px;
	text-align: center;
	font-size: 0.88rem;
	color: rgba(248, 235, 207, 0.7);
	background: var(--mkdp-wood-dark);
}
.mkdp-footer img { display: block; width: 160px; height: auto; margin: 0 auto 10px; }
.mkdp-footer p { margin: 0; }

/* ---------- Scroll-progress button (driven by the theme's own script) ---------- */
.mkdp-page #copyright-top-button {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9990;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 2px solid var(--mkdp-yellow);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mkdp-page #copyright-top-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 50%;
	background: rgba(42, 26, 12, 0.88);
}
.mkdp-page #copyright-top-button.show { opacity: 1; visibility: visible; transform: none; }
.mkdp-page #copyright-top-button i { color: #fff; mix-blend-mode: difference; font-size: 1.05rem; }
.mkdp-page #copyright-top-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	.mkdp-intro { display: none; }
	.mkdp-dot { animation: none; }
	.mkdp-go, .mkdp-go::after, .mkdp-go i, .mkdp-page #copyright-top-button { transition: none; }
	.mkdp-go:hover, .mkdp-go:focus-visible { transform: none; }
	.mkdp-page .wow { animation: none !important; visibility: visible !important; }
}

/* ---------- Contact page ---------- */
.mkdp-stage--contact { aspect-ratio: 1672 / 941; padding: 29.6% 0 4%; }
.mkdp-stage--contact .mkdp-art {
	-webkit-mask-image: linear-gradient(#000 80%, transparent 96%);
	mask-image: linear-gradient(#000 80%, transparent 96%);
}
.mkdp-stage--contact .mkdp-panel { width: 58%; }
@media (min-width: 768px) and (max-width: 1100px) {
	.mkdp-stage--contact .mkdp-panel { width: 76%; }
}
@media (max-width: 767px) {
	.mkdp-stage--contact { aspect-ratio: 1072 / 941; padding: 46% 0 6%; }
	.mkdp-stage--contact .mkdp-panel { width: 94%; }
}
.mkdp-cta { margin: 16px 0 0; display: flex; justify-content: center; }
.mkdp-lead { margin: 0 0 16px; color: var(--mkdp-cream); font-size: 1rem; line-height: 1.5; }
.mkdp-back { color: var(--mkdp-amber); font-weight: 700; text-decoration: none; }
.mkdp-back:hover, .mkdp-back:focus-visible { text-decoration: underline; color: var(--mkdp-yellow); }
.mkdp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.mkdp-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mkdp-field--wide, .mkdp-actions { grid-column: 1 / -1; }
.mkdp-field label { font-weight: 800; font-size: 0.9rem; color: var(--mkdp-cream); }
.mkdp-req { color: #ffb4a8; }
.mkdp-opt { font-weight: 600; opacity: 0.75; }
.mkdp-field input, .mkdp-field select, .mkdp-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	font: inherit;
	font-size: 1rem;
	color: #2a1a0b;
	background: #fbf3df;
	border: 2px solid #2f1d0d;
	border-radius: 8px;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.18);
}
.mkdp-field textarea { resize: vertical; min-height: 130px; }
.mkdp-field input:focus, .mkdp-field select:focus, .mkdp-field textarea:focus {
	outline: 3px solid var(--mkdp-yellow);
	outline-offset: 1px;
	border-color: #6b4318;
}
.mkdp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mkdp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mkdp-submit { border: 0; cursor: pointer; font: inherit; }
.mkdp-fine { margin: 0; font-size: 0.85rem; opacity: 0.85; }
.mkdp-notice { padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; font-size: 0.95rem; }
.mkdp-notice ul { margin: 6px 0 0 18px; padding: 0; }
.mkdp-notice.is-ok { background: #e3f6d8; color: #1c3d10; border: 2px solid #5fa043; }
.mkdp-notice.is-error { background: #fde4df; color: #5c1a10; border: 2px solid #d9503a; }
@media (max-width: 600px) {
	.mkdp-form { grid-template-columns: 1fr; }
}
.mkdp-form .mkdp-submit { height: auto; width: auto; min-width: 190px; justify-content: center; gap: 12px; }
.mkdp-form .mkdp-submit i { transform: none; }
.mkdp-cta .mkdp-go { height: auto; min-width: 190px; justify-content: center; gap: 12px; }
.mkdp-panel--form .mkdp-panel-foot { clear: both; margin-top: 22px; }
.mkdp-actions { padding-bottom: 6px; }

/* ---------- Clickable "Contact us" square in the artwork ---------- */
.mkdp-hot {
	position: absolute;
	z-index: 2;
	left: var(--hx); top: var(--hy); width: var(--hw); height: var(--hh);
	display: block;
	border-radius: 10px;
	pointer-events: auto;
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	-webkit-tap-highlight-color: transparent;
}
/* phone: positions measured on the tall artwork (must come after the base rule) */
@media (max-width: 767px) { .mkdp-hot { left: var(--tx); top: var(--ty); width: var(--tw); height: var(--th); } }
/* the theme's "box grows from the centre" hover, laid over the artwork's own sign */
.mkdp-hot::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 0; height: 0;
	transform: translate(-50%, -50%);
	background: rgba(0, 175, 232, 0.42);
	border-radius: 10px;
	transition: width 0.35s ease, height 0.35s ease;
	z-index: -1;
}
.mkdp-hot:hover, .mkdp-hot:focus-visible {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 0 0 3px var(--mkdp-yellow), 0 10px 22px rgba(0, 0, 0, 0.45);
}
.mkdp-hot:hover::after, .mkdp-hot:focus-visible::after { width: 100%; height: 100%; }
.mkdp-hot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mkdp-hot-ring {
	position: absolute; inset: 0;
	border-radius: 10px;
	border: 2px solid rgba(255, 220, 90, 0.9);
	animation: mkdp-ring 2.6s ease-out 3s infinite;
	pointer-events: none;
}
@keyframes mkdp-ring {
	0%   { opacity: 0.9; transform: scale(1); }
	60%, 100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
	.mkdp-hot, .mkdp-hot::after { transition: none; }
	.mkdp-hot-ring { animation: none; opacity: 0; }
	.mkdp-hot:hover, .mkdp-hot:focus-visible { transform: none; }
}

/* ---------- Centre the panel on the artwork's wooden board (the art sits slightly left of the page centre) ---------- */
.mkdp-stage { --pw: 50%; --cx: 46.8%; }
.mkdp-stage--contact { --pw: 58%; --cx: 48.5%; }
@media (min-width: 768px) and (max-width: 1100px) {
	.mkdp-stage { --pw: 64%; }
	.mkdp-stage--contact { --pw: 76%; }
}
@media (max-width: 767px) {
	.mkdp-stage { --pw: 92%; --cx: 49%; }
	.mkdp-stage--contact { --pw: 93%; --cx: 48.5%; }
}
.mkdp-stage .mkdp-panel {
	width: var(--pw);
	margin: 0 0 0 calc(var(--cx) - var(--pw) / 2);
}
.mkdp-stage--contact .mkdp-panel { width: var(--pw); }

/* Send button: forest green */
.mkdp-form .mkdp-submit {
	background: #1f5a2b;
	color: #f6f1dc;
	box-shadow: 0 4px 0 #11371a, 0 8px 16px rgba(0, 0, 0, 0.3);
}
.mkdp-form .mkdp-submit::after { background: #2e7d3e; }
.mkdp-form .mkdp-submit:hover,
.mkdp-form .mkdp-submit:focus-visible {
	color: #fff;
	box-shadow: 0 6px 0 #11371a, 0 12px 22px rgba(0, 0, 0, 0.35);
}
.mkdp-form .mkdp-submit:active { box-shadow: 0 1px 0 #11371a; }

/* Live-domain links: same forest green as the Send button */
.mkdp-page .mkdp-go,
.mkdp-embed .mkdp-go {
	background: #1f5a2b;
	color: #f6f1dc;
	box-shadow: 0 4px 0 #11371a, 0 8px 16px rgba(0, 0, 0, 0.3);
}
.mkdp-go::after { background: #2e7d3e; }
.mkdp-page .mkdp-go:hover,
.mkdp-page .mkdp-go:focus-visible,
.mkdp-embed .mkdp-go:hover,
.mkdp-embed .mkdp-go:focus-visible {
	color: #fff;
	box-shadow: 0 6px 0 #11371a, 0 12px 22px rgba(0, 0, 0, 0.35);
}
.mkdp-go:active { box-shadow: 0 1px 0 #11371a; }

/* ---------- Compact footer ---------- */
.mkdp-stage { padding-bottom: 1.2%; }
.mkdp-stage--contact { padding-bottom: 1.2%; }
@media (max-width: 767px) { .mkdp-stage, .mkdp-stage--contact { padding-bottom: 14px; } }
.mkdp-stage::after { height: min(90px, 8%); }
.mkdp-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px 16px 12px;
	background: #0f2410;
}
.mkdp-footer img { width: 84px; margin: 0; }
.mkdp-footer p { font-size: 0.82rem; }

/* Unique ideas page: panel sits neatly on the artwork's board */
.mkdp-stage--ideas { --pw: 50%; }
@media (min-width: 768px) and (max-width: 1100px) { .mkdp-stage--ideas { --pw: 66%; } }
@media (max-width: 767px) { .mkdp-stage--ideas { --pw: 93%; } }
.mkdp-panel--ideas .mkdp-group { margin-top: 0; }

/* ---------- Affiliate banners ---------- */
.mkdp-aff-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: flex-start; }
.mkdp-aff-item { max-width: 100%; margin: 0; }
.mkdp-aff-item a {
	display: block;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 6px;
	background: #fbf3df;
	border: 2px solid #2f1d0d;
	border-radius: 10px;
	box-shadow: 0 4px 0 #1b1006, 0 8px 16px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mkdp-aff-item a::after {
	content: "";
	position: absolute; left: 50%; top: 50%;
	width: 0; height: 0;
	transform: translate(-50%, -50%);
	background: rgba(0, 175, 232, 0.28);
	transition: width 0.3s ease, height 0.3s ease;
	z-index: 1; pointer-events: none;
}
.mkdp-aff-item a:hover, .mkdp-aff-item a:focus-visible { transform: translateY(-3px); box-shadow: 0 7px 0 #1b1006, 0 14px 24px rgba(0, 0, 0, 0.4); }
.mkdp-aff-item a:hover::after, .mkdp-aff-item a:focus-visible::after { width: 100%; height: 100%; }
.mkdp-aff-item a:focus-visible { outline: 3px solid var(--mkdp-yellow); outline-offset: 3px; }
.mkdp-aff-item img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.mkdp-aff-note { margin: 16px 0 0; font-size: 0.82rem; font-style: italic; text-align: center; color: rgba(248, 235, 207, 0.8); }
@media (prefers-reduced-motion: reduce) {
	.mkdp-aff-item a, .mkdp-aff-item a::after { transition: none; }
	.mkdp-aff-item a:hover, .mkdp-aff-item a:focus-visible { transform: none; }
}

.mkdp-aff-item .mkdp-aff-static {
	display: block;
	padding: 6px;
	background: #fbf3df;
	border: 2px solid #2f1d0d;
	border-radius: 10px;
	box-shadow: 0 4px 0 #1b1006, 0 8px 16px rgba(0, 0, 0, 0.3);
}
