:root {
  --canvas: #f5f9f7;
  --surface: #ffffff;
  --ink: #1b2d2b;
  --muted: #62716e;
  --line: #d6e2de;
  --green: #0b655e;
  --green-soft: #dcefe8;
  --mint: #eef7f3;
  --blue: #155d9b;
  --amber: #9a600c;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, select { font: inherit; }
.site-header { border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 90%); }
.header-inner, main { width: min(840px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; font-weight: 760; text-decoration: none; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 5px; background: var(--green); color: #fff; font-size: 14px; }
nav { display: flex; align-items: stretch; align-self: stretch; }
nav a { display: grid; place-items: center; padding: 0 13px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; text-decoration: none; }
nav a.is-current { border-color: var(--green); color: var(--green); font-weight: 750; }
main { padding: 46px 0 68px; }
.news-heading { padding: 0 0 27px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
h1 { margin: 0; font-size: 29px; line-height: 1.25; letter-spacing: 0; }
.news-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.news-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.filter { min-height: 31px; padding: 4px 11px; border: 1px solid #b9ccc5; border-radius: 4px; background: var(--surface); color: #46615a; font-size: 12px; cursor: pointer; }
.filter.is-selected { border-color: var(--green); background: var(--green); color: #fff; font-weight: 700; }
.shop-select { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 12px; }
.shop-select select { min-height: 31px; border: 1px solid #b9ccc5; border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 12px; }
.feed { padding-top: 22px; }
.feed-count { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.news-item { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; border-bottom: 1px solid var(--line); }
.news-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 27px; width: 1px; background: #c7ddd5; }
.news-item:first-of-type::before { top: 22px; }
.news-item:last-child::before { bottom: calc(100% - 22px); }
.news-date { position: relative; z-index: 1; align-self: start; width: 56px; margin-top: 14px; padding: 8px 3px 7px; border: 1px solid #b8d7cc; border-left: 3px solid var(--green); border-radius: 4px; background: var(--mint); color: var(--green); font-weight: 800; line-height: 1; text-align: center; }
.news-date span { display: block; font-size: 15px; }
.news-date small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }
.news-item-content { min-width: 0; padding: 16px 4px 16px 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-meta strong { font-size: 13px; }
.tag { padding: 2px 6px; border-radius: 3px; background: #edf1f0; color: #5c6c68; font-size: 10px; font-weight: 700; }
.tag.is-strong { background: #deeee9; color: #147059; }
.tag.is-local { background: #fff0d5; color: var(--amber); }
h2 { margin: 7px 0 0; font-size: 17px; line-height: 1.45; letter-spacing: 0; }
.news-item p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.news-detail-link { display: block; margin-top: 8px; color: var(--blue); font-size: 12px; font-weight: 700; text-align: right; text-decoration: none; }
.news-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .header-inner, main { width: min(100% - 20px, 840px); }
  .header-inner { min-height: 53px; }
  .brand { font-size: 13px; }
  nav a { padding: 0 7px; font-size: 11px; }
  main { padding-top: 28px; }
  h1 { font-size: 24px; }
  .news-controls { gap: 6px; }
  .shop-select { width: 100%; margin: 4px 0 0; justify-content: space-between; }
  .shop-select select { flex: 1; max-width: 190px; }
  .news-item { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; }
  .news-item::before { left: 22px; }
  .news-date { width: 46px; margin-top: 13px; padding: 7px 2px 6px; }
  .news-date span { font-size: 13px; }
  .news-item-content { padding: 14px 2px 14px 0; }
  h2 { font-size: 15px; }
  .news-item p { font-size: 11px; }
}
