/* Markup adapters apply only to converted pages and their editors. Site tokens and templates stay theme-owned. */
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) :is(p,h1,h2,h3,h4,h5,h6){margin:0}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) :is(ul,ol,dd){margin:0;padding:0}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) :is(*,::before,::after){box-sizing:border-box}
/* Restore Cwicly's base link inheritance. Captured class/link rules can override
   these defaults, including explicit source colours and hover decoration. */
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) a{color:inherit;text-decoration:none;cursor:pointer;transition:inherit}
:where(.prdev-migrated-part,.editor-styles-wrapper) button.cc-icn{padding:0;border:0;background:transparent;font:inherit;cursor:pointer}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .cc-wrapper{margin-left:auto;margin-right:auto;position:relative}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .cc-ovrl{position:relative}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) :is(.cc-cntr,.cc-sct){width:100%}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .cc-img{height:auto;max-width:100%;vertical-align:middle}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-image{all:unset;display:contents}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-image>a{display:contents}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-button.cc-btn{all:unset;display:contents}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-button__link{font:inherit;letter-spacing:inherit;text-decoration:none;box-shadow:none;height:auto}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-buttons.prdev-site-buttons{display:contents}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .prdev-site-buttons .wp-block-button>.wp-block-button__link{width:auto}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-cover{padding:0;display:block;isolation:isolate}
/* Source overlays use ::before; Cover's positioned image otherwise paints over
   them. Its later content container stays above this overlay at z-index >= 1. */
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-cover.cc-ovrl::before{z-index:1}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-cover .wp-block-cover__inner-container{width:100%;position:relative;z-index:2;color:inherit}
:where(.prdev-migrated-page,.prdev-migrated-part,.editor-styles-wrapper) .wp-block-quote{margin:1em 40px;padding:0;border:0}
:where(.prdev-migrated-part,.editor-styles-wrapper) .wp-block-navigation__container{list-style:none;gap:inherit;min-width:0;padding:0;margin:0}
:where(.prdev-migrated-part,.editor-styles-wrapper) .wp-block-navigation .wp-block-navigation-item{font:inherit;color:inherit;line-height:inherit;display:block;min-width:0}
:where(.prdev-migrated-part,.editor-styles-wrapper) .wp-block-navigation-item__content{padding:0;text-decoration:inherit}
:where(.prdev-migrated-part,.editor-styles-wrapper) .wp-block-navigation-item__label{white-space:nowrap;overflow-wrap:normal}
:where(.prdev-migrated-part,.editor-styles-wrapper) .prdev-navigation-row .wp-block-navigation__container{flex-wrap:nowrap}
:where(.prdev-migrated-part,.editor-styles-wrapper) .prdev-navigation-stack{display:block;min-width:0}
:where(.prdev-migrated-part,.editor-styles-wrapper) .prdev-navigation-stack .wp-block-navigation__container{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0}
:where(.prdev-migrated-part,.editor-styles-wrapper) .prdev-navigation-stack .wp-block-navigation-item{width:100%}
/* Intentional empty spacers/dividers keep their source geometry in the editor.
   If a user adds children, normal Group insertion controls become available. */
.editor-styles-wrapper .prdev-empty-structure:not(:has([data-type])) > .block-list-appender,
.editor-styles-wrapper .prdev-empty-structure:not(:has([data-type])) > .wp-block-group__inner-container > .block-list-appender{display:none}
/* Reveal migrated portrait social links when navigating without a mouse. */
:where(.prdev-migrated-page,.editor-styles-wrapper) .team-img-wrapper:focus-within .team-social-wrapper{transform:translateX(0)}
@media (hover:none){:where(.prdev-migrated-page,.editor-styles-wrapper) .team-img-wrapper .team-social-wrapper{transform:translateX(0)}}
