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

body {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.5;
}

/* ── Site header (reporyje.info style) ── */

.site-header {
  text-align: center;
  padding-top: 28px;
}

.site-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-logo {
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  color: #004d92;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-logo .dot {
  color: #ecb800;
}

.site-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Navigation ── */

.site-nav {
  margin-top: 24px;
  border-bottom: 1px solid #eee;
}

.site-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu li a {
  display: block;
  padding: 12px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu li a:hover {
  color: #004d92;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #004d92;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-social a:hover {
  opacity: 1;
}

/* ── Page content ── */

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
}

.page-header {
  text-align: center;
  margin-bottom: 24px;
  margin-top: 8px;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #004d92;
}

.updated {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

.stale-warning {
  background: #fff3cd;
  color: #856404;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

/* ── Restaurant cards ── */

.card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
  border-left: 5px solid #ccc;
}

.card:nth-child(1) { border-left-color: #c0392b; }
.card:nth-child(2) { border-left-color: #2980b9; }
.card:nth-child(3) { border-left-color: #27ae60; }
.card:nth-child(4) { border-left-color: #d4a017; }
.card:nth-child(5) { border-left-color: #8e44ad; }
.card:nth-child(6) { border-left-color: #e67e22; }
.card:nth-child(7) { border-left-color: #16a085; }
.card:nth-child(8) { border-left-color: #2c3e50; }
.card:nth-child(9) { border-left-color: #d35400; }

.card-header {
  padding: 14px 16px 8px;
}

.card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-date {
  font-size: 0.85rem;
  color: #666;
  margin-top: 2px;
}

.card-body {
  padding: 0 16px 12px;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #999;
  margin-top: 10px;
  margin-bottom: 4px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.95rem;
}

.menu-item .name { flex: 1; }
.menu-item .price {
  font-weight: 600;
  white-space: nowrap;
  margin-left: 12px;
}

.card-footer {
  padding: 8px 16px;
  background: #fafafa;
  font-size: 0.75rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
}

.menu-item.sold-out {
  color: #c0392b;
  text-decoration: line-through;
}

.card-footer a { color: #aaa; }

/* ── Today highlight (Pivovar, Řeznictví Svoboda) ── */

.today-section {
  background: #f0faf0;
  border-radius: 6px;
  padding: 6px 8px;
  margin: 4px -8px;
}

.today-badge {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: none;
}

.dimmed-section {
  opacity: 0.5;
}

/* ── Expand/collapse buttons ── */

.expand-btn {
  display: block;
  background: none;
  border: none;
  color: #004d92;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 4px;
}

.expand-btn:hover {
  text-decoration: underline;
}

.no-menu-today {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  padding: 8px 0;
}

.truncated-section,
.truncated-item {
  display: none;
}

/* ── Page footer ── */

.page-footer {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 24px;
  font-size: 0.85rem;
  color: #aaa;
}

.page-footer a { color: #004d92; opacity: 0.6; }
.page-footer a:hover { opacity: 1; }

/* ── Mobile ── */

@media (max-width: 600px) {
  .site-logo {
    font-size: 2rem;
  }

  .site-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }

  .site-nav-inner {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu {
    gap: 0;
  }

  .nav-menu li a {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .nav-social {
    margin-left: 0;
    padding-bottom: 8px;
  }
}
