/* Morocco Planet Journal
   Same sand + terracotta look as the Experiences plugin.
   Re-theme by overriding variables, e.g.  .mpj-article, .mpj-blog, .mpj-tours, .mpj-cta { --mpj-accent: #9c3f1b; } */

.mpj-story, .mpj-article, .mpj-blog, .mpj-tours, .mpj-cta, .mpj-inline, .mpj-callout {
	--mpj-ink: #1a1210;
	--mpj-dim: rgba(26, 18, 16, .66);
	--mpj-line: rgba(26, 18, 16, .12);
	--mpj-sand: #efe3d3;
	--mpj-sand-soft: #f7f0e6;
	--mpj-sand-deep: #e3d0b8;
	--mpj-accent: #b5532b;
	--mpj-radius: 20px;
	color: var(--mpj-ink);
	box-sizing: border-box;
}
.mpj-story *, .mpj-article *, .mpj-blog *, .mpj-tours *, .mpj-cta *, .mpj-inline *, .mpj-callout * { box-sizing: border-box; }
.mpj-story a, .mpj-article a, .mpj-blog a, .mpj-tours a, .mpj-cta a, .mpj-inline a, .mpj-callout a { text-decoration: none; }
.mpj-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.mpj-noimg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--mpj-sand-deep), var(--mpj-sand)); }

/* ============ Reading progress ============ */
.mpj-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999; pointer-events: none; }
.mpj-progress span { display: block; height: 100%; background: var(--mpj-accent, #b5532b); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .mpj-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .mpj-progress { top: 46px; } }

/* ============ Article top blocks ============ */
.mpj-top-gap { margin-bottom: 32px; }
.mpj-metabar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
	margin: 0 0 22px; font-size: 14px; color: var(--mpj-dim);
}
.mpj-metabar span { display: inline-flex; align-items: center; gap: 6px; }
.mpj-pill {
	padding: 5px 12px; border-radius: 999px; background: var(--mpj-sand);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mpj-ink);
}
.mpj-lead {
	margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--mpj-accent);
	font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; color: var(--mpj-ink);
}

.mpj-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
	margin: 0 0 28px;
}
.mpj-facts > div { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line); }
.mpj-facts dt { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mpj-accent); }
.mpj-facts dd { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }

.mpj-takeaways {
	margin: 0 0 28px; padding: clamp(20px, 3vw, 30px); border-radius: var(--mpj-radius);
	background: var(--mpj-sand);
}
.mpj-takeaways h2 {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px !important;
	font-size: 20px !important; font-weight: 700; letter-spacing: -.02em; color: var(--mpj-ink);
}
.mpj-takeaways h2 .mpj-ico { color: var(--mpj-accent); width: 22px; height: 22px; }
.mpj-takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mpj-takeaways li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; font-size: 16.5px; line-height: 1.55; }
.mpj-takeaways li::before { content: none; }
.mpj-takeaways li .mpj-ico {
	width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%;
	background: var(--mpj-accent); color: #fff; stroke-width: 2.4;
}

.mpj-toc { margin: 0 0 36px; border: 1px solid var(--mpj-line); border-radius: 16px; background: transparent; }
.mpj-toc summary {
	cursor: pointer; padding: 16px 22px; font-size: 15px; font-weight: 700; letter-spacing: .02em;
	list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.mpj-toc summary::-webkit-details-marker { display: none; }
.mpj-toc summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mpj-accent); }
.mpj-toc details[open] summary::after { content: "−"; }
.mpj-toc ol { counter-reset: mpj; list-style: none; margin: 0; padding: 0 22px 18px; display: grid; gap: 2px; }
.mpj-toc li { counter-increment: mpj; margin: 0; padding: 0; }
.mpj-toc li::before { content: none; }
.mpj-toc li.l2 a::before {
	content: counter(mpj, decimal-leading-zero); margin-right: 12px; font-size: 12px; font-weight: 700;
	letter-spacing: .08em; color: var(--mpj-accent);
}
.mpj-toc li.l3 { counter-increment: none; padding-left: 38px; }
.mpj-toc a { display: block; padding: 7px 0; font-size: 15.5px; line-height: 1.4; color: var(--mpj-ink); transition: color .15s ease; }
.mpj-toc li.l3 a { font-size: 14.5px; color: var(--mpj-dim); }
.mpj-toc a:hover, .mpj-toc a[aria-current="true"] { color: var(--mpj-accent); }
.mpj-toc a[aria-current="true"] { font-weight: 700; }

.mpj-body h2[id], .mpj-body h3[id] { scroll-margin-top: 100px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============ Tour cards (linked tours + inline) ============ */
.mpj-tours {
	margin: clamp(48px, 7vw, 80px) 0 0; padding: clamp(24px, 4vw, 48px);
	border-radius: 28px; background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line);
}
.mpj-tours-head { max-width: 640px; margin-bottom: 28px; }
.mpj-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mpj-accent); }
.mpj-tours-head h2 { margin: 0 !important; font-size: clamp(30px, 4vw, 46px) !important; line-height: 1.05; font-weight: 700; letter-spacing: -.04em; color: var(--mpj-ink); }
.mpj-tours-intro { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--mpj-dim); }

.mpj-tours-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpj-n1 .mpj-tours-grid { grid-template-columns: 1fr; }
.mpj-n2 .mpj-tours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mpj-tour {
	display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden;
	border-radius: 22px; background: #fff; border: 1px solid var(--mpj-line);
	transition: transform .3s ease, box-shadow .3s ease;
}
.mpj-tour:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(26, 18, 16, .4); }
.mpj-tour-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mpj-sand); }
.mpj-tour-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; margin: 0; }
.mpj-tour:hover .mpj-tour-img img { transform: scale(1.05); }
.mpj-days {
	position: absolute; z-index: 1; top: 14px; left: 14px; display: inline-flex; align-items: baseline; gap: 5px;
	padding: 6px 13px; border-radius: 999px; background: rgba(250, 246, 239, .95); font-size: 13px; font-weight: 600; color: var(--mpj-ink);
}
.mpj-days b { font-size: 19px; line-height: 1; letter-spacing: -.03em; }
.mpj-tour-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px 22px 22px; }
.mpj-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; color: var(--mpj-dim); }
.mpj-tour-title { margin: 0 !important; font-size: 20px !important; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
.mpj-tour-title a { color: var(--mpj-ink); }
.mpj-tour-title a:hover { color: var(--mpj-accent); }
.mpj-tour-sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--mpj-dim); }
.mpj-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mpj-price { font-size: 14px; color: var(--mpj-dim); }
.mpj-price strong { font-size: 18px; letter-spacing: -.02em; color: var(--mpj-ink); }
.mpj-go {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px;
	background: var(--mpj-sand); color: var(--mpj-ink); transition: background .2s ease, color .2s ease;
}
.mpj-go .mpj-ico { width: 18px; height: 18px; }
.mpj-tour:hover .mpj-go, .mpj-go:hover { background: var(--mpj-ink); color: var(--mpj-sand); }

/* wide card: image left, text right (single tour / inline in an article) */
.mpj-tour--wide { flex-direction: row; }
.mpj-tour--wide .mpj-tour-img { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.mpj-tour--wide .mpj-tour-body { padding: 26px 28px; }
.mpj-tour--wide .mpj-tour-title { font-size: clamp(22px, 2.4vw, 30px) !important; }
.mpj-inline { margin: 36px 0; }

/* ============ Call to action ============ */
.mpj-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	margin: clamp(32px, 5vw, 48px) 0 0; padding: clamp(26px, 4vw, 44px);
	border-radius: 28px; background: var(--mpj-ink); color: #f7f0e6;
}
.mpj-cta h2 { margin: 0 0 10px !important; font-size: clamp(26px, 3.2vw, 38px) !important; line-height: 1.08; font-weight: 700; letter-spacing: -.04em; color: #fff; }
.mpj-cta p { margin: 0; max-width: 52ch; font-size: 16.5px; line-height: 1.6; color: rgba(247, 240, 230, .78); }
.mpj-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mpj-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
	border: 1.5px solid rgba(247, 240, 230, .5); color: #f7f0e6; font-size: 16px; font-weight: 600;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mpj-btn:hover { background: #f7f0e6; color: var(--mpj-ink); border-color: #f7f0e6; }
.mpj-btn--solid { background: var(--mpj-accent); border-color: var(--mpj-accent); color: #fff; }
.mpj-btn--solid:hover { background: #cf6535; border-color: #cf6535; color: #fff; }

/* ============ Blog grid ============ */
.mpj-blog { max-width: 1280px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 40px); }
.mpj-blog-head { max-width: 720px; margin-bottom: 32px; }
.mpj-blog-head h2 { margin: 0 0 12px !important; font-size: clamp(36px, 5vw, 62px) !important; line-height: 1.03; font-weight: 700; letter-spacing: -.045em; color: var(--mpj-ink); }
.mpj-blog-head h2 em { font-style: italic; font-weight: 500; color: var(--mpj-accent); }
.mpj-blog-head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--mpj-dim); }

.mpj-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.mpj-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mpj-pills a {
	padding: 10px 18px; border-radius: 999px; background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line);
	font-size: 14.5px; font-weight: 600; color: var(--mpj-ink); transition: background .2s ease, color .2s ease;
}
.mpj-pills a:hover { background: var(--mpj-sand); }
.mpj-pills a[aria-current="true"] { background: var(--mpj-ink); border-color: var(--mpj-ink); color: #f7f0e6; }
.mpj-search { position: relative; display: flex; }
.mpj-search input[type="search"] {
	width: 260px; max-width: 100%; margin: 0; padding: 12px 46px 12px 18px; border-radius: 999px;
	border: 1px solid var(--mpj-line); background: #fff; font-size: 15px; color: var(--mpj-ink); box-shadow: none;
}
.mpj-search button {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; padding: 0;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mpj-sand); color: var(--mpj-ink); cursor: pointer;
}
.mpj-search button svg { width: 18px; height: 18px; }
.mpj-search input:focus-visible, .mpj-search button:focus-visible { outline: 2px solid var(--mpj-accent); outline-offset: 2px; }

.mpj-grid { display: grid; gap: 40px 24px; }
.mpj-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpj-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mpj-post { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.mpj-post-img {
	position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--mpj-radius);
	background: var(--mpj-sand); box-shadow: 0 18px 34px -20px rgba(26, 18, 16, .4);
}
.mpj-post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .7s ease; }
.mpj-post:hover .mpj-post-img img { transform: scale(1.05); }
.mpj-chip {
	position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: 999px; background: rgba(250, 246, 239, .95); font-size: 13px; font-weight: 600; color: var(--mpj-ink);
}
.mpj-chip .mpj-ico { color: var(--mpj-accent); }
.mpj-post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 2px 0; }
.mpj-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; font-size: 13px; color: var(--mpj-dim); }
.mpj-post-title { margin: 0 !important; font-size: 23px !important; line-height: 1.18; font-weight: 700; letter-spacing: -.035em; }
.mpj-post-title a { color: var(--mpj-ink); }
.mpj-post-title a:hover { color: var(--mpj-accent); }
.mpj-post-ex { margin: 10px 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--mpj-dim); }
.mpj-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--mpj-ink); }
.mpj-more .mpj-ico { transition: transform .2s ease; }
.mpj-more:hover { color: var(--mpj-accent); }
.mpj-more:hover .mpj-ico { transform: translateX(4px); }

/* featured first article */
.mpj-post--big { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.mpj-post--big .mpj-post-img { aspect-ratio: 16 / 10; border-radius: 28px; }
.mpj-post--big .mpj-post-body { padding: 0; }
.mpj-post--big .mpj-post-title { font-size: clamp(30px, 3.6vw, 48px) !important; line-height: 1.05; letter-spacing: -.045em; }
.mpj-post--big .mpj-post-ex { font-size: 17.5px; margin: 16px 0 24px; }
.mpj-post--big .mpj-more { margin-top: 0; align-self: flex-start; padding: 15px 26px; border-radius: 999px; background: var(--mpj-sand); }
.mpj-post--big .mpj-more:hover { background: var(--mpj-ink); color: var(--mpj-sand); }

.mpj-empty { padding: 40px 0; font-size: 18px; color: var(--mpj-dim); }
.mpj-empty a { color: var(--mpj-accent); font-weight: 700; }

.mpj-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.mpj-pager a {
	min-width: 46px; height: 46px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 999px;
	background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line); font-size: 15px; font-weight: 600; color: var(--mpj-ink);
}
.mpj-pager a:hover { background: var(--mpj-sand); }
.mpj-pager a[aria-current="page"] { background: var(--mpj-ink); border-color: var(--mpj-ink); color: #f7f0e6; }

.mpj-article a:focus-visible, .mpj-blog a:focus-visible, .mpj-tours a:focus-visible, .mpj-cta a:focus-visible, .mpj-inline a:focus-visible, .mpj-toc summary:focus-visible {
	outline: 2px solid var(--mpj-accent); outline-offset: 3px; border-radius: 8px;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
	.mpj-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpj-tours-grid, .mpj-n3 .mpj-tours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.mpj-cols-3, .mpj-cols-2 { grid-template-columns: 1fr; }
	.mpj-post--big { grid-template-columns: 1fr; }
	.mpj-tours-grid, .mpj-n2 .mpj-tours-grid, .mpj-n3 .mpj-tours-grid { grid-template-columns: 1fr; }
	.mpj-tour--wide { flex-direction: column; }
	.mpj-tour--wide .mpj-tour-img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.mpj-search, .mpj-search input[type="search"] { width: 100%; }
	.mpj-cta { flex-direction: column; align-items: flex-start; }
	.mpj-toc ol { padding: 0 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.mpj-article *, .mpj-blog *, .mpj-tours *, .mpj-cta *, .mpj-inline * { transition: none !important; }
}


/* =====================================================================
   v2: story page, article typography, guide cards, callouts
   ===================================================================== */

/* ---------- Article typography (works in any theme) ---------- */
.mpj-prose { font-size: 18px; line-height: 1.8; color: var(--mpj-ink); }
.mpj-prose .mpj-body > * { max-width: 100%; }
.mpj-prose .mpj-body p { margin: 0 0 1.25em; }
.mpj-prose .mpj-body h2 {
	margin: 2.2em 0 .6em; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.04em; color: var(--mpj-ink);
}
.mpj-prose .mpj-body h3 { margin: 1.8em 0 .5em; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; font-weight: 700; letter-spacing: -.03em; color: var(--mpj-ink); }
.mpj-prose .mpj-body > h2:first-child { margin-top: 0; }
.mpj-prose .mpj-body ul, .mpj-prose .mpj-body ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; display: grid; gap: .7em; }
.mpj-prose .mpj-body ol { counter-reset: mpjol; }
.mpj-prose .mpj-body li { position: relative; margin: 0; padding-left: 34px; }
.mpj-prose .mpj-body ul > li::before {
	content: ""; position: absolute; left: 6px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--mpj-accent);
}
.mpj-prose .mpj-body ol > li { counter-increment: mpjol; }
.mpj-prose .mpj-body ol > li::before {
	content: counter(mpjol); position: absolute; left: 0; top: .15em; width: 24px; height: 24px; display: grid; place-items: center;
	border-radius: 50%; background: var(--mpj-sand); font-size: 13px; font-weight: 700; color: var(--mpj-accent); line-height: 1;
}
.mpj-prose .mpj-body li strong { color: var(--mpj-ink); }
.mpj-prose .mpj-body p a, .mpj-prose .mpj-body li a {
	color: var(--mpj-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.mpj-prose .mpj-body p a:hover, .mpj-prose .mpj-body li a:hover { text-decoration-thickness: 2px; }
.mpj-prose .mpj-body img { max-width: 100%; height: auto; border-radius: 18px; }
.mpj-prose .mpj-body figure { margin: 2em 0; }
.mpj-prose .mpj-body figcaption { margin-top: .6em; font-size: 14px; color: var(--mpj-dim); }
.mpj-prose .mpj-body blockquote {
	margin: 2em 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--mpj-accent);
	font-size: 1.25em; line-height: 1.5; font-style: italic; letter-spacing: -.01em;
}
.mpj-prose .mpj-body blockquote p { margin: 0; }
.mpj-prose .mpj-body hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--mpj-line); }

/* ---------- Callouts ---------- */
.mpj-callout { margin: 2em 0; padding: 22px 26px; border-radius: 18px; background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line); border-left: 5px solid var(--mpj-accent); font-size: 17px; line-height: 1.7; }
.mpj-callout-t { display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mpj-accent); }
.mpj-callout-t .mpj-ico { width: 20px; height: 20px; }
.mpj-callout p { margin: 0 0 .7em; }
.mpj-callout p:last-child { margin-bottom: 0; }
.mpj-callout--note { background: #eef4f6; border-left-color: #2f6f84; }
.mpj-callout--note .mpj-callout-t { color: #2f6f84; }
.mpj-callout--warning { background: #fbefe9; border-left-color: #b3341b; }
.mpj-callout--warning .mpj-callout-t { color: #b3341b; }

/* ---------- Guide cards (numbered places) ---------- */
.mpj-spots { margin: 2.6em 0; }
.mpj-spots-title { margin: 0 0 1em !important; font-size: clamp(30px, 3.8vw, 46px) !important; line-height: 1.05; font-weight: 700; letter-spacing: -.045em; color: var(--mpj-ink); }
.mpj-spot {
	position: relative; display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 28px; overflow: hidden;
	border-radius: 26px; background: var(--mpj-sand-soft); border: 1px solid var(--mpj-line);
}
.mpj-spot.has-img { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
.mpj-spot:nth-of-type(even).has-img { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
.mpj-spot:nth-of-type(even).has-img .mpj-spot-img { order: 2; }
.mpj-spot-img { position: relative; min-height: 320px; background: var(--mpj-sand); }
.mpj-spot-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; margin: 0; }
.mpj-spot-body { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 0; }
.mpj-spot-no { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--mpj-accent); margin-bottom: 10px; }
.mpj-spot-tag { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mpj-dim); }
.mpj-prose .mpj-spot-title, .mpj-spot-title { margin: 0 0 6px !important; font-size: clamp(28px, 3vw, 38px) !important; line-height: 1.05; font-weight: 700; letter-spacing: -.045em; }
.mpj-spot-sub { margin: 0 0 14px !important; font-size: 17px; font-style: italic; line-height: 1.45; color: var(--mpj-dim); }
.mpj-spot-text { font-size: 16.5px; line-height: 1.7; }
.mpj-spot-text p { margin: 0 0 .9em !important; }
.mpj-spot-details { margin: 8px 0 0; display: grid; gap: 10px; }
.mpj-spot-details > div {
	display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--mpj-line);
}
.mpj-spot-details .mpj-ico { grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 2px; color: var(--mpj-accent); }
.mpj-spot-details dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mpj-accent); }
.mpj-spot-details dd { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* ---------- Story page ---------- */
.mpj-story { padding-bottom: clamp(40px, 6vw, 80px); background: transparent; }
.mpj-hero { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 6vw, 84px) clamp(16px, 4vw, 40px) 0; }
.mpj-hero-in { max-width: 860px; }
.mpj-hero .mpj-metabar { margin-bottom: 20px; }
.mpj-hero-title { margin: 0 0 20px !important; font-size: clamp(38px, 6vw, 76px) !important; line-height: 1.01; font-weight: 700; letter-spacing: -.05em; color: var(--mpj-ink); }
.mpj-hero-dek { margin: 0 0 26px; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: var(--mpj-dim); max-width: 46em; }
.mpj-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; font-size: 14.5px; color: var(--mpj-dim); }
.mpj-byline strong { color: var(--mpj-ink); }
.mpj-byline > span { display: inline-flex; align-items: center; gap: 10px; }
.mpj-avatar { display: inline-grid !important; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mpj-accent); color: #fff; font-weight: 700; }
.mpj-hero-img { margin: clamp(28px, 4vw, 48px) 0 0; border-radius: 30px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--mpj-sand); box-shadow: 0 30px 60px -34px rgba(26, 18, 16, .5); }
.mpj-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }

.mpj-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px);
	max-width: 1180px; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 clamp(16px, 4vw, 40px); align-items: start;
}
.mpj-layout .mpj-article { max-width: 780px; min-width: 0; }
.mpj-side { position: relative; align-self: stretch; }
.mpj-side-in { position: sticky; top: 100px; display: grid; gap: 22px; }
.admin-bar .mpj-side-in { top: 132px; }
.mpj-toc--m { display: none; }
.mpj-toc--s { margin: 0; max-height: calc(100vh - 340px); overflow: auto; background: var(--mpj-sand-soft); border-color: var(--mpj-line); }
.mpj-toc--s summary { pointer-events: none; }
.mpj-toc--s summary::after { content: none; }
.mpj-toc--s ol { padding-bottom: 14px; }
.mpj-toc--s a { font-size: 14.5px; line-height: 1.35; padding: 6px 0; }
.mpj-toc--s li.l3 a { font-size: 13.5px; }

.mpj-cta--side { flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; padding: 26px; border-radius: 24px; }
.mpj-cta--side h2 { font-size: 24px !important; }
.mpj-cta--side p { font-size: 15px; }
.mpj-cta--side .mpj-cta-btns { flex-direction: column; width: 100%; }
.mpj-cta--side .mpj-btn { justify-content: center; padding: 13px 20px; font-size: 15px; }

.mpj-after { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.mpj-related { margin-top: clamp(56px, 8vw, 96px); }
.mpj-related h2 { margin: 0 0 28px !important; font-size: clamp(30px, 4vw, 46px) !important; line-height: 1.05; font-weight: 700; letter-spacing: -.045em; color: var(--mpj-ink); }

@media (max-width: 1000px) {
	.mpj-layout { grid-template-columns: 1fr; }
	.mpj-side { display: none; }
	.mpj-toc--m { display: block; }
	.mpj-hero-img { aspect-ratio: 16 / 9; border-radius: 22px; }
}
@media (max-width: 760px) {
	.mpj-prose { font-size: 17px; line-height: 1.75; }
	.mpj-spot.has-img, .mpj-spot:nth-of-type(even).has-img { grid-template-columns: 1fr; }
	.mpj-spot:nth-of-type(even).has-img .mpj-spot-img { order: 0; }
	.mpj-spot-img { min-height: 0; aspect-ratio: 4 / 3; }
	.mpj-callout { padding: 18px 20px; }
}
