/**
 * PinScroll article layout.
 *
 * Loaded as a real stylesheet, on the front end, only on a post PinScroll
 * wrote. It used to be an inline <style> block inside the post content, which
 * was a mistake: WordPress removes a tag it does not allow while keeping the
 * text inside it, so on any site where something runs kses over the content —
 * a security plugin, a theme filter, a later re-save — the whole stylesheet
 * became visible paragraph text. And once it was text, wptexturize turned
 * every "--" custom property into an en dash and every quote into a curly one,
 * which is why the page showed .pp-mag{-a:#2f6f61 ...} in the middle of a
 * recipe.
 *
 * Every rule is a class on the element itself. There is no wrapper element and
 * no descendant selector, for two reasons: nothing here can reach a single
 * element the plugin did not write, and the article stays a flat sequence of
 * top-level blocks, so an ad plugin that injects between paragraphs has
 * somewhere to inject.
 *
 * The accent is a custom property with a fallback, set per post in the head.
 */

.pp-mag-hero {
	background: linear-gradient(135deg, var(--pp-pale, #eef3f2), var(--pp-soft, #d1dfdc));
	border-radius: 20px;
	padding: 48px 34px;
	text-align: center;
	margin: 0 0 36px;
}

.pp-mag-kicker {
	display: inline-block;
	background: var(--pp-dark, #225046);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	margin-bottom: 16px;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-h1 {
	font-size: clamp(23px, 4vw, 40px);
	font-weight: 700;
	color: var(--pp-deep, #183831);
	line-height: 1.2;
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
}

.pp-mag-sub {
	font-size: 16px;
	color: var(--pp-dark, #225046);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-style: italic;
	margin: 0;
}

.pp-mag-toc {
	background: #fff;
	border: 2px solid var(--pp-line, #bcd1cc);
	border-radius: 14px;
	padding: 20px 26px;
	margin: 0 0 34px;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-toc-t {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--pp-dark, #225046);
	margin: 0 0 12px;
}

.pp-mag-toc-list {
	padding-left: 20px;
	margin: 0;
}

.pp-mag-toc-list li {
	font-size: 14px;
	color: var(--pp-deep, #183831);
	margin-bottom: 7px;
	font-weight: 500;
}

.pp-mag-toc-list a {
	color: inherit;
	text-decoration: none;
}

.pp-mag-toc-list a:hover {
	text-decoration: underline;
}

.pp-mag-lead {
	font-size: 17px;
	line-height: 1.9;
	margin: 0 0 20px;
}

.pp-mag-drop {
	font-size: 42px;
	font-weight: 700;
	color: var(--pp-dark, #225046);
	float: left;
	line-height: 0.85;
	margin: 8px 8px 0 0;
	font-family: Georgia, "Times New Roman", serif;
}

.pp-mag-box {
	background: linear-gradient(135deg, var(--pp-pale, #eef3f2), var(--pp-soft, #d1dfdc));
	border-left: 5px solid var(--pp-accent, #2f6f61);
	border-radius: 0 12px 12px 0;
	padding: 18px 24px;
	margin: 26px 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-box-l {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--pp-dark, #225046);
	margin: 0 0 8px;
	display: block;
}

.pp-mag-box-p {
	font-size: 15px;
	color: var(--pp-deep, #183831);
	margin: 0;
}

.pp-mag-h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 3vw, 27px);
	color: var(--pp-deep, #183831);
	margin: 44px 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pp-line, #bcd1cc);
}

.pp-mag-h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	color: var(--pp-dark, #225046);
	margin: 26px 0 10px;
}

.pp-mag-p {
	font-size: 16px;
	margin: 0 0 17px;
	line-height: 1.85;
}

.pp-mag-list {
	margin: 0 0 18px;
	padding-left: 22px;
}

.pp-mag-list li {
	margin-bottom: 7px;
}

.pp-mag-fig {
	margin: 32px 0;
}

.pp-mag-fig img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	display: block;
}

.pp-mag-cap {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	color: var(--pp-dark, #225046);
	text-align: center;
	margin-top: 9px;
	font-style: italic;
}

.pp-mag-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin: 22px 0;
}

.pp-mag-card {
	background: #fff;
	border: 1.5px solid var(--pp-line, #bcd1cc);
	border-radius: 12px;
	padding: 17px 16px;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-card-t {
	font-size: 14px;
	font-weight: 700;
	color: var(--pp-deep, #183831);
	margin: 0 0 6px;
}

.pp-mag-card-p {
	font-size: 13px;
	color: #33474a;
	margin: 0;
	line-height: 1.55;
}

.pp-mag-step {
	background: #fff;
	border: 1.5px solid var(--pp-line, #bcd1cc);
	border-radius: 14px;
	padding: 22px 24px;
	margin: 18px 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-step-n {
	display: inline-block;
	background: var(--pp-dark, #225046);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 9px;
}

.pp-mag-step-t {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	color: var(--pp-deep, #183831);
	margin: 0 0 9px;
	font-weight: 700;
}

.pp-mag-step-p {
	font-size: 15px;
	margin: 0;
}

.pp-mag-faq-i {
	background: #fff;
	border: 1.5px solid var(--pp-line, #bcd1cc);
	border-radius: 12px;
	padding: 18px 20px;
	margin: 0 0 12px;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-faq-q {
	font-weight: 700;
	font-size: 15px;
	color: var(--pp-deep, #183831);
	margin: 0 0 9px;
}

.pp-mag-faq-a {
	font-size: 14px;
	color: #2c4145;
	line-height: 1.75;
	margin: 0;
}

.pp-mag-cta {
	background: linear-gradient(135deg, var(--pp-deep, #183831), var(--pp-dark, #225046));
	border-radius: 16px;
	padding: 34px 30px;
	text-align: center;
	margin: 46px 0 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-cta-t {
	color: #fff;
	font-size: 23px;
	margin: 0 0 10px;
	border: none;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
}

.pp-mag-cta-p {
	color: var(--pp-soft, #d1dfdc);
	margin: 0;
	font-size: 15px;
}

.pp-mag-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0 0;
	padding-top: 26px;
	border-top: 2px solid var(--pp-line, #bcd1cc);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pp-mag-tag {
	background: var(--pp-pale, #eef3f2);
	border: 1px solid var(--pp-line, #bcd1cc);
	color: var(--pp-deep, #183831);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 20px;
}

@media (max-width: 600px) {
	.pp-mag-hero {
		padding: 34px 20px;
	}

	.pp-mag-toc,
	.pp-mag-step {
		padding: 16px 18px;
	}
}
