html {
    height: 100%;
    box-sizing: border-box;	/* Box-size on border for footer */
}

body {
    position: relative;
    padding-bottom: 6rem;		/* Makes some padding for the footer */
    min-height: 100%;
}

article {
    padding: 1em;
}

.attributionbox {
font-family: "Segoe UI", "Comic Sans MS", sans-serif;
  font-size: 0.9rem;
  color: #2e4b2e; /* dunkles Grün für gute Lesbarkeit */
  background-color: #e6f4e6; /* sanftes, pastelliges Grün */
  border-left: 4px solid #8fcf8f; /* freundlicher Akzent */
  padding: 0.75em 1em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  line-height: 1.4;
}

[uk-totop] {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #00007B;
    height: 30px;
    width: 30px;
    border-radius: 25px;
    text-align: center;
}

#head_navigation {
    position: sticky;
    top: 0px;
    height: 80px;
    z-index: 10;
}

.uk-navbar-nav li {
    border-radius: 20px;
}
.uk-navbar-nav li:nth-child(1) {
    border: 1px solid #000;
    background: #00b0e8;
    transform: rotate(5deg);
}
.uk-navbar-nav li:nth-child(2) {
    border: 1px solid #000;
    background: #FF8000;
    transform: rotate(-5deg);
}
.uk-navbar-nav li:nth-child(3) {
    border: 1px solid #000;
    background: tomato;
    transform: rotate(8deg);
}
.uk-navbar-nav li:nth-child(4) {
    border: 1px solid #000;
    background: #FF8000;
    transform: rotate(-5deg);
}
.uk-navbar-nav li:nth-child(5) {
    border: 1px solid #000;
    background: #00b0e8;
    transform: rotate(5deg);
}
.uk-navbar-nav li:nth-child(6) {
    border: 1px solid #000;
    background: #00c0a8;
    transform: rotate(-6deg);
}
.uk-navbar-nav li a {
    color: #fff !important;
}
.uk-navbar-nav li:hover {
    border: 5px dotted red;
    transition: border 1s;
}
.uk-navbar-nav li:hover a {
    color: #fff;
}
#head_navigation > .uk-navbar-container {
    background-image: url('../files/kicons/180x180.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-color: #02d06d !important;
}
.wh {
    background: linear-gradient(to bottom, white, #0E9A00) !important;
}

.picturefloat {
    float: left;
}

@media screen {
    article {
        font-size: 150%;
    }
    body > footer {
        position: absolute;
        bottom: 0px;
        height: 100px;
        width: 100%;
        background: #fff;
        color: #000;
        text-align: center;
    }
    body > footer a {
        color: #000;
    }
}

@media print {
    html {
        font-family: "times new roman", times, serif;
        text-align: justify;
    }
    header {
        display: none;
    }
    footer a {
        display: none;
    }
    nav {
        display: none !important;
    }
    [uk-totop] {
        display: none;
    }
}

.story-highlight {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #3a8f4a;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  .story-inner {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f3b2f;
  }

  /* --- Header mit Cover --- */
  .story-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .story-cover {
    width: 180px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
  }

  .story-header-text {
    flex: 1;
  }

  .story-title {
    color: #2f7a3a;
    font-size: 2rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }

  .story-title .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #3f5f4a;
    transform: rotate(-1.5deg);
    background: #e9f8ec;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    margin-top: 0.3rem;
  }

  .story-tagline {
    font-size: 1.1rem;
    margin-top: 0.6rem;
    color: #2b4c3a;
  }

  .story-meta {
    background: #f3fbf5;
    border-left: 4px solid #3a8f4a;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }

  .story-blurb p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }

  .story-audio {
    margin: 1.5rem 0;
  }

  .audio-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
  }

  audio {
    width: 100%;
    border-radius: 8px;
  }

  .story-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem;
  }

  .story-note {
    font-size: 0.9rem;
    color: #476554;
    font-style: italic;
    margin-top: 0.5rem;
  }

  @media (max-width: 700px) {
    .story-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .story-cover {
      width: 60%;
      max-width: 240px;
      transform: rotate(-1deg);
    }

    .story-header-text {
      text-align: center;
    }

    .story-links {
      flex-direction: column;
      align-items: center;
    }
  }