/* v0.7.0: Theme integration for LDM 3.1.x; plugin owns business logic and gallery. */
body:has(.ldm-services-layout) .adt-ldm-shell,body:has(.ldm-jobs-results) .adt-ldm-shell,body:has(.ldm-property-results) .adt-ldm-shell,body:has(.ldm-job-single-v29) .adt-ldm-shell,body:has(.ldm-property-v25) .adt-ldm-shell,body:has(.ldm-module-single) .adt-ldm-shell{max-width:1320px;width:calc(100% - 32px);margin-inline:auto}
.adt-entry :is(.ldm-services-layout,.ldm-jobs-results,.ldm-property-results,.ldm-job-single-v29,.ldm-property-v25,.ldm-module-single){font-family:inherit;color:#182943;box-sizing:border-box}
.adt-entry :is(.ldm-services-layout,.ldm-jobs-results,.ldm-property-results,.ldm-job-single-v29,.ldm-property-v25,.ldm-module-single) *{box-sizing:border-box}
.adt-entry :is(.ldm-services-layout,.ldm-jobs-results,.ldm-property-results,.ldm-job-single-v29,.ldm-property-v25,.ldm-module-single) :is(h1,h2,h3){line-height:1.3;color:#152b4a}
.adt-entry :is(.ldm-services-layout,.ldm-jobs-results,.ldm-property-results,.ldm-job-single-v29,.ldm-property-v25,.ldm-module-single) :is(input,select,textarea){max-width:100%;font:inherit;border-radius:9px;border:1px solid #d9e2ee;background:#fff;color:#20324c}
.adt-entry :is(.ldm-services-layout,.ldm-jobs-results,.ldm-property-results,.ldm-job-single-v29,.ldm-property-v25,.ldm-module-single) a{transition:background-color .15s,border-color .15s,color .15s}
/* Services listing: editorial hero, sidebar and uniform cards */
.adt-entry .ldm-services-intro{background:linear-gradient(125deg,#eaf3ff,#f7fbff 65%,#eef9f5);border:1px solid #dae8f6;border-radius:18px;padding:clamp(18px,3vw,34px);margin-bottom:22px}
.adt-entry .ldm-services-layout{width:100%;max-width:none;align-items:start}
.adt-entry .ldm-services-sidebar,.adt-entry .ldm-services-filter-panel{border-radius:14px}
.adt-entry .ldm-services-grid{align-items:stretch}
.adt-entry .ldm-service-result{overflow:hidden;border:1px solid #e3eaf3;border-radius:15px;box-shadow:0 5px 22px rgba(20,40,70,.045);height:100%;background:#fff}
.adt-entry .ldm-sr-photo{overflow:hidden;background:#eef3f8}
.adt-entry .ldm-sr-photo img{display:block;width:100%;object-fit:cover}
.adt-entry .ldm-sr-body{min-width:0}
.adt-entry .ldm-sr-actions{display:flex;gap:9px;flex-wrap:wrap}
.adt-entry .ldm-sr-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;text-decoration:none;font-weight:700;border-radius:9px}
/* Jobs: preserve plugin job cards and single page; normalize theme spacing */
.adt-entry .ldm-jobs-results,.adt-entry .ldm-job-single-v29{width:100%;max-width:1220px;margin-inline:auto}
.adt-entry .ldm-jobs-grid{align-items:stretch}
.adt-entry .ldm-jobs-card{background:#fff;border:1px solid #e3eaf3;border-radius:15px;box-shadow:0 4px 17px rgba(20,40,70,.04);height:100%;min-width:0}
.adt-entry .ldm-job-single-v29 .ldm-job-layout{align-items:start}
.adt-entry .ldm-job-single-v29 :is(.ldm-job-hero,.ldm-job-facts,.ldm-job-section,.ldm-job-side){box-shadow:0 4px 18px rgba(22,41,74,.045)}
.adt-entry .ldm-job-single-v29 .ldm-job-tabs{max-width:100%;overflow-x:auto}
/* Property: keep property plugin's compact detail layout and gallery untouched */
.adt-entry .ldm-property-results{width:100%;max-width:1260px;margin-inline:auto}
.adt-entry .ldm-pr-grid{align-items:stretch}
.adt-entry .ldm-property-result{background:#fff;border:1px solid #e3eaf3;border-radius:15px;overflow:hidden;box-shadow:0 4px 17px rgba(20,40,70,.045)}
.adt-entry .ldm-pr-photo{overflow:hidden;background:#eef3f8}
.adt-entry .ldm-pr-photo img{display:block;width:100%;object-fit:cover}
.adt-entry .ldm-property-v25{max-width:1320px;margin-inline:auto}
.adt-entry .ldm-property-v25 .ldm-property-v25-layout{min-width:0}
/* Generic Services single: until dedicated renderer lands, make canonical plugin detail readable */
.adt-entry .ldm-module-single{max-width:1180px;margin:24px auto 48px}
.adt-entry .ldm-module-single :is(.ldm-module-hero,.ldm-display-section){border:1px solid #e2eaf4;border-radius:15px;box-shadow:0 4px 18px rgba(22,41,74,.045);padding:clamp(17px,2.5vw,28px);margin-bottom:18px;background:#fff}
.adt-entry .ldm-module-single .ldm-detail-row{min-width:0;overflow-wrap:anywhere}
.adt-entry .ldm-module-single .ldm-contact-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;background:#1d5bd8;color:#fff;font-weight:700}
@media(max-width:900px){.adt-entry .ldm-services-layout{grid-template-columns:1fr}.adt-entry .ldm-job-single-v29 .ldm-job-layout,.adt-entry .ldm-property-v25 .ldm-property-v25-layout{grid-template-columns:1fr}.adt-entry .ldm-services-sidebar{position:static}}
@media(max-width:620px){body:has(.ldm-services-layout) .adt-ldm-shell,body:has(.ldm-jobs-results) .adt-ldm-shell,body:has(.ldm-property-results) .adt-ldm-shell,body:has(.ldm-job-single-v29) .adt-ldm-shell,body:has(.ldm-property-v25) .adt-ldm-shell,body:has(.ldm-module-single) .adt-ldm-shell{width:calc(100% - 24px)}.adt-entry .ldm-services-intro{padding:18px}.adt-entry :is(.ldm-services-grid,.ldm-jobs-grid,.ldm-pr-grid){grid-template-columns:minmax(0,1fr)}.adt-entry .ldm-job-single-v29 .ldm-job-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.adt-entry .ldm-job-single-v29 .ldm-job-sidebar{grid-template-columns:1fr}}
