/* Cam3D — Article du blog : une seule colonne centrée (titre, image, texte, galerie à la même largeur). */

.wcam-post {
	--wcam-post-col: 1000px;
}

.wcam-post > .wcam-section {
	max-width: calc(var(--wcam-post-col) + 2 * var(--wcam-gutter));
}

.wcam-post__head {
	padding-top: 56px;
	padding-bottom: 40px;
}

.wcam-post__head-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.wcam-post__title {
	font-family: var(--wcam-font-title);
	font-size: clamp(38px, 4.4vw, 62px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
}

.wcam-post__intro {
	color: var(--wcam-muted);
	font-size: 19px;
	line-height: 1.55;
}

.wcam-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--wcam-muted);
	font-family: var(--wcam-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.wcam-post__visual {
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 16px;
}

.wcam-post__visual img {
	display: block;
	width: 100%;
	max-width: var(--wcam-visual-max, 100%); /* photo plus petite que la colonne : pas d'agrandissement flou */
	margin-inline: auto;
	height: auto;
	max-height: 620px;
	object-fit: cover;
	border-radius: var(--wcam-radius);
}

.wcam-post__body {
	padding-bottom: 16px;
}

.wcam-post__content {
	padding: 64px clamp(40px, 7vw, 96px);
	border-radius: var(--wcam-radius);
	background: var(--wcam-white);
}

.wcam-post__gallery {
	padding-top: 40px;
	padding-bottom: 16px;
}

.wcam-post__foot {
	padding-top: 24px;
	padding-bottom: 96px;
}

.wcam-post__back {
	display: flex;
	justify-content: center;
}

.wcam-post__projects,
.wcam-post__more {
	padding-bottom: 96px;
}

.wcam-post__projects .wcam-head,
.wcam-post__more .wcam-head {
	margin-bottom: 32px;
}

/* Texte de l'article (éditeur). */
.wcam-prose {
	color: #2b2f36;
	font-size: 18px;
	line-height: 1.7;
}

.wcam-prose > * + * {
	margin-top: 1.1em;
}

.wcam-prose :is(h2, h3, h4) {
	color: var(--wcam-ink);
	font-family: var(--wcam-font-title);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.wcam-prose h2 {
	margin-top: 1.8em;
	font-size: clamp(28px, 2.5vw, 36px);
	line-height: 1.1;
}

.wcam-prose h3 {
	margin-top: 1.5em;
	font-size: 24px;
	line-height: 1.15;
}

.wcam-prose h4 {
	margin-top: 1.4em;
	font-size: 20px;
}

.wcam-prose > :first-child {
	margin-top: 0;
}

.wcam-prose a {
	color: var(--wcam-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wcam-prose strong {
	color: var(--wcam-ink);
	font-weight: 600;
}

.wcam-prose :is(ul, ol) {
	padding-left: 0;
	list-style: none;
}

.wcam-prose li {
	position: relative;
	padding-left: 28px;
}

.wcam-prose li + li {
	margin-top: 0.5em;
}

.wcam-prose ul > li::before {
	content: '+';
	position: absolute;
	left: 4px;
	top: 0;
	color: var(--wcam-red);
	font-family: var(--wcam-font-mono);
	font-weight: 600;
}

.wcam-prose ol {
	counter-reset: wcam-ol;
}

.wcam-prose ol > li::before {
	counter-increment: wcam-ol;
	content: counter(wcam-ol, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.2em;
	color: var(--wcam-red);
	font-family: var(--wcam-font-mono);
	font-size: 0.72em;
	font-weight: 600;
}

.wcam-prose blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	border-left: 3px solid var(--wcam-red);
	border-radius: 0 6px 6px 0;
	background: var(--wcam-bg);
	color: var(--wcam-ink);
	font-family: var(--wcam-font-title);
	font-size: 22px;
	line-height: 1.35;
}

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

.wcam-prose img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.wcam-prose :is(figure, .wp-caption) {
	max-width: 100%;
	margin-inline: 0;
}

.wcam-prose :is(figcaption, .wp-caption-text) {
	margin-top: 8px;
	color: var(--wcam-muted);
	font-size: 14px;
}

.wcam-prose .alignleft {
	float: left;
	margin: 0.4em 24px 16px 0;
}

.wcam-prose .alignright {
	float: right;
	margin: 0.4em 0 16px 24px;
}

.wcam-prose .aligncenter {
	margin-inline: auto;
}

.wcam-prose hr {
	border: 0;
	border-top: 1px solid var(--wcam-line);
}

.wcam-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.wcam-prose :is(th, td) {
	padding: 10px 12px;
	border-bottom: 1px solid var(--wcam-line);
	text-align: left;
}


@media (max-width: 767px) {
	.wcam-post__head {
		padding-top: 32px;
		padding-bottom: 28px;
	}

	.wcam-post__intro {
		font-size: 17px;
	}

	.wcam-post__content {
		padding: 28px 20px;
	}

	.wcam-prose {
		font-size: 17px;
	}

	.wcam-prose :is(.alignleft, .alignright) {
		float: none;
		margin: 0 0 16px;
	}

	.wcam-post__foot,
	.wcam-post__projects,
	.wcam-post__more {
		padding-bottom: 64px;
	}
}
