/*
 * Blog post v2 – mockup docs/mockups/blog-wpis.html (decisions 04.11.2026).
 * Loaded only with option dbp_post_v2 (inc/blog-single-v2.php); the old single-post.css is not loaded then.
 * Scale = product page v3: H1 32 / H2 24 / H3 18 px, text 17 px, reading column 720 px.
 */

.dbp-post2 {
	--p2-accent: var(--dbp-color-accent, #00665e);
	--p2-accent-700: var(--dbp-color-accent-strong, #00514b);
	--p2-accent-900: #003d38;
	--p2-soft: var(--dbp-color-accent-soft, #e6f3f2);
	--p2-muted-line: var(--dbp-color-accent-muted, #cde7e5);
	--p2-heading: var(--dbp-color-heading, #1f2937);
	--p2-text: var(--dbp-color-text, #334155);
	--p2-muted: var(--dbp-color-muted, #64748b);
	--p2-border: var(--dbp-color-border, #e2e8f0);
	--p2-border-strong: var(--dbp-color-border-strong, #cbd5e1);
	--p2-alt: var(--dbp-color-surface-alt, #f8fafc);
	--p2-tile: #f1f5f4;
	--p2-r: 12px;
	color: var(--p2-text);
	padding-bottom: 64px;
}

/* ---------- breadcrumb ---------- */
.dbp-post2__bc ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 14px; list-style: none; font-size: 12.5px; color: var(--p2-muted); }
.dbp-post2__bc li + li::before { content: '›'; margin-right: 6px; opacity: .6; }
.dbp-post2__bc a { color: inherit; text-decoration: none; }
.dbp-post2__bc a:hover { color: var(--p2-accent); }

/* ---------- header (variant A: photo next to the title) ---------- */
.dbp-post2__hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--p2-border); }
.dbp-post2__hero.has-no-image { grid-template-columns: minmax(0, 760px); }
.dbp-post2__chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--p2-soft); color: var(--p2-accent-700); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.dbp-post2__title { font-size: 32px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; color: var(--p2-heading); margin: 14px 0 12px; }
.dbp-post2__lead { font-size: 17px; line-height: 1.65; color: var(--p2-text); max-width: 560px; margin: 0; }
.dbp-post2__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; font-size: 13px; color: var(--p2-muted); }
.dbp-post2__meta > * + *::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--p2-border-strong); margin-right: 14px; vertical-align: middle; }
.dbp-post2__who { display: inline-flex; align-items: center; gap: 10px; color: var(--p2-heading); font-weight: 500; text-decoration: none; }
.dbp-post2__who small { display: block; font-size: 12px; font-weight: 400; color: var(--p2-muted); }
.dbp-post2__ava { width: 36px; height: 36px; border-radius: 50%; background: var(--p2-soft); color: var(--p2-accent-700); display: inline-grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
.dbp-post2__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.dbp-post2__pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--p2-border-strong); background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--p2-heading); cursor: pointer; }
.dbp-post2__pill svg { width: 16px; height: 16px; color: var(--p2-accent); }
.dbp-post2__pill.is-active { border-color: var(--p2-accent); background: var(--p2-soft); }
.dbp-post2__pill:disabled { opacity: .55; cursor: default; }
.dbp-post2__ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--p2-border); display: inline-grid; place-items: center; color: var(--p2-muted); }
.dbp-post2__ico:hover { color: var(--p2-accent); border-color: var(--p2-muted-line); }
.dbp-post2__ico svg { width: 16px; height: 16px; }
.dbp-post2__hero-media { border-radius: 18px; overflow: hidden; background: var(--p2-tile); aspect-ratio: var(--dbp-post2-ratio, 4 / 3); max-height: 460px; }
.dbp-post2__hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- body: TOC column + reading column ---------- */
.dbp-post2__body { display: grid; grid-template-columns: minmax(0, 720px); gap: 64px; justify-content: center; padding-top: 40px; }
.dbp-post2__body:has(.dbp-post2__side) { grid-template-columns: 240px minmax(0, 720px); }
.dbp-post2__side > * + * { margin-top: 16px; }
.dbp-post2__toc { border: 1px solid var(--p2-border); border-radius: var(--p2-r); padding: 16px 14px 12px; background: #fff; }
.dbp-post2__side { align-self: start; position: sticky; top: calc(var(--dbp-post2-top, 80px) + 16px); }
.dbp-post2__toc-toggle { display: none; }
.dbp-post2__toc-t, .dbp-post2__mini-t { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--p2-muted); }
.dbp-post2__toc-bar { height: 3px; border-radius: 3px; background: var(--p2-border); margin: 0 0 10px; overflow: hidden; }
.dbp-post2__toc-bar i { display: block; height: 100%; width: 0; background: var(--p2-accent); transition: width .15s linear; }
.dbp-post2__toc-list { max-height: 360px; overflow-y: auto; scrollbar-width: thin; margin-right: -6px; padding-right: 6px; }
.dbp-post2__toc-list a { display: block; font-size: 13px; line-height: 1.4; color: var(--p2-text); padding: 7px 10px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; text-decoration: none; }
.dbp-post2__toc-list a:hover { color: var(--p2-accent); }
.dbp-post2__toc-list a.is-current { border-left-color: var(--p2-accent); background: var(--p2-soft); color: var(--p2-accent-700); font-weight: 500; }
.dbp-post2__mini { border: 1px solid var(--p2-border); border-radius: var(--p2-r); padding: 14px; background: #fff; }
.dbp-post2__mini a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--p2-heading); font-weight: 500; text-decoration: none; }
.dbp-post2__mini a + a { border-top: 1px solid var(--p2-border); }
.dbp-post2__mini img { width: 40px; height: 40px; border-radius: 8px; background: var(--p2-tile); object-fit: contain; flex: none; }
.dbp-post2__mini small { display: block; font-size: 12px; color: var(--p2-muted); font-weight: 400; }
.dbp-post2__mini small del { opacity: .7; }
.dbp-post2__mini small ins { text-decoration: none; color: var(--p2-heading); }
.dbp-post2__main { min-width: 0; }

/* ---------- article typography ---------- */
.dbp-post2__content { font-size: 17px; line-height: 1.75; color: var(--p2-text); }
.dbp-post2__content > * { margin-top: 0; margin-bottom: 0; }
.dbp-post2__content > * + * { margin-top: 16px; }
.dbp-post2--no-lead .dbp-post2__content > p:first-of-type { font-size: 19px; line-height: 1.65; color: var(--p2-heading); }
.dbp-post2__content strong, .dbp-post2__content b { color: var(--p2-heading); font-weight: 600; }
.dbp-post2__content a { color: var(--p2-accent); text-decoration: underline; text-decoration-color: var(--p2-muted-line); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dbp-post2__content a:hover { text-decoration-color: var(--p2-accent); }
.dbp-post2__content h2, .dbp-post2__content h3, .dbp-post2__content h4 { color: var(--p2-heading); scroll-margin-top: calc(var(--dbp-post2-top, 80px) + 56px); }
.dbp-post2__content h2 { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; margin-top: 52px; margin-bottom: 0; }
.dbp-post2__content h3 { font-size: 18px; line-height: 1.35; font-weight: 600; margin-top: 30px; }
.dbp-post2__content h4 { font-size: 16px; line-height: 1.4; font-weight: 600; margin-top: 24px; }
.dbp-post2__content h2 + *, .dbp-post2__content h3 + *, .dbp-post2__content h4 + * { margin-top: 12px; }
.dbp-post2__content ul:not(.wc-block-grid__products), .dbp-post2__content ol { padding: 0; list-style: none; display: grid; gap: 10px; }
.dbp-post2__content ul:not(.wc-block-grid__products) > li { position: relative; padding-left: 32px; }
.dbp-post2__content ul:not(.wc-block-grid__products) > li::before { content: ''; position: absolute; left: 0; top: .42em; width: 20px; height: 20px; border-radius: 50%; background: var(--p2-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300665e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dbp-post2__content ol { counter-reset: p2; }
.dbp-post2__content ol > li { position: relative; padding-left: 36px; counter-increment: p2; }
.dbp-post2__content ol > li::before { content: counter(p2); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--p2-accent); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 24px; text-align: center; }
.dbp-post2__content li > ul, .dbp-post2__content li > ol { margin-top: 8px; }
.dbp-post2__content blockquote { margin-left: 0; margin-right: 0; padding: 16px 18px; border-left: 3px solid var(--p2-accent); background: var(--p2-alt); border-radius: 0 var(--p2-r) var(--p2-r) 0; color: var(--p2-heading); }
.dbp-post2__content blockquote p { margin: 0; }
.dbp-post2__content hr { border: 0; border-top: 1px solid var(--p2-border); margin: 36px 0; }
.dbp-post2__content figure { margin-left: 0; margin-right: 0; }
.dbp-post2__content img { max-width: 100%; height: auto; border-radius: 14px; }
.dbp-post2__content .wp-block-image { margin-top: 28px; margin-bottom: 28px; }
.dbp-post2__content .wp-block-image figcaption, .dbp-post2__content figcaption { font-size: 12.5px; color: var(--p2-muted); margin-top: 8px; text-align: left; }
.dbp-post2__content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.dbp-post2__content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--p2-accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.dbp-post2__content .wp-block-button__link:hover { background: var(--p2-accent-700); }

/* tables */
.dbp-post2__content .wp-block-table { border: 1px solid var(--p2-border); border-radius: var(--p2-r); overflow-x: auto; margin-top: 20px; }
.dbp-post2__content table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 0; }
.dbp-post2__content th { background: var(--p2-soft); color: var(--p2-accent-900); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-align: left; padding: 10px 14px; border: 0; }
.dbp-post2__content td { padding: 11px 14px; border: 0; border-top: 1px solid var(--p2-border); vertical-align: top; }
.dbp-post2__content tbody tr:first-child td { border-top: 0; }
.dbp-post2__content thead + tbody tr:first-child td { border-top: 1px solid var(--p2-border); }
.dbp-post2__content td:first-child { width: 30%; color: var(--p2-heading); font-weight: 600; background: var(--p2-alt); }
.dbp-post2__content .wp-block-table figcaption { padding: 8px 14px; margin: 0; }

/* FAQ (Rank Math) – accordion added by single-post-v2.js */
.dbp-post2__content .rank-math-block { margin-top: 16px; }
.dbp-post2__content .rank-math-list { display: grid; gap: 8px; }
.dbp-post2__content .rank-math-list-item { border: 1px solid var(--p2-border); border-radius: var(--p2-r); background: #fff; }
.dbp-post2__content .rank-math-question { position: relative; margin: 0; padding: 14px 56px 14px 16px; font-size: 15.5px; line-height: 1.45; font-weight: 600; }
.dbp-post2__content .rank-math-answer { padding: 0 16px 16px; font-size: 15px; line-height: 1.7; }
.dbp-post2__content .rank-math-answer p { margin: 0; }
.dbp-post2__content .rank-math-answer p + p { margin-top: 10px; }
.dbp-post2__content .dbp-post2-faq .rank-math-question { cursor: pointer; }
.dbp-post2__content .dbp-post2-faq .rank-math-question::after { content: '+'; position: absolute; right: 14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--p2-soft); color: var(--p2-accent-700); display: grid; place-items: center; font-size: 18px; font-weight: 500; transition: transform .15s; }
.dbp-post2__content .dbp-post2-faq .rank-math-list-item:not(.is-open) .rank-math-answer { display: none; }
.dbp-post2__content .dbp-post2-faq .rank-math-list-item.is-open { border-color: var(--p2-muted-line); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.dbp-post2__content .dbp-post2-faq .rank-math-list-item.is-open .rank-math-question::after { transform: rotate(45deg); }

/* product block in the text → horizontal card (same anatomy as the category card) */
.dbp-post2__content .wc-block-grid { margin-top: 18px; }
.dbp-post2__content .wc-block-grid__products { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; margin: 0 !important; padding: 0; list-style: none; }
.dbp-post2__content .wc-block-grid__product { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; width: auto !important; max-width: none !important; margin: 0 !important; padding: 14px !important; border: 1px solid var(--p2-border) !important; border-radius: var(--p2-r); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); text-align: left !important; }
.dbp-post2__content .wc-block-grid__product::before { content: none !important; }
.dbp-post2__content .wc-block-grid__product-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; text-decoration: none; color: inherit; }
.dbp-post2__content .wc-block-grid__product-image { width: 112px; height: 112px; margin: 0 !important; border-radius: 10px; background: var(--p2-tile); overflow: hidden; }
.dbp-post2__content .wc-block-grid__product-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
.dbp-post2__content .wc-block-grid__product-title { font-size: 16px !important; font-weight: 600; color: var(--p2-heading); line-height: 1.35; margin: 0 !important; }
.dbp-post2__content .dbp-blog-product__subtitle { font-size: 13px; line-height: 1.45; color: var(--p2-muted); margin: 4px 0 0; }
.dbp-post2__content .dbp-blog-product__actions { display: grid; justify-items: end; gap: 8px; text-align: right; }
.dbp-post2__content .wc-block-grid__product-price { font-size: 18px; font-weight: 700; color: var(--p2-heading); margin: 0 !important; white-space: nowrap; }
.dbp-post2__content .wc-block-grid__product-add-to-cart { margin: 0 !important; }
.dbp-post2__content .wc-block-grid__product-add-to-cart .wp-block-button__link,
.dbp-post2__content .wc-block-grid__product-add-to-cart .button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px !important; border-radius: 10px !important; background: var(--p2-accent) !important; color: #fff !important; font-size: 13px !important; font-weight: 600; text-decoration: none; white-space: nowrap; border: 0; }

/* ---------- end: reactions + author ---------- */
.dbp-post2__end { border-top: 1px solid var(--p2-border); margin-top: 44px; padding-top: 28px; display: grid; gap: 16px; }
.dbp-post2__react { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 18px; border: 1px solid var(--p2-border); border-radius: var(--p2-r); background: #fff; }
.dbp-post2__react-t b { display: block; font-size: 15px; color: var(--p2-heading); }
.dbp-post2__react-t span { font-size: 13px; color: var(--p2-muted); }
.dbp-post2__react-b { display: flex; flex-wrap: wrap; gap: 8px; }
.dbp-post2__react-b button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--p2-border-strong); background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--p2-heading); cursor: pointer; }
.dbp-post2__react-b button svg { width: 16px; height: 16px; color: var(--p2-muted); }
.dbp-post2__react-b button:hover { border-color: var(--p2-accent); }
.dbp-post2__react-b button.is-done { border-color: var(--p2-accent); color: var(--p2-accent-700); }
.dbp-post2__like svg { color: #e11d48 !important; }
.dbp-post2__like.is-liked { background: #fff1f3; border-color: #fecdd3; }
.dbp-post2__like.is-liked svg { fill: currentColor; }
.dbp-post2__like em { font-style: normal; color: var(--p2-muted); font-weight: 400; padding-left: 8px; border-left: 1px solid var(--p2-border); }
.dbp-post2__author { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: var(--p2-r); background: var(--p2-alt); border: 1px solid var(--p2-border); }
.dbp-post2__author .dbp-post2__ava { width: 56px; height: 56px; font-size: 18px; }
.dbp-post2__author b { font-size: 15px; color: var(--p2-heading); }
.dbp-post2__author small { display: block; font-size: 12.5px; color: var(--p2-muted); margin: 1px 0 6px; }
.dbp-post2__author p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.dbp-post2__author a { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--p2-accent); text-decoration: none; }

/* ---------- bands after the article (outside .dbp-post2) ---------- */
.dbp-post2__band { padding: 44px 0; }
.dbp-post2__band--alt { background: var(--dbp-color-surface-alt, #f8fafc); box-shadow: 0 0 0 100vmax var(--dbp-color-surface-alt, #f8fafc); clip-path: inset(0 -100vmax); border-top: 1px solid var(--dbp-color-border, #e2e8f0); }
.dbp-post2__band-in { max-width: 1200px; margin: 0 auto; }
.dbp-post2__sh { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dbp-post2__sh h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--dbp-color-heading, #1f2937); }
.dbp-post2__sh p { margin: 2px 0 0; font-size: 13.5px; color: var(--dbp-color-muted, #64748b); }
.dbp-post2__sh a { font-size: 13px; font-weight: 600; color: var(--dbp-color-accent, #00665e); white-space: nowrap; text-decoration: none; }
.dbp-post2__pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dbp-post2__pgrid.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.dbp-post2__pgrid > * { min-width: 0; }
.dbp-post2__bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dbp-post2__bcard { display: flex; flex-direction: column; border: 1px solid var(--dbp-color-border, #e2e8f0); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; }
.dbp-post2__bcard img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #f1f5f4; }
.dbp-post2__bcard-b { display: grid; gap: 6px; padding: 14px 16px 16px; }
.dbp-post2__eb { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dbp-color-accent, #00665e); }
.dbp-post2__bcard-t { font-size: 15.5px; line-height: 1.4; font-weight: 600; color: var(--dbp-color-heading, #1f2937); }
.dbp-post2__bcard:hover .dbp-post2__bcard-t { color: var(--dbp-color-accent, #00665e); }
.dbp-post2__bcard-m { font-size: 12px; color: var(--dbp-color-muted, #64748b); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
	.dbp-post2__hero { gap: 32px; }
	.dbp-post2__body:has(.dbp-post2__side) { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
	.dbp-post2__pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone (TOC toggle in app.js switches at 700 px) ---------- */
@media (max-width: 700px) {
	.dbp-post2 { padding-bottom: 40px; }
	.dbp-post2__hero { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
	.dbp-post2__hero-media { order: -1; border-radius: 14px; max-height: none; }
	.dbp-post2__title { font-size: 25px; margin: 12px 0 10px; }
	.dbp-post2__lead { font-size: 16px; }
	.dbp-post2__meta, .dbp-post2__acts { margin-top: 16px; }

	.dbp-post2__body, .dbp-post2__body:has(.dbp-post2__side) { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
	.dbp-post2__side { position: sticky; top: var(--dbp-post2-top, 60px); z-index: 5; margin: 0 calc(-1 * var(--dbp-container-gutter, 1rem)); }
	.dbp-post2__mini { display: none; }
	.dbp-post2__toc { border: 0; border-bottom: 1px solid var(--p2-border); border-radius: 0; padding: 0; background: #fff; }
	.dbp-post2__toc.is-open { box-shadow: 0 12px 24px rgba(2, 6, 23, .12); }
	.dbp-post2__toc-panel { background: #fff; }
	.dbp-post2__toc-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--p2-heading); cursor: pointer; text-align: left; }
	.dbp-post2__toc-toggle em { font-style: normal; font-weight: 400; color: var(--p2-muted); margin-right: auto; }
	.dbp-post2__toc-toggle svg { width: 16px; height: 16px; color: var(--p2-muted); transition: transform .15s; }
	.dbp-post2__toc.is-open .dbp-post2__toc-toggle svg { transform: rotate(180deg); }
	.dbp-post2__toc-panel { overflow: hidden; transition: max-height .2s ease; padding: 0 16px; }
	.dbp-post2__toc-t { display: none; }
	.dbp-post2__toc-bar { margin: 0 -16px; border-radius: 0; height: 2px; }
	.dbp-post2__toc-list { max-height: 55vh; padding: 6px 0 12px; }
	.dbp-post2__main { padding-top: 20px; }

	.dbp-post2__content { font-size: 16px; line-height: 1.7; }
	.dbp-post2--no-lead .dbp-post2__content > p:first-of-type { font-size: 17px; }
	.dbp-post2__content h2 { font-size: 21px; margin-top: 40px; }
	.dbp-post2__content h3 { font-size: 17px; margin-top: 24px; }
	.dbp-post2__content .wp-block-image { margin-left: calc(-1 * var(--dbp-container-gutter, 1rem)); margin-right: calc(-1 * var(--dbp-container-gutter, 1rem)); }
	.dbp-post2__content .wp-block-image img { border-radius: 0; }
	.dbp-post2__content .wp-block-image figcaption { padding: 0 16px; }

	.dbp-post2__content .dbp-post2-tbl--stack tr { display: block; border-top: 1px solid var(--p2-border); }
	.dbp-post2__content .dbp-post2-tbl--stack tbody tr:first-child { border-top: 0; }
	.dbp-post2__content .dbp-post2-tbl--stack thead { display: none; }
	.dbp-post2__content .dbp-post2-tbl--stack td { display: block; width: auto; border: 0 !important; padding: 4px 14px; }
	.dbp-post2__content .dbp-post2-tbl--stack td:first-child { padding-top: 12px; background: none; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--p2-accent-700); }
	.dbp-post2__content .dbp-post2-tbl--stack td:last-child { padding-bottom: 12px; }
	.dbp-post2__content .dbp-post2-tbl--scroll table { min-width: 520px; }
	.dbp-post2__content .dbp-post2-tbl--scroll td:first-child { position: sticky; left: 0; z-index: 1; }

	.dbp-post2__content .wc-block-grid__product { grid-template-columns: 1fr; gap: 10px; padding: 12px !important; }
	.dbp-post2__content .wc-block-grid__product-link { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
	.dbp-post2__content .wc-block-grid__product-image { width: 84px; height: 84px; }
	.dbp-post2__content .dbp-blog-product__actions { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--p2-border); }

	.dbp-post2__react { padding: 14px; }
	.dbp-post2__react-b { width: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
	.dbp-post2__react-b button { justify-content: center; padding: 0 6px; font-size: 12px; gap: 6px; white-space: nowrap; }
	.dbp-post2__react-b button svg { width: 14px; height: 14px; }
	.dbp-post2__like em { display: none; }

	.dbp-post2__band { padding: 32px 0; }
	.dbp-post2__sh h2 { font-size: 19px; }
	.dbp-post2__pgrid, .dbp-post2__pgrid.is-few { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; max-width: none; padding-bottom: 6px; scrollbar-width: none; }
	.dbp-post2__pgrid > * { scroll-snap-align: start; }
	.dbp-post2__bgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
	.dbp-post2__bcard { scroll-snap-align: start; }
}

/* ---------- content components (core/html blocks in the post, mockup 04.11) ---------- */
.dbp-post2__content .dbp-c-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; background: var(--p2-soft); color: transparent; font-size: 0; vertical-align: 3px; }
.dbp-post2__content .dbp-c-num::before { content: attr(data-n); color: var(--p2-accent-700); font-size: 15px; font-weight: 600; }
.dbp-post2__content .dbp-c-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.dbp-post2__content .dbp-c-plan__col { border: 1px solid var(--p2-border); border-radius: var(--p2-r); padding: 16px; }
.dbp-post2__content .dbp-c-plan__col--am { background: linear-gradient(180deg, #fffaf0 0%, #fff 60%); border-color: #f5e6c8; }
.dbp-post2__content .dbp-c-plan__col--pm { background: linear-gradient(180deg, var(--p2-soft) 0%, #fff 60%); border-color: var(--p2-muted-line); }
.dbp-post2__content .dbp-c-plan__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--p2-heading); line-height: 1.3; }
.dbp-post2__content .dbp-c-plan__h svg { width: 18px; height: 18px; flex: none; }
.dbp-post2__content .dbp-c-plan__col--am .dbp-c-plan__h svg { color: #b45309; }
.dbp-post2__content .dbp-c-plan__col--pm .dbp-c-plan__h svg { color: var(--p2-accent); }
.dbp-post2__content a.dbp-c-plan__p { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; color: inherit; }
.dbp-post2__content a.dbp-c-plan__p + a.dbp-c-plan__p { border-top: 1px dashed var(--p2-border); }
.dbp-post2__content .dbp-c-plan__p img { width: 48px; height: 48px; border-radius: 10px; background: #fff; object-fit: contain; border: 1px solid var(--p2-border); flex: none; }
.dbp-post2__content .dbp-c-plan__p b { display: block; font-size: 14px; color: var(--p2-heading); font-weight: 600; line-height: 1.35; }
.dbp-post2__content .dbp-c-plan__p span { display: block; font-size: 12.5px; color: var(--p2-muted); line-height: 1.4; }
.dbp-post2__content .dbp-c-plan__p em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: var(--p2-muted); text-transform: uppercase; letter-spacing: .06em; }
.dbp-post2__content .dbp-c-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.dbp-post2__content .dbp-c-week div { border-radius: 10px; padding: 8px 4px; text-align: center; font-size: 11px; line-height: 1.35; color: var(--p2-muted); border: 1px solid var(--p2-border); }
.dbp-post2__content .dbp-c-week b { display: block; font-size: 12.5px; color: var(--p2-heading); margin-top: 2px; }
.dbp-post2__content .dbp-c-week .is-a { background: var(--p2-soft); border-color: var(--p2-muted-line); }
.dbp-post2__content .dbp-c-week .is-r { background: #fdf3e7; border-color: #f2dcc0; }
.dbp-post2__content .dbp-c-steps { display: grid; margin-top: 16px; }
.dbp-post2__content .dbp-c-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.dbp-post2__content .dbp-c-step::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--p2-border); }
.dbp-post2__content .dbp-c-step:last-child { padding-bottom: 0; }
.dbp-post2__content .dbp-c-step:last-child::before { display: none; }
.dbp-post2__content .dbp-c-step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--p2-accent); color: #fff; font-weight: 700; font-size: 15px; }
.dbp-post2__content .dbp-c-step--wait .dbp-c-step__n { background: #fff; border: 2px dashed var(--p2-border-strong); color: var(--p2-muted); }
.dbp-post2__content .dbp-c-step__n svg { width: 20px; height: 20px; }
.dbp-post2__content .dbp-c-step__t { font-size: 15.5px; font-weight: 600; color: var(--p2-heading); padding-top: 10px; line-height: 1.4; }
.dbp-post2__content .dbp-c-step__t em { font-style: normal; font-weight: 500; color: var(--p2-muted); }
.dbp-post2__content .dbp-c-step__d { font-size: 15px; line-height: 1.65; margin: 4px 0 0; }
.dbp-post2__content .dbp-c-callout { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; border-radius: var(--p2-r); background: #fff8eb; border: 1px solid #f6dfb6; padding: 16px; margin-top: 24px; }
.dbp-post2__content .dbp-c-callout svg { width: 22px; height: 22px; color: #b45309; margin: 2px auto 0; }
.dbp-post2__content .dbp-c-callout b { display: block; font-size: 15px; color: var(--p2-heading); margin-bottom: 4px; }
.dbp-post2__content .dbp-c-callout p { margin: 0; font-size: 14.5px; line-height: 1.65; }
.dbp-post2__content p.dbp-c-more { margin-top: 28px; padding: 14px 16px 14px 48px; border-radius: var(--p2-r); background: var(--p2-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300665e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5V21h16'/%3E%3C/svg%3E") 16px 50% / 20px no-repeat; border: 1px solid var(--p2-border); font-size: 14px; line-height: 1.55; }
.dbp-post2__content p.dbp-c-more a { font-weight: 600; text-decoration: none; }
/* icons of content components – CSS only, because wp_kses_post strips <svg> from post content */
.dbp-post2__content .dbp-c-plan__h::before { content: ''; width: 18px; height: 18px; flex: none; background: center / contain no-repeat; }
.dbp-post2__content .dbp-c-plan__col--am .dbp-c-plan__h::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.dbp-post2__content .dbp-c-plan__col--pm .dbp-c-plan__h::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300665e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E"); }
.dbp-post2__content .dbp-c-step--wait .dbp-c-step__n { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dbp-post2__content .dbp-c-callout::before { content: ''; width: 22px; height: 22px; margin: 2px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.dbp-post2__content .dbp-c-callout__in { min-width: 0; }
@media (max-width: 700px) {
	.dbp-post2__content .dbp-c-plan { grid-template-columns: 1fr; }
	.dbp-post2__content .dbp-c-num { width: 28px; height: 28px; }
	.dbp-post2__content .dbp-c-num::before { font-size: 14px; }
	.dbp-post2__content .dbp-c-week { gap: 4px; }
	.dbp-post2__content .dbp-c-week div { padding: 6px 2px; font-size: 10px; }
	.dbp-post2__content .dbp-c-week b { font-size: 11px; }
}

/* ---------- hover / active / focus (04.11) ---------- */
.dbp-post2 :is(a, button):focus-visible,
.dbp-post2__band :is(a, button):focus-visible { outline: 2px solid var(--dbp-color-accent, #00665e); outline-offset: 2px; }
.dbp-post2 :is(.dbp-post2__pill, .dbp-post2__ico, .dbp-post2__react-b button, .dbp-post2__toc-toggle),
.dbp-post2__chip, .dbp-post2__mini a, .dbp-post2__bcard, .dbp-post2__toc-list a { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s; }
.dbp-post2__pill:hover:not(:disabled) { border-color: var(--p2-accent); background: var(--p2-soft); color: var(--p2-accent-700); }
.dbp-post2__ico:hover { background: var(--p2-soft); }
.dbp-post2__react-b button:hover { background: var(--p2-soft); color: var(--p2-accent-700); }
.dbp-post2__react-b button:hover svg { color: var(--p2-accent); }
.dbp-post2__like:hover { background: #fff1f3 !important; border-color: #fecdd3 !important; color: #be123c !important; }
.dbp-post2 :is(.dbp-post2__pill, .dbp-post2__ico, .dbp-post2__react-b button):active:not(:disabled) { transform: scale(.96); }
.dbp-post2__chip:hover { background: var(--p2-muted-line); }
.dbp-post2__who:hover { color: var(--p2-accent); }
.dbp-post2__toc-list a:hover { background: var(--p2-alt); }
.dbp-post2__toc-list a:active { background: var(--p2-soft); }
.dbp-post2__mini a:hover { color: var(--p2-accent); }
.dbp-post2__mini a:hover img { box-shadow: 0 0 0 1px var(--p2-muted-line); }
.dbp-post2__author a:hover, .dbp-post2__sh a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dbp-post2__bcard:hover { border-color: var(--dbp-color-accent-muted, #cde7e5); box-shadow: 0 10px 24px rgba(2, 6, 23, .08); transform: translateY(-2px); }
.dbp-post2__bcard:active { transform: translateY(0); }
.dbp-post2__content .wc-block-grid__product { transition: border-color .15s, box-shadow .15s; }
.dbp-post2__content .wc-block-grid__product:hover { border-color: var(--p2-muted-line) !important; box-shadow: 0 8px 22px rgba(2, 6, 23, .08); }
.dbp-post2__content .wc-block-grid__product-link:hover .wc-block-grid__product-title { color: var(--p2-accent); }
.dbp-post2__content .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.dbp-post2__content .wc-block-grid__product-add-to-cart .button:hover { background: var(--p2-accent-700) !important; }
.dbp-post2__content .wc-block-grid__product-add-to-cart :is(.wp-block-button__link, .button):active { transform: scale(.97); }
.dbp-post2__content a.dbp-c-plan__p { border-radius: 8px; transition: background-color .15s; }
.dbp-post2__content a.dbp-c-plan__p:hover { background: rgba(255, 255, 255, .7); }
.dbp-post2__content a.dbp-c-plan__p:hover b { color: var(--p2-accent); }
.dbp-post2__content p.dbp-c-more a:hover { text-decoration: underline; }
.dbp-post2__content .dbp-post2-faq .rank-math-question:hover { color: var(--p2-accent-700); }
.dbp-post2__content .dbp-post2-faq .rank-math-question:hover::after { background: var(--p2-muted-line); }
.dbp-post2__content .dbp-post2-faq .rank-math-list-item:hover { border-color: var(--p2-muted-line); }

/* ---------- listen player ---------- */
.dbp-post2__listen { display: inline-flex; align-items: center; gap: 8px; }
.dbp-post2__listen[hidden], .dbp-post2__listen-stop[hidden] { display: none; }
.dbp-post2__pill { position: relative; overflow: hidden; }
.dbp-post2__listen-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--dbp-listen-progress, 0%); background: var(--p2-accent); transition: width .3s; opacity: 0; }
.dbp-post2__pill.is-active { border-color: var(--p2-accent); background: var(--p2-soft); color: var(--p2-accent-700); }
.dbp-post2__pill.is-active .dbp-post2__listen-bar { opacity: 1; }
.dbp-post2__pill[aria-pressed="true"] svg { animation: dbp-post2-pulse 1.2s ease-in-out infinite; }
.dbp-post2__listen-stop { cursor: pointer; background: #fff; font: inherit; }
.dbp-post2__listen-stop svg { width: 12px; height: 12px; color: var(--p2-heading); }
@keyframes dbp-post2-pulse { 50% { opacity: .45; } }
.dbp-post2__content .is-reading { background: #fff8db; box-shadow: 0 0 0 6px #fff8db; border-radius: 4px; transition: background-color .2s; }
.dbp-post2__content tr.is-reading td { background: #fff8db; }
@media (prefers-reduced-motion: reduce) {
	.dbp-post2__pill[aria-pressed="true"] svg { animation: none; }
	.dbp-post2__bcard:hover { transform: none; }
}
