/*
Theme Name: Hueff
Theme URI: https://hueffmeiertrucking.com
Author: Subrata
Description: Custom classic (PHP template) WordPress theme for Hueffmeier Trucking Inc.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hueff
*/

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { width: 100%; overflow-x: hidden; }

body {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #1a1a2e;
	background: #ffffff;
	overflow-x: hidden;
}

a { color: #1f3fa0; text-decoration: none; }
a:hover { color: #16307f; text-decoration: underline; }

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

.btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 6px;
	background: #1f3fa0;
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.btn:hover { background: #16307f; color: #ffffff; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
	width: 100%;
	display: block;
	background: #ffffff;
	border-top: 1px solid #000000;
	padding: 18px 40px;
}
.site-header-inner {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
.site-logo img { max-height: 60px; display: block; }
.site-logo .site-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
}
.site-header-right {
	display: flex;
	align-items: center;
	gap: 36px;
}
.site-nav { display: flex; }
.primary-menu {
	list-style: none;
	display: flex;
	gap: 36px;
	margin: 0;
	padding: 0;
}
.primary-menu a {
	color: #1a1a2e;
	font-weight: 600;
	font-size: 18px;
}
.primary-menu a:hover { color: #1f3fa0; text-decoration: none; }

/* ---------- Main content ---------- */
.site-main {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px 32px 96px;
}

.post-title {
	font-size: 64px;
	font-weight: 400;
	margin: 0 0 32px;
	text-decoration: underline;
}

.post-content { font-size: 18px; color: #1a1a2e; }
.post-content p { margin: 0 0 24px; }

.post-meta {
	margin-top: 48px;
	font-size: 19px;
	color: #3a3a4a;
}
.post-meta p { margin: 0 0 4px; }
.post-meta a { color: #1f3fa0; text-decoration: underline; }

/* Blog listing (index / archive) */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list-item { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid #f4f4f7; }
.post-list-item:last-child { border-bottom: none; }
.post-list-item .entry-title {
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 12px;
}
.post-list-item .entry-title a { color: #1a1a2e; text-decoration: none; }
.post-list-item .entry-title a:hover { color: #1f3fa0; }
.post-list-item .entry-excerpt { font-size: 18px; color: #3a3a4a; }
.post-list-item .entry-meta { margin-top: 16px; font-size: 15px; color: #3a3a4a; display: flex; gap: 20px; }

.archive-title { font-size: 48px; font-weight: 400; margin: 0 0 40px; }

.pagination { display: flex; justify-content: space-between; margin-top: 40px; }

/* 404 */
.error-404 { text-align: center; padding: 60px 0; }
.error-404 h1 { font-size: 56px; font-weight: 400; margin-bottom: 16px; }
.error-404 p { color: #3a3a4a; font-size: 19px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
	width: 100%;
	display: block;
	background: #0b0e3a;
	color: #ffffff;
	padding: 70px 32px 40px;
}
.site-footer-inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.footer-logo { margin-bottom: 22px; }
.footer-logo img { max-height: 70px; display: inline-block; }
.footer-logo a { color: #ffffff; font-size: 20px; font-weight: 700; }

.footer-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 32px;
	margin: 0 0 22px;
	padding: 0;
	font-size: 19px;
}
.footer-menu a { color: #ffffff; }
.footer-menu a:hover { color: #d7dbff; }

.site-footer p { margin: 0 0 22px; font-size: 19px; }
.site-footer a { color: #ffffff; }

.footer-icon-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.footer-icon-row svg { flex-shrink: 0; }

.footer-copyright { margin-top: 30px !important; font-size: 14px !important; color: #c9cbe0; }
.footer-copyright a { color: #ffffff; }

/* ---------- Mobile menu toggle (hidden on desktop) ---------- */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}
.menu-toggle-bar {
	display: block;
	width: 26px;
	height: 3px;
	background: #1a1a2e;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-active .menu-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {

	.site-header { padding: 16px 20px; }

	.menu-toggle { display: flex; }

	.site-header-right {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-top: 18px;
	}
	.site-header-right.is-open { display: flex; }

	.primary-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
	}

	.btn-primary { width: 100%; text-align: center; }

	.site-main { padding: 40px 20px 64px; }
	.post-title { font-size: 36px; }
	.post-content { font-size: 16px; }

	.post-list-item .entry-title { font-size: 24px; }
	.post-list-item .entry-meta { flex-direction: column; gap: 6px; }

	.archive-title { font-size: 32px; }

	.site-footer { padding: 48px 20px 32px; }
	.footer-menu { flex-direction: column; gap: 14px; }
	.footer-icon-row { flex-wrap: wrap; text-align: center; }
}

@media (max-width: 480px) {
	.post-title { font-size: 30px; }
	.site-header { padding: 14px 16px; }
	.site-logo img { max-height: 46px; }
}


/* ---------- Find My Account: sidebar layout ---------- */
.fma-layout {
	max-width: 1300px;
	margin: 0 auto;
	padding: 56px 40px 96px;
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 48px;
	align-items: start;
}

.fma-title {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 32px;
}

.fma-content-body { font-size: 18px; color: #1a1a2e; }
.fma-content-body p { margin: 0 0 24px; }

.fma-sidebar { min-height: 1px; }
.fma-sidebar-widget { margin-bottom: 32px; }
.fma-sidebar-widget:last-child { margin-bottom: 0; }
.fma-sidebar-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 12px;
}

@media (max-width: 860px) {
	.fma-layout {
		grid-template-columns: 1fr;
		padding: 40px 20px 64px;
		gap: 40px;
	}
	.fma-title { font-size: 24px; }
}
.page-template-template-sidebar .site-main {
    max-width: 1180px;
}