/*
Theme Name: Hello Elementor Child – She ROCKS
Template: hello-elementor
Version: 2.2.4
Description: Child theme for She ROCKS. Holds the site's small PHP customizations so they survive theme updates.
*/

/* Board & Team — "one word" block rendered by [sherocks_person_word] */
.sherocks-word {
	margin: 0;
	line-height: 1.4;
}
.sherocks-word-label {
	display: block;
	font-family: 'Merriweather Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #5C6B70;
	margin-bottom: 2px;
}
.sherocks-word-value {
	display: block;
	font-family: Merriweather, Georgia, serif;
	font-style: italic;
	font-size: 18px;
	color: #025C63;
}

/* The Events Calendar — brand pass for the /calendar/ views
   (list, month, search bar, subscribe). Overrides TEC's CSS variables. */
.tribe-common, .tribe-events {
	--tec-color-accent-primary: #037F87;
	--tec-color-accent-primary-hover: #025C63;
	--tec-color-accent-primary-active: #025C63;
	--tec-color-accent-primary-background: #E4F6F7;
	--tec-color-link-primary: #037F87;
	--tec-color-link-accent: #037F87;
	--tec-color-link-accent-hover: #025C63;
	--tec-color-text-primary: #1F2A2E;
	--tec-color-text-secondary: #5C6B70;
	--tec-color-text-event-title: #025C63;
	--tec-color-text-events-title: #025C63;
	--tec-font-family-sans-serif: 'Merriweather Sans', Arial, sans-serif;
}
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-c-top-bar__datepicker-button {
	font-family: Merriweather, Georgia, serif;
}

/* Sticky footer (v2.1.5): on pages shorter than the viewport, stretch the
   main content so the footer sits at the bottom instead of leaving a white
   band beneath it. Hello Elementor outputs header / main / footer as direct
   children of body. */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body > main.site-main,
body > #content {
	flex: 1 0 auto;
}
body > [data-elementor-type="footer"] {
	flex-shrink: 0;
}

/* Single event pages (v2.1.6): The Events Calendar wraps our Elementor
   Single Event template in its own boxed container, which stops full-width
   bands reaching the edges. Remove the box; Elementor sections carry their
   own 1200px boxed content widths. */
.single-tribe_events #tribe-events-pg-template,
.single-tribe_events .tribe-events-pg-template,
.single-tribe_events .tribe-events-single,
.single-tribe_events #tribe-events {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
.single-tribe_events .tribe-events-single > .tribe-events-back,
.single-tribe_events .tribe-events-single > .tribe-events-schedule,
.single-tribe_events .tribe-events-single > .tribe-events-notices {
	display: none; /* TEC's own back link / schedule / notices; the template has its own */
}

/* Icon Box house style (v2.1.7): Elementor's Icon Box ignores the kit's
   heading typography, so titles are pinned here for every icon box on the
   site. Title = sub-heading one step below the section H2. */
.elementor-widget-icon-box .elementor-icon-box-title,
.elementor-widget-icon-box .elementor-icon-box-title a {
	font-family: Merriweather, Georgia, serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.25;
	color: #025C63;
	margin-bottom: 10px;
}
.elementor-widget-icon-box .elementor-icon-box-description {
	font-family: 'Merriweather Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1F2A2E;
}
.elementor-widget-icon-box .elementor-icon-box-icon {
	margin-bottom: 14px;
}
@media (max-width: 767px) {
	.elementor-widget-icon-box .elementor-icon-box-title,
	.elementor-widget-icon-box .elementor-icon-box-title a {
		font-size: 21px;
	}
}

/* Mobile menu panel (v2.2.0) — markup is printed by functions.php in the
   footer; the hamburger in the Elementor header carries the CSS class
   "sherocks-mm-open". Transform-based slide from the right; full width on
   phones, 360px on tablets. */
.sherocks-mm[hidden] { display: none; }
.sherocks-mm {
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.sherocks-mm__overlay {
	position: absolute;
	inset: 0;
	background: rgba(2, 92, 99, 0.45);
	opacity: 0;
	transition: opacity 240ms ease;
}
.sherocks-mm__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 100%;
	background: #F1F6F7;
	display: flex;
	flex-direction: column;
	padding: 18px 24px 24px;
	box-sizing: border-box;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: transform 240ms cubic-bezier(.2,.7,.2,1);
	outline: none;
}
@media (min-width: 768px) {
	.sherocks-mm__panel { width: 360px; box-shadow: -12px 0 32px rgba(0,0,0,.12); }
}
.sherocks-mm.is-open .sherocks-mm__overlay { opacity: 1; }
.sherocks-mm.is-open .sherocks-mm__panel { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.sherocks-mm__overlay, .sherocks-mm__panel { transition: none; }
}
html.sherocks-mm-lock, html.sherocks-mm-lock body { overflow: hidden; }

.sherocks-mm__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}
.sherocks-mm__logo img { display: block; width: 150px; height: auto; }
.sherocks-mm__panel .sherocks-mm__close {
	appearance: none;
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
	padding: 6px 0 6px 12px;
	line-height: 1;
	font-family: 'Merriweather Sans', Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #025C63 !important;
	cursor: pointer;
}
.sherocks-mm__panel .sherocks-mm__close:hover,
.sherocks-mm__panel .sherocks-mm__close:focus-visible { background: none !important; color: #037F87 !important; }
.sherocks-mm__panel .sherocks-mm__close span { font-size: 22px; line-height: 1; vertical-align: -3px; margin-left: 4px; }

.sherocks-mm__nav { flex: 1 0 auto; }
.sherocks-mm__list, .sherocks-mm__list ul { list-style: none; margin: 0; padding: 0; }
.sherocks-mm__list li { display: block; }
.sherocks-mm__panel .sherocks-mm__list a {
	display: block;
	font-family: Merriweather, Georgia, serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: #025C63;
	text-decoration: none;
	padding: 13px 0;
	border-bottom: 1px solid #E6E6E6;
}
.sherocks-mm__panel .sherocks-mm__list a:hover, .sherocks-mm__panel .sherocks-mm__list a:focus-visible,
.sherocks-mm__panel .sherocks-mm__list .current-menu-item > a, .sherocks-mm__panel .sherocks-mm__list .current_page_item > a { color: #037F87; }
.sherocks-mm__list a:focus-visible { outline: 2px solid #037F87; outline-offset: 2px; }
.sherocks-mm-label {
	display: block;
	margin: 18px -24px 4px;      /* bleed to the panel edges */
	padding: 9px 24px;
	background: #CDE4E7;         /* darker teal wash; solid alt: #025C63 with #FFF text */
	font-family: 'Merriweather Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #025C63;
}
.sherocks-mm__list > li:first-child > .sherocks-mm-label { margin-top: 0; }
/* No hairline under the last page row before a band. */
.sherocks-mm__list > li.menu-item-has-children > ul > li:last-child > a { border-bottom: 0; }

.sherocks-mm__panel .sherocks-mm__donate {
	display: block;
	margin-top: 28px;
	padding: 16px 24px;
	border-radius: 999px;
	background: #037F87;
	color: #FFFFFF;
	font-family: 'Merriweather Sans', Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.sherocks-mm__panel .sherocks-mm__donate:hover, .sherocks-mm__panel .sherocks-mm__donate:focus-visible { background: #025C63; color: #FFFFFF; }
