@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');
:root {
  --paper: #f6f1e7;
  --ink: #2a2117;
  --muted: #6f5f4f;
  --accent: #9b5b2f;
  --accent-dark: #6f3f1f;
  --green: #4f5f3c;
  --cream: #fff7ef;
  --border: #e2d6c2;
}

body {
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f5efe4 0%, #f7f3ea 40%, #f6f1e7 100%);
}

h1, h2, h3, .navbar-brand {
  font-family: "Fraunces", serif;
  letter-spacing: .2px;
}

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.navbar {
  background: #fff !important;
  border-bottom: 1px solid var(--border);
}
.navbar-brand { font-weight: 700; letter-spacing: .6px; }

.card {
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(42,33,23,.06);
  border-radius: 10px;
}

.table thead th { background: #efe6d6; }
.badge-status { font-size: .85rem; }
.menu-card { background: #fff; border: 1px solid var(--border); padding: 1rem; border-radius: .7rem; }
.menu-course { border-bottom: 1px dashed #d8cbb8; padding: .75rem 0; }
.menu-course:last-child { border-bottom: 0; }
.beer-rating { display: inline-flex; gap: 2px; }
.beer-rating img { width: 16px; height: 16px; opacity: .35; }
.beer-rating img.active { opacity: 1; }
.beer-select label { cursor: pointer; }
.comment-deleted { text-decoration: line-through; opacity: .7; }
.avatar { border-radius: 50%; object-fit: cover; background: #eee9df; }
.avatar-sm { width: 28px; height: 28px; }
.avatar-md { width: 40px; height: 40px; }
.btn-dark {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline-dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-outline-warning {
  border-color: #c79a34;
  color: #8a6516;
}
.btn-outline-warning:hover {
  background: #c79a34;
  color: #fff;
}

.card-header-soft {
  background: linear-gradient(135deg, rgba(155,91,47,.10), rgba(79,95,60,.10));
  border-bottom: 1px solid var(--border);
}

.teaser-image {
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(47,36,23,.12);
}

.recipe-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(42,33,23,.10);
}
.recipe-card .thumb {
  aspect-ratio: 4 / 3;
  background: #efe6d6;
  display: block;
  object-fit: cover;
  width: 100%;
  transition: transform .2s ease;
}
.recipe-card:hover .thumb { transform: scale(1.03); }
.recipe-card .meta {
  color: var(--muted);
  font-size: .9rem;
}
.tag-badge {
  background: #efe6d6;
  color: var(--ink);
  border: 1px solid var(--border);
}

.timeline {
  border-left: 2px dashed #d8cbb8;
  padding-left: 1rem;
}
.timeline-item {
  position: relative;
  margin-bottom: 1rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184,107,47,.15);
}

.thumb-preview {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform .2s ease;
}
.thumb-preview:hover { transform: scale(1.06); }
.thumb-preview.no-image {
  background:
    linear-gradient(135deg, rgba(184,107,47,.08), rgba(90,107,60,.08)),
    #efe7d7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b5d4c;
}
.thumb-preview.no-image::before {
  content: "";
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%236b5d4c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-5 6-3-3-4 4'/%3E%3C/svg%3E");
}

.print-only { display: none; }
@media print {
  .no-print { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
}
