/* Flex styles -------------------------------------------------*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

h1 {
    all: unset; /* behold hvis du vil starte fra nul */
    display: block; /* sørg for blok-opførsel */
    background-color: #777;
    color: #eee;
    font-size: 32px; /* desktop-størrelse */
    font-weight: bold;
    padding-left: 8px;
    line-height: 1.2; /* gør højden fleksibel */
    /* height: 45px;  <-- fjern denne! */
    /* valgfrit for meget lange ord: */
    overflow-wrap: anywhere;
}

    /* Underoverskrift i småt */
    h1 small {
        display: block; /* ny linje under h1-teksten */
        margin-top: 2px;
        padding-bottom: 5px; /* lidt vertikal padding */
        font-size: 15px;
        font-weight: bold;
        color: inherit; /* samme farve som h1 */
        /* Du behøver ikke baggrund og padding igen, den arver fra h1 */
    }

    /* Gør det mere mobilvenligt */
    @media (max-width: 600px) {
        h1 {
            font-size: 24px; /* lidt mindre på mobil */
            padding: 10px 12px;
        }

            h1 small {
                font-size: 14px;
            }
    }


h2 {
    all: unset; /* Resets most styles */
    background-color: #555;
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.35);
    padding-left: 8px;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 26px;
    /*min-height: 35px; /* More flexible than height */
    color: #eee;
    z-index: 10;
    font-weight: bold;
    display: block; /* Needed after 'all: unset' */
}

    h2.topic_header {
        background-color: #777;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    /* Underoverskrift i småt */
    h2 small {
        display: block; /* ny linje under h1-teksten */
        font-size: 15px;
        font-weight: bold;
        color: inherit; /* samme farve som h1 */
    }


h3 {
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 20px;
    height: 45px;
    color: #444;
    z-index: 10;
    font-weight: Bold;
    margin-bottom: 10px;
}

h4 {
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 17px;
    height: 45px;
    color: #666;
    z-index: 10;
    font-weight: Bold;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit; /* eller en specifik farve fx #333 */
}

p {
    margin-bottom: 1em; /* eller fx 16px */
    line-height: 1.3; /* forbedrer læsbarheden */
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

kgmdk_main {
  background-color: #aaa;
}


kgmdk_main_header {
  display: flex;
  align-items: center;
}

@media (min-width: 700px) {
 .leading {
    display: flex;
    align-items: center;
  }
}

ul {
    padding-left: 30px; /* Standard er typisk 40px */
}

ol {
    padding-left: 30px; /* Standard er typisk 40px */
}

li {
    margin-bottom: 5px; /* Ekstra luft mellem punkter */
}


/* Grid styles -------------------------------------------------*/
.kgmdk_main_cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 30px;
}


/* Generic styles ----------------------------------------------*/


kgmdk_main_header {
  padding: 10px;
  font-size: 2em;
  color: white;
  background-color: #333;
}

.kgmdk_main_logo {
  height: 50px;
  margin-right: 20px;
}

.kgmdk_main_leading {
  height: 240px;
  margin-bottom: 30px;
  padding: 30px;
  color: white;
  background: url('https://cdn.glitch.com/a5121e34-96b3-4a70-8227-040c51e64fae%2Fcat.jpg?1509635989509') center #333 no-repeat;
  background-size: cover;
  color: white;
  text-shadow: 0px 0px 5px #000;
}

.kgmdk_main_leading-bigtext {
  margin-right: 60px;
  font-weight: bold;
  font-size: 24vw;
}

@media (min-width: 700px) {
  .leading-bigtext {
    font-size: 140px;
  }
}

.kgmdk_main_leading-text {
  max-width: 900px;
  font-size: 1.2em;
  line-height: 1.4em;
}

.kgmdk_main_cards {
  max-width: 960px;
  margin: 0 auto 30px;
}

.kgmdk_main_article {
  position: relative;
}

.kgmdk_main_article_info {
    font-size: 13px;
    display: flex;
    align-self: end;
    margin-left: 7px;
    margin-right: 7px;
    height: 100px;
}

.kgmdk_main_article_releasetext {
    font-size: 15px;
    font-weight: 600;
    margin-left: 7px;
    align-self: end;
    color: #227;
}

.kgmdk_main_article_video_host h5 {
    font-size: 15px;
    font-weight: 600;
    margin-left: 7px;
    margin-top: 2px;
    height: 11px;   
    color: #333;
    width: 0;
}

.kgmdk_main_article_video {
    margin-top: auto;
    background-color: #ddd;
    height: 230px;
}

    .kgmdk_main_article_video img {
        left: 0px;
        margin-left: 7px;
        margin-top: 15px;
        border-radius: 50%;
        margin-right: 10px;
        height: 60px;
        width: 60px;
    }

