/* Hele dokumentet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}
.container {
    display: flex;
    height: 100vh; /* fylder hele vinduet */
    overflow: hidden;
}
/* Sidebar */
.sidebar {
    flex: 0 0 15rem; /* Fast bredde */
    padding: 2rem 0.625rem 1.5625rem 1.5625rem;
    overflow-y: auto;
}
.sidebar h1 {
    font-size: 1em;
    margin-bottom: 0.625rem;
    color: inherit;
    text-decoration: none;
}

.sidebar h1 a {
    color: inherit;
    text-decoration: none;
}

.sidebar h1 a:visited {
    color: inherit;
}
.sidebar ul {
    list-style: none;
}
.sidebar ul li {
    margin-bottom: 0.625rem;
}
/* Sidebar overskrifter */
.section-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
    color: #000;
}
/* Sidebar links */
.link-list {
    line-height: 0.7;
}
.link-list li {
    margin-bottom: 0;
}
.link-list a {
    font-size: 0.7em;
    color: #A9A9A9;
    text-decoration: none;
    font-weight: bold;
    padding: 0;
    display: inline;
}
/* Billedebeskrivelser */
/* Scroll-wrapper som flexbox, scrollbart i x-retning */
.scroll-wrapper {
  padding-left: 0;
  display: flex;
  flex-grow: 1;
  overflow-x: auto; /* Én fælles scrollbar */
  overflow-y: hidden;
  white-space: nowrap; /* Holder børn på linje */
}
/* Tekst-sektionen */
.text-section {
  flex: 0 0 15.625rem; /* fast bredde */
  padding: 1.25rem;
  padding-top: 1.5rem;
  padding-left: 0;
  font-size: 0.70em;
  color: #333;
  white-space: normal; /* tekst brydes som normalt */
  overflow-x: visible; /* vigtig, så tekst ikke klippes */
}
.text-section:empty {
  display: none;
}
/* Billedgalleri */
.gallery {
    flex: 0 0 auto;
    display: inline-flex;
    white-space: nowrap;
    background-color: #fff;
    padding: 1.875rem;
}
.image-row {
    display: inline-flex;
    gap: 1.4375rem;
    align-items: flex-start;
}
.image-row img {
    max-width: 40vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
}