/* Card motion only. Applied after the legacy finish, on SAR/Industrial pages.
   No descendant-wide animation reset: menus, LEDs, video and interactive media
   keep their own behavior. Hidden/filter/dialog state is never overridden. */
body[data-static-cards="true"] :is(main, .tp-reading, #thera-sar-editoriale) :is(
  .sar-reading-card, .card, .article-card, .photo-card, .video-card,
  .portfolio-card, .featured-card, .service-card, .contact-card,
  .season-card, .scenario-card, .card-box, .form-card, .option-card,
  .mission-intro-card, .mission-dossier, .share-panel, .reader,
  .intro-panel, .cta-panel, .cta-box, .operator-panel,
  .detail-box, .policy-box, .deliverable, .timeline-step,
  .portfolio-area, .portfolio-empty, .industrial-question,
  .filo-frame, .v2-reading-instrument, [data-sar-frame]
) {
  animation:none!important;
  transition:none!important;
  transform:none!important;
  translate:none!important;
  rotate:none!important;
  scale:none!important;
  opacity:1!important;
  visibility:visible!important;
  will-change:auto!important;
}

/* Sections can contain cards and previously had a separate reveal mechanism.
   !important also wins over legacy Web Animations from the common site script.
   Preserve display/hidden, especially collapsed policies and filtered feeds. */
body[data-static-cards="true"] :is(main, .tp-reading, #thera-sar-editoriale) :is(
  .reveal-on-scroll, [data-tp-reveal], [data-sar-scroll],
  .page-header, .info-section, .content-section, .media-section, .form-section
) {
  animation:none!important;
  transition:none!important;
  transform:none!important;
  translate:none!important;
  rotate:none!important;
  scale:none!important;
  opacity:1!important;
  visibility:visible!important;
  will-change:auto!important;
}

/* Suppress only card-surface ornaments, not meaningful checkbox indicators,
   numbered steps, featured-card labels/overlays or the whole-page perimeter. */
body[data-static-cards="true"] :is(main, .tp-reading, #thera-sar-editoriale) :is(
  .sar-reading-card, .card, .article-card, .photo-card, .video-card,
  .portfolio-card, .service-card, .contact-card,
  .season-card, .scenario-card, .intro-panel, .cta-panel, .cta-box,
  .deliverable, .filo-frame, [data-sar-frame]
)::before,
body[data-static-cards="true"] :is(main, .tp-reading, #thera-sar-editoriale) :is(
  .sar-reading-card, .card, .article-card, .photo-card, .video-card,
  .portfolio-card, .service-card, .contact-card,
  .season-card, .scenario-card, .intro-panel, .cta-panel, .cta-box,
  .deliverable, .filo-frame, [data-sar-frame]
)::after {
  content:none!important;
  display:none!important;
  animation:none!important;
  transition:none!important;
}

body[data-static-cards="true"] :is(.sar-motion-frame, .frame-thread, .reading-thread) {
  display:none!important;
}

/* Feed cards are created after load and do not have .sar-reading-card. Target
   their existing media classes; leave social-cover positioning and watermarks. */
body[data-static-cards="true"] :is(main, .tp-reading) :is(
  .card-cover:not(.is-social), .photo-thumb, .portfolio-card-media
) > img:not(.thera-media-watermark) {
  animation:none!important;
  transition:none!important;
  transform:none!important;
  scale:none!important;
}
@media (hover:hover) {
  body[data-static-cards="true"] :is(main, .tp-reading) .card-cover.is-social > img {
    transition:none!important;
    transform:none!important;
  }
}

/* Small content actions no longer jump on hover; LED text is not selected. */
body[data-static-cards="true"] :is(main, .tp-reading, #thera-sar-editoriale) :is(
  .card-action, .sar-help-arrow
) {
  transition:none!important;
  transform:none!important;
}
