/* ---------- Kopfzeile: Werbehinweis als eigene Leiste ----------
   Der Hinweis stand zuvor als schmale Pille in .header-right und hat
   die Kopfzeile gesprengt. Jetzt volle Breite ueber der Logo-Zeile,
   dadurch auch auf Mobilgeraeten sichtbar. */

.site-header .ad-bar {
  background: rgba(196, 181, 253, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .ad-bar .container {
  padding-top: 7px;
  padding-bottom: 7px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-align: center;
}

@media (max-width: 640px) {
  .site-header .ad-bar .container {
    font-size: 0.66rem;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

/* Blog Westpointonline
   Eigenständige Datei — unabhängig von style.css */

/* ---------- Übersichtsseite ---------- */

.blog-hero {
  background: var(--grad-dark);
  color: var(--white);
  padding: clamp(44px, 6vw, 64px) 0;
}

.blog-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 20ch;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}

.blog-list {
  background: var(--grad-soft);
  padding: clamp(40px, 6vw, 56px) 0 clamp(56px, 7vw, 80px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-2);
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-media img {
  transform: scale(1.05);
}

.post-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad-main);
  padding: 7px 14px;
  border-radius: 999px;
}

.post-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta i {
  color: var(--accent-deep);
}

.post-card h2 {
  font-family: var(--ff-head);
  font-size: 1.28rem;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 22px;
  flex: 1;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.post-more i {
  transition: transform 0.25s ease;
}

.post-card:hover .post-more i {
  transform: translateX(4px);
}

/* ---------- Artikelseite ---------- */

.article-hero {
  background: var(--grad-dark);
  color: var(--white);
  padding: clamp(32px, 5vw, 48px) 0 clamp(36px, 5vw, 52px);
}

.article-hero .container {
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  color: var(--white);
  margin: 10px 0 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta i {
  color: var(--accent);
}

.article-main {
  background: var(--grad-soft);
  padding: clamp(36px, 5vw, 52px) 0 clamp(56px, 7vw, 78px);
}

.article-main .container {
  max-width: 860px;
}

.article-cover {
  margin: 0 0 32px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.article-cover figcaption {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  border-left: 3px solid var(--accent-deep);
  padding-left: 13px;
}

.article-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 4vw, 44px);
}

.article-lead {
  font-size: 1.06rem;
  line-height: 1.74;
  color: var(--ink);
  font-weight: 600;
  padding-left: 18px;
  border-left: 4px solid var(--primary);
  margin-bottom: 30px;
}

.article-body h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--ink);
  margin: 36px 0 14px;
}

.article-body h3 {
  font-family: var(--ff-head);
  font-size: 1.12rem;
  color: var(--ink);
  margin: 26px 0 10px;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.article-body ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 14px 0 24px;
  padding: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--muted);
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-main);
}

.article-body ol {
  list-style: none;
  counter-reset: art;
  display: grid;
  gap: 15px;
  margin: 14px 0 24px;
  padding: 0;
}

.article-body ol li {
  counter-increment: art;
  position: relative;
  padding-left: 48px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--muted);
  min-height: 34px;
}

.article-body ol li::before {
  content: counter(art);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--grad-main);
  border-radius: 50%;
}

.article-note {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--cream);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
}

.article-note.is-warning {
  background: #fdf2f2;
  border-left-color: #c0392b;
}

.article-note i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.article-note.is-warning i {
  color: #c0392b;
}

.article-note p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 22px 0 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 480px;
  background: var(--white);
}

.article-table th,
.article-table td {
  text-align: left;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.article-table th {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--grad-main);
  white-space: nowrap;
  border-bottom: none;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-cta {
  margin-top: 42px;
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  color: var(--white);
}

.article-cta h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--white);
  margin-bottom: 12px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.72;
  max-width: 54ch;
  margin: 0 auto 26px;
}

.article-related {
  margin-top: 48px;
}

.article-related h2 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.related-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 9px;
}

.related-card strong {
  font-family: var(--ff-head);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .post-body {
    padding: 22px 20px 24px;
  }
}
