/* The homepage footer (site links, popular pages, yellow bar) for every other page. Copied from index.html's
   .sitemap/.poppages/.featon/.fbar rules; _build/build_sitefoot.py puts the markup on the pages. */
section.sitefoot { --ink: #111111; --muted: #6B6B6B; display: block; background: #f0f0f1; font-family: inherit; text-align: left; }
.sitefoot :is(h4, p) { font-family: inherit; }
section.sitefoot { --m-ink: #111; --m-muted: #77777c; --m-card: #f2f2f3; --m-bg: #fafafa; --zo: #FFAF00; --zo-ink: #e58f00; --ease: cubic-bezier(.2,.8,.2,1); }
.sitemap { width: 100%; max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: clamp(14px, 3vh, 34px) 28px clamp(16px, 3.4vh, 40px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; border-top: 1px solid #e0e0e2; }
.sitemap h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--m-ink); }
.sitemap a { display: block; color: var(--m-muted); text-decoration: none; font-size: 14px; padding: 3px 0; }
.sitemap a:hover { color: var(--m-ink); }
.totop { all: unset; cursor: pointer; font: inherit; font-size: inherit; font-family: "ZennRoundedBold", var(--f-ui); color: var(--zo-ink); margin-left: .6em; white-space: nowrap; }
.totop span { display: inline-block; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.totop:hover span { transform: translateY(-3px); }
.totop:focus-visible { outline: 2px solid var(--zo-ink); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 860px) { .sitemap { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
@media (min-width: 861px) and (max-width: 1180px) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; } }
.sitefoot .sitemap { border-top: 0; padding-top: clamp(28px, 5vh, 56px); }
.sitefoot .poppages { padding-top: 0; }
.poppages > div { grid-column: span 2; }
.poppages > .pp-l { grid-column: span 3; } .poppages > .pp-c { grid-column: span 1; }
.poppages p { margin: 0; column-gap: 20px; } .poppages .pp-l p { columns: 3; } .poppages .pp-w p { columns: 2; }
.poppages p a { break-inside: avoid; }
@media (max-width: 1180px) { .poppages > div, .poppages > .pp-l, .poppages > .pp-c { grid-column: 1 / -1; } .poppages .pp-l p { columns: 3; } .poppages .pp-c p { columns: 2; } }
@media (max-width: 600px) { .poppages .pp-l p, .poppages .pp-w p, .poppages .pp-c p { columns: 2; } }
.featon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: 0 28px 16px; } .featon > span { font-size: 11px; color: var(--m-muted); margin-right: 2px; } .featon a { display: block; line-height: 0; } .featon img { display: block; height: 20px; width: auto; filter: grayscale(1); opacity: .45; transition: opacity .2s, filter .2s; } .featon a:hover img { filter: none; opacity: 1; }   /* directory badges: small and quiet (free listings need them on the homepage; no size is required) */
.fbar { max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: 16px 28px 22px; display: flex; align-items: center; gap: 16px; border-top: 1px solid #e0e0e2; font-size: 13px; color: var(--m-muted); white-space: nowrap; }
.fbar .mark { font-size: 18px; color: var(--m-ink); }
.fbar .fcopy { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.fbar .langs { position: relative; margin-right: 14px; font-size: 14px; }
.fbar .langs summary { list-style: none; display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--muted); padding: 6px 10px; border-radius: 99px; transition: background .2s, color .2s; user-select: none; }
.fbar .langs summary::-webkit-details-marker { display: none; }
.fbar .langs summary:hover, .fbar .langs[open] summary { color: var(--ink); background: #e4e4e7; }
.fbar .langs .cur span { display: none; }
html[lang=en] .fbar .langs .cur span[lang=en], html[lang=es] .fbar .langs .cur span[lang=es], html[lang=pt] .fbar .langs .cur span[lang=pt], html[lang=de] .fbar .langs .cur span[lang=de], html[lang=fr] .fbar .langs .cur span[lang=fr], html[lang=it] .fbar .langs .cur span[lang=it], html[lang=nl] .fbar .langs .cur span[lang=nl], html[lang=pl] .fbar .langs .cur span[lang=pl], html[lang=tr] .fbar .langs .cur span[lang=tr], html[lang=hi] .fbar .langs .cur span[lang=hi], html[lang=ko] .fbar .langs .cur span[lang=ko], html[lang=bn] .fbar .langs .cur span[lang=bn] { display: inline; }
.fbar .langs .chev { transition: transform .25s var(--ease); }
.fbar .langs:not([open]) .chev { transform: rotate(180deg); }
.fbar .langs nav { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 2px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.06); animation: langsin .22s var(--ease); }
@keyframes langsin { from { opacity: 0; transform: translateY(6px); } }
.fbar .langs nav a { color: var(--muted); text-decoration: none; padding: 9px 12px; border-radius: 10px; }
.fbar .langs nav a:hover { color: var(--ink); background: #f2f2f3; }
html[lang=en] .fbar .langs a[lang=en], html[lang=es] .fbar .langs a[lang=es], html[lang=pt] .fbar .langs a[lang=pt], html[lang=de] .fbar .langs a[lang=de], html[lang=fr] .fbar .langs a[lang=fr], html[lang=it] .fbar .langs a[lang=it], html[lang=nl] .fbar .langs a[lang=nl], html[lang=pl] .fbar .langs a[lang=pl], html[lang=tr] .fbar .langs a[lang=tr], html[lang=hi] .fbar .langs a[lang=hi], html[lang=ko] .fbar .langs a[lang=ko], html[lang=bn] .fbar .langs a[lang=bn] { color: var(--ink); background: #f2f2f3; }
html:is([lang=hi], [lang=ko], [lang=bn]) :is(.field > label, .field > .lbl, .st-side h4, .st-hl span, .lblrow label, .kick, .phone .ttl, .klist button, .kcount, .ftags i, .sitemap h4) { letter-spacing: 0 !important; }   /* spaced letters break Devanagari and look wrong in Hangul */
html[lang=ko] body { word-break: keep-all; overflow-wrap: anywhere; }   /* Korean breaks lines between words, not inside them */
.fbar .totop { margin-left: 0; }
@media (max-width: 760px) { .fbar .fcopy { display: none; } .fbar .langs { margin: 0 4px 0 auto; } }
@media (max-width: 760px) { .fbar { padding: 14px 20px 20px; gap: 12px; font-size: 12px; } .fbar .mark .zlogo { height: 16px; } }
.fbar { max-width: none; background: var(--zo); color: #111; border-top: 0; padding: 18px max(28px, calc((100% - 1240px) / 2 + 28px)) 20px; }
/* when the bar comes into view, a wash of brand colours sweeps across it and settles on Zenn orange */
.fbar { background-image: linear-gradient(100deg, #FF5FA2 0%, #8B5CFF 14%, #2E8BFF 28%, #22D3C5 40%, #FFD23F 52%, var(--zo) 64%, var(--zo) 100%); background-size: 300% 100%; background-position: 0% 0; }
.fbar.lit { animation: fbarfill 9s cubic-bezier(.45,0,.25,1) .3s both; }
@keyframes fbarfill { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .fbar { background-image: none; } .fbar.lit { animation: none; } }
.fbar .fcopy { color: #111; }
.fbar .mark .zlogo, .fbar .mark .zlogo * { fill: #111 !important; }
.fbar .totop, .fbar .totop span { color: #111; }
.fbar .totop:hover { background: #111 !important; color: var(--zo) !important; box-shadow: 0 0 0 4px #111 !important; }
.fbar .totop:hover span { color: var(--zo); }
.fbar .totop:focus-visible { outline-color: #111; }
@media (max-width: 760px) { .fbar { padding: 14px 20px 20px; } }
.fbar .mark .zlogo { height: 20px; }
.fbar .langs summary, .fbar .langs nav a { background-image: linear-gradient(#FFAF00, #FFAF00) !important; background-repeat: no-repeat !important; background-size: 0% 100% !important; transition: background-size .45s cubic-bezier(.65,0,.35,1), color .3s ease, border-color .3s ease !important; }
.fbar .langs summary:hover, .fbar .langs nav a:hover { background-size: 100% 100% !important; color: #111 !important; border-color: #FFAF00 !important; }
