/* 2026-11-28 Geranium TRIAL: light section-tint headers so section-coloured
   duotone icons (same treatment as article list-row icons) stay visible.
   Homepage columns, AGA/BTO/CTR index titles, Image Archive, welcome bar.
   Rollback: disable or delete asset_injector.css.homepage_header_tint_trial
   (theme/css backups: brand.css.bak-20261128-1610PCT,
   theme500.theme.bak-20261128-1610PCT,
   asset_injector.css.homepage_article_lists.bak-20261128-1610PCT.yml).
   Tints reuse existing site colours: CTR #f1f1f1, BTO #fcebe6, AGA #edf5ff,
   welcome/archive #ebf4ec (breadcrumb strip fill). Borders/text/icons use
   CTR #848482, BTO #e97451, AGA #0047AB, welcome/archive #355E3B.
   Icon weight stays fa-thin (same as list-row icons). */

/* Shared noise from the breadcrumb/iconstrip bar. */
/* --- Homepage columns --- */
.t500-columns .t500-column-container_culture_blog {
  border-color: #848482;
}
.t500-columns .t500-column-container_culture_blog h2 {
  background-color: #f1f1f1;
  background-image: none;
  border-bottom: 0.0625rem solid #848482;
}
.t500-columns .t500-column-container_culture_blog h2 a {
  color: #848482;
}
.t500-columns .t500-column-container_culture_blog h2 .fa-sharp-duotone,
.t500-columns .t500-column-container_culture_blog .t500-header-icons .fa-sharp-duotone {
  color: #848482;
  --fa-primary-color: #848482;
  --fa-secondary-color: #848482;
  --fa-secondary-opacity: unset;
}
.t500-columns .t500-column-container_culture_blog .t500-header-icons a {
  color: #848482;
}

.t500-columns .t500-column-better_than_organic_blog {
  border-color: #e97451;
}
.t500-columns .t500-column-better_than_organic_blog h2 {
  background-color: #fcebe6;
  background-image: none;
  border-bottom: 0.0625rem solid #e97451;
}
.t500-columns .t500-column-better_than_organic_blog h2 a {
  color: #e97451;
}
.t500-columns .t500-column-better_than_organic_blog h2 .fa-sharp-duotone,
.t500-columns .t500-column-better_than_organic_blog .t500-header-icons .fa-sharp-duotone {
  color: #e97451;
  --fa-primary-color: #e97451;
  --fa-secondary-color: #e97451;
  --fa-secondary-opacity: unset;
}
.t500-columns .t500-column-better_than_organic_blog .t500-header-icons a {
  color: #e97451;
}

.t500-columns .t500-column-feed_item {
  border-color: #0047AB;
}
.t500-columns .t500-column-feed_item h2 {
  background-color: #edf5ff;
  background-image: none;
  border-bottom: 0.0625rem solid #0047AB;
}
.t500-columns .t500-column-feed_item h2 a {
  color: #0047AB;
}
.t500-columns .t500-column-feed_item h2 .fa-sharp-duotone,
.t500-columns .t500-column-feed_item .t500-header-icons .fa-sharp-duotone {
  color: #0047AB;
  --fa-primary-color: #0047AB;
  --fa-secondary-color: #0047AB;
  --fa-secondary-opacity: unset;
}
.t500-columns .t500-column-feed_item .t500-header-icons a {
  color: #0047AB;
}

/* --- Index + Image Archive page titles (not blog posts) --- */
body.path-aga #block-theme500-page-title,
body.path-betterthanorganicblog #block-theme500-page-title,
body.path-bto #block-theme500-page-title,
body.path-containercultureblog #block-theme500-page-title,
body.path-ctr #block-theme500-page-title,
body.path-image-archive #block-theme500-page-title {
  border-style: solid;
  border-width: 0.0625rem;
}
body.path-aga #block-theme500-page-title {
  background-color: #edf5ff;
  background-image: none;
  border-color: #0047AB;
  color: #0047AB;
}
body.path-aga #block-theme500-page-title h1,
body.path-aga #block-theme500-page-title .t500-header-icons a {
  color: #0047AB;
}
body.path-aga #block-theme500-page-title .t500-index-title-icon,
body.path-aga #block-theme500-page-title .t500-header-icons .fa-sharp-duotone {
  color: #0047AB;
  --fa-primary-color: #0047AB;
  --fa-secondary-color: #0047AB;
  --fa-secondary-opacity: unset;
}

body.path-betterthanorganicblog #block-theme500-page-title,
body.path-bto #block-theme500-page-title {
  background-color: #fcebe6;
  background-image: none;
  border-color: #e97451;
  color: #e97451;
}
body.path-betterthanorganicblog #block-theme500-page-title h1,
body.path-betterthanorganicblog #block-theme500-page-title .t500-header-icons a,
body.path-bto #block-theme500-page-title h1,
body.path-bto #block-theme500-page-title .t500-header-icons a {
  color: #e97451;
}
body.path-betterthanorganicblog #block-theme500-page-title .t500-index-title-icon,
body.path-betterthanorganicblog #block-theme500-page-title .t500-header-icons .fa-sharp-duotone,
body.path-bto #block-theme500-page-title .t500-index-title-icon,
body.path-bto #block-theme500-page-title .t500-header-icons .fa-sharp-duotone {
  color: #e97451;
  --fa-primary-color: #e97451;
  --fa-secondary-color: #e97451;
  --fa-secondary-opacity: unset;
}

body.path-containercultureblog #block-theme500-page-title,
body.path-ctr #block-theme500-page-title {
  background-color: #f1f1f1;
  background-image: none;
  border-color: #848482;
  color: #848482;
}
body.path-containercultureblog #block-theme500-page-title h1,
body.path-containercultureblog #block-theme500-page-title .t500-header-icons a,
body.path-ctr #block-theme500-page-title h1,
body.path-ctr #block-theme500-page-title .t500-header-icons a {
  color: #848482;
}
body.path-containercultureblog #block-theme500-page-title .t500-index-title-icon,
body.path-containercultureblog #block-theme500-page-title .t500-header-icons .fa-sharp-duotone,
body.path-ctr #block-theme500-page-title .t500-index-title-icon,
body.path-ctr #block-theme500-page-title .t500-header-icons .fa-sharp-duotone {
  color: #848482;
  --fa-primary-color: #848482;
  --fa-secondary-color: #848482;
  --fa-secondary-opacity: unset;
}

/* Image Archive: hunter green, same light fill as the breadcrumb strip. */
body.path-image-archive #block-theme500-page-title {
  background: #ebf4ec url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC") repeat;
  border-color: #355e3b;
  color: #355e3b;
}
body.path-image-archive #block-theme500-page-title h1 {
  color: #355e3b;
}
body.path-image-archive #block-theme500-page-title .t500-index-title-icon {
  color: #355e3b;
  --fa-primary-color: #355e3b;
  --fa-secondary-color: #355e3b;
  --fa-secondary-opacity: unset;
}

/* Welcome bar: follow the breadcrumb strip (light hunter tint + #355e3b
   border). Leaf stays the existing #355E3B mark (same as the breadcrumb
   leaf), not white. Week label switches to #355e3b for contrast. */
body.path-frontpage .t500-titlebar,
body.path-frontpage #block-theme500-page-title.t500-titlebar {
  background: #ebf4ec url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC") repeat;
  border: 0.0625rem solid #355e3b;
  color: #355e3b;
}
body.path-frontpage .t500-titlebar h1,
body.path-frontpage .t500-titlebar .t500-week,
body.path-frontpage #block-theme500-page-title.t500-titlebar h1,
body.path-frontpage #block-theme500-page-title.t500-titlebar .t500-week {
  color: #355e3b;
}
body.path-frontpage .t500-titlebar h1 .t500-brand-leaf,
body.path-frontpage #block-theme500-page-title.t500-titlebar h1 .t500-brand-leaf {
  background-color: #355E3B;
}


/* 2026-11-28 Geranium: restore WHITE content panels on the textured page
   background. Cause: light header tints plus existing #ebf4ec fills on
   .t500-front-text-header / .t500-front-row, and index/archive main
   content not matching section.t500-region-content (that class is not
   in page.html.twig), made the main areas blend into the body texture
   (#ebf4ec + noise). Body background is unchanged. Only header bars
   keep the section tints. Rollback: this injector. */
body.path-frontpage .t500-front-text-header,
body.path-frontpage .t500-front-row {
  background-color: #fff;
  background-image: none;
}

body.path-aga #block-theme500-content,
body.path-betterthanorganicblog #block-theme500-content,
body.path-bto #block-theme500-content,
body.path-containercultureblog #block-theme500-content,
body.path-ctr #block-theme500-content,
body.path-image-archive #block-theme500-content {
  background-color: #fff;
  background-image: none;
  border-style: solid;
  border-width: 0 0.0625rem 0.0625rem;
  border-top-width: 0;
  border-radius: 0 0 0.4rem 0.4rem;
}
body.path-aga #block-theme500-content {
  border-color: #0047AB;
}
body.path-betterthanorganicblog #block-theme500-content,
body.path-bto #block-theme500-content {
  border-color: #e97451;
}
body.path-containercultureblog #block-theme500-content,
body.path-ctr #block-theme500-content {
  border-color: #848482;
}
body.path-image-archive #block-theme500-content {
  border-color: #355e3b;
}

/* =============================================================================
   2026-11-28 Geranium (t344u) — reversible trial additions.
   1) Body: generated paper tile (no prior paper texture found in theme500
      images, old theme/backups, or site assets). Shade centred on #ebf4ec
      with rougher fibre grain at similar intensity to the breadcrumb bar.
      File: /themes/custom/theme500/images/brand/paper-bg-trial.png
      Rollback: drop this body rule (and leave the unused PNG; do not delete
      without asking). The original 5x5 body noise in theme500.css remains.
   2) Homepage project title bars use the breadcrumb fill (#ebf4ec +
      iconstrip noise), same as Welcome / Image Archive headers.
   3) Index pages /aga /betterthanorganicblog /containercultureblog:
      footer styled like the section header; continuous L/R borders from
      title to footer; white mid-section; hide "Displaying Post …" but keep
      a clipped divider under the tag filters; equal tag padding (AGA had
      none because .view-ag-articles .view-header is not covered by the
      .t500-view-*-entries rules that pad CTR/BTO).
   ============================================================================= */

/* 1) Body background: Andrew's 512x512 pale-green paper texture (t345u),
   tiled everywhere beneath everything. Mean shade ~#c4dcc8, close to the
   breadcrumb/iconstrip grain. Files in theme500/images/brand/:
     bg-paper-original.png  (supplied original, 615 KB RGBA)
     bg-paper.png           (lossless RGB, 476 KB — alpha was fully opaque)
     bg-paper.webp          (lossless WebP, 313 KB, identical pixels; LIVE)
   The earlier generated paper-bg-trial.png is unused (do not delete
   without asking). Rollback: drop this body rule. */
/* Paper tile size knob (source art is 512×512). 256px is half-size.
   Edit --t500-paper-size on this body rule to fiddle with the scale.
   This lives in Asset Injector CSS id "homepage_header_tint_trial"
   (label: Homepage header tint trial (2026-11-28)), source file
   /home/asimard/t500work/header_tint_trial.css (also copied to
   /fvl/tnt/t-500foods/image-archive/homepage_header_tint_trial.css). */
body {
  background-color: #c4dcc8;
  background-image: url("/themes/custom/theme500/images/brand/bg-paper.webp");
  background-repeat: repeat;
  --t500-paper-size: 256px;
  background-size: var(--t500-paper-size);
}

/* 2) Project headers (Oasis Labour, Oasis PTI, …) — breadcrumb fill. */
body.path-frontpage .t500-layout-project-header .t500-layout-project-title {
  background-color: #ebf4ec;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC");
  background-repeat: repeat;
}

/* 3a–3b) Index card: title + content + footer as one continuous frame.
   Title keeps its tint; sides run straight down; mid is white; footer
   matches the header tint with square top corners and rounded bottom. */
body.path-aga #block-theme500-page-title,
body.path-betterthanorganicblog #block-theme500-page-title,
body.path-bto #block-theme500-page-title,
body.path-containercultureblog #block-theme500-page-title,
body.path-ctr #block-theme500-page-title {
  margin-bottom: 0;
  /* 2b: border under the section header, inside the side borders */
  border-bottom-width: 0.0625rem;
  border-radius: 0.4rem 0.4rem 0 0;
  /* t358u: reserve settled height so FA/title font cannot grow the bar
     (38→39px) and nudge the whole article list down. */
  min-height: 39px;
  box-sizing: border-box;
}

/* t358u: breadcrumb text/icons settle at 28px (was 26px before the webfont). */
body.path-aga #block-theme500-breadcrumbs,
body.path-betterthanorganicblog #block-theme500-breadcrumbs,
body.path-bto #block-theme500-breadcrumbs,
body.path-containercultureblog #block-theme500-breadcrumbs,
body.path-ctr #block-theme500-breadcrumbs {
  min-height: 28px;
  box-sizing: border-box;
}

body.path-aga #block-theme500-content,
body.path-betterthanorganicblog #block-theme500-content,
body.path-bto #block-theme500-content,
body.path-containercultureblog #block-theme500-content,
body.path-ctr #block-theme500-content {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  background-image: none;
  border-style: solid;
  border-width: 0 0.0625rem 0.0625rem;
  border-radius: 0 0 0.4rem 0.4rem;
}

/* 3a) Footer "Showing 1–N of N articles" — same tint/border as the header. */
body.path-aga .view-ag-articles > .view-footer,
body.path-betterthanorganicblog .t500-view-bto-entries > .view-footer,
body.path-bto .t500-view-bto-entries > .view-footer,
body.path-containercultureblog .t500-view-ctr-entries > .view-footer,
body.path-ctr .t500-view-ctr-entries > .view-footer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  /* 2a: midway between section header title (17px) and article titles (13.6px) */
  font-size: 15.3px;
  font-weight: 700;
  line-height: 1.2;
  border-style: solid;
  border-width: 0.0625rem 0 0;
  border-radius: 0 0 0.4rem 0.4rem;
}

body.path-aga .view-ag-articles > .view-footer {
  background-color: #edf5ff;
  background-image: none;
  border-color: #0047AB;
  color: #0047AB;
}
body.path-betterthanorganicblog .t500-view-bto-entries > .view-footer,
body.path-bto .t500-view-bto-entries > .view-footer {
  background-color: #fcebe6;
  background-image: none;
  border-color: #e97451;
  color: #e97451;
}
body.path-containercultureblog .t500-view-ctr-entries > .view-footer,
body.path-ctr .t500-view-ctr-entries > .view-footer {
  background-color: #f1f1f1;
  background-image: none;
  border-color: #848482;
  color: #848482;
}

/* 3c–3d) Tag filter band: white, consistent padding (fixes AGA title-to-
   tags gap), divider under the tags clipped inside the side borders.
   font-size:0 hides the loose "Displaying Post 1 - N of N" text node in
   the CTR/BTO view headers; children restore their own sizes. */
body.path-aga .view-ag-articles > .view-header,
body.path-betterthanorganicblog .t500-view-bto-entries > .view-header,
body.path-bto .t500-view-bto-entries > .view-header,
body.path-containercultureblog .t500-view-ctr-entries > .view-header,
body.path-ctr .t500-view-ctr-entries > .view-header {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem 0.4rem;
  background-color: #fff;
  background-image: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
  border-bottom: 0.0625rem solid;
}

body.path-aga .view-ag-articles > .view-header {
  border-bottom-color: #0047AB;
}
body.path-betterthanorganicblog .t500-view-bto-entries > .view-header,
body.path-bto .t500-view-bto-entries > .view-header {
  border-bottom-color: #e97451;
}
body.path-containercultureblog .t500-view-ctr-entries > .view-header,
body.path-ctr .t500-view-ctr-entries > .view-header {
  border-bottom-color: #848482;
}

body.path-aga .view-ag-articles > .view-header .t500-tag-btns,
body.path-betterthanorganicblog .t500-view-bto-entries > .view-header .t500-tag-btns,
body.path-bto .t500-view-bto-entries > .view-header .t500-tag-btns,
body.path-containercultureblog .t500-view-ctr-entries > .view-header .t500-tag-btns,
body.path-ctr .t500-view-ctr-entries > .view-header .t500-tag-btns {
  font-size: 14.45px;
  line-height: 1.3;
  color: initial;
  margin: 0 0 0.15rem 0;
}

/* Bookmark / filter icons sit in the (now light) title bar — use section
   colour instead of the old white-on-solid treatment so they stay visible. */
body.path-betterthanorganicblog .t500-bto-view-header,
body.path-betterthanorganicblog .t500-bto-view-header a,
body.path-bto .t500-bto-view-header,
body.path-bto .t500-bto-view-header a {
  font-size: 17px;
  line-height: 1;
  color: #e97451;
}
body.path-containercultureblog .t500-ctr-view-header,
body.path-containercultureblog .t500-ctr-view-header a,
body.path-ctr .t500-ctr-view-header,
body.path-ctr .t500-ctr-view-header a {
  font-size: 17px;
  line-height: 1;
  color: #848482;
}
body.path-betterthanorganicblog .t500-bto-view-header a:hover,
body.path-bto .t500-bto-view-header a:hover,
body.path-containercultureblog .t500-ctr-view-header a:hover,
body.path-ctr .t500-ctr-view-header a:hover {
  color: #89bc91;
}


/* =============================================================================
   2026-11-28 Geranium (t346u)
   2c) Zebra-stripe even article rows with the section header/footer tint.
       AGA already used #edf5ff on even .views-row; CTR/BTO tables had none.
       After AGA was switched to a table, all three use tbody tr:nth-child(even).
   2d) Title wrap: icons and title are separate flex cells so wrapped title
       lines hang under the title text only, not under/between the icon cluster.
   2e) AGA page_1 is now a table with the same columns as CTR/BTO; match widths.
   ============================================================================= */

/* Beat Bootstrap .table striped box-shadow (inset accent) so odd rows stay
   white and even rows use the solid section tint, not a grey overlay. */
body.path-containercultureblog .t500-view-ctr-entries tbody tr:nth-child(odd),
body.path-containercultureblog .t500-view-ctr-entries tbody tr:nth-child(odd) > *,
body.path-ctr .t500-view-ctr-entries tbody tr:nth-child(odd),
body.path-ctr .t500-view-ctr-entries tbody tr:nth-child(odd) > * {
  background-color: #fff;
  box-shadow: none;
  --bs-table-accent-bg: #fff;
}
body.path-containercultureblog .t500-view-ctr-entries tbody tr:nth-child(even),
body.path-containercultureblog .t500-view-ctr-entries tbody tr:nth-child(even) > *,
body.path-ctr .t500-view-ctr-entries tbody tr:nth-child(even),
body.path-ctr .t500-view-ctr-entries tbody tr:nth-child(even) > * {
  background-color: #f1f1f1;
  box-shadow: none;
  --bs-table-accent-bg: #f1f1f1;
}
body.path-betterthanorganicblog .t500-view-bto-entries tbody tr:nth-child(odd),
body.path-betterthanorganicblog .t500-view-bto-entries tbody tr:nth-child(odd) > *,
body.path-bto .t500-view-bto-entries tbody tr:nth-child(odd),
body.path-bto .t500-view-bto-entries tbody tr:nth-child(odd) > * {
  background-color: #fff;
  box-shadow: none;
  --bs-table-accent-bg: #fff;
}
body.path-betterthanorganicblog .t500-view-bto-entries tbody tr:nth-child(even),
body.path-betterthanorganicblog .t500-view-bto-entries tbody tr:nth-child(even) > *,
body.path-bto .t500-view-bto-entries tbody tr:nth-child(even),
body.path-bto .t500-view-bto-entries tbody tr:nth-child(even) > * {
  background-color: #fcebe6;
  box-shadow: none;
  --bs-table-accent-bg: #fcebe6;
}
body.path-aga .view-ag-articles tbody tr:nth-child(odd),
body.path-aga .view-ag-articles tbody tr:nth-child(odd) > * {
  background-color: #fff;
  box-shadow: none;
  --bs-table-accent-bg: #fff;
}
body.path-aga .view-ag-articles tbody tr:nth-child(even),
body.path-aga .view-ag-articles tbody tr:nth-child(even) > * {
  background-color: #edf5ff;
  box-shadow: none;
  --bs-table-accent-bg: #edf5ff;
}

/* t358u: index icon column is a fixed 100px slot (measured max cluster
   was 93–94px), same idea as homepage_article_lists (.t500-columns
   .list-group-item .list-icons is flex:0 0 3.6em / width:3.6em, overflow
   hidden, no JS). Titles share one x origin from first paint. Child
   icons/flags have reserved boxes so the FA kit / flag font cannot
   grow the column. */
body.path-aga .view-ag-articles td.views-field-title,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title,
body.path-bto .t500-view-bto-entries td.views-field-title,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title,
body.path-ctr .t500-view-ctr-entries td.views-field-title {
  display: flex;
  align-items: flex-start;
  gap: 0;
  white-space: normal;
}
body.path-aga .view-ag-articles td.views-field-title .list-icons,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title .list-icons,
body.path-bto .t500-view-bto-entries td.views-field-title .list-icons,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title .list-icons,
body.path-ctr .t500-view-ctr-entries td.views-field-title .list-icons {
  flex: 0 0 100px;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.12em;
  white-space: nowrap;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  overflow: hidden;
  box-sizing: border-box;
}
body.path-aga .view-ag-articles td.views-field-title .list-icons > i,
body.path-aga .view-ag-articles td.views-field-title .list-icons > .fi,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title .list-icons > i,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title .list-icons > .fi,
body.path-bto .t500-view-bto-entries td.views-field-title .list-icons > i,
body.path-bto .t500-view-bto-entries td.views-field-title .list-icons > .fi,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title .list-icons > i,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title .list-icons > .fi,
body.path-ctr .t500-view-ctr-entries td.views-field-title .list-icons > i,
body.path-ctr .t500-view-ctr-entries td.views-field-title .list-icons > .fi {
  display: inline-block;
  flex: 0 0 1.15em;
  width: 1.15em;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}
body.path-aga .view-ag-articles td.views-field-title .list-icons > .fi,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title .list-icons > .fi,
body.path-bto .t500-view-bto-entries td.views-field-title .list-icons > .fi,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title .list-icons > .fi,
body.path-ctr .t500-view-ctr-entries td.views-field-title .list-icons > .fi {
  flex-basis: 1.33em;
  width: 1.33em;
}
body.path-aga .view-ag-articles td.views-field-title a,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-title a,
body.path-bto .t500-view-bto-entries td.views-field-title a,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-title a,
body.path-ctr .t500-view-ctr-entries td.views-field-title a {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  box-sizing: border-box;
}

/* t358u: lock the other table columns so auto layout / time-diff / stars
   cannot move the title. Title takes the remaining width. */
body.path-aga .view-ag-articles table.views-table,
body.path-betterthanorganicblog .t500-view-bto-entries table.views-table,
body.path-bto .t500-view-bto-entries table.views-table,
body.path-containercultureblog .t500-view-ctr-entries table.views-table,
body.path-ctr .t500-view-ctr-entries table.views-table {
  table-layout: fixed;
  width: 100%;
}
body.path-aga .view-ag-articles td.t500-column-bookmark,
body.path-betterthanorganicblog .t500-view-bto-entries td.t500-column-bookmark,
body.path-bto .t500-view-bto-entries td.t500-column-bookmark,
body.path-containercultureblog .t500-view-ctr-entries td.t500-column-bookmark,
body.path-ctr .t500-view-ctr-entries td.t500-column-bookmark {
  width: 32px;
}
body.path-aga .view-ag-articles td.views-field-uid,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-uid,
body.path-bto .t500-view-bto-entries td.views-field-uid,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-uid,
body.path-ctr .t500-view-ctr-entries td.views-field-uid {
  width: 8.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.path-aga .view-ag-articles td.t500-column-date,
body.path-betterthanorganicblog .t500-view-bto-entries td.t500-column-date,
body.path-bto .t500-view-bto-entries td.t500-column-date,
body.path-containercultureblog .t500-view-ctr-entries td.t500-column-date,
body.path-ctr .t500-view-ctr-entries td.t500-column-date {
  width: 7.5rem;
  white-space: nowrap;
  overflow: hidden;
}
body.path-aga .view-ag-articles td.t500-column-rating,
body.path-aga .view-ag-articles td.views-field-field-rating,
body.path-betterthanorganicblog .t500-view-bto-entries td.t500-column-rating,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-field-rating,
body.path-bto .t500-view-bto-entries td.t500-column-rating,
body.path-bto .t500-view-bto-entries td.views-field-field-rating,
body.path-containercultureblog .t500-view-ctr-entries td.t500-column-rating,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-field-rating,
body.path-ctr .t500-view-ctr-entries td.t500-column-rating,
body.path-ctr .t500-view-ctr-entries td.views-field-field-rating {
  width: 95px;
  white-space: nowrap;
}

/* Reserved boxes for tag-chip icons so the FA kit cannot widen chips
   and wrap the filter band to an extra line (vertical CLS). */
body.path-aga .t500-tag-btn i,
body.path-aga .t500-tag-btn .fi,
body.path-betterthanorganicblog .t500-tag-btn i,
body.path-betterthanorganicblog .t500-tag-btn .fi,
body.path-bto .t500-tag-btn i,
body.path-bto .t500-tag-btn .fi,
body.path-containercultureblog .t500-tag-btn i,
body.path-containercultureblog .t500-tag-btn .fi,
body.path-ctr .t500-tag-btn i,
body.path-ctr .t500-tag-btn .fi {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: -0.1em;
}
body.path-aga .t500-tag-btn .fi,
body.path-betterthanorganicblog .t500-tag-btn .fi,
body.path-bto .t500-tag-btn .fi,
body.path-containercultureblog .t500-tag-btn .fi,
body.path-ctr .t500-tag-btn .fi {
  width: 1.33em;
}

/* t358u: reserve the settled row box so Vanadium / time-diff / fivestar
   cannot grow the table after first paint (hard-reload rows were 35→39px
   and the content block jumped ~52px). height on a table-row is a minimum;
   wrapped titles can still grow the row. line-height is a unitless 1.25
   so fallback vs webfont share the same line box. */
body.path-aga .view-ag-articles table.views-table thead tr,
body.path-betterthanorganicblog .t500-view-bto-entries table.views-table thead tr,
body.path-bto .t500-view-bto-entries table.views-table thead tr,
body.path-containercultureblog .t500-view-ctr-entries table.views-table thead tr,
body.path-ctr .t500-view-ctr-entries table.views-table thead tr {
  height: 22px;
}
body.path-aga .view-ag-articles table.views-table tbody tr,
body.path-betterthanorganicblog .t500-view-bto-entries table.views-table tbody tr,
body.path-bto .t500-view-bto-entries table.views-table tbody tr,
body.path-containercultureblog .t500-view-ctr-entries table.views-table tbody tr,
body.path-ctr .t500-view-ctr-entries table.views-table tbody tr {
  height: 39px;
}
body.path-aga .view-ag-articles table.views-table th,
body.path-aga .view-ag-articles table.views-table td,
body.path-betterthanorganicblog .t500-view-bto-entries table.views-table th,
body.path-betterthanorganicblog .t500-view-bto-entries table.views-table td,
body.path-bto .t500-view-bto-entries table.views-table th,
body.path-bto .t500-view-bto-entries table.views-table td,
body.path-containercultureblog .t500-view-ctr-entries table.views-table th,
body.path-containercultureblog .t500-view-ctr-entries table.views-table td,
body.path-ctr .t500-view-ctr-entries table.views-table th,
body.path-ctr .t500-view-ctr-entries table.views-table td {
  line-height: 1.25;
}
body.path-aga .view-ag-articles td.t500-column-date time,
body.path-betterthanorganicblog .t500-view-bto-entries td.t500-column-date time,
body.path-bto .t500-view-bto-entries td.t500-column-date time,
body.path-containercultureblog .t500-view-ctr-entries td.t500-column-date time,
body.path-ctr .t500-view-ctr-entries td.t500-column-date time {
  display: inline-block;
  height: 1.25em;
  line-height: 1.25;
}
body.path-aga .view-ag-articles td.t500-column-rating .fivestar-widget,
body.path-aga .view-ag-articles td.views-field-field-rating .fivestar-widget,
body.path-betterthanorganicblog .t500-view-bto-entries td.t500-column-rating .fivestar-widget,
body.path-betterthanorganicblog .t500-view-bto-entries td.views-field-field-rating .fivestar-widget,
body.path-bto .t500-view-bto-entries td.t500-column-rating .fivestar-widget,
body.path-bto .t500-view-bto-entries td.views-field-field-rating .fivestar-widget,
body.path-containercultureblog .t500-view-ctr-entries td.t500-column-rating .fivestar-widget,
body.path-containercultureblog .t500-view-ctr-entries td.views-field-field-rating .fivestar-widget,
body.path-ctr .t500-view-ctr-entries td.t500-column-rating .fivestar-widget,
body.path-ctr .t500-view-ctr-entries td.views-field-field-rating .fivestar-widget {
  min-height: 15px;
  height: 15px;
  overflow: hidden;
}


/* 2e) AGA table column widths match CTR/BTO (title grows; other cols shrink-to-fit). */
.view-id-ag_articles.view-display-id-page_1 td.views-field-title {
  width: 100%;
  white-space: normal;
}
.view-id-ag_articles.view-display-id-page_1 td:not(.views-field-title) {
  white-space: nowrap;
}
.view-id-ag_articles.view-display-id-page_1 table.views-table {
  table-layout: fixed;
  width: 100%;
}
.view-id-ag_articles.view-display-id-page_1 .table-responsive,
.view-id-ag_articles.view-display-id-page_1 table.views-table,
.view-id-ag_articles.view-display-id-page_1 table.views-table td,
.view-id-ag_articles.view-display-id-page_1 table.views-table td a {
  font-size: 13.6px;
}
.view-id-ag_articles.view-display-id-page_1 > .view-content > .table-responsive {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  display: table;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.view-id-ag_articles td.views-field-field-rating {
  white-space: nowrap !important;
  min-width: 90px;
  width: 90px;
}


/* =============================================================================
   2026-11-28 Geranium (t347u)
   1) Icon cluster is nowrap / width:max-content so all icons stay on one line;
      the title flexes and wraps in the remaining space.
   2) Sort-tags button (fa-sort) in the index title bar, left of image-stack.
      Same thin duotone + section colour as the Image Archive / RSS icons.
   3) Image Archive: horizontal padding so thumbs aren't flush to the border.
   4) Image Archive footer "Showing N image sets" — breadcrumb fill, matching
      the Image Archive title bar (hunter #ebf4ec + iconstrip noise, #355e3b).
   ============================================================================= */

#block-theme500-page-title .t500-header-icons button.t500-tag-sort {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
#block-theme500-page-title .t500-header-icons button.t500-tag-sort:hover,
#block-theme500-page-title .t500-header-icons button.t500-tag-sort:focus {
  opacity: 0.8;
}
#block-theme500-page-title .t500-header-icons button.t500-tag-sort:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

body.path-aga #block-theme500-page-title .t500-header-icons button.t500-tag-sort {
  color: #0047AB;
}
body.path-betterthanorganicblog #block-theme500-page-title .t500-header-icons button.t500-tag-sort,
body.path-bto #block-theme500-page-title .t500-header-icons button.t500-tag-sort {
  color: #e97451;
}
body.path-containercultureblog #block-theme500-page-title .t500-header-icons button.t500-tag-sort,
body.path-ctr #block-theme500-page-title .t500-header-icons button.t500-tag-sort {
  color: #848482;
}

/* 3) Inset the image list from both side borders (left was flush). */
body.path-image-archive .view-image-archive > .view-content {
  padding: 0.5rem 0.75rem;
}

/* 4) Footer styled like the Image Archive title (breadcrumb fill). */
body.path-image-archive .view-image-archive > .view-footer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 15.3px;
  font-weight: 700;
  line-height: 1.2;
  color: #355e3b;
  background-color: #ebf4ec;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  border-style: solid;
  border-width: 0.0625rem 0 0;
  border-color: #355e3b;
  border-radius: 0 0 0.4rem 0.4rem;
}

/* =============================================================================
   2026-11-28 Geranium (t350u): individual article pages pick up today's
   index-card styling. Previously the tinted title bars and section-colour
   side borders were scoped only to index paths (path-aga, path-ctr, …);
   posts use path-node + t500-post, so they kept the solid title bars
   (#848482 / #e97451 / #0047AB / #355E3B) and the hunter content border.
   Title bar = section tint (CTR #f1f1f1, BTO #fcebe6, AGA #edf5ff) with
   section-colour border and title text; header icons fa-thin, both FA
   layers in that colour. News From Here and Product Updates use the
   breadcrumb fill (#ebf4ec + noise, #355e3b). White content, continuous
   side borders, rounded corners. The existing .t500-post-stats bar is
   restyled as a light tint footer (like the index "Showing…" footers);
   tags stay in the white body so the footer stays clean.
   2026-11-28 t351u: close the card around the stats footer — the content
   box now has continuous side + bottom borders and overflow:hidden; the
   stats bar no longer bleeds 1px outside those sides (brand.css negative
   margin) so L/R/bottom strokes and the rounded bottom corners show. Hero display
   and post body typography are not changed.
   Rollback: this injector, plus theme500.theme.bak-20261128-1815PCT for
   the fa-thin / product_update icon change.
   ============================================================================= */

body.t500-post #block-theme500-page-title {
  margin-bottom: 0;
  border-style: solid;
  border-width: 0.0625rem;
  border-radius: 0.4rem 0.4rem 0 0;
}
body.t500-post #block-theme500-page-title h1,
body.t500-post #block-theme500-page-title h1 .field--name-title {
  color: inherit;
}
body.t500-post #block-theme500-page-title .t500-post-title-icon,
body.t500-post #block-theme500-page-title .fa-sharp-duotone {
  color: inherit;
  --fa-primary-color: currentColor;
  --fa-secondary-color: currentColor;
  --fa-secondary-opacity: unset;
}
body.t500-post #block-theme500-content {
  margin-top: 0;
  background-color: #fff;
  background-image: none;
  border-style: solid;
  /* Close the card: side + bottom borders wrap the stats footer
     (t351u). overflow clips the footer's bottom radius to the frame. */
  border-width: 0 0.0625rem 0.0625rem;
  border-top-width: 0;
  border-bottom-width: 0.0625rem;
  border-radius: 0 0 0.4rem 0.4rem;
  overflow: hidden;
}
body.t500-post:not(:has(.t500-post-stats)) #block-theme500-content {
  border-bottom-width: 0.0625rem;
  padding-bottom: 1.25rem;
}
body.t500-post .t500-post-stats {
  background-image: none;
  font-size: 15.3px;
  font-weight: 700;
  /* Stay inside the content box (brand.css bled 1px past the side
     borders, which hid L/R/bottom). Parent supplies those three sides;
     this bar only draws the top divider, like index view-footers. */
  flex: 0 0 auto;
  width: calc(100% + 1.25rem);
  max-width: none;
  box-sizing: border-box;
  margin: 0 -0.625rem 0;
  border-style: solid;
  border-width: 0.0625rem 0 0;
  border-radius: 0 0 0.4rem 0.4rem;
}
body.t500-post .t500-post-stats .fa-sharp-duotone {
  color: inherit;
  --fa-primary-color: currentColor;
  --fa-secondary-color: currentColor;
  --fa-secondary-opacity: unset;
}

/* CTR posts (including welcome /ctr/401). */
body.t500-post.t500-icon-layers #block-theme500-page-title {
  background-color: #f1f1f1;
  background-image: none;
  border-color: #848482;
  color: #848482;
}
body.t500-post.t500-icon-layers #block-theme500-page-title h1,
body.t500-post.t500-icon-layers #block-theme500-page-title h1 .field--name-title,
body.t500-post.t500-icon-layers #block-theme500-page-title .t500-post-title-icon,
body.t500-post.t500-icon-layers #block-theme500-page-title .fa-sharp-duotone {
  color: #848482;
  --fa-primary-color: #848482;
  --fa-secondary-color: #848482;
  --fa-secondary-opacity: unset;
}
body.t500-post.t500-icon-layers #block-theme500-content,
body.t500-post.t500-icon-layers .t500-post-stats {
  border-color: #848482;
}
body.t500-post.t500-icon-layers .t500-post-stats {
  background: #f1f1f1;
  color: #848482;
}

/* BTO posts (including welcome /bto/501). */
body.t500-post.t500-icon-lightbulb #block-theme500-page-title {
  background-color: #fcebe6;
  background-image: none;
  border-color: #e97451;
  color: #e97451;
}
body.t500-post.t500-icon-lightbulb #block-theme500-page-title h1,
body.t500-post.t500-icon-lightbulb #block-theme500-page-title h1 .field--name-title,
body.t500-post.t500-icon-lightbulb #block-theme500-page-title .t500-post-title-icon,
body.t500-post.t500-icon-lightbulb #block-theme500-page-title .fa-sharp-duotone {
  color: #e97451;
  --fa-primary-color: #e97451;
  --fa-secondary-color: #e97451;
  --fa-secondary-opacity: unset;
}
body.t500-post.t500-icon-lightbulb #block-theme500-content,
body.t500-post.t500-icon-lightbulb .t500-post-stats {
  border-color: #e97451;
}
body.t500-post.t500-icon-lightbulb .t500-post-stats {
  background: #fcebe6;
  color: #e97451;
}

/* AGA posts (including welcome /aga/601). */
body.t500-post.t500-icon-globe #block-theme500-page-title {
  background-color: #edf5ff;
  background-image: none;
  border-color: #0047AB;
  color: #0047AB;
}
body.t500-post.t500-icon-globe #block-theme500-page-title h1,
body.t500-post.t500-icon-globe #block-theme500-page-title h1 .field--name-title,
body.t500-post.t500-icon-globe #block-theme500-page-title .t500-post-title-icon,
body.t500-post.t500-icon-globe #block-theme500-page-title .fa-sharp-duotone {
  color: #0047AB;
  --fa-primary-color: #0047AB;
  --fa-secondary-color: #0047AB;
  --fa-secondary-opacity: unset;
}
body.t500-post.t500-icon-globe #block-theme500-content,
body.t500-post.t500-icon-globe .t500-post-stats {
  border-color: #0047AB;
}
body.t500-post.t500-icon-globe .t500-post-stats {
  background: #edf5ff;
  color: #0047AB;
}

/* News From Here (/blog) and Product Updates — breadcrumb fill. */
body.t500-post.t500-icon-bullhorn #block-theme500-page-title,
body.t500-post.t500-icon-atom #block-theme500-page-title {
  background-color: #ebf4ec;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  border-color: #355e3b;
  color: #355e3b;
}
body.t500-post.t500-icon-bullhorn #block-theme500-page-title h1,
body.t500-post.t500-icon-bullhorn #block-theme500-page-title h1 .field--name-title,
body.t500-post.t500-icon-bullhorn #block-theme500-page-title .t500-post-title-icon,
body.t500-post.t500-icon-bullhorn #block-theme500-page-title .fa-sharp-duotone,
body.t500-post.t500-icon-atom #block-theme500-page-title h1,
body.t500-post.t500-icon-atom #block-theme500-page-title h1 .field--name-title,
body.t500-post.t500-icon-atom #block-theme500-page-title .t500-post-title-icon,
body.t500-post.t500-icon-atom #block-theme500-page-title .fa-sharp-duotone {
  color: #355e3b;
  --fa-primary-color: #355e3b;
  --fa-secondary-color: #355e3b;
  --fa-secondary-opacity: unset;
}
body.t500-post.t500-icon-bullhorn #block-theme500-content,
body.t500-post.t500-icon-bullhorn .t500-post-stats,
body.t500-post.t500-icon-atom #block-theme500-content,
body.t500-post.t500-icon-atom .t500-post-stats {
  border-color: #355e3b;
}
body.t500-post.t500-icon-bullhorn .t500-post-stats,
body.t500-post.t500-icon-atom .t500-post-stats {
  background-color: #ebf4ec;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQImWM49fDcf2R86Oax/wzoAqcenkMIwgTggjABuEpkFTAJAKeOVhEmGaLLAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  color: #355e3b;
}
