/* Base reset */
* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	color: #444;
	background: #f1f1f1;
	line-height: 1.6;
}

.site {
	min-height: 100%;
}

/********************
 Header
*********************/
.site-header {
	background: #222;
}

.site-header .inner {
	width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
}

.branding {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: url('logo.jpeg') center/cover no-repeat;
	text-indent: -9999px; /* hide OE text */
}

.brand-name {
	color: #fff;
	font-weight: 700;
}

.brand-tag {
	color: #9bd59f;
	font-size: 13px;
	margin-top: 2px;
}

.nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.nav li {
	margin-left: 24px;
}

.nav a {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .5px;
	display: inline-block;
	padding: 14px 24px;
	border-radius: 2px;
}

.nav li.active a {
	background: #ffffff;
	color: #0a6fdc;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

.nav li:not(.active) a:hover {
	opacity: .85;
}

.hamburger { display: none; }
.nav-toggle { display: none; }

/********************
 Content
*********************/
.content .inner {
	width: 1120px;
	margin: 24px auto 0;
	display: grid;
	grid-template-columns: 760px 340px;
	gap: 24px;
}

.primary .post {
	background: #fff;
	border: 1px solid #ddd;
	padding: 22px;
}

.post-title {
	font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 16px 0;
	color: #333;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 16px;
}

.hero-grid img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.section-title {
	font-size: 18px;
	margin: 20px 0 10px;
	color: #333;
}

.photo {
	margin: 12px 0;
}

.photo img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #ddd;
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 12px 0;
}

.grid-2 img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #ddd;
}

.product-card {
	border: 1px solid #ddd;
	margin-top: 16px;
	background: #fafafa;
}

.product-image img {
	width: 100%;
	height: auto;
	display: block;
}

.product-features {
	padding: 14px 16px 18px;
}

.product-features h3 {
	margin: 0 0 10px 0;
	font-size: 16px;
}

.product-features ul {
	margin: 0 0 10px 19px;
}

.product-features li {
	margin: 4px 0;
}

/*********************
 Contact Form
*********************/
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    margin-top: 12px;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 120px;
    padding: 10px 16px;
    background: #0a6fdc;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.9;
}

/*********************
 Sidebar
*********************/
.sidebar .widget {
	background: #fff;
	border: 1px solid #ddd;
	padding: 14px 16px;
	margin-bottom: 16px;
}

.sidebar h3 {
	margin: 0 0 12px 0;
	font-size: 16px;
	color: #333;
}

.sidebar .links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar .links li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}

.sidebar .links a {
	text-decoration: none;
	color: #2c9c3b;
}

.sidebar .contact p {
	margin: 6px 0;
}

/********************
 Footer
*********************/
.site-footer {
	background: #efefef;
	border-top: 1px solid #ddd;
	margin-top: 24px;
}

.footer-inner {
	width: 1120px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
	font-size: 14px;
	color: #666;
}

.footer-inner a {
	color: #2c9c3b;
	text-decoration: none;
}

.sep {
	color: #aaa;
	margin: 0 6px;
}

/********************
 Utility
*********************/
img {
	max-width: 100%;
}

.intro {
	margin-top: 12px;
}

@media (max-width: 1024px) {

	.site-header .inner,
	.content .inner,
	.footer-inner {
		width: 94%;
	}

	.content .inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.site-header .inner { width: 94%; flex-wrap: wrap; }
	.hamburger { display: inline-block; position: relative; width: 34px; height: 26px; cursor: pointer; margin-left: auto; }
	.hamburger span, .hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s ease, top .25s ease, opacity .25s ease; }
	.hamburger::before { top: 4px; }
	.hamburger span { top: 50%; transform: translateY(-50%); }
	.hamburger::after { bottom: 4px; }

	.nav { width: 100%; }
	.nav ul { display: none; flex-direction: column; padding: 0; background: #2a2a2a; border: 1px solid #333; margin-top: 10px; }
	.nav li { margin: 0; width: 100%; }
	.nav a { display: block; width: 100%; padding: 14px 18px; font-size: 16px; text-align: center; }
	.nav li + li a { border-top: 1px solid #333; }
	.nav li.active a { background: #fff; color: #0a6fdc; }
	.nav-toggle:checked ~ nav ul { display: flex; }

	/* animate hamburger to X when open */
	.nav-toggle:checked + .hamburger::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
	.nav-toggle:checked + .hamburger span { opacity: 0; }
	.nav-toggle:checked + .hamburger::after { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
}