/* Closed categories keep the first screen short on mobile and desktop. */
.tp-kosher-nav { margin: 24px 0; }
.tp-kosher-nav h2 { margin: 0 0 12px; font-size: 1.4rem; }
.tp-kosher-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-kosher-buttons button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--hair); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 rgba(34,24,20,.08); }
.tp-kosher-buttons button[aria-expanded="true"] { color: #fff; background: var(--red); border-color: var(--red); }
.tp-kosher-buttons button:focus-visible, .tp-kosher-category summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.tp-kosher-category { margin: 14px 0; padding: 0; background: #fff; border: 1px solid var(--hair); border-radius: 20px; scroll-margin-top: 100px; }
.tp-kosher-category > summary { display: flex; align-items: center; gap: 12px; padding: 18px; cursor: pointer; list-style: none; }
.tp-kosher-category summary::-webkit-details-marker { display: none; }
.tp-kosher-category > summary::after, .tp-kosher-group > summary::after { content: '+'; margin-inline-start: auto; flex: 0 0 auto; font-size: 1.6rem; line-height: 1; color: var(--red); }
.tp-kosher-category[open] > summary::after, .tp-kosher-group[open] > summary::after { content: '−'; }
.tp-kosher-category h2 { margin: 0; font-size: 1.3rem; }
.tp-kosher-category > summary small { display: block; color: var(--ink-muted); font-size: .9rem; margin-top: 4px; }
.tp-kosher-content { padding: 0 16px 18px; min-width: 0; }
.tp-kosher-group { padding: 0; margin: 12px 0; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg); }
.tp-kosher-group > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 14px; cursor: pointer; list-style: none; font-weight: 700; }
.tp-kosher-group > summary small { font-weight: 400; color: var(--ink-muted); }
.tp-kosher-group > div { padding: 0 14px 14px; min-width: 0; }
.tp-kosher-group .tp-table { margin-top: 16px; }
.tp-kosher-group .tp-table table { min-width: 720px; }
.tp-kosher-group th[scope="row"] { font-weight: 600; }
.tp-kosher-group th[scope="row"] small { display: block; margin-top: 4px; color: var(--ink-muted); font-size: .85rem; font-weight: 400; }
.tp-kosher-background { margin-top: 36px; }
.tp-kosher-background .tp-bodies { position: static; margin: 16px 0; grid-template-columns: 1fr; }
.tp-kosher-background .tp-body { box-shadow: none; background: var(--bg); }
.tp-kosher-background .tp-body a { display: inline-block; margin-top: 10px; font-size: .95rem; }
.tp-kosher-background .tp-more { padding: 16px 0; border-radius: 0; border-top: 1px solid var(--hair); }
.tp-kosher-background .tp-more p { margin: 12px 0 8px; }
.tp-kosher-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; }
@media (min-width: 700px) {
  .tp-kosher-category > summary { padding: 22px 26px; }
  .tp-kosher-content { padding: 0 26px 24px; }
  .tp-kosher-background .tp-bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
