.gw {
  --gw-ink: #1a2b3a;
  --gw-mute: #5f7386;
  --gw-line: rgba(26, 43, 58, 0.12);
  --gw-accent: #00acac;
  --gw-accent-deep: #008f8f;
  margin: 28px 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
}

.gw__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--gw-line);
}

.gw__title {
  margin: 0;
  color: var(--gw-ink);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.gw__more {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 7px 14px;
  border: 1px solid rgba(26, 43, 58, 0.22);
  border-radius: 2px;
  background: transparent;
  color: var(--gw-ink) !important;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gw__more-arrow {
  display: block;
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gw__more:hover,
.gw__more:focus {
  border-color: var(--gw-accent);
  background: rgba(0, 172, 172, 0.04);
  color: var(--gw-accent-deep) !important;
}

.gw__more:hover .gw__more-arrow,
.gw__more:focus .gw__more-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.gw__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
  min-height: 280px;
}

.gw-item {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff;
  isolation: isolate;
}

.gw-item--lead {
  min-height: 280px;
}

.gw-item__photo {
  position: absolute;
  inset: 0;
  background: #2a3a48 center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.gw-item__photo.is-empty {
  background: linear-gradient(145deg, #2f4456 0%, #1a2b3a 100%);
}

.gw-item__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 30, 0.08) 20%,
    rgba(10, 20, 30, 0.55) 70%,
    rgba(10, 20, 30, 0.82) 100%
  );
  transition: background 0.35s ease;
  z-index: 1;
}

.gw-item__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 16px;
}

.gw-item__name {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: transform 0.35s ease;
}

.gw-item__addr {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.95;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gw-item:hover .gw-item__photo,
.gw-item:focus .gw-item__photo {
  transform: scale(1.08);
}

.gw-item:hover .gw-item__veil,
.gw-item:focus .gw-item__veil {
  background: linear-gradient(
    180deg,
    rgba(0, 172, 172, 0.12) 0%,
    rgba(10, 20, 30, 0.45) 55%,
    rgba(10, 20, 30, 0.88) 100%
  );
}

.gw-item:hover .gw-item__name,
.gw-item:focus .gw-item__name {
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .gw__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .gw-item,
  .gw-item--lead {
    min-height: 220px;
  }

  .gw-item--lead {
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .gw {
    margin: 20px 0 12px;
  }

  .gw__title {
    font-size: 19px;
  }

  .gw__head {
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .gw__more {
    margin-top: 2px;
  }

  .gw__grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gw-item,
  .gw-item--lead {
    min-height: 200px;
  }

  .gw-item--lead {
    grid-column: auto;
  }
}
