/*
Theme Name:   Jetlinx Elementor
Theme URI:    https://github.com/nstanard/jetlinx-wordpress-theme
Description:  Jet Linx Aviation custom theme built on Hello Elementor.
Author:       Neal Stanard
Author URI:   https://jetlinx.com
Template:     hello-elementor
Version:      0.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  jetlinx-elementor
*/

/* ==========================================================================
   Brand Design Tokens — sourced from Figma 2025 Website Design File
   Full palette lives in Elementor Kit (Site Settings → Global Colors) as
   --e-global-color-* vars. Only opacity variants with no Elementor
   equivalent are defined here.
   ========================================================================== */
:root {
	--jl-slate-90: rgba(75, 102, 124, 0.9);
	--jl-slate-50: rgba(75, 102, 124, 0.5);
}

/* ── Global typography ─────────────────────────────────────────────────────
   Sets Gotham Office as the default body font so all Elementor widgets
   (Text Editor, Heading, etc.) inherit the brand font automatically.
   The @font-face declarations are in functions.php.
   ────────────────────────────────────────────────────────────────────────── */
body {
	font-family: 'Gotham Office', sans-serif;
}

/* Prevent alignfull Gutenberg blocks from causing horizontal overflow */
/* Flex column ensures footer is always pushed to the bottom of the viewport */
html, body {
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.jl-site-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* ── Global link color reset ───────────────────────────────────────────────
   Hello Elementor sets a { color: #cc3366 } which bleeds through everywhere.
   Override it here so all unthemed links use the brand slate color.
   Components that need a different color (white CTAs, nav items) set their
   own color in their own stylesheet.
   ──────────────────────────────────────────────────────────────────────── */
a {
	color: var(--e-global-color-slate) !important;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--e-global-color-dark-navy) !important;
}

/* Hide WP page title (h1) that shows through the fixed header */
.page-title,
h1.entry-title,
.entry-title,
.entry-header .entry-title,
.wp-block-post-title {
	display: none !important;
}
