/*
 * mcmc-core — the SITE-WIDE half of `custom_css` post 362, moved out of the
 * Customizer's Additional CSS field on 8 Sept 2026 (owner directive, same day) and
 * reproduced here VERBATIM: same declarations, same order, no class renamed.
 *
 * Three groups, and each is mcmc-core's rather than mcmc-search's because the
 * elements it reaches are not facet or directory controls:
 *   - the team-logo grid, which `Legacy\TeamLogosBar` (snippet #5) prints;
 *   - the `story_flag` link neutraliser, which fires on player and story pages;
 *   - the video-lightbox click shim on the player template.
 * Measured, not assumed: `a[href*="story_flag"]` matches 3 elements on HOME, the
 * directory, the filtered directory AND a player page; `.player-video` and
 * `.player-video iframe` match 2 each on HOME; `.team-logo img` matches 32 on HOME.
 *
 * ⛔ SEPARATE STYLESHEET, ENQUEUED LATE, FOR THE CASCADE — see the same note in
 * `mcmc-search/assets/css/mcmc-directory-controls.css`. Post 362 was stylesheet
 * **27 of 27** in the rendered <head>; anything that reproduces it has to land after
 * `elementor-frontend` and after every `elementor-post-*`, so this is enqueued on its
 * own at `wp_enqueue_scripts` priority 999.
 *
 * ⛔⛔ THERE IS NO `@font-face` BLOCK HERE BECAUSE THERE IS NONE IN POST 362 TO MOVE,
 * AND THAT IS A MEASUREMENT. Post 362 contains **zero** `@font-face` rules; it carries
 * five `font-family: "AllProDisplay"` REFERENCES and declares the face nowhere. The
 * declaration is Elementor Pro's: `elementor_font` post **1403**, meta
 * `elementor_font_face`, printed inline as `elementor-pro-custom-fonts-inline-css` at
 * position **24 of 27** — three places AHEAD of post 362, which is why the references
 * resolve. Its five `.woff2` URLs are absolute to the **staging** host, not the live
 * one. Moving it would mean editing Elementor's font system, which this seat's brief
 * puts under NOT PERMITTED, and it would not change a pixel: the face is already
 * declared before every rule that uses it. It stays where it is.
 *
 * ⚠ ONE DEAD SELECTOR WAS DROPPED FROM THIS HALF: `.elementor-widget
 * a[href*="story_flags"]` (plural), which matches zero elements on all five captured
 * pages and matched zero in MCMC-BUILD-C's census. Its two singular siblings in the
 * same rule are alive and are kept.
 */

/* Team Logo Grid */

.team-logos-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(40px,1fr));
  gap: 14px;
  align-items: center;
}
.team-logo img { width: 80%; height: auto; display: block; }
@media (max-width: 1024px) { .team-logos-grid { grid-template-columns: repeat(8,1fr); } }
@media (max-width: 600px)  { .team-logos-grid { grid-template-columns: repeat(5,1fr); } }

.team-logo img {
  transition: transform 0.3s ease;
}
.team-logo:hover img {
  transform: scale(1.08);
}

.elementor-widget a[href*="story_flag"],
a[href*="story_flag"] {
  pointer-events: none;  /* disables clicking */
  text-decoration: none !important;  /* removes underline */
  color: inherit !important;  /* keeps same color */
  cursor: default;  /* removes link cursor */
}

/* Video Lightbox
 * ⛔⛔ RENAMED TO THE mc VOCABULARY, SEAT REFACTOR-R7 — `.player-video` became `.mc-player-video`
 * in the same commit as `mcmc-lightbox.js`'s `OPEN_SELECTOR` and every element carrying both.
 * The declarations are post 362's, unchanged. ⚠ The second rule is a HIT-TESTING rule and not a
 * paint rule: without it the YouTube iframe is hit-testable, a click at the container's centre
 * lands in a cross-origin frame and the page never receives it — the lightbox opened 0 of 3
 * routes on every video player while the page read PIXEL ZERO (SEAT REFACTOR-R3).
 */
.mc-player-video {
  position: relative;
  cursor: pointer;
}
.mc-player-video iframe {
  pointer-events: none; /* makes the container receive the click */
}
