/* ─── VetXplore Blog — gemeinsame Styles für /blog/ und alle Beiträge ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0D2B45; --teal: #1FBFB8; --teal-dark: #14918b; --teal-light: #e0f7f6;
  --bg: #F0F7F8; --white: #fff; --text: #0D2B45; --muted: #5b7a8a; --body: #38505f;
  --border: rgba(13,43,69,0.12); --radius: 12px;
  --cat: #1FBFB8; --dog: #E8834A; --both: #7B8CDE;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }

/* NAV */
.bnav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  padding: 0 5%; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bnav-logo img { height: 26px; width: auto; }
.bnav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.bnav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.bnav-links a:hover, .bnav-links a[aria-current="page"] { color: var(--navy); }
.bnav-links a.bnav-cta { background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 8px; font-size: 13px; }
.bnav-links a.bnav-cta:hover { background: var(--teal); }

/* KOPFBEREICH */
.page-head { background: var(--navy); color: #fff; padding: 64px 5% 56px; position: relative; overflow: hidden; }
.page-head::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,191,184,0.22), transparent 70%); pointer-events: none;
}
.page-head-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.page-head.narrow .page-head-inner { max-width: 760px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.page-head h1 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.5px; }
.page-head h1 em { font-style: italic; color: var(--teal); }
.page-head .lead { margin-top: 18px; max-width: 620px; color: rgba(255,255,255,0.7); font-size: 17px; font-weight: 300; }
.post-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: rgba(255,255,255,0.6); align-items: center; }

/* TAGS */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--teal-light); color: var(--teal-dark); white-space: nowrap; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.dog { background: #fdeee4; color: #b85b26; }
.tag.both { background: #ebeefb; color: #4f5fb3; }
.page-head .tag { background: rgba(255,255,255,0.1); color: #fff; }
.page-head .tag::before { background: var(--teal); }
.page-head .tag.dog::before { background: var(--dog); }
.page-head .tag.both::before { background: var(--both); }

/* BLOG-ÜBERSICHT */
.blog-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 5% 88px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: #fff; color: var(--muted); transition: all .2s;
}
.filters button:hover { border-color: var(--teal); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 22px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,43,69,0.10); border-color: rgba(31,191,184,0.5); }
.post-card .card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.post-card .card-date { font-size: 13px; color: var(--muted); }
.post-card h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.post-card p { font-size: 15px; color: var(--body); flex: 1; }
.post-card .card-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--teal-dark); display: inline-flex; gap: 6px; align-items: center; }
.post-card.featured { grid-column: 1 / -1; background: var(--bg); padding: 34px 36px; }
.post-card.featured h3 { font-size: clamp(26px, 3vw, 34px); }
.post-card.featured p { font-size: 16px; max-width: 720px; }
.empty { color: var(--muted); padding: 40px 0; }
.upcoming { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.upcoming h2 { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.upcoming p { color: var(--body); }

/* BEITRAG */
.post-layout { max-width: 1080px; margin: 0 auto; padding: 56px 5% 40px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
.post-body { max-width: 700px; }
.post-body > p:first-child { font-size: 19px; color: var(--navy); font-weight: 400; line-height: 1.6; }
.post-body h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--navy); margin: 44px 0 14px; }
.post-body h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 26px 0 8px; }
.post-body p { color: var(--body); margin-bottom: 16px; }
.post-body ul, .post-body ol { color: var(--body); margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 6px; }
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.post-body th { background: var(--bg); color: var(--navy); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--teal-light); border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 22px 0; color: var(--navy); }
.callout p { color: var(--navy); margin: 0; }
.callout.warn { background: #fff4e3; border-left-color: #e3a13a; }

/* Seitenleiste */
.post-aside { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.aside-card h4 { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside-card .panel-name { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.aside-card ul { list-style: none; }
.aside-card li { font-size: 14px; color: var(--body); padding: 5px 0; border-bottom: 1px dashed var(--border); }
.aside-card li:last-child { border-bottom: none; }
.aside-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-card.dark h4 { color: var(--teal); }
.aside-card.dark p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 8px; transition: background .2s; }
.btn:hover { background: var(--teal-dark); }

/* Hinweis + Verwandte Beiträge */
.post-foot { max-width: 1080px; margin: 0 auto; padding: 0 5% 80px; }
.disclaimer { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; max-width: 700px; }
.related { margin-top: 56px; }
.related h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 26px; color: var(--navy); margin-bottom: 20px; }

/* Noch nicht veröffentlicht */
.not-yet-box { display: none; max-width: 700px; margin: 72px auto; padding: 0 5%; text-align: center; }
.not-yet-box h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 30px; color: var(--navy); margin-bottom: 10px; }
.not-yet-box p { color: var(--body); margin-bottom: 22px; }
html.not-yet .post-layout, html.not-yet .post-foot, html.not-yet .page-head .lead { display: none; }
html.not-yet .not-yet-box { display: block; }

/* FOOTER */
footer { background: #091f33; color: rgba(255,255,255,0.5); padding: 40px 5% 32px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-inner img { height: 34px; width: auto; background: #fff; border-radius: 7px; padding: 6px 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); width: 100%; text-align: center; margin-top: 8px; }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 36px; }
  .post-aside { position: static; }
}
@media (max-width: 620px) {
  .bnav-links { gap: 16px; }
  .bnav-links .hide-sm { display: none; }
  .page-head { padding: 44px 16px 40px; }
  .blog-wrap, .post-layout, .post-foot { padding-left: 16px; padding-right: 16px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { padding: 26px; }
  .post-body > p:first-child { font-size: 17px; }
  .post-body h2 { font-size: 24px; }
}
