/**
 * Print styles for Activity pages.
 * These styles apply only when printing (Ctrl+P / Cmd+P).
 * Customize below to control layout, visibility, and appearance for print.
 */

@media print {
  .hide-on-print,
  #activity-form,
  footer,
  .suggested-activities-slider,
  [aria-labelledby="activityToolsTitle"],
  [aria-labelledby="suggestedActivitiesTitle"],
  header > .theme-container{
    display: none !important;
  }

  /*
   * FAQ accordions are force-expanded by a JS `beforeprint` hook in
   * theme.ts (`expandFaqOnPrint`), which rewrites inline styles directly —
   * required because `x-collapse` sets inline `!important` that no
   * stylesheet rule can override.
   *
   * Parent needs `overflow: visible` on print so its Tailwind
   * `overflow-hidden` does not clip the expanded answer.
   */
  .activity-faq .faq-accordion-item {
    overflow: visible !important;
  }
  /* Rotate chevron to match the "open" visual state. */
  .activity-faq .faq-accordion-item button svg {
    transform: rotate(180deg) !important;
  }

  /*
   * Force scroll-reveal animated elements to visible state.
   * Without this, elements below the fold stay at opacity:0 because their
   * IntersectionObserver-driven animation never fired before print.
   */
  [data-animate],
  [data-animate-child],
  [data-animate-slider] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
  }
  #series-items, #educational-skills{
    display: none !important;
  }
  [aria-labelledby="moreActivitiesTitle"]{
    display: none !important;
  }
}