:root {
 --letter_spacing: 0.0em;
 --letter_spacing_item: 0.25em;
 --color_href: #2064af;
 --color_visited: #2064af;
 --color_hover: #ff003c;
 --color_active: #ff007e;
 --color_text_normal: #202122;
 --color_text_emphasized: #162024;
 --color_border: #a2a9b1;
 --color_background: #ffffff;
 --color_table_content_background: #f8f9fa;
 --color_table_header_background: #eaecf0;
 --color_title: #565657;
 --color_plum: #d7006d;
 --color_whiteye: #93931b;
 --color_blueleaf: #0079ac;
 --color_clock: #fde504;
 --color_mode_background: #285ea7;
 --color_mode_border: #1e447e;
 --color_exclamation: #cbd7fc;
 --color_calm: #e9eefd;
 --color_paging_href: #ffffff;
 --color_paging_visited: #ffffff;
 --color_paging_hover: #ffff99;
 --color_paging_active: #ffff00;
 --height_paragraph_std: 1.8;
 --height_paginggrid: 1.2;
 --height_toclist: 1.6;
 --height_h1: 1.3;
 --height_paragraph_in_table: 1.65;
 --height_paragraph_in_notes: 1.65;
 --height_paragraph_in_figcaption: 1.2;
 --width_toc: 90vw;
 --height_landscape: 144px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:target {
  background-color: transparent;
  animation-name: jumped;
  animation-delay: 100ms;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  outline: none;
}

a:link {
 color: var( --color_href );
 text-decoration: none;
}
a:visited {
 color: var( --color_visited );
 text-decoration: none;
}
a:hover {
 color: var( --color_hover );
 text-decoration: none;
}
a:active {
 color: var( --color_active );
 text-decoration: none;
}

q::before {
  content: "";
}

q::after {
  content: "";
}

abbr, cite, dfn {
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  border: none;
/*
  cursor: default;
*/
}

dfn.b {
  font-feature-settings: "palt";
  font-weight: bold;
}

html {
  scroll-padding-top: 4rem;
  scroll-behavior: smooth;
}

body {
  color: var( --color_text_normal );
  background-color: var( --color_background );
  font-family:sans-serif;
  font-size: medium;
  font-weight: normal;
  font-style: normal;
  line-height: var( --height_paragraph_std );
  line-break: strict;
  text-align: left;
  vertical-align: baseline;
  letter-spacing: var( --letter_spacing );
  margin: 0px;
  padding: 0px;
  -webkit-text-size-adjust: 100%;
}

a.outbound {
  display: inline; 
}

a.outbound::after {
 display: inline;
 white-space: nowrap;
 content: url("../images/parts/arrow.svg");
 margin-right: 2px;
}

span.word {
 white-space: nowrap;
}
span.wrd {
  font-feature-settings: "palt";
}

span.red {
 display: inline;
 color: #ff0080;
}

span.blue {
 display: inline;
 color: #0013a0;
}

span.oldscript {
  font-family:  "NINJAL変体仮名", serif; 
}

p.std {
 margin-bottom: 1em;
}

h1.std {
  font-size: 2rem;
  font-weight: normal;
  font-feature-settings: "palt";
  line-height: var( --height_h1 );
  color: var( --color_text_emphasized );
  flex-grow: 1;
}

h2.std {
  font-size: 1.5rem;
  font-weight: normal;
  font-feature-settings: "palt";
  color: var( --color_text_emphasized );
  border-bottom: 1px solid var( --color_border );
  margin-top: 1.5em;
  margin-bottom: 1em;
  padding-bottom: 0.2em;
}

h3.std {
  font-size: 1.2rem;
  font-weight: bold;
  font-feature-settings: "palt";
  color: var(--color_text_emphasized);
  margin-top: 1.0em;
  margin-bottom: 0.4em;
  padding-bottom: 0px;
}

/* 全体エリア */
div.container {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 1rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  position: relative;
}

/* 目次ポップアップ */
header.tocHeader {
 display: flex;
 align-items: center;
 border-bottom: 1px solid var(--color_border);
 padding-bottom: 10px;
 margin-bottom: 20px;
 gap: 15px;
}

nav.tocNav {
  position: relative;
  flex-shrink: 0;
}

button.tocButton {
  background-color: #ffffff;
  border: 1px solid var(--color_border);
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 4px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  z-index: 100;
}

button.tocButton:hover {
  background-color: #f8f9fa;
  border-color: #81878e;
}

button.tocButton:active {
  background-color: #e9ecef;
  border-color: #5b6168;
}

button.tocButton.is-sticky {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate( -50%, 0 );
  box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.15 );
}

div.tocBody {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: var(--width_toc);
  max-height: calc( 100svh - 120px );
  max-width: 400px;
  margin-top: 5px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--color_border);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.15 );
  z-index: 99;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  overscroll-behavior: contain;
}

button.tocButton.is-sticky + div.tocBody {
  position: fixed;
  top: auto;
  bottom: 60px;
  left: 50%;
  transform: translate( -50%, 0 );
  margin-top: 0px;
  margin-bottom: 10px;
}

nav.tocNav.is-active div.tocBody {
  display: block;
}

ul.tocList {
  list-style: none;
  font-size: small;
  line-height: var( --height_toclist );
}
ul.tocList a:hover {
  text-decoration: underline;
}
li.tocItem {
  margin-bottom: 10px;
}
li.tocItemMobileOnly {
  display: none;
}
button.tocButton.is-sticky + div.tocBody ul.tocList li.tocItemMobileOnly {
  display: list-item;
}

button.returnButton {
  background-color: #ffffff;
  border: 1px solid var(--color_border);
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 4px;
  cursor: pointer;
  border-radius: 99px;
  display: none;
  align-items: center;
  transition: all 0.2s ease;
  z-index: 88;
}

button.returnButton.is-sticky {
  display: none;
}

/* ランドスケープエリア */
div.landscapeContainer {
  container-type: size;
  content-visibility: auto;
  width: 100%;
  height: var( --height_landscape );
  background-color: transparent;
  border-style: none;
  overflow: hidden;
  position: relative;
}

img.knzbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1024px;
  height: 192px;
  animation: knzbg 240s linear infinite normal;  
  will-change: transform; 
}

div.maintitleContainer {
  position: absolute;
  top: 1.0em;
  left: 50%;
  transform: translate( -50%, 0 );
  width: 100%;
}

div.maintitle, h3.knzName {
  font-size: 110%;
  font-weight: bold;
  font-feature-settings: "palt";
  color: #ffffff;
  line-height: var( --height_paginggrid );
  text-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
  border-style: none;
  text-align: center;
  margin-top: 0px;
  margin-bottom: -10px;
  padding: 0px;
/*
  border-style: solid;
  border-width: 1px;
  border-color: #ff0000;
*/
}

div.pagingGrid {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  column-gap: 10px;
  row-gap: 0.75em;
  line-height: var( --height_paginggrid );
  width: calc(100% - 2em);
  margin-top: 1.5em;
  margin-left: 1em;
  margin-right: 1em;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
/*
  border-style: solid;
  border-width: 1px;
  border-color: #ff00ff;
*/
}

a.pagingLeft {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
}

a.pagingRight {
  display: inline-flex;
  flex-direction: row-reverse;
  flex-wrap: wrap; 
  justify-content: flex-start;
  gap: 0 0.5em;
}
a.pagingRight:link, a.pagingLeft:link, a.knzName:link span.knzName {
 color: var( --color_paging_href );
 text-decoration: none;
}
a.pagingRight:visited, a.pagingLeft:visited, a.knzName:visited span.knzName {
 color: var( --color_paging_visited );
 text-decoration: none;
}
a.pagingRight:hover, a.pagingLeft:hover, a.knzName:hover span.knzName {
 color: var( --color_paging_hover );
 text-decoration: none;
}
a.pagingRight:active, a.pagingLeft:active, a.knzName:active span.knzName {
 color: var( --color_paging_active );
 text-decoration: none;
}

div.pagingL2 {
  font-size: small;
/*
  border-style: solid;
  border-width: 1px;
  border-color: #0000ff;
*/
}

div.pagingL1 {
  font-size: medium;
/*
  border-style: solid;
  border-width: 1px;
  border-color: #0000ff;
*/
}

div.pagingLeft {
  text-align: left;
}

div.pagingRight {
  text-align: right;
}

svg.pagingMark {
  padding: 0px;
  width: 16px;
  height: 16px;
  filter: drop-shadow( 0 0 10px rgba(0, 0, 0, 1.0) );
  transition: fill 0.15s ease;
}

svg.pagingSkipMark {
  padding: 0px;
  width: 12px;
  height: 12px;
  filter: drop-shadow( 0 0 10px rgba(0, 0, 0, 1.0) );
  transition: fill 0.15s ease;
}

svg.pagingMarkDisabled {
  opacity: 0.4;
  padding: 0px;
  width: 16px;
  height: 16px;
  filter: drop-shadow( 0 0 10px rgba(0, 0, 0, 1.0) );
  transition: fill 0.15s ease;
}

svg.pagingSkipMarkDisabled {
  opacity: 0.4;
  padding: 0px;
  width: 16px;
  height: 16px;
  filter: drop-shadow( 0 0 10px rgba(0, 0, 0, 1.0) );
  transition: fill 0.15s ease;
}

span.pagingPrimary {
  white-space: nowrap;
}

span.pagingPrimaryDisabled {
  white-space: nowrap;
  opacity: 0.4;
}

span.pagingSecondary {
  // nothing to do so far.
}

span.pagingSecondarySub {
  opacity: 0.4;
}

nav.breadcrumbNavi {
  margin-bottom: 1em;
}

ol.breadcrumbContainer {
  font-size: 0.9em;
  list-style: none;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
  margin-top: 2em;
  margin-bottom: 0em;
  margin-left: 0em;
  margin-right: 0em;
  padding-top: 0.8em;
  padding-bottom: 0em;
  padding-left: 0px;
  padding-right: 0px;

  border-top: 1px solid var(--color_border);
}

li.breadcrumbItem {
  display: inline-block;
}

li.breadcrumbItem:not(:first-child)::before {
  content: ">";
  font-family: sans-serif; 
  color: #72777d;
  
  margin-left: 0.4em;
  margin-right: 0.4em;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* フッターエリア */
footer.footerFooter {
  background-color: #f8f9fa;
  color: #333333;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

nav.footerNavi {
  // nothing to do so far.
}

ul.footerList {
  list-style: none;
  padding: 0;
  margin-top: 0px;
  margin-bottom: 24px;
  margin-left: 0px;
  margin-right: 0px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
}

li.footerItem {
  font-feature-settings: "palt";
  margin: 0px;
  padding: 0px;
}

a.footerLink {
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footerLink:hover {
  color: #000000;
  text-decoration: underline;
}

address.address {
  font-style: normal;
  color: #666666;
  margin-bottom: 24px;
}

a.address {
  color: #666666;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

div.copyright {
  margin: 0;
  padding: 0;
}

small.copyright {
  font-size: 12px;
  color: #888888;
}

/* リスト: 三角 */
ul.trngl {
 list-style-position: outside;
 list-style-image: url("../images/parts/mark_triangle.svg");*
 margin-left: 0px;
 margin-right: 0px;
 margin-top: 0px;
 margin-bottom: 1em;
 padding-top: 0px;
 padding-bottom: 0px;
 padding-left: 1em;
 padding-right: 0px;
 border-style: none;
}

li.std {
 margin: 0px;
 padding: 0px;
 border-style: none;
}

/* 注釈 */
details.notes {
  border: none;
}

summary.notes {
  outline: none;
  font-size: small;
  cursor:pointer;
}

details.details {
  border: none;
}

summary.details {
  outline: none;
  font-size: medium;
  cursor:pointer;
}

details.updates {
  border: none;
  margin-bottom: 1.5em;
}

details.updates[open] summary.updates::after {
  content: " (閉じる)";
}

summary.updates {
  outline: none;
  font-size: medium;
  cursor:pointer;
}

summary.updates::after {
  content: " (開く)";
}

ol.notes {
 font-size: small;
 font-style: normal;
 line-height: var( --height_paragraph_in_notes );
 margin-left: 0.5em;
}

li.note {
  /* nothing to do so far */
}

sup.reference {
  /* nothing to do so far */
}

a.reference {
  /* nothing to do so far */
}

/* テーブル */
/* 汎用テーブル: もとは国絵図総覧専用 → 汎用化 */
table.knz {
  background-color: var( --color_table_content_background );
  font-size: small;
  font-style: normal;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 1em;
  padding: 0px;
  border-top-style: none;
  border-bottom-style: solid;
  border-left-style: none;
  border-right-style: solid;
  border-width: 1.0px;
  border-color: var( --color_border );
  border-spacing: 0px;
}

caption.knz {
/* nothing to do so far. */
}

tr.knz {
/* nothing to do so far. */
}

th.knzE, td.knzE {
 font-weight: normal;
 padding-top: 0.2em;
 padding-bottom: 0.2em;
 padding-left: 0.4em;
 padding-right: 0.4em;
 border-left-style: solid;
 border-right-style: none;
 border-bottom-style: none;
 border-width: 1.0px;
 border-color: var( --color_border );
}

th.knzH {
 background-color: var( --color_table_header_background );
 text-align: center;
 vertical-align: middle;
}
th.knzH[scope="row"] {
 text-align: left;
 vertical-align: top;
}

th.knzHC {
/* line-height: 1.1;*/
}

td.knzV {
 vertical-align: top;
}

td.knzL {
 text-align: left;
}

td.knzC {
 text-align: center;
}

td.knzR {
 text-align: right;
}

td.knzTL {
/* line-height: 1.1;
 text-align: left;
 vertical-align: middle;
*/
}

td.knzTC {
/* line-height: 1.1;
 text-align: center;
 vertical-align: middle;
*/
}

td.knzTR {
/* line-height: 1.1;
 text-align: right;
 vertical-align: middle;
*/
}

td.knzTM {
/*
 line-height: 1.0;
 text-align: center;
 vertical-align: middle;
 padding-top: 2px;
 padding-bottom: 2px;
 padding-left: 0px;
 padding-right: 0px;
*/
}

th.knzS, td.knzS {
 border-top-style: solid;
}

th.knzD, td.knzD {
 border-top-style: dashed;
}

th.knzN, td.knzN {
 border-top-style: none;
}

th.adjusted, td.adjusted {
/* nothing to do so far. */
/*   visibility: hidden; */
/*   display: none; */
}

th.needless, td.needless {
  display: none;
}

div.kkdk {
  display: grid;
  grid-template-columns: 1fr minmax( 2em, max-content );
  align-items: center;
}

span.kkdk {
  text-align: right;
  padding-right: 2px; 
}

span.mkr {
  /* nothing to do so far */
}

/* 横スクロール */
div.scrollableContainer {
  margin-top: 0px;
  margin-bottom: 1.5em;
  margin-left: 0px;
  margin-right: 0px;
  padding: 0px;
  position: relative;
}

div.maybeScrollable {
  overflow: auto;
}

div.scrollable {
  overflow: auto;
}

div.maybeScrollable::before, div.scrollable::before {
  display: block;
  position: absolute;
  content: "";
  width: 196px;
  height: 100%;
  left: calc( ( 100% - 196px ) / 2 );
  overflow: hidden;
  background-image: url("../images/parts/scrollable.svg");
  background-repeat: space;
  background-size: 196px 176px;
  pointer-events: none;
}

div.maybeScrollable::before {
  animation-name: ghost;
  animation-delay: 100ms;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

/* 画像並列表示コンテナ */
div.imageGridContainer {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( calc( 100% / 2 - 0.5em ), minmax(0, 1fr) ) );
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0px;
  margin-right: 0px;
  gap: 0.5em;
}

/* 画像 */
figure.std {
  text-align: left;
  margin: 0px;
  margin-block: 0px;
  margin-inline: 0px;
}

figcaption.std {
  font-size: x-small;
  line-height: var( --height_paragraph_in_figcaption );
  margin-top: 0px;
  margin-bottom: 0.1px;
  margin-left: 0.5em;
  margin-right: 0.5em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

picture.std{
  display: contents;
}

img.std {
  display: block;
  float: none;
  margin-top: 0.5em;
  margin-bottom: 2.0em;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  height: auto;
  padding: 0px;
  border-style: solid;
  border-width: 1.0px;
  border-color: var( --color_background );
}

img.brdr {
  display: block;
  float: none;
  margin-top: 0.5em;
  margin-bottom: 2.0em;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  height: auto;
  padding: 0px;
  border-style: solid;
  border-width: 1.0px;
  border-color: #f0f0f0;
}

img.svg {
  display: block;
  float: none;
  margin-top: 0.5em;
  margin-bottom: 2.0em;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  height: auto;
  padding: 0px;
  border-style: solid;
  border-width: 1.0px;
  border-color: #f0f0f0;
}

img.prtctd {
  display: block;
  float: none;
  margin-top: 0.5em;
  margin-bottom: 2.0em;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  height: auto;
  padding: 0px;
  border-style: solid;
  border-width: 1.0px;
  border-color: var( --color_background );
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}

img.float {
  float: right;
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0.25em;
  padding-left: 0.25em;
  padding-right: 0px;
  border-style: none;
}

img.representative {
  display: block;
  float: none;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: auto;
  border-style: none;
  opacity: 1;
  transition: opacity 0.2s ease; 
}
a.knzName:hover img.representative {
  opacity: 0.5;
/*  cursor: pointer; */
}

img.catalogue {
  display: block;
  float: none;
  margin-top: 2.0em;
  margin-bottom: 2.0em;
  margin-left: calc((100% - 336px) / 2);
  margin-right: calc((100% - 336px) / 2);
  padding: 0px;
  width: 336px;
  height: 72px;
  border-style: none;
}

img.footer {
  display: block;
  float: none;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: calc( ( 100% - 252px) / 2 );
  margin-right: calc( ( 100% - 252px) / 2 );
  padding: 0px;
  width: 252px;
  height: 54px;
  border-style: none;
}

img.punc {
  display: inline;
  float: none;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  vertical-align: text-bottom;
  width: calc( 1.0em / 5 );
  height: 1.0em;
}

img.tocVariation {
  padding: 0.05em;
  width: 30px;
  height: 18px;
  border-style: none;
}

/* フォント */
@font-face {
  font-family: "NINJAL変体仮名";
  font-display: swap;
  src:
    local("NINJAL変体仮名"),
    url("https://www.gayou.org/fonts/ninjal_hentaigana/ninjal_hentaigana.woff2") format("woff2"),
    url("https://www.gayou.org/fonts/ninjal_hentaigana/ninjal_hentaigana.woff") format("woff"),
    url("https://www.gayou.org/fonts/ninjal_hentaigana/ninjal_hentaigana.ttf") format("truetype");
}

/* キーフレーム */
@keyframes jumped{
 0% {
  background: var( --color_exclamation );
 }
 100% {
  background: var( --color_calm );
 }
}

@keyframes ghost {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes knzbg {
  0% { transform: translate( 0, 0 ); }
  40% { transform: translate( calc( 100cqw - 1024px ), calc( 100cqh - 192px ) ); }
  50% { transform: translate( calc( 100cqw - 1024px ), 0 ); }
  90% { transform: translate( 0, calc( 100cqh - 192px ) ); }
  100% { transform: translate( 0, 0 ); }
}

/* 作業用 */
div.modeContainer {
  display: flex;
  justify-content: center;
  column-gap: 0.5em;
  margin-bottom: 1em;
}

button.mode {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  border-style: solid;
  bordder-width: 1px;
  boder-color: #cccccc;
  background-color: #fff;
  border-radius: 4px;
}

button.activeMode {
  background-color: var( --color_mode_background );
  color: #ffffff;
  border-color: var( --color_mode_border );
}

section.area {
  background-color: #ffffff;
  border-radius: 0.5em;
  padding-top: 1.0em;
  padding-bottom: 1.0em;
  padding-left: 0em;
  padding-right: 0em;
  margin-bottom: 1.0em;
}

h2.area {
  font-size: 1.5rem;
  font-weight: normal;
  font-feature-settings: "palt";
  color: var( --color_text_emphasized );
  border-top: none;
  border-bottom: none;
  border-left-style: solid;
  border-left-width: 0.5em;
  border-left-color: var( --color_plum );
  border-right: none;
  margin-top: 0px;
  margin-bottom: 1em;
  margin-left: 0px;
  margin-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0.75em;
  padding-right 0px;
}

div.area {
  display: grid;
  gap: 0.5em;
}

div.area.tileMode {
  grid-template-columns: repeat( auto-fill, minmax( 140px, 1fr ) );
}

div.area.tableMode {
  grid-template-columns: 1fr;
}

article.knz {
  display: grid;
  overflow: hidden;
  gap: 0px;
  border-style: none;
  border-width: 0px;
  border-radius: 0.5em;
  background-color: var( --color_background );
  padding: 0px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

div.area.tileMode article.knz {
  grid-template-rows: auto auto auto;
  align-content: start;
}

div.area.tableMode article.knz {
  grid-template-columns: 160px 120px 1fr;
  column-gap: 0.5em;
  align-items: center;
  padding-top: 1.75em;
  padding-bottom: 1.75em;
  padding-left: 1em;
  padding-right: 1em;
}

div.area.tableMode div.knzNameContainer { grid-column: 1; }
div.area.tableMode div.variation { grid-column: 2; }
div.area.tableMode div.storiesContainer { grid-column: 3; }

div.area.tileMode {
  grid-auto-rows: max-content;
}

div.area.tileMode div.knzNameContainer { grid-row: 1; }
div.area.tileMode div.variation { grid-row: 2; }
div.area.tileMode div.storiesContainer { grid-row: 3; }

div.knzNameContainer {
  position: relative;
}

span.knzName {
  color: #ffffff;
  transition: color 0.2s ease; 
}

div.knzName {
  position: absolute;
  top: 1.0em;
  left: 50%;
  transform: translate( -50%, 0 );
  width: 100%;
}

div.variation {
  white-space: wrap;
  display: block;
  font-size: medium;
  margin: 0px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

div.storiesContainer {
  display: block;
  margin: 0px;
  padding: 0px;
}

div.stories {
  display: block;
  font-size: medium;
  margin: 0px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
