/*
 * Arenados en Vidrio — Fernando's logo with his four services directly beneath it, in the masthead.
 * The only addition to the approved design: scoped to .aevb-*, loaded after site.css. The services
 * line takes the place and the type style of the approved lockup's second line (.lockup__by).
 * The block is taller than the old lockup, so --header-h grows by exactly that much: the hero and the
 * anchored sections keep the same clearance below the masthead as in the approved design.
 */
:root { --header-h: 99px; }   /* approved 80px + 19px taller pane */
.aevb-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; padding: 2px 0; }
.aevb-home { display: block; line-height: 0; text-decoration: none; }
.aevb-home:focus-visible { outline-offset: 2px; }
.aevb-logo { display: block; width: auto; height: 46px; }
.aevb-services {
  display: flex; justify-content: center; align-items: baseline;
  margin: 0; padding: 0; list-style: none; white-space: nowrap;
  font: 500 .76rem/1.2 var(--ff-text); letter-spacing: .015em; color: var(--ink-2);
}
.aevb-services li + li::before { content: "·"; content: "·" / ""; padding: 0 .45em; }

/* Spanish or English, following the page's language switch (it sets <html lang>). */
.aevb-services[lang="en"], html[lang^="en"] .aevb-services[lang="es"] { display: none; }
html[lang^="en"] .aevb-services[lang="en"] { display: flex; }

/* Narrower screens: two balanced lines, two services each, meeting at the middle dot. */
@media (max-width: 1180px) {
  .aevb-logo { height: 32px; }
  .aevb-services, html[lang^="en"] .aevb-services[lang="en"] { display: grid; grid-template-columns: auto auto; }
  .aevb-services li:nth-child(odd) { text-align: right; }
  .aevb-services li:nth-child(3)::before { content: none; }
}
@media (max-width: 759px) {
  :root { --header-h: 84px; }   /* approved 72px + 12px */
  .aevb-logo { height: 30px; }
  .aevb-services { font-size: .72rem; }
}
@media (max-width: 380px) {
  .aevb-services { font-size: .66rem; letter-spacing: 0; }
  .aevb-services li + li::before { padding: 0 .35em; }
}
@media (max-width: 340px) {
  /* the English pair is the longer one: a hair tighter so it never pushes the menu off the row */
  html[lang^="en"] .aevb-services { font-size: .64rem; letter-spacing: -.005em; }
  html[lang^="en"] .aevb-services li + li::before { padding: 0 .25em; }
}
