/* Blog på addmind.dk – bygger videre på farver og typografi fra style.css */

/* Oversigt */
.blog-index { padding: 72px 0 104px; }
.blog-index .section-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.post-empty { color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.post-card:hover { border-color: var(--teal); box-shadow: 0 14px 36px rgba(1, 29, 65, .08); transform: translateY(-2px); }
.post-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { font-size: 1.3rem; margin: .35em 0 .45em; }
.post-card p { color: var(--muted); font-size: .98rem; margin: 0 0 18px; }
.post-card-more { margin-top: auto; font-weight: 600; color: var(--teal-dark); }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .blog-index { padding: 48px 0 72px; } }

/* Artikel */
.post { padding: 40px 0 104px; }
.post .wrap > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.post .wrap > .post-hero, .post .wrap > .post-more { max-width: 1040px; }
.crumbs { margin-bottom: 32px; font-size: .95rem; }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }

.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.post-lead { font-size: 1.22rem; line-height: 1.55; color: var(--navy); margin: 0 0 24px; }
.post-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; margin: 0 0 40px; }
.post-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.post-meta strong { color: var(--navy); font-weight: 600; }

.post-hero { margin: 0 auto 48px; }
.post-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 1600 / 840; object-fit: cover; }

.post-body { font-size: 1.12rem; line-height: 1.75; }
.post-body p, .post-body li { color: #1E2F47; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.9em; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.6em; }
.post-body img { border-radius: 10px; margin: 1.5em 0; border: 1px solid var(--line); background: var(--white); }
.post-body blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 1.2em;
  border-left: 4px solid var(--teal); font-size: 1.25rem; color: var(--navy);
}
.post-body blockquote p { color: var(--navy); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* Deling */
.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
}
.share-label { font-weight: 600; margin-right: 6px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); font: inherit; font-size: .92rem; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.share a:hover, .share button:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Opfordring */
.post-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 56px; padding: 36px 40px; border-radius: var(--radius);
  background: var(--navy); color: var(--white);
}
.post-cta h2 { font-size: 1.45rem; color: var(--white); margin-bottom: .3em; }
.post-cta p { margin: 0; color: #C9D4E2; }
.post-cta .btn { flex-shrink: 0; }
@media (max-width: 700px) { .post-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* Læs også */
.post-more { margin-top: 80px; }
.post-more h2 { font-size: 1.5rem; margin-bottom: 24px; }
.post-more .post-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .post-more .post-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .post { padding: 24px 0 72px; }
  .post-body { font-size: 1.06rem; }
}
