/* Szerokość jak inne sekcje: sekcja 100%, kontener 1170px wyśrodkowany */
.europe-locations-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.europe-locations {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 15px 40px;
  width: 100%;
  box-sizing: border-box;
}

.europe-locations-heading {
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-family: type-36, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
  margin: 0 0 40px 0;
}

@media (max-width: 768px) {
  .europe-locations-heading {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 30px;
  }
}

.europe-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 1024px) {
  .europe-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .europe-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.europe-location-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
  border-bottom: 0.2rem solid #f8f8f8;
}

.europe-location-item::after {
  content: '';
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 19px;
  background: url('../../assets/img/arrow-right.svg') no-repeat center;
  background-size: contain;
  filter: brightness(0) invert(1);
}

.europe-location-item:hover {
  background-color: #23c767;
  color: #ffffff;
  cursor: pointer;
}

.europe-location-item:hover::after {
  display: block;
}

.europe-location-item:hover .europe-location-city {
  color: #ffffff;
}

.europe-location-item:hover .europe-location-country {
  color: #b8e6c9;
}

.europe-location-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.europe-location-city {
  display: block;
  font-family: type-36, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  height: 21.5938px;
  line-height: 21.6px;
  font-weight: 400;
  color: #333;
}

.europe-location-country {
  display: block;
  font-family: type-36, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  height: 19.1875px;
  line-height: 19.2px;
  font-weight: 400;
  color: #999;
}


