/* Al Aamra 1 & 3 Tower pages — additions on top of project-tiger-downtown.css and project-azha-views.css */

.aamra-apt-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aamra-apt-intro {
  color: #4a4440;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.aamra-amenity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aamra-dark-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.aamra-nearby {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid #e8e2db;
  border-radius: 12px;
  background: #faf8f5;
}

.aamra-nearby h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.aamra-nearby p {
  margin: 0 0 1rem;
  color: #4a4440;
}

.aamra-cols {
  columns: 2;
  column-gap: 2rem;
}

.aamra-cols li {
  break-inside: avoid;
}

.aamra-travel {
  margin: 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}

.aamra-travel div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8e2db;
  border-radius: 10px;
}

.aamra-travel dt {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f1d33;
}

.aamra-travel dd {
  margin: 0;
  font-size: 0.92rem;
  color: #4a4440;
}

.aamra-plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

@media (max-width: 960px) {
  .aamra-amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aamra-apt-grid,
  .aamra-amenity-grid {
    grid-template-columns: 1fr;
  }

  .aamra-cols {
    columns: 1;
  }

  .aamra-travel div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.aamra-podium {
  margin-top: 2.5rem;
  align-items: center;
}

.aamra-podium .aamra-nearby {
  margin-top: 0;
}

/* Show the podium render in its own landscape proportions (tiger-split crops to 4:5) */
.aamra-podium img {
  aspect-ratio: 1924 / 1358;
}

/* Al Aamra 1 has four gallery images: a 2x2 grid instead of 3 + 1 */
[data-project="al-aamra-1-tower"] #gallery .azha-gallery-grid > .azha-gallery-item {
  flex-basis: calc((100% - 16px) / 2);
}

/* ---------- Al Aamra 3 Tower ---------- */

.aamra3-amenity-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

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

@media (max-width: 640px) {
  .aamra3-amenity-photos {
    grid-template-columns: 1fr;
  }
}

.aamra3-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e8e2db;
  border-radius: 12px;
}

.aamra3-plan-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.aamra3-plan-table th,
.aamra3-plan-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #efe9e2;
}

.aamra3-plan-table thead th {
  background: #0f1d33;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aamra3-plan-table tbody th {
  font-weight: 700;
  color: #0f1d33;
}

.aamra3-plan-table tbody tr:last-child th,
.aamra3-plan-table tbody tr:last-child td {
  border-bottom: 0;
}

.aamra3-plan-table tbody tr:hover {
  background: #faf8f5;
}

.aamra3-plan-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
