/*
 * WC Vendors styles for the Rymera Mega Menu plugin (menu-1).
 * Brand: blue #005580, navy CTA #191D8A, heading #211F54, muted #5F6284, Lato + Varela Round.
 * Panels: synced patterns rmm-panel-features (.wmm-features) and rmm-panel-resources (.wmm-resources).
 * The .rmm-panel box is transparent; each panel wrapper draws its own card, so the panels can have different widths.
 */

/* ---------- Menu bar ---------- */
.rmm { --rmm-max: 1194px; }
.rmm-link { font-family: Helvetica, Arial, sans-serif; color: #2a2e36; }
.rmm-caret:focus-visible, .rmm-link:focus-visible, .rmm-toggle:focus-visible { outline-color: #005580; }
.rmm-panel { background: none; box-shadow: none; border-radius: 0; overflow: visible; }

/* The theme styles every button navy (with an arrow image) on hover, focus and active. The caret and the toggle are buttons. */
.rmm-caret, .rmm-caret:hover, .rmm-caret:focus, .rmm-caret:active,
.rmm-toggle, .rmm-toggle:hover, .rmm-toggle:focus, .rmm-toggle:active { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.rmm .rmm-caret:hover, .rmm .rmm-caret:focus, .rmm .rmm-caret:active { color: #005580; }

/* The theme sets "ul/a" rules on .main-navigation and underlines link hovers. */
#rmm-menu.rmm-menu { display: flex; }
#rmm-menu a:hover { text-decoration: none; }

@media (min-width: 1101px) {
	.site-header .header-wrap .main-navigation .rmm-menu { gap: 10px; }
	.site-header .header-wrap .main-navigation .rmm-link { padding: 0 8px; font-size: 17px; font-weight: 400; line-height: 70px; color: #2a2e36; border: 0; }
	.site-header .header-wrap .main-navigation .rmm-has-panel .rmm-link { padding-right: 2px; }
	.site-header .header-wrap .main-navigation .rmm-link:hover,
	.site-header .header-wrap .main-navigation .rmm-open > .rmm-link,
	.site-header .header-wrap .main-navigation .rmm-current > .rmm-link { color: #2a2e36; text-decoration: underline; text-underline-offset: 4px; }
	.site-header .header-wrap .main-navigation .rmm-caret { width: 18px; margin: 0; color: #2a2e36; }
	.site-header .header-wrap .main-navigation .rmm-caret::before { border-width: 5px; }

	.site-header .header-wrap .main-navigation .get-started-menu { margin-left: 8px; }
	.site-header .header-wrap .main-navigation .get-started-menu > .rmm-link {
		padding: 0 20px;
		border: 1px solid #0f1031;
		border-radius: 6px;
		background: #191d8a;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		line-height: 36px;
		text-decoration: none;
	}
	.site-header .header-wrap .main-navigation .get-started-menu > .rmm-link:hover { background: #2228be; color: #fff; text-decoration: none; }

	/* Transparent gap so the panel opens just below the header and hover does not break on the way down. */
	.rmm-panel { padding-top: 15px; }
}

/* Pricing page: only the last menu item stays (the same rule a WPCode SCSS snippet applies to the old Max Mega Menu markup). */
body.pricing-page #rmm-menu > .rmm-item { display: none; }
body.pricing-page #rmm-menu > .rmm-item:last-child { display: flex; }

/* ---------- Shared panel card ---------- */
#rmm-menu .wmm-features, #rmm-menu .wmm-resources { margin: 0 auto; background: #fff; overflow: hidden; font-family: Lato, Helvetica, Arial, sans-serif; line-height: 1.4; color: #2a2e36; text-align: left; }
#rmm-menu .wmm-features a, #rmm-menu .wmm-resources a { text-decoration: none; border: 0; }
#rmm-menu .wmm-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f6284; }

/* ---------- Features panel (copy of Elementor template 186390) ---------- */
#rmm-menu .wmm-features { max-width: 1194px; border: 1px solid #dcddeb; border-radius: 24px; box-shadow: 0 2px 12px rgba(20, 20, 43, .08); }
#rmm-menu .wmm-features .wmm-section { padding: 34px 34px 28px; }
#rmm-menu .wmm-features .wmm-section + .wmm-section { margin: 0 34px; padding: 28px 0 34px; border-top: 1px solid #eef0f4; }
#rmm-menu .wmm-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
#rmm-menu .wmm-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid #eff0f6 !important; border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
#rmm-menu .wmm-card:hover { border-color: #b9d6e6 !important; box-shadow: 0 4px 14px rgba(0, 85, 128, .1); }
#rmm-menu .wmm-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: #005580; color: #fff; font-size: 22px; }
#rmm-menu .wmm-card-title { font-family: "Varela Round", Lato, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; color: #211f54; }
#rmm-menu .wmm-card:hover .wmm-card-title { color: #005580; }
#rmm-menu .wmm-card-desc { font-size: 13px; line-height: 1.55; color: #5f6284; }
#rmm-menu .wmm-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; margin-top: 20px; }
#rmm-menu .wmm-tool { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 15px; font-weight: 700; color: #211f54; }
#rmm-menu .wmm-tool i { flex: none; font-size: 18px; color: #3aa9d8; }
#rmm-menu .wmm-tool:hover { color: #005580; }
#rmm-menu .wmm-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 34px; background: #005580; color: #fff; }
#rmm-menu .wmm-bar-title { font-family: "Varela Round", Lato, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; }
#rmm-menu .wmm-bar-desc { font-size: 13px; line-height: 1.5; opacity: .9; }
#rmm-menu .wmm-bar-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border: 2px solid #effaff !important; border-radius: 10px; background: #effaff; color: #005580 !important; font-family: "Varela Round", Lato, sans-serif; font-size: 16px; font-weight: 600; }
#rmm-menu .wmm-bar-btn:hover { background: #fff; }

/* ---------- Resources panel (design canvas JsVr3VfqR3hBdv8vWQHJ8S) ---------- */
#rmm-menu .wmm-resources { max-width: 1100px; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(33, 31, 84, .12); }
#rmm-menu .wmm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#rmm-menu .wmm-col { display: flex; flex-direction: column; gap: 2px; padding: 28px 24px 22px; }
#rmm-menu .wmm-col + .wmm-col { border-left: 1px solid #eef0f4; }
#rmm-menu .wmm-col .wmm-label { margin-bottom: 8px; letter-spacing: .08em; }
#rmm-menu .wmm-link { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
#rmm-menu .wmm-link-title { font-size: 15px; font-weight: 700; color: #211f54; }
#rmm-menu .wmm-link-desc { font-size: 13px; color: #5f6284; }
#rmm-menu .wmm-plain { padding: 7px 0; font-size: 15px; line-height: 1.35; color: #211f54; }
#rmm-menu .wmm-link:hover .wmm-link-title, #rmm-menu .wmm-plain:hover, #rmm-menu .wmm-latest a:hover, #rmm-menu .wmm-foot a:hover .wmm-link-title { color: #005580; }
#rmm-menu .wmm-spacer { flex-grow: 1; }
#rmm-menu .wmm-more { padding-top: 10px; font-size: 14px; font-weight: 700; color: #005580; }
#rmm-menu .wmm-more:hover { color: #211f54; }
#rmm-menu .wmm-col--blog { background: #eef6fb; border-left-color: #d6e8f3 !important; }
#rmm-menu .wmm-col--blog .wmm-label { color: #005580; }
#rmm-menu .wmm-latest { margin: 0; padding: 0; list-style: none; }
#rmm-menu .wmm-latest li { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 7px 0; }
#rmm-menu .wmm-latest a { font-size: 15px; line-height: 1.35; color: #211f54; }
#rmm-menu .wmm-latest .wp-block-latest-posts__post-date { font-size: 12px; color: #5f6284; }
#rmm-menu .wmm-foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #f7fafc; border-top: 1px solid #eef0f4; }
#rmm-menu .wmm-foot .wmm-link { padding: 16px 24px; }

/* ---------- Mobile drawer (1100px and less) ---------- */
@media (max-width: 1100px) {
	/* Theme rules nudge or reorder the nav for the old toggle; the drawer is fixed, so it needs none of it. */
	.site-header .header-wrap .main-navigation { transform-style: flat; }
	.rmm-toggle { width: 52px; gap: 6px; }
	.rmm-toggle span { height: 4px; border-radius: 2px; background: #444; }
	.rmm-drawer-open .rmm-toggle span { background: #211f54; }
	.rmm-menu { background: #fff; padding: 64px 0 24px; }
	#rmm-menu .rmm-item { border-bottom: 1px solid #eef0f4; }
	#rmm-menu .rmm-link { padding: 0 16px; line-height: 56px; font-family: Lato, Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 700; color: #211f54; border: 0; }
	#rmm-menu .rmm-open > .rmm-link { color: #005580; }
	.rmm-caret { color: #2a2e36; }
	.rmm-open > .rmm-caret { color: #005580; }
	.rmm-panel { margin: 0; border-radius: 0; }
	#rmm-menu .get-started-menu { border-bottom: 0; padding: 20px 16px; }
	#rmm-menu .get-started-menu > .rmm-link { display: block; padding: 14px; border-radius: 6px; background: #191d8a; color: #fff; font-size: 16px; line-height: 1.2; text-align: center; }

	#rmm-menu .wmm-features, #rmm-menu .wmm-resources { max-width: none; border: 0; border-radius: 0; box-shadow: none; background: #f5f9fc; }
	#rmm-menu .wmm-features .wmm-section { padding: 16px; }
	#rmm-menu .wmm-features .wmm-section + .wmm-section { margin: 0 16px; padding: 16px 0; }
	#rmm-menu .wmm-cards, #rmm-menu .wmm-tools { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
	#rmm-menu .wmm-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 12px; }
	#rmm-menu .wmm-icon { width: 36px; height: 36px; margin: 0; font-size: 18px; }
	#rmm-menu .wmm-card-desc { flex-basis: 100%; }
	#rmm-menu .wmm-bar { flex-direction: column; align-items: stretch; padding: 16px; }
	#rmm-menu .wmm-bar-btn { justify-content: center; }
	#rmm-menu .wmm-cols, #rmm-menu .wmm-foot { grid-template-columns: 1fr; }
	#rmm-menu .wmm-col { padding: 8px 16px 12px; }
	#rmm-menu .wmm-col + .wmm-col { border-left: 0; }
	#rmm-menu .wmm-col--blog { margin: 0 16px 8px; padding: 4px 14px 8px; border-radius: 6px; }
	#rmm-menu .wmm-link-desc { display: none; }
	#rmm-menu .wmm-plain, #rmm-menu .wmm-link { padding: 10px 0; font-size: 16px; }
	#rmm-menu .wmm-foot { margin: 0 16px; background: none; }
	#rmm-menu .wmm-foot .wmm-link { padding: 10px 0; }
	#rmm-menu .wmm-spacer { display: none; }
}
