/* ---- Blog article styles, harmonized with main.css 2026 refresh ----
   Load AFTER main.css. Scoped by body class:
   .report  → legislation reports (0001, 0003, 0005, 0008, 0009)
   .nursing → WI nursing regulation report (0004)
   essays (0006, 0007, 0010, 0011) use .blog-article + component styles below */

/* ---- Shared nav strip for full-bleed report pages ---- */
body > nav.blog-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1rem .5rem;
  display: flex;
  gap: 1.4rem;
}
body > nav.blog-nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
body > nav.blog-nav a:hover { color: var(--accent); }

/* ================= Report pages ================= */
body.report {
  padding-left: 320px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}
body.report .container {
  max-width: 1180px;
  margin: 0 auto 3rem;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 38, .08);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(23, 35, 38, .11);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}
body.report .header {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
body.report .header h1 {
  color: var(--ink);
  margin: 0 0 .5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
body.report .header h3,
body.report .header .date {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}
body.report .header h4,
body.report .header .author {
  margin: .15rem 0 0;
  color: var(--warm);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body.report .header .navigate { margin-top: 1rem; }
body.report a { color: var(--accent); text-decoration: none; }
body.report a:hover { text-decoration: underline; }

body.report .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  overflow-y: auto;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 1.25rem;
  z-index: 2;
}
body.report .sidebar .toc {
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0;
}
body.report .toc {
  background: var(--accent-pale);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}
body.report .toc h2 {
  color: var(--accent-dark);
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
body.report .toc ul { list-style: none; padding-left: 0; }
body.report .toc ul ul { list-style: disc; padding-left: 1.75rem; margin-top: .5rem; }
body.report .toc li { margin: .4rem 0; font-size: .92rem; }

body.report .section { margin-bottom: 3rem; padding: 0; }
body.report .section h2 {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: .6rem;
  margin: 2.5rem 0 1.25rem;
  font-size: 1.6rem;
  letter-spacing: -.03em;
}
body.report .section h2:first-child { margin-top: 0; }
body.report .section h3 {
  color: var(--accent-dark);
  margin: 1.75rem 0 1rem;
  font-size: 1.25rem;
}

body.report .state-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: #ffffff;
}
body.report .bill-info {
  background-color: var(--accent-pale);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
body.report .bill-info h4 { margin-top: 0; color: var(--accent-dark); }
body.report .metadata-section { margin-bottom: 1.25rem; }
body.report .sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem;
  margin-top: .6rem;
}
body.report .sponsor-item {
  background-color: #f1f3ef;
  padding: .5rem .65rem;
  border-radius: 8px;
  font-size: .88rem;
}
body.report .sponsor-type { font-weight: 700; color: var(--ink); }

body.report .actions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: .9rem;
}
body.report .actions-table th {
  background-color: var(--accent);
  color: #fff;
  padding: .5rem .8rem;
  text-align: left;
  font-weight: 600;
}
body.report .actions-table td { padding: .45rem .8rem; border-bottom: 1px solid var(--line); }
body.report .actions-table tr:nth-child(even) { background-color: #f5f6f2; }
body.report .actions-table tr:hover { background-color: var(--accent-pale); }

body.report .requirements-list {
  background-color: #fbf1e8;
  border: 1px solid #f0dcc9;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}
body.report .analysis-text {
  background-color: #f4f6f2;
  border-left: 4px solid var(--warm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  line-height: 1.65;
}
body.report .analysis-text h4 { margin: 1.25rem 0 .5rem; color: var(--ink); }
body.report .analysis-text h4:first-child { margin-top: 0; }
body.report .analysis-text p { margin-bottom: .5rem; }
body.report .analysis-text ul { margin: .25rem 0 .75rem 1.25rem; }

body.report .back-to-top { text-align: right; margin-top: 1.25rem; }
body.report .back-to-top a { font-size: .85rem; font-weight: 600; }

body.report .tile-map-section {
  text-align: center;
  margin: 2.5rem 0;
  padding: 2rem 1rem;
  background-color: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 16px;
}
body.report .tile-map-section h2 {
  color: var(--ink);
  margin: 0 0 1.25rem;
  border-bottom: none;
  font-size: 1.45rem;
  letter-spacing: -.025em;
}
body.report .tile-map-grid {
  display: grid;
  grid-template-rows: repeat(9, 48px);
  grid-template-columns: repeat(12, 48px);
  gap: 8px;
  margin: 1.25rem auto;
  width: 664px;
  justify-content: center;
}
body.report .map-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  position: relative;
  transition: all .2s ease;
  cursor: pointer;
}
body.report .map-tile:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
  z-index: 10;
}
body.report .map-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: .35rem .6rem;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 20;
}
body.report .map-tile:hover .map-tooltip { visibility: visible; opacity: 1; }
body.report .legend {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  font-size: .88rem;
  color: var(--muted);
}
body.report .legend-item { margin: 0 .6rem; display: flex; align-items: center; }
body.report .legend-color { width: 18px; height: 18px; border-radius: 4px; margin-right: .3rem; }

@media (max-width: 992px) {
  body.report { padding-left: 0; }
  body.report .sidebar { position: static; width: auto; border-right: none; background: transparent; }
}

/* ================= 0004 nursing report ================= */
body.nursing {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.65;
  padding: 0 1rem 3rem;
}
body.nursing a { color: var(--accent); text-decoration: none; }
body.nursing a:hover { text-decoration: underline; }
body.nursing > .entry-header {
  max-width: 1180px;
  margin: 1.25rem auto 1.25rem;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 38, .08);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 10px 30px rgba(23, 35, 38, .08);
}
body.nursing > .entry-header h2 { margin: 0 0 .4rem; font-size: 1.35rem; letter-spacing: -.025em; }
body.nursing .layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--paper);
  border: 1px solid rgba(23, 35, 38, .08);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(23, 35, 38, .11);
  overflow: hidden;
}
body.nursing .sidebar {
  background: #f4f6f2;
  border-right: 1px solid var(--line);
  padding: 1.5rem;
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow: auto;
}
body.nursing .brand { font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem; color: var(--ink); }
body.nursing .summary-box {
  background: #fff;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: .85rem;
}
body.nursing .toc h2 {
  font-size: .72rem;
  color: var(--muted);
  margin: .75rem 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}
body.nursing .toc-list { list-style: none; padding-left: 0; margin: 0; }
body.nursing .toc-list li { margin: .3rem 0; }
body.nursing .toc-list a {
  color: var(--ink);
  display: block;
  padding: .35rem .6rem;
  border-left: 2px solid transparent;
  border-radius: 8px;
  transition: background .2s, color .2s, border-color .2s;
}
body.nursing .toc-list a:hover { background: var(--accent-pale); border-left-color: var(--accent); text-decoration: none; }
body.nursing .content { padding: 2rem 2.5rem; min-width: 0; }
body.nursing .page-header h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.035em; line-height: 1.2; }
body.nursing .subtitle { color: var(--muted); margin-top: .4rem; }
body.nursing .entry {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  margin: 1.1rem 0 1.6rem;
}
body.nursing .entry-header h2 { margin: 0 0 .5rem; font-size: 1.3rem; letter-spacing: -.025em; }
body.nursing .entry-header h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
body.nursing .entry-meta { display: flex; gap: .75rem; flex-wrap: wrap; color: var(--muted); margin-bottom: .5rem; }
body.nursing .overall-summary { margin: .5rem 0 0; }
body.nursing .change { margin-top: .9rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
body.nursing .change-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
body.nursing .change-header h4 { margin: 0 0 .25rem; }
body.nursing .meta-line { display: flex; gap: .5rem; align-items: center; color: var(--muted); flex-wrap: wrap; }
body.nursing .badge {
  background: #f1f3ef;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .1rem .5rem;
  font-size: .72rem;
}
body.nursing .pill {
  display: inline-block;
  padding: .1rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  border: 1px solid var(--line);
  background: #f1f3ef;
}
body.nursing .pill.version { background: #fbf1e8; border-color: #e8c9a8; color: #8a4a24; }
body.nursing .pill.yes { background: var(--accent-pale); border-color: #a9cfc1; color: var(--accent-dark); }
body.nursing .pill.no { background: #faeae4; border-color: #e6b8a6; color: #a33d1f; }
body.nursing .muted { color: var(--muted); }
body.nursing .requirements { margin-top: .4rem; padding-left: 1.1rem; }
body.nursing .citations { margin-top: .6rem; }
body.nursing .citations h5 { margin: .25rem 0 .5rem; color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
body.nursing .citation-pair { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 900px) { body.nursing .citation-pair { grid-template-columns: 1fr 1fr; } }
body.nursing .quote-block {
  background: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .65rem .8rem;
}
body.nursing .quote-meta { font-size: .75rem; color: var(--muted); margin-bottom: .4rem; }
body.nursing blockquote { margin: 0; }
body.nursing .footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: .9rem 1.25rem;
  text-align: center;
  max-width: 1180px;
  margin: 1.25rem auto 0;
  font-size: .85rem;
}
@media (max-width: 900px) {
  body.nursing .layout { grid-template-columns: 1fr; }
  body.nursing .sidebar { position: static; max-height: none; border-right: none; border-bottom: 1px solid var(--line); }
}

/* ================= Essay components (0006/0007/0010/0011) ================= */
.blog-article .subtitle {
  margin: -.5rem 0 1.75rem;
  color: var(--muted);
  font-size: 1.12rem;
  font-style: italic;
}
.blog-article .lead { font-size: 1.08rem; }
.blog-article .highlight {
  background: var(--accent-pale);
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  margin: 1.75rem 0;
  border-radius: 0 10px 10px 0;
}
.blog-article .highlight p { margin: 0; }
.blog-article .layer-box {
  background: #f4f6f2;
  padding: .9rem 1.25rem;
  margin: 1rem 0;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.blog-article .layer-box p { margin: 0; }
.blog-article .layer-name { font-weight: 700; color: var(--accent-dark); }
.blog-article .section-break {
  text-align: center;
  color: var(--warm);
  letter-spacing: .6em;
  margin: 2.5rem 0;
}
.blog-article .article-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
