/*
 * Блоги in blue in the main menu, recovered from the May 2026 capture (T-043).
 *
 * WHY THIS IS NOT IN THE MAY STYLESHEET, AND WHY THAT FILE MUST NOT BE "FIXED".
 * `data/design/css/wp-custom-css-2026-05.css` carries this rule nine times over as
 * `#menu-item-81099 > a`, and it is byte-checked at 44,279 characters by the smoke check
 * `may_design_state`. **Do not edit it.** 81099 was the OLD site's Блоги menu item. A menu item is a
 * post, so its ID is assigned at insert time and cannot be chosen: T-041 recreated the menu and
 * WordPress gave the item 81074 on one stack and 80851 on another (T-042 measured both). So the May
 * rule matches nothing here, and re-pointing it at today's number would break on the next rebuild —
 * which is why the colour is keyed on the href instead, in this file, printed after the theme's CSS.
 *
 * WHY THE SELECTOR LOOKS LIKE THIS. Measured on the rendered homepage by T-042:
 *   - WordPress stores menu URLs **absolute** (`http://localhost:8102/blogy/`), so `a[href="/blogy/"]`
 *     would silently never match. An ends-with match is required, not stylistic.
 *   - unscoped, `a[href$="/blogy/"]` hits four anchors: the two main-menu renderings JNews prints
 *     (bottom bar and sticky bar), one in `ul.jeg_mobile_menu`, and **one in `ul.jeg_menu_footer`** —
 *     that last one is `wp_page_menu()`'s page list, not a menu item at all, and the capture renders no
 *     footer menu bar, so it must not change colour. `.jeg_main_menu > li > a[href$="/blogy/"]` hits
 *     exactly two, which are the two the May rule reached.
 *   - the mobile drawer is deliberately left alone: its items carry no `id`, so the May rule never
 *     reached them either, and the capture's phone rendering shows Блоги in the drawer's own colour.
 * A future English `/en/blogy/` item matches too, which is correct: the same capture styles
 * `#menu-item-81188 EN (Authors)` with these identical colours (recorded in T-039).
 *
 * #38BDF8, #1e3a8a and font-weight 700 are the capture's own values, carried over unchanged.
 * `!important` is kept because the May rule has it and `.jeg_menu_style_1 > li > a`'s colour would
 * otherwise win.
 */

.jeg_main_menu > li > a[href$="/blogy/"] {
	color: #38BDF8 !important;
	font-weight: 700;
}

.jeg_main_menu > li > a[href$="/blogy/"]:hover,
.jeg_main_menu > li.current-menu-item > a[href$="/blogy/"],
.jeg_main_menu > li.current_page_item > a[href$="/blogy/"],
.jeg_main_menu > li.current-menu-ancestor > a[href$="/blogy/"] {
	color: #1e3a8a !important;
}
