/*
Theme Name: Jones
Theme URI: https://getjones.com
Description: Jones child theme of Hello Elementor. Clean rebuild.
Author: Perpetual
Author URI: https://perpetual.team
Template: hello-elementor
Version: 0.1.0
Text Domain: jones
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* --- Fixed Elementor header + WP admin bar offset ---
 * WP admin bar is position:fixed; top:0; height:32px (>=783px) or 46px (<783px).
 * Push any fixed/sticky Elementor header (and the hand-coded fallback) down by
 * that height so the header doesn't sit under the admin bar.
 * The Elementor header container is .elementor-location-header (header element).
 */
@media screen and (min-width: 783px) {
	body.admin-bar .elementor-location-header,
	body.admin-bar .elementor-location-header > .elementor-section.elementor-sticky--active,
	body.admin-bar .elementor-location-header > .e-con.elementor-sticky--active,
	body.admin-bar header.elementor-location-header[data-elementor-type="header"],
	body.admin-bar .site-header.is-fixed {
		top: 32px !important;
	}
}
@media screen and (max-width: 782px) {
	body.admin-bar .elementor-location-header,
	body.admin-bar .elementor-location-header > .elementor-section.elementor-sticky--active,
	body.admin-bar .elementor-location-header > .e-con.elementor-sticky--active,
	body.admin-bar header.elementor-location-header[data-elementor-type="header"],
	body.admin-bar .site-header.is-fixed {
		top: 46px !important;
	}
	html:where(.admin-bar) {
		scroll-padding-top: 46px;
	}
}

/* --- Site header --- */
.site-header {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	padding: 16px 24px;
}
.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-header__logo {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
	letter-spacing: -0.01em;
}
.site-header__nav .site-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}
.site-header__menu a {
	color: #374151;
	text-decoration: none;
	font-size: 15px;
}
.site-header__menu a:hover {
	color: #0073ff;
}

/* --- Site footer --- */
.site-footer {
	background: #111827;
	color: #d1d5db;
	padding: 40px 24px;
	margin-top: 64px;
}
.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
}
.site-footer__nav .site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: center;
}
.site-footer__menu a {
	color: #d1d5db;
	text-decoration: none;
	font-size: 14px;
}
.site-footer__menu a:hover {
	color: #fff;
}
.site-footer__copyright {
	font-size: 13px;
	color: #9ca3af;
	margin: 0;
}

/* [article-author] shortcode - migrated from jonestenants/jones-blog.css */
.article-author {
	display: flex;
	align-items: center;
	gap: 20px;
}
.author-avatar {
	min-width: 48px;
	min-height: 48px;
	width: 48px;
	height: 48px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 100%;
}
.author-name {
	font-weight: 400;
	font-size: 20px;
	line-height: 160%;
	letter-spacing: -0.01em;
	color: #16171A;
}
.author-position {
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: -0.01em;
	color: #606876;
	margin-bottom: 0px;
}
