
  *{box-sizing:border-box;}
  body{
    display:flex;
    flex-direction:column;
    min-height:115vh;
  }

  /* ---------- Global Header (your own) ---------- */
  .global-header{
    background:#fff;	
    padding:1rem 2rem;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    font-size:1.5rem;
    font-weight:600;
    text-align:center;
    /* Add your logo, nav, etc. here */
  }

  /* ---------- Main Section (includes map header) ---------- */
  .main-section{
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:80vh;
  }

  /* Map-specific header (previously the fixed header) */
  .map-header{
    background: linear-gradient(to right, rgba(0,150,255,0.1), rgba(0,198,167,0.1));
    color:black;
    padding:1rem 2rem;
    font-size:1.3rem;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
  }
  .map-header span{color:var(--accent);}

  .content-wrapper{
    display:flex;
    flex:1;
    min-height:0;
  }

  .sidebar{
    width:320px;
    background:white;
    border-right:1px solid #e5e7eb;
    padding:1rem;
    overflow-y:auto;
    min-height:0;
  }
  .sidebar h2{
    color:var(--primary);
    font-size:1.2rem;
    margin-bottom:1rem;
  }
  .location-list{
    list-style:none;
    padding:0;
    margin:0;
  }
  .location-list li{
    padding:0.8rem;
    margin-bottom:0.5rem;
    background:var(--light);
    border-radius:8px;
    cursor:pointer;
    border:1px solid transparent;
    transition:0.3s;
  }
  .location-list li:hover,
  .location-list li.active{
    background:#e0f2ff;
    border:1px solid var(--primary);
  }
  .details{
    margin-top:1rem;
    padding:0.8rem;
    border-top:1px solid #e5e7eb;
  }
  .details h3{margin:0 0 .5rem 0; color:var(--primary);}
  .details p{margin:.2rem 0;}
  .details a{
    display:inline-block;
    margin-top:.5rem;
    padding:.4rem .7rem;
    background:var(--primary);
    color:white;
    border-radius:5px;
    text-decoration:none;
  }
  .details a:hover{background:var(--accent);}

  #map{
    flex:1;
    height:auto;
  }
  /* ---------- Responsive ---------- */
  @media(max-width:768px){
    .content-wrapper{flex-direction:column;}
    .sidebar{width:100%; height:40%; overflow-y:auto;}
    #map{height:60%;}
  }