/* =========================================================================
   Paperboy — core blocks, block styles, block patterns and post formats.
   Everything is scoped to post content (.entry-content) or to block / format classes,
   so pages built with Elementor never change. The editor loads this same file with
   ".entry-content" swapped for the editor's root block list (inc/gutenberg.php).
   ========================================================================= */

/* palette + gradients follow the live theme colors (Theme Options / starter site) */
html body {
	--wp--preset--color--ppb-accent: var(--ppb-accent);
	--wp--preset--color--ppb-accent-2: var(--ppb-accent-2);
	--wp--preset--color--ppb-ink: var(--ppb-ink);
	--wp--preset--color--ppb-text: var(--ppb-text);
	--wp--preset--gradient--ppb-brand: var(--ppb-ink); /* B&W: preset key kept, renders flat ink */
	--wp--preset--gradient--ppb-glow: var(--ppb-soft); /* B&W: flat tint band */
}

/* ---------- text ---------- */
.entry-content > :is(ul, ol), .entry-content .wp-block-list { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content > :is(ul, ol) li, .entry-content .wp-block-list li { margin-top: .4em; margin-bottom: .4em; padding-left: .2em; }
.entry-content > ul li::marker, .entry-content ul.wp-block-list li::marker { color: var(--ppb-accent-text, currentColor); }
.entry-content > ol li::marker, .entry-content ol.wp-block-list li::marker { color: var(--ppb-accent-text, currentColor); font-weight: 700; }
.entry-content :is(ul, ol) :is(ul, ol) { margin: .3em 0 .5em; }
.entry-content > dl dt { color: var(--ppb-ink); font-weight: 700; margin-top: .8em; }
.entry-content > dl dd { margin: .2em 0 .6em 1.2em; }
.entry-content > :is(p, ul, ol, dl, table) :is(abbr, acronym)[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.entry-content > :is(p, ul, ol) kbd, .entry-content .wp-block-paragraph kbd { padding: .12em .45em; border: 1px solid var(--ppb-line); border-bottom-width: 2px; border-radius: 0; background: #fff; color: var(--ppb-ink); }
.entry-content > :is(p, ul, ol) mark:not(.has-inline-color) { padding: 0 .2em; border-radius: 0; background: #ececec; color: var(--ppb-ink); }
.entry-content > :is(p, ul, ol) ins { background: none; text-decoration: underline; text-decoration-color: var(--ppb-accent); text-underline-offset: 3px; }
.entry-content > address { margin: 0 0 1.4em; font-style: normal; padding-left: 14px; border-left: 3px solid var(--ppb-line); }
.entry-content .has-small-font-size { line-height: 1.6; }
.entry-content :is(.has-large-font-size, .has-x-large-font-size, .has-huge-font-size) { line-height: 1.3; }
.entry-content p.has-background { padding: 1.1em 1.4em; border-radius: var(--ppb-radius); }
.entry-content :is(h1, h2, h3, h4, h5, h6).has-background { padding: .5em .8em; border-radius: var(--ppb-radius); }

/* ---------- quotes ---------- */
.entry-content .wp-block-quote { position: relative; }
.entry-content .wp-block-quote p:last-of-type { margin-bottom: 0; }
.entry-content :is(.wp-block-quote, blockquote) cite, .entry-content .wp-block-quote .wp-block-quote__citation { display: block; margin-top: 12px; color: var(--ppb-mute); font-size: 14px; font-style: normal; font-weight: 600; letter-spacing: .01em; }
.entry-content :is(.wp-block-quote, blockquote) cite::before { content: "— "; color: var(--ppb-accent-text, currentColor); }
.entry-content .wp-block-quote.is-style-large, .entry-content .wp-block-quote.is-large { padding: 1.6em 2em; font-size: 1.35em; line-height: 1.5; font-family: var(--ppb-font-head); font-weight: 600; letter-spacing: -.01em; }
.entry-content .wp-block-quote.is-style-plain { padding: 0 0 0 1.2em; background: none; border-left-width: 2px; border-radius: 0; }
.entry-content .wp-block-quote.has-text-align-center { border-left: 0; border-top: 3px solid var(--ppb-ink); border-radius: 0; text-align: center; }
.entry-content .wp-block-quote.has-text-align-right { border-left: 0; border-right: 3px solid var(--ppb-ink); border-radius: 0; }

.entry-content .wp-block-pullquote { position: relative; margin-top: 2.6em; margin-bottom: 2.6em; padding: 2.4em 2em 2em; border: 0; border-top: 1px solid var(--ppb-ink); border-bottom: 1px solid var(--ppb-ink); border-radius: 0; background: none; text-align: left; color: var(--ppb-ink); }
.entry-content .wp-block-pullquote::before { content: ""; position: absolute; top: -1px; left: 0; width: 60px; height: 3px; border-radius: 0; background: var(--ppb-accent); }
.entry-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; color: inherit; font-size: inherit; }
.entry-content .wp-block-pullquote p { font-family: var(--ppb-font-head); font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.entry-content .wp-block-pullquote cite { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.entry-content .wp-block-pullquote cite::before { content: none; }
.entry-content .wp-block-pullquote.has-background { background-image: none; }
.entry-content .wp-block-pullquote.has-text-color { color: inherit; }
.entry-content .wp-block-pullquote.alignleft, .entry-content .wp-block-pullquote.alignright { max-width: 320px; padding: 1.6em 1.4em; }
.entry-content .wp-block-pullquote.alignleft p, .entry-content .wp-block-pullquote.alignright p { font-size: 1.15rem; }

/* ---------- code ---------- */
.entry-content .wp-block-code { border: 0; padding: 1.2em 1.4em; border-radius: 0; background: #0a0a0a; color: #e5e5e5; font-size: .88em; line-height: 1.65; box-shadow: none; }
.entry-content .wp-block-code code { padding: 0; background: none; color: inherit; font-size: inherit; white-space: pre; }
.entry-content .wp-block-preformatted { white-space: pre-wrap; }
.entry-content .wp-block-verse { padding: 1.4em 1.6em; border-left: 3px solid var(--ppb-ink); border-radius: 0; background: var(--ppb-soft); color: var(--ppb-ink); font-family: var(--ppb-font-head); font-size: 1.05em; line-height: 1.8; white-space: pre-wrap; overflow-wrap: break-word; }

/* ---------- tables ---------- */
.entry-content .wp-block-table { margin-top: 2em; margin-bottom: 2em; overflow-x: auto; }
.entry-content .wp-block-table table { margin: 0; border: 1px solid var(--ppb-line); border-collapse: separate; border-spacing: 0; border-radius: 0; overflow: hidden; font-size: .95em; }
.entry-content .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid var(--ppb-line); padding: .8em 1em; }
.entry-content .wp-block-table tr:last-child td { border-bottom: 0; }
.entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table thead th, .entry-content > table th { background: var(--ppb-soft); color: var(--ppb-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--ppb-ink); }
.entry-content .wp-block-table tfoot td { border-top: 1px solid var(--ppb-line); background: var(--ppb-soft); font-weight: 700; color: var(--ppb-ink); }
.entry-content .wp-block-table.is-style-stripes { border-bottom: 0; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--ppb-soft); }
.entry-content .wp-block-table.is-style-stripes :is(th, td) { border-bottom: 0; }
.entry-content .wp-block-table figcaption { margin-top: 10px; }
.entry-content > table { display: block; overflow-x: auto; }

/* ---------- buttons ---------- */
.entry-content .wp-block-buttons { margin-top: 1.6em; margin-bottom: 1.6em; gap: 12px; }
.entry-content .wp-block-button__link { border-radius: 0; box-shadow: none; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.entry-content .wp-block-button:not(.is-style-outline):not(.is-style-ppbgb-outline-soft) > .wp-block-button__link:not(.has-background) { background: var(--ppb-ink); color: #fff; }
.entry-content .wp-block-button:not(.is-style-outline):not(.is-style-ppbgb-outline-soft) > .wp-block-button__link:not(.has-background):hover { background: var(--ppb-accent); color: var(--ppb-accent-ink, #0a0a0a); }
.entry-content .wp-block-button__link.has-background { background-image: none; }
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link, .entry-content .wp-block-button__link.is-style-outline { background: transparent; border: 1px solid var(--ppb-ink); box-shadow: none; color: var(--ppb-ink) !important; }
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover { background: var(--ppb-ink); color: #fff !important; }
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link.has-text-color { color: inherit !important; }
.entry-content .wp-block-button.is-style-squared > .wp-block-button__link { border-radius: 0; }
.entry-content .wp-block-button.has-custom-width > .wp-block-button__link { display: flex; }
.entry-content .wp-block-button.has-custom-font-size > .wp-block-button__link { font-size: inherit; }

/* ---------- images, galleries, media ---------- */
.entry-content .wp-block-image.alignleft, .entry-content .wp-block-image.alignright { max-width: 50%; }
.entry-content .wp-block-image :is(.alignleft, .alignright, .aligncenter) img, .entry-content .wp-block-image:is(.alignleft, .alignright, .aligncenter) img { width: auto; max-width: 100%; }
.entry-content .wp-block-image.is-style-rounded img { border-radius: 9999px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption img { display: block; max-width: 100%; height: auto; border-radius: var(--ppb-radius); }
.entry-content .wp-block-gallery { margin-top: 2em; margin-bottom: 2em; }
.entry-content .wp-block-gallery figure.wp-block-image { margin: 0; }
.entry-content .wp-block-gallery figure.wp-block-image img { border-radius: var(--ppb-radius); }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { border-radius: 0; font-size: 13px; }
.entry-content .wp-block-gallery > .blocks-gallery-caption { margin-top: 12px; }
.entry-content .wp-block-media-text { margin-top: 2.2em; margin-bottom: 2.2em; gap: 0; border-radius: var(--ppb-radius); overflow: hidden; }
.entry-content .wp-block-media-text .wp-block-media-text__media img { border-radius: 0; }
.entry-content .wp-block-media-text:not(.has-background) .wp-block-media-text__media img { border-radius: var(--ppb-radius); }
.entry-content .wp-block-media-text .wp-block-media-text__content { padding: 0 6%; }
.entry-content .wp-block-media-text .wp-block-media-text__content > :first-child { margin-top: 0; }
.entry-content .wp-block-video video, .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { border-radius: var(--ppb-radius); overflow: hidden; }
.entry-content .wp-block-video, .entry-content .wp-block-embed, .entry-content .wp-block-audio { margin-top: 2em; margin-bottom: 2em; }
.entry-content .wp-block-audio audio { width: 100%; }
.entry-content .wp-block-embed figcaption, .entry-content .wp-block-video figcaption, .entry-content .wp-block-audio figcaption { margin-top: 10px; }
.entry-content > p > iframe, .entry-content .wp-block-embed iframe { max-width: 100%; }
.entry-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 16px 22px; border: 1px solid var(--ppb-line); border-radius: var(--ppb-radius); background: #fff; }
.entry-content .wp-block-file > a:not(.wp-block-file__button) { color: var(--ppb-ink); font-weight: 700; text-decoration: none; }
.entry-content .wp-block-file .wp-block-file__button { min-height: 40px; padding: 0 18px; font-size: 14px; }
.entry-content .wp-block-file .wp-block-file__embed { margin-bottom: 0; border-radius: 0; }

/* ---------- cover ---------- */
.entry-content .wp-block-cover, .entry-content .wp-block-cover-image { margin-top: 2.2em; margin-bottom: 2.2em; border-radius: var(--ppb-radius); overflow: hidden; padding: 2.4em; }
.entry-content .wp-block-cover.alignfull, .entry-content .wp-block-cover-image.alignfull { border-radius: 0; }
.entry-content .wp-block-cover:not(.is-light) .wp-block-cover__inner-container :where(h1, h2, h3, h4, h5, h6, p, a, cite) { color: inherit; }
.entry-content .wp-block-cover.is-light .wp-block-cover__inner-container :where(h1, h2, h3, h4, h5, h6) { color: var(--ppb-ink); }
.entry-content .wp-block-cover .wp-block-cover__inner-container > :first-child { margin-top: 0; }
.entry-content .wp-block-cover .wp-block-cover__inner-container > :last-child { margin-bottom: 0; }
.entry-content .wp-block-cover p.has-large-font-size, .entry-content .wp-block-cover p.has-x-large-font-size { font-family: var(--ppb-font-head); font-weight: 800; letter-spacing: -.015em; }

/* ---------- layout ---------- */
.entry-content .wp-block-columns { margin-top: 2em; margin-bottom: 2em; gap: 2em; }
.entry-content .wp-block-column > :first-child { margin-top: 0; }
.entry-content .wp-block-column > :last-child { margin-bottom: 0; }
.entry-content .wp-block-columns.has-background { padding: 2em 2.2em; border-radius: var(--ppb-radius); }
.entry-content .wp-block-column.has-background { padding: 1.6em; border-radius: var(--ppb-radius); }
.entry-content .wp-block-group { margin-top: 2em; margin-bottom: 2em; }
.entry-content .wp-block-group > :first-child { margin-top: 0; }
.entry-content .wp-block-group > :last-child { margin-bottom: 0; }
.entry-content .wp-block-group.has-background { padding: 2em 2.2em; border-radius: var(--ppb-radius); }
.entry-content .wp-block-group.alignfull.has-background { border-radius: 0; }
.entry-content .wp-block-group :is(.wp-block-group, .wp-block-columns) { margin-top: 0; }
.entry-content .wp-block-separator { margin-top: 2.6em; margin-bottom: 2.6em; border: 0; border-top: 1px solid var(--ppb-line); opacity: 1; }
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots):not(.is-style-ppbgb-gradient):not(.alignwide):not(.alignfull) { width: 96px; margin-left: auto; margin-right: auto; border-top-width: 3px; border-radius: 0; border-color: var(--ppb-ink); }
.entry-content .wp-block-separator.is-style-wide { width: 100%; }
.entry-content .wp-block-separator.is-style-dots { border: 0; background: none; color: var(--ppb-ink); }
.entry-content .wp-block-separator.is-style-dots::before { font-size: 26px; letter-spacing: 1.6em; padding-left: 1.6em; }
.entry-content .wp-block-separator.has-background:not(.is-style-dots) { height: 2px; border: 0; }
.entry-content .wp-block-spacer { margin: 0; }
.entry-content .wp-block-details { margin: 1em 0; padding: 0; border: 0; border-top: 1px solid var(--ppb-line); border-bottom: 1px solid var(--ppb-line); border-radius: 0; background: #fff; transition: border-color .5s ease; }
.entry-content .wp-block-details[open] { border-color: var(--ppb-ink); box-shadow: none; }
.entry-content .wp-block-details summary { position: relative; padding: 16px 52px 16px 0; color: var(--ppb-ink); font-weight: 700; cursor: pointer; list-style: none; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; position: absolute; top: 50%; right: 18px; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 0; background: none; color: var(--ppb-accent-text, currentColor); font-size: 20px; font-weight: 600; line-height: 1; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.entry-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.entry-content .wp-block-details > :not(summary) { margin-left: 0; margin-right: 0; }
.entry-content .wp-block-details > :last-child:not(summary) { margin-bottom: 18px; }

/* ---------- widgets inside posts ---------- */
.entry-content :is(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories, .wp-block-page-list, .wp-block-rss, .wp-block-latest-comments) { padding-left: 0; list-style: none; }
.entry-content :is(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories-list, .wp-block-rss) > li { padding: 8px 0; border-bottom: 1px solid #ececec; margin: 0; }
.entry-content .wp-block-latest-posts > li > a, .entry-content .wp-block-rss__item-title a { color: var(--ppb-ink); font-weight: 700; text-decoration: none; }
.entry-content .wp-block-latest-posts.is-grid > li { border: 0; border-top: 1px solid var(--ppb-ink); border-radius: 0; padding: 14px 0 0; }
.entry-content :is(.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author, .wp-block-rss__item-publish-date) { color: var(--ppb-mute); font-size: 13px; }
.entry-content .wp-block-search__inside-wrapper { gap: 8px; }
.entry-content .wp-block-search__input { border-radius: 0; padding-left: 14px; }
.entry-content .wp-block-search__button { margin-left: 0; }
.entry-content .wp-block-tag-cloud a { display: inline-block; margin: 0 4px 8px 0; padding: 5px 10px; border: 1px solid var(--ppb-line); border-radius: 0; background: none; color: var(--ppb-ink); text-decoration: none; font-size: 12px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: border-color .3s ease, color .3s ease; }
.entry-content .wp-block-tag-cloud a:hover { border-color: var(--ppb-ink); text-decoration-line: underline; text-decoration-color: var(--ppb-accent); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.entry-content .wp-block-calendar table { border: 1px solid var(--ppb-line); border-radius: 0; }
.entry-content .wp-block-calendar :is(th, td) { text-align: center; padding: .5em; }
.entry-content .wp-block-footnotes { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--ppb-line); font-size: 14px; color: var(--ppb-mute); }

/* =========================================================================
   Block styles (Styles panel in the editor)
   ========================================================================= */
/* "Gradient" style key kept for saved content; B&W renders it as the solid ink button */
.wp-block-button.is-style-ppbgb-gradient > .wp-block-button__link { background: var(--ppb-ink); color: #fff; border-radius: 0; box-shadow: none; transition: background-color .35s ease; }
.wp-block-button.is-style-ppbgb-gradient > .wp-block-button__link:hover { background: var(--ppb-accent); }
.wp-block-button.is-style-ppbgb-outline-soft > .wp-block-button__link { background: transparent; border: 1px solid var(--ppb-ink); border-radius: 0; box-shadow: none; color: var(--ppb-ink) !important; transition: background-color .35s ease, color .35s ease; }
.wp-block-button.is-style-ppbgb-outline-soft > .wp-block-button__link:hover { background: var(--ppb-ink); color: #fff !important; filter: none; }

.wp-block-image.is-style-ppbgb-rounded img { border-radius: var(--ppb-radius) !important; }
.wp-block-image.is-style-ppbgb-shadow img { border-radius: var(--ppb-radius); box-shadow: none; outline: 1px solid var(--ppb-ink); outline-offset: 6px; }

.wp-block-quote.is-style-ppbgb-accent { position: relative; padding: .4em 0 .4em 1.6em; border: 0; border-radius: 0; background: none; font-family: var(--ppb-font-head); font-size: 1.3em; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--ppb-ink); }
.wp-block-quote.is-style-ppbgb-accent::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; border-radius: 0; background: var(--ppb-accent); }
.wp-block-quote.is-style-ppbgb-accent cite { font-family: var(--ppb-font); font-size: 13px; }

.wp-block-group.is-style-ppbgb-card { padding: 2em 2.2em; border: 1px solid var(--ppb-ink); border-radius: var(--ppb-radius); background-color: #fff; box-shadow: none; }
.wp-block-group.is-style-ppbgb-card > :first-child { margin-top: 0; }
.wp-block-group.is-style-ppbgb-card > :last-child { margin-bottom: 0; }

/* "Gradient" separator key kept; B&W = 3px ink rule with a red 60px tick */
.wp-block-separator.is-style-ppbgb-gradient { position: relative; width: 100%; height: 3px; border: 0 !important; border-radius: 0; background: var(--ppb-ink) !important; opacity: 1; overflow: visible; }
.wp-block-separator.is-style-ppbgb-gradient::before { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 3px; background: var(--ppb-accent); }

.wp-block-list.is-style-ppbgb-check, ul.is-style-ppbgb-check { padding-left: 0 !important; list-style: none; }
.is-style-ppbgb-check > li { position: relative; padding-left: 32px !important; }
.is-style-ppbgb-check > li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: #ececec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* =========================================================================
   Block patterns (Patterns → Paperboy). Classes start with ppbgb-.
   ========================================================================= */
.entry-content .ppbgb-eyebrow, .ppbgb-eyebrow { display: inline-block; margin-bottom: 14px; padding: 0; border-radius: 0; background: none; color: var(--ppb-accent-text, currentColor); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; text-decoration-line: underline; text-decoration-color: var(--ppb-accent); text-decoration-thickness: 3px; text-underline-offset: .28em; text-decoration-skip-ink: none; }
.ppbgb-muted { color: var(--ppb-mute); }

/* hero */
.wp-block-group.ppbgb-hero { position: relative; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-top: 3px solid var(--ppb-ink); border-bottom: 1px solid var(--ppb-ink); border-radius: 0; background: #fff; text-align: left; overflow: hidden; }
.ppbgb-hero h2 { margin: 0 0 14px; max-width: 760px; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
.ppbgb-hero h2 em { font-style: italic; color: var(--ppb-ink); }
.ppbgb-hero .ppbgb-lead { max-width: 620px; margin: 0 0 26px; color: var(--ppb-mute); font-size: 1.12rem; }
.ppbgb-hero .wp-block-buttons { justify-content: flex-start; margin: 0 0 18px; }
.ppbgb-hero .ppbgb-note { margin: 0; color: var(--ppb-mute); font-size: 13.5px; }

/* section heading */
.ppbgb-head { max-width: none; margin: 0 0 32px; padding-bottom: 14px; border-bottom: 1px solid var(--ppb-ink); text-align: left; }
.ppbgb-head h2 { margin: 0 0 10px; }
.ppbgb-head p { margin: 0; color: var(--ppb-mute); }

/* features */
.wp-block-columns.ppbgb-features { gap: 22px; }
.ppbgb-features .wp-block-column { padding: 22px 0 0; border: 0; border-top: 1px solid var(--ppb-ink); border-radius: 0; background: none; box-shadow: none; transition: border-color .5s ease; }
.ppbgb-features .wp-block-column:hover { border-top-color: var(--ppb-accent); }
.ppbgb-features h3 { margin: 0 0 8px; font-size: 1.18rem; }
.ppbgb-features p { margin: 0; font-size: .97em; }
.ppbgb-features .ppbgb-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 18px; border-radius: 0; background: var(--ppb-ink); color: #fff; font: 700 15px/1 var(--ppb-font-head); letter-spacing: .02em; box-shadow: none; }

/* call to action */
.wp-block-group.ppbgb-cta { padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px); border-radius: 0; border-top: 3px solid var(--ppb-accent); background: #0a0a0a; color: #fff; box-shadow: none; }
.wp-block-group.ppbgb-cta :where(h2, h3, p, a) { color: #fff; }
.ppbgb-cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.ppbgb-cta p { margin: 0; opacity: .92; }
.ppbgb-cta .wp-block-columns { margin: 0; align-items: center !important; }
.ppbgb-cta .wp-block-buttons { margin: 0; justify-content: flex-end; }
.ppbgb-cta .wp-block-button__link, .ppbgb-btn-light .wp-block-button__link { background: #fff; color: var(--ppb-ink) !important; box-shadow: none; }
.ppbgb-cta .wp-block-button__link:hover, .ppbgb-btn-light .wp-block-button__link:hover { background: var(--ppb-accent); color: var(--ppb-accent-ink, #0a0a0a) !important; }
@media (max-width: 781px) { .ppbgb-cta .wp-block-buttons { justify-content: flex-start; } }

/* pricing */
.wp-block-columns.ppbgb-pricing { gap: 22px; align-items: stretch; }
.ppbgb-pricing .wp-block-column { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--ppb-line); border-radius: 0; background: #fff; box-shadow: none; }
.ppbgb-pricing .wp-block-column > .wp-block-buttons { margin-top: auto; margin-bottom: 0; }
.ppbgb-pricing .wp-block-button, .ppbgb-pricing .wp-block-button__link { width: 100%; }
.ppbgb-pricing h3 { margin: 0 0 4px; font-size: 1.1rem; }
.ppbgb-pricing .ppbgb-price { margin: 14px 0 4px; color: var(--ppb-ink); font: 700 2.6rem/1 var(--ppb-font-head); letter-spacing: -.03em; }
.ppbgb-pricing .ppbgb-price sub, .ppbgb-pricing .ppbgb-per { color: var(--ppb-mute); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.ppbgb-pricing .ppbgb-per { margin: 0 0 18px; }
.ppbgb-pricing ul { margin: 0 0 24px; font-size: .96em; }
.ppbgb-pricing .wp-block-column.ppbgb-featured { background: #fff; border: 2px solid var(--ppb-ink); box-shadow: none; }
.ppbgb-pricing .ppbgb-flag { position: absolute; top: -13px; left: 28px; margin: 0; padding: 4px 8px; border-radius: 0; background: var(--ppb-ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* testimonial */
.wp-block-group.ppbgb-testimonial { position: relative; padding: clamp(32px, 5vw, 52px); border-top: 1px solid var(--ppb-ink); border-bottom: 1px solid var(--ppb-ink); border-radius: 0; background: none; text-align: center; }
.ppbgb-testimonial::before { content: "\201C"; display: block; height: 52px; margin-bottom: 8px; font: 700 96px/1 var(--ppb-font-head); color: var(--ppb-accent-text, currentColor); }
.ppbgb-testimonial .ppbgb-quote { max-width: 680px; margin: 0 auto 22px; color: var(--ppb-ink); font: 600 clamp(1.15rem, 2vw, 1.4rem)/1.5 var(--ppb-font-head); letter-spacing: -.01em; }
.ppbgb-testimonial .ppbgb-stars { margin: 0 0 14px; color: var(--ppb-ink); letter-spacing: .2em; font-size: 15px; }
.ppbgb-testimonial .wp-block-image { margin: 0 auto 10px; }
.ppbgb-testimonial .ppbgb-name { margin: 0; color: var(--ppb-ink); font-weight: 800; }
.ppbgb-testimonial .ppbgb-role { margin: 0; color: var(--ppb-mute); font-size: 14px; }
.wp-block-image.ppbgb-avatar, .entry-content figure.wp-block-image.ppbgb-avatar { width: 64px; margin: 0 auto 12px; }
.wp-block-image.ppbgb-avatar img { width: 64px; height: 64px; border-radius: 50% !important; object-fit: cover; box-shadow: none; }

/* FAQ */
.ppbgb-faq .wp-block-details { margin: 0 0 10px; }

/* team */
.wp-block-columns.ppbgb-team { gap: 20px; }
.ppbgb-team .wp-block-column { padding: 26px 18px 22px; border: 1px solid var(--ppb-line); border-radius: 0; background: #fff; text-align: center; transition: border-color .5s ease; }
.ppbgb-team .wp-block-column:hover { border-color: var(--ppb-ink); }
.ppbgb-team .wp-block-image.ppbgb-avatar, .ppbgb-team .wp-block-image.ppbgb-avatar img { width: 88px; height: 88px; }
.ppbgb-team .wp-block-image, .entry-content .ppbgb-team figure.wp-block-image { margin: 0 auto 14px; }
.ppbgb-team h3 { margin: 0 0 2px; font-size: 1.05rem; }
.ppbgb-team p { margin: 0; color: var(--ppb-mute); font-size: 14px; }

/* newsletter */
.wp-block-group.ppbgb-newsletter { padding: clamp(30px, 5vw, 48px); border-radius: 0; background: #0a0a0a; color: #d6d3d1; text-align: center; }
.wp-block-group.ppbgb-newsletter :where(h2, h3) { color: #fff; }
.ppbgb-newsletter h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.ppbgb-newsletter .ppbgb-lead { max-width: 520px; margin: 0 auto 22px; }
.ppbgb-newsletter .wp-block-buttons { justify-content: center; margin: 0 0 14px; }
.ppbgb-newsletter .ppbgb-note { margin: 0; font-size: 13px; opacity: .75; }

/* post intro */
.ppbgb-intro .ppbgb-lead { color: var(--ppb-ink); font-size: 1.2rem; line-height: 1.7; }
.ppbgb-intro .wp-block-separator { margin: 1.8em 0; }

/* stats */
.wp-block-columns.ppbgb-stats { gap: 0; padding: 8px 0; border: 0; border-top: 1px solid var(--ppb-ink); border-bottom: 1px solid var(--ppb-ink); border-radius: 0; background: none; box-shadow: none; }
.ppbgb-stats .wp-block-column { padding: 22px 16px; text-align: center; }
.ppbgb-stats .wp-block-column + .wp-block-column { border-left: 1px solid var(--ppb-line); }
.ppbgb-stats .ppbgb-num { margin: 0 0 4px; font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1.05 var(--ppb-font-head); letter-spacing: -.03em; color: var(--ppb-ink); }
.ppbgb-stats .wp-block-column:first-child .ppbgb-num { color: var(--ppb-accent-text, currentColor); text-decoration-line: underline; text-decoration-color: var(--ppb-accent); text-decoration-thickness: .34em; text-underline-offset: -.2em; text-decoration-skip-ink: none; }
.ppbgb-stats p:not(.ppbgb-num) { margin: 0; color: var(--ppb-mute); font-size: 14px; }
@media (max-width: 781px) { .ppbgb-stats .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--ppb-line); } }

/* callout */
.wp-block-group.ppbgb-callout { position: relative; padding: 20px 24px 20px 64px; border-left: 3px solid var(--ppb-ink); border-radius: 0; background: var(--ppb-soft); box-shadow: none; }
.ppbgb-callout::before { content: "i"; position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ppb-ink); color: #fff; font: 700 14px/1 var(--ppb-font-head); }
.ppbgb-callout p { margin: 0 0 .4em; }
.ppbgb-callout p:last-child { margin-bottom: 0; }
.ppbgb-callout strong { color: var(--ppb-ink); }

/* =========================================================================
   Post formats — a small badge, plus quote / link / media touches
   ========================================================================= */
.ppbgb-format { display: inline-flex; align-items: center; gap: 6px; padding: 0; border-radius: 0; background: none; color: var(--ppb-accent-text, currentColor); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; vertical-align: middle; text-decoration-line: underline; text-decoration-color: var(--ppb-accent); text-decoration-thickness: 3px; text-underline-offset: .28em; text-decoration-skip-ink: none; }
.ppbgb-format svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ppbgb-format-quote svg { fill: currentColor; stroke: none; }
.ppb-hero .ppbgb-format { margin: 0 0 0 6px; background: none; box-shadow: none; }
.ppb-ph-overlay:not(.ppb-ph-noimg) .ppbgb-format, .ppbpo-hero-light .ppbgb-format { padding: 4px 8px; background: #0a0a0a; color: #fff; box-shadow: none; }
.ppb-card-body .ppbgb-format, .ppb-lead-body .ppbgb-format { align-self: flex-start; margin: 0 0 12px; }
.ppb-card-body .ppb-pill + .ppbgb-format, .ppb-lead-body .ppb-pill + .ppbgb-format { margin-top: -4px; }

/* cards in the blog and archives */
.ppb-card.format-quote .ppb-card-excerpt, .ppb-lead.format-quote .ppb-lead-excerpt { position: relative; padding: 2px 0 2px 18px; color: var(--ppb-ink); font-family: var(--ppb-font-head); font-size: 1.05rem; font-weight: 600; font-style: italic; }
.ppb-card.format-quote .ppb-card-excerpt::before, .ppb-lead.format-quote .ppb-lead-excerpt::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 16px; width: 3px; border-radius: 0; background: var(--ppb-accent); }
.ppb-card:is(.format-aside, .format-status) .ppb-card-excerpt { color: var(--ppb-text); font-size: 1rem; }
.ppb-card:is(.format-quote, .format-link, .format-aside, .format-status, .format-chat):not(.has-post-thumbnail) .ppb-card-body { background: none; border-top: 1px solid var(--ppb-ink); }

/* single posts */
.single-format-quote .entry-content > :is(blockquote, .wp-block-quote):first-child { margin-top: 0; padding: 1.6em 2em; border-left-width: 5px; font-family: var(--ppb-font-head); font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.single-format-link .entry-content > p:first-child > a:only-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: 1px solid var(--ppb-ink); border-radius: 0; background: #fff; color: var(--ppb-ink); font-family: var(--ppb-font-head); font-size: 1.15rem; font-weight: 700; text-decoration: none; box-shadow: none; transition: color .4s ease; }
.single-format-link .entry-content > p:first-child > a:only-child::after { content: "\2197"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 0; background: var(--ppb-ink); color: #fff; font-size: 17px; transition: background-color .4s ease; }
.single-format-link .entry-content > p:first-child > a:only-child:hover { text-decoration-line: underline; text-decoration-color: var(--ppb-accent); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.single-format-link .entry-content > p:first-child > a:only-child:hover::after { background: var(--ppb-accent); }
.single-format-aside .entry-content, .single-format-status .entry-content { font-size: 1.12em; }
.single-format-status .entry-content > p:first-child { color: var(--ppb-ink); font-family: var(--ppb-font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.55; }
.single-format-video .entry-content > :is(p, div):first-child iframe, .single-format-video .entry-content .wp-video, .single-format-video .entry-content > p > iframe { display: block; width: 100% !important; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--ppb-radius); box-shadow: none; }
.single-format-video .entry-content .wp-video video { border-radius: var(--ppb-radius); }
.entry-content .wp-audio-shortcode, .entry-content .wp-block-audio audio { border-radius: 0; }
.single-format-audio .entry-content .wp-audio-shortcode, .single-format-audio .entry-content .wp-block-audio { margin: 0 0 1.6em; padding: 0; box-shadow: none; border-radius: 0; }
.entry-content .mejs-container.wp-audio-shortcode, .entry-content .mejs-container.wp-audio-shortcode .mejs-controls { border-radius: 0; background: #0a0a0a; }
.entry-content .mejs-container .mejs-time-current { background: var(--ppb-accent); color: var(--ppb-accent-ink, #0a0a0a); }
.single-format-image .entry-content > :is(p, figure):first-child img { width: 100%; border-radius: var(--ppb-radius); box-shadow: none; }
.single-format-chat .entry-content > p { padding: 10px 16px; border-radius: 0; background: var(--ppb-soft); max-width: 88%; }
.single-format-chat .entry-content > p:nth-of-type(even) { margin-left: auto; border-radius: 0; background: #fff; border: 1px solid var(--ppb-line); }

@media (prefers-reduced-motion: reduce) {
	.wp-block-button.is-style-ppbgb-gradient > .wp-block-button__link, .ppbgb-features .wp-block-column, .ppbgb-team .wp-block-column { transition: none; }
}
