/* Blog overview + blog posts. Builds on home.css tokens and type; flex only, zero gap. */

.bl-crumbs { margin: 0 0 22px; font-size: .8125rem; color: var(--text-leise); }
.bl-crumbs a { color: var(--text-leise); text-decoration: none; }
.bl-crumbs a:hover { color: var(--wasser); }
.bl-crumbs span { padding: 0 8px; opacity: .6; }

/* ---------- Overview hero + filter ---------- */
.bl-hero { background: linear-gradient(180deg, #f3f8fc 0%, #e6f0f7 100%); padding-block: 44px 48px; }
.bl-hero__lead { max-width: 40rem; margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.65; color: #3d5866; }
.bl-filter { display: flex; flex-wrap: wrap; margin-top: 28px; }
.bl-filter button {
  margin: 0 8px 8px 0; padding: 9px 18px; border: 1.5px solid var(--hm-line-strong); border-radius: 999px; background: #fff;
  font-family: inherit; font-size: .875rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bl-filter button:hover { border-color: var(--wasser); }
.bl-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.bl-filter button:focus-visible { outline: 2px solid var(--wasser); outline-offset: 2px; }

/* ---------- Meta line (category · date · language) ---------- */
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 10px; font-size: .8125rem; color: var(--text-leise); }
.bl-meta > * { margin-right: 10px; }
.bl-cat { padding: 3px 10px; border-radius: 999px; background: #e8f3f9; font-size: .75rem; font-weight: 700; color: var(--wasser); }
.bl-cat--story { background: #fff3dc; color: #9a5d00; }
.bl-lang { padding: 2px 7px; border: 1px solid var(--hm-line-strong); border-radius: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; color: var(--text-leise); }

/* ---------- Cards ---------- */
.bl-list { padding-block: 56px 80px; }
.bl-feature {
  display: flex; flex-wrap: wrap; overflow: hidden; margin-bottom: 32px; background: #fff;
  border: 1px solid var(--hm-line); border-radius: 18px; box-shadow: var(--hm-shadow); color: inherit; text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.bl-feature:hover { transform: translateY(-3px); box-shadow: var(--hm-shadow-hover); }
.bl-feature__media { width: 55%; overflow: hidden; }
.bl-feature__media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .45s ease; }
.bl-feature:hover .bl-feature__media img { transform: scale(1.03); }
.bl-feature__body { display: flex; flex-direction: column; justify-content: center; width: 45%; padding: 36px 40px; }
.bl-feature__label { margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wasser); }
.bl-feature__title { margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.25; color: var(--navy); }
.bl-feature__text { margin: 0 0 20px; font-size: 1rem; line-height: 1.65; color: var(--text-leise); }

.bl-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.bl-grid__col { display: flex; width: 33.333%; padding: 0 12px 24px; }
.bl-grid__col[hidden] { display: none; }
.bl-card {
  display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #fff;
  border: 1px solid var(--hm-line); border-radius: 16px; box-shadow: var(--hm-shadow); color: inherit; text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.bl-card:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-hover); border-color: var(--hm-line-strong); }
.bl-card__media { overflow: hidden; background: #eef4f8; }
.bl-card__media img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .45s ease; }
.bl-card:hover .bl-card__media img { transform: scale(1.04); }
.bl-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bl-card__title { margin: 0 0 8px; font-size: 1.0938rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.bl-card__text { margin: 0 0 16px; font-size: .9375rem; line-height: 1.6; color: var(--text-leise); }
.bl-more { display: inline-flex; align-items: center; margin-top: auto; font-size: .875rem; font-weight: 600; color: var(--wasser); }
.bl-more svg { width: 16px; height: 16px; margin-left: 8px; transition: transform .2s ease; }
.bl-card:hover .bl-more svg, .bl-feature:hover .bl-more svg { transform: translateX(3px); }
.bl-empty { padding: 24px 0; color: var(--text-leise); }

/* ---------- Post page ---------- */
.bp-hero { background: linear-gradient(180deg, #f3f8fc 0%, #e6f0f7 100%); padding-block: 44px 120px; }
.bp-hero__inner { max-width: 50rem; }
.bp-hero .hm-h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.bp-lead { margin: 16px 0 0; font-size: 1.125rem; line-height: 1.65; color: #3d5866; }
.bp-figure { max-width: 60rem; margin: -88px auto 0; }
.bp-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -36px rgba(13,36,55,.5); }
.bp-figure--contain img { object-fit: contain; border: 1px solid var(--hm-line); }

.bp-stats { display: flex; flex-wrap: wrap; max-width: 46rem; margin: 40px auto 0; padding: 0; list-style: none; }
.bp-stats li { display: flex; flex-direction: column; flex: 1 1 200px; margin: 0 12px 12px 0; padding: 18px 20px; background: #fff; border: 1px solid var(--hm-line); border-radius: 14px; font-size: .875rem; line-height: 1.45; color: var(--text-leise); }
.bp-stats strong { font-size: 1.75rem; font-weight: 700; line-height: 1.2; color: var(--wasser); }

.bp-body { max-width: 46rem; margin: 0 auto; padding-block: 44px 16px; font-size: 1.0625rem; line-height: 1.75; color: #33495b; }
.bp-body > :first-child { margin-top: 0; }
.bp-body h2 { margin: 40px 0 12px; font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.bp-body h3 { margin: 30px 0 10px; font-size: 1.1875rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.bp-body p { margin: 0 0 16px; }
.bp-body a { color: var(--wasser); text-decoration: underline; text-underline-offset: 3px; }
.bp-body a:hover { color: var(--wasser-dunkel); }
.bp-body ul { margin: 0 0 18px; padding: 0; list-style: none; }
.bp-body ul li { position: relative; padding: 0 0 8px 24px; }
.bp-body ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--wasser); }
.bp-body figure { margin: 26px 0; }
.bp-body figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--hm-line); }
.bp-body figcaption { margin-top: 8px; font-size: .875rem; color: var(--text-leise); }
.bp-body figure.bp-narrow img { max-width: 420px; margin: 0 auto; }
/* WordPress puts the key figures inside the article body */
.bp-body .bp-stats { margin: 0 0 28px; }
.bp-body .bp-stats li { padding: 18px 20px; }
.bp-body .bp-stats li::before { content: none; }
.bp-agenda { margin: 0 0 18px; padding: 0; list-style: none; border-left: 2px solid var(--hm-line-strong); }
.bp-agenda li { display: flex; padding: 0 0 14px 18px; }
.bp-agenda time { flex: none; width: 92px; font-weight: 700; color: var(--wasser); }
.bp-agenda div { flex: 1; min-width: 0; }
.bp-agenda small { display: block; font-size: .9375rem; color: var(--text-leise); }
.bp-table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: .9375rem; }
.bp-table th, .bp-table td { padding: 8px 12px; border-bottom: 1px solid var(--hm-line); text-align: left; }
.bp-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-table .bp-table__group th { padding-top: 18px; background: none; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wasser); }
.bp-table .bp-table__sum td { font-weight: 700; color: var(--navy); }
.bp-table .bp-table__total td { border-top: 2px solid var(--navy); font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.bp-buttons { display: flex; flex-wrap: wrap; margin: 8px 0 18px; }
.bp-buttons a { margin: 0 10px 10px 0; text-decoration: none; }
.bp-buttons .hm-btn--fill, .bp-buttons .hm-btn--fill:hover { color: #fff; }
.bp-buttons .hm-btn--line { color: var(--navy); }
.bp-video {
  display: flex; align-items: center; margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--hm-line); border-radius: 14px;
  background: #fff; color: var(--navy) !important; text-decoration: none !important;
}
.bp-video:hover { border-color: var(--wasser); }
.bp-video span:first-child { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 14px; border-radius: 50%; background: #e5484d; color: #fff; }
.bp-video svg { width: 18px; height: 18px; }
.bp-video strong { display: block; font-size: 1rem; }
.bp-video small { font-size: .8125rem; color: var(--text-leise); }
.bp-logo { display: block; width: auto; height: 56px; margin: 6px 0 10px; }

.bp-quote { max-width: 46rem; margin: 16px auto 0; padding: 28px 32px; border-radius: 18px; background: var(--navy); color: #fff; }
.bp-quote__stars { display: flex; margin-bottom: 12px; color: var(--signal); }
.bp-quote__stars svg { width: 18px; height: 18px; margin-right: 3px; fill: currentColor; }
.bp-quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
.bp-quote figcaption { display: flex; flex-direction: column; margin-top: 14px; font-size: .875rem; color: var(--hm-on-dark); }
.bp-quote figcaption strong { font-size: 1rem; color: #fff; }

.bp-back { max-width: 46rem; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--hm-line); }
.bp-back a { display: inline-flex; align-items: center; font-size: .9375rem; font-weight: 600; color: var(--wasser); text-decoration: none; }
.bp-back a svg { width: 16px; height: 16px; margin-right: 8px; transform: rotate(180deg); }
.bp-related { background: var(--hm-strip); }
.bp-related .hm-h2 { margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bl-grid__col { width: 50%; }
  .bl-feature__media, .bl-feature__body { width: 100%; }
  .bl-feature__media img { min-height: 0; height: 280px; }
  .bl-feature__body { padding: 26px 26px 30px; }
}
@media (max-width: 640px) {
  .bl-grid__col { width: 100%; }
  .bp-hero { padding-block: 28px 90px; }
  .bp-figure { margin-top: -66px; }
  .bp-quote { padding: 22px; }
  .bp-agenda li { flex-direction: column; }
  .bp-agenda time { width: auto; }
  .bp-table { font-size: .8438rem; }
  .bp-table th, .bp-table td { padding: 7px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card, .bl-feature, .bl-card__media img, .bl-feature__media img { transition: none; }
  .bl-card:hover, .bl-feature:hover, .bl-card:hover .bl-card__media img, .bl-feature:hover .bl-feature__media img { transform: none; }
}
