/* title */

.common-page-header-image {
  width: 14px;
  height: 16px;
}

.common-page-header-navi {
  color: #1a1a1a;
  font-family: pretendard-bold;
  font-size: 16px;
  font-style: normal;
  line-height: 16px;
  vertical-align: middle;
}

.common-page-header-div {
  display: inline-block;
  height: 11px;
  margin-left: 8px;
  margin-right: 8px;
  border-left: 1px solid #777;
}

.common-page-header-combo-arrow {
  width: 16px;
  height: 16px;
}

@media screen and (min-width: 768px) {
  .common-page-header-title {
    color: #1a1a1a;
    font-family: pretendard-bold;
    font-size: 44px;
    font-style: normal;
    line-height: 140%;
  }

  .common-page-header {
    overflow: auto;
  }

  .common-page-header-title {
    float: left;
  }

  .common-page-header-navi {
    float: right;
    margin-top: 22px;
  }
}

@media screen and (max-width: 767px) {
  .common-page-header-title {
    color: #1a1a1a;
    font-family: pretendard-bold;
    font-size: 32px;
    font-style: normal;
    line-height: 140%;
  }

  .common-page-header-navi {
    margin-top: 22px;
  }
}

/* menu */

.common-page-header-tab-item {
  cursor: pointer;
  border-bottom: 2px solid #ffffff;
}

.common-page-header-tab-item-circle {
  background-color: #c1c3c7;
  color: #ffffff;
}

.common-page-header-tab-item.tab-on .common-page-header-tab-item-text,
.common-page-header-tab-item:hover .common-page-header-tab-item-text {
  color: #3283dc;
}

.common-page-header-tab-item.tab-on .common-page-header-tab-item-circle,
.common-page-header-tab-item:hover .common-page-header-tab-item-circle {
  background-color: #3283dc;
}

.common-page-header-tab-item.tab-on,
.common-page-header-tab-item:hover {
  border-bottom: 2px solid #3283dc;
}

@media screen and (min-width: 768px) {
  .common-page-header-tab {
    margin-top: 44px;
    margin-bottom: 40px;
    clear: both;
  }

  .common-page-header-tab-item {
    padding-left: 24px;
    padding-right: 24px;
    display: inline-block;
    line-height: 66px;
    vertical-align: middle;
  }

  .common-page-header-tab-item-text {
    font-family: pretendard-bold;
    color: #c1c3c7;
    font-size: 24px;
    font-style: normal;
    vertical-align: middle;
  }

  .common-page-header-tab-item-circle {
    display: inline-block;
    margin-left: 10px;
    border-radius: 12px;
    width: 24px;
    height: 24px;
    line-height: 24px;

    text-align: center;
    font-family: pretendard-medium;
    font-size: 13px;
    font-style: normal;
    vertical-align: middle;
  }
}
@media screen and (min-width: 768px) and (max-width: 1399px) {
  .common-page-header-tab {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 0;
    scrollbar-width: none;
  }
}
@media screen and (max-width: 767px) {
  .common-page-header-tab {
    margin-top: 20px;
    margin-bottom: 16px;
    height: 51px;
    clear: both;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
  }

  .common-page-header-tab::-webkit-scrollbar {
    display: none;
  }

  .common-page-header-tab-item {
    padding-left: 12px;
    padding-right: 12px;
    display: inline-block;
    line-height: 51px;
    vertical-align: middle;

    flex: 0 0 auto;
  }

  .common-page-header-tab-item-text {
    font-family: pretendard-bold;
    color: #c1c3c7;
    font-size: 18px;
    font-style: normal;
    vertical-align: middle;
  }

  .common-page-header-tab-item-circle {
    display: inline-block;
    margin-left: 10px;
    border-radius: 12px;
    width: 24px;
    height: 24px;
    line-height: 24px;

    text-align: center;
    font-family: pretendard-medium;
    font-size: 13px;
    font-style: normal;
    vertical-align: middle;
  }
}

/* course ing */

/* 상단 알림 배너 */
.page-course-alert-banner {
  border-radius: 16px;
  background: rgba(214, 49, 49, 0.1);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  color: #d63131;
  font-family: pretendard-medium;
  font-size: 14px;
  font-style: normal;
  line-height: 140%; /* 18.2px */
}

.page-course-icon {
  background-color: #d32f2f;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  flex-shrink: 0;
}

/* 카드 리스트 */
.page-course-course-card:first-child {
  border-top: 1px solid #c1c3c7;
}

.page-course-course-card {
  border-bottom: 1px solid #c1c3c7;
  display: flex;
  padding: 24px 12px;
  gap: 24px;
  margin-bottom: 20px;
  align-items: flex-start;
}

/* 이미지 영역 */
.page-course-card-image {
  flex: 0 0 254px;
  width: 254px;
  height: 0;
  padding-bottom: calc(254px * 0.558);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 텍스트 영역: 말줄임표를 위해 min-width: 0 설정 필요 */
.page-course-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0; /* Flex 자식 요소에서 말줄임표 작동을 위한 필수 설정 */
}

/* 타이틀 말줄임표 처리 */
.page-course-title {
  color: #454545;

  font-family: pretendard-bold;
  font-size: 20px;
  font-style: normal;
  height: 28px;
  line-height: 28px;

  /* 말줄임표 핵심 속성 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  margin-top: 14px;
  margin-bottom: 14px;

  display: block;
  width: 100%;
}

.page-course-badge {
  display: inline-block;
  width: fit-content;
  border-radius: 8px;
  background: #f79412;
  padding: 4px 8px;
  color: #fff;
  font-family: pretendard-medium;
  font-size: 14px;
  line-height: 140%;
  white-space: nowrap;
}

.page-course-info-row {
  display: inline-flex;
  align-items: center;
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
  width: fit-content;
  height: 28px;
  line-height: 28px;

  color: #5a5a5a;
  /* Desktop/Caption */
  font-family: pretendard-medium;
  font-size: 14px;
  font-style: normal;

  border-radius: 4px;
  background: #eeeff2;
}

.page-course-label {
  margin-right: 10px;

  color: #000;

  font-family: pretendard-medium;
  font-size: 14px;
  font-style: normal;
}

/* 진행률 바 */
.page-course-progress-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-course-progress-bar {
  width: 185px;
  height: 12px;
  background-color: #eeeff2;
  border-radius: 7px;
  overflow: hidden;
}

.page-course-progress-fill {
  height: 100%;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

/* 학습하기 버튼 */
.page-course-btn-study {
  background-color: #4a82d6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;

  color: #fff;

  font-family: pretendard-medium;
  font-size: 16px;
  font-style: normal;
  line-height: 48px;

  width: 240px;
  height: 48px;

  text-align: center;
}

@media screen and (min-width: 920px) {
  .page-course-btn-study {
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-100%);
  }
}

/* 모바일 버전 */
@media screen and (max-width: 919px) {
  .page-course-alert-banner {
    padding: 20px 18px;
    font-size: 13px;
  }

  .page-course-icon {
    width: 16px;
    height: 16px;
    font-size: 12px;
  }

  .page-course-course-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    gap: 20px;
  }

  .page-course-card-image {
    flex: 0 0 auto;
    width: 100%;
    height: 0;
    padding-bottom: 55.8%;
  }

  .page-course-badge {
    font-size: 13px;
  }

  .page-course-progress-bar {
    flex: 1;
  }

  .page-course-title {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 18px;
  }

  .page-course-info-row {
    margin-bottom: 20px;
    font-size: 13px;
    height: 26px;
    line-height: 26px;
  }

  .page-course-label {
    font-size: 13px;
  }

  .page-course-btn-study {
    width: 100%;
    font-size: 14px;
    line-height: 45px;
    height: 45px;
    margin-top: 20px;
  }
}

/* course end */

/* --- 학습 종료 상태 전용 스타일 --- */

/* 이미지 오버레이 (어둡게 처리 및 텍스트) */
.page-course-card-image {
  position: relative; /* 오버레이 배치를 위해 추가 */
  overflow: hidden;
}

.page-course-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* 어두운 투명도 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 16px;
}

.page-course-image-overlay p {
  color: #fff;
  font-family: pretendard-bold;
  font-size: 20px;
  line-height: 1.4;
}

/* 버튼 그룹 (PC 버전 레이아웃 유지) */
.page-course-btn-group {
  display: flex;
  gap: 12px;
}

/* 성적확인 버튼 (흰색 배경 + 파란색 테두리) */
.page-course-btn-score {
  flex: 1;
  height: 48px;
  line-height: 46px; /* 테두리 두께 고려 */
  border: 1px solid #3081ea;
  background-color: #fff;
  color: #3081ea;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

/* 수료증 발급 버튼 (파란색 배경) */
.page-course-btn-cert {
  flex: 1;
  height: 48px;
  line-height: 48px;
  border: none;
  background-color: #3081ea;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

/* 환불 버튼 (파란색 배경) */
.page-course-btn-cancel {
  flex: 1;
  height: 48px;
  line-height: 48px;
  border: none;
  background-color: #3081ea;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

/* --- 반응형 수정 --- */

@media screen and (min-width: 920px) {
  /* PC에서 버튼 그룹을 우측 하단에 고정 */
  .page-course-btn-group {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 330px; /* 두 버튼 합친 너비 */
  }
  .page-course-card-content {
  }
}

@media screen and (max-width: 919px) {
  .page-course-btn-group {
    width: 100%;
    margin-top: 20px;
  }
  .page-course-btn-score,
  .page-course-btn-cert,
  .page-course-btn-cancel {
    height: 45px;
    line-height: 43px;
    font-size: 14px;
  }

  .page-course-image-overlay p {
    font-size: 18px;
  }
}

.page-course-alert-banner.page-course-finished {
  background: #f4f9ff;
  color: #3081ea;
}

.page-course-finished .page-course-icon {
  background-color: #3081ea;
}

/* course like */

.page-course-top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-course-btn-delete {
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
  cursor: pointer;
}

.page-course-btn-delete-img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.page-course-btn-delete-text {
  color: #333;
  font-family: pretendard-bold;
  font-size: 16px;
  font-style: normal;
  vertical-align: middle;
}

@media screen and (max-width: 919px) {
  .page-course-btn-delete-img {
    width: 19px;
    height: 19px;
  }

  .page-course-btn-delete-text {
    color: #333;
    font-size: 14px;
  }
}

.page-course-progress-fill.bg-green {
  background-color: #5da147;
}
.page-course-progress-fill.bg-yellow {
  background-color: #fcb809;
}
.page-course-progress-fill.bg-blue {
  background-color: #3081ea;
}

/** mypage **/

.page-mypage {
  margin-top: 60px;
  position: relative;
}

/* 전체 박스 모델 초기화 */
.page-mypage-menu,
.page-mypage-menu * {
  box-sizing: border-box;
  text-decoration: none;
}

/* 메인 컨테이너 */
.page-mypage-menu {
  width: 240px;
  background: #ffffff; /* White */
  border: 1px solid #eeeff2; /* Gray-200 */
  border-radius: 16px;
  box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.07);
  padding: 32px 20px;
  display: inline-block;
  position: absolute;
}

.page-mypage-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 각 메뉴 그룹 */
.page-mypage-menu__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 8px;
}

/* 구분선 */
.page-mypage-menu__divider {
  height: 1px;
  width: 100%;
  background-color: #c1c3c7; /* Gray-400 */
  border: none;
}

/* 링크 공통 */
.page-mypage-menu__link {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 1. 타이틀 스타일 (결제내역, 1:1문의, 내 정보 관리)
  - Color: #1a1a1a (Black)
  - Weight: 700 -> Family: pretendard-bold
*/
.page-mypage-menu__link--title,
.page-mypage-menu__title {
  color: #1a1a1a;
  font-family: "pretendard-bold", sans-serif;
  font-size: 20px;
  line-height: 140%;
}

/* 3. 서브 링크 (로그아웃, 회원탈퇴)
  - Color: #333333 (Gray-800)
  - Weight: 500 -> Family: pretendard-medium
*/
.page-mypage-menu__link--sub {
  color: #333333;
  font-family: "pretendard-medium", sans-serif;
  font-size: 18px;
  line-height: 150%;
}

/* 2. 활성화 된 링크 (회원정보수정)
  - Color: #3283dc (Primary Blue)
  - Weight: 700 -> Family: pretendard-bold
*/
.page-mypage-menu__link--title:hover,
.page-mypage-menu__link--sub:hover,
.page-mypage-menu__link--active {
  color: #3283dc;
}

.page-mypage-content {
  position: relative;
  left: 320px;
  width: calc(100% - 320px);
  min-height: 405px;
}

@media screen and (min-width: 768px) and (max-width: 1399px) {
  .page-mypage {
    margin-top: 20px;
  }

  .page-mypage-menu {
    display: none;
  }

  .page-mypage-content {
    position: relative;
    left: 0;
    width: 100%;
    min-height: auto;
  }
}

@media screen and (max-width: 767px) {
  .page-mypage-menu {
    display: none;
  }

  .page-mypage-content {
    position: relative;
    left: 0;
    width: 100%;
    min-height: auto;
  }
}

/** page-training **/

.page-training-content {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .page-training-content {
    margin-top: 20px;
  }
}

/** user qna **/

/* =========================================
       [기본 설정]
       ========================================= */
.page-board-faq {
  font-family: "pretendard-medium", sans-serif;
  color: #333333;
  line-height: 1.5;
  width: 100%;
  background-color: #ffffff;
}

.page-board-faq * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.page-board-faq li {
  list-style: none;
}
.page-board-faq a {
  text-decoration: none;
  color: inherit;
}
/*.page-board-faq input, .page-board-faq select { font-family: inherit; font-size: inherit; }*/
.page-board-faq button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* 폰트 웨이트 */
.page-board-faq-fw-500 {
  font-family: "pretendard-medium", sans-serif;
}
.page-board-faq-fw-700 {
  font-family: "pretendard-bold", sans-serif;
}

/* 컨테이너 */
.page-board-faq-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px;
}

/* =========================================
   [섹션: 상단 툴바 (카테고리 + 검색)]
   ========================================= */
.page-board-faq-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: nowrap;
}

/* 카테고리 탭 */
.page-board-faq-tabs {
  display: flex;
  gap: 20px;
}
.page-board-faq-tab-item {
  width: 100px;
  height: 43px;
  line-height: 43px;
  font-family: "pretendard-medium", sans-serif;
  text-align: center;
  border-radius: 50px;
  border: 1px solid #3060bb;
  color: #3060bb;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-size: 18px;
}
.page-board-faq-tab-item:hover {
  background-color: #3283dc;
  color: #fff;
}
.page-board-faq-tab-item.active {
  background-color: #3283dc;
  color: #fff;
  border-color: #3283dc;
}

/* 검색 박스 */
.page-board-faq-search-box {
  display: flex;
  gap: 8px;
}
.page-board-faq-select {
  padding: 0 16px;
  height: 48px;
  border: 1px solid #c1c3c7;
  border-radius: 8px;
  min-width: 120px;
  color: #333;
  font-size: 16px;
}
.page-board-faq-input-wrap {
  position: relative;
  width: 300px;
}
.page-board-faq-input,
.page-board-faq-input:hover,
.page-board-faq-input:focus,
.page-board-faq-input:active {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 16px;
  border: 1px solid #c1c3c7;
  border-radius: 8px;
  color: #333;
  font-size: 16px;
}

.page-board-faq-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

/* =========================================
   [섹션: Q&A 목록 (박스형 분리)]
   ========================================= */
.page-board-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-board-faq-item {
  border: 1px solid #c1c3c7;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

/* 활성화(펼침) 상태 */
.page-board-faq-item.active {
  border-color: #3283dc;
  box-shadow: 0px 4px 12px rgba(50, 131, 220, 0.1);
}

/* 질문 (Header) */
.page-board-faq-header {
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #fff;
}
.page-board-faq-header:hover {
  background-color: #f9fbfe;
}

/* [수정] 질문 내용 래퍼: 가로 배치 */
.page-board-faq-q-wrap {
  display: flex;
  flex-direction: row; /* 한 줄 배치 */
  align-items: center;
  gap: 24px; /* 카테고리와 제목 사이 간격 */
  flex: 1;
  overflow: hidden;
}

.page-board-faq-category {
  font-size: 16px;
  color: #0950d1;
  white-space: nowrap; /* 줄바꿈 방지 */
  min-width: 60px;
}

.page-board-faq-subject {
  display: flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-board-faq-q-mark {
  color: #3060bb;
  font-size: 24px;
  line-height: 1.4;
}

.page-board-faq-title {
  font-size: 18px;
  color: #1a1a1a;
  line-height: 1.4;
}
.page-board-faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}
.page-board-faq-item.active .page-board-faq-arrow {
  transform: rotate(180deg);
}
/* 답변 (Body) */
.page-board-faq-body {
  background-color: #f6f7fa;
  padding: 24px 32px;
  display: none;
  font-size: 16px;
  color: #454545;
  line-height: 1.6;
  border-top: 1px solid #c1c3c7;
}
.page-board-faq-item.active .page-board-faq-body {
  display: block;
}

mark.hl {
  font-weight: 700;
  color: #3081ea;
  background: transparent;
}

/* =========================================
   [섹션: 페이지네이션]
   ========================================= */
.page-board-faq-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}
.page-board-faq-page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  color: #454545;
  cursor: pointer;
  border: 1px solid #e3e4e8;
  background-color: #fff;
}
.page-board-faq-page-btn:hover {
  background-color: #f0f0f0;
}
.page-board-faq-page-btn.active {
  background-color: #3283dc;
  color: #fff;
  border-color: #3283dc;
}

/* =========================================
   [모바일 반응형 스타일] (Max Width 1024px)
   ========================================= */
@media screen and (max-width: 1024px) {
  .page-board-faq-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .page-board-faq-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .page-board-faq-search-box {
    width: 100%;
    flex-direction: column;
  }
  .page-board-faq-select {
    width: 100%;
  }
  .page-board-faq-input-wrap {
    flex: none;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .page-board-faq-container {
  }

  .page-board-faq-tab-item {
    /*padding: 8px 16px;*/
    font-size: 14px;
  }

  /* 리스트 아이템 모바일 */
  .page-board-faq-header {
    padding: 30px 32px;
  }

  /* 모바일에서는 다시 세로 배치 */
  .page-board-faq-q-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-board-faq-subject {
    font-size: 16px;
    white-space: normal; /* 모바일은 줄바꿈 허용 */
    line-height: 1.5;
  }
  .page-board-faq-q-mark {
    font-size: 18px;
  }
  .page-board-faq-body {
    padding: 20px 16px;
    font-size: 14px;
  }
}

@media screen and (max-width: 360px) {
  .page-board-faq-search-box {
    flex-direction: column;
    width: 100%;
  }
  .page-board-faq-select {
    width: 100%;
  }
  .page-board-faq-input-wrap {
    width: 100%;
  }
}

.page-board-faq .pagination {
  margin-top: 60px;
}

.page-board-faq-list .no_data_message {
  font-family: pretendard-medium;
  font-size: 16px;
  padding-top: 150px;
  padding-bottom: 100px;
  text-align: center;
}

/** pagination **/

.pagination {
  margin-top: 60px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
}

.pagination .pagination-item {
  display: inline-block;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.pagination .pagination-item img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.pagination .pagination-item-number {
  color: #5a5a5a;
  /* Desktop/Body 2 */
  font-family: pretendard-medium;
  font-size: 16px;
  font-style: normal;
  margin-left: 4px;
  margin-right: 4px;
}

.pagination .pagination-item-number.pagination-item-number-current {
  border-radius: 48px;
  background: #3060bb;
  color: #fff;
  /* Desktop/Body 2 */
  font-family: pretendard-bold;
  font-size: 16px;
  font-style: normal;
  border-radius: 48px;
}

.pagination .pagination-item-arrow {
  margin-left: 4px;
  margin-right: 4px;
}

.pagination .pagination-item-arrow-left {
  margin-right: 8px;
}

.pagination .pagination-item-arrow-right {
  margin-left: 8px;
}

.pagination .pagination-item-ellipsis {
  display: inline-block;
  width: 32px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: pretendard-medium;
  font-size: 16px;
  color: #5a5a5a;
  cursor: default;
}

@media screen and (max-width: 768px) {
  .pagination {
    margin-top: 32px;
    height: auto;
    line-height: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .pagination .pagination-item {
    width: 32px;
    height: 32px;
  }

  .pagination .pagination-item-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-left: 2px;
    margin-right: 2px;
  }

  .pagination .pagination-item-number.pagination-item-number-current {
    font-size: 14px;
  }

  .pagination .pagination-item-arrow {
    margin-left: 2px;
    margin-right: 2px;
  }

  .pagination .pagination-item img {
    width: 20px;
    height: 20px;
  }

  .pagination .pagination-item-ellipsis {
    width: 24px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }
}
