/* ls_site.css — sitewide base + injected furniture (head),
   extracted from the identical inline blocks every page carried
   (ChaosToOrder CO-3, 2026-08-08). */
    @font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 100 900;
        font-display: optional;
        src: url(/assets/fonts/inter-roman.woff2) format("woff2");
        unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }
        :root {
            --background-color: #ffffff
        }
    
.gh-post-upgrade-cta-content,
.gh-post-upgrade-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
}

.gh-post-upgrade-cta-content {
    border-radius: 8px;
    padding: 40px 4vw;
}

.gh-post-upgrade-cta h2 {
    color: #ffffff;
    font-size: 28px;
    letter-spacing: -0.2px;
    margin: 0;
    padding: 0;
}

.gh-post-upgrade-cta p {
    margin: 20px 0 0;
    padding: 0;
}

.gh-post-upgrade-cta small {
    font-size: 16px;
    letter-spacing: -0.2px;
}

.gh-post-upgrade-cta a {
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    box-shadow: none;
    text-decoration: underline;
}

.gh-post-upgrade-cta a:hover {
    color: #ffffff;
    opacity: 0.8;
    box-shadow: none;
    text-decoration: underline;
}

.gh-post-upgrade-cta a.gh-btn {
    display: block;
    background: #ffffff;
    text-decoration: none;
    margin: 28px 0 0;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

.gh-post-upgrade-cta a.gh-btn:hover {
    opacity: 0.92;
}
:root {--ghost-accent-color: #1F3A5F;}
  /* Remove Ghost Portal's "Powered by Ghost" badge (signup/signin modal) */
  .gh-portal-powered {
    display: none !important;
  }

  /* ───────────── GRID LAYOUT for /states/ and /topics/ index pages ───────────── */
  .states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 32px 0;
  }
  .states-grid a {
    display: block;
    padding: 20px 24px;
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    color: #1F3A5F !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.15s ease;
  }
  .states-grid a:hover {
    background: #1F3A5F !important;
    color: #ffffff !important;
    border-color: #1F3A5F !important;
    opacity: 1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 58, 95, 0.18);
  }
  .states-grid .coming-soon {
    display: block;
    padding: 20px 24px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 6px;
    text-align: center;
    color: #9ca3af;
    font-weight: 500;
    font-size: 16px;
    font-style: italic;
    cursor: not-allowed;
  }
  @media (max-width: 768px) { .states-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .states-grid { grid-template-columns: 1fr; } }

  /* ───────────── HEADING STYLES ───────────── */
  h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
  }
  h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
  }
  h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* Metadata blocks */
  p:has(> :first-child:contains("[Status:")),
  p:has(> :first-child:contains("[Agency:")),
  p:has(> :first-child:contains("[Court:")) {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  /* ───────────── SECTION 4 CARDS: bills, cases, regs ───────────── */
  .bill-card, .case-card, .reg-card {
    background: #fff;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05) !important;
    margin: 2.5rem 0;
    font-family: inherit;
  }
  .bill-card-header, .case-card-header, .reg-card-header {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
  }
  .bill-card-header { background: #1F3A5F; }
  .case-card-header { background: #962936; }
  .reg-card-header  { background: #4B5563; }

  .bill-status, .bill-verified,
  .case-status, .case-verified,
  .reg-status,  .reg-verified {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .bill-status-dot, .case-status-dot, .reg-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: #9CA3AF;
  }
  .bill-status-dot.dot-pending,
  .case-status-dot.dot-pending,
  .reg-status-dot.dot-pending    { background: #F2C94C; }
  .bill-status-dot.dot-postponed,
  .case-status-dot.dot-postponed,
  .reg-status-dot.dot-superseded { background: #9CA3AF; }
  .bill-status-dot.dot-signed,
  .case-status-dot.dot-final,
  .reg-status-dot.dot-current    { background: #34D399; }

  .bill-status-label, .bill-verified-label,
  .case-status-label, .case-verified-label,
  .reg-status-label,  .reg-verified-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
  }
  .bill-status-value, .bill-verified-value,
  .case-status-value, .case-verified-value,
  .reg-status-value,  .reg-verified-value {
    font-weight: 700;
    color: #fff;
  }
  .bill-verified-icon, .case-verified-icon, .reg-verified-icon {
    opacity: 0.65;
    margin-right: 0.15rem;
  }

  .bill-card-accent { height: 3px; background: #B23A48; }
  .case-card-accent { height: 3px; background: #1F3A5F; }
  .reg-card-accent  { height: 3px; background: #9CA3AF; }

  .bill-card-body, .case-card-body, .reg-card-body {
    padding: 2rem;
    background: #fff;
  }
  .bill-card-top, .case-card-top, .reg-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .bill-docket-block, .case-docket-block, .reg-docket-block {
    flex: 1;
    min-width: 240px;
  }
  .bill-docket-label, .case-docket-label, .reg-docket-label {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #6B7280;
    font-weight: 700;
    margin-bottom: 0.3rem;
  }
  .bill-docket-id, .case-docket-id, .reg-docket-id {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
  }
  .bill-docket-id { color: #1F3A5F; line-height: 1.2; }
  .case-docket-id { color: #962936; }
  .reg-docket-id  { color: #374151; }

  .bill-docket-session, .case-docket-session {
    color: #6B7280;
    font-weight: 500;
    font-size: 1.05rem;
  }
  .case-subtitle, .reg-subtitle {
    color: #6B7280;
    font-size: 1rem;
    margin-top: 0.45rem;
    line-height: 1.4;
  }
  .case-subtitle { font-style: italic; }

  .bill-side-boxes, .case-side-boxes, .reg-side-boxes {
    display: flex;
    gap: 0.6rem;
  }
  .bill-side-box, .case-side-box, .reg-side-box {
    background: #F5EFE6;
    padding: 0.7rem 1.1rem;
    border-radius: 4px;
    min-width: 92px;
  }
  .bill-side-label, .case-side-label, .reg-side-label {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: #6B7280;
    font-weight: 700;
  }
  .bill-side-value, .case-side-value, .reg-side-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D0D0D;
    margin-top: 0.2rem;
  }

  .bill-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0D0D0D;
    margin: 1.4rem 0 0 0;
  }
  .bill-divider, .case-divider, .reg-divider {
    border: 0;
    border-top: 1px solid #E5E7EB;
    margin: 1.6rem 0;
  }

  .bill-section-label, .case-section-label, .reg-section-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 0.85rem;
  }
  .bill-section-label { color: #B23A48; }
  .case-section-label { color: #1F3A5F; }
  .reg-section-label  { color: #4B5563; }

  .bill-synopsis, .case-synopsis, .reg-synopsis {
    font-size: 1.25rem;
    line-height: 1.65;
    color: #0D0D0D;
    margin: 0 0 2.25rem 0;
  }

  .bill-footnote-ref, .case-footnote-ref, .reg-footnote-ref {
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85em;
    padding: 0 0.2rem;
    margin-left: 0.1rem;
  }
  .bill-footnote-ref { color: #B23A48; }
  .case-footnote-ref { color: #1F3A5F; }
  .reg-footnote-ref  { color: #4B5563; }
  .bill-footnote-ref:hover,
  .case-footnote-ref:hover,
  .reg-footnote-ref:hover { text-decoration: underline; }

  .bill-impact-title, .case-impact-title, .reg-impact-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #0D0D0D;
    line-height: 1.3;
  }
  .bill-impact-table, .case-impact-table, .reg-impact-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
  }
  .bill-impact-table tbody tr,
  .case-impact-table tbody tr,
  .reg-impact-table tbody tr { background: #F5EFE6; }
  .bill-impact-table tbody td,
  .case-impact-table tbody td,
  .reg-impact-table tbody td {
    padding: 1.25rem 1.4rem;
    vertical-align: top;
    line-height: 1.6;
    font-size: 1.15rem;
    color: #0D0D0D;
  }
  .bill-impact-table tbody td.bill-impact-role,
  .case-impact-table tbody td.case-impact-role,
  .reg-impact-table tbody td.reg-impact-role {
    width: 30%;
    font-weight: 700;
    white-space: nowrap;
  }
  .bill-impact-table tbody td.bill-impact-role { color: #1F3A5F; }
  .case-impact-table tbody td.case-impact-role { color: #962936; }
  .reg-impact-table  tbody td.reg-impact-role  { color: #4B5563; }
  .bill-impact-table tbody td.bill-impact-role::before { content: "◆ "; color: #1F3A5F; margin-right: 0.25rem; }
  .case-impact-table tbody td.case-impact-role::before { content: "◆ "; color: #962936; margin-right: 0.25rem; }
  .reg-impact-table  tbody td.reg-impact-role::before  { content: "◆ "; color: #4B5563; margin-right: 0.25rem; }

  .bill-highlight, .case-highlight, .reg-highlight {
    background: #FFF3C4;
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
    font-weight: 600;
  }

  @media (max-width: 700px) {
    .bill-card-body, .case-card-body, .reg-card-body { padding: 1.25rem; }
    .bill-card-top, .case-card-top, .reg-card-top { flex-direction: column; align-items: stretch; }
    .bill-side-boxes, .case-side-boxes, .reg-side-boxes { width: 100%; }
    .bill-title { font-size: 1.45rem; }
    .case-docket-id, .reg-docket-id { font-size: 1.2rem; }
    .bill-synopsis, .case-synopsis, .reg-synopsis { font-size: 1.1rem; }
    .bill-impact-title, .case-impact-title, .reg-impact-title { font-size: 1.35rem; }
    .bill-impact-table tbody td,
    .case-impact-table tbody td,
    .reg-impact-table  tbody td { font-size: 1.02rem; padding: 1rem 1.1rem; }
    .bill-impact-table tbody td.bill-impact-role,
    .case-impact-table tbody td.case-impact-role,
    .reg-impact-table  tbody td.reg-impact-role { width: 38%; white-space: normal; }
    .bill-card-header, .case-card-header, .reg-card-header { padding: 0.85rem 1rem; font-size: 0.88rem; }
  }

  /* ───────────── SECTION 3 COMPLIANCE TOPICS ───────────── */
  .topics-groups {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .topics-section { display: block; }
  .topics-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
  }
  .topics-section-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
  }
  .topics-section-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
  }
  .topics-section-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    margin-left: 4px;
  }

  .cat-governance-dot   { background: #1F3A5F; }
  .cat-finance-dot      { background: #962936; }
  .cat-property-dot     { background: #A6543D; }
  .cat-resident-dot     { background: #7A6B2E; }
  .cat-safety-dot       { background: #3F6770; }
  .cat-transactions-dot { background: #6B4561; }

  .topics-section:nth-of-type(1) .topics-section-label { color: #1F3A5F; }
  .topics-section:nth-of-type(2) .topics-section-label { color: #962936; }
  .topics-section:nth-of-type(3) .topics-section-label { color: #A6543D; }
  .topics-section:nth-of-type(4) .topics-section-label { color: #7A6B2E; }
  .topics-section:nth-of-type(5) .topics-section-label { color: #3F6770; }
  .topics-section:nth-of-type(6) .topics-section-label { color: #6B4561; }

  .topics-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  @media (max-width: 900px) { .topics-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .topics-grid-v2 { grid-template-columns: 1fr; } }

  .topic-card {
    display: block;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none !important;
    color: inherit !important;
    opacity: 1 !important;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s, background 0.18s;
  }
  .topic-card:hover {
    background: #1F3A5F !important;
    border-color: #1F3A5F !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05) !important;
    transform: translateY(-1px);
    opacity: 1 !important;
  }
  .topic-card:hover .topic-title { color: #fff !important; }
  .topic-card:hover .topic-cat   { color: rgba(255,255,255,0.78) !important; }
  .topic-card:hover .topic-icon  {
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
  }

  .topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    margin-bottom: 14px;
  }
  .topic-icon svg { width: 18px; height: 18px; }

  .topic-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0D0D0D;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .topic-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .topic-card.cat-governance   .topic-icon { background: rgba(31,58,95,0.10);  color: #1F3A5F; }
  .topic-card.cat-governance   .topic-cat  { color: #1F3A5F; }
  .topic-card.cat-finance      .topic-icon { background: rgba(150,41,54,0.10); color: #962936; }
  .topic-card.cat-finance      .topic-cat  { color: #962936; }
  .topic-card.cat-property     .topic-icon { background: rgba(166,84,61,0.12); color: #A6543D; }
  .topic-card.cat-property     .topic-cat  { color: #A6543D; }
  .topic-card.cat-resident     .topic-icon { background: rgba(122,107,46,0.14); color: #7A6B2E; }
  .topic-card.cat-resident     .topic-cat  { color: #7A6B2E; }
  .topic-card.cat-safety       .topic-icon { background: rgba(63,103,112,0.14); color: #3F6770; }
  .topic-card.cat-safety       .topic-cat  { color: #3F6770; }
  .topic-card.cat-transactions .topic-icon { background: rgba(107,69,97,0.13); color: #6B4561; }
  .topic-card.cat-transactions .topic-cat  { color: #6B4561; }

  .topic-card.coming-soon {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* ───────────── INLINE COMING-SOON (for prose links in .gh-content) ───────────── */
  .gh-content .coming-soon {
    color: #9ca3af;
    font-style: italic;
    cursor: not-allowed;
  }

/* ───────────── "LAST UPDATED" DOT PULSES (owner-directed, 2026-08-17) ─────────────
   The ticker's Last Updated dot gets the same ripple the homepage's Live
   Activity dot has — thin gold concentric rings, identical timing.

   It lives HERE, in the sitewide base, because the ticker reaches readers in
   two shapes and one rule covers both: the homepage and /latest/ build the
   strip into their own markup (.hw-ticker), while every other page receives
   it at view time through the runtime mirror (.hw-ticker-mirror). The
   mirror's CSS is otherwise duplicated across four family stylesheets AND 53
   inline blocks on the old-design stragglers, so styling it per-family would
   mean 58 copies of this one effect.

   Only pseudo-elements are painted, and `position` is a property no other
   .hw-dot rule sets, so nothing here competes with the family sheets' own
   .hw-dot definitions regardless of load order.

   @keyframes hw-pulse is redefined here (identically) because ls_homepage.css
   and ls_latest.css each carry their own copy and the other families carry
   none — the name is deliberately shared so both dots stay one animation. */
.hw-ticker .hw-dot,
.hw-ticker-mirror .hw-dot { position: relative; }
.hw-ticker .hw-dot::before,
.hw-ticker .hw-dot::after,
.hw-ticker-mirror .hw-dot::before,
.hw-ticker-mirror .hw-dot::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(172, 125, 70, 0.6);
  animation: hw-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.hw-ticker .hw-dot::after,
.hw-ticker-mirror .hw-dot::after { animation-delay: 1.3s; }
@keyframes hw-pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(3.4); opacity: 0.25; }
  100% { transform: scale(4.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-ticker .hw-dot::before,
  .hw-ticker .hw-dot::after,
  .hw-ticker-mirror .hw-dot::before,
  .hw-ticker-mirror .hw-dot::after { animation: none; display: none; }
}
