/* tasting_notes/index.html — compact, zelfde huisstijl als kaarten */

body {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
  color: #333;
}

.header {
  background: linear-gradient(to right, #8b4513, #d2b48c);
  color: white;
  padding: 14px 12px;
  text-align: center;
}

.header h1 {
  font-size: 1.45rem;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.header p {
  font-size: 0.9rem;
  margin: 4px 0 0 0;
  opacity: 0.95;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 14px 20px;
}

.embed-table {
  border-collapse: collapse;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.embed-table td {
  border: none;
  padding: 0 6px;
  vertical-align: middle;
}

.intro {
  margin: 0 0 0.6em 0;
  font-size: 0.92rem;
}

.letter-head {
  color: #8b4513;
  margin: 0.85em 0 0.25em 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #e7d2b8;
  padding-bottom: 2px;
}

.term-card {
  margin: 0 0 0.45em 0;
  padding: 0 0 0.2em 0;
  border-bottom: 1px dotted #e0e0e0;
}

.term-card h4 {
  margin: 0 0 0.15em 0;
  color: #5c3312;
  font-size: 0.98rem;
  font-weight: bold;
}

.def-en {
  margin: 0 0 0.2em 0;
  font-size: 0.92rem;
}

.wb-link {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.wb-label {
  font-weight: bold;
  color: #5c3312;
}

.wb-snippet {
  color: #555;
}

.nav-letters {
  margin: 0.35em 0 0.5em 0;
  line-height: 1.5;
  font-size: 0.88rem;
}

.nav-letters a {
  display: inline-block;
  margin-right: 0.2em;
  padding: 1px 4px;
  color: #8b4513;
  font-weight: bold;
  text-decoration: none;
}

.nav-letters a:hover {
  text-decoration: underline;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 0.75em;
  margin: 0.4em 0 0.5em 0;
}

.filter-label {
  font-weight: bold;
  margin: 0;
  color: #5c3312;
  font-size: 0.9rem;
}

.term-filter {
  font-family: Georgia, serif;
  font-size: 0.92rem;
  flex: 1 1 12rem;
  min-width: 10rem;
  max-width: 420px;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.status {
  font-size: 0.85rem;
  color: #555;
  white-space: nowrap;
}

.muted {
  color: #666;
  font-size: 0.8rem;
  margin-top: 1em;
}

footer {
  background: #f8f8f8;
  padding: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: #666;
  margin-top: 1.25em;
}

.top-nav {
  background: #f4e7d6;
  padding: 4px 12px;
  font-size: 0.85rem;
}

.top-nav table {
  border: 0;
  border-collapse: collapse;
  width: 100%;
}

.top-nav td {
  border: none;
  padding: 4px 0 4px 12px;
  vertical-align: middle;
}

.top-nav td.menu-spacer {
  width: 100%;
}

.top-nav td.top-nav__burger-cell {
  display: none;
  width: 1%;
  padding: 6px 10px 6px 12px;
}

.top-nav .top-nav__link a {
  color: #8b4513;
  text-decoration: none;
  font-weight: bold;
}

.top-nav .top-nav__link a:hover {
  text-decoration: underline;
}

.nav-links {
  margin: 1em 0;
  text-align: center;
  font-size: 0.9rem;
}

.nav-links table {
  border: 0;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.nav-links td {
  border: none;
  padding: 0 10px;
  vertical-align: middle;
}

.menu-toggle {
  display: none;
}

.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

.menu {
  display: none;
  background-color: #fff4e6;
  padding: 10px 15px;
  text-align: left;
}

.menu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
}

.menu strong {
  display: block;
  margin-top: 8px;
  margin-bottom: 4px;
  color: #8b4513;
}

.menu-toggle:checked ~ .menu {
  display: block;
}

.site-nav-shell {
  position: relative;
  z-index: 1000;
}

.site-nav-shell > nav.menu {
  position: absolute;
  top: 100%;
  left: 12px;
  right: auto;
  width: min(22rem, calc(100vw - 24px));
  z-index: 1001;
  max-height: min(85vh, 28rem);
  overflow-y: auto;
  border: 1px solid #e7d2b8;
  border-radius: 0 0 8px 8px;
  border-bottom: 1px solid #e7d2b8;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
  .top-nav td.top-nav__burger-cell {
    display: table-cell;
  }
  .top-nav td.top-nav__link {
    display: none;
  }
  .top-nav td.menu-spacer {
    display: none;
    width: 0;
    padding: 0;
  }
}

.logo {
  max-width: 140px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
