/* com_epaggelmaties — site styles. Inherits the template's typeface; override the tokens below to match your brand. */
.ep {
  --ep-ink: #1f2a2e;
  --ep-muted: #5d6b6e;
  --ep-line: #dce2df;
  --ep-paper: #f5f7f6;
  --ep-verdigris: #23766a;   /* main action: call */
  --ep-verdigris-dark: #1a5a51;
  --ep-sun: #f2b705;         /* stars and "featured" */
  --ep-wa: #1f8f4e;
  --ep-radius: 10px;
  color: var(--ep-ink);
  max-width: 64rem;
  margin-inline: auto;
}
.ep *, .ep *::before, .ep *::after { box-sizing: border-box; }
.ep a { color: var(--ep-verdigris-dark); }
.ep :focus-visible { outline: 3px solid var(--ep-sun); outline-offset: 2px; }

/* Finder */
.ep-finder {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .75rem;
  align-items: end;
  padding: 1rem;
  background: var(--ep-paper);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  margin-bottom: 1.75rem;
}
.ep-finder__field { display: grid; gap: .35rem; font-size: .9rem; color: var(--ep-muted); }
.ep-finder__field select {
  width: 100%; min-height: 2.9rem; padding: .5rem .75rem; font: inherit; font-size: 1rem; color: var(--ep-ink);
  background: #fff; border: 1px solid #b9c4c0; border-radius: 8px;
}
.ep-finder__go {
  min-height: 2.9rem; padding: .5rem 1.5rem; font: inherit; font-weight: 600; color: #fff; cursor: pointer;
  background: var(--ep-ink); border: 0; border-radius: 8px;
}
.ep-finder__go:hover { background: #000; }

/* Results */
.ep-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.ep-results-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.ep-results-head p { margin: 0; color: var(--ep-muted); font-variant-numeric: tabular-nums; }

.ep-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--ep-line); }
.ep-list-title, .ep-featured h2 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }

.ep-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--ep-line);
}
.ep-row__mark, .ep-profile__mark {
  display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; text-decoration: none;
  border-radius: 50%; background: var(--ep-paper); border: 1px solid var(--ep-line);
}
.ep-row__mark img, .ep-profile__mark img { width: 100%; height: 100%; object-fit: cover; }
.ep-row__mark span, .ep-profile__mark span { font-size: 1.4rem; font-weight: 700; color: var(--ep-verdigris); }
.ep-row__name { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.ep-row__name a { color: var(--ep-ink); text-decoration: none; }
.ep-row__name a:hover { text-decoration: underline; }
.ep-row__meta, .ep-row__rating { margin: .15rem 0 0; font-size: .92rem; color: var(--ep-muted); }
.ep-stars { color: var(--ep-sun); }

/* Featured: a quiet band, labelled — never mixed into the organic order */
.ep-featured { margin-bottom: 1rem; }
.ep-featured h2 { display: flex; gap: .75rem; align-items: baseline; }
.ep-featured h2 a { font-size: .85rem; font-weight: 400; }
.ep-row--featured { background: linear-gradient(90deg, rgba(242, 183, 5, .10), transparent 70%); box-shadow: inset 4px 0 0 var(--ep-sun); padding-left: 1rem; }

/* The memorable element: the phone number is the button */
.ep-row__contact { display: grid; gap: .4rem; justify-items: end; }
.ep-call {
  display: grid; gap: .05rem; padding: .55rem 1rem; text-align: right; text-decoration: none; line-height: 1.15;
  color: #fff !important; background: var(--ep-verdigris); border-radius: 8px;
}
.ep-call:hover { background: var(--ep-verdigris-dark); }
.ep-call__label { font-size: .75rem; opacity: .85; }
.ep-call__number { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.ep-wa { font-size: .9rem; font-weight: 600; color: var(--ep-wa) !important; }

.ep-empty { padding: 2rem 1rem; text-align: center; background: var(--ep-paper); border-radius: var(--ep-radius); }
.ep-empty__lead { font-size: 1.15rem; font-weight: 600; margin: 0 0 .5rem; }
.ep-join { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; margin-top: 2rem; padding: 1rem 0; border-top: 1px solid var(--ep-line); color: var(--ep-muted); }
.ep-join p { margin: 0; }
.ep-join a { font-weight: 600; }

/* Profile */
.ep-back { display: inline-block; margin-bottom: 1rem; font-size: .92rem; }
.ep-profile__head { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.ep-profile__mark { width: 96px; height: 96px; }
.ep-profile__mark span { font-size: 2.4rem; }
.ep-profile__head h1 { margin: 0 0 .25rem; font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.1; }
.ep-profile__meta { margin: 0; color: var(--ep-muted); }
.ep-profile__trust { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .6rem 0 0; font-size: .92rem; }
.ep-verified { font-weight: 600; color: var(--ep-verdigris-dark); }
.ep-verified::before { content: "✓ "; }

.ep-contact {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.5rem; align-items: center;
  padding: 1.25rem; margin-bottom: 2rem; background: var(--ep-paper); border-radius: var(--ep-radius);
}
.ep-call--big { padding: .8rem 1.5rem; text-align: left; }
.ep-call--big .ep-call__number { font-size: 1.6rem; }
.ep-contact__more { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.ep-contact__note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--ep-muted); }

.ep-section { margin: 0 0 2rem; padding: 0; border: 0; }
.ep-section h2, .ep-section legend { font-size: 1.15rem; font-weight: 700; margin: 0 0 .75rem; padding: 0; }
.ep-section p { max-width: 68ch; line-height: 1.6; }
.ep-areas { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; }
.ep-areas dt { font-weight: 600; }
.ep-areas dd { margin: 0; color: var(--ep-muted); }

/* My account */
.ep-status { padding: 1rem 1.25rem; margin-bottom: 2rem; border-radius: var(--ep-radius); border: 1px solid var(--ep-line); background: var(--ep-paper); }
.ep-status p { margin: .25rem 0; }
.ep-status__title { font-weight: 700; font-size: 1.05rem; }
.ep-status--pending { box-shadow: inset 4px 0 0 var(--ep-sun); }
.ep-status--verified { box-shadow: inset 4px 0 0 var(--ep-verdigris); }
.ep-status--rejected { box-shadow: inset 4px 0 0 #b3261e; }
.ep-status__note { padding: .5rem .75rem; background: #fff; border-radius: 6px; }
.ep-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 0; }
.ep-stats > div { padding: .75rem; border: 1px solid var(--ep-line); border-radius: 8px; }
.ep-stats dt { font-size: .85rem; color: var(--ep-muted); }
.ep-stats dd { margin: .2rem 0 0; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ep-hint { font-size: .88rem; color: var(--ep-muted); }
.ep-my__logo { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin-bottom: .75rem; }

@media (max-width: 640px) {
  .ep-finder { grid-template-columns: 1fr; }
  .ep-row { grid-template-columns: 48px 1fr; }
  .ep-row__mark { width: 48px; height: 48px; }
  .ep-row__contact { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .ep-call { text-align: left; }
  .ep-contact { grid-template-columns: 1fr; }
  .ep-profile__head { grid-template-columns: 72px 1fr; }
  .ep-profile__mark { width: 72px; height: 72px; }
  .ep-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ep * { transition: none !important; } }
