/* WebGenEngine stylesheet. Generated from the theme; edit the theme instead. */
:root {
  --wge-space-none: 0;
  --wge-space-xs: 0.25rem;
  --wge-space-sm: 0.5rem;
  --wge-space-md: 1rem;
  --wge-space-lg: 2rem;
  --wge-space-xl: 3rem;
  --wge-space-2xl: 4rem;
  --wge-font-size-sm: 0.875rem;
  --wge-font-size-md: 1rem;
  --wge-font-size-lg: 1.25rem;
  --wge-width-narrow: 40rem;
  --wge-width-normal: 1000px;
  --wge-width-wide: 80rem;
  --wge-radius: 3px;
  --wge-color-text: #161a16;
  --wge-color-background: #ffffff;
  --wge-color-subtle: #f4f6f4;
  --wge-color-primary: #1b5e20;
  --wge-color-on-primary: #ffffff;
  --wge-color-inverse: #0e3f13;
  --wge-color-on-inverse: #ffffff;
  --wge-color-border: #d3dad3;
  --wge-color-muted: #556055;
  --wge-color-notice: #fff8e1;
  --wge-color-notice-border: #e6c34a;
  --wge-font-body: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --wge-line-height: 1.8;
  --wge-button-weight: 700;
  --wge-logo-lg: 150px;
  --wge-logo-md: 104px;
  --wge-logo-sm: 66px;
}
/* Fixed rules. Token-dependent rules (:root, gap, padding, breakpoint) are generated from the theme.
   A token the theme may leave out (rendering.md §4.1) is used as var(--token, the default look), and
   a look it chooses by name is a block between "@decor <name>=<value>" and "@end", kept only then.
   The rules between "@narrow" and "@end" go into the @media of the theme's breakpoint. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--wge-color-text); background: var(--wge-color-background); font-family: var(--wge-font-body); font-size: var(--wge-font-size-md); line-height: var(--wge-line-height, 1.7); overflow-wrap: anywhere; }
a { color: var(--wge-color-primary); }
a:focus-visible { outline: 2px solid var(--wge-color-primary); outline-offset: 2px; }

.wge-section { padding-block: var(--wge-space-lg); padding-inline: var(--wge-space-md); }
.wge-section > * { max-width: min(100%, var(--wge-width-normal)); margin-inline: auto; }
.wge-width-narrow > * { max-width: min(100%, var(--wge-width-narrow)); }
.wge-width-normal > * { max-width: min(100%, var(--wge-width-normal)); }
.wge-width-wide > * { max-width: min(100%, var(--wge-width-wide)); }
.wge-width-full > * { max-width: 100%; }
/* A block placed straight in the page, outside any section, keeps a section's side room and column.
   The blog's own list and post frame (blog.md §7) keep their room themselves, so they are left out. */
.wge-page > :not(.wge-section, .wge-posts, .wge-post-head, .wge-post-foot) { max-width: min(100% - 2 * var(--wge-space-md), var(--wge-width-normal)); margin-inline: auto; margin-block: var(--wge-space-md); }
.wge-page > .wge-button { display: block; width: fit-content; margin-inline-start: max(var(--wge-space-md), (100% - var(--wge-width-normal)) / 2); }
.wge-bg-none { background: none; }
.wge-bg-subtle { background: var(--wge-color-subtle); }
.wge-bg-primary { background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
.wge-bg-inverse { background: var(--wge-color-inverse); color: var(--wge-color-on-inverse); }
.wge-bg-primary a:not(.wge-button, .wge-nav-link), .wge-bg-inverse a:not(.wge-button, .wge-nav-link) { color: inherit; }

.wge-stack { display: flex; flex-direction: column; gap: var(--wge-space-md); }
.wge-direction-vertical { flex-direction: column; }
.wge-direction-horizontal { flex-direction: row; flex-wrap: wrap; }
.wge-wrap-true { flex-wrap: wrap; }
.wge-wrap-false { flex-wrap: nowrap; }
.wge-align-start { align-items: flex-start; }
.wge-align-center { align-items: center; }
.wge-align-end { align-items: flex-end; }
.wge-align-stretch { align-items: stretch; }
.wge-justify-start { justify-content: flex-start; }
.wge-justify-center { justify-content: center; }
.wge-justify-end { justify-content: flex-end; }
.wge-justify-between { justify-content: space-between; }

.wge-grid { display: grid; grid-template-columns: repeat(var(--wge-columns, 1), minmax(0, 1fr)); gap: var(--wge-space-md); }
.wge-columns-1 { --wge-columns: 1; }
.wge-columns-2 { --wge-columns: 2; }
.wge-columns-3 { --wge-columns: 3; }
.wge-columns-4 { --wge-columns: 4; }
.wge-columns-5 { --wge-columns: 5; }
.wge-columns-6 { --wge-columns: 6; }

/* A stack can stand apart as a card, or draw the eye as a notice. Their text keeps the page's
   colours even on a coloured section, since their own background is the page's. */
.wge-surface-none { padding: 0; }
.wge-surface-card { padding: var(--wge-space-md); background: var(--wge-color-background); color: var(--wge-color-text); border: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-radius: var(--wge-radius); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
/* The theme leaves out the card's shadow (rendering.md §4.1). */
.wge-surface-card { box-shadow: none; }
.wge-surface-notice { padding: var(--wge-space-md); background: var(--wge-color-notice, var(--wge-color-subtle)); color: var(--wge-color-text); border-inline-start: 4px solid var(--wge-color-notice-border, var(--wge-color-primary)); border-radius: var(--wge-radius); }
/* A card with a line of the main colour along its top and no shadow (rendering.md §7.11). */
.wge-surface-accent { padding: var(--wge-space-md); background: var(--wge-color-background); color: var(--wge-color-text); border: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-block-start: 3px solid var(--wge-color-primary); border-radius: var(--wge-radius); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) a:not(.wge-button, .wge-nav-link) { color: var(--wge-color-primary); }

/* Only the browser's space above and below goes: placed straight in a section, a heading or a
   paragraph keeps the section's centred column (.wge-section > *). */
.wge-heading { margin-block: 0; line-height: 1.3; }
.wge-text { margin-block: 0; }
small { font-size: var(--wge-font-size-sm); }
.wge-size-sm { font-size: var(--wge-font-size-sm); }
.wge-size-md { font-size: var(--wge-font-size-md); }
.wge-size-lg { font-size: var(--wge-font-size-lg); }
/* Words set large for display (a catchphrase at the top of a page), on a phone and on a computer. */
.wge-size-xl { font-size: clamp(1.375rem, 6vw, 2.125rem); font-weight: 700; line-height: 1.35; }
.wge-text-align-start { text-align: start; }
.wge-text-align-center { text-align: center; }
.wge-text-align-end { text-align: end; }
/* Quieter words (theme color.muted). On a coloured section they are the section's own light text a
   little toward its ground, and in a card or notice the page's again (rendering.md §7.11). */
.wge-tone-muted { color: var(--wge-color-muted, color-mix(in srgb, var(--wge-color-text) 72%, var(--wge-color-background))); }
.wge-bg-primary .wge-tone-muted { color: color-mix(in srgb, var(--wge-color-on-primary) 85%, var(--wge-color-primary)); }
.wge-bg-inverse .wge-tone-muted { color: color-mix(in srgb, var(--wge-color-on-inverse) 85%, var(--wge-color-inverse)); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) .wge-tone-muted { color: var(--wge-color-muted, color-mix(in srgb, var(--wge-color-text) 72%, var(--wge-color-background))); }
.wge-tracking-wide { letter-spacing: 0.12em; }
.wge-tracking-wider { letter-spacing: 0.18em; }
/* A small label in a frame of its own colour, as wide as its words, at the start of the column. */
.wge-frame-outline { width: fit-content; max-width: 100%; padding: 0.125rem 0.75rem; border: 2px solid currentColor; border-radius: var(--wge-radius); font-weight: 700; }
.wge-section > .wge-frame-outline { margin-inline: max(0px, (100% - var(--wge-width-normal)) / 2) auto; }
.wge-width-narrow > .wge-frame-outline { margin-inline-start: max(0px, (100% - var(--wge-width-narrow)) / 2); }
.wge-width-wide > .wge-frame-outline { margin-inline-start: max(0px, (100% - var(--wge-width-wide)) / 2); }
.wge-width-full > .wge-frame-outline { margin-inline-start: 0; }
.wge-page > .wge-frame-outline { margin-inline: max(var(--wge-space-md), (100% - var(--wge-width-normal)) / 2) auto; }
/* What only screen readers read (a list's group heading the page does not show, data.md §9.11). */
.wge-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wge-button { display: inline-block; padding: var(--wge-space-sm) var(--wge-space-lg); border: 2px solid var(--wge-color-primary); border-radius: var(--wge-radius); font-weight: var(--wge-button-weight, inherit); text-decoration: none; text-align: center; }
/* A button across its column, always or below the theme's breakpoint. */
.wge-button-width-full { display: block; width: 100%; }
.wge-page > .wge-button-width-full { width: auto; margin-inline: auto; }
.wge-variant-primary, .wge-button:not(.wge-variant-secondary) { background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
.wge-variant-secondary { background: transparent; color: var(--wge-color-primary); }
/* On a primary background a primary button would vanish, so swap its colours. */
.wge-bg-primary .wge-button:not(.wge-variant-secondary) { background: var(--wge-color-on-primary); color: var(--wge-color-primary); border-color: var(--wge-color-on-primary); }
.wge-bg-primary .wge-variant-secondary { color: var(--wge-color-on-primary); border-color: var(--wge-color-on-primary); }
.wge-bg-inverse .wge-variant-secondary { color: var(--wge-color-on-inverse); border-color: var(--wge-color-on-inverse); }
/* A card or a notice has the page's background, so its buttons are drawn as on the page again. */
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) .wge-button:not(.wge-variant-secondary) { background: var(--wge-color-primary); color: var(--wge-color-on-primary); border-color: var(--wge-color-primary); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) .wge-variant-secondary { color: var(--wge-color-primary); border-color: var(--wge-color-primary); }

/* :where() has no weight, so a section's width above still limits a picture placed in it. */
.wge-image { display: block; height: auto; }
:where(.wge-image) { max-width: 100%; }
.wge-ratio-auto { object-fit: fill; }
.wge-ratio-1-1 { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.wge-ratio-4-3 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wge-ratio-16-9 { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* A picture with a link (rendering.md §7.7): only the picture opens it, not the room beside it,
   except a picture drawn at the column's width. */
.wge-image-link { display: block; width: fit-content; max-width: 100%; }
.wge-image-link:has(> :is(.wge-ratio-1-1, .wge-ratio-4-3, .wge-ratio-16-9)) { width: auto; }
/* On a coloured section the ring that shows the keyboard's place is drawn in the section's text
   colour, and on a card or notice there in the main colour again. */
.wge-bg-primary :focus-visible { outline-color: var(--wge-color-on-primary); }
.wge-bg-inverse :focus-visible { outline-color: var(--wge-color-on-inverse); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) :focus-visible { outline-color: var(--wge-color-primary); }

/* A map or a page of this site, set in the page (rendering.md §7.2): full width, at a set ratio. */
.wge-embed { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--wge-radius); background: var(--wge-color-subtle); }
.wge-embed-ratio-16-9 { aspect-ratio: 16 / 9; }
.wge-embed-ratio-16-10 { aspect-ratio: 16 / 10; }
.wge-embed-ratio-4-3 { aspect-ratio: 4 / 3; }
.wge-embed-ratio-1-1 { aspect-ratio: 1 / 1; }
.wge-embed-ratio-3-4 { aspect-ratio: 3 / 4; }

/* A table (rendering.md §7.3): full width, rows ruled apart, a header cell on a tinted ground.
   Long words wrap (body's overflow-wrap), so a few columns fit a phone without widening the page. */
.wge-table { width: 100%; border-collapse: collapse; }
.wge-table :is(th, td) { padding: var(--wge-space-sm) var(--wge-space-md); border-block-end: 1px solid var(--wge-color-border, var(--wge-color-subtle)); text-align: start; vertical-align: top; }
.wge-table th { background: var(--wge-color-subtle); font-weight: 600; }
.wge-table th[scope="row"] { width: 30%; min-width: 6em; }
/* On a coloured section the header cells keep their tinted ground, so their text takes the body's
   colour, not the section's light one (white on the tint was 1.1:1). */
:is(.wge-bg-primary, .wge-bg-inverse) .wge-table th { color: var(--wge-color-text); }
/* A table's own looks (rendering.md §7.12): its column headings in the main colour, and every other
   row tinted by its own text colour, so that the stripes read on a coloured section as well. */
.wge-table-head-primary th[scope="col"] { background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
.wge-table-stripes-true tr:nth-child(even) > td { background: color-mix(in srgb, currentColor 6%, transparent); }

/* A menu of links (rendering.md §7.6): in a row that wraps on a computer, and in one row that
   scrolls sideways on a phone, so the page itself is not pushed down. The page one is on is marked
   (aria-current) by the colours of a primary button. Its links take their colours here only. */
.wge-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.125rem 0.25rem; min-width: 0; }
.wge-nav-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.75rem; border-radius: var(--wge-radius); color: var(--wge-color-text); font-size: var(--wge-font-size-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.wge-nav-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.wge-nav-link[aria-current="page"] { background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
.wge-bg-primary .wge-nav-link { color: var(--wge-color-on-primary); }
.wge-bg-primary .wge-nav-link[aria-current="page"] { background: var(--wge-color-on-primary); color: var(--wge-color-primary); }
.wge-bg-inverse .wge-nav-link { color: var(--wge-color-on-inverse); }
.wge-bg-inverse .wge-nav-link[aria-current="page"] { background: var(--wge-color-on-inverse); color: var(--wge-color-inverse); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) .wge-nav-link { color: var(--wge-color-text); }
:is(.wge-surface-card, .wge-surface-notice, .wge-surface-accent) .wge-nav-link[aria-current="page"] { background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
@media (max-width: 40rem) {
  .wge-nav { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}
/* A menu marked to fold on a narrow screen (Nav narrow="menu", rendering.md §7.13): below the theme's
   breakpoint it takes a line of its own and its links go one under the other, across it. With the
   bundled plugin "nav-menu", a button the script puts before it opens and closes it; the button
   shows on a narrow screen only. Without the script every link stays in sight. A menu marked to
   be a list there (narrow="list", a footer's) goes one under the other the same way, never folded. */
.wge-nav-toggle { display: none; }

/* The language switch (i18n.md §4): the server fills it with the page's other published languages,
   the one shown named but not a link. With no other language it is empty and takes no room. */
.wge-lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.125rem 0.25rem; }
.wge-lang-switch:empty { display: none; }
.wge-lang-current, .wge-lang-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.5rem; font-size: var(--wge-font-size-sm); white-space: nowrap; }
.wge-lang-current { color: inherit; }
.wge-lang-link { font-weight: 700; text-decoration: none; }
.wge-lang-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* A list of data (data.md §4): cards in as many columns as fit, grouped under a heading each, with
   links to the groups first. A card that a link points at (exhibitors.html#…) is outlined. */
.wge-collection { display: flex; flex-direction: column; gap: var(--wge-space-lg); }
.wge-collection-jump { display: flex; flex-wrap: wrap; gap: var(--wge-space-xs) var(--wge-space-sm); }
.wge-collection-jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.875rem; border: 1px solid color-mix(in srgb, var(--wge-color-primary) 35%, var(--wge-color-background)); border-radius: 999px; color: var(--wge-color-primary); font-size: var(--wge-font-size-sm); font-weight: 700; text-decoration: none; }
.wge-collection-jump a:hover { background: color-mix(in srgb, var(--wge-color-primary) 8%, var(--wge-color-background)); }
.wge-collection-group { display: flex; flex-direction: column; gap: var(--wge-space-md); }
.wge-collection-group-title { margin: 0; padding-block-end: 0.375rem; border-block-end: 2px solid var(--wge-color-primary); color: var(--wge-color-primary); font-size: 1.25rem; line-height: 1.4; scroll-margin-top: var(--wge-space-md); }
.wge-collection-empty { margin: 0; }
/* A group's note under its heading (a choice's notes in types.json, data.md §9.11). */
.wge-collection-note { margin: 0; color: var(--wge-color-muted, color-mix(in srgb, var(--wge-color-text) 72%, var(--wge-color-background))); font-size: var(--wge-font-size-sm); }
.wge-bg-primary :is(.wge-collection-jump a, .wge-collection-group-title) { color: var(--wge-color-on-primary); border-color: var(--wge-color-on-primary); }
.wge-bg-inverse :is(.wge-collection-jump a, .wge-collection-group-title) { color: var(--wge-color-on-inverse); border-color: var(--wge-color-on-inverse); }
:is(.wge-bg-primary, .wge-bg-inverse) .wge-collection-note { color: inherit; }
.wge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--wge-space-md); margin: 0; padding: 0; list-style: none; }
.wge-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wge-color-border, color-mix(in srgb, var(--wge-color-text) 14%, var(--wge-color-background))); border-radius: var(--wge-radius); background: var(--wge-color-background); color: var(--wge-color-text); scroll-margin-top: var(--wge-space-md); }
.wge-card:target { outline: 3px solid var(--wge-color-primary); outline-offset: 2px; }
.wge-card a { color: var(--wge-color-primary); }
.wge-card-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--wge-color-subtle); }
.wge-card-body { display: flex; flex-direction: column; gap: 0.375rem; padding: var(--wge-space-md); }
.wge-card-badge { align-self: flex-start; margin: 0; padding: 0.125rem 0.625rem; border-radius: 999px; background: var(--wge-color-subtle); color: var(--wge-color-primary); font-size: var(--wge-font-size-sm); font-weight: 700; line-height: 1.6; }
.wge-card-title { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.wge-card-sub { margin: 0; color: var(--wge-color-muted, color-mix(in srgb, var(--wge-color-text) 72%, var(--wge-color-background))); font-size: var(--wge-font-size-sm); }
.wge-card-meta { display: grid; gap: 0.25rem; margin: 0.25rem 0 0; font-size: var(--wge-font-size-sm); }
.wge-card-meta > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--wge-space-sm); }
.wge-card-meta dt { color: var(--wge-color-primary); font-weight: 700; }
.wge-card-meta dd { margin: 0; }
.wge-card-text { margin: 0.25rem 0 0; font-size: 0.9375rem; line-height: 1.8; }
/* A card's button at its foot (data.md §9.13): a secondary button across the card, at the bottom so
   that the buttons of a row of cards line up. A card is light on any section, so its button keeps the
   main colour there too (a coloured section's own secondary buttons are light). */
.wge-card-body:has(> .wge-card-action) { flex-grow: 1; }
.wge-card-action { margin: auto 0 0; padding-block-start: var(--wge-space-sm); }
.wge-card .wge-variant-secondary { color: var(--wge-color-primary); border-color: var(--wge-color-primary); }
/* A list as a table (data.md §9.3): when it is wider than a phone, only the table scrolls sideways,
   never the page. A row that a link points at (timetable.html#…) is tinted. */
.wge-table-scroll { max-width: 100%; overflow-x: auto; }
.wge-data-table th { white-space: nowrap; }
.wge-data-table a { color: var(--wge-color-primary); }
.wge-data-row { scroll-margin-top: var(--wge-space-md); }
.wge-data-row:target > td { background: color-mix(in srgb, var(--wge-color-primary) 14%, transparent); }
/* A table's title (Collection caption, data.md §9.11): above it, on a tint of the main colour. */
.wge-data-caption { padding: var(--wge-space-xs) var(--wge-space-md); border: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-block-end: 0; border-radius: var(--wge-radius) var(--wge-radius) 0 0; background: color-mix(in srgb, var(--wge-color-primary) 8%, var(--wge-color-background)); color: var(--wge-color-primary); font-weight: 700; text-align: start; }
/* A list as logos (data.md §9.5): a grid of frames of one shape, larger for the first groups, each
   picture fitted inside its frame (never cut), its name under it. A frame without a picture holds
   the name. The frames keep a light ground on coloured sections, as logos are drawn for one. */
.wge-logos { display: grid; gap: var(--wge-space-md); margin: 0; padding: 0; list-style: none; }
.wge-logos-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.wge-logos-md { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
.wge-logos-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); }
.wge-logo { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; scroll-margin-top: var(--wge-space-md); }
.wge-logo-link { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: var(--wge-space-sm); border: 1px solid var(--wge-color-border, color-mix(in srgb, var(--wge-color-text) 14%, var(--wge-color-background))); border-radius: var(--wge-radius); background: var(--wge-color-background); color: var(--wge-color-text); font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
:is(.wge-bg-primary, .wge-bg-inverse) a.wge-logo-link { color: var(--wge-color-text); }
a.wge-logo-link:hover { border-color: var(--wge-color-primary); }
.wge-logo:target .wge-logo-link { outline: 3px solid var(--wge-color-primary); outline-offset: 2px; }
/* The picture fills the frame's inside and is fitted there, so a tall or square one never makes
   its frame taller than the others (a frame of only a name grows with it). */
.wge-logo-image { position: absolute; inset: 0; box-sizing: border-box; width: 100%; height: 100%; padding: var(--wge-space-sm); object-fit: contain; }
.wge-logo-name { margin: 0; font-size: var(--wge-font-size-sm); line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
/* Square frames of set sizes (Collection frame="square", data.md §9.11): each group's frames as wide
   as the theme's logo.lg, .md or .sm (or the default here), never wider than the column, centred in
   a column at least 7rem wide so that the name under a small one has room. */
.wge-logos-square { --wge-logo-size: var(--wge-logo-md, 6.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--wge-logo-size), 7rem)), 1fr)); }
.wge-logos-square.wge-logos-lg { --wge-logo-size: var(--wge-logo-lg, 9rem); }
.wge-logos-square.wge-logos-sm { --wge-logo-size: var(--wge-logo-sm, 4.5rem); }
.wge-logos-square .wge-logo-link { inline-size: min(100%, var(--wge-logo-size)); aspect-ratio: 1 / 1; margin-inline: auto; }
/* How the groups are switched (data.md §9.2, §9.6): the bundled script makes the links of a list
   marked so into buttons (filter) or tabs, the chosen one in the colours of a primary button, and
   hides the other groups. Without the script they stay links to the groups' headings. */
.wge-collection-group[hidden] { display: none; }
.wge-collection-filter a[aria-pressed="true"], .wge-collection-tabs a[aria-selected="true"] { border-color: var(--wge-color-primary); background: var(--wge-color-primary); color: var(--wge-color-on-primary); }
.wge-bg-primary :is(.wge-collection-filter a[aria-pressed="true"], .wge-collection-tabs a[aria-selected="true"]) { background: var(--wge-color-on-primary); color: var(--wge-color-primary); }
.wge-bg-inverse :is(.wge-collection-filter a[aria-pressed="true"], .wge-collection-tabs a[aria-selected="true"]) { background: var(--wge-color-on-inverse); color: var(--wge-color-inverse); }

/* The site's header and footer (site.md §5): set apart from the page by a line. */
.wge-site-header { border-block-end: 1px solid var(--wge-color-border, var(--wge-color-subtle)); }
.wge-site-footer { border-block-start: 1px solid var(--wge-color-border, var(--wge-color-subtle)); }
/* The theme keeps the site's header at the top of the screen as the page scrolls (rendering.md §4.1);
   a link within the page stops below it. */
.wge-site-header { position: sticky; top: 0; z-index: 10; background: var(--wge-color-background); }
html { scroll-padding-top: 5rem; }
/* A link to the page's main part for keyboards (SkipLink, rendering.md §7.13): out of sight until it
   has the keyboard's place. */
.wge-skip-link { position: absolute; inset-inline-start: var(--wge-space-sm); top: var(--wge-space-sm); z-index: 20; padding: var(--wge-space-sm) var(--wge-space-md); border: 2px solid var(--wge-color-primary); border-radius: var(--wge-radius); background: var(--wge-color-background); color: var(--wge-color-primary); font-weight: 700; transform: translateY(-300%); }
.wge-skip-link:focus { transform: none; }

/* Heading sizes that read well on a phone and on a computer (2026-11-24). */
h1.wge-heading { font-size: clamp(1.375rem, 5.6vw, 1.875rem); }
h2.wge-heading { font-size: clamp(1.1875rem, 5vw, 1.4375rem); }
h3.wge-heading { font-size: 1.125rem; }
/* The theme sets second-level headings apart (rendering.md §4.1): in the main colour over a line of
   it, on the page's own ground only, not on a coloured section, a card or a notice. */
:where(.wge-page, .wge-site-header, .wge-site-footer) h2.wge-heading:not(:is(.wge-bg-primary, .wge-bg-inverse, .wge-surface-card, .wge-surface-notice, .wge-surface-accent) *) { padding-block-end: 0.5rem; border-block-end: 2px solid var(--wge-color-primary); color: var(--wge-color-primary); }

/* The blog's contents page and the frame around a post (blog.md §7). The server writes these
   classes itself; they never come from a page's source. */
.wge-posts { padding-inline: var(--wge-space-md); padding-block-end: var(--wge-space-xl); }
.wge-posts > * { max-width: min(100%, var(--wge-width-narrow)); margin-inline: auto; }
.wge-posts-list { margin-block: 0; padding: 0; list-style: none; }
.wge-posts-item { position: relative; display: flex; gap: var(--wge-space-md); align-items: flex-start; padding-block: 1.25rem; border-block-end: 1px solid var(--wge-color-border, color-mix(in srgb, var(--wge-color-text) 18%, var(--wge-color-background))); }
.wge-posts-body { flex: 1 1 auto; min-width: 0; }
.wge-posts-date, .wge-post-date { display: block; color: var(--wge-color-primary); font-size: var(--wge-font-size-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.wge-posts-title { margin: 0.125rem 0 0; font-size: 1.125rem; line-height: 1.5; }
.wge-posts-title a { color: var(--wge-color-text); text-decoration: none; }
/* The whole row opens the post; the link is still the title, for screen readers. */
.wge-posts-title a::after { content: ""; position: absolute; inset: 0; }
.wge-posts-item:hover .wge-posts-title a { color: var(--wge-color-primary); text-decoration: underline; text-underline-offset: 3px; }
.wge-posts-description { margin: 0.25rem 0 0; color: var(--wge-color-muted, color-mix(in srgb, var(--wge-color-text) 72%, var(--wge-color-background))); font-size: 0.9375rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wge-posts-thumb { flex: 0 0 auto; width: 6.5rem; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--wge-radius); background: var(--wge-color-subtle); }
.wge-posts-empty { margin-block: 0; padding-block: var(--wge-space-xl); }
.wge-posts-feed { margin-block: var(--wge-space-lg) 0; font-size: var(--wge-font-size-sm); }
.wge-post-head, .wge-post-foot { padding-inline: var(--wge-space-md); }
.wge-post-head > *, .wge-post-foot > * { max-width: min(100%, var(--wge-width-narrow)); margin-inline: auto; }
.wge-post-head { padding-block-start: var(--wge-space-md); }
.wge-post-crumb { margin: 0; font-size: var(--wge-font-size-sm); }
.wge-post-crumb a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.wge-post-date { margin-block-start: var(--wge-space-sm); }
.wge-post-head + .wge-section { padding-block-start: var(--wge-space-xs); }
.wge-post-head ~ .wge-section:not(.wge-bg-primary, .wge-bg-inverse) h2.wge-heading { margin-block-start: var(--wge-space-md); padding-block-end: 0.5rem; border-block-end: 2px solid var(--wge-color-primary); color: var(--wge-color-primary); }
.wge-post-head ~ .wge-section .wge-image { border-radius: var(--wge-radius); }
/* A post reads as running text: more room between its lines, and a little larger on a computer. */
.wge-post-head ~ .wge-section .wge-text:not(.wge-size-sm) { line-height: 1.9; }
.wge-post-head ~ .wge-section .wge-text:not(.wge-size-sm, .wge-size-lg) { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem); }
/* The contents page's band (the section right before the list): the blog's name in the main colour,
   ruled off from the list. */
.wge-page > .wge-section:has(+ .wge-posts) { border-block-end: 1px solid color-mix(in srgb, var(--wge-color-primary) 18%, var(--wge-color-background)); }
.wge-page > .wge-section:has(+ .wge-posts):not(.wge-bg-primary, .wge-bg-inverse) h1.wge-heading { color: var(--wge-color-primary); }
.wge-post-foot { padding-block-end: var(--wge-space-xl); }
.wge-post-foot > div { display: flex; flex-wrap: wrap; gap: var(--wge-space-sm) var(--wge-space-md); padding-block-start: var(--wge-space-lg); border-block-start: 1px solid var(--wge-color-border, color-mix(in srgb, var(--wge-color-text) 18%, var(--wge-color-background))); }
.wge-post-back { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.375rem; border: 2px solid var(--wge-color-primary); border-radius: var(--wge-radius); color: var(--wge-color-primary); font-weight: 700; text-decoration: none; }
.wge-post-back:hover { background: color-mix(in srgb, var(--wge-color-primary) 10%, var(--wge-color-background)); }
/* The posts on either side (blog.md §10): one above the other on a phone, the older on the left and
   the newer on the right on a computer. Each names the post it opens. */
.wge-post-pager { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wge-space-sm); margin-block-end: var(--wge-space-sm); }
.wge-post-pager-link { display: flex; flex-direction: column; gap: 0.125rem; min-height: 2.75rem; padding: 0.75rem 1rem; border: 1px solid var(--wge-color-border, color-mix(in srgb, var(--wge-color-text) 18%, var(--wge-color-background))); border-radius: var(--wge-radius); color: var(--wge-color-text); text-decoration: none; }
.wge-post-pager-link:hover { border-color: var(--wge-color-primary); background: color-mix(in srgb, var(--wge-color-primary) 6%, var(--wge-color-background)); }
.wge-post-pager-label { color: var(--wge-color-primary); font-size: var(--wge-font-size-sm); font-weight: 700; }
.wge-post-pager-title { font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (min-width: 40rem) {
  .wge-post-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wge-post-newer { grid-column: 2; align-items: flex-end; text-align: end; }
  .wge-posts-item { gap: var(--wge-space-lg); padding-block: 1.5rem; }
  .wge-posts-title { font-size: 1.25rem; }
  .wge-posts-thumb { width: 11rem; aspect-ratio: 16 / 9; }
}

.wge-gap-none { gap: var(--wge-space-none); }
.wge-gap-xs { gap: var(--wge-space-xs); }
.wge-gap-sm { gap: var(--wge-space-sm); }
.wge-gap-md { gap: var(--wge-space-md); }
.wge-gap-lg { gap: var(--wge-space-lg); }
.wge-gap-xl { gap: var(--wge-space-xl); }
.wge-gap-2xl { gap: var(--wge-space-2xl); }
.wge-padding-none { padding-block: var(--wge-space-none); }
.wge-padding-xs { padding-block: var(--wge-space-xs); }
.wge-padding-sm { padding-block: var(--wge-space-sm); }
.wge-padding-md { padding-block: var(--wge-space-md); }
.wge-padding-lg { padding-block: var(--wge-space-lg); }
.wge-padding-xl { padding-block: var(--wge-space-xl); }
.wge-padding-2xl { padding-block: var(--wge-space-2xl); }

@media (max-width: 56.25rem) {
  .wge-grid { grid-template-columns: minmax(0, 1fr); }
  .wge-button-width-full-narrow { display: block; width: 100%; }
  /* Below the theme's breakpoint a table marked so (narrow="stack") puts each row's cells one under
     the other: a row's heading above its content, in a frame around the table. A table headed by its
     columns makes each row a box of its own, its first cell (a time, a name) in the main colour, and
     keeps the column headings for screen readers only. */
  .wge-table-narrow-stack, .wge-table-narrow-stack :is(thead, tbody, tr, th, td) { display: block; }
  .wge-table-narrow-stack { border: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-radius: var(--wge-radius); }
  .wge-table-narrow-stack tr { padding-block: var(--wge-space-sm); border-block-end: 1px solid var(--wge-color-border, var(--wge-color-subtle)); }
  .wge-table-narrow-stack tr:last-child { border-block-end: 0; }
  .wge-table-narrow-stack :is(th, td) { width: auto; min-width: 0; padding-block: 0; border: 0; background: none; }
  /* A row's heading goes across too: the 30% of a table on a wide screen is as specific as this. */
  .wge-table-narrow-stack th[scope="row"] { width: auto; min-width: 0; color: var(--wge-color-primary); font-size: var(--wge-font-size-sm); }
  .wge-table-narrow-stack td:first-child { color: var(--wge-color-primary); font-weight: 700; }
  .wge-table-narrow-stack:has(th[scope="col"]) { border: 0; }
  .wge-table-narrow-stack > caption { display: block; margin-block-end: var(--wge-space-sm); border-block-end: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-radius: var(--wge-radius); }
  .wge-table-narrow-stack tr:has(> th[scope="col"]) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wge-table-narrow-stack:has(th[scope="col"]) tr:has(> td) { margin-block-end: var(--wge-space-sm); border: 1px solid var(--wge-color-border, var(--wge-color-subtle)); border-inline-start: 4px solid var(--wge-color-primary); border-radius: var(--wge-radius); }
  .wge-table-narrow-stack.wge-table-stripes-true tr:nth-child(even) { background: color-mix(in srgb, currentColor 6%, transparent); }
  .wge-table-narrow-stack.wge-table-stripes-true tr:nth-child(even) > td { background: none; }
  :is(.wge-bg-primary, .wge-bg-inverse) .wge-table-narrow-stack :is(th[scope="row"], td:first-child) { color: inherit; }
  :is(.wge-bg-primary, .wge-bg-inverse) .wge-table-narrow-stack:has(th[scope="col"]) tr:has(> td) { border-inline-start-color: currentColor; }
  :is(.wge-nav-narrow-menu, .wge-nav-narrow-list) { flex: 1 1 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; overflow-x: visible; }
  :is(.wge-nav-narrow-menu, .wge-nav-narrow-list) .wge-nav-link { padding-inline: var(--wge-space-sm); border-block-start: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 0; font-size: var(--wge-font-size-md); white-space: normal; }
  .wge-nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 4.75rem; padding-inline: 0.875rem; border: 1px solid currentColor; border-radius: var(--wge-radius); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
  .wge-nav-toggle[aria-expanded="false"] + .wge-nav-narrow-menu { display: none; }
}
