/* Rules needed by the static runtime (assets/js/main.js), not part of the WordPress styles. */

/* Training catalogue filtering / pagination hides cards with the hidden attribute. */
.elementor-posts-container > article[hidden],
.elementor-pagination[hidden] { display: none !important; }

/* Blog listings (tools/blog/build.py): pagination hides posts with the hidden attribute. */
.sc_blogger_content > article[hidden] { display: none !important; }

/* Home news block, items 2-4 (image left): the widths trx_addons printed as per-item inline classes. */
.sc_blogger_news .sc_blogger_item_list_with_image .sc_blogger_item_featured { width: 33%; }
.sc_blogger_news .sc_blogger_item_list_with_image .sc_blogger_item_content { width: calc(100% - 33%); }

/* ISTQB practice test: start button disabled until the quiz is rebuilt (components.py disable_quiz). */
.ays_next.start_button.ql-quiz-disabled,
.ays_next.start_button.ql-quiz-disabled:hover { opacity: 0.55; cursor: not-allowed; }

/* English Testing page: a dot-pattern background left from the theme demo covers the "All types of
   activities" heading (the French page has none). Same on WordPress; removed here only. */
.elementor-31861 .elementor-element.elementor-element-7a973fc:not(.elementor-motion-effects-element-type-background) { background-image: none; }

/* Testing pages, "Une équipe dédiée à vos activités de tests": the title had a -215px margin from
   Elementor and ran over the photo; aligned with its paragraph instead. */
.elementor-20063 .elementor-element.elementor-element-6ba4dcc > .elementor-widget-container,
.elementor-31861 .elementor-element.elementor-element-6ba4dcc > .elementor-widget-container { margin-left: 0; padding-right: 0; }

/* Site search results (initSearch): message when there is nothing to list. */
.ql-search-message { margin: 0 0 2em; }
