/* ============================================
   BWW Blog Plugin – bodyweight-workout.com
   ============================================ */

.bww-blog-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 100%;
}

/* ===== FILTER-LEISTE ===== */
.bww-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  margin-bottom: 24px;
  border-bottom: 0.5px solid #E0E0DC;
}

.bww-filter-label {
  font-size: 11px;
  color: #AAAAAA;
  margin-right: 4px;
}

.bww-filter-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  border: 0.5px solid #E0E0DC;
  background: #F7F7F5;
  color: #555555;
  text-decoration: none;
  transition: opacity 0.15s;
}

.bww-filter-btn:hover {
  opacity: 0.8;
}

.bww-filter-active {
  background: #0D2D5E !important;
  color: #ffffff !important;
  border-color: #0D2D5E !important;
}

/* ===== BADGE ===== */
.bww-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ===== FEATURED CARD ===== */
.bww-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 0.5px solid #E0E0DC;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}

.bww-featured-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.bww-featured-img {
  background: #F7F7F5;
  min-height: 240px;
  overflow: hidden;
  border-right: 0.5px solid #E0E0DC;
}

.bww-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bww-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: #F7F7F5;
}

.bww-featured-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bww-featured-eyebrow {
  font-size: 10px;
  font-weight: 500;
  color: #AAAAAA;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.bww-featured-title {
  font-size: 20px;
  font-weight: 500;
  color: #0F1117;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.bww-featured-desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.bww-featured-btn {
  display: inline-block;
  background: #0D2D5E;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 12px;
}

.bww-featured-meta {
  font-size: 11px;
  color: #AAAAAA;
}

/* ===== ARTIKEL GRID ===== */
.bww-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.bww-card {
  background: #ffffff;
  border: 0.5px solid #E0E0DC;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.bww-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.bww-card-img {
  height: 160px;
  overflow: hidden;
  background: #F7F7F5;
  border-bottom: 0.5px solid #E0E0DC;
}

.bww-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bww-card-img .bww-img-placeholder {
  min-height: 160px;
  height: 100%;
}

.bww-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bww-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #0F1117;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.bww-card-desc {
  font-size: 12px;
  color: #555555;
  line-height: 1.6;
  margin: 0 0 12px 0;
  flex: 1;
}

.bww-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #AAAAAA;
  border-top: 0.5px solid #E0E0DC;
  padding-top: 10px;
  margin-top: auto;
}

.bww-card-link {
  font-size: 11px;
  color: #1B4D8E;
  font-weight: 500;
}

/* ===== PAGINATION ===== */
.bww-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-top: 0.5px solid #E0E0DC;
}

.bww-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0.5px solid #E0E0DC;
  font-size: 13px;
  color: #555555;
  text-decoration: none;
  background: #F7F7F5;
  transition: all 0.15s;
}

.bww-page-btn:hover {
  background: #E6F1FB;
  color: #0D2D5E;
  border-color: #E6F1FB;
}

.bww-page-active {
  background: #0D2D5E !important;
  color: #ffffff !important;
  border-color: #0D2D5E !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bww-featured-card {
    grid-template-columns: 1fr;
  }

  .bww-featured-img {
    border-right: none;
    border-bottom: 0.5px solid #E0E0DC;
    min-height: 200px;
  }

  .bww-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .bww-featured-body {
    padding: 20px;
  }

  .bww-featured-title {
    font-size: 17px;
  }

  .bww-filter-bar {
    gap: 6px;
  }
}
