/* ---------------------------------------------------------
   MAP SECTION CONTAINER
----------------------------------------------------------*/
.map-section-container { }
.map-section-container a {
  color: #f2c200;
}
.map-section-container a:hover {
  color: #f2c200;
}

.map-heading h2 {
  padding: 20px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 40px;
}

/* ---------------------------------------------------------
   SVG MAP + REGIONS
----------------------------------------------------------*/
svg {
  width: 95%;
  padding-left: 20px;
}

/* Default regions */
.st0 {
  fill: #91A3B0;
  stroke-width: 0.5px;
  stroke: #BEC4C9;
  transition: stroke-width 1s ease-out;
}
.st0:hover {
  stroke-width: 1px;
}

/* Highlighted clickable regions */
.our-work {
  fill: #6E95B1;
  cursor: pointer;
}
.our-work:hover {
  fill: #AED9E0;
}
/* 

/* ---------------------------------------------------------
   LAYOUT: MAP + DETAILS
----------------------------------------------------------*/
.mapcontainer, .detail, .map {
  position: relative;
  box-sizing: border-box;
}

.mapcontainer {
  display: grid;
  grid-template-columns: 37% 61%;
  margin: 10px;
  overflow: hidden;
}

.map {
  padding-top: 10px;
  width: 95%;
}

.detail {
  margin-left: 10px;
  font-size: 14px;
  margin: 10px;
}

.mapcontent {
  display: none;
  padding: 10px 0 20px;
  margin: auto;
}

.map-image {
  width: 100%;
}

/* ---------------------------------------------------------
   RESPONSIVE (MOBILE < 900px)
----------------------------------------------------------*/
@media only screen and (max-width: 900px) {

  .mapcontainer {
    display: block;
    width: 95%;
    margin: auto;
  }

  .mapcontainer img {
    width: 50%;
  }

  .mapcontainer .map {
    display: block;
    width: auto;
    height: 50vh;
    margin: auto;
    padding-bottom: 0;
  }

  .mapcontainer svg {
    width: auto;
    height: 50vh;
    padding-right: 40px;
    margin: auto;
    padding-bottom: 0;
  }

  .mapcontainer .detail {
    display: block;
    text-align: center;
    margin: auto;
    padding: 0;
  }

  .mapcontainer p {
    width: 100%;
    margin-top: 10px;
  }

  .mapcontainer .mapcontent {
    width: 100%;
    border-top: 1px solid #e3e3e3;
    padding-top: 0;
  }
}


/* --------------------------------------
   Additional
---------------------------------------*/
.reg-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
}

.reg-list dt {
    font-weight: 600;
    color: #333;
}

.reg-list dd {
    margin: 0;
}


/* --------------------------------------
   Additional 2
---------------------------------------*/
/* CSS for two side cards */
/* Root variables */

:root{
  --card-bg: #ffffff;
  --card-border: rgba(0,0,0,0.06);
  --card-shadow: 0 6px 18px rgba(20,20,20,0.08);
  --accent: #0f766e;
  --title-color: #0b2540;
  --text-color: #263238;
  --muted: #586574;
  --radius: 14px;
  --gap: 20px;
}
/* Main container: 2 columns (map + cards) */
.map-card-layout {
  display: grid;
  grid-template-columns: 35% 65%;     /* Map left, cards right */
  gap: 24px;
  width: 100%;
  align-items: start;
  box-sizing: border-box;
  padding: 10px 0;
}

/* Map container */
.map-box {
  width: 100%;
  height: 100%;
  min-height: 350px;                 /* adjust as needed */
  background: #e7eef4;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 6px 18px rgba(20,20,20,0.06);
  overflow: hidden;
}

/* Cards in a single row */
.card-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* Individual Card */
.card {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 18px rgba(20,20,20,0.08);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,20,30,0.12);
}

.card-media {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(15,118,110,0.08);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #0f766e;
  flex-shrink: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #0b2540;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-text {
  font-size: 14px;
  margin: 0;
  color: #586574;
  line-height: 1.3;
}

/* -----------------------------------
   RESPONSIVENESS
----------------------------------- */

/* Tablets */
@media (max-width: 992px){
  .map-card-layout {
    grid-template-columns: 1fr;    /* stack map + cards */
  }

  .card-row {
    flex-direction: column;        /* cards stack */
  }
}

/* Mobile */
@media (max-width: 600px){
  .map-box {
    min-height: 260px;
  }

  .card {
    padding: 14px;
  }

  .card-media {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-text {
    font-size: 13px;
  }
}
