/*
 Theme Name: Learning Tracks Child
 Theme URI: https://learning-tracks.org
 Description: Child Theme für Customizr – update-sicher und optimiert für learning-tracks.org
 Author: Jürgen Koenen
 Author URI: https://learning-tracks.org
 Template: customizr
 Version: 1.0
*/

/* Importiere das Haupt-Theme */
@import url("../customizr/style.css");

/* ============================
   Farbvariablen
   ============================ */
:root {
  --lt-green: #006600;
  --lt-yellow: #f9e547;
}

/* ============================
   Caviar Dreams Font Family
   ============================ */
@font-face {
  font-family: 'Caviar Dreams';
  src: url('assets/fonts/CaviarDreams.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Caviar Dreams';
  src: url('assets/fonts/CaviarDreams_Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Caviar Dreams';
  src: url('assets/fonts/CaviarDreams_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Caviar Dreams';
  src: url('assets/fonts/CaviarDreams_BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* ============================
   Grundlayout
   ============================ */
/* === Font Settings === */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height:1.2;
}

/* Headings keep Caviar Dreams */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Caviar Dreams', sans-serif;
  font-weight: 700;
  color: var(--lt-green);
}   

/* ============================
   Header Container
   ============================ */
.lt-header {
  background: #fff;
  padding: 10px 0;
}

.lt-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Linkes Feld */
.lt-header-left {
  background: var(--lt-green);
  padding: 10px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* Rechtes Feld */
.lt-header-right {
  flex: 0 0 auto;
}

/* Logos */
.lt-header-logo {
  max-height: 170px;
  height: auto;
  width: auto;
}

/* Mittlerer Bereich */
.lt-header-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video */
.lt-header-video {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: 6px;
}

/* ============================
   Header Message
   ============================ */
.lt-header-message {
  background: var(--lt-green);
  color: var(--lt-yellow);
  text-align: center;
  padding: 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 10px;
}

/* ============================
   Navigation
   ============================ */
.lt-header-menu {
  margin-top: 10px;
}

.lt-header-menu .primary-nav__container {
  background: transparent;
}

.lt-header-menu .primary-nav__menu {
  display: flex;
  gap: 25px;
  justify-content: center;
  padding: 10px 0;
}

.lt-header-menu .nav__link {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.lt-header-menu .nav__link:hover,
.lt-header-menu .current-menu-item .nav__link {
  background: var(--lt-green);
  color: #fff;
}

.lt-header-menu .nav__menu-wrapper {
  background: transparent !important;
  box-shadow: none !important;
}

.lt-header-menu .primary-nav__wrapper {
  justify-content: center !important;
}

.lt-header-menu .nav__title {
  color: inherit;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .lt-header-menu .primary-nav__menu {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ============================
   Textblock links (MEADOW BARNS)
   ============================ */
.lt-header-text {
  font-family: 'Caviar Dreams', sans-serif;
  color: var(--lt-yellow);
  background-color: var(--lt-green);
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.2;
}

.lt-header-prefix {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--lt-yellow);
}

.lt-header-main {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lt-header-wheel {
  font-size: 1.6rem;
  color: var(--lt-yellow) !important;
  vertical-align: middle;
  text-shadow: 0 0 2px var(--lt-green);
}

/* Emoji-Fallback (falls Browser Emoji als Bild rendert) */
.lt-header-wheel img.emoji,
.lt-header-wheel img.wp-smiley {
  filter: invert(70%) sepia(100%) saturate(500%) hue-rotate(30deg);
}


/* --- */
.lt-header-banner {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.lt-header-banner-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
}

.entry-content .wp-block-column img {
  max-height: 400px;
  min-height:400px;
  object-fit: cover;
  width: 100%;
  border-radius: 6px; /* optional für weiche Ecken */
}

#video-container {
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

