/*
Theme Name: IntelligentDesign
Description: IntelligentDesign's original design with editable Elementor sections and a shared light/dark theme.
Version: 1.0.0
Author: IntelligentDesign
Requires PHP: 8.0
Text Domain: intelligentdesign
*/
.id-content .elementor { --widgets-spacing: 0px; }
.id-content .elementor-element.id-page-container { padding:0; gap:0; max-width:none; width:100%; }
.id-content .elementor-widget { margin:0; width:100%; }
.id-content .elementor-widget-container { margin:0; padding:0; }
.id-content .elementor img { border-radius:0; }
.id-content .elementor-widget:not(:last-child) { margin-block-end:0; }
.id-site-header { position:relative; }
.id-site-header nav { flex-wrap:wrap; justify-content:flex-end; }
.id-site-header .theme-toggle { flex:none; }
.id-content .scroll-reveal { opacity:1; transform:none; }
.id-content .word-reveal { opacity:1; }
.id-content .image-wrap .hero-image-light { display:none; }
html[data-theme="light"] .id-content .image-wrap .hero-image-dark { display:none; }
html[data-theme="light"] .id-content .image-wrap .hero-image-light { display:block; }
.skip-link { position:absolute; left:-10000px; top:0; }
.skip-link:focus { left:1rem; top:1rem; z-index:100; padding:1rem; background:var(--white); color:var(--black); }
@media(max-width:760px) {
  .id-site-header { flex-direction:column; align-items:center; gap:.6rem; }
  .id-site-header nav { width:100%; justify-content:center; gap:.65rem; }
  .id-site-header nav a:first-child { display:block; }
  .id-site-header nav .nav-cta { display:none; }
  .id-site-header .theme-toggle { min-height:36px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }

/* Keep process labels inside their cards at every viewport width. */
.id-content .chain-step { container-type: inline-size; }
.id-content .chain-step strong { font-size: clamp(.875rem, 10.5cqi, 1.55rem); max-width:100%; overflow-wrap:anywhere; line-height:1.2; }
@media (max-width:1000px) {
  .id-content .results-chain { grid-template-columns:1fr; gap:.8rem; }
  .id-content .chain-step { min-height:90px; }
  .id-content .chain-arrow { justify-self:center; line-height:.7; transform:rotate(90deg); }
}
