/* Bridger Land & Ranch — shared site header (same on every page). Classes are bl-* so page styles don't interfere. */
.bl-header, .bl-header * { box-sizing: border-box; }
.bl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 64px; margin: 0; padding: 0 32px;
  background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid #DDE8DD; display: flex; align-items: center;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
}
.bl-inner { max-width: 1240px; width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.bl-header a { text-decoration: none; }
.bl-logo { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; margin-right: auto; line-height: 1.15; }
.bl-logo-name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.2rem; color: #2D4A2E; letter-spacing: -0.01em; white-space: nowrap; }
.bl-logo-tag { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #7AAB7A; white-space: nowrap; }

.bl-menu { display: flex; align-items: center; gap: 2px; }
.bl-menu > a, .bl-drop-btn {
  font: 500 0.82rem/1 'Inter', -apple-system, 'Segoe UI', sans-serif; color: #6B7B6B; background: none; border: 0; margin: 0;
  padding: 10px 11px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: color 0.15s, background 0.15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.bl-menu > a:hover, .bl-drop-btn:hover, .bl-drop.open .bl-drop-btn { color: #2D4A2E; background: #EEF4EE; }
.bl-menu a.bl-active, .bl-drop.bl-active .bl-drop-btn { color: #2D4A2E; font-weight: 600; }
.bl-drop { position: relative; }
.bl-drop-btn::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
.bl-drop.open .bl-drop-btn::after { transform: rotate(-135deg) translateY(-1px); }
.bl-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; padding: 8px; background: #FFFFFF;
  border: 1px solid #DDE8DD; border-radius: 12px; box-shadow: 0 12px 32px rgba(26,42,26,0.12);
  display: none; flex-direction: column;
}
.bl-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.bl-drop.open .bl-drop-menu { display: flex; }
@media (hover: hover) and (min-width: 1081px) { .bl-drop:hover .bl-drop-menu { display: flex; } }
.bl-drop-menu a { font-size: 0.85rem; font-weight: 500; color: #1A2A1A; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.bl-drop-menu a:hover { background: #EEF4EE; color: #2D4A2E; }
.bl-drop-menu a.bl-active { color: #4A7A4A; font-weight: 600; }

.bl-ctas { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.bl-fsbo, .bl-cta { font-size: 0.78rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: all 0.15s; }
.bl-fsbo { border: 1.5px solid #4A7A4A; color: #4A7A4A; background: #FFFFFF; }
.bl-fsbo:hover { background: #EEF4EE; }
.bl-cta { background: #4A7A4A; color: #FFFFFF; border: 1.5px solid #4A7A4A; }
.bl-cta:hover { background: #2D4A2E; border-color: #2D4A2E; }
.bl-menu-ctas { display: none; }

.bl-burger { display: none; width: 42px; height: 42px; border: 0; background: none; border-radius: 8px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.bl-burger span { display: block; width: 22px; height: 2px; background: #2D4A2E; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.bl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1320px) { .bl-logo-tag { display: none; } .bl-inner { gap: 12px; } .bl-header { padding: 0 24px; } }

/* Tablet & phone: menu moves into a drop-down panel */
@media (max-width: 1080px) {
  .bl-header { padding: 0 20px; }
  .bl-burger { display: flex; }
  .bl-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0; max-height: calc(100vh - 64px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #FFFFFF;
    border-bottom: 1px solid #DDE8DD; box-shadow: 0 12px 24px rgba(26,42,26,0.1);
  }
  .bl-header.bl-open .bl-menu { display: flex; }
  .bl-menu > a, .bl-drop-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 0.95rem; border-radius: 0; border-bottom: 1px solid #EEF4EE; }
  .bl-menu > a:hover, .bl-drop-btn:hover, .bl-drop.open .bl-drop-btn { background: none; }
  .bl-drop-menu { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .bl-drop-menu a { padding: 11px 4px; font-size: 0.9rem; color: #4A5A4A; }
  .bl-drop-menu::before { display: none; }
}
@media (max-width: 640px) {
  .bl-ctas { display: none; }
  .bl-menu-ctas { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
  .bl-menu-ctas a { text-align: center; padding: 13px; font-size: 0.88rem; }
  .bl-logo-name { font-size: 1.1rem; }
}
