/*
 RUGO FULL WEBSITE v055
 SERVICES - ACTIVE INFORMATION PANEL

 Mobile only.
 Existing accordion behavior is authoritative.
 No JavaScript state duplication.
 No changes to geometry, carousel or spatial navigation.
*/

@media (max-width:860px) {

  /*
   The parent section receives white only while its
   own specialty button is expanded.

   When the controller collapses the item,
   aria-expanded changes to false and the
   white background disappears automatically.
  */

  .rugo-v044__services-content
  .rugo-v037__item:has(
    > .rugo-v037__item-button[aria-expanded="true"]
  ) {
    background-color:#ffffff!important;
  }

  /*
   The active background belongs to the whole item,
   not to separate title and description boxes.
   Existing layout and typography are retained.
  */

  .rugo-v044__services-content
  .rugo-v037__item:has(
    > .rugo-v037__item-button[aria-expanded="true"]
  ) > .rugo-v037__item-button,

  .rugo-v044__services-content
  .rugo-v037__item:has(
    > .rugo-v037__item-button[aria-expanded="true"]
  ) > .rugo-v037__item-panel {
    background-color:transparent!important;
  }

  /*
   Only the active minus symbol becomes dark.
   Closed + symbols retain their existing red.
  */

  .rugo-v044__services-content
  .rugo-v037__item
  > .rugo-v037__item-button[aria-expanded="true"]
  .rugo-v037__symbol {
    color:#11110f!important;
  }

}