.country-blocks-grid * {
  box-sizing: border-box
}

.country-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2em auto;
  box-sizing: border-box;
  max-width: 1100px;
  width: 100%;
  align-items: start
}

.country-emoji {
  font-size: 2rem;
  margin-right: 12px;
  line-height: 1;
  flex-shrink: 0;
  background: #e9e9e9;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.country-info {
  text-align: left;
  flex-grow: 1
}

.country-info .country-name {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d2a35 !important;
  letter-spacing: -.01em
}

.country-info .country-desc {
  margin: 0;
  font-size: .85rem;
  color: #1d2a35 !important;
  line-height: 1.3;
  font-weight: 400
}

.country-block-wrapper {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow, border-color
}

.country-block-wrapper.has-cities:hover {

  border-color: #9ca3af
}

.country-block-item {
  display: flex !important;
  align-items: stretch;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  z-index: 2;
  min-height: 80px
}

.country-header-link {
  display: flex;
  align-items: center;
  padding: 14px 8px 14px 16px;
  flex-grow: 1;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer
}

.country-header-link:hover {
  background-color: rgb(0 0 0 / .02)
}

.country-chevron-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  cursor: pointer
}

.country-chevron-trigger:hover {
  background-color: rgb(0 0 0 / .03)
}

.country-link-overlay,
.country-toggle-overlay {
  display: none
}

.country-chevron {
  color: #86868b;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center
}

.country-block-wrapper.expanded .country-chevron {
  transform: rotate(90deg)
}

.cities-list {
  background: #fbfbfd;
  border-top: 1px solid rgb(0 0 0 / .05);
  padding: 0
}

.city-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 20px;
  color: #1d1d1f;
  text-decoration: none;
  font-size: .95rem;
  transition: background 0.1s ease
}

.city-item:last-child {
  border-bottom: none;
  margin-bottom: 10px;
}

.city-item:hover {
  background: #f2f2f5
}

a.city-item {
  color: #1d2a35 !important
}

a.city-item:first-child {
  margin-top: 10px;
}

.location-item-content {
  display: flex;
  align-items: center;
  gap: 10px
}

.location-icon {
  flex-shrink: 0;
  color: #6b7280
}

.airport-item {
  padding-left: 40px;
  background: #f9fafb;
  font-size: .88rem;
  position: relative
}

/* .airport-item::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e5e7eb 0%, #e5e7eb 50%, transparent 50%, transparent 100%);
  background-size: 2px 8px
} */

.airport-item:last-child::before {
  background: linear-gradient(to bottom, #e5e7eb 0%, #e5e7eb 50%, transparent 50%, transparent 100%)
}

.airport-item:hover {
  background: #f3f4f6
}

.airport-icon {
  color: #9ca3af
}

.city-name,
.airport-name {
  font-weight: 500
}

.city-arrow {
  font-size: 16px;
  color: #c7c7cc
}

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

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

@media (max-width:600px) {
  .country-blocks-grid {
    grid-template-columns: 1fr;
  }
}