/*
Theme Name: Sheshi Profile Editorial Polish
Version: 0.33.7
Description: Gives profile facts, services, languages and trust controls a consistent local-icon hierarchy without changing the decision flow.
*/

body.single-listing .sheshi-profile-meta-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 20px !important;
  margin: 17px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-listing .sheshi-profile-fact {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.single-listing .sheshi-profile-fact-icon {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
  color: var(--accent) !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

body.single-listing .sheshi-profile-section-heading {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
}

body.single-listing .sheshi-profile-section-heading h2 {
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-listing .sheshi-profile-section-heading > .sheshi-category-icon,
body.single-listing .sheshi-profile-section-icon,
body.single-listing .sheshi-profile-management-icon {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--border) !important;
  color: var(--accent) !important;
  background: var(--surface-sunken) !important;
}

body.single-listing .sheshi-profile-section-heading > .sheshi-category-icon,
body.single-listing .sheshi-profile-section-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
}

body.single-listing .sheshi-profile-section-heading > .sheshi-category-icon svg,
body.single-listing .sheshi-profile-section-icon svg {
  width: 19px !important;
  height: 19px !important;
  fill: none !important;
  stroke: currentColor !important;
}

body.single-listing .sheshi-services-section .sheshi-service-index li {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 9px 0 !important;
}

body.single-listing .sheshi-services-section .sheshi-service-index li::before {
  display: none !important;
  content: none !important;
}

body.single-listing .sheshi-services-section .sheshi-service-index li:last-child {
  border-bottom: 0 !important;
}

body.single-listing .sheshi-profile-service-icon {
  width: 17px !important;
  height: 17px !important;
  margin-top: 2px !important;
  color: var(--accent) !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

body.single-listing .sheshi-profile-languages li,
body.single-listing .sheshi-profile-languages li.is-primary {
  border-color: var(--border) !important;
  color: var(--text-secondary) !important;
  background: var(--surface-card) !important;
  font-weight: 600 !important;
}

body.single-listing .sheshi-profile-management-heading {
  display: flex !important;
  min-width: 0 !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

body.single-listing .sheshi-profile-management-heading > div {
  min-width: 0 !important;
}

body.single-listing .sheshi-profile-management-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
}

body.single-listing .sheshi-profile-management-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
}

@media (min-width: 1024px) {
  body.single-listing .sheshi-profile-identity {
    padding-bottom: 18px !important;
  }

  body.single-listing .sheshi-profile-main {
    box-sizing: border-box !important;
    padding: 0 22px !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    background: var(--surface-card) !important;
  }

  body.single-listing .sheshi-profile-section,
  body.single-listing .sheshi-profile-section + .sheshi-profile-section {
    padding: 22px 0 !important;
  }

  body.single-listing .sheshi-profile-main > .sheshi-profile-section:last-child {
    border-bottom: 0 !important;
  }

  body.single-listing .sheshi-profile-main > .sheshi-profile-section.sheshi-profile-location-section--mobile {
    display: none !important;
  }

  body.single-listing .sheshi-profile-sidebar {
    height: max-content !important;
    max-height: none !important;
    top: 88px !important;
    bottom: auto !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-action-section {
    padding: 11px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-action.is-primary {
    grid-column: 1 / -1 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-action {
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 12.5px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-contact-links {
    gap: 7px 12px !important;
    margin-top: 8px !important;
    font-size: 11.5px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-details {
    padding: 0 12px 12px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-copy-contact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    padding: 3px 0 6px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-copy-contact > div {
    min-width: 0 !important;
    padding: 6px 0 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-copy-contact-website {
    grid-column: 1 / -1 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-copy-contact dt,
  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dt {
    margin-bottom: 2px !important;
    font-size: 10px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-copy-contact dd,
  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dd {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location--desktop {
    display: block !important;
    padding: 9px 0 2px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location h2 {
    margin-bottom: 2px !important;
    font-size: 14px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dl {
    display: block !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dl > div {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding: 6px 0 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dl > div:first-child {
    display: block !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dl > div:first-child dt {
    margin: 0 0 3px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-sidebar-location dt {
    margin: 1px 0 0 !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-static-map {
    display: block !important;
    margin-top: 7px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-static-map svg,
  body.single-listing .sheshi-profile-sidebar.has-socials .sheshi-profile-static-map svg {
    height: 76px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-static-map > span {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 9px 8px !important;
  }

  body.single-listing .sheshi-profile-sidebar .sheshi-profile-static-map small {
    text-align: right !important;
  }

  body.single-listing .sheshi-profile-static-map svg {
    height: 116px !important;
  }

  body.single-listing .sheshi-profile-sidebar.has-socials .sheshi-profile-static-map svg {
    height: 72px !important;
  }

  body.single-listing .sheshi-profile-provenance {
    margin-top: 18px !important;
  }

  body.single-listing .sheshi-profile-management {
    margin-top: 18px !important;
  }
}

@media (min-width: 1180px) {
  body.single-listing .sheshi-profile-main > .sheshi-profile-section {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    column-gap: 24px !important;
    align-items: start !important;
  }

  body.single-listing .sheshi-profile-main > .sheshi-profile-section .sheshi-profile-section-heading {
    grid-column: 1 !important;
    margin: 0 !important;
  }

  body.single-listing .sheshi-services-section .sheshi-service-index,
  body.single-listing .sheshi-services-section .entry-content,
  body.single-listing .sheshi-profile-languages > ul,
  body.single-listing .sheshi-profile-languages > .sheshi-profile-language-note {
    grid-column: 2 !important;
  }

  body.single-listing .sheshi-services-section .entry-content {
    margin: 0 !important;
  }

  body.single-listing .sheshi-profile-languages > .sheshi-profile-language-note {
    margin-top: 12px !important;
  }
}

@media (max-width: 767px) {
  body.single-listing .sheshi-profile-fact--languages {
    flex-basis: 100% !important;
  }

  body.single-listing .sheshi-profile-section-heading {
    gap: 10px !important;
    margin-bottom: 13px !important;
  }

  body.single-listing .sheshi-profile-section-heading > .sheshi-category-icon,
  body.single-listing .sheshi-profile-section-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  body.single-listing .sheshi-profile-section-heading > .sheshi-category-icon svg,
  body.single-listing .sheshi-profile-section-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  body.single-listing .sheshi-services-section .sheshi-service-index li {
    min-height: 42px !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  body.single-listing .sheshi-profile-service-icon {
    margin-top: 0 !important;
  }

}
