
/* CALAPEX property pages template. Made on Villas, shared by all 11 property pages. The 10 other pages keep this block as it is. */
@media (min-width: 1180px) { .steps.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }  }
@media (max-width: 1179px) {
  .steps--4::before { display: none; }
  .steps--4 .step { position: relative; grid-template-rows: auto 1fr; }
  .steps--4 .step__gm { grid-row: 1 / span 2; z-index: 1; }
  .steps--4 .step:not(:last-child)::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 23px; width: 1px; background: var(--basalt); }
}
.spg__grid.sp-rich { grid-auto-rows: 300px; }
.sp-rich .sp-card { height: 100%; }
.sp-rich .sp-card::after { display: none; }
.sp-cap { position: absolute; z-index: 1; inset: auto 0 0 0; padding: 64px 18px 16px; background: linear-gradient(0deg, rgba(22, 21, 20, .92) 0%, rgba(22, 21, 20, .78) 55%, rgba(22, 21, 20, 0) 100%); color: var(--alabaster); }
.sp-cap__t { margin: 0; font: 400 1.125rem/1.3 var(--latin); color: inherit; }
.sp-cap__d { margin: 6px 0 0; font: 400 .875rem/1.5 var(--latin); color: var(--travertine); }
[lang="ar"] .sp-cap__t { font: 500 1.0625rem/1.5 var(--arabic); }
[lang="ar"] .sp-cap__d { font: 400 .9375rem/1.7 var(--arabic); }
@media (max-width: 1179px) { .spg__grid.sp-rich { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; } }
@media (max-width: 767px) { .spg__grid.sp-rich { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 250px; } .sp-rich .sp-cell--wide { grid-column: auto; } }
.sp-work { margin-top: 48px; }
.sp-work .sp-card { height: 100%; }
.sp-work .sp-card::after { display: none; }
.sp-work .sp-cell--full { grid-column: 1 / -1; grid-row: span 2; }
.sp-work .sp-cap { padding-top: 48px; }
@media (max-width: 1179px) { .spg__grid.sp-work { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
@media (max-width: 767px) { .spg__grid.sp-work { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; } .sp-work .sp-cell--big, .sp-work .sp-cell--wide, .sp-work .sp-cell--full { grid-column: auto; grid-row: auto; } }
.sp-plain .sp-card { cursor: default; }
.sp-plain .sp-card:hover img, .sp-plain .sp-card:focus-visible img { transform: none; }
