/* ==========================================================
   ailaw.us — slashdot layout × legal cream palette
   ========================================================== */

:root {
  --paper: #fdfcf7;
  --soft-cream: #f0e9d4;
  --ink: #2a2418;
  --maroon: #7a1f1f;
  --maroon-dark: #5a1515;
  --link-blue: #1a3a6a;
  --link-blue-hover: #2a4a8a;
  --muted-tan: #6a5a3a;
  --border-tan: #d4c8a8;
  --dotted: #b8a870;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
}

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

a:hover {
  color: var(--link-blue-hover);
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ---- Header ---- */
.site-header {
  background: var(--maroon);
  color: var(--paper);
  border-bottom: 2px solid var(--maroon-dark);
  padding: 10px 0;
}

.site-header .logo {
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--paper);
}

.site-header .tagline {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  font-style: italic;
  opacity: 0.85;
  margin-left: 8px;
}

/* ---- Nav strip ---- */
.site-nav {
  background: var(--soft-cream);
  border-bottom: 1px solid var(--border-tan);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  padding: 6px 0;
}

.site-nav a {
  color: var(--maroon-dark);
  text-decoration: none;
  margin-right: 4px;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a.active {
  font-weight: bold;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav .right {
  margin-left: auto;  /* pushes this item (and everything after) to the right */
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Main content ---- */
main.wrap {
  padding-top: 16px;
  padding-bottom: 40px;
  min-height: 60vh;
}

.loading {
  color: var(--muted-tan);
  font-style: italic;
  text-align: center;
  padding: 30px 0;
}

/* ---- Story articles ---- */
article.story {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--dotted);
}

article.story:last-child {
  border-bottom: none;
}

.story-title {
  color: var(--link-blue);
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.35;
}

.story-title:hover {
  text-decoration: underline;
}

.story-source {
  color: var(--muted-tan);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  font-weight: normal;
  margin-left: 4px;
}

.story-meta {
  color: var(--muted-tan);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  margin-top: 4px;
}

.story-meta a {
  color: var(--maroon-dark);
  text-decoration: none;
}

.story-meta a:hover {
  text-decoration: underline;
}

.story-summary {
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
  color: #3a3020;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--soft-cream);
  border-top: 1px solid var(--border-tan);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  padding: 10px 0;
  text-align: center;
}

.site-footer a {
  color: var(--maroon-dark);
  text-decoration: none;
  margin: 0 2px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---- Mobile tweaks ---- */
@media (max-width: 520px) {
  .site-nav .right {
    margin-left: 0;
  }
  .site-header .tagline {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .story-title {
    font-size: 15px;
  }
}

/* ==========================================================
   Item detail page
   ========================================================== */

.site-header .logo a {
  color: var(--paper);
  text-decoration: none;
}

.site-header .logo a:hover {
  text-decoration: underline;
}

.post-full {
  margin: 16px 0 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-tan);
}

.post-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--link-blue);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: bold;
}

.post-source {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  margin: 4px 0 10px;
}

.post-source a {
  color: var(--maroon-dark);
  text-decoration: none;
}

.post-source a:hover {
  text-decoration: underline;
}

.post-meta {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  margin-bottom: 2px;
}

.post-summary {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dotted var(--dotted);
}

.breadcrumb {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  margin: 20px 0;
}

.breadcrumb a {
  color: var(--maroon-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Comments section placeholder for Part D */
#comments-section {
  margin-top: 20px;
}

/* ==========================================================
   Auth pages (login / signup)
   ========================================================== */

.page-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: 22px;
  margin: 20px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-tan);
}

.auth-form {
  max-width: 380px;
  margin: 20px 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
}

.auth-form label {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: bold;
}

.auth-form input {
  display: block;
  width: 100%;
  padding: 6px 8px;
  margin-top: 4px;
  border: 1px solid var(--border-tan);
  border-radius: 2px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--maroon);
}

.auth-form small {
  display: block;
  font-weight: normal;
  color: var(--muted-tan);
  font-size: 11px;
  margin-top: 3px;
}

.auth-form button {
  background: var(--maroon);
  color: var(--paper);
  border: none;
  padding: 8px 20px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 2px;
}

.auth-form button:hover {
  background: var(--maroon-dark);
}

.form-message {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-tan);
}

.form-message.error {
  color: var(--maroon-dark);
}

.form-message.success {
  color: #2a6a2a;
}

.auth-switch {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
  margin-top: 20px;
}

.auth-user {
  font-weight: bold;
  color: var(--maroon-dark);
  font-family: Verdana, Geneva, sans-serif;
}

/* ==========================================================
   Comments
   ========================================================== */

.comments-header {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: var(--ink);
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-tan);
}

/* ---- New comment form ---- */
.comment-form {
  margin: 10px 0 20px;
}

.comment-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px;
  border: 1px solid var(--border-tan);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  box-sizing: border-box;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--maroon);
}

.comment-form button {
  background: var(--maroon);
  color: var(--paper);
  border: none;
  padding: 6px 16px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 6px;
}

.comment-form button:hover {
  background: var(--maroon-dark);
}

.comment-form .form-hint {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  margin-top: 4px;
}

.login-nudge {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
  padding: 10px 12px;
  background: var(--soft-cream);
  border: 1px dashed var(--border-tan);
  border-radius: 2px;
  margin: 10px 0 20px;
}

.login-nudge a {
  color: var(--maroon-dark);
}

/* ---- Comment list ---- */
.comment {
  margin: 10px 0;
  padding: 8px 0 8px 0;
}

.comment-meta {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  margin-bottom: 4px;
}

.comment-meta .author {
  font-weight: bold;
  color: var(--maroon-dark);
}

.comment-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.comment-body a {
  color: var(--link-blue);
}

.comment-actions {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  margin-top: 4px;
}

.comment-actions a {
  color: var(--muted-tan);
  text-decoration: none;
  cursor: pointer;
}

.comment-actions a:hover {
  color: var(--maroon-dark);
  text-decoration: underline;
}

/* Nested replies use left border + indent */
.comment-children {
  margin-left: 14px;
  padding-left: 10px;
  border-left: 2px solid var(--border-tan);
}

.comment-deleted {
  color: var(--muted-tan);
  font-style: italic;
  font-size: 13px;
}

/* ==========================================================
   Static pages (about, guidelines)
   ========================================================== */

.static-page {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 680px;
  margin: 0 0 40px;
}

.static-page .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 10px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-tan);
}

.static-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: var(--maroon-dark);
  margin: 28px 0 8px;
  font-weight: bold;
}

.static-page p {
  margin: 0 0 12px;
}

.static-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.static-page ul li {
  margin-bottom: 6px;
}

.static-page a {
  color: var(--link-blue);
}

.static-page strong {
  color: var(--ink);
}

.static-page .disclaimer {
  font-size: 14px;
  padding: 12px 14px;
  background: var(--soft-cream);
  border-left: 3px solid var(--maroon);
  margin: 16px 0;
}

.static-page .updated {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  font-style: italic;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px dotted var(--dotted);
}

/* ==========================================================
   Admin / moderation
   ========================================================== */

.admin-action {
  color: var(--maroon-dark) !important;
  font-weight: bold;
  cursor: pointer;
}

.admin-action:hover {
  text-decoration: underline !important;
}

.story-hidden {
  opacity: 0.55;
}

.hidden-badge {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: var(--maroon);
  font-weight: bold;
  margin-left: 6px;
}

.comment-delete {
  color: var(--muted-tan);
}

.comment-delete:hover {
  color: var(--maroon-dark);
}

/* ==========================================================
   Pagination
   ========================================================== */

.pagination {
  margin: 24px 0;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  color: var(--muted-tan);
}

.pagination a {
  color: var(--maroon-dark);
  text-decoration: none;
  padding: 4px 10px;
  margin: 0 4px;
}

.pagination a:hover {
  text-decoration: underline;
}

.pagination .disabled {
  color: var(--border-tan);
  padding: 4px 10px;
  margin: 0 4px;
  cursor: default;
}

.pagination .page-info {
  margin: 0 10px;
  font-style: italic;
}

/* ==========================================================
   Search box in nav & search page
   ========================================================== */

.site-nav .nav-search {
  margin-left: auto;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-search input {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--border-tan);
  background: #fff;
  color: var(--ink);
  width: 150px;
  border-radius: 2px;
}

.site-nav .nav-search input:focus {
  outline: none;
  border-color: var(--maroon);
}

.search-form {
  margin: 20px 0 24px;
  display: flex;
  gap: 8px;
  max-width: 580px;
}

.search-form input {
  flex: 1;
  padding: 8px 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  border: 1px solid var(--border-tan);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}

.search-form input:focus {
  outline: none;
  border-color: var(--maroon);
}

.search-form button {
  background: var(--maroon);
  color: var(--paper);
  border: none;
  padding: 8px 20px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 2px;
}

.search-form button:hover {
  background: var(--maroon-dark);
}

@media (max-width: 520px) {
  .site-nav .nav-search {
    display: block;
    margin: 4px 0 0;
  }
  .site-nav .nav-search input {
    width: 100%;
  }
}

.edited-tag {
  font-style: italic;
  color: var(--muted-tan);
}

/* ==========================================================
   Secondary nav row (jurisdiction filter)
   ========================================================== */

.sub-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--border-tan);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  padding: 5px 0;
}

.sub-nav a {
  color: var(--muted-tan);
  text-decoration: none;
  margin-right: 16px;
}

.sub-nav a:hover {
  color: var(--maroon-dark);
}

.sub-nav a.active {
  color: var(--maroon-dark);
  font-weight: bold;
}

/* ==========================================================
   Clickable jurisdictions + filter breadcrumb
   ========================================================== */

.jur-link {
  color: var(--muted-tan);
  text-decoration: none;
}

.jur-link:hover {
  color: var(--maroon-dark);
  text-decoration: underline;
}

.filter-breadcrumb {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
  padding: 8px 0;
  margin-bottom: 8px;
  border-bottom: 1px dotted var(--dotted);
}

.filter-breadcrumb:empty {
  display: none;
}

.filter-breadcrumb strong {
  color: var(--maroon-dark);
}

.filter-breadcrumb a {
  color: var(--maroon-dark);
  text-decoration: none;
  margin-left: 8px;
}

.filter-breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================
   Issues
   ========================================================== */

.page-intro {
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--dotted);
  margin-bottom: 16px;
}

.page-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  margin: 0 0 8px 0;
  color: var(--ink);
}

.page-intro p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  max-width: 720px;
}

.issue-card {
  padding: 14px 0;
  border-bottom: 1px dotted var(--dotted);
}

.issue-card:last-child {
  border-bottom: none;
}

.issue-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin: 0 0 6px 0;
}

.issue-title a {
  color: var(--link-blue);
  text-decoration: none;
}

.issue-title a:hover {
  text-decoration: underline;
}

.issue-description {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 4px 0;
  line-height: 1.5;
  max-width: 720px;
}

.issue-meta {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
}

.issue-page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  margin: 0 0 10px 0;
  color: var(--ink);
}

.issue-page-description {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: var(--ink);
  max-width: 720px;
  margin: 0 0 8px 0;
  line-height: 1.55;
}

.issue-page-meta {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dotted);
}

.issue-posts .story {
  padding: 12px 0;
  border-bottom: 1px dotted var(--dotted);
}

/* ==========================================================
   Featured issue block (homepage)
   ========================================================== */

#featured-issue:empty {
  display: none;
}

.featured-issue {
  border: 2px solid var(--maroon-dark);
  background: #fbf7e8;
  padding: 14px 18px 14px 18px;
  margin: 12px 0 20px 0;
  position: relative;
}

.featured-label {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--maroon-dark);
  margin-bottom: 6px;
}

.featured-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: bold;
  color: var(--link-blue);
  text-decoration: none;
  margin-bottom: 6px;
}

.featured-title:hover {
  text-decoration: underline;
}

.featured-description {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 8px 0;
  max-width: 720px;
}

.featured-cta {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--maroon-dark);
  text-decoration: none;
}

.featured-cta:hover {
  text-decoration: underline;
}

/* ==========================================================
   Compose page (editor's note editor)
   ========================================================== */

.compose-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 0 40px;
}

.compose-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  margin: 0 0 6px 0;
}

.compose-intro {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  color: var(--muted-tan);
  margin: 0 0 20px 0;
}

.compose-warning {
  border: 1px dashed var(--muted-tan);
  padding: 12px 14px;
  margin: 20px 0;
  background: #faf6e8;
}

.compose-form label {
  display: block;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
  margin: 14px 0 4px;
  color: var(--ink);
}

.compose-form input[type="text"],
.compose-form input[type="url"],
.compose-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #c6b8a5;
  background: #fffdf5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  box-sizing: border-box;
}

.compose-form textarea {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  resize: vertical;
}

.compose-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compose-actions button {
  background: var(--maroon-dark);
  color: var(--paper);
  border: none;
  padding: 8px 18px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.compose-actions button:hover { background: #5c1616; }
.compose-actions button:disabled { opacity: 0.5; cursor: not-allowed; }

#compose-status {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
}

/* ==========================================================
   Editor's note badge (feed + detail pages)
   ========================================================== */

.editor-badge {
  display: inline-block;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--paper);
  background: var(--maroon-dark);
  padding: 2px 6px;
  margin-right: 6px;
  vertical-align: middle;
}

.editor-byline {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--muted-tan);
  font-style: italic;
  margin-bottom: 14px;
}

.editor-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 680px;
}

.editor-body p { margin: 0 0 16px 0; }
.editor-body strong { font-weight: bold; }
.editor-body em { font-style: italic; }

/* Editor's note: italic "lead" paragraph for the summary */
.editor-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.85;
  margin: 4px 0 20px 0;
  max-width: 680px;
  padding-bottom: 14px;
  border-bottom: 1px dotted var(--dotted);
}

/* ==========================================================
   Homepage intro blurb
   ========================================================== */

.site-intro {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.75;
  max-width: 720px;
  padding: 10px 0 14px 0;
}

/* ==========================================================
   Last-updated indicator (footer)
   ========================================================== */

.last-updated {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  font-style: italic;
  color: var(--muted-tan);
  opacity: 0.8;
}

.last-updated:empty {
  display: none;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-links {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
}

.footer-links a {
  color: var(--muted-tan);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ==========================================================
   Homepage 4-section grid
   ========================================================== */

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 16px;
}

@media (max-width: 700px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

.home-section {
  border-top: 3px solid var(--maroon-dark);
  padding-top: 10px;
}

.section-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-family: Verdana, Geneva, sans-serif;
  color: var(--maroon-dark);
}

.section-heading a {
  color: var(--maroon-dark);
  text-decoration: none;
}

.section-heading a:hover {
  text-decoration: underline;
}

.section-item {
  padding: 6px 0;
  border-bottom: 1px dotted var(--dotted);
  line-height: 1.4;
}

.section-item:last-child {
  border-bottom: none;
}

.section-item-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  color: var(--link-blue);
  text-decoration: none;
  font-weight: bold;
}

.section-item-title:hover {
  text-decoration: underline;
}

.section-item-source {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  margin-left: 4px;
}

.section-item-meta {
  display: block;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: var(--muted-tan);
  margin-top: 2px;
}

.section-more {
  display: inline-block;
  margin-top: 10px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--maroon-dark);
  text-decoration: none;
}

.section-more:hover {
  text-decoration: underline;
}

.write-link {
  display: inline-block;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: var(--maroon-dark);
  text-decoration: none;
  margin-bottom: 12px;
}

.write-link:hover {
  text-decoration: underline;
}

/* ==========================================================
   Updated pagination with page numbers
   ========================================================== */

.page-current {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: var(--maroon-dark);
  margin: 0 4px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-bar select {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #c6b8a5;
  background: #fffdf5;
}

.filter-bar label {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: #7a6b5a;
}