/* ------------------------------------------------------------------
   Streamer profile: hide anything that resolved to nothing.

   The profile template renders its social icons and its country / games /
   email / phone row unconditionally, through dynamic field tags. Those
   tags carried fallback values, so a streamer with nothing on file showed
   someone else's details:

     social icons -> Hunter Gamer's own Facebook, YouTube and Twitch, and
                     a personal Instagram account
     country/games -> the literal text "Don't Know"
     email         -> support@huntergamer.com, on 146 of 148 profiles
     YouTube embed -> Hunter Gamer's own channel, on 36 profiles

   The fallbacks are now removed from the templates, which leaves those
   elements rendering empty: an icon with no href, a mailto: with no
   address, a list row with no text. Those are hidden here so a profile
   shows only what is actually known about that streamer.
   ------------------------------------------------------------------ */

/* --- social icons with no link --- */
.elementor-social-icons-wrapper .elementor-grid-item:has(> a:not([href])),
.elementor-social-icons-wrapper .elementor-grid-item:has(> a[href=""]),
.elementor-social-icons-wrapper .elementor-grid-item:has(> a[href="#"]),
.elementor-social-icons-wrapper > a:not([href]),
.elementor-social-icons-wrapper > a[href=""] {
	display: none !important;
}

.elementor-social-icons-wrapper {
	align-items: center;
}

/* --- info rows: empty country, games, email or phone --- */
.single-streamer .elementor-icon-list-item:has(> a[href="mailto:"]),
.single-streamer .elementor-icon-list-item:has(> a[href="tel:"]),
.single-streamer .elementor-icon-list-item:has(> a[href=""]),
.single-streamer .elementor-icon-list-item:has(> a:not([href])),
.single-streamer .elementor-icon-list-item:has(> .elementor-icon-list-text:empty),
.single-streamer .elementor-icon-list-item:has(> a > .elementor-icon-list-text:empty) {
	display: none !important;
}

/* an empty inline list should not leave a gap behind */
.single-streamer .elementor-icon-list-items:not(:has(.elementor-icon-list-item:not([style*="display: none"]))) {
	margin: 0;
}
