/* ══════════════════════════════════════════════════════════════
   MotoWorks site logo — shared across index, motociclete, piese,
   echipament and service.

   Edit the logo ONCE here; every page picks up the change.
   Markup lives in partials/site-logo.js.

   Accent colour: pages may override with --logo-accent, otherwise
   the MotoWorks yellow is used.
   ══════════════════════════════════════════════════════════════ */

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;              /* lets the tagline truncate instead of overflowing */
}

.logo-img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;            /* badge never squashes */
  display: block;
}

.logo-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-hl { color: var(--logo-accent, #FFC61A); }

.logo-tagline {
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 400;
  white-space: nowrap;       /* one line, never pushes the header taller */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Tablet: shrink the tagline before it starts crowding the nav ── */
@media (max-width: 900px) {
  .logo-tagline { font-size: 0.62rem; letter-spacing: .05em; }
}

/* ── Phone: compact badge + wordmark, tagline drops to its own line ── */
@media (max-width: 600px) {
  .logo-wrap { gap: 9px; }
  .logo-img  { width: 45px; height: 45px; }
  .logo-text { font-size: 1.1rem; letter-spacing: .1em; }
  .logo-tagline {
    font-size: 0.5rem;
    letter-spacing: .02em;
    margin-top: 2px;
    white-space: normal;     /* wraps to 2 short lines rather than truncating */
    overflow: visible;
    line-height: 1.25;
  }
}

/* ── Very narrow phones: no room for it at any readable size ── */
@media (max-width: 360px) {
  .logo-tagline { display: none; }
}
