/* ONE 678 Residences page — additions on top of project-al-aamra.css */

.one678-apt-grid,
.one678-three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Keep buttons aligned across cards with different intro lengths */
.one678-apt-card .azha-apt-meta {
  margin-top: auto;
}

/* 40/60 payment split: horizontal bar, stacked on small screens */
.one678-split {
  display: grid;
  grid-template-columns: 40fr 60fr;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.one678-split > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
}

.one678-split strong {
  font-size: 1.9rem;
  line-height: 1;
}

.one678-split span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.one678-split-pre {
  background: #0f1d33;
  color: #fff;
}

.one678-split-post {
  background: #efe9e2;
  color: #0f1d33;
}

@media (max-width: 960px) {
  .one678-apt-grid,
  .one678-three-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .one678-split {
    grid-template-columns: 1fr;
  }
}

/* Tower renders in the dark architecture section */
.one678-tower-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.one678-tower-photos img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Interior cards: render, title and short description */
.one678-interior-grid,
.one678-amenity-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.one678-interior-grid img,
.one678-amenity-photos img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.one678-interior h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.1rem;
}

.one678-interior p {
  margin: 0;
  color: #4a4440;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .one678-tower-photos,
  .one678-interior-grid,
  .one678-amenity-photos {
    grid-template-columns: 1fr;
  }

  .one678-tower-photos img {
    aspect-ratio: 4 / 3;
  }
}
