.mj-badge-sponsored{background:#fee2e2!important;color:#991b1b!important}.mj-badge.dark{background:#111827!important;color:#fff!important}.mj-badge.hot{background:#fff1f2!important;color:#be123c!important}.mj-listing-stats{display:flex;gap:.6rem;flex-wrap:wrap;color:#64748b;font-size:.82rem}.mj-listing-stats span{display:inline-flex;align-items:center;gap:.25rem}.mj-share-panel .btn{border-radius:999px}.mj-thumb{width:84px;height:70px;object-fit:cover;border-radius:12px;border:2px solid #e5e7eb;cursor:pointer}.mj-thumb.active{border-color:#2563eb}.mj-photo-manage img{width:110px;height:82px;object-fit:cover;border-radius:12px}.mj-status-sold{filter:grayscale(.25);opacity:.88}.mj-qr-box{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;text-align:center}.mj-live-toast{border-radius:16px;overflow:hidden;box-shadow:0 20px 50px rgba(15,23,42,.18)}

/* MJ frontend recovery: property, agent and company modules. Scoped to existing markup. */
.mj-home-property-section,.mj-property-country-hero,.mj-agent-profile-hero,.mj-company-hero{overflow:hidden}
.mj-home-property-shell{position:relative}
.mj-home-property-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:1rem 0}
.mj-home-property-copy h2{margin:0 0 .55rem;font-weight:750;line-height:1.2}
.mj-home-property-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.mj-home-property-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.mj-home-property-stats>a{display:flex;min-width:0;min-height:82px;flex-direction:column;justify-content:center;padding:.9rem;border:1px solid #e4e9f1;border-radius:16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.mj-home-property-stats>a:hover{border-color:#b9c8e6;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.mj-home-property-stats b{font-size:1.18rem;line-height:1.15;color:var(--mj-primary,#2563eb)}
.mj-home-property-stats span{margin-top:.25rem;color:#667085;font-size:.8rem;line-height:1.3}
.mj-home-agent-panel{min-width:0;border:1px solid #e2e8f0}
.mj-property-agent-mini{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;column-gap:.8rem;align-items:center;min-width:0;padding:.65rem;border:1px solid transparent;border-radius:14px;color:#172033;text-decoration:none}
.mj-property-agent-mini:hover{border-color:#d6e0ef;background:#f8fbff}
.mj-property-agent-mini>span{grid-row:1/3;display:flex;width:58px;height:58px;align-items:center;justify-content:center;overflow:hidden;border-radius:14px;background:#eef4ff;color:var(--mj-primary,#2563eb);font-size:1.35rem}
.mj-property-agent-mini img{display:block;width:100%;height:100%;object-fit:cover}
.mj-property-agent-mini b,.mj-property-agent-mini small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mj-property-agent-mini b{align-self:end;font-size:.95rem;line-height:1.25}
.mj-property-agent-mini small{align-self:start;color:#667085;font-size:.78rem}
.mj-home-property-empty{display:flex;align-items:center;gap:1rem;padding:1rem 1.15rem;border:1px dashed #bfcee4;border-radius:16px;background:#f8fbff}
.mj-home-property-empty>i{flex:0 0 auto;color:var(--mj-primary,#2563eb);font-size:1.6rem}
.mj-home-property-empty>div{display:flex;min-width:0;flex:1;flex-direction:column}
.mj-home-property-empty>div span{color:#667085;font-size:.9rem}

.mj-property-country-hero{border-bottom:1px solid #edf1f6}
.mj-country-quick-strip,.mj-property-type-strip,.mj-agent-filter-chips{display:flex;max-width:100%;gap:.55rem;overflow-x:auto;padding:.15rem .1rem .4rem;scrollbar-width:thin}
.mj-country-quick-strip .mj-chip,.mj-property-type-strip .mj-chip,.mj-agent-filter-chips .mj-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:.35rem;padding:.48rem .8rem;border:1px solid #dce3ee;border-radius:999px;background:#fff;color:#344054;font-size:.82rem;font-weight:650;text-decoration:none;white-space:nowrap}
.mj-country-quick-strip .mj-chip:hover,.mj-property-type-strip .mj-chip:hover,.mj-agent-filter-chips .mj-chip:hover,.mj-country-quick-strip .mj-chip.active,.mj-property-type-strip .mj-chip.active,.mj-agent-filter-chips .mj-chip.active{border-color:var(--mj-primary,#2563eb);background:#eef4ff;color:var(--mj-primary,#2563eb)}
.mj-property-search{border:1px solid #e0e7f0;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.05)}
.mj-property-search label{margin-bottom:.38rem}
.mj-property-search .form-control,.mj-property-search .form-select{min-height:44px}
.mj-result-toolbar{min-width:0}
.mj-result-toolbar>div{min-width:0}
.mj-property-pagination .page-link{min-width:42px;text-align:center}

.mj-agent-quick-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.mj-agent-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.mj-agent-summary-card{display:flex;min-width:0;flex-direction:column;padding:1rem;border:1px solid #e1e7ef;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}
.mj-agent-summary-card b{font-size:1.35rem;line-height:1.15;color:#172033}
.mj-agent-summary-card span{margin-top:.25rem;color:#667085;font-size:.8rem}
.mj-agent-result-item{min-width:0}
.mj-property-agent-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff}
.mj-agent-card-body{display:flex;min-width:0;flex:1;flex-direction:column;padding:1rem}
.mj-agent-topline{display:flex;min-width:0;align-items:flex-start;gap:.9rem}
.mj-property-agent-avatar{display:flex;flex:0 0 74px;width:74px;height:74px;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dce5f2;border-radius:18px;background:#eef4ff;color:var(--mj-primary,#2563eb);font-size:1.35rem;font-weight:750;text-decoration:none}
.mj-property-agent-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.mj-property-agent-avatar.is-broken:after{content:'Agent';font-size:.72rem}
.mj-agent-title-wrap{min-width:0;flex:1}
.mj-agent-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.45rem}
.mj-agent-name{margin:0;font-size:1.05rem;line-height:1.32;overflow-wrap:anywhere}
.mj-agent-name a{color:#172033;text-decoration:none}
.mj-agent-name a:hover{color:var(--mj-primary,#2563eb)}
.mj-agent-agency{display:-webkit-box;overflow:hidden;margin-top:.25rem;color:#667085;font-size:.83rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.mj-agent-trust-strip{display:flex;align-items:flex-start;gap:.5rem;margin:.9rem 0;padding:.65rem .75rem;border-radius:12px;background:#f5f8fc;color:#475467;font-size:.78rem;line-height:1.45}
.mj-agent-trust-strip i{margin-top:.1rem;color:var(--mj-primary,#2563eb)}
.mj-agent-facts{display:grid;gap:.52rem}
.mj-agent-fact{display:grid;grid-template-columns:18px auto minmax(0,1fr);align-items:start;gap:.4rem;min-width:0;color:#667085;font-size:.79rem}
.mj-agent-fact i{color:#64748b}
.mj-agent-fact b{min-width:0;color:#344054;font-weight:650;text-align:right;overflow-wrap:anywhere}
.mj-agent-speciality{display:-webkit-box;overflow:hidden;margin:.85rem 0 0;color:#475467;font-size:.82rem;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.mj-agent-speciality.muted{color:#667085}
.mj-agent-card-footer{padding:.8rem 1rem 1rem;border-top:1px solid #edf1f5}
.mj-agent-card-actions-row{display:flex;flex-wrap:wrap;gap:.45rem}
.mj-agent-contact-lock{display:flex;width:100%;align-items:center;gap:.4rem;color:#667085;font-size:.75rem}
.mj-agent-empty{overflow:hidden}

.mj-agent-profile-hero{border-bottom:1px solid #e7ecf2;background:#f8fafc}
.mj-agent-profile-photo{display:flex;flex:0 0 150px;width:150px;height:150px;align-items:center;justify-content:center;overflow:hidden;border:5px solid #fff;border-radius:28px;background:#eef4ff;box-shadow:0 12px 32px rgba(15,23,42,.12)}
.mj-agent-profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
.mj-agent-contact-stack{display:grid;gap:.65rem;min-width:0}
.mj-reveal-contact,.mj-agent-contact-line{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:.7rem;min-width:0;padding:.7rem;border:1px solid #e3e8ef;border-radius:13px;background:#fff;color:#344054;text-decoration:none}
.mj-reveal-contact:hover{border-color:#bdcbea;background:#f8fbff}
.mj-reveal-contact-icon{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:11px;background:#eef4ff;color:var(--mj-primary,#2563eb)}
.mj-reveal-contact-body{display:flex;min-width:0;flex-direction:column;overflow-wrap:anywhere}
.mj-contact-label{color:#667085;font-size:.72rem}
.mj-contact-full{display:none}
.mj-reveal-contact:hover .mj-contact-mask,.mj-reveal-contact:focus .mj-contact-mask{display:none}
.mj-reveal-contact:hover .mj-contact-full,.mj-reveal-contact:focus .mj-contact-full{display:inline}
.mj-contact-hint{color:var(--mj-primary,#2563eb);font-size:.75rem;font-weight:700}
.mj-agent-contact-line>i{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:11px;background:#f2f4f7;color:#475467}
.mj-agent-contact-line>span{color:#667085;font-size:.75rem}
.mj-agent-contact-line>a,.mj-agent-contact-line>b{min-width:0;overflow-wrap:anywhere}

.mj-company-hero{color:#fff}
.mj-company-hero .text-muted,.mj-company-hero .lead{color:rgba(255,255,255,.78)!important}
.mj-company-hero-container,.mj-company-hero-main,.mj-company-title-zone{min-width:0}
.mj-company-title-zone h1,.mj-company-title-zone p{overflow-wrap:anywhere}
.mj-company-badge-row{min-width:0}
.mj-company-action-row{display:flex;flex-wrap:wrap;gap:.6rem}
.mj-company-quick-meta{display:flex;flex-wrap:wrap;gap:.55rem 1rem;color:rgba(255,255,255,.78);font-size:.82rem}
.mj-company-quick-meta span,.mj-company-quick-meta a{display:inline-flex;align-items:center;gap:.35rem;color:inherit;text-decoration:none}
.mj-company-hero-stats{display:flex;max-width:640px;flex-wrap:wrap;gap:.6rem}
.mj-company-hero-stats>a,.mj-company-hero-stats>span{display:flex;min-width:96px;flex:1 1 110px;flex-direction:column;padding:.7rem .85rem;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.08);color:#fff;text-align:left;text-decoration:none;backdrop-filter:blur(8px)}
.mj-company-hero-stats b{font-size:1.12rem;line-height:1.2}
.mj-company-hero-stats span,.mj-company-hero-stats em{color:rgba(255,255,255,.72);font-size:.72rem;font-style:normal}
.mj-company-logo-col{min-width:0}
.mj-company-logo-frame{display:inline-flex;width:min(100%,260px);flex-direction:column;align-items:stretch;padding:.65rem;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.11);box-shadow:0 16px 44px rgba(0,0,0,.2);backdrop-filter:blur(10px)}
.mj-company-detail-logo,.mj-company-logo-placeholder{width:100%;height:190px;object-fit:contain;border-radius:16px;background:#fff}
.mj-company-logo-placeholder{display:flex;align-items:center;justify-content:center;color:#64748b}
.mj-company-logo-caption{padding:.6rem .25rem .1rem;color:rgba(255,255,255,.78);font-size:.78rem;text-align:center}
.mj-company-overview-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}
.mj-company-overview-item{display:flex;min-width:0;align-items:center;gap:.75rem;padding:.9rem;border:1px solid #e1e7ef;border-radius:16px;background:#fff;color:#344054;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.mj-company-overview-item:hover{border-color:#b9c8e6;box-shadow:0 10px 25px rgba(15,23,42,.08)}
.mj-company-overview-item>i{display:flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#eef4ff;color:var(--mj-primary,#2563eb);font-size:1.1rem}
.mj-company-overview-item span{display:flex;min-width:0;flex-direction:column}
.mj-company-overview-item b,.mj-company-overview-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mj-company-overview-item small{color:#667085}
.mj-company-section-card,.mj-company-about-card,.mj-company-enquiry-card,.mj-company-trust-card,.mj-company-share-card{min-width:0;border:1px solid #e2e8f0;border-radius:18px}
.mj-company-section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.mj-company-section-title h3,.mj-company-section-title h4{margin:0}
.mj-company-readable-text{color:#475467;line-height:1.7;overflow-wrap:anywhere}
.mj-company-services-grid{min-width:0}
.mj-company-service-tile{height:100%;min-width:0;padding:1rem;border:1px solid #e1e7ef;border-radius:15px;background:#fff}
.mj-company-service-tile b,.mj-company-service-tile p{overflow-wrap:anywhere}
.mj-company-gallery-grid img,.mj-company-gallery-thumb{display:block;width:100%;height:180px;object-fit:cover;border-radius:14px}
.mj-company-gallery-thumb{overflow:hidden;border:0;padding:0;background:#eef2f6}
.mj-company-gallery-modal-img{max-width:100%;max-height:78vh;object-fit:contain}
.mj-company-branch-list,.mj-company-enquiry-card form,.mj-clean-form{min-width:0}
.mj-company-enquiry-card .form-control,.mj-company-enquiry-card .form-select,.mj-clean-form .form-control,.mj-clean-form .form-select{max-width:100%}
.mj-company-trust-card,.mj-company-share-card{overflow-wrap:anywhere}
.mj-company-mobile-action-bar{display:none}

@media (max-width:991.98px){
  .mj-home-property-copy{padding-top:0}
  .mj-home-property-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mj-agent-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mj-agent-profile-hero .d-flex{align-items:flex-start!important}
  .mj-company-logo-col{text-align:left!important}
  .mj-company-logo-frame{margin-left:0!important}
  .mj-company-hero-container{margin-top:0!important;padding-top:1.25rem!important}
  .mj-company-mobile-action-bar{position:fixed;right:.65rem;bottom:76px;left:.65rem;z-index:1030;display:flex;gap:.4rem;padding:.5rem;border:1px solid #dce4ef;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 14px 36px rgba(15,23,42,.18);backdrop-filter:blur(12px)}
  .mj-company-mobile-action-bar .btn{display:flex;min-width:0;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;padding:.48rem .3rem;font-size:.68rem;line-height:1.15}
  .mj-company-mobile-action-bar .btn i{margin:0!important;font-size:1rem}
}
@media (max-width:767.98px){
  .mj-home-property-actions .btn{flex:1 1 auto}
  .mj-home-property-empty{align-items:flex-start;flex-wrap:wrap}
  .mj-home-property-empty .btn{margin-left:2.6rem}
  .mj-property-search{padding:1rem!important}
  .mj-result-toolbar{align-items:flex-start!important}
  .mj-result-toolbar>.btn,.mj-result-toolbar>a.btn{width:100%}
  .mj-property-agent-avatar{flex-basis:64px;width:64px;height:64px;border-radius:15px}
  .mj-agent-card-body{padding:.9rem}
  .mj-agent-card-footer{padding:.75rem .9rem .9rem}
  .mj-agent-fact{grid-template-columns:17px minmax(0,1fr)}
  .mj-agent-fact b{grid-column:2;text-align:left}
  .mj-agent-profile-photo{flex-basis:112px;width:112px;height:112px;border-radius:22px}
  .mj-agent-profile-hero .d-flex{gap:1rem!important}
  .mj-company-action-row .btn{flex:1 1 145px;min-width:0}
  .mj-company-hero-stats>a,.mj-company-hero-stats>span{min-width:80px;padding:.6rem}
  .mj-company-overview-strip{grid-template-columns:1fr 1fr}
  .mj-company-gallery-grid img,.mj-company-gallery-thumb{height:145px}
}
@media (max-width:575.98px){
  .mj-home-property-stats{grid-template-columns:1fr 1fr;gap:.55rem}
  .mj-home-property-stats>a{min-height:72px;padding:.7rem}
  .mj-property-agent-mini{grid-template-columns:50px minmax(0,1fr)}
  .mj-property-agent-mini>span{width:50px;height:50px;border-radius:12px}
  .mj-agent-summary-grid{gap:.55rem}
  .mj-agent-summary-card{padding:.75rem}
  .mj-agent-summary-card b{font-size:1.15rem}
  .mj-agent-card-actions-row .btn{flex:1 1 auto}
  .mj-agent-profile-photo{flex-basis:92px;width:92px;height:92px;border-radius:19px}
  .mj-reveal-contact,.mj-agent-contact-line{grid-template-columns:36px minmax(0,1fr);padding:.6rem}
  .mj-contact-hint{display:none}
  .mj-company-overview-strip{grid-template-columns:1fr}
  .mj-company-logo-frame{width:200px}
  .mj-company-detail-logo,.mj-company-logo-placeholder{height:145px}
  .mj-company-quick-meta{display:grid;grid-template-columns:1fr}
  .mj-company-action-row .btn{flex-basis:calc(50% - .35rem);padding:.65rem .5rem;font-size:.82rem}
  .mj-company-mobile-action-bar{right:.4rem;bottom:70px;left:.4rem}
}

/* Company detail conversion and sharing controls */
.mj-company-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.mj-company-share-actions .btn{display:flex;min-width:0;align-items:center;justify-content:center;overflow-wrap:anywhere}
.mj-company-share-feedback{min-height:1.25rem}
.mj-company-gallery-thumb img{aspect-ratio:4/3}
@media (max-width:420px){
  .mj-company-share-actions{grid-template-columns:1fr}
}

/* Company detail clean layout: scoped, no global layout changes. */
.mj-company-hero .mj-company-action-row{align-items:stretch;gap:.55rem}
.mj-company-hero .mj-company-action-row .btn{display:inline-flex;min-height:42px;align-items:center;justify-content:center;border-radius:999px;font-size:.82rem;font-weight:700;line-height:1.2;white-space:nowrap}
.mj-company-hero .mj-company-save-btn.btn-outline-success{border-color:rgba(134,239,172,.9);color:#dcfce7}
.mj-company-hero .mj-company-save-btn.btn-outline-success:hover{background:#16a34a;color:#fff}
.mj-company-secondary-actions{display:flex;flex-wrap:wrap;gap:.45rem .9rem}
.mj-company-secondary-actions a{display:inline-flex;align-items:center;gap:.35rem;color:rgba(255,255,255,.82);font-size:.8rem;font-weight:650;text-decoration:none}
.mj-company-secondary-actions a:hover{color:#fff;text-decoration:underline}
.company-layout-grid{align-items:flex-start}
.company-main-stack,.company-sidebar-stack{display:grid;gap:1rem;min-width:0}
.company-main-stack>.mj-card,.company-main-stack>.company-listings-section,.company-main-stack>.company-section-block{margin:0!important}
.company-sidebar-stack>.mj-card{margin:0!important}
.mj-company-section-card,.mj-company-enquiry-card,.company-contact-sidebar,.mj-company-claim-card,.mj-company-trust-card,.mj-company-share-card,#company-locations{box-shadow:0 8px 24px rgba(15,23,42,.045)}
.mj-company-section-title{align-items:flex-start;justify-content:flex-start;min-width:0}
.mj-company-section-title>span:first-child{display:flex;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center;border-radius:12px;background:#eef4ff;color:var(--mj-primary,#2563eb);font-size:1rem}
.mj-company-section-title>div{min-width:0;flex:1}
.mj-company-section-title h3{font-size:1.04rem;line-height:1.28;overflow-wrap:anywhere}
.mj-company-section-title p{margin:.18rem 0 0;color:#667085;font-size:.78rem;line-height:1.4}
.mj-company-section-title.with-count em{flex:0 0 auto;padding:.32rem .58rem;border-radius:999px;background:#f2f4f7;color:#475467;font-size:.72rem;font-style:normal;font-weight:700;white-space:nowrap}
.mj-company-services-grid>[class*="col-"]{display:flex}
.mj-company-service-tile{display:flex;width:100%;min-height:100px;flex-direction:column;justify-content:flex-start;gap:.5rem;padding:.85rem .95rem;border-color:#e6ebf2;background:#fff}
.mj-company-service-heading{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:.75rem}
.mj-company-service-heading b{display:flex;min-width:0;align-items:flex-start;gap:.45rem;color:#172033;font-size:.88rem;line-height:1.4}
.mj-company-service-heading b i{flex:0 0 auto;margin-top:.1rem;color:#22a447}
.mj-company-service-heading b span{min-width:0;overflow-wrap:anywhere}
.mj-company-service-heading small{flex:0 0 auto;color:#475467;font-size:.7rem;font-weight:700;text-align:right;white-space:nowrap}
.mj-company-service-tile p{display:-webkit-box;overflow:hidden;margin:0;color:#667085;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.mj-company-service-actions{display:flex;flex-wrap:wrap;gap:.55rem;padding-top:.85rem;border-top:1px solid #edf1f5}
.mj-company-service-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;font-size:.78rem}
.company-sidebar-stack{position:sticky;top:92px}
.mj-company-info-list{display:grid;gap:.55rem}
.mj-company-info-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:.65rem;min-width:0;padding:.65rem;border:1px solid #e5eaf1;border-radius:13px;background:#fff;color:#344054;text-decoration:none}
.mj-company-info-row:hover{border-color:#bfcdea;background:#f8fbff;color:#172033}
.mj-company-info-row>i{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:11px;background:#eef4ff;color:var(--mj-primary,#2563eb)}
.mj-company-info-row.is-whatsapp>i{background:#ecfdf3;color:#16a34a}
.mj-company-info-row>span{display:flex;min-width:0;flex-direction:column}
.mj-company-info-row small{color:#667085;font-size:.69rem;line-height:1.2}
.mj-company-info-row b{min-width:0;color:#344054;font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
.mj-company-info-row em{padding:.3rem .48rem;border-radius:999px;background:#f2f4f7;color:#475467;font-size:.67rem;font-style:normal;font-weight:750}
.mj-company-social-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-top:.75rem;border-top:1px solid #edf1f5;color:#667085;font-size:.75rem;font-weight:700}
.mj-company-social-row>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}
.mj-company-social-row a{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border:1px solid #dfe5ed;border-radius:10px;background:#fff;color:#344054;text-decoration:none}
.mj-company-social-row a:hover{border-color:#b9c7dc;color:var(--mj-primary,#2563eb)}
.mj-company-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.mj-company-related-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #e3e8ef;border-radius:16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.mj-company-related-card:hover{transform:translateY(-2px);border-color:#bdcbea;box-shadow:0 12px 28px rgba(15,23,42,.09)}
.mj-company-related-media{position:relative;display:block;overflow:hidden;aspect-ratio:3/2;background:#eef2f6}
.mj-company-related-media img,.mj-company-related-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;object-fit:cover;color:#64748b;font-size:1.5rem}
.mj-company-related-media em{position:absolute;top:.55rem;left:.55rem;padding:.26rem .48rem;border-radius:999px;background:rgba(255,255,255,.94);color:#16813c;font-size:.64rem;font-style:normal;font-weight:800;box-shadow:0 3px 12px rgba(15,23,42,.12)}
.mj-company-related-body{display:flex;min-width:0;flex:1;flex-direction:column;gap:.35rem;padding:.8rem}
.mj-company-related-body>b{display:-webkit-box;overflow:hidden;color:#172033;font-size:.86rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.mj-company-related-body small{display:flex;min-width:0;align-items:center;gap:.35rem;color:#667085;font-size:.7rem;line-height:1.3}
.mj-company-related-body small i{flex:0 0 auto}
.mj-company-related-body strong{display:flex;align-items:center;gap:.35rem;margin-top:auto;padding-top:.35rem;color:var(--mj-primary,#2563eb);font-size:.72rem}
.company-listings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.company-listings-heading>div{min-width:0}
.company-listings-heading h2{margin:0 0 .25rem;font-size:1.18rem;line-height:1.3}
.company-listings-heading p{margin:0;color:#667085;font-size:.8rem;line-height:1.5}
.company-listings-inline{padding:1rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.mj-company-gallery-grid .mj-company-gallery-thumb{border:1px solid #e3e8ef;transition:transform .18s ease,box-shadow .18s ease}
.mj-company-gallery-grid .mj-company-gallery-thumb:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(15,23,42,.1)}
#company-share{scroll-margin-top:92px}
#company-enquiry,#company-services,#company-locations{scroll-margin-top:92px}

@media (max-width:991.98px){
  .company-sidebar-stack{position:static}
  .mj-company-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mj-company-hero .mj-company-action-row .btn{flex:1 1 calc(33.333% - .55rem)}
}
@media (max-width:767.98px){
  .mj-company-section-card,.mj-company-enquiry-card,.company-contact-sidebar,.mj-company-claim-card,.mj-company-trust-card,.mj-company-share-card,#company-locations,.company-listings-inline{padding:1rem!important;border-radius:16px}
  .mj-company-section-title{gap:.7rem}
  .mj-company-section-title>span:first-child{flex-basis:34px;width:34px;height:34px;border-radius:10px}
  .mj-company-section-title.with-count{flex-wrap:wrap}
  .mj-company-section-title.with-count em{margin-left:2.9rem}
  .mj-company-service-heading{flex-direction:column;gap:.25rem}
  .mj-company-service-heading small{text-align:left;white-space:normal}
  .mj-company-service-actions .btn{flex:1 1 100%}
  .company-listings-heading{flex-direction:column}
  .company-listings-heading>.btn{width:100%}
  .mj-company-related-grid{display:flex;max-width:100%;gap:.75rem;overflow-x:auto;padding-bottom:.35rem;scroll-snap-type:x mandatory}
  .mj-company-related-card{flex:0 0 min(82vw,280px);scroll-snap-align:start}
  .mj-company-info-row{grid-template-columns:36px minmax(0,1fr) auto;padding:.6rem}
  .mj-company-info-row>i{width:36px;height:36px}
}
@media (max-width:575.98px){
  .mj-company-hero .mj-company-action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .mj-company-hero .mj-company-action-row .btn{width:100%;min-width:0;padding:.62rem .45rem;font-size:.76rem;white-space:normal}
  .mj-company-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}
  .mj-company-secondary-actions a{padding:.25rem 0;font-size:.75rem}
  .mj-company-quick-meta{gap:.45rem}
  .mj-company-info-row em{font-size:.62rem}
  .mj-company-mobile-action-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .mj-company-mobile-action-bar .btn{width:100%}
}
@media (max-width:390px){
  .mj-company-secondary-actions{grid-template-columns:1fr}
  .mj-company-info-row{grid-template-columns:34px minmax(0,1fr)}
  .mj-company-info-row em{grid-column:2;justify-self:start;margin-top:.15rem}
  .mj-company-social-row{align-items:flex-start;flex-direction:column}
  .mj-company-social-row>div{justify-content:flex-start}
}
