/* FindBrief Category Customizer — Frontend Base CSS */
/* Dynamic values are injected via wp_add_inline_style */

.fbcc-wrap { min-height: 50vh; }

/* Flex row direction util */
.flex-row-reverse { flex-direction: row-reverse; }

/* Masonry via CSS columns */
.fbcc-masonry {
  column-gap: 24px;
}
.fbcc-masonry.cols-2 { columns: 2; }
.fbcc-masonry.cols-3 { columns: 3; }
.fbcc-masonry.cols-4 { columns: 4; }
.fbcc-masonry .fbcc-card {
  break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

/* Smooth transitions */
.fbcc-card,
.fbcc-card img,
.fbcc-read-more,
.fbcc-badge,
.fbcc-pagination a { transition: all .25s ease; }

/* Ensure images don't stretch */
.fbcc-card-thumb img {
  display: block;
  width: 100%;
}

/* Sidebar widget spacing */
.fbcc-sidebar .widget {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1.5px solid #e5e7eb;
}
.fbcc-sidebar .widget-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0352fc;
  color: #111827;
}

@media (max-width: 768px) {
  .fbcc-masonry.cols-2,
  .fbcc-masonry.cols-3,
  .fbcc-masonry.cols-4 { columns: 2; }
}
@media (max-width: 480px) {
  .fbcc-masonry { columns: 1; }
}
