/**
 * Source page styles
 * Source hero, repeater, my-source, and main-page section
 */
/**
 * Design tokens for ca-custom plugin
 * Based on .example/script/_variables.scss structure
 * 
 * Centralized variables to eliminate duplication across SCSS files
 */
/**
 * 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
 */
/**
 * Apply theme CSS custom properties
 * Usage: @include theme-vars;
 */
/**
 * Theme-aware property mixin
 * Usage: @include themed(background-color, "bg-primary");
 */
/**
 * Quick theme background
 */
/**
 * Quick theme text color
 */
/**
 * Quick theme border
 */
/**
 * Responsive image mixins
 */
/**
 * Background image with cover
 */
/**
 * Modal component mixins
 */
/**
 * Admin box mixin
 */
/**
 * Filter container mixin
 */
/**
 * Pagination mixin
 */
/**
 * Status badge mixin
 */
/**
 * Notice/Alert box mixin
 */
.ca-hero-section--source .ca-hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.ca-hero-section--source .ca-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
}
.ca-hero-section--source .ca-hero-cta-btn .material-symbols-rounded {
  font-size: 20px;
}
.ca-hero-section--source .ca-hero-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.ca-hero-section--source .ca-hero-intro-btn .material-symbols-rounded {
  font-size: 20px;
}
.ca-source-repeater {
  width: 100%;
}
.ca-source-repeater-grid {
  display: grid;
  grid-template-columns: repeat(var(--ca-grid-columns, 4), 1fr);
  gap: var(--ca-grid-gap, 20px);
}
@media (max-width: 991px) {
  .ca-source-repeater-grid {
    grid-template-columns: repeat(var(--ca-grid-columns-tablet, 3), 1fr);
    gap: calc(var(--ca-grid-gap, 20px) / 1.5);
  }
}
@media (max-width: 767px) {
  .ca-source-repeater-grid {
    grid-template-columns: repeat(var(--ca-grid-columns-mobile, 2), 1fr);
    gap: calc(var(--ca-grid-gap, 20px) / 2);
  }
}
.ca-source-repeater-empty {
  padding: 4rem 0;
  text-align: center;
  color: #707070;
  background-color: #f6f6f6;
  border: 1px dashed #d9d9d9;
  border-radius: 0.5rem;
}
.ca-source-repeater-login {
  padding: 4rem 0;
  text-align: center;
  color: #707070;
  background-color: #f6f6f6;
  border: 1px dashed #d9d9d9;
  border-radius: 0.5rem;
}
.ca-source-repeater-login p {
  margin: 0 0 1rem;
}
.ca-source-repeater-error {
  padding: 2rem 1rem;
  text-align: center;
  color: #da002e;
  background-color: #f6f6f6;
  border: 1px dashed #da002e;
  border-radius: 0.5rem;
}
.ca-source-pagination {
  margin-top: 2rem;
  text-align: center;
}
.ca-source-pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 2px;
  border: 1px solid #d9d9d9;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #333333;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.ca-source-pagination .page-numbers:hover, .ca-source-pagination .page-numbers.current {
  background-color: #3ed48c;
  color: #ffffff;
  border-color: #3ed48c;
}
.ca-my-source {
  width: 100%;
}
.ca-my-source-login {
  padding: 4rem 0;
  text-align: center;
  color: #707070;
  background-color: #f6f6f6;
  border: 1px dashed #d9d9d9;
  border-radius: 0.5rem;
}
.ca-my-source-login p {
  margin: 0 0 1rem;
}
.ca-my-source-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ca-my-source-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  background-color: #ffffff;
  transition: box-shadow 0.2s ease-in-out;
}
.ca-my-source-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .ca-my-source-item {
    flex-direction: column;
  }
}
.ca-my-source-item__thumb {
  flex: 0 0 120px;
}
.ca-my-source-item__thumb img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 0.25rem;
  display: block;
}
@media (max-width: 768px) {
  .ca-my-source-item__thumb {
    flex: none;
  }
  .ca-my-source-item__thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.3333333333;
  }
}
.ca-my-source-item__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
  background-color: #f6f6f6;
  border-radius: 4px;
  color: #707070;
}
.ca-my-source-item__placeholder .material-symbols-rounded {
  font-size: 32px;
}
@media (max-width: 767px) {
  .ca-my-source-item__placeholder {
    width: 100%;
    height: 120px;
  }
}
.ca-my-source-item__info {
  flex: 1;
  min-width: 0;
}
.ca-my-source-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 0.5rem;
}
.ca-my-source-item__study {
  font-size: 0.75rem;
  color: #707070;
  margin: 0 0 0.5rem;
}
.ca-my-source-item__study a {
  color: #333333;
  text-decoration: none;
}
.ca-my-source-item__study a:hover {
  text-decoration: underline;
}
.ca-my-source-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  color: #707070;
  font-size: 0.75rem;
}
.ca-my-source-item__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .ca-my-source-item__actions {
    width: 100%;
  }
  .ca-my-source-item__actions .ca-button {
    flex: 1;
    justify-content: center;
  }
}
.ca-my-source-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  text-align: center;
  color: #707070;
}
.ca-my-source-empty__icon {
  font-size: 64px;
  margin-bottom: 1rem;
  color: #d9d9d9;
}
.ca-my-source-empty p {
  margin: 0 0 1rem;
}
.ca-main-sources .main-title {
  margin-bottom: 1.5rem;
}
