:root{
  --bg: #F4F1EB;
  --surface: #FFFFFF;

  --header-bg: #ECE7DF;
  --header-text: #1F1F1F;
  --header-muted: #6B625C;

  --nav-bg: #D8645A;
  --nav-border: #C5564D;
  --nav-text: #FFFFFF;
  --nav-link: #FFFFFF;
  --nav-hover-bg: rgba(255,255,255,0.18);
  --nav-focus-ring: rgba(255,255,255,0.55);

  --text: #1F1F1F;
  --muted: #6A635E;

  --accent: #C5564D;
  --link: #B94C44;

  --border: #D8D2C8;
  --shadow: rgba(0,0,0,0.06);

  --card-bg: #FFFFFF;
  --card-border: #D8D2C8;

  --chip-bg: #F3E5E3;
  --chip-border: #E2C7C4;
  --chip-text: #5A2C2A;

  --max: 1120px;
  --radius: 12px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: var(--link); }
a:hover{ text-decoration: underline; }

/* HEADER */
.site-header{ background: var(--header-bg); border-bottom: 1px solid var(--border); }
.header-inner{ max-width: var(--max); margin: 0 auto; padding: 18px 16px 12px; }
.site-title{ margin:0; font-size: 26px; font-weight: 750; letter-spacing: .2px; color: var(--header-text); }
.site-tagline{ margin: 6px 0 0; color: var(--header-muted); font-size: 14.5px; }

/* NAV */
.site-nav{
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
  border-bottom: 1px solid var(--nav-border);
  color: var(--nav-text);
}
.nav-inner{ max-width: var(--max); margin: 0 auto; padding: 10px 16px; }
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap: 10px; flex-wrap: wrap; }

.nav-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: var(--nav-link);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  outline: none;
}
.nav-link:hover{ background: var(--nav-hover-bg); text-decoration: none; }
.nav-link:focus-visible{ box-shadow: 0 0 0 3px var(--nav-focus-ring); }

.ico{ width: 16px; height: 16px; flex: 0 0 auto; display:inline-block; }
.nav-label{ line-height: 1; }

/* MAIN */
.site-main{ max-width: var(--max); margin: 0 auto; padding: 18px 16px 64px; }

.paper{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0,0,0,.05);
  overflow: hidden;
}
.page-head{ padding: 16px 16px 0; }
.page-title{ margin:0; font-size: 20px; font-weight: 750; }
.content{ padding: 14px 16px 18px; }

.grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1200px){ .grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px){ .grid{ grid-template-columns: 1fr; } }

.card{
  display:block;
  text-decoration:none;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
  border-color: rgba(245,95,95,.35);
}

.card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; }
.card-title{ margin: 0; font-size: 16.5px; font-weight: 750; line-height: 1.25; }
.card-date{ font-size: 12.5px; color: rgba(0,0,0,.55); white-space: nowrap; }

.card-desc{ margin: 10px 0 12px; color: var(--muted); }

.card-cats{ display:flex; flex-wrap:wrap; gap: 8px; margin: 0 0 10px; }

.chip{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
}

.card-go{ font-weight: 750; color: var(--accent); }

/* FOOTER */
.site-footer{ border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner{ max-width: var(--max); margin: 0 auto; padding: 14px 16px; color: var(--muted); }
.tiny{ font-size: 12.5px; }
