.coreco-project-map {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.coreco-project-map__bg img {
  width: 100%;
  height: auto;
  display: block;
}
.coreco-project-map__markers {
  position: absolute;
  inset: 0;
}
.coreco-project-marker--single {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none !important;
  background: transparent;
  padding: 0 !important;
  cursor: pointer;
  z-index: 16;
}
.coreco-project-marker--single:hover {
    z-index: 17;
}
.coreco-project-marker__image {
    display: block;
    width: clamp(40px, 25px + 3.125vw, 60px);
    height: clamp(40px, 25px + 3.125vw, 60px);
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.coreco-project-marker:is(:hover, :focus-visible) .coreco-project-marker__image,
.coreco-project-marker.is-active .coreco-project-marker__image {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.coreco-project-marker__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
}
.coreco-project-marker--cluster {
    position: absolute;
    z-index: 16;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    width: clamp(40px, 25px + 3.125vw, 60px) !important;
    height: clamp(40px, 25px + 3.125vw, 60px);
    padding: 0 !important;
}
.coreco-project-marker__cluster-label {
  font-size: 16px;
  line-height: 1;
}
.coreco-project-info {
    position: absolute;
    max-width: 500px;
    background: #F2E9E1;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    padding: 18px 20px 16px;
    display: none;
    z-index: 20;
}
.coreco-project-info.is-visible {
  display: block;
}
.coreco-project-info__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 9px !important;
  background-color: transparent !important;
  border: 1px solid #741A37 !important;
  color: #741A37 !important;
}
.coreco-project-info__header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 30px;
}
.coreco-project-info__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
}
.coreco-project-info__header-text {
    width: 80%;
}
.coreco-project-info__header .coreco-project-info__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: initial;
}
.coreco-project-info__indicator {
  font-size: 0.8rem;
  font-weight: 600;
}
.coreco-project-info__text {
  font-size: 0.9rem;
  margin: 0 0 8px;
  line-height: 1.6;
}
.coreco-project-info__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}
.coreco-project-info__link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #c23;
}
.coreco-project-info__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.coreco-project-info__nav button {
  border: none;
  background: #741A37 !important;
  color: #F2E9E1 !important;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  padding: 0 !important;
}
.coreco-project-line {
  position: absolute;
  height: 2px;
  background: #fff;
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 15;
}

.coreco-project-info {
  width: 450px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.coreco-project-info__title-link {
  color: inherit;
  text-decoration: none;
  display: inline;
}
.coreco-project-info__title-link:hover,
.coreco-project-info__title-link:focus-visible {
  text-decoration: underline;
}

.coreco-project-info__text {
  max-height: 40vh;
  overflow-y: auto;

  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .coreco-project-info {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    transform: translateY(0);
    transition: bottom 0.25s ease-out;
    max-height: 70vh;
    overflow: hidden;
  }
  .coreco-project-map--mobile-open .coreco-project-info.is-visible {
    bottom: 0;
    width: 100%;
    max-width: 100%;
  }
  .coreco-project-info__text {
    max-height: 30vh;
    overflow-y: auto;
  }
  .coreco-project-line {
    display: none;
  }
}