/* Karate Club Herrliberg: Erscheinungsbild der Live-Site (JoomSpirit 114, Stand 2025) in Cassiopeia */
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/dosis-300.woff2") format("woff2"); }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/dosis-500.woff2") format("woff2"); }

:root {
  --cassiopeia-color-primary: #084685;
  --cassiopeia-color-link: #dc4401;
  --cassiopeia-color-hover: #ff6600;
  --cassiopeia-font-family-body: Helvetica, Arial, sans-serif;
  --cassiopeia-font-family-headings: "Dosis", "Arial Narrow", Arial, sans-serif;
  --cassiopeia-font-weight-headings: 300;
}

/* Hintergrund + zentrierte Box mit Schatten */
html { background: #f3f3f3 url("../../../../../images/design/background.jpg") no-repeat center top fixed; background-size: cover; }
body.site { background: #f7f8fa; max-width: 1050px; margin: 40px auto; color: #292929;
  font-family: Helvetica, Arial, sans-serif; font-size: .95rem;
  box-shadow: 0 0 22px rgba(0, 0, 0, .45); min-height: calc(100vh - 80px); display: flex; flex-direction: column; }
body.site > .site-grid { flex: 1 0 auto; align-content: start; grid-auto-rows: min-content; }
a { color: #dc4401; } a:hover, a:focus { color: #ff6600; }

/* Kopf: Banner statt blauem Verlauf */
.container-header { background: transparent !important; box-shadow: none; }
.container-header .grid-child { padding: 20px 20px 0; }
.container-header .navbar-brand { margin: 0; padding: 0; width: 100%; }
.container-header .navbar-brand img { display: block; max-width: 100%; height: auto; max-height: none; }
.container-header .site-description { display: none; }

/* Menue: Grossbuchstaben, blau, zwischen feinen Linien, zentriert */
.container-header .container-nav { padding: 0 20px; }
.container-header nav, .container-header .container-nav { justify-content: center; }
.container-header .container-nav { border-top: 1px solid #c7ccd4; border-bottom: 1px solid #c7ccd4; margin: 12px auto 0;
  padding: 0; width: calc(100% - 40px); max-width: calc(100% - 40px); box-sizing: border-box; }
.container-header .container-nav > nav, .container-header .container-nav .mod-menu { border: 0; margin: 0; width: 100%; justify-content: center; }
.container-header .mod-menu > li > a, .container-header .mod-menu > li > span,
.container-header .metismenu > li > a, .container-header .metismenu > li > button {
  color: #084685 !important; text-transform: uppercase; font-size: 1.05rem; font-family: Helvetica, Arial, sans-serif;
  padding: .6rem .9rem; background: none !important; }
.container-header .mod-menu > li.active > a, .container-header .mod-menu > li.current > a,
.container-header .metismenu > li.active > a, .container-header .mod-menu > li > a:hover, .container-header .metismenu > li > a:hover {
  color: #022340 !important; text-decoration: none; }
.container-header .metismenu .mm-collapse { background: #f7f8fa; border: 1px solid #c7ccd4; }
.container-header .metismenu .mm-collapse a { color: #084685 !important; text-transform: none; }
.navbar-toggler { color: #fff !important; background: #084685 !important; border-color: #084685; margin: 6px auto; }

/* Brotkrumen klein und grau */
.mod-breadcrumbs { font-size: .8rem; color: #888; background: none; padding: .25rem 0; margin: 0; }
.mod-breadcrumbs a { color: #888; }

/* Titel wie JoomSpirit: duenn, Grossbuchstaben, gestrichelte Linie */
.page-header h1, .page-header h2, .item-page h1, .item-page h2.item-title, .com-content-article h1 {
  font-family: "Dosis", "Arial Narrow", Arial, sans-serif; font-weight: 300; text-transform: uppercase;
  color: #222; font-size: 2.1rem; letter-spacing: .02em; }
.page-header { border-bottom: 1px dashed #c7ccd4; padding-bottom: .4rem; margin-bottom: 1.2rem; }
h2, .h2 { color: #ca7346; font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 1.4rem; }
h3, h4 { font-family: Helvetica, Arial, sans-serif; }
.card, .sidebar-right .card, .sidebar-left .card { background: transparent; border: 0; }

/* Fuss */
.footer { background: transparent !important; color: #91806f; border-top: 1px solid #c7ccd4; margin: 0 20px; }
.footer a { color: #91806f; } .footer a:hover { color: #ff6600; }
.back-to-top-link { background: #084685; }

@media (max-width: 1100px) { body.site { margin: 0 auto; min-height: 100vh; } }
@media (prefers-reduced-motion: reduce) { html { background-attachment: scroll; } }
