/* =========================================================
   SERVICE WORLDWIDE — AREA 2
   Scroll ONLY in .locations-scroll (JS wrapper)
   Filter OUT of scroll
   Card split by JS wrappers: .loc-wrap/.loc-left/.loc-right
========================================================= */

body.mt.service-worldwide.service #area-2{
  background: var(--clr-primary-light) !important;
  padding: 56px 0 !important;

  --panel-h: 520px;
  --gap: 24px;

  --clr-accent: #339933;
  --clr-comments-text: #333333;

  --radius: var(--br-keyfact);

  --sb-w: 10px;
  --sb-thumb: rgba(120,120,120,.75);
  --sb-thumb-hover: rgba(120,120,120,.95);

  --filter-h: 0px;
  --scroll-mt: 14px;
  --item-gap: 8px;
}

/* ===== Layout (2 columns) ===== */

body.mt.service-worldwide.service #area-2 .worldwide-locations_group > .row{
  display: flex !important;
  gap: var(--gap) !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-map,
body.mt.service-worldwide.service #area-2 .worldwide-locations-right{
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex: 1 1 0 !important;
  max-width: none !important;
}

/* ===== Left (Map) ===== */

body.mt.service-worldwide.service #area-2 .worldwide-locations-map .map_container{
  height: var(--panel-h) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.10) !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-map #location-map{
  width: 100% !important;
  height: 100% !important;
}


body.service.service-worldwide #content {
    padding-bottom: 5rem !important;
}


/* ===== Right (Wrapper + Filter + Scroll) ===== */

body.mt.service-worldwide.service #area-2 .worldwide-locations-right{
  position: relative !important;
  height: var(--panel-h) !important;
  max-height: var(--panel-h) !important;
  overflow: hidden !important;
  background: transparent !important;
}

/* Filter: no spacing */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right #filter-element{
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .filter_display{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .button_filter_wrapper_2{
  margin: 0 !important;
  padding: 0 !important;
}

/* Scroll wrapper (created by JS) */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll{
  margin-top: var(--scroll-mt) !important;

  height: calc(var(--panel-h) - var(--filter-h) - var(--scroll-mt)) !important;
  max-height: calc(var(--panel-h) - var(--filter-h) - var(--scroll-mt)) !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  padding: 0 !important;
  scrollbar-gutter: stable !important;
  -webkit-overflow-scrolling: touch !important;

  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) transparent;
}

/* WebKit scrollbar */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll::-webkit-scrollbar{
  width: var(--sb-w);
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll::-webkit-scrollbar-track{
  background: transparent;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll::-webkit-scrollbar-thumb{
  background: var(--sb-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll::-webkit-scrollbar-thumb:hover{
  background: var(--sb-thumb-hover);
  background-clip: padding-box;
}

/* ===== Lists ===== */

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_list.col-service-loc.show{
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

/* =========================================================
   Card
========================================================= */

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_container{
  background: #fff !important;
  border: 2px solid var(--clr-accent) !important;
  border-radius: var(--radius) !important;
  padding: 16px 16px 14px !important;
  position: relative !important;
}

/* Title */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-title{
  font-size: var(--fs-18) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 0 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-title::after{
  content: "" !important;
  display: block !important;
  width: 80px !important;
  height: 3px !important;
  background: var(--clr-accent) !important;
  border-radius: 999px !important;
}

/* 2 columns inside card (JS wrappers) */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-wrap{
  display: flex !important;
  gap: 18px !important;
  margin-top: 12px !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-left,
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-right{
  min-width: 0 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-left{
  flex: 0 0 30% !important;
  max-width: 30% !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-right{
  flex: 0 0 70% !important;
  max-width: 70% !important;
}

/* spacing inside columns */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-left > .collection_content,
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-right > .collection_content{
  margin-top: var(--item-gap) !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-left > .collection_content:first-child,
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-right > .collection_content:first-child{
  margin-top: 0 !important;
}

/* typography */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content{
  font-size: var(--fs-14) !important;
  color: var(--clr-comments-text) !important;
  line-height: var(--lh-1-45) !important;
  overflow-wrap: anywhere !important;
}

/* labels */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-phone::before{
  content: "Phone: " !important;
  font-weight: 400 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-email::before{
  content: "E-mail: " !important;
  font-weight: 400 !important;
}

body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-website::before{
  content: "Web: " !important;
  font-weight: 400 !important;
}

/* country */
body.mt.service-worldwide.service #area-2 .worldwide-locations-right .collection_content.col-service-loc-country{
  margin-top: 14px !important;
  font-size: 11.5px !important;
  color: var(--clr-accent) !important;
}

/* =========================================================
   FILTER DISPLAY
========================================================= */

body.mt.service-worldwide.service #area-2 .filter_display{
  overflow-x: visible !important;
  overflow-y: visible !important;
  flex-wrap: wrap !important;
  scrollbar-width: auto !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
}

@media (max-width: 500px){
  body.mt.service-worldwide.service #area-2 .filter_display{
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 8px 0 !important;
    margin: 0 0 14px 0 !important;
  }

  body.mt.service-worldwide.service #area-2 .filter_display::-webkit-scrollbar{
    display: none !important;
  }
}

/* =========================================================
   Responsive (AREA 2)
========================================================= */

@media (max-width: 1100px){
  body.mt.service-worldwide.service #area-2 .worldwide-locations_group > .row{
    flex-wrap: wrap !important;
  }

  body.mt.service-worldwide.service #area-2 .worldwide-locations-map,
  body.mt.service-worldwide.service #area-2 .worldwide-locations-right{
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  body.mt.service-worldwide.service #area-2 .worldwide-locations-right{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.mt.service-worldwide.service #area-2 .worldwide-locations-right .locations-scroll{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 600px){
  body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-wrap{
    flex-direction: column !important;
    gap: 10px !important;
  }
}

@media (max-width: 500px){
  body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-wrap{
    flex-direction: column !important;
  }

  body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-left,
  body.mt.service-worldwide.service #area-2 .worldwide-locations-right .loc-right{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   SERVICE WORLDWIDE — AREA 4 (Mockup grid)
========================================================= */

body.mt.service-worldwide.service #area-4{
  background: var(--clr-primary-light) !important;
  padding: 56px 0 !important;
}

body.mt.service-worldwide.service #area-4 .row{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-auto-rows: auto !important;
  gap: 24px !important;
  align-items: stretch !important;
  margin: 0 !important;
}

body.mt.service-worldwide.service #area-4 .row > .line-title-center{
  grid-column: 1 / -1 !important;
}

body.mt.service-worldwide.service #area-4 .row > .textcontent{
  grid-column: 1 / -1 !important;
  text-align: center !important;
}

body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s{
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(3){
  grid-column: 1 !important;
  grid-row: 3 !important;
}

body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(4){
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin-top: 0 !important;
}

body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(5){
  grid-column: 2 !important;
  grid-row: 3 / span 2 !important;
  margin-top: 0 !important;
}

body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(5) .collection_container{
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

body.mt.service-worldwide.service #area-4
.row > .collection_list.col-link-service-s:nth-child(5)
.collection_content.col-link-service-s-link a::before{
  top: 90% !important;
  right: 18px !important;
  transform: translateY(-50%) !important;
}
body.mt.service-worldwide.service .col-lg-6{
  width: unset !important;
}



/* container */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

@media (max-width: 500px){
  .col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: unset !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    flex-direction: column !important;
}
 }
/* override CMS default collection_list */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .collection_list.col-service-legend {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
}

/* card layout */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .collection_container {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* icon wrapper */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .col-service-legend-icon {
    display: flex !important;
    align-items: center !important;
}

/* icon */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .col-service-legend-icon img {
    width: 16px !important;
    height: 22px !important; /* taller icon */
    object-fit: contain !important;
    display: block !important;
}

/* text */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .col-service-legend-desc {
    font-size: var(--fs-14) !important;
    line-height: 1.2 !important;
    color: #6f6f6f !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 500px) {
  .col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .col-service-legend-desc {
        white-space: wrap !important;
        max-width: 200px;
  }
 }
/* first card without left spacing */
.col-xs-12.col-sm-12.col-md-12.col-lg-6.ser_loc_group .collection_list.col-service-legend:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}



.col-service-loc-email a,
.col-service-loc-website a {
    text-decoration: none !important;
}


/* Do NOT change .col-service-loc-title layout to flex */
.collection_list.col-service-loc .col-service-loc-title .loc-title-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* pin icon size + no scaling on hover */
.collection_list.col-service-loc .col-service-loc-title .loc-title-pin {
    width: 16px !important;
    height: 22px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    transform: none !important;
    transition: none !important;
}

/* hard stop any hover scaling coming from card hover rules */
.collection_list.col-service-loc .collection_container:hover .col-service-loc-title .loc-title-pin {
    transform: none !important;
}


.collection_content.col-service-loc-pin-lev {
    display: none;
}

/* legend icons should NOT scale on hover */

.ser_loc_group .collection_container:hover img {
    transform: none !important;
    scale: 1 !important;
}

.ser_loc_group .collection_container img {
    transition: none !important;
}

/* Responsive (AREA 4) */
@media (max-width: 900px){
  body.mt.service-worldwide.service #area-4 .row{
    grid-template-columns: 1fr !important;
  }

  body.mt.service-worldwide.service #area-4
  .row > .collection_list.col-link-service-s:nth-child(5)
  .collection_content.col-link-service-s-link a::before{
    top: 90% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
  }

  body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(3),
  body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(4),
  body.mt.service-worldwide.service #area-4 .row > .collection_list.col-link-service-s:nth-child(5){
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}



/* ================================
   Service capabilities (hover show)
   Smooth reveal + smaller radius
   + Smooth dim other cards (JS classes)
   ================================ */

/* --------- Capabilities wrapper (hidden by default) --------- */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container
> .collection_content.wrapp-service-capabilities{
  display: none !important;
  width: 100% !important;
  margin-top: 12px !important;
  padding: 0 !important;

  opacity: 0 !important;
  transform: translateY(6px) !important;
  transition: opacity .28s ease, transform .28s ease !important;
  will-change: opacity, transform !important;
}

/* Show only when TOP card is hovered/focused (not inner service containers) */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container:hover
> .collection_content.wrapp-service-capabilities,
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container:focus-within
> .collection_content.wrapp-service-capabilities{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 12px !important;

  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Each capability item wrapper (CMS list) */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .wrapp-service-capabilities .collection_list.col-service-capabil{
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Reset inner container inside each capability item */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .wrapp-service-capabilities .collection_list.col-service-capabil .collection_container{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Pill style */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .wrapp-service-capabilities .service-capabilities-text{
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  color: #7A7A7A !important;
  background: transparent !important;
  border: 1px solid #D0D0D0 !important;

  border-radius: 6px !important;
  padding: 6px 12px !important;
  white-space: nowrap !important;
}

/* Remove empty layout wrappers */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .wrapp-service-capabilities .loc-wrap{
  display: none !important;
}

/* Keep capabilities above overlay */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_content.wrapp-service-capabilities{
  position: relative !important;
  z-index: 20 !important;
}

/* ================================
   Dim other cards (smooth)
   JS adds: .is-dimmed / .is-active
   ONLY top-level location cards
   ================================ */

body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container{
  position: relative !important;
  transition: transform .28s ease, box-shadow .28s ease !important;
}

/* Overlay base (covers border too) */
body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container::after{
  content: "" !important;
  position: absolute !important;
  inset: -2px !important; 
  background: rgba(255,255,255,0.75) !important;
  border-radius: 10px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: opacity .28s ease !important;
}

body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container.is-dimmed::after{
  opacity: 1 !important;
}

body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container.is-active{
  z-index: 10 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.10) !important;
}

body.mt.service-worldwide.service #area-2
.worldwide-locations-right .collection_list.col-service-loc.show > .collection_container.is-active::after{
  opacity: 0 !important;
}