/* CEMKA V35 — final scoped detail-page layout corrections; no new widget or public note */
@media(min-width:1051px){body.cemka-site .cm24-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:769px) and (max-width:1050px){body.cemka-site .cm24-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){body.cemka-site .cm24-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){body.cemka-site .cm24-category-grid{grid-template-columns:1fr}}
@media(max-width:767px){
 /* Keep ONE bottom row of CTAs; other on-page enquiry forms remain in the page. */
 body.cemka-site.single-cemka_ilan .cm20-mobile-contact{z-index:1100;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;align-items:stretch;background:#fff}
 body.cemka-site.single-cemka_ilan .cm20-mobile-contact-copy{display:none!important}
 body.cemka-site.single-cemka_ilan .cm20-mobile-contact>a{min-width:0;min-height:46px;justify-content:center;padding:9px 8px;font-size:13px!important;overflow:hidden;text-overflow:ellipsis}
 body.cemka-site.single-cemka_ilan .cm20-mobile-wa{font-size:12px!important}
 body.cemka-site.single-cemka_ilan{padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}
 /* Consent preferences stay accessible but don't cover call controls. */
 body.cemka-site.single-cemka_ilan .cemka-cc__reopen{bottom:calc(80px + env(safe-area-inset-bottom))!important;left:12px!important;z-index:1105!important;max-width:128px!important;font-size:11px!important;padding:7px 9px!important}
 body.cemka-site.single-cemka_ilan .cm23-single-header{padding:20px 18px!important;margin-top:0;margin-bottom:16px}
 body.cemka-site.single-cemka_ilan .cm23-single-header h1{font-size:clamp(24px,6.6vw,31px)!important;line-height:1.15!important;letter-spacing:-.028em!important;margin:12px 0 12px!important}
 body.cemka-site.single-cemka_ilan .cm20-property-highlights>span{padding:8px 11px!important}
 body.cemka-site.single-cemka_ilan .cm20-single-jumps{padding-bottom:14px!important}
 body.cemka-site.single-cemka_ilan .cm20-single-jumps a{padding:8px 12px!important;font-size:12px!important}
}
@media(max-width:420px){
 body.cemka-site.single-cemka_ilan .cm23-single-header h1{font-size:clamp(22px,6.2vw,27px)!important}
 body.cemka-site.single-cemka_ilan .cm20-mobile-contact>a{font-size:12px!important}
}
@media(min-width:768px){body.cemka-site.single-cemka_ilan .cemka-cc__reopen{bottom:16px!important}}

@media(max-width:767px){body.cemka-site.single-cemka_ilan .cm35-hide-duplicate-callback{display:none!important}}

/* Reduce first-screen vertical cost on phones without shrinking the recognizable brand. */
@media(max-width:480px){
 body.cemka-site .cm-header .cm-header-inner{height:96px!important;min-height:96px!important}
 body.cemka-site .cm-header .cm-logo{flex:0 0 175px!important;width:175px!important;min-width:175px!important;max-width:175px!important}
 body.cemka-site .cm-header img.cm-brand-logo{width:175px!important;max-width:175px!important;height:78px!important;max-height:78px!important;object-fit:contain!important}
 body.cemka-site .cm-header img.cm181-logo-slogan-image{width:160px!important;max-width:160px!important;height:auto!important}
}
