/*
Theme Name: Chris Malette MP
Theme URI: https://snap360.ca/
Description: Custom child theme for Chris Malette MP, built by Snap360 on Hello Elementor.
Author: Snap360
Author URI: https://snap360.ca/
Template: hello-elementor
Version: 1.0.0
Text Domain: chris-malette-mp-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Accessibility (focus only, no change for mouse users). Added 2026-11-30. */

/* "How can we help?": the dropdown button is the keyboard control but is 0px wide, so show its focus ring on the menu item. */
.e-n-menu-title:has(> .e-n-menu-dropdown-icon:focus-visible) {
	outline: 2px solid #000;
	outline-offset: -2px;
}

/* Mobile menu: the default dark grey ring is about 1.9:1 on the red panel; use white there (keyboard focus only). */
#off-canvas-f1b6cd2 a:focus-visible,
#off-canvas-f1b6cd2 summary:focus-visible,
#off-canvas-f1b6cd2 button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

/* Imported news posts: bold paragraphs that act as section headings are now <h2 class="cmmp-subhead">.
   Keep the bold-paragraph look (the single-post template sets content h2 with !important). Added 2026-11-30. */
.elementor .elementor-widget-theme-post-content h2.cmmp-subhead.cmmp-subhead {
	font-family: inherit;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
	text-transform: none;
	margin: 0 0 0.9rem;
	padding: 0;
}

/* Hello fallback archives: the H1 is printed for screen readers but stays visually hidden (page titles are off
   site-wide). Added 2026-11-30. */
body.archive .page-header .entry-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
