
:root{--cteja-navy:#073b73;--cteja-navy2:#0c4f86;--cteja-orange:#ff6b0a;--cteja-text:#0b1f3a;--cteja-muted:#6f7d91;--cteja-line:#e4e9f0;--cteja-bg:#f6f8fb}
body.single-project,body.single-projects{background:#fff}
.cteja-project-page{font-family:inherit;color:var(--cteja-text);background:#fff}
.cteja-project-page *{box-sizing:border-box}
.cteja-project-page a{text-decoration:none!important}
.cteja-search-strip{background:#fff;border-bottom:1px solid var(--cteja-line);box-shadow:0 2px 10px rgba(11,31,58,.04)}
.cteja-search-form{max-width:1220px;margin:auto;padding:10px 16px;display:grid;grid-template-columns:minmax(260px,1fr) 135px 160px 160px 80px 120px;gap:8px;align-items:center}
.cteja-search-form input,.cteja-search-form select{width:100%;height:42px;border:1px solid #dbe2ec;border-radius:5px;background:#fff;padding:0 12px;color:#41516a;font-size:13px}
.cteja-search-keyword{position:relative}.cteja-search-keyword input{padding-left:38px}.cteja-search-icon{position:absolute;left:13px;top:8px;font-size:22px;color:#8292a6;z-index:2}
.cteja-clear{height:42px;border:1px solid #dbe2ec;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#66758a!important;background:#fff;font-size:13px}
.cteja-btn{border:0;border-radius:5px;background:var(--cteja-orange);color:#fff!important;font-weight:700;min-height:42px;padding:10px 20px;cursor:pointer;text-align:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important}
.cteja-btn:hover{background:#e95b00;color:#fff!important}
.cteja-project-wrap{max-width:1220px;margin:0 auto;padding:16px}
.cteja-breadcrumb{display:flex;gap:9px;align-items:center;font-size:12px;color:#778499;margin:2px 0 12px}.cteja-breadcrumb a{color:var(--cteja-navy)!important}
.cteja-project-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:2px 0 18px;border-bottom:1px solid var(--cteja-line)}
.cteja-project-head h1{font-size:32px;line-height:1.15;margin:8px 0 8px;color:#082d5e;font-weight:800;text-decoration:none!important;border:0!important}
.cteja-location{font-size:14px;color:#4d5e75}.cteja-status{display:inline-flex;background:#075a8a;color:#fff!important;border-radius:4px;padding:5px 10px;font-size:10px;font-weight:800;letter-spacing:.03em}
.cteja-status.completed{background:#16834d}.cteja-status.upcoming{background:#8c5a0a}
.cteja-price-box{text-align:right;min-width:160px}.cteja-price-box small{display:block;font-size:10px;color:#718099;margin-bottom:5px}.cteja-price-box strong{font-size:26px;color:#0a4489}
.cteja-hero-grid{display:grid;grid-template-columns:45% 55%;gap:34px;padding:22px 0}
.cteja-main-image{border-radius:8px;overflow:hidden;background:#eef2f7 center center/cover no-repeat;min-height:360px;width:100%!important}.cteja-main-image.has-image{background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important}.cteja-main-image img{display:none!important}.cteja-no-image{height:360px;display:flex;align-items:center;justify-content:center;color:#8190a5}
.cteja-intro{padding:10px 4px}.cteja-intro-text{font-size:14px;line-height:1.75;color:#23364f}.cteja-intro-text p{margin-top:0}
.cteja-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:24px}
.cteja-feature{min-height:76px;display:flex;align-items:center;gap:12px;padding:12px 14px;border-right:1px solid var(--cteja-line);border-bottom:1px solid var(--cteja-line)}
.cteja-feature:nth-child(3n){border-right:0}.cteja-feature:nth-last-child(-n+3){border-bottom:0}
.cteja-feature-icon{width:38px;height:38px;border-radius:9px;background:#f2f6fb;display:flex;align-items:center;justify-content:center;color:#0c4f99;font-size:21px;flex:0 0 38px}
.cteja-feature strong{display:block;font-size:13px;color:#102a4f}.cteja-feature small{display:block;font-size:12px;color:#697992;margin-top:3px}
.cteja-content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr) minmax(280px,.72fr);gap:14px;align-items:start;background:var(--cteja-bg);margin:0 -16px;padding:14px 16px 20px}
.cteja-card,.cteja-enquiry-card{background:#fff;border:1px solid #dfe5ed;border-radius:7px;padding:16px;margin-bottom:12px;box-shadow:0 1px 2px rgba(10,35,70,.02)}
.cteja-card h2{font-size:16px;margin:0 0 14px;padding-left:12px;position:relative;color:#102a4f}.cteja-card h2:before{content:"";position:absolute;left:0;top:1px;width:3px;height:18px;border-radius:2px;background:var(--cteja-orange)}
.cteja-overview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.cteja-overview-grid>div{background:#f7f9fc;padding:13px;border-radius:5px}.cteja-overview-grid small{display:block;color:#78869a;font-size:11px}.cteja-overview-grid strong{display:block;margin-top:5px;color:#0d478d;font-size:14px}
.cteja-description{font-size:13px;line-height:1.7;color:#44536a}.cteja-description p:last-child{margin-bottom:0}
.cteja-amenities{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 18px}.cteja-amenity{display:flex;gap:9px;align-items:flex-start;font-size:12px}.cteja-amenity>span{color:var(--cteja-orange);font-weight:800}.cteja-amenity strong{display:block}.cteja-amenity small{display:block;color:#78869a;margin-top:2px}
.cteja-details-card dl{margin:0}.cteja-details-card dl>div{display:grid;grid-template-columns:47% 53%;gap:10px;padding:9px 0;border-bottom:1px solid var(--cteja-line);font-size:12px}.cteja-details-card dl>div:last-child{border-bottom:0}.cteja-details-card dt{color:#6f7d91}.cteja-details-card dd{margin:0;color:#0b4388;font-weight:700}
.cteja-enquiry-card{position:sticky;top:110px;margin-bottom:0}.cteja-enquiry-card h3{font-size:16px;margin:0 0 4px}.cteja-enquiry-card p{font-size:11px;color:#718096;margin:0 0 12px}.cteja-enquiry-card input,.cteja-enquiry-card textarea{width:100%;border:1px solid #d7e0eb;border-radius:4px;padding:10px 11px;margin-bottom:9px;font:inherit;font-size:12px;background:#fff}.cteja-enquiry-card textarea{resize:vertical}.cteja-enquiry-card .cteja-btn{width:100%}
.cteja-success{background:#e9f8ef;border:1px solid #b7e4c7;color:#21643c;padding:9px;border-radius:4px;margin-bottom:10px;font-size:12px}
.cteja-related{padding:25px 0 40px}.cteja-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.cteja-section-title h2{font-size:24px;margin:0;color:#102a4f}.cteja-section-title a{font-size:12px;font-weight:700;color:#0b4a91!important}
.cteja-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cteja-related-card{border:1px solid #dfe5ed;border-radius:7px;overflow:hidden;background:#fff;transition:.2s}.cteja-related-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(10,35,70,.08)}
.cteja-related-image{display:block;position:relative;height:150px;background:#edf2f7}.cteja-related-image img{width:100%;height:100%;object-fit:cover;display:block}.cteja-related-image .cteja-status{position:absolute;left:9px;top:9px}
.cteja-related-body{padding:12px}.cteja-related-body h3{margin:0 0 5px;font-size:14px;line-height:1.3;text-decoration:none!important}.cteja-related-body h3 a{color:#102a4f!important;text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}.cteja-related-body p{margin:0 0 8px;font-size:11px;color:#6d7c91}.cteja-related-body strong{font-size:12px;color:#0b4a91}
.cteja-no-related{color:#718096;font-size:13px}

/* FORCE REMOVE UNDERLINES / BAD CARD ALIGNMENT FROM THEME */
body .project a,body .projects a,body [class*="project"] a,body .cteja-project-page a{ text-decoration:none!important; text-underline-offset:0!important; box-shadow:none!important}
body .project h1 a,body .project h2 a,body .project h3 a,body .project h4 a,
body [class*="project"] h1 a,body [class*="project"] h2 a,body [class*="project"] h3 a,body [class*="project"] h4 a{border-bottom:0!important;text-decoration:none!important}
body .project .button,body .project .btn,body [class*="project"] .button,body [class*="project"] .btn{vertical-align:middle}

@media(max-width:1024px){
 .cteja-search-form{grid-template-columns:1fr 1fr 1fr}.cteja-search-keyword{grid-column:1/-1}
 .cteja-hero-grid{grid-template-columns:1fr}.cteja-main-image{min-height:420px;max-height:520px}
 .cteja-content-grid{grid-template-columns:1fr 1fr}.cteja-left-col{grid-column:1}.cteja-middle-col{grid-column:2}.cteja-enquiry-card{grid-column:1/-1;position:static}
 .cteja-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
 .cteja-project-wrap{padding:12px}
 .cteja-search-form{grid-template-columns:1fr 1fr;padding:10px 12px}.cteja-search-keyword{grid-column:1/-1}.cteja-search-btn{grid-column:2}.cteja-clear{grid-column:1;grid-row:4}
 .cteja-project-head{align-items:flex-start}.cteja-project-head h1{font-size:25px}.cteja-price-box strong{font-size:20px}
 .cteja-hero-grid{padding-top:14px;gap:16px}.cteja-features{grid-template-columns:1fr 1fr}.cteja-feature,.cteja-feature:nth-child(3n),.cteja-feature:nth-last-child(-n+3){border-right:1px solid var(--cteja-line);border-bottom:1px solid var(--cteja-line)}.cteja-feature:nth-child(2n){border-right:0}
 .cteja-content-grid{display:block;margin:0 -12px;padding:12px}.cteja-overview-grid,.cteja-amenities{grid-template-columns:1fr}
 .cteja-related-grid{grid-template-columns:1fr 1fr}.cteja-related-image{height:120px}
}
@media(max-width:480px){
 .cteja-project-head{display:block}.cteja-price-box{text-align:left;margin-top:14px}
 .cteja-features{grid-template-columns:1fr}.cteja-feature{border-right:0!important}
 .cteja-related-grid{grid-template-columns:1fr}.cteja-related-image{height:190px}
}


/* V1.1 - stronger theme override and compact empty-space handling */
body.single-project .cteja-project-wrap,
body.single-projects .cteja-project-wrap{width:100%!important;max-width:1220px!important}
body.single-project .cteja-main-image,
body.single-projects .cteja-main-image{display:block!important;width:100%!important;min-width:100%!important}
.cteja-hero-grid{align-items:stretch}
.cteja-intro{min-width:0}
.cteja-amenities:empty{display:none!important}
@media(max-width:700px){
  .cteja-main-image{min-height:300px!important}
}


/* V1.2 HARD OVERRIDES — defeats legacy CTEJA Core / property template sizing */
html body.single-project .cteja-hero-grid,
html body.single-projects .cteja-hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,45%) minmax(0,55%)!important;
    gap:34px!important;
    width:100%!important;
    max-width:none!important;
}
html body.single-project .cteja-main-image,
html body.single-projects .cteja-main-image{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:380px!important;
    min-height:380px!important;
    background-size:cover!important;
    background-position:center!important;
    border-radius:8px!important;
    overflow:hidden!important;
}
html body.single-project .cteja-main-image img,
html body.single-projects .cteja-main-image img{display:none!important}
html body.single-project .cteja-intro,
html body.single-projects .cteja-intro{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
}
html body.single-project .cteja-content-grid,
html body.single-projects .cteja-content-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr) minmax(260px,.72fr)!important;
    gap:14px!important;
}
html body.single-project .cteja-related:has(.cteja-related-grid:empty),
html body.single-projects .cteja-related:has(.cteja-related-grid:empty){display:none!important}

@media(max-width:1024px){
 html body.single-project .cteja-hero-grid,
 html body.single-projects .cteja-hero-grid{grid-template-columns:1fr!important}
 html body.single-project .cteja-main-image,
 html body.single-projects .cteja-main-image{height:430px!important;min-height:430px!important}
 html body.single-project .cteja-content-grid,
 html body.single-projects .cteja-content-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
 html body.single-project .cteja-main-image,
 html body.single-projects .cteja-main-image{height:300px!important;min-height:300px!important}
 html body.single-project .cteja-content-grid,
 html body.single-projects .cteja-content-grid{display:block!important}
}
