/* Theme whole components; never turn their labels, statistics or artwork into cards. */
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) {
  --control-radius:var(--theme-small,var(--brand-pill));
  --control-edge:var(--theme-edge,1px);
  --component-shadow:var(--theme-shadow,none);
  --component-hover:var(--theme-hover,var(--component-shadow));
}
/* The menu has one dark hit area and a white icon in every palette/state. */
#studies #reels-hero .menu-button {background:#18191c;color:#fff;}
#studies #reels-hero .nav-button-link {background:transparent;color:#fff;border:0;padding:0;box-shadow:none;}
#studies #reels-hero :is(.nav-button-title,.nav-button-text>.text-white) {color:#fff;background:transparent;}
#studies #reels-hero .nav-button-icon {filter:brightness(0) invert(1);}
#studies #reels-hero .nav-menu {background:var(--site-surface);color:var(--site-ink);}
#studies #reels-hero .nav-menu :is(a,p) {color:var(--site-ink);}
#studies #reels-hero .stage:is([data-atlas-theme="brutal"],[data-atlas-theme="flat"],[data-atlas-theme="editorial"]) .nav-button-shape {display:none;}
/* Existing card silhouettes and images remain unchanged. */
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.ctl-card,.testimonial-card,.cta-content,.ew-card,.cu24-item) {
  box-shadow:var(--component-shadow);
}
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.ctl-card,.testimonial-card,.ew-card):hover {
  box-shadow:var(--component-hover);
}
#studies > .study > .stage[data-atlas-theme="glass"] :is(.ctl-card,.testimonial-card,.cta-content) {backdrop-filter:blur(10px);}
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.pre-title,.ct32-badge,.ew-badge) {
  border-radius:var(--control-radius);border-color:var(--site-line);
  background:var(--site-soft);color:var(--site-ink);
}
/* The client mark is a consistent white branding plate. Counts share the card surface. */
#studies #clay-trusted > .stage:is([data-atlas-theme],[data-atlas-color]) .ctl-panel {background:var(--client-gradient);}
#studies #clay-trusted > .stage:is([data-atlas-theme],[data-atlas-color]) .ctl-card {
  outline:var(--control-edge) solid var(--site-line);outline-offset:-1px;
}
#studies #clay-trusted > .stage:is([data-atlas-theme],[data-atlas-color]) .ctl-mark {
  background:#fff;color:#18191c;border-radius:min(8px,var(--site-small));
  padding:4px;line-height:1;overflow:hidden;
}
#studies #clay-trusted > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.ctl-stat,.ctl-stat-title,.ctl-caption,.ctl-number,.ctl-quote) {
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
/* Case colors are sampled from each video. Metadata remains plain typography. */
#studies #contina-cases > .stage:is([data-atlas-theme],[data-atlas-color]) .ct32 {
  --ct32-ink:var(--site-ink);--ct32-copy:var(--site-muted);--ct32-black:var(--site-ink);
}
#studies #contina-cases > .stage:is([data-atlas-theme],[data-atlas-color]) .ct32-body {box-shadow:var(--component-shadow);}
#studies #contina-cases > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.ct32-stat,.ct32-stat-label,.ct32-stat-number,.ct32-meta) {
  background:transparent;box-shadow:none;border-radius:0;color:var(--case-ink);
}
/* Full service actions have padding and a clear focus/hover boundary; labels do not. */
#studies #cuberto-services .cu24-link {
  box-sizing:border-box;min-height:52px;width:fit-content;max-width:100%;
  gap:12px;padding:6px 8px 6px 16px;
  background:var(--site-action);color:var(--site-action-ink);
  border:var(--theme-edge,1px) solid var(--site-line);
  border-radius:var(--theme-small,var(--brand-pill));
  box-shadow:var(--theme-shadow,var(--brand-shadow));
}
#studies #cuberto-services .cu24-link:hover {box-shadow:var(--theme-hover,var(--brand-hover-shadow));}
#studies #cuberto-services .cu24-link-icon {width:36px;height:36px;flex:none;background:transparent;color:inherit;}
#studies #cuberto-services .cu24-link-icon svg {filter:none;}
#studies #cuberto-services .cu24-link :is(.cu24-link-label,span,svg) {background:transparent;color:inherit;}
#studies #cuberto-services .cu24-item {color:var(--site-ink);}
#studies #cuberto-services .cu24-item[data-open] {color:#fff;}
#studies #cuberto-services > .stage:is([data-atlas-theme],[data-atlas-color]) .cu24-fill {
  border-radius:inherit;
  background-image:linear-gradient(color-mix(in srgb,var(--site-accent) 10%,transparent),color-mix(in srgb,var(--site-accent) 10%,transparent));
}
#studies #cuberto-services .cu24-toggle {background:transparent;color:inherit;border:0;box-shadow:none;padding:0;border-radius:0;}
@media(prefers-reduced-motion:reduce) and (min-width:768px) {
  #studies #cuberto-services .cu24-item {color:#fff;}
  #studies #cuberto-services .cu24-fill {background-color:var(--brand-ink);}
}
/* A review is one surface: no boxed author rows, rating strips or nested pills. */
#studies #reels-testimonials > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.testimonial-client-info,.testimonial-rating-info,.testimonial-client-name,.testimonial-rating,.testimonial-review-item) {
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
#studies #reels-testimonials > .stage:is([data-atlas-theme],[data-atlas-color]) .testimonial-card {
  outline:var(--control-edge) solid var(--site-line);outline-offset:-1px;
}
#studies #reels-testimonials > .stage:is([data-atlas-theme],[data-atlas-color]) .testimonial-review-icon {filter:var(--theme-ink-filter,brightness(0));}
#studies #reels-testimonials [data-client-story] {border:1px solid #ffffff80;border-radius:50%;background:#18191c99;}
/* One control size, including rolling labels; media/arrow circles keep a stable box. */
#studies :is(.rh34,.rr38) .button-arrow {
  box-sizing:border-box;height:52px;min-height:52px;
  padding:5px 20px 5px 5px;border:var(--theme-edge,1px) solid var(--site-line);
}
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.button-arrow,.ew-cta) {
  background:var(--site-action);color:var(--site-action-ink);
  border:var(--control-edge) solid var(--site-line);
  border-radius:var(--control-radius);box-shadow:var(--component-shadow);
}
#studies > .study > .stage:is([data-atlas-theme],[data-atlas-color]) :is(.button-arrow,.ew-cta):hover {box-shadow:var(--component-hover);}
#studies :is(.rh34,.rr38) .button-icon-round {background:#fff;color:#18191c;width:40px;height:40px;flex:none;border-radius:50%;}
#studies :is(.rh34,.rr38) .button-arrow :is(.button-text-wrap,.button-text,.button-hover-text) {background:transparent;color:inherit;box-shadow:none;}
#studies #reels-ready .cta-bottom > a {box-sizing:border-box;height:52px;min-height:52px;align-items:center;}
#studies #reels-ready .cta-bottom .button-right {
  display:inline-flex;padding:5px 54px 5px 16px;gap:8px;
  border:var(--theme-edge,1px) solid currentColor;
  border-radius:var(--theme-small,var(--brand-pill));
}
#studies #reels-ready .button-right-round {width:40px;height:40px;top:50%;right:5px;bottom:auto;transform:translateY(-50%);background:#fff;color:#18191c;border-radius:50%;}
#studies #reels-ready .button-right-title {color:inherit;background:transparent;}
#studies #reels-ready > .stage:is([data-atlas-theme],[data-atlas-color]) .cta-content {
  background:var(--site-surface);color:var(--site-ink);border-radius:var(--site-radius);
  outline:var(--control-edge) solid var(--site-line);outline-offset:-1px;
}
#studies #reels-ready > .stage:is([data-atlas-theme],[data-atlas-color]) .cta-overlay {background:var(--site-surface);}
#studies #reels-ready > .stage:is([data-atlas-theme],[data-atlas-color]) .cta-top h2 {color:var(--site-ink);}
#studies #reels-ready > .stage:is([data-atlas-theme],[data-atlas-color]) .cta-top p {color:var(--site-muted);}
#studies #reels-ready > .stage:is([data-atlas-theme],[data-atlas-color]) .button-right {background:transparent;color:var(--site-ink);}
