/* ============================================================
   CounselBrief — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Variables ── */
:root {
  --navy:      #1a1a2e;
  --navy-mid:  #16213e;
  --navy-light:#0f3460;
  --gold:      #c9a84c;
  --gold-light:#e2c170;
  --gold-pale: #f5e9c9;
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --text:      #1e1e2e;
  --text-muted:#64647a;
  --border:    #e2e0d8;
  --sidebar-w: 260px;
  --header-h:  64px;
  --radius:    6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.12);
  --transition: 200ms ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; }

p { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: .35rem; }

/* ── Password Gate ── */
#password-gate {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 2rem;
}

#password-gate .gate-logo {
  text-align: center;
}

#password-gate .gate-logo .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: .05em;
}

#password-gate .gate-logo .tagline {
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: .25rem;
}

#password-gate form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

#password-gate input[type="password"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  text-align: center;
  letter-spacing: .1em;
  outline: none;
  transition: border-color var(--transition);
}

#password-gate input[type="password"]:focus {
  border-color: var(--gold);
}

#password-gate button {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition);
}

#password-gate button:hover { background: var(--gold-light); }

#password-gate .gate-error {
  color: #ff6b6b;
  font-size: .85rem;
  min-height: 1.2em;
  text-align: center;
}

#site-content { display: none; }
body.unlocked #password-gate { display: none; }
body.unlocked #site-content { display: grid; }

/* ── Layout Shell ── */
#site-content {
  display: grid;
  grid-template-rows: var(--header-h) 1fr;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-areas:
    "header header"
    "sidebar main";
  min-height: 100vh;
}

/* ── Header ── */
.site-header {
  grid-area: header;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.header-logo {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  text-decoration: none;
}

.header-logo .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: .03em;
}

.header-logo .edition {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

.header-search {
  flex: 1;
  max-width: 420px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  color: var(--white);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus { border-color: var(--gold); }

.header-date {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .05em;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ── Sidebar ── */
.site-sidebar {
  grid-area: sidebar;
  background: var(--navy-mid);
  border-right: 1px solid rgba(255,255,255,.06);
  height: calc(100vh - var(--header-h));
  position: sticky;
  top: var(--header-h);
  overflow-y: auto;
  padding: 1.5rem 0;
}

.site-sidebar::-webkit-scrollbar { width: 4px; }
.site-sidebar::-webkit-scrollbar-track { background: transparent; }
.site-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 0 1.25rem .5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.25rem;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  font-weight: 400;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
  line-height: 1.3;
}

.nav-item:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}

.nav-item.active {
  background: rgba(201,168,76,.1);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 500;
}

.nav-item .nav-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
}

/* ── Main Content ── */
.site-main {
  grid-area: main;
  padding: 2rem 2.5rem;
  max-width: 1200px;
}

/* ── Page Header ── */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
}

.page-header h1 {
  font-size: 1.875rem;
  color: var(--navy);
  margin-bottom: .4rem;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: .95rem;
}

.page-header .breadcrumb {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.page-header .breadcrumb a { color: var(--text-muted); }
.page-header .breadcrumb a:hover { color: var(--gold); }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-header h2, .card-header h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.card-header .see-all {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── Alert Cards ── */
.alert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
  border-left: 4px solid var(--gold-pale);
}

.alert-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}

.alert-card + .alert-card { margin-top: .75rem; }

.alert-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.alert-firm {
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.alert-date {
  font-size: .75rem;
  color: var(--text-muted);
}

.alert-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.tag {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 500;
  background: var(--gold-pale);
  color: var(--navy);
  white-space: nowrap;
}

.tag.topic-corp-gov    { background: #e8f0fe; color: #1a3a8f; }
.tag.topic-securities  { background: #fce8e8; color: #8f1a1a; }
.tag.topic-capital     { background: #e8f4e8; color: #1a5c1a; }
.tag.topic-ma          { background: #f4e8fe; color: #5c1a8f; }
.tag.topic-employment  { background: #fff8e8; color: #8f6a1a; }
.tag.topic-litigation  { background: #e8fef8; color: #1a6a5c; }
.tag.topic-ip          { background: #fee8f4; color: #8f1a6a; }
.tag.topic-privacy     { background: #e8f8fe; color: #1a5c8f; }
.tag.topic-regulatory  { background: #f4fee8; color: #4a8f1a; }
.tag.topic-contracts   { background: #fef4e8; color: #8f4a1a; }
.tag.topic-insurance   { background: #e8e8fe; color: #3a1a8f; }
.tag.topic-ethics      { background: #fee8e8; color: #8f2a2a; }

.alert-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
  line-height: 1.4;
}

.alert-title a { color: inherit; }
.alert-title a:hover { color: var(--gold); }

.alert-excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Dashboard Grid ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.topic-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.topic-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.topic-tile .tile-icon { display: flex; align-items: center; color: var(--gold); }

.topic-tile .tile-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.topic-tile .tile-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Topic Page Sections ── */
.section { margin-bottom: 2.5rem; }

.section-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold-pale);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--gold);
  border-radius: 2px;
}

.primer-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
}

.primer-box p + p { margin-top: .75rem; }

/* ── Checklist ── */
.checklist-note {
  font-size: .78rem;
  color: var(--text-muted, #888);
  font-style: italic;
  margin-bottom: .5rem;
  letter-spacing: .01em;
}

.checklist {
  list-style: none;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.checklist li,
.checklist li a {
  cursor: default;
  pointer-events: none;
  text-decoration: none !important;
  color: var(--text-muted, #666) !important;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 1.25rem .65rem 1rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--border);
  font-size: .875rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: '–';
  color: var(--text-muted, #999);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ── Resources ── */
.resources-list {
  list-style: none;
  padding: 0;
}

.resources-list li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.resources-list li:last-child { border-bottom: none; }

.resources-list a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  border-radius: var(--radius);
}

.resources-list li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.resources-list li:last-child a { border-radius: 0 0 var(--radius) var(--radius); }

.resources-list a:hover {
  background: var(--gold-pale);
  color: var(--navy);
}

.resources-list a::before { content: '↗'; color: var(--gold); font-size: .85rem; }

/* ── Alerts Page Filters ── */
.filters-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.filter-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.filter-group select {
  padding: .35rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.filter-group select:focus { border-color: var(--gold); }

.filter-count {
  margin-left: auto;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Accordion (Checklists) ── */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-header {
  background: var(--white);
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  user-select: none;
  transition: background var(--transition);
}

.accordion-header:hover { background: var(--off-white); }

.accordion-arrow {
  font-size: .8rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.accordion-header.open .accordion-arrow { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.accordion-body.open { display: block; }

.accordion-body .checklist {
  border: none;
  border-radius: 0;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-card .stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── About Page ── */
.about-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #site-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main";
  }

  .site-sidebar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: var(--sidebar-w);
    height: calc(100vh - var(--header-h));
    z-index: 200;
    transform: translateX(-100%);
    transition: transform var(--transition);
    grid-area: unset;
  }

  .site-sidebar.open { transform: translateX(0); }

  .menu-toggle { display: flex; }

  .dashboard-grid { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .site-main { padding: 1.5rem 1.25rem; }
}

@media (max-width: 500px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .header-date { display: none; }
  .header-search { display: none; }
}

/* ── News Feed Layout ── */
.practice-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.practice-tabs::-webkit-scrollbar { display: none; }

.practice-tab {
  padding: .6rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.practice-tab:hover { color: var(--text); }
.practice-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.newsfeed-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.newsfeed-search-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .4rem .75rem;
}

.newsfeed-search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-size: .875rem;
  font-family: inherit;
  color: var(--text);
  width: 100%;
}
.newsfeed-search-wrap input::placeholder { color: var(--text-muted); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
  #news-sidebar { order: -1; }
  .sidebar-widget { margin-bottom: .75rem; }
  .sidebar-widget.collapsible .sidebar-widget-body { display: none; }
  .sidebar-widget.collapsible.open .sidebar-widget-body { display: block; }
  .sidebar-widget h3 { cursor: pointer; }
  .sidebar-widget h3::after { content: ' ▾'; font-size: .65rem; }
  .sidebar-widget.open h3::after { content: ' ▴'; }
}

/* Lead story */
.lead-story {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.lead-story:hover { box-shadow: var(--shadow-md); }

.lead-story-kicker {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .4rem;
}

.lead-story .alert-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.35;
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
}

.lead-story .alert-title a {
  color: inherit;
  text-decoration: none;
}
.lead-story .alert-title a:hover { color: var(--gold); }

.lead-story .alert-excerpt {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.lead-story .alert-meta { margin-bottom: .6rem; }

/* News section header */
.news-section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.news-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.news-section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Top stories compact card */
.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
  border-left: 3px solid var(--gold-pale);
}
.story-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}
.story-card .story-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .3rem;
}
.story-card .story-title a { color: inherit; text-decoration: none; }
.story-card .story-title a:hover { color: var(--gold); }
.story-card .story-excerpt {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: .4rem;
}
.story-card .story-meta {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
}
.story-meta .alert-firm { font-size: .72rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.story-meta .alert-date { font-size: .72rem; color: var(--text-muted); }
.story-meta .alert-tags { margin-left: auto; }
.story-meta .tag { font-size: .65rem; padding: .1rem .45rem; }

/* Load more */
.load-more-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1.5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.load-more-btn:hover {
  background: var(--gold-pale);
  color: var(--navy);
  border-color: var(--gold);
}

/* Sidebar widgets */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.sidebar-widget h3 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin: 0 0 .75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.headline-list { list-style: none; padding: 0; margin: 0; }
.headline-list li {
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  line-height: 1.4;
}
.headline-list li:last-child { border-bottom: none; }
.headline-list a { color: var(--text); text-decoration: none; }
.headline-list a:hover { color: var(--gold); }
.headline-list .hl-date { font-size: .68rem; color: var(--text-muted); display: block; margin-top: .1rem; }

/* Sidebar filter list (practice area / firm) */
.sidebar-filter-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.sidebar-filter-list a {
  color: var(--text);
  text-decoration: none;
  font-size: .82rem;
  flex: 1;
}
.sidebar-filter-list a:hover { color: var(--gold); }
.sidebar-filter-list .sf-count {
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--off-white);
  border-radius: 10px;
  padding: .05rem .4rem;
  flex-shrink: 0;
}

/* Dashboard Latest Headlines widget */
.dash-headlines-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.dash-headlines-widget .dh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.dash-headlines-widget h2 {
  font-size: 1.1rem;
  color: var(--navy);
}
.dash-headlines-widget .see-all {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
}
.dash-headlines-widget .see-all:hover { text-decoration: underline; }

/* Header search dropdown */
.header-search { position: relative; }
.header-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 500;
  overflow: hidden;
}
.header-search-dropdown.open { display: block; }
.hsd-item {
  display: block;
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition);
}
.hsd-item:last-child { border-bottom: none; }
.hsd-item:hover { background: var(--off-white); }
.hsd-title { font-size: .85rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.hsd-meta { font-size: .72rem; color: var(--text-muted); margin-top: .15rem; }

/* ── Utilities ── */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }

.text-muted { color: var(--text-muted); }
.text-gold  { color: var(--gold); }
.text-sm    { font-size: .875rem; }

.badge {
  display: inline-block;
  padding: .1rem .5rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.new-badge {
  display: inline-block;
  padding: .1rem .45rem;
  background: #e53935;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: .04em;
  vertical-align: middle;
  margin-left: .3rem;
}
