/*
 * KCR Staff Single Page Styles
 * File: /css/kcr-staff-single.css
 *
 * No hero. Layout mirrors the contractor-review style:
 * title + photo + bio on left, info cards on right.
 */

/* ── Custom Properties ─────────────────────────────────────────────────────── */
.kcr-staff-single {
  --red: #aa182c;
  --gold: #eb9d22;
  --green: #09372c;
  --cream: #f0eedb;
  --off-white: #faf7f2;
  --green-dark: #06261e;
  --gold-dark: #c47d0a;

  --text-primary: #1a1a1a;
  --text-secondary: #444;
  --border: #e5e0d5;

  --font-heading: 'Petrona', Georgia, serif;
  --font-body: 'Red Hat Display', system-ui, sans-serif;

  --wrap: 1200px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
}

.kcr-staff-single *,
.kcr-staff-single *::before,
.kcr-staff-single *::after {
  box-sizing: border-box;
}

.kcr-staff-single {
  font-family: var(--font-body);
  background-color: var(--off-white);
}

.kcr-staff-single .entry-content,
.kcr-staff-single .inside-article {
  padding: 0;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════════════════════════════════════════════ */
.staff-page {
  padding: 3rem 0 5rem;
}

.staff-page__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Single-column layout */
.staff-page__layout {
  max-width: 800px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   TITLE BLOCK  (photo + name + position + contact links)
══════════════════════════════════════════════════════════════════════════════ */
.staff-title-block {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

/* Photo */
.staff-photo {
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background-color: var(--cream);
  display: block;
}

.staff-photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 220px;
  border-radius: 12px;
  background-color: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 600;
}

.staff-title-block__text {
  flex: 1;
  min-width: 0;
  padding-top: 0.25rem;
}

/* Staff type label */
.staff-type-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d2600;
  background: var(--gold);
  border-radius: 35px;
  margin: 0 0 0.5rem;
  padding: 4px 12px;
}

/* Name heading */
.staff-name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0 0 0.375rem;
}

/* Position subtitle */
.staff-position {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

/* Inline contact links under name */
.staff-phone,
.staff-email {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--red);
  margin: 0 0 0.375rem;
}

.staff-phone svg,
.staff-email svg {
  flex-shrink: 0;
  color: var(--red);
}

.staff-phone a,
.staff-email a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.staff-phone a:hover,
.staff-email a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .staff-title-block {
    flex-direction: column;
  }
  .staff-photo,
  .staff-photo--initials {
    width: 100%;
    height: 200px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════════════════════════════ */
.staff-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1.75rem;
}

/* ══════════════════════════════════════════════════════════════════════════════
   BIO
══════════════════════════════════════════════════════════════════════════════ */
.staff-bio__heading {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.875rem;
}

.staff-bio__text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}
