/*
 * Ranlo Custom Styles
 * Town of Ranlo - David Turner Designs
 * Brand colors sourced directly from official logo
 */

/* === VARIABLES === */
:root {
  --ranlo-burgundy:      #5f1812;
  --ranlo-burgundy-dark: #3d0e0a;
  --ranlo-burgundy-mid:  #7a1f18;
  --ranlo-sage:          #5c836e;
  --ranlo-sage-dark:     #4a6b5a;
  --ranlo-sage-light:    #7aa892;
  --ranlo-cream:         #efecdb;
  --ranlo-cream-light:   #f7f5ec;
  --ranlo-dark:          #2c2420;
  --ranlo-muted:         #6b5f5a;
  --ranlo-border:        #ddd8c4;
  --ranlo-radius:        6px;
  --ranlo-shadow:        0 2px 8px rgba(95,24,18,0.10);

  /* Semantic aliases */
  --ranlo-primary:       var(--ranlo-burgundy);
  --ranlo-primary-dark:  var(--ranlo-burgundy-dark);
  --ranlo-accent:        var(--ranlo-sage);
  --ranlo-text:          var(--ranlo-dark);
  --ranlo-bg:            var(--ranlo-cream-light);
  --ranlo-light:         var(--ranlo-cream-light);
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
}

/* === GLOBAL TYPOGRAPHY & BASE === */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ranlo-dark);
  background: var(--ranlo-cream-light);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--ranlo-burgundy);
  line-height: 1.2;
}
a {
  color: var(--ranlo-burgundy);
  transition: color 0.2s;
}
a:hover { color: var(--ranlo-burgundy-dark); }

/* === LAYOUT === */
.ranlo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.site-header,
.kadence-sticky-header {
  background: var(--ranlo-burgundy) !important;
}

/* ============================================
   THREE-BAR HEADER
   ============================================ */

/* Hide Kadence's default header — we render our own */
.site-header,
.kadence-sticky-header,
#masthead { display: none !important; }

.ranlo-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* --- Bar 1: Utility strip --- */
.ranlo-header__util {
  background: #2a0907;
  padding: 6px 0;
}
.ranlo-header__util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ranlo-header__util-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ranlo-header__util-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(239,236,219,.6);
}
.ranlo-header__util-item a {
  color: rgba(239,236,219,.6) !important;
  text-decoration: none;
}
.ranlo-header__util-item a:hover { color: var(--ranlo-cream) !important; }
.ranlo-header__util-item svg { flex-shrink: 0; }
.ranlo-header__util-sep {
  color: rgba(239,236,219,.2);
  font-size: 11px;
  user-select: none;
}
.ranlo-header__util-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ranlo-header__util-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(239,236,219,.65) !important;
  text-decoration: none;
  transition: color 0.15s;
}
.ranlo-header__util-link svg { flex-shrink: 0; }
.ranlo-header__util-link:hover { color: var(--ranlo-cream) !important; }

/* --- Bar 2: Brand + Search --- */
.ranlo-header__brand {
  background: var(--ranlo-burgundy);
  padding: 12px 0;
}
.ranlo-header__brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ranlo-header__logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.ranlo-header__seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--ranlo-burgundy);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.ranlo-header__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ranlo-header__name strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ranlo-cream);
  line-height: 1.15;
  letter-spacing: .02em;
}
.ranlo-header__name span {
  font-size: 10px;
  color: rgba(239,236,219,.5);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: 'Open Sans', sans-serif;
}
.ranlo-header__search { flex: 1; max-width: 340px; }
.ranlo-header__search .search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(239,236,219,.25);
  border-radius: var(--ranlo-radius);
  overflow: hidden;
  background: rgba(255,255,255,.1);
}
.ranlo-header__search .search-field {
  flex: 1;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ranlo-cream);
  font-family: 'Open Sans', sans-serif;
}
.ranlo-header__search .search-field::placeholder { color: rgba(239,236,219,.4); }
.ranlo-header__search .search-submit {
  background: var(--ranlo-sage) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 9px 18px !important;
  color: var(--ranlo-cream) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  white-space: nowrap;
  min-width: auto;
  overflow: visible;
  font-family: 'Open Sans', sans-serif;
}
.ranlo-header__search .search-submit:hover { background: var(--ranlo-sage-dark) !important; }

/* --- Bar 3: Nav --- */
.ranlo-header__nav {
  background: #4a1108;
  border-top: 2.5px solid var(--ranlo-sage);
  position: relative;
  overflow: visible;
}
.ranlo-header__nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow: visible;
  position: relative; /* IWT dropdown anchors here; MMM panel overrides to .ranlo-header__nav via its own absolute positioning */
}
/* .ranlo-header__nav-menu removed — MMM wraps directly */

/* Mega Menu inside our nav bar */
#ranlo-header #mega-menu-wrap-primary {
  display: flex !important;
  background: transparent !important;
  flex: 1;
  box-shadow: none !important;
  position: relative !important; /* MMM needs this for internal layout; panel anchors here */
}
#ranlo-header #mega-menu-wrap-primary .mega-menu-toggle { display: none; }
#ranlo-header #mega-menu-primary {
  display: flex;
  align-items: stretch;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}
#ranlo-header #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  color: rgba(239,236,219,.8) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  background: transparent !important;
  transition: color .15s, background .15s !important;
}
#ranlo-header #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#ranlo-header #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#ranlo-header #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#ranlo-header #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
  color: var(--ranlo-cream) !important;
  background: rgba(0,0,0,.2) !important;
  border-bottom-color: var(--ranlo-sage-light) !important;
}

/* Mega panel */
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
  background: #3d0e0a !important;
  border-top: 2px solid var(--ranlo-sage) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
  padding: 20px 0 24px !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}
#ranlo-header #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
  background: #3d0e0a !important;
  border-top: 2px solid var(--ranlo-sage) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* I Want To button */
.ranlo-header__iwa {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  background: var(--ranlo-sage);
  color: var(--ranlo-cream) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.ranlo-header__iwa svg { flex-shrink: 0; }
.ranlo-header__iwa:hover { background: var(--ranlo-sage-dark); color: var(--ranlo-cream) !important; }

/* Mobile */
@media (max-width: 900px) {
  .ranlo-header__util-item + .ranlo-header__util-sep + .ranlo-header__util-item { display: none; }
}
@media (max-width: 768px) {
  .ranlo-header__util { display: none; }
  .ranlo-header__name strong { font-size: 14px; }
  .ranlo-header__search { max-width: 180px; }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle {
    display: flex !important;
    background: transparent !important;
    color: var(--ranlo-cream) !important;
    padding: 0 14px !important;
    height: 44px !important;
    border: none !important;
    align-items: center;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box,
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box::before,
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box::after {
    background: var(--ranlo-cream) !important;
  }
  #ranlo-header #mega-menu-primary {
    flex-direction: column;
    background: #3d0e0a !important;
  }
  #ranlo-header #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(239,236,219,.1) !important;
  }
  .ranlo-header__iwa { display: none; }
}

/* Hide 'I Want To' from mega menu — handled by the sage button */
#ranlo-header #mega-menu-primary > li.mega-menu-item-260 { display: none !important; }

/* Search button fix — prevent clipping */
.ranlo-header__search .search-submit {
  min-width: 70px !important;
  text-indent: 0 !important;
  font-size: 11px !important;
}

.site-header a,
.site-header .nav-drop-toggle,
.main-navigation a {
  color: var(--ranlo-cream) !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--ranlo-sage-light) !important;
}
.site-logo img,
.custom-logo {
  max-height: 60px;
  width: auto;
}

/* Utility bar */
.header-top-bar {
  background: var(--ranlo-burgundy-dark);
  color: rgba(239,236,219,0.75);
  font-size: 0.82rem;
  padding: 6px 0;
}
.header-top-bar a {
  color: var(--ranlo-cream) !important;
}
.header-top-bar a:hover {
  color: var(--ranlo-sage-light) !important;
}

/* === FOOTER === */
.site-footer {
  background: var(--ranlo-burgundy-dark) !important;
  color: rgba(239,236,219,0.8);
}
.site-footer a { color: var(--ranlo-cream); }
.site-footer a:hover { color: var(--ranlo-sage-light); }
.site-footer h3 {
  color: var(--ranlo-cream);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer ul li {
  border-bottom: 1px solid rgba(239,236,219,0.1);
}
.site-footer ul li:last-child { border-bottom: none; }
.site-footer ul li a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(239,236,219,0.4);
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(239,236,219,0.1);
  margin: 0;
}

/* === BUTTONS === */
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.ranlo-btn {
  background: var(--ranlo-burgundy) !important;
  color: var(--ranlo-cream) !important;
  border-radius: var(--ranlo-radius) !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}
.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
.ranlo-btn:hover {
  background: var(--ranlo-burgundy-dark) !important;
}
.ranlo-btn-sage {
  background: var(--ranlo-sage) !important;
}
.ranlo-btn-sage:hover {
  background: var(--ranlo-sage-dark) !important;
}

/* === ADMIN BAR === */
#wpadminbar { background: var(--ranlo-burgundy-dark) !important; }

/* === HERO BANNERS === */
.ranlo-dept-hero,
.ranlo-project-hero,
.ranlo-archive-hero {
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
  padding: 48px 0;
}
.ranlo-dept-hero h1,
.ranlo-project-hero h1,
.ranlo-archive-hero h1 {
  color: var(--ranlo-cream);
  margin: 0 0 8px;
  font-size: 2rem;
}
.ranlo-dept-intro,
.ranlo-archive-hero p {
  color: rgba(239,236,219,0.85);
  font-size: 1.1rem;
  margin: 0;
}
.ranlo-project-dept a {
  color: var(--ranlo-sage-light);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === DEPARTMENT SINGLE === */
.ranlo-dept-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .ranlo-dept-body { grid-template-columns: 1fr; }
  .ranlo-dept-sidebar { order: -1; }
}
.ranlo-dept-section { margin-bottom: 48px; }
.ranlo-dept-section h2 {
  color: var(--ranlo-burgundy);
  font-size: 1.4rem;
  border-bottom: 3px solid var(--ranlo-sage);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* === SIDEBAR CARDS === */
.ranlo-sidebar-card {
  background: var(--ranlo-cream);
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.ranlo-sidebar-card h2 {
  color: var(--ranlo-burgundy);
  font-size: 1.1rem;
  border-bottom: 2px solid var(--ranlo-sage);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.ranlo-sidebar-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--ranlo-dark);
}
.ranlo-sidebar-card a { color: var(--ranlo-burgundy); }
.ranlo-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ranlo-quick-links li { border-bottom: 1px solid var(--ranlo-border); }
.ranlo-quick-links li:last-child { border-bottom: none; }
.ranlo-quick-links a {
  display: block;
  padding: 10px 0;
  color: var(--ranlo-burgundy);
  text-decoration: none;
  font-size: 0.95rem;
}
.ranlo-quick-links a:hover { color: var(--ranlo-burgundy-dark); }

/* === STAFF CARD === */
.ranlo-staff-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--ranlo-cream);
  border-radius: var(--ranlo-radius);
  padding: 24px;
}
.ranlo-staff-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ranlo-sage);
  flex-shrink: 0;
}
.ranlo-staff-info h3 { margin: 0 0 4px; color: var(--ranlo-burgundy); }
.ranlo-staff-title { color: var(--ranlo-sage-dark); font-weight: 600; margin-bottom: 8px; }
.ranlo-staff-bio { margin-top: 12px; font-size: 0.95rem; }

/* === FAQs === */
.ranlo-faq-item {
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.ranlo-faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ranlo-burgundy);
  background: var(--ranlo-cream);
  list-style: none;
}
.ranlo-faq-item summary::-webkit-details-marker { display: none; }
.ranlo-faq-item summary::after { content: '+'; float: right; font-size: 1.2rem; }
.ranlo-faq-item[open] summary::after { content: '−'; }
.ranlo-faq-answer { padding: 16px 20px; }

/* === PROGRESS BAR === */
.ranlo-progress-bar {
  background: var(--ranlo-border);
  border-radius: 99px;
  height: 12px;
  overflow: hidden;
  margin: 8px 0;
}
.ranlo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ranlo-sage-dark), var(--ranlo-sage));
  border-radius: 99px;
  transition: width 0.6s ease;
}
.ranlo-progress-label {
  font-size: 0.85rem;
  color: var(--ranlo-muted);
  margin: 0;
}

/* === PROJECT DASHBOARD === */
.ranlo-project-dashboard {
  padding: 40px 24px;
  display: grid;
  gap: 24px;
}
.ranlo-dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .ranlo-dashboard-row { grid-template-columns: 1fr; }
}
.ranlo-dashboard-card {
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  padding: 28px;
  box-shadow: var(--ranlo-shadow);
}
.ranlo-dashboard-card h2 {
  color: var(--ranlo-burgundy);
  font-size: 1.1rem;
  border-bottom: 2px solid var(--ranlo-sage);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.ranlo-completion-card .ranlo-completion-pct {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ranlo-burgundy);
  margin: 0;
}
.ranlo-update-date { font-size: 0.85rem; color: var(--ranlo-muted); margin-bottom: 8px; }
.ranlo-update-text { font-size: 1rem; line-height: 1.6; }

/* === STATUS BADGES === */
.ranlo-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ranlo-status-active    { background: #d1f0e0; color: #1a5c35; }
.ranlo-status-planning  { background: #e8e0d4; color: #5f1812; }
.ranlo-status-on_hold   { background: #f5e6c8; color: #7a4a00; }
.ranlo-status-completed { background: #e0ebe5; color: #2a4a38; }

/* === MILESTONES === */
.ranlo-milestones { list-style: none; margin: 0; padding: 0; }
.ranlo-milestone {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--ranlo-border);
}
.ranlo-milestone:last-child { border-bottom: none; }
.ranlo-milestone-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ranlo-milestone-complete    .ranlo-milestone-icon { background: var(--ranlo-sage);     color: #fff; }
.ranlo-milestone-in_progress .ranlo-milestone-icon { background: var(--ranlo-burgundy-mid); color: #fff; }
.ranlo-milestone-pending     .ranlo-milestone-icon { background: var(--ranlo-border);    color: var(--ranlo-muted); }
.ranlo-milestone-info strong { display: block; color: var(--ranlo-burgundy); }
.ranlo-milestone-date  { font-size: 0.8rem; color: var(--ranlo-muted); }
.ranlo-milestone-notes { font-size: 0.9rem; margin: 4px 0 0; }

/* === PROJECT DETAILS DL === */
.ranlo-details-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  margin: 0;
}
.ranlo-details-list dt { font-weight: 700; color: var(--ranlo-burgundy); }
.ranlo-details-list dd { margin: 0; }

/* === DEPARTMENT GRID (ARCHIVE) === */
.ranlo-dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 48px 0;
}
.ranlo-dept-card {
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-top: 4px solid var(--ranlo-burgundy);
  border-radius: var(--ranlo-radius);
  padding: 28px;
  text-decoration: none;
  color: var(--ranlo-dark);
  box-shadow: var(--ranlo-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.ranlo-dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(95,24,18,0.15);
  border-top-color: var(--ranlo-sage);
}
.ranlo-dept-card h2 {
  color: var(--ranlo-burgundy);
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.ranlo-card-phone,
.ranlo-card-hours {
  font-size: 0.85rem;
  color: var(--ranlo-muted);
  margin: 4px 0 0;
}

/* === PROJECT LIST (ARCHIVE) === */
.ranlo-projects-list { padding: 48px 0; }
.ranlo-project-list-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-left: 5px solid var(--ranlo-burgundy);
  border-radius: var(--ranlo-radius);
  padding: 28px;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--ranlo-dark);
  box-shadow: var(--ranlo-shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.ranlo-project-list-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--ranlo-sage);
}
.ranlo-plc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.ranlo-plc-header h2 { color: var(--ranlo-burgundy); margin: 0; font-size: 1.3rem; }
.ranlo-project-update { font-size: 0.95rem; color: var(--ranlo-dark); margin: 8px 0 4px; }

/* === DIVISIONS GRID === */
.ranlo-divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.ranlo-division-card {
  background: var(--ranlo-cream);
  border-left: 4px solid var(--ranlo-sage);
  border-radius: 0 var(--ranlo-radius) var(--ranlo-radius) 0;
  padding: 16px 20px;
}
.ranlo-division-card h3 { margin: 0 0 8px; color: var(--ranlo-burgundy); font-size: 1rem; }

/* === DOC LIST === */
.ranlo-doc-list { list-style: none; margin: 0; padding: 0; }
.ranlo-doc-list li { border-bottom: 1px solid var(--ranlo-border); }
.ranlo-doc-list li:last-child { border-bottom: none; }
.ranlo-doc-list a {
  display: block;
  padding: 10px 0;
  color: var(--ranlo-burgundy);
  text-decoration: none;
  font-size: 0.95rem;
}
.ranlo-doc-list a:hover { color: var(--ranlo-burgundy-dark); }

/* ============================================
   MEETING RECORDS
   ============================================ */
.ranlo-meetings-body { padding: 40px 24px; }
.ranlo-meetings-year { margin-bottom: 48px; }
.ranlo-year-heading {
  color: var(--ranlo-burgundy);
  font-size: 1.5rem;
  border-bottom: 3px solid var(--ranlo-sage);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.ranlo-table-wrap {
  overflow-x: auto;
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
}
.ranlo-meetings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
.ranlo-meetings-table thead {
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
}
.ranlo-meetings-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ranlo-meetings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ranlo-border);
  vertical-align: middle;
}
.ranlo-meetings-table tbody tr:last-child td { border-bottom: none; }
.ranlo-meetings-table tbody tr:hover { background: var(--ranlo-cream-light); }
.ranlo-meetings-table td:first-child {
  white-space: nowrap;
  color: var(--ranlo-muted);
  font-size: 0.9rem;
}
.ranlo-meetings-table td a {
  color: var(--ranlo-burgundy);
  font-weight: 600;
  text-decoration: none;
}
.ranlo-meetings-table td a:hover { color: var(--ranlo-sage-dark); }
.ranlo-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ranlo-sage-dark) !important;
  font-weight: 500 !important;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.ranlo-doc-link:hover { text-decoration: underline; }
.ranlo-yt-link { display: inline-flex; align-items: center; transition: opacity 0.2s; }
.ranlo-yt-link:hover { opacity: 0.8; }
.ranlo-summary-link {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream) !important;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ranlo-summary-link:hover { background: var(--ranlo-sage-dark); }
.ranlo-unavailable { color: var(--ranlo-border); font-size: 1rem; }
@media (max-width: 640px) {
  .ranlo-meetings-table thead { display: none; }
  .ranlo-meetings-table tbody tr {
    display: block;
    border: 1px solid var(--ranlo-border);
    border-radius: var(--ranlo-radius);
    margin-bottom: 16px;
    padding: 12px;
  }
  .ranlo-meetings-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid var(--ranlo-border);
    font-size: 0.9rem;
  }
  .ranlo-meetings-table td:last-child { border-bottom: none; }
  .ranlo-meetings-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--ranlo-burgundy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    margin-right: 12px;
  }
}

/* Single Meeting */
.ranlo-meeting-body { padding: 40px 24px; max-width: 900px; }
.ranlo-breadcrumb { font-size: 0.85rem; color: rgba(239,236,219,0.7); margin-bottom: 8px; }
.ranlo-breadcrumb a { color: var(--ranlo-sage-light); text-decoration: none; }
.ranlo-meeting-docs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.ranlo-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
  border-radius: var(--ranlo-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.ranlo-doc-btn:hover { background: var(--ranlo-burgundy-dark); color: var(--ranlo-cream); }
.ranlo-meeting-section { margin-bottom: 48px; }
.ranlo-meeting-section h2 {
  color: var(--ranlo-burgundy);
  font-size: 1.4rem;
  border-bottom: 3px solid var(--ranlo-sage);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.ranlo-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
}
.ranlo-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.ranlo-summary-notice {
  background: var(--ranlo-cream);
  border-left: 4px solid var(--ranlo-sage);
  padding: 12px 16px;
  border-radius: 0 var(--ranlo-radius) var(--ranlo-radius) 0;
  font-size: 0.9rem;
  color: var(--ranlo-muted);
  margin-bottom: 20px;
}
.ranlo-summary-content { line-height: 1.8; font-size: 1rem; }
.ranlo-back-link a { color: var(--ranlo-burgundy); text-decoration: none; font-weight: 600; }
.ranlo-back-link a:hover { color: var(--ranlo-sage-dark); }
/* ============================================
   DEPARTMENT CARD UPGRADES
   ============================================ */
.ranlo-dept-card-icon {
  width: 48px; height: 48px;
  background: var(--ranlo-cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background 0.2s;
}
.ranlo-dept-card-icon svg {
  width: 24px; height: 24px;
  color: var(--ranlo-burgundy);
  stroke: var(--ranlo-burgundy);
}
.ranlo-dept-card:hover .ranlo-dept-card-icon {
  background: var(--ranlo-burgundy);
}
.ranlo-dept-card:hover .ranlo-dept-card-icon svg {
  stroke: var(--ranlo-cream);
}
.ranlo-dept-card-desc { font-size: 0.9rem; color: var(--ranlo-muted); margin: 0 0 12px; }
.ranlo-dept-card-meta { margin-top: auto; }
.ranlo-dept-card-cta {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ranlo-sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ranlo-dept-card { display: flex; flex-direction: column; }

/* Dept single breadcrumb */
.ranlo-breadcrumb a { color: var(--ranlo-sage-light); text-decoration: none; }
.ranlo-dept-hero .ranlo-breadcrumb { font-size: 0.85rem; color: rgba(239,236,219,0.7); margin-bottom: 8px; }

/* Dept docs list items */
.ranlo-doc-list-item a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  text-decoration: none;
  color: var(--ranlo-burgundy);
  border-bottom: 1px solid var(--ranlo-border);
}
.ranlo-doc-list-item:last-child a { border-bottom: none; }
.ranlo-doc-list-item a:hover .ranlo-doc-title { text-decoration: underline; }
.ranlo-doc-icon svg { flex-shrink: 0; }
.ranlo-doc-title { font-weight: 600; font-size: 0.95rem; flex: 1; }
.ranlo-doc-cat {
  font-size: 0.75rem; font-weight: 600;
  background: var(--ranlo-cream);
  color: var(--ranlo-muted);
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
}
.ranlo-docs-all-link { margin-top: 16px; }
.ranlo-docs-all-link a { font-weight: 600; color: var(--ranlo-sage-dark); }
.ranlo-sidebar-back a { font-size: 0.9rem; color: var(--ranlo-burgundy); font-weight: 600; }

/* ============================================
   HOMEPAGE
   ============================================ */
.ranlo-home-hero {
  background:
    linear-gradient(to bottom, rgba(45,8,5,0.62) 0%, rgba(45,8,5,0.45) 50%, rgba(45,8,5,0.68) 100%),
    url('https://staging.townofranlo.org/wp-content/uploads/2026/05/Ranlo-46-scaled.png') center 60% / cover no-repeat;
  padding: 100px 0 90px;
  color: var(--ranlo-cream);
}
.ranlo-hero-inner { max-width: 680px; }
.ranlo-home-hero h1 {
  color: var(--ranlo-cream);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 16px;
  line-height: 1.15;
}
.ranlo-home-hero p {
  color: rgba(239,236,219,0.85);
  font-size: 1.15rem;
  margin: 0 0 28px;
}
.ranlo-hero-search .search-form { display: flex; gap: 8px; max-width: 480px; }
.ranlo-hero-search .search-field {
  flex: 1; padding: 12px 16px;
  border: none; border-radius: var(--ranlo-radius);
  font-size: 1rem;
}
.ranlo-hero-search .search-submit {
  padding: 12px 24px;
  background: var(--ranlo-sage) !important;
  color: #fff !important;
  border-radius: var(--ranlo-radius) !important;
  font-weight: 700;
  white-space: nowrap;
  min-width: 80px;
  overflow: visible;
  text-overflow: clip;
}

/* Hero placeholder */
.ranlo-hero-placeholder {
  margin-top: 8px;
  background: rgba(255,255,255,.08);
  border: 1px dashed rgba(239,236,219,.35);
  border-radius: var(--ranlo-radius);
  padding: 14px 18px;
  max-width: 520px;
}
.ranlo-hero-placeholder__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(239,236,219,.5);
  margin-bottom: 10px;
}
.ranlo-hero-placeholder__ideas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ranlo-hero-placeholder__ideas li {
  font-size: 0.88rem;
  color: rgba(239,236,219,.75);
  line-height: 1.4;
}
.ranlo-hero-placeholder__ideas em {
  color: var(--ranlo-cream);
  font-style: normal;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  display: inline;
}

/* Action grid */
.ranlo-home-actions {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid var(--ranlo-border);
}
.ranlo-section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ranlo-muted);
  margin-bottom: 20px;
  font-weight: 700;
}
.ranlo-action-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 960px) { .ranlo-action-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ranlo-action-grid { grid-template-columns: repeat(2, 1fr); } }
.ranlo-action-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px 12px;
  background: var(--ranlo-cream-light);
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  text-decoration: none;
  color: var(--ranlo-dark);
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.ranlo-action-card:hover {
  background: var(--ranlo-burgundy);
  border-color: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
  transform: translateY(-2px);
}
.ranlo-action-icon svg {
  width: 32px; height: 32px;
  stroke: var(--ranlo-burgundy);
  fill: none;
  transition: stroke 0.2s;
}
.ranlo-action-card:hover .ranlo-action-icon svg { stroke: var(--ranlo-cream); }
.ranlo-action-label { font-size: 0.85rem; font-weight: 700; line-height: 1.2; }

/* News + Projects two-col */
.ranlo-home-content-row { padding: 56px 0; background: var(--ranlo-cream-light); }
.ranlo-home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .ranlo-home-two-col { grid-template-columns: 1fr; } }
.ranlo-home-section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 3px solid var(--ranlo-sage);
  padding-bottom: 8px; margin-bottom: 20px;
}
.ranlo-home-section-header h2 { margin: 0; font-size: 1.3rem; color: var(--ranlo-burgundy); }
.ranlo-see-all { font-size: 0.85rem; font-weight: 700; color: var(--ranlo-sage-dark); text-decoration: none; white-space: nowrap; }
.ranlo-see-all:hover { text-decoration: underline; }
.ranlo-news-card { padding: 16px 0; border-bottom: 1px solid var(--ranlo-border); }
.ranlo-news-card:last-child { border-bottom: none; }
.ranlo-news-date { font-size: 0.8rem; color: var(--ranlo-muted); display: block; margin-bottom: 4px; }
.ranlo-news-card h3 { margin: 0 0 6px; font-size: 1rem; }
.ranlo-news-card h3 a { color: var(--ranlo-burgundy); text-decoration: none; }
.ranlo-news-card h3 a:hover { text-decoration: underline; }
.ranlo-news-card p { font-size: 0.9rem; color: var(--ranlo-muted); margin: 0; }
.ranlo-home-project-card {
  display: block; padding: 16px 20px;
  background: #fff; border: 1px solid var(--ranlo-border);
  border-left: 4px solid var(--ranlo-burgundy);
  border-radius: var(--ranlo-radius);
  margin-bottom: 12px; text-decoration: none; color: var(--ranlo-dark);
  transition: border-color 0.2s;
}
.ranlo-home-project-card:hover { border-left-color: var(--ranlo-sage); }
.ranlo-hpc-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ranlo-hpc-header strong { color: var(--ranlo-burgundy); font-size: 0.95rem; }
.ranlo-hpc-update { font-size: 0.85rem; color: var(--ranlo-muted); margin: 6px 0 0; }
.ranlo-empty { color: var(--ranlo-muted); font-style: italic; }

/* Events strip */
.ranlo-home-events {
  background: var(--ranlo-burgundy);
  padding: 40px 0;
}
.ranlo-home-events .ranlo-home-section-header { border-color: rgba(239,236,219,0.3); }
.ranlo-home-events .ranlo-home-section-header h2 { color: var(--ranlo-cream); }
.ranlo-see-all-light { color: var(--ranlo-sage-light) !important; }
.ranlo-events-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .ranlo-events-strip { grid-template-columns: 1fr; } }
.ranlo-event-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(239,236,219,0.15);
  border-radius: var(--ranlo-radius);
  padding: 16px 20px;
  text-decoration: none; color: var(--ranlo-cream);
  transition: background 0.2s;
}
.ranlo-event-card:hover { background: rgba(255,255,255,0.15); color: var(--ranlo-cream); }
.ranlo-event-date {
  display: flex; flex-direction: column; align-items: center;
  background: var(--ranlo-sage);
  border-radius: var(--ranlo-radius);
  padding: 8px 12px;
  min-width: 52px; text-align: center; flex-shrink: 0;
}
.ranlo-event-month { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.ranlo-event-day   { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.ranlo-event-info strong { font-size: 0.95rem; font-weight: 600; }

/* ============================================
   FORMS & DOCUMENTS PAGE
   ============================================ */
.ranlo-docs-body { padding: 40px 24px; }
.ranlo-docs-filters { margin-bottom: 28px; }
.ranlo-filter-row {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.ranlo-filter-label {
  font-size: 0.85rem; font-weight: 700;
  color: var(--ranlo-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ranlo-filter-select {
  padding: 8px 14px;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  font-size: 0.9rem;
  color: var(--ranlo-dark);
  background: #fff;
  cursor: pointer;
}
.ranlo-filter-select:focus { outline: 2px solid var(--ranlo-burgundy); }
.ranlo-filter-clear {
  font-size: 0.85rem; font-weight: 600;
  color: var(--ranlo-muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
}
.ranlo-filter-clear:hover { color: var(--ranlo-burgundy); border-color: var(--ranlo-burgundy); }
.ranlo-docs-count {
  font-size: 0.85rem; color: var(--ranlo-muted);
  margin-bottom: 12px;
}
.ranlo-docs-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  box-shadow: var(--ranlo-shadow);
  border-radius: var(--ranlo-radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.ranlo-docs-table thead { background: var(--ranlo-burgundy); color: var(--ranlo-cream); }
.ranlo-docs-table th {
  padding: 12px 16px; text-align: left;
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 600;
}
.ranlo-docs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ranlo-border);
  vertical-align: top;
}
.ranlo-docs-table tbody tr:last-child td { border-bottom: none; }
.ranlo-docs-table tbody tr:hover { background: var(--ranlo-cream-light); }
.ranlo-doc-desc { font-size: 0.82rem; color: var(--ranlo-muted); margin: 4px 0 0; }
.ranlo-download-btn {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ranlo-burgundy);
  color: var(--ranlo-cream) !important;
  border-radius: 99px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.ranlo-download-btn:hover { background: var(--ranlo-sage-dark); }
.ranlo-docs-empty { padding: 48px 0; text-align: center; color: var(--ranlo-muted); }
@media (max-width: 640px) {
  .ranlo-docs-table thead { display: none; }
  .ranlo-docs-table tbody tr {
    display: block; border: 1px solid var(--ranlo-border);
    border-radius: var(--ranlo-radius); margin-bottom: 12px; padding: 12px;
  }
  .ranlo-docs-table td {
    display: flex; justify-content: space-between;
    align-items: flex-start; padding: 8px 4px;
    border-bottom: 1px solid var(--ranlo-border);
    font-size: 0.9rem;
  }
  .ranlo-docs-table td:last-child { border-bottom: none; }
  .ranlo-docs-table td::before {
    content: attr(data-label);
    font-weight: 700; color: var(--ranlo-burgundy);
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.03em; flex-shrink: 0; margin-right: 12px;
  }
}
/* ============================================
   HOMEPAGE HISTORY SECTION
   ============================================ */
.ranlo-home-history {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--ranlo-border);
}
.ranlo-history-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .ranlo-history-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ranlo-history-photos { order: -1; }
}

/* Text column */
.ranlo-history-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ranlo-burgundy);
  margin: 0 0 6px;
}
.ranlo-history-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ranlo-muted);
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--ranlo-burgundy);
  display: inline-block;
}
.ranlo-history-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ranlo-dark);
  margin-bottom: 1em;
}
.ranlo-history-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  background: var(--ranlo-burgundy) !important;
  color: var(--ranlo-cream) !important;
  border-radius: var(--ranlo-radius) !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s;
}
.ranlo-history-btn:hover {
  background: var(--ranlo-burgundy-dark) !important;
  color: var(--ranlo-cream) !important;
}

/* Photo grid */
.ranlo-history-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.ranlo-history-photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--ranlo-radius);
  display: block;
}
.ranlo-history-photo-grid img.ranlo-hp-tall {
  grid-row: span 2;
  height: 100%;
  min-height: 410px;
}
@media (max-width: 480px) {
  .ranlo-history-photo-grid { grid-template-columns: 1fr; }
  .ranlo-history-photo-grid img.ranlo-hp-tall { min-height: 220px; grid-row: span 1; }
  .ranlo-history-photo-grid img { height: 180px; }
}




/* === RANLO CUSTOM FOOTER === */
.ranlo-footer {
  background: var(--ranlo-burgundy-dark, #3a0e09);
  color: rgba(239,236,219,0.85);
  font-size: 0.9rem;
}

/* Main widget row */
.ranlo-footer__main {
  padding: 48px 0 32px;
}
.ranlo-footer__inner {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  align-items: start;
}

/* Brand column */
.ranlo-footer__logo {
  display: block;
  width: 80px;
  height: auto;
  margin-bottom: 12px;
}
.ranlo-footer__town-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ranlo-cream, #efecdb);
  margin: 0 0 2px;
}
.ranlo-footer__tagline {
  font-size: 0.82rem;
  color: rgba(239,236,219,0.6);
  margin: 0 0 16px;
}
.ranlo-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ranlo-cream, #efecdb);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.ranlo-footer__social-link:hover {
  color: var(--ranlo-sage-light, #8bb8a2);
}

/* Nav columns */
.ranlo-footer__col-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ranlo-cream, #efecdb);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(239,236,219,0.15);
}
.ranlo-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ranlo-footer__nav-list li {
  border-bottom: 1px solid rgba(239,236,219,0.07);
}
.ranlo-footer__nav-list li:last-child {
  border-bottom: none;
}
.ranlo-footer__nav-list li a {
  display: block;
  padding: 6px 0;
  color: rgba(239,236,219,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.ranlo-footer__nav-list li a:hover {
  color: var(--ranlo-cream, #efecdb);
}

/* Contact column */
.ranlo-footer__address {
  font-style: normal;
}
.ranlo-footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  color: rgba(239,236,219,0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}
.ranlo-footer__contact-row a {
  color: rgba(239,236,219,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.ranlo-footer__contact-row a:hover {
  color: var(--ranlo-cream, #efecdb);
}
.ranlo-footer__icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

/* Bottom bar */
.ranlo-footer__bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(239,236,219,0.1);
  padding: 14px 0;
}
.ranlo-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
}
.ranlo-footer__copyright {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(239,236,219,0.4);
}
.ranlo-footer__bottom-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ranlo-footer__bottom-nav ul li a {
  font-size: 0.78rem;
  color: rgba(239,236,219,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.ranlo-footer__bottom-nav ul li a:hover {
  color: var(--ranlo-cream, #efecdb);
}

/* Responsive: 2-col at tablet */
@media (max-width: 900px) {
  .ranlo-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .ranlo-footer__col--brand {
    grid-column: 1 / -1;
  }
}
/* Responsive: single col on mobile */
@media (max-width: 560px) {
  .ranlo-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ranlo-footer__col--brand {
    grid-column: auto;
  }
  .ranlo-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/* === I WANT TO DROPDOWN === */
.ranlo-iwt-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #3d0e0a;
  border-top: 2px solid var(--ranlo-sage);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 9999;
  padding: 8px 0;
}
.ranlo-iwt-dropdown.is-open {
  display: block;
}
.ranlo-iwt-item {
  display: block;
  padding: 10px 20px;
  color: rgba(239,236,219,.85) !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(239,236,219,.07);
  transition: background .15s, color .15s;
}
.ranlo-iwt-item:last-child { border-bottom: none; }
.ranlo-iwt-item:hover {
  background: rgba(255,255,255,.08);
  color: var(--ranlo-cream) !important;
}
/* The IWT button itself needs position:relative parent - .ranlo-header__nav-inner is flex, ok */
.ranlo-header__nav {
  position: relative; /* already set, confirming for IWT dropdown anchor */
  overflow: visible;  /* already set */
}

/* === MEGA MENU PANEL: COLOR & HEADING OVERRIDES === */

/* Column headings (megamenu_column_separator items) */
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-disable-link > a.mega-menu-link,
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu ul.mega-sub-menu li.mega-disable-link > a.mega-menu-link {
  color: var(--ranlo-cream) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  padding: 0 0 8px !important;
  margin-bottom: 4px !important;
  border-bottom: 1px solid rgba(239,236,219,.2) !important;
  pointer-events: none !important;
  cursor: default !important;
  display: block !important;
  background: transparent !important;
}

/* Regular panel sub-items */
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item:not(.mega-disable-link) > a.mega-menu-link,
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column-standard:not(.mega-disable-link) > a.mega-menu-link {
  color: rgba(239,236,219,.78) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 5px 0 !important;
  display: block !important;
  background: transparent !important;
  transition: color .15s !important;
}
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item:not(.mega-disable-link) > a.mega-menu-link:hover,
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column-standard:not(.mega-disable-link) > a.mega-menu-link:hover {
  color: var(--ranlo-cream) !important;
  background: transparent !important;
}

/* Panel inner padding and column spacing */
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
  padding: 0 24px !important;
  box-sizing: border-box;
}
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column {
  padding: 0 16px !important;
}
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column:first-child {
  padding-left: 0 !important;
}
#ranlo-header #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column:last-child {
  padding-right: 0 !important;
}

/* ============================================
   NEWS ARCHIVE (/news/)
   ============================================ */

.ranlo-news-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.ranlo-news-header {
  margin-bottom: 32px;
}

.ranlo-news-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 20px;
  color: var(--ranlo-burgundy);
}

/* Category filter pills */
.ranlo-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ranlo-filter-pill {
  display: inline-block;
  padding: 7px 16px;
  border: 1.5px solid var(--ranlo-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ranlo-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.ranlo-filter-pill:hover {
  border-color: var(--ranlo-sage);
  color: var(--ranlo-burgundy);
  background: var(--ranlo-cream-light);
}

.ranlo-filter-pill.active {
  background: var(--ranlo-burgundy);
  border-color: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
}

.ranlo-filter-pill.active:hover {
  background: var(--ranlo-burgundy-dark);
  border-color: var(--ranlo-burgundy-dark);
  color: var(--ranlo-cream);
}

/* Hero + breaking-news sidebar row (2/3 – 1/3) */
.ranlo-news-hero-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

/* Featured / most recent post */
.ranlo-hero-card {
  background: #fff;
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
  overflow: hidden;
  border: 1px solid var(--ranlo-border);
}

.ranlo-hero-img-link {
  display: block;
  text-decoration: none;
}

.ranlo-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ranlo-cream);
}

.ranlo-hero-body {
  padding: 24px;
}

.ranlo-hero-title {
  margin: 10px 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.25;
}

.ranlo-hero-title a {
  color: var(--ranlo-burgundy);
  text-decoration: none;
}

.ranlo-hero-title a:hover {
  color: var(--ranlo-burgundy-dark);
  text-decoration: underline;
}

.ranlo-hero-date {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--ranlo-muted);
}

.ranlo-hero-exc {
  margin: 0 0 16px;
  color: var(--ranlo-dark);
  line-height: 1.6;
}

/* Color-coded category badges */
.ranlo-cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.4;
}

.ranlo-cat-badge.cat-alerts          { background: #b91c1c; }
.ranlo-cat-badge.cat-announcements   { background: var(--ranlo-burgundy); }
.ranlo-cat-badge.cat-finance         { background: #15803d; }
.ranlo-cat-badge.cat-meeting         { background: var(--ranlo-sage-dark); }
.ranlo-cat-badge.cat-news            { background: var(--ranlo-muted); }
.ranlo-cat-badge.cat-projects        { background: #1d4ed8; }
.ranlo-cat-badge.cat-public          { background: var(--ranlo-sage-dark); }

.ranlo-read-more {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ranlo-sage-dark);
  text-decoration: none;
}

.ranlo-read-more:hover {
  color: var(--ranlo-burgundy);
  text-decoration: underline;
}

/* Breaking-news sidebar: Alerts + Announcements */
.ranlo-news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ranlo-sidebar-section {
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
  padding: 20px;
}

.ranlo-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ranlo-burgundy);
}

.ranlo-sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ranlo-sidebar-alerts .ranlo-sidebar-dot {
  background: #b91c1c;
}

.ranlo-sidebar-announce .ranlo-sidebar-dot {
  background: var(--ranlo-burgundy);
}

.ranlo-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranlo-sidebar-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--ranlo-border);
}

.ranlo-sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ranlo-sidebar-item:first-child {
  padding-top: 0;
}

.ranlo-sidebar-link {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ranlo-burgundy);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 3px;
}

.ranlo-sidebar-link:hover {
  color: var(--ranlo-burgundy-dark);
  text-decoration: underline;
}

.ranlo-sidebar-date {
  display: block;
  font-size: 0.75rem;
  color: var(--ranlo-muted);
}

.ranlo-sidebar-empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ranlo-muted);
  font-style: italic;
}

/* Post grid below hero row */
.ranlo-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.ranlo-grid-card {
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ranlo-grid-img-link {
  display: block;
  text-decoration: none;
}

.ranlo-grid-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--ranlo-cream);
}

.ranlo-grid-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ranlo-cream) 0%, var(--ranlo-border) 100%);
}

.ranlo-grid-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ranlo-grid-title {
  margin: 8px 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.ranlo-grid-title a {
  color: var(--ranlo-burgundy);
  text-decoration: none;
}

.ranlo-grid-title a:hover {
  color: var(--ranlo-burgundy-dark);
  text-decoration: underline;
}

.ranlo-grid-date {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--ranlo-muted);
}

.ranlo-grid-exc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--ranlo-dark);
  line-height: 1.55;
  flex: 1;
}

.ranlo-grid-body .ranlo-read-more {
  margin-top: auto;
}

.ranlo-no-posts {
  padding: 32px;
  text-align: center;
  color: var(--ranlo-muted);
  background: #fff;
  border: 1px dashed var(--ranlo-border);
  border-radius: var(--ranlo-radius);
}

/* Pagination */
.ranlo-news-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ranlo-news-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  background: #fff;
  color: var(--ranlo-burgundy);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ranlo-news-pagination .page-numbers:hover,
.ranlo-news-pagination .page-numbers.current {
  background: var(--ranlo-burgundy);
  border-color: var(--ranlo-burgundy);
  color: var(--ranlo-cream);
}

/* Responsive */
@media (max-width: 960px) {
  .ranlo-news-hero-row {
    grid-template-columns: 1fr;
  }

  .ranlo-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ranlo-news-wrap {
    padding: 32px 16px 48px;
  }

  .ranlo-news-grid {
    grid-template-columns: 1fr;
  }

  .ranlo-filter-pill {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
}

/* ============================================
   COMMITTEE ARCHIVE (/committees/)
   ============================================ */

.ranlo-committee-archive .ranlo-dept-hero h1,
.ranlo-committee-archive .ranlo-dept-title {
  color: var(--ranlo-cream);
  margin: 0 0 8px;
  font-size: 2rem;
}

.ranlo-committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.ranlo-committee-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-top: 4px solid var(--ranlo-burgundy);
  border-radius: var(--ranlo-radius);
  padding: 28px;
  box-shadow: var(--ranlo-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ranlo-committee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(95, 24, 18, 0.15);
  border-top-color: var(--ranlo-sage);
}

.ranlo-committee-card--recruiting {
  border-top-color: var(--ranlo-sage);
}

.ranlo-committee-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ranlo-sage);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ranlo-committee-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ranlo-committee-card h2 a {
  color: var(--ranlo-burgundy);
  text-decoration: none;
}

.ranlo-committee-card h2 a:hover {
  color: var(--ranlo-burgundy-dark);
  text-decoration: underline;
}

.ranlo-committee-excerpt {
  margin: 0 0 14px;
  color: var(--ranlo-dark);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.ranlo-committee-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--ranlo-muted);
}

.ranlo-committee-meta span {
  display: inline-flex;
  align-items: center;
}

.ranlo-committee-link {
  display: inline-block;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ranlo-sage-dark);
  text-decoration: none;
}

.ranlo-committee-link:hover {
  color: var(--ranlo-burgundy);
  text-decoration: underline;
}

.ranlo-committee-cta {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--ranlo-cream);
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  text-align: center;
}

.ranlo-committee-cta h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: var(--ranlo-burgundy);
}

.ranlo-committee-cta p {
  margin: 0 auto 20px;
  max-width: 560px;
  color: var(--ranlo-dark);
  line-height: 1.6;
}

/* Committee single — members list */
.ranlo-committee-members-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  overflow: hidden;
}

.ranlo-committee-member {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ranlo-border);
  background: #fff;
}

.ranlo-committee-member:last-child {
  border-bottom: none;
}

.ranlo-committee-member-name {
  font-weight: 600;
  color: var(--ranlo-dark);
}

.ranlo-committee-member-role {
  font-size: 0.85rem;
  color: var(--ranlo-muted);
  text-align: right;
}

.ranlo-committee-recruit {
  background: var(--ranlo-cream-light);
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
  padding: 24px;
}

@media (max-width: 600px) {
  .ranlo-committee-grid {
    grid-template-columns: 1fr;
  }

  .ranlo-committee-cta {
    padding: 28px 20px;
  }

  .ranlo-committee-member {
    flex-direction: column;
    gap: 4px;
  }

  .ranlo-committee-member-role {
    text-align: left;
  }
}
