/* Approved photo-left business profile design. */
.photo-free-profile .polished-profile{max-width:1120px;padding:30px;box-sizing:border-box;font-size:15px;line-height:1.55}
.polished-profile .compact-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:28px}
.polished-profile .compact-heading>div:nth-child(2){flex:1;min-width:0}
.polished-profile .compact-heading h1{font-size:clamp(25px,3vw,34px);line-height:1.2;overflow-wrap:anywhere;margin:6px 0 10px}
.profile-header-actions{display:flex;gap:8px;flex-shrink:0;padding-top:4px}
.profile-header-actions .secondary{white-space:nowrap}
.profile-overview{display:block;min-width:0;margin:0 0 24px}
.profile-overview.has-photo{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}
.profile-information{min-width:0;padding:6px 0}
.profile-information .compact-about{margin:0 0 22px}
.polished-profile .compact-about h2{font-size:22px;margin-bottom:12px}
.polished-profile .compact-about p{font-size:16px;line-height:1.65}
.profile-hero-photo{margin:0;min-width:0;text-align:left}
.profile-hero-photo a{display:inline-block;max-width:100%;line-height:0;border-radius:12px;overflow:hidden}
.profile-hero-photo img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:420px;object-fit:contain!important;aspect-ratio:auto!important;margin:0!important;border-radius:0}
.polished-profile .compact-contact{margin:20px 0 0}
.profile-contact-buttons{display:flex;gap:8px;flex-wrap:wrap}
.polished-profile .profile-contact-buttons .secondary{min-height:42px;padding:10px 14px;white-space:nowrap;flex:0 0 auto}
.polished-profile .profile-contact-buttons .contact-whatsapp{background:#006c78;color:white;border-color:#006c78}
.profile-more-contact{font-size:14px;margin-top:12px}
.profile-more-contact summary{color:#006c78;cursor:pointer}
.profile-information .service-inquiry-panel{margin:14px 0 0;padding:12px;font-size:14px}
.profile-sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.profile-gallery{margin:22px 0;padding-top:20px;border-top:1px solid #e5eeed;min-width:0}
.profile-gallery h2{margin-bottom:14px;font-size:20px}
.profile-photo-list{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.profile-photo{margin:0;min-width:0;max-width:calc(50% - 10px)}
.profile-photo a{display:inline-block;max-width:100%;border-radius:10px;overflow:hidden;line-height:0}
.profile-photo img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:210px;object-fit:contain!important;aspect-ratio:auto!important;margin:0!important;border-radius:0}
.profile-gallery>.small{margin:12px 0 0}
.profile-photo a:focus-visible,.profile-hero-photo a:focus-visible{outline:3px solid #006c78;outline-offset:4px}
.polished-profile .compact-extras .business-contact{padding:14px 0;margin:0;border-bottom:1px solid #e5eeed}
.polished-profile .compact-extras .business-contact>summary{font-size:14px;padding:0;color:#006c78}
.polished-profile .compact-extras .business-contact-content{padding-top:14px}
@media(max-width:850px){.polished-profile .compact-heading{flex-wrap:wrap}.profile-header-actions{margin-left:78px}.profile-overview.has-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}}
@media(max-width:700px){.photo-free-profile .polished-profile{padding:20px;margin-top:18px}.polished-profile .compact-heading{gap:12px;margin-bottom:22px}.polished-profile .compact-heading h1{font-size:25px}.profile-header-actions{margin-left:62px}.profile-overview.has-photo{grid-template-columns:1fr;gap:20px}.profile-hero-photo{text-align:center}.profile-hero-photo img{max-height:360px}.polished-profile .compact-about h2{font-size:20px}.polished-profile .compact-about p{font-size:15px}.profile-contact-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.polished-profile .profile-contact-buttons .secondary{padding:10px 8px}.profile-photo-list{gap:12px}.profile-photo{max-width:calc(50% - 6px)}.profile-photo img{max-height:190px}}

.polished-profile .compact-services>h2{margin:0 0 14px;color:#006c78;font-size:17px;font-weight:650}

.compact-services .service-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: start;
  gap: 16px;
}
.compact-services .service-group {
  min-width: 0;
  border: 1px solid #c9dddf;
  border-radius: 10px;
  overflow: hidden;
  background: #fffdf7;
}
.compact-services .service-group h3 {
  margin: 0;
  padding: 14px 18px;
  background: #edf5f1;
  color: #006c78;
}
.compact-services .service-group .business-services {
  margin: 0;
  padding: 0 18px;
}
.compact-services .service-group .service-row {
  padding: 14px 0;
  overflow-wrap: anywhere;
}
.compact-services .service-group .service-row:last-child { border-bottom: 0; }
.compact-services .service-contact-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 7px;
  background: #006c78;
  color: #fff;
  font-weight: 700;
}

.compact-heading img.compact-avatar {
  width: clamp(104px, 16vw, 176px);
  height: clamp(96px, 12vw, 136px);
  flex-basis: clamp(104px, 16vw, 176px);
  object-fit: contain;
  box-sizing: border-box;
  padding: 6px;
}

@media (min-width: 701px) {
  .profile-overview.has-photo.portrait-overview {
    max-width: 800px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 24px;
  }

  .portrait-overview .profile-hero-photo {
    text-align: right;
  }

  .portrait-overview .profile-information {
    padding-top: 0;
  }
}

.compact-services .two-service-groups {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
@media (max-width: 740px) {
  .compact-services .two-service-groups { grid-template-columns: minmax(0, 1fr); }
}

.polished-profile .profile-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e5eeed;
}
.polished-profile .profile-secondary-actions > .compact-extra {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.polished-profile .profile-secondary-actions > details > summary {
  display: inline-block;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #b8d0d3;
  border-radius: 8px;
}
.polished-profile .profile-secondary-actions > details > summary::before { content: '▸ '; }
.polished-profile .profile-secondary-actions > details[open] > summary::before { content: '▾ '; }
.polished-profile .profile-secondary-actions > details > summary:focus-visible {
  outline: 2px solid #006c78;
  outline-offset: 2px;
}
