/* LaDemo — City of La Demo Municipal Website Styles
   Designed to match real municipal CivicPlus/CivicEngage-style sites */

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; color: #2c3e50; font-size: 16px; background: #fff;
}
a { color: #2471a3; text-decoration: none; }
a:hover { text-decoration: underline; color: #1a5276; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: #1a3c5e; }

/* Skip link (hidden until focused) */
.skip-to-main {
  position: absolute; top: -40px; left: 0; background: #1a3c5e;
  color: #fff; padding: 8px 16px; z-index: 2000; transition: top 0.2s;
  font-weight: 600;
}
.skip-to-main:focus { top: 0; color: #fff; }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   ALERT BAR — dismissible notification strip
   ============================================================ */
.alert-bar {
  background: #1a3c5e; color: #fff; padding: 10px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 0.9rem; position: relative;
}
.alert-bar.emergency { background: #c0392b; }
.alert-bar p { margin: 0; }
.alert-bar strong { color: #f9e79f; }
.alert-dismiss {
  background: none; border: none; color: #fff; font-size: 1.3rem;
  cursor: pointer; padding: 0 8px; opacity: 0.8; position: absolute; right: 16px;
}
.alert-dismiss:hover { opacity: 1; }
.alert-bar.hidden { display: none; }

/* ============================================================
   UTILITY BAR — thin top strip
   ============================================================ */
.utility-bar {
  background: #0d2137; color: #aec6e0; font-size: 0.8rem;
  padding: 4px 0; border-bottom: 1px solid #1a3c5e;
}
.utility-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
}
.utility-bar a { color: #aec6e0; font-size: 0.8rem; }
.utility-bar a:hover { color: #fff; text-decoration: none; }
.utility-bar .separator { color: #3d6a8e; }

/* ============================================================
   HEADER — logo bar
   ============================================================ */
.site-header { background: #fff; border-bottom: 1px solid #dce6f0; padding: 0; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 14px; color: #1a3c5e; }
.site-logo:hover { text-decoration: none; }
.site-logo img { height: 56px; width: 56px; border-radius: 50%; border: 2px solid #d6e4f0; }
.site-title { font-size: 1.5rem; font-weight: 700; color: #1a3c5e; line-height: 1.2; }
.site-subtitle { font-size: 0.75rem; color: #5d7a94; display: block; font-weight: 400; letter-spacing: 0.5px; }
.site-search { display: flex; gap: 0; }
.site-search input {
  padding: 8px 14px; border: 2px solid #d6e4f0; border-right: none;
  border-radius: 4px 0 0 4px; font-size: 0.9rem; width: 240px; outline: none;
}
.site-search input:focus { border-color: #2471a3; }
.site-search button {
  padding: 8px 18px; background: #1a3c5e; color: #fff; border: 2px solid #1a3c5e;
  border-radius: 0 4px 4px 0; cursor: pointer; font-size: 0.9rem;
}
.site-search button:hover { background: #154360; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none; background: none; border: 2px solid #1a3c5e;
  color: #1a3c5e; padding: 8px 12px; cursor: pointer; border-radius: 4px;
}
.hamburger { display: block; width: 22px; height: 2px; background: #1a3c5e; position: relative; }
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; width: 22px; height: 2px; background: #1a3c5e; left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* ============================================================
   MAIN NAVIGATION — dark blue bar with mega-menus
   ============================================================ */
.main-navigation { background: #1a3c5e; border-bottom: 3px solid #2980b9; }
.nav-menu {
  display: flex; max-width: 1200px; margin: 0 auto; padding: 0;
  list-style: none;
}
.nav-menu > li > a {
  display: block; padding: 14px 20px; color: #d6e4f0; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.3px; border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.nav-menu > li > a:hover, .nav-menu > li:hover > a, .nav-menu > li > a:focus {
  background: #154360; color: #fff; text-decoration: none;
  border-bottom-color: #f9e79f;
}

/* Dropdown / mega-menu */
.has-submenu { position: relative; }
.submenu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 240px; box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 100; border-top: 3px solid #2980b9; padding: 8px 0;
}
.has-submenu:hover > .submenu, .has-submenu.open > .submenu,
.has-submenu:focus-within > .submenu { display: block; }
.submenu li a {
  display: block; padding: 10px 20px; color: #2c3e50; font-size: 0.9rem;
  border-left: 3px solid transparent;
}
.submenu li a:hover {
  background: #eaf2f8; color: #1a3c5e; text-decoration: none;
  border-left-color: #2980b9;
}
.mega-menu {
  min-width: 520px; padding: 16px; display: none;
  grid-template-columns: 1fr 1fr; gap: 0;
}
.has-submenu:hover > .mega-menu, .has-submenu.open > .mega-menu,
.has-submenu:focus-within > .mega-menu { display: grid; }
.mega-menu li a { padding: 8px 16px; }
.mega-menu-heading {
  grid-column: 1 / -1; font-size: 0.75rem; font-weight: 700;
  color: #5d7a94; text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 16px 4px; border: none;
}

/* "I Want To..." dropdown */
.iwantto-menu {
  min-width: 600px; padding: 20px; display: none;
  grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.has-submenu:hover > .iwantto-menu, .has-submenu.open > .iwantto-menu,
.has-submenu:focus-within > .iwantto-menu { display: grid; }
.iwantto-heading {
  grid-column: 1 / -1; font-size: 0.7rem; font-weight: 700;
  color: #1a3c5e; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 12px 0 4px; margin-top: 4px;
  border-bottom: 1px solid #eaf2f8;
}
.iwantto-heading:first-child { margin-top: 0; padding-top: 0; }
.iwantto-menu li:not(.iwantto-heading) a {
  padding: 6px 0; font-size: 0.9rem; border-left: none;
}
.iwantto-menu li:not(.iwantto-heading) a::before {
  content: "\203A"; margin-right: 8px; color: #2980b9; font-weight: 700;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#main-content { min-height: 400px; }
.content-wrapper {
  max-width: 1200px; margin: 0 auto; padding: 32px 24px;
}

/* Breadcrumbs */
.breadcrumb {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  font-size: 0.85rem; color: #5d7a94; background: #f8fafb;
  border-bottom: 1px solid #e8eef3;
}
.breadcrumb a { color: #2471a3; }
.breadcrumb .sep { margin: 0 6px; color: #b0c4d8; }

/* Page banner */
.page-banner {
  background: #1a3c5e; color: #fff; padding: 40px 0;
  margin-bottom: 0; position: relative;
}
.page-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.page-banner h1 {
  font-size: 2.2rem; color: #fff; margin: 0; border: none; padding: 0;
}
.page-banner p { color: #d6e4f0; margin: 8px 0 0; font-size: 1.05rem; }

/* Two-column layout (main + sidebar) */
.two-col {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding: 32px 24px;
}
.main-col h1 { font-size: 2rem; color: #1a3c5e; margin-bottom: 16px; border-bottom: 2px solid #d6e4f0; padding-bottom: 10px; }
.main-col h2 { font-size: 1.35rem; color: #1a3c5e; margin: 28px 0 12px; }
.main-col h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.main-col p { margin-bottom: 14px; line-height: 1.7; }
.main-col ul, .main-col ol { margin: 0 0 16px 24px; }
.main-col ul { list-style: disc; }
.main-col ol { list-style: decimal; }
.main-col li { margin-bottom: 6px; line-height: 1.5; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-box {
  background: #fff; border: 1px solid #dce6f0; border-radius: 6px; overflow: hidden;
}
.sidebar-box-header {
  background: #1a3c5e; color: #fff; padding: 12px 16px;
  font-size: 0.95rem; font-weight: 600;
}
.sidebar-box-body { padding: 16px; }
.sidebar-box-body ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box-body li { padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.sidebar-box-body li:last-child { border-bottom: none; }
.sidebar-box-body li a { font-size: 0.9rem; }
.sidebar-box-body p { font-size: 0.9rem; margin-bottom: 8px; line-height: 1.5; }

.sidebar-cta {
  background: #eaf2f8; border: 2px solid #2980b9; border-radius: 6px;
  padding: 20px; text-align: center;
}
.sidebar-cta h3 { color: #1a3c5e; margin-bottom: 8px; font-size: 1.1rem; }
.sidebar-cta p { font-size: 0.9rem; margin-bottom: 12px; }
.sidebar-cta .btn-primary { display: inline-block; }

/* Single column content (no sidebar) */
.page-content {
  max-width: 1200px; margin: 0 auto; padding: 32px 24px;
}
.page-content h1 {
  font-size: 2rem; color: #1a3c5e; margin-bottom: 16px;
  border-bottom: 2px solid #d6e4f0; padding-bottom: 10px;
}
.page-content h2 { font-size: 1.35rem; color: #1a3c5e; margin: 28px 0 12px; }
.page-content h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.page-content p { margin-bottom: 14px; line-height: 1.7; }
.content-body { margin-top: 20px; }
.content-body p { margin-bottom: 14px; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel { position: relative; overflow: hidden; max-height: 480px; background: #1a3c5e; }
.carousel-slide { display: none; position: relative; }
.carousel-slide.active { display: block; }
.carousel-slide img { width: 100%; height: 480px; object-fit: cover; opacity: 0.7; background: #2c4a6b; }
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,33,55,0.9));
  padding: 80px 0 40px;
}
.carousel-caption-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.carousel-caption h1 { color: #fff; border: none; padding: 0; margin: 0 0 8px; font-size: 2.4rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.carousel-caption p { color: #d6e4f0; margin: 0 0 16px; font-size: 1.15rem; max-width: 600px; }
.carousel-caption .btn-cta {
  display: inline-block; background: #2980b9; color: #fff; padding: 10px 24px;
  border-radius: 4px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
}
.carousel-caption .btn-cta:hover { background: #2471a3; text-decoration: none; color: #fff; }
.carousel-prev, .carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(26,60,94,0.7); color: #fff; border: none;
  padding: 16px 14px; font-size: 1.8rem; cursor: pointer; z-index: 10;
  transition: background 0.2s;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(26,60,94,0.95); }
.carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.carousel-dot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.carousel-dot.active { background: #fff; }

/* ============================================================
   QUICK ACTION TILES
   ============================================================ */
.quick-actions { background: #f0f4f8; padding: 40px 0; }
.quick-actions-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.action-tile {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 16px; background: #fff; border-radius: 8px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.2s;
  color: #1a3c5e; font-weight: 600; font-size: 0.9rem;
  border: 1px solid #e8eef3;
}
.action-tile:hover {
  transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-decoration: none; border-color: #2980b9;
}
.action-tile .tile-icon {
  font-size: 2rem; margin-bottom: 10px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #eaf2f8; border-radius: 50%; color: #2980b9;
}
.action-tile img { height: 36px; margin-bottom: 10px; }

/* ============================================================
   NEWS & EVENTS — side by side or tabbed
   ============================================================ */
.news-events-section {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.section-heading {
  font-size: 1.4rem; color: #1a3c5e; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 3px solid #2980b9;
}
.section-heading a {
  float: right; font-size: 0.85rem; font-weight: 400; color: #2471a3;
}

/* News cards */
.news-card {
  display: flex; gap: 16px; margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid #eaf2f8;
}
.news-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.news-card-img {
  width: 140px; min-width: 140px; height: 95px; object-fit: cover;
  border-radius: 4px;
}
.news-card-body h3, .news-card-body h4 { font-size: 1rem; margin: 0 0 4px; line-height: 1.3; }
.news-card-body h3 a, .news-card-body h4 a { color: #1a3c5e; }
.news-card-body h3 a:hover, .news-card-body h4 a:hover { color: #2471a3; }
.news-card-date { font-size: 0.8rem; color: #5d7a94; margin-bottom: 6px; }
.news-card-body p { font-size: 0.88rem; color: #4a6274; margin: 0; line-height: 1.5; }

/* Events list */
.event-item {
  display: flex; gap: 14px; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid #eaf2f8;
}
.event-item:last-child { border-bottom: none; }
.event-date-badge {
  background: #1a3c5e; color: #fff; border-radius: 6px;
  width: 56px; min-width: 56px; height: 60px; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.event-date-badge .month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: #d6e4f0; }
.event-date-badge .day { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.event-body h3, .event-body h4 { font-size: 0.95rem; margin: 0 0 2px; }
.event-body h3 a, .event-body h4 a { color: #1a3c5e; }
.event-body .event-meta { font-size: 0.82rem; color: #5d7a94; }
.event-body p { font-size: 0.85rem; color: #4a6274; margin: 4px 0 0; }

/* ============================================================
   WELCOME / ABOUT SECTION
   ============================================================ */
.welcome-section {
  background: #fff; padding: 48px 0;
}
.welcome-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.welcome-text h2 { font-size: 1.6rem; margin-bottom: 12px; }
.welcome-text p { font-size: 1rem; line-height: 1.7; color: #4a6274; margin-bottom: 12px; }
.welcome-img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* ============================================================
   TABLES
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.data-table th, .data-table td { padding: 12px 16px; border: 1px solid #dce6f0; text-align: left; }
.data-table th { background: #1a3c5e; color: #fff; font-weight: 600; font-size: 0.9rem; }
.data-table tr:nth-child(even) { background: #f8fafb; }
.data-table tr:hover { background: #eaf2f8; }
.data-table td a { font-weight: 500; }

/* Document list */
.document-list { padding: 0; margin: 16px 0; }
.document-list li {
  padding: 14px 0; border-bottom: 1px solid #eaf2f8;
  display: flex; align-items: baseline; gap: 8px;
}
.document-list li:last-child { border-bottom: none; }
.document-list li a { font-weight: 500; }
.doc-type {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  background: #eaf2f8; color: #1a3c5e; padding: 2px 6px; border-radius: 3px;
}

/* ============================================================
   FORMS
   ============================================================ */
.contact-form, .paybill-form, .inline-form { max-width: 600px; }
.contact-form label, .paybill-form label, .inline-form label {
  display: block; margin: 16px 0 4px; font-weight: 600; font-size: 0.9rem; color: #2c3e50;
}
.contact-form input, .contact-form textarea, .contact-form select,
.paybill-form input, .paybill-form select,
.inline-form input, .inline-form select {
  width: 100%; padding: 10px 14px; border: 2px solid #dce6f0;
  border-radius: 4px; font-size: 1rem; margin-bottom: 4px; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus,
.paybill-form input:focus, .inline-form input:focus {
  border-color: #2980b9;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-primary {
  background: #1a3c5e; color: #fff; border: none; padding: 12px 28px;
  border-radius: 4px; cursor: pointer; font-size: 1rem; font-weight: 600;
}
.btn-primary:hover { background: #154360; }
.btn-secondary {
  background: #e8eef3; color: #2c3e50; border: none; padding: 12px 28px;
  border-radius: 4px; cursor: pointer; font-weight: 500;
}
.btn-secondary:hover { background: #dce6f0; }

/* Filter form (sidebar) */
.filter-widget input {
  width: 100%; padding: 8px 12px; border: 1px solid #dce6f0;
  border-radius: 4px; font-size: 0.9rem;
}

/* Events filter form */
.event-filter {
  display: flex; gap: 12px; align-items: end; margin-bottom: 24px;
  flex-wrap: wrap; padding: 16px; background: #f8fafb; border-radius: 6px;
}
.event-filter label { font-weight: 600; font-size: 0.85rem; }
.event-filter input, .event-filter select {
  padding: 8px 14px; border: 1px solid #dce6f0; border-radius: 4px;
}

/* Event cards */
.event-card {
  background: #fff; padding: 24px; border-radius: 6px; margin-bottom: 16px;
  border-left: 4px solid #2980b9; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.event-card h2 { font-size: 1.15rem; margin: 0 0 6px; }

/* ============================================================
   VIDEO EMBED
   ============================================================ */
.video-embed { margin: 20px 0; }
.video-embed iframe { border: none; border-radius: 4px; }

/* ============================================================
   DIALOG / MODAL
   ============================================================ */
dialog {
  border: none; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  max-width: 480px; padding: 28px; width: 90%;
}
dialog::backdrop { background: rgba(13,33,55,0.6); }
.modal-content h2 { margin-bottom: 12px; font-size: 1.3rem; }
.modal-content p { margin-bottom: 16px; }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; }

/* ============================================================
   DEPARTMENT INFO CARDS
   ============================================================ */
.dept-info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 24px 0;
}
.dept-info-card {
  background: #f8fafb; border: 1px solid #dce6f0; border-radius: 6px;
  padding: 20px; border-top: 3px solid #2980b9;
}
.dept-info-card h3 { font-size: 1rem; margin-bottom: 8px; color: #1a3c5e; }
.dept-info-card p { font-size: 0.9rem; margin-bottom: 6px; }

/* Staff directory table */
.staff-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.staff-table th, .staff-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #eaf2f8; }
.staff-table th { font-weight: 600; color: #5d7a94; font-size: 0.85rem; text-transform: uppercase; }
.staff-table tr:hover { background: #f8fafb; }

/* ============================================================
   LOW CONTRAST TEXT (intentional violation)
   ============================================================ */
.low-contrast-text { font-size: 0.95rem; }

/* ============================================================
   NEWSLETTER SIGNUP (intentional: no label on input)
   ============================================================ */
.newsletter-signup { margin-top: 16px; }
.newsletter-signup h4 { color: #fff; margin-bottom: 8px; font-size: 0.95rem; }
.newsletter-signup input {
  padding: 8px 14px; border: 1px solid #3d6a8e; border-radius: 4px 0 0 4px;
  width: 180px; background: #0d2137; color: #fff; font-size: 0.9rem;
  outline: none;
}
.newsletter-signup input::placeholder { color: #7ba3c4; }
.newsletter-signup input:focus { border-color: #2980b9; }
.newsletter-signup button {
  padding: 8px 18px; background: #2980b9; color: #fff; border: 1px solid #2980b9;
  border-radius: 0 4px 4px 0; cursor: pointer; font-size: 0.9rem;
  margin-left: -1px;
}
.newsletter-signup button:hover { background: #2471a3; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d2137; color: #d6e4f0; padding: 48px 0 0; margin-top: 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.footer-col h3 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; color: #aec6e0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aec6e0; font-size: 0.9rem; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.social-links { display: flex; gap: 10px; margin-bottom: 16px; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: #1a3c5e; border-radius: 50%;
  transition: background 0.2s;
}
.social-icon:hover { background: #2980b9; }
.social-icon img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-bottom {
  text-align: center; padding: 20px 24px; margin-top: 40px;
  border-top: 1px solid #1a3c5e; font-size: 0.82rem; color: #7ba3c4;
}
.footer-bottom a { color: #aec6e0; margin: 0 8px; }

/* ============================================================
   SIDEBAR WIDGET (used in ambiguous auto-fix test)
   ============================================================ */
.sidebar-widget {
  background: #f8fafb; padding: 20px; border-radius: 6px;
  margin-top: 24px; border: 1px solid #dce6f0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .quick-actions-inner { grid-template-columns: repeat(3, 1fr); }
  .news-events-section { grid-template-columns: 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .welcome-inner { grid-template-columns: 1fr; }
  .mega-menu, .iwantto-menu { min-width: 100%; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.is-open { display: block; }
  .nav-menu { flex-direction: column; }
  .nav-menu > li > a { border-bottom: 1px solid #154360; }
  .submenu, .mega-menu, .iwantto-menu {
    position: static; box-shadow: none; border-top: none;
    min-width: 100%; display: none; grid-template-columns: 1fr;
  }
  .has-submenu.open > .submenu,
  .has-submenu.open > .mega-menu,
  .has-submenu.open > .iwantto-menu { display: block; }
  .submenu li a { padding-left: 40px; }
  .header-inner { flex-wrap: wrap; }
  .site-search { width: 100%; margin-top: 12px; }
  .site-search input { width: 100%; flex: 1; }
  .hero-carousel { max-height: 300px; }
  .carousel-slide img { height: 300px; }
  .carousel-caption h1 { font-size: 1.5rem; }
  .carousel-caption p { font-size: 0.95rem; }
  .quick-actions-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .action-tile { padding: 20px 12px; }
  .page-banner h1 { font-size: 1.6rem; }
  .utility-bar { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
