/* Grundinställningar */
:root {
    --primary-bg: #0d1117;
    --card-bg: #161b22;
    --accent-blue: #58a6ff;
    --accent-red: #f85149;
    --text-main: #c9d1d9;
    --text-bright: #ffffff;
    --border: #30363d;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header/Nav */
header {
    width: 100%;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-bright);
}

.logo span {
    color: var(--accent-blue);
}

/* Container */
.main-wrapper {
    max-width: 1100px;
    width: 90%;
    margin: 40px 0;
}

/* Nyhetskort */
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background: #21262d; /* Grå bakgrund om bilden inte laddas */
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 30px;
}

.badge {
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

h1 {
    color: var(--text-bright);
    font-size: 36px;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

p {
    font-size: 18px;
    line-height: 1.6;
    color: #8b949e;
}

.footer-info {
    margin-top: 20px;
    font-size: 14px;
    color: var(--accent-blue);
    font-weight: bold;
}