/**
 * G9 Constructs – base styles.
 * Provides site defaults when Elementor default colors/fonts are disabled.
 * Basic styles adapted from sample.css.
 */

:root {
	--g9-color-primary: #bea658;
	--g9-color-bg: #272727;
	--g9-color-bg-alt: #323232;
	--g9-color-text: #999999;
	--g9-color-heading: #ffffff;
	--g9-color-border: #323232;
	--g9-font-body: "Averta NM", sans-serif;
	--g9-font-heading: "Oswald", sans-serif;
	--g9-container: 1140px;
	scroll-behavior: auto;
}

/* ======= Reset / basics ======= */
html,
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--g9-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75em;
	color: var(--g9-color-text);
	background: var(--g9-color-bg);
	overflow-x: hidden;
}

p {
	font-family: var(--g9-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75em;
	color: var(--g9-color-text);
	margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--g9-font-heading);
	font-weight: 400;
	line-height: 1.25em;
	color: var(--g9-color-heading);
	margin: 0 0 20px;
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

a,
a:hover {
	text-decoration: none;
	color: inherit;
}

a:hover,
a:focus-visible {
	color: var(--g9-color-primary);
}

b,
strong {
	font-weight: 400;
	color: var(--g9-color-primary);
}

/* Form controls */
button,
input,
optgroup,
select,
textarea {
	font-family: var(--g9-font-heading);
}

input[type="password"],
input[type="email"],
input[type="text"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="file"],
textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-bottom: 10px;
	padding: 10px 0;
	height: auto;
	line-height: 1.5em;
	font-family: var(--g9-font-body);
	font-size: 16px;
	font-weight: 400;
	color: var(--g9-color-text);
	background-color: transparent;
	background-image: none;
	border-width: 0 0 1px;
	border-style: solid;
	border-color: var(--g9-color-border);
	box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--g9-color-primary);
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.button,
.wp-block-button__link {
	font-family: var(--g9-font-heading);
	font-weight: 300;
	font-size: 16px;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-shadow: none;
	line-height: 1.75em;
	color: #fff;
	background: var(--g9-color-primary);
	border: 1px solid transparent;
	padding: 8px 24px;
	margin: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover,
.wp-block-button__link:hover {
	background-color: var(--g9-color-bg-alt);
	color: #fff;
	border: 1px solid transparent;
}

select {
	padding: 10px;
	border-radius: 5px;
	color: var(--g9-color-text);
	background: transparent;
	border: 1px solid var(--g9-color-border);
}

th,
td {
	padding: 10px;
}

/* Blockquote */
blockquote {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 35px 0;
	padding: 45px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75em;
	color: var(--g9-color-text);
	background-color: var(--g9-color-bg-alt);
}

blockquote p {
	margin-bottom: 0;
	color: inherit;
	font-family: inherit;
}

blockquote cite {
	display: inline-block;
	position: relative;
	margin-top: 22px;
	padding-left: 60px;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	color: var(--g9-color-primary);
}

blockquote cite::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 5px;
	width: 45px;
	height: 1px;
	border-top: 1px solid currentColor;
}

/* Placeholder */
::placeholder {
	color: var(--g9-color-text);
	font-size: 15px;
	font-weight: 400;
	opacity: 1;
}

/* Selection */
::selection {
	color: var(--g9-color-text);
	background: rgba(190, 166, 88, 0.25);
}

/* ======= Elementor inheritance (defaults disabled) ======= */
.elementor-page,
.elementor-section,
.elementor-widget-wrap,
.elementor-widget,
.elementor-widget-container {
	font-family: inherit;
	color: inherit;
}

.elementor-heading-title {
	font-family: var(--g9-font-heading);
	font-weight: 400;
	color: var(--g9-color-heading);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
	font-family: var(--g9-font-body);
	color: var(--g9-color-text);
}

.elementor-button {
	font-family: var(--g9-font-heading);
	background-color: var(--g9-color-primary);
	border-color: var(--g9-color-primary);
	color: #fff;
}

.elementor-button:hover,
.elementor-button:focus {
	background-color: var(--g9-color-bg-alt);
	border-color: var(--g9-color-bg-alt);
	color: #fff;
}

/* ======= Theme chrome (content) ======= */
.site-main {
	width: min(var(--g9-container), calc(100% - 2rem));
	margin-inline: auto;
}

.page-header .page-title,
.entry-title {
	color: var(--g9-color-heading);
}

.entry-content a:not(.elementor-button) {
	color: var(--g9-color-primary);
}

.entry-content a:not(.elementor-button):hover {
	color: #fff;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--g9-color-bg-alt);
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
