/* ==========================================================
   Editor Profile – Scoped Styles Only
   Affects ONLY pages wrapped in .editor-profile
   ========================================================== */

.editor-profile {
  --orange: #ff6600;
  --ink: #111;
  --muted: #666;
  --bg: #fff;
  --chip: #fff5ee;
}

/* ----------------------------------------------------------
   Card container
   ---------------------------------------------------------- */

.editor-profile .card {
  position: relative;
  background: var(--bg);
  border: 3px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  overflow: hidden;
}

/* ----------------------------------------------------------
   Hero section
   ---------------------------------------------------------- */

.editor-profile .hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.editor-profile .hero-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
}

/* ----------------------------------------------------------
   Headings & meta
   ---------------------------------------------------------- */

.editor-profile h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.editor-profile .headline {
  color: var(--muted);
  margin-top: 6px;
}

.editor-profile .hero-meta {
  margin-top: 10px;
  color: #444;
}

.editor-profile .hero-meta b {
  color: #222;
}

/* ----------------------------------------------------------
   Chips
   ---------------------------------------------------------- */

.editor-profile .hero-chips,
.editor-profile .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.editor-profile .chip {
  background: var(--chip);
  border: 1px solid #ffd8bf;
  color: #333;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */

.editor-profile .section {
  padding: 20px;
}

.editor-profile .section h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  border-left: 4px solid var(--orange);
  padding-left: 8px;
}

/* ----------------------------------------------------------
   Two-column grids
   ---------------------------------------------------------- */

.editor-profile .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ----------------------------------------------------------
   Horizontal divider
   ---------------------------------------------------------- */

.editor-profile .hr {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

/* ----------------------------------------------------------
   Media / Video
   ---------------------------------------------------------- */

.editor-profile .media {
  margin-top: 12px;
}

.editor-profile .video {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #222;
}

.editor-profile .video video {
  width: 100%;
  height: 100%;
  display: block;
}

/* ----------------------------------------------------------
   Click-to-call (optional)
   ---------------------------------------------------------- */

.editor-profile .click-to-call {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.editor-profile .click-to-call img {
  width: 48px;
  height: auto;
  display: block;
  border: 0;
  cursor: pointer;
}

/* ----------------------------------------------------------
   Responsive adjustments
   ---------------------------------------------------------- */

@media (max-width: 700px) {
  .editor-profile .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .editor-profile .hero-photo img {
    margin: 0 auto;
  }

  .editor-profile .grid-2 {
    grid-template-columns: 1fr;
  }
}
