html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Mobil först */
.blog-list {
    padding: 1rem;
}

.page-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.blog-date {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #777;
}

/* Tablet + Desktop */
@media (min-width: 768px) {
    .blog-list {
        max-width: 800px;
        margin: auto;
    }
}

.ai-powered-note {
    margin-top: 12px;
    color: #666;
    font-size: 0.85rem;
}

.ai-powered-note a {
    color: #0073e6;
    text-decoration: none;
}

.ai-powered-note a:hover {
    text-decoration: underline;
}

/* Mobil först */
.blog-post {
    padding: 1rem;
}

.blog-post-header {
    margin-bottom: 1.5rem;
}

.blog-post-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.blog-post-date {
    font-size: 0.9rem;
    color: #777;
}

.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 1rem;
}

.blog-post-footer {
    margin-top: 2rem;
}

.back-link {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}


/* --- Force readable code blocks (Markdown fenced blocks) --- */
.md pre,
.md pre[class],
.md pre code,
.md pre code[class*="language-"],
.md pre code.language-markdown {
  color: #e2e8f0 !important;         /* light text */
  opacity: 1 !important;             /* undo any dimming */
  filter: none !important;           /* undo filters */
  text-shadow: none !important;      /* undo shadows */
}

/* background belongs to <pre> only */
.md pre {
  background: #0f172a !important;    /* dark background */
}

/* remove inline-code background inside code blocks */
.md pre code,
.md pre code[class*="language-"] {
  background: transparent !important;
  padding: 0 !important;             /* avoid boxed look */
  border-radius: 0 !important;
}

/* if a syntax highlighter wraps tokens in spans, force them to inherit */
.md pre code span,
.md pre code[class*="language-"] span {
  color: inherit !important;
  background: transparent !important;
}

/* optional: nicer wrapping */
.md pre {
  overflow: auto;
}
.md pre code {
  white-space: pre-wrap;              /* wrap long lines (optional) */
  word-break: break-word;
  display: block;
}

/* Tablet & desktop */
@media (min-width: 768px) {
    .blog-post {
        max-width: 800px;
        margin: auto;
    }

    .blog-post-title {
        font-size: 2.2rem;
    }
}

<style>
.radio-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
</style>

/* Force markdown code blocks readable */
.md pre {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

.md pre code,
.md pre code[class*="language-"],
.md pre code.language-markdown,
.md pre code * {
  color: #e2e8f0 !important;
  background: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

