/* Real publication styles shared with the carousel; no live publication requests. */
.publication-example-source { display: block; color: inherit; text-decoration: none; }
.publication-example-source:focus-visible, .publication-example-caption a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.section-media .publication-example-caption { margin-top: 18px; font-size: 14px; }
.publication-example-caption a { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 650; text-decoration: none; }
.publication-example-caption a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Marques Brownlee's article: Oswald headings, Epilogue body, white paper. */
.article-scroll-demo, .article-scroll-demo-viewport, .article-scroll-demo-page { background: #fff; color: #111; }
.article-scroll-demo-page { font-family: 'Showcase Epilogue', sans-serif; }
.article-scroll-demo-article-header h3, .article-scroll-demo-body h4 { color: #111; font-family: 'Showcase Oswald', sans-serif; font-weight: 400; letter-spacing: 0; }
.article-scroll-demo-article-header h3 { margin-top: 0; }
.article-scroll-demo-article-header p, .article-scroll-demo-body p { color: #222; }
.article-scroll-demo-byline { color: #666; font-family: 'Showcase Epilogue', sans-serif; }
.article-scroll-demo-cta { background: #fc221c; }
.article-scroll-demo-cta p { color: #fff; }
.article-scroll-demo-cta-button { color: #c91a15; }
.section-media .article-scroll-demo-step img { height: auto; aspect-ratio: 16 / 9; }
.section-media .article-scroll-demo-step figcaption { color: #666; font-family: 'Showcase Epilogue', sans-serif; }

/* Jeff Nippard's training publication. */
.auto-publish-site { background: #fff; color: #111; font-family: 'Showcase Space Grotesk', sans-serif; }
.auto-publish-site-header { background: #3d4435; color: #fff; }
.auto-publish-brand, .auto-publish-heading strong { font-family: 'Showcase Archivo Black', sans-serif; font-weight: 400; letter-spacing: 0; }
.auto-publish-nav { color: #eee; }
.auto-publish-article > strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #111; font-family: 'Showcase Space Grotesk', sans-serif; }
.auto-publish-article > span:not(.auto-publish-article-image) { overflow: hidden; color: #3d4435; text-overflow: ellipsis; white-space: nowrap; }

/* ChrisFix article feature panels: remove the former Plant Room typography/colors. */
.auto-screenshots-demo, .smart-links-demo, .pro-writing-demo { color: #111; font-family: 'Showcase Epilogue', sans-serif; }
.as-article-viewport, .smart-links-demo, .sl-page { background: #fff; }
.as-article-viewport { border-color: #ddd; box-shadow: 0 10px 25px rgba(0,0,0,.07); }
.as-article-page, .sl-page { padding-top: 22px; }
.as-article-title, .as-step h4, .sl-title, .sl-article-subhead, .sl-cta-title { color: #111; font-family: 'Showcase Oswald', sans-serif; font-weight: 400; letter-spacing: 0; }
.as-article-title { margin-top: 0; font-size: 24px; line-height: 1.2; }
.as-step h4 { font-size: 18px; }
.as-copy, .sl-article-copy, .sl-article-copy-intro, .pw-convella-text { color: #222; font-family: 'Showcase Epilogue', sans-serif; font-weight: 400; line-height: 1.65; }
.as-article-meta, .as-slot-caption, .as-time { color: #666; font-family: 'Showcase Epilogue', sans-serif; }
.as-slot-caption { font-style: normal; }
.as-video-title { color: #222; }
.as-video-bar { border-color: #ddd; box-shadow: 0 5px 14px rgba(0,0,0,.06); }
.as-video-thumb, .as-track { background: #eee; }
.as-video-thumb.is-capturing { outline-color: #fc221c; }
.as-video-play { background: rgba(0,0,0,.72); }
.as-captured-chip { background: #fff0ef; color: #ae1813; }
.as-track-fill { background: #fc221c; }
.as-track-marker { border-color: #fc221c; }
.as-flying { box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.sl-header { border-color: #ddd; }
.sl-header-links, .sl-header-cta, .sl-cta-tab { color: #666; }
.sl-article-divider { background: #ddd; }
.sl-mention.is-linked { color: #d51c17; text-decoration-color: #fc221c; }
.sl-cta-card { background: #fff; border-color: #ddd; border-radius: 0; }
.sl-cta-kicker { display: none; }
.sl-cta-description { color: #444; }
.sl-cta-button { background: #fc221c; border-radius: 20px; }
.sl-popover { border-color: #ddd; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.sl-popover-icon { background: #f4f4f4; color: #333; }
.sl-popover-text strong { color: #222; }
.sl-popover-text small { color: #666; }
.sl-popover-tag { background: #f3f3f3; color: #444; }
.pw-context { color: #555; letter-spacing: 0; }
.pw-context-mark { color: #222; background: #f3f3f3; }
.pw-tag-generic { background: #f0f2f5; color: #536071; }
.pw-convella-text { background: #fff; font-size: 14px; }
.sg-result-site-text small { display: block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-site-icon { background: #f3f3f3; color: #333; }
.sg-result-site-text strong { color: #222; }
.sg-result-thumbnail { background: #eee; }

/* Smoking Dad BBQ reader experience, followed by the actual Convella Members layout. */
.memberships-demo-site { background: #fff; color: #111; }
.memberships-demo-site-header { background: #f8dfdb; border-color: #f0ceca; }
.memberships-demo-site-brand { color: #111; font-family: 'Showcase Dela Gothic One', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: -.03em; }
.memberships-demo-article h3 { color: #111; font-family: 'Showcase Dela Gothic One', sans-serif; font-weight: 400; font-size: 18px; line-height: 1.35; }
.memberships-demo-media .memberships-demo .memberships-demo-ribs { height: auto; max-height: 158px; object-position: center 55%; border-radius: 4px; }
.memberships-demo-intro { color: #333; font-family: 'Showcase Epilogue', sans-serif; }
.memberships-demo-article-head { color: #555; }
.memberships-demo-subscribe-cta { background: #fff; border-color: #ddd; border-radius: 4px; }
.memberships-demo-subscribe-cta > strong, .memberships-demo-subscribe-cta p { color: #222; }
.memberships-demo-join, .memberships-demo-pay { background: #3b3b3b; border-radius: 4px; box-shadow: none; }
.memberships-demo-join.is-pressed, .memberships-demo-pay.is-pressed { background: #222; }
.memberships-demo-checkout-layer { background: rgba(0,0,0,.4); padding: 20px; }
.memberships-demo-checkout { width: min(360px, 100%); padding: 25px 30px 20px; border-radius: 4px; background: #fafafb; color: #111; }
.memberships-demo-checkout-heading { display: flex; flex-direction: column; gap: 10px; text-align: center; margin-bottom: 20px; }
.memberships-demo-media .memberships-demo .memberships-demo-signup-icon { width: 44px; height: 44px; border-radius: 6px; object-fit: contain; }
.memberships-demo-checkout-heading strong { color: #111; font-size: 21px; font-weight: 500; line-height: 1.2; }
.memberships-demo-checkout-heading p { margin: 0; color: #666; font-size: 11px; line-height: 1.5; }
.memberships-demo-checkout-field { position: relative; }
.memberships-demo-checkout-field small { position: absolute; top: -6px; left: 9px; z-index: 1; padding: 0 4px; color: #666; background: #fafafb; }
.memberships-demo-checkout-field > span { min-height: 40px; padding: 12px; border: 1px solid #aaa; border-radius: 4px; color: #222; }
.memberships-demo-pay { min-height: 36px; margin-top: 18px; font-weight: 500; }
.memberships-demo-cancel { display: block; margin-top: 12px; text-align: center; color: #3b3b3b; font-size: 11px; }
.memberships-demo-checkout-note { margin-top: 16px; color: #666; font-size: 10px; }
.memberships-demo-checkout-note b { color: #3b3b3b; font-weight: 500; }
.memberships-demo-confirmation, .memberships-demo-email-scene { position: absolute; inset: 0; z-index: 4; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.memberships-demo-confirmation { display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.4); }
.memberships-demo.is-confirmation .memberships-demo-confirmation, .memberships-demo.is-email .memberships-demo-email-scene { opacity: 1; visibility: visible; }
.memberships-demo-confirmation-dialog { width: 100%; max-width: 360px; padding: 20px; border-radius: 4px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.memberships-demo-confirmation-dialog strong { font-size: 18px; font-weight: 500; }
.memberships-demo-confirmation-dialog p { color: #666; font-size: 12px; line-height: 1.5; }
.memberships-demo-confirmation-dialog > span { display: block; width: fit-content; margin-left: auto; padding: 7px 15px; border-radius: 4px; background: #3b3b3b; color: #fff; font-size: 11px; }
.memberships-demo-email-scene { background: #fff; }
.memberships-demo-mail-heading { padding: 15px 20px; border-bottom: 1px solid #ddd; color: #666; font-size: 12px; }
.memberships-demo-mail-message { padding: 22px; color: #222; }
.memberships-demo-mail-message > strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.memberships-demo-mail-message small { display: block; margin: 10px 0 22px; color: #666; font-size: 9px; }
.memberships-demo-mail-message p { font-size: 12px; line-height: 1.6; }
.memberships-demo-verify { border: 0; padding: 0; background: transparent; color: #1565c0; text-decoration: underline; font-size: 12px; }
.memberships-demo-dashboard { background: #fff; }
.memberships-demo-dashboard-body { padding: 25px 18px; }
.memberships-demo-dashboard-title { align-items: center; margin-bottom: 24px; }
.memberships-demo-dashboard-title h3 { margin: 0; color: #222; font-size: 24px; font-weight: 500; }
.memberships-demo-dashboard-title .memberships-demo-add { padding: 8px 10px; border-radius: 4px; background: #7c3aed; color: #fff; font-size: 10px; }
.memberships-demo-filters { display: flex; gap: 8px; margin-bottom: 14px; }
.memberships-demo-filters > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid #ccc; border-radius: 4px; color: #666; font-size: 10px; }
.memberships-demo-filters > span:first-child { flex: 1; }
.memberships-demo-table { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.memberships-demo-table-head, .memberships-demo-member-row { display: grid; grid-template-columns: minmax(0,1.8fr) .65fr .95fr .6fr; align-items: center; gap: 8px; padding: 12px 10px; }
.memberships-demo-table-head { background: #f7f7f7; color: #666; font-size: 9px; font-weight: 600; }
.memberships-demo-member-row { min-height: 51px; border-top: 1px solid #eee; color: #666; font-size: 9px; }
.memberships-demo-member-row strong { overflow: hidden; color: #222; font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.memberships-demo-member-row > span { min-width: 0; }
.memberships-demo-member-row b { display: inline-block; padding: 3px 6px; border: 1px solid #bbb; border-radius: 20px; color: #444; font-size: 9px; font-weight: 400; }
.memberships-demo-member-row.memberships-demo-new-member { min-height: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-top: 0; }
.memberships-demo.is-new-member .memberships-demo-member-row.memberships-demo-new-member { min-height: 51px; max-height: 60px; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid #eee; background: #faf7ff; }
.memberships-demo-pagination { display: flex; justify-content: flex-end; gap: 14px; margin-top: 16px; color: #888; font-size: 10px; }

/* Andrew Huberman newsletter. Keep Convella's editor toolbar distinct from the email. */
.newsletter-demo-article, .newsletter-demo-email { background: #fff; color: #141c29; font-family: 'Showcase Inter', sans-serif; }
.newsletter-demo-article h3, .newsletter-demo-email-body h3, .newsletter-demo-email-body h4 { color: #141c29; font-family: 'Showcase Inter', sans-serif; font-weight: 650; letter-spacing: -.025em; }
.newsletter-demo-article h3, .newsletter-demo-email-body h3 { font-size: 20px; line-height: 1.3; }
.newsletter-demo-email-body p { color: #374151; font-family: 'Showcase Inter', sans-serif; }
.newsletter-demo-article-kicker { color: #475569; letter-spacing: 0; }
.newsletter-demo-email-brand { background: #243247; color: #fff; font-family: 'Showcase Inter', sans-serif; text-transform: none; }
.newsletter-full-article-author p { color: #475569; }

/* Blacktail Studio, reusing its real carousel layout and workshop video. */
.publication-demo, .publication-demo-viewport, .publication-demo-page { background: #fff; color: #111; }
.publication-demo-viewport { height: 360px; }
.publication-demo-page > .showcase-site { height: auto; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
.section-media .publication-demo .showcase-site img { border-radius: 0; background: transparent; }
.section-media .publication-demo .showcase-site .showcase-channel-avatar { width: 3.6cqw; height: 3.6cqw; border-radius: .4cqw; }
.section-media .publication-demo .showcase-site-thumbnail img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.publication-demo-newsletter { margin: 0; background: #fff; border-top: 1px solid #eee; }
.publication-demo-newsletter strong { color: #111; font-family: 'Showcase Archivo Black', sans-serif; font-size: 19px; font-weight: 400; line-height: 1.4; }
.publication-demo-newsletter p { color: #333; font-family: 'Showcase Space Grotesk', sans-serif; }
.publication-demo-email { background: #fff; border-color: #ddd; }
.publication-demo-email b { background: #ff5e1a; color: #111; }
.publication-demo-footer { background: #fff; color: #111; }
.publication-demo-footer strong { font-family: 'Showcase Archivo Black', sans-serif; font-weight: 400; }
.publication-demo-footer span { color: #555; }
@media (max-width: 760px) {
  .publication-demo-viewport { height: 300px; }
  .memberships-demo-site-header > span:last-child { display: none; }
  .memberships-demo-article h3 { font-size: 16px; }
  .newsletter-demo-article h3, .newsletter-demo-email-body h3 { font-size: 18px; }
  .pw-convella-text { font-size: 13px; }
}
@media (max-width: 390px) {
  .memberships-demo-checkout { padding: 22px 18px; }
  .memberships-demo-dashboard-body { padding: 22px 12px; }
  .memberships-demo-table-head, .memberships-demo-member-row { grid-template-columns: minmax(0,1.8fr) .65fr 1fr; gap: 6px; }
  .memberships-demo-table-head > span:last-child, .memberships-demo-member-row > span:last-child { display: none; }
}
