/* ── Main content area ── */
.beitraege-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}

/* ── Featured post ── */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-mid);
  margin-bottom: 56px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.18s;
}
.featured-post:hover {
  box-shadow: 0 0 0 1px rgba(230,82,31,0.2), 0 16px 48px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.featured-post-img {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.featured-post-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-post:hover .featured-post-img img { transform: scale(1.04); }
.featured-post-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-post-body {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.featured-post-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-post-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.featured-post-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  margin: 0;
}
.featured-post-excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text-body);
  line-height: var(--lh-normal);
}
.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--gray-light);
}
.featured-post-date { display: flex; align-items: center; gap: 5px; }
.featured-post-read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.15s;
}
.featured-post:hover .featured-post-read { gap: 10px; }

/* ── Grid section header ── */
.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}
.grid-header-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}
.grid-header-count {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Posts grid ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Reuse .news-card from home.css — posts grid uses the same card style */

/* ── Skeleton ── */
.post-skeleton {
  border-radius: 8px;
  height: 320px;
  background: linear-gradient(90deg, var(--gray-light) 25%, #e8eaed 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-slide 1.4s ease-in-out infinite;
}
.featured-skeleton {
  border-radius: 12px;
  height: 380px;
  background: linear-gradient(90deg, var(--gray-light) 25%, #e8eaed 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-slide 1.4s ease-in-out infinite;
  margin-bottom: 56px;
}
@keyframes skeleton-slide {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Load more ── */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-load-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--gray-mid);
  border-radius: 6px;
  padding: 12px 32px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.btn-load-more:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.load-more-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Tablet (768px – 1023px) ── */
@media (max-width: 1023px) {
  .beitraege-main { padding: 48px 32px 72px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 260px; }
  .featured-post-body { padding: 28px 32px 28px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
  .beitraege-main { padding: 32px 20px 52px; }
  .featured-post-img { min-height: 200px; }
  .featured-post-body { padding: 20px 20px 24px; }
  .posts-grid { grid-template-columns: 1fr; }
  .featured-skeleton { height: 280px; }
}
