/* Contact details precede the portrait in both markup and visual order. */
.elementor-widget-top-contact-card { min-width:0; align-self:stretch; }
.elementor-widget-top-contact-card > .elementor-widget-container { height:100%; }
.elementor .top-contact-card {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:0;
  height:var(--top-contact-equal-height,100%);
  width:100%;
  max-width:360px;
  margin-inline:auto;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:var(--top-contact-background,#fff);
  color:var(--e-global-color-primary,#1a70b6);
  font-family:var(--e-global-typography-text-font-family,"Poppins"),sans-serif;
  text-align:left;
}
.top-contact-card .top-contact-card__identity {
  box-sizing:border-box;
  flex:0 0 auto;
  min-height:var(--top-contact-identity-height,0px);
  margin:0;
  padding:12px 16px 4px;
  border:1px solid #e1e5e9;
  border-bottom:0;
  border-radius:10px 10px 0 0;
}
.top-contact-card .top-contact-card__name {
  margin:0;
  color:var(--e-global-color-primary,#1a70b6);
  font-family:inherit;
  font-size:20px;
  font-weight:600;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.top-contact-card .top-contact-card__role {
  margin:0;
  color:var(--e-global-color-8b4a0f8,#324a6d);
  font-family:inherit;
  font-size:12px;
  font-weight:400;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.top-contact-card .top-contact-card__portrait {
  position:relative;
  width:100%;
  aspect-ratio:683 / 1024;
  overflow:visible;
  flex:0 0 auto;
}
/* Continue the side edges through the white upper half of the photo. */
.top-contact-card .top-contact-card__portrait::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:0 0 auto;
  height:50%;
  box-sizing:border-box;
  border-inline:1px solid #e1e5e9;
  pointer-events:none;
}
.top-contact-card .top-contact-card__image {
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  border:0;
  border-radius:0 0 10px 10px;
  object-fit:var(--top-contact-fit,contain);
  object-position:center bottom;
}
.top-contact-card .top-contact-card__placeholder { width:100%; height:100%; fill:#dce5ec; }
.top-contact-card .top-contact-card__contacts {
  box-sizing:border-box;
  flex:0 0 auto;
  display:grid;
  grid-template-rows:var(--top-contact-phone-height,auto) var(--top-contact-mobile-height,auto) var(--top-contact-email-height,auto);
  align-content:start;
  gap:0;
  margin:0;
  padding:0 16px 4px;
  border-inline:1px solid #e1e5e9;
  min-height:0;
  list-style:none;
  text-align:left;
}
.top-contact-card .top-contact-card__contacts li { margin:0; padding:0; min-width:0; align-self:start; }
.top-contact-card [data-top-contact-kind="phone"] { grid-row:1; }
.top-contact-card [data-top-contact-kind="mobile"] { grid-row:2; }
.top-contact-card [data-top-contact-kind="email"] { grid-row:3; }
.top-contact-card .top-contact-card__contacts a {
  box-sizing:border-box;
  display:flex;
  align-items:flex-start;
  gap:15px;
  min-height:44px;
  padding:4px 0;
  color:var(--top-contact-accent,var(--e-global-color-primary,#1a70b6));
  font-family:inherit;
  font-size:16px;
  font-weight:500;
  line-height:1.5;
  text-decoration:none;
}
.top-contact-card .top-contact-card__contacts a:hover { color:var(--e-global-color-secondary,#fdcb00); }
.top-contact-card .top-contact-card__contacts a:focus-visible {
  outline:3px solid var(--top-contact-accent,#1a70b6);
  outline-offset:3px;
  border-radius:2px;
}
.top-contact-card .top-contact-card__contacts svg {
  display:block;
  width:15px;
  height:15px;
  flex:0 0 15px;
  fill:currentColor;
  stroke:none;
}
.top-contact-card .top-contact-card__contacts a > span { display:block; }
.top-contact-card .top-contact-card__contacts span { min-width:0; overflow-wrap:anywhere; word-break:normal; hyphens:none; }
.top-contact-card .top-contact-card__contacts .top-contact-card__email-part { white-space:nowrap; }

/* Optional parent class. Use a NEW empty container; add widgets directly. */
.elementor .top-contact-grid,
.elementor .top-contact-grid > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: 1fr;
  gap: 24px;
  align-items: stretch;
}
.elementor .top-contact-grid > .e-con-inner { grid-column: 1 / -1; width: 100%; }
.elementor .top-contact-grid .elementor-widget-top-contact-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .elementor .top-contact-grid,
  .elementor .top-contact-grid > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .elementor .top-contact-card { max-width:200px; }
  .top-contact-card .top-contact-card__identity { padding:8px 8px 2px; }
  .top-contact-card .top-contact-card__contacts { padding:0 8px; }
  .top-contact-card .top-contact-card__name { font-size:18px; }
  .top-contact-card .top-contact-card__contacts a { display:block; font-size:14px; line-height:1.35; padding:7px 0; }
  .top-contact-card .top-contact-card__contacts a[href^="mailto:"] { font-size:13px; }
  .top-contact-card .top-contact-card__contacts svg { display:none; }
  .top-contact-card .top-contact-card__portrait {
    max-width:none;
    height:auto;
    min-height:0;
    aspect-ratio:683 / 850;
  }
  .top-contact-card .top-contact-card__portrait::before { height:0; padding-top:calc(100% * 512 / 683); }
  .top-contact-card .top-contact-card__image,
  .top-contact-card .top-contact-card__placeholder { position:absolute; inset:0; width:100%; height:100%; max-width:100%; }
  .top-contact-card .top-contact-card__image { object-fit:cover; object-position:center top; }
  .elementor .top-contact-grid,
  .elementor .top-contact-grid > .e-con-inner { grid-template-columns: minmax(0, 1fr); }
}
