/*
 * Black Tie Apple Pie — main stylesheet.
 * Mobile-first. Breakpoints: 640px, 768px, 960px (desktop nav), 1180px.
 *
 * Contents:
 *  1. Tokens
 *  2. Reset & base
 *  3. Typography
 *  4. Buttons & forms (incl. Contact Form 7)
 *  5. Layout containers
 *  6. Accessibility helpers
 *  7. Announcement bar & header
 *  8. Navigation (mobile drawer + desktop)
 *  9. Hero
 * 10. Cards & grids
 * 11. Home sections
 * 12. Archive & search headers
 * 13. Single entry
 * 14. Recipe compatibility (Solopine Recipe)
 * 15. Widgets & sidebar
 * 16. Footer
 * 17. Pagination & post navigation
 * 18. Comments
 * 19. Print
 */

/* 1. Tokens
---------------------------------------------------------------- */
:root {
	--btap-ink: #10100f;
	--btap-soft-black: #171512;
	--btap-cream: #fbf8f1;
	--btap-warm-white: #fffdf8;
	--btap-linen: #f1eadc;
	--btap-toast: #c9933a;
	--btap-deep-gold: #a97824;
	--btap-cocoa: #5b4636;
	--btap-sage: #66745e;
	--btap-biscuit: #b98373;
	--btap-border: #ded4c3;
	--btap-text: #2a2926;
	--btap-muted: #6f675d;

	--btap-font-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
	--btap-font-body: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
	--btap-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--btap-space-1: 4px;
	--btap-space-2: 8px;
	--btap-space-3: 12px;
	--btap-space-4: 16px;
	--btap-space-5: 24px;
	--btap-space-6: 32px;
	--btap-space-7: 48px;
	--btap-space-8: 64px;
	--btap-space-9: 96px;

	--btap-content: 720px;
	--btap-wide: 1180px;
	--btap-radius: 3px;
}

/* 2. Reset & base
---------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

html,
body {
	overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--btap-cream);
	color: var(--btap-text);
	font-family: var(--btap-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

figure {
	margin: 0 0 var(--btap-space-5);
}

hr {
	border: 0;
	border-top: 1px solid var(--btap-border);
	margin: var(--btap-space-6) 0;
}

/* 3. Typography
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--btap-font-display);
	font-weight: 600;
	color: var(--btap-ink);
	line-height: 1.15;
	margin: 0 0 var(--btap-space-4);
	overflow-wrap: break-word;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

@media (min-width: 768px) {
	h1 { font-size: 48px; }
	h2 { font-size: 34px; }
	h3 { font-size: 24px; }
}

p {
	margin: 0 0 var(--btap-space-5);
}

a {
	color: var(--btap-deep-gold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--btap-cocoa);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--btap-deep-gold);
	outline-offset: 2px;
}

blockquote {
	margin: var(--btap-space-6) 0;
	padding: var(--btap-space-4) var(--btap-space-5);
	border-left: 3px solid var(--btap-toast);
	background: var(--btap-warm-white);
	font-style: italic;
	font-size: 1.1em;
}

blockquote p:last-child {
	margin-bottom: 0;
}

.section-heading {
	font-size: 26px;
	letter-spacing: 0.01em;
}

@media (min-width: 768px) {
	.section-heading { font-size: 32px; }
}

.entry-eyebrow,
.entry-header-eyebrow,
.hero-eyebrow {
	display: inline-block;
	font-family: var(--btap-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--btap-deep-gold);
}

.entry-header-eyebrow {
	margin: 0 0 var(--btap-space-2);
}

a.entry-eyebrow:hover {
	color: var(--btap-cocoa);
}

/* 4. Buttons & forms
---------------------------------------------------------------- */
.button,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.search-submit,
.wp-block-search__button {
	display: inline-block;
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	padding: 15px 26px;
	border: 1px solid var(--btap-deep-gold);
	border-radius: var(--btap-radius);
	background: var(--btap-deep-gold);
	color: var(--btap-warm-white);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.search-submit:hover {
	background: var(--btap-ink);
	border-color: var(--btap-ink);
	color: var(--btap-warm-white);
}

.button-secondary {
	background: transparent;
	border-color: var(--btap-ink);
	color: var(--btap-ink);
}

.button-secondary:hover {
	background: var(--btap-ink);
	color: var(--btap-warm-white);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
	width: 100%;
	font-family: var(--btap-font-ui);
	font-size: 16px;
	color: var(--btap-text);
	background: var(--btap-warm-white);
	border: 1px solid var(--btap-border);
	border-radius: var(--btap-radius);
	padding: 12px 14px;
}

textarea {
	min-height: 160px;
}

label {
	display: block;
	font-family: var(--btap-font-ui);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: var(--btap-space-1);
}

/* Search form */
.search-form {
	display: flex;
	gap: var(--btap-space-2);
	max-width: 520px;
}

.search-form .search-field {
	flex: 1;
	min-width: 0;
}

/* Contact Form 7 */
.wpcf7 .wpcf7-form p {
	margin-bottom: var(--btap-space-4);
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
}

.wpcf7 input[type="submit"] {
	width: auto;
	min-height: 48px;
}

.wpcf7-not-valid-tip {
	display: block;
	font-family: var(--btap-font-ui);
	font-size: 13px;
	color: #a52815;
	margin-top: var(--btap-space-1);
}

.wpcf7 form .wpcf7-response-output {
	margin: var(--btap-space-4) 0 0;
	padding: var(--btap-space-3) var(--btap-space-4);
	border: 1px solid var(--btap-border);
	border-radius: var(--btap-radius);
	font-family: var(--btap-font-ui);
	font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: #a52815;
	color: #a52815;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--btap-sage);
	color: var(--btap-sage);
}

/* 5. Layout containers
---------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--btap-wide) + var(--btap-space-5) * 2);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--btap-space-4);
	padding-right: var(--btap-space-4);
}

@media (min-width: 768px) {
	.container {
		padding-left: var(--btap-space-5);
		padding-right: var(--btap-space-5);
	}
}

.container-narrow {
	max-width: calc(var(--btap-content) + var(--btap-space-5) * 2);
}

.site-main {
	display: block;
	min-height: 50vh;
	padding-bottom: var(--btap-space-8);
}

/* 6. Accessibility helpers
---------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	background: var(--btap-ink);
	color: var(--btap-warm-white);
	padding: var(--btap-space-3) var(--btap-space-5);
	font-family: var(--btap-font-ui);
	font-size: 14px;
}

.skip-link:focus {
	left: 0;
	color: var(--btap-warm-white);
}

/* 7. Announcement bar & header
---------------------------------------------------------------- */
.announcement-bar {
	background: var(--btap-ink);
	color: var(--btap-cream);
	text-align: center;
	padding: var(--btap-space-2) var(--btap-space-4);
}

.announcement-bar p {
	max-width: var(--btap-wide);
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	font-family: var(--btap-font-ui);
	font-size: 12px;
	line-height: 1.45;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-header {
	background: var(--btap-warm-white);
	border-bottom: 1px solid var(--btap-border);
	position: relative;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--btap-space-3);
	max-width: var(--btap-wide);
	margin: 0 auto;
	padding: var(--btap-space-3) var(--btap-space-4);
	min-height: 64px;
}

.site-branding {
	text-align: center;
	min-width: 0;
	max-width: calc(100% - 104px);
}

.custom-logo-link {
	display: inline-block;
	max-width: 100%;
}

.custom-logo {
	max-height: 64px;
	width: auto;
}

.site-title {
	margin: 0;
	font-family: var(--btap-font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.site-title a {
	color: var(--btap-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-description {
	margin: 2px 0 0;
	font-family: var(--btap-font-ui);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--btap-muted);
	overflow-wrap: anywhere;
}

/* Logo-style lockup (used when no logo image is uploaded) */
.site-logo-lockup a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: var(--btap-ink);
}

.site-logo-lockup .logo-bowtie {
	width: 34px;
	height: auto;
	color: var(--btap-ink);
	margin-bottom: 2px;
}

.site-logo-lockup .logo-text {
	font-family: var(--btap-font-display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.05;
	white-space: nowrap;
}

.site-logo-lockup .logo-flourish {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 220px;
	margin-top: 2px;
}

.site-logo-lockup .flourish-line {
	flex: 1;
	height: 1px;
	background: var(--btap-toast);
}

.site-logo-lockup .logo-flourish svg {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
}

.site-logo-lockup .site-description {
	margin: 3px 0 0;
}

.site-logo-lockup a:hover .logo-text {
	color: var(--btap-deep-gold);
}

@media (max-width: 400px) {
	.site-logo-lockup .logo-text {
		white-space: normal;
		text-align: center;
		font-size: 22px;
	}
}

@media (min-width: 960px) {
	.site-logo-lockup .logo-bowtie {
		width: 46px;
	}

	.site-logo-lockup .logo-text {
		font-size: 44px;
	}

	.site-logo-lockup .logo-flourish {
		max-width: 340px;
	}
}

@media (min-width: 960px) {
	.header-inner {
		justify-content: center;
		padding: var(--btap-space-5) var(--btap-space-5) var(--btap-space-4);
	}

	.site-branding {
		max-width: 760px;
	}

	.custom-logo {
		max-height: 110px;
	}

	.site-title {
		font-size: 40px;
	}

	.search-toggle {
		position: absolute;
		right: var(--btap-space-5);
		top: 50%;
		transform: translateY(-50%);
	}
}

/* Toggle buttons */
.menu-toggle,
.search-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--btap-space-2);
	background: transparent;
	border: 0;
	color: var(--btap-ink);
	padding: var(--btap-space-3);
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 12px;
}

.menu-toggle:hover,
.search-toggle:hover {
	background: transparent;
	color: var(--btap-deep-gold);
	border: 0;
}

.menu-toggle-bars {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle-bars span {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle-label {
	display: none;
}

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

/* Header search panel */
.header-search {
	border-top: 1px solid var(--btap-border);
	background: var(--btap-warm-white);
	padding: var(--btap-space-4);
}

.header-search-inner {
	max-width: 520px;
	margin: 0 auto;
}

/* 8. Navigation
---------------------------------------------------------------- */
/* Desktop primary nav */
.primary-navigation {
	display: none;
}

@media (min-width: 960px) {
	.primary-navigation {
		display: block;
		border-top: 1px solid var(--btap-border);
	}

	.primary-navigation ul {
		list-style: none;
		margin: 0 auto;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: var(--btap-space-2);
		max-width: var(--btap-wide);
	}

	.primary-navigation li {
		position: relative;
	}

	.primary-navigation a {
		display: block;
		padding: var(--btap-space-4) var(--btap-space-4);
		font-family: var(--btap-font-ui);
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--btap-ink);
	}

	.primary-navigation a:hover,
	.primary-navigation .current-menu-item > a,
	.primary-navigation .current_page_item > a {
		color: var(--btap-deep-gold);
	}

	/* Dropdowns */
	.primary-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		z-index: 100;
		min-width: 220px;
		flex-direction: column;
		background: var(--btap-warm-white);
		border: 1px solid var(--btap-border);
		box-shadow: 0 10px 24px rgba(16, 16, 15, 0.08);
		display: none;
		padding: var(--btap-space-2) 0;
	}

	.primary-navigation li:hover > .sub-menu,
	.primary-navigation li:focus-within > .sub-menu {
		display: flex;
	}

	.primary-navigation .sub-menu a {
		padding: var(--btap-space-2) var(--btap-space-4);
		letter-spacing: 0.08em;
		text-transform: none;
		font-size: 14px;
	}
}

/* Mobile drawer */
.mobile-navigation {
	background: var(--btap-warm-white);
	border-top: 1px solid var(--btap-border);
}

.mobile-navigation[hidden] {
	display: none;
}

.mobile-nav-inner {
	padding: var(--btap-space-4);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.mobile-nav-search {
	margin-bottom: var(--btap-space-4);
}

.mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-navigation .sub-menu {
	margin-left: var(--btap-space-4);
	border-left: 1px solid var(--btap-border);
}

.mobile-navigation a {
	display: block;
	padding: var(--btap-space-3) var(--btap-space-2);
	min-height: 44px;
	font-family: var(--btap-font-ui);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--btap-ink);
	border-bottom: 1px solid var(--btap-linen);
}

.mobile-navigation a:hover {
	color: var(--btap-deep-gold);
}

.mobile-nav-heading {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--btap-muted);
	margin: var(--btap-space-5) 0 var(--btap-space-3);
}

@media (min-width: 960px) {
	.mobile-navigation {
		display: none !important;
	}
}

/* Lock body scroll while drawer is open (set by navigation.js) */
body.btap-nav-open {
	overflow: hidden;
}

@media (min-width: 960px) {
	body.btap-nav-open {
		overflow: auto;
	}
}

/* Category pills */
.category-pills {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--btap-space-2);
	max-width: 100%;
}

.category-pills a {
	display: inline-block;
	padding: 10px 18px;
	min-height: 40px;
	max-width: 100%;
	border: 1px solid var(--btap-border);
	border-radius: 999px;
	background: var(--btap-warm-white);
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--btap-ink);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-pills a:hover {
	background: var(--btap-ink);
	border-color: var(--btap-ink);
	color: var(--btap-warm-white);
}

/* 9. Hero
---------------------------------------------------------------- */
.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	background: var(--btap-soft-black);
	overflow: hidden;
}

.home-hero-media,
.home-hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-hero-media img {
	object-fit: cover;
}

.home-hero-media .home-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	.home-hero-media .home-hero-video {
		display: none;
	}
}

.home-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(16, 16, 15, 0.25), rgba(16, 16, 15, 0.55));
}

.home-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: var(--btap-space-8) var(--btap-space-4);
	width: 100%;
	max-width: 760px;
}

.hero-eyebrow {
	color: var(--btap-toast);
	margin-bottom: var(--btap-space-3);
}

.hero-title {
	font-size: 38px;
	line-height: 1.02;
	color: var(--btap-warm-white);
	margin-bottom: var(--btap-space-4);
	max-width: 100%;
	text-shadow: 0 2px 18px rgba(16, 16, 15, 0.35);
	overflow-wrap: anywhere;
}

@media (max-width: 479px) {
	.home-hero-content {
		padding-left: var(--btap-space-3);
		padding-right: var(--btap-space-3);
	}

	.hero-title {
		font-size: 34px;
	}

	.hero-subtitle {
		font-size: 17px;
	}

	.category-pills {
		justify-content: center;
	}

	.category-pills a {
		padding-left: 15px;
		padding-right: 15px;
		font-size: 12px;
	}
}

.hero-subtitle {
	font-size: 18px;
	color: var(--btap-cream);
	margin-bottom: var(--btap-space-5);
	text-shadow: 0 1px 12px rgba(16, 16, 15, 0.45);
}

.home-hero-plain .hero-title,
.home-hero-plain .hero-subtitle {
	text-shadow: none;
}

@media (min-width: 768px) {
	.home-hero {
		min-height: 540px;
	}

	.hero-title {
		font-size: 72px;
		overflow-wrap: normal;
	}

	.hero-subtitle {
		font-size: 20px;
	}
}

/* 10. Cards & grids
---------------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--btap-space-6);
}

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

@media (min-width: 960px) {
	.post-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--btap-space-6) var(--btap-space-5);
	}

	.post-grid-lead .post-card-featured {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.post-card .card-image {
	display: block;
	margin-bottom: var(--btap-space-3);
	overflow: hidden;
	border-radius: var(--btap-radius);
	background: var(--btap-linen);
}

.post-card .card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.post-card:hover .card-image img {
	transform: scale(1.03);
}

.card-title {
	font-size: 20px;
	line-height: 1.25;
	margin: var(--btap-space-1) 0 var(--btap-space-2);
}

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

.card-title a:hover {
	color: var(--btap-deep-gold);
}

.post-card-featured .card-title {
	font-size: 26px;
}

@media (min-width: 768px) {
	.post-card-featured .card-title {
		font-size: 34px;
	}
}

.card-excerpt {
	margin: 0;
	color: var(--btap-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* 11. Home sections
---------------------------------------------------------------- */
.home-section {
	padding: var(--btap-space-7) 0;
}

@media (min-width: 768px) {
	.home-section {
		padding: var(--btap-space-8) 0;
	}
}

.home-browse {
	padding-bottom: var(--btap-space-5);
	text-align: center;
}

.home-browse .category-pills {
	justify-content: center;
}

.section-heading-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--btap-space-4);
	margin-bottom: var(--btap-space-4);
}

.section-heading-row .section-heading {
	margin-bottom: 0;
}

.section-more {
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.home-category-strip {
	border-top: 1px solid var(--btap-border);
}

/* Travel callout */
.home-travel {
	background: var(--btap-linen);
}

.travel-callout {
	display: grid;
	gap: var(--btap-space-5);
	align-items: center;
}

.travel-callout .card-image {
	display: block;
	border-radius: var(--btap-radius);
	overflow: hidden;
}

.travel-callout .card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.travel-callout .card-title {
	font-size: 28px;
}

@media (min-width: 768px) {
	.travel-callout {
		grid-template-columns: 1.2fr 1fr;
	}
}

/* About callout */
.home-about {
	text-align: center;
	border-top: 1px solid var(--btap-border);
}

/* 12. Archive & search headers
---------------------------------------------------------------- */
.archive-header {
	padding: var(--btap-space-7) 0 var(--btap-space-6);
	text-align: center;
	max-width: var(--btap-content);
	margin: 0 auto;
}

.archive-title {
	margin-bottom: var(--btap-space-3);
}

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

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-search {
	margin-top: var(--btap-space-4);
	display: flex;
	justify-content: center;
}

.error-404 {
	padding: var(--btap-space-8) 0;
	text-align: center;
	max-width: var(--btap-content);
	margin: 0 auto;
}

.error-404 .category-pills,
.no-results .category-pills {
	justify-content: center;
	margin-top: var(--btap-space-4);
}

.no-results {
	padding: var(--btap-space-7) 0;
	text-align: center;
	max-width: var(--btap-content);
	margin: 0 auto;
}

.no-results .search-form {
	margin: var(--btap-space-4) auto;
	justify-content: center;
}

/* 13. Single entry
---------------------------------------------------------------- */
.single-entry .entry-header {
	text-align: center;
	padding: var(--btap-space-7) 0 var(--btap-space-5);
}

.entry-title {
	margin-bottom: var(--btap-space-3);
}

.entry-meta {
	font-family: var(--btap-font-ui);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--btap-muted);
}

.entry-featured-image {
	margin-bottom: var(--btap-space-6);
}

.entry-featured-image img {
	display: block;
	width: 100%;
	border-radius: var(--btap-radius);
}

/* Content + optional sidebar layout */
.has-sidebar {
	display: grid;
	gap: var(--btap-space-7);
}

@media (min-width: 960px) {
	.has-sidebar {
		grid-template-columns: minmax(0, var(--btap-content)) 300px;
		justify-content: center;
	}
}

.entry-content-column {
	min-width: 0;
	max-width: var(--btap-content);
	margin: 0 auto;
	width: 100%;
}

.entry-content {
	font-size: 17px;
}

@media (min-width: 768px) {
	.entry-content {
		font-size: 18px;
	}
}

.entry-content > * {
	margin-left: auto;
	margin-right: auto;
}

.entry-content img {
	border-radius: var(--btap-radius);
}

.entry-content .alignwide {
	max-width: var(--btap-wide);
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignleft {
	float: left;
	margin: var(--btap-space-1) var(--btap-space-5) var(--btap-space-4) 0;
}

.entry-content .alignright {
	float: right;
	margin: var(--btap-space-1) 0 var(--btap-space-4) var(--btap-space-5);
}

@media (max-width: 640px) {
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 0 0 var(--btap-space-4);
	}
}

.entry-tags {
	font-family: var(--btap-font-ui);
	font-size: 13px;
	color: var(--btap-muted);
}

.entry-tags a {
	color: var(--btap-cocoa);
}

.page-links {
	margin: var(--btap-space-5) 0;
	font-family: var(--btap-font-ui);
	font-size: 14px;
}

/* Jump to Recipe button emitted by Solopine Recipe */
.spoon-jump,
a.spoon-jump {
	display: inline-block;
	background: var(--btap-deep-gold);
	color: var(--btap-warm-white);
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 13px 22px;
	border-radius: var(--btap-radius);
	margin-bottom: var(--btap-space-5);
}

.spoon-jump:hover {
	background: var(--btap-ink);
	color: var(--btap-warm-white);
}

/* Related posts */
.related-posts {
	border-top: 1px solid var(--btap-border);
	margin-top: var(--btap-space-7);
	padding-top: var(--btap-space-6);
}

.related-posts .section-heading {
	text-align: center;
	margin-bottom: var(--btap-space-5);
}

/* 14. Recipe compatibility (Solopine Recipe)
 * Plugin markup is preserved; these styles restyle the card to match
 * the theme. Class names come from solopine-recipe.php output.
---------------------------------------------------------------- */
.sp-recipe {
	background: var(--btap-warm-white);
	border: 1px solid var(--btap-border);
	border-top: 3px solid var(--btap-deep-gold);
	border-radius: var(--btap-radius);
	padding: var(--btap-space-5);
	margin: var(--btap-space-6) 0;
}

.sp-recipe .recipe-overview {
	border-bottom: 1px solid var(--btap-border);
	margin: 0 calc(-1 * var(--btap-space-5)) var(--btap-space-5);
	padding: 0 var(--btap-space-5) var(--btap-space-5);
	overflow: hidden;
}

.sp-recipe .recipe-image {
	float: none;
	width: 100%;
	margin: 0 0 var(--btap-space-4);
}

.sp-recipe .recipe-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: var(--btap-radius);
}

@media (min-width: 640px) {
	.sp-recipe .recipe-image {
		float: left;
		width: 140px;
		margin: 0 var(--btap-space-5) var(--btap-space-3) 0;
	}
}

.sp-recipe .recipe-header {
	overflow: hidden;
}

.sp-recipe .recipe-title-header h2 {
	font-family: var(--btap-font-display);
	font-size: 26px;
	margin-bottom: var(--btap-space-2);
	color: var(--btap-ink);
}

.sp-recipe .recipe-meta {
	font-family: var(--btap-font-ui);
	font-size: 14px;
	color: var(--btap-muted);
}

.sp-recipe .meta-row {
	margin-bottom: var(--btap-space-1);
	line-height: 1.8;
}

.sp-recipe .meta-row i {
	color: var(--btap-deep-gold);
	margin-right: 6px;
	width: 16px;
	text-align: center;
}

.sp-recipe .meta-row .separator {
	margin: 0 6px;
	color: var(--btap-border);
}

.sp-recipe .sep-line {
	height: 1px;
	width: 100%;
	background: var(--btap-border);
	margin: var(--btap-space-4) 0;
}

.sp-recipe .recipe-description p {
	margin-bottom: 0;
	font-style: italic;
	color: var(--btap-cocoa);
}

.sp-recipe a.sp-print {
	display: inline-block;
	width: auto;
	font-family: var(--btap-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: var(--btap-deep-gold);
	border: 1px solid var(--btap-deep-gold);
	border-radius: var(--btap-radius);
	padding: 9px 16px;
	margin-top: var(--btap-space-3);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sp-recipe a.sp-print:hover {
	background: var(--btap-deep-gold);
	color: var(--btap-warm-white);
}

.sp-recipe h3.recipe-title {
	font-family: var(--btap-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--btap-ink);
	border-bottom: 2px solid var(--btap-deep-gold);
	display: inline-block;
	padding-bottom: 4px;
	margin-bottom: var(--btap-space-4);
}

.sp-recipe .recipe-ingredients ul {
	list-style: none;
	margin: 0 0 var(--btap-space-5);
	padding: 0;
}

.sp-recipe .recipe-ingredients li {
	padding: var(--btap-space-2) 0;
	border-bottom: 1px dotted var(--btap-border);
	line-height: 1.6;
}

.sp-recipe .recipe-ingredients li:last-child {
	border-bottom: 0;
}

.sp-recipe .recipe-method .step {
	display: flex;
	gap: var(--btap-space-4);
	margin-bottom: var(--btap-space-4);
}

.sp-recipe .recipe-method .step-number {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--btap-deep-gold);
	color: var(--btap-warm-white);
	font-family: var(--btap-font-ui);
	font-size: 14px;
	font-weight: 700;
}

.sp-recipe .recipe-method .step-content {
	min-width: 0;
}

.sp-recipe .recipe-method .step-content p {
	margin-bottom: 0;
	line-height: 1.65;
}

.sp-recipe .recipe-notes p {
	font-size: 15px;
	color: var(--btap-muted);
}

.sp-recipe .recipe-nutrition ul {
	list-style: none;
	margin: 0 0 var(--btap-space-4);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--btap-space-3);
}

.sp-recipe .nutrition-item {
	background: var(--btap-linen);
	border-radius: var(--btap-radius);
	padding: var(--btap-space-2) var(--btap-space-3);
	text-align: center;
	font-family: var(--btap-font-ui);
}

.sp-recipe .nutrition-item .amount {
	display: block;
	font-weight: 700;
	color: var(--btap-ink);
}

.sp-recipe .nutrition-item .nut-item {
	display: block;
	font-size: 12px;
	color: var(--btap-muted);
}

/* [sp_index] recipe index grids */
.sp-grid {
	list-style: none;
	margin: 0 0 var(--btap-space-6);
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--btap-space-5);
}

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

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

	.sp-grid.col4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.sp-grid li {
	min-width: 0;
}

.sp-grid .post-img {
	display: block;
	margin-bottom: var(--btap-space-3);
	border-radius: var(--btap-radius);
	overflow: hidden;
}

.sp-grid .post-img img {
	display: block;
	width: 100%;
	height: auto;
}

.sp-grid .post-header .cat,
.sp-grid .post-header .cat a {
	font-family: var(--btap-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--btap-deep-gold);
}

.sp-grid .post-header h2 {
	font-size: 18px;
	line-height: 1.3;
	margin: var(--btap-space-1) 0;
}

.sp-grid .post-header h2 a {
	color: var(--btap-ink);
	text-decoration: none;
}

.sp-grid .post-header h2 a:hover {
	color: var(--btap-deep-gold);
}

.sp-grid .date {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	color: var(--btap-muted);
}

.index-heading {
	font-family: var(--btap-font-display);
	font-size: 24px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--btap-space-4);
	margin-bottom: var(--btap-space-4);
}

.index-heading a {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

/* 15. Widgets & sidebar
---------------------------------------------------------------- */
.widget-area {
	min-width: 0;
}

.widget {
	margin-bottom: var(--btap-space-6);
}

.widget-title {
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--btap-ink);
	border-bottom: 2px solid var(--btap-deep-gold);
	display: inline-block;
	padding-bottom: 4px;
	margin-bottom: var(--btap-space-4);
}

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

.widget ul li {
	padding: var(--btap-space-2) 0;
	border-bottom: 1px dotted var(--btap-border);
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget a {
	text-decoration: none;
	color: var(--btap-text);
}

.widget a:hover {
	color: var(--btap-deep-gold);
}

.widget img {
	border-radius: var(--btap-radius);
}

/* Sprout & Spoon Core: Social Icons widget */
.social-widget {
	display: flex;
	flex-wrap: wrap;
	gap: var(--btap-space-3);
}

.social-widget a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--btap-border);
	border-radius: 50%;
	background: var(--btap-warm-white);
	color: var(--btap-ink);
	font-size: 17px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-widget a:hover {
	background: var(--btap-ink);
	border-color: var(--btap-ink);
	color: var(--btap-warm-white);
}

.social-widget a i {
	line-height: 1;
}

/* Sprout & Spoon Core: Promo widget (category banners).
 * Plugin outputs a background-image div with an EMPTY absolutely-positioned
 * link and a heading overlay — all of it depends on theme CSS to function. */
.widget .promo-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--btap-radius);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: var(--btap-space-4);
}

.widget .promo-item > a {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
}

.widget .promo-item .promo-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: rgba(16, 16, 15, 0.35);
	transition: background-color 0.25s ease;
	padding: var(--btap-space-3);
}

.widget .promo-item:hover .promo-overlay {
	background: rgba(16, 16, 15, 0.5);
}

.widget .promo-item .promo-overlay h4 {
	margin: 0;
	font-family: var(--btap-font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--btap-warm-white);
	text-shadow: 0 1px 10px rgba(16, 16, 15, 0.4);
}

/* Sprout & Spoon Core: About widget */
.about-widget {
	text-align: center;
}

.about-widget .about-img {
	margin-bottom: var(--btap-space-3);
}

.about-widget .about-img img {
	width: 100%;
	border-radius: var(--btap-radius);
}

.about-widget p {
	font-size: 15px;
	color: var(--btap-muted);
}

.about-widget .about-autograph img {
	max-width: 140px;
	margin: 0 auto;
}

/* Sprout & Spoon Core: Latest Posts widget */
.side-pop {
	margin-bottom: var(--btap-space-4);
}

.side-pop .side-pop-img {
	margin-bottom: var(--btap-space-2);
}

.side-pop .side-pop-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--btap-radius);
}

.side-pop .side-pop-content h4 {
	font-size: 17px;
	line-height: 1.3;
	margin: 0 0 var(--btap-space-1);
}

.side-pop .side-pop-content h4 a {
	color: var(--btap-ink);
	text-decoration: none;
}

.side-pop .side-pop-content h4 a:hover {
	color: var(--btap-deep-gold);
}

.side-pop .date {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	color: var(--btap-muted);
}

/* Small-thumb list variant */
.side-pop.list {
	display: flex;
	gap: var(--btap-space-3);
	align-items: center;
}

.side-pop.list .side-pop-img {
	flex: 0 0 90px;
	margin-bottom: 0;
}

.side-pop.list .side-pop-content {
	min-width: 0;
}

/* Instagram footer strip */
.instagram-footer {
	background: var(--btap-warm-white);
	border-top: 1px solid var(--btap-border);
	padding: var(--btap-space-6) var(--btap-space-4);
}

.instagram-footer .instagram-widget {
	max-width: var(--btap-wide);
	margin: 0 auto;
}

.instagram-title {
	text-align: center;
}

/* 16. Footer
---------------------------------------------------------------- */
.site-footer {
	background: var(--btap-ink);
	color: var(--btap-cream);
	padding: var(--btap-space-8) 0 var(--btap-space-6);
}

.footer-inner {
	max-width: var(--btap-wide);
	margin: 0 auto;
	padding: 0 var(--btap-space-4);
	text-align: center;
}

.footer-widgets {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--btap-space-6);
	text-align: left;
	margin-bottom: var(--btap-space-7);
}

@media (min-width: 768px) {
	.footer-widgets {
		grid-template-columns: repeat(3, 1fr);
	}
}

.site-footer .widget-title {
	color: var(--btap-cream);
	border-bottom-color: var(--btap-toast);
}

.site-footer .widget,
.site-footer .widget a {
	color: var(--btap-cream);
}

.site-footer .widget ul li {
	border-bottom-color: rgba(251, 248, 241, 0.15);
}

.site-footer a {
	color: var(--btap-toast);
}

.site-footer a:hover {
	color: var(--btap-cream);
}

.footer-title {
	font-family: var(--btap-font-display);
	font-size: 28px;
	color: var(--btap-warm-white);
	margin-bottom: var(--btap-space-1);
}

.footer-tagline {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(251, 248, 241, 0.7);
	margin-bottom: var(--btap-space-5);
}

.footer-menu {
	list-style: none;
	margin: 0 0 var(--btap-space-5);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--btap-space-2) var(--btap-space-5);
}

.footer-menu a {
	font-family: var(--btap-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--btap-cream);
	padding: var(--btap-space-2) 0;
	display: inline-block;
}

.footer-menu a:hover {
	color: var(--btap-toast);
}

/* Social icon links (Font Awesome brand glyphs keyed by URL) */
.social-links-menu {
	list-style: none;
	margin: 0 0 var(--btap-space-5);
	padding: 0;
	display: flex;
	justify-content: center;
	gap: var(--btap-space-3);
}

.social-links-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(251, 248, 241, 0.3);
	border-radius: 50%;
	color: var(--btap-cream);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links-menu a:hover {
	border-color: var(--btap-toast);
	color: var(--btap-toast);
}

.social-links-menu a::before {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
	font-size: 17px;
	content: "\f0c1"; /* fallback: link icon (solid) */
}

.social-links-menu a[href*="instagram.com"]::before { content: "\f16d"; }
.social-links-menu a[href*="facebook.com"]::before { content: "\f39e"; }
.social-links-menu a[href*="pinterest."]::before { content: "\f231"; }
.social-links-menu a[href*="twitter.com"]::before,
.social-links-menu a[href*="x.com"]::before { content: "\f099"; }
.social-links-menu a[href*="youtube.com"]::before { content: "\f167"; }
.social-links-menu a[href*="tiktok.com"]::before { content: "\e07b"; }
.social-links-menu a[href^="mailto:"]::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0e0";
}
.social-links-menu a[href*="feed"]::before,
.social-links-menu a[href$="/feed/"]::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f09e";
}

.site-credit {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	color: rgba(251, 248, 241, 0.6);
	margin: 0;
}

/* 17. Pagination & post navigation
---------------------------------------------------------------- */
.pagination,
.navigation.pagination {
	margin: var(--btap-space-7) 0 0;
	font-family: var(--btap-font-ui);
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--btap-space-2);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--btap-space-3);
	border: 1px solid var(--btap-border);
	border-radius: var(--btap-radius);
	background: var(--btap-warm-white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--btap-ink);
}

.pagination .page-numbers.current {
	background: var(--btap-ink);
	border-color: var(--btap-ink);
	color: var(--btap-warm-white);
}

.pagination a.page-numbers:hover {
	border-color: var(--btap-deep-gold);
	color: var(--btap-deep-gold);
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--btap-space-4);
	border-top: 1px solid var(--btap-border);
	margin-top: var(--btap-space-6);
	padding-top: var(--btap-space-5);
	font-family: var(--btap-font-ui);
}

@media (min-width: 640px) {
	.post-navigation {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next {
		text-align: right;
	}
}

.post-navigation a {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--btap-muted);
}

.post-navigation .nav-title {
	display: block;
	margin-top: var(--btap-space-1);
	font-family: var(--btap-font-display);
	font-size: 18px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--btap-ink);
}

.post-navigation a:hover .nav-title {
	color: var(--btap-deep-gold);
}

/* 18. Comments
---------------------------------------------------------------- */
.comments-area {
	border-top: 1px solid var(--btap-border);
	margin-top: var(--btap-space-7);
	padding-top: var(--btap-space-6);
}

.comments-title,
.comment-reply-title {
	font-size: 24px;
}

.comment-list {
	list-style: none;
	margin: 0 0 var(--btap-space-6);
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 0 0 0 var(--btap-space-5);
	padding: 0;
}

.comment-body {
	padding: var(--btap-space-4) 0;
	border-bottom: 1px solid var(--btap-linen);
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: var(--btap-space-3);
	vertical-align: middle;
}

.comment-metadata {
	font-family: var(--btap-font-ui);
	font-size: 12px;
	color: var(--btap-muted);
}

.comment-metadata a {
	color: var(--btap-muted);
	text-decoration: none;
}

.reply {
	font-family: var(--btap-font-ui);
	font-size: 13px;
}

.comment-form p {
	margin-bottom: var(--btap-space-4);
}

/* 19. Print (recipe printing via jQuery.print)
---------------------------------------------------------------- */
@media print {
	.announcement-bar,
	.site-header,
	.site-footer,
	.instagram-footer,
	.related-posts,
	.post-navigation,
	.comments-area,
	.widget-area,
	.sp-recipe a.sp-print {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.sp-recipe {
		border: 1px solid #999;
	}
}
