/* ============================================
   공통 섹션 헤더 스타일 (Common Section Header)
   ============================================ */
.common-section-header {
  text-align: center;
  margin-bottom: 38px;
}

.common-section-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.common-section-badge span {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #1d1d1f;
}

.common-section-badge::before,
.common-section-badge::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
}

.common-section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.3;
  margin-bottom: 10px;
}

.common-section-header p {
  font-size: 17px;
  color: #666;
  line-height: 1.6;
}

/* 숏츠 섹션용 텍스트 (다른 섹션과 동일) */
.common-section-header.dark-bg h2 {
  color: #1d1d1f;
}

.common-section-header.dark-bg p {
  color: #666;
}

.common-section-header.dark-bg .common-section-badge span {
  color: #1d1d1f;
}

.common-section-header.dark-bg .common-section-badge::before,
.common-section-header.dark-bg .common-section-badge::after {
  background: linear-gradient(to right, transparent, rgba(51, 51, 51, 0.3), transparent);
}

/* 반응형 - 공통 섹션 헤더 */
@media (max-width: 768px) {
  .common-section-header {
    margin-bottom: 24px;
  }

  .common-section-badge {
    gap: 10px;
    margin-bottom: 10px;
  }

  .common-section-badge span {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .common-section-badge::before,
  .common-section-badge::after {
    width: 32px;
  }

  .common-section-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .common-section-header p {
    font-size: 13px;
  }
}

/* ============================================
   공통 CTA 버튼 스타일 (Common Section CTA)
   ============================================ */
.common-section-cta {
  margin-top: 32px;
  text-align: center;
}

.common-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 38px;
  background: linear-gradient(145deg, #34495E 0%, #2C3E50 50%, #1A252F 100%);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
  transition: all 0.3s ease;
}

.common-more-btn:hover {
  background: linear-gradient(145deg, #3D566E 0%, #34495E 50%, #2C3E50 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.45);
}

.common-more-btn .material-icons {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.common-more-btn:hover .material-icons {
  transform: translateX(4px);
}

/* 반응형 - 공통 CTA 버튼 */
@media (max-width: 768px) {
  .common-section-cta {
    margin-top: 24px;
  }

  .common-more-btn {
    padding: 13px 32px;
    font-size: 14px;
  }
}


/* 메인 슬라이드 배너 */
.main_banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main_banner .swiper {
  width: 100%;
  height: 79vh;
  margin-top: 80px;
}

.main_banner .swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.main_banner .swiper .swiper-wrapper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc,
.main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
  display: block;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
  display: none;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-content-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
  position: absolute;
  width: 70%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10%;
  color: #fff;
  font-size: 48px;
  font-weight: 400;
  z-index: 2;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
  margin: 0 0 16px 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-description {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 0 0 24px 0;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.main_banner .autoplay-progress {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
}

.main_banner .autoplay-progress .autoplay-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--point-color);
  transition: width 0s;
}

.main_banner .swiper .main-swiper-pagination {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  display: flex;
  justify-content: center;
}

.main_banner .swiper .main-swiper-pagination .swiper-pagination-bullet {
  transition: all 0.3s ease-in-out;
}

.main_banner .swiper .main-swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  width: 25px;
  border-radius: 10px;
}

/* 비디오 배너 스타일 */
.video-banner {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-video-pc {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-video-mobile {
  display: none;
}

.banner-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 사이드 메뉴 */
.aside {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 80px;
  transform: translateY(-50%);
  z-index: 100;
}

.side-menu {
  padding: 45px 10px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.side-menu li {
  text-align: center;
}

.side-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #595857;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  gap: 6px;
  border-radius: 10px;
  padding: 5px;
}

.side-menu a:hover {
  background: #F5F5F5;
}

.side-menu img {
  width: 38px;
  height: 38px;
}

/* 상담신청 버튼 (펄스 애니메이션) */
.side-menu-consultation .side-consultation-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff;
  font-size: 22px;
  animation: pulse-glow 2s infinite;
}

.side-menu-consultation a {
  color: #FF6B6B !important;
  font-weight: 700 !important;
}

/* 상담 문의 — 예약(상담신청)보다 한 단계 조용하게. 깜빡임 없음 */
.side-menu-inquiry .side-consultation-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C5DFA, #A78BFA);
  color: #fff;
  font-size: 22px;
}

.side-menu-inquiry a {
  color: #7C5DFA !important;
  font-weight: 700 !important;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
}

.btn-top {
  margin-top: 7px;
  margin-left: 20px;
}

.btn-top img {
  width: 43px;
  height: 43px;
}

/* 특화진료 */
.specialty-section {
  display: flex;
  align-items: stretch;
  max-width: 1536px;
  margin: 96px auto 0;
  padding-left: 12.5%;
  position: relative;
  gap: 48px;
  min-height: 336px;
  background: #fff;
  padding-bottom: 45px;
  overflow: hidden;
}

.specialty-title {
  width: 296px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.specialty-title h2 {
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 19px;
  color: #222;
  font-weight: 700;
  min-width: 176px;
}
.specialty-title p {
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}
.specialty-title-m {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 96px auto 8px;
}
.specialty-title-m h2 {
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 19px;
  color: #222;
  font-weight: 700;
  min-width: 176px;
}
.specialty-title-m p {
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}
.specialty-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* max-width: 320px; */
  padding-bottom: 13px;
}
.specialty-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: right;
  margin-bottom: 16px;
  cursor: pointer;
}
.specialty-label {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 0;
  cursor: pointer;
}

.specialty-section .specialty-swiper-pagination {
  top: auto !important;
  left: 12.5% !important;
  margin: 0 auto !important;
  bottom: 0;
  max-width: 1152px !important;
  height: 3px !important;
  border-radius: 3px;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #727272 !important;
  border-radius: 2px;
}

/* 갤러리 */
.gallery-section {
  max-width: 1216px;
  margin: 96px auto 0;
  padding: 0 32px;
  position: relative;
}

.gallery-top {
  margin-bottom: 48px;
  position: relative;
}

.gallery-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  z-index: 1;
}

.gallery-top ul {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  background: #fff;
}

.gallery-top li {
  position: relative;
}

.gallery-top li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.gallery-top a {
  display: block;
  padding: 10px 26px;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 32px;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-top a:hover {
  color: #222;
  background: #f8f8f8;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.gallery-top a.active {
  color: #fff;
  background: var(--point-color);
  border-color: var(--point-color);
  transform: translateY(-2px);
}

.gallery-top a.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--point-color);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gallery-bottom {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 19px;
  width: 100%;
  padding: 0 16px;
}

.gallery-item {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.gallery-item .category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.gallery-item:hover .category-badge {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1.4;
  object-fit: cover;
}

.gallery-label {
  padding: 8px 0;
  font-size: 13px;
  color: #1d1d1f;
  width: 100%;
  text-align: center;
}

/* 갤러리 아이템 호버 효과 */
.gallery-item {
  cursor: pointer;
}

.gallery-item {
  position: relative;
}

.gallery-item img {
  position: relative;
  z-index: 1;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  z-index: 2;
  transition: all 0.3s ease;
}

.gallery-item:hover::before {
  width: 100%;
  height: 100%;
  border-color: var(--point-color);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 8px;
}

.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  z-index: 2;
  transition: all 0.3s ease 0.15s;
}

.gallery-item:hover::after {
  width: 100%;
  height: 100%;
  border-color: var(--point-color);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 8px;
}

.gallery-item:hover .gallery-label {
  color: var(--point-color);
}

/* 카테고리 제목 애니메이션 */
#galleryCategoryTitle {
  transition: opacity 0.3s ease;
}

/* 갤러리 아이템 이미지 스타일 */
.gallery-item img {
  border-radius: 8px;
}

/* 수술후기 섹션 */
/* ========================================
   수술후기 - 벤토 그리드 스타일
   ======================================== */
.review-section-bento {
  max-width: 1536px;
  margin: 64px auto 0;
  padding: 0 48px;
}

.review-bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.review-bento-header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-bento-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 19px;
  width: fit-content;
}

.review-bento-header h2 {
  font-size: 29px;
  font-weight: 800;
  color: #111;
  margin: 0;
  letter-spacing: -0.5px;
}

.review-bento-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-bento-more:hover {
  background: #333;
  transform: translateX(4px);
}

.review-bento-more svg {
  transition: transform 0.3s ease;
}

.review-bento-more:hover svg {
  transform: translateX(4px);
}

/* 균등 그리드 레이아웃 (4열) */
.review-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 176px;
  gap: 16px;
}

/* 균등 그리드 카드 아이템 */
.review-bento-item {
  display: block;
  position: relative;
}

/* 13번째 이후 카드 숨김 (12개만 표시) */
.review-bento-item:nth-child(n+13) {
  display: none;
}

/* 카드 공통 스타일 */
.review-bento-card {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: 100%;
}

/* 카드 이미지 */
.review-bento-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #222;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-bento-item:hover .review-bento-item-img {
  transform: scale(1.05);
}

/* 카드 오버레이 */
.review-bento-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 13px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-bento-item-tag {
  display: inline-flex;
  padding: 4px 10px;
  background: rgba(255, 107, 138, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  width: fit-content;
}

.review-bento-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.review-bento-item-date {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* NEW 뱃지 */
.review-bento-new {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: #ff6b8a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 3;
}

/* 기존 정보 영역 (하위호환) */
.review-bento-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #fff;
  flex-shrink: 0;
}

.review-bento-tag {
  display: inline-flex;
  padding: 4px 10px;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  width: fit-content;
}

.review-bento-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.review-bento-date {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}

/* 기존 review-section (하위 호환) */
.review-section {
  max-width: 1216px;
  margin: 96px auto 0;
  padding: 0 32px;
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.review-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-badge-title {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  width: fit-content;
}

.review-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.2;
}

.review-header h2 span {
  color: #ff6b8a;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.review-item {
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.review-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.review-item:hover .review-image img {
  transform: scale(1.08);
}

.review-item:hover .review-image-overlay {
  opacity: 1;
}

.review-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.review-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.review-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff6b8a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}

.review-content {
  padding: 16px;
}

.review-surgery {
  display: inline-block;
  padding: 4px 10px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-date {
  font-size: 13px;
  color: #9ca3af;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}

.review-rating .stars {
  color: #fbbf24;
  font-size: 12px;
  letter-spacing: -1px;
}

.review-rating .score {
  color: #6b7280;
  font-size: 12px;
}

.review-rating .material-icons {
  font-size: 16px;
}

/* Before & After */
.beforeafter-section {
  max-width: 1536px;
  margin: 96px auto 0;
  background: linear-gradient(180deg, #fdf2f8 0%, #fff 100%);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.beforeafter-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 32px;
}

.beforeafter-header .badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 24px;
  margin-bottom: 13px;
}

.beforeafter-header h2 {
  font-size: 29px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.beforeafter-header p {
  color: #6b7280;
  font-size: 13px;
}

.beforeafter-left {
  display: none;
}

.beforeafter-right {
  position: relative;
  max-width: 100%;
  width: 100%;
  transform: none;
  top: auto;
  left: auto;
  z-index: 2;
}

.beforeafter-info {
  display: none;
}

.beforeafter-swiper {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  background: transparent;
  position: relative;
  padding: 16px 32px 32px !important;
}
.beforeafter-swiper .swiper-wrapper {
  align-items: stretch;
  transition: none !important;
}
.beforeafter-swiper .swiper-slide {
  cursor: pointer;
  width: 224px !important;
  flex-shrink: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.ba-thumb {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  aspect-ratio: 360 / 280;
}
.ba-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-thumb.ba-locked .ba-lock span {
  text-decoration: underline;
}

/* 전후사진 카드 스타일 (개선) */
.ba-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.ba-card:hover {
  transform: translateY(-10px) translateZ(0);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ba-card-title {
  padding: 13px 13px 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
  background-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ba-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.ba-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ba-card:hover .ba-card-image img {
  transform: scale(1.05);
}

.ba-card-info {
  padding: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ba-card-labels {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.ba-label {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 600;
}

.ba-label.new {
  background: #fef2f2;
  color: #ef4444;
}

.ba-card-content {
  font-size: 11px;
  font-weight: 500;
  color: #1f2937;
  padding: 0 13px 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ba-card-surgery {
  font-size: 13px;
  color: #ff6b8a;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}

.ba-card-period {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.beforeafter-swiper-pagination {
  max-width: 1080px !important;
  top: auto !important;
  bottom: 0;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #727272 !important;
  border-radius: 2px;
}

/* ===== 전후사진 호버 갤러리 섹션 (수술후기 스타일 + 슬라이더) ===== */
.beforeafter-gallery-section {
  width: 100%;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 40px 38px 50px;
  position: relative;
  overflow: hidden;
}

.beforeafter-gallery-section > * {
  max-width: 1469px;
  margin-left: auto;
  margin-right: auto;
}

.beforeafter-gallery-section .specialty-gallery-header {
  margin-bottom: 32px;
}

.beforeafter-gallery-section .specialty-gallery-header .badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 24px;
  margin-bottom: 13px;
}

/* 전후사진 2줄 슬라이더 */
.beforeafter-dual-slider {
  width: 100%;
  max-width: 1469px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 13px 0;
  cursor: grab;
}
.beforeafter-dual-slider.dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}
.beforeafter-dual-slider.dragging .beforeafter-slider-item {
  pointer-events: none;
}

.beforeafter-slider-row {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.beforeafter-slider-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

.beforeafter-slider-item {
  width: 297px;
  height: 240px;
  flex-shrink: 0;
  cursor: pointer;
}

.beforeafter-gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
}

.ba-item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.beforeafter-gallery-item:hover .ba-item-bg img {
  transform: scale(1.08);
  filter: brightness(0.35);
}

.ba-item-new {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 5;
}

/* 상단 title 영역 (평상시 표시, 호버 시 숨김) */
.ba-item-title-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 13px 16px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  transition: opacity 0.4s ease;
  z-index: 3;
}

.ba-item-title-bar .ba-item-title-text {
  color: #FFF5DC;
  font-size: 14px;
  font-weight: 500;
  display: block;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beforeafter-gallery-item:hover .ba-item-title-bar {
  opacity: 0;
}

.ba-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  transition: opacity 0.4s ease;
}

.ba-item-content .ba-item-tag {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 4px;
}

.beforeafter-gallery-item:hover .ba-item-content {
  opacity: 0;
}

.ba-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

.beforeafter-gallery-item:hover .ba-item-overlay {
  opacity: 1;
}

.ba-item-overlay .ba-item-tag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.ba-item-overlay .ba-item-title {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ba-item-overlay .ba-item-period {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-bottom: 16px;
}

.ba-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.ba-detail-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.ba-detail-btn .material-icons {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.ba-detail-btn:hover .material-icons {
  transform: translateX(3px);
}

/* ===== 셀피 카드 스택 섹션 ===== */
.selfie-stack-section {
  width: 100%;
  margin: 0 auto 0;
  padding: 40px 38px 64px;
  background: #f8f9fa;
  overflow: visible;
}

.selfie-stack-section > * {
  max-width: 1469px;
  margin-left: auto;
  margin-right: auto;
}

/* 3D 캐러셀 컨테이너 */
.selfie-carousel-container {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  cursor: grab;
  user-select: none;
}

.selfie-carousel-container.dragging {
  cursor: grabbing;
}

.selfie-carousel-container.dragging .selfie-carousel-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 캐러셀 뷰포트 */
.selfie-carousel {
  width: 100%;
  max-width: 1469px;
  height: 100%;
  perspective: 1200px;
  overflow: visible;
  position: relative;
}

/* 캐러셀 트랙 */
.selfie-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

/* 캐러셀 카드 */
.selfie-carousel-card {
  position: absolute;
  width: 417px;
  height: 428px;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: -210px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  opacity: 0;
  pointer-events: none;
}

/* 중앙 활성 카드 - 확대 효과 */
.selfie-carousel-card.active {
  transform: translateX(0) translateZ(50px) rotateY(0) scale(1.15);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.selfie-carousel-card.active:hover {
  transform: translateX(0) translateZ(50px) rotateY(0) scale(1.2);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

/* 왼쪽 카드 */
.selfie-carousel-card.prev {
  transform: translateX(-350px) translateZ(-150px) rotateY(25deg);
  opacity: 0.8;
  z-index: 5;
  pointer-events: auto;
}

.selfie-carousel-card.prev-2 {
  transform: translateX(-550px) translateZ(-300px) rotateY(35deg);
  opacity: 0.5;
  z-index: 3;
  pointer-events: auto;
}

/* 오른쪽 카드 */
.selfie-carousel-card.next {
  transform: translateX(350px) translateZ(-150px) rotateY(-25deg);
  opacity: 0.8;
  z-index: 5;
  pointer-events: auto;
}

.selfie-carousel-card.next-2 {
  transform: translateX(550px) translateZ(-300px) rotateY(-35deg);
  opacity: 0.5;
  z-index: 3;
  pointer-events: auto;
}

/* 숨겨진 카드 */
.selfie-carousel-card.hidden {
  transform: translateX(0) translateZ(-500px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* 네비게이션 버튼 */
.selfie-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
}

.selfie-carousel-nav:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.selfie-carousel-nav:hover .material-symbols-outlined {
  color: #fff;
}

.selfie-carousel-nav .material-symbols-outlined {
  font-size: 28px;
  color: #1d1d1f;
  transition: color 0.3s ease;
}

.selfie-carousel-prev {
  left: 50px;
}

.selfie-carousel-next {
  right: 50px;
}

/* 인디케이터 */
.selfie-carousel-indicators {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.selfie-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.selfie-carousel-dot:hover {
  background: #bbb;
}

.selfie-carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 기존 스택 스타일 (하위 호환성) */
.selfie-stack-container {
  display: none;
}

.selfie-card-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.selfie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.selfie-stack-card:hover .selfie-card-image img {
  transform: scale(1.05);
}

.selfie-card-info {
  padding: 6px 20px 18px;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  /* 아래 3줄 추가 */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.selfie-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
}

.selfie-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.selfie-card-date {
  font-size: 12px;
  color: #888;
}

/* 네비게이션 버튼 */
.selfie-stack-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.selfie-stack-nav:hover {
  background: #f8f9fa;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.selfie-stack-nav .material-symbols-outlined {
  font-size: 28px;
  color: #1d1d1f;
}

.selfie-stack-prev {
  left: 50px;
}

.selfie-stack-next {
  right: 50px;
}

/* 인디케이터 */
.selfie-stack-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.selfie-stack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.selfie-stack-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 셀피 데이터 없을 때 */
.selfie-gallery-empty {
  margin-top: 30px;
}

.selfie-gallery-empty .selfie-bg {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.selfie-gallery-empty .selfie-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* 기존 셀피 섹션 스타일 유지 (하위 호환성) */
.selfie-section {
  width: 100%;
  height: 100%;
  max-width: 1536px;
  margin: 96px auto 0;
  position: relative;
  overflow: hidden;
}
.selfie-bg {
  width: 100%;
  height: 100%;
  filter: brightness(0.7);
}
.selfie-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
}
.selfie-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 13px;
  letter-spacing: 2px;
}
.selfie-content p {
  font-size: 22px;
  margin-bottom: 19px;
}
.selfie-more {
  display: inline-block;
  padding: 8px 40px;
  border: 1px solid #fff;
  border-radius: 20px;
  color: #fff;
  font-size: 15px;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.selfie-more:hover {
  background: #fff;
  color: #222;
}

/* 리얼 변화 스토리 (비디오 카드) 섹션 */
.real-story-section {
  width: 100%;
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(180deg, #eff6ff 0%, #bfdbfe 100%);
}

.real-story-section .section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 24px;
  margin-bottom: 16px;
}

.real-story-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.real-story-section .section-title em {
  color: #ff6b8a;
  font-style: normal;
}

.real-story-section .section-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.real-story-swiper-container {
  position: relative;
  max-width: 1469px;
  margin: 0 auto;
}

/* 리얼 스토리 네비게이션 버튼 */
.real-story-swiper-button-prev,
.real-story-swiper-button-next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}
.real-story-swiper-button-prev:hover,
.real-story-swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.7);
}
/* active 슬라이드(360px) 바로 양 옆에 배치 */
.real-story-swiper-button-prev { left: calc(53% - 163px - 70px); }
.real-story-swiper-button-next { right: calc(53% - 163px - 70px); }
.real-story-swiper-button-prev::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-color: #fff;
  mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  -webkit-mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
}
.real-story-swiper-button-next::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-color: #fff;
  mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  -webkit-mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  transform: rotate(180deg);
}
.real-story-swiper-button-prev.swiper-button-disabled,
.real-story-swiper-button-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.real-story-swiper {
  overflow: hidden !important;
}

.real-story-swiper .swiper-slide {
  width: 288px !important;
  min-width: 256px;
  max-width: 288px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.6;
  transform: scale(0.85);
  filter: brightness(0.8);
}

/* 적응형 노출 — 슬라이드 개수 부족 시 자연스러운 배치 */
/* 1개일 때: 카드 폭 확대 + 단독 가운데 */
.real-story-swiper.shorts-1 .swiper-slide {
  width: 360px !important;
  min-width: 360px;
  max-width: 360px;
}
/* 2~3개일 때: Swiper centeredSlides가 가운데 정렬 처리 (justify-content는 transform과 충돌하므로 미사용) */
/* 2~3개일 때: navigation 화살표 숨김 (카드 적어 수동 이동 불필요, autoplay로 충분) */
.real-story-swiper.shorts-few ~ .real-story-swiper-button-prev,
.real-story-swiper.shorts-few ~ .real-story-swiper-button-next {
  display: none;
}

.real-story-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  filter: brightness(1);
}

.real-story-swiper .swiper-slide-active .video-card {
  box-shadow: 0 0 0 3px rgba(150, 180, 255, 0.4), 0 16px 48px rgba(100, 149, 237, 0.35);
}

/* 활성 슬라이드 좌우 1개씩은 중간 크기로 */
.real-story-swiper .swiper-slide-prev,
.real-story-swiper .swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.75;
  filter: brightness(0.9);
}

/* 비디오 카드 */
.video-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.video-card-thumbnail {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
}

.video-card-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 그라디언트 배경 */
.video-card-thumbnail.gradient-purple {
  background: linear-gradient(180deg, #a78bfa 0%, #ec4899 100%);
}

.video-card-thumbnail.gradient-pink {
  background: linear-gradient(180deg, #f472b6 0%, #fb923c 100%);
}

.video-card-thumbnail.gradient-cyan {
  background: linear-gradient(180deg, #22d3ee 0%, #34d399 100%);
}

.video-card-thumbnail.gradient-green {
  background: linear-gradient(180deg, #4ade80 0%, #a3e635 100%);
}

.video-card-thumbnail.gradient-orange {
  background: linear-gradient(180deg, #fb923c 0%, #fbbf24 100%);
}

.video-card-thumbnail.gradient-blue {
  background: linear-gradient(180deg, #60a5fa 0%, #a78bfa 100%);
}

/* 카드 상단 뱃지 영역 */
.video-card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-category.eye { color: #8b5cf6; }
.badge-category.nose { color: #f59e0b; }
.badge-category.contour { color: #ec4899; }
.badge-category.fat { color: #10b981; }
.badge-category.lifting { color: #3b82f6; }

.badge-category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #1f2937;
  color: #fff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 재생 버튼 */
.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 51px;
  height: 51px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  z-index: 2;
}

.video-card:hover .video-card-play {
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}

/* 카드 하단 타임라인 뱃지 */
.video-card-timeline {
  position: absolute;
  bottom: 20px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  z-index: 2;
}

.video-card-timeline .emoji {
  font-size: 16px;
}

/* 카드 정보 영역 */
.video-card-info {
  padding: 14px 13px;
  text-align: left;
  background: #fff;
}

.video-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 5px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card-subtitle {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 페이지네이션 - 쇼츠 fraction (PC/모바일 공통, 우측 하단 오버레이) */
.real-story-pagination {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: auto !important;
  width: auto !important;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 11px;
  color: #fff !important;
  z-index: 10;
  line-height: 1.6;
  margin: 0;
}
.real-story-pagination .swiper-pagination-current {
  color: #fff;
  font-weight: 600;
}
.real-story-pagination .swiper-pagination-total {
  color: rgba(255, 255, 255, 0.5);
}

/* 반응형 - 리얼 변화 스토리 */
@media (max-width: 1240px) {
  .real-story-section {
    padding: 48px 16px;
  }

  .real-story-swiper-container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .real-story-section {
    margin-top: 64px;
    padding: 40px 13px;
  }

  .real-story-section .section-title {
    font-size: 22px;
  }

  .real-story-section .section-subtitle {
    font-size: 11px;
    margin-bottom: 24px;
  }

  .real-story-swiper-container {
    padding: 0;
  }

  .real-story-swiper-button-prev,
  .real-story-swiper-button-next {
    display: none;
  }

  .real-story-swiper .swiper-slide {
    width: 224px !important;
    min-width: 224px;
    max-width: 224px;
  }

  .video-card-play {
    width: 40px;
    height: 40px;
  }

  .video-card-play::after {
    border-left-width: 13px;
    border-top-width: 8px;
    border-bottom-width: 8px;
  }

  .video-card-badges {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .badge-category {
    padding: 4px 8px;
    font-size: 8px;
  }

  .badge-brand {
    padding: 4px 8px;
    font-size: 8px;
  }

  .video-card-timeline {
    bottom: 11px;
    left: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .video-card-info {
    padding: 11px 10px;
  }

  .video-card-title {
    font-size: 11px;
  }

  .video-card-subtitle {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .real-story-swiper .swiper-slide {
    width: 192px !important;
    min-width: 192px;
    max-width: 192px;
  }
}

/* 쇼츠 모달 */
.shorts-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.shorts-modal.active {
  display: flex;
}

.shorts-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.shorts-modal-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2;
  max-width: 100%;
  padding: 20px;
}

/* 모달 네비게이션 버튼 */
.shorts-modal-nav {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.shorts-modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.shorts-modal-nav::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.shorts-modal-nav.prev::after {
  transform: rotate(135deg);
  margin-left: 6px;
}

.shorts-modal-nav.next::after {
  transform: rotate(-45deg);
  margin-right: 6px;
}

.shorts-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.shorts-modal-nav:disabled:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: none;
}

/* 모달 비디오 영역 */
.shorts-modal-video {
  width: 540px;
  height: 960px;
  max-height: calc(100vh - 80px);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.shorts-modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 모달 닫기 버튼 */
.shorts-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.shorts-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.shorts-modal-close::before,
.shorts-modal-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
}

.shorts-modal-close::before {
  transform: rotate(45deg);
}

.shorts-modal-close::after {
  transform: rotate(-45deg);
}

/* 모달 썸네일 프리뷰 (좌우 미리보기) */
.shorts-modal-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.shorts-modal-preview:hover {
  opacity: 0.8;
}

.shorts-modal-preview-item {
  width: 120px;
  height: 213px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.shorts-modal-preview-item:hover {
  transform: scale(1.05);
}

.shorts-modal-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shorts-modal-preview-item .preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shorts-modal-preview-item .preview-play {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shorts-modal-preview-item .preview-play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

/* 반응형 - 쇼츠 모달 */
@media (max-width: 1200px) {
  .shorts-modal-preview {
    display: none;
  }
}

@media (max-width: 768px) {
  .shorts-modal-container {
    padding: 10px;
  }

  .shorts-modal-video {
    width: 100%;
    max-width: 420px;
    height: calc(100vh - 100px);
    max-height: 750px;
  }

  .shorts-modal-nav {
    width: 44px;
    height: 44px;
  }

  .shorts-modal-nav::after {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .shorts-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .shorts-modal-close::before,
  .shorts-modal-close::after {
    width: 18px;
  }
}

@media (max-width: 480px) {
  .shorts-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
  }

  .shorts-modal-nav.prev {
    left: 5px;
  }

  .shorts-modal-nav.next {
    right: 5px;
  }

  .shorts-modal-video {
    max-width: 100%;
    height: calc(100vh - 80px);
    max-height: 680px;
  }
}

/* 유튜브 Shorts 영역 */
.shorts-section {
  max-width: 1536px;
  width: 100%;
  margin: 96px auto 0;
  text-align: center;
  position: relative;
  overflow: visible;
  padding-bottom: 160px;
  overflow: hidden;
}
.shorts-bg-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 112px;
  font-weight: 900;
  background: #FFECEB;
  height: 379px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.shorts-title {
  font-size: 38px;
  margin: 0 auto 32px auto;
  color: #222;
  position: relative;
  z-index: 2;
  background: transparent;
}
.shorts-swiper-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.shorts-swiper {
  max-width: 1536px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 656px;
  overflow: hidden;
}
.shorts-swiper .swiper-wrapper {
  /* justify-content: center; */
}
.shorts-swiper .swiper-slide {
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s, width 0.3s, height 0.3s;
  opacity: 0.5;
  filter: grayscale(0.3) blur(1px);
  pointer-events: none;
  transform: scale(0.8);
}
.shorts-swiper .swiper-slide-active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1.0);
  margin: 0 !important;
}
.shorts-video {
  width: 272px;
  height: 464px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: width 0.3s, height 0.3s;
}
.shorts-swiper .swiper-slide-active .shorts-video {
  width: 464px;
  height: 640px;
}

.shorts-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.shorts-swiper-button-prev,
.shorts-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  z-index: 10;
  border-radius: 50%;
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.shorts-swiper-button-prev {
  margin-right: 496px;
}
.shorts-swiper-button-next {
  margin-left: 496px;
}
.shorts-swiper-button-prev::before {
  content: '';
  background: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  width: 100%;
  height: 100%;
}
.shorts-swiper-button-next::before {
  content: '';
  background: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

/* 유튜브 Swiper */
.youtube-section {
  width: 100%;
  margin: 0 auto;
  padding: 64px 32px;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
}

.youtube-section > * {
  max-width: 1469px;
  margin-left: auto;
  margin-right: auto;
}

.youtube-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 32px;
}

.youtube-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff8a9b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.youtube-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.youtube-header h2 span {
  color: #ff6b8a;
}

.youtube-header .youtube-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 19px;
  background: #1f2937;
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.youtube-header .youtube-more-btn:hover {
  background: #374151;
  transform: translateY(-2px);
}

.youtube-title-main {
  font-size: 26px;
  margin: 0 0 32px 0;
  color: #1f2937;
  position: relative;
  z-index: 2;
  background: transparent;
  text-align: left;
  font-weight: 700;
}

.youtube-title-main span {
  color: #ff6b8a;
}

.youtube-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  padding-top: 30px;
}

/* 유튜브 섹션 우측 상단 전체보기 링크 (PC/MW 공통) */
.youtube-more-link {
  position: absolute;
  top: 4px;
  right: 4px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  z-index: 2;
}
.youtube-more-link:hover {
  color: #111827;
}
.youtube-more-link .arrow {
  transition: transform 0.2s;
}
.youtube-more-link:hover .arrow {
  transform: translateX(3px);
}

.youtube-player {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  background: #fff;
}

.youtube-player-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.youtube-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 유튜브 facade (커스텀 썸네일 + Play 버튼) — 클릭 시 iframe 으로 동적 교체 */
.youtube-facade {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.youtube-facade .youtube-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.youtube-facade .youtube-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.youtube-facade:hover .youtube-facade-play,
.youtube-facade:focus .youtube-facade-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}
.youtube-facade .youtube-facade-play svg {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-player-info {
  padding: 19px;
  width: 100%;
}

.youtube-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-list {
  max-height: 542px;
  width: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px;
}

.youtube-list::-webkit-scrollbar {
  width: 5px;
}

.youtube-list::-webkit-scrollbar-thumb {
  background: #55575a;
  border-radius: 4px;
}

.youtube-list::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

.youtube-list::-webkit-scrollbar-track {
  background: rgba(220, 20, 60, .1);  /*스크롤바 뒷 배경 색상*/
}

.youtube-list-item {
  display: flex;
  gap: 13px;
  cursor: pointer;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.youtube-list-item:hover,
.youtube-list-item.active {
  background: #fdf2f8;
  transform: translateX(8px);
}

.youtube-list-item .thumb-wrapper {
  flex: 0 0 112px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.youtube-list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.youtube-list-item:hover img {
  transform: scale(1.05);
}

.youtube-list-item .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.youtube-list-item:hover .play-overlay {
  opacity: 1;
}

.youtube-list-item .play-overlay .material-icons {
  color: #fff;
  font-size: 36px;
}

.youtube-list-item .play-overlay .play-icon {
  color: #fff;
  font-size: 24px;
}

.youtube-list-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.youtube-list-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-list-desc {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 이벤트 */
.event-section {
  max-width: 1458px;
  margin: 96px auto 0;
  overflow: clip;
  position: relative;
  min-height: 660px;
}

/* 이벤트 비어있을 때 placeholder */
.event-empty-placeholder {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9ca3af;
  background: #fafafa;
  border-radius: 12px;
  font-size: 16px;
  margin-top: 24px;
}
.event-empty-placeholder .empty-icon {
  font-size: 56px;
  opacity: 0.5;
}

.event-left {
  width: 472px;
  height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #1d1d1f;
  position: relative;
}
.event-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/surgery/event-thumb-c9377ec7bfda97fdd4156315d87163c0.jpg') no-repeat left center / cover;
  opacity: 0.5;
  z-index: -1;
}

.event-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
}

.event-desc {
  font-size: 13px;
  margin-bottom: 19px;
  color: #555;
}

.event-more {
  font-size: 12px;
  color: #888;
  text-decoration: underline;
}

.event-right {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 473px;
  height: 660px;
  display: flex;
  align-items: center;
}

.event-swiper {
  width: 100%;
}
.event-swiper .swiper-wrapper {
  align-items: center;
}
.event-swiper .swiper-slide {
  position: relative;
  cursor: pointer;
}
/* 데스크톱/태블릿 멀티카드 레이아웃 전용 폭 제약 (모바일은 Swiper가 폭 제어) */
@media (min-width: 768px) {
  .event-swiper .swiper-slide {
    max-width: 345px;
  }
  .event-swiper .swiper-slide-active,
  .event-swiper .swiper-slide-next {
    width: 100% !important;
  }
}
.event-swiper-pagination {
  max-width: 900px;
  text-align: center;
  top: auto !important;
  bottom: 0 !important;
  left: auto !important;
  right: 40% !important;
}
.event-swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--point-color);
  width: 30px;
  border-radius: 6px;
}

/* === 이벤트 카드 (변경: 정보 상시 노출) === */
.event-slide-card {
  height: 660px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}
.event-swiper .swiper-slide:hover .event-slide-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* 이미지 */
.event-slide-image {
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.event-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.event-swiper .swiper-slide:hover .event-slide-image img {
  transform: scale(1.05);
}
.event-swiper .swiper-slide-active .event-slide-image img {
  filter: brightness(1.05) saturate(1.1);
}

/* 정보 영역 (상시 노출) */
.event-slide-info {
  padding: 14px 18px 18px;
}
.event-slide-info .event-title {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-slide-info .event-date {
  font-size: 13px;
  color: #999;
}

/* === NEW 뱃지 — 프리미엄 골드 === */
.event-new-badge-wrap {
  padding: 12px 18px 2px;
}

/* 시작 전 이벤트 — NEW 자리에 '예정'을 대신 표시 (금색 강조와 구분되는 차분한 보라) */
.event-upcoming-badge {
  display: inline-flex;
  align-items: center;
  background: #6e56a8;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.event-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  background: linear-gradient(135deg, #C8943E 0%, #D4A853 25%, #F2D68A 50%, #D4A853 75%, #C8943E 100%);
  background-size: 300% 300%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 18px 4px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(120, 80, 20, 0.5);
  box-shadow: 0 2px 8px rgba(212, 168, 83, 0.45), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.1);
  animation: eventGoldShine 4s linear infinite;
  overflow: hidden;
}
.event-new-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: skewX(-25deg);
  animation: eventMetalSlide 3s ease-in-out infinite;
}
.event-new-badge::after {
  content: '✦';
  font-size: 10px;
  color: #FFF8E1;
  animation: eventStarTwinkle 2s ease-in-out infinite;
  text-shadow: 0 0 6px rgba(255, 248, 225, 0.8);
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
}
.event-new-badge .sparkle {
  position: absolute;
  width: 3px; height: 3px;
  background: radial-gradient(circle, #FFF8E1 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.event-new-badge .sparkle:nth-child(1) { top: 2px; left: 20%; animation: eventSparkle 2.5s ease-in-out infinite 0s; }
.event-new-badge .sparkle:nth-child(2) { top: 12px; left: 55%; animation: eventSparkle 3s ease-in-out infinite 0.8s; }
.event-new-badge .sparkle:nth-child(3) { top: 4px; left: 75%; animation: eventSparkle 2s ease-in-out infinite 1.5s; }
.event-swiper .swiper-slide:hover .event-new-badge {
  box-shadow: 0 4px 16px rgba(212,168,83,0.6), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(0,0,0,0.1), 0 0 20px rgba(242,214,138,0.3);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

@keyframes eventGoldShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes eventMetalSlide {
  0% { left: -100%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}
@keyframes eventStarTwinkle {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.4; transform: translateY(-50%) scale(0.6); }
}
@keyframes eventSparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  30% { opacity: 1; transform: translateY(-4px) scale(1); }
  70% { opacity: 0.6; transform: translateY(-2px) scale(0.8); }
}


/* 의료진 */
.doctor-section {
  max-width: 1536px;
  width: 100%;
  margin: 96px auto;
  padding: 0 32px;
  position: relative;
  min-height: 660px;
}
.doctor-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.doctor-desc {
  font-size: 18px;
  color: #888;
  margin-bottom: 26px;
  text-align: center;
}
.doctor-swiper {
  max-width: 1152px;
  width: 100%;
  position: relative;
  padding-bottom: 32px;
}
.doctor-swiper .swiper-wrapper {
  align-items: center;
}
.doctor-swiper .swiper-slide {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 500px;
  position: relative;
}
.doctor-swiper .swiper-slide img {
  height: 100%;
  object-fit: cover;
}
/* 의료진 메타정보 — 상시 노출 (기본: 배경 없음, 호버 시 그라데이션 살짝 등장) */
.doctor-info {
  position: absolute;
  inset: 0;
  background: transparent;
  color: #fff;
  padding: 0 0 40px 29px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  /* 텍스트 가독성: 이중 그림자 (윤곽선 + 후광) */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: background 0.35s ease;
}

.doctor-swiper .swiper-slide:hover .doctor-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
}
.doctor-role {
  font-size: 16px;
  margin-bottom: 4px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.doctor-name {
  font-size: 22px;
  margin-bottom: 3px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
}

.doctor-eng {
  font-size: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

/* 호버 시 정보 영역이 살짝 위로 떠오르는 미세 모션 */
.doctor-swiper .swiper-slide:hover .doctor-role,
.doctor-swiper .swiper-slide:hover .doctor-name,
.doctor-swiper .swiper-slide:hover .doctor-eng {
  transform: translateY(-2px);
}
/* selfie-carousel-nav와 100% 동일 디자인 (material-symbols-outlined 사용) */
.doctor-swiper-button-prev,
.doctor-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
}
.doctor-swiper-button-prev:hover,
.doctor-swiper-button-next:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}
.doctor-swiper-button-prev:hover .material-symbols-outlined,
.doctor-swiper-button-next:hover .material-symbols-outlined {
  color: #fff;
}
.doctor-swiper-button-prev .material-symbols-outlined,
.doctor-swiper-button-next .material-symbols-outlined {
  font-size: 28px;
  color: #1d1d1f;
  transition: color 0.3s ease;
}
.doctor-swiper-button-prev { left: 76px; }
.doctor-swiper-button-next { right: 76px; }




@media (max-width: 1240px) {
  /* 갤러리 */
  .gallery-section {
    padding: 0 16px;
  }

  .gallery-top ul {
    gap: 24px;
  }

  .gallery-top li:not(:last-child)::after {
    right: -12px;
    height: 14px;
  }

  .gallery-top a {
    font-size: 13px;
    padding: 11px 22px;
  }

  /* 수술후기 */
  .review-section {
    padding: 0 16px;
    margin-top: 80px;
  }

  .review-header h2 {
    font-size: 29px;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .review-image {
    height: 144px;
  }

  /* 수술후기 벤토 그리드 - 태블릿 */
  .review-section-bento {
    padding: 0 24px;
    margin-top: 48px;
  }

  .review-bento-header h2 {
    font-size: 24px;
  }

  /* 균등 그리드 - 태블릿 (3열) */
  .review-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 144px;
    gap: 13px;
  }

  .review-bento-item:nth-child(n+7) {
    display: none;
  }

  .review-bento-item-overlay {
    padding: 11px;
  }

  .review-bento-item-title {
    font-size: 10px;
  }

  /* Before & After */
  .beforeafter-section {
    padding: 80px 0 80px 32px;
  }
  .beforeafter-left {
    display: none;
  }
  .beforeafter-right {
    position: relative;
    left: auto;
    transform: none;
  }
  .beforeafter-swiper-pagination {
    width: 97% !important;
  }

  /* 이벤트 */
  .event-left {
    display: none;
  }
  .event-section {
    margin: 80px auto 0;
    padding-left: 32px;
    min-height: 600px;
  }
  .event-right {
    position: relative;
    left: auto;
    transform: none;
    top: auto;
    width: 100%;
    height: auto;
  }
  .event-slide-card {
    height: auto;
  }
  .event-empty-placeholder {
    min-height: 600px;
  }
  /* 의료진 — 의료진 카드 적정 크기로 축소 */
  .doctor-section {
    min-height: 600px;
  }
  .doctor-swiper .swiper-slide {
    height: 480px;
  }
}


@media (max-width: 1024px) {
  /* 메인 배너 모바일 fraction 페이지네이션 */
  .main_banner .swiper .main-swiper-pagination {
    bottom: 8px !important;
    right: 8px;
    left: auto !important;
    width: auto !important;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 4px 6px;
    font-size: 10px;
    color: #fff !important;
    z-index: 10;
    line-height: 1.6;
  }
  .main_banner .swiper .main-swiper-pagination .swiper-pagination-current {
    color: #fff;
    font-weight: 600;
  }
  .main_banner .swiper .main-swiper-pagination .swiper-pagination-total {
    color: rgba(255, 255, 255, 0.5);
  }

  /* 미디어 쇼츠 fraction 페이지네이션 (우측 하단 오버레이) */
  .real-story-pagination {
    position: absolute;
    bottom: 12px;
    right: 12px;
    left: auto !important;
    width: auto !important;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 4px 8px;
    font-size: 10px;
    color: #fff !important;
    z-index: 10;
    line-height: 1.6;
    margin: 0;
  }
  .real-story-pagination .swiper-pagination-current {
    color: #fff;
    font-weight: 600;
  }
  .real-story-pagination .swiper-pagination-total {
    color: rgba(255, 255, 255, 0.5);
  }

  /* 특화진료 */
  .specialty-section {
  	margin:0;
    padding-left: 32px;
  }
  .specialty-title {
    display: none;
  }
  .specialty-title-m {
    display: flex;
  }
  .specialty-section .specialty-swiper-pagination {
    left: 32px !important;
    width: 93% !important;
  }

  /* 유튜브 */
  .youtube-section {
    padding: 48px 32px;
  }
  .youtube-container {
    flex-direction: column;
  }
  .youtube-title, .youtube-desc {
    display: none;
  }
  .youtube-player {
    width: 100%;
    flex: 2;
    min-width: 300px;
  }

  .youtube-list {
    max-width: 100%;
  }

  /* 의료진 */
  .doctor-section {
    padding: 0 16px;
    margin: 64px auto;
    min-height: 520px;
  }
  .doctor-title {
    font-size: 22px;
  }
  .doctor-desc {
    font-size: 11px;
    margin-bottom: 19px;
  }
  .doctor-swiper .swiper-slide {
    height: 400px;
  }
  .doctor-role {
    font-size: 12px;
  }
  .doctor-name {
    font-size: 21px;
  }
  .doctor-eng {
    font-size: 12px;
  }

  /* 이벤트 */
  .event-section {
    margin: 64px auto 0;
    min-height: 520px;
  }
  .event-right {
    height: auto;
  }
  .event-slide-card {
    height: auto;
  }
  .event-empty-placeholder {
    min-height: 520px;
  }
  .event-slide-info {
    padding: 10px 14px 14px;
  }
  .event-slide-info .event-title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .event-slide-info .event-date {
    font-size: 11px;
  }
  .event-new-badge-wrap {
    padding: 10px 14px 2px;
  }
  .event-label {
    font-size: 12px;
  }
  .event-price {
    font-size: 19px;
  }
  .event-extra {
    font-size: 9px;
  }
}


@media (max-width: 768px) {
  .main_banner {
    aspect-ratio: unset;
    margin-top: 14px;
    box-sizing: border-box;
    height: auto;
  }

  .main_banner .swiper {
    height: auto;
    aspect-ratio: 860 / 960;
    margin-top: 70px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
    display: none;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
    display: block;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
    font-size: 24px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-title {
    font-size: 24px;
    line-height: 32px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-description {
    font-size: 14px;
    line-height: 20px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn {
    font-size: 12px;
    padding: 6px 12px;
    gap: 4px;
  }

  .main_banner .autoplay-progress {
    width: 100%;
  }

  .banner-video-pc {
    display: none;
  }

  .banner-video-mobile {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* 사이드 메뉴 */
  .aside {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
  }
  .side-menu {
    flex-direction: row;
    width: 100%;
    border-radius: 0;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ececec;
  }
  .side-menu li {
    width: 90px;
  }
  .side-menu a {
    font-size: 11px;
    padding: 2px 4px;
    transition: background 0.2s;
  }
  .side-menu a:hover {
    background: #f2f2f2;
    color: #222;
  }
  .side-menu img {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
  }
  .btn-top {
    display: none !important;
  }

  /* 특화진료 */
  .specialty-section {
    padding-left: 13px;
    margin:0;
  }
  .specialty-section .specialty-swiper-pagination {
    left: 13px !important;
  }

  /* 갤러리 */
  .gallery-section {
    padding: 0 13px;
    margin-top: 80px;
  }
  .gallery-top {
    margin-bottom: 32px;
  }
  .gallery-top ul {
    gap: 13px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-top li:not(:last-child)::after {
    display: none;
  }
  .gallery-top a {
    font-size: 11px;
    padding: 10px 16px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 13px;
    padding: 0;
  }
  .gallery-label {
    font-size: 10px;
  }

  .gallery-item .category-badge {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 8px;
  }

  /* 수술후기 */
  .review-section {
    padding: 0 13px;
    margin-top: 64px;
  }

  .review-header {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .review-badge-title {
    font-size: 9px;
    padding: 4px 10px;
  }

  .review-header h2 {
    font-size: 19px;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }

  .review-image {
    aspect-ratio: 4/3;
  }

  .review-badge {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 8px;
  }

  .review-content {
    padding: 11px;
  }

  .review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .review-title {
    font-size: 11px;
  }

  .review-surgery {
    font-size: 9px;
    padding: 2px 6px;
  }

  /* 수술후기 벤토 그리드 - 모바일 */
  .review-section-bento {
    padding: 0 13px;
    margin-top: 40px;
  }

  .review-bento-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
  }

  .review-bento-header h2 {
    font-size: 18px;
  }

  .review-bento-badge {
    font-size: 8px;
    padding: 5px 10px;
  }

  .review-bento-more {
    padding: 10px 16px;
    font-size: 10px;
  }

  /* 균등 그리드 - 모바일 (2열) */
  .review-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 112px;
    gap: 8px;
  }

  .review-bento-item:nth-child(n+7) {
    display: none;
  }

  .review-bento-card {
    border-radius: 10px;
  }

  .review-bento-new {
    top: 6px;
    left: 6px;
    padding: 3px 8px;
    font-size: 7px;
  }

  .review-bento-item-overlay {
    padding: 10px;
    gap: 3px;
  }

  .review-bento-item-tag {
    font-size: 7px;
    padding: 2px 6px;
  }

  .review-bento-item-title {
    font-size: 10px;
    -webkit-line-clamp: 1;
  }

  .review-bento-item-date {
    font-size: 8px;
  }

  .review-rating {
    font-size: 11px;
  }

  .review-rating .stars {
    font-size: 10px;
  }

  .review-date {
    font-size: 11px;
  }

  /* Before & After */
  .beforeafter-section {
    padding: 48px 0 48px 13px;
  }

  .beforeafter-header {
    padding: 0 13px;
    margin-bottom: 24px;
  }

  .beforeafter-header .badge {
    font-size: 9px;
    padding: 5px 13px;
  }

  .beforeafter-header h2 {
    font-size: 19px;
  }

  .beforeafter-header p {
    font-size: 11px;
  }

  .beforeafter-swiper .swiper-slide {
    width: 208px !important;
  }

  .ba-card-image {
    aspect-ratio: 4/3;
  }

  .ba-card-info {
    padding: 10px;
  }

  .ba-card-surgery {
    font-size: 10px;
  }

  .ba-card-period {
    font-size: 9px;
  }

  .ba-card-content {
    padding: 0 10px 10px;
    font-size: 10px;
  }

  /* 셀피 */
  /* 기존 셀피 섹션 반응형 */
  .selfie-section {
    margin-top: 80px;
  }
  .selfie-bg img {
    min-height: 400px;
    object-fit: cover;
  }
  .selfie-content h2 {
    font-size: 24px;
  }
  .selfie-content p {
    font-size: 16px;
  }
  .selfie-more {
    font-size: 13px;
  }

  /* Shorts */
  .shorts-section {
    margin-top: 80px;
    padding-bottom: 56px;
  }
  .shorts-title {
    font-size: 19px;
    margin-bottom: 0;
    padding-left: 13px;
  }
  .shorts-bg-text {
    height: 272px;
    font-size: 22px;
  }
  .shorts-swiper {
    height: 520px;
  }
  .shorts-video {
    width: 192px;
    height: 336px;
  }
  .shorts-swiper .swiper-slide-active .shorts-video {
    width: 272px;
    height: 480px;
  }
  .shorts-swiper .swiper-slide-active {
    margin: 0 !important;
  }
  .shorts-swiper .swiper-wrapper {
    justify-content: normal;
  }
  .shorts-swiper-button-prev {
    margin-right: 296px;
  }
  .shorts-swiper-button-next {
    margin-left: 296px;
  }

  /* 유튜브 */
  .youtube-section {
    padding: 40px 13px;
    margin-top: 64px;
  }

  .youtube-header {
    margin-bottom: 19px;
  }

  .youtube-badge {
    font-size: 9px;
    padding: 4px 10px;
  }

  .youtube-header h2 {
    font-size: 19px;
  }

  .youtube-title-main {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .youtube-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .youtube-player {
    border-radius: 13px;
  }

  .youtube-player-info {
    padding: 13px;
  }

  .youtube-title {
    font-size: 13px;
  }

  .youtube-desc {
    font-size: 10px;
  }

  .youtube-list {
    max-height: 240px;
  }

  .youtube-list-item {
    padding: 8px;
    gap: 10px;
  }

  .youtube-list-item .thumb-wrapper {
    flex: 0 0 80px;
  }

  .youtube-list-item:hover {
    transform: translateX(3px);
  }

  .youtube-list-title {
    font-size: 10px;
  }

  .youtube-list-desc {
    font-size: 9px;
  }

  /* 이벤트 */
  .event-section {
    margin: 64px auto 0;
    padding: 0 13px;
    min-height: 480px;
  }
  .event-right {
    height: auto;
  }
  .event-slide-card {
    height: auto;
  }
  .event-empty-placeholder {
    min-height: 480px;
  }
  .event-slide-info {
    padding: 10px 12px 14px;
  }
  .event-slide-info .event-title {
    font-size: 13px;
    margin-bottom: 3px;
  }
  .event-slide-info .event-date {
    font-size: 10px;
  }
  .event-new-badge-wrap {
    padding: 8px 12px 2px;
  }
  .event-new-badge {
    font-size: 10px;
    padding: 3px 14px 3px 10px;
  }
  .event-label {
    font-size: 10px;
  }
  .event-price {
    font-size: 16px;
  }
  .event-extra {
    font-size: 8px;
  }

  /* 의료진 */
  .doctor-section {
    padding: 0 13px;
    min-height: 480px;
  }
  .doctor-title {
    font-size: 21px;
    margin-bottom: 5px;
  }
  .doctor-desc {
    font-size: 11px;
    margin-bottom: 19px;
  }
  .doctor-swiper {
    padding-bottom: 22px;
  }
  .doctor-swiper .swiper-slide {
    height: 360px;
  }
  .doctor-role {
    font-size: 11px;
  }
  .doctor-name {
    font-size: 19px;
  }
  .doctor-eng {
    font-size: 11px;
  }
  /* 모바일 의료진 화살표 — selfie-carousel-nav와 동일 디자인 */
  .doctor-swiper-button-prev,
  .doctor-swiper-button-next {
    width: 40px;
    height: 40px;
  }
  .doctor-swiper-button-prev .material-symbols-outlined,
  .doctor-swiper-button-next .material-symbols-outlined {
    font-size: 24px;
  }
  .doctor-swiper-button-prev { left: 10px; }
  .doctor-swiper-button-next { right: 10px; }

  /* 상담 버튼 */
  .consultation {
    bottom: 70px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  /* 수술후기 */
  .review-header {
    justify-content: space-between;
    gap: 13px;
  }

  .review-header h2 {
    font-size: 19px;
    flex: 1;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-image {
    height: 160px;
  }
  
  /* 8개 아이템 중 4개만 표시 */
  .review-item:nth-child(n+5) {
    display: none;
  }

  /* 의료진 */
  .doctor-section {
    padding: 0 10px;
    margin: 48px auto;
    min-height: 480px;
  }
  .doctor-title {
    font-size: 18px;
    margin-bottom: 3px;
  }
  .doctor-desc {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .doctor-swiper {
    padding-bottom: 18px;
  }
  .doctor-swiper .swiper-slide {
    height: 360px;
  }
  .doctor-info {
    padding: 0 0 19px 14px;
  }
  .doctor-role {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .doctor-name {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .doctor-eng {
    font-size: 10px;
  }
  /* 모바일(480px) 의료진 화살표 — selfie-carousel-nav와 동일 사이즈 */
  .doctor-swiper-button-prev,
  .doctor-swiper-button-next {
    width: 36px;
    height: 36px;
  }
  .doctor-swiper-button-prev .material-symbols-outlined,
  .doctor-swiper-button-next .material-symbols-outlined {
    font-size: 20px;
  }
  .doctor-swiper-button-prev { left: 5px; }
  .doctor-swiper-button-next { right: 5px; }

  /* 이벤트 — 480px 통일 (카드 자체는 컨텐츠 자연 높이 유지) */
  .event-section {
    min-height: 480px;
  }
  .event-right {
    height: auto;
  }
  .event-slide-card {
    height: auto;
  }
  .event-empty-placeholder {
    min-height: 480px;
  }
}

/* 비로그인 사용자 블러 오버레이 */
.ba-card-image.blur-overlay-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.8);
}

.ba-card-image.blur-overlay-container > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-card-image .blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(0.85) contrast(1.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-card:hover .blur-overlay-container > img:first-child {
  opacity: 0.08;
  filter: blur(2px);
}

.ba-card:hover .blur-overlay {
  filter: brightness(0.75) contrast(1.15);
}

/* 비로그인: blur 카드에서 텍스트 요소 숨김 (이미지만 노출) */
.beforeafter-gallery-item:has(.blur-overlay-container) .ba-item-new,
.beforeafter-gallery-item:has(.blur-overlay-container) .ba-item-title-bar,
.beforeafter-gallery-item:has(.blur-overlay-container) .ba-item-content,
.beforeafter-gallery-item:has(.blur-overlay-container) .ba-item-overlay {
  display: none;
}

/* 비로그인 사용자 수술후기 블러 오버레이 */
.review-item-bg.blur-overlay-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.8);
}

.review-item-bg.blur-overlay-container > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-item-bg.blur-overlay-container .blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(0.85) contrast(1.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-gallery-item:hover .blur-overlay-container .blur-overlay {
  filter: brightness(0.75) contrast(1.15);
}

/* 비로그인: blur 리뷰카드에서 텍스트 요소 숨김 */
.review-gallery-item:has(.blur-overlay-container) .review-item-new,
.review-gallery-item:has(.blur-overlay-container) .review-item-title-bar,
.review-gallery-item:has(.blur-overlay-container) .review-item-content,
.review-gallery-item:has(.blur-overlay-container) .review-item-overlay {
  display: none;
}

/* ===== 특화진료 호버 갤러리 섹션 ===== */
.specialty-gallery-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 16px;
}

.specialty-gallery-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.specialty-gallery-header h2 {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #1d1d1f;
  margin: 0;
}

.specialty-gallery-header p {
  font-size: 28px;
  color: #888;
  margin: 8px 0 0 0;
  letter-spacing: 1px;
}

.specialty-gallery-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
}

.specialty-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.specialty-gallery-item {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.specialty-gallery-item:hover .gallery-item-bg img {
  transform: scale(1.08);
  filter: brightness(0.4);
}

.gallery-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  transition: opacity 0.4s ease;
}

.gallery-item-content h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.gallery-item-divider {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.specialty-gallery-item:hover .gallery-item-content {
  opacity: 0;
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
}

.specialty-gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px 0;
  letter-spacing: 2px;
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.gallery-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery-reserve-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.gallery-reserve-btn .material-icons {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.gallery-reserve-btn:hover .material-icons {
  transform: translateX(4px);
}

/* 하단 CTA 배너 */
.specialty-gallery-cta {
  margin-top: 40px;
  padding: 24px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-content .material-icons {
  font-size: 32px;
  color: #8C79B3;
}

.cta-content p {
  margin: 0;
  font-size: 17px;
  color: #1d1d1f;
  font-weight: 500;
}

.cta-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #8C79B3 0%, #6B5A8E 100%);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(140, 121, 179, 0.3);
}

.cta-reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 121, 179, 0.4);
}

.cta-reserve-btn .material-icons {
  font-size: 18px;
}

/* 호버 갤러리 반응형 */
@media (max-width: 768px) {
  .specialty-gallery-section {
    padding: 60px 16px;
  }

  .specialty-gallery-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }

  .specialty-gallery-header h2 {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .specialty-gallery-line {
    width: 40px;
  }

  .specialty-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .specialty-gallery-item {
    height: 260px;
  }

  .gallery-item-content h3,
  .gallery-item-overlay h3 {
    font-size: 22px;
  }

  .gallery-item-overlay p {
    font-size: 14px;
  }

  .gallery-reserve-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .specialty-gallery-cta {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    text-align: center;
  }

  .cta-content {
    flex-direction: column;
    gap: 8px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-reserve-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 시술후기 호버 갤러리 섹션 ===== */
.review-gallery-section {
  width: 100%;
  margin: 0 auto 0;
  padding: 40px 38px 50px;
  background: #f8f9fa;
}

.review-gallery-section > * {
  max-width: 1469px;
  margin-left: auto;
  margin-right: auto;
}

.review-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 13px;
}

/* PC: 더보기 버튼 숨김 (모바일 전용) */
.review-load-more-btn {
  display: none;
}

.review-gallery-item {
  position: relative;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
}

.review-item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.review-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.review-gallery-item:hover .review-item-bg img {
  transform: scale(1.08);
  filter: brightness(0.35);
}

.review-item-new {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  border-radius: 16px;
  letter-spacing: 0.5px;
  z-index: 5;
}

/* 상단 title 영역 (평상시 표시, 호버 시 숨김) */
.review-item-title-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 13px 16px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  transition: opacity 0.4s ease;
  z-index: 3;
}

.review-item-title-bar .review-item-title-text {
  color: #FFF5DC;
  font-size: 14px;
  font-weight: 500;
  display: block;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-gallery-item:hover .review-item-title-bar {
  opacity: 0;
}

.review-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  transition: opacity 0.4s ease;
}

.review-item-content .review-item-tag {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 4px;
}

.review-gallery-item:hover .review-item-content {
  opacity: 0;
}

.review-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
}

.review-gallery-item:hover .review-item-overlay {
  opacity: 1;
}

.review-item-overlay .review-item-tag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.review-item-overlay .review-item-title {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 5px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-item-overlay .review-item-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  margin-bottom: 13px;
}

.review-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.review-detail-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.review-detail-btn .material-icons {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.review-detail-btn:hover .material-icons {
  transform: translateX(3px);
}

/* 시술후기 갤러리 반응형 */
@media (max-width: 1024px) {
  .review-gallery-section {
    padding: 48px 24px;
    margin-top: 48px;
  }

  .review-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 144px;
    gap: 13px;
  }
}

@media (max-width: 768px) {
  .review-gallery-section {
    padding: 0px 13px 40px;
    margin-top: 20px;
  }

  .review-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 8px;
  }

  /* 모바일: 초기 4개만 노출, 나머지 숨김 */
  .review-gallery-grid .review-gallery-item:nth-child(n+5) {
    display: none;
  }
  .review-gallery-grid.show-all .review-gallery-item {
    display: block;
  }

  .review-item-content {
    padding: 10px;
  }

  .review-item-content .review-item-tag {
    font-size: 10px;
  }

  .review-item-overlay .review-item-title {
    font-size: 10px;
  }

  .review-detail-btn {
    padding: 5px 10px;
    font-size: 9px;
  }

  /* 더보기 버튼 */
  .review-load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 16px 0 0;
    padding: 14px;
    background: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .review-load-more-btn:active {
    background: #f9f9f9;
    border-color: #ccc;
  }
  .review-load-more-icon {
    font-size: 16px;
    font-weight: 700;
    color: var(--woman-rose-gold, #b76e79);
  }
  .review-load-more-btn.hidden {
    display: none;
  }

}

/* 전후사진 갤러리 반응형 */
@media (max-width: 1024px) {
  .beforeafter-gallery-section {
    padding: 60px 30px;
    margin-top: 60px;
  }

  .beforeafter-dual-slider { gap: 12px; }
  .beforeafter-slider-item { width: 310px; height: 180px; }
  .beforeafter-slider-track { gap: 16px; }
}

@media (max-width: 768px) {
  .beforeafter-gallery-section {
    padding: 0px 16px 40px;
    margin-top: 20px;
  }

  .beforeafter-dual-slider { gap: 10px; }
  .beforeafter-slider-item { width: 200px; height: 180px; }
  .beforeafter-slider-track { gap: 12px; }

  .ba-item-content {
    padding: 12px;
  }

  /* 모바일: 오버레이 + hover 효과 완전 비활성화 (탭 → 모달로 대체) */
  .ba-item-overlay {
    display: none !important;
  }
  .beforeafter-gallery-item:hover .ba-item-overlay {
    display: none !important;
    opacity: 0 !important;
  }
  .beforeafter-gallery-item:hover .ba-item-bg img {
    transform: none !important;
  }
  .beforeafter-gallery-item:hover .ba-item-title-bar {
    opacity: 1 !important;
  }
  .beforeafter-gallery-item:hover .ba-item-content {
    opacity: 1 !important;
  }

  .ba-item-content .ba-item-tag {
    font-size: 12px;
  }

}

/* 셀피 3D 캐러셀 반응형 (1200px) */
@media (max-width: 1200px) {
  .selfie-carousel-container {
    height: 520px;
  }
  .selfie-carousel-card {
    width: 280px;
    height: 380px;
    margin-left: -140px;
    margin-top: -190px;
  }
  .selfie-carousel-card.active {
    transform: translateX(0) translateZ(40px) rotateY(0) scale(1.12);
  }
  .selfie-carousel-card.active:hover {
    transform: translateX(0) translateZ(40px) rotateY(0) scale(1.17);
  }
  .selfie-carousel-card.prev {
    transform: translateX(-300px) translateZ(-120px) rotateY(25deg);
  }
  .selfie-carousel-card.prev-2 {
    transform: translateX(-480px) translateZ(-240px) rotateY(35deg);
  }
  .selfie-carousel-card.next {
    transform: translateX(300px) translateZ(-120px) rotateY(-25deg);
  }
  .selfie-carousel-card.next-2 {
    transform: translateX(480px) translateZ(-240px) rotateY(-35deg);
  }
  .selfie-card-image {
    height: 260px;
  }
  .selfie-carousel-prev {
    left: 30px;
  }
  .selfie-carousel-next {
    right: 30px;
  }
}

/* 셀피 3D 캐러셀 반응형 (1024px) */
@media (max-width: 1024px) {
  .selfie-stack-section {
    padding: 60px 30px;
    margin-top: 60px;
  }
  .selfie-carousel-container {
    height: 500px;
  }
  .selfie-carousel-card {
    width: 260px;
    height: 360px;
    margin-left: -130px;
    margin-top: -180px;
  }
  .selfie-carousel-card.active {
    transform: translateX(0) translateZ(30px) rotateY(0) scale(1.1);
  }
  .selfie-carousel-card.active:hover {
    transform: translateX(0) translateZ(30px) rotateY(0) scale(1.15);
  }
  .selfie-carousel-card.prev {
    transform: translateX(-250px) translateZ(-100px) rotateY(25deg);
  }
  .selfie-carousel-card.prev-2 {
    transform: translateX(-400px) translateZ(-200px) rotateY(35deg);
    opacity: 0.3;
  }
  .selfie-carousel-card.next {
    transform: translateX(250px) translateZ(-100px) rotateY(-25deg);
  }
  .selfie-carousel-card.next-2 {
    transform: translateX(400px) translateZ(-200px) rotateY(-35deg);
    opacity: 0.3;
  }
  .selfie-card-image {
    height: 240px;
  }
  .selfie-carousel-prev {
    left: 20px;
  }
  .selfie-carousel-next {
    right: 20px;
  }
}

/* 셀피 3D 캐러셀 반응형 (768px) */
@media (max-width: 768px) {
  .selfie-stack-section {
    padding: 0px 16px 50px;
    margin-top: 0;
  }
  .selfie-carousel-container {
    height: 460px;
  }
  .selfie-carousel {
    perspective: 800px;
  }
  .selfie-carousel-card {
    width: 240px;
    height: 340px;
    margin-left: -120px;
    margin-top: -170px;
  }
  .selfie-carousel-card.active {
    transform: translateX(0) translateZ(20px) rotateY(0) scale(1.08);
  }
  .selfie-carousel-card.active:hover {
    transform: translateX(0) translateZ(20px) rotateY(0) scale(1.12);
  }
  .selfie-carousel-card.prev {
    transform: translateX(-200px) translateZ(-80px) rotateY(30deg);
    opacity: 0.6;
  }
  .selfie-carousel-card.prev-2 {
    opacity: 0;
    pointer-events: none;
  }
  .selfie-carousel-card.next {
    transform: translateX(200px) translateZ(-80px) rotateY(-30deg);
    opacity: 0.6;
  }
  .selfie-carousel-card.next-2 {
    opacity: 0;
    pointer-events: none;
  }
  .selfie-card-image {
    height: 220px;
  }
  .selfie-card-info {
    padding: 16px;
  }
  .selfie-card-title {
    font-size: 14px;
  }
  .selfie-carousel-nav {
    width: 40px;
    height: 40px;
  }
  .selfie-carousel-nav .material-symbols-outlined {
    font-size: 24px;
  }
  .selfie-carousel-prev {
    left: 10px;
  }
  .selfie-carousel-next {
    right: 10px;
  }
  .selfie-gallery-empty .selfie-bg {
    height: 280px;
  }
}

/* 셀피 3D 캐러셀 반응형 (480px) */
@media (max-width: 480px) {
  .selfie-carousel-container {
    height: 350px;
  }
  .selfie-carousel-card {
    width: 220px;
    height: 270px;
    margin-left: -110px;
    margin-top: -155px;
  }
  .selfie-carousel-card.active {
    transform: translateX(0) translateZ(15px) rotateY(0) scale(1.05);
  }
  .selfie-carousel-card.active:hover {
    transform: translateX(0) translateZ(15px) rotateY(0) scale(1.28);
  }
  .selfie-carousel-card.prev {
    transform: translateX(-160px) translateZ(-60px) rotateY(30deg);
    opacity: 0.5;
  }
  .selfie-carousel-card.next {
    transform: translateX(160px) translateZ(-60px) rotateY(-30deg);
    opacity: 0.5;
  }
  .selfie-card-image {
    height: 166px;
  }
  .selfie-card-info {
    padding: 14px;
  }
  .selfie-card-tag {
    font-size: 10px;
    padding: 3px 10px;
  }
  .selfie-card-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .selfie-card-date {
    font-size: 11px;
  }
  .selfie-carousel-nav {
    width: 36px;
    height: 36px;
  }
  .selfie-carousel-nav .material-symbols-outlined {
    font-size: 20px;
  }
  .selfie-carousel-prev {
    left: 5px;
  }
  .selfie-carousel-next {
    right: 5px;
  }
  .selfie-carousel-indicators {
    bottom: -5px;
  }
  .selfie-carousel-dot {
    width: 6px;
    height: 6px;
  }
  .selfie-carousel-dot.active {
    width: 18px;
  }
}