/**
 * Blog feature styles
 * Blog listing and card components
 */
/**
 * Design tokens for ca-custom plugin
 * Based on .example/script/_variables.scss structure
 * 
 * Centralized variables to eliminate duplication across SCSS files
 */
/**
 * Color System
 * Migrated from $color-map found in all feature files
 * Maintains backward compatibility with numbered system
 */
/**
 * Semantic color aliases for better maintainability
 */
/**
 * Typography System
 * Migrated from $font-attributes-map
 */
/**
 * Font Sizes - Title
 */
/**
 * Font Sizes - Subtitle
 */
/**
 * Font Sizes - Text
 */
/**
 * Font Sizes - Caption
 */
/**
 * Font Weights
 */
/**
 * Font Weights - Title
 */
/**
 * Font Weights - Subtitle
 */
/**
 * Font Weights - Text
 */
/**
 * Font Weights - Caption
 */
/**
 * Line Heights
 */
/**
 * Responsive Font Sizes
 * Base font sizes for root element
 */
/**
 * Spacing Scale
 * Base unit: 8px for consistency
 */
/**
 * Legacy spacing aliases
 */
/**
 * Borders
 */
/**
 * Z-index Scale
 */
/**
 * Breakpoints
 */
/**
 * Legacy breakpoint aliases
 */
/**
 * Container Widths
 */
/**
 * Shadows
 */
/**
 * Transitions
 */
/**
 * Common transitions
 */
/**
 * WordPress Admin Sidebar
 */
/**
 * Font attributes map for backward compatibility
 * Used by front-default.scss to generate utility classes
 */
/**
 * Reusable mixins for ca-custom plugin
 * Based on .example/script/_mixins.scss patterns
 * 
 * Common patterns and utilities for consistent styling
 */
/**
 * Responsive breakpoint mixins
 * Mobile-first approach with multiple breakpoints
 */
/**
 * Legacy responsive mixins for backward compatibility
 */
/**
 * Named breakpoint mixins
 */
/**
 * Flexbox utilities
 */
/**
 * Grid Layout Mixins
 */
/**
 * Button Mixins
 */
/**
 * Card Component Mixins
 */
/**
 * Form Control Mixins
 */
/**
 * Text Utilities
 */
/**
 * Position Utilities
 */
/**
 * Aspect Ratio Mixins
 */
/**
 * Scrollbar Styling
 */
/**
 * Loading States
 */
@keyframes ca-skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/**
 * Overlay Mixins
 */
/**
 * Animation Mixins
 */
@keyframes ca-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/**
 * Utility Mixins
 */
/**
 * Container Mixins
 */
/**
 * WordPress Specific Mixins
 */
/* Previous color-map moved to _variables.scss */
.ca-blog-repeater {
  display: grid;
  gap: var(--ca-grid-gap, 20px);
}
.ca-blog-repeater .card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ca-blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}
.ca-blog-link .ca-blog-img {
  width: 100%;
  padding-bottom: 75%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-out;
}
.ca-blog-link .ca-blog-meta-hover-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  box-sizing: border-box;
  opacity: 0;
}
.ca-blog-link .ca-blog-meta-hover-box .ca-blog-date {
  font-size: 0.8em;
  margin-bottom: 5px;
  color: #d9d9d9;
}
.ca-blog-link .ca-blog-meta-hover-box .ca-blog-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ca-blog-link:hover .ca-blog-img {
  transform: scale(1.05);
}
.ca-blog-link:hover .ca-blog-meta-hover-box {
  transform: translateY(0);
  opacity: 1;
  display: flex;
}
.ca-blog-metabox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-top: 1px solid #d9d9d9;
}
.ca-blog-metabox .ca-blog-metabox-l {
  flex-grow: 1;
  padding-right: 10px;
  min-width: 0;
  overflow: hidden;
}
.ca-blog-metabox .ca-blog-metabox-l .ca-blog-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222222;
  word-break: break-all;
}
.ca-blog-metabox .ca-blog-metabox-r {
  flex-shrink: 0;
}
.ca-blog-metabox .ca-blog-metabox-r .ca-blog-heart-and-views {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #707070;
}
.ca-blog-metabox .ca-blog-metabox-r .ca-blog-heart-and-views .material-symbols-rounded {
  font-size: 1.2em;
}
.ca-blog-metabox .ca-blog-metabox-r .ca-blog-heart-and-views .ca-text-4 {
  font-size: 0.9em;
}
.ca-blog-filters-ui {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ca-blog-filters-ui .ca-category-row {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ca-blog-filters-ui .ca-category-row::-webkit-scrollbar {
  display: none;
}
.ca-blog-filters-ui .ca-category-overlay {
  position: relative;
  width: 100%;
}
.ca-blog-filters-ui .ca-category-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 5px 0;
}
.ca-blog-filters-ui .ca-category-item {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ca-blog-filters-ui .ca-category-item .ca-category-text {
  color: #222222;
  font-size: 0.9em;
  white-space: nowrap;
}
.ca-blog-filters-ui .ca-category-item:hover {
  border-color: #3ed48c;
}
.ca-blog-filters-ui .ca-category-item:hover .ca-category-text {
  color: #3ed48c;
}
.ca-blog-filters-ui .ca-category-item.active {
  background-color: #3ed48c;
  color: #ffffff;
  border-color: #3ed48c;
}
.ca-blog-filters-ui .ca-category-item.active .ca-category-text {
  color: #ffffff;
}
.ca-blog-filters-ui .ca-category-item.active:hover {
  background-color: #2dcb7f;
}
.ca-blog-filters-ui .ca-search-and-sort {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
@media (max-width: 767px) {
  .ca-blog-filters-ui .ca-search-and-sort {
    flex-direction: column;
    align-items: stretch;
  }
}
.ca-blog-filters-ui .ca-search-bar {
  flex-grow: 1;
  display: flex;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-input {
  flex-grow: 1;
  min-width: 0;
  border: none;
  padding: 8px 12px;
  background-color: #ffffff;
  color: #222222;
  font-size: 0.9em;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-input:focus {
  outline: none;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-input::placeholder {
  color: #707070;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-button {
  flex-shrink: 0;
  background-color: #ffffff;
  border: none;
  color: #707070;
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-button:hover {
  color: #3ed48c;
}
.ca-blog-filters-ui .ca-search-bar #blog-search-button .material-symbols-rounded {
  font-size: 1.2rem;
  vertical-align: middle;
}
.ca-blog-filters-ui .ca-sort-select {
  flex-shrink: 0;
  min-width: 120px;
}
.ca-blog-filters-ui .ca-sort-select select, .ca-blog-filters-ui .ca-sort-select #blog-sort-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background-color: #ffffff;
  color: #222222;
  font-size: 0.9em;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23707070' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  height: 36px;
  box-sizing: border-box;
}
.ca-blog-filters-ui .ca-sort-select select:focus, .ca-blog-filters-ui .ca-sort-select #blog-sort-select:focus {
  outline: none;
  border-color: #3ed48c;
}
.ca-blog-filters-ui .ca-sort-select select:hover, .ca-blog-filters-ui .ca-sort-select #blog-sort-select:hover {
  border-color: #3ed48c;
}
.ca-blog-pagination {
  margin-top: 30px;
  text-align: center;
}
.ca-blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 3px;
  border-radius: 4px;
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #d9d9d9;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ca-blog-pagination .page-numbers:hover {
  border-color: #3ed48c;
  color: #3ed48c;
}
.ca-blog-pagination .page-numbers.current {
  background-color: #3ed48c;
  color: #ffffff;
  border-color: #3ed48c;
}
.ca-blog-repeater-empty {
  text-align: center;
  padding: 50px 20px;
  background-color: #f6f6f6;
  border-radius: 8px;
  color: #222222;
  font-size: 1.1em;
  border: 1px dashed #d9d9d9;
}
.ca-blog-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
}
