.pill-menu-list,
.mobile-section,
.membership-section {
  display: none;
}

/* 임시 이미지 코드 */
.pl-slider-counter {
  display: none;
}

.prep-slide-wrap {
  position: relative;
  display: block;
}

/* 정중앙 배치 */
.prep-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  text-align: center;
  width: 100%;
  z-index: 2; 
  pointer-events: none;
}

/* 영문 타이틀 */
.prep-text-box .prep-title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  color: #1d1d1d;
  margin: 0 0 2px 0 !important;
  letter-spacing: -0.01em;
}

/* 국문 서브 텍스트 */
.prep-text-box .prep-desc {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin: 0 !important;
}

/* 매칭 텍스트 정중앙 배치 */
.match-prep-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 영문 타이틀 */
.match-prep-text-box .match-prep-title {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  color: #1d1d1d;
  margin: 0 0 2px 0 !important;
  letter-spacing: -0.01em;
}

/* 국문 서브 텍스트 */
.match-prep-text-box .match-prep-desc {
  font-size: 13px;
  font-weight: 400;
  color: #666;
  margin: 0 !important;
}

/* =========================================
   [상세 스토리 공통]
   ========================================= */
.detail-story-section {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 72px 300px;
  box-sizing: border-box;
}

/* 블록 공통 */
.story-block-01, .story-block-02, .story-block-03, 
.story-block-04, .story-block-05 {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* 이미지 공통 */
.pl-img-wrap { 
  width: 100%;
}

.pl-img-wrap img { 
  width: 100%; 
  height: auto; 
  display: block; 
  object-fit: cover;
}

/* 유틸리티 */
.pl-mb-0 { 
  margin-bottom: 0 !important;
}

/* 공통 타이포 */
.story-tag {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1d !important;
  display: block;
  margin-bottom: 18px;
  word-break: break-word;
}

.story-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 40px 0;
  word-break: keep-all;
}

.story-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333 !important;
  margin: 0;
  word-break: keep-all;
}

.story-desc.en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333 !important;
  margin: 18px 0 0 0;
  word-break: break-all;
}

/* 스와이퍼 슬라이 */
.pl-slider {
  width: 100% !important;
  overflow: hidden !important;
}

.pl-slider .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.pl-slider .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.pl-slider .swiper-slide img {
  width: 100% !important;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 컨트롤러 고정 */
.pl-slider-controls {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  position: relative !important; 
  margin-top: 18px !important;
  z-index: 50;
}

.pl-slider-counter {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1d;
  letter-spacing: 0.02em;
}

.pl-slider-counter .total { 
  color: #999 !important; 
}

.pl-slider-arrows { 
  display: flex; 
  gap: 18px; 
}

/* 화살표 */
.pl-slider-prev, .pl-slider-next {
  width: 10px; 
  height: 10px;
  background: url('https://pagelab.co.kr/wp-content/uploads/2026/05/icon_arrow_black.png') no-repeat center;
  background-size: 10px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.pl-slider-prev:hover, .pl-slider-next:hover { 
  opacity: 0.6; 
}

.pl-slider-prev { 
  transform: scaleX(-1); 
}

/* PC 도트 네비게이션 숨김 */
.pl-slider-pagination { 
  display: none !important; 
}

/* [슬라이드 전용 이미지 비율] 3번, 5번 블럭 */
.story-block-03 .pl-slider .swiper-slide img,
.story-block-05 .pl-slider .swiper-slide img {
  aspect-ratio: 3 / 4 !important; 
}

/* 블럭 비율 설정 */
.sb01-col-right .pl-img-wrap img {
  aspect-ratio: 4 / 3 !important; 
}

.sb02-col-left .pl-img-wrap img {
  aspect-ratio: 4 / 3 !important; 
}

.sb04-col-left .pl-img-wrap img {
  aspect-ratio: 3 / 4 !important; 
}

.sb05-col-left .pl-img-wrap-s img {
  aspect-ratio: 3 / 4 !important; 
}

/* 1. Block 레이아웃 */
.story-block-01 { 
  display: flex;
  justify-content: space-between;
  padding: 80px 0 0;
  margin-bottom: 240px;
}

.sb01-col-left {
  width: 42%;
  padding: 60px 0 0;
  display: flex;
  flex-direction: column;
}

.sb01-col-right { 
  width: 50%; 
}

/* 좌측 영역 */
.sb01-top-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #000;
  padding-top: 18px;
  margin-bottom: 26px;
}

.sb01-top-line .story-tag-01 {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1d !important;
  display: block;
  margin-bottom: 18px;
  word-break: break-word;
}

.story-title-01 {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0;
  word-break: keep-all;
}

.package-link {
  font-family: var(--font-en);
  display: inline-flex !important;
  width: max-content !important;
  align-items: center;
  text-decoration: none;
  color: #1d1d1d !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 240px;
}

.package-link .txt {
  position: relative;
  padding-bottom: 4px;
}

.package-link .txt::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #d3d3d3;
}

.package-link .txt::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #000; 
  z-index: 1;
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s ease-out; 
}

.package-link:hover .txt::before { 
  transform: scaleX(1); 
}

.package-link::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 2px 6px;
  background: url('https://pagelab.co.kr/wp-content/uploads/2026/05/sub_black_arrow.png') no-repeat center;
  background-size: contain;
}

.story-block-01 .desc-group {
  margin-top: 48px;
}

/* 2. Block 레이아웃 */
.story-block-02 { 
  margin-bottom: 200px;
}

.sb02-col-left { 
  width: 30%;
}

.sb02-col-right {
  width: 65%; 
  padding-top: 80px;
}

/* 3. Block 레이아웃 */
.story-block-03 { 
  display: flex;
  justify-content: space-between; 
  align-items: flex-end; 
  margin-bottom: 250px;
}

.sb03-col-left {
  width: 50%; 
  padding: 0;
}

.sb03-col-right { 
  width: 40%;
}

/* 4. Block 레이아웃 */
.story-block-04 { 
  align-items: flex-end;
  margin-bottom: 300px;
}

.sb04-col-left { 
  width: 55%;
}

.sb04-col-right {
  width: 45%; 
  padding-bottom: 0;
}

/* 5. Block 레이아웃 */
.sb05-col-left { 
  width: 50%;
}

.sb05-col-left .pl-img-wrap-s { 
  margin-bottom: 80px;
  width: 70%;
  overflow: hidden;
}

.sb05-col-right { 
  width: 50%;
}

.sb05-col-right .pl-img-wrap { 
  margin-top: 300px;
  position: relative;
}

.desc-group-5 {
  width: 90%;
}

/* 추천대상 */
.detail-match-section {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 240px 72px 200px;
  box-sizing: border-box;
  display: block !important;
}

.detail-match-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 1px;
  background-color: #e5e5e5;
}

.match-content-area {
  width: 100%;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* 타이틀 영역 */
.match-header {
  text-align: center;
  margin-bottom: 68px;
}

.match-main-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0;
}

/* 영문버튼 */

.match-slider-counter { 
  display: none; 
}

.match-top-controls { 
  display: contents; 
}

/* 버튼 가로 정렬 */

.match-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.match-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 60px;
}

.match-img-wrap {
  width: 340px;
  flex-shrink: 0;
}

.match-text-wrap {
  flex: 1;
  border-top: 1px solid #000;
  padding-top: 24px;
}

.match-title {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 12px 0;
}

.match-desc {
  width: 92%;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #333 !important;
  margin: 0 0 36px 0;
  word-break: keep-all;
}

.match-sub-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1d !important;
  margin-bottom: 10px;
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.match-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #333 !important;
  padding: 6px 20px;
  border: 1px solid #333;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.match-tag:hover {
  background-color: #000;
  color: #fff !important;
}

.detail-match-section .match-item:last-child {
  margin-bottom: 0 !important;
}

#match-wrap-en .match-title,
#match-wrap-en .match-desc,
#match-wrap-en .match-sub-title,
#match-wrap-en .match-tag { 
  font-family: var(--font-en) !important;
}

#match-wrap-en .match-main-title { 
  letter-spacing: -0.01em !important; 
}

/* 해상도(960px 이상)에서는 하단 컨트롤러가 보이지 않도록  */
@media (min-width: 960px) {
  .match-bottom-controls {
    display: none !important;
  }
}

/* ==========================================
   라인업 섹션
   ========================================== */
.detail-lineup-section {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 200px 72px;
  box-sizing: border-box;
  display: block !important;
}

.detail-lineup-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 1px;
  background-color: #e5e5e5;
}

.lineup-header {
  text-align: center;
  margin-bottom: 68px;
}

.lineup-main-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0;
}

/* 콘텐츠 영역 */
.lineup-content-area {
  position: relative;
  width: 100%;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

/* 우측 뷰 패키지 링크 */
.lineup-view-btn {
  position: absolute;
  top: -28px;
  right: 0 !important;
  z-index: 10;
  font-family: var(--font-en);
  display: inline-flex !important;
  width: max-content !important;
  align-items: center;
  text-decoration: none;
  color: #1d1d1d !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* 텍스트 영역 */
.lineup-view-btn .txt {
  position: relative;
  padding-bottom: 3px;
}

/* 회색 보더 */
.lineup-view-btn .txt::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #d3d3d3;
}

/* 검은색 보더 */
.lineup-view-btn .txt::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #000; 
  z-index: 1;
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s ease-out; 
}

.lineup-view-btn:hover .txt::before {
  transform: scaleX(1); 
}

/* 화살표 */
.lineup-view-btn::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 2px 6px;
  background: url('https://pagelab.co.kr/wp-content/uploads/2026/05/sub_black_arrow.png') no-repeat center;
  background-size: contain;
}

/* 지그재그 리스트 */
.lineup-list {
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.lineup-item {
  display: flex;
  align-items: center !important; 
  gap: 28px;
}

.lineup-img-wrap {
  width: 22%;
  aspect-ratio: 4 / 3!important;
  position: relative !important;
  overflow: hidden !important;
}

.lineup-img-wrap img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: unset !important;
}

.lineup-text-wrap {
  width: 75%;
  display: flex;
  flex-direction: column;
}

/* 좌측/우측 정렬 제어 */
.lineup-item.img-left .lineup-text-wrap {
  text-align: left;
}

.lineup-item.img-right .lineup-text-wrap {
  text-align: right;
}

.lineup-title {
  font-size: 18px !important;
  font-weight: 700;
  color: #1d1d1d !important;
  margin: 0 0 12px 0;
  word-break: keep-all;
}

.lineup-title span {
  font-size: 12px;
  font-weight: 500;
}

.lineup-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: #1d1d1d !important;
  margin: 0;
  word-break: break-all;
}

.lineup-bottom-controls { 
  display: none; 
}

/* 가격표 */
.detail-price-section {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 200px 72px;
  box-sizing: border-box;
  display: block !important;
  z-index: 1 !important;
}

.detail-price-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  height: 100%;
  background-color: #f9f9f9 !important;
  z-index: -1 !important;
}

.price-content-area {
  width: 100%;
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.price-header {
  text-align: center;
  margin-bottom: 68px;
}

.price-main-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0 0 18px 0;
}

.part-switcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.part-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.part-btn.active { 
  color: #1d1d1d !important; 
  font-weight: 700;
}

.part-switcher .divider { 
  color: #999; 
  font-size: 14px;
}

.price-list-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.list-header {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.list-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 60px;
}

.col-name { 
  flex: 1;
  text-align: left; 
}

.col-price { 
  width: 200px;
  flex-shrink: 0;
  text-align: left; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.list-header .col-name,
.list-header .col-price {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid #000;
}

.list-row .col-name,
.list-row .col-price {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.list-row .col-name { 
  font-size: 18px; 
  font-weight: 600; 
  color: #1d1d1d; 
}

.list-row .col-price { 
  font-size: 18px; 
  font-weight: 700; 
  color: #1d1d1d; 
}

.price-notice {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  text-align: left;
  margin-top: 18px;
}

.price-list-container + .price-list-container {
  margin-top: 68px;
}

/* 뉴스 */
.pagelab-news-container {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto; 
  padding: 200px 72px 200px;
  box-sizing: border-box;
  display: block !important;
}

.news-content-area { 
  width: 100%; 
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 68px;
}

.news-main-title {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #1d1d1d !important;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
}

.news-item {
  display: flex;
  align-items: flex-start; 
  gap: 28px;
  padding-bottom: 38px;
  border-bottom: 1px solid #e5e5e5 !important;
  min-width: 0;
}

.news-img-wrap { 
  width: 200px; 
  flex-shrink: 0; 
}

.news-text-wrap { 
  flex: 1; 
  min-width: 0; 
}

.news-category {
  font-size: 12px;
  font-weight: 400;
  color: #999 !important;
  display: block;
  margin-bottom: 6px;
}

.news-title {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.4;
  color: #1d1d1d !important;
  margin: 0 0 18px 0;
  text-decoration: none;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.news-meta {
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1d !important;
}

.news-bottom-action {
  display: flex; 
  justify-content: 
  flex-end; margin-top: 28px;
}

.news-view-all {
  font-family: var(--font-en);
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: #222 !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 0;
}

.news-view-all .txt {
  position: relative;
  padding-bottom: 4px;
}

.news-view-all .txt::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #d3d3d3;
}

.news-view-all .txt::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #000; 
  z-index: 1;
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s ease-out; 
}

.news-view-all:hover .txt::before { 
  transform: scaleX(1); 
}

.news-view-all::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 2px 6px;
  background: url('https://pagelab.co.kr/wp-content/uploads/2026/05/sub_black_arrow.png') no-repeat center;
  background-size: contain;
}

@media (max-width: 1024px) {
  .sb01-col-left { 
    padding: 40px 0 0 0; 
  }
  
  .match-desc {
    width: 100%;
  }
}

@media (max-width: 959px) {
  /* 공통 여백 및 헤더 */
  

  /* [모바일 전용] 하단 고정 내비게이션 */
  
  
  
  
  

  /* 상세 스토리 */
  .detail-story-section {
    max-width: 100%;
    padding: 0; 
  }
  
  .story-block-01, .story-block-03, .story-block-04 {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0;
    margin-bottom: 100px;
  }
  
  .story-block-02 {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 20px;
    margin-bottom: 100px;
  }
  
  .story-block-05 {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 20px 100px;
  }
  
  .sb01-col-left, .sb01-col-right, .sb02-col-left, .sb02-col-right,
  .sb03-col-left, .sb03-col-right, .sb04-col-left, .sb04-col-right,
  .sb05-col-left, .sb05-col-right {
    width: 100%;
    padding: 0;
  }
  
  .sb03-col-right, .sb04-col-right, .sb05-col-right { 
    order: -1; 
  }
  
  .story-block-02 .pl-img-wrap {
    width: 76%; 
  }
  
  .story-block-03 .pl-img-wrap,
  .story-block-04 .pl-img-wrap,
  .story-block-05 .pl-img-wrap { 
    width: 100%; 
  }

  /* 공통 타이포그래피 */
  .sb01-top-line .story-tag-01 {
    font-size: 12px; 
    margin-bottom: 0px !important; 
  }
  
  .story-tag { 
    font-size: 12px; 
    margin-bottom: 9px !important; 
  }
  
  .story-title-01, .story-title { 
    font-size: 23px !important; 
    margin: 0 0 20px 0; 
  }
  
  .story-desc { 
    font-size: 14px; 
    margin-bottom: 16px; 
  }
  
  .story-desc.en {
    font-size: 14px; 
    margin-top: 0; 
  }
  
  .story-desc br {
    display: none !important; 
  }
  
  /* 슬라이더 */
  .pl-slider {
    width: 100% !important;
  }
  
  .pl-slider .swiper-slide {
    width: 100% !important; 
    flex-shrink: 0 !important;
    height: auto;
  }
  
  .story-block-01 .pl-img-wrap img { 
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block; 
    object-fit: cover; 
    aspect-ratio: 4 / 3 !important;
  }
  
  .pl-slider-controls { 
    display: none !important; 
  }
  
  /* 1번 슬라이더 */
  .sb01-col-left, .sb01-col-right { 
    display: contents !important; 
  }
  
  .sb01-col-left > div:first-child { 
    display: contents !important; 
  }
  
  .story-block-01 .pl-img-wrap { 
    order: -1; 
    margin-bottom: 28px; 
    position: relative; 
    width: calc(100%) !important; 
    padding: 0 !important; 
    overflow: hidden;
  }

  
  /* 텍스트 및 버튼 순서 배열 */
  .sb01-top-line { 
    order: 2; 
    margin: 0 20px 9px;
    padding: 0;
    width: calc(100% - 40px);
    box-sizing: border-box;
    border-top: none;
  }
  
  .story-title-01 { 
    order: 3; 
    width: 100%; 
    padding: 0 20px; 
    box-sizing: border-box; 
  }
  
  .story-block-01 .desc-group { 
    order: 4; 
    width: 100%; 
    padding: 0 20px; 
    box-sizing: border-box;
    margin-top: 0;
  }
  
  .package-link { 
    display: none; 
    order: 5; 
    text-align: right; 
    margin-top: 38px; 
    width: 100%; 
    padding: 0 20px; 
    font-size: 12px;
    box-sizing: border-box;
  }
  
  .package-link::after {
    width: 8px;
    height: 8px;
    margin: 0 0 2px 6px;
  }

  /* 3.레이아웃 */
  .story-block-03 {
    display: flex;
    flex-direction: column;
    padding: 0 20px; 
    margin-bottom: 100px;
  }
  
  .sb03-col-left, .sb03-col-right { 
    display: contents; 
  }
  
  .story-block-03 .pl-img-wrap { 
    order: 1; 
    width: 60%; 
    margin-right: auto; 
    margin-bottom: 28px; 
  }
  
  .story-block-03 .story-tag { 
    order: 2; 
    text-align: left !important; 
    margin-right: auto; 
  }
  
  .story-block-03 .story-title { 
    order: 3; 
    text-align: left !important; 
    margin-right: auto; 
  }
  
  .story-block-03 .desc-group { 
    order: 4; 
    width: 100%; 
  }
  
  /* 4번 블럭 슬라이더 */
  .sb04-col-left, .sb04-col-right { display: contents !important; }
  .sb04-col-right > div:first-child { display: contents !important; }
  
  .story-block-04 .pl-img-wrap { 
    order: -1; 
    position: relative; 
    width: 80% !important;
    box-sizing: border-box;
    margin: 0 auto 28px 20px !important;
    overflow: hidden !important;
  }

  .story-block-04 .pl-slider {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
  }
  
  .story-block-04 .pl-slider .swiper-slide {
    width: 100% !important;
    padding-right: 0 !important;
  }
  
  .story-block-04 .pl-slider-pagination { 
    display: none !important; 
  }

  .story-block-04 .story-tag,
  .story-block-04 .story-title,
  .story-block-04 .desc-group {
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left !important;
    width: 100%;
    display: block; 
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* 5.레이아웃 */
  .story-block-05 { 
    display: grid !important;
    grid-template-columns: 4fr 6fr; 
    gap: 0 16px !important;
    padding: 0 20px 100px; 
  }

  .sb05-col-left, .sb05-col-right { 
    display: contents; 
  } 

  .story-block-05 .pl-img-wrap-s { 
    grid-column: 1 / 2;
    grid-row: 1;
    width: 100%; 
    margin: 0; 
    z-index: 1;
  }

  .story-block-05 .pl-img-wrap { 
    grid-column: 2 / 3;
    grid-row: 1;
    width: 100%; 
    margin: 0; 
    margin-top: 100px;
    z-index: 2;
  }
  
  /* 하단 텍스트 */
  .desc-group-5 {
    width: 100%;
  }
  .story-block-05 .story-tag { 
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 28px !important;
  }
  
  .story-block-05 .story-title { 
    grid-column: 1 / 3; 
    grid-row: 3;
  }
  
  .story-block-05 .desc-group-5 { 
    grid-column: 1 / 3; 
    grid-row: 4;
  }
  
  
  /* 추천대상 */
  .detail-match-section {
    padding: 100px 20px;
  }
  
  .detail-match-section::before {
    left: 20px;
    right: 20px;
  }
  
  /* 기존 카운터 숨김 */
  .match-top-controls .match-slider-counter {
    display: none !important;
  }
  
  /* 하단 컨트롤러 영역 */
  .match-bottom-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 38px;
    width: 100%;
  }

  /* 카운터 스타일 */
  .match-bottom-controls .match-slider-counter {
    display: block; 
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #1d1d1d;
    padding: 0;
  }

  .match-bottom-controls .match-slider-counter .total {
    color: #999 !important;
  }

  /* 화살표 버튼 스타일 */
  .match-slider-prev, .match-slider-next {
    width: 10px; 
    height: 10px;
    background: url('https://pagelab.co.kr/wp-content/uploads/2026/05/icon_arrow_black.png') no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
  }

  .match-slider-prev { 
    transform: scaleX(-1); 
  }

  .match-slider-prev:hover, .match-slider-next:hover {
    opacity: 0.5;
  }

  /* 모바일 언어 버튼 절대위치 해제 */
  
  
  

  
  
  /* 타이틀 영역 */
  .match-header {
    margin-bottom: 30px;
  }
  
  .match-main-title {
    font-size: 23px !important;
  }

  /* 슬라이더 레일로 변경 */
  .detail-match-section .match-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden !important; 
    align-items: flex-start !important; 
    transition: height 0.3s ease-out;
    gap: 0 !important; 
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 0;
  }
  
  .detail-match-section .match-list::-webkit-scrollbar {
    display: none;
  }

  .detail-match-section .match-list::after {
    display: none !important; 
  }

  .detail-match-section .match-item {
    flex: 0 0 100% !important; 
    max-width: 100% !important; 
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border: none;
    margin-bottom: 0 !important; 
    gap: 18px !important;
    height: auto !important;
  }
  
  .match-img-wrap { 
    width: 100%; 
  }
  
  .match-thumbnail {
    aspect-ratio: 4 / 3 !important; 
    object-fit: cover;
  }
  
  .detail-match-section .match-text-wrap {
    border: none;
    padding-top: 0;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease-in-out;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .detail-match-section .match-item.active .match-text-wrap {
    opacity: 1;
    pointer-events: auto;
  }

  .match-title {
    font-size: 16px !important;
    margin-bottom: 10px;
  }
  
  .match-desc {
    font-size: 14px;
  }
  
  .match-sub-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .match-tags {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
    overscroll-behavior-x: none;
    touch-action: pan-x pan-y;
  }
  
  .match-tags::-webkit-scrollbar {
    display: none;
  }
  
  .match-tag {
    padding: 5px 12px;
  }
  
  #match-wrap-en .match-title {
    line-height: 1.4;
  }
  
  
  /* 가격 섹션 */
  .detail-price-section { 
    padding: 100px 20px; 
  }
  
  .price-header { 
    margin-bottom: 30px; 
  }
  
  .price-main-title { 
    font-size: 23px !important; 
    margin: 0 0 10px 0; 
  }
  
  .part-switcher { 
    gap: 8px; 
  }
  
  .part-btn {
    font-size: 13px; 
  }

  .list-header, .list-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
  }

  .col-price {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .list-header .col-name, .list-header .col-price {
    font-size: 12px;
    padding-bottom: 6px;
  }
  
  .list-row .col-name, .list-row .col-price { 
    line-height: 1.4;
    padding: 14px 0; 
    font-size: 14px; 
  }
  
  .price-notice {
    font-size: 12px;
  }

  /* 뉴스 섹션 */
  .pagelab-news-container { 
    padding: 100px 20px 160px; 
  }
  
  .news-header { 
    margin-bottom: 30px; 
  }
  
  .news-main-title { 
    font-size: 23px !important; 
    text-align: center !important; 
    width: 100%; 
  }
  
  .news-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 28px; 
    margin: 0;
    overflow-x: visible; 
    scroll-snap-type: none;
  }
  
  .news-item { 
    display: flex; 
    flex-direction: row; 
    gap: 18px; 
    align-items: top; 
    padding-bottom: 18px;
    min-width: auto;
  }
  
  .news-img-wrap { 
    width: 42%; 
    flex-shrink: 0; 
    margin: 0 !important; 
  }
  
  .news-text-wrap { 
    width: 58%; 
    text-align: left !important; 
  }
  
  .news-category { 
    margin-bottom: 4px; 
  }
  
  .news-title { 
    font-size: 14px !important;
    margin-bottom: 12px;
    word-break: keep-all; 
    white-space: normal; 
    display: -webkit-box; -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; overflow: hidden;
  }
  
  .news-meta { 
    font-size: 12px; 
  }
  
  .news-view-all {
    font-size: 12px; 
  }
}

/* 정적 빌드: 섹션 언어 버튼은 헤더 전역 버튼으로 통합 */
.match-lang-sidebar { display: none !important; }


/* ===== 시술 상세 공통 보정 (2026-09-22) — details.extra_css 가 모든 시술 페이지 CSS 뒤에(페이지별 extra 보다 먼저) 자동 첨부 =====
   필러 양식에서 확정한 간격을 나머지 양식에 옮긴 것. 양식별 클래스가 있는 곳에만 걸리므로 다른 양식에는 영향 없음. PC 전용. */
@media (min-width: 960px) {
  /* 제목 위 영문 문구(story-tag) → 제목 간격 18 → 12 (전 시술 페이지) */
  .pl-main .story-tag { margin-bottom: 12px; }
  .sb01-top-line { margin-bottom: 12px; }                         /* 리쥬란형(4블록) 01: 상단 줄(문구) → 제목 26 → 12 */

  /* 사진 사이 간격 80 (의료진 사진 2장 나란한 곳은 원본 40 유지) */
  .sb05-images-flex { gap: 80px; }                                /* 온다형(5블록)·6블록형 05: 두 사진 30 → 80 */
  .sb05-desc-area { margin-left: calc(40% + 48px); width: calc(60% - 48px); }   /* 05 글 칸 = 오른쪽 사진 칸(왼쪽선·폭 일치; 원본 73% 폭은 컨테이너를 넘침) */
  .story-block-05:has(> .sb05-col-left) { gap: 80px; }            /* 리쥬란형 05: 사진 | 슬라이드 60 → 80 (:has 미지원 브라우저는 60 유지) */

  /* 사진 아래 글 간격 80 */
  .doc-top-row { margin-bottom: 80px; }                           /* 6블록형 의료진 사진·뉴스 → 글 120 → 80 */
}
/* 영문 제목 줄바꿈: 두 줄 이상이면 줄 길이를 고르게(text-wrap: balance) → "…Key / Doctor" 같은 한 단어 고아 줄 방지.
   미지원 브라우저(구형)는 기존 줄바꿈 유지. 국문은 pl-keep 수동 줄바꿈을 쓰므로 제외 (2026-09-22 사용자 요청) */
html[lang="en"] .pl-main .story-title,
html[lang="en"] .pl-main .story-title-d,
html[lang="en"] .pl-main .story-title-01,
html[lang="en"] .pl-main .match-main-title,
html[lang="en"] .pl-main .match-title,
html[lang="en"] .pl-main .price-main-title { text-wrap: balance; }

/* 시술 상세 제목 행간 1.3 → 1.4 — 국·영문 공통 (2026-09-22 사용자 확인: 영문 먼저, 이어서 국문도) */
.pl-main .story-title,
.pl-main .story-title-d,
.pl-main .story-title-01,
.pl-main .match-main-title,
.pl-main .price-main-title { line-height: 1.4; }
/* 01 제목(story-title-d)의 <br> 은 원본이 PC 에서 숨기지만, 지정 줄바꿈(pl-keep)은 영문 PC 에서도 살린다 */
html[lang="en"] .pl-main .story-title-d br.pl-keep { display: inline !important; }

/* 영문 페이지: 제목이 이미 영문이므로 제목 위 영문 문구를 숨김 (2026-09-22 사용자 요청) */
html[lang="en"] .pl-main .story-tag,
html[lang="en"] .sb01-top-line .story-tag-01:first-child { display: none; }
html[lang="en"] .sb01-top-line { justify-content: flex-end; }     /* 남는 브랜드명(예: Rejuran)은 오른쪽에 */

/* 시술 페이지가 없는 시너지 태그는 링크처럼 보이지 않게 (2026-09-28) */
.pl-main .match-tag[href="#"] { cursor: default; }

/* 밑줄 링크(회색 줄 + 검은 줄 채움)는 글자와 밑줄 사이 2px 로 통일 (2026-09-30 사용자: 링크 버튼 padding-bottom 2px, 밑줄 효과 공통) */
.news-view-all .txt,
.package-link .txt,
.lineup-view-btn .txt,
.pl-main .doctor-name strong { padding-bottom: 2px; }

/* 키닥터 이름 → 의료진 페이지 해당 원장 카드(#doctor-xxx) 링크, 밑줄 효과는 그대로 (2026-09-30 사용자) */
.pl-main .doctor-name strong a { color: inherit; text-decoration: none; }

/* 제목 자연스럽게 줄바꿈 — 단어 단위 + 줄 길이 고르게 (2026-09-30 사용자) */
.pl-main .hero-title,
.pl-main .story-title,
.pl-main .story-title-d,
.pl-main .story-title-01,
.pl-main .match-main-title,
.pl-main .match-title,
.pl-main .match-prep-title,
.pl-main .prep-title,
.pl-main .price-main-title { word-break: keep-all; text-wrap: balance; }
