/* Realestate property advisor card • shared by Kornich and legacy theme.
   Scoped to property pages to avoid altering site-wide profile cards. */
.k-property-agent,
.k-property-agent *,
.k-property-inquiry-panel,
.k-property-agent-widget { box-sizing: border-box; }

.k-property-inquiry-panel {
  border: 1px solid #e8e6ed !important;
  border-radius: 24px;
  background: #fff;
  padding: clamp(18px, 2.7vw, 30px);
  box-shadow: 0 14px 42px rgba(23,35,63,.045);
  overflow: visible !important;
}
.k-property-inquiry-panel > .title {
  margin: 0 0 19px !important;
  color: #142036;
  font-size: clamp(18px,1.8vw,23px) !important;
  font-weight: 800;
}
.k-property-agent-widget {
  padding: clamp(16px, 2vw, 26px) !important;
  border: 1px solid #e6e8ee !important;
  border-radius: 25px !important;
  background: #fff !important;
  box-shadow: 0 18px 55px rgba(20,33,58,.065);
  overflow: hidden;
  min-width: 0;
}
.k-property-agent-widget .widget-wrapper > .title {
  color: #172239;
  font-size: clamp(17px,1.6vw,21px) !important;
  font-weight: 800;
  margin: 0 0 18px !important;
}
.k-property-agent {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  border: 1px solid #e7eaf2;
  border-radius: 22px;
  background: linear-gradient(135deg,#fff 0%,#fcfdff 70%,#f7faff 100%);
  box-shadow: 0 10px 28px rgba(27,42,70,.045);
  color: #162237;
  overflow: hidden;
}
.k-property-agent__identity {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.k-property-agent__avatar-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px !important;
  height: 86px !important;
  min-width: 86px;
  max-width: 86px;
  flex: 0 0 86px;
  padding: 4px;
  border-radius: 50% !important;
  background: conic-gradient(from 55deg,#4285f4,#34a853,#fbbc05,#ea4335,#4285f4);
  box-shadow: 0 8px 24px rgba(53,99,179,.16);
  overflow: hidden;
}
.k-property-agent__avatar-ring > img.k-property-agent__avatar {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  background-color: #e8f0f1;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.k-property-agent__copy { min-width: 0; max-width: 100%; }
.k-property-agent__eyebrow {
  display: block;
  margin: 0 0 5px;
  color: #627391;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.6;
}
.k-property-agent__name,
.k-property-agent__name a,
.k-property-agent__name bdi {
  font-size: clamp(16px,1.6vw,22px) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  letter-spacing: -.018em;
  color: #101a2e !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  word-break: normal;
}
.k-property-agent__name { margin: 0 !important; min-width: 0; }
.k-property-agent__name a:hover { color: #2457ff !important; }
.k-property-agent__role {
  margin: 4px 0 0;
  font-size: 12px;
  color: #748197;
  line-height: 1.6;
}
.k-property-agent__badges { display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;align-items:center; }
.k-property-agent__badges img {
  display: block !important;
  width: 23px !important;
  height: 23px !important;
  max-width: 23px !important;
  max-height: 23px !important;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 !important;
}
.k-property-agent__rating { display:flex;align-items:center;flex-wrap:wrap;gap:3px;margin-top:7px;color:#e3a327;font-size:11px; }
.k-property-agent__rating i { font-size: 11px; }
.k-property-agent__rating-score { margin-inline-start: 5px;color:#6e798b;font-weight:800;font-variant-numeric:tabular-nums; }
.k-property-agent__actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid #ecf0f6;
}
.k-property-agent__action,
.k-property-agent button.k-property-agent__action,
.k-property-agent a.k-property-agent__action {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 12px !important;
  background: #f5f8ff;
  color: #234a95 !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center;
  text-decoration: none !important;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: none !important;
  white-space: normal;
  transition: transform .15s ease,background-color .15s ease;
}
.k-property-agent__action i { flex:0 0 auto;font-size:14px; }
.k-property-agent .k-property-agent__action:hover { background:#eaf1ff;transform:translateY(-1px); }
.k-property-agent .k-property-agent__action:focus-visible { outline:3px solid rgba(36,87,255,.23);outline-offset:2px; }
.k-property-agent .k-property-agent__action--primary,
.k-property-agent button.k-property-agent__action--primary {
  background: #2457ff !important;
  border-color: #2457ff !important;
  color: #fff !important;
}
.k-property-agent .k-property-agent__action--primary:hover { background:#1649e7 !important; }
.k-property-agent .k-property-agent__action--whatsapp { color:#14844f !important;background:#effbf4;border-color:#d5eddf !important; }
.k-property-agent .k-property-agent__action--whatsapp:hover { background:#dcf5e7 !important; }
.k-property-agent .k-property-agent__action--list { grid-column: 1 / -1; background:#fff; }
.k-property-inquiry-panel [data-property-inquiry] { margin-top:20px; }
.k-property-inquiry-panel [data-property-inquiry] :is(input.form-control,textarea) { max-width:100%; }
.k-property-agent-widget .k-property-agent { padding: 16px 13px; }
@media (max-width:575.98px) {
  .k-property-inquiry-panel { padding: 17px 14px; border-radius:20px; }
  .k-property-agent-widget { padding: 17px !important; }
  .k-property-agent { padding: 15px; border-radius: 18px; }
  .k-property-agent__identity { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .k-property-agent__avatar-ring { width:76px !important;height:76px !important;min-width:76px;max-width:76px; }
  .k-property-agent__name, .k-property-agent__name a,.k-property-agent__name bdi { font-size: 17px !important; }
  .k-property-agent__actions { gap:7px; }
  .k-property-agent__action { font-size:11px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .k-property-agent__action { transition: none !important; }
}