/*
Theme Name: SAM7
Theme URI: https://sam7.com
Description: Minimal shell — SAM7 CSS/JS + fixed header menu (Appearance → Menus → Primary). Put page body in Custom HTML. Use id sam7-root on home for hero JS. Remove duplicate nav from pasted HTML if you use the theme header.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sam7
*/

/* Layout and components live in assets/sam7.css (enqueued). */

/* Space for fixed nav (sam7.css nav is position:fixed) */
.site-main {
	min-height: 40vh;
	padding-top: 88px;
}

@media screen and (min-width: 783px) {
	body.admin-bar #sam7-site-navigation {
		top: 32px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar #sam7-site-navigation {
		top: 46px;
	}
}

.nav-logo-wrap {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nav-inner .custom-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.nav-inner .custom-logo-link img {
	height: 44px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.nav-links li.menu-item-has-children {
	position: relative;
}

.nav-links ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 12px 0;
	margin: 0;
	list-style: none;
	background: rgba(7, 7, 15, 0.98);
	border: 1px solid rgba(209, 216, 39, 0.12);
	border-radius: 4px;
	z-index: 120;
}

.nav-links li.menu-item-has-children:hover > ul.sub-menu,
.nav-links li.menu-item-has-children:focus-within > ul.sub-menu {
	display: block;
}

.nav-links ul.sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 10px;
	letter-spacing: 0.08em;
}

/* Mobile menu button */
.sam7-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	margin-right: 8px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	cursor: pointer;
	flex-shrink: 0;
}

.sam7-nav-toggle-bars,
.sam7-nav-toggle-bars::before,
.sam7-nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--yellow, #d1d827);
	border-radius: 1px;
	position: relative;
}

.sam7-nav-toggle-bars::before,
.sam7-nav-toggle-bars::after {
	content: '';
	position: absolute;
	left: 0;
}

.sam7-nav-toggle-bars::before {
	top: -6px;
}

.sam7-nav-toggle-bars::after {
	top: 6px;
}

@media (max-width: 960px) {
	.sam7-nav-toggle {
		display: flex;
	}

	.sam7-nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		flex-basis: 100%;
		padding: 16px 0 8px;
		margin: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
		gap: 0 !important;
	}

	.sam7-nav-links.is-open {
		display: flex;
	}

	.sam7-nav-links > li {
		width: 100%;
		text-align: center;
		padding: 8px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	}

	.sam7-nav-links ul.sub-menu {
		position: static;
		display: block;
		border: none;
		background: rgba(0, 0, 0, 0.2);
		margin-top: 4px;
		padding: 8px 0;
	}

	.nav-inner .nav-cta {
		margin-top: 8px;
		width: 100%;
		text-align: center;
	}
}

@media (min-width: 961px) {
	.sam7-nav-links {
		display: flex !important;
	}
}

.sam7-blog-main {
	padding: 100px 24px 48px;
	max-width: 720px;
	margin: 0 auto;
}

.sam7-blog-title {
	font-family: Montserrat, sans-serif;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 900;
	color: #fff;
	margin-bottom: 32px;
}

.sam7-post-title {
	font-size: 20px;
	margin-bottom: 24px;
}

.sam7-post-title a {
	color: #d1d827;
	text-decoration: none;
	font-family: Montserrat, sans-serif;
	font-weight: 800;
}

.sam7-post-title a:hover {
	text-decoration: underline;
}

.entry-summary {
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.6;
	font-size: 15px;
}
