/*
 * bermione-eleventy site overrides.
 *
 * The live WordPress site injects a few inline <head> styles (via theme
 * customizer + wp_head hooks) that don't live in either stylesheet. Pin
 * them here so the static rebuild matches.
 */

/* Root-level font: the theme pulls Raleway from Google Fonts. */
body {
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Hide the return-top button; the original JS adds one dynamically but
 * we don't need it here. Keep the rule so we can enable later without
 * layout shift. */
.return-top {
  display: none;
}

article img {
  max-width: 100%;
}

/* Contain the floated link children so sibling blocks (e.g. .entry-tags
 * following .entry-categories in post footers) don't wrap alongside them. */
.entry-categories::after,
.entry-tags::after {
  content: "";
  display: block;
  clear: both;
}

/* Two-column layout for the taxonomy overview page.
 * Stacks vertically below 768px (tags render after categories);
 * splits 50/50 from 768px upward. */
.taxonomy-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .taxonomy-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.taxonomy-columns .entry-categories a,
.taxonomy-columns .entry-tags a {
  float:left;
}

.taxonomy-column {
  min-width: 0;
}