/*
 * Artikelopmaak. Wordt geladen op de site én in de blok-editor,
 * zodat wat je schrijft er in de editor hetzelfde uitziet.
 */

.entry-content,
.editor-styles-wrapper {
	color: var(--pcp-text, #334155);
	font-family: var(--pcp-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.entry-content h2,
.editor-styles-wrapper h2 {
	margin-top: 2em;
	margin-bottom: .6em;
	font-size: 1.6rem;
}

.entry-content h3,
.editor-styles-wrapper h3 {
	margin-top: 1.6em;
	margin-bottom: .5em;
	font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: .35em;
}

.entry-content img {
	border-radius: 8px;
}

.entry-content figcaption,
.editor-styles-wrapper figcaption {
	color: #64748b;
	font-size: .88rem;
	text-align: center;
}

.entry-content blockquote {
	margin-left: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid #1e5bd7;
	color: #0f172a;
	font-style: italic;
}

.entry-content code {
	padding: 2px 6px;
	border-radius: 4px;
	background: #f1f5f9;
	font-size: .9em;
}

.entry-content pre {
	overflow-x: auto;
	padding: 16px 20px;
	border-radius: 8px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: .9rem;
	line-height: 1.6;
}

.entry-content pre code {
	padding: 0;
	background: none;
}

/* Tabellen (top 3, vergelijkingen, TablePress) ----------------------------- */

.wp-block-table,
.tablepress-wrapper {
	margin: 0 0 1.5em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wp-block-table table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	line-height: 1.5;
}

.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead,
.entry-content thead {
	border-bottom: 0;
}

.wp-block-table thead th,
.entry-content thead th {
	background: #0f172a;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.wp-block-table thead th:first-child {
	border-top-left-radius: 8px;
}

.wp-block-table thead th:last-child {
	border-top-right-radius: 8px;
}

.wp-block-table tbody tr:nth-child(even) {
	background: #f6f8fb;
}

.is-style-pcp-top3 td:first-child {
	color: #0f172a;
	font-weight: 700;
	white-space: nowrap;
}

/* Kaders ------------------------------------------------------------------- */

.pcp-box {
	padding: 20px 24px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f6f8fb;
}

.pcp-box > :first-child {
	margin-top: 0;
}

.pcp-box > :last-child {
	margin-bottom: 0;
}

.pcp-box--answer {
	border-color: #bfd3f7;
	border-left: 5px solid #1e5bd7;
	background: #e8effc;
	color: #0f172a;
}

.pcp-box--experience {
	border-color: #f5d9a3;
	border-left: 5px solid #d69e2e;
	background: #fff6e5;
}

.pcp-disclosure {
	margin-bottom: 1.5em;
	padding: 10px 14px;
	border-radius: 8px;
	background: #f1f5f9;
	color: #475569;
	font-size: .85rem;
	line-height: 1.5;
}

.pcp-disclosure a {
	color: inherit;
}

/* Productblok -------------------------------------------------------------- */

.pcp-product {
	margin: 2em 0;
	padding: 24px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.pcp-product > h3:first-child {
	margin-top: 0;
}

.pcp-proscons {
	gap: 16px !important;
}

.pcp-proscons .wp-block-column {
	padding: 14px 18px;
	border-radius: 8px;
}

.pcp-proscons p {
	margin: 0 0 6px;
	font-weight: 700;
}

.pcp-proscons ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcp-proscons li {
	position: relative;
	padding-left: 24px;
}

.pcp-pros {
	background: #ecf8f2;
}

.pcp-pros p {
	color: #0b6f4c;
}

.pcp-pros li::before {
	content: "+";
	position: absolute;
	left: 4px;
	color: #0e8a5f;
	font-weight: 800;
}

.pcp-cons {
	background: #fdf0f0;
}

.pcp-cons p {
	color: #a12a2a;
}

.pcp-cons li::before {
	content: "\2212";
	position: absolute;
	left: 4px;
	color: #c53030;
	font-weight: 800;
}

/* Affiliate-knoppen ------------------------------------------------------- */

.wp-block-button.is-style-affiliate .wp-block-button__link,
.pcp-buy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #0e8a5f;
	color: #fff;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.wp-block-button.is-style-affiliate .wp-block-button__link:hover,
.pcp-buy:hover {
	background: #0b6f4c;
	color: #fff;
}

.pcp-buy__shop {
	opacity: .85;
	font-weight: 500;
}

/* Veelgestelde vragen (ook Rank Math / Yoast FAQ-blok) --------------------- */

.pcp-faq h3,
.rank-math-faq-item h3,
.schema-faq-question {
	margin-bottom: .3em;
	font-size: 1.1rem;
}

.rank-math-faq-item,
.schema-faq-section {
	padding: 4px 0 12px;
	border-bottom: 1px solid #e2e8f0;
}

.pcp-signoff {
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
	color: #64748b;
	font-size: .92rem;
}
