/* JDL 3 — overrides.css v1.3.0
   Last-loaded stylesheet. Overrides inline styles, plugin styles,
   and database-generated CSS that loads after main.css. */

/* ── Signature logo ──────────────────────────────────────────────────
   Tuning knobs — adjust these to dial in the look:
     --sig-height    : rendered height of the signature
     --sig-offset    : vertical shift (positive = down)
     --sig-max-width : cap width on large screens
     --sig-left      : negative margin to push left
   ─────────────────────────────────────────────────────────────────── */
:root {
  --sig-height: 90px;
  --sig-offset: 10px;
  --sig-max-width: 320px;
  --sig-left: -28px;
}

/* Header must not clip the overflowing signature */
#jdl-header {
  overflow: visible !important;
}
.header-inner {
  overflow: visible !important;
}

/* The signature itself */
#jdl-header .site-logo {
  height: var(--sig-height) !important;
  width: auto !important;
  max-width: var(--sig-max-width) !important;
  object-fit: contain;
  transform: translateY(var(--sig-offset));
  margin-left: var(--sig-left);
  position: relative;
  z-index: 1001;
  pointer-events: auto;
}

/* The link wrapper — let it overflow without affecting header layout */
#jdl-header .site-logo-link {
  overflow: visible;
  align-self: flex-start;
}

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  :root {
    --sig-height: 64px;
    --sig-offset: 8px;
    --sig-max-width: 240px;
    --sig-left: -6px;
  }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  :root {
    --sig-height: 56px;
    --sig-offset: 14px;
    --sig-max-width: 200px;
    --sig-left: -4px;
  }
}

/* ── Gutenberg block spacing ── */
.front-page-content > * {
  margin-bottom: 2rem;
}
.front-page-content > .wp-block-separator {
  margin: 2rem auto;
  max-width: 200px;
  border-color: var(--jdl-border);
}
.front-page-content > .wp-block-heading {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ── Featured product block (front page) ── */
.wc-block-featured-product {
  border-radius: 8px;
  overflow: hidden;
}

/* ── GigPress table alignment with theme ── */
table.gigpress-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
table.gigpress-table th {
  background: var(--jdl-deep);
  color: var(--jdl-white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
table.gigpress-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--jdl-border);
  color: var(--jdl-text);
}
table.gigpress-table tr:hover td {
  background: var(--jdl-light);
}

/* ── Tip Jar table — remove borders ── */
.page-id-4675 .wp-block-table table,
.page-id-4675 .wp-block-table td,
.page-id-4675 .wp-block-table tr {
  border: none !important;
  border-collapse: collapse;
}
