/*
 * 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: 1;
  min-width: 0;
}
.ranlo-header__lockup {
  height: 56px;
  width: auto;
  max-width: min(280px, 58vw);
  display: block;
  object-fit: contain;
}
.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;
  flex-wrap: nowrap;
  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;
  white-space: nowrap !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; }
}
/* Tablet + phone: hamburger before labels wrap (was 768; raised 2026-09-09) */
@media (max-width: 1024px) {
  .ranlo-header__util { display: none; }
  .ranlo-header__lockup { height: 42px; }
  .ranlo-header__search { max-width: 180px; }

  /* Mobile toggle: sit on the right of the nav bar, cream lines on dark */
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-end !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ranlo-cream) !important;
    padding: 0 12px !important;
    height: 48px !important;
    border: none !important;
    border-radius: 0 !important;
    align-items: center;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left,
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-center {
    flex: 0 0 auto !important;
    display: none !important;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box {
    background: transparent !important;
    background-color: transparent !important;
  }
  /* Lines live on .inner (+ ::before/::after), not the box */
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background-color: var(--ranlo-cream) !important;
  }

  /* Open drawer: full-width list, clearer tap targets.
     Hide until .mega-menu-toggle.mega-menu-open — MMM puts that class on the
     toggle (sibling of #mega-menu-primary), not on the wrap. */
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle:not(.mega-menu-open) ~ #mega-menu-primary {
    display: none !important;
  }
  #ranlo-header #mega-menu-wrap-primary,
  #ranlo-header #mega-menu-wrap-primary.mega-menu-wrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open ~ #mega-menu-primary {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    background: var(--ranlo-burgundy-dark) !important;
    border-top: 1px solid rgba(239,236,219,.12);
  }
  #ranlo-header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #ranlo-header #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.35 !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    color: var(--ranlo-cream) !important;
    border-bottom: 1px solid rgba(239,236,219,.12) !important;
    justify-content: space-between !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 {
    background: rgba(0,0,0,.25) !important;
    color: #fff !important;
  }
  #ranlo-header #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu {
    width: 100% !important;
    background: rgba(0,0,0,.2) !important;
    box-shadow: none !important;
    position: static !important;
    padding: 0 !important;
  }
  #ranlo-header #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu a.mega-menu-link {
    padding: 12px 20px 12px 28px !important;
    font-size: 12px !important;
    color: rgba(239,236,219,.9) !important;
    min-height: 44px !important;
  }
  /* I Want To centered in nav bar; hamburger stays right */
  .ranlo-header__nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    align-items: center;
    min-height: 48px;
    position: relative;
  }
  #ranlo-header #mega-menu-wrap-primary,
  #ranlo-header #mega-menu-wrap-primary.mega-menu-wrap {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle {
    width: auto !important;
    min-width: 48px;
    padding: 0 14px !important;
    justify-content: center !important;
  }
  .ranlo-header__iwa {
    display: inline-flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 36px;
    padding: 0 14px;
    font-size: 10px;
    border-radius: 4px;
    z-index: 3;
  }
  .ranlo-iwt-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: min(280px, calc(100vw - 24px));
    z-index: 10000;
  }
  #ranlo-header #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open ~ #mega-menu-primary {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }
}

/* 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;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none !important;
  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-archive-hero__note {
  margin-top: 14px !important;
  font-size: 0.98rem !important;
  max-width: 42rem;
}
.ranlo-archive-hero__note a {
  color: var(--ranlo-sage-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ranlo-archive-hero__note a:hover,
.ranlo-archive-hero__note a:focus {
  color: var(--ranlo-cream);
}
.ranlo-fd-meeting-note {
  margin: 14px 0 0;
  color: rgba(239,236,219,0.85);
  font-size: 0.98rem;
  max-width: 42rem;
  line-height: 1.45;
}
.ranlo-fd-meeting-note a {
  color: var(--ranlo-sage-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ranlo-fd-meeting-note a:hover,
.ranlo-fd-meeting-note a:focus {
  color: var(--ranlo-cream);
}
.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 {
  /* Taller hero + cover = more tower in frame without side letterboxing */
  background: url('/wp-content/uploads/2026/09/home1-1-Tower-Photo.jpg') 34% 40% / cover no-repeat;
  min-height: min(100vh, 1450px);
  padding: 120px 0 110px;
  color: var(--ranlo-cream);
}
.ranlo-home-hero .ranlo-hero-inner {
  max-width: min(1360px, 94vw);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 40rem);
  align-items: center;
  padding-left: 28px;
  padding-right: 28px;
}
.ranlo-hero-text {
  grid-column: 2;
  background: rgba(45,8,5,0.80);
  border-radius: var(--ranlo-radius);
  box-shadow: var(--ranlo-shadow);
  padding: 36px 42px;
  max-width: 40rem;
  width: 100%;
  justify-self: end;
}
@media (max-width: 900px) {
  .ranlo-home-hero {
    background-position: 30% 50%;
    background-size: cover;
    min-height: min(90vh, 950px);
  }
}
@media (max-width: 768px) {
  .ranlo-home-hero {
    background-position: 28% 50%;
    background-size: cover;
    min-height: min(85vh, 700px);
    padding: 72px 0 64px;
  }
  .ranlo-home-hero .ranlo-hero-inner {
    grid-template-columns: 1fr;
  }
  .ranlo-hero-text {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
  }
}
.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: var(--ranlo-cream);
  font-size: 1.15rem;
  margin: 0 0 28px;
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.ranlo-hero-cta {
  text-align: center;
}
.ranlo-hero-cta__btn {
  display: inline-block;
  background: var(--ranlo-sage);
  color: var(--ranlo-cream);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--ranlo-radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.ranlo-hero-cta__btn:hover,
.ranlo-hero-cta__btn:focus {
  background: var(--ranlo-sage-dark);
  color: var(--ranlo-cream);
  transform: translateY(-2px);
}
.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 {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--ranlo-border);
}
.ranlo-news-card:last-child { border-bottom: none; }
.ranlo-news-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: var(--ranlo-radius);
  overflow: hidden;
  background: var(--ranlo-cream);
  display: block;
}
.ranlo-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ranlo-news-thumb--placeholder {
  background:
    linear-gradient(135deg, rgba(90, 24, 22, 0.12), rgba(90, 24, 22, 0.22));
}
.ranlo-news-body { flex: 1; min-width: 0; }
.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 */

/* Committee page upcoming events (same cards as homepage; lighter chrome) */
.ranlo-committee-events .ranlo-home-section-header {
  margin-bottom: 1.25rem;
}
.ranlo-committee-events .ranlo-events-strip {
  margin-top: 0.25rem;
}
.ranlo-committee-events .ranlo-event-card {
  box-shadow: 0 1px 6px rgba(61, 14, 10, 0.12);
}
.ranlo-home-events {
  background: var(--ranlo-burgundy);
  padding: 48px 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: 20px;
}
.ranlo-event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ranlo-cream);
  border-radius: var(--ranlo-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ranlo-dark);
  box-shadow: 0 2px 10px rgba(61, 14, 10, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ranlo-event-card:hover,
.ranlo-event-card:focus {
  color: var(--ranlo-dark);
  box-shadow: 0 6px 18px rgba(61, 14, 10, 0.28);
}
.ranlo-event-card:hover { transform: translateY(-2px); }
.ranlo-event-card:focus-visible {
  outline: 3px solid var(--ranlo-cream);
  outline-offset: 3px;
}
.ranlo-event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ranlo-burgundy-dark), var(--ranlo-sage-dark));
  overflow: hidden;
}
.ranlo-event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}
.ranlo-event-card:hover .ranlo-event-img { transform: scale(1.03); }
.ranlo-event-date {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--ranlo-sage);
  color: var(--ranlo-cream);
  border-radius: var(--ranlo-radius);
  padding: 8px 12px;
  min-width: 52px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(44, 36, 32, 0.25);
}
.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; margin-top: 2px; }
.ranlo-event-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}
.ranlo-event-info h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ranlo-burgundy);
}
.ranlo-event-card:hover h3 { color: var(--ranlo-burgundy-dark); }
.ranlo-event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ranlo-muted);
  line-height: 1.35;
}
.ranlo-event-time,
.ranlo-event-place {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ranlo-event-meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ranlo-sage);
}
@media (max-width: 800px) {
  .ranlo-events-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ranlo-event-card { flex-direction: row; align-items: stretch; }
  .ranlo-event-media {
    flex: 0 0 132px;
    width: 132px;
    aspect-ratio: auto;
    min-height: 132px;
  }
  .ranlo-event-info { padding: 12px 14px; justify-content: center; }
  .ranlo-event-info h3 { font-size: 0.98rem; }
  .ranlo-event-date { left: 8px; bottom: 8px; padding: 6px 8px; min-width: 44px; }
  .ranlo-event-day { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ranlo-event-card,
  .ranlo-event-img { transition: none; }
  .ranlo-event-card:hover { transform: none; }
  .ranlo-event-card:hover .ranlo-event-img { transform: none; }
}

/* ============================================
   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: minmax(240px, 280px) 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-link {
  display: block;
  max-width: 100%;
}
.ranlo-footer__logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 16px;
}
.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;
  }
  .ranlo-footer__logo {
    max-width: 360px;
  }
}
/* 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__logo {
    max-width: 100%;
  }
  .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 grid with optional headshots */
.ranlo-committee-members-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.ranlo-committee-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--ranlo-border);
  border-radius: var(--ranlo-radius);
}

.ranlo-committee-member-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ranlo-sage);
  flex-shrink: 0;
}

.ranlo-committee-member-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ranlo-cream);
  color: var(--ranlo-burgundy);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ranlo-committee-member-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.ranlo-committee-member-name {
  font-weight: 600;
  color: var(--ranlo-dark);
  font-size: 0.98rem;
  line-height: 1.3;
}

.ranlo-committee-member-role {
  font-size: 0.82rem;
  color: var(--ranlo-muted);
  line-height: 1.35;
}

.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-members-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
}


\/* Dept sidebar: upcoming events (auto-pulled via mec_category matched to dept slug) *\/
.ranlo-dept-events { list-style: none; margin: 0; padding: 0; }
.ranlo-dept-event-item a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 0;
  text-decoration: none;
  color: var(--ranlo-burgundy);
  border-bottom: 1px solid var(--ranlo-border);
}
.ranlo-dept-event-item:last-child a { border-bottom: none; }
.ranlo-dept-event-item a:hover .ranlo-dept-event-title { text-decoration: underline; }
.ranlo-dept-event-date {
  font-size: 0.75rem; font-weight: 600;
  color: var(--ranlo-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ranlo-dept-event-title { font-weight: 600; font-size: 0.95rem; }

/* Home service notice */
.ranlo-home-notice {
  background: #f3f1ea;
  border-bottom: 1px solid var(--ranlo-border, #e5e5e5);
  padding: 18px 0;
}
.ranlo-home-notice__inner {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ranlo-home-notice__text strong {
  display: block;
  color: var(--ranlo-burgundy, #6B1A1A);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ranlo-home-notice__text p {
  margin: 0;
  color: var(--ranlo-dark, #333);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 62ch;
}
.ranlo-home-notice__link {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--ranlo-burgundy, #6B1A1A);
  text-decoration: none;
  white-space: nowrap;
}
.ranlo-home-notice__link:hover { text-decoration: underline; }
/* Department archive featured images */
.ranlo-dept-card-media {
  margin: -28px -28px 16px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--ranlo-radius) var(--ranlo-radius) 0 0;
  background: var(--ranlo-cream);
}
.ranlo-dept-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ranlo-dept-card.has-thumb:hover .ranlo-dept-card-img {
  transform: scale(1.04);
}
.ranlo-dept-card.has-thumb {
  padding-top: 0;
}

/* Single department hero image */
.ranlo-dept-hero.has-thumb {
  position: relative;
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.ranlo-dept-hero.has-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40,20,18,0.82) 0%, rgba(40,20,18,0.35) 55%, rgba(40,20,18,0.2) 100%);
}
.ranlo-dept-hero.has-thumb .ranlo-container {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 36px;
}
.ranlo-dept-hero.has-thumb .ranlo-breadcrumb a {
  color: rgba(255,255,255,0.85);
}
.ranlo-dept-hero.has-thumb .ranlo-dept-title,
.ranlo-dept-hero.has-thumb .ranlo-dept-intro {
  color: #fff;
}

/* Department archive featured images (committee-card layout) */
.ranlo-committee-card.has-thumb { padding-top: 0; overflow: hidden; }
.ranlo-committee-card-media { display: block; margin: 0 0 1rem; height: 160px; overflow: hidden; border-radius: var(--ranlo-radius, 8px) var(--ranlo-radius, 8px) 0 0; background: var(--ranlo-cream, #f5f0e8); }
.ranlo-committee-card.has-thumb .ranlo-committee-card-media { margin: -1.5rem -1.5rem 1rem; width: calc(100% + 3rem); max-width: none; }
.ranlo-committee-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ranlo-committee-card.has-thumb:hover .ranlo-committee-card-img { transform: scale(1.04); }

/* "Listen to this page" widget - native Web Speech API, no external service (2026-08-05) */
.ranlo-tts {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ranlo-cream-light);
  border: 1px solid var(--ranlo-border);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--ranlo-shadow);
  font-family: inherit;
}
.ranlo-tts__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ranlo-burgundy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease;
}
.ranlo-tts__toggle:hover,
.ranlo-tts__toggle:focus-visible {
  background: var(--ranlo-burgundy-dark);
  /* Beat Kadence button:hover text color (dark on dark) */
  color: var(--ranlo-cream) !important;
}
.ranlo-tts__toggle:hover .ranlo-tts__icon svg,
.ranlo-tts__toggle:focus-visible .ranlo-tts__icon svg {
  stroke: currentColor;
  color: inherit;
}
.ranlo-tts[data-state="playing"] .ranlo-tts__toggle,
.ranlo-tts[data-state="paused"] .ranlo-tts__toggle {
  background: var(--ranlo-sage);
}
.ranlo-tts[data-state="playing"] .ranlo-tts__toggle:hover,
.ranlo-tts[data-state="paused"] .ranlo-tts__toggle:hover {
  background: var(--ranlo-sage-dark);
  color: var(--ranlo-cream) !important;
}
.ranlo-tts__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ranlo-tts__icon svg { width: 100%; height: 100%; }
.ranlo-tts__stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ranlo-border);
  background: #fff;
  color: var(--ranlo-dark);
  cursor: pointer;
  padding: 0;
}
.ranlo-tts__stop svg { width: 16px; height: 16px; }
.ranlo-tts__stop:hover,
.ranlo-tts__stop:focus-visible {
  border-color: var(--ranlo-burgundy);
  color: var(--ranlo-burgundy);
}
.ranlo-tts__stop[hidden] { display: none; }

@media (max-width: 600px) {
  .ranlo-tts { left: 10px; bottom: 10px; }
  .ranlo-tts__toggle { padding: 8px 10px; font-size: 0.8rem; }
  .ranlo-tts__toggle span:not(.ranlo-tts__icon) { display: none; }
}


/* Video embed + transcript (news posts) */
.ranlo-video-embed {
  margin: 1.5rem 0;
}
.ranlo-video-embed video {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
}
.ranlo-video-transcript {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background-color: var(--ranlo-cream, #efecdb);
  border-left: 4px solid var(--ranlo-sage, #5c836e);
  border-radius: 4px;
}
.ranlo-video-transcript summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ranlo-burgundy, #5f1812);
  padding: 0.25rem 0;
}
.ranlo-video-transcript summary:focus-visible {
  outline: 2px solid var(--ranlo-burgundy, #5f1812);
  outline-offset: 2px;
}
.ranlo-video-transcript p {
  margin-top: 0.75rem;
}


/* === MEC (Modern Events Calendar) theme override — match site palette + spacing (2026-09-12) === */
:root, ::before, ::after {
  --mec-color-skin: #5f1812 !important;
  --mec-color-skin-rgba-1: rgba(95, 24, 18, .25) !important;
  --mec-color-skin-rgba-2: rgba(95, 24, 18, .5) !important;
  --mec-color-skin-rgba-3: rgba(95, 24, 18, .75) !important;
  --mec-color-skin-rgba-4: rgba(95, 24, 18, .11) !important;
  --mec-fes-main-color: #5f1812 !important;
}
#main-content.mec-container {
  padding-top: 3rem;
}
@media all and (max-width: 1024px) {
  #main-content.mec-container { padding-top: 2.5rem; }
}
@media all and (max-width: 767px) {
  #main-content.mec-container { padding-top: 2rem; }
}
/* MEC hardcodes #40d9f1 directly on these selectors (not via the CSS var) unless */
/* .colorskin-custom is present on .mec-wrap -- override directly instead (2026-09-12) */
.mec-color-before :before,
.mec-color-hover:hover,
.mec-wrap .mec-color,
.mec-wrap .mec-color-before :before,
.mec-wrap .mec-color-hover:hover,
.mec-sl-calendar,
.mec-sl-clock-o,
.mec-sl-location-pin,
.mec-date-details i,
.mec-time-details i,
.mec-venue-details i {
  color: #5f1812 !important;
}
/* Same MEC hardcoding pattern for border/bg utility classes (2026-09-12) */
.mec-border-color,
.mec-border-color-hover:hover,
.mec-wrap .mec-border-color,
.mec-wrap .mec-border-color-hover:hover {
  border-color: #5f1812 !important;
}
.mec-bg-color,
.mec-bg-color-hover:hover,
.mec-wrap .mec-bg-color,
.mec-wrap .mec-bg-color-hover:hover {
  background-color: #5f1812 !important;
}
/* Kadence default page title bar → burgundy + cream (sitewide, 2026-09-12)
   Matches CPT/dept heroes. Applies to all pages using .entry-hero.page-hero-section
   (Employment, Holiday Schedule, Contact Us, Privacy, Community Resources, etc.). */
.entry-hero.page-hero-section {
  background: var(--ranlo-burgundy) !important;
}
.entry-hero.page-hero-section .entry-hero-container-inner {
  background: var(--ranlo-burgundy) !important;
}
.entry-hero.page-hero-section .hero-section-overlay {
  background: transparent !important;
  opacity: 0 !important;
}
.entry-hero.page-hero-section .entry-header,
.entry-hero.page-hero-section .entry-title,
.entry-hero.page-hero-section .entry-title a {
  color: var(--ranlo-cream) !important;
}
.entry-hero.page-hero-section .entry-meta,
.entry-hero.page-hero-section .entry-subtitle,
.entry-hero.page-hero-section .archive-description,
.entry-hero.page-hero-section p {
  color: rgba(239, 236, 219, 0.85) !important;
}
/* === RANLO HISTORY PAGE (2026-09-12) === */
.ranlo-history-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: start;
  padding: 48px 0 72px;
}
.ranlo-history-content .ranlo-history-page > h2:first-child,
.ranlo-history-content h2:first-child {
  margin-top: 0;
  color: var(--ranlo-burgundy);
}
.ranlo-history-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ranlo-text, #2a2a2a);
}
.ranlo-history-gallery {
  position: sticky;
  top: 96px;
}
.ranlo-history-photo-grid--page img {
  height: 170px;
}
.ranlo-history-photo-grid--page img.ranlo-hp-tall {
  min-height: 350px;
}
.ranlo-history-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.ranlo-history-photo-row img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--ranlo-radius);
  display: block;
}
@media (max-width: 900px) {
  .ranlo-history-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .ranlo-history-gallery {
    position: static;
    order: -1;
  }
  .ranlo-history-photo-grid--page img.ranlo-hp-tall {
    min-height: 240px;
  }
}
@media (max-width: 480px) {
  .ranlo-history-photo-row {
    grid-template-columns: 1fr;
  }
}

/* === RANLO HISTORY TIMELINE (2026-09-12) === */
.ranlo-history-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ranlo-text, #2a2a2a);
  margin: 0 0 2rem;
  max-width: 42rem;
}
.ranlo-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  position: relative;
  border-left: 3px solid var(--ranlo-burgundy);
  margin-left: 0.35rem;
}
.ranlo-timeline__item {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}
.ranlo-timeline__item:last-child {
  padding-bottom: 0.25rem;
}
.ranlo-timeline__item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ranlo-burgundy);
  box-shadow: 0 0 0 3px #fff;
}
.ranlo-timeline__marker {
  margin: 0 0 0.35rem;
}
.ranlo-timeline__marker time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ranlo-burgundy);
}
.ranlo-timeline__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: var(--ranlo-burgundy);
  line-height: 1.3;
}
.ranlo-timeline__body p {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.ranlo-timeline__body p:last-child {
  margin-bottom: 0;
}
.ranlo-timeline__body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}
.ranlo-timeline__body li {
  margin: 0.35rem 0;
  line-height: 1.55;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .ranlo-timeline {
    margin-left: 0.15rem;
  }
  .ranlo-timeline__item {
    padding-left: 1.4rem;
  }
}

.ranlo-history-sources {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ranlo-border, #e5e5e5);
  max-width: 42rem;
}
.ranlo-history-sources h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ranlo-muted, #6b6b6b);
  font-weight: 700;
}
.ranlo-history-sources p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ranlo-muted, #6b6b6b);
}
