/*
Theme Name: GoPeter Base
Theme URI: https://gopeter.co.za/
Author: GoPeter
Author URI: https://gopeter.co.za/
Description: A lightweight foundation for Elementor, JetThemeCore, JetWooBuilder and WooCommerce.
Version: 0.1.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: gopeter-base
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--gpb-content-width: 1200px;
	--gpb-text: #333333;
	--gpb-muted: #646970;
	--gpb-border: #dcdcde;
	--gpb-link: #cc3366;
	--gpb-surface: #ffffff;
}

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

html {
	-webkit-text-size-adjust: 100%;
	line-height: 1.15;
}

body {
	background: var(--gpb-surface);
	color: var(--gpb-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: inherit;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	margin-block: 0.5rem 1rem;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-block: 0 0.9rem;
}

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

iframe {
	max-width: 100%;
}

a {
	background-color: transparent;
	color: var(--gpb-link);
	text-decoration: none;
}

a:hover,
a:active {
	color: #333366;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
select,
textarea {
	border: 1px solid #666666;
	border-radius: 3px;
	padding: 0.5rem 1rem;
	transition: all 0.3s;
	width: 100%;
}

input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	border-color: #333333;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
	-webkit-appearance: button;
	width: auto;
}

[type="button"],
[type="submit"],
button {
	background-color: transparent;
	border: 1px solid var(--gpb-link);
	border-radius: 3px;
	color: var(--gpb-link);
	cursor: pointer;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	padding: 0.5rem 1rem;
	text-align: center;
	transition: all 0.3s;
	user-select: none;
	white-space: nowrap;
}

[type="button"]:hover,
[type="button"]:focus,
[type="submit"]:hover,
[type="submit"]:focus,
button:hover,
button:focus {
	background-color: var(--gpb-link);
	color: #ffffff;
	text-decoration: none;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

textarea {
	overflow: auto;
	resize: vertical;
}

select {
	display: block;
}

label {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

table {
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9em;
	margin-block-end: 15px;
	width: 100%;
}

table td,
table th {
	border: 1px solid rgb(128 128 128 / 50%);
	line-height: 1.5;
	padding: 15px;
	vertical-align: top;
}

table th {
	font-weight: 700;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
	background-color: rgb(128 128 128 / 7%);
}

ol,
ul {
	margin-block: 0;
}

.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: #f0f0f1;
	clip: auto !important;
	clip-path: none;
	color: #2271b1;
	display: block;
	font-size: 14px;
	font-weight: 600;
	height: auto;
	left: 8px;
	padding: 12px 16px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.gpb-container {
	margin-inline: auto;
	max-width: var(--gpb-content-width);
	padding-inline: 24px;
	width: 100%;
}

.gpb-site-header,
.gpb-site-footer {
	border-color: var(--gpb-border);
	border-style: solid;
	border-width: 0;
}

.gpb-site-header {
	border-bottom-width: 1px;
}

.gpb-site-header__inner,
.gpb-site-footer__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	min-height: 76px;
}

.gpb-site-branding {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.gpb-site-branding .custom-logo {
	display: block;
	max-height: 56px;
	width: auto;
}

.gpb-site-title {
	color: inherit;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.gpb-menu,
.gpb-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gpb-menu a {
	color: inherit;
	text-decoration: none;
}

.gpb-menu a:hover,
.gpb-menu a:focus {
	text-decoration: underline;
}

.gpb-content {
	padding-block: 48px;
}

.gpb-content--full-width {
	padding-block: 0;
}

body.elementor-page .gpb-content {
	padding-block: 0;
}

body.elementor-page .gpb-content > .gpb-container {
	max-width: none;
	padding-inline: 0;
}

.gpb-entry + .gpb-entry {
	border-top: 1px solid var(--gpb-border);
	margin-top: 40px;
	padding-top: 40px;
}

.gpb-entry-header,
.gpb-archive-header {
	margin-bottom: 28px;
}

.gpb-entry-title,
.gpb-archive-title {
	line-height: 1.2;
	margin-top: 0;
}

.gpb-entry-title a {
	color: inherit;
	text-decoration: none;
}

.gpb-entry-meta {
	color: var(--gpb-muted);
	font-size: 14px;
}

.gpb-entry-content::after {
	clear: both;
	content: "";
	display: table;
}

.gpb-pagination {
	margin-top: 40px;
}

.gpb-site-footer {
	border-top-width: 1px;
	color: var(--gpb-muted);
}

.gpb-site-footer p {
	margin: 0;
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.gpb-site-header__inner,
	.gpb-site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 18px;
	}

	.gpb-menu,
	.gpb-menu ul {
		gap: 10px 16px;
	}

	.gpb-content {
		padding-block: 32px;
	}
}
