﻿/*
Theme Name: TurnUpCity
Theme URI: https://turnuphosting.com/
Author: Ferguson
Author URI: https://turnuphosting.com/
Description: Modern city government WordPress theme
Version: 1.0.0
License: GPL v2+
Text Domain: turnupcity
*/


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
      color: #333;
      line-height: 1.6;
      background: white;
    }

    .screen-reader-text {
      border: 0;
      clip: rect(1px, 1px, 1px, 1px);
      clip-path: inset(50%);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute !important;
      width: 1px;
      word-wrap: normal !important;
    }

    .screen-reader-text:focus {
      clip: auto !important;
      clip-path: none;
      height: auto;
      margin: 0;
      width: auto;
      padding: 15px 23px 14px;
      background-color: #0f172a;
      color: #fff;
      z-index: 100000;
      border-radius: 8px;
    }

    a {
      color: #22c55e;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover,
    a:focus {
      color: #15803d;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: #333;
    }

    h3 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
    }

    p {
      color: #666;
      margin-bottom: 1rem;
    }

    /* HEADER */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: white;
    }

    .header-alert {
      background: #78350f;
      color: white;
      padding: 0.75rem 20px;
      font-size: 0.9rem;
      text-align: center;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }

    .header-alert-content {
      flex: 1;
    }

    .header-alert button {
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      font-size: 1.2rem;
    }

    .header-main {
      background: #0ea5e9;
      padding: 1rem 20px;
      color: white;
    }

    .header-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      align-items: center;
      gap: 2rem;
      padding: 0 20px;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.5rem;
      font-weight: bold;
      color: white;
      cursor: pointer;
      text-decoration: none;
      flex: 0 0 auto;
    }

    .logo-icon {
      width: 60px;
      height: 60px;
      background: #84cc16;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-text .city-label {
      font-size: 0.65rem;
      opacity: 0.95;
      letter-spacing: 1px;
    }

    .logo-text .city-name {
      font-size: 1.4rem;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex: 0 0 auto;
    }

    .connect-btn {
      background: rgba(255,255,255,0.2);
      border: 1px solid white;
      color: white;
      padding: 0.5rem 1.2rem;
      border-radius: 20px;
      cursor: pointer;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: background 0.3s;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .connect-btn:hover {
      background: rgba(255,255,255,0.3);
    }

    .header-info {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .search-bar {
      display: flex;
      align-items: center;
      background: white;
      border-radius: 4px;
      padding: 0.5rem 1rem;
      gap: 0.5rem;
      position: relative;
    }

    .search-bar label {
      flex: 1;
      margin: 0;
    }

    .search-bar input {
      border: none;
      outline: none;
      width: 100%;
      font-size: 0.9rem;
      background: transparent;
      color: #333;
      padding-right: 2.5rem;
    }

    .search-bar input::placeholder {
      color: #999;
    }
    
    .search-bar .search-submit {
      position: absolute;
      right: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.25rem;
      font-size: 1.1rem;
      line-height: 1;
      color: #666;
      transition: color 0.2s;
    }
    
    .search-bar .search-submit:hover {
      color: #0ea5e9;
    }

    .language-selector {
      position: relative;
      display: flex;
      align-items: center;
    }

    .language-btn {
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0;
      transition: opacity 0.3s;
      white-space: nowrap;
    }

    .language-btn:hover {
      opacity: 0.8;
    }

    .language-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 4px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      min-width: 150px;
      z-index: 50;
      margin-top: 8px;
      flex-direction: column;
    }

    .language-dropdown.is-open {
      display: flex;
    }

    .language-option {
      display: block;
      background: none;
      border: none;
      padding: 10px 16px;
      text-align: left;
      cursor: pointer;
      color: #333;
      font-size: 0.9rem;
      transition: background 0.3s;
      white-space: nowrap;
      text-decoration: none;
    }

    .language-option:hover {
      background: #f3f4f6;
    }

    .language-option:first-child {
      border-radius: 3px 3px 0 0;
    }

    .language-option:last-child {
      border-radius: 0 0 3px 3px;
    }

    /* NAVIGATION */
    .nav-bar {
      background: white;
      border-bottom: 1px solid #e5e7eb;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      display: flex;
      justify-content: center;
      padding: 0 20px;
    }

    .primary-nav {
      display: flex;
      align-items: stretch;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    .primary-nav > ul {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      width: 100%;
    }

    .primary-nav > ul > li {
      position: relative;
      flex: 1;
      border-right: 1px solid #e5e7eb;
    }

    .primary-nav > ul > li:last-child {
      border-right: none;
    }

    .primary-nav > ul > li > a.nav-link {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem 1rem;
      min-height: 70px;
      width: 100%;
      background: none;
      text-decoration: none;
      color: inherit;
      gap: 0.5rem;
      transition: background 0.3s;
    }

    .primary-nav > ul > li > a.nav-link:hover {
      background: #f9fafb;
    }

    .nav-item-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .menu-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 0.35rem;
      font-size: 1rem;
    }

    .nav-label {
      font-size: 0.75rem;
      font-weight: 700;
      color: #374151;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .nav-sublabel {
      font-size: 0.7rem;
      color: #9ca3af;
      font-weight: 400;
    }

    .dropdown-arrow {
      font-size: 0.7rem;
      color: #9ca3af;
      margin-left: 0.25rem;
    }

    /* DROPDOWN MENU */
    .primary-nav .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      left: auto;
      width: min(700px, calc(100vw - 40px));
      background: #fff;
      border: 1px solid #e5e7eb;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      z-index: 100;
    }

    .primary-nav .dropdown-menu.dropdown-menu-right {
      right: 0 !important;
      left: auto !important;
    }
    
    .primary-nav > ul > li:first-child .dropdown-menu,
    .primary-nav > ul > li:nth-child(2) .dropdown-menu,
    .primary-nav > ul > li:nth-child(3) .dropdown-menu {
      left: 0 !important;
      right: auto !important;
    }

    .primary-nav > ul > li:hover > .dropdown-menu {
      display: grid;
    }

    .primary-nav .dropdown-grid {
      display: grid;
      grid-template-columns: 300px 1fr;
      min-height: 400px;
      max-height: calc(100vh - 200px);
    }

    .primary-nav .dropdown-left {
      padding: 2rem;
      color: white;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .primary-nav .dropdown-left h3 {
      font-size: 1.5rem;
      margin: 0;
      color: white;
    }

    .primary-nav .dropdown-left p {
      font-size: 0.95rem;
      margin: 0;
      color: rgba(255,255,255,0.9);
      line-height: 1.5;
    }

    .primary-nav .dropdown-category {
      margin-top: auto;
    }

    .primary-nav .dropdown-category-title {
      font-weight: 600;
      margin-bottom: 0.3rem;
      color: white;
    }

    .primary-nav .dropdown-category-desc {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.85);
    }

    .primary-nav .dropdown-right {
      padding: 2rem;
      background: white;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      overflow-y: auto;
      max-height: calc(100vh - 200px);
    }

    .primary-nav .dropdown-right-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .primary-nav .dropdown-right-list > li {
      border: none;
    }

    .primary-nav .dropdown-link {
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .primary-nav .dropdown-item {
      display: flex;
      gap: 1rem;
      padding: 0.75rem;
      border-radius: 0.5rem;
      border: none;
      background: none;
      cursor: pointer;
      align-items: flex-start;
      transition: background 0.2s;
    }

    .primary-nav .dropdown-link:hover .dropdown-item {
      background: #f3f4f6;
    }

    .primary-nav .dropdown-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      color: white;
      flex-shrink: 0;
    }

    .primary-nav .dropdown-item-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .primary-nav .dropdown-item-title {
      font-weight: 600;
      color: #1f2937;
    }

    .primary-nav .dropdown-item-desc {
      font-size: 0.85rem;
      color: #666;
    }

    /* Color classes */
    .bg-lime { background: #84cc16 !important; }
    .bg-navy { background: #001f3f !important; }
    .bg-forest { background: #15803d !important; }
    .bg-dark-blue { background: #1e3a8a !important; }
    .bg-blue-600 { background: #2563eb !important; }
    .bg-red-600 { background: #dc2626 !important; }
    .bg-orange-600 { background: #ea580c !important; }
    .bg-apple-green { background: #22c55e !important; }
    .bg-picton-blue { background: #0ea5e9 !important; }
    .bg-pigment-green { background: #16a34a !important; }
    .bg-dark-slate { background: #111827 !important; }
    .bg-slate-700 { background: #374151 !important; }

    /* HERO */
    .hero {
      position: relative;
      height: 500px;
      overflow: hidden;
      background: #1f2937;
    }

    .hero-slide {
      display: none;
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease;
    }

    .hero-slide.active {
      display: block;
      opacity: 0.6;
    }

    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      z-index: 10;
      max-width: 600px;
    }

    .hero-content h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-content p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
      color: #e5e7eb;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .hero-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-hero-primary {
      background: #2563eb;
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-hero-primary:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
    }

    .btn-hero-secondary {
      background: transparent;
      color: white;
      padding: 12px 30px;
      border: 2px solid white;
      border-radius: 6px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-hero-secondary:hover {
      background: white;
      color: #2563eb;
    }

    .hero-nav {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 20;
    }

    .hero-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
      cursor: pointer;
      transition: background 0.3s;
    }

    .hero-dot.active {
      background: white;
    }

    .hero-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.3);
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      font-size: 20px;
      z-index: 20;
      transition: background 0.3s;
      border-radius: 4px;
    }

    .hero-btn:hover {
      background: rgba(0,0,0,0.5);
    }

    .hero-btn.prev {
      left: 20px;
    }

    .hero-btn.next {
      right: 20px;
    }

    /* SECTIONS */
    .quick-services {
      padding: 60px 20px;
      background: white;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 20px;
    }

    .service-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 20px 15px;
      background: #f9fafb;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      text-align: center;
      border: none;
    }

    .service-card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    .service-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    .service-card span {
      font-size: 14px;
      font-weight: 500;
      color: #333;
    }

    /* Interior Page Sections */
    .content-section {
      padding: 60px 20px;
    }

    .content-section.section-gray {
      background: #f9fafb;
    }

    .content-section h2 {
      font-size: 2.25rem;
      margin-bottom: 1.5rem;
      color: #111827;
    }

    .content-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .content-grid .card {
      background: white;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .content-grid .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    }

    .content-grid .card h3 {
      margin-bottom: 12px;
      color: #15803d;
      font-size: 1.2rem;
    }

    .news-section {
      padding: 60px 20px;
      background: #f9fafb;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .news-card {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    /* SEARCH RESULTS */
    .search-results {
      padding: 60px 20px;
      background: #f8fafc;
    }

    .search-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .search-card {
      background: white;
      border-radius: 20px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 20px 40px rgba(15,23,42,0.08);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .search-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 30px 60px rgba(15,23,42,0.15);
    }

    .search-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      color: #64748b;
    }

    .search-type {
      background: #ecfccb;
      color: #166534;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 999px;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .search-title {
      font-size: 1.35rem;
      margin: 0;
      color: #0f172a;
    }

    .search-excerpt {
      color: #475569;
      margin: 0;
      line-height: 1.7;
    }

    .search-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      color: #22c55e;
    }

    .search-link::after {
      content: '→';
      transition: transform 0.2s ease;
    }

    .search-link:hover::after {
      transform: translateX(3px);
    }

    .search-pagination {
      margin-top: 40px;
      text-align: center;
    }

    .search-empty {
      text-align: center;
      background: white;
      padding: 60px 30px;
      border-radius: 20px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 15px 35px rgba(15,23,42,0.08);
    }

    @media (max-width: 640px) {
      .search-card {
        padding: 22px;
      }
    }

    .news-card:hover {
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .news-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .news-card-content {
      padding: 20px;
    }

    .news-badge {
      display: inline-block;
      background: #10b981;
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .news-card h3 {
      color: #1f2937;
      font-size: 1.1rem;
      margin-bottom: 10px;
    }

    .news-card p {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      line-height: 1.5;
    }

.no-results {
  padding: 100px 20px;
  background: #f8fafc;
}

.no-results-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
  padding: 60px;
  text-align: center;
}

.no-results-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.no-results-card h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: #0f172a;
}

.no-results-card p {
  color: #475569;
  margin-bottom: 30px;
}

.no-results-actions .search-form {
  max-width: 480px;
  margin: 0 auto 24px;
  display: flex;
  gap: 12px;
}

.no-results-actions .search-form label {
  display: none;
}

.no-results-actions .search-form input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
}

.no-results-actions .search-form input[type="submit"] {
  border-radius: 999px;
  padding: 14px 24px;
  background: #22c55e;
  color: #fff;
  border: none;
  cursor: pointer;
}

.no-results-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.no-results-links .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 28px;
  background: #0ea5e9;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.no-results-links .btn.btn-outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid #cbd5f5;
}

@media (max-width: 640px) {
  .no-results-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .no-results-actions .search-form {
    flex-direction: column;
  }

  .no-results-actions .search-form input[type="submit"] {
    width: 100%;
  }
}

    .news-date {
      font-size: 12px;
      color: #999;
    }

    .calendar-controls {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
      flex-wrap: wrap;
      align-items: center;
    }

    .view-toggle {
      display: flex;
      gap: 10px;
    }

    .view-toggle button {
      padding: 8px 16px;
      border: 2px solid #e5e7eb;
      background: white;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s;
    }

    .view-toggle button.active {
      background: #0ea5e9;
      color: white;
      border-color: #0ea5e9;
    }

    .search-events {
      width: 100%;
      max-width: 350px;
      margin-bottom: 15px;
    }

    .search-events input {
      width: 100%;
      padding: 10px 15px;
      border: 2px solid #e5e7eb;
      border-radius: 6px;
      font-size: 14px;
    }

    .search-events input:focus {
      outline: none;
      border-color: #0ea5e9;
      box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }
    
    @media (max-width: 768px) {
      .search-events {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
      }
      
      .search-events input {
        font-size: 16px;
        padding: 12px 15px;
      }
    }

    .calendar-wrapper {
      display: grid;
      grid-template-columns: 350px 1fr;
      gap: 30px;
      align-items: start;
      margin-bottom: 30px;
    }

    .calendar-container {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .calendar-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .calendar-nav button {
      padding: 6px 10px;
      background: #0ea5e9;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.3s;
      font-size: 13px;
    }

    .calendar-nav button:hover {
      background: #0284c7;
    }

    .calendar-month-year {
      font-size: 1.1rem;
      font-weight: bold;
      color: #1f2937;
      text-align: center;
      flex: 1;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 1px;
      background: #e5e7eb;
      border: 2px solid #d1d5db;
      border-radius: 8px;
      overflow: hidden;
    }

    .calendar-day-header {
      background: #f3f4f6;
      padding: 8px 4px;
      text-align: center;
      font-weight: 600;
      color: #374151;
      font-size: 11px;
    }

    .calendar-day {
      background: white;
      padding: 6px 4px;
      min-height: 40px;
      cursor: pointer;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
    }

    .calendar-day:hover {
      background: #f0fdf4;
    }

    .calendar-day.other-month {
      background: #f9fafb;
      color: #9ca3af;
    }

    .calendar-day.today {
      background: #dbeafe;
      font-weight: 600;
    }

    .calendar-day.selected {
      background: #0ea5e9;
      color: white;
    }

    .calendar-day.has-events::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 50%;
      transform: translateX(-50%);
      width: 3px;
      height: 3px;
      background: #10b981;
      border-radius: 50%;
    }

    .calendar-day.selected.has-events::after {
      background: #fff;
    }

    .day-number {
      font-weight: 600;
      font-size: 12px;
    }

    .day-events {
      font-size: 11px;
      color: #666;
      display: none;
    }

    .calendar-day.selected .day-events {
      display: block;
    }

    .events-section {
      padding: 60px 20px;
      background: white;
    }

    .events-list-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
      min-height: 400px;
    }

    .events-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      max-height: 550px;
      overflow-y: auto;
      padding-right: 10px;
      margin-top: -110px;
    }

    .events-list::-webkit-scrollbar {
      width: 6px;
    }

    .events-list::-webkit-scrollbar-track {
      background: #f1f5f9;
      border-radius: 4px;
    }

    .events-list::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 4px;
    }

    .events-list::-webkit-scrollbar-thumb:hover {
      background: #94a3b8;
    }

    .event-item {
      border: 2px solid #e5e7eb;
      border-radius: 8px;
      padding: 20px;
      background: white;
      transition: all 0.3s;
      cursor: pointer;
      flex-shrink: 0;
    }

    .event-item:hover {
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      border-color: #0ea5e9;
    }

    .event-item.selected {
      background: #0ea5e9;
      color: white;
      border-color: #0ea5e9;
    }

    .event-item h4 {
      margin: 0 0 10px 0;
      font-size: 1.1rem;
    }

    .event-meta {
      font-size: 13px;
      opacity: 0.8;
      margin-bottom: 8px;
    }

    .view-all-events-btn {
      background: #0ea5e9;
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      align-self: center;
      width: 100%;
      max-width: 300px;
    }

    .view-all-events-btn:hover {
      background: #0284c7;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    }

    .event-category {
      display: inline-block;
      padding: 4px 10px;
      background: rgba(14, 165, 233, 0.1);
      color: #0ea5e9;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      margin-top: 10px;
    }

    .event-item.selected .event-category {
      background: rgba(255,255,255,0.2);
      color: white;
    }

    .no-events-message {
      text-align: center;
      padding: 40px 20px;
      color: #6b7280;
      font-size: 16px;
    }

    @media (max-width: 1000px) {
      .calendar-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .calendar-container {
        max-width: 100%;
      }
      
      .events-list {
        margin-top: 0;
      }
    }
    
    @media (max-width: 768px) {
      .calendar-wrapper {
        padding: 0 10px;
      }
      
      .calendar-container {
        width: 100%;
        overflow-x: auto;
      }
      
      .calendar {
        min-width: 280px;
        font-size: 0.85rem;
      }
      
      .calendar-nav {
        flex-wrap: wrap;
        gap: 8px;
      }
      
      .calendar-nav h3 {
        font-size: 1rem;
      }
      
      .calendar-nav button {
        padding: 5px 8px;
        font-size: 12px;
      }
      
      .calendar-grid {
        gap: 4px;
      }
      
      .calendar-day {
        padding: 6px;
        font-size: 0.8rem;
      }
      
      .events-list {
        grid-template-columns: 1fr;
        max-height: 400px;
      }
      
      .event-item {
        padding: 15px;
      }
    }
    
    @media (max-width: 576px) {
      .calendar {
        min-width: 100%;
      }
      
      .calendar-day {
        padding: 4px;
        font-size: 0.75rem;
      }
      
      .event-item h4 {
        font-size: 0.95rem;
      }
      
      .event-meta {
        font-size: 11px;
      }
    }

    .event-card {
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 20px;
      transition: all 0.3s;
    }

    .event-card:hover {
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    .event-date-box {
      width: 60px;
      height: 60px;
      background: #166534;
      color: white;
      border-radius: 6px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 15px;
      line-height: 1.2;
    }

    .event-card h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }

    .event-detail {
      font-size: 13px;
      color: #666;
      display: flex;
      gap: 8px;
      margin-bottom: 8px;
    }

    .mayor-section {
      padding: 60px 20px;
      background: #f9fafb;
    }

    .officials-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      margin-bottom: 30px;
    }

    @media (max-width: 1200px) {
      .officials-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .officials-grid {
        grid-template-columns: repeat(1, 1fr);
      }
    }

    .official-card {
      text-align: center;
    }

    .official-image {
      width: 100%;
      aspect-ratio: 1;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .official-card h4 {
      color: #1f2937;
      margin-bottom: 5px;
    }

    .official-card p {
      font-size: 13px;
      color: #666;
    }

    .single-official {
      background: #f9fafb;
      padding: 60px 15px;
    }

    .single-official-container {
      max-width: 1000px;
      margin: 0 auto;
    }

    .single-official article {
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
      padding: 40px;
    }

    .council-meetings-template {
      background: #f1f5f9;
    }

    .council-overview {
      padding: 60px 20px 30px;
    }

    .council-overview .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .council-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }

    .council-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 32px;
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(15, 23, 42, 0.05);
    }

    .council-card h2 {
      margin: 0 0 8px;
      font-size: 1.75rem;
    }

    .council-card .card-label {
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #2563eb;
      margin-bottom: 12px;
    }

    .council-card .card-meta {
      margin: 0 0 6px;
      color: #475569;
    }

    .council-card .card-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 18px;
      font-weight: 600;
      color: #0ea5e9;
    }

    .council-card .card-list {
      list-style: none;
      padding: 0;
      margin: 0;
      color: #475569;
      line-height: 1.7;
    }

    .council-card .contact-lines p {
      margin: 0 0 6px;
      color: #0f172a;
      font-weight: 600;
    }

    .council-page-content {
      background: #ffffff;
      border-radius: 24px;
      padding: 40px;
      box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    }

    .council-calendar-section {
      padding: 20px;
    }

    .council-calendar-section .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .council-meetings-template .calendar-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 20px;
    }

    .council-meetings-template .calendar-header h2 {
      margin: 0 0 4px;
    }

    .council-meetings-template .calendar-legend {
      display: flex;
      gap: 16px;
      align-items: center;
      color: #475569;
    }

    .council-meetings-template .calendar-legend .legend-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #22c55e;
      display: inline-flex;
      margin-right: 6px;
    }

    .council-meetings-template .calendar-wrapper {
      background: #ffffff;
      border-radius: 32px;
      padding: 32px;
      box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    }

    .council-meetings-template .events-list-container {
      border-left: 1px solid rgba(15, 23, 42, 0.08);
    }

    .council-meetings-template .event-item-head h4 {
      margin: 0;
    }

    .council-meetings-template .event-description {
      margin-top: 10px;
      color: #475569;
    }

    @media (max-width: 992px) {
      .council-meetings-template .calendar-wrapper {
        padding: 24px;
      }

      .council-meetings-template .events-list-container {
        border-left: none;
        margin-top: 24px;
      }
    }

    @media (max-width: 768px) {
      .council-card {
        padding: 24px;
      }

      .council-page-content {
        padding: 28px;
      }
    }

    .council-events-grid-section {
      background: #f8fafc;
      padding: 70px 20px 90px;
    }

    .council-events-grid-section .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .council-events-grid-section .section-heading {
      text-align: center;
      margin-bottom: 40px;
    }

    .council-events-grid-section .section-heading h2 {
      margin: 0 0 12px 0;
      font-size: 2.25rem;
    }

    .council-events-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .council-event-card {
      background: #fff;
      border-radius: 28px;
      padding: 26px;
      box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
      display: flex;
      gap: 20px;
      border: 1px solid rgba(15, 23, 42, 0.05);
      align-items: flex-start;
    }

    .council-event-card .council-event-date {
      width: 64px;
      height: 64px;
      border-radius: 20px;
      background: #15803d;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-weight: 700;
      box-shadow: 0 20px 40px rgba(21, 128, 61, 0.35);
      flex: 0 0 auto;
    }

    .council-event-card .council-event-date .month {
      font-size: 0.85rem;
      letter-spacing: 0.08em;
    }

    .council-event-card .council-event-date .day {
      font-size: 1.4rem;
      line-height: 1;
    }

    .council-event-content h3 {
      margin: 0 0 10px 0;
      font-size: 1.2rem;
    }

    .council-event-content h3 a {
      text-decoration: none;
      color: inherit;
    }

    .council-event-card .event-meta {
      list-style: none;
      padding: 0;
      margin: 0 0 10px 0;
      color: #475569;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .council-event-card .event-excerpt {
      color: #475569;
      margin-bottom: 8px;
    }

    .council-event-card .btn-link {
      color: #0ea5e9;
      text-decoration: none;
      font-weight: 600;
    }

    .council-events-pagination {
      margin-top: 48px;
      text-align: center;
    }

    .council-events-pagination ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: inline-flex;
      gap: 10px;
    }

    .council-events-pagination ul li a,
    .council-events-pagination ul li span {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-weight: 600;
      color: #0f172a;
      background: #e2e8f0;
    }

    .council-events-pagination ul li span.current {
      background: #15803d;
      color: #fff;
    }

    .council-events-empty {
      background: #fff;
      border-radius: 28px;
      padding: 42px;
      text-align: center;
      box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
    }

    @media (max-width: 640px) {
      .council-event-card {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .departments-template {
      background: #f8fafc;
    }

    .departments-overview {
      padding: 60px 20px 90px;
    }

    .departments-overview .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .departments-intro {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: flex-end;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }

    .departments-search {
      flex: 1;
      min-width: 260px;
    }

    .departments-search input {
      width: 100%;
      padding: 18px 22px;
      border-radius: 18px;
      border: 1px solid #d4dbe5;
      font-size: 1rem;
      box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    }

    .departments-rich-content {
      background: #ffffff;
      border-radius: 32px;
      padding: 40px;
      box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
      margin-bottom: 32px;
    }

    .departments-meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin-bottom: 40px;
    }

    .meta-card {
      background: #0ea5e9;
      color: #fff;
      border-radius: 24px;
      padding: 24px;
      box-shadow: 0 20px 60px rgba(14, 165, 233, 0.35);
    }

    .meta-card:nth-child(2) {
      background: #22c55e;
      box-shadow: 0 20px 60px rgba(34, 197, 94, 0.35);
    }

    .meta-card:nth-child(3) {
      background: #0f172a;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.45);
    }

    .meta-value {
      font-size: 2.25rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .meta-label {
      font-size: 0.95rem;
      opacity: 0.9;
    }

    .department-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .department-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(15, 23, 42, 0.05);
      display: flex;
      flex-direction: column;
      gap: 18px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .department-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    }

    .department-card-media {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background: linear-gradient(135deg, #0f172a, #075985);
    }

    .department-card-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .department-card-media.is-fallback {
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #0f172a, #0ea5e9);
    }

    .department-card-fallback-icon {
      font-size: 2.2rem;
      color: rgba(255, 255, 255, 0.9);
    }

    .department-card-pill {
      position: absolute;
      top: 16px;
      left: 16px;
      background: rgba(15, 23, 42, 0.9);
      color: #fff;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.8rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .department-card-body {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .department-card h3 {
      margin: 0;
      font-size: 1.25rem;
      color: #0f172a;
    }
    .council-meeting-info {
      padding: 64px 0;
      background: #f9fafb;
    }
    
    .council-meeting-info h2 {
      font-size: 2rem;
      margin-bottom: 16px;
      text-align: left;
    }
    
    .meeting-info-grid {
      margin-top: 24px;
    }
    
    .meeting-info-grid .card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e5e7eb;
      padding: 16px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .meeting-info-grid .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    }
    
    .council-upcoming-module {
      margin-top: 48px;
      background: #fff;
      border-radius: 20px;
      border: 1px solid #e5e7eb;
      padding: 32px;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    }
    
    .council-upcoming-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }
    
    .council-upcoming-head h3 {
      margin: 0;
      font-size: 1.5rem;
    }
    
    .council-upcoming-head p {
      margin: 4px 0 0;
      color: #4b5563;
    }
    
    .council-upcoming-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .council-upcoming-card {
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      padding: 16px;
      background: #f9fafb;
      height: 100%;
    }
    
    .council-upcoming-card h4 {
      margin: 0 0 8px;
      font-size: 1.05rem;
    }
    
    .council-upcoming-card h4 a {
      color: #0f172a;
      text-decoration: none;
    }
    
    .council-upcoming-card h4 a:hover {
      color: #1d4ed8;
    }
    
    .council-upcoming-date {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #6b7280;
      margin-bottom: 6px;
    }
    
    .council-upcoming-meta {
      font-size: 0.9rem;
      color: #4b5563;
    }
    
    .council-upcoming-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }
    
    .council-upcoming-actions span {
      color: #4b5563;
      font-size: 0.95rem;
    }
    
    .council-upcoming-empty {
      padding: 24px;
      border-radius: 16px;
      background: #fef3c7;
      color: #92400e;
      margin-bottom: 20px;
    }
    
    @media (max-width: 768px) {
      .council-upcoming-module {
        padding: 24px;
      }
      .council-upcoming-head {
        flex-direction: column;
        align-items: flex-start;
      }
      .council-upcoming-grid {
        grid-template-columns: 1fr;
      }
    }

    .department-card p {
      margin: 0;
      color: #475569;
      line-height: 1.7;
    }

    .department-card-contact {
      font-weight: 600;
      color: #0f172a;
      margin-top: 4px;
    }

    .department-card-footer {
      margin-top: auto;
    }

    .department-card .btn-link {
      color: #0ea5e9;
      text-decoration: none;
      font-weight: 600;
    }

    .department-card.is-hidden {
      display: none;
    }

    .departments-highlight {
      margin-top: 60px;
    }

    .departments-highlight h2 {
      margin: 0 0 20px 0;
      font-size: 2rem;
      color: #0f172a;
    }

    .departments-highlight-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .departments-highlight-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(15, 23, 42, 0.05);
    }

    .departments-highlight-card h3 {
      margin: 0 0 12px 0;
      font-size: 1.2rem;
      color: #15803d;
    }

    .departments-highlight-card p {
      margin: 0;
      color: #475569;
      line-height: 1.7;
    }

    @media (max-width: 768px) {
      .departments-rich-content {
        padding: 28px;
      }
    }

    .documents-template {
      background: #f8fafc;
    }

    .documents-overview {
      padding: 60px 20px 90px;
    }

    .documents-overview .container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .documents-intro {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }

    .documents-search {
      flex: 1;
      min-width: 260px;
    }

    .documents-search input {
      width: 100%;
      padding: 16px 20px;
      border-radius: 16px;
      border: 1px solid #d4dbe5;
      font-size: 1rem;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }

    .documents-rich-content {
      background: #ffffff;
      border-radius: 28px;
      padding: 32px;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
      margin-bottom: 30px;
    }

    .document-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }

    .document-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 26px;
      box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(15, 23, 42, 0.05);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .document-card.is-hidden {
      display: none;
    }

    .document-chip {
      align-self: flex-start;
      padding: 4px 12px;
      border-radius: 999px;
      background: #0f172a;
      color: #fff;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .document-card h3 {
      margin: 0;
      font-size: 1.1rem;
      color: #0f172a;
    }

    .document-card p {
      margin: 0;
      color: #475569;
    }

    .document-meta {
      font-size: 0.9rem;
      color: #475569;
      display: flex;
      gap: 12px;
    }

    .document-card .btn-link {
      margin-top: auto;
      font-weight: 600;
      color: #0ea5e9;
      text-decoration: none;
    }

    .events-archive-page {
      background: #f8fafc;
    }

    .events-hero {
      padding: 90px 20px 60px;
      background: linear-gradient(135deg, #0f172a, #0ea5e9);
      color: #fff;
      text-align: center;
    }

    .events-hero .container {
      max-width: 900px;
      margin: 0 auto;
    }

    .events-hero h1 {
      font-size: 3rem;
      margin: 0 0 12px 0;
    }

    .events-hero .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 0.9rem;
      opacity: 0.9;
      margin-bottom: 10px;
    }

    .events-hero .lead {
      font-size: 1.1rem;
      margin: 0;
      opacity: 0.9;
    }

    .events-collection {
      padding: 60px 20px 90px;
    }

    .events-collection .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .events-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .event-card {
      background: #fff;
      border-radius: 28px;
      padding: 28px;
      box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(15, 23, 42, 0.05);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .event-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .event-date-pill {
      width: 72px;
      height: 72px;
      border-radius: 20px;
      background: #0ea5e9;
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
    }

    .event-month {
      font-size: 0.95rem;
      letter-spacing: 0.1em;
    }

    .event-day {
      font-size: 1.6rem;
      line-height: 1;
    }

    .event-category {
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #0f172a;
    }

    .event-card-body h2 {
      margin: 0 0 10px 0;
      font-size: 1.35rem;
    }

    .event-card-body h2 a {
      color: inherit;
      text-decoration: none;
    }

    .event-meta {
      list-style: none;
      padding: 0;
      margin: 0 0 10px 0;
      color: #475569;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .event-excerpt {
      color: #475569;
      line-height: 1.7;
    }

    .event-card-footer {
      margin-top: auto;
    }

    .event-card .btn-link {
      font-weight: 600;
      color: #0ea5e9;
      text-decoration: none;
    }

    .events-pagination {
      margin-top: 48px;
      text-align: center;
    }

    .events-pagination .page-numbers {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      margin: 0 6px;
      background: #e2e8f0;
      color: #0f172a;
      text-decoration: none;
      font-weight: 600;
    }

    .events-pagination .current {
      background: #0ea5e9;
      color: #fff;
    }

    .events-empty {
      background: #fff;
      border-radius: 28px;
      padding: 40px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    }

    .official-header {
      display: flex;
      gap: 30px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }

    .official-photo-large img {
      width: 240px;
      height: 280px;
      object-fit: cover;
      border-radius: 24px;
      box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
    }

    .official-header-info h1 {
      font-size: 42px;
      margin: 0 0 10px;
    }

    .official-position {
      font-size: 22px;
      color: #22c55e;
      margin: 0 0 10px;
    }

    .official-department,
    .official-term {
      font-size: 16px;
      color: #475569;
      margin: 0 0 8px;
    }

    .official-contact-box {
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 30px;
      margin-bottom: 30px;
      background: #f8fafc;
    }

    .official-contact-box h3,
    .official-bio h3 {
      margin-top: 0;
      font-size: 24px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .contact-item {
      font-size: 15px;
      color: #334155;
    }

    .contact-item a {
      color: #0f172a;
      font-weight: 600;
    }

    .official-bio {
      font-size: 17px;
      line-height: 1.8;
      color: #1f2937;
    }

    @media (max-width: 768px) {
      .single-official article {
        padding: 30px 20px;
      }

      .official-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .official-header-info h1 {
        font-size: 32px;
      }

      .official-photo-large img {
        width: 100%;
        height: auto;
      }
    }

    .community-section {
      padding: 60px 20px;
      background: #f9fafb;
    }

    .get-it-done {
      padding: 60px 20px;
      background: #fef3c7;
    }

    .get-it-done h2 {
      text-align: center;
      color: #1f2937;
      margin-bottom: 40px;
      font-size: 2.5rem;
    }

    .get-it-done-intro {
      text-align: center;
      color: #666;
      max-width: 600px;
      margin: 0 auto 50px;
      font-size: 1rem;
      display: none;
    }

    .categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .category-card {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      cursor: pointer;
      background: white;
      border: 2px solid transparent;
    }

    .category-card-link {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .category-card-link:focus-visible {
      outline: 3px solid #0ea5e9;
      outline-offset: 4px;
    }

    .category-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

    .category-header {
      padding: 40px 30px;
      color: white;
      transition: background 0.3s;
      border-radius: 16px 16px 0 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .category-header.blue {
      background: #3b82f6;
    }

    .category-header.green {
      background: #22c55e;
    }

    .category-header.orange {
      background: #f97316;
    }

    .category-header.purple {
      background: #9333ea;
    }

    .category-header.red {
      background: #ef4444;
    }

    .category-header.teal {
      background: #14b8a6;
    }

    .category-icon {
      font-size: 40px;
      line-height: 1;
    }

    .category-card h3 {
      color: white;
      font-size: 1.3rem;
      margin-bottom: 8px;
      font-weight: 600;
    }

    .category-card p {
      color: rgba(255,255,255,0.95);
      font-size: 0.95rem;
      margin: 0;
      line-height: 1.5;
    }

    .track-request {
      display: none;
    }

    .emergency-info {
      display: none;
    }

    .button-group {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-primary {
      background: #f97316;
      color: white;
    }

    .btn-primary:hover {
      background: #ea580c;
    }

    .btn-outline {
      background: white;
      border: 2px solid #f97316;
      color: #f97316;
    }

    .btn-outline:hover {
      background: #fff7ed;
    }

    .emergency-info {
      text-align: center;
      color: #78350f;
      font-size: 13px;
      margin-top: 20px;
    }

    .emergency-info .highlight {
      color: #dc2626;
      font-weight: bold;
    }

    footer {
      background-color: #111827;
      color: #d1d5db;
      padding: 48px 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 32px;
      margin-bottom: 32px;
    }

    .footer-section h4 {
      color: white;
      margin-bottom: 16px;
      font-size: 1rem;
    }

    .footer-section p {
      font-size: 14px;
      color: #9ca3af;
      margin-bottom: 16px;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section li {
      margin-bottom: 8px;
    }

    .footer-section a {
      color: #22c55e;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
    }

    .footer-section a:hover {
      color: #15803d;
    }

    .footer-bottom {
      border-top: 1px solid #374151;
      padding-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }

    @media (min-width: 768px) {
      .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    .footer-bottom p {
      font-size: 14px;
      color: #9ca3af;
      margin: 0;
    }

    .footer-links {
      display: flex;
      gap: 24px;
      font-size: 14px;
    }
    
    .footer-legal-menu {
      display: flex;
      gap: 24px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .footer-legal-menu li {
      display: inline;
      margin: 0;
      padding: 0;
    }

    .footer-links a {
      color: #22c55e;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #15803d;
    }

    .footer-council-events {
      border-top: 1px solid #1f2937;
      border-bottom: 1px solid #1f2937;
      padding: 32px 0;
      margin-bottom: 32px;
    }

    .footer-council-head {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 20px;
    }

    .footer-council-head h4 {
      color: #fff;
      margin: 0;
      font-size: 1.125rem;
    }

    .footer-council-head p {
      margin: 0;
      color: #9ca3af;
      font-size: 0.95rem;
    }

    .footer-council-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 16px;
    }

    .footer-council-card {
      background: #1f2937;
      border: 1px solid #374151;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-council-date {
      font-size: 0.85rem;
      color: #9ca3af;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .footer-council-card h5 {
      margin: 0;
      font-size: 1rem;
    }

    .footer-council-card h5 a {
      color: #fef3c7;
      text-decoration: none;
    }

    .footer-council-card h5 a:hover {
      color: #fde68a;
    }

    .footer-council-meta {
      font-size: 0.85rem;
      color: #d1d5db;
    }

    .footer-council-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .footer-council-actions a {
      color: #22c55e;
      text-decoration: none;
      font-weight: 600;
    }

    .footer-council-actions a:hover {
      color: #86efac;
    }

    .footer-council-actions span {
      color: #9ca3af;
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        align-items: flex-start;
      }
      .events-wrapper {
        grid-template-columns: 1fr;
      }
    }
      
    /* Mobile Menu Toggle */
    .mobile-menu-toggle { 
      display: none; 
      background: none; 
      border: none; 
      color: white; 
      font-size: 1.8rem; 
      cursor: pointer; 
      padding: 0.5rem;
      line-height: 1;
    }
    
    /* Mobile Navigation - Hidden by default on desktop */
    .mobile-nav { 
      display: none;
      background: white;
      border-top: 2px solid #e5e7eb;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      width: 100%;
      position: relative;
      z-index: 1000;
      max-height: 70vh;
      overflow-y: auto;
    }
    
    .mobile-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      background: white;
    }
    
    .mobile-nav li {
      border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-nav .mobile-menu-item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }
    
    .mobile-nav .mobile-menu-link {
      flex: 1;
      display: block;
      padding: 1.2rem 1.5rem;
      color: #0f172a;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.2s;
      background: white;
    }

    .mobile-nav .mobile-menu-link:hover {
      color: #0ea5e9;
    }
    
    .mobile-nav .mobile-submenu-toggle {
      background: none;
      border: none;
      color: #0f172a;
      font-size: 1.25rem;
      cursor: pointer;
      padding: 1.2rem 1.5rem;
      line-height: 1;
      transition: transform 0.2s;
    }
    
    .mobile-nav li.is-open > .mobile-menu-item-row .mobile-submenu-toggle .toggle-icon {
      transform: rotate(45deg);
    }
    
    .mobile-nav .sub-menu {
      display: none;
      padding: 0 1.25rem 0.75rem 2rem;
      margin: 0;
      background: #f9fafb;
    }
    
    .mobile-nav li.is-open > .sub-menu {
      display: block;
    }
    
    .mobile-nav .sub-menu li {
      border: none;
    }
    
    .mobile-nav .sub-menu .mobile-menu-link {
      padding: 0.65rem 0;
      font-weight: 500;
      font-size: 0.95rem;
    }
    
    .mobile-nav li:last-child {
      border-bottom: none;
    }
    
    /* Responsive Breakpoints */
    @media (max-width: 1200px) {
      .header-content { gap: 1rem; padding: 0 15px; }
      .search-bar input { width: 200px; }
      .dropdown-menu { width: min(600px, calc(100vw - 30px)); }
      .content-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    }

    @media (max-width: 1023px) {
      .nav-bar {
        display: block;
        padding: 0;
      }
      .primary-nav {
        display: none !important;
      }
      .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
      }
      .mobile-nav {
        border-top: 2px solid #e5e7eb;
      }
      .mobile-nav.active {
        display: block !important;
      }
    }
    
    @media (max-width: 992px) {
      .header-content { flex-wrap: wrap; justify-content: center; }
      .search-bar { order: 4; width: 100%; margin-top: 0.5rem; }
      .search-bar input { width: 100%; }
      .dropdown-menu { width: min(500px, calc(100vw - 30px)); }
      .dropdown-grid { grid-template-columns: 1fr; }
      .dropdown-left { display: none; }
      .page-hero h1 { font-size: 2rem; }
      .page-hero { padding: 3rem 20px; }
      h2 { font-size: 1.75rem; }
    }
    
    @media (max-width: 768px) {
      .header-content { gap: 0.75rem; }
      .logo-icon { width: 50px; height: 50px; }
      .logo-text .city-name { font-size: 1.2rem; }
      .connect-btn { padding: 0.4rem 1rem; font-size: 0.85rem; }
      .language-selector { position: static; }
      .language-dropdown { left: auto; right: 0; }
      .content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .card { padding: 1.5rem; }
      .page-hero h1 { font-size: 1.75rem; }
      .page-hero p { font-size: 1rem; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; }
      .footer-links { flex-direction: column; gap: 12px; }
    }
    
    @media (max-width: 576px) {
      .container { padding: 0 15px; }
      .header-alert { font-size: 0.8rem; padding: 0.5rem 15px; flex-direction: column; gap: 0.5rem; text-align: center; }
      .header-main { padding: 0.75rem 15px; }
      .logo { gap: 0.5rem; }
      .logo-icon { width: 40px; height: 40px; font-size: 1.2rem; }
      .logo-text .city-name { font-size: 1rem; }
      .connect-btn { font-size: 0.75rem; padding: 0.3rem 0.8rem; }
      .language-btn { font-size: 0.8rem; }
      h2 { font-size: 1.5rem; }
      h3 { font-size: 1.25rem; }
      .page-hero { padding: 2rem 15px; }
      .page-hero h1 { font-size: 1.5rem; }
      .page-hero p { font-size: 0.9rem; }
      .content-section { padding: 1.5rem 15px; }
      .card { padding: 1.25rem; }
      footer { padding: 32px 15px; }
    }
    
    @media (max-width: 380px) {
      .header-content { gap: 0.5rem; }
      .logo-text .city-name { font-size: 0.9rem; }
      .connect-btn span:first-child { display: none; }
      .language-selector { font-size: 0.75rem; }
      h2 { font-size: 1.25rem; }
      .page-hero h1 { font-size: 1.25rem; }
    }
      
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 1.8rem;
      cursor: pointer;
      padding: 0.5rem;
      line-height: 1;
    }
    
    .mobile-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .mobile-nav li {
      border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-nav a {
      display: block;
      padding: 1rem 1.5rem;
      color: #22c55e;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.2s, color 0.2s;
    }

    .mobile-nav a:hover {
      background: #f9fafb;
      color: #15803d;
    }
    
    /* Responsive Breakpoints */
    @media (max-width: 1200px) {
      .header-content {
        gap: 1rem;
        padding: 0 15px;
        flex-wrap: nowrap;
      }
      
      .search-bar input {
        width: 180px;
      }
      
      .dropdown-menu {
        width: 600px;
      }
      
      .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
      }
    }
    
    @media (max-width: 992px) {
      .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem;
      }
      
      .logo {
        flex: 0 0 auto;
      }
      
      .search-bar {
        order: 4;
        width: 100%;
        margin-top: 0.75rem;
      }
      
      .search-bar input {
        width: 100%;
      }
      
      .connect-btn {
        order: 2;
      }
      
      .language-selector {
        order: 3;
      }
      
      .dropdown-menu {
        width: 90vw;
        left: 5vw;
      }
      
      .dropdown-grid {
        grid-template-columns: 1fr;
      }
      
      .dropdown-left {
        display: none;
      }
      
      .page-hero h1 {
        font-size: 2rem;
      }
      
      .page-hero {
        padding: 3rem 20px;
      }
      
      h2 {
        font-size: 1.75rem;
      }
      
      .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
    }
    
    @media (max-width: 768px) {
      .nav-bar {
        display: block;
      }
      .header-content {
        gap: 0.75rem;
        padding: 0 15px;
      }
      
      .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
      }
      
      .logo-text .city-name {
        font-size: 1.2rem;
      }
      
      .connect-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
      }
      
      .language-selector {
        position: relative;
      }
      
      .language-dropdown {
        left: auto;
        right: 0;
      }
      
      .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      
      .card {
        padding: 1.5rem;
      }
      
      .page-hero h1 {
        font-size: 1.75rem;
      }
      
      .page-hero p {
        font-size: 1rem;
      }
      
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      
      .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
      }
    }

    @media (max-width: 768px) {
      .primary-nav {
        overflow-x: auto;
      }

      .primary-nav > ul {
        min-width: 720px;
      }
    }

    @media (max-width: 640px) {
      .mobile-nav a {
        padding: 1rem;
      }
    }
    
    @media (max-width: 576px) {
      .container {
        padding: 0 15px;
      }
      
      .header-alert {
        font-size: 0.8rem;
        padding: 0.5rem 15px;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
      }
      
      .header-main {
        padding: 0.75rem 15px;
      }
      
      .header-content {
        gap: 0.5rem;
      }
      
      .logo {
        gap: 0.5rem;
      }
      
      .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
      }
      
      .logo-text .city-name {
        font-size: 1.1rem;
      }
      
      .logo-text .city-label {
        font-size: 0.6rem;
      }
      
      .connect-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
      }
      
      .language-btn {
        font-size: 0.8rem;
      }
      
      .search-bar {
        padding: 0.4rem 0.8rem;
      }
      
      h2 {
        font-size: 1.5rem;
      }
      
      h3 {
        font-size: 1.25rem;
      }
      
      .page-hero {
        padding: 2rem 15px;
      }
      
      .page-hero h1 {
        font-size: 1.5rem;
      }
      
      .page-hero p {
        font-size: 0.9rem;
      }
      
      .content-section {
        padding: 1.5rem 15px;
      }
      
      .card {
        padding: 1.25rem;
      }
      
      footer {
        padding: 32px 15px;
      }
      
      .mobile-nav a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
      }
    }
    
    @media (max-width: 380px) {
      .header-content {
        gap: 0.4rem;
      }
      
      .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
      }
      
      .logo-text .city-name {
        font-size: 0.95rem;
      }
      
      .logo-text .city-label {
        display: none;
      }
      
      .connect-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
      }
      
      .connect-btn span:first-child {
        display: none;
      }
      
      .language-btn {
        font-size: 0.75rem;
      }
      
      h2 {
        font-size: 1.35rem;
      }
      
      .page-hero h1 {
        font-size: 1.35rem;
      }
      
      .mobile-menu-toggle {
        font-size: 1.5rem;
      }
    }
    
    /* Utility Classes for Better Spacing */
    .flex-center {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .flex-between {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .no-overlap {
      position: relative;
      z-index: 1;
    }    
    /* Mobile Header Row Container */
    .mobile-header-row {
      display: none;
    }
    
    @media (max-width: 768px) {
      .header-content {
        padding: 0.75rem 15px;
        gap: 0.75rem;
      }
      
      /* Hide desktop elements on mobile */
      .header-content > span#weatherInfo,
      .header-content > .language-selector {
        display: none !important;
      }
      
      /* Make search bar full width on mobile */
      .header-content .search-bar {
        order: 10;
        width: 100%;
        margin-top: 0;
        padding: 0.6rem 1rem;
        border-radius: 20px;
      }
      
      .search-bar input {
        width: 100%;
        font-size: 0.95rem;
        padding-right: 2.5rem;
      }
      
      .search-bar .search-submit {
        right: 1rem;
        font-size: 1.2rem;
      }
      
      .mobile-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        order: 5;
      }
      
      .mobile-weather-language {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.85rem;
      }
      
      .mobile-header-row .language-selector {
        display: flex !important;
      }
      
      .mobile-header-row .language-btn {
        font-size: 0.85rem;
      }
      
      .mobile-menu-toggle {
        padding: 0.5rem;
      }
      
      /* Compact logo on mobile */
      .logo {
        gap: 0.5rem;
      }
      
      .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
      }
      
      .logo-text .city-name {
        font-size: 1.1rem;
      }
      
      /* Compact connect button */
      .connect-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
      }
    }
    
    @media (max-width: 576px) {
      .header-content {
        padding: 0.5rem 10px;
        gap: 0.5rem;
      }
      
      .mobile-weather-language {
        gap: 0.5rem;
        font-size: 0.8rem;
      }
      
      .mobile-header-row .language-btn {
        font-size: 0.75rem;
      }
      
      .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
      }
      
      .logo-text .city-name {
        font-size: 1rem;
      }
      
      .connect-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
      }
      
      .search-bar {
        padding: 0.5rem 0.9rem;
        border-radius: 18px;
      }
      
      .search-bar input {
        font-size: 0.9rem;
      }
      
      .search-bar .search-submit {
        right: 0.8rem;
        font-size: 1.1rem;
      }
    }
      /* Mobile Navigation Menu */
    .mobile-nav {
      display: none;
      background: white;
      border-top: 1px solid #e5e7eb;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      width: 100%;
      max-height: 70vh;
      overflow-y: auto;
      position: relative;
      z-index: 200;
    }
    
    .mobile-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .mobile-nav li {
      border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-nav .mobile-menu-item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
    }
    
    .mobile-nav .mobile-menu-link {
      flex: 1;
      font-weight: 600;
      color: #0f172a;
      text-decoration: none;
      font-size: 1rem;
    }
    
    .mobile-nav .mobile-menu-link:hover {
      color: #0ea5e9;
    }
    
    .mobile-nav .mobile-submenu-toggle {
      background: none;
      border: none;
      color: #0f172a;
      font-size: 1.25rem;
      cursor: pointer;
      line-height: 1;
      padding: 0.25rem;
      transition: transform 0.2s;
    }
    
    .mobile-nav .mobile-submenu-toggle .toggle-icon {
      display: inline-block;
      transition: transform 0.2s;
    }
    
    .mobile-nav li.is-open > .mobile-menu-item-row .mobile-submenu-toggle .toggle-icon {
      transform: rotate(45deg);
    }
    
    .mobile-nav .sub-menu {
      display: none;
      padding: 0 1.25rem 0.75rem 1.25rem;
      margin: 0;
      background: #f9fafb;
      border-left: 2px solid #e5e7eb;
    }
    
    .mobile-nav li.is-open > .sub-menu {
      display: block;
    }
    
    .mobile-nav .sub-menu li {
      border: none;
    }
    
    .mobile-nav .sub-menu a {
      display: block;
      padding: 0.65rem 0;
      color: #0f172a;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
    }
    
    .mobile-nav .sub-menu a:hover {
      color: #0ea5e9;
    }

    @media (orientation: landscape) and (max-width: 1024px) {
      .mobile-nav {
        max-height: calc(100vh - 120px);
      }
    }
    
    /* Responsive Container Adjustments */
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    @media (max-width: 1400px) {
      .container {
        max-width: 1140px;
      }
    }
    
    @media (max-width: 1200px) {
      .container {
        max-width: 960px;
        padding: 0 15px;
      }
    }
    
    @media (max-width: 992px) {
      .container {
        max-width: 720px;
        padding: 0 15px;
      }
    }
    
    @media (max-width: 768px) {
      .container {
        max-width: 100%;
        padding: 0 15px;
      }
      
      .content-grid,
      .categories-grid,
      .officials-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
      }
      
      .card,
      .category-card,
      .official-card {
        margin-bottom: 1rem;
      }
    }
    
    @media (max-width: 576px) {
      .container {
        padding: 0 10px;
      }
      
      h1 {
        font-size: 1.75rem !important;
      }
      
      h2 {
        font-size: 1.5rem !important;
      }
      
      h3 {
        font-size: 1.25rem !important;
      }
    }


/* ========================================
   SINGLE BLOG POST STYLES
   ======================================== */

.single-page {
    background: #f8fafc;
    min-height: 60vh;
}

.single-page article {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
}

.single-page .post-thumbnail {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.single-page .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-page h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.single-page .entry-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
}

.single-page .entry-meta span {
    color: #64748b;
    font-size: 0.95rem;
}

.single-page .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.single-page .entry-content p {
    margin-bottom: 24px;
}

.single-page .entry-content h2 {
    font-size: 2rem;
    color: #1e293b;
    margin: 48px 0 24px;
    font-weight: 700;
}

.single-page .entry-content h3 {
    font-size: 1.5rem;
    color: #334155;
    margin: 36px 0 20px;
    font-weight: 600;
}

.single-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

.single-page .entry-content ul,
.single-page .entry-content ol {
    margin: 24px 0 24px 30px;
}

.single-page .entry-content li {
    margin-bottom: 12px;
}

/* Single Event Styles */
.single-event {
    background: #f8fafc;
    min-height: 60vh;
}

.single-event article {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
}

.single-event .event-featured-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.single-event .event-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-event .event-category-badge {
    display: inline-block;
    background: #0ea5e9;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.single-event h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.single-event .event-info-box {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid #0ea5e9;
}

.single-event .event-info-item {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #334155;
}

.single-event .event-info-item strong {
    color: #1e293b;
    margin-right: 8px;
}

.single-event .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 50px;
}

.single-event .event-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
    gap: 20px;
}

.single-event .event-navigation a {
    padding: 12px 24px;
    background: #0ea5e9;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.single-event .event-navigation a:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* News Badge Colors */
.news-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.tag-infrastructure { background: #dcfce7; color: #166534; }
.tag-public-safety { background: #fed7aa; color: #9a3412; }
.tag-community { background: #e9d5ff; color: #6b21a8; }
.tag-local-events { background: #dbeafe; color: #1e40af; }
.tag-neighborhood { background: #cffafe; color: #155e75; }
.tag-business { background: #fce7f3; color: #9f1239; }
.tag-government { background: #dbeafe; color: #1e3a8a; }
.tag-environment { background: #d1fae5; color: #065f46; }
.tag-transportation { background: #e0e7ff; color: #3730a3; }
.tag-health { background: #fee2e2; color: #991b1b; }

/* ========================================
   UNIVERSAL PAGE TEMPLATE STYLES
   For all pages editable via WordPress Editor
   ======================================== */

/* Page Wrapper */
.page-content-wrapper {
    background: #f8fafc;
    min-height: 60vh;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.breadcrumb a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #15803d;
  text-decoration: underline;
}

.breadcrumb strong {
    color: #1e293b;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 60px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 165, 233, 0.85);
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    margin: 0 0 16px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: white;
}

.page-hero p {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    color: white;
}

/* Page Content Area */
.page-content-area {
    padding: 60px 0 80px;
    background: white;
}

.entry-content {
    max-width: 100%;
    line-height: 1.8;
}

.entry-content h2 {
    color: #1e293b;
    font-size: 2rem;
    margin: 48px 0 24px;
    font-weight: 700;
}

.entry-content h3 {
    color: #334155;
    font-size: 1.5rem;
    margin: 32px 0 16px;
    font-weight: 600;
}

.entry-content h4 {
    color: #475569;
    font-size: 1.25rem;
    margin: 24px 0 12px;
    font-weight: 600;
}

.entry-content p {
    margin-bottom: 20px;
    color: #475569;
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.entry-content figure {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
}

.entry-content figure img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 24px;
    color: #475569;
}

.entry-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.entry-content a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.2s;
}

.entry-content a:hover {
  color: #15803d;
  text-decoration: underline;
}

/* WordPress Block Editor Support */
.wp-block-columns {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.wp-block-column {
    flex: 1;
}

.wp-block-group {
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
    margin: 24px 0;
}

.wp-block-group.has-background {
    padding: 32px;
}

.wp-block-button__link {
    background: #0ea5e9;
    color: white !important;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
}

.wp-block-button__link:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.entry-content th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.entry-content blockquote {
    border-left: 4px solid #0ea5e9;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f8fafc;
    color: #475569;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .page-content-area {
        padding: 40px 0 60px;
    }
}
