/**
 * CAMN header spacing – reduce top/bottom margin of header (title + menu) by half.
 * Overrides theme --navbar-height so the header bar is more compact.
 */

:root {
  --navbar-height: 2.2rem;
}

@media all and (min-width: 56.25em) {
  :root {
    --navbar-height: 3rem;
  }
}

/**
 * Header logo mark + title.
 * Keep the mark small so it doesn't consume the whole navbar height.
 */
.camn-site-logo {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--baseline) * 1.25);
}

.camn-site-logo__mark {
  width: 2rem;
  height: 2rem;
  padding: 0;
  object-fit: contain;
  flex: 0 0 auto;
}

.camn-site-logo__text {
  display: inline-block;
  line-height: 1.1;
}

/* Tag pages: center & stretch feed images under titles, like home A/B/C columns */
.page--tag .feed__image--after-summary {
  margin-top: calc(var(--baseline) * 4);
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page--tag .feed__image--after-summary img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
