/* ========== Baseline / Typo ========== */
* { box-sizing: border-box; }

html,
body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:root {
	/* Colors */
  --border: #e5e7eb;
  --bg: #f8fafc;
  --hover: #eef2ff;
  --active: #e0e7ff;
  --marker-w: 16px; /* Breite des (fiktiven) Pfeils im MenÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼ */
  --primary-color: #48628c;
  --background-color: #ffffff;
  --background-image: url("pics/background.jpg");
  --background-image-size: cover;
  --glass-panel-rgb: 255, 255, 255;
  --glass-panel-bg: rgba(255, 255, 255, 1.00);
  --background-overlay-start: rgba(255, 255, 255, 0.60);
  --background-overlay-mid: rgba(255, 255, 255, 0.45);
  --background-overlay-end: rgba(255, 255, 255, 0.30);
  
	/* Font-Colors */
	--h1: #122033;
	--h2: #122033;
	--h3: #122033;
	--p: #122033;
	--table-header-foreground: #FFFFFF;
	--table-header-background: #379587;
	--li: #122033;
	--a: var(--primary-color);
	
  --site-title: #FFFFFF;
  --site-subtitle: #FFFFFF;
  --menu: #FFFFFF;
  --menu-surface: #379587;
  --menu-hover-bg: #eef2ff;
  --menu-active-bg: #e0e7ff;
  
  --sidebar-min-width: 260px;
  --sidebar-max-width: 340px;
  --sidebar-width: clamp(var(--sidebar-min-width), 20vw, var(--sidebar-max-width));
  --content-width: 1000px;
  --page-width: calc(var(--sidebar-width) + var(--content-width));
  --shell-gap: 15px;
}

@supports (color: color-mix(in srgb, black 1%, white 99%)) {
  :root {
    --menu-hover-bg: color-mix(in srgb, var(--menu) 40%, var(--menu-surface) 60%);
    --menu-active-bg: color-mix(in srgb, var(--menu) 65%, var(--menu-surface) 35%);
  }
}

html, body {
  height: 100%;
  min-height: 100%;
  width: 100%;
  margin: 0;
  font-family: "Calibri", "Carlito", "Segoe UI", "Inter", "Noto Sans", "Arial", "sans-serif";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
/*   font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; */  
	color: #000;
}

html {
  background: transparent;
}

/* ========== Startseite: Layout ========== */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) var(--content-width); /* links: 500, rechts: 1000 */
}

/* Host-Inhalt: links Baum, rechts Detailseite */
.content-panel {
  height: 100%;
  padding: 0;
  min-height: 0;
  background: transparent;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(360px, 42%) minmax(420px, 58%);
  gap: var(--shell-gap);
  align-items: start;
  height: 100%;
  min-height: 0;
}

.content-toc {
  min-width: 0;
  height: calc(100% - 30px);
  min-height: 0;
  overflow: auto;
  padding: 12px 10px 12px 14px;
  background: var(--glass-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.content-frame {
  min-width: 0;
  height: 100%;
  min-height: 0;
  background: transparent;
}

.content-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

nav {
  border-right: 0;
  padding: 8px 0;

  /* NEU: Flex-Layout statt scrollendem Block */
  display: flex;
  flex-direction: column;
  overflow: hidden;   /* nav selbst scrollt nicht mehr */
}


main {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  
}

header.main {
  padding: 10px 12px;
  border-bottom: 0;
  background: #fff;
}

iframe#content {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  margin-bottom: 0;
  display: block;
}

.welcome {
  padding: 16px;
  color: #475569;
}

/* ========== Navigation (TOC) ========== */
/* Kugeln komplett aus */

.toc {
  flex: 1 1 auto;
  overflow: auto;
}

/* falls du vorher Scrollbar-Styles auf nav hattest, auf .toc verschieben */
.toc::-webkit-scrollbar { width: 10px; }
.toc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 6px; }
.toc::-webkit-scrollbar-track { background: rgba(0,0,0,0.08); }

.toc ul,
.toc li {
  list-style: none;
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

/* Grundlayout der Items */
.toc li { margin: 2px 0; }
.toc a  { display: inline-flex; align-items: center; gap: 4px; }

/* EinzÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼ge je Ebene (10px pro Tiefe) */
.toc ul              { margin: 0; }
.toc ul ul           { margin-left: 10px; }
.toc ul ul ul        { margin-left: 20px; }
.toc ul ul ul ul     { margin-left: 30px; }

/* Summary optisch wie klickbarer Eintrag */
.toc summary {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 6px;
}
.toc summary:hover {
  background: var(--menu-hover-bg);
  border-radius: 6px;
}

/* Native Pfeile ausblenden: wir zeichnen selbst */
.toc summary::-webkit-details-marker { display: none; }
.toc summary::marker { content: ""; }

/* Ast (mit Kindern): eigener Pfeil */
.toc details > summary::before {
  content: "\25B8";
  display: inline-block;
  width: var(--marker-w);
  flex: 0 0 var(--marker-w);
  color: var(--menu) !important;
}
.toc details[open] > summary::before { content: "\25BE"; }

.toc details > summary.non-expandable::before,
.toc details[open] > summary.non-expandable::before {
  content: "";
}

/* Blatt (ohne Kinder): leerer Spacer statt Pfeil, damit alles bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼ndig ist */
.toc li.leaf > a::before {
  content: "";
  display: inline-block;
  width: var(--marker-w);
  flex: 0 0 var(--marker-w);
  margin-right: 6px;
  color: var(--menu) !important;
}

/* Hover/Active fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r Links */
.toc a:hover  {
  background: var(--menu-hover-bg);
  border-radius: 6px;
}
.toc a.active {
  background: var(--menu-active-bg);
  border-radius: 6px;
}

/* ========== Links allgemein (auÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸erhalb .toc) ========== */
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== Unterseiten: word-content ========== */
/* ========== LARS: Breite 630 gut! ========== */
.word-content {
  margin: 0 30px;
}

h1 {
  color: #000;00
  font-size: 16px;
  margin: 0 0 30px 2px;
  font-family: "Calibri";
}


/* Text nur im linken Sidebar-Menü weiß */
nav .toc a,
nav .toc summary {
  color: var(--menu) !important;
}

/* Pfeil/Spacer ebenfalls weiß */
nav .toc details > summary::before,
nav .toc li.leaf > a::before {
  color: var(--menu) !important;
}

/* Hover/Active in hellen Weißtönen statt der bisherigen Variablen */
nav .toc a:hover,
nav .toc summary:hover {
  background: var(--menu-hover-bg);
}
nav .toc a.active {
  background: var(--menu-active-bg);
}

nav .toc summary.active {
  background: var(--menu-active-bg);
}

/* TOC im Hauptbereich (blaues Panel) hell darstellen */
.content-toc .toc a,
.content-toc .toc summary {
  color: var(--menu) !important;
}

.content-toc .toc details > summary::before,
.content-toc .toc li.leaf > a::before {
  color: var(--menu) !important;
}

.content-toc .toc a:hover,
.content-toc .toc summary:hover {
  background: var(--menu-hover-bg);
}

.content-toc .toc a.active {
  background: var(--menu-active-bg);
}

.content-toc .toc summary.active {
  background: var(--menu-active-bg);
}

/* Optional: Scrollbar im MenÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼ etwas anpassen (nur WebKit/Blink) */
nav::-webkit-scrollbar { width: 10px; }
nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 6px; }
nav::-webkit-scrollbar-track { background: rgba(0,0,0,0.08); }

/* === Top-Banner === */
/* === Top-Banner (zweispaltig: 500px Logo-Zelle, 1000px Titel-Zelle) === */
.site-banner {
  height: 100px;
  border-bottom: 0px;
  display: grid;
  grid-template-columns: var(--sidebar-width) var(--content-width); /* exakt wie .layout */
  justify-content: center;
  align-items: center;
  padding: 0; /* AuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸enabstand ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼bernimmt die Grid-Struktur */
  color: #fff;
}

/* Linke Banner-Zelle (Logo) ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ gleiche "Spaltenbreite" wie das nav */
.site-banner .banner-left {
  display: flex;
  align-items: center;
  padding-left: 25px;
}
.site-banner .site-logo {
  height: 50px;     /* gewÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼nschte LogohÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¶he */
  width: auto;
  display: block;
}

/* Rechte Banner-Zelle (Titelblock) */
.site-banner .banner-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
}
.site-banner .site-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}
.site-banner .site-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  margin: 4px 0 0 0;
  opacity: 0.95;     /* minimal softer */
  color: #fff;
}

/* Das 2-Spalten-Layout fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼llt den Rest unter dem Banner */
.layout { height: calc(100vh - 100px); }  /* BannerhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¶he abziehen */



body {
  min-height: 100vh;
  background: transparent;
}

/* Layout links ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¾andockenÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“, feste Breite = 500 + 1000 */
.layout {
  width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  height: calc(100vh - 100px); /* falls noch nicht gesetzt, BannerhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¶he abziehen */
}

/* Host-Main transparent halten */
main { background: transparent; }

/* Layoutbreite nur auf der Host-Seite setzen */
body.host .layout {
  width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.host {
  height: 100vh;
  overflow: hidden;
}

body.host .site-banner {
  width: var(--page-width);
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--glass-panel-bg);
  backdrop-filter: blur(4px);
  overflow: visible;
}

body.host .site-banner .banner-right {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  text-align: left;
}

body.host .site-banner .banner-left {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  height: 100%;
  padding: 0;
  margin: 0 0 0 12px;
}

body.host .site-banner .site-title {
  margin: 0 0 4px 0;
  line-height: 1.15;
}

body.host .site-banner .site-subtitle {
  display: block;
  margin: 0;
  line-height: 1.25;
  opacity: 0.95;
}

body.host nav.sidebar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  justify-items: stretch;
  gap: 12px;
  padding: 8px 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  overflow: visible;
  position: relative;
  z-index: 40;
}

/* Inline-Script soll im Host-Grid kein eigenes "Spalten-Item" erzeugen */
body.host nav.sidebar > script {
  display: none !important;
}

body.host nav.sidebar .search-container {
  display: block;
  order: 2;
  margin: 0 0 0 auto;
  width: 300px;
  min-width: 220px;
  max-width: 34%;
  flex: 0 0 auto;
  justify-self: end;
  align-self: end;
  position: relative;
  z-index: 900;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.host nav.sidebar .sidebar-block {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  margin: 0;
  order: 1;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.host nav.sidebar .sidebar-heading {
  display: none;
}

body.host nav.sidebar .sidebar-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 -8px 0;
  overflow-x: auto;
  overflow-y: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.host nav.sidebar .sidebar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.10);
}

body.host nav.sidebar #searchBox {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  padding: 7px 12px;
}

body.host nav.sidebar .sidebar-link:hover {
  background: var(--menu-hover-bg);
}

body.host nav.sidebar .sidebar-link.is-active {
  background: var(--menu-active-bg);
  border-color: rgba(255, 255, 255, 0.35);
  border-bottom: 0;
}

body.host nav.sidebar .sidebar-spacer,
body.host nav.sidebar .sidebar-tools {
  display: none;
}

body.host main.main {
  flex: 1 1 auto;
  min-height: 0;
}

/* iframe transparent halten */
iframe#content {
  background: transparent;
}

body.readContent {
  background: transparent;
  min-height: 100%;
  height: auto;
}

/* Word-ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤hnliche Darstellung */
table.wordlike { border-collapse: collapse; table-layout: fixed; }
table.wordlike td, table.wordlike th { border: 1px solid #000; padding: 2pt 4pt; vertical-align: top; }



/* FONT COLOR OVERRIDES */ 
.word-content h1 {
	color: var(--h1)!important;
}
.word-content h1 {
	color: var(--h2)!important;
}
.word-content h1 {
	color: var(--h3)!important;
}
.word-content p {
	color: var(--p)!important;
}
.word-content table tr:first-child td {
	color: var(--table-header-color)!important;
	background: var(--table-header-background)!important;
}
.word-content a, .word-content a:visited {
	color: var(--a)!important;
}
.site-title {
	color: var(--site-title)!important;
}.site-subtitle {
	color: var(--site-subtitle)!important;
}
nav a {
	color: var(--menu)!important;
}

/* Sidebar-Layout (tmpl_01_hauptseite.html) */
.sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-block,
.sidebar-tools {
  padding: 0 10px;
}

.sidebar-heading {
  color: var(--menu);
  font-weight: 700;
  margin: 10px 0 8px;
}

.sidebar-links,
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-link,
.sidebar-button {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--menu) !important;
  text-decoration: none;
}

.sidebar-link:hover,
.sidebar-button:hover {
  background: var(--menu-hover-bg);
  border-radius: 6px;
  text-decoration: none;
}

.sidebar-link.is-active {
  background: var(--menu-active-bg);
  border-radius: 6px;
  font-weight: 700;
}

.sidebar-button.is-active {
  background: var(--menu-active-bg);
  border-radius: 6px;
  font-weight: 700;
}

.sidebar-spacer {
  flex: 1 1 auto;
}

a:not([href]), a:not([href]):hover {
	color: var(--p)!important;
	text-decoration: none;
}
a:not([href]) span {
	display: none;
}

.search-container {
	position: relative;
	width: calc(100% - 20px);
	max-width: 360px;
	margin-bottom: 30px;
	margin-left: 10px;
  z-index: 900;
}

#searchBox {
	width: 100%;
	padding: 5px;
	font-size: 14px;
  border-radius: 8px;
	box-sizing: border-box;
	background: transparent;   /* Hintergrund durchsichtig */
	color: #fff;               /* Textfarbe weiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ */
	border: 1px dotted #A9A9A9;    /* optional: weiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸e Umrandung */
	caret-color: #fff;         /* Cursor ebenfalls weiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ */
}

#searchBox:-webkit-autofill,
#searchBox:-webkit-autofill:hover,
#searchBox:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px rgba(var(--glass-panel-rgb), 0.72) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.flyout {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
  width: 100%;
  margin-top: 6px;
	max-height: 400px;
	overflow-y: auto;
	color: #fff;
	background: var(--glass-panel-bg);
	border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(4px);
	z-index: 2500;
	padding: 0;
	margin: 0;
	list-style: none;
}

.flyout li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.flyout li:last-child {
	border-bottom: none;
}

.flyout li a {
	display: block;
	padding: 10px 12px;
	text-decoration: none;
	color: #fff;
}

.flyout .search-hit-title,
.flyout .search-hit-type,
.flyout .search-hit-variant,
.flyout .search-hit-context,
.flyout .search-hit-host {
  display: block;
}

.flyout .search-hit-title {
  font-weight: 700;
  line-height: 1.25;
}

.flyout .search-hit-type,
.flyout .search-hit-variant,
.flyout .search-hit-context,
.flyout .search-hit-host {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.flyout .search-hit-type {
  opacity: 0.92;
}

.flyout .search-hit-variant {
  opacity: 0.88;
}

.flyout .search-hit-context {
  opacity: 0.76;
}

.flyout .search-hit-host {
  margin-top: 4px;
  font-weight: 700;
  opacity: 0.82;
}

/* .flyout li a:hover {
	background: #f0f0f0;
} */

.flyout li a,
.flyout li a:visited {
  color: #fff !important;
}

/* Optional: Hover im Flyout etwas hervorheben */
.flyout li a:hover {
  background: var(--menu-hover-bg);
}


table.family-images td {
  text-align: center;
  vertical-align: top; /* optional, damit Text sauber unter dem Bild sitzt */
}
table.family-images img {
  display: block;
  margin: 20px 20px 0px 20px; /* Bild selbst mittig */
  width: 150px !important;
 }
 
 
 /* LAYOUT META-INFOS */
 /* ====== Basis ====== */
 
 
.readContent.catalog {
  font-family: "Calibri", "Carlito", "Segoe UI", "Inter", "Noto Sans", "Arial", "sans-serif";
  color: #ffffff;
  background: transparent;
  --catalog-shell-pad-x: 0px;
  --catalog-gap: 15px;
  --catalog-main-ratio: 1.7;
  --catalog-side-ratio: 1;
  --catalog-content-width: calc(100% - (2 * var(--catalog-shell-pad-x)));
  --catalog-card-width: calc((var(--catalog-content-width) - var(--catalog-gap)) * var(--catalog-main-ratio) / (var(--catalog-main-ratio) + var(--catalog-side-ratio)));
  --catalog-card-header-h: 60px;
  --catalog-icon-size: 46px;
  --catalog-card-left-pad: 18px;
}

/* ====== Spacing / Breite ====== */
.catalog-hero,
.catalog-grid {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 22px 0;
}

.catalog-hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 22px 8px;
  background: var(--glass-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}

/* ====== Header ====== */
.catalog-kicker {
  font-size: 14px;
  color: #6b7280;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.catalog-title {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.catalog-title::before {
  content: "Attributname";
  display: block;
  margin: 0 0 6px 0;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-lead {
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 0 22px 14px;
  background: var(--glass-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
  box-sizing: border-box;
}

.catalog-lead::before {
  content: "Beschreibung";
  display: block;
  margin: 0 0 6px 0;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ====== Grid ====== */
.catalog-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--catalog-gap);
  align-items: start;
}

.side {
  display: grid;
  gap: 15px;
}

/* Icon-Badge oben rechts je Infokarte */
.side > .card {
  position: relative;
  overflow: visible;
}

.side > .card::after {
  content: "";
  position: absolute;
  top: calc(var(--catalog-card-header-h) / 2);
  right: 18px;
  left: auto !important;
  right: 18px !important;
  transform: translateY(-50%);
  width: var(--catalog-icon-size);
  height: var(--catalog-icon-size);
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: transparent;
  z-index: 3;
  pointer-events: none;
}

.side > .card:nth-child(1)::after {
  background-image: url("pics/info.png");
}

.side > .card:nth-child(2)::after {
  background-image: url("pics/prozess.png");
}

.side > .card:nth-child(3)::after {
  background-image:
    url("pics/mapping.png"),
    radial-gradient(circle at 30% 25%, #ffffff 0%, #e8edf2 54%, #b6bec9 100%);
}

body.readContent.catalog .side > .card::after,
body.readContent.catalog .side > details.card::after {
  left: auto !important;
  right: 18px !important;
}

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-hero,
  .catalog-lead {
    width: var(--catalog-content-width);
    max-width: var(--catalog-content-width);
    margin-left: var(--catalog-shell-pad-x);
  }
}

/* ====== Cards ====== */
.card {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--glass-panel-bg);
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.card-header {
  min-height: var(--catalog-card-header-h);
  padding: 0 16px 0 var(--catalog-card-left-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ====== Tabs ====== */
.tabs {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #374151;
  cursor: pointer;
}

.tab + .tab { border-left: 1px solid #d1d5db; }

.tab.is-active {
  background: #1f4e8c;
  color: #ffffff;
}

/* ====== Segmented (LoD) ====== */
.segmented {
  display: inline-flex;
  gap: 8px;
  padding: 12px 16px 0 16px;
}

.seg {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #6b7280;
  cursor: pointer;
}

.seg.is-active {
  color: #1f4e8c;
  border-color: #c7d2fe;
  background: #eef2ff;
}

.seg.is-disabled,
.seg:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* ====== Viewer ====== */
.viewer {
  padding: 14px 16px 10px 16px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center; 
}

.viewer-img {
  height: 380px;
  object-fit: contain;
  background: #f8fafc;
  border: 0px solid #eef2f7;
  border-radius: 12px;
}

.viewer-nav {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 22px;
  cursor: pointer;
}

.viewer-nav:hover { background: #f9fafb; }

/* ====== Hinweis fehlende Bilder nach Revit-Kategorie ====== */
.no-preview-hint{
  text-align: center;
  color: #9CA3AF;
  margin: 12px 0 24px;   /* unten Abstand zum Card-Rand */
}


/* ====== Thumbnails ====== */
.thumbs {
  padding: 10px 12px 14px 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.thumbs.is-hidden { display: none; }

.thumb {
  border: 0px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
}

.thumb img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  border: 0px solid #eef2f7;
}

.thumb span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
}

.thumb.is-active {
  border-color: #1f4e8c;
  box-shadow: 0 0 0 2px rgba(31, 78, 140, 0.12);
}

/* ====== Key-Value (DL) ====== */
.kv {
  padding: 12px 16px 16px 16px;
  margin: 0;
}

.kv-row {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
}

.kv-row:last-child { border-bottom: 0; }

.kv dt {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.22;
}

.kv dd {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.22;
}

.kv dd strong {
  font-weight: 700;
  color: #ffffff;
}

.mono {
  font-family: "Calibri", "Carlito", "Segoe UI", "Inter", "Noto Sans", "Arial", "sans-serif";
  font-weight: 300;
}

/* ====== Details (Normen) ====== */
.details { padding: 0; }

.details-summary {
  list-style: none;
  cursor: pointer;
  min-height: var(--catalog-card-header-h);
  padding: 0 20px 0 var(--catalog-card-left-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body.readContent.catalog details.card > .details-summary {
  border-radius: 14px;
}

body.readContent.catalog details.card[open] > .details-summary {
  border-radius: 14px 14px 0 0;
}

body.readContent.catalog .details-summary {
  position: relative;
  padding-right: 44px;
  padding-left: 12px;
}

body.readContent.catalog .details-summary::after {
  content: "\25B8";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  text-align: right;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  font-size: 18px;
  pointer-events: none;
}

body.readContent.catalog details[open] > .details-summary::after {
  content: "\25BE";
}

.details-summary .card-title::before {
  content: "";
}

.details-summary .card-title {
  padding-right: 8px;
}

.details-summary .details-hint {
  margin-left: auto;
  padding-right: 0;
  margin-right: 0;
  width: auto;
  white-space: nowrap;
}

.details-summary::-webkit-details-marker { display: none; }
.details-summary::marker { content: ""; display: none; }

.details-hint {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: none;
}

.details-summary {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.details-summary:hover {
  background: var(--menu-hover-bg);
  border-radius: inherit;
  box-shadow: none;
}

.details-body { padding: 0; }

/* Rechte Attribut-Karten in Menütext-Farbe */
body.readContent.catalog .side .card-title,
body.readContent.catalog .side .kv dt,
body.readContent.catalog .side .kv dd,
body.readContent.catalog .side .kv dd strong,
body.readContent.catalog .side .details-hint,
body.readContent.catalog .side .details-summary {
  color: var(--menu) !important;
}

/* ====== Host Header: Left Image / Right Meta ====== */
body.host {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

body.host::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--background-color);
  background-image:
    radial-gradient(120% 85% at 48% 12%, rgba(var(--glass-panel-rgb), 0.42) 0%, rgba(var(--glass-panel-rgb), 0.22) 42%, rgba(var(--glass-panel-rgb), 0.02) 74%),
    linear-gradient(140deg, var(--background-overlay-start) 0%, var(--background-overlay-mid) 52%, var(--background-overlay-end) 100%),
    var(--background-image);
  background-size: cover, cover, var(--background-image-size);
  background-position: center center, center center, center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  pointer-events: none;
}

body.host .host-top {
  width: var(--page-width);
  margin: var(--shell-gap) auto 0;
  height: 164px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  position: relative;
  z-index: 200;
  flex: 0 0 auto;
}

body.host .host-top-visual {
  height: 100%;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}

body.host .host-top-visual img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}

body.host .host-top-main {
  min-width: 0;
  display: block;
  background: transparent;
}

body.host .host-top-panel {
  height: 100%;
  display: grid;
  grid-template-rows: 96px 1fr;
  row-gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 14px 14px 0;
  background: var(--glass-panel-bg);
  backdrop-filter: blur(4px);
  overflow: visible;
}

body.host .site-banner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body.host .host-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 6px 16px 0 18px;
}

body.host .host-top-titleblock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

body.host .site-banner .site-title {
  margin: 0;
}

body.host .site-banner .site-subtitle {
  margin: 2px 0 0 0;
}

body.host nav.sidebar {
  width: 100%;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.host .layout {
  width: var(--page-width);
  margin: var(--shell-gap) auto 0;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: var(--shell-gap);
}

body.host .host-footer {
  width: var(--page-width);
  margin: var(--shell-gap) auto 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 14px;
  background: var(--glass-panel-bg);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
  flex: 0 0 auto;
}

body.host .host-footer-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

body.host .host-footer-right {
  margin-left: auto;
  text-align: right;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

body.host .host-footer-link {
  color: inherit;
  text-decoration: none;
}

body.host .host-footer-link:hover {
  text-decoration: underline;
}

body.host .content-toc {
  height: calc(100% - 12px);
}

body.host .content-toc .toc,
body.host .content-toc .toc ul,
body.host .content-toc .toc li,
body.host .content-toc .toc details,
body.host .content-toc .toc a,
body.host .content-toc .toc summary {
  background: transparent;
  box-shadow: none;
}

body.host .content-toc .toc a,
body.host .content-toc .toc summary {
  border: 0;
}

/* Start-Host: kein linker Baum, nur Startblock im rechten Feld */
body.host.host-start .content-split {
  grid-template-columns: 1fr;
}

body.host.host-start .content-toc {
  display: none;
}

/* Startseite: Suchfeld im Header ausblenden */
body.host-start .search-container,
body.host-start #results,
body.host-start #searchBox {
  display: none;
}

/* ====== Startseite (welcome) ====== */
body.readContent.welcome-page {
  margin: 0;
  background: transparent;
  min-height: 100%;
  height: auto;
}

body.readContent.welcome-page.nav-info-page {
  height: calc(100% - 0px);
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.welcome-stage {
  width: min(var(--page-width), calc(100vw - 48px));
  max-width: min(var(--page-width), calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 24px 30px;
}

body.readContent.welcome-page.start-page .welcome-stage.start-stage {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 24px 0 30px;
  box-sizing: border-box;
}

.welcome-card {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(360px, 1fr);
  min-height: 380px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--glass-panel-bg);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.welcome-card.nav-info-card {
  grid-template-columns: 1fr;
  position: relative;
  min-height: 100%;
  height: 100%;
}

.welcome-media {
  min-width: 0;
  order: 2;
}

.nav-info-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 45px;
  height: 45px;
  opacity: 0.95;
}

.nav-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-copy {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  order: 1;
}

body.readContent.welcome-page.nav-info-page .welcome-stage.nav-info-stage {
  height: calc(100% - 12px);
  min-height: 0;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  overflow: hidden;
}

body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card {
  min-height: 0 !important;
  height: 100% !important;
  flex: 1 1 auto;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  border-radius: 16px !important;
  background: var(--glass-panel-bg) !important;
  box-shadow: none !important;
}

body.readContent.welcome-page.nav-info-page .welcome-copy {
  padding-top: 72px;
}

.welcome-copy h1 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.04;
  font-weight: 700;
  color: var(--theme-text-color) !important;
  letter-spacing: -0.02em;
}

.welcome-copy p {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--theme-text-color) !important;
}

@media (max-width: 1080px) {
  .welcome-stage {
    padding: 16px;
  }

  .welcome-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .welcome-media img {
    max-height: 280px;
  }

  .welcome-copy {
    padding: 24px 20px 26px;
  }

  .welcome-copy h1 {
    font-size: 28px;
  }

  .welcome-copy p {
    font-size: 19px;
  }

  .nav-info-icon {
    width: 35px;
    height: 35px;
    top: 12px;
    left: 12px;
  }

  body.readContent.welcome-page.nav-info-page .welcome-stage.nav-info-stage {
    padding: 0 16px;
  }

  body.readContent.welcome-page.nav-info-page .welcome-copy {
    padding-top: 60px;
  }
}


/* === AUTO_THEME_FROM_WEB START === */
:root {
  --glass-panel-rgb: 55, 149, 135;
  --glass-panel-bg: rgba(55, 149, 135, 0.55);
  --background-color: #ffffff;
  --background-image: url("pics/background.jpg");
  --background-image-size: cover;
  --background-overlay-start: rgba(255, 255, 255, 0.60);
  --background-overlay-mid: rgba(255, 255, 255, 0.45);
  --background-overlay-end: rgba(255, 255, 255, 0.30);
  --theme-menu-color: #FFFFFF;
  --theme-body-color: #122033;
  --theme-menu-surface: #379587;
  --theme-menu-panel-bg: rgba(55, 149, 135, 0.55);
  --theme-menu-chip-bg: rgba(55, 149, 135, 0.67);
  --interaction-highlight: #7acfa0;
  --interaction-accent: #4d97b3;
  --h1: var(--theme-body-color);
  --h2: var(--theme-body-color);
  --h3: var(--theme-body-color);
  --p: var(--theme-body-color);
  --li: var(--theme-body-color);
  --primary-color: var(--theme-body-color);
  --a: var(--theme-body-color);
  --site-title: var(--theme-menu-color);
  --site-subtitle: var(--theme-menu-color);
  --menu: var(--theme-menu-color);
  --menu-surface: var(--theme-menu-surface);
  --table-header-foreground: #FFFFFF;
  --table-header-background: #379587;
}
body.host nav.sidebar,
body.host nav.sidebar .search-container,
body.host nav.sidebar .toc,
body.host nav.sidebar .toc a,
body.host nav.sidebar .toc summary,
body.host nav.sidebar .toc li.leaf > a::before,
body.host nav.sidebar .toc details > summary::before,
body.host .content-toc,
body.host .content-toc .toc,
body.host .content-toc .toc a,
body.host .content-toc .toc summary,
body.host .content-toc .toc li.leaf > a::before,
body.host .content-toc .toc details > summary::before,
body.readContent.welcome-page.nav-info-page .welcome-stage.nav-info-stage,
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card,
body.host .site-banner h1,
body.host .site-banner p,
body.host .host-footer,
body.host .host-footer a,
body.host .footer-pill,
body.host .sidebar-link,
body.host .sidebar-link::before,
body.host #searchBox,
body.host #searchBox::placeholder {
  color: var(--theme-menu-color) !important;
}
body.host .host-top-panel,
body.host .host-footer,
body.host .content-toc,
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card {
  background: var(--theme-menu-panel-bg) !important;
}
body.host .host-top-panel {
  border-radius: 0 8px 8px 0 !important;
  backdrop-filter: blur(4px) !important;
}
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card {
  border-radius: 8px !important;
  backdrop-filter: blur(4px) !important;
}
body.host .content-toc,
body.host .host-footer {
  border-radius: 8px !important;
}
.welcome-card,
body.readContent.welcome-page .welcome-card,
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card,
body.readContent.catalog .card,
body.readContent.catalog details.card,
body.readContent.catalog .side > .card,
body.readContent.catalog .side > details.card,
body.readContent.catalog .details-summary,
body.readContent.catalog .card-header,
.flyout {
  border-radius: 8px !important;
}
body.host .footer-pill,
body.host .sidebar-link,
body.host .sidebar-link.is-active,
body.host .sidebar-link:hover {
  background-color: var(--theme-menu-chip-bg) !important;
}
body.host .footer-pill,
body.host nav.sidebar .sidebar-link {
  border-radius: 8px 8px 0 0 !important;
}
body.host nav.sidebar #searchBox {
  border-radius: 8px !important;
}
body.host .content-toc .toc a,
body.host .content-toc .toc summary {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.host .content-toc .toc details,
body.host .content-toc .toc li,
body.host .content-toc .toc ul {
  background: transparent !important;
  box-shadow: none !important;
}
body.host .content-toc .toc a:hover,
body.host .content-toc .toc summary:hover,
body.host .content-toc .toc a.active,
body.host .content-toc .toc summary.active {
  background: transparent !important;
}
.flyout {
  background: #FFFFFF !important;
  color: #122033 !important;
}
.flyout li a,
.flyout li a:visited {
  color: #122033 !important;
}
.flyout li a:hover {
  background: #7acfa0 !important;
  color: #122033 !important;
}
body.readContent.welcome-page .welcome-copy h1,
body.readContent.welcome-page .welcome-copy p,
body.readContent.welcome-page .welcome-copy #nav-info-level,
body.readContent.welcome-page .welcome-copy h1 + p,
body.readContent.welcome-page .welcome-copy p + p,
body.readContent.welcome-page.nav-info-page .welcome-stage.nav-info-stage .welcome-copy,
body.readContent.welcome-page.nav-info-page .welcome-stage.nav-info-stage .welcome-copy *,
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card,
body.readContent.welcome-page.nav-info-page .welcome-card.nav-info-card *,
body.readContent.catalog .catalog-title,
body.readContent.catalog .catalog-lead,
body.readContent.catalog .catalog-title::before,
body.readContent.catalog .catalog-lead::before {
  color: var(--theme-menu-color) !important;
}
body.readContent.catalog thead th {
  color: var(--table-header-foreground) !important;
  background: var(--table-header-background) !important;
}
/* === AUTO_THEME_FROM_WEB END === */

/* === INTERACTION_THEME START === */
body.host nav.sidebar .sidebar-link:hover,
body.host .footer-pill:hover,
body.host .content-toc .toc a:hover,
body.host .content-toc .toc summary:hover,
body.readContent.catalog .details-summary:hover {
  filter: brightness(1.12);
  background: color-mix(in srgb, var(--interaction-highlight) 12%, transparent) !important;
}
body.host nav.sidebar .sidebar-link.is-active,
body.host .content-toc .toc a.active,
body.host .content-toc .toc summary.active {
  background: color-mix(in srgb, var(--interaction-highlight) 20%, transparent) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--interaction-accent) 65%, transparent) !important;
}
body.host .is-disabled,
body.host [disabled],
body.host .footer-pill[aria-disabled='true'],
body.host .sidebar-link[aria-disabled='true'] {
  opacity: 0.45;
  filter: grayscale(0.35);
}
/* === INTERACTION_THEME END === */
