    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

    :root {
      /* ── Core neutrals ── */
      --forest: #21443C;
      --forest-soft: #486A62;
      --forest-deep: #21443C;
      --cream: #FAF7F2;
      --ivory: #FFFDFC;
      --sand: #F4EFE7;
      --line: #D9D1C4;

      /* ── Entity accents ── */
      --telluride-green: #3F6A61;
      --telluride-light: #E7F0EC;
      --county-green: #5B7350;
      --county-light: #EEF2EA;
      --smart-orange: #8A7356;
      --smart-light: #F3EEE7;
      --mv-plum: #6E5D73;
      --mv-light: #F0ECF3;
      --school-navy: #51697C;
      --school-light: #EBF1F5;
      --fire-red: #9A6652;
      --fire-light: #F4EAE6;
      --med-teal: #4E7972;
      --med-light: #EAF3F1;
      --norwood-gold: #8A7850;
      --norwood-light: #F3EFE3;
      --ophir-slate: #5A6B74;
      --ophir-light: #EAF0F3;
      --airport-sky: #5D7E8E;
      --airport-light: #EDF3F6;
      --ttimes-charcoal: #59605E;
      --ttimes-light: #EEF1F0;
      --koto-blue: #1A5276;
      --koto-light: #E8F0F6;
      --wilkinson-teal: #4AAFB0;
      --wilkinson-navy: #1B2A4A;
      --wilkinson-light: #E6F5F5;

      /* ── Shared brand accents ── */
      --accent-red: #9A6652;
      --accent-amber: #8B7250;
      --accent-rust: #9A6652;
      --ochre-700: #8B7250;
      --slate-700: #5E6D76;

      /* ── Surfaces & text ── */
      --bg: #FAF7F2;
      --card-bg: #FFFDFC;
      --text-primary: #24312E;
      --text-main: #24312E;
      --text-secondary: #4B5A56;
      --text-muted: #7C8782;
      --border: #D9D1C4;
      --border-color: #D9D1C4;
      --shadow: 0 14px 36px rgba(36, 49, 46, 0.08);
      --shadow-soft: 0 6px 18px rgba(36, 49, 46, 0.06);
      --radius: 24px;

      /* ── Functional aliases ── */
      --accent: #8B7250;
      --accent-green: #486A62;
      --dark-forest: #1A332C;
      --font-heading: 'Inter', sans-serif;
      --font-body: 'Inter', sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    /* ── Site Header (primary navigation) ── */
    .site-header-wrap {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,253,252,0.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line);
    }
    .site-header {
      display: flex;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 8px 24px;
      gap: 10px;
    }
    /* Google Translate widget — pinned right, collapses inward on resize */
    .site-header-translate {
      position: fixed;
      right: 16px;
      top: 12px;
      z-index: 200;
      flex-shrink: 0;
    }
    .site-header-translate .goog-te-gadget { font-family: 'Inter', sans-serif !important; font-size: 0 !important; }
    .site-header-translate .goog-te-gadget .goog-te-combo {
      font-family: 'Inter', sans-serif; font-size: 0.82rem;
      padding: 5px 8px; border: 1.5px solid var(--line); border-radius: 6px;
      background: #fff; color: var(--forest); cursor: pointer; outline: none;
    }
    .site-header-translate .goog-te-gadget .goog-te-combo:hover { border-color: var(--forest); }
    @media (max-width: 768px) {
      .site-header-translate { right: 8px; top: 8px; }
      .site-header-translate .goog-te-gadget .goog-te-combo { font-size: 0.72rem; padding: 3px 5px; }
    }
    @media (max-width: 480px) {
      .site-header-translate { right: 4px; top: 6px; }
      .site-header-translate .goog-te-gadget .goog-te-combo { font-size: 0.68rem; padding: 2px 4px; max-width: 100px; }
    }
    .goog-te-banner-frame, #goog-gt-tt { display: none !important; }
    body { top: 0 !important; }
    .site-header-logo {
      flex-shrink: 0;
    }
    .site-header-logo img {
      height: 120px;
      width: auto;
      display: block;
    }
    .site-header-nav {
      display: flex;
      align-items: center;
      gap: 2px;
      flex: 1;
      min-width: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .site-header-nav::-webkit-scrollbar { display: none; }
    .site-header-nav .tab-btn {
      padding: 10px 14px;
      font-size: 1.32rem;
      border-bottom-width: 2px;
    }
    .site-header-divider {
      display: none;
    }

    /* ── Gov Hub Hero Banner ── */
    .govhub-hero {
      position: relative;
      width: 100%;
      height: 390px;
      overflow: hidden;
      background: linear-gradient(135deg, #1a3a4a 0%, #2d5a3d 40%, #c4713b 80%, #d4845a 100%);
    }
    .govhub-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 70%;
      display: block;
    }
    .govhub-hero-overlay {
      display: none;
    }
    .govhub-hero-text {
      position: absolute;
      top: 50%; left: 0;
      transform: translateY(-50%);
      max-width: 480px;
      padding: 28px 40px 28px 36px;
      margin-left: max(36px, calc((100% - 1200px)/2 + 36px));
      background: rgba(33,68,60,0.82);
      border-left: 4px solid var(--forest);
      border-radius: 0 14px 14px 0;
    }
    .govhub-hero-text h1 {
      font-family: 'Inter', sans-serif;
      font-size: 2.78rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 8px;
    }
    .govhub-hero-text p {
      font-family: 'Inter', sans-serif;
      font-size: 0.92rem;
      color: rgba(255,255,255,0.88);
      line-height: 1.55;
    }
    @media (max-width: 768px) {
      .govhub-hero { height: 300px; }
      .govhub-hero-text {
        max-width: 320px;
        padding: 18px 24px 18px 20px;
        margin-left: 16px;
      }
      .govhub-hero-text h1 { font-size: 1.35rem; }
      .govhub-hero-text p { font-size: 0.82rem; }
    }

    /* ── Page base ── */
    html {
      overflow-y: auto;
      overflow-x: hidden;
      height: 100%;
      -webkit-overflow-scrolling: touch;
      font-size: 14px;  /* slightly smaller base for a denser, app-like feel */
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: linear-gradient(180deg, #FFFDFC 0%, #FAF7F2 100%);
      color: var(--text-primary);
      line-height: 1.6;
      position: relative;
      letter-spacing: -0.01em;
      min-height: 100%;
    }

    /* ── Background landscape ── */
    body::before {
      content: '';
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(180deg, rgba(255,253,252,0.95) 0%, rgba(250,247,242,0.96) 100%);
      z-index: -1;
    }

    /* ── Tab Navigation (now inside site-header) ── */
    .tab-bar {
      display: none;
    }
    body.wix-auto-height .tab-bar {
      display: none;
    }
    /* ── Subscribe Bar ── */
    /* ── Community Pulse ── */
    #community-pulse-content {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    @media (max-width: 900px) {
      #community-pulse-content { grid-template-columns: 1fr; }
    }
    #community-pulse-content .empty-state { grid-column: 1 / -1; }
    .community-pulse-card { align-items: flex-start; margin-bottom: 0; flex-direction: column; }
    .community-pulse-card .card-logo { width: 52px; height: 52px; min-width: 52px; border-radius: 10px; }
    .community-pulse-card .card-body { display: block; }
    .community-pulse-featured-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    @media (max-width: 900px) {
      .community-pulse-featured-row { grid-template-columns: 1fr; }
    }
    .community-pulse-search-input {
      flex: 1; min-width: 240px; padding: 11px 14px;
      border: 1.5px solid var(--line); border-radius: 12px;
      background: #fff; font-size: 0.88rem; color: var(--text-primary);
    }
    .community-pulse-search-input:focus {
      outline: none; border-color: var(--forest);
      box-shadow: 0 0 0 3px rgba(33,68,60,0.08);
    }
    .community-pulse-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 6px; }
    .community-pulse-thumb {
      margin-top: 10px; border-radius: 12px; overflow: hidden;
      border: 1px solid rgba(0,0,0,0.06); max-width: 420px;
    }
    .community-pulse-thumb img { width: 100%; display: block; object-fit: cover; max-height: 220px; }
    .community-pulse-topline {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    }
    .community-pulse-time { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
    .main-layout.communitypulse-active .sidebar,
    .main-layout.communitypulse-active .expand-pill-right,
    .main-layout.communitypulse-active .left-sidebar { display: none !important; }
    /* Legal cards inside Local News container */
    #local-news-content .legal-card {
      text-decoration: none;
      color: inherit;
      display: block;
    }
    #local-news-content .legal-card-grid {
      flex-wrap: wrap;
    }
    #local-news-content .legal-card-map {
      width: 100%;
      height: 180px;
      margin-top: 12px;
    }
    #local-news-content .legal-entity-logo:empty,
    #local-news-content .legal-entity-logo svg:empty {
      display: none;
    }
    #local-news-content .legal-entity-logo {
      width: 96px;
      height: 96px;
      min-width: 96px;
    }
    #local-news-content .legal-entity-logo svg {
      width: 96px;
      height: 96px;
    }
    #tab-community-pulse .card h3 { font-size: 1.2rem; }
    #tab-community-pulse .card .description { font-size: 0.84rem; line-height: 1.55; }
    #tab-community-pulse .card .meta { font-size: 0.76rem; }
    .cp-sub-filters { margin-top: -8px; margin-bottom: 8px; }
    .cp-sub-filters .chip { font-size: 0.75rem; padding: 4px 10px; }

    /* ── Deep Dive Submenu (full-width green bar) ── */
    .deep-dive-submenu {
      display: none;
      width: 100%;
      background: linear-gradient(135deg, #1a3a4a 0%, #21443c 40%, #2d5a3d 100%);
      padding: 18px 0;
    }
    .deep-dive-submenu-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .deep-dive-submenu-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }
    .deep-dive-submenu-icon { font-size: 1.1rem; filter: brightness(10); }
    .deep-dive-submenu-title {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
    }
    .deep-dive-submenu-desc {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.7);
      font-weight: 400;
    }
    .deep-dive-submenu-topics {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .deep-dive-topic-btn {
      padding: 8px 16px;
      border: 1.5px solid rgba(255,255,255,0.35);
      border-radius: 24px;
      background: rgba(255,255,255,0.12);
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      color: #fff;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      backdrop-filter: blur(4px);
    }
    .deep-dive-topic-btn:hover {
      background: #fff;
      color: var(--forest);
      border-color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    }
    .deep-dive-topic-btn .dd-arrow {
      font-size: 0.75rem;
      opacity: 0.6;
      transition: opacity 0.2s;
    }
    .deep-dive-topic-btn:hover .dd-arrow { opacity: 1; color: var(--forest); }
    @media (max-width: 760px) {
      .deep-dive-submenu-inner { padding: 0 14px; }
      .deep-dive-submenu-desc { display: none; }
      .deep-dive-topic-btn { padding: 6px 12px; font-size: 0.78rem; }
    }

    /* ── What to Follow (full-width bar below Deep Dive) ── */
    .what-to-follow-bar {
      display: none;
      width: 100%;
      background: var(--card-bg);
      border-bottom: 1.5px solid rgba(33, 68, 60, 0.12);
      padding: 18px 0;
    }
    .what-to-follow-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .what-to-follow-title {
      font-size: 0.9rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }
    .what-to-follow-bar .week-summary-prose {
      font-size: 1.056rem;
      columns: 2;
      column-gap: 32px;
    }
    .what-to-follow-bar .week-summary-prose p {
      break-inside: auto;
      margin: 0 0 14px 0;
    }
    .what-to-follow-bar .week-summary-prose p:last-child {
      margin-bottom: 0;
    }
    @media (max-width: 768px) {
      .what-to-follow-bar .week-summary-prose { columns: 1; }
      .what-to-follow-inner { padding: 0 14px; }
    }

    .subscribe-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 8px 16px;
      background: linear-gradient(135deg, rgba(47,86,77,0.06), rgba(198,148,55,0.06));
      border-bottom: 1px solid rgba(47,86,77,0.1);
      font-size: 1.64rem;
    }
    .subscribe-bar-text {
      color: var(--text-secondary);
      font-weight: 500;
    }
    .subscribe-bar-btn {
      padding: 10px 25px;
      border: none;
      border-radius: 12px;
      background: linear-gradient(135deg, #2f564d, #22453e);
      color: #fff;
      font-size: 1.58rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      box-shadow: 0 4px 10px rgba(34,69,62,0.18);
    }
    .subscribe-bar-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(34,69,62,0.25);
    }
    @media (max-width: 768px) {
      .subscribe-bar { font-size: 0.72rem; gap: 8px; padding: 6px 12px; }
      .subscribe-bar-btn { font-size: 0.7rem; padding: 5px 12px; }
    }
    /* ── Subscribe Modal ── */
    .subscribe-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      justify-content: center;
      align-items: flex-start;
      padding: 40px 16px;
      overflow-y: auto;
    }
    .subscribe-modal-overlay.open { display: flex; }
    .subscribe-modal {
      background: var(--cream);
      border-radius: 24px;
      max-width: 680px;
      width: 100%;
      padding: 32px 28px;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,0.25);
      max-height: calc(100vh - 80px);
      overflow-y: auto;
    }
    .subscribe-modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 50%;
      background: rgba(0,0,0,0.06);
      font-size: 1.2rem;
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: background 0.15s;
      z-index: 1;
    }
    .subscribe-modal-close:hover { background: rgba(0,0,0,0.12); }
    .subscribe-modal .subscribe-hero { margin-bottom: 16px; }
    .subscribe-modal .subscribe-section { margin-bottom: 16px; }
    @media (max-width: 500px) {
      .subscribe-modal { padding: 20px 16px; border-radius: 18px; }
    }

    .tab-btn {
      padding: 14px 20px;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-muted);
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .tab-btn:hover { color: var(--text-primary); }
    .tab-btn.active {
      color: var(--forest);
      border-bottom-color: var(--forest);
    }

    /* ── Main Container ── */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 36px 70px;
    }

    /* ── Tab Content ── */
    .tab-content { display: none; }
    .tab-content.active { display: block; }

    /* ── Subscribe Tab ── */
    .subscribe-hero {
      text-align: center;
      padding: 20px 10px 28px;
    }
    .subscribe-hero h2 {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    .subscribe-hero p {
      font-size: 0.92rem;
      color: var(--text-secondary);
      max-width: 540px;
      margin: 0 auto;
      line-height: 1.6;
    }
    .subscribe-section {
      margin-bottom: 28px;
    }
    .subscribe-section-title {
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }
    .topic-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 10px;
    }
    .topic-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1.5px solid var(--line);
      background: var(--card-bg);
      cursor: pointer;
      transition: all 0.2s;
      user-select: none;
    }
    .topic-option:hover {
      border-color: var(--telluride-green);
      background: rgba(41, 82, 71, 0.04);
    }
    .topic-option.selected {
      border-color: var(--telluride-green);
      background: rgba(41, 82, 71, 0.08);
    }
    .topic-option input[type="checkbox"] {
      accent-color: var(--telluride-green);
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    .topic-option .topic-icon {
      font-size: 1.1rem;
      flex-shrink: 0;
    }
    .topic-option .topic-name {
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .subscribe-form-card {
      background: var(--card-bg);
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      border-radius: 24px;
      padding: 28px 24px;
      box-shadow: var(--shadow-soft);
      max-width: 520px;
      margin: 0 auto;
    }
    .subscribe-form-card label {
      display: block;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-secondary);
      margin-bottom: 6px;
    }
    .subscribe-form-card input[type="text"],
    .subscribe-form-card input[type="email"],
    .subscribe-form-card select {
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1.5px solid var(--line);
      font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      color: var(--text-primary);
      background: #fff;
      margin-bottom: 16px;
      transition: border-color 0.2s;
      appearance: none;
      -webkit-appearance: none;
    }
    .subscribe-form-card select {
      background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d8a85' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
      padding-right: 36px;
      cursor: pointer;
    }
    .subscribe-form-card input:focus,
    .subscribe-form-card select:focus {
      outline: none;
      border-color: var(--telluride-green);
    }
    .subscribe-form-card .freq-options {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .freq-option {
      padding: 8px 18px;
      border-radius: 10px;
      border: 1.5px solid var(--line);
      background: #fff;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.2s;
    }
    .freq-option:hover { border-color: var(--telluride-green); }
    .freq-option.selected {
      border-color: var(--telluride-green);
      background: var(--telluride-green);
      color: #fff;
    }
    .subscribe-btn {
      display: block;
      width: 100%;
      padding: 14px;
      border: none;
      border-radius: 14px;
      background: var(--telluride-green);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      transition: background 0.2s;
    }
    .subscribe-btn:hover { background: var(--forest-deep); }
    .subscribe-btn:disabled {
      background: var(--line);
      color: var(--text-muted);
      cursor: not-allowed;
    }
    .subscribe-success {
      display: none;
      text-align: center;
      padding: 30px 20px;
    }
    .subscribe-success.visible { display: block; }
    .subscribe-success .check-icon {
      font-size: 2.5rem;
      margin-bottom: 12px;
    }
    .subscribe-success h3 {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 6px;
    }
    .subscribe-success p {
      font-size: 0.88rem;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .selected-summary {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 10px;
      text-align: center;
    }

    /* ── Events Around Me Modal ── */
    .proximity-trigger-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 0 auto 6px;
      padding: 12px 24px;
      border: 2px solid var(--telluride-green);
      border-radius: 14px;
      background: rgba(41, 82, 71, 0.06);
      color: var(--telluride-green);
      font-size: 0.9rem;
      font-weight: 700;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      transition: all 0.2s;
    }
    .proximity-trigger-btn:hover {
      background: var(--telluride-green);
      color: #fff;
    }
    .proximity-trigger-btn svg { width: 18px; height: 18px; }
    .proximity-trigger-hint {
      font-size: 0.76rem;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 0;
    }
    .prox-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 9999;
      justify-content: center;
      align-items: center;
    }
    .prox-modal-overlay.open { display: flex; }
    .prox-modal {
      background: #fff;
      border-radius: 24px;
      padding: 32px 28px 24px;
      max-width: 440px;
      width: 92%;
      box-shadow: 0 12px 40px rgba(0,0,0,0.25);
      position: relative;
    }
    .prox-modal-close {
      position: absolute;
      top: 14px;
      right: 16px;
      background: none;
      border: none;
      font-size: 1.3rem;
      color: var(--text-muted);
      cursor: pointer;
      padding: 4px 8px;
      line-height: 1;
    }
    .prox-modal-close:hover { color: var(--text-primary); }
    .prox-modal h3 {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-primary);
      margin: 0 0 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .prox-modal h3 svg { width: 22px; height: 22px; color: var(--telluride-green); }
    .prox-modal p {
      font-size: 0.84rem;
      color: var(--text-secondary);
      line-height: 1.5;
      margin: 0 0 18px;
    }
    .prox-modal label {
      display: block;
      font-size: 0.76rem;
      font-weight: 700;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 6px;
    }
    .prox-modal input[type="text"] {
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1.5px solid var(--line);
      font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      color: var(--text-primary);
      background: #fff;
      margin-bottom: 14px;
      box-sizing: border-box;
    }
    .prox-modal input:focus {
      outline: none;
      border-color: var(--telluride-green);
    }
    .prox-modal-radius-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }
    .prox-radius-chip {
      padding: 8px 16px;
      border-radius: 10px;
      border: 1.5px solid var(--line);
      background: #fff;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.2s;
    }
    .prox-radius-chip:hover { border-color: var(--telluride-green); }
    .prox-radius-chip.selected {
      border-color: var(--telluride-green);
      background: var(--telluride-green);
      color: #fff;
    }
    .prox-modal-apply {
      display: block;
      width: 100%;
      padding: 14px;
      border: none;
      border-radius: 14px;
      background: var(--telluride-green);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      transition: background 0.2s;
    }
    .prox-modal-apply:hover { background: var(--forest-deep); }
    .prox-modal-apply:disabled {
      background: var(--line);
      color: var(--text-muted);
      cursor: not-allowed;
    }
    .prox-modal-status {
      font-size: 0.82rem;
      color: var(--text-secondary);
      text-align: center;
      margin-top: 12px;
      min-height: 1.2em;
    }
    .prox-modal-status.error { color: #c0392b; }
    .prox-modal-status.success { color: var(--telluride-green); }

    /* ── Correction Modal ── */
    .correction-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0,0,0,0.45);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    .correction-overlay.open { display: flex; }
    .correction-modal {
      background: #fff;
      border-radius: 16px;
      max-width: 520px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0,0,0,0.22);
      padding: 28px 26px 22px;
      position: relative;
    }
    .correction-modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      background: none;
      border: none;
      font-size: 1.4rem;
      color: var(--text-muted);
      cursor: pointer;
      line-height: 1;
      padding: 4px;
    }
    .correction-modal-close:hover { color: var(--text-primary); }
    .correction-modal h3 {
      margin: 0 0 4px;
      font-size: 1.12rem;
      color: var(--text-primary);
      font-family: var(--font-heading);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .correction-modal .correction-subtitle {
      margin: 0 0 16px;
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.45;
    }
    .correction-modal label {
      display: block;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-secondary);
      margin-bottom: 5px;
      margin-top: 14px;
    }
    .correction-modal label:first-of-type { margin-top: 0; }
    .correction-modal input[type="text"],
    .correction-modal input[type="url"],
    .correction-modal input[type="email"],
    .correction-modal textarea,
    .correction-modal select {
      width: 100%;
      padding: 10px 12px;
      border: 1.5px solid var(--line);
      border-radius: 8px;
      font-size: 0.85rem;
      font-family: var(--font-body);
      color: var(--text-primary);
      background: #fafaf8;
      transition: border-color 0.2s;
      box-sizing: border-box;
    }
    .correction-modal input:focus,
    .correction-modal textarea:focus,
    .correction-modal select:focus {
      outline: none;
      border-color: var(--forest);
      box-shadow: 0 0 0 3px rgba(33,68,60,0.08);
    }
    .correction-modal textarea {
      min-height: 80px;
      resize: vertical;
    }
    .correction-context-box {
      padding: 10px 14px;
      background: rgba(33,68,60,0.04);
      border-radius: 8px;
      border-left: 3px solid var(--accent-green);
      margin-bottom: 14px;
    }
    .correction-context-box .ctx-label {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-muted);
      margin-bottom: 3px;
    }
    .correction-context-box .ctx-title {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.3;
    }
    .correction-verified-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      background: rgba(34,139,34,0.08);
      color: #228b22;
      border-radius: 8px;
      font-size: 0.75rem;
      font-weight: 700;
      margin-top: 6px;
    }
    .correction-unverified-note {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      background: rgba(180,83,9,0.08);
      color: #b45309;
      border-radius: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-top: 6px;
    }
    .correction-source-hint {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-top: 4px;
      line-height: 1.4;
    }
    .correction-submit-btn {
      display: block;
      width: 100%;
      padding: 12px;
      margin-top: 18px;
      background: var(--forest);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
    }
    .correction-submit-btn:hover { background: var(--forest-deep); }
    .correction-submit-btn:disabled {
      background: var(--line);
      color: var(--text-muted);
      cursor: not-allowed;
    }
    .correction-status {
      font-size: 0.82rem;
      text-align: center;
      margin-top: 10px;
      min-height: 1.2em;
    }
    .correction-status.success { color: var(--telluride-green); }
    .correction-status.error { color: #c0392b; }
    /* Correction trigger button on cards */
    .correction-trigger {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      background: none;
      border: 1px solid var(--line);
      border-radius: 6px;
      font-size: 0.68rem;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
      margin-top: 6px;
      -webkit-tap-highlight-color: transparent;
    }
    .correction-trigger:hover {
      border-color: var(--accent-green);
      color: var(--accent-green);
      background: rgba(33,68,60,0.03);
    }
    /* Footer correction button */
    .footer-correction-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 18px;
      background: var(--forest);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 0.76rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 10px;
      -webkit-tap-highlight-color: transparent;
    }
    .footer-correction-btn:hover { background: var(--forest-deep); }
    @media (max-width: 768px) {
      .correction-modal { padding: 22px 18px 18px; }
    }

    .prox-active-banner {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 16px;
      margin: 0 auto 10px;
      border-radius: 12px;
      background: rgba(41, 82, 71, 0.08);
      border: 1.5px solid var(--telluride-green);
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--telluride-green);
      max-width: 500px;
    }
    .prox-active-banner.visible { display: flex; }
    .prox-active-banner button {
      background: none;
      border: 1px solid var(--telluride-green);
      border-radius: 8px;
      padding: 4px 10px;
      font-size: 0.76rem;
      font-weight: 600;
      color: var(--telluride-green);
      cursor: pointer;
      margin-left: 6px;
    }
    .prox-active-banner button:hover { background: rgba(41,82,71,0.1); }

    /* Hide sidebars when Subscribe, Land Use, or About Us tab is active */
    .main-layout.aboutus-active .sidebar,
    .main-layout.aboutus-active .expand-pill-right,
    .main-layout.aboutus-active .left-sidebar,
    .main-layout.subscribe-active .sidebar,
    .main-layout.subscribe-active .expand-pill-right,
    .main-layout.subscribe-active .left-sidebar,
    .main-layout.landuse-active .sidebar,
    .main-layout.landuse-active .expand-pill-right,
    .main-layout.landuse-active .left-sidebar {
      display: none !important;
    }
    /* Responsive grids for About Us tab */
    @media (max-width: 900px) {
      #tab-about-us [style*="grid-template-columns: 1fr 1fr"],
      #tab-about-us [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
      }
      #tab-about-us [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      #tab-about-us [style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important;
      }
    }


    /* Hide left sidebar on Gov-Hub (meetings) tab — no sidebar content there */
    .main-layout.meetings-active .left-sidebar {
      display: none !important;
    }
    /* Also hide left sidebar on Gondola tab */
    .main-layout.gondola-active .left-sidebar {
      display: none !important;
    }
    /* Hide left sidebar and right sidebar (Filter by Topic) on Local News tab, show blog sidebar */
    .main-layout.localnews-active .left-sidebar,
    .main-layout.localnews-active .sidebar,
    .main-layout.localnews-active .expand-pill-right {
      display: none !important;
    }
    .main-layout.localnews-active .blog-sidebar {
      display: block !important;
    }

    /* ── Legal Notices Left Sidebar (Local News tab) ── */
    .localnews-layout {
      display: flex;
      gap: 28px;
      align-items: flex-start;
    }
    .localnews-legal-sidebar {
      flex-shrink: 0;
      width: 280px;
      position: sticky;
      top: 60px;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
    }
    /* ── Redesigned Legal Notices Sidebar ── */
    .legal-sidebar-card-redesign {
      background: linear-gradient(180deg, #fffdf9 0%, #f8f4ed 100%);
      border: 1.5px solid rgba(33, 68, 60, 0.12);
      border-radius: 24px;
      padding: 22px 20px 18px;
      box-shadow: 0 10px 30px rgba(36, 49, 46, 0.08);
    }
    .legal-sidebar-logo-redesign {
      text-align: center;
      margin-bottom: 10px;
    }
    .legal-sidebar-logo-redesign img {
      width: 120px !important;
      max-width: 120px !important;
      height: auto !important;
      border-radius: 8px;
      display: inline-block;
    }
    .legal-sidebar-header-redesign {
      text-align: center;
      padding-bottom: 14px;
      margin-bottom: 14px;
      border-bottom: 1px solid rgba(33, 68, 60, 0.10);
    }
    .legal-sidebar-title-redesign {
      font-size: 0.92rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-primary);
      margin-bottom: 5px;
    }
    .legal-sidebar-subtitle-redesign {
      font-size: 0.76rem;
      line-height: 1.5;
      color: var(--text-secondary);
      max-width: 210px;
    }
    .legal-sidebar-list-redesign {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .legal-sidebar-item-redesign {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: left;
      padding: 12px 14px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid transparent;
      border-radius: 16px;
      cursor: pointer;
      transition: all 0.18s ease;
      text-decoration: none;
      color: inherit;
    }
    .legal-sidebar-item-redesign:hover {
      background: #ffffff;
      border-color: rgba(33, 68, 60, 0.14);
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(36, 49, 46, 0.06);
    }
    .legal-sidebar-item-redesign.active,
    .legal-sidebar-item-featured-redesign {
      background: linear-gradient(135deg, rgba(33, 68, 60, 0.08), rgba(139, 114, 80, 0.08));
      border-color: rgba(33, 68, 60, 0.16);
    }
    .legal-sidebar-label-redesign {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.3;
    }
    .legal-sidebar-count-redesign {
      min-width: 34px;
      height: 34px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(33, 68, 60, 0.08);
      color: var(--forest);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.82rem;
      font-weight: 800;
      flex-shrink: 0;
    }
    .legal-sidebar-item-redesign:hover .legal-sidebar-count-redesign,
    .legal-sidebar-item-redesign.active .legal-sidebar-count-redesign,
    .legal-sidebar-item-featured-redesign .legal-sidebar-count-redesign {
      background: var(--forest);
      color: #fff;
    }
    /* ── Housing Search Sidebar Card ── */
    .housing-search-card {
      margin-bottom: 18px;
      cursor: pointer;
      border-radius: 20px;
      overflow: hidden;
      background: linear-gradient(180deg, #f5f2e8 0%, #ebe7d9 100%);
      border: 1.5px solid rgba(33, 68, 60, 0.12);
      text-align: center;
      padding: 18px 14px 14px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .housing-search-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(36, 49, 46, 0.12);
    }
    .housing-search-img {
      width: 140px !important;
      max-width: 140px !important;
      height: auto !important;
      display: inline-block;
      border-radius: 8px;
      margin-bottom: 8px;
    }
    .housing-search-label {
      font-family: var(--font-heading);
      font-size: 0.88rem;
      font-weight: 800;
      color: var(--forest);
      letter-spacing: 0.02em;
      padding: 8px 16px;
      background: linear-gradient(135deg, var(--forest), #3a5a3a);
      color: #fff;
      border-radius: 10px;
      display: inline-block;
      margin-top: 4px;
      transition: background 0.2s;
    }
    .housing-search-card:hover .housing-search-label {
      background: linear-gradient(135deg, #3a5a3a, #2a4a2a);
    }

    /* ── Local Clubs & Churches Sidebar Card ── */
    .clubs-churches-card {
      margin-top: 18px;
      cursor: pointer;
      border-radius: 20px;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .clubs-churches-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(36, 49, 46, 0.12);
    }
    .clubs-churches-img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 20px;
    }

    .localnews-main-content {
      flex: 1;
      min-width: 0;
    }
    /* ── Global fix: legal card formatting across all views ── */
    /* Hide entity logo containers when image fails */
    .legal-entity-logo:empty { display: none !important; }
    .legal-entity-logo img[src=""] { display: none !important; }
    .legal-entity-logo img:not([src]) { display: none !important; }
    /* Force ALL legal card maps to stack below (full width) */
    .legal-card-grid { flex-direction: column !important; }
    .legal-card-map {
      width: 100% !important;
      height: 180px !important;
      margin-top: 12px;
    }
    /* Remove background/border from SVG-only entity logos to prevent empty circles */
    .legal-entity-logo:has(> svg:only-child) {
      background: none !important;
      box-shadow: none !important;
      border: none !important;
    }
    /* Handle entity logos with broken images */
    .legal-entity-logo:has(> img:only-child) {
      overflow: hidden;
    }
    /* ── Standalone Legal Notices Page ── */
    .legal-standalone-page {
      max-width: 960px;
      margin: 0 auto;
      padding: 24px 20px;
      font-family: var(--font-body);
    }
    .legal-standalone-page .legal-entity-logo { width: 96px; height: 96px; min-width: 96px; }
    .legal-standalone-page .legal-card {
      display: block;
      margin-bottom: 16px;
      background: var(--card-bg);
      border: 1.5px solid rgba(33,68,60,0.10);
      border-radius: 14px;
      padding: 20px 24px;
      transition: box-shadow 0.18s, border-color 0.18s;
    }
    .legal-standalone-page .legal-card:hover {
      box-shadow: 0 4px 16px rgba(33,68,60,0.10);
      border-color: rgba(33,68,60,0.18);
    }
    /* ── Filter pills ── */
    .legal-sa-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 24px;
    }
    .legal-sa-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      border-radius: 14px;
      border: 1.5px solid rgba(33,68,60,0.10);
      background: var(--card-bg);
      color: var(--text-primary);
      font-size: 0.92rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
    }
    .legal-sa-pill:hover {
      background: rgba(33,68,60,0.04);
      border-color: rgba(33,68,60,0.20);
      box-shadow: 0 2px 8px rgba(33,68,60,0.06);
    }
    .legal-sa-pill-active {
      background: var(--forest);
      color: white;
      border-color: var(--forest);
    }
    .legal-sa-pill-active:hover {
      background: var(--forest);
      border-color: var(--forest);
    }
    .legal-sa-pill-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(33,68,60,0.08);
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--text-secondary);
    }
    .legal-sa-count-active {
      background: rgba(255,255,255,0.25);
      color: white;
    }
    @media (max-width: 600px) {
      .legal-sa-filters { gap: 6px; }
      .legal-sa-pill { padding: 8px 12px; font-size: 0.82rem; border-radius: 10px; }
      .legal-sa-pill-count { min-width: 24px; height: 24px; font-size: 0.75rem; }
    }
    .legal-standalone-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--line);
    }
    .legal-standalone-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: 10px;
      border: 1.5px solid rgba(33,68,60,0.2);
      background: white;
      color: var(--forest);
      font-size: 0.85rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.15s;
    }
    .legal-standalone-back:hover {
      background: rgba(33,68,60,0.06);
    }
    .legal-standalone-title {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--text-primary);
      font-family: var(--font-heading);
    }
    .legal-standalone-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 2px;
    }
    @media (max-width: 768px) {
      .localnews-layout { flex-direction: column; }
      .localnews-legal-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        order: 2;          /* move left sidebar AFTER the feed on mobile */
      }
      .localnews-main-content {
        order: 1;          /* feed comes first on mobile */
      }
      .localnews-legal-sidebar-card {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px 14px;
      }
      .legal-sidebar-heading { width: 100%; margin-bottom: 6px; }
      .legal-sidebar-link { padding: 6px 10px; font-size: 0.8rem; }
    }
    /* ── Blog Sidebar (right side, Local News tab only) ── */
    .blog-sidebar {
      display: none;
      flex-shrink: 0;
      width: 240px;
      position: sticky;
      top: 60px;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .blog-sidebar::-webkit-scrollbar { width: 5px; }
    .blog-sidebar::-webkit-scrollbar-track { background: transparent; }
    .blog-sidebar::-webkit-scrollbar-thumb { background: rgba(47,86,77,0.25); border-radius: 4px; }
    .blog-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(47,86,77,0.45); }
    .blog-sidebar-card {
      display: block;
      text-decoration: none;
      color: inherit;
      border-radius: 12px;
      overflow: hidden;
      border: 1.5px solid rgba(33,68,60,0.10);
      background: var(--card-bg);
      transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    }
    .blog-sidebar-card:hover {
      border-color: rgba(47,86,77,0.3);
      box-shadow: 0 4px 14px rgba(47,86,77,0.1);
      transform: translateY(-1px);
    }
    .blog-sidebar-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      display: block;
    }
    .blog-sidebar-card .blog-card-body {
      padding: 10px 12px 12px;
    }
    .blog-sidebar-card .blog-card-title {
      font-size: 0.78rem;
      font-weight: 800;
      line-height: 1.3;
      color: var(--text-primary);
      margin-bottom: 4px;
    }
    .blog-sidebar-card .blog-card-summary {
      font-size: 0.68rem;
      line-height: 1.4;
      color: var(--text-secondary);
      margin-bottom: 6px;
    }
    .blog-sidebar-card .blog-card-meta {
      font-size: 0.6rem;
      color: var(--text-muted);
      font-weight: 600;
    }
    /* Hide both sidebars on Local Groups (links) tab */
    .main-layout.links-active .left-sidebar,
    .main-layout.links-active .sidebar,
    .main-layout.links-active .expand-pill-right,
    .main-layout.links-active .festival-sidebar {
      display: none !important;
    }
    /* Hide right sidebar (Filter by Topic) on Events tab, show Festival sidebar */
    .main-layout.news-active .sidebar,
    .main-layout.news-active .expand-pill-right {
      display: none !important;
    }
    /* Hide right sidebar on Legal Notices tab */
    .main-layout.legals-active .sidebar,
    .main-layout.legals-active .expand-pill-right {
      display: none !important;
    }
    .main-layout.news-active .festival-sidebar {
      display: block !important;
    }
    /* ── Festival Sidebar (right side, Events tab only) ── */
    .festival-sidebar {
      display: none;
      flex-shrink: 0;
      width: 260px;
      position: sticky;
      top: 60px;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .festival-sidebar::-webkit-scrollbar { width: 5px; }
    .festival-sidebar::-webkit-scrollbar-track { background: transparent; }
    .festival-sidebar::-webkit-scrollbar-thumb { background: rgba(47,86,77,0.25); border-radius: 4px; }
    .festival-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(47,86,77,0.45); }
    /* Local News: hide source logo, show article image on left */
    #tab-local-news .card-logo {
      display: none;
    }
    #tab-local-news .event-card-main.news-card-img-left {
      grid-template-columns: 180px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
    }
    #tab-local-news .news-card-img-left .event-illustration {
      order: -1;
      width: 180px;
      height: 144px;
      border-radius: 10px;
      align-self: center;
    }
    #tab-local-news .card[data-source-key="koto"] .event-photo img {
      object-fit: contain;
      padding: 8px;
    }
    #tab-local-news .card {
      padding: 16px;
    }
    #tab-local-news .card .card-body {
      padding: 0;
    }
    @media (max-width: 600px) {
      .news-card-img-left {
        grid-template-columns: 1fr;
      }
      .news-card-img-left .event-illustration {
        width: 100%;
        height: 160px;
      }
    }

    /* ── Source Filter Chips ── */
    .filter-row {
      display: flex;
      gap: 8px;
      margin-bottom: 18px;
      flex-wrap: wrap;
      justify-content: flex-start;
    }
    .chip {
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 0.86rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.88);
      color: var(--text-secondary);
      transition: all 0.25s;
    }
    .chip:hover { border-color: #b0a898; background: rgba(255,255,255,0.9); }
    .chip.active-all {
      border-color: var(--forest);
      color: #fff;
      background: var(--forest);
    }
    .chip.active-telluride {
      border-color: var(--telluride-green);
      color: #fff;
      background: var(--telluride-green);
    }
    .chip.active-county {
      border-color: var(--county-green);
      color: #fff;
      background: var(--county-green);
    }
    .chip.active-smart {
      border-color: var(--smart-orange);
      color: #fff;
      background: var(--smart-orange);
    }
    .chip.active-mv {
      border-color: var(--mv-plum);
      color: #fff;
      background: var(--mv-plum);
    }
    .chip.active-school {
      border-color: var(--school-navy);
      color: #fff;
      background: var(--school-navy);
    }
    .chip.active-fire {
      border-color: var(--fire-red);
      color: #fff;
      background: var(--fire-red);
    }
    .chip.active-med {
      border-color: var(--med-teal);
      color: #fff;
      background: var(--med-teal);
    }
    .chip.active-norwood {
      border-color: var(--norwood-gold);
      color: #fff;
      background: var(--norwood-gold);
    }
    .chip.active-ophir {
      border-color: var(--ophir-slate);
      color: #fff;
      background: var(--ophir-slate);
    }
    .chip.active-airport {
      border-color: var(--airport-sky);
      color: #fff;
      background: var(--airport-sky);
    }
    .chip.active-ttimes {
      border-color: var(--ttimes-charcoal);
      color: #fff;
      background: var(--ttimes-charcoal);
    }
    .chip.active-koto {
      border-color: var(--koto-blue);
      color: #fff;
      background: var(--koto-blue);
    }
    .chip.active-topic,
    .chip.active-legal {
      border-color: var(--forest);
      color: #fff;
      background: var(--forest);
    }

    /* ── Cards ── */
    .card {
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      border-left: none;
      border-radius: 12px;
      padding: 10px 14px;
      margin-bottom: 8px;
      box-shadow: var(--shadow-soft);
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.25s;
    }
    .card:hover {
      box-shadow: var(--shadow);
      transform: translateY(-2px);
    }
    .card[data-source="telluride"] { border-left-color: var(--telluride-green); }
    .card[data-source="county"] { border-left-color: var(--county-green); }
    .card[data-source="smart"] { border-left-color: var(--smart-orange); }
    .card[data-source="mv"] { border-left-color: var(--mv-plum); }
    .card[data-source="school"] { border-left-color: var(--school-navy); }
    .card[data-source="fire"] { border-left-color: var(--fire-red); }
    .card[data-source="med"] { border-left-color: var(--med-teal); }
    .card[data-source="norwood"] { border-left-color: var(--norwood-gold); }
    .card[data-source="ophir"] { border-left-color: var(--ophir-slate); }
    .card[data-source="airport"] { border-left-color: var(--airport-sky); }
    .card[data-source="ttimes"] { border-left-color: var(--ttimes-charcoal); }
    .card[data-source="koto"] { border-left-color: var(--koto-blue); }

    .card-logo {
      flex-shrink: 0;
      width: 92px;
      height: 92px;
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.06);
    }
    .card-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 6px;
      display: block;
    }
    .card-logo svg {
      width: 60px;
      height: 60px;
    }
    .card-body {
      flex: 1;
      min-width: 0;
    }
    @media (max-width: 500px) {
      .card-logo { width: 96px; height: 96px; border-radius: 14px; }
      .card-logo svg { width: 60px; height: 60px; }
    }

    .source-badge:empty, .category-tag:empty { display:none; }
    .card .source-badge {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 5px 11px;
      border-radius: 999px;
      margin-bottom: 10px;
      margin-right: 6px;
    }
    .badge-telluride { background: var(--telluride-light); color: var(--telluride-green); }
    .badge-county { background: var(--county-light); color: var(--county-green); }
    .badge-smart { background: var(--smart-light); color: var(--smart-orange); }
    .badge-mv { background: var(--mv-light); color: var(--mv-plum); }
    .badge-school { background: var(--school-light); color: var(--school-navy); }
    .badge-fire { background: var(--fire-light); color: var(--fire-red); }
    .badge-med { background: var(--med-light); color: var(--med-teal); }
    .badge-norwood { background: var(--norwood-light); color: var(--norwood-gold); }
    .badge-ophir { background: var(--ophir-light); color: var(--ophir-slate); }
    .badge-airport { background: var(--airport-light); color: var(--airport-sky); }
    .badge-localgroup { background: rgba(139,115,50,0.12); color: #6b5b3a; }
    .badge-ttimes { background: var(--ttimes-light); color: var(--ttimes-charcoal); }
    .badge-koto { background: var(--koto-light); color: var(--koto-blue); }
    .chip.active-wilkinson { border-color: var(--wilkinson-teal); color: #fff; background: var(--wilkinson-teal); }
    .card[data-source="wilkinson"] { border-left-color: var(--wilkinson-teal); }
    .badge-wilkinson { background: var(--wilkinson-light); color: var(--wilkinson-navy); }
    .badge-alert { background: rgba(192, 57, 43, 0.1); color: var(--accent-red); }

    .card .category-tag {
      display: inline-block;
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--text-muted);
      background: rgba(0,0,0,0.05);
      padding: 3px 8px;
      border-radius: 4px;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .card h3 {
      font-size: 1.35rem;
      font-weight: 750;
      margin-bottom: 2px;
      color: var(--text-primary);
    }
    .card h3 a {
      color: inherit;
      text-decoration: none;
    }
    .card h3 a:hover { text-decoration: underline; }

    .card .meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 3px;
    }
    .card .meta .location {
      color: var(--text-secondary);
    }
    .agenda-link {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 600;
      background: rgba(33,68,60,0.08);
      color: var(--forest-soft);
      padding: 3px 10px;
      border-radius: 4px;
      text-decoration: none;
      margin-left: 6px;
      transition: all 0.2s;
    }
    .agenda-link:hover {
      background: var(--forest);
      color: #fff;
    }

    .card .description {
      font-size: 0.82rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* ── Meetings tab: 30% larger card fonts for readability ── */
    #tab-meetings .card h3 { font-size: 1.76rem; }
    #tab-meetings .card .meta { font-size: 1.04rem; }
    #tab-meetings .card .description { font-size: 1.07rem; }
    #tab-meetings .card .source-badge { font-size: 0.88rem; }
    #tab-meetings .card .category-tag { font-size: 0.81rem; }
    #tab-meetings .agenda-link { font-size: 0.88rem; }
    #tab-meetings .cal-btn { font-size: 0.91rem; }
    #tab-meetings .cal-btn svg { width: 18px; height: 18px; }
    #tab-meetings .meeting-summary { font-size: 0.99rem; }
    #tab-meetings .meeting-summary strong { font-size: 0.91rem; }
    #tab-meetings .chip { font-size: 0.86rem; padding: 7px 16px; }

    /* ── Meetings card redesign: logo top-right, full-width content ── */
    #tab-meetings .card {
      flex-direction: column;
      align-items: stretch;
      position: relative;
    }
    #tab-meetings .card > .card-logo {
      position: absolute;
      top: 10px;
      right: 12px;
      width: 96px;
      height: 96px;
      border-radius: 14px;
      z-index: 1;
    }
    #tab-meetings .card-body {
      width: 100%;
    }
    #tab-meetings .event-card-main {
      display: block;
    }
    #tab-meetings .event-card-content {
      width: 100%;
    }
    #tab-meetings .event-card-content > .source-badge,
    #tab-meetings .event-card-content > .agenda-link,
    #tab-meetings .event-card-content > h3,
    #tab-meetings .event-card-content > .meta {
      padding-right: 80px; /* leave room for logo in top-right */
    }
    #tab-meetings .card.multiline-title .event-card-content > .source-badge,
    #tab-meetings .card.multiline-title .event-card-content > .agenda-link,
    #tab-meetings .card.multiline-title .event-card-content > h3,
    #tab-meetings .card.multiline-title .event-card-content > .meta {
      padding-right: 112px;
    }
    #tab-meetings .event-illustration {
      display: none;
    }
    #tab-meetings .quick-reactions,
    #tab-meetings .card-actions,
    #tab-meetings .comment-actions {
      width: 100%;
    }

    .meeting-summary {
      font-size: 0.76rem;
      color: var(--text-secondary);
      line-height: 1.4;
      margin-top: 4px;
      padding: 5px 9px;
      background: rgba(0,0,0,0.03);
      border-left: 3px solid var(--border);
      border-radius: 0 8px 8px 0;
    }
    .meeting-summary strong {
      font-weight: 600;
      color: var(--text-primary);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .meeting-summary .address-highlight {
      font-weight: 700;
      color: var(--text-primary);
      font-size: inherit;
      text-transform: none;
      letter-spacing: normal;
      background: rgba(33, 68, 60, 0.08);
      padding: 1px 3px;
      border-radius: 3px;
    }
    .card[data-source="telluride"] .meeting-summary { border-left-color: var(--telluride-green); }
    .card[data-source="county"] .meeting-summary { border-left-color: var(--county-green); }
    .card[data-source="smart"] .meeting-summary { border-left-color: var(--smart-orange); }
    .card[data-source="mv"] .meeting-summary { border-left-color: var(--mv-plum); }
    .card[data-source="school"] .meeting-summary { border-left-color: var(--school-navy); }
    .card[data-source="fire"] .meeting-summary { border-left-color: var(--fire-red); }
    .card[data-source="med"] .meeting-summary { border-left-color: var(--med-teal); }
    .card[data-source="norwood"] .meeting-summary { border-left-color: var(--norwood-gold); }
    .card[data-source="ophir"] .meeting-summary { border-left-color: var(--ophir-slate); }
    .card[data-source="airport"] .meeting-summary { border-left-color: var(--airport-sky); }
    .card[data-source="ttimes"] .meeting-summary { border-left-color: var(--ttimes-charcoal); }

    /* ── START: AI Summary Styles ── */
    .ai-topics-list {
      margin: 4px 0 2px 0;
      padding: 0 0 0 16px;
      list-style: disc;
      font-size: 0.74rem;
      color: var(--text-secondary);
      line-height: 1.45;
    }
    .ai-topics-list li {
      margin-bottom: 2px;
    }
    .ai-badge {
      display: inline-block;
      font-size: 0.6rem;
      padding: 1px 5px;
      background: rgba(33, 68, 60, 0.06);
      color: var(--forest);
      border-radius: 4px;
      font-weight: 600;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      margin-left: 6px;
      vertical-align: middle;
      opacity: 0.7;
    }
    .ai-why-matters {
      font-size: 0.74rem;
      color: var(--text-secondary);
      line-height: 1.4;
      margin-top: 4px;
      padding: 5px 9px;
      background: rgba(33, 68, 60, 0.03);
      border-left: 2px solid rgba(33, 68, 60, 0.15);
      border-radius: 0 6px 6px 0;
      font-style: italic;
    }
    /* ── END: AI Summary Styles ── */

    /* ── Glossary Tooltips ── */
    .glossary-term {
      border-bottom: 1.5px dashed var(--forest-soft);
      color: var(--forest-soft);
      cursor: help;
      position: relative;
      font-weight: 500;
    }
    .glossary-term:hover, .glossary-term:focus {
      color: var(--forest);
      border-bottom-color: var(--forest);
    }
    .glossary-term:hover::after, .glossary-term:focus::after {
      content: attr(data-def);
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--forest);
      color: #fff;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 0.72rem;
      font-weight: 400;
      font-style: normal;
      line-height: 1.55;
      width: max-content;
      max-width: 320px;
      z-index: 1000;
      box-shadow: 0 8px 24px rgba(24, 53, 45, 0.25);
      pointer-events: none;
      white-space: normal;
    }
    .glossary-term:hover::before, .glossary-term:focus::before {
      content: '';
      position: absolute;
      bottom: calc(100% + 2px);
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: var(--forest);
      z-index: 1001;
      pointer-events: none;
    }
    @media (max-width: 600px) {
      .glossary-term:hover::after, .glossary-term:focus::after {
        left: 0; transform: none; max-width: 260px;
      }
    }

    /* ── Why This Matters ── */
    .wtm-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 5px 13px;
      margin-top: 8px;
      border-radius: 7px;
      border: 1.5px solid var(--ochre-700);
      background: #fff;
      color: var(--ochre-700);
      cursor: pointer;
      transition: all 0.2s;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .wtm-btn:hover {
      background: var(--ochre-700);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(139,114,80,0.2);
    }
    .wtm-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
    .wtm-btn .wtm-arrow { transition: transform 0.25s; }
    .wtm-btn.open .wtm-arrow { transform: rotate(180deg); }

    .wtm-panel {
      display: none;
      margin-top: 8px;
      padding: 14px 16px;
      background: linear-gradient(135deg, rgba(139,114,80,0.04), rgba(139,114,80,0.08));
      border: 1px solid rgba(139,114,80,0.15);
      border-radius: 10px;
      font-size: 0.78rem;
      line-height: 1.55;
      color: var(--text-secondary);
      animation: wtmSlide 0.25s ease-out;
    }
    .wtm-panel.open { display: block; }
    @keyframes wtmSlide {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .wtm-panel .wtm-row {
      margin-bottom: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(139,114,80,0.10);
    }
    .wtm-panel .wtm-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    .wtm-panel .wtm-label {
      font-size: 0.66rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--ochre-700);
      margin-bottom: 2px;
    }
    .wtm-panel .wtm-text { color: var(--text-primary); }
    .wtm-panel .wtm-context {
      margin-top: 10px;
      padding: 10px 12px;
      background: rgba(255,255,255,0.6);
      border-radius: 8px;
      border-left: 3px solid var(--ochre-700);
      font-size: 0.74rem;
      color: var(--text-secondary);
    }
    .wtm-panel .wtm-context strong {
      font-weight: 700;
      color: var(--text-primary);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    /* ── Quick Reactions ── */
    .quick-reactions {
      margin-top: 8px;
      padding: 8px 12px;
      background: rgba(33,68,60,0.03);
      border: 1px solid rgba(33,68,60,0.10);
      border-radius: 8px;
    }
    .quick-reactions-issue {
      font-size: 18px;
      line-height: 1.4;
      color: var(--text-primary);
      margin-bottom: 8px;
      padding: 5px 8px;
      background: rgba(33,68,60,0.05);
      border-radius: 5px;
    }
    .quick-reactions-label {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .quick-reactions-btns {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .qr-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      font-size: 0.68rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.15s;
      -webkit-tap-highlight-color: transparent;
    }
    .qr-btn:hover {
      border-color: var(--forest-soft);
      background: rgba(33,68,60,0.06);
      color: var(--forest);
    }
    .qr-btn.voted {
      border-color: var(--forest);
      background: rgba(33,68,60,0.10);
      color: var(--forest);
      font-weight: 600;
    }
    .qr-btn .qr-count {
      font-size: 0.62rem;
      font-weight: 700;
      color: var(--forest-soft);
      min-width: 14px;
      text-align: center;
    }

    /* ── Meetings tab: 30% larger Quick Reactions ── */
    #tab-meetings .quick-reactions-issue { font-size: 18px; }
    #tab-meetings .qr-btn { font-size: 0.88rem; padding: 6px 14px; }
    #tab-meetings .qr-btn .qr-count { font-size: 0.81rem; }

    /* ── Agenda link: posted (green bg) vs not-posted (grey) ── */
    .agenda-link.agenda-posted {
      background: var(--forest-soft);
      color: #f0f0f0;
    }
    .agenda-link.agenda-posted:hover {
      background: var(--forest);
      color: #fff;
    }

    /* ── Correction link inside summary box ── */
    .correction-inline-link {
      display: block;
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0;
      background: none;
      color: var(--forest-soft);
      cursor: pointer;
      text-decoration: none;
      margin-top: 8px;
      transition: color 0.15s;
    }
    .correction-inline-link:hover {
      color: var(--forest);
      text-decoration: underline;
    }
    #tab-meetings .correction-inline-link {
      font-size: 0.88rem;
    }

    /* ── Public Comment Info ── */
    .comment-note {
      margin-top: 6px;
      padding: 6px 10px;
      background: linear-gradient(135deg, rgba(33,68,60,0.04), rgba(33,68,60,0.08));
      border: 1px solid rgba(33,68,60,0.12);
      border-left: 3px solid var(--forest-soft);
      border-radius: 6px;
      font-size: 0.76rem;
      font-style: italic;
      line-height: 1.45;
      color: var(--text-secondary);
    }
    .comment-actions {
      margin-top: 8px;
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .comment-email-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 7px;
      border: 1.5px solid var(--forest);
      background: var(--forest);
      color: #fff;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .comment-email-btn:hover {
      background: var(--forest);
      border-color: var(--forest);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(33,68,60,0.2);
    }

    /* ── Passcode Info ── */
    .passcode-info {
      margin-top: 5px;
      padding: 5px 10px;
      background: linear-gradient(135deg, rgba(94,109,118,0.05), rgba(94,109,118,0.10));
      border: 1px solid rgba(94,109,118,0.12);
      border-left: 3px solid var(--slate-700);
      border-radius: 8px;
      font-size: 0.74rem;
      line-height: 1.55;
      color: var(--text-secondary);
    }
    .passcode-info strong {
      color: var(--text-primary);
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .passcode-label {
      font-weight: 700;
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--school-navy);
    }
    .passcode-phone {
      font-size: 0.7rem;
      color: var(--text-muted);
    }
    .passcode-join {
      margin-top: 5px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .passcode-join .zoom-link,
    .passcode-join .livestream-link {
      margin: 0;
    }

    /* ── Card Actions (Calendar + Zoom) ── */
    .card-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 6px;
      padding-top: 6px;
      border-top: 1px solid rgba(0,0,0,0.06);
    }
    .cal-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s;
      border: 1px solid var(--forest-soft);
      background: #fff;
      color: var(--forest-soft);
      cursor: pointer;
      line-height: 1;
    }
    .cal-btn:hover {
      background: var(--forest);
      color: #fff;
      border-color: var(--forest);
    }
    .cal-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
    .zoom-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s;
      background: var(--school-light);
      color: var(--school-navy);
      border: 1px solid rgba(81,105,124,0.2);
    }
    .zoom-link:hover {
      background: var(--school-navy);
      color: #fff;
      border-color: var(--school-navy);
    }
    .zoom-link svg { width: 14px; height: 14px; flex-shrink: 0; }
    .livestream-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s;
      background: var(--fire-light);
      color: var(--fire-red);
      border: 1px solid rgba(154,102,82,0.2);
    }
    .livestream-link:hover {
      background: var(--fire-red);
      color: #fff;
      border-color: var(--fire-red);
    }
    .livestream-link svg { width: 14px; height: 14px; flex-shrink: 0; }
    @media (max-width: 500px) {
      .card-actions { gap: 6px; }
      .cal-btn, .zoom-link, .livestream-link { font-size: 0.65rem; padding: 4px 9px; }
    }

    /* ── Date Group Headers ── */
    .date-group {
      font-size: 1rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      margin: 34px 0 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--line);
    }
    .date-group:first-child { margin-top: 8px; }

    /* ── Quick Links Grid ── */
    .links-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 560px) {
      .links-grid { grid-template-columns: 1fr; }
    }
    .link-card {
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      border-radius: 24px;
      padding: 22px;
      box-shadow: var(--shadow-soft);
      transition: all 0.25s;
      text-decoration: none;
      color: var(--text-primary);
      display: block;
    }
    .link-card:hover {
      box-shadow: 0 6px 20px rgba(44, 36, 22, 0.12);
      transform: translateY(-2px);
    }
    .link-card .link-icon {
      font-size: 1.4rem;
      margin-bottom: 8px;
    }
    .link-card h4 {
      font-size: 1rem;
      font-weight: 750;
      margin-bottom: 4px;
    }
    .link-card p {
      font-size: 0.76rem;
      color: var(--text-secondary);
      line-height: 1.4;
    }
    .link-card .link-source {
      font-size: 0.66rem;
      font-weight: 600;
      text-transform: uppercase;
      margin-top: 8px;
      letter-spacing: 0.02em;
    }
    .link-source.src-telluride { color: var(--telluride-green); }
    .link-source.src-county { color: var(--county-green); }
    .link-source.src-smart { color: var(--smart-orange); }
    .link-source.src-mv { color: var(--mv-plum); }
    .link-source.src-school { color: var(--school-navy); }
    .link-source.src-fire { color: var(--fire-red); }
    .link-source.src-med { color: var(--med-teal); }
    .link-source.src-norwood { color: var(--norwood-gold); }
    .link-source.src-ophir { color: var(--ophir-slate); }
    .link-source.src-airport { color: var(--airport-sky); }
    .link-source.src-ttimes { color: var(--ttimes-charcoal); }

    /* ── Local Groups Layout with Filter Sidebar ── */
    .local-groups-layout {
      display: grid;
      grid-template-columns: 1fr 240px;
      gap: 24px;
      align-items: start;
    }
    @media (max-width: 960px) {
      .local-groups-layout { grid-template-columns: 1fr; }
      .lg-filter-sidebar { order: -1; }
    }
    .lg-filter-sidebar {
      position: sticky;
      top: 80px;
      background: var(--card-bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow-soft);
    }
    .lg-filter-sidebar h3 {
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--text-primary);
      margin: 0 0 12px 0;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .lg-filter-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 9px 12px;
      border: none;
      border-radius: 8px;
      background: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.15s;
      text-align: left;
    }
    .lg-filter-btn:hover { background: rgba(47,86,77,0.06); color: var(--text-primary); }
    .lg-filter-btn.active { background: rgba(47,86,77,0.1); color: var(--forest); font-weight: 700; }
    .lg-filter-btn .lg-filter-icon { font-size: 1rem; flex-shrink: 0; }
    .lg-filter-btn .lg-filter-count {
      margin-left: auto;
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--text-muted);
      background: rgba(0,0,0,0.05);
      border-radius: 10px;
      padding: 2px 7px;
    }
    .lg-filter-btn.active .lg-filter-count { background: rgba(47,86,77,0.15); color: var(--forest); }
    @media (max-width: 960px) {
      .lg-filter-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 12px;
      }
      .lg-filter-sidebar h3 { width: 100%; margin-bottom: 6px; }
      .lg-filter-btn { width: auto; padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px; font-size: 0.75rem; }
      .lg-filter-btn.active { border-color: var(--forest); }
      .lg-filter-btn .lg-filter-count { display: none; }
    }

    /* ── Local Groups Directory Cards ── */
    .local-groups-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 28px;
    }
    @media (max-width: 760px) {
      .local-groups-grid { grid-template-columns: 1fr; }
    }
    .local-group-card {
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(33, 68, 60, 0.18);
      border-radius: 20px;
      padding: 0;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      transition: all 0.25s;
      display: flex;
      flex-direction: column;
    }
    .local-group-card:hover {
      box-shadow: 0 6px 20px rgba(44, 36, 22, 0.12);
      transform: translateY(-1px);
    }
    .local-group-card-inner {
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .local-group-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      height: 230px;
      background: transparent;
      border-bottom: 1px solid rgba(33, 68, 60, 0.08);
    }
    .local-group-logo.logo-sm {
      height: 173px;
    }
    .local-group-logo.logo-sm img {
      max-width: 169px;
      max-height: 158px;
    }
    .local-group-logo.logo-lg {
      height: 288px;
    }
    .local-group-logo.logo-lg img {
      max-width: 281px;
      max-height: 263px;
    }
    .local-group-logo img {
      max-width: 225px;
      max-height: 210px;
      object-fit: contain;
      border-radius: 8px;
    }
    .local-group-body {
      padding: 16px 18px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      flex: 1;
    }
    .local-group-body h4 {
      font-size: 0.98rem;
      font-weight: 750;
      color: var(--text-primary);
      margin: 0 0 2px 0;
    }
    .local-group-body .group-summary {
      font-size: 0.76rem;
      color: var(--text-secondary);
      line-height: 1.45;
      margin-bottom: 4px;
    }
    .local-group-details {
      display: flex;
      flex-direction: column;
      gap: 3px;
      font-size: 0.73rem;
      line-height: 1.45;
    }
    .local-group-details .group-detail {
      display: flex;
      gap: 5px;
    }
    .local-group-details .group-detail-label {
      font-weight: 650;
      color: var(--forest);
      white-space: nowrap;
    }
    .local-group-details .group-detail-value {
      color: var(--text-secondary);
    }
    .local-group-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: auto;
      padding-top: 10px;
    }
    .local-group-actions a {
      display: inline-block;
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 0.73rem;
      font-weight: 650;
      text-decoration: none;
      transition: all 0.2s;
    }
    .local-group-actions .group-btn-primary {
      background: var(--forest);
      color: #fff;
    }
    .local-group-actions .group-btn-primary:hover {
      background: var(--dark-forest);
    }
    .local-group-actions .group-btn-secondary {
      background: rgba(33, 68, 60, 0.08);
      color: var(--forest);
    }
    .local-group-actions .group-btn-secondary:hover {
      background: rgba(33, 68, 60, 0.14);
    }

    /* ── Housing Search Tab ── */
    .housing-search-shell { max-width: 960px; margin: 0 auto; }
    .housing-search-hero { text-align: center; margin-bottom: 24px; }
    .housing-search-hero h2 { font-size: 1.6rem; color: var(--forest); margin-bottom: 6px; }
    .housing-search-subtitle { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

    /* Deed-restricted qualification info box */
    .deed-restricted-info {
      border: 1.5px solid var(--forest-soft);
      border-radius: 12px;
      margin-bottom: 22px;
      background: rgba(33,68,60,0.04);
      overflow: hidden;
    }
    .deed-restricted-toggle {
      cursor: pointer;
      padding: 14px 18px;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--forest);
      list-style: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .deed-restricted-toggle::-webkit-details-marker { display: none; }
    .deed-restricted-toggle::before {
      content: '▶';
      font-size: 0.7rem;
      transition: transform 0.2s;
      color: var(--forest-soft);
    }
    .deed-restricted-info[open] .deed-restricted-toggle::before {
      transform: rotate(90deg);
    }
    .deed-restricted-body {
      padding: 0 18px 16px;
      font-size: 0.88rem;
      line-height: 1.65;
      color: var(--text-primary);
    }
    .deed-restricted-body h4 {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--forest);
      margin: 14px 0 6px;
    }
    .deed-restricted-body p {
      margin: 0 0 8px;
    }
    .deed-restricted-contact {
      margin-top: 12px;
      padding: 10px 14px;
      background: rgba(33,68,60,0.07);
      border-radius: 8px;
      font-size: 0.85rem;
      line-height: 1.6;
    }
    .deed-restricted-contact a {
      color: var(--forest-soft);
      font-weight: 600;
    }

    .housing-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
    .housing-card {
      border: 1px solid var(--line); border-radius: 14px; background: var(--card-bg);
      padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow-soft);
    }
    .housing-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
    .housing-card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
    .housing-card-source {
      font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
      padding: 3px 10px; border-radius: 999px; white-space: nowrap;
    }
    .housing-card-source.public { background: rgba(33,68,60,0.1); color: var(--forest); }
    .housing-card-source.lottery { background: rgba(168,85,247,0.1); color: #7c3aed; }
    .housing-card-source.market { background: rgba(139,114,80,0.1); color: var(--accent-amber); }
    .housing-card-details {
      display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
      font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 12px;
    }
    .housing-card-details dt { font-weight: 600; color: var(--text-primary); }
    .housing-card-details dd { margin: 0; }
    .housing-card-map {
      width: 100%; height: 180px; border-radius: 10px; border: 1px solid var(--line);
      margin-bottom: 12px; overflow: hidden;
    }
    .housing-card-map iframe { width: 100%; height: 100%; border: 0; }
    .housing-card-contact {
      display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
    }
    .housing-contact-btn {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 0.76rem; font-weight: 700; padding: 7px 16px; border-radius: 8px;
      text-decoration: none; cursor: pointer; transition: all 0.2s;
    }
    .housing-contact-btn.primary {
      background: var(--forest-soft); color: #f0f0f0; border: none;
    }
    .housing-contact-btn.primary:hover { background: var(--forest); color: #fff; }
    .housing-contact-btn.secondary {
      background: var(--card-bg); color: var(--forest); border: 1.5px solid var(--forest);
    }
    .housing-contact-btn.secondary:hover { background: var(--forest); color: #fff; }
    .housing-sources-directory {
      margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
    }
    .housing-sources-directory h3 {
      font-size: 1.05rem; color: var(--forest); margin-bottom: 14px; text-align: center;
    }
    .housing-source-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 12px;
    }
    .housing-source-card {
      display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
      background: var(--card-bg); text-decoration: none; transition: all 0.2s;
    }
    .housing-source-card:hover { border-color: var(--forest); box-shadow: var(--shadow-soft); }
    .housing-source-card strong { display: block; font-size: 0.84rem; color: var(--forest); margin-bottom: 3px; }
    .housing-source-card span { font-size: 0.74rem; color: var(--text-muted); }
    .housing-card-note {
      font-size: 0.76rem; font-style: italic; color: var(--text-muted); margin-top: 8px;
    }
    /* ── Housing Lottery Cards ── */
    .housing-card.lottery {
      border: 2px solid var(--forest);
      background: rgba(33,68,60,0.03);
    }
    .housing-lottery-info {
      margin-bottom: 14px;
    }
    .lottery-banner {
      background: #b8860b;
      color: #fff;
      font-weight: 700;
      font-size: 0.92rem;
      padding: 8px 14px;
      border-radius: 8px;
      margin-bottom: 12px;
      text-align: center;
      letter-spacing: 0.03em;
    }
    .lottery-details {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 6px 12px;
      font-size: 0.85rem;
      line-height: 1.55;
      margin-bottom: 12px;
    }
    .lottery-details dt {
      font-weight: 600;
      color: var(--forest);
      white-space: nowrap;
    }
    .lottery-details dd {
      margin: 0;
      color: var(--text-primary);
    }
    .lottery-apply-btn {
      display: block;
      background: var(--forest);
      color: #fff !important;
      text-align: center;
      padding: 12px 20px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      transition: background 0.2s, transform 0.1s;
    }
    .lottery-apply-btn:hover {
      background: #1a4a3e;
      transform: translateY(-1px);
    }
    @media (max-width: 600px) {
      .housing-card-details { grid-template-columns: 1fr; }
      .housing-source-grid { grid-template-columns: 1fr; }
      .lottery-details { grid-template-columns: 1fr; }
      .lottery-details dt { white-space: normal; }
    }

    /* ── Legal Notice Cards ── */
    .legal-card {
      background: var(--card-bg);
      border-radius: 24px;
      padding: 22px;
      margin-bottom: 16px;
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      box-shadow: var(--shadow-soft);
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      display: block;
      transition: all 0.25s;
    }
    .legal-card-grid {
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }
    .legal-card-body {
      flex: 1;
      min-width: 0;
    }
    .legal-card-map {
      flex-shrink: 0;
      width: 200px;
      height: 180px;
      border-radius: 12px;
      overflow: hidden;
    }
    .legal-card-map iframe {
      pointer-events: none;
      width: 100%;
      height: 100%;
    }
    .legal-card:hover .legal-card-map iframe {
      pointer-events: auto;
    }
    @media (max-width: 600px) {
      .legal-card-grid { flex-direction: column; }
      .legal-card-map { width: 100%; height: 150px; }
    }
    .legal-card:hover {
      box-shadow: var(--shadow);
      transform: translateY(-2px);
    }
    .legal-card-header {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 10px;
    }
    .legal-icon {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }
    .legal-icon.type-rfp { background: rgba(45,140,255,0.1); }
    .legal-icon.type-hearing { background: rgba(166,50,35,0.1); }
    .legal-icon.type-rates { background: rgba(107,142,35,0.1); }
    .legal-icon.type-tax { background: rgba(139,90,43,0.1); }
    .legal-icon.type-housing { background: rgba(107,63,160,0.1); }
    .legal-icon.type-bid { background: rgba(0,128,128,0.1); }
    .legal-card-title {
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--text-primary);
      line-height: 1.35;
    }
    .legal-card-entity {
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-top: 2px;
    }
    .legal-card-entity.ent-county { color: var(--county-green); }
    .legal-card-entity.ent-norwood { color: #7b6834; }
    .legal-card-entity.ent-assessor { color: #8b5a2b; }
    .legal-card-entity.ent-mv { color: var(--mv-plum); }
    .legal-card-entity.ent-housing { color: #6b3fa0; }
    .legal-card-summary {
      font-size: 0.83rem;
      color: var(--text-secondary);
      line-height: 1.55;
      margin-bottom: 10px;
    }
    .legal-card-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }
    .legal-meta-tag {
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 999px;
      line-height: 1;
    }
    .legal-meta-tag.tag-deadline {
      background: rgba(166,50,35,0.08);
      color: #a63223;
    }
    .legal-meta-tag.tag-date {
      background: rgba(0,0,0,0.05);
      color: var(--text-secondary);
    }
    .legal-meta-tag.tag-type {
      background: rgba(45,140,255,0.08);
      color: #2264d1;
    }
    .legal-read-more {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--telluride-green);
      margin-left: auto;
    }
    .legal-paper-badges {
      display: flex;
      gap: 8px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid rgba(0,0,0,0.06);
      align-items: center;
    }
    .legal-paper-badges .paper-label {
      font-size: 0.68rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .paper-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(0,0,0,0.03);
      border: 1px solid rgba(0,0,0,0.06);
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--text-secondary);
      line-height: 1;
    }
    .paper-badge img {
      height: 14px;
      width: auto;
      object-fit: contain;
    }
    .legal-card-header .legal-entity-logo {
      flex-shrink: 0;
      width: 88px;
      height: 88px;
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.06);
    }
    .legal-entity-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 4px;
    }
    .legal-entity-logo svg {
      width: 56px;
      height: 56px;
    }
    .chip.active-public-entity { background: var(--county-green); color: #fff; }
    .chip.active-water-court { background: #2264d1; color: #fff; }
    .chip.active-housing { background: #6b3fa0; color: #fff; }
    .chip.active-ordinance { background: var(--telluride-green); color: #fff; }
    .chip.active-estate { background: #555; color: #fff; }
    .chip.active-tax-finance { background: #8b5a2b; color: #fff; }
    .chip.active-utilities { background: #3a8a6e; color: #fff; }


    /* ── Land Use Tab ───────────────────────────────────────────── */
    .landuse-shell { display: grid; gap: 22px; }
    .landuse-hero {
      background:
        linear-gradient(135deg, rgba(24,53,45,0.92), rgba(41,82,71,0.82)),
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1600&q=80&auto=format') center/cover no-repeat;
      color: #fff;
      border-radius: 30px;
      padding: 28px 26px 26px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }
    .landuse-hero-image {
      margin: 0 0 20px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
    }
    .landuse-hero-image img {
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      display: block;
      border-radius: 20px;
    }
    .landuse-hero-image .landuse-image-credit {
      font-size: 0.68rem;
      color: var(--text-muted);
      text-align: right;
      padding: 6px 12px 0;
    }
    .landuse-legal-summary {
      margin: 0 0 20px;
      padding: 20px 24px;
      border-radius: 16px;
      background: linear-gradient(135deg, #fdf6f0 0%, #fef9f5 100%);
      border: 1.5px solid rgba(166,80,35,0.18);
      box-shadow: var(--shadow-soft);
    }
    .landuse-legal-summary-label {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
      text-transform: uppercase; color: #8B4513; margin-bottom: 8px;
    }
    .landuse-legal-summary-text {
      font-size: 0.88rem; line-height: 1.65; color: var(--text-main);
    }
    .landuse-kicker {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em;
      text-transform: uppercase; opacity: 0.8; margin-bottom: 10px;
    }
    .landuse-hero h2 {
      font-size: clamp(1.8rem, 3vw, 2.7rem);
      line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 10px; max-width: 720px;
    }
    .landuse-hero p { font-size: 0.96rem; color: rgba(255,255,255,0.88); max-width: 760px; line-height: 1.65; }
    .landuse-topic-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
    .landuse-topic-pill {
      appearance: none; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.11);
      color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
      cursor: pointer; transition: all 0.2s ease;
    }
    .landuse-topic-pill:hover, .landuse-topic-pill.active { background: #fff; color: var(--forest); border-color: #fff; transform: translateY(-1px); }

    .landuse-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .landuse-panel {
      background: rgba(255,255,255,0.86); border: 1px solid rgba(221,213,200,0.78);
      border-radius: 28px; box-shadow: var(--shadow-soft); overflow: hidden;
    }
    .landuse-panel-header { padding: 20px 22px 12px; border-bottom: 1px solid rgba(221,213,200,0.55); }
    .landuse-panel-header h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 4px; }
    .landuse-panel-header p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
    .landuse-panel-body { padding: 18px 22px 22px; }

    .landuse-status { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; margin-bottom: 18px; }
    .landuse-status-card {
      background: linear-gradient(180deg, rgba(41,82,71,0.07), rgba(41,82,71,0.03));
      border: 1px solid rgba(41,82,71,0.12); border-radius: 22px; padding: 18px;
    }
    .landuse-status-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px; }
    .landuse-status-title { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); line-height: 1.15; margin-bottom: 8px; }
    .landuse-status-copy { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }
    .landuse-nextstep {
      display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 12px;
      border-radius: 999px; background: rgba(24,53,45,0.08); color: var(--forest); font-size: 0.76rem; font-weight: 700;
    }
    .landuse-snapshot { display: grid; gap: 10px; align-content: start; }
    .landuse-metric { background: #fff; border: 1px solid rgba(221,213,200,0.8); border-radius: 18px; padding: 14px 15px; }
    .landuse-metric-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
    .landuse-metric-value { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); line-height: 1.15; }
    .landuse-metric-sub { font-size: 0.76rem; color: var(--text-secondary); margin-top: 5px; line-height: 1.45; }

    .landuse-timeline { position: relative; padding-left: 18px; }
    .landuse-timeline::before {
      content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px;
      background: linear-gradient(180deg, rgba(24,53,45,0.2), rgba(24,53,45,0.06));
    }
    .landuse-event { position: relative; padding: 0 0 18px 18px; }
    .landuse-event:last-child { padding-bottom: 0; }
    .landuse-event::before {
      content: ''; position: absolute; left: -1px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
      background: var(--forest); box-shadow: 0 0 0 4px rgba(24,53,45,0.08);
    }
    .landuse-event.future::before { background: var(--accent-amber); box-shadow: 0 0 0 4px rgba(179,139,82,0.14); }
    .landuse-event-date { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 5px; }
    .landuse-event-title { font-size: 0.97rem; font-weight: 800; color: var(--text-primary); line-height: 1.35; margin-bottom: 4px; }
    .landuse-event-copy { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.58; }

    .landuse-doc-list, .landuse-compact-list, .landuse-player-list { display: grid; gap: 10px; }
    .landuse-doc-item {
      display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; background: rgba(255,255,255,0.84);
      border: 1px solid rgba(221,213,200,0.78); border-radius: 18px; padding: 14px 15px; text-decoration: none;
      transition: all 0.2s ease; color: inherit;
    }
    .landuse-doc-item:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(24,53,45,0.08); border-color: rgba(41,82,71,0.24); }
    .landuse-doc-item strong { display: block; font-size: 0.9rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
    .landuse-doc-item span { display: block; font-size: 0.77rem; color: var(--text-secondary); line-height: 1.45; }
    .landuse-doc-tag {
      font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
      color: var(--forest); background: rgba(24,53,45,0.08); border-radius: 999px; padding: 8px 10px; white-space: nowrap;
    }
    .landuse-compact-item { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid rgba(221,213,200,0.56); }
    .landuse-compact-item:first-child { padding-top: 0; }
    .landuse-compact-item:last-child { border-bottom: none; padding-bottom: 0; }
    .landuse-compact-meta { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
    .landuse-compact-title { font-size: 0.92rem; font-weight: 800; line-height: 1.4; color: var(--text-primary); text-decoration: none; }
    .landuse-compact-title:hover { text-decoration: underline; }
    .landuse-compact-copy { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
    .landuse-compact-copy br { display: block; content: ''; margin-top: 2px; }
    .event-meta br, .card-meta br, .meeting-meta br { display:block; content:''; margin-top:2px; }
    .landuse-player {
      display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 0;
      border-bottom: 1px solid rgba(221,213,200,0.56);
    }
    .landuse-player:last-child { border-bottom: none; padding-bottom: 0; }
    .landuse-player-badge {
      width: 38px; height: 38px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
      background: rgba(24,53,45,0.08); color: var(--forest); font-size: 1rem;
    }
    .landuse-player strong { display: block; font-size: 0.9rem; font-weight: 800; color: var(--text-primary); margin-bottom: 2px; }
    .landuse-player span { display: block; font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }
    .landuse-empty { font-size: 0.82rem; color: var(--text-muted); padding: 10px 0 2px; }

    /* ── Community Comment Section ── */
    .comment-section { margin-top: 28px; }
    .comment-section .landuse-panel { border: 1.5px solid var(--border-color); }
    .comment-guidelines {
      background: #FFF8E1; border: 1px solid #FFE082; border-radius: 10px;
      padding: 14px 18px; margin-bottom: 18px; font-size: 0.82rem; line-height: 1.6; color: #5D4037;
    }
    .comment-guidelines strong { display: block; margin-bottom: 6px; font-size: 0.88rem; color: #3E2723; }
    .comment-guidelines ul { margin: 6px 0 0 18px; padding: 0; }
    .comment-guidelines li { margin-bottom: 3px; }
    .comment-form { display: grid; gap: 14px; }
    .comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media (max-width: 540px) { .comment-form-row { grid-template-columns: 1fr; } }
    .comment-form label { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); display: block; margin-bottom: 4px; }
    .comment-form input, .comment-form textarea, .comment-form select {
      width: 100%; padding: 10px 12px; border: 1.5px solid var(--border-color); border-radius: 8px;
      font-size: 0.88rem; font-family: inherit; background: var(--card-bg); color: var(--text-primary);
      transition: border-color 0.2s;
    }
    .comment-form input:focus, .comment-form textarea:focus, .comment-form select:focus {
      outline: none; border-color: var(--forest);
    }
    .comment-form textarea { min-height: 80px; resize: vertical; }
    .comment-prompt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
    .comment-prompt-chip {
      font-size: 0.78rem; padding: 6px 14px; border-radius: 20px; cursor: pointer;
      border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      transition: all 0.2s;
    }
    .comment-prompt-chip:hover { border-color: var(--forest); color: var(--forest); }
    .comment-prompt-chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }
    .comment-type-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .comment-type-chip {
      font-size: 0.74rem; padding: 5px 12px; border-radius: 16px; cursor: pointer;
      border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      transition: all 0.2s; font-weight: 600;
    }
    .comment-type-chip:hover { border-color: var(--accent); color: var(--accent); }
    .comment-type-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
    .comment-submit-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .comment-submit-btn {
      padding: 10px 28px; border-radius: 8px; border: none; font-size: 0.88rem; font-weight: 700;
      background: var(--forest-soft); color: #f0f0f0; cursor: pointer; transition: all 0.2s;
    }
    .comment-submit-btn:hover { background: var(--forest); color: #fff; }
    .comment-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .comment-status { font-size: 0.8rem; color: var(--text-muted); }
    .comment-status.error { color: #C62828; }
    .comment-status.success { color: #2E7D32; }
    .comment-rewrite-nudge {
      background: #FFF3E0; border: 1px solid #FFB74D; border-radius: 10px;
      padding: 14px 18px; font-size: 0.84rem; line-height: 1.6; color: #E65100; display: none;
    }
    .comment-rewrite-nudge button {
      margin-top: 8px; padding: 6px 16px; border-radius: 6px; border: 1px solid #E65100;
      background: #fff; color: #E65100; font-size: 0.8rem; font-weight: 600; cursor: pointer;
    }
    .comment-verify-overlay {
      background: rgba(0,0,0,0.5); position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      display: flex; align-items: center; justify-content: center; z-index: 9999;
      opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .comment-verify-modal {
      background: var(--card-bg); border-radius: 14px; padding: 32px; max-width: 420px; width: 90%;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
    .comment-verify-modal h3 { margin: 0 0 12px; font-size: 1.1rem; }
    .comment-verify-modal p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
    .comment-verify-modal input {
      width: 100%; padding: 10px 12px; border: 1.5px solid var(--border-color); border-radius: 8px;
      font-size: 1rem; font-family: inherit; margin-bottom: 12px; letter-spacing: 4px; text-align: center;
    }
    .comment-verify-modal .comment-submit-btn { width: 100%; }
    .comment-sort-btn {
      font-size: 0.74rem; padding: 5px 12px; border-radius: 14px; cursor: pointer;
      border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      font-weight: 600; transition: all 0.15s;
    }
    .comment-sort-btn:hover { border-color: var(--forest); }
    .comment-sort-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
    .comment-list { display: grid; gap: 14px; }
    .comment-item {
      padding: 16px 18px; border-radius: 10px; border: 1px solid var(--border-color);
      background: var(--card-bg);
    }
    .comment-item-author { font-weight: 700; font-size: 0.88rem; color: var(--text-primary); }
    .comment-item-date { font-size: 0.72rem; color: var(--text-muted); }
    .comment-item-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
    .comment-item-tag {
      font-size: 0.68rem; padding: 2px 8px; border-radius: 10px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .comment-item-tag.type-question { background: #E3F2FD; color: #1565C0; }
    .comment-item-tag.type-observation { background: #F3E5F5; color: #7B1FA2; }
    .comment-item-tag.type-concern { background: #FFF3E0; color: #E65100; }
    .comment-item-tag.type-support { background: #E8F5E9; color: #2E7D32; }
    .comment-item-tag.type-opposition { background: #FCE4EC; color: #C62828; }
    .comment-item-tag.type-correction { background: #FFF8E1; color: #F57F17; }
    .comment-item-tag.type-experience { background: #E0F7FA; color: #00838F; }
    .comment-item-tag.prompt-tag { background: #ECEFF1; color: #455A64; }
    .comment-item-body { font-size: 0.88rem; line-height: 1.65; color: var(--text-primary); }
    .comment-item-source { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; font-style: italic; }
    .comment-item.held { opacity: 0.6; border-style: dashed; }
    .comment-item.held::after {
      content: 'Under review'; display: block; font-size: 0.72rem; color: #E65100;
      margin-top: 8px; font-weight: 600;
    }
    .comment-count { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }

    /* Additional comment classes used by JS-generated HTML */
    .comment-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media (max-width: 540px) { .comment-name-row { grid-template-columns: 1fr; } }
    .comment-prompt-label, .comment-type-label { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 2px; }
    .comment-char-count { font-size: 0.72rem; color: var(--text-muted); text-align: right; }
    .prompt-chip {
      font-size: 0.78rem; padding: 6px 14px; border-radius: 20px; cursor: pointer;
      border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      transition: all 0.2s; font-family: inherit;
    }
    .prompt-chip:hover { border-color: var(--forest); color: var(--forest); }
    .prompt-chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }
    .type-chip {
      font-size: 0.74rem; padding: 5px 12px; border-radius: 16px; cursor: pointer;
      border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      transition: all 0.2s; font-weight: 600; font-family: inherit;
    }
    .type-chip:hover { border-color: var(--accent); color: var(--accent); }
    .type-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
    .sort-btn {
      font-size: 0.74rem; padding: 5px 12px; border-radius: 14px; cursor: pointer;
      border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      font-weight: 600; transition: all 0.15s; font-family: inherit;
    }
    .sort-btn:hover { border-color: var(--forest); }
    .sort-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
    .comment-sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
    .comment-sort-options { display: flex; gap: 6px; flex-wrap: wrap; }
    .comment-item-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .comment-item-time { font-size: 0.72rem; color: var(--text-muted); margin-left: auto; }
    .comment-item-actions { margin-top: 10px; }
    .comment-useful-btn {
      font-size: 0.74rem; padding: 4px 12px; border-radius: 14px; cursor: pointer;
      border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-secondary);
      font-family: inherit; transition: all 0.15s;
    }
    .comment-useful-btn:hover { border-color: var(--forest); color: var(--forest); }
    .comment-staff-badge {
      font-size: 0.68rem; padding: 2px 8px; border-radius: 10px; font-weight: 700;
      background: #FFF8E1; color: #F57F17;
    }
    .comment-verify-overlay { opacity: 0; transition: opacity 0.3s; pointer-events: none; }
    .comment-verify-overlay.visible { opacity: 1; pointer-events: all; display: flex !important; }
    .verify-actions { display: flex; gap: 10px; margin-top: 12px; }
    .verify-cancel-btn {
      flex: 1; padding: 10px; border-radius: 8px; border: 1.5px solid var(--border-color);
      background: var(--card-bg); color: var(--text-secondary); font-size: 0.88rem; font-weight: 600;
      cursor: pointer; font-family: inherit;
    }
    .verify-confirm-btn {
      flex: 1; padding: 10px; border-radius: 8px; border: none;
      background: var(--forest); color: #fff; font-size: 0.88rem; font-weight: 700;
      cursor: pointer; font-family: inherit; transition: opacity 0.2s;
    }
    .verify-confirm-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .comment-rewrite-nudge { display: flex; align-items: flex-start; gap: 10px; }
    .nudge-icon { font-size: 1.2rem; flex-shrink: 0; }
    .nudge-text { font-size: 0.84rem; line-height: 1.5; }
    .comment-toggle-btn {
      display: inline-block; padding: 8px 18px; border-radius: 8px; border: none;
      background: var(--forest); color: #fff; font-size: 0.82rem; font-weight: 600;
      cursor: pointer; font-family: inherit; transition: opacity 0.2s; margin-bottom: 0;
    }
    .comment-toggle-btn:hover { opacity: 0.85; }
    .comment-toggle-btn.active { margin-bottom: 16px; }
    .comment-form-collapsed { display: none; }

    .landuse-grid > div:last-child {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }
    @media (max-width: 980px) {
      .landuse-status, .landuse-grid > div:last-child { grid-template-columns: 1fr; }
    }
    @media (max-width: 560px) {
      .landuse-hero { padding: 22px 18px 20px; border-radius: 24px; }
      .landuse-panel { border-radius: 22px; }
      .landuse-panel-header, .landuse-panel-body { padding-left: 16px; padding-right: 16px; }
      .landuse-doc-item { grid-template-columns: 1fr; }
      .landuse-doc-tag { justify-self: start; }
    }



    /* ── Topic illustrations for meeting / event cards ── */
    .meeting-card,
    .event-card,
    .card[data-type="meeting"] {
      position: relative;
      overflow: hidden;
    }
    .event-card-main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 160px;
      gap: 20px;
      align-items: center;
    }
    .event-card-main.has-club-info {
      grid-template-columns: minmax(0, 1fr) 240px;
      align-items: start;
    }
    .event-card-content {
      min-width: 0;
    }
    .event-illustration {
      position: relative;
      border-radius: 20px;
      width: 160px;
      height: 128px;
      overflow: hidden;
      border: 1px solid rgba(24,53,45,0.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
      background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.06));
    }
    .event-illustration svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    .event-illustration::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.18));
      pointer-events: none;
    }
    .topic-housing { background: linear-gradient(180deg, #eef4f1 0%, #dde9e3 100%); }
    .topic-transit { background: linear-gradient(180deg, #eef2f8 0%, #dde6f2 100%); }
    .topic-medical { background: linear-gradient(180deg, #edf7f6 0%, #dceceb 100%); }
    .topic-fire { background: linear-gradient(180deg, #fbf0ed 0%, #f3dfd8 100%); }
    .topic-school { background: linear-gradient(180deg, #f5f1fb 0%, #e8e0f5 100%); }
    .topic-governance { background: linear-gradient(180deg, #f4f1ec 0%, #e9e1d8 100%); }
    .topic-infrastructure { background: linear-gradient(180deg, #f3f6f0 0%, #e3ead8 100%); }
    .event-photo { background: none; border: none; box-shadow: none; }
    .event-photo::after { display: none; }
    .event-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }

    /* ── Club Info Box (right-side panel on community event cards) ── */
    .club-info-box {
      border-radius: 14px;
      background: linear-gradient(180deg, #f7f5f0 0%, #ede9e0 100%);
      border: 1px solid rgba(24,53,45,0.10);
      padding: 16px 18px;
      font-size: 0.78rem;
      line-height: 1.55;
      color: var(--text-primary);
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    /* Align card-logo to top when club-info-box makes the card tall */
    .card.card-has-club {
      align-items: flex-start;
    }
    .club-info-box .club-info-header {
      font-weight: 700;
      font-size: 0.82rem;
      color: var(--forest);
      margin-bottom: 4px;
      text-align: center;
    }
    .club-info-box .club-info-link {
      display: block;
      text-align: center;
      margin-top: 8px;
      padding: 8px 14px;
      background: var(--forest);
      color: #fff;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.78rem;
      text-decoration: none;
      transition: background 0.2s;
    }
    .club-info-box .club-info-link:hover {
      background: var(--dark-forest);
    }
    .club-info-box .club-info-row {
      display: flex;
      gap: 6px;
    }
    .club-info-box .club-info-label {
      font-weight: 600;
      color: var(--forest);
      white-space: nowrap;
    }

    @media (max-width: 760px) {
      .event-card-main {
        grid-template-columns: 1fr;
      }
      .event-illustration {
        width: 120px;
        height: 96px;
      }
    }


    /* ── Loading / Error States ── */
    .loading {
      text-align: center;
      padding: 40px 20px;
      color: var(--text-muted);
    }
    .loading .spinner {
      display: inline-block;
      width: 28px; height: 28px;
      border: 3px solid var(--line);
      border-top-color: var(--forest);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin-bottom: 10px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .error-msg {
      text-align: center;
      padding: 24px;
      background: rgba(255,245,245,0.9);
      border: 1px solid #fdd;
      border-radius: var(--radius);
      color: var(--accent-red);
      font-size: 0.85rem;
    }

    .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    /* ── Main Layout (content + sidebars) ── */
    .main-layout {
      display: flex;
      gap: 28px;
      align-items: flex-start;
    }
    .main-content {
      flex: 1;
      min-width: 0;
    }

    /* ── Left Sidebar ── */
    .left-sidebar {
      flex-shrink: 0;
      width: 280px;
      position: sticky;
      top: 60px;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      overscroll-behavior: contain;
      display: flex;
      flex-direction: column;
      gap: 14px;
      order: -1;
      padding-right: 4px;
    }
    .left-sidebar::-webkit-scrollbar { width: 5px; }
    .left-sidebar::-webkit-scrollbar-track { background: transparent; }
    .left-sidebar::-webkit-scrollbar-thumb { background: rgba(47,86,77,0.25); border-radius: 4px; }
    .left-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(47,86,77,0.45); }
    .left-sidebar-card {
      flex-shrink: 0;
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      border-radius: 14px;
      padding: 18px 20px;
      box-shadow: var(--shadow-soft);
    }
    .left-sidebar-title {
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }

    /* This Week snapshot */
    .week-stat {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
    }
    .week-stat + .week-stat {
      border-top: 1px solid rgba(0,0,0,0.04);
    }
    .week-stat-icon {
      font-size: 1.1rem;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(33,68,60,0.07);
      border-radius: 8px;
      flex-shrink: 0;
    }
    .week-stat-text {
      font-size: 0.75rem;
      color: var(--text-secondary);
      line-height: 1.35;
    }
    .week-stat-text strong {
      color: var(--text-primary);
      font-weight: 700;
    }

    /* Deadlines */
    .deadline-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      padding: 7px 0;
    }
    .deadline-item + .deadline-item {
      border-top: 1px solid rgba(0,0,0,0.04);
    }
    .deadline-badge {
      flex-shrink: 0;
      font-size: 0.6rem;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      white-space: nowrap;
      margin-top: 1px;
    }
    .deadline-badge.urgent {
      background: rgba(180, 50, 40, 0.12);
      color: #a33;
    }
    .deadline-badge.soon {
      background: rgba(200, 140, 30, 0.15);
      color: #9a6b10;
    }
    .deadline-badge.upcoming {
      background: rgba(33, 68, 60, 0.1);
      color: var(--forest-soft);
    }
    .deadline-text {
      font-size: 0.72rem;
      color: var(--text-secondary);
      line-height: 1.35;
    }
    .deadline-text strong {
      color: var(--text-primary);
      font-weight: 600;
      display: block;
    }

    /* Contact links */
    .contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 8px;
      border-radius: 8px;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--forest-soft);
      text-decoration: none;
      transition: all 0.15s;
      margin-bottom: 2px;
    }
    .contact-item:hover {
      background: rgba(33,68,60,0.07);
      color: var(--forest);
    }
    .contact-icon {
      font-size: 0.85rem;
      width: 20px;
      text-align: center;
      flex-shrink: 0;
    }
    .contact-label {
      flex: 1;
      line-height: 1.3;
    }
    .contact-deadline-note {
      font-size: 0.62rem;
      font-weight: 400;
      color: var(--text-muted);
      display: block;
    }

    .week-summary-prose {
      font-size: 0.88rem;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .week-summary-prose p {
      margin: 0 0 10px 0;
    }
    .week-summary-prose p:last-child {
      margin-bottom: 0;
    }
    .week-summary-prose strong {
      color: var(--text-primary);
      font-weight: 700;
    }
    .week-summary-prose .summary-festival {
      background: linear-gradient(135deg, rgba(200,140,30,0.08), rgba(200,140,30,0.15));
      border-left: 3px solid #c88c1e;
      border-radius: 0 8px 8px 0;
      padding: 6px 10px;
      margin-bottom: 10px;
    }
    .week-summary-prose .summary-divider {
      border: none;
      border-top: 1px solid rgba(0,0,0,0.06);
      margin: 10px 0;
    }

    .left-sidebar-empty {
      font-size: 0.72rem;
      color: var(--text-muted);
      font-style: italic;
      padding: 4px 0;
    }

    /* ── Sidebar ── */
    .sidebar {
      flex-shrink: 0;
      width: 240px;
      position: sticky;
      top: 60px;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      transition: width 0.3s ease, opacity 0.3s ease;
    }
    /* In Wix auto-height mode, sticky won't work — sidebar becomes static
       and scrolls with content. Still useful as a persistent filter panel. */
    body.wix-auto-height .sidebar {
      position: relative;
      top: auto;
      max-height: none;
      align-self: flex-start;
    }
    .sidebar-inner {
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1.5px solid rgba(33, 68, 60, 0.22);
      border-radius: 24px;
      padding: 20px;
      box-shadow: var(--shadow-soft);
    }
    .sidebar-title {
      font-size: 0.88rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--line);
    }
    .sidebar-tag {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.2s;
      margin-bottom: 4px;
      border: 1px solid transparent;
    }
    .sidebar-tag:hover {
      background: rgba(24, 53, 45, 0.04);
      color: var(--text-primary);
    }
    .sidebar-tag.active {
      background: var(--forest);
      color: #fff;
      border-color: var(--forest);
    }
    .sidebar-tag .tag-icon {
      font-size: 2.80rem;
      width: 48px;
      text-align: center;
      flex-shrink: 0;
    }
    .sidebar-tag .tag-label {
      flex: 1;
      line-height: 1.3;
    }
    .sidebar-tag .tag-count {
      font-size: 0.88rem;
      font-weight: 700;
      background: rgba(0,0,0,0.06);
      color: var(--text-muted);
      padding: 2px 8px;
      border-radius: 999px;
      min-width: 24px;
      text-align: center;
    }
    .sidebar-tag.active .tag-count {
      background: rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.85);
    }
    .sidebar-reset {
      display: block;
      width: 100%;
      margin-top: 12px;
      padding: 8px;
      border-radius: 10px;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--text-muted);
      background: none;
      border: 1px solid var(--line);
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }
    .sidebar-reset:hover {
      border-color: var(--forest);
      color: var(--forest);
    }

    /* Sidebar mobile toggle */
    .sidebar-toggle {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: var(--forest);
      color: #fff;
      border: none;
      box-shadow: 0 4px 20px rgba(24, 53, 45, 0.3);
      cursor: pointer;
      z-index: 200;
      font-size: 1.3rem;
      transition: all 0.2s;
      align-items: center;
      justify-content: center;
    }
    .sidebar-toggle:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 24px rgba(24, 53, 45, 0.4);
    }
    /* In auto-height mode, fixed toggle won't be visible — use sticky-bottom instead */
    body.wix-auto-height .sidebar-toggle {
      position: sticky;
      bottom: 20px;
      float: right;
      margin-top: -72px;
      margin-right: 12px;
    }

    /* Mobile sidebar overlay */
    .sidebar-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.3);
      z-index: 150;
    }
    .sidebar-overlay.active { display: block; }
    /* In auto-height mode, overlay uses absolute positioning within the iframe */
    body.wix-auto-height .sidebar-overlay {
      position: absolute;
      min-height: 100%;
    }

    /* ── Sidebar Collapse/Expand Toggles ── */
    .sidebar-collapse-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 48px;
      background: var(--card-bg);
      border: 1px solid rgba(221, 213, 200, 0.72);
      border-radius: 0 8px 8px 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      color: var(--text-muted);
      transition: all 0.2s;
      z-index: 10;
      box-shadow: 2px 0 6px rgba(0,0,0,0.06);
      padding: 0;
    }
    .sidebar-collapse-btn:hover {
      background: var(--forest);
      color: #fff;
      border-color: var(--forest);
    }
    .sidebar-collapse-btn.right-toggle {
      left: -24px;
      border-radius: 8px 0 0 8px;
      box-shadow: -2px 0 6px rgba(0,0,0,0.06);
    }

    /* Collapsed right sidebar */
    .sidebar.collapsed {
      width: 0 !important;
      min-width: 0 !important;
      overflow: hidden;
      opacity: 0;
      padding: 0;
      margin: 0;
    }
    .sidebar.collapsed .sidebar-inner {
      visibility: hidden;
    }

    /* Expand pill shown when right sidebar is collapsed */
    .expand-pill-right {
      display: none;
      position: sticky;
      top: 60px;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      background: var(--card-bg);
      border: 1px solid rgba(221, 213, 200, 0.72);
      border-radius: 12px;
      padding: 14px 6px;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      cursor: pointer;
      box-shadow: var(--shadow-soft);
      transition: all 0.2s;
      align-self: flex-start;
      max-height: calc(100vh - 80px);
      flex-shrink: 0;
    }
    .expand-pill-right:hover {
      background: var(--forest);
      color: #fff;
      border-color: var(--forest);
    }
    .expand-pill-right.visible {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    @media (max-width: 860px) {
      .main-layout { flex-direction: column; }
      .sidebar {
        position: fixed;
        top: 0;
        right: -280px;
        width: 270px;
        height: 100vh;
        max-height: 100vh;
        z-index: 160;
        padding: 20px 0;
        transition: right 0.3s ease;
      }
      .sidebar.open { right: 0; }
      /* In auto-height mode, mobile sidebar uses absolute positioning */
      body.wix-auto-height .sidebar {
        position: absolute;
        height: 100%;
        max-height: none;
      }
      .sidebar-inner {
        height: 100%;
        border-radius: 24px 0 0 24px;
        overflow-y: auto;
        padding: 24px 18px;
      }
      .sidebar-toggle { display: flex; }
      .sidebar-collapse-btn,
      .expand-pill-right { display: none !important; }
    }

    /* ── Scroll-to-top button (useful in iframe context) ── */
    .scroll-top-btn {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 20px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255,255,255,0.92);
      color: var(--forest);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      cursor: pointer;
      z-index: 200;
      font-size: 1.1rem;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .scroll-top-btn.visible { display: flex; }
    .scroll-top-btn:hover {
      background: var(--forest);
      color: #fff;
      border-color: var(--forest);
    }
    body.wix-auto-height .scroll-top-btn {
      position: sticky;
      float: left;
      margin-top: -64px;
      margin-left: 12px;
    }

    /* Active topic banner (shows on main content when topic is filtered) */
    .topic-banner {
      display: none;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      margin-bottom: 16px;
      background: rgba(24, 53, 45, 0.06);
      border: 1px solid rgba(24, 53, 45, 0.12);
      border-radius: 14px;
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--forest);
    }
    .topic-banner.visible { display: flex; }
    .topic-banner .banner-icon { font-size: 1.1rem; }
    .topic-banner .banner-text { flex: 1; }
    .topic-banner .banner-clear {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff;
      transition: all 0.2s;
    }
    .topic-banner .banner-clear:hover {
      border-color: var(--forest);
      color: var(--forest);
    }

    /* ── Footer ── */
    .footer {
      text-align: center;
      padding: 24px 16px;
      font-size: 0.72rem;
      color: var(--text-muted);
      border-top: 1px solid var(--line);
      max-width: 1120px;
      margin: 0 auto;
    }
    .footer a { color: var(--forest); text-decoration: none; }
    .footer a:hover { text-decoration: underline; }

    /* ── Tablet: collapse left sidebar and festival sidebar and blog sidebar ── */
    @media (max-width: 960px) {
      .left-sidebar { display: none; }
      .festival-sidebar { display: none !important; }
      .blog-sidebar { display: none !important; }
      /* Override the localnews-active rule that shows blog sidebar on desktop */
      .main-layout.localnews-active .blog-sidebar { display: none !important; }
    }

    /* ── Mobile ── */
    @media (max-width: 560px) {

      .tab-btn { padding: 12px 14px; font-size: 0.8rem; }
      .container { padding: 18px 12px 40px; }
      .chip { padding: 8px 14px; font-size: 0.78rem; }
      #tab-land-use #landUseTopicRow { display: none !important; }
    }

    /* ── Mobile Bottom Navigation ── */
    .mobile-nav {
      display: none;
    }
    @media (max-width: 768px) {
      /* Hide the desktop tab buttons on mobile */
      .tab-bar {
        display: none;
      }
      .site-header-nav {
        display: none;
      }
      .site-header {
        justify-content: center;
      }
      .site-header-translate {
        margin-left: 0;
      }
      /* Show mobile bottom nav */
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(255,253,252,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
        padding: 0;
        justify-content: space-around;
        align-items: stretch;
        height: 62px;
      }
      /* Safe area for phones with home bar */
      @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .mobile-nav { padding-bottom: env(safe-area-inset-bottom); }
      }
      .mobile-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 6px 2px 4px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-muted);
        transition: color 0.2s;
        position: relative;
        -webkit-tap-highlight-color: transparent;
      }
      .mobile-nav-btn .nav-icon {
        font-size: 1.25rem;
        line-height: 1;
        margin-bottom: 2px;
      }
      .mobile-nav-btn .nav-label {
        font-size: 0.58rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
      }
      .mobile-nav-btn.active {
        color: var(--forest);
      }
      .mobile-nav-btn.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 25%;
        right: 25%;
        height: 3px;
        background: var(--forest);
        border-radius: 0 0 3px 3px;
      }
      /* More menu overlay */
      .mobile-more-menu {
        display: none;
        position: fixed;
        bottom: 62px;
        left: 0;
        right: 0;
        z-index: 9998;
        background: rgba(255,253,252,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        padding: 10px 16px;
        border-radius: 16px 16px 0 0;
      }
      .mobile-more-menu.open {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .mobile-more-item {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1 1 45%;
        padding: 12px 14px;
        background: rgba(33,68,60,0.04);
        border-radius: 10px;
        border: none;
        cursor: pointer;
        color: var(--text-secondary);
        font-size: 0.85rem;
        font-weight: 600;
        transition: background 0.15s;
        -webkit-tap-highlight-color: transparent;
      }
      .mobile-more-item:hover, .mobile-more-item:active {
        background: rgba(33,68,60,0.10);
      }
      .mobile-more-item.active {
        color: var(--forest);
        background: rgba(33,68,60,0.10);
      }
      .mobile-more-item .nav-icon {
        font-size: 1.15rem;
      }
      /* Add bottom padding to container so content isn't hidden behind nav */
      .container {
        padding-bottom: 80px !important;
      }
      @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .container { padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
      }
      /* Mobile more menu backdrop */
      .mobile-more-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9997;
        background: rgba(0,0,0,0.25);
      }
      .mobile-more-backdrop.open {
        display: block;
      }
    }

    #tab-meetings .source-filters { display: none !important; }
    #tab-meetings .source-badge,
    #tab-meetings .category-tag,
    #tab-meetings .card-badges,
    #tab-meetings .badges,
    #tab-meetings .entity-badge { display: none !important; }
    .event-summary br, .event-meta br, .card-meta br, .meeting-meta br { display:block; content:""; margin-top:2px; }

    #tab-links .sidebar,
    #tab-links .right-rail,
    #tab-links .links-sidebar,
    #tab-links .quicklinks-sidebar,
    #tab-links .secondary-column,
    #tab-links .tab-sidebar,
    #tab-links aside:not(.lg-filter-sidebar) { display: none !important; }
    #tab-links .two-column,
    #tab-links .links-layout,
    #tab-links .quick-links-layout,
    #tab-links .content-grid {
      grid-template-columns: 1fr !important;
    }

    #tab-links a[title*="Subscribe to Alerts" i],
    #tab-links a[aria-label*="Subscribe to Alerts" i],
    #tab-links a[href*="notify" i],
    #tab-links a[href*="alert" i].quick-link-subscribe,
    #tab-links .subscribe-alerts,
    #tab-links .alerts-link { display: none !important; }

    #tab-news .source-badge,
    #tab-news .category-tag,
    #tab-news .card-badges,
    #tab-news .badges,
    #tab-news .entity-badge { display: none !important; }

