/* IM S5 Band Heading (`im-s5-band-heading`). Loaded via root-widgets.css. */

  /* IM S5 Heading — no extra fill on the widget wrapper */
  .elementor-widget-im-s5-band-heading .elementor-widget-container {
    background-color: transparent !important;
    background-image: none;
  }
  
  .s5-brand-section__block.s5-heading,
  .s5-heading .s5-brand-section__inner,
  .s5-heading .s5-heading__copy {
    background-color: transparent;
    background-image: none;
  }
  
  /* Heading — centered intro */
  .s5-heading__copy {
    text-align: center;
    text-wrap: balance;
    max-width: var(--s5-copy-max-width, 580px);
    margin-left: auto;
    margin-right: auto;
  }
  
  .s5-heading__copy h1,
  .s5-heading__copy h2,
  .s5-heading__copy h3 {
    margin: 0 0 12px;
    color: var(--s5-text-primary);
    font-weight: 400;
  }

  .s5-heading__copy h1 {
    font-size: clamp(1.625rem, 6.5vw, 3rem);
    line-height: 1.15;
  }

  .s5-heading__copy h2 {
    font-size: clamp(1.375rem, 6.5vw, 2.75rem);
    line-height: 1.2;
  }

  .s5-heading__copy h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    line-height: 1.2;
  }
  
  .s5-heading__copy p {
    margin: 0;
    color: var(--s5-text-secondary);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
  }
  
  .s5-heading__copy strong,
  .s5-heading__copy b {
    font-weight: 700;
  }
  
  .s5-brand-section .s5-heading__copy h1,
  .s5-brand-section .s5-heading__copy h2,
  .s5-brand-section .s5-heading__copy h3 {
    color: var(--s5-text-on-dark);
  }
  
  .s5-brand-section .s5-heading__copy p {
    color: var(--s5-color-gray-300);
  }
  
  /* IM S5 Heading: Advanced → CSS Classes → text-white on this widget */
  .elementor-widget-im-s5-band-heading.text-white .s5-heading__copy,
  .elementor-widget-im-s5-band-heading.text-white .s5-heading__copy :where(h1, h2, h3, h4, h5, h6, p, li, dd, dt, span, em, i, cite, small, blockquote, figcaption) {
    color: var(--s5-color-white);
  }
  
  .elementor-widget-im-s5-band-heading.text-white .s5-heading__copy :is(strong, b) {
    color: var(--s5-color-yellow);
  }
  
  .elementor-widget-im-s5-band-heading.text-white .s5-heading__copy a {
    color: var(--s5-color-white);
  
    &:hover {
      color: var(--s5-color-yellow);
    }
  }
