.srep{--wine:#61244b;--line:#e6dade;--blush:#faf3f3;--paper:#fcfaf7;color:var(--wine);padding-top:30px;padding-bottom:70px;max-width:1180px}.srep-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:24px}.srep a{color:var(--wine);text-decoration:none}.srep-hero{display:grid;grid-template-columns:1fr 1.2fr;background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:460px}.srep-hero-copy{padding:40px;align-self:center}.srep .srep-logo{width:72px;height:54px;object-fit:contain;margin-bottom:20px}.srep-eyebrow{font-size:10px;letter-spacing:2px;color:#9d7286}.srep h1{font-size:clamp(36px,5vw,62px);line-height:1.3;margin:12px 0 20px}.srep-subtitle{font-size:18px}.srep-summary{font-size:15px;color:#795d6a;line-height:1.9;max-width:430px}.srep-hero-photo img{width:100%;height:100%;min-height:460px;object-fit:cover;object-position:center}.srep-developer{display:flex;gap:12px;align-items:center;margin:24px 0;font-size:13px}.srep-developer-logo{max-width:52px;max-height:44px;object-fit:contain}.srep-hero-links{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.srep-hero-links a,.srep-cta{border-bottom:1px solid #bd91a9;padding-bottom:8px}.srep-section{margin-top:54px;scroll-margin-top:30px}.srep-section-head{margin-bottom:22px}.srep h2{font-size:26px;margin:8px 0;line-height:1.4}.srep h3{font-size:18px;line-height:1.5;margin:0 0 12px}.srep-prose{max-width:900px;font-size:16px;line-height:2;color:#74636d}.srep-prose p{margin:0 0 16px}.srep-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.srep-facts>div{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:10px}.srep-facts span{display:block;font-size:12px;color:#927382;margin-bottom:10px}.srep-facts strong{font-size:18px;line-height:1.6;font-weight:600}.srep-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.srep-feature-grid article{padding:20px 0;border-top:1px solid var(--line)}.srep-feature-grid p,.srep-phase-grid p{color:#816b75;font-size:14px;line-height:1.8}.srep-feature-icon{font-size:20px}.srep-location{border-radius:12px;overflow:hidden;border:1px solid var(--line);margin-bottom:22px}.srep-location iframe{display:block;width:100%;height:380px;border:0}.srep-location img{width:100%;max-height:250px;object-fit:contain}.srep-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.srep-phase-grid article{position:relative;overflow:hidden;background:var(--blush);border:1px solid var(--line);border-radius:10px;padding:30px;min-height:180px;display:flex;flex-direction:column}.srep-phase-number{position:absolute;left:18px;top:8px;font:100px/1.2 Georgia,serif;color:#7b315710;pointer-events:none}.srep-phase-grid h3,.srep-phase-grid p,.srep-phase-grid article>div{position:relative}.srep-phase-grid article>div{display:flex;gap:18px;margin-top:auto;font-size:12px}.srep-phase-grid img{width:100%;height:120px;object-fit:contain;margin-bottom:16px}.srep-resources{display:grid;grid-template-columns:1fr 1fr;gap:24px}.srep-resources header{grid-column:1/-1;margin-bottom:0}.srep-resource{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);transition:transform .2s,border-color .2s}.srep-resource:hover{transform:translateY(-3px);border-color:#bf91a7}.srep-resource img{width:100%;height:230px;object-fit:cover}.srep-resource>div{padding:24px}.srep-resource span{font-size:13px}.srep-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.srep-model-grid a{border:1px solid var(--line);border-radius:10px;padding:18px;background:var(--paper)}.srep-model-grid img{width:100%;height:180px;object-fit:contain;margin-bottom:18px}.srep-model-grid p{font-size:13px;color:#927382;margin:0}.srep-cta{display:inline-block;margin-left:20px;font-size:14px}.srep-empty{padding:26px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-size:15px}.srep-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.srep-gallery-grid figure{margin:0}.srep-gallery-open{padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:10px;overflow:hidden;width:100%}.srep-gallery-open img{width:100%;height:235px;object-fit:cover}.srep-gallery-grid figcaption{font-size:12px;color:#927382;margin-top:10px}.srep-masterplan img{height:360px;object-fit:contain}.srep-lightbox{padding:20px;background:#201820;color:white;border:0;border-radius:12px;width:min(1100px,95vw);max-height:95vh;text-align:center}.srep-lightbox::backdrop{background:#181018db}.srep-lightbox img{display:block;margin:auto;max-width:100%;max-height:75vh;object-fit:contain}.srep-lightbox-close{margin-bottom:12px;min-height:44px;background:#faf3f3;color:#61244b;border:0;border-radius:6px}.srep-preview-note{padding:10px;background:#fff0d7}.srep-no-photo{grid-template-columns:1fr;min-height:280px}@media(max-width:950px){.srep-hero{grid-template-columns:1fr 1fr;min-height:380px}.srep-hero-copy{padding:28px}.srep-hero-photo img{min-height:380px}.srep-phase-grid,.srep-feature-grid,.srep-facts,.srep-model-grid,.srep-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.srep{padding-top:18px;padding-bottom:40px}.srep-hero{grid-template-columns:1fr}.srep-hero-copy{padding:26px}.srep-hero-photo{grid-row:1;height:240px}.srep-hero-photo img{height:240px;min-height:0}.srep h1{font-size:40px}.srep-section{margin-top:36px}.srep h2{font-size:23px}.srep-facts{gap:10px}.srep-facts>div{padding:16px}.srep-facts strong{font-size:15px}.srep-phase-grid,.srep-feature-grid,.srep-model-grid,.srep-resources{grid-template-columns:1fr}.srep-phase-grid article{min-height:160px;padding:25px}.srep-location iframe{height:300px}.srep-gallery-grid{gap:12px}.srep-gallery-open img{height:145px}.srep-resource img{height:210px}.srep-summary{max-width:none}}

.srep-directory-head{padding:28px 0 32px}.srep-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.srep-directory-grid .srep-resource img{height:310px}.srep-directory-grid p{color:#816b75;font-size:14px;line-height:1.8}@media(max-width:650px){.srep-directory-grid{grid-template-columns:1fr}.srep-directory-grid .srep-resource img{height:230px}}

/* Opt-in hero navigation: enabled only for the approved Al Rehab pilot. */
.srep .srep-quick-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;background:#fcfaf7;border:1px solid #e6dade;border-radius:8px;overflow:hidden;margin-top:24px}
.srep .srep-quick-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;padding:10px 8px;border:0;border-inline-start:1px solid #e6dade80;font-size:11px;font-weight:500;line-height:1.6;text-align:center;transition:background-color 200ms,color 200ms}
.srep .srep-quick-nav a:first-child{border-inline-start:0}
.srep .srep-quick-nav svg{width:17px;height:17px;flex:0 0 17px;color:#986e83;transition:color 200ms}
.srep .srep-quick-nav a:hover,.srep .srep-quick-nav a:focus-visible{background:#faf3f3;color:#61244b}
.srep .srep-quick-nav a:hover svg{color:#61244b}
.srep .srep-quick-nav a:focus-visible{outline:1px solid #986e83;outline-offset:-3px}
@media(max-width:600px){.srep .srep-quick-nav{grid-template-columns:1fr;margin-top:22px}.srep .srep-quick-nav a{justify-content:flex-start;min-height:48px;padding:12px 18px;border-inline-start:0;border-top:1px solid #e6dade80;font-size:13px;gap:10px}.srep .srep-quick-nav a:first-child{border-top:0}}

.srep-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.srep-resource-tile{display:flex;flex-direction:column}.srep-resource-tile>div{display:flex;flex:1;flex-direction:column;gap:12px;padding:26px}.srep-resource-tile h3,.srep-resource-tile p{margin:0}.srep-resource-tile p{font-size:14px;line-height:1.8;color:#816b75}.srep-resource-cta{align-self:flex-start;margin-top:auto;padding-top:12px;font-size:13px;border-bottom:1px solid #bd91a9;padding-bottom:7px}.srep-general-map{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px}.srep-general-map button{display:block;border:0;background:transparent;color:var(--wine);padding:0;cursor:zoom-in}.srep-general-map img{display:block;width:100%;height:400px;object-fit:contain;margin:auto}.srep-general-map button span{display:block;font-size:13px;margin:16px 0}.srep-test-property{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:26px}.srep-test-property>strong{display:block;font-size:12px;margin-bottom:16px}.srep-test-property p{font-size:14px}.srep-test-property a{font-size:13px}@media(max-width:600px){.srep-resource-grid{grid-template-columns:1fr;gap:16px}.srep-general-map{padding:14px}.srep-general-map img{height:280px}}
.srep #srel-viewer .srel-controls button{background:#fcfaf7;color:#61244b;border:1px solid #e6dade;border-radius:6px;min-height:36px;padding:7px 11px;font:inherit;font-size:12px;cursor:pointer}.srep #srel-viewer h2{font-size:18px;margin:0 0 10px}.srep #srel-viewer .srel-controls button:focus-visible{outline:2px solid #986e83;outline-offset:2px}

.srep-residential>article>img{width:100%;height:280px;object-fit:cover}.srep-card-developer{font-size:13px;color:#816b75}.srep-zoom-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.srep-lightbox .srep-zoom-tools button{position:static;background:#fcfaf7;color:#61244b;border:1px solid #e6dade;border-radius:6px;padding:8px 12px;font:inherit;font-size:13px}.srep-zoom-stage{overflow:auto;max-height:75vh;direction:ltr}.srep-lightbox:fullscreen{width:100vw;max-width:none;height:100vh;max-height:none}.srep-masterplan span{display:block;margin:12px;color:#61244b}@media(max-width:600px){.srep-residential>article>img{height:220px}}
.srep .srep-quick-nav:has(>a:only-child){grid-template-columns:1fr}

.srep-resource-plan>img{object-fit:contain;background:#fff}
@media(min-width:601px){.srep .srep-quick-nav:has(>a:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Fit the image in the remaining dialog space; pan inside a fixed viewport. */
.srep-lightbox[open]{display:flex;flex-direction:column;box-sizing:border-box;height:92dvh;max-height:92dvh;overflow:hidden;margin:auto;gap:10px;padding:16px}
.srep-lightbox-close{align-self:flex-end;flex-shrink:0;margin:0}
.srep-lightbox .srep-zoom-tools{flex-shrink:0;margin:0;justify-content:center}
.srep-lightbox .srep-zoom-stage{position:relative;flex:1;min-height:0;max-height:none;overflow:hidden;touch-action:none}
.srep-lightbox .srep-zoom-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;margin:0;user-select:none}
.srep-lightbox>p{flex-shrink:0;margin:0;font-size:13px;max-height:3em;overflow:auto}
.srep-lightbox:fullscreen{height:100dvh;max-height:100dvh}
@media(max-width:600px){.srep-lightbox[open]{width:96vw;padding:10px;gap:6px}.srep-lightbox .srep-zoom-tools{gap:4px}.srep-lightbox .srep-zoom-tools button{padding:7px;font-size:12px}}

/* Independent communities on Madinaty: matched media, compact two-card layout. */
.srep-communities .srep-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;direction:rtl;align-items:stretch}
.srep-communities .srep-community-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e7dbe3;border-radius:18px;background:#fffdfa}
.srep-communities .srep-community-logo{height:104px;flex:0 0 104px;display:flex;align-items:center;justify-content:center;padding:20px;background:#61244b;box-sizing:border-box;color:#fff}
.srep-communities .srep-community-logo img{display:block;width:190px;height:64px;max-width:80%;object-fit:contain;margin:0;padding:0}
.srep-communities .srep-community-image{aspect-ratio:16/9;overflow:hidden;background:#f9f2e9}
.srep-communities .srep-community-image img{display:block;width:100%;height:100%;object-fit:cover}
.srep-communities .srep-community-copy{display:flex;flex-direction:column;flex:1;gap:10px;padding:24px}
.srep-communities .srep-community-copy h3{margin:0;color:#61244b;font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.5}
.srep-communities .srep-community-copy p{margin:0;line-height:1.85}
.srep-communities .srep-community-subtitle{font-size:.9rem;color:#80707d;min-height:3.7em}
.srep-communities .srep-community-description{color:#5d5260;flex:1}
.srep-communities .srep-community-link{margin-top:10px;align-self:flex-start;color:#61244b;font-weight:700;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.srep-communities .srep-community-link:hover{text-decoration:underline;text-underline-offset:4px}
.srep-communities .srep-community-link:focus-visible{outline:2px solid #61244b;outline-offset:5px;border-radius:3px}
@media(max-width:640px){.srep-communities .srep-community-grid{grid-template-columns:minmax(0,1fr);gap:20px}.srep-communities .srep-community-copy{padding:20px}.srep-communities .srep-community-subtitle{min-height:0}}
