/* user.css - cassiopeia_wcf (whitecloudfarm.org / wcf.whitecloudfarm.is)
 *
 * Stephan 12.11.2026: recreate the J3 template orionkit_one ("Wir haben da zusammen viel Arbeit reingesteckt und es ist
 * schön."). Every size below was MEASURED on the old site (bin/wcf_reference_shots.py, var/wcf-reference/org-j3/,
 * log/j3-upgrade-wcf-plan.md):
 *   container 1200 with 35px gutters (1130 inside; 25px below 960px) · top bar 33px rgba(0,0,0,.5) #a5a5a5 · navbar 60px
 *   rgba(0,0,0,.3) (43px on phones), crown logo 60x60 left, menu right · hero 40px padding, ~310px, cloud picture,
 *   10% darker · main 20px top / 10px bottom · breadcrumb 38px #f5f5f5 r4 · raised panel 18/20 padding, 1px #dfe5ea, r8,
 *   0 2px 10px rgba(20,30,45,.12) · with a sidebar 3/4 + 1/4 with 35px between · bands 20px/10px, bottom-c/-d #141313
 *   with light text, bottom-d the star-clock picture, three 353px columns · UIkit's h1-h6 in Dancing Script.
 * Layers: fonts.css (faces + reading typography of the old localfonts.css) · legacy-content.css (the countdown set) ·
 * wcf-content.css (wcf's own content classes, generated from orionkit_one bootstrap.css) · offcanvas.css (phone menu)
 * · theme.css (the old dark.css: colour tokens, linen canvas, raised panels, dark mode) · this file (page frame).
 */
@import url("fonts.css");
@import url("legacy-content.css");
@import url("wcf-content.css");
@import url("offcanvas.css");
@import url("wcf-modules.css");
@import url("theme.css");

:root {
  --wcf-container: 1200px;
  --wcf-gutter: 35px;
  --wcf-ui: "Quattrocento Sans", Arial, sans-serif;
  --wcf-script: "Dancing Script", cursive;
  --wcf-link-blue: #1fa2d6;
  --wcf-band-dark: #141313;
  --cassiopeia-font-family-body: var(--wcf-ui);
  --cassiopeia-font-family-headings: var(--wcf-script);
  --body-font-family: var(--wcf-ui);
  --body-font-size: 16px;
  --body-line-height: 22px;
  --body-color: #333;
  --link-color: var(--wcf-link-blue);
  --link-color-rgb: 31, 162, 214;
  --link-hover-color: #00b1be;
}
@media (max-width: 959px) { :root { --wcf-gutter: 25px; } }

/* ---- base ------------------------------------------------------------------------------------------------------ */
body.wcf-site { margin: 0; font-family: var(--wcf-ui); font-size: 16px; line-height: 22px; color: #333; }
.wcf-site a { color: var(--wcf-link-blue); text-decoration: none; }
.wcf-site a:hover, .wcf-site a:focus { color: #00b1be; }
.wcf-site h1, .wcf-site h2, .wcf-site h3, .wcf-site h4, .wcf-site h5, .wcf-site h6 {
  margin: 0 0 15px; font-family: var(--wcf-script); font-weight: normal; color: #222; text-transform: none;
}
.wcf-site * + h1, .wcf-site * + h2, .wcf-site * + h3, .wcf-site * + h4, .wcf-site * + h5, .wcf-site * + h6 { margin-top: 30px; }
.wcf-site h1 { font-size: 46px; line-height: 1.2; }
.wcf-site h2 { font-size: 40px; line-height: 1.2; }
.wcf-site h3 { font-size: 30px; line-height: 1.2; }
.wcf-site h4 { font-size: 26px; line-height: 1.2; }
.wcf-container { box-sizing: border-box; max-width: var(--wcf-container); margin: 0 auto; padding: 0 var(--wcf-gutter); width: 100%; }
/* width: Cassiopeia makes <body> a flex column, where a margin:auto child shrinks to its content - a page with little
 * content (the contact page with its accordion closed) was 590px wide */
.wcf-skip { position: absolute; left: 8px; top: 8px; z-index: 1100; }

/* ---- header: top bar, navbar, hero ----------------------------------------------------------------------------- */
.wcf-header {
  background-color: #b2cbdb;
  background-image: var(--wcf-hero);
  background-position: center top;
  background-size: cover;                  /* user.js 12 takes over (parallax as J3's {bg:-200}): size + position inline */
  color: #fff;
}
.wcf-header__shade { background-color: rgba(0, 0, 0, .1); }   /* header_darker = 10 */
.wcf-topbar { background: rgba(0, 0, 0, .5); border-bottom: 1px groove #eee; color: #a5a5a5; padding: 5px 0; line-height: 22px; }
.wcf-topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.wcf-ico-phone::before { content: "\260E"; font-size: 14px; }
.wcf-navbar { background: rgba(0, 0, 0, .3); color: #fff; position: relative; z-index: 900; }
.wcf-navbar.is-stuck { position: fixed; top: 0; left: 0; right: 0; background: rgba(28, 28, 28, .92); animation: wcf-slide-down .3s ease; }
@keyframes wcf-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.wcf-navbar__inner { display: flex; align-items: center; min-height: 60px; }
.wcf-brand { display: block; line-height: 0; }
.wcf-brand img { width: 60px; height: 60px; }
.wcf-menu { margin-left: auto; }
.wcf-search { margin-left: 1rem; }
/* the main menu, as on the J3 site: one row of white items with thin separators; level 2 drops down on hover/focus as the
 * old black panel; level 3 (the articles of a series) opens INSIDE that panel as an accordion (Stephan 12.11.2026: "du
 * kannst gerne ein Accordeon bauen") instead of J3's flyout to the right, which ran off narrower screens. The accordion is
 * Cassiopeia's own metismenu: its toggle button after each parent link, aria-expanded, one series open at a time.
 * Cassiopeia's metismenu stylesheet lays the list out as a COLUMN (that made the menu vertical) - overridden here. */
/* Every selector starts with body.wcf-site to outrank Cassiopeia's .metismenu.mod-menu rules (white panel, padding,
 * underline, ellipsis); the level-3 lists also name .mm-collapse for the same reason. */
body.wcf-site .wcf-menu .navbar { padding: 0; }
body.wcf-site .wcf-menu .navbar-toggler { display: none; }
body.wcf-site .wcf-menu .navbar-collapse { display: flex !important; flex-basis: auto; }
body.wcf-site .wcf-menu ul.mod-menu { display: flex; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-end; align-items: center;
  margin: 0; padding: 0; list-style: none; }
body.wcf-site .wcf-menu ul.mod-menu > li { position: relative; display: block; }
body.wcf-site .wcf-menu ul.mod-menu > li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 26px; margin-top: -13px;
  border-left: 1px solid rgba(255, 255, 255, .28); }
body.wcf-site .wcf-menu ul.mod-menu > li > a, body.wcf-site .wcf-menu ul.mod-menu > li > span {
  display: block; padding: 0 15px; color: #fff; font: 400 16px/30px var(--wcf-ui); background: none; border: 0; border-radius: 0; }
body.wcf-site .wcf-menu ul.mod-menu > li:hover > a, body.wcf-site .wcf-menu ul.mod-menu > li:has(:focus-visible) > a, body.wcf-site .wcf-menu ul.mod-menu > li.active > a {
  color: #fff; background: rgba(255, 255, 255, .2); }
body.wcf-site .wcf-menu ul.mod-menu > li > .mm-toggler { display: none; }
/* level 2: the dropdown panel */
body.wcf-site .wcf-menu ul.mod-menu > li > ul { display: block !important; visibility: hidden; opacity: 0;
  transition: visibility 0s linear .3s, opacity .1s linear .2s; position: absolute; top: 100%; left: 0; z-index: 950; min-width: 225px;
  width: max-content; max-width: 360px; margin: 0; padding: 2px 0; list-style: none; height: auto !important;
  background: #000; border: 2px solid #1a1a1a; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
/* Open on hover, on KEYBOARD focus (:focus-visible - a mouse click on an arrow leaves plain focus behind, and :focus-within
 * then kept that dropdown open beside the next one: Stephan 12.11. "die gleichen Sperreffekte wie gestern") and while
 * the script holds it open. Leaving the menu: the panel stays 0.3s (a quick diagonal move to an arrow must not shut it);
 * moving on to ANOTHER main item closes it at once - the same rules as on the countdown sites since 11.11. */
body.wcf-site .wcf-menu ul.mod-menu > li:hover > ul, body.wcf-site .wcf-menu ul.mod-menu > li:has(:focus-visible) > ul,
body.wcf-site .wcf-menu ul.mod-menu > li > ul.mm-show { visibility: visible; opacity: 1; transition-delay: 0s; }
body.wcf-site .wcf-menu ul.mod-menu:hover > li:not(:hover) > ul { visibility: hidden; opacity: 0; transition: none; }
body.wcf-site .wcf-menu ul.mod-menu > li:last-child > ul, body.wcf-site .wcf-menu ul.mod-menu > li:nth-last-child(2) > ul { left: auto; right: 0; }
body.wcf-site .wcf-menu ul.mod-menu ul li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; position: static;
  margin: 0; padding: 0; width: auto; font-size: inherit; }
body.wcf-site .wcf-menu ul.mod-menu ul li::before { content: none; }
body.wcf-site .wcf-menu ul.mod-menu ul a, body.wcf-site .wcf-menu ul.mod-menu ul span:not(.mm-toggler) {
  display: block; padding: 5px 15px; margin: 0; color: #e6e6e6; font: 400 16px/20px var(--wcf-ui); white-space: normal; }
body.wcf-site .wcf-menu ul.mod-menu ul a:hover, body.wcf-site .wcf-menu ul.mod-menu ul a:focus-visible, body.wcf-site .wcf-menu ul.mod-menu ul li.active > a { background: #3a3a3a; color: #fff; }
/* level 3: the accordion inside the panel */
body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler {
  display: block; width: 34px; min-height: 30px; height: auto; position: relative; padding: 0; margin: 0; border: 0; border-left: 1px solid #222; border-radius: 0;
  background: none; color: #bbb; cursor: pointer; }
body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler::before { content: none; }
body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -5px 0 0 -4px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease; }
body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -1px; }
body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler:hover, body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler:focus-visible { background: #3a3a3a; color: #fff; }
body.wcf-site .wcf-menu ul.mod-menu ul ul.mm-collapse { grid-column: 1 / -1; position: static; margin: 0; padding: 2px 0 4px; list-style: none; background: #161616;
  border: 0; box-shadow: none; min-width: 0; width: auto; }
body.wcf-site .wcf-menu ul.mod-menu ul ul.mm-collapse:not(.mm-show) { display: none; }
body.wcf-site .wcf-menu ul.mod-menu ul ul.mm-collapse a { padding: 4px 15px 4px 28px; font-size: 15px; color: #d0d0d0; }
body.wcf-site .wcf-menu ul.mod-menu li { padding: 0; font-size: inherit; line-height: inherit; }
body.wcf-site .wcf-menu ul.mod-menu a, body.wcf-site .wcf-menu ul.mod-menu span { text-decoration: none !important; overflow: visible; text-overflow: clip; }
body.wcf-site .wcf-menu ul.mod-menu ul a { white-space: normal; }
body.wcf-site .wcf-menu ul.mod-menu .mm-toggler:focus { outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { body.wcf-site .wcf-menu ul.mod-menu ul .mm-toggler::after { transition: none; } }

.wcf-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-top: 40px; padding-bottom: 40px; min-height: 230px; }
.wcf-hero__left, .wcf-hero__right { flex: 1 1 50%; min-width: 0; }
.wcf-hero__right { text-align: right; }
.wcf-hero__right img { max-width: 100%; height: auto; margin-bottom: 16px; }
/* J3's hero height = the taller column + 40px: the lettering image with its 16px below (language-specific height), or the
 * translation modules with ~14px below the switcher */
.wcf-hero__left { padding-bottom: 14px; }
.wcf-hero p { margin: 0; }
/* "Human Translation" (mod_languages) + "AI Translation" (mod_gtranslate), measured on J3: titles Dancing Script 22px white,
 * 30px above / 18px below; the flags at their own 18x12, 5px in and 32px apart, no box around the active one (Cassiopeia's
 * .lang-active grey and the 8px link padding are gone); flag links white .7 -> white. Both modules must use THIS chrome
 * (module style "0" - J3's "System-html5" had overridden it and left a dark 20px title). */
.wcf-hmod + .wcf-hmod { margin-top: 0; padding-top: 6px; }       /* J3: 36px from the flags to the next title */
.wcf-hmod__title { margin: 30px 0 18px !important; font: 400 22px/26px var(--wcf-script) !important; color: #fff !important; text-shadow: none; }
/* J3 custom.css hides the titles on the German and Spanish pages (only the flags show there; AI Translation is English-only) */
html:lang(de) .wcf-hmod__title, html:lang(es) .wcf-hmod__title { display: none; }
.wcf-hero .mod-languages ul { display: flex; gap: 14px; margin: 0; padding: 3px 0 0 5px; list-style: none; }
.wcf-hero .mod-languages li, .wcf-hero .mod-languages li.lang-active { margin: 0; padding: 0; background: none; line-height: 18px; }
.wcf-hero .mod-languages a { display: inline-block; padding: 0; color: rgba(255, 255, 255, .7); }
.wcf-hero .mod-languages a:hover, .wcf-hero .mod-languages a:focus-visible { color: #fff; }
.wcf-hero .mod-languages a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wcf-hero .mod-languages img { display: block; width: 18px; height: 12px; }

/* ---- slideshow (home page) ------------------------------------------------------------------------------------- */
@media (max-width: 767px) { .wcf-slideshow { display: none; } }

/* ---- main: breadcrumbs, panel, sidebar ------------------------------------------------------------------------- */
.wcf-main { padding-top: 20px; padding-bottom: 10px; }
.wcf-main--sidebar { display: grid; grid-template-columns: minmax(0, calc(75% - 8.75px)) minmax(0, 1fr); column-gap: var(--wcf-gutter); align-items: start; }
/* J3 (UIkit 3-4 / 1-4, each column minus the 35px gutter): main 839px, sidebar 256px at 1130 - 3fr/1fr gave 821 / 274 */
@media (max-width: 767px) { .wcf-main--sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 20px; } }
#content .mod-breadcrumbs__wrapper { margin: 0 0 20px; }
#content ol.breadcrumb, #content .mod-breadcrumbs { margin: 0; padding: 8px 15px !important; background: #f5f5f5; border-radius: 4px; font: 400 16px/22px var(--wcf-ui); }
/* J3 (Bootstrap 2): "Home / Article Series / ..." - blue links, the "/" (#333, 5px either side) belongs to the item BEFORE
   it, so on a phone a wrapped line never starts with a slash; no location icon. The link text sits in a <span> on J6 -
   it was greyed with the current item (12.11.2026 night: every crumb read as inactive). */
#content .mod-breadcrumbs .mod-breadcrumbs__divider { display: none; }
#content .mod-breadcrumbs .breadcrumb-item { padding-left: 0; }
#content .mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { content: none; }
#content .mod-breadcrumbs .breadcrumb-item:not(:last-child)::after { content: "/"; padding: 0 5px; color: #333; }
#content .mod-breadcrumbs .breadcrumb-item a span { color: inherit; }
#content .mod-breadcrumbs .breadcrumb-item.active, #content .mod-breadcrumbs .breadcrumb-item.active span { color: #999; }
.wcf-panel { display: block; }
/* J6 article: title block and info line as the J3 page showed them */
#content .com-content-article .page-header h2, #content .com-content-article .page-header h1 { margin: 0; font-size: 40px; line-height: 48px; color: #567190; }
/* J3: banner picture 16px above the text (Cassiopeia 32px); headings inside the text 30px above / 18px below (Bootstrap 2) */
#content .com-content-article .item-image { margin-bottom: 0; }   /* the picture itself carries J3's 1em (rule below) */
/* (headings inside texts: the general 30/18 rule at the end - an #content rule here overrode the channel intro's own styles) */
#content .article-info { margin: 15px 0 20px; font: 400 12px/16px var(--wcf-ui); color: #999; }
/* info block as on J3 in BOTH modes: #999 (Cassiopeia's rgba(34,38,42,.75) vanished on the dark panel), "Details" bold,
 * the lines 10px in and without gaps, only the date keeps its icon (J3 had none for author / category) */
#content .article-info > dt, #content .article-info > dd { color: #999; font: inherit; }
#content .article-info > dt { font-weight: 700; margin: 0; }
#content .article-info > dd { margin: 0 0 0 10px; }
#content .article-info > dd .icon-user, #content .article-info > dd .icon-folder-open { display: none; }
/* print button (user.js 6) at the right of the article title, where J3 had its cog menu - J3's measures: 14px, 4px 12px,
 * radius 4, #eee/#444 (hover #f5f5f5), dark #26313f/#c7ced6. Without these rules it was the browser's bare 26px button. */
#content .page-header.cd-has-print { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
#content .page-header.cd-has-print > :first-child { min-width: 0; }
#content button.cd-print {
  flex: none; display: inline-flex; align-items: center; gap: .4em; margin: 0; padding: 4px 12px; border: 0; border-radius: 4px;
  background: #eee; color: #444; font: 400 14px/22px var(--wcf-ui); cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
#content button.cd-print .icon-print { font-size: 14px; line-height: 1; }
#content button.cd-print:hover, #content button.cd-print:focus-visible { background: #f5f5f5; color: #111; }
#content button.cd-print:focus-visible { outline: 2px solid var(--wcf-link-blue); outline-offset: 2px; }
:root[data-theme="dark"] #content button.cd-print { background: #26313f; color: #c7ced6; }
:root[data-theme="dark"] #content button.cd-print:hover, :root[data-theme="dark"] #content button.cd-print:focus-visible { background: #2f3d4e; color: #fff; }
@media (max-width: 575.98px) {
  #content button.cd-print { min-width: 40px; min-height: 34px; justify-content: center; }
  #content .cd-print__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
#content .item-page { font-family: "Literata", "Quattrocento Sans", Georgia, serif; }
/* J6 category blog / featured / list / categories, measured on the J3 site (Stephan 12.11.: "korrigiere die Blog-Listen"):
 *   category description + LEADING items: the reading typography (Literata 19/31.35); leading items sit on the white panel
 *   (theme.css), the description does not;
 *   the other items (two columns on e.g. /prophecies-fulfilled/): NO panel, Quattrocento Sans 16/22 #333, title #567190 /
 *   linked title #1fa2d6, picture below title + info line (html/com_content/{category/blog_item,featured/default_item}.php),
 *   about 28px between the columns, "Read more" a small grey button. */
#content .com-content-category-blog, #content .blog-featured, #content .com-content-categories, #content .com-content-category {
  font-family: "Literata", "Quattrocento Sans", Georgia, serif; }
#content .category-desc p, #content .items-leading > .blog-item p, #content .com-content-categories p { font-size: 19px; line-height: 1.65; }
#content .blog-items:not(.items-leading) > .blog-item { font: 400 16px/22px var(--wcf-ui); color: #333; background: none; box-shadow: none; }
#content .blog-items:not(.items-leading) > .blog-item p { font: inherit; }
#content .blog-items:not(.items-leading) { margin-left: -14px; margin-right: -14px; width: auto; }
#content .blog-items:not(.items-leading) > .blog-item { padding: 0 14px 22px; }   /* rows 40px apart (readmore -> next title) as on J3 */
/* ... and after the LAST row J3 had only the readmore's 10px before the "more articles" list */
#content .blog-items:not(.items-leading) + .items-more { margin-top: -28px; }
/* the item TITLE only (an h2 inside the intro text is an ordinary heading): J3 30/18, the 30 above being the item's
 * padding-bottom of the row before; the picture carries J3's 1em below itself */
#content .blog-item .page-header h2, #content .blog-item .item-title { margin: 0 0 18px; font: 400 40px/48px var(--wcf-script); color: #567190; }
#content .blog-item .page-header h2 a, #content .blog-item .item-title a { color: var(--wcf-link-blue); }
#content .blog-item .item-image { margin: 0; }
#content .blog-item .item-image img { max-width: 100%; height: auto; }
#content .blog-item p.readmore { margin: 10px 0 0; }
/* "down" column order (Joomla 6: masonry, columns ran independently) laid out as the J3 site did: the overrides write the
 * items row by row, so a plain grid gives aligned rows; one column below 768px in the same sequence as J3. */
#content .blog-items[class*="masonry-"] { column-count: auto; column-gap: 0; }
#content .blog-items[class*="masonry-"] > .blog-item { display: flex; width: auto; margin-bottom: 0; break-inside: auto; }
@media (min-width: 768px) {
  #content .blog-items[class*="masonry-"] { display: grid; }
  #content .blog-items.masonry-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #content .blog-items.masonry-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #content .blog-items.masonry-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#content .blog-item p.readmore a { display: inline-block; padding: 2px 12px; border: 0; border-radius: 4px; background: #eee; color: #444;
  font: 400 14px/22px var(--wcf-ui); }
#content .blog-item p.readmore a:hover { background: #e2e2e2; }
:root[data-theme="dark"] #content .blog-items:not(.items-leading) > .blog-item { color: var(--wcf-text); }
:root[data-theme="dark"] #content .blog-item .item-title, :root[data-theme="dark"] #content .blog-item .page-header h2 { color: var(--wcf-heading-muted); }
:root[data-theme="dark"] #content .blog-item p.readmore a { background: var(--wcf-surface-2); color: var(--wcf-text); }
/* article prev / next (J6 .pagenavigation) like the old grey .pager buttons */
#content .pagenavigation { margin: 20px 0; }
#content .pagenavigation .pagination { display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0; }
/* J3: 36px high, icon + 8px + text; legacy-content.css (the countdown set) gives every a.next " ❯" and margin 24px -
 * that pushed Next down, stretched Prev to 84px and doubled Next's arrow */
#content .pagenavigation a.btn { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 14px; border: 0;
  border-radius: 4px; background: #eee; color: #444; font: 400 16px/26.4px var(--wcf-ui); }
#content .pagenavigation a.btn.next { margin-left: auto; }
#content .pagenavigation a.btn::before, #content .pagenavigation a.btn::after { content: none; }
#content .pagenavigation a.btn:hover, #content .pagenavigation a.btn:focus-visible { background: #f5f5f5; color: #111; }
:root[data-theme="dark"] #content .pagenavigation a.btn { background: var(--wcf-surface-2); color: var(--wcf-text); border: 1px solid var(--wcf-border); }
:root[data-theme="dark"] #content .pagenavigation a.btn:hover, :root[data-theme="dark"] #content .pagenavigation a.btn:focus-visible {
  background: var(--wcf-surface); color: var(--wcf-link-hover); border-color: var(--wcf-link-hover); }

.wcf-box { box-sizing: border-box; margin: 0 0 20px; padding: 18px 20px; background: var(--wcf-surface); color: var(--wcf-text);
  border: 1px solid var(--wcf-border); border-radius: 8px; box-shadow: var(--wcf-panel-shadow); }
.wcf-box__title { margin: 0 0 12px !important; font-size: 26px !important; line-height: 1.2; color: #567190; }
:root[data-theme="dark"] .wcf-box__title { color: var(--wcf-heading-muted); }

/* ---- bands below the content ------------------------------------------------------------------------------------ */
.wcf-band { padding: 20px 0 10px; }
.wcf-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: var(--wcf-gutter); row-gap: 20px; }
.wcf-band__title { margin: 0 0 15px !important; padding-bottom: 6px; font-size: 30px !important; color: #567190;
  border-bottom: 1px solid rgba(0, 0, 0, .1); }
#bottom-c, #bottom-d { background-color: var(--wcf-band-dark); color: #fff; }
#bottom-c .wcf-band__title, #bottom-d .wcf-band__title { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
/* headings INSIDE a band module's text (bottom-c: "Other WhiteCloudFarm Sites:" is an h3.page-header in the content) look
 * like the module titles; they were dark on dark */
.wcf-band .wcf-band__panel h3.page-header { margin: 25px 0 15px; padding-bottom: 6px; font: 400 30px/1.2 var(--wcf-script); color: #567190;
  border-bottom: 1px solid rgba(0, 0, 0, .1); }
#bottom-c .wcf-band__panel h3.page-header, #bottom-d .wcf-band__panel h3.page-header { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
:root[data-theme="dark"] .wcf-band .wcf-band__panel h3.page-header { color: var(--wcf-heading-muted); }
#bottom-c a, #bottom-d a { color: #ddd; }
#bottom-c a:hover, #bottom-d a:hover { color: #fff; }
#bottom-c img { max-width: 100%; height: auto; }
#bottom-d { background-image: url("/images/site/starclock-footer.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; }
/* columns as on J3 (Stephan 12.11.: "gleiche die Legal-Spalte an"): no side padding (it made "High Sabbath Adventist
 * Society, LLC" wrap), titles 2/10px apart, paragraphs justified 10px apart without hyphenation, links white .7 */
#bottom-d .wcf-band__panel { padding: 0; transition: background-color .2s ease; }
#bottom-d .wcf-band__title { margin: 2px 0 10px !important; padding-bottom: 5px; }
#bottom-d .wcf-band__panel-content p { margin: 0 0 10px; text-align: justify; -webkit-hyphens: manual; hyphens: manual; }
#bottom-d a { color: rgba(255, 255, 255, .7); }
#bottom-d .wcf-band__panel:hover { background-color: rgba(25, 30, 42, .95); }
/* the two lists (latest videos / latest articles) as on J3: Quattrocento Sans 16/20, white disc bullets, no gaps between
 * the items, 25px in, links white .7 - Cassiopeia's .mod-list had taken the bullets (list-style none) and added .25em per item */
#bottom-d ul, #bottom-d ul.mod-list { margin: 0 0 0 25px; padding: 0; list-style: disc outside; }
#bottom-d ul > li, #bottom-d ul.mod-list > li { display: list-item; margin: 0; padding: 0; font: 400 16px/20px var(--wcf-ui); color: #fff; }
#bottom-d ul > li::marker { color: #fff; }
#bottom-d ul > li > a { color: rgba(255, 255, 255, .7); }
#bottom-d ul > li > a:hover, #bottom-d ul > li > a:focus-visible { color: #fff; }
:root[data-theme="dark"] .wcf-band__title { color: var(--wcf-heading-muted); }

/* ---- footer ------------------------------------------------------------------------------------------------------ */
.wcf-footer { background: #333; color: #e7e7e7; }
.wcf-copyright { background: #000 url("../images/pattern-circles.png"); color: #fff; min-height: 18px; }

/* ---- the old site's readability standard (custom.css 2026-06-16): hyphenation, ragged-right below 600px ---------- */
p { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
/* J3's Bootstrap 2 set EVERY paragraph to 10px spacing and justified text (custom.css: left-aligned again below 600px);
 * Cassiopeia's 1rem + start alignment made the J6 text ragged and 6px looser per paragraph */
p { margin: 0 0 10px; text-align: justify; }
/* Bootstrap 2's clearfix (J3) also had a ::before table: it keeps the first child's margins INSIDE the box - without it the
 * 10px of the empty <p> spacer that opens many category descriptions collapsed away and the drop cap sat 10px higher */
#content .clearfix::before { content: ""; display: table; }
@media (max-width: 600px) {
  p, .uk-text-justify, [style*="text-align: justify"], [style*="text-align:justify"] { text-align: left !important; }
}
/* category / categories / featured title as on J3 (there an h2 > span.subheading-category, here the page's h1):
 * Dancing Script 40/48, #567190, 30px above / 18px below; dark #a8c0e2 */
#content :is(.com-content-category-blog, .com-content-category, .com-content-categories, .blog-featured) > :is(h1, h2),
#content :is(.com-content-category-blog, .com-content-category, .com-content-categories, .blog-featured) > .page-header :is(h1, h2) {
  margin: 30px 0 18px; font: 400 40px/48px var(--wcf-script); color: #567190;
}
:root[data-theme="dark"] #content :is(.com-content-category-blog, .com-content-category, .com-content-categories, .blog-featured) > :is(h1, h2),
:root[data-theme="dark"] #content :is(.com-content-category-blog, .com-content-category, .com-content-categories, .blog-featured) > .page-header :is(h1, h2) {
  color: #a8c0e2;
}
@media (max-width: 600px) {
  p, [style*="text-align: justify"], [style*="text-align:justify"] { text-align: left !important; }
}

/* ---- content helpers of orionkit_one custom.css (video boxes, divider, archived-video note) ---------------------- */
div.ratio3565 div.yt-twd-outer { width: 35%; }
div.ratio3565 div.titlendesc { width: 65%; }
div.titlendesc { margin: 0; float: left; clear: right; }
div.titlendesc h5 { font-size: 26px !important; font-style: italic; color: #0000ff; font-weight: bold; }
div.titlendesc div, div.titlendesc h5 { padding: 5px 15px !important; margin: 0 !important; }
div.yt-twd-outer { line-height: 0; margin: 0; float: left; clear: none; padding-top: 10px; }
div.rounding7 div.imgbox { border-radius: 7px; }
div.shadow10d { box-shadow: 0 0 10px #222; }
div.imgbox { overflow: hidden; border-collapse: separate; line-height: 0; position: relative; }
div.imgbox a, div.imgbox a:active, div.imgbox a:focus, div.imgbox a:hover { background: 0 0; border: none; text-decoration: none; font-size: 0; }
div.imgbox a { float: left; }
div.vid_icon, span.vid_icon { display: block; position: absolute; top: 0; left: 0; height: 100%; background-image: url(/images/vid_icon.png);
  background-position: center center; background-repeat: no-repeat; z-index: 5; opacity: .5; cursor: pointer; }
div.imgbox, div.imgbox a, div.imgbox a img, div.titlebelowthumb, div.vid_icon, span.vid_icon { position: relative; border: 0; margin: 0; padding: 0; width: 100%; height: auto; }
div.divider { width: 95%; height: 1px; background-color: #ddd; margin: 10px; clear: both; float: left; box-shadow: 0 0 5px #ddd; }
@media only screen and (max-width: 690px) {
  div.ratio3565 div.yt-twd-outer { width: 100%; }
  div.ratio3565 div.titlendesc { margin-top: 10px; width: 100%; }
}
.video-note-archived { color: darkred; font-weight: bold; padding-left: 15px; margin-bottom: 5px; }

/* ---- phones ------------------------------------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .wcf-topbar { display: none; }
  .wcf-navbar__inner { min-height: 43px; }
  .wcf-brand, .wcf-menu, .wcf-search { display: none; }
  /* J3 at 390 (measured on category pages): logo 50px below the bar, the translation block 9px under it (UIkit stacked
     grid cells), 37px to the hero's end below the switcher (+14 of .wcf-hero__left) */
  .wcf-hero { flex-direction: column-reverse; align-items: center; text-align: center; padding-top: 50px; padding-bottom: 37px; gap: 9px; }
  .wcf-hero__right { text-align: center; }
  .wcf-hero .mod-languages ul { justify-content: center; padding-left: 0; }
  .wcf-hero .gtranslate_wrapper { display: flex; justify-content: center; }
}
@media (min-width: 768px) { .lc-oc-toggle { display: none; } }

/* printing (the print button, user.js 6, or Ctrl+P): the article alone, black on white - also from dark mode */
@media print {
  html, body.wcf-site { background: #fff !important; color: #000; }
  .wcf-header, .wcf-slideshow, .wcf-sidebar, .wcf-band, .wcf-footer, .wcf-skip, #wcf-theme-toggle, #wcf-to-top, #lc-offcanvas,
  .cd-print, .mod-breadcrumbs__wrapper, #system-message-container, #ampz_sidebar, .ampz_show_sidebar, .ampz_container, .djacc,
  .gtranslate_wrapper, .gt_float_switcher, .telegramchatmod, .wa_agent, .pagenavigation {
    display: none !important;              /* AMPZ / DJ-Accessibility / GTranslate set their own display inline */
  }
  .wcf-main, .wcf-main--sidebar { display: block; max-width: none; width: auto; padding: 0; }
  #content, #content .wcf-panel, #content .item-page { margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff !important; color: #000 !important; }
  #content .article-info, #content .article-info a { color: #555 !important; }
  #content .page-header, #content .page-header h1, #content .page-header h2, #content .item-page, #content .item-page p { color: #000 !important; }
  #content a { color: inherit !important; }
}

/* ---------- contact page (html/com_contact/contact/default.php), measured on J3 ------------------------------------------
 * name 40/48 #567190, category 30/36, the small contact picker, the sections as J3's accordion (white heads, bold blue
 * Quattrocento, no chevron), position / address / misc as Bootstrap 2 dl-horizontal (160px right-aligned term), the
 * picture framed on the right, the form as J3's grey "well" with labels left (160px) and 220px fields */
#content .com-contact .page-header :is(h1, h2) { margin: 30px 0 18px; font: 400 40px/48px var(--wcf-script); color: #567190; }
#content .com-contact > :is(h2, h3) { margin: 30px 0 18px; font: 400 30px/36px var(--wcf-script); color: #567190; }
#content .com-contact > :is(h2, h3) a { color: inherit; }
#content #selectForm label { display: block; margin: 0 0 5px; font-size: 14px; line-height: 20px; }
#content #selectForm .form-select { display: inline-block; width: 220px; height: 28px; margin: 0 0 10px; padding: 4px 6px; font-size: 14px;
  line-height: normal; color: #444; background: #fff; border: 1px solid #ddd; border-radius: 0; -webkit-appearance: menulist; appearance: auto; }
#content #slide-contact { margin-top: 20px; }
#content #slide-contact .accordion-item { margin: 0 0 2px; background: transparent; border: 1px solid #ddd; border-radius: 4px; }
#content #slide-contact .accordion-header { margin: 0; }
#content #slide-contact .accordion-button { display: block; width: 100%; padding: 8px 15px; font: 700 16px/22px var(--wcf-ui); color: #1fa2d6;
  background: transparent; border: 0; box-shadow: none; text-align: left; }
#content #slide-contact .accordion-button::after { content: none; }
#content #slide-contact .accordion-button:hover, #content #slide-contact .accordion-button:focus-visible { color: #0074a2; text-decoration: underline; }
#content #slide-contact .accordion-button:focus-visible { outline: 2px solid #1fa2d6; outline-offset: -2px; }
#content #slide-contact .accordion-body { padding: 9px 15px; border-top: 1px solid #e5e5e5; }
#content .com-contact__container { display: block; }      /* Cassiopeia: a two-column grid, which ignores float / clear */
#content .com-contact__container::after { content: ""; display: table; clear: both; }
#content .com-contact__thumbnail { float: right; margin: 0 0 10px 10px; padding: 4px; line-height: 20px; border: 1px solid #ddd; border-radius: 4px; }
#content .com-contact__thumbnail img { display: block; max-width: 100%; height: auto; }
#content .com-contact__info { clear: both; }
#content .com-contact .dl-horizontal { display: block; margin: 15px 0 20px; line-height: 20px; }
#content .com-contact .dl-horizontal > dt { float: left; clear: left; width: 160px; margin: 0; overflow: hidden; text-align: right; font-weight: 700; white-space: nowrap; }
#content .com-contact .dl-horizontal > dd { margin: 0 0 0 180px; padding: 0; }
#content .com-contact .contact-position { margin-top: 10px; }
/* J3's icons for address and misc were the FA7 Light map pin / circle-info (theme.css, contact_icons) */
#content .com-contact .dl-horizontal > dt [class^="icon-"]::before { font-family: "Font Awesome 7 Pro"; font-weight: 300; color: var(--wcf-muted, #999); }
#content .com-contact .dl-horizontal > dt .icon-address::before { content: "\f3c5"; }
#content .com-contact .dl-horizontal > dt .icon-info-circle::before { content: "\f05a"; }
#content .com-contact .contact-miscinfo .dl-horizontal > dt > span:not([class^="icon-"]) { display: none; }
/* the form */
#content #contact-form.well { margin: 0 0 20px; padding: 20px; background: #f5f5f5; border: 0; border-radius: 0; box-shadow: none; }
#content #contact-form legend { display: block; width: 100%; margin: 0 0 20px; padding: 0; font: 400 21px/40px var(--wcf-ui); color: #595959; border-bottom: 1px solid #e5e5e5; }
#content #contact-form .control-group { margin: 0 0 20px; }
#content #contact-form .control-label { font-size: 14px; line-height: 20px; }
#content #contact-form .control-label label { margin: 0; }
#content #contact-form .form-control { display: inline-block; width: 220px; height: 30px; padding: 4px 6px; font-size: 14px; line-height: 20px; color: #444;
  background: #fff; border: 1px solid #767676; border-radius: 0; box-shadow: none; }
/* the message box: J3 had a one-line 220x32 field; larger here on purpose (Stephan 12.11.2026) - up to 520px wide, ~8 lines */
#content #contact-form textarea.form-control { width: 100%; max-width: 520px; height: 180px; min-height: 100px; resize: vertical; }
#content #contact-form .form-check-input { width: 13px; height: 13px; margin: 4px 0 0; border: 1px solid #767676; border-radius: 0; -webkit-appearance: checkbox; appearance: auto; }
#content #contact-form .controls .form-check, #content #contact-form .controls fieldset.checkboxes { margin: 0; padding: 0 0 0 20px; font-size: 14px; line-height: 20px; }
#content #contact-form .controls .form-check .form-check-input, #content #contact-form .controls fieldset.checkboxes .form-check-input { float: left; margin: 0 0 0 -20px; }
#content #contact-form .btn-primary { padding: 9px 20px; font: 600 14px/19.6px var(--wcf-ui); color: #fff; background: #00b1be; border: 1px solid #00b1be; border-radius: 6px; }
#content #contact-form .btn-primary:hover, #content #contact-form .btn-primary:focus-visible { background: #0a93a0; border-color: #0a93a0; }
#content #contact-form .btn-primary:disabled { color: #6b7a85; background: #eef3f4; border-color: #dfe5ea; opacity: 1; cursor: not-allowed; }
/* J3 order: captcha, then the contact permission, then the button (J6 puts the captcha fieldset last) */
#content #contact-form { display: flex; flex-direction: column; }
#content #contact-form > fieldset:has(.cf-turnstile, [name="jform[captcha]"]) { order: 1; }
#content #contact-form > fieldset:has([data-cons-preference]) { order: 2; }
#content #contact-form > .control-group:has(button[type="submit"]) { order: 3; }
@media (min-width: 768px) {
  #content #contact-form .control-label { float: left; width: 160px; padding-top: 5px; text-align: right; }
  #content #contact-form .controls { margin-left: 180px; }
  #content #contact-form .control-group::after { content: ""; display: table; clear: both; }
}
@media (max-width: 767px) {
  #content .com-contact .dl-horizontal > dt { float: none; width: auto; text-align: left; }
  #content .com-contact .dl-horizontal > dd { margin-left: 0; }
  #content .com-contact__thumbnail { float: none; display: inline-block; margin: 0 0 10px; }
}
:root[data-theme="dark"] #content .com-contact .page-header :is(h1, h2) { color: #a8c0e2; }
:root[data-theme="dark"] #content .com-contact > :is(h2, h3) { color: var(--wcf-heading-muted); }
:root[data-theme="dark"] #content #selectForm .form-select { color: #c7ced6; background: #1c2532; border-color: #2c3848; }
:root[data-theme="dark"] #content #slide-contact .accordion-item { border-color: #2c3848; }
:root[data-theme="dark"] #content #slide-contact .accordion-body { border-top-color: #2c3848; color: #c7ced6; }
:root[data-theme="dark"] #content #slide-contact .accordion-button:hover, :root[data-theme="dark"] #content #slide-contact .accordion-button:focus-visible { color: #5cc6d6; }
:root[data-theme="dark"] #content .com-contact__thumbnail { background: #26313f; border-color: #2c3848; }
:root[data-theme="dark"] #content #contact-form.well { background: #26313f; }
:root[data-theme="dark"] #content #contact-form legend { color: #9fb4c8; border-bottom-color: #2c3848; }
:root[data-theme="dark"] #content #contact-form .form-control { color: #c7ced6; background: #1c2532; border-color: #2c3848; }
:root[data-theme="dark"] #content #contact-form .btn-primary:disabled { color: #9aa7b1; background: #26313f; border-color: #2c3848; }
/* count badges in the category overviews (/contact/ "Contact Count: 2"): J3's small blue pill, not a heading-font box */
#content :is(.com-contact-categories, .com-content-categories, .categories-list) .badge {
  display: inline-block; padding: 0 5px; font: 400 12px/18px Roboto, Arial, sans-serif; color: #fff; background: #00a8e6 !important; /* over .bg-info !important */
  border-radius: 500px; vertical-align: middle; white-space: nowrap;
}

/* ---------- dark mode: form controls (Stephan 12.11.: "Dropdowns ... nicht Dark Mode konform") ---------------------------
 * color-scheme dark makes the browser draw its own parts dark (the open option list, checkboxes, scrollbars); Cassiopeia's
 * .form-select paints a 1856px select-bg.svg with a WHITE field over the background colour -> replaced by a plain chevron;
 * the options and the card boxes (Smart Search tips) get the dark surface */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="dark"] select option, :root[data-theme="dark"] select optgroup { color: #c7ced6; background-color: #1c2532; }
:root[data-theme="dark"] .form-select {
  color: #c7ced6; background-color: #1c2532; border-color: #2c3848;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23c7ced6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 14px 10px;
}
:root[data-theme="dark"] .form-select:focus { border-color: #1fa2d6; box-shadow: 0 0 0 .2rem rgba(31, 162, 214, .25); }
:root[data-theme="dark"] .form-control, :root[data-theme="dark"] .form-check-input { color: #c7ced6; background-color: #1c2532; border-color: #2c3848; }
:root[data-theme="dark"] .form-check-input:checked { background-color: #1fa2d6; border-color: #1fa2d6; }
:root[data-theme="dark"] #content .card { color: #c7ced6; background-color: #26313f; border-color: #2c3848; }

/* ---------- search page (Smart Search, the J6 successor of J3's com_search), J3's look and measures --------------------
 * heading 36/42, the small 220px field with the blue button, results as J3's numbered list (bold blue title, the rest 10px
 * in, 16/20) - Smart Search's own extras (snippet, type/author/category line, Advanced Search) are kept, kept small */
#content .com-finder > h1, #content .com-finder > .page-header h1 { margin: 30px 0 18px; font: 400 36px/42px var(--wcf-script); color: #567190; }
#content .com-finder__search label[for="q"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#content .com-finder__search .input-group { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; width: auto; }
#content .com-finder__search #q { flex: none; width: 220px; height: 34px; padding: 4px 6px; font-size: 14px; line-height: 22px; color: #444; background: #fff;
  border: 1px solid #767676; border-radius: 0; box-shadow: none; }
#content .com-finder__search .btn { flex: none; height: 30px; padding: 4px 12px; font: 400 14px/22px var(--wcf-ui); border: 0; border-radius: 4px !important; }
#content .com-finder__search .btn-primary { color: #fff; background: #00a8e6; }
#content .com-finder__search .btn-primary:hover, #content .com-finder__search .btn-primary:focus-visible { background: #0090c5; }
#content .com-finder__search .btn-secondary { color: #444; background: #eee; }
#content .com-finder__search .btn-secondary:hover, #content .com-finder__search .btn-secondary:focus-visible { color: #111; background: #ddd; }
#content .com-finder__explained, #content .com-finder__suggested { margin: 0 0 10px; font-size: 16px; line-height: 22px; }
#content #search-result-list { margin: 15px 0 20px; padding: 0; list-style: none; counter-reset: wcfres var(--wcf-res-start, 0); }
#content #search-result-list > .result__item { margin: 0 0 10px; padding: 0; border: 0; counter-increment: wcfres; font-size: 16px; line-height: 20px; }
#content #search-result-list .result__title { margin: 0; font: 700 16px/20px var(--wcf-ui); }
#content #search-result-list .result__title::before { content: counter(wcfres) ". "; }
#content #search-result-list .result__title-link { display: inline; color: #1fa2d6; font: inherit; }
#content #search-result-list .result__title-text { display: inline; font: inherit; }
#content #search-result-list .result__description { margin: 0 0 0 10px; text-align: left; }
#content #search-result-list .result__date { font-weight: 400; }
#content #search-result-list .result__taxonomy { margin: 0 0 0 10px; padding: 0; font-size: 14px; color: #777; }
#content #search-result-list .result__taxonomy-item { display: inline; margin: 0; }
#content #search-result-list .result__taxonomy-item + .result__taxonomy-item::before { content: " | "; }
:root[data-theme="dark"] #content .com-finder > h1, :root[data-theme="dark"] #content .com-finder > .page-header h1 { color: #a8c0e2; }
:root[data-theme="dark"] #content .com-finder__search #q { color: #c7ced6; background: #1c2532; border-color: #2c3848; }
:root[data-theme="dark"] #content .com-finder__search .btn { color: #c7ced6; background: #26313f; }
:root[data-theme="dark"] #content #search-result-list .result__taxonomy { color: #9aa7b1; }

/* ---------- spacing as on J3 (Stephan 12.11.: "Abstände ... scheinen schmaler geworden zu sein") ----------------------
 * J3's Bootstrap gave EVERY picture margin-bottom: 1em (16px in a category text, 19px in an article) - Cassiopeia 0, so text
 * sat right under the banner / category picture / article pictures. :where() keeps J3's specificity (0,0,1): classes with
 * their own margins (pull-left/right, inline styles, cards) still win as they did */
:where(#content) img { margin-bottom: 1em; }
/* categories overview (/article-series/): the sub-category title was plain 16px text in J6 - J3 had an h3.page-header:
 * Dancing Script 34/42.5 #567190 (link #1fa2d6), 2px above / 10px below, 5px + a line under it; no extra line per item */
#content .com-content-categories__item { margin: 0; padding: 0; border: 0; }
#content .com-content-categories__item-title-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 2px 0 10px; padding: 0 0 5px; border-bottom: 1px solid #ddd; }
/* the "+" for sub-series: J3's small grey btn-mini at the right end of the title line (it wrapped to a line of its own) */
#content .com-content-categories__item-title-wrapper > .btn { flex: none; padding: 1px 6px; font-size: 10.5px; line-height: 16px; color: #333;
  background: #f5f5f5; border: 1px solid #ccc; border-radius: 3px; }
#content .com-content-categories__item-title-wrapper > .btn:hover, #content .com-content-categories__item-title-wrapper > .btn:focus-visible { background: #e6e6e6; }
:root[data-theme="dark"] #content .com-content-categories__item-title-wrapper > .btn { color: #c7ced6; background: #26313f; border-color: #2c3848; }
#content .com-content-categories__item-title { font: 400 34px/42.5px var(--wcf-script); color: #567190; }
#content .com-content-categories__item-title a { color: #1fa2d6; }
#content .com-content-categories__description { margin: 0; }
/* sub-categories of a category (blog / list): the "Subcategories" heading 30px above / 18px below, each title 2px / 10px */
#content .cat-children > h3:not(.item-title) { margin: 30px 0 18px; }
#content .cat-children h3.item-title { margin: 2px 0 10px; }
:root[data-theme="dark"] #content .com-content-categories__item-title-wrapper { border-bottom-color: #2c3848; }
:root[data-theme="dark"] #content .com-content-categories__item-title { color: var(--wcf-heading-muted); }
/* headings inside texts as J3's Bootstrap 2 + UIkit set them: 30px above / 18px below everywhere (Cassiopeia: 15 below),
 * h5 22px and h6 14px (Cassiopeia 20 / 16). :where() = specificity (0,0,1), so every titled rule above still wins */
.wcf-site :where(#content) :is(h1, h2, h3, h4, h5, h6) { margin-top: 30px; margin-bottom: 18px; color: #567190; }   /* (0,1,1): ties .wcf-site h1, later; J3's Bootstrap colour (#567190) beat UIkit's #222 */
.wcf-site :where(#content) h5 { font-size: 22px; line-height: 1.2; }
.wcf-site :where(#content) h6 { font-size: 14px; line-height: 1.2; }
/* lists inside texts as J3's Bootstrap 2: 25px in, 10px below (Cassiopeia 32px / 1rem - one more line break per item).
 * Specificity (0,0,1): breadcrumbs, search results, footnotes, pagination, tabs keep their own class rules */
:where(#content) :is(ul, ol) { margin: 0 0 10px 25px; padding: 0; }
/* J3's site.min.css: the LAST paragraph / heading of a box brings no margin below, the FIRST heading/paragraph none above
 * (list items, table cells, descriptions) - without it every <li><p> list was 10px per item taller */
/* (on J3 a category description ended in a further element, so its last paragraph kept its 10px - hence only these boxes) */
:where(#content) :where(li, td, th, dd, blockquote) > :where(p, h1, h2, h3, h4, h5):last-child { margin-bottom: 0; }
:where(#content) :where(li, td, th, dd, blockquote) > :where(p, h1, h2, h3, h4, h5):first-child { margin-top: 0; }
/* blog: the first row's title had J3's 30px above it (2px here - the rows after get theirs from the row before);
 * the pagination block 20px above / below as J3's .pagination, the "Page 1 of 2" counter without Cassiopeia's pt-3 */
#content .blog-items:not(.items-leading) { margin-top: 28px; }
#content :is(.com-content-category-blog__navigation, .blog-featured .pagination-wrapper) { margin: 20px 0; }
#content .com-content-category-blog__counter { padding-top: 0 !important; }   /* over Bootstrap's .pt-3 !important */
/* category / contact list titles (h3.page-header.item-title) as J3: 2px above, 10px below */
#content .page-header.item-title { margin: 2px 0 10px; }
/* leading items sit on the panel: their title keeps J3's 30px above it inside the panel */
#content .items-leading .blog-item .item-title, #content .items-leading .blog-item .page-header h2 { margin-top: 30px; }
/* footnotes (plg_content_reffootnotes) as J3's cdfootnotes: 14.4px / 1.4, 5px between notes, 86px + a grey line above -
 * the article's 19/31.35 list-item typography had made the block nearly twice as tall (Section 4: 11217px vs 6233px) */
#content section.footnotes { margin-top: 86px; padding-top: 14px; border-top: 1px solid #808080; font-size: 14.4px; line-height: 1.4; opacity: 1; }
#content section.footnotes li, #content section.footnotes .fn-text, #content section.footnotes .fn-back { font-size: 14.4px; line-height: 1.4; }
#content section.footnotes .footnotes-list > li { margin: 0 0 5px; }
:root[data-theme="dark"] #content section.footnotes { border-top-color: #2c3848; }
/* category lists were boxed TWICE (J6's .com-content-category / .com-contact-category wrapper AND the inner panel J3 had alone):
 * 42px less text width - on a phone 256px instead of 298px, every text visibly longer. The inner one is plain again */
:root #content :is(.com-content-category, .com-contact-category) > :is(.content-category, .contact-category) {
  padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
/* category article / contact list tables as on J3: no shadow (legacy-content.css gives every .table one - meant for article
 * tables), the hits as J3's small blue pill, the "Display #" picker small (220x28 style, here ~60px) */
/* Tables in articles (12.11.2026 night, phone round): Cassiopeia's `.table thead th { white-space: nowrap }` kept every
   header on one line, so a two-column comparison table could not shrink below its headings and pushed the page 100-660px
   sideways on a phone (21 article pages that fit on J3). J3 (Bootstrap 2): headers wrap, and tables are capped at their
   column (`table { max-width: 100% }`). Tables wider than the column on J3 as well stay as they were there. */
#content table { max-width: 100%; }
#content .table thead th { white-space: normal; }
#content table.category { box-shadow: none; border-collapse: collapse; border: 1px solid #ddd; }
#content table.category > :not(caption) > tr > *, #content table.category > :not(caption) > * > * { padding: 8px; font: 400 16px/20px var(--wcf-ui); color: #2a2f36;
  border: 1px solid #ddd; box-shadow: none; background-color: transparent; }
#content table.category > tbody > tr:nth-child(odd) > * { background-color: #f9f9f9; }
#content table.category > tbody > tr:hover > * { background-color: #f5f5f5; }
#content table.category .badge { display: inline-block; padding: 0 5px; font: 400 12px/18px Roboto, Arial, sans-serif; color: #fff;
  background: #00a8e6 !important; border-radius: 500px; white-space: nowrap; }
#content :is(.com-content-category, .com-contact-category) #limit { width: auto; height: 28px; margin: 0 0 5px; padding: 4px 24px 4px 6px; font-size: 14px;
  line-height: normal; color: #444; background-color: #fff; background-image: none; border: 1px solid #ddd; border-radius: 0; -webkit-appearance: menulist; appearance: auto; }
:root[data-theme="dark"] #content :is(.com-content-category, .com-contact-category) #limit { color: #c7ced6; background-color: #1c2532; background-image: none; border-color: #2c3848; }
#content table.category > thead > tr > th { font-weight: 700; }
