/* Custom styles for new Our Domains layout */
.domains-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* Remove gap since we'll use padding for spacing */
  margin-top: 4rem;
  max-width: 140%;
  margin-left: -20%;
  margin-right: -20%;
  padding: 0;
}

/* Add alternating background colors */
.domain-row {
  padding: 5rem 20%; /* Vertical padding and horizontal padding to match the negative margin */
  transition: background-color 0.3s ease;
}

/* Light gray background for even rows */
.domain-row:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Slightly darker gray for odd rows */
.domain-row:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Hover effect for better interactivity */
.domain-row:hover {
  background-color: rgba(124, 58, 237, 0.1) !important;
}
.domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0; /* Remove margin-bottom since we're using padding */
  width: 100%;
}
.domain-row-normal { 
  flex-direction: row;
  justify-content: flex-start;
  margin-left: 0;
  margin-right: auto;
  max-width: calc(100% - 100px);
}
.domain-row-reverse { 
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-right: 0;
  margin-left: auto;
  max-width: calc(100% - 100px);
}
.domain-row-img {
  flex: 0 0 55%;
  max-width: 640px;
  padding: 0 2rem;
}
.domain-row-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.domain-row-text {
  flex: 0 0 45%;
  padding: 0 2rem;
  min-width: 0; /* Prevents text overflow */
}
.domain-title-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-inline-end: 0.5em;
  margin-bottom: 0.18em;
  display: inline-block;
}
.domain-title-flex {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.2rem;
}
.domain-row-text h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin: 0;
  display: inline;
}
.domain-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}
@media (max-width: 900px) {
  .domain-row, .domain-row-normal, .domain-row-reverse {
    flex-direction: column !important;
    text-align: center;
    gap: 1.2rem;
  }
  .domain-row-img img {
    width: 90vw;
    height: 180px;
  }
  .domain-row-text { max-width: 98vw; }
}
