/* Cracker Barrel Menu Theme: single theme stylesheet.
   System font stacks only. No external font requests. */

:root {
	--barn: #8c2f2f;
	--barn-dark: #6e2323;
	--cream: #fdf8ee;
	--wheat: #f5e6c8;
	--wood: #6b4226;
	--wood-light: #8b5a2b;
	--ink: #2b2118;
	--muted: #6b5d4d;
	--line: #e4d7bd;
	--white: #ffffff;
	--serif: Georgia, "Times New Roman", Times, serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
}

a {
	color: var(--barn);
}

a:hover,
a:focus {
	color: var(--barn-dark);
}

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

h1,
h2,
h3 {
	font-family: var(--serif);
	line-height: 1.25;
	color: var(--ink);
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.6rem;
	margin-top: 2.5rem;
}

h3 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1.2em;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

button,
input[type="search"],
input[type="submit"] {
	font: inherit;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--barn);
	color: var(--white);
	padding: 0.6em 1em;
	z-index: 100;
}

.skip-link:focus {
	left: 0;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--cream);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0.7rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--ink);
	flex-shrink: 0;
}

.brand-glyph {
	color: var(--barn);
	display: flex;
}

.brand-wordmark {
	font-family: var(--serif);
	line-height: 1.05;
}

.brand-name {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
}

.brand-menu {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--barn);
}

.brand-logo {
	background: #fffaf0;
	border-radius: 8px;
	padding: 0.25rem 0.5rem;
	display: flex;
	flex-shrink: 0;
}

.brand-logo img {
	display: block;
	height: 48px;
	width: auto;
}

.menu-toggle {
	margin-left: auto;
	background: var(--barn);
	color: var(--white);
	border: 0;
	border-radius: 6px;
	padding: 0.5rem 0.9rem;
	cursor: pointer;
}

.primary-nav {
	display: none;
	width: 100%;
}

.primary-nav.nav-open {
	display: block;
}

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0 0;
}

.primary-nav li {
	border-top: 1px solid var(--line);
}

.primary-nav a {
	display: block;
	padding: 0.6rem 0;
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a:focus {
	color: var(--barn);
}

.checker {
	height: 10px;
	background: repeating-conic-gradient(var(--barn) 0% 25%, var(--cream) 0% 50%) 0 0 / 20px 20px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

/* Layout */

.site-main {
	max-width: 1160px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.layout {
	display: block;
}

.entry {
	min-width: 0;
}

.widget-area {
	margin-top: 2.5rem;
	border-top: 2px solid var(--line);
	padding-top: 1.5rem;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.15rem;
	margin-top: 0;
}

.widget ul {
	list-style: none;
	padding-left: 0;
}

.widget li {
	margin-bottom: 0.6em;
}

.widget-date {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
}

/* Hero */

.hero {
	background: linear-gradient(180deg, #7a4a26, #5d3a1e);
	color: var(--cream);
	border-radius: 12px;
	overflow: hidden;
}

.hero-inner {
	padding: 1.5rem;
}

.hero-media {
	margin: -1.5rem -1.5rem 1.2rem;
}

.hero-image {
	display: block;
	width: 100%;
}

.hero h1 {
	color: var(--cream);
	margin-top: 0;
}

.hero-text {
	font-size: 1.1rem;
	margin-bottom: 0;
}

/* Homepage article body: the page's own text, styled to match the theme.
   No text is changed here, only presentation. */

.page-body {
	margin-top: 2rem;
	background: #fffdf5;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 1.5rem 1.6rem;
}

.page-body h2 {
	font-family: var(--serif);
	color: var(--barn);
	font-size: 1.6rem;
	line-height: 1.3;
	margin-top: 1.8rem;
}

.page-body h2:first-child {
	margin-top: 0;
}

.page-body h3 {
	font-family: var(--serif);
	color: var(--wood);
	font-size: 1.25rem;
	line-height: 1.35;
	margin-top: 1.4rem;
}

.page-body p,
.page-body li {
	line-height: 1.7;
}

.page-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--line);
}

.page-body a {
	color: var(--barn);
}

.page-body ul,
.page-body ol {
	margin-left: 1.2rem;
}

.page-body > *:last-child {
	margin-bottom: 0;
}

/* Trust strip and price strip */

.trust-strip {
	margin-top: 1.5rem;
	background: var(--wheat);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.8rem 1rem;
}

.trust-strip ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.price-strip {
	margin-top: 2rem;
	background: var(--barn);
	color: var(--cream);
	border-radius: 10px;
	padding: 1.2rem 1rem;
	display: grid;
	gap: 1rem;
	text-align: center;
}

.price-stat strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.6rem;
}

.price-stat span {
	font-size: 0.95rem;
}

/* Cards and grids */

.card-grid {
	display: grid;
	gap: 1.2rem;
}

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}

.card-image {
	display: block;
}

.card-image img {
	display: block;
	width: 100%;
}

.card-body {
	padding: 1rem 1.1rem 1.2rem;
}

.card-title {
	margin: 0 0 0.4em;
}

.card-title a {
	text-decoration: none;
	color: var(--ink);
}

.card-title a:hover,
.card-title a:focus {
	color: var(--barn);
}

.card-meta {
	color: var(--muted);
	font-size: 0.9rem;
	margin-bottom: 0.6em;
}

.card-excerpt {
	margin-bottom: 0.8em;
}

.card-more {
	margin-bottom: 0;
	font-weight: 600;
}

.section-more {
	margin-top: 1.2rem;
	font-weight: 600;
}

/* Tabs */

.menu-tabs [role="tablist"] {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.menu-tabs [role="tab"] {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--ink);
}

.menu-tabs [role="tab"][aria-selected="true"] {
	background: var(--barn);
	border-color: var(--barn);
	color: var(--white);
}

.menu-tabs [role="tabpanel"] {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1rem 1.2rem;
}

.menu-items {
	list-style: none;
	padding-left: 0;
}

.menu-items li {
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
}

.menu-items li:last-child {
	border-bottom: 0;
}

.price-note {
	font-size: 0.9rem;
	color: var(--muted);
}

/* Single entry */

.entry-header {
	margin-bottom: 1.2rem;
}

.entry-title {
	margin-bottom: 0.4em;
}

.deck {
	font-family: var(--serif);
	font-size: 1.2rem;
	color: var(--wood);
}

.reviewed {
	color: var(--muted);
	font-size: 0.95rem;
}

.entry-media {
	margin-bottom: 1.5rem;
}

.entry-media img {
	border-radius: 10px;
}

.trust-panel {
	background: var(--wheat);
	border-left: 4px solid var(--barn);
	border-radius: 0 10px 10px 0;
	padding: 0.9rem 1.1rem;
	margin-bottom: 1.5rem;
}

.trust-panel p {
	margin-bottom: 0;
}

.entry-content {
	overflow-wrap: break-word;
}

.entry-content img {
	border-radius: 8px;
}

.author-box {
	display: flex;
	gap: 1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1rem;
	margin-top: 2rem;
}

.author-avatar img {
	border-radius: 50%;
}

.author-name {
	margin: 0 0 0.3em;
	font-size: 1.15rem;
}

/* Share buttons */

.share-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 1.5rem;
}

.share-label {
	font-weight: 700;
}

.share-link,
.share-copy {
	display: inline-block;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.share-link:hover,
.share-link:focus,
.share-copy:hover,
.share-copy:focus {
	background: var(--barn);
	border-color: var(--barn);
	color: var(--white);
}

/* Archives, pagination, forms */

.archive-header {
	margin-bottom: 1.5rem;
}

.archive-header h1 {
	margin-bottom: 0.3em;
}

.archive-description {
	color: var(--muted);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.nav-links a,
.nav-links span {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 0.4rem 0.8rem;
	text-decoration: none;
}

.nav-links span.current {
	background: var(--barn);
	border-color: var(--barn);
	color: var(--white);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--white);
}

.search-submit {
	background: var(--barn);
	color: var(--white);
	border: 0;
	border-radius: 6px;
	padding: 0.55rem 1rem;
	cursor: pointer;
}

/* Footer */

.site-footer {
	background: var(--wood);
	color: var(--cream);
	margin-top: 1rem;
}

.footer-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.footer-disclaimer {
	font-size: 0.95rem;
}

.footer-logo {
	margin: 0 0 1rem;
}

.footer-logo img {
	display: block;
	height: 56px;
	width: auto;
	background: #fffaf0;
	border-radius: 8px;
	padding: 0.25rem 0.5rem;
}

.footer-links,
.footer-menu-nav ul {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
}

.footer-links a,
.footer-menu-nav a {
	color: var(--cream);
}

.copyright {
	font-size: 0.9rem;
	margin-bottom: 0;
	opacity: 0.85;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--barn);
	outline-offset: 2px;
}

/* Wider screens */

@media (min-width: 700px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.price-strip {
		grid-template-columns: repeat(3, 1fr);
	}

	.hero-inner {
		padding: 2rem;
	}
}

@media (min-width: 900px) {
	.menu-toggle {
		display: none;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.primary-nav {
		display: block;
		width: auto;
		margin-left: auto;
	}

	.primary-nav ul {
		display: flex;
		gap: 1.4rem;
		padding: 0;
	}

	.primary-nav li {
		border-top: 0;
	}

	.primary-nav a {
		padding: 0.3rem 0;
	}
}

@media (min-width: 1000px) {
	.layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 2.5rem;
		align-items: start;
	}

	.widget-area {
		margin-top: 0;
		border-top: 0;
		padding-top: 0;
		position: sticky;
		top: 90px;
	}

	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.card-grid.four-col {
		grid-template-columns: repeat(4, 1fr);
	}

	h1 {
		font-size: 2.4rem;
	}
}
