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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #fff;
  color: #333;
  line-height: 1.75;
}

.top-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  font-family: Arial, sans-serif;
}

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  padding: 1.5rem 0 1rem;
  border-bottom: 2px solid #333;
  margin-bottom: 0.5rem;
}

header .site-name {
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  color: #999;
  text-decoration: none;
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header p.tagline {
  font-size: 0.95rem;
  color: #777;
  font-family: Arial, sans-serif;
  margin-top: 0.25rem;
}

nav {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.5rem;
}

nav a {
  color: #1a5ca0;
  text-decoration: none;
  margin-right: 1.25rem;
}

nav a:hover { text-decoration: underline; }
nav a.active { color: #333; font-weight: bold; }

.ad-slot {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1rem 0;
  overflow: hidden;
}

.ad-slot.leaderboard { min-height: 90px; }
.ad-slot.rectangle   { min-height: 250px; }
.ad-slot.banner      { min-height: 60px; }

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

.main-col h2 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #eee;
}

.main-col h2:first-child { margin-top: 0; }

.main-col h3 {
  font-size: 1.08rem;
  margin: 1.25rem 0 0.45rem;
  color: #222;
}

.main-col p {
  font-size: 0.96rem;
  margin-bottom: 0.95rem;
  color: #444;
}

.main-col ul, .main-col ol {
  margin: 0 0 1rem 1.4rem;
  font-size: 0.95rem;
  color: #444;
}

.main-col li { margin-bottom: 0.45rem; }

.main-col a { color: #1a5ca0; }

.callout {
  background: #f0f5fb;
  border-left: 3px solid #1a5ca0;
  padding: 0.9rem 1.1rem;
  margin: 1.1rem 0;
  font-size: 0.93rem;
  color: #334;
}

.tip-box {
  background: #f7faf2;
  border-left: 3px solid #5a8a3c;
  padding: 0.9rem 1.1rem;
  margin: 1.1rem 0;
  font-size: 0.93rem;
  color: #334;
}

.warning-box {
  background: #fdf8f0;
  border-left: 3px solid #c07a20;
  padding: 0.9rem 1.1rem;
  margin: 1.1rem 0;
  font-size: 0.93rem;
  color: #443;
}

.recipe-card {
  background: #fafaf7;
  border: 1px solid #e8e8e0;
  padding: 1.1rem 1.3rem;
  margin: 1.1rem 0;
}

.recipe-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.recipe-card p { margin-bottom: 0.55rem; font-size: 0.94rem; }
.recipe-card ul, .recipe-card ol { font-size: 0.93rem; margin: 0 0 0.6rem 1.3rem; }
.recipe-card li { margin-bottom: 0.3rem; }

.checklist {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.checklist h4 { font-size: 0.95rem; margin-bottom: 0.5rem; font-family: Arial, sans-serif; }

.page-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar .ad-slot { margin: 0; }

.sidebar-widget {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 1rem;
}

.sidebar-widget h3 {
  font-size: 0.82rem;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 0.7rem;
}

.sidebar-widget a {
  display: block;
  font-size: 0.9rem;
  color: #1a5ca0;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget a:hover { text-decoration: underline; }
.sidebar-widget a:last-child { border-bottom: none; }

.sidebar-widget p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
}

/* Footer */
footer {
  border-top: 1px solid #ddd;
  padding: 1.25rem 0;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: #aaa;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer a { color: #999; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 700px) {
  .content { grid-template-columns: 1fr; }
  header h1 { font-size: 1.5rem; }
}

/* Author byline */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: #777;
  flex-wrap: wrap;
}
.author-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name { color: #333; font-weight: 600; }
.article-date { color: #999; }

/* Author bio block (about page) */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 1rem 0 2rem;
  padding: 1.25rem;
  background: #fafafa;
  border: 1px solid #eee;
}
.author-bio-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio-text h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
@media (max-width: 500px) { .author-bio { flex-direction: column; } }

/* AdSense units */
.adsbygoogle { margin: 1rem 0; }
