
:where(.is-style-dl-microtext){font-size:var(--wp--preset--font-size--micro);letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--dl-muted);}
:where(.is-style-dl-tag){display:inline-block;max-width:100%;width:fit-content;border-radius:4px;font-size:var(--wp--preset--font-size--micro);}
.is-style-dl-editorial-card{position:relative;min-width:0;transition:transform .2s,box-shadow .2s;}
.is-style-dl-editorial-card::before{content:"";position:absolute;left:24px;right:24px;top:-1px;height:2px;background:var(--wp--preset--gradient--dl-editorial-purple);opacity:.4;transition:opacity .2s;}
.is-style-dl-editorial-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.12);}
.is-style-dl-editorial-card:hover::before{opacity:1;}
/* Native button variants provide defaults; explicit block colors remain authoritative. */
:where(.is-style-dl-secondary,.is-style-dl-btn-ghost) .wp-block-button__link:not(.has-background):hover{background-color:var(--wp--preset--color--dl-purple-light);}
:where(.is-style-dl-secondary,.is-style-dl-btn-ghost) .wp-block-button__link:not(.has-text-color):hover{color:var(--wp--preset--color--dl-ink);}
:where(.is-style-dl-btn-green) .wp-block-button__link:not(.has-background):hover{background-color:var(--dl-green-bg);}

:where(.wp-element-button,.wp-block-button__link){transition:transform .2s,box-shadow .2s,background .2s;}
:where(.wp-element-button,.wp-block-button__link):hover{transform:translateY(-2px);}
:where(.dl-editorial-native,.dl-editorial-content) :where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text);outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.is-style-dl-editorial-card,:where(.wp-element-button,.wp-block-button__link){transition:none;}.is-style-dl-editorial-card:hover,:where(.wp-element-button,.wp-block-button__link):hover{transform:none;}}

.dl-editorial-button:hover{transform:translateY(-2px);}
@media(prefers-reduced-motion:reduce){.dl-editorial-button:hover{transform:none;} .dl-editorial-title,.dl-editorial-button{animation:none!important;transition:none!important;}}

@media(prefers-reduced-motion:reduce){
 .dl-has-anim[data-dl-anim],.dl-anim-trigger[data-dl-anim]{animation:none!important;transition:none!important;opacity:1!important;transform:none!important;}
 :is(.dl-hover-grow,.dl-hover-shrink,.dl-hover-pulse,.dl-hover-push,.dl-hover-pop,.dl-hover-float,.dl-hover-sink):hover{animation:none!important;transition:none!important;transform:none!important;}
}

.dl-editorial-button:focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text);outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.is-style-dl-editorial-card::before{transition:none;}}

/* Novas partes herdam a superfície; regras históricas ficam nas composições antigas. */
:where(.dl-editorial-part){background:var(--wp--preset--color--dl-c-2);color:var(--wp--preset--color--dl-ink);}
:where(.dl-editorial-brand){font-family:var(--wp--preset--font-family--dl-serif);font-size:1.5rem;line-height:1.2;}
:where(.dl-editorial-brand a){color:inherit;text-decoration:none;}
:where(.dl-editorial-part .wp-block-navigation a){color:inherit;}

/* Editorial navigation defaults follow the active scheme. Native per-block
 * navigation and overlay colors, and custom overlays, remain authoritative. */
:is(.dl-editorial-header,.dl-editorial-part) .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.has-background):not(.disable-default-overlay){background-color:var(--wp--preset--color--dl-c-2);}
:is(.dl-editorial-header,.dl-editorial-part) .wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open:not(.has-text-color):not(.disable-default-overlay){color:var(--wp--preset--color--dl-ink);}

/* A single editorial card fills its native column. Keep content-driven heights
 * when columns stack; do not impose a fixed height or change inner block layout.
 * Explicit flex/grid column layouts retain their own author configuration. */
.wp-block-columns > .wp-block-column:where(:not(.is-layout-flex):not(.is-layout-grid)):has(> .is-style-dl-editorial-card:only-child){display:flex;flex-direction:column;}
.wp-block-columns > .wp-block-column:where(:not(.is-layout-flex):not(.is-layout-grid)) > .is-style-dl-editorial-card:only-child{flex:1 1 auto;}

/* Shared component behavior must load even without a chat simulator block. */
.dl-tab-btn:focus-visible, .dl-accordion-header:focus-visible { outline: 3px solid currentColor; outline-offset: -4px; }
/* Runtime accessibility: keep inactive panels hidden and optional movement removable. */
.dl-tabs-content-wrapper > [hidden] { display:none !important; }
@media (prefers-reduced-motion: reduce) {
  .dl-tabs-content-wrapper > * { animation:none; transform:none; }
  .dl-advanced-accordion, .dl-accordion-content, .dl-accordion-icon { transition:none; }
}

/* Native links remain links; a separate disclosure controls each submenu. */
.dl-advanced-menu[data-dl-menu-ready] .dl-menu-nav{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:inherit;min-width:0}
.dl-advanced-menu[data-dl-menu-ready].dl-layout-vertical .dl-menu-nav{flex-direction:column}
.dl-advanced-menu[data-dl-menu-ready] .dl-menu-item{position:relative;display:flex;flex-wrap:wrap;align-items:center;min-width:0;max-width:100%}
.dl-advanced-menu[data-dl-menu-ready] .dl-menu-link{padding:.5rem .75rem;color:var(--dl-menu-text,var(--wp--preset--color--dl-ink));overflow-wrap:anywhere}
.dl-advanced-menu[data-dl-menu-ready] .dl-menu-link:hover{color:var(--dl-menu-hover,var(--wp--preset--color--dl-accent-text))}
.dl-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--wp--preset--color--dl-c-2-border);border-radius:.5rem;background:transparent;color:var(--dl-menu-text,var(--wp--preset--color--dl-ink));cursor:pointer}
.dl-menu-toggle[aria-expanded=true] span{transform:rotate(180deg)}
.dl-advanced-menu[data-dl-menu-ready] .dl-megamenu-dropdown{position:absolute;top:100%;left:0;z-index:50;width:max-content;min-width:min(16rem,80vw);max-width:min(36rem,90vw);padding:1rem;background:var(--dl-megamenu-bg,var(--wp--preset--color--dl-c-2-light));color:var(--dl-menu-text,var(--wp--preset--color--dl-ink));border:1px solid var(--wp--preset--color--dl-c-2-border);border-radius:.5rem;box-shadow:0 8px 24px #0002;overflow-wrap:anywhere}
.dl-megamenu-dropdown[hidden],.dl-form-step[hidden]{display:none!important}
.dl-form-navigation{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.dl-form-navigation button{padding:.75rem 1.25rem;border:1px solid var(--dl-form-primary,var(--wp--preset--color--dl-purple));border-radius:.5rem;background:var(--dl-form-primary,var(--wp--preset--color--dl-purple));color:var(--wp--preset--color--dl-white,#fff);cursor:pointer;font:inherit}
.dl-menu-toggle:focus-visible,.dl-advanced-menu .dl-menu-link:focus-visible,.dl-advanced-form :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text);outline-offset:3px}
.dl-form-status,.dl-form-feedback{color:var(--dl-form-text,var(--wp--preset--color--dl-ink));overflow-wrap:anywhere}
.dl-form-progress{height:6px;background:var(--wp--preset--color--dl-c-2-border);border-radius:4px;overflow:hidden}
.dl-progress-bar{height:100%;background:var(--dl-form-primary,var(--wp--preset--color--dl-purple))}
@media(max-width:600px){.dl-advanced-menu[data-dl-menu-ready] .dl-megamenu-dropdown{position:static;flex-basis:100%;width:100%;min-width:0;max-width:100%;box-sizing:border-box}}

.dl-advanced-form .dl-form-label{color:var(--dl-form-text,var(--wp--preset--color--dl-ink))}
.dl-advanced-form .dl-form-element .dl-form-input{color:var(--dl-form-text,var(--wp--preset--color--dl-ink));background-color:var(--wp--preset--color--dl-c-2);border-color:var(--wp--preset--color--dl-c-2-border);font-family:inherit;box-sizing:border-box;width:100%}
.dl-advanced-form .dl-form-element .dl-form-input:focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text);outline-offset:3px;border-color:var(--wp--preset--color--dl-accent-text)}

/* Case collection: align reading areas and actions within each row. */
.dl-case-collection .dl-case-card{display:flex;flex-direction:column;align-self:stretch;}
.dl-case-collection .dl-case-card-img{flex:none;overflow:hidden;}
.dl-case-collection .dl-case-card-content{display:flex;flex-direction:column;flex:1;align-items:flex-start;}
.dl-case-collection .dl-case-card-link{margin-top:auto;}
.dl-case-collection .dl-case-card-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;}

/* Editor-only collection navigation does not run site autoplay in the canvas. */
.dl-case-grid-editor-preview .dl-collection-preview-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;}
.dl-case-grid-editor-preview .dl-collection-preview-tools p{margin:0;font-size:.8125rem;color:var(--wp--preset--color--dl-muted);}
.dl-case-grid-editor-preview .dl-collection-preview-tools [role="group"]{display:flex;gap:.5rem;}
.dl-case-grid-editor-preview .dl-cases-carousel>:is(.dl-slider-prev,.dl-slider-next,.dl-slider-dots){display:none!important;}
.dl-case-grid-editor-preview .dl-cases-carousel .dl-slider-track{scroll-snap-type:x proximity;}
.dl-case-grid-editor-preview .dl-cases-carousel .dl-case-card{scroll-snap-align:start;}
.dl-case-grid-editor-preview .dl-slider-track:focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text);outline-offset:3px;}

/* Match the site's carousel breakpoints inside the editor canvas. */
.dl-case-grid-editor-preview .dl-cases-carousel .dl-slider-track{--dl-preview-columns:var(--dl-case-columns,3);}
.dl-case-grid-editor-preview .dl-cases-carousel .dl-slider-track>.dl-case-card{flex-basis:calc((100% - (var(--dl-preview-columns) - 1)*var(--dl-case-gap,24px))/var(--dl-preview-columns));}
@media(max-width:899px){.dl-case-grid-editor-preview .dl-cases-carousel .dl-slider-track{--dl-preview-columns:min(var(--dl-case-columns,3),2);}}
@media(max-width:599px){.dl-case-grid-editor-preview .dl-cases-carousel .dl-slider-track{--dl-preview-columns:1;}}

/* Icon text alignment is not float alignment; keep following content on its own line. */
:root .dl-icon-svg:is(.alignleft,.alignright){float:none;margin-inline:0;}

/* Editor state preview uses the same saved hover values, never post attributes. */
.dl-btn-adv-editor-preview[style*="--dl-hover-color"]:is(:hover,[data-dl-preview-state="hover"]){color:var(--dl-hover-color)!important;}
.dl-btn-adv-editor-preview[style*="--dl-hover-bg"]:is(:hover,[data-dl-preview-state="hover"]){background-color:var(--dl-hover-bg)!important;}
.dl-btn-adv-editor-preview[style*="--dl-hover-border-color"]:is(:hover,[data-dl-preview-state="hover"]){border-color:var(--dl-hover-border-color)!important;}
@media(prefers-reduced-motion:no-preference){.dl-editorial-button:active{transform:translateY(0);}}

/* Dividers respect their available column width, including pixel sizes. */
.dl-advanced-separator > div{max-width:100%;}

/* Advanced image: independent of the journey simulator, including the editor iframe. */
.dl-advanced-image-wrap { overflow:hidden; }
.dl-advanced-image { transition:transform .4s cubic-bezier(.25,1,.5,1),box-shadow .4s cubic-bezier(.25,1,.5,1); }
.dl-img-hover-zoom:hover { transform:scale(1.05); }
.dl-img-hover-lift:hover { transform:translateY(-5px);box-shadow:0 15px 35px rgba(0,0,0,.15)!important; }
@media (prefers-reduced-motion: reduce) {
    .dl-advanced-image { transition: none !important; }
    .dl-img-hover-zoom:hover, .dl-img-hover-lift:hover { transform: none !important; }
}

/* Title preview and consolidated container respond only to explicit hover overrides. */
.dl-advanced-title-wrapper,.dl-adv-heading-tag,.dl-consolidated-container{transition:background-color .2s ease,color .2s ease;}
.dl-advanced-title-wrapper[style*="--dl-hover-bg"]:hover{background-color:var(--dl-hover-bg)!important;}
.dl-advanced-title-wrapper[style*="--dl-hover-color"]:hover :is(.dl-adv-heading-tag,.dl-adv-heading-tag > span){color:var(--dl-hover-color)!important;}
.dl-consolidated-container[style*="--dl-hover-bg"]:hover{background:var(--dl-hover-bg)!important;}
@media(prefers-reduced-motion:reduce){.dl-advanced-title-wrapper,.dl-adv-heading-tag,.dl-consolidated-container{transition:none!important;}}

/* Bridge legacy pricing text only for the theme's adaptive editorial gradient.
   Explicit local text values remain authoritative; solid white cards are unchanged. */
.dl-pricing-pro[style*="--wp--preset--gradient--dl-editorial-surface"]{--wp--preset--color--dl-text-body:var(--wp--preset--color--dl-ink);}

/* Zero-specificity fallbacks: Global Styles and native block variations take precedence.
   Explicit local inline colors remain authoritative. */
:where(.dl-pricing-pro){background:var(--wp--preset--color--dl-c-2-light);color:var(--wp--preset--color--dl-ink);}
:where(.dl-pricing-pro .wp-element-button){background:var(--wp--preset--color--dl-purple);color:var(--wp--preset--color--dl-white);}

/* Shared visitor navigation: lateral arrows, nearby circular pause, scoped to runtime frames. */
.dl-advanced-slider-pro.dl-motion-ready,.dl-slider-pro.dl-motion-ready{display:block;padding-block-end:0;overflow:visible;}
.dl-motion-ready .dl-motion-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;align-items:center;}
.dl-motion-ready .dl-motion-viewport{grid-column:2;grid-row:1;min-width:0;width:100%;box-sizing:border-box;}
.dl-motion-ready:not(.dl-motion-has-arrows) .dl-motion-stage{grid-template-columns:minmax(0,1fr);gap:0;}
.dl-motion-ready:not(.dl-motion-has-arrows) .dl-motion-viewport{grid-column:1;}
.dl-advanced-slider-pro.dl-motion-ready .dl-motion-viewport{padding-block:8px 12px;}
.dl-motion-ready .dl-motion-control{position:static;inset:auto;transform:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:9px;margin:0;border:1px solid var(--wp--preset--color--dl-c-2-border,#DDDBE8);border-radius:50%;background:var(--wp--preset--color--dl-c-2-light,#FAF9F6);color:var(--wp--preset--color--dl-ink,#1E1C24);box-shadow:none;cursor:pointer;line-height:1;transition:background-color .2s ease,border-color .2s ease;}
.dl-motion-ready .dl-motion-control::before,.dl-motion-ready .dl-motion-control::after,.dl-motion-ready .dl-motion-control.dl-motion-arrow::before,.dl-motion-ready .dl-motion-control.dl-motion-arrow::after{content:none;}
.dl-motion-ready .dl-motion-control:hover{background:var(--wp--preset--color--dl-purple-light,#F6F5FA);border-color:var(--wp--preset--color--dl-purple,#4A3E85);}
.dl-motion-ready .dl-motion-control:focus-visible{outline:2px solid var(--wp--preset--color--dl-accent-text,#4A3E85);outline-offset:3px;}
.dl-motion-ready .dl-motion-control svg{display:block;flex-shrink:0;width:24px;height:24px;}
.dl-motion-ready .dl-motion-prev{grid-column:1;grid-row:1;}
.dl-motion-ready .dl-motion-next{grid-column:3;grid-row:1;}
.dl-motion-ready .dl-motion-controls{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin-block-start:8px;}
.dl-motion-ready .dl-motion-controls:empty{display:none;}
.dl-motion-ready .dl-motion-controls>.swiper-pagination,.dl-motion-ready .dl-motion-controls>.dl-slider-dots{position:static;inset:auto;transform:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;width:auto;margin:0;padding:0;pointer-events:auto;}
.dl-motion-ready .dl-motion-controls .dl-slider-dot{width:24px!important;height:24px!important;box-sizing:border-box;border:6px solid transparent!important;background-clip:content-box!important;margin:0!important;}
.dl-motion-ready[data-dots-style="lines"] .dl-motion-controls .dl-slider-dot{width:36px!important;border-width:10px 6px!important;}
@media(max-width:599px){.dl-motion-ready .dl-motion-stage{column-gap:6px;}.dl-motion-ready .dl-motion-controls{gap:8px;}}
@media(prefers-reduced-motion:reduce){.dl-motion-ready .dl-motion-control{transition:none;}}

/* Tabs stay within their column; author-provided inline layout and colors remain authoritative. */
.dl-advanced-tabs{min-width:0;max-width:100%;box-sizing:border-box;}
.dl-advanced-tabs>.dl-tabs-header{min-width:0;max-width:100%;box-sizing:border-box;overscroll-behavior-inline:contain;}
.dl-advanced-tabs>.dl-tabs-header>.dl-tab-btn{flex:0 0 auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.dl-advanced-tabs>.dl-tabs-content-wrapper,.dl-advanced-tabs>.dl-tabs-content-wrapper>.dl-tab-content-item{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;}
