@charset "UTF-8";
/**
 * Study styles
 * Study-related components and layouts
 */
/**
 * 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-study-price-original {
  text-decoration: line-through;
  color: #707070;
  margin-right: 5px;
  font-size: 0.875rem;
}
/* 할인된 최종 가격: 강조 색상 */
.ca-study-price-final {
  color: #da002e;
  font-weight: bold;
  margin-right: 5px;
  font-size: 1.1rem;
}
/* 기존 할인 가격 클래스 (하위 호환) */
.ca-study-price-discounted {
  margin-right: 5px;
  font-size: 0.875rem;
}
/* 할인 금액: 빨간색 강조 */
.ca-study-price-discount-amount {
  background-color: #da002e;
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.875rem;
  text-wrap: nowrap;
}
/* 스터디 리피터 그리드 스타일 */
.ca-study-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-study-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-study-repeater-grid {
    grid-template-columns: repeat(var(--ca-grid-columns-mobile, 2), 1fr);
    gap: calc(var(--ca-grid-gap, 20px) / 2);
  }
}
/* 스터디 리피터 (Splide) */
.ca-study-repeater-slide .splide__slide {
  padding: 2px;
  /* focus outline 등 고려 */
}
/* 페이지네이션 스타일 */
.ca-study-pagination {
  margin-top: 30px;
  text-align: center;
}
.ca-study-pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  text-decoration: none;
  color: #333333;
  transition: background-color 0.3s, color 0.3s;
}
.ca-study-pagination .page-numbers:hover, .ca-study-pagination .page-numbers.current {
  background-color: #333333;
  color: #ffffff;
  border-color: #333333;
}
.ca-study-repeater-empty {
  padding: 20px;
  text-align: center;
  color: #707070;
  background-color: #f6f6f6;
  border: 1px dashed #d9d9d9;
  border-radius: 4px;
}
/* Splide 화살표/페이지네이션 기본 스타일은 Splide 라이브러리에서 제공.
   필요시 아래에 커스텀 스타일 추가 */
.ca-study-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #222222;
  border-radius: 8px;
  border: 1px solid #333333;
}
.ca-study-filters-container .program-filter, .ca-study-filters-container .type-filter, .ca-study-filters-container .study-sort, .ca-study-filters-container .search-filter {
  background-color: #333333;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #4d4d4d;
  flex-grow: 1;
  min-width: 280px;
  flex-basis: 100%;
}
.ca-study-filters-container .titles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #4d4d4d;
}
.ca-study-filters-container .titles h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
}
.ca-study-filters-container .titles button {
  background: none;
  border: none;
  color: #da002e;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 2px 5px;
}
.ca-study-filters-container .titles button:hover {
  opacity: 0.8;
}
.ca-study-filters-container .checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ca-study-filters-container .checkboxes label.inline-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #666;
  font-size: 0.875rem;
  color: inherit;
  background-color: #222222;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.ca-study-filters-container .checkboxes label.inline-checkbox:hover {
  border-color: gray;
  background-color: #2f2f2f;
}
.ca-study-filters-container .checkboxes input[type="checkbox"] {
  display: none;
}
.ca-study-filters-container .checkboxes input[type="checkbox"]:checked + label.inline-checkbox {
  background-color: #3ed48c;
  color: #ffffff;
  border-color: #3ed48c;
}
.ca-study-filters-container .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ca-study-filters-container .buttons .sort-button {
  padding: 8px 15px;
  border: 1px solid #484848;
  background-color: #222222;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.ca-study-filters-container .buttons .sort-button:hover {
  border-color: #626262;
  background-color: #2f2f2f;
}
.ca-study-filters-container .buttons .sort-button.active {
  background-color: #3ed48c;
  color: #ffffff;
  border-color: #3ed48c;
}
.ca-study-filters-container .search-filter input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #484848;
  background-color: #222222;
  color: inherit;
  border-radius: 4px;
  font-size: 0.875rem;
}
.ca-study-filters-container .search-filter input[type="text"]:focus {
  outline: none;
  border-color: #3ed48c;
  box-shadow: 0 0 0 2px rgba(62, 212, 140, 0.2);
}
/* 스터디 갤러리 스타일 */
.ca-study-gallery {
  display: block;
  overflow: auto;
}
/* Grid 갤러리 */
.ca-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 데스크톱에서 3열 고정 */
  gap: 15px;
  /* grid-auto-rows: 200px; */
  /* 행 높이 고정 대신 내용에 따라 자동 조절되도록 주석 처리 또는 auto로 변경 */
  align-items: stretch;
  /* 기본값이지만 명시적으로 추가하여 아이템들이 셀 높이를 꽉 채우도록 함 */
}
@media (max-width: 991px) {
  .ca-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 태블릿에서 2열 */
    /* grid-auto-rows: 180px; */
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .ca-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 모바일에서 2열 (요구사항에 따라 1열로 변경 가능) */
    /* grid-auto-rows: 150px; */
    gap: 10px;
  }
}
.ca-study-gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: block;
}
.ca-study-gallery-item:hover {
  opacity: 0.8;
  transform: scale(1.02);
}
.ca-study-gallery-item-contents {
  margin: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
  display: flex;
}
.ca-study-gallery-item-contents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.ca-study-gallery-item-contents figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #ffffff;
  padding: 20px 15px 15px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
/* 캡션 기능 */
.ca-gallery-captions .ca-study-gallery-item:hover .ca-study-gallery-item-contents figcaption {
  opacity: 1;
}
/* 스터디 예제 갤러리 */
.ca-study-example-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
@media (max-width: 991px) {
  .ca-study-example-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
}
@media (max-width: 767px) {
  .ca-study-example-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
}
.ca-study-example-item {
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.ca-study-example-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.ca-study-example-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.ca-study-example-item:hover img {
  transform: scale(1.05);
}
.ca-study-detail-info-data {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 5px;
}
.ca-study-video {
  width: 100%;
  position: relative;
  margin-top: 20px;
}
.ca-study-video .ca-responsive-video-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #000000;
}
.ca-study-video .ca-responsive-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  background-color: #000000;
}
@media screen and (max-width: 767px) {
  .ca-study-video {
    margin-top: 15px;
  }
  .ca-study-video .ca-responsive-video-wrapper {
    border-radius: 8px;
  }
  .ca-study-video .ca-responsive-video-wrapper iframe {
    border-radius: 8px;
  }
}
.ca-study-short-intro-box, .ca-study-intro-box {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  gap: 20px;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .ca-study-short-intro-box, .ca-study-intro-box {
    flex-direction: column;
  }
}
.ca-study-short-intro-l, .ca-study-intro-l {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}
.ca-study-short-intro-r, .ca-study-intro-r {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ca-middle-section-2 {
  color: #333333;
}
.ca-middle-section-2 a {
  color: #333333;
}
.ca-middle-section-2 a:hover {
  color: #da002e;
}
.ca-middle-section-2 .study-accordion-header-box {
  color: #333333;
}
.ca-middle-section-2 .study-accordion-contents {
  color: #333333;
}
.ca-middle-section-2 .v-line {
  color: #333333;
}
.ca-middle-section-2 .study-curri-line {
  color: #333333;
}
.ca-middle-section-2 .study-curri-line:hover {
  background-color: #333333;
  color: #ffffff;
}
.study-accordion {
  width: 100%;
  margin-bottom: 20px;
}
.study-accordion-header-box {
  width: 100%;
  padding: 15px;
  background-color: #f6f6f6;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
}
.study-accordion-header-box:hover {
  background-color: #fbfbfb;
}
.study-accordion-header-box.active {
  background-color: #d9d9d9;
}
.study-curri-header-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.study-accordion-contents {
  display: none;
  padding: 20px;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-top: none;
  border-radius: 0 0 10px 10px;
}
.study-accordion-contents.active {
  display: block;
}
.ca-study-price-discounted {
  margin-right: 10px;
  font-size: 0.875rem;
}
.study-accordion-contents.active {
  display: block !important;
}
.study-accordion-header-box.active {
  background-color: #d9d9d9 !important;
}
.ca-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.ca-lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}
.ca-lightbox-close, .ca-lightbox-prev, .ca-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.ca-lightbox-close:hover, .ca-lightbox-prev:hover, .ca-lightbox-next:hover {
  background: white;
}
.ca-lightbox-close {
  top: -40px;
  right: -40px;
  font-size: 30px;
}
.ca-lightbox-prev {
  left: -60px;
  font-size: 30px;
}
.ca-lightbox-next {
  right: -60px;
  font-size: 30px;
}
.ca-lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .ca-lightbox-prev, .ca-lightbox-next {
    left: 10px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  .ca-lightbox-next {
    left: auto;
    right: 10px;
  }
  .ca-lightbox-close {
    top: 10px;
    right: 10px;
  }
}
