html {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1F2937;
  background: #FAFAF7;
  line-height: 1.6; /* was likely ~1.5 */
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header */
.site-header {
  background: #014421;
}

.logo-wrap {
  text-align: center;
  padding: 1.25rem 0 0.75rem;
}

.logo {
  font-family: "Pacifico", cursive;
  font-size: 2.25rem;
  color: #fff;
  text-decoration: none;
}

/* Nav */
.top-nav {
  background: rgb(0.7782608696, 52.9217391304, 25.6826086957);
  padding: 0.75rem 0;
}

.top-nav .nav-inner {
  display: flex;
  justify-content: center; /* center the menu items */
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  line-height: 1;
}

.menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1; /* remove extra bottom gap */
  display: flex;
  align-items: center;
}

.menu a:hover {
  text-decoration: underline;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-form input {
  padding: 0.35rem 0.7rem; /* slightly less height */
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 10px;
  border: none;
  min-width: 240px;
  margin: 0;
}

.search-form button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff; /* keeps it white in the forest-green nav */
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form button:hover {
  opacity: 0.8;
}

.icon-search {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
}

.search-page {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.search-page-form {
  margin-bottom: 1.5rem;
}

.search-page-form input {
  flex: 1;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  min-width: 0;
}

.search-page-form button {
  background: #014421;
  color: #fff;
  border: none;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-page-form button:hover {
  filter: brightness(1.1);
}

.no-results {
  color: #6B7280;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* Links */
a {
  color: #014421;
  text-decoration: none;
}

a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

/* Posts list */
.posts {
  display: grid;
  gap: 2rem;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.post-title {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.post-title a {
  color: #014421;
  text-decoration: none;
}

.post-title a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.post-date {
  margin: 0 0 0.75rem;
  color: #6B7280;
  font-size: 0.95rem;
}

.post-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.25rem 0 0.75rem;
}

.post-excerpt {
  color: #374151;
}

.read-more {
  font-weight: 700;
  text-decoration: none;
  color: #014421;
}

.read-more:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
}

/* Single post */
.single-post .post-title {
  font-size: 2.1rem;
  margin-bottom: 0.2rem;
  color: #014421;
}

.single-post .post-date {
  color: #6B7280;
  margin-bottom: 1rem;
}

img.post-hero {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Pager */
.pager {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.pager a {
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  color: #014421;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pager a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
}

/* Footer */
.site-footer {
  text-align: center;
  color: #6B7280;
  padding: 2rem 1rem 3rem;
}

/* Search page */
.search-page h1 {
  margin-top: 0;
}

.search-results {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.result {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.result img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.25rem 0 0.5rem;
}

.result .meta {
  color: #6B7280;
  font-size: 0.9rem;
}

/* Posts list */
.posts {
  display: grid;
  gap: 2rem;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.post-title {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.post-title a {
  color: #1F2937;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-date {
  margin: 0 0 0.75rem;
  color: #6B7280;
  font-size: 0.95rem;
}

.post-image {
  width: 100%;
  height: 500px; /* adjust as needed */
  object-fit: cover;
  object-position: center; /* centers the crop vertically */
  border-radius: 10px;
  display: block;
}

.post-excerpt {
  color: #374151;
}

.read-more {
  font-weight: 700;
  text-decoration: none;
}

/* Single post */
.single-post .post-title {
  font-size: 2.1rem;
  margin-bottom: 0.2rem;
}

.single-post .post-date {
  color: #6B7280;
  margin-bottom: 1rem;
}

.post-hero {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.5rem 0 1.2rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Pager */
.pager {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.pager a {
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  color: #1F2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Footer */
.site-footer {
  font-size: 0.9rem;
  text-align: center;
  color: #6B7280;
  padding: 2rem 1rem 3rem;
}

/* Search page */
.search-page h1 {
  margin-top: 0;
}

.search-results {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.result {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.result img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.25rem 0 0.5rem;
}

.result .meta {
  color: #6B7280;
  font-size: 0.9rem;
}

.post-category {
  color: #014421;
  text-decoration: none;
  font-weight: 600;
}

.post-category:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  color: #014421;
  text-decoration: none;
  font-weight: 600;
}

.category-list a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.post-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

.back-home {
  text-align: center;
  margin-top: 1rem;
}

.back-home a {
  color: #014421;
  font-weight: 600;
  text-decoration: none;
}

.back-home a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-align: center;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.category-thumb-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.9rem;
}

.category-name a {
  color: #014421;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.category-name a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.category-count {
  color: #6B7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.category-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 0.75rem;
}

.category-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.category-thumb-link {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.category-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-placeholder {
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.9rem;
}

.category-info {
  flex: 1;
  padding-left: 1rem;
}

.category-name {
  margin: 0;
}

.category-name a {
  color: #014421;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.category-name a:hover {
  color: rgb(1.5913043478, 108.2086956522, 52.5130434783);
  text-decoration: underline;
}

.category-count {
  color: #6B7280;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Responsive tweak */
@media (max-width: 640px) {
  .category-row {
    flex-direction: column;
    text-align: center;
  }
  .category-thumb-link {
    width: 100%;
    height: 160px;
  }
  .category-info {
    padding: 0.75rem 0 0;
  }
}
.ingredients-box {
  border: 2px solid #014421;
  padding: 1.5rem;
  margin: 2rem 0;
  background: #fff;
  border-radius: 10px;
}

.ingredients-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #014421;
  font-size: 1.3rem;
}

.ingredients-box ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.ingredients-box li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.servings-picker {
  margin-bottom: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.servings-picker label {
  font-size: 1.1rem;
}

.servings-picker select {
  padding: 0.65rem 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  min-width: 100px;
}

.ingredients-box h3.optional-heading {
  color: #014421;
  margin-top: 2rem; /* space above the optional section */
  font-size: 1rem; /* slightly smaller heading size */
}

/*# sourceMappingURL=main.css.map */