<style>
  .uk-map-wrapper {
    background: #ffffff;
    text-align: center;
    padding: 2rem;
    flex: 1;
    max-width: 400px;     /* reduced from full size */
    width: 100%;    
    height: auto;
  }
    #uk-map {
    width: 100%;
    height: auto;
    display: block;
}
  .uk-region {
    cursor: pointer;
    fill: #d9d8d6; 
    stroke: none;
    transition: all 0.3s ease;
  }

/* Clare's regions */
#region-scotland,
#region-south-east,
#region-west-midlands,
#region-south-west,
#region-east-midlands,
#region-wales {
  fill: #00A2BF;
}

/* ChiChi's regions */
#region-northern-ireland,
#region-london,
#region-north-west,
#region-east-england,
#region-yorkshire-humber,
#region-north-east {
  fill: #FF595A;
}
</style>

<style>
  .uk-region:hover {
    filter: brightness(1.5);
    stroke: #222;
    stroke-width: 1;
  }


<style>
  .uk-map-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.bdm-panel-large-image {
  flex: 1;
  width: 600px;
  padding: 2rem;
  background: #d9d8d6;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bdm-panel-large-image img {
  width: 300px;
  height: 100px;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

#bdm-details {
  width: 100%;
  text-align: left;
}

#bdm-img {
  display: none;
}

  .bdm-panel {
    flex: 0 0 250px;
    border: 1px solid #ccc;
    background: #d9d8d6;
    padding: 0.75rem;
    font-family: Poppins, sans-serif;
    font-size: 0.85rem;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 400px;
    width: 1000px
  }

  .bdm-panel h3 {
    margin-top: 0;
  }

  .bdm-panel a {
    color: #d9d8d6;
    text-decoration: none;
  }
.module-scale {
  transform: scale(0.85);     
  transform-origin: top-left;
  width: fit-content;
}

</style>
