/* Jagdschulzentrum Mitteldeutschland – Ergänzungen zu Cassiopeia (Farben stehen in den Template-Einstellungen) */
:root {
  --jsz-gruen: #1d3325;
  --jsz-gruen-mittel: #2f5d3a;
  --jsz-rot: #a2463a;
  --jsz-sand: #f7f4ed;
}

/* Kopf: Logo auf weißem Schild (rotbraune Kontur braucht hellen Grund), Menü weiß und umbrechend */
.container-header { background-image: linear-gradient(135deg, #1d3325 0%, #2f5d3a 100%); }
.container-header .navbar-brand { background: #fff; border-radius: 0 0 12px 12px; padding: 10px 18px; margin-top: -1px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.container-header .navbar-brand img { max-height: 84px; width: auto; display: block; }
.container-header .mod-menu { flex-wrap: wrap; }
.container-header .grid-child.container-nav { flex-wrap: wrap; }

/* Buttons im Rotbraun des Logos */
.btn-primary { --btn-bg: #a2463a; --btn-border-color: #a2463a; --btn-hover-bg: #7a3229; --btn-hover-border-color: #7a3229; background-color: #a2463a; border-color: #a2463a; color: #fff; }
.btn-primary:hover, .btn-primary:focus { background-color: #7a3229; border-color: #7a3229; color: #fff; }
.container-header .metismenu > li > a,
.container-header .metismenu > li > button { font-weight: 600; letter-spacing: .02em; }
.container-header .metismenu.mod-menu .mm-collapse { background: #fff; border-top: 3px solid var(--jsz-rot); }
.container-header .metismenu.mod-menu .mm-collapse a { color: #213; }

/* Alte Inhalte: eingebettete Schriftarten (Times New Roman) neutralisieren, Bilder nie breiter als die Seite */
.com-content-article span[style*="font-family"],
.com-content-article p[style*="font-family"],
.mod-custom span[style*="font-family"] { font-family: inherit !important; }
.com-content-article img, .mod-custom img, .mod-banners img { max-width: 100%; height: auto; }
.com-content-article table { max-width: 100%; display: block; overflow-x: auto; }

/* Überschriften */
h1, h2, h3, .page-header h1, .page-header h2 { color: var(--jsz-gruen); }
.page-header h1, .page-header h2 { border-bottom: 3px solid var(--jsz-rot); padding-bottom: .4rem; display: inline-block; }

/* Kacheln (Module unten): gleichmäßiges Raster, mindestens 240 px breit */
.container-bottom-a, .container-bottom-b { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.container-bottom-a > .card, .container-bottom-b > .card { margin: 0 !important; width: auto; max-width: 100%; }
.container-bottom-a .card, .container-bottom-b .card, .container-sidebar-right .card {
  border: 0; border-radius: 10px; box-shadow: 0 4px 18px rgba(29, 51, 37, .10); overflow: hidden; background: #fff;
}
.container-bottom-a .card-header, .container-bottom-b .card-header, .container-sidebar-right .card-header {
  background: var(--jsz-gruen); color: #fff; font-weight: 600; border: 0;
}
.container-bottom-a .card img, .container-bottom-b .card img { border-radius: 6px; transition: transform .25s ease; }
.container-bottom-a .card a:hover img, .container-bottom-b .card a:hover img { transform: scale(1.03); }

/* Titelbild Startseite */
.container-banner { padding: 0; }
.jsz-hero {
  background: linear-gradient(90deg, rgba(29, 51, 37, .92) 25%, rgba(29, 51, 37, .35)), url('../../../../../images/Lehrrevier/DSCF001.jpg') center / cover no-repeat;
  color: #fff; padding: clamp(48px, 9vw, 110px) 0;
}
.jsz-hero-text { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }
.jsz-hero-text > * { max-width: 640px; }
.jsz-hero h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin: .2rem 0 1rem; }
.jsz-hero p { font-size: 1.15rem; }
.jsz-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .9rem !important; font-weight: 700; color: #e7c9a0; margin: 0; }
.jsz-hero .btn { margin: .4rem .4rem 0 0; }

/* Fußzeile */
.footer { background-image: linear-gradient(135deg, #1d3325 0%, #16281d 100%); }
.jsz-footer { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; line-height: 1.7; }
.jsz-footer a { color: #fff; }
.jsz-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.jsz-footer nav a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.jsz-footer nav a:hover { border-bottom-color: #fff; }

/* YouTube-Platzhalter (Zwei-Klick) */
.jsz-video { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; margin: 1rem auto; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #1d3325, #2f5d3a); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.jsz-video-inner { padding: 1rem 1.25rem; max-width: 520px; font-size: .9rem; line-height: 1.45; }
.jsz-video-inner p { margin: 0 0 .7rem; color: #fff; }
.jsz-video-inner a { color: #e7c9a0; }
.jsz-video-title { font-weight: 700; font-size: 1.05rem; }
.jsz-video-title::before { content: "\25B6"; display: inline-block; margin-right: .5rem; color: #e7c9a0; }
.jsz-video.is-loaded { background: #000; }
.jsz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card .jsz-video-inner { font-size: .8rem; }
.card .jsz-video-inner p:not(.jsz-video-title) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Einwilligungs-Banner */
.jsz-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; padding: 1rem; pointer-events: none; }
.jsz-consent[hidden] { display: none; }
.jsz-consent-box { pointer-events: auto; max-width: 860px; margin: 0 auto; background: #fff; color: #222; border-top: 4px solid #a2463a;
  border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .28); padding: 1.1rem 1.3rem; font-size: .92rem; line-height: 1.5; }
.jsz-consent-box p { margin: 0 0 .8rem; }
.jsz-consent-title { font-weight: 700; font-size: 1.05rem; color: #1d3325; }
.jsz-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.jsz-consent-actions .btn { flex: 1 1 200px; }
.jsz-consent-open { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.jsz-consent-open:hover { border-bottom-color: #fff; }

/* Brotkrumen dezent */
.mod-breadcrumbs { background: transparent; padding-left: 0; font-size: .9rem; }
