/* Markup adapters apply only to converted pages and their editors. Site tokens and templates stay theme-owned. */
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :is(p,h1,h2,h3,h4,h5,h6){margin:0}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :is(ul,ol,dd){margin:0;padding:0}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.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,.prdev-migrated-template,.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}
/* Source icon controls were plain SVG containers, without native button chrome. */
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) button:where(.wp-block-prdev-slider-control){padding:0;border:0;background:transparent;font:inherit;cursor:pointer}
.wp-block-prdev-slider-control>svg{display:block;fill:currentColor}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .cc-wrapper{margin-left:auto;margin-right:auto;position:relative}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .cc-ovrl{position:relative}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.cc-cntr,.cc-sct){width:100%}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.cc-icn){display:flex;width:fit-content}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .cc-img{height:auto;max-width:100%;vertical-align:middle}
.wp-block-post-content.prdev-source-structure{display:block}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-image.cc-img{all:unset;display:contents}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-image.cc-img>a{display:contents}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-button.cc-btn{all:unset;display:contents}
/* Source classes stay on the native wrapper for editing. Shared styles from a
   template without buttons can still match that wrapper on hover. Paint the
   captured button background on its link only, preserving its transparency. */
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-button.cc-btn{background:none!important}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-button__link{font:inherit;letter-spacing:inherit;text-decoration:none;box-shadow:none;height:auto}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.wp-block-button.cc-btn)>.wp-block-button__link{padding:0;border:0;border-radius:0}
/* Core's default white button text must not override inherited source colours. */
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.wp-block-button.cc-btn)>a:where(.wp-block-button__link){color:inherit}
/* Source text-link buttons use a plain underline, without core's rounded
   button edges or a hover border that changes the line box height. */
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-button.btn-link>.wp-block-button__link{border:0;border-radius:0}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-button.btn-link>.wp-block-button__link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-buttons.prdev-site-buttons{display:contents}
.prdev-native-button-flow>.prdev-site-buttons:not(:first-child)>.wp-block-button>a{margin-block-start:var(--prdev-native-block-gap)}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .prdev-site-buttons .wp-block-button>.wp-block-button__link{width:auto}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-cover{padding:0;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,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-cover.cc-ovrl::before{z-index:1}
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.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,.prdev-migrated-template,.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%}
.prdev-source-menu{display:block}
.prdev-source-menu .wp-block-navigation-item.wp-block-navigation-item{font:inherit;color:inherit;line-height:inherit;display:list-item;min-width:0}
.prdev-source-menu .wp-block-navigation-item__content{padding:0;text-decoration:inherit}
.prdev-source-menu .wp-block-navigation-item__label{white-space:nowrap;overflow-wrap:normal}
:root .prdev-source-menu .wp-block-navigation__submenu-container{border:0;background-color:inherit;color:inherit}
/* Preserve the captured dropdown offset without leaving a break in :hover.
   The hidden submenu also hides this bridge; it cannot intercept closed menus. */
:root .prdev-source-menu.prdev-navigation-row .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:max(0px,calc(var(--prdev-submenu-gap,0px) + 1px));background:transparent;pointer-events:auto}
:root .prdev-source-menu.prdev-navigation-stack .wp-block-navigation__submenu-container{position:static;transform:none;background-color:transparent;border:0}
:root .prdev-source-menu.prdev-navigation-stack .has-child:has(>.wp-block-navigation-submenu__toggle[aria-expanded="false"])>.wp-block-navigation__submenu-container{display:none}
:root .prdev-source-menu.prdev-navigation-stack .has-child:has(>.wp-block-navigation-submenu__toggle[aria-expanded="true"])>.wp-block-navigation__submenu-container{display:flex}
:root .prdev-source-menu.prdev-navigation-stack .has-child{position:relative}
:root .prdev-source-menu.prdev-navigation-stack .wp-block-navigation-submenu__toggle{position:absolute;top:0;left:-30px;width:25px;height:25px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
:root .prdev-source-menu.prdev-navigation-stack .wp-block-navigation-submenu__toggle{margin:0}
:root .prdev-source-menu.prdev-navigation-stack .wp-block-navigation-submenu__toggle svg:not([data-prdev-source-icon]){width:100%;height:100%;fill:none;stroke:currentColor}
:root .prdev-source-menu.prdev-navigation-stack .wp-block-navigation-submenu__toggle svg[data-prdev-source-icon]{position:static;display:block;stroke:none;margin:0}
.prdev-source-menu.prdev-navigation-stack .wp-block-navigation__container{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0}
.prdev-source-menu.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)}}

/* Framework defaults have lower priority than captured local container rules. */
:where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.cc-cntr){margin-left:auto;margin-right:auto;max-width:1366px}
:root :where(.prdev-migrated-page,.prdev-migrated-part,.prdev-migrated-template,.editor-styles-wrapper) :where(.prdev-site-buttons .wp-block-button)>.wp-block-button__link{background-color:transparent}
/* Native image figures also used the source normalizer's zero margin. */
:root :where(.prdev-migrated-page,.prdev-migrated-template,.editor-styles-wrapper) .wp-block-image:where(:not(.cc-img)){margin:0}
/* Defaults from Cwicly's normalizer, scoped to new source-preserving structures.
   Explicit form-plugin fonts and sizes keep their own priority. */
:where(.prdev-source-structure) :where(input){font-size:14px;font-family:inherit}
:where(.prdev-source-structure) :where(button){font-family:inherit}

/* Opt-in native block refinements; classes remain editable in Gutenberg. */
.wp-block-cb-carousel-v2.prdev-inset-carousel-controls .cb-button-prev,
.wp-block-cb-carousel-v2.prdev-inset-carousel-controls.cb-rtl .cb-button-next{left:max(8px,var(--wp--custom--carousel-block--navigation-sides-offset,10px));right:auto}
.wp-block-cb-carousel-v2.prdev-inset-carousel-controls .cb-button-next,
.wp-block-cb-carousel-v2.prdev-inset-carousel-controls.cb-rtl .cb-button-prev{right:max(8px,var(--wp--custom--carousel-block--navigation-sides-offset,10px));left:auto}
@media(max-width:781px){
 .prdev-mobile-fit-content>*{min-width:0}
 .prdev-mobile-fit-content :is(p,h1,h2,h3,h4,h5,h6){overflow-wrap:anywhere}
 .prdev-mobile-fit-content .prdev-source-menu .wp-block-navigation-item__label{white-space:normal;overflow-wrap:anywhere}
 .prdev-mobile-fit-content .wp-block-table{max-width:100%;overflow-x:auto}
 .prdev-mobile-stack-grid.is-layout-grid{grid-template-columns:minmax(0,1fr)!important}
 .prdev-mobile-stack-grid.is-layout-grid>*{min-width:0;max-width:100%}
}
.prdev-source-structure.cc-icon-list li{align-items:center;display:flex;list-style:none;white-space:pre-wrap}
.prdev-source-structure.cc-icon-list li li:before{content:""}
