/*
 * The Cult Of Nova — EVE Online "New Eden HUD" skin for Avada.
 *
 * Loaded by the child theme AFTER Avada's compiled CSS (fusion-dynamic-css),
 * so plain :root declarations override Avada's Global Options variables.
 * No Avada files or database options are modified: removing this file
 * (or its enqueue in functions.php) restores the original look.
 *
 * Sections:
 *   1. Fonts (self-hosted, SIL OFL)
 *   2. Design tokens + Avada palette / typography remap
 *   3. Avada option variables that assumed a light theme
 *   4. Base page: starfield, text, links, selection, scrollbar
 *   5. Header & navigation
 *   6. Headings & HUD details
 *   7. Buttons
 *   8. Forms
 *   9. Cards, post cards, widgets, tables
 *  10. Footer
 *  11. Third-party plugins (bbPress, Events Calendar, WooCommerce)
 *  12. EVE Corporation Manager plugin
 *  13. Motion & accessibility
 */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/titillium-web-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/titillium-web-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/orbitron-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/orbitron-latin-600-normal.woff2") format("woff2"); }

/* 2. Design tokens -------------------------------------------------------- */

/* `html:root` (not `:root`) so these win over Avada's :root declarations
   regardless of stylesheet order (Avada may defer or inline its CSS). */
html:root {
	/* Accent channels (R, G, B) for translucent accents: rgba(var(--nova-accent-rgb), 0.2).
	   The colour schemes at the end of section 2 swap these and the "cyan" tokens below. */
	--nova-accent-rgb: 63, 200, 228;
	--nova-accent-soft-rgb: 95, 214, 236;
	--nova-accent-bright-rgb: 138, 233, 248;
	--nova-accent-deep-rgb: 18, 122, 147;
	--nova-accent-darker: #0e5f73;
	--nova-accent-darkest: #0b4d5e;

	/* Skin tokens (use these in custom CSS / builder "custom CSS" fields). */
	--nova-void: #04070b;          /* page background, deep space        */
	--nova-hull: #0a1118;          /* main panels                        */
	--nova-panel: #0f1922;         /* cards                              */
	--nova-panel-2: #152230;       /* raised / hover                     */
	--nova-line: rgba(var(--nova-accent-soft-rgb), 0.16);
	--nova-line-strong: rgba(var(--nova-accent-soft-rgb), 0.42);
	--nova-cyan: #3fc8e4;          /* primary accent (EVE client cyan)   */
	--nova-cyan-bright: #8ae9f8;
	--nova-cyan-deep: #127a93;
	--nova-glow: 0 0 0 1px rgba(var(--nova-accent-rgb), 0.35), 0 0 18px rgba(var(--nova-accent-rgb), 0.18);
	--nova-text: #a6b6c3;
	--nova-text-bright: #e4f1f6;
	--nova-muted: #6f8392;
	--nova-gold: #d9a441;          /* sacred gold, used sparingly */
	--nova-hostile: #e0533d;       /* EVE "hostile" red                  */
	--nova-friendly: #4fa3ff;      /* EVE "blue" standings               */
	--nova-ok: #4fbf7f;
	--nova-ok-rgb: 79, 191, 127;
	--nova-warn: #e8b84a;
	--nova-cut: 10px;              /* size of clipped HUD corners        */
	--nova-font-display: "Rajdhani", "Barlow Condensed", Arial, Helvetica, sans-serif;
	--nova-font-body: "Titillium Web", Karla, Arial, Helvetica, sans-serif;

	/* Avada global palette, kept in light -> dark order so the header and
	   footer layout sections (color8 background, color1 text) still work. */
	--awb-color1: #e4f1f6; --awb-color1-h: 197; --awb-color1-s: 50%; --awb-color1-l: 93%; --awb-color1-a: 100%;
	--awb-color2: #131e29; --awb-color2-h: 210; --awb-color2-s: 37%; --awb-color2-l: 12%; --awb-color2-a: 100%;
	--awb-color3: #8ae9f8; --awb-color3-h: 188; --awb-color3-s: 89%; --awb-color3-l: 76%; --awb-color3-a: 100%;
	--awb-color4: #5fd6ec; --awb-color4-h: 189; --awb-color4-s: 79%; --awb-color4-l: 65%; --awb-color4-a: 100%;
	--awb-color5: #3fc8e4; --awb-color5-h: 190; --awb-color5-s: 75%; --awb-color5-l: 57%; --awb-color5-a: 100%;
	--awb-color6: #a6b6c3; --awb-color6-h: 207; --awb-color6-s: 19%; --awb-color6-l: 71%; --awb-color6-a: 100%;
	--awb-color7: #127a93; --awb-color7-h: 192; --awb-color7-s: 78%; --awb-color7-l: 32%; --awb-color7-a: 100%;
	--awb-color8: #0a1118; --awb-color8-h: 210; --awb-color8-s: 41%; --awb-color8-l: 7%;  --awb-color8-a: 100%;

	/* Typography sets: 1-3 display (headings, subheadings, lead/buttons), 4-5 body. */
	--awb-typography1-font-family: var(--nova-font-display);
	--awb-typography2-font-family: var(--nova-font-display);
	--awb-typography3-font-family: var(--nova-font-display);
	--awb-typography4-font-family: var(--nova-font-body);
	--awb-typography5-font-family: var(--nova-font-body);
	--awb-typography3-letter-spacing: 0.12em;

	/* 3. Avada option variables that assumed a light theme ---------------- */

	/* Backgrounds that used color1 (white) / color2 (light grey). */
	--bg_color: var(--nova-void);
	--content_bg_color: transparent;
	--footer_bg_color: var(--nova-hull);
	--form_bg_color: rgba(4, 7, 11, 0.6);
	--header_sticky_bg_color: rgba(10, 17, 24, 0.94);
	--header_top_sub_bg_color: var(--nova-hull);
	--menu_h45_bg_color: var(--nova-hull);
	--info_bg_color: var(--nova-panel);
	--popover_content_bg_color: var(--nova-panel);
	--popover_heading_bg_color: var(--nova-panel-2);
	--tabs_bg_color: var(--nova-panel);
	--tabs_inactive_color: var(--nova-hull);
	--testimonial_bg_color: var(--nova-panel);
	--ec_tooltip_bg_color: var(--nova-panel);
	--ec_tooltip_bg_hover_color: var(--nova-panel-2);
	--ec_sidebar_bg_color: var(--nova-panel);
	--flyout_menu_background_color: rgba(4, 7, 11, 0.96);
	--awb-popup-background-color: var(--nova-panel);
	--qty_bg_hover_color: var(--nova-panel-2);
	--warning_bg_color: rgba(232, 184, 74, 0.12);
	--danger_bg_color: rgba(224, 83, 61, 0.14);
	--timeline_bg_color-not-transparent: var(--nova-panel);

	/* Borders and separators. */
	--sep_color: var(--nova-line);
	--title_border_color: var(--nova-line);
	--grid_separator_color: var(--nova-line);
	--footer_border_color: var(--nova-line);
	--full_width_border_color: var(--nova-line);
	--checklist_divider_color: var(--nova-line);
	--form_border_color: var(--nova-line-strong);
	--form_focus_border_color: var(--nova-cyan);
	--form_focus_border_color-5a: rgba(var(--nova-accent-rgb), 0.5);
	--tabs_border_color: var(--nova-line);
	--popover_border_color: var(--nova-line-strong);

	/* Text that used color8 (near-black) or color2 on a light background. */
	--h1_typography-color: var(--nova-text-bright);
	--h2_typography-color: var(--nova-text-bright);
	--h3_typography-color: var(--nova-text-bright);
	--h4_typography-color: var(--nova-text-bright);
	--h5_typography-color: var(--nova-cyan-bright);
	--h6_typography-color: var(--nova-cyan-bright);
	--post_title_typography-color: var(--nova-text-bright);
	--post_titles_extras_typography-color: var(--nova-text-bright);
	--footer_headings_typography-color: var(--nova-text-bright);
	--accordion_title_typography-color: var(--nova-text-bright);
	--faq_accordion_title_typography-color: var(--nova-text-bright);
	--faq_accordion_content_typography-color: var(--nova-text);
	--accordion_content_typography-color: var(--nova-text);
	--content_box_title_color: var(--nova-text-bright);
	--content_box_body_color: var(--nova-text);
	--testimonial_text_color: var(--nova-text);
	--popover_text_color: var(--nova-text);
	--woo_dropdown_text_color: var(--nova-text);
	--sidebar_heading_color: var(--nova-text-bright);
	--page_title_color: var(--nova-text-bright);
	--page_title_subheader_color: var(--nova-text);
	--breadcrumbs_text_color: var(--nova-muted);
	--flip_boxes_front_heading: var(--nova-text-bright);
	--ec_sidebar_link_color: var(--nova-cyan-bright);
	--ec_sidebar_text_color: var(--nova-text);
	--form_text_color: var(--nova-text-bright);
	--form_text_color-35a: rgba(166, 182, 195, 0.55);

	/* Links: cyan on dark, brighter on hover. */
	--link_color: var(--nova-cyan);
	--link_color-8a: rgba(var(--nova-accent-rgb), 0.8);
	--link_hover_color: var(--nova-cyan-bright);

	/* Buttons: translucent HUD buttons that light up on hover. */
	--button_gradient_top_color: rgba(var(--nova-accent-rgb), 0.14);
	--button_gradient_bottom_color: rgba(var(--nova-accent-rgb), 0.06);
	--button_gradient_top_color_hover: var(--nova-cyan);
	--button_gradient_bottom_color_hover: var(--nova-cyan);
	--button_accent_color: var(--nova-cyan-bright);
	--button_accent_hover_color: var(--nova-void);
	--button_border_color: var(--nova-cyan);
	--button_border_hover_color: var(--nova-cyan);
	--button_border_width-top: 1px;
	--button_border_width-right: 1px;
	--button_border_width-bottom: 1px;
	--button_border_width-left: 1px;
	--blog_load_more_posts_button_text_color: var(--nova-cyan-bright);
	--blog_load_more_posts_button_bg_color: var(--nova-panel);
	--blog_load_more_posts_hover_button_bg_color: var(--nova-panel-2);
	--blog_element_load_more_posts_button_bg_color: var(--nova-panel);
	--blog_element_load_more_posts_hover_button_bg_color: var(--nova-panel-2);
	--portfolio_archive_load_more_posts_button_bg_color: var(--nova-panel);
	--portfolio_archive_load_more_posts_hover_button_bg_color: var(--nova-panel-2);

	--scrollbar_background: var(--nova-void);
}

/* Colour schemes. The base palette below is cyan; the site default is Nova violet.
   inc/color-schemes.php sets <html data-nova-scheme="nova|gold|magenta|green"> from the
   visitor's choice (or "nova" when they have not chosen) before the page paints; cyan
   means no attribute. The token names keep "cyan" so existing CSS keeps working;
   they mean "primary accent". */
html:root[data-nova-scheme="nova"] {
	--nova-accent-rgb: 157, 123, 255;
	--nova-accent-soft-rgb: 180, 155, 255;
	--nova-accent-bright-rgb: 217, 204, 255;
	--nova-accent-deep-rgb: 91, 63, 196;
	--nova-accent-darker: #432e94;
	--nova-accent-darkest: #352473;
	--nova-cyan: #9d7bff;
	--nova-cyan-bright: #d9ccff;
	--nova-cyan-deep: #5b3fc4;
	--awb-color3: #d9ccff; --awb-color3-h: 255; --awb-color3-s: 100%; --awb-color3-l: 90%;
	--awb-color4: #b49bff; --awb-color4-h: 254; --awb-color4-s: 100%; --awb-color4-l: 80%;
	--awb-color5: #9d7bff; --awb-color5-h: 255; --awb-color5-s: 100%; --awb-color5-l: 74%;
	--awb-color7: #5b3fc4; --awb-color7-h: 253; --awb-color7-s: 53%;  --awb-color7-l: 51%;
}

html:root[data-nova-scheme="gold"] {
	--nova-accent-rgb: 232, 176, 74;
	--nova-accent-soft-rgb: 240, 196, 110;
	--nova-accent-bright-rgb: 255, 221, 148;
	--nova-accent-deep-rgb: 143, 100, 24;
	--nova-accent-darker: #74521a;
	--nova-accent-darkest: #5e420f;
	--nova-cyan: #e8b04a;
	--nova-cyan-bright: #ffdd94;
	--nova-cyan-deep: #8f6418;
	--nova-gold: #3fc8e4;          /* secondary accent becomes cyan, so it still stands out */
	--awb-color3: #ffdd94; --awb-color3-h: 41;  --awb-color3-s: 100%; --awb-color3-l: 79%;
	--awb-color4: #f0c46e; --awb-color4-h: 40;  --awb-color4-s: 81%;  --awb-color4-l: 69%;
	--awb-color5: #e8b04a; --awb-color5-h: 39;  --awb-color5-s: 77%;  --awb-color5-l: 60%;
	--awb-color7: #8f6418; --awb-color7-h: 38;  --awb-color7-s: 71%;  --awb-color7-l: 33%;
}

html:root[data-nova-scheme="magenta"] {
	--nova-accent-rgb: 255, 79, 216;
	--nova-accent-soft-rgb: 255, 122, 227;
	--nova-accent-bright-rgb: 255, 179, 241;
	--nova-accent-deep-rgb: 156, 31, 132;
	--nova-accent-darker: #80196d;
	--nova-accent-darkest: #6b1559;
	--nova-cyan: #ff4fd8;
	--nova-cyan-bright: #ffb3f1;
	--nova-cyan-deep: #9c1f84;
	--awb-color3: #ffb3f1; --awb-color3-h: 311; --awb-color3-s: 100%; --awb-color3-l: 85%;
	--awb-color4: #ff7ae3; --awb-color4-h: 313; --awb-color4-s: 100%; --awb-color4-l: 74%;
	--awb-color5: #ff4fd8; --awb-color5-h: 313; --awb-color5-s: 100%; --awb-color5-l: 65%;
	--awb-color7: #9c1f84; --awb-color7-h: 312; --awb-color7-s: 67%;  --awb-color7-l: 37%;
}

html:root[data-nova-scheme="green"] {
	--nova-accent-rgb: 57, 245, 140;
	--nova-accent-soft-rgb: 111, 247, 168;
	--nova-accent-bright-rgb: 176, 252, 207;
	--nova-accent-deep-rgb: 18, 128, 74;
	--nova-accent-darker: #0f6a3d;
	--nova-accent-darkest: #0b5531;
	--nova-cyan: #39f58c;
	--nova-cyan-bright: #b0fccf;
	--nova-cyan-deep: #12804a;
	--nova-ok: #3fc8e4;            /* success turns cyan so it stands out from the green accent */
	--nova-ok-rgb: 63, 200, 228;
	--awb-color3: #b0fccf; --awb-color3-h: 144; --awb-color3-s: 93%; --awb-color3-l: 84%;
	--awb-color4: #6ff7a8; --awb-color4-h: 145; --awb-color4-s: 89%; --awb-color4-l: 70%;
	--awb-color5: #39f58c; --awb-color5-h: 146; --awb-color5-s: 90%; --awb-color5-l: 59%;
	--awb-color7: #12804a; --awb-color7-h: 151; --awb-color7-s: 75%; --awb-color7-l: 29%;
}

/* Scheme picker (swatches), placed with the [nova_scheme_picker] shortcode. */
.nova-scheme-picker {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	padding: 4px 10px;
}

.nova-scheme-picker button {
	appearance: none;
	background: var(--sw);
	border: 1px solid rgba(228, 241, 246, 0.35);
	border-radius: 0;
	box-shadow: none;
	clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
	cursor: pointer;
	height: 14px;
	min-height: 0;
	padding: 0;
	transition: transform 0.15s, box-shadow 0.15s;
	width: 14px;
}

.nova-scheme-picker button:hover,
.nova-scheme-picker button:focus-visible {
	transform: scale(1.2);
}

.nova-scheme-picker button[aria-pressed="true"] {
	border-color: var(--nova-text-bright);
	box-shadow: 0 0 10px var(--sw);
	outline: 1px solid var(--sw);
	outline-offset: 2px;
}

/* 4. Base page ------------------------------------------------------------ */

html,
body {
	background-color: var(--nova-void);
}

body {
	/* Starfield + faint nebula. Pure CSS, no image requests. */
	background-image:
		radial-gradient(1px 1px at 12% 18%, rgba(228, 241, 246, 0.55), transparent 60%),
		radial-gradient(1px 1px at 72% 9%, rgba(228, 241, 246, 0.45), transparent 60%),
		radial-gradient(1.5px 1.5px at 38% 64%, rgba(var(--nova-accent-bright-rgb), 0.5), transparent 60%),
		radial-gradient(1px 1px at 88% 52%, rgba(228, 241, 246, 0.4), transparent 60%),
		radial-gradient(1px 1px at 22% 82%, rgba(228, 241, 246, 0.35), transparent 60%),
		radial-gradient(1.5px 1.5px at 58% 34%, rgba(228, 241, 246, 0.3), transparent 60%),
		radial-gradient(ellipse 60% 45% at 85% 0%, rgba(var(--nova-accent-deep-rgb), 0.16), transparent 70%),
		radial-gradient(ellipse 50% 40% at 0% 100%, rgba(63, 120, 200, 0.10), transparent 70%);
	background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 340px 340px, 600px 600px, 100% 100%, 100% 100%;
	background-attachment: fixed;
	color: var(--nova-text);
}

#wrapper,
#main,
.fusion-body .fusion-wrapper {
	background-color: transparent;
}

::selection {
	background: rgba(var(--nova-accent-rgb), 0.35);
	color: var(--nova-text-bright);
}

html {
	scrollbar-color: var(--nova-cyan-deep) var(--nova-void);
}

hr,
.fusion-separator .fusion-separator-border {
	border-color: var(--nova-line);
}

blockquote {
	background: var(--nova-panel);
	border-left: 3px solid var(--nova-cyan);
	color: var(--nova-text-bright);
}

code,
kbd,
pre {
	background: var(--nova-hull);
	border: 1px solid var(--nova-line);
	color: var(--nova-cyan-bright);
}

/* 5. Header & navigation -------------------------------------------------- */

.fusion-tb-header {
	position: relative;
	z-index: 20;
}

/* Thin glowing scan line under the header. */
.fusion-tb-header::after {
	background: linear-gradient(90deg, transparent, var(--nova-cyan) 20%, var(--nova-cyan-bright) 50%, var(--nova-cyan) 80%, transparent);
	bottom: 0;
	box-shadow: 0 0 12px rgba(var(--nova-accent-rgb), 0.6);
	content: "";
	height: 1px;
	left: 0;
	opacity: 0.7;
	pointer-events: none;
	position: absolute;
	right: 0;
}

.fusion-tb-header .awb-menu__main-a,
.fusion-tb-header .awb-menu__main-li > a {
	font-family: var(--nova-font-display);
	letter-spacing: 0.14em;
}

/* Menu separators and social-icon hover boxes used "colour 5 + 44-46%"
   lightness (near-white now). */
.awb-menu {
	--awb-submenu-sep-color: var(--nova-line) !important;
}

.fusion-social-links {
	--awb-box-colors-hover: rgba(var(--nova-accent-rgb), 0.22) !important;
}

/* Dropdowns: dark glass panel with a cyan edge. */
.awb-menu__sub-ul,
.fusion-tb-header .awb-menu__sub-ul {
	backdrop-filter: blur(6px);
	border-top: 1px solid var(--nova-cyan);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

/* Mega menus (Avada Library > Mega Menus): add the class "nova-mega" to the container.
   Used by "The Callings" (element 3179) and "The Cult" (3182) and "Media" (3183) and "The Sanctum" (3184), "Tools" (3186) and "About (Nova)" (3187); columns get "nova-mega__col". */
.awb-menu__mega-wrap:has(.nova-mega) {
	max-width: calc(100vw - 48px);
}

.awb-menu__mega-wrap .nova-mega {
	background:
		radial-gradient(ellipse at 0 0, rgba(var(--nova-accent-rgb), 0.12), transparent 55%),
		linear-gradient(180deg, rgba(15, 25, 34, 0.98), rgba(4, 7, 11, 0.98));
	border: 1px solid var(--nova-line);
	border-top: 1px solid var(--nova-cyan);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
	color: var(--nova-text);
	font-family: var(--nova-font-body);
	position: relative;
	text-align: left;
	text-transform: none;
}

.awb-menu__mega-wrap .nova-mega::before {
	background: linear-gradient(90deg, var(--nova-cyan), transparent);
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	top: -1px;
	width: 40%;
}

.awb-menu__mega-wrap .nova-mega > .fusion-row {
	align-items: stretch;
	margin: 0 !important;
	max-width: none !important;
	width: 100%;
}

.nova-mega .nova-mega__col + .nova-mega__col {
	border-left: 1px solid var(--nova-line);
}

.nova-mega .nova-mega__aside {
	background: rgba(var(--nova-accent-rgb), 0.04);
}

.nova-mega p {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 0.9rem;
}

.nova-mega .nova-mega__eyebrow {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.nova-mega .nova-mega__eyebrow::before {
	content: "// ";
	opacity: 0.6;
}

.nova-mega .nova-mega__title,
.nova-mega .nova-mega__subtitle {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	letter-spacing: 0.05em;
	line-height: 1.1;
	margin: 0 0 0.8rem;
	text-transform: uppercase;
}

.nova-mega .nova-mega__title {
	font-size: 1.75rem;
}

.nova-mega .nova-mega__subtitle {
	font-size: 1.25rem;
}

.nova-mega .nova-mega__steps {
	counter-reset: nova-step;
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
}

.nova-mega .nova-mega__steps li {
	counter-increment: nova-step;
	font-size: 0.9rem;
	line-height: 1.45;
	margin-bottom: 0.55rem;
	padding-left: 2.2rem;
	position: relative;
}

.nova-mega .nova-mega__steps li::before {
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	content: counter(nova-step, decimal-leading-zero);
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	left: 0;
	line-height: 1;
	padding: 0.3rem 0.3rem;
	position: absolute;
	top: 0.05rem;
}

.nova-mega .nova-mega__steps strong {
	color: var(--nova-text-bright);
}

.nova-mega .nova-mega__actions {
	margin: 0 0 0.7rem;
}

.nova-mega .nova-mega__button {
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	display: inline-block;
	font-family: var(--nova-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	padding: 0.6rem 1.2rem;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.nova-mega .nova-mega__button:hover,
.nova-mega .nova-mega__button:focus-visible {
	background: var(--nova-cyan-deep);
	border-color: var(--nova-cyan);
	color: var(--nova-text-bright);
}

.nova-mega .nova-mega__button--solid {
	background: var(--nova-cyan-deep);
	border-color: var(--nova-cyan);
	color: var(--nova-text-bright);
}

.nova-mega .nova-mega__button--solid:hover,
.nova-mega .nova-mega__button--solid:focus-visible {
	background: var(--nova-cyan);
	color: var(--nova-void);
}

.nova-mega .nova-mega__link {
	font-family: var(--nova-font-display);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__link::after {
	content: " \2197";
}

/* Mega menu: key figures (dl.nova-mega__vitals) and link tiles (.nova-mega__tiles). */
.nova-mega .nova-mega__vitals {
	border-bottom: 1px solid var(--nova-line);
	border-top: 1px solid var(--nova-line);
	display: grid;
	gap: 0.55rem;
	margin: 0 0 1.4rem;
	padding: 0.9rem 0;
}

.nova-mega .nova-mega__vitals div {
	align-items: baseline;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.nova-mega .nova-mega__vitals dt {
	color: var(--nova-muted);
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__vitals dd {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-align: right;
}

.nova-mega .nova-mega__tiles {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nova-mega .nova-mega__tile {
	align-items: flex-start;
	background: rgba(10, 17, 24, 0.6);
	border: 1px solid var(--nova-line);
	clip-path: polygon(var(--nova-cut) 0, 100% 0, 100% calc(100% - var(--nova-cut)), calc(100% - var(--nova-cut)) 100%, 0 100%, 0 var(--nova-cut));
	display: flex;
	gap: 1rem;
	padding: 1.1rem 1.2rem;
	position: relative;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.nova-mega .nova-mega__tile::before {
	background: linear-gradient(90deg, var(--nova-cyan), transparent);
	content: "";
	height: 2px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 40%;
	top: 0;
	transition: opacity 0.15s;
}

.nova-mega .nova-mega__tile:hover,
.nova-mega .nova-mega__tile:focus-visible {
	background: rgba(21, 34, 48, 0.95);
	border-color: var(--nova-line-strong);
	transform: translateY(-2px);
}

.nova-mega .nova-mega__tile:hover::before,
.nova-mega .nova-mega__tile:focus-visible::before {
	opacity: 1;
}

.nova-mega .nova-mega__tile-icon {
	align-items: center;
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	display: flex;
	flex: 0 0 auto;
	height: 2.9rem;
	justify-content: center;
	width: 2.9rem;
}

.nova-mega .nova-mega__tile-icon .nova-ico {
	height: 1.6rem;
	vertical-align: 0;
	width: 1.6rem;
}

.nova-mega .nova-mega__tile:hover .nova-mega__tile-icon {
	background: rgba(var(--nova-accent-rgb), 0.12);
}

.nova-mega .nova-mega__tile-body {
	display: grid;
	gap: 0.3rem;
}

.nova-mega .nova-mega__tile-title {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.nova-mega .nova-mega__tile-text {
	color: var(--nova-text);
	font-size: 0.88rem;
	line-height: 1.4;
}

.nova-mega .nova-mega__tile-stat {
	color: var(--nova-muted);
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-top: 0.2rem;
	text-transform: uppercase;
}

.nova-mega .nova-mega__tile-stat b {
	color: var(--nova-cyan);
	font-weight: 700;
}

.nova-mega .nova-mega__tiles--stack {
	grid-template-columns: minmax(0, 1fr);
}

.nova-mega .nova-mega__tiles--stack .nova-mega__tile {
	padding: 0.9rem 1rem;
}

.nova-mega .nova-mega__link--more::after {
	content: " \2192";
}

/* Sanctum mega menu: sign-in block, Nova strip and small print. */
.nova-mega .nova-mega__login {
	margin: 0 0 1rem;
}

.nova-mega .nova-mega__login .eve-corp-login-compact {
	justify-content: flex-start;
}

.nova-mega .nova-mega__fine {
	color: var(--nova-muted);
	font-size: 0.85rem;
	margin: 0;
}

.nova-mega .nova-mega__fine--lock {
	margin-top: 1rem;
}

.nova-mega .nova-mega__fine--lock::before {
	color: var(--nova-cyan);
	content: "\25C6  ";
}

.nova-mega .nova-mega__strip {
	align-items: baseline;
	background: linear-gradient(90deg, rgba(var(--nova-accent-rgb), 0.16), rgba(var(--nova-accent-rgb), 0.03));
	border: 1px solid var(--nova-line-strong);
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin-top: 0.8rem;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}

.nova-mega .nova-mega__strip:hover,
.nova-mega .nova-mega__strip:focus-visible {
	background: rgba(var(--nova-accent-rgb), 0.2);
	border-color: var(--nova-cyan);
}

.nova-mega .nova-mega__strip-label {
	color: var(--nova-gold);
	font-family: var(--nova-font-display);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__strip-title {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__strip-title::after {
	color: var(--nova-cyan);
	content: " \2197";
	font-size: 0.9rem;
}

.nova-mega .nova-mega__strip-text {
	color: var(--nova-text);
	flex-basis: 100%;
	font-size: 0.88rem;
}

/* About / Tools mega menus: section index, tool badges, compact offices. */
.nova-mega .nova-mega__eyebrow--sub {
	margin-top: 1.4rem;
}

.nova-mega .nova-mega__index {
	counter-reset: nova-index;
	display: grid;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nova-mega .nova-mega__index li {
	counter-increment: nova-index;
}

.nova-mega .nova-mega__index a {
	border: 1px solid transparent;
	border-left: 2px solid var(--nova-line-strong);
	display: grid;
	gap: 0.1rem;
	padding: 0.55rem 0.8rem 0.55rem 3rem;
	position: relative;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}

.nova-mega .nova-mega__index a::before {
	color: var(--nova-cyan);
	content: counter(nova-index, decimal-leading-zero);
	font-family: var(--nova-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	left: 0.9rem;
	letter-spacing: 0.08em;
	position: absolute;
	top: 0.75rem;
}

.nova-mega .nova-mega__index a:hover,
.nova-mega .nova-mega__index a:focus-visible {
	background: rgba(21, 34, 48, 0.95);
	border-color: var(--nova-line);
	border-left-color: var(--nova-cyan);
}

.nova-mega .nova-mega__index-title {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__index-text {
	color: var(--nova-text);
	font-size: 0.86rem;
	line-height: 1.35;
}

.nova-mega .nova-mega__index--compact a {
	padding: 0.4rem 0.8rem 0.4rem 1rem;
}

.nova-mega .nova-mega__index--compact a::before {
	content: none;
}

.nova-mega .nova-mega__index--compact .nova-mega__index-title {
	font-size: 0.9rem;
}

.nova-mega .nova-mega__tile-badge {
	color: var(--nova-gold);
	font-family: var(--nova-font-display);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nova-mega .nova-mega__tile--tool .nova-mega__tile-title::after {
	color: var(--nova-cyan);
	content: " \2197";
	font-size: 0.85rem;
}

.nova-mega .nova-offices .nova-offices__list {
	gap: 0.5rem;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 1rem;
}

.nova-mega .nova-offices .nova-office {
	padding: 0.6rem 0.8rem;
}

.nova-mega .nova-offices .nova-office__station {
	font-size: 0.9rem;
}

.nova-mega .nova-offices .nova-office__where {
	font-size: 0.82rem;
}

/* Media mega menu: latest videos ([eve_corp_videos layout="menu"]) and relics ([eve_corp_gallery layout="menu"]). */
.nova-mega .nova-mega-media__videos,
.nova-mega .nova-mega-media__relics {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.nova-mega .nova-mega-media__videos {
	display: grid;
	gap: 0.6rem;
}

.nova-mega .nova-mega-media__video {
	align-items: center;
	border: 1px solid transparent;
	display: flex;
	gap: 0.9rem;
	padding: 0.4rem;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}

.nova-mega .nova-mega-media__video:hover,
.nova-mega .nova-mega-media__video:focus-visible {
	background: rgba(21, 34, 48, 0.95);
	border-color: var(--nova-line-strong);
}

.nova-mega .nova-mega-media__thumb {
	aspect-ratio: 16 / 9;
	border: 1px solid var(--nova-line);
	flex: 0 0 136px;
	overflow: hidden;
	position: relative;
}

.nova-mega .nova-mega-media__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
	width: 100%;
}

.nova-mega .nova-mega-media__video:hover .nova-mega-media__thumb img {
	transform: scale(1.06);
}

.nova-mega .nova-mega-media__play {
	background: rgba(4, 7, 11, 0.65);
	border: 1px solid var(--nova-cyan);
	border-radius: 50%;
	height: 30px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
}

.nova-mega .nova-mega-media__play::after {
	border-bottom: 6px solid transparent;
	border-left: 10px solid var(--nova-cyan-bright);
	border-top: 6px solid transparent;
	content: "";
	left: 11px;
	position: absolute;
	top: 8px;
}

.nova-mega .nova-mega-media__text {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.nova-mega .nova-mega-media__tag {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nova-mega .nova-mega-media__title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--nova-text-bright);
	display: -webkit-box;
	font-family: var(--nova-font-display);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	overflow: hidden;
}

.nova-mega .nova-mega-media__by {
	color: var(--nova-muted);
	font-size: 0.8rem;
}

.nova-mega .nova-mega-media__relics {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nova-mega .nova-mega-media__relic {
	aspect-ratio: 1;
	border: 1px solid var(--nova-line);
	display: block;
	overflow: hidden;
}

.nova-mega .nova-mega-media__relic img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
	width: 100%;
}

.nova-mega .nova-mega-media__relic:hover img {
	transform: scale(1.08);
}

.nova-mega .nova-mega-media__none {
	border: 1px dashed var(--nova-line-strong);
	font-size: 0.9rem;
	padding: 1rem;
}

.nova-mega .nova-mega-media__none strong {
	color: var(--nova-text-bright);
	display: block;
	font-family: var(--nova-font-display);
	letter-spacing: 0.04em;
	margin-bottom: 0.3rem;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	.nova-mega .nova-mega__button,
	.nova-mega .nova-mega__index a,
	.nova-mega .nova-mega__tile,
	.nova-mega .nova-mega-media__video,
	.nova-mega .nova-mega-media__thumb img,
	.nova-mega .nova-mega-media__relic img {
		transition: none;
	}
	.nova-mega .nova-mega-media__video:hover .nova-mega-media__thumb img,
	.nova-mega .nova-mega-media__relic:hover img {
		transform: none;
	}
	.nova-mega .nova-mega__tile:hover {
		transform: none;
	}
}

/* 6. Headings & HUD details ----------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.fusion-title-heading,
.fusion-post-title,
.fusion-page-title-bar h1 {
	letter-spacing: 0.04em;
}

h5, h6 {
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Opt-in helper classes for builder elements (add in "CSS Class" field). */

/* .nova-eyebrow: small cyan label above a heading, e.g. "// CORPORATION". */
.nova-eyebrow {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

/* .nova-panel: HUD panel with corner brackets (containers / columns). */
.nova-panel,
.nova-panel > .fusion-column-wrapper {
	--nova-bracket: var(--nova-cyan);
	background:
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 1px 14px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top right / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top right / 1px 14px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom left / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom left / 1px 14px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 1px 14px no-repeat,
		linear-gradient(180deg, rgba(21, 34, 48, 0.85), rgba(10, 17, 24, 0.85));
	border: 1px solid var(--nova-line);
}

/* .nova-gold: sacred gold accent text. */
.nova-gold,
.nova-gold .fusion-title-heading {
	color: var(--nova-gold) !important;
}

/* .nova-glow: cyan text glow for hero headings. */
.nova-glow,
.nova-glow .fusion-title-heading {
	text-shadow: 0 0 18px rgba(var(--nova-accent-rgb), 0.45);
}

/* 7. Buttons -------------------------------------------------------------- */

.fusion-button,
.button-default,
input[type="submit"],
button[type="submit"],
.wp-block-button__link {
	clip-path: polygon(var(--nova-cut) 0, 100% 0, 100% calc(100% - var(--nova-cut)), calc(100% - var(--nova-cut)) 100%, 0 100%, 0 var(--nova-cut));
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fusion-button:hover,
.fusion-button:focus-visible,
.button-default:hover {
	box-shadow: var(--nova-glow);
}

/* Plain form buttons that do not use Avada's button variables. */
input[type="submit"],
button[type="submit"]:not(.fusion-button):not(.awb-menu__m-toggle) {
	background: rgba(var(--nova-accent-rgb), 0.14);
	border: 1px solid var(--nova-cyan);
	color: var(--nova-cyan-bright);
	font-family: var(--nova-font-display);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

input[type="submit"]:hover,
button[type="submit"]:not(.fusion-button):not(.awb-menu__m-toggle):hover {
	background: var(--nova-cyan);
	color: var(--nova-void);
}

/* 8. Forms ---------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
	background-color: rgba(4, 7, 11, 0.6);
	border-color: var(--nova-line-strong);
	color: var(--nova-text-bright);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--nova-cyan);
	box-shadow: 0 0 0 1px rgba(var(--nova-accent-rgb), 0.35);
	outline: none;
}

::placeholder {
	color: var(--nova-muted);
	opacity: 1;
}

select option {
	background: var(--nova-hull);
	color: var(--nova-text-bright);
}

/* 9. Cards, post cards, widgets, tables ---------------------------------- */

/*
 * Builder elements whose background was set to palette color1 (white in the
 * original light design) become dark HUD panels. Avada writes these colours
 * as inline custom properties, so `!important` is needed to override them.
 * Post cards in a slider or carousel are columns without .fusion-layout-column,
 * hence the .post-card selectors; the slider script also rewrites their style
 * attribute with a space after each colon, hence both spellings.
 */
.fusion-layout-column[style*="--awb-bg-color:var(--awb-color1)"],
.fusion-layout-column[style*="--awb-bg-color:var(--awb-color2)"],
.post-card[style*="--awb-bg-color:var(--awb-color1)"],
.post-card[style*="--awb-bg-color:var(--awb-color2)"],
.post-card[style*="--awb-bg-color: var(--awb-color1)"],
.post-card[style*="--awb-bg-color: var(--awb-color2)"] {
	--awb-bg-color: var(--nova-panel) !important;
	--awb-bg-color-hover: var(--nova-panel-2) !important;
	--awb-border-color: var(--nova-line) !important;
}

.fusion-fullwidth[style*="--awb-background-color:var(--awb-color1)"],
.fusion-fullwidth[style*="--awb-background-color:var(--awb-color2)"] {
	--awb-background-color: var(--nova-hull) !important;
}

/*
 * Section backgrounds inherited from the Esports demo.
 * They are set per section (not in Global Options), so they are matched by
 * pattern here and fixed everywhere they are used, including future pages.
 */

/* The demo's white "blob shapes" image -> dark HUD grid with a cyan glow.
   Avada lazy-loads it (data-bg) and then writes it as an inline style. */
.fusion-fullwidth[data-bg*="footer-background-image"],
.fusion-fullwidth[style*="footer-background-image"] {
	background-color: var(--nova-hull) !important;
	background-image:
		radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--nova-accent-deep-rgb), 0.2), transparent 70%),
		linear-gradient(rgba(var(--nova-accent-soft-rgb), 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--nova-accent-soft-rgb), 0.05) 1px, transparent 1px) !important;
	background-position: center top, center, center !important;
	background-repeat: no-repeat, repeat, repeat !important;
	background-size: 100% 100%, 48px 48px, 48px 48px !important;
	border-bottom: 1px solid var(--nova-line);
	border-top: 1px solid var(--nova-line);
}

/* Gradients built from "palette colour + N% lightness" (a pastel on the old
   light design, near-white now) -> faint cyan glow. */
.fusion-fullwidth[style*="--awb-background-image:linear-gradient"][style*="-l) + "] {
	--awb-background-image: linear-gradient(0deg, rgba(var(--nova-accent-rgb), 0.1) 0%, rgba(var(--nova-accent-rgb), 0) 60%) !important;
}

/* Solid "lightened palette" backgrounds on sections / columns -> dark panel. */
.fusion-fullwidth[style*="--awb-background-color:hsla("][style*="-l) + "] {
	--awb-background-color: var(--nova-hull) !important;
}

.fusion-layout-column[style*="--awb-bg-color:hsla("][style*="-l) + "] {
	--awb-bg-color: var(--nova-panel) !important;
	--awb-bg-color-hover: var(--nova-panel-2) !important;
}

/* Solid accent sections (were red with white text) -> deep cyan band, so the
   light text keeps good contrast. */
.fusion-fullwidth[style*="--awb-background-color:var(--awb-color5)"],
.fusion-fullwidth[style*="--awb-background-color:var(--awb-color4)"] {
	--awb-background-color: var(--nova-cyan-deep) !important;
	background-image: linear-gradient(120deg, var(--nova-accent-darkest) 0%, var(--nova-cyan-deep) 55%, var(--nova-accent-darker) 100%) !important;
	border-bottom: 1px solid var(--nova-line-strong);
	border-top: 1px solid var(--nova-line-strong);
}

/* Post cards ("Latest Tutorials" etc.). */
.fusion-post-cards-grid-column.post-card {
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fusion-post-cards-grid-column.post-card:hover {
	--awb-border-color: var(--nova-line-strong) !important;
	box-shadow: var(--nova-glow);
}

.fusion-post-cards .fusion-grid-column > .fusion-column-wrapper,
.fusion-post-cards .post-card,
.fusion-blog-layout-grid .fusion-post-wrapper,
.fusion-blog-layout-medium .fusion-post-wrapper,
.sidebar .widget,
.fusion-sidebar-inner-content .widget {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fusion-blog-layout-grid .fusion-post-wrapper,
.fusion-blog-layout-medium .fusion-post-wrapper {
	background: linear-gradient(180deg, var(--nova-panel), var(--nova-hull));
	border: 1px solid var(--nova-line);
}

.fusion-blog-layout-grid .fusion-post-wrapper:hover,
.fusion-blog-layout-medium .fusion-post-wrapper:hover {
	border-color: var(--nova-line-strong);
	box-shadow: var(--nova-glow);
}

.fusion-meta-info,
.fusion-meta,
.fusion-single-line-meta,
.fusion-tb-published-date,
.fusion-tb-author {
	color: var(--nova-muted);
}

.fusion-page-title-bar {
	border-bottom: 1px solid var(--nova-line);
}

table,
.entry-content table {
	border-collapse: collapse;
}

.entry-content table th,
.post-content table th,
table.shop_table th {
	background: var(--nova-panel-2);
	border-color: var(--nova-line);
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content table td,
.post-content table td,
table.shop_table td {
	border-color: var(--nova-line);
}

.entry-content table tbody tr:hover,
.post-content table tbody tr:hover {
	background: rgba(var(--nova-accent-rgb), 0.05);
}

.fusion-alert.general,
.fusion-alert.alert-info {
	border-color: var(--nova-line-strong);
}

/* 9b. Avada components with hard-coded white backgrounds -----------------
 * These colours are written directly in Avada's element CSS (not through
 * Global Options or the palette), so they need explicit dark versions.
 */

/* Tabs */
body .fusion-tabs .nav-tabs > .active > .tab-link,
body .fusion-tabs .nav-tabs > .active > .tab-link:hover,
body .fusion-tabs .nav-tabs > .active > .tab-link:focus,
body .fusion-tabs.tabs-vertical .tab-hold .tabset li.active a {
	background-color: var(--nova-panel) !important;
	border-top: 2px solid var(--nova-cyan) !important;
	color: var(--nova-text-bright);
}

body .fusion-tabs .nav-tabs > li > .tab-link {
	background-color: var(--nova-hull);
	color: var(--nova-text);
	font-family: var(--nova-font-display);
	letter-spacing: 0.08em;
}

body .fusion-tabs .tab-content .tab-pane {
	background-color: var(--nova-panel);
}

/* Styled tables (Table element, styles 1 and 2) */
body .table-1 table,
body .table-2 table {
	background-color: var(--nova-hull);
	border: 1px solid var(--nova-line);
	box-shadow: none;
}

body .table-1 table th,
body .table-2 table thead {
	background-color: var(--nova-panel-2);
	border-color: var(--nova-line);
	color: var(--nova-cyan-bright);
}

body .table-1 table td,
body .table-2 table td,
body .table-1 table tr,
body .table-2 table tr {
	border-color: var(--nova-line);
	color: var(--nova-text);
}

body .table-1 tr:nth-child(2n),
body .table-2 tr:nth-child(2n) {
	background-color: rgba(var(--nova-accent-rgb), 0.04);
}

/* Pricing tables */
body .fusion-pricing-table .fusion-panel {
	background-color: var(--nova-panel);
	border-color: var(--nova-line);
}

body .fusion-pricing-table .panel-heading,
body .fusion-pricing-table .panel-footer {
	background-color: var(--nova-panel-2);
	border-color: var(--nova-line);
}

/* Search: live results, search fields, list-view & sort dropdown hovers */
body .fusion-live-search .fusion-search-results,
body .order-dropdown ul,
body .fusion-grid-list-view li:hover,
body .order-dropdown ul li a:hover {
	background-color: var(--nova-panel);
	border-color: var(--nova-line);
	color: var(--nova-text);
}

body .searchform .fusion-search-form-content .fusion-search-field input,
body #bbpress-forums .bbp-search-form #bbp_search,
body .bbp-search-form #bbp_search,
body #bbpress-forums input[type="text"],
body #bbpress-forums select,
body #bbpress-forums textarea {
	background-color: rgba(4, 7, 11, 0.6);
	border-color: var(--nova-line-strong);
	color: var(--nova-text-bright);
}

/* Select dropdowns (select2) and date pickers */
body .avada-select .select2-container .select2-choice,
body .avada-select .select2-container .select2-choice2,
body .select2-container--default .select2-selection--single,
body .select2-dropdown,
body .select2-container--default .select2-dropdown .select2-search input {
	background-color: var(--nova-hull);
	border-color: var(--nova-line-strong);
	color: var(--nova-text-bright);
}

body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: var(--nova-cyan-deep);
	color: var(--nova-text-bright);
}

body .flatpickr-calendar {
	background: var(--nova-panel);
	border: 1px solid var(--nova-line-strong);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
	color: var(--nova-text);
}

body .flatpickr-day,
body .flatpickr-month,
body .flatpickr-weekday,
body .flatpickr-current-month {
	color: var(--nova-text-bright);
	fill: var(--nova-text-bright);
}

body .flatpickr-day:hover,
body .flatpickr-day.selected {
	background: var(--nova-cyan-deep);
	border-color: var(--nova-cyan);
}

/* Pagination ("sticky" and preview post-navigation layouts) */
body .fusion-pagination-tb.layout-sticky .fusion-control-navigation,
body .fusion-pagination-tb:not(.layout-sticky).layout-preview .fusion-pagination-preview-wrapper {
	background-color: var(--nova-panel);
	border-color: var(--nova-line);
}

/* Lightbox (Avada's "metro-white" skin) */
body .ilightbox-overlay.metro-white {
	background: var(--nova-void) !important;
}

body .ilightbox-holder.metro-white {
	background: var(--nova-panel) !important;
	border: 1px solid var(--nova-line-strong);
}

body .ilightbox-holder.metro-white .ilightbox-container .ilightbox-caption,
body .ilightbox-holder.metro-white .ilightbox-container .ilightbox-social {
	background: rgba(4, 7, 11, 0.85);
	color: var(--nova-text-bright);
}

/* Accessible "skip link" focus state */
.screen-reader-text:focus {
	background-color: var(--nova-panel) !important;
	color: var(--nova-cyan-bright) !important;
}

/* 9c. Article components (guides / tutorials) ----------------------------
 * Reusable classes for long-form posts, e.g. the Safe Spots guide:
 *   p.nova-lead, div.nova-callout, nav.nova-toc, ol.nova-steps, p.nova-tip
 */

.nova-lead {
	color: var(--nova-text-bright);
	font-size: 1.15em;
	line-height: 1.7;
}

.nova-callout,
.nova-toc,
.nova-tip {
	--nova-bracket: var(--nova-cyan);
	background:
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 1px 14px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 14px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 1px 14px no-repeat,
		linear-gradient(180deg, rgba(21, 34, 48, 0.9), rgba(10, 17, 24, 0.9));
	border: 1px solid var(--nova-line);
	margin: 2em 0;
	padding: 1.25em 1.5em;
}

.nova-callout__title,
.nova-toc__title {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	margin: 0 0 0.75em;
	text-transform: uppercase;
}

.nova-callout ul,
.nova-toc ol {
	margin: 0;
	padding-left: 1.25em;
}

.nova-callout li,
.nova-toc li {
	margin: 0.35em 0;
}

.nova-toc a {
	text-decoration: none;
}

.nova-tip {
	--nova-bracket: var(--nova-gold);
	border-left: 3px solid var(--nova-gold);
}

/* Numbered steps with HUD-style counters. */
ol.nova-steps {
	counter-reset: nova-step;
	list-style: none;
	margin: 1.5em 0;
	padding: 0;
}

ol.nova-steps > li {
	border-left: 1px solid var(--nova-line);
	counter-increment: nova-step;
	margin: 0;
	padding: 0 0 1.25em 3.25em;
	position: relative;
}

ol.nova-steps > li:last-child {
	border-left-color: transparent;
}

ol.nova-steps > li::before {
	background: var(--nova-hull);
	border: 1px solid var(--nova-cyan);
	color: var(--nova-cyan-bright);
	content: counter(nova-step, decimal-leading-zero);
	font-family: var(--nova-font-display);
	font-weight: 700;
	height: 2.2em;
	left: -1.1em;
	line-height: 2.1em;
	position: absolute;
	text-align: center;
	top: -0.2em;
	width: 2.2em;
}

kbd {
	background: var(--nova-panel-2);
	border: 1px solid var(--nova-line-strong);
	border-bottom-width: 2px;
	border-radius: 3px;
	color: var(--nova-text-bright);
	font-family: var(--nova-font-body);
	font-size: 0.85em;
	padding: 0.1em 0.45em;
}

code {
	font-size: 0.9em;
	padding: 0.1em 0.35em;
}

/* Headings targeted by the table of contents: leave room for the header. */
.post-content h2[id],
.fusion-text h2[id] {
	scroll-margin-top: 110px;
}

/* 10. Footer -------------------------------------------------------------- */

.fusion-tb-footer {
	border-top: 1px solid var(--nova-line);
	position: relative;
}

.fusion-tb-footer,
.fusion-tb-footer p {
	font-size: 0.875rem;
}

/* CCP fan-site notice under the copyright line. */
.nova-ccp-notice {
	color: var(--nova-muted);
	display: block;
	font-size: 0.72rem;
	line-height: 1.6;
	margin-top: 0.75rem;
	max-width: 70rem;
}

/* 11. Third-party plugins -------------------------------------------------- */

/* bbPress */
#bbpress-forums,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies {
	border-color: var(--nova-line);
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
	background: var(--nova-panel-2);
	border-color: var(--nova-line);
	color: var(--nova-text-bright);
}

#bbpress-forums .bbp-body ul.odd,
#bbpress-forums .bbp-body ul.even,
#bbpress-forums div.odd,
#bbpress-forums div.even,
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
	background: var(--nova-hull);
	border-color: var(--nova-line);
}

#bbpress-forums div.bbp-forum-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header {
	background: var(--nova-panel);
	border-color: var(--nova-line);
}

/* The Events Calendar */
.tribe-common {
	--tec-color-background: var(--nova-hull);
	--tec-color-background-secondary: var(--nova-panel);
	--tec-color-background-events-bar: var(--nova-panel);
	--tec-color-text-primary: var(--nova-text-bright);
	--tec-color-text-secondary: var(--nova-text);
	--tec-color-text-events-title: var(--nova-text-bright);
	--tec-color-border-default: var(--nova-line);
	--tec-color-border-secondary: var(--nova-line);
	--tec-color-accent-primary: var(--nova-cyan);
	--tec-color-link-primary: var(--nova-cyan);
	--tec-color-icon-primary: var(--nova-cyan);
	--tec-color-day-marker-month: var(--nova-cyan);
	--tec-color-background-events: transparent;
}

/* WooCommerce */
.woocommerce .quantity .qty,
.woocommerce-page .quantity .qty {
	background: var(--nova-hull);
	color: var(--nova-text-bright);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--nova-panel);
	color: var(--nova-text);
}

/* 12. EVE Corporation Manager plugin -------------------------------------- */
/* Restyles the plugin's light-theme defaults without editing the plugin. */

.eve-corp-portal h2,
.eve-corp-character-dashboard h2,
.eve-corp-character-dashboard h3,
.eve-corp-character-dashboard h4,
.eve-corp-card h3,
.eve-corp-calendar-event h3 {
	color: var(--nova-text-bright);
}

.eve-corp-card,
.eve-corp-calendar-event {
	--nova-bracket: var(--nova-cyan);
	background:
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 12px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) top left / 1px 12px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 12px 1px no-repeat,
		linear-gradient(var(--nova-bracket), var(--nova-bracket)) bottom right / 1px 12px no-repeat,
		linear-gradient(180deg, rgba(21, 34, 48, 0.9), rgba(10, 17, 24, 0.9));
	border: 1px solid var(--nova-line);
	border-radius: 0;
}

.eve-corp-name {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	letter-spacing: 0.04em;
}

.eve-corp-name span,
.eve-corp-roster-result-count,
.eve-corp-character-updated,
.eve-corp-calendar-date,
.eve-corp-location-status {
	color: var(--nova-muted);
}

.eve-corp-character-balance {
	color: var(--nova-gold);
	font-family: var(--nova-font-display);
	letter-spacing: 0.04em;
}

/* Data tables: roster, character, killboard, projects, freelance jobs. */
.eve-corp-character-table,
.eve-corp-roster-table,
.eve-corp-killboard-table,
.eve-corp-projects-table,
.eve-corp-freelance-jobs-table {
	background: rgba(10, 17, 24, 0.75);
	border: 1px solid var(--nova-line);
}

.eve-corp-character-table th,
.eve-corp-roster-table th,
.eve-corp-killboard-table th,
.eve-corp-projects-table th,
.eve-corp-freelance-jobs-table th {
	background: var(--nova-panel-2);
	border-bottom: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan-bright);
	font-family: var(--nova-font-display);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.eve-corp-character-table td,
.eve-corp-roster-table td,
.eve-corp-killboard-table td,
.eve-corp-projects-table td,
.eve-corp-freelance-jobs-table td {
	border-bottom-color: var(--nova-line);
}

.eve-corp-character-table tbody tr:hover,
.eve-corp-roster-table tbody tr:hover,
.eve-corp-killboard-table tbody tr:hover,
.eve-corp-projects-table tbody tr:hover,
.eve-corp-freelance-jobs-table tbody tr:hover {
	background: rgba(var(--nova-accent-rgb), 0.06);
}

.eve-corp-roster-sort {
	color: var(--nova-cyan-bright);
}

.eve-corp-roster-sort:hover {
	color: var(--nova-text-bright);
}

.eve-corp-roster-portrait img,
.eve-corp-character-profile img,
.eve-corp-character-list img {
	border: 1px solid var(--nova-line-strong);
}

.eve-corp-roster-tag,
.eve-corp-badge {
	background: rgba(var(--nova-accent-rgb), 0.1);
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan-bright);
}

/* Notices keep the plugin's semantic edge colours, on a dark panel. */
.eve-corp-notice {
	background: var(--nova-panel);
	border-left-color: var(--nova-cyan);
	color: var(--nova-text);
}

.eve-corp-notice-error,
.eve-corp-notice--error {
	border-left-color: var(--nova-hostile);
}

.eve-corp-notice--success {
	border-left-color: var(--nova-ok);
}

.eve-corp-killboard-preview,
.eve-corp-projects-preview,
.eve-corp-freelance-jobs-preview {
	background: rgba(232, 184, 74, 0.08);
	border-left-color: var(--nova-warn);
}

/* Location autocomplete dropdown. */
.eve-corp-location-suggestions {
	background: var(--nova-hull);
	border-color: var(--nova-line-strong);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.eve-corp-location-option {
	background: var(--nova-hull);
	color: var(--nova-text);
}

.eve-corp-location-option:hover,
.eve-corp-location-option[aria-selected="true"] {
	background: var(--nova-panel-2);
	color: var(--nova-text-bright);
}

/* 13. Motion & accessibility --------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--nova-cyan);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.fusion-button,
	.fusion-blog-layout-grid .fusion-post-wrapper {
		transition: none;
	}
}

@media (max-width: 800px) {
	body {
		/* Fixed backgrounds are janky on mobile browsers. */
		background-attachment: scroll;
	}

	html:root {
		--nova-cut: 8px;
	}
}

/* ---------------------------------------------------------------------
 * Privacy policy page (.nova-policy)
 * ------------------------------------------------------------------- */

.nova-policy {
	margin: 0 auto;
	max-width: 52rem;
}

.nova-policy h2 {
	border-top: 1px solid var(--nova-line);
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	margin: 2.5rem 0 0.9rem;
	padding-top: 1.75rem;
	scroll-margin-top: 140px;
}

.nova-policy h3 {
	color: var(--nova-cyan-bright);
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	margin: 1.6rem 0 0.5rem;
	text-transform: uppercase;
}

.nova-policy p,
.nova-policy li {
	line-height: 1.7;
}

.nova-policy ul {
	margin: 0.5rem 0 1rem;
	padding-left: 1.25rem;
}

.nova-policy li::marker {
	color: var(--nova-cyan);
}

.nova-policy strong {
	color: var(--nova-text-bright);
}

.nova-policy-meta {
	border-left: 3px solid var(--nova-gold);
	color: var(--nova-muted);
	padding-left: 0.9rem;
}

.nova-policy-table {
	border-collapse: collapse;
	font-size: 0.92rem;
	margin: 1rem 0 1.5rem;
	width: 100%;
}

.nova-policy-table th {
	border-bottom: 1px solid var(--nova-line-strong);
	color: var(--nova-muted);
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	padding: 0.6rem 0.75rem;
	text-align: left;
	text-transform: uppercase;
}

.nova-policy-table td {
	border-bottom: 1px solid var(--nova-line);
	padding: 0.65rem 0.75rem;
	vertical-align: top;
}

.nova-policy-table td small,
.nova-policy-table code {
	color: var(--nova-muted);
	font-size: 0.78rem;
}

.nova-policy-ccp {
	border-top: 1px solid var(--nova-line);
	color: var(--nova-muted);
	margin-top: 2.5rem;
	padding-top: 1rem;
}

@media (max-width: 640px) {
	.nova-policy-table {
		display: block;
		overflow-x: auto;
	}
}

/* ---------------------------------------------------------------------
 * About page
 * ------------------------------------------------------------------- */

.nova-about-kicker {
	color: var(--nova-gold) !important;
	font-family: var(--nova-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	margin: 0 0 0.3rem;
	text-transform: uppercase;
}

.nova-about-title {
	color: var(--nova-text-bright);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	margin: 0 0 1rem !important;
}

.nova-center {
	text-align: center;
}

.nova-about-tagline {
	border-left: 3px solid var(--nova-cyan);
	color: var(--nova-cyan-bright);
	font-family: var(--nova-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 1rem;
	padding-left: 0.9rem;
}

.nova-about-lead {
	font-size: 1.12rem;
	line-height: 1.75;
}

.nova-about-emblem {
	align-items: center;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(217, 164, 65, 0.28) 0%, rgba(217, 164, 65, 0.08) 45%, transparent 70%);
	display: flex;
	justify-content: center;
	margin: 0 auto;
	max-width: 340px;
}

.nova-about-emblem img {
	animation: nova-float 6s ease-in-out infinite;
	filter: drop-shadow(0 0 24px rgba(217, 164, 65, 0.45));
	height: auto;
	max-width: 75%;
}

@keyframes nova-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.nova-about-link {
	color: var(--nova-cyan) !important;
	font-family: var(--nova-font-display);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* The four tenets of the Cult */

.nova-values {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin-top: 1.5rem;
}

.nova-value {
	background: linear-gradient(180deg, rgba(21, 34, 48, 0.9), rgba(10, 17, 24, 0.9));
	border: 1px solid var(--nova-line);
	border-top: 2px solid var(--nova-cyan);
	clip-path: polygon(var(--nova-cut) 0, 100% 0, 100% calc(100% - var(--nova-cut)), calc(100% - var(--nova-cut)) 100%, 0 100%, 0 var(--nova-cut));
	padding: 1.6rem 1.4rem 1.4rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nova-value:hover {
	box-shadow: 0 0 0 1px var(--nova-cyan), 0 0 26px rgba(var(--nova-accent-rgb), 0.22);
	transform: translateY(-4px);
}

.nova-value-icon {
	align-items: center;
	background: rgba(var(--nova-accent-rgb), 0.1);
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	display: inline-flex;
	font-size: 1.4rem;
	height: 3.2rem;
	justify-content: center;
	margin-bottom: 1rem;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
	width: 3.2rem;
}

.nova-value:hover .nova-value-icon {
	background: rgba(217, 164, 65, 0.15);
	border-color: var(--nova-gold);
	color: var(--nova-gold);
}

.nova-value h3 {
	color: var(--nova-text-bright) !important;
	font-size: 1.25rem !important;
	line-height: 1.2 !important;
	margin: 0 0 0.5rem !important;
}

.nova-value p {
	margin: 0;
}

/* Roadmap timeline */

.nova-roadmap {
	counter-reset: none;
	display: grid;
	gap: 0;
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	position: relative;
}

.nova-roadmap::before {
	background: linear-gradient(180deg, var(--nova-gold), var(--nova-line-strong) 30%, var(--nova-line));
	bottom: 1.4rem;
	content: "";
	left: 1.2rem;
	position: absolute;
	top: 1.4rem;
	width: 2px;
}

.nova-roadmap li {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	padding: 0.6rem 0;
	position: relative;
}

.nova-roadmap-step {
	align-items: center;
	background: var(--nova-hull);
	border: 1px solid var(--nova-line-strong);
	border-radius: 50%;
	color: var(--nova-muted);
	display: inline-flex;
	flex: none;
	font-family: var(--nova-font-display);
	font-weight: 700;
	height: 2.4rem;
	justify-content: center;
	position: relative;
	width: 2.4rem;
	z-index: 1;
}

.nova-roadmap li.is-now .nova-roadmap-step {
	animation: nova-now 2.4s ease-in-out infinite;
	background: var(--nova-gold);
	border-color: var(--nova-gold);
	color: var(--nova-void);
}

@keyframes nova-now {
	0%, 100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.55); }
	50% { box-shadow: 0 0 0 8px rgba(217, 164, 65, 0); }
}

.nova-roadmap strong {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1.15rem;
}

.nova-roadmap li:not(.is-now) strong {
	color: var(--nova-text);
}

.nova-roadmap span:not(.nova-roadmap-step) {
	color: var(--nova-muted);
	display: block;
	font-size: 0.92rem;
}

.nova-roadmap-here {
	border: 1px solid var(--nova-gold);
	color: var(--nova-gold);
	font-family: var(--nova-font-display);
	font-size: 0.65rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin-left: 0.4rem;
	padding: 0.1rem 0.45rem;
	text-transform: uppercase;
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	.nova-about-emblem img,
	.nova-roadmap li.is-now .nova-roadmap-step {
		animation: none;
	}
}

/* Utility ("upper") menu under the login block in the header: Avada left its
   colours unset, so it inherited a dim grey. Give it the cyan HUD-link look. */
.fusion-tb-header nav.awb-menu[aria-label="upper"] {
	--awb-color: var(--nova-cyan);
	--awb-active-color: var(--nova-cyan-bright);
	--awb-icons-color: var(--nova-cyan);
	--awb-icons-hover-color: var(--nova-cyan-bright);
}

.fusion-tb-header nav.awb-menu[aria-label="upper"] .awb-menu__main-a {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	opacity: 1;
	padding: 4px 10px;
	text-transform: uppercase;
	transition: color 0.2s, text-shadow 0.2s, box-shadow 0.2s;
}

.fusion-tb-header nav.awb-menu[aria-label="upper"] .awb-menu__main-a:hover,
.fusion-tb-header nav.awb-menu[aria-label="upper"] .awb-menu__main-a:focus-visible {
	box-shadow: inset 0 0 0 1px var(--nova-line-strong);
	color: var(--nova-cyan-bright);
	text-shadow: 0 0 8px rgba(var(--nova-accent-rgb), 0.6);
}

.fusion-tb-header nav.awb-menu[aria-label="upper"] .awb-menu__i {
	color: inherit;
}

/* Nova (AI assistant) intro in the header: add class "nova-text" to a
   Text Block. Futuristic display face, accent glow and a blinking cursor. */
.nova-text,
.nova-text p {
	color: var(--nova-cyan-bright);
	font-family: "Orbitron", var(--nova-font-display);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.9;
	text-shadow: 0 0 10px rgba(var(--nova-accent-rgb), 0.45);
}

.nova-text strong,
.nova-text b {
	color: var(--nova-text-bright);
	font-weight: 600;
}

.nova-text:not(.is-typing) p:last-child::after,
.nova-text.is-typing p.nova-cur::after {
	animation: nova-caret 1.1s steps(1) infinite;
	background: var(--nova-cyan);
	box-shadow: 0 0 8px rgba(var(--nova-accent-rgb), 0.8);
	content: "";
	display: inline-block;
	height: 1.05em;
	margin-left: 0.35em;
	vertical-align: -0.15em;
	width: 0.5em;
}

@keyframes nova-caret {
	50% { opacity: 0; }
}

/* Solid (non-blinking) cursor while Nova is typing. */
.nova-text.is-typing p.nova-cur::after {
	animation: none;
}

/* Nova's avatar in the header: a slow "online" pulse in the scheme colour.
   drop-shadow follows the transparent PNG's round edge. */
.fusion-tb-header img.wp-image-2973 {
	animation: nova-pulse 3.2s ease-in-out infinite;
	filter: drop-shadow(0 0 6px rgba(var(--nova-accent-rgb), 0.45));
	transition: filter 0.3s, transform 0.3s;
}

.fusion-tb-header a:hover img.wp-image-2973,
.fusion-tb-header a:focus-visible img.wp-image-2973 {
	animation-play-state: paused;
	filter: drop-shadow(0 0 10px rgba(var(--nova-accent-rgb), 0.9)) drop-shadow(0 0 26px rgba(var(--nova-accent-rgb), 0.55));
	transform: scale(1.04);
}

@keyframes nova-pulse {
	0%, 100% { filter: drop-shadow(0 0 5px rgba(var(--nova-accent-rgb), 0.35)); }
	50%      { filter: drop-shadow(0 0 12px rgba(var(--nova-accent-rgb), 0.85)) drop-shadow(0 0 28px rgba(var(--nova-accent-rgb), 0.4)); }
}

@media (prefers-reduced-motion: reduce) {
	.nova-text p:last-child::after { animation: none; }
	.fusion-tb-header img.wp-image-2973 { animation: none; }
}

/* [nova_says]: Nova's avatar + HUD speech bubble (theme inc/nova.php). */
.nova-says {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	margin: 0 0 24px;
	max-width: 760px;
	text-align: left;
}

.nova-says__avatar {
	flex: 0 0 64px;
}

.nova-says__avatar img {
	animation: nova-pulse 3.2s ease-in-out infinite;
	border-radius: 50%;
	display: block;
	height: 64px;
	width: 64px;
}

.nova-says__bubble {
	--nova-bracket: var(--nova-cyan);
	background: linear-gradient(135deg, rgba(var(--nova-accent-rgb), 0.10), rgba(10, 17, 24, 0.85) 60%);
	border: 1px solid var(--nova-line-strong);
	box-shadow: 0 0 18px rgba(var(--nova-accent-rgb), 0.12);
	clip-path: polygon(0 0, calc(100% - var(--nova-cut)) 0, 100% var(--nova-cut), 100% 100%, var(--nova-cut) 100%, 0 calc(100% - var(--nova-cut)));
	flex: 1 1 auto;
	padding: 12px 18px 10px;
	position: relative;
}

/* Small tick that points at the avatar. */
.nova-says__bubble::before {
	background: var(--nova-cyan);
	box-shadow: 0 0 8px rgba(var(--nova-accent-rgb), 0.8);
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	top: 24px;
	width: 10px;
}

.nova-says__name {
	color: var(--nova-cyan);
	display: block;
	font-family: "Orbitron", var(--nova-font-display);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.3em;
	margin-bottom: 2px;
	opacity: 0.85;
}

.nova-says .nova-text,
.nova-says .nova-text p {
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}

.nova-says .nova-text p + p {
	margin-top: 0.6em;
}

.nova-says .nova-text a {
	color: var(--nova-text-bright);
	text-decoration: underline;
	text-decoration-color: rgba(var(--nova-accent-rgb), 0.6);
	text-underline-offset: 3px;
}

/* size="small" */
.nova-says.is-small {
	gap: 12px;
}

.nova-says.is-small .nova-says__avatar {
	flex-basis: 44px;
}

.nova-says.is-small .nova-says__avatar img {
	height: 44px;
	width: 44px;
}

.nova-says.is-small .nova-text,
.nova-says.is-small .nova-text p {
	font-size: 12.5px;
}

/* Sanctum greeting spans the dashboard grid. */
.sanctum > .nova-says.is-sanctum {
	grid-column: 1 / -1;
	margin: 0;
	max-width: none;
}

@media (max-width: 640px) {
	.nova-says__avatar { flex-basis: 44px; }
	.nova-says__avatar img { height: 44px; width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.nova-says__avatar img { animation: none; }
}

/* Home: Nova pitch section (container class nova-pitch). */
.nova-pitch .nova-pitch__intro .nova-says {
	margin: 0 auto 28px;
}

.nova-pitch .nova-slider {
	border: 1px solid var(--nova-line-strong);
	box-shadow: 0 0 24px rgba(var(--nova-accent-rgb), 0.12);
	margin: 0 auto 36px;
	max-width: 1100px;
}

.nova-pitch .nova-slider .slide-excerpt,
.nova-pitch .nova-slider .flex-caption,
.nova-pitch .nova-slider h2 {
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.nova-card__icon {
	display: block;
	filter: drop-shadow(0 0 8px rgba(var(--nova-accent-rgb), 0.5));
	font-size: 34px;
	line-height: 1;
	margin-bottom: 12px;
}

.nova-card h3 {
	color: var(--nova-text-bright);
	margin: 0 0 12px;
}

.nova-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nova-card li {
	border-top: 1px solid var(--nova-line);
	padding: 8px 0 8px 18px;
	position: relative;
}

.nova-card li::before {
	background: var(--nova-cyan);
	box-shadow: 0 0 6px rgba(var(--nova-accent-rgb), 0.8);
	content: "";
	height: 6px;
	left: 0;
	position: absolute;
	top: 17px;
	width: 6px;
}

.nova-pitch .nova-panel {
	margin-bottom: 20px;
}

.nova-app-steps {
	counter-reset: nova-app-step;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.nova-app-steps li {
	background: rgba(10, 17, 24, 0.7);
	border: 1px solid var(--nova-line-strong);
	clip-path: polygon(var(--nova-cut) 0, 100% 0, 100% calc(100% - var(--nova-cut)), calc(100% - var(--nova-cut)) 100%, 0 100%, 0 var(--nova-cut));
	counter-increment: nova-app-step;
	padding: 18px 20px 18px 64px;
	position: relative;
}

.nova-app-steps li::before {
	color: var(--nova-cyan);
	content: counter(nova-app-step, decimal-leading-zero);
	font-family: "Orbitron", var(--nova-font-display);
	font-size: 26px;
	font-weight: 600;
	left: 18px;
	position: absolute;
	text-shadow: 0 0 10px rgba(var(--nova-accent-rgb), 0.6);
	top: 16px;
}

.nova-app-steps strong {
	color: var(--nova-text-bright);
	display: block;
	font-family: var(--nova-font-display);
	font-size: 18px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nova-app-steps span {
	display: block;
	margin-top: 4px;
}

.nova-pitch__trust p {
	color: var(--nova-muted);
	font-size: 14px;
	text-align: center;
}

.nova-pitch__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.nova-pitch__cta .fusion-button-wrapper,
.nova-pitch__cta .fusion-align-left {
	float: none;
	margin: 0;
}

@media (max-width: 800px) {
	.nova-app-steps {
		grid-template-columns: 1fr;
	}
}

/* [nova_congregation_stats] in the home Nova section: "The Congregation right now" + figures as HUD chips. */
.nova-congregation-stats {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 24px;
}

.nova-congregation-stats__label {
	color: var(--nova-gold);
	font-family: var(--nova-font-display);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.nova-congregation-stats ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nova-congregation-stats li {
	background: rgba(var(--nova-accent-rgb), 0.08);
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan-bright);
	font-family: "Orbitron", var(--nova-font-display);
	font-size: 14px;
	padding: 6px 14px;
	text-shadow: 0 0 8px rgba(var(--nova-accent-rgb), 0.5);
}

/* Home: slim Nova banner (container class nova-banner) linking to /nova/. */
.nova-banner__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
}

.nova-banner__inner p {
	margin: 0;
}

.nova-banner__inner strong {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nova-banner__link {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Long articles in collapsible sections ([fusion_accordion type="toggles" class="nova-sections"]).
 * Avada writes its light palette into inline variables, hence !important. */
.fusion-accordian.nova-sections {
	--awb-background-color: transparent !important;
	--awb-border-color: var(--nova-line) !important;
	--awb-divider-color: transparent !important;
	--awb-divider-hover-color: transparent !important;
	--awb-hover-color: transparent !important;
	--awb-title-color: var(--nova-text-bright) !important;
	--awb-content-color: var(--nova-text) !important;
	--awb-icon-color: var(--nova-text-bright) !important;
	--awb-icon-box-color: var(--nova-cyan-deep) !important;
	--awb-toggle-hover-accent-color: var(--nova-cyan) !important;
	--awb-title-font-family: var(--nova-font-display) !important;
	--awb-title-font-size: 1.3rem !important;
	--awb-title-letter-spacing: 0.04em !important;
	margin: 1.5rem 0 2rem;
}

.nova-sections .fusion-panel {
	scroll-margin-top: 130px; /* below the sticky header when a link scrolls to a section */
	background: linear-gradient(180deg, var(--nova-panel), var(--nova-hull));
	border: 1px solid var(--nova-line);
	border-left: 3px solid var(--nova-line-strong);
	margin-bottom: 0.75rem;
	padding: 0.2rem 1.1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nova-sections .fusion-panel:hover {
	border-color: var(--nova-line-strong);
}

.nova-sections .fusion-panel:has(.panel-collapse.in) {
	border-left-color: var(--nova-cyan);
	box-shadow: var(--nova-glow);
}

.nova-sections .panel-title {
	margin: 0 !important;
}

.nova-sections .panel-title a {
	padding: 0.85rem 0 !important;
	text-transform: uppercase;
}

.nova-sections .panel-title a .fusion-toggle-heading {
	color: var(--nova-text-bright);
}

.nova-sections .panel-title a:hover .fusion-toggle-heading,
.nova-sections .panel-title a.active .fusion-toggle-heading {
	color: var(--nova-cyan-bright);
}

.nova-sections .panel-body {
	padding: 0.25rem 0 1.25rem !important;
}

.nova-sections__bar {
	display: flex;
	justify-content: flex-end;
	margin: 1.5rem 0 -0.75rem;
}

.nova-sections__all {
	background: transparent;
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	cursor: pointer;
	font-family: var(--nova-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	padding: 0.45rem 1rem;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s;
}

.nova-sections__all:hover,
.nova-sections__all:focus-visible {
	background: var(--nova-cyan-deep);
	color: var(--nova-text-bright);
}

/* Callings cards reached from a link (#calling-…): leave room for the sticky header. */
.ecc .ecc-card {
	scroll-margin-top: 170px;
}

/* Testimonials ([eve_corp_testimonials] renders Avada's Testimonials element with the class "nova-testimonials").
   Avada sets its colours as inline custom properties, so the few colour rules below need !important. */
.nova-testimonials blockquote.testimonials-shortcode-blockquote,
.nova-testimonials .review blockquote {
	background: linear-gradient(180deg, rgba(21, 34, 48, 0.92), rgba(10, 17, 24, 0.92)) !important;
}

.nova-testimonials .review {
	text-align: center;
}

.nova-testimonials .testimonial-thumbnail.testimonial-avatar-icon {
	align-items: center;
	background: rgba(var(--nova-accent-rgb), 0.12);
	border: 1px solid var(--nova-line-strong);
	border-radius: 50%;
	color: var(--nova-cyan);
	display: inline-flex;
	height: 56px;
	justify-content: center;
	width: 56px;
}

.nova-testimonials .testimonial-avatar-icon-glyph {
	color: var(--nova-cyan);
	font-size: 24px;
}

.nova-testimonials .awb-stars-rating-filled-icon {
	color: var(--nova-gold);
}

.nova-testimonials .awb-testimonial-rating-text {
	color: var(--nova-gold);
	display: block;
	font-family: var(--nova-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin-top: 0.3rem;
	opacity: 0.85;
	text-transform: uppercase;
}

.nova-testimonials blockquote.testimonials-shortcode-blockquote {
	border: 1px solid var(--nova-line) !important;
	border-top: 2px solid var(--nova-cyan) !important;
}

.nova-testimonials .awb-quote-content,
.nova-testimonials .awb-quote {
	color: var(--nova-text-bright) !important;
	font-family: var(--nova-font-body);
	font-size: 1rem;
	font-style: normal;
	letter-spacing: 0;
	line-height: 1.6;
}

.nova-testimonials .awb-quote-content::before {
	color: var(--nova-cyan);
	content: "\201C";
	font-family: var(--nova-font-display);
	font-size: 2.2rem;
	line-height: 0;
	margin-right: 0.15rem;
	vertical-align: -0.6rem;
}

.nova-testimonials .author {
	letter-spacing: 0;
}

.nova-testimonials .author .company-name {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.nova-testimonials .author .awb-testimonial-sep {
	display: none;
}

.nova-testimonials .testimonial-name {
	color: var(--nova-text-bright);
	font-family: var(--nova-font-display);
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nova-testimonials .testimonial-extras {
	display: flex;
	flex-direction: column;
	font-size: 0.85rem;
}

.nova-testimonials .testimonial-title {
	color: var(--nova-cyan);
	font-family: var(--nova-font-display);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nova-testimonials .testimonial-company {
	color: var(--nova-muted);
	font-style: italic;
	letter-spacing: 0;
}

.nova-testimonials .swiper-pagination-bullet {
	background: rgba(var(--nova-accent-soft-rgb), 0.35) !important;
	opacity: 1 !important;
}

.nova-testimonials .swiper-pagination-bullet-active {
	background: var(--nova-cyan) !important;
}

.nova-testimonials-note {
	color: var(--nova-muted);
	font-size: 0.8rem;
	font-style: italic;
	margin-top: 1.8rem;
	text-align: center;
}

.nova-testimonials .testimonial-thumbnail img {
	border: 2px solid var(--nova-line-strong);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(var(--nova-accent-rgb), 0.12);
}

/* Homepage disclaimer strip (functions.php nova_eve_disclaimer). */
.nova-disclaimer {
	background: linear-gradient(90deg, rgba(217, 164, 65, 0.18), rgba(217, 164, 65, 0.06) 60%, rgba(4, 7, 11, 0.9)), var(--nova-void);
	border-bottom: 1px solid rgba(217, 164, 65, 0.45);
	color: var(--nova-text-bright);
	position: relative;
	transition: opacity 0.25s;
	z-index: 10001;
}

.nova-disclaimer.is-leaving {
	opacity: 0;
}

.nova-disclaimer__inner {
	align-items: center;
	display: flex;
	gap: 0.6rem 1.2rem;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0.7rem 1.25rem;
}

.nova-disclaimer__badge {
	border: 1px solid var(--nova-gold);
	color: var(--nova-gold);
	flex: 0 0 auto;
	font-family: var(--nova-font-display);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	padding: 0.15rem 0.5rem;
	text-transform: uppercase;
}

.nova-disclaimer__text {
	flex: 1 1 auto;
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 0;
}

.nova-disclaimer__text strong {
	color: var(--nova-gold);
}

.nova-disclaimer__ok {
	background: transparent;
	border: 1px solid var(--nova-gold);
	color: var(--nova-gold);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: var(--nova-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 0.45rem 0.9rem;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s;
}

.nova-disclaimer__ok:hover,
.nova-disclaimer__ok:focus-visible {
	background: var(--nova-gold);
	color: var(--nova-void);
}

@media (max-width: 700px) {
	.nova-disclaimer__inner {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.nova-disclaimer__text {
		flex-basis: 100%;
		order: 2;
	}
	.nova-disclaimer__ok {
		order: 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nova-disclaimer,
	.nova-disclaimer__ok {
		transition: none;
	}
}

/* A menu with no items for this visitor (e.g. "upper", whose only item, Corp Mail, is for members)
   would still show its mobile menu button: hide the whole empty menu. */
.awb-menu:not(:has(> ul)) {
	display: none !important;
}

/* Sanctum mega menu: Nova strip with a main link (the /nova/ page) and a small "Open the app" link. */
.nova-mega .nova-mega__strip--split {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	padding: 0;
}

.nova-mega .nova-mega__strip-main {
	align-items: baseline;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	padding: 0.9rem 0 0.9rem 1.2rem;
	text-decoration: none;
}

.nova-mega .nova-mega__strip--split .nova-mega__strip-title::after {
	content: " \2192";
}

.nova-mega .nova-mega__strip-app {
	border: 1px solid var(--nova-line-strong);
	color: var(--nova-cyan);
	flex: 0 0 auto;
	font-family: var(--nova-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-right: 1.2rem;
	padding: 0.45rem 0.8rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s;
}

.nova-mega .nova-mega__strip-app::after {
	content: " \2197";
}

.nova-mega .nova-mega__strip-app:hover,
.nova-mega .nova-mega__strip-app:focus-visible {
	background: var(--nova-cyan-deep);
	color: var(--nova-text-bright);
}
