/* Grundindstillinger */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
	font-size: 16px;
    background-color: #111;
    color: #f0f0f0;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Container omkring hele indholdet */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: #1a1a1a;
    border-radius: 12px;
    margin-top: 0px;
    margin-bottom: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Logo og tagline */
header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.red-k {
    color: #c20a0a; /* DR-rød */
}

.tagline {
    font-size: 1rem;
    color: #aaa;
    margin-top: 4px;
}

/* Navigation */
nav {
    margin-top: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(8px, 1.8vw, 16px); /* fleksibelt mellemrum 
   /* flex-wrap: nowrap; /* aldrig linjeskift 
    flex-shrink: 1;
    overflow: hidden; */
}

nav a {
    text-decoration: none;
    color: #ddd;
    font-weight: 500;
    padding: 4px clamp(6px, 1vw, 10px); /* smidig padding */
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem); /* skalerbar skrift */
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    background-color: #333;
    color: #fff;
}

/* Sektionstitel */
.section-title {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #444;
    padding-bottom: 8px;
    white-space: nowrap;
}

/* Nyhedsoversigt */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: #1a1a1a;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid #555;
    transition: background 0.2s;
}

.news-item:hover {
    background-color: #2a2a2a;
}

.news-item h3 {
    margin-bottom: 6px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #fff;
    white-space: nowrap;
}

.news-item p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Indlæsningsindikator */
.loading {
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    color: #888;
}

@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap');

/* Kontakt side styling */
.contact-content {
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
    margin-top: 0px;
    color: #f0f0f0;
    line-height: 1.6;
}

.contact-content h1 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    white-space: nowrap;
}

.contact-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    white-space: nowrap;
}

.contact-content p {
    margin-bottom: 15px;
    color: #ccc;
}

.contact-box {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #555;
    transition: background 0.2s;
}

.contact-box:hover {
    background-color: #333;
}

.warning-box {
    background-color: #2a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #c20a0a;
}

.warning-box h3 {
    color: #ffaaaa;
    white-space: nowrap;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}

.tips-list {
    background-color: #1a2a1a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4a7c59;
}

.contact-box,
.warning-box,
.tips-list {
    margin: 10 0;
}

.contact-content > .contact-box:first-of-type,
.contact-content > .warning-box:first-of-type,
.contact-content > .tips-list:first-of-type {
    margin-top: 70px; /* mere afstand fra teksten over */
}



.tips-list h3 {
    color: #aaffaa;
    white-space: nowrap;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}

.tips-list ul {
    margin: 15px 0;
    padding-left: 20px;
}

.tips-list li {
    margin-bottom: 8px;
    color: #ccc;
}

.back-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.back-link a {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.back-link a:hover {
    background-color: #333;
    color: #fff;
}

/* Artikel-specifikke styles */
.article-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #555;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    background-color: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.article-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.article-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.article-image {
    margin-bottom: 15px;
}

.article-image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #888;
    flex-wrap: wrap;
}

.article-date, .article-time {
    color: #888;
    text-decoration: none;
}

.article-category {
    background: #c20a0a;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.article-title {
    font-size: clamp(1rem, 3vw, 1.4em);
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

.article-description {
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* RESPONSIV */
@media (max-width: 768px) {
    .article-meta {
        font-size: 0.8em;
        gap: 10px;
    }

    .article-title {
        font-size: 1.2em;
    }

    .article-item {
        padding: 15px;
    }
    
    .container {
        margin: 20px;
        padding: 25px;
    }
	
	nav ul {
		flex-wrap: wrap;                /* ✅ tillad linjeskift */
		justify-content: center;        /* centrér links */
		gap: 12px;                      /* lidt mindre mellemrum */
		overflow: visible !important;   /* vis alt */
	}

	nav a {
		font-size: 0.85rem;             /* lidt mindre skrift */
		padding: 6px 10px;              /* kompakt men ikke klemt */
	}

    
    /*body {
        font-size: 14px;
    }*/
    
    /* Responsiv: Normal tekstvisning på mobile enheder */
    .logo,
    .section-title,
    .contact-content h1,
    .contact-content h3,
    .warning-box h3,
    .tips-list h3,
    .article-title,
    .article-category,
    .news-item h3,
    h1,
    h2,
    .satire-warning,
    .satire-warning p {
        white-space: normal;
    }
}

/* === ARTIKEL-SIDE STYLING === */

/* Hovedtitel i artikler */
h1 {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: 700;
    border-bottom: 3px solid #c20a0a;
    padding-bottom: 25px;
    word-wrap: break-word;
    hyphens: auto;
}

/* Undertitler i artikler */
h2 {
    font-size: clamp(0.9rem, 2vw, 1.1em);
    color: #fff;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid #c20a0a;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

/* Almindelige paragraffer i artikler */
p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: #ddd;
}

/* Dato styling */
.artikel-dato {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.9em;
}

/* Teaser/byline */
.teaser {
    text-align: center;
    font-size: 0.9em;
    color: #c20a0a;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Lister i artikler */
ul {
    margin: 25px 0;
    padding-left: 40px;
}

li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #ccc;
}

/* Citater i artikler */
em {
    font-style: italic;
    color: #fff;
}

/* Fed tekst */
strong {
    color: #fff;
    font-weight: 700;
}

/* Satirisk advarsel */
.satire-warning {
    background-color: #2a1a1a;
    color: #ffaaaa;
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #c20a0a;
    font-size: clamp(0.6rem, 2vw, 0.7rem);
}

.satire-warning p {
    margin: 0;
    text-align: center;
    color: #ffaaaa;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

/* News container for artikel-sider */
#news-container {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    line-height: 1.8;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}



/* Footer styling */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}


/*start på pagination*/

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination-btn {
  background-color: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 5px;
  margin: 0 5px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.pagination-btn:hover {
  background-color: #444;
}

.pagination-btn.active {
  background-color: #c20a0a;
  color: white;
  border-color: #c20a0a;
}

/* slut på pagination */


/* start quate */

.weekly-quote {
  /*background: #f5f5f5;*/
  border-left: 4px solid #c00;
  padding: 1em;
  margin: 2em 0;
  font-style: italic;
  /*display: none;*/
}
.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5em;
}
.quote-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #b30000;
  font-style: normal;
}
.quote-week {
  font-size: 0.95em;
  font-weight: bold;
  color: #555;
  font-style: normal;
}
blockquote {
  margin: 0 0 0.5em 0;
}
.quote-author {
  text-align: right;
  margin-top: 0.5em;
  font-style: normal;
  font-weight: bold;
  font-size: 0.9em;
}

#weekly-quote {
  display: block; /* eller som du ønsker */
}


/* slut quate */

#menu-placeholder {
  min-height: 70px; /* Højde svarende til menuens faktiske højde */
  display: flex;
  align-items: center;
  justify-content: center;
}

#artikel-dato-udfyld,
#artikel-tid-udfyld {
  display: inline-block;
  min-width: 5.5ch; /* svarer til fx '07. juli' */
  min-height: 1em;
  color: #888;
}

.quote-author {
  text-align: right;
  font-style: italic;
  margin-top: 0.5em;
  color: #bbb;
}


