/* Guide finder layout only.
   Existing TopSwitzerland buttons and Isotope card styles remain in /css/styles1.css. */

/* Step 1 and Step 2 use the same centered content column. */
#options,
#location-step {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.finder-column {
  float: none !important;
  width: 100% !important;
  max-width: 760px;
  margin: 0 auto !important;
}

/* Headings and instructions remain left aligned inside the centered column. */
.finder-column > h3,
.finder-column > p {
  margin-left: 0;
  margin-right: 0;
}

.service-item {
  margin-bottom: 34px;
}

/* Large icon close to the existing site button, vertically centered. */
.service-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 60px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  line-height: 1;
}

.service-icon img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

/* Neutralize list geometry only inside the finder row.
   The actual button appearance still comes from styles1.css. */
.service-row .iso-ul {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-row .iso-ul li {
  float: none;
  list-style: none;
  margin: 0;
}

/* Description begins at the same left edge as the icon. */
.service-item > p {
  margin: 10px 0 0;
  max-width: 720px;
}

#selected-service,
#selected-area {
  margin: 14px 0 0;
  text-align: left;
  font-weight: 600;
}

#selected-service:empty,
#selected-area:empty {
  display: none;
}

#location-step {
  margin-top: 36px;
}

#swiss-map-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

#swiss-map {
  display: block;
  width: 100%;
  height: auto;
}

#swiss-map .canton {
  cursor: pointer;
  transition: fill 0.15s ease;
  outline: none;
  vector-effect: non-scaling-stroke;
}

#swiss-map .canton:hover,
#swiss-map .canton:focus {
  fill: #f8d7da !important;
  stroke: #333 !important;
}

#swiss-map .canton.selected {
  fill: #e30613 !important;
}

.area-fallback-label {
  display: block;
  margin: 18px 0 0;
  max-width: 420px;
}

#area-fallback {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 6px 0 0;
}

/* Results deliberately use the full width controlled by the existing site CSS. */
#guide-results {
  width: 100%;
  margin-top: 36px;
  padding: 0;
}

.guide-languages {
  margin-top: 6px;
}

/* Mobile padding is only for Step 1 and Step 2, never the Isotope results. */
@media (max-width: 600px) {
  #options,
  #location-step {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-item {
    margin-bottom: 30px;
  }

  .service-row {
    gap: 5px;
    min-height: 54px;
  }

  .service-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  .service-icon img {
    width: 48px;
    height: 48px;
  }

  .service-item > p {
    margin-top: 10px;
  }

  #guide-results {
    padding-left: 0;
    padding-right: 0;
  }
}
