/*
Theme Name: Cooler Snacks
Theme URI: https://coolersnacks.com/
Author: WayLay Design
Description: Custom classic WordPress theme with modern block editor support.
Version: 1.0.0
Text Domain: cooler-snacks
*/

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: #222;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

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

a {
	color: #315f45;
}

a:hover,
a:focus {
	text-decoration-thickness: 2px;
}

/* Layout */
.site-header,
.site-footer {
	padding: 1.5rem;
}

.site-main {
	width: min(100% - 2rem, 760px);
	margin-inline: auto;
	padding-block: 2rem;
}

.site-branding {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

.site-title {
	margin: 0;
	font-size: 1.75rem;
}

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

.site-description {
	margin: 0.25rem 0 0;
}

.menu-toggle {
	display: none;
}

.primary-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	display: block;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-top: 1rem;
		padding: 0.65rem 1rem;
		font: inherit;
		cursor: pointer;
	}

	.primary-navigation {
		display: none;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		display: block;
		margin-top: 0.75rem;
	}

	.primary-navigation li + li {
		margin-top: 0.35rem;
	}

	.primary-navigation a {
		padding: 0.55rem 0;
	}
}

.entry-header,
.entry-content,
.entry-footer {
	margin-bottom: 1.5rem;
}

.entry-title {
	line-height: 1.2;
}

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

.alignwide {
	width: min(1200px, calc(100vw - 2rem));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}