/* ==========================================================================
   CTE Contact (v1)
   Scope: body.cte-contact-render
   ========================================================================== */

body.cte-contact-render .entry-hero-container,
body.cte-contact-render .entry-header{
  display:none !important;
}

body.cte-contact-render{
  background:#f4f4f4;
}
body.cte-contact-render .content-bg,
body.cte-contact-render .content-wrap,
body.cte-contact-render .entry-content-wrap,
body.cte-contact-render .content-container.site-container{
  background:transparent !important;
}

.cte-contact__card{ overflow:hidden; }

.cte-contact__header{
  padding: clamp(16px,3vw,28px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cte-contact__kicker{
  font: 900 12px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
  margin-bottom:10px;
}
.cte-contact__title{ margin:0 !important; line-height:1.08; }
.cte-contact__subtitle{
  margin:10px 0 0;
  color: var(--cte-muted);
  font: 600 15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-contact__body{
  padding: 18px clamp(16px,3vw,28px) 24px;
}

.cte-contact__group{ margin-top: 18px; }
.cte-contact__groupTitle{
  margin: 0 0 12px;
  font: 900 18px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cte-contact__grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.cte-contact__person{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:14px;
}

.cte-contact__top{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
}

.cte-contact__avatarWrap{ width:64px; flex: 0 0 64px; }
.cte-contact__avatar{
  width:64px !important;
  height:64px !important;
  border-radius:16px !important;
  border:1px solid rgba(0,0,0,.10);
}

.cte-contact__nameLink{
  display:inline-block;
  font: 900 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: rgba(0,0,0,.92);
  text-decoration:none;
}
.cte-contact__nameLink:hover{
  text-decoration: underline;
}

.cte-contact__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}
.cte-contact__chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  font: 800 12px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: rgba(0,0,0,.80);
}

.cte-contact__bio{
  margin-top:12px;
  color: rgba(0,0,0,.70);
  font: 600 14px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* Type pills full-width row (bottom of card) */
.cte-contact__types{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px){
  .cte-contact__grid{ grid-template-columns: 1fr; }
}


/* Optional title/occupation line */
.cte-contact__titleLine{
  margin-top: 6px;
  color: rgba(0,0,0,.62);
  font: 700 13px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* Key/value row (phone) */
.cte-contact__row{
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.cte-contact__label{
  font: 900 12px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.cte-contact__val{
  font: 700 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: rgba(0,0,0,.80);
}

/* Social links */
/* Avatar link (if you enabled it) */
.cte-contact__avatarLink{
  display: inline-block;
  line-height: 0;
}

/* Social icons (Kadence SVG) */
.cte-contact__icons{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cte-contact__iconLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(0,0,0,.02);
  text-decoration:none;
}

.cte-contact__iconLink svg{
  width:18px;
  height:18px;
}

.cte-contact__iconLink:hover{
  transform: translateY(-1px);
  text-decoration:none;
}



/* ==========================================================================
   CTE_CONTACT_HIDE_META_ICONS_V1
   - Social icons should appear below bio (not in meta column)
   ========================================================================== */
body.cte-contact-render .cte-contact__meta .cte-contact__icons{
  display:none !important;
}
body.cte-contact-render .cte-contact__icons.cte-contact__icons--below{
  display:flex !important;
}


/* ==========================================================================
   CTE_CONTACT_CTA_ROW_V1
   Header CTA buttons (outline)
   ========================================================================== */
body.cte-contact-render .cte-contact__ctaRow{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.cte-contact-render .cte-btn.cte-btn--outline{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  color: rgba(0,0,0,.78) !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.cte-contact-render .cte-btn.cte-btn--outline:hover{
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 640px){
  body.cte-contact-render .cte-contact__ctaRow{
    flex-direction: column;
    align-items: stretch;
  }
  body.cte-contact-render .cte-contact__ctaRow .cte-btn{
    width: 100%;
    text-align: center;
  }
}
