/*
Theme Name: Cooking with Fabian
Theme URI: https://cookingwithfabian.com
Author: Fabian
Author URI: https://cookingwithfabian.com
Description: Clean editorial WordPress theme for Eastern European & Balkan recipes. Mediavine-ready, fast, ad-friendly.
Requires at least: WordPress 5.0
Version: 1.0.0
License:
License URI:
Text Domain:
Tags:

*/

/* Brand Variables — Cooking with Fabian
   Warm editorial palette: paprika accent, deep charcoal, cream surfaces.
   Variable names retained from base theme; values re-tuned for food.
-------------------------------------------------------------- */
:root {
	--sage: #B8392E;          /* paprika red — primary accent (links, buttons) */
	--sage-dark: #8C2A22;     /* deeper paprika — hover states */
	--sage-light: #FBEBE8;    /* faint paprika tint — soft fills */
	--sage-muted: #D88578;    /* muted paprika — borders, soft accents */
	--cream: #FAF6EE;         /* warm cream — page surfaces */
	--warm-white: #FDFBF6;    /* off-white background */
	--sand: #F4EFE3;          /* soft sand — section bg */
	--sand-dark: #E5DDC9;     /* darker sand — borders/hover */
	--terracotta: #C77A3D;    /* saffron/terracotta — secondary accent */
	--terracotta-light: #FBEFE0;
	--forest: #1F1B16;        /* near-black warm charcoal — headlines */
	--charcoal: #2A2620;      /* dark charcoal — featured video bg, footer */
	--text-primary: #2A2620;
	--text-secondary: #5C564D;
	--text-muted: #8E8779;
	--border-light: #E8E1D0;
	--border-hover: #D2C9B3;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-pill: 100px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.07);
	--shadow-lg: 0 8px 24px rgba(0,0,0,0.09);
	--transition: 0.25s ease;
}

/* Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; font: inherit; font-size: 100%;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}
html { margin: 0; padding: 0; font-size: 62.5%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; scroll-behavior: smooth;}
*, ::after, ::before { box-sizing: border-box; }
ol, ul { list-style: none;}
blockquote,q { quotes: none;}
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none;}

/* Base
-------------------------------------------------------------- */
body, button, input, select {
	padding: 0; margin: 0;
	background: var(--warm-white);
	color: var(--text-primary);
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	line-height: 1.7;
	font-size: 18px;
	word-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin: 0 0 16px 0;
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
	color: var(--forest);
	line-height: 1.25;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; margin-top: 40px; }
h3 { font-size: 22px; margin-top: 32px; }
h4 { font-size: 18px; }
img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
hr { background-color: var(--border-light); border: 0; height: 1px; margin: 32px 0; }

p { margin-bottom: 20px; color: var(--text-primary); }
br { margin-bottom: 12px; display: block; content: " "; }
ul, ol { margin: 0 0 20px 24px; }
ul { list-style: disc; }
ol { list-style: decimal; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; margin-left: 20px; }
dt { font-weight: bold; }
dd { margin: 0 1.5em 1.5em; }
b, strong { font-weight: 600; }
dfn, cite, em, i { font-style: italic; }

blockquote {
	margin: 24px 0;
	padding: 24px 28px;
	background: var(--sage-light);
	border-left: 4px solid var(--sage);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-style: italic;
	color: var(--sage-dark);
}
blockquote p { margin: 0; padding: 0; }

code {
	background: var(--sand);
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 15px;
	font-family: 'SF Mono', 'Fira Code', monospace;
}

::-moz-selection { color: #fff; background: var(--sage); }
::selection { color: #fff; background: var(--sage); }

/* Links */
a {
	color: var(--sage);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover, a:focus, a:active { color: var(--sage-dark); }

/* Forms */
input, select, textarea {
	font-size: 16px;
	overflow: auto;
	width: auto;
	margin: 0;
	vertical-align: baseline;
	font-family: inherit;
}
input, textarea {
	background: white;
	border: 1px solid var(--border-light);
	margin: 0 0 16px 0;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	width: 100%;
	transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
	outline: none;
	border-color: var(--sage);
	box-shadow: 0 0 0 3px rgba(91, 124, 94, 0.12);
}
textarea { padding: 12px 16px; vertical-align: top; }

/* Tables */
.table-wrapper { width: 100%; overflow-x: auto; }
table { background-color: transparent; border-collapse: collapse; border-spacing: 0; width: 100%; margin-bottom: 24px; }
table th { font-weight: 600; text-align: center; background: var(--sage-light); color: var(--forest); padding: 12px 16px; }
table th, table td { padding: 12px 16px; line-height: 1.5; vertical-align: middle; border-bottom: 1px solid var(--border-light); text-align: center; }
table tbody tr:hover { background: var(--cream); }
table .even { background: var(--cream); }

/* Video */
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; margin: 0 0 24px 0; border-radius: var(--radius-md); }
.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

#breadcrumbs {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 24px;
}
#breadcrumbs a { color: var(--sage); }
#breadcrumbs a:hover { color: var(--sage-dark); }

/* Layout
-------------------------------------------------------------- */
.container {
	max-width: 1200px;
	padding: 24px;
	margin: 0 auto;
	position: relative;
}
.single .container, .page .container {
	max-width: 800px;
	padding: 24px;
	margin: 0 auto;
	position: relative;
}
.row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	gap: 0;
	justify-content: left;
}

/* Header
-------------------------------------------------------------- */
header {
	padding: 0;
	margin: 0 auto;
	background: white;
	border-bottom: 1px solid var(--border-light);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.95);
}
header .container {
	max-width: 1200px !important;
	padding: 0 24px !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
header #brand {
	display: flex;
	align-items: center;
	margin: 0;
}
header #brand img {
	width: 180px;
	height: 42px;
}

header nav {
	display: flex;
	align-items: center;
	margin: 0;
	position: relative;
	height: 64px;
	float: right;
}
header nav ul {
	text-align: center;
	list-style: none;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
header nav ul li {
	margin: 0;
	display: inline-block;
	padding: 0;
	position: relative;
	text-decoration: none;
}
header nav ul li a {
	color: var(--text-secondary);
	font-size: 15px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}
header nav ul li a:hover {
	color: var(--sage-dark);
	background: var(--sage-light);
}

/* Dropdown menus */
header nav ul li ul {
	z-index: 99;
	background: white;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	visibility: hidden;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 110%;
	display: none;
	transition: all 0.3s ease;
	margin: 0;
	padding: 8px;
	min-width: 220px;
}
header nav ul li:hover > ul,
header nav ul li ul:hover {
	visibility: visible;
	opacity: 1;
	display: block;
}
header nav ul li ul li {
	clear: both;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}
header nav ul li ul li a {
	font-size: 14px;
	line-height: 1.4;
	display: block;
	color: var(--text-primary);
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}
header nav ul li ul li a:hover {
	background: var(--sage-light);
	color: var(--sage-dark);
}
header nav ul li ul ul {
	position: absolute;
	left: 100%;
	top: 0;
	margin: 0 0 0 8px;
}
header #brand a#logo { height:42px}

/* Home sections */
#home { text-align: center; color: var(--text-primary); padding: 48px 0; }
#home h1 { color: var(--forest); margin: 0 0 16px 0; font-size: 42px; line-height: 1.2; }
#home h2 { color: var(--text-secondary); margin: 0 0 32px 0; font-size: 20px; line-height: 1.5; font-weight: 400; font-family: 'DM Sans', sans-serif; }
#home .button { display: inline; }
#home .button-a { min-width: 50px; margin: 0 8px 16px 8px; }
#home #searchform { width: 80%; max-width: 480px; margin: 0 auto 32px auto; border: none; }
#home #searchform input {
	border-radius: var(--radius-pill);
	outline: 0;
	padding: 14px 24px;
	border: 1px solid var(--border-light);
	background: white;
	font-size: 16px;
	box-shadow: var(--shadow-sm);
}
#home #searchform input:focus {
	border-color: var(--sage);
	box-shadow: 0 0 0 3px rgba(91, 124, 94, 0.12);
}

.category-title {
	text-align: center;
	font-family: 'Fraunces', Georgia, serif;
	color: var(--forest);
}
.category-description {
	text-align: center;
	color: var(--text-secondary);
	margin-bottom: 24px;
}

/* Post cards (homepage grid)
-------------------------------------------------------------- */
.post-card {
	margin: 0;
	padding: 12px;
	position: relative;
}
.post-card .featured {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-md);
}
.post-card .featured img,
.featured img {
	border-radius: var(--radius-md);
	box-shadow: none;
	transition: transform 0.4s ease;
}
.post-card:hover .featured img {
	transform: scale(1.03);
}
article .post-card h3 {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	margin: 12px 0 0 0;
	padding: 0;
	text-align: left;
	color: var(--text-primary);
	display: block;
	width: 100%;
	border-radius: 0;
}
article .post-card a { color: var(--text-primary); }
article .post-card a:hover { color: var(--sage); }

/* Single article
-------------------------------------------------------------- */
article { background: transparent; padding: 0; margin: 0; }
article.error { text-align: center; padding: 60px 0; width: 100%; }

article .title {
	font-family: 'Fraunces', Georgia, serif;
	color: var(--forest);
	margin-bottom: 8px;
}
article h2.title {font-size:22px; line-height:26px; margin:0 }
article .title a { text-decoration: none; color: var(--forest); }
article .title a:hover { color: var(--sage); }
article .title span {
	color: var(--text-muted);
	font-size: 24px;
	vertical-align: middle;
	text-transform: uppercase;
	font-weight: 400;
}

article .post-meta {
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-muted);
}
article .post-meta a { color: var(--text-muted); text-decoration: none; }
article .post-meta a:hover { color: var(--sage); }

article .the-content { text-wrap: wrap; }
article .the-content a {
	text-decoration: underline;
	text-decoration-color: rgba(91, 124, 94, 0.3);
	text-underline-offset: 3px;
}
article .the-content a:hover {
	text-decoration-color: var(--sage);
}
article .the-content img { height: auto; border-radius: var(--radius-md); }

.the-tags {
	margin: 32px 0 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border-light);
	font-size: 14px;
	color: var(--text-muted);
}
.the-tags a {
	color: var(--sage);
	background: var(--sage-light);
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 500;
	margin-right: 4px;
	text-decoration: none;
}
.the-tags a:hover {
	background: var(--sage);
	color: white;
}

/* Author box */
.avatar { border-radius: 50%; }
.author {
	background: var(--cream);
	border: 1px solid var(--border-light);
	margin: 0 0 32px 0;
	padding: 24px;
	border-radius: var(--radius-md);
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-secondary);
	min-height: 100px;
}
.author img {
	border-radius: 50%;
	float: left;
	margin: 0 20px 16px 0;
}

/* Recommended posts */
.recommended {}
.recommended ul { margin: 0; }
.recommended ul li { list-style: none; }
.reco {
	margin: 0;
	padding: 8px;
	position: relative;
}
.reco .featured { border-radius: var(--radius-md); overflow: hidden; }
.recommended .title,
article .reco .title {
	font-family: 'DM Sans', sans-serif;
	font-size: 15px !important;
	line-height: 1.4 !important;
	font-weight: 500;
	margin-top: 8px;
}
article .reco a { color: var(--text-primary); }
article .reco a:hover { color: var(--sage); }

/* Pagination
-------------------------------------------------------------- */
.pagination { text-align: center; margin: 32px 0; }
.pagination li { display: inline-block; }
.pagination li a,
.pagination li a:hover,
.pagination li.active a,
.pagination li.disabled {
	color: var(--text-secondary);
	text-decoration: none;
	background-color: white;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	cursor: pointer;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	margin: 0 2px;
	transition: all var(--transition);
}
.pagination li a:hover,
.pagination li.active a {
	background-color: var(--sage);
	border-color: var(--sage);
	color: white;
}

/* Comments
-------------------------------------------------------------- */
.comment-form label { display: inline-block; width: 80px; font-size: 14px; color: var(--text-secondary); }
.commentlist { list-style: none; margin: 0; }
.commentlist .comment {
	margin: 0 0 24px 0;
	padding: 20px;
	position: relative;
	list-style: none;
	background: var(--cream);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
}
.commentlist .comment .children { margin-top: 24px; }
.commentlist .comment-author { float: left; margin-right: 10px; }
.commentlist .comment-author img { position: absolute; left: -50px; top: 5px; }
.commentlist .comment-author .says { display: none; }
.comment-meta { font-size: 13px; margin-bottom: 10px; clear: both; line-height: 1.6; color: var(--text-muted); }
.comment-meta img.avatar { float: left; margin: 0 12px 0 0; }
.comment-meta .fn { font-size: 16px; font-weight: 600; font-style: normal; color: var(--text-primary); }
.comment-meta .reply { position: absolute; bottom: 12px; right: 20px; font-size: 13px; }
.comment-meta .reply a { color: var(--sage); font-weight: 500; }
.comment-meta .comment-date { float: right; font-size: 13px; }
.comment-meta .comment-date a { color: var(--text-muted); }
.comment-subscription-form { margin-bottom: 0; font-size: 13px; }
#respond { margin-bottom: 32px; width: 100%; position: relative; }
#respond #cancel-comment-reply-link { position: absolute; top: 0; right: 20px; font-size: 13px; color: var(--terracotta); }

/* Search */
#searchform input[type=text] { padding: 10px 16px; line-height: 1.5; }

/* Footer
-------------------------------------------------------------- */
footer {
	text-align: center;
	padding: 40px 0;
	background: var(--forest);
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}
footer a { color: rgba(255, 255, 255, 0.7); }
footer a:hover { color: white; }
footer nav { display: block; margin: 16px 0; }
footer nav ul { text-align: center; list-style: none; margin: 0; }
footer nav ul li { margin: 0 8px; display: inline; }
footer nav ul li a {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 500;
	font-size: 14px;
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}
footer nav ul li a:hover { color: white; background: rgba(255, 255, 255, 0.1); }
.footer-widget { color: rgba(255, 255, 255, 0.4); font-size: 13px; margin-top: 16px; }
.footer-widget a { color: rgba(255, 255, 255, 0.5); }
.footer-widget p {color: rgba(255,255,255,.35);}
/* Disclosure */
.disclosure {
	font-size: 13px;
	font-style: italic;
	text-align: center;
	color: var(--text-muted);
	background: var(--cream);
	border-bottom: 1px solid var(--border-light);
}
.disclosure a { color: var(--text-muted); }
.disclosure p { padding: 8px 16px; margin: 0; }

/* Search toggle in nav */
#search-form { position: relative; display: inline-flex; align-items: center; width: 24px; height: 24px; }
#search-form .search-form { position: absolute; right: -15px; top: -5px; }
#search-form .search-field {
	background-color: var(--sand);
	background-image: url(search.svg);
	background-position: 10px center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	border: 1px solid transparent;
	cursor: pointer;
	height: 36px;
	margin: 0;
	padding: 0 0 0 34px;
	border-radius: var(--radius-pill);
	position: relative;
	transition: width 400ms ease, background 400ms ease, border-color 300ms ease;
	width: 0;
	font-size: 14px;
	color: var(--text-primary);
}
#search-form .search-field:focus {
	background-color: white;
	border: 1px solid var(--sage);
	cursor: text;
	color: var(--text-primary);
	outline: 0;
	width: 220px;
	box-shadow: 0 0 0 3px rgba(91, 124, 94, 0.12);
}
#search-form .search-form .search-submit { display: none; }
#search-form input[type="search"]::-webkit-input-placeholder { color: var(--text-muted) !important; }

/* Buttons */
.button-a, .button-name {
	background: var(--sage);
	color: #fff;
	display: block;
	text-align: center;
	border-radius: var(--radius-sm);
	font-size: 16px;
	line-height: 1.4;
	margin: 12px 0 0 0;
	padding: 14px 24px;
	text-decoration: none !important;
	min-width: 200px;
	position: relative;
	font-weight: 600;
	transition: all var(--transition);
}
.button-a:hover {
	background: var(--sage-dark) !important;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.button { display: block; text-align: center; margin: 24px auto; }
.button .button-a { margin: 0; display: inline-block; }
table .button { display: inline-block; }
table .button-a { min-width: inherit; font-size: 14px; line-height: 1.4; padding: 10px 20px; }

/* Pros & Cons */
.pros-cons { margin: 24px 0; }
.pros h3 {
	text-align: center;
	background: var(--sage-light);
	color: var(--sage-dark);
	padding: 10px 0;
	font-size: 18px;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.cons h3 {
	text-align: center;
	background: var(--terracotta-light);
	color: var(--terracotta);
	padding: 10px 0;
	font-size: 18px;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Amazon links & product boxes */
.amazon-link, a.amazonn, a.sag {
	width: 250px;
	min-height: 220px;
	text-align: center;
	float: right;
	background: none;
	position: relative;
	margin: 0 0 32px 24px;
}
.amazon-link .alignright, a.amazonn .alignright, a.sag .alignright { float: none; }
.amazon-image, img.amazonn, img.sag { max-width: 250px; border: 0px; margin: 0 auto !important; }
.amazon-link span, a.amazonn span, a.sag span {
	width: 230px;
	color: #FFFFFF;
	background: var(--sage);
	padding: 10px;
	position: absolute;
	bottom: -40px;
	left: 0;
	font-weight: 600;
	border-radius: var(--radius-sm);
	font-size: 14px;
}
.amazon-link:hover span, a.amazonn:hover span, a.sag:hover span { background: var(--sage-dark); }

a.azon { width: 250px; min-height: 220px; text-align: center; float: right; background: none; position: relative; margin: 0 0 32px 24px; }
a.azon .alignright { float: none; }
img.azon { max-width: 250px; border: 0px; margin: 0 auto !important; }
a.azon span {
	width: 210px;
	background: var(--terracotta);
	color: #fff;
	border-radius: var(--radius-sm);
	padding: 10px;
	position: absolute;
	bottom: -50px;
	left: 50%;
	margin-left: -115px;
	font-weight: 600;
	font-size: 14px;
}
a.azon:hover span { background: var(--sage); }

.related { text-align: center; font-weight: 600; }

/* WordPress defaults */
.wp-caption, .gallery-caption { color: var(--text-muted); font-size: 13px; font-style: italic; max-width: 100%; text-align: center; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 8px 0; }
.wp-caption.aligncenter { width: 100% !important; }
.wp-caption.aligncenter img { width: 100% !important; }

/* Misc */
.clear { clear: both; }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
.alignleft { display: inline; float: left; margin-right: 20px; }
.alignright { display: inline; float: right; margin-left: 20px; }
.aligncenter { clear: both; display: block; margin: 0 auto; }

/* Page */
.page article { border-bottom: none; }
.page article .title { margin-bottom: 32px; }

/* Media Queries
-------------------------------------------------------------- */
@media (min-width: 768px) {
	.col-3 { flex: 0 0 33.333333%; flex-basis: 33.333333%; max-width: 33.333333%; margin: 0; }
	.col-6 { flex: 0 0 50%; flex-basis: 50%; max-width: 50%; margin: 0; }
}

@media (max-width: 767px) {
	body { font-size: 17px; }
	h1 { font-size: 28px; line-height: 1.3; }
	h2 { font-size: 24px; }
	h3 { font-size: 20px; }

	header .container {
		height: auto;
		flex-wrap: wrap;
		padding: 12px 16px !important;
		gap: 8px;
	}
	header #brand { display: block; text-align: center; width: 100%; height:42px }
	header nav {
		display: block;
		margin: 0;
		position: relative;
		height: auto;
		float: none;
		width: 100%;
	}
	header nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
	}
	header nav ul li a {
		font-size: 14px;
		padding: 6px 10px;
	}

	#search-form { display: block; }
	#search-form .search-form { position: relative; left: 0; top: 0; }
	#search-form .search-field { width: 100%; padding-left: 36px; }
	#search-form .search-field:focus { width: 100%; }

	#home h1 { font-size: 28px; line-height: 1.3; }
	#home h2 { font-size: 18px; line-height: 1.5; }
	#home { padding: 24px 0; }
	#home #searchform { width: 90%; margin-bottom: 0px; }

	.container { padding: 16px; }

	.reco { padding: 8px 0 !important; }
	.disclosure p { line-height: 1.4; }
	.alignleft, .alignright { display: inline; float: none; margin: 0; }

	article .post-card h2 { font-size: 15px; }
}

@media (max-width: 480px) {
	.amazon-link, a.amazonn, a.sag, a.azon {
		float: none;
		margin: 0 auto 40px auto;
		display: block;
		clear: both;
	}
	article .post-card h2 { font-size: 14px; line-height: 1.35; }
}

/* ==========================================================================
   NEW LAYOUT SECTIONS
   ========================================================================== */

/* Mobile hamburger menu
-------------------------------------------------------------- */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
	z-index: 101;
}
.mobile-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text-primary);
	border-radius: 2px;
	transition: all 0.3s ease;
}
.menu-open .mobile-menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .mobile-menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 767px) {
	.mobile-menu-toggle { display: flex; }
	header .container { flex-wrap: nowrap; }
	header #brand { width: auto; text-align: left; }
	header nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		border-bottom: 1px solid var(--border-light);
		box-shadow: var(--shadow-md);
		height: auto;
		padding: 8px 0;
		z-index: 100;
	}
	.menu-open nav { display: block !important; }
	header nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	header nav ul li { display: block; margin: 0; }
	header nav ul li a {
		display: block;
		padding: 12px 24px;
		font-size: 16px;
		border-radius: 0;
	}
	header nav ul li a:hover { background: var(--sage-light); }
	header nav ul li ul {
		position: static;
		box-shadow: none;
		border: none;
		border-radius: 0;
		margin: 0;
		padding: 0 0 0 16px;
		min-width: auto;
		visibility: visible;
		opacity: 1;
		display: block;
		background: var(--cream);
	}
	header nav ul li ul li a { padding: 10px 24px; font-size: 15px; }
	#search-form { display: block; padding: 8px 24px; }
	#search-form .search-form { position: static; }
	#search-form .search-field { width: 100% !important; background-color: var(--sand); }
	#search-form .search-field:focus { width: 100% !important; }
}

/* Hero Section
-------------------------------------------------------------- */
.hero {
	background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 50%, var(--terracotta-light) 100%);
	padding: 64px 0;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: '🥘';
	position: absolute;
	right: -20px;
	top: -20px;
	font-size: 200px;
	opacity: 0.05;
	line-height: 1;
	pointer-events: none;
}
.hero-content { max-width: 580px; }
.hero-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--sage);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.hero h1 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--forest);
	margin-bottom: 16px;
}
.hero p {
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 767px) {
	.hero { padding: 40px 0; text-align: center; }
	.hero-content { max-width: 100%; }
	.hero h1 { font-size: 28px; }
	.hero p { font-size: 16px; }
	.hero-actions { justify-content: center; }
	.hero::after { font-size: 120px; right: -30px; top: -30px; }
}

/* Buttons
-------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 500;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: all var(--transition);
	border: none;
	line-height: 1.4;
}
.btn-primary {
	background: var(--sage);
	color: white;
}
.btn-primary:hover {
	background: var(--sage-dark);
	color: white;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.btn-outline {
	background: white;
	color: var(--sage);
	border: 1.5px solid var(--sage);
}
.btn-outline:hover {
	background: var(--sage-light);
	color: var(--sage-dark);
}
.btn-accent {
	background: var(--terracotta);
	color: white;
}
.btn-accent:hover {
	background: #a5603f;
	color: white;
}

/* Section titles
-------------------------------------------------------------- */
.section-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--forest);
	margin: 0 0 20px 0;
}
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.section-header .section-title { margin-bottom: 0; }
.section-link {
	font-size: 14px;
	color: var(--sage);
	font-weight: 500;
}
.section-link:hover { color: var(--sage-dark); }
.section-cta { text-align: center; margin-top: 32px; }

/* Category Grid
-------------------------------------------------------------- */
.section-categories { padding: 48px 0; }

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.category-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-radius: var(--radius-md);
	background: white;
	border: 1px solid var(--border-light);
	text-decoration: none;
	transition: all var(--transition);
}
.category-card:hover {
	border-color: var(--sage-muted);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.category-card--featured {
	background: var(--sage-light);
	border-color: var(--sage-muted);
}
.category-icon { font-size: 24px; margin-bottom: 8px; }
.category-name h3 { font-weight: 600; font-size: 20px; color: var(--text-primary); margin:0 0 2px 0; }
.category-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 8px; }
.category-count { font-size: 12px; font-weight: 500; color: var(--sage); }

@media (max-width: 767px) {
	.category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.category-grid { grid-template-columns: 1fr; }
}

/* Popular Posts Grid
-------------------------------------------------------------- */
.section-popular { padding: 0 0 48px; }

.popular-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.popular-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	border-radius: var(--radius-md);
	background: white;
	border: 1px solid var(--border-light);
	text-decoration: none;
	transition: all var(--transition);
}
.popular-card:hover {
	border-color: var(--sage-muted);
	box-shadow: var(--shadow-sm);
}
.popular-thumb {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--sage-light);
}
.popular-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-sm);
}
.popular-info { flex: 1; min-width: 0; }
.popular-title {
	display: block;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: 6px;
}
.popular-title h3 {	font-size: 14px;line-height: 1.4; margin:0}
.popular-meta { display: flex; gap: 8px; align-items: center; }
.popular-cat {
	font-size: 11px;
	font-weight: 500;
	color: var(--sage-dark);
	background: var(--sage-light);
	padding: 2px 10px;
	border-radius: var(--radius-pill);
}

@media (max-width: 767px) {
	.popular-grid { grid-template-columns: 1fr; }
}

/* Latest Articles Section
-------------------------------------------------------------- */
.section-latest {
	padding: 48px 0;
	background: var(--cream);
	border-top: 1px solid var(--border-light);
}

/* Post card body (category tag + title under image) */
.post-card-body { padding: 4px 0 0 0; }
.post-card-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	color: var(--terracotta);
	margin-bottom: 4px;
	text-transform: capitalize;
}

/* Newsletter CTA
-------------------------------------------------------------- */
.newsletter-section {
	padding: 56px 0;
	background: var(--forest);
	text-align: center;
}
.newsletter-section h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 26px;
	font-weight: 600;
	color: white;
	margin: 0 0 8px;
}
.newsletter-section p {
	font-size: 15px;
	color: rgba(255,255,255,0.55);
	margin: 0 0 24px;
}
.newsletter-form {
	display: flex;
	gap: 8px;
	max-width: 420px;
	margin: 0 auto;
}
.newsletter-form input {
	flex: 1;
	padding: 12px 20px;
	border-radius: var(--radius-pill);
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	color: white;
	font-size: 15px;
	margin: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
	outline: none;
	border-color: rgba(255,255,255,0.5);
	box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.15);
}
.newsletter-form .btn { white-space: nowrap; padding: 12px 24px; }

@media (max-width: 480px) {
	.newsletter-form { flex-direction: column; }
	.newsletter-form input { width: 100%; }
}

/* Single Post Enhancements
-------------------------------------------------------------- */
.single-post {}

.breadcrumbs {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 16px;
}
.breadcrumbs a {
	color: var(--sage);
	text-decoration: none;
}
.breadcrumbs a:hover { color: var(--sage-dark); }

.post-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-light);
}
.post-meta-left {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-secondary);
}
.post-meta-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}
.post-meta-author { font-weight: 500; color: var(--text-primary); }
.post-meta-sep { color: var(--text-muted); }
.post-meta-date { color: var(--text-muted); }
.post-meta-right { display: flex; gap: 6px; }
.post-meta-tag {
	font-size: 12px;
	font-weight: 500;
	color: var(--sage-dark);
	background: var(--sage-light);
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	text-decoration: none;
	transition: all var(--transition);
}
.post-meta-tag:hover {
	background: var(--sage);
	color: white;
}

.single-featured-image {
	margin-bottom: 32px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.single-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-lg);
}

/* Author box enhanced */
.author {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}
.author img.avatar {
	flex-shrink: 0;
	float: none;
	margin: 0;
}
.author-info { flex: 1; }
.author-name {
	display: block;
	font-size: 16px;
	color: var(--text-primary);
	margin-bottom: 4px;
}
.author-bio {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

/* Recommended section */
.recommended { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border-light); }

/* Footer enhanced
-------------------------------------------------------------- */
.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 32px;
	text-align: left;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	margin-bottom: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
	font-size: 18px;
	color: white;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 40px; }
.footer-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
}
.footer-col strong {
	font-weight: 600;
	color: rgba(255,255,255,0.7);
	margin-bottom: 4px;
	font-size: 13px;
}
.footer-col a {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
	font-size: 13px;
	color: rgba(255,255,255,0.35);
	text-align: center;
}

@media (max-width: 767px) {
	.footer-top { flex-direction: column; text-align: center; align-items: center; }
	.footer-links { gap: 24px; }
	.footer-col { align-items: center; }
}


/* Header search bar (Cooking with Fabian addition)
-------------------------------------------------------------- */
.header-search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--sand);
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	padding: 6px 14px;
	min-width: 220px;
	margin-left: 20px;
	transition: border-color var(--transition), background var(--transition);
}
.header-search:focus-within {
	border-color: var(--sage);
	background: var(--warm-white);
}
.header-search-icon {
	color: var(--text-muted);
	flex-shrink: 0;
}
.header-search input[type="search"] {
	border: 0;
	background: transparent;
	outline: none;
	font-size: 13px;
	color: var(--text-primary);
	width: 100%;
	padding: 4px 0;
	font-family: inherit;
}
.header-search input[type="search"]::placeholder {
	color: var(--text-muted);
}
@media (max-width: 900px) {
	.header-search { min-width: 0; flex: 1; margin: 12px 0 0; width: 100%; }
}


/* Featured Video block (Cooking with Fabian addition)
-------------------------------------------------------------- */
.section-video {
	padding: 0 0 48px;
}
.featured-video-block {
	background: var(--charcoal);
	color: #E8DFD0;
	border-radius: var(--radius-lg);
	padding: 32px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: center;
	overflow: hidden;
}
.featured-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #15120E;
}
.featured-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.featured-video-info { padding: 0 4px; }
.featured-video-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #C9B89C;
	margin-bottom: 10px;
}
.featured-video-info h2 {
	color: #F5EBD8;
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 12px;
}
.featured-video-info p {
	color: #C9B89C;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 18px;
}
.btn-outline-light {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: var(--radius-pill);
	color: #F5EBD8;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background var(--transition), border-color var(--transition);
}
.btn-outline-light:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.7);
	color: white;
}
@media (max-width: 767px) {
	.featured-video-block {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 18px;
	}
	.featured-video-info h2 { font-size: 22px; }
}
