/* === Main Page === */
.main-sec.sec_01 img, .main-sec.sec_05 img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.main-sec.sec_02 ul.elementor-icon-list-items li{
    padding: 16px;
    background-color: var(--color-charcoal-medium);
    border-radius: 8px;
}

.main-sec.sec_03 img, .main-sec.sec_04 img{
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.main-sec.sec_04 .elementor-image-box-wrapper{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.main-sec.sec_04 .elementor-widget-image-box .elementor-image-box-content{
    width: fit-content;
}
.main-sec.sec_04 .elementor-image-box-title{
    text-wrap: nowrap;
}
.main-sec.sec_04 .img_sign img{
  margin-top: 10px;
}

/* 공통: 마퀴 캐러셀 래퍼 */
.main-sec.sec_09 .elementor-image-carousel,
.sub_hero .elementor-image-carousel {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    transition-delay: 0ms;
}

.main-sec.sec_08 .elementor-widget-button .elementor-button-icon svg {
    width: auto;
    height: 24px;
    aspect-ratio: 1 / 1;
}
.main-sec.sec_08 .elementor-widget-button .elementor-button span.elementor-button-icon:before{
    content:'';
    display: block;
    width: 0px;
    height: 0px;
    aspect-ratio: 1 / 1;
    background: url(https://seongmo.blank-x.com/wp-content/uploads/2025/11/ico-chevron-r-b.svg) center/contain no-repeat;
}
.main-sec.sec_08 button.e-n-tab-title{
    min-width: calc(100% / 6);
    font-weight: bold !important;
}

@media (hover:hover) {
    .main-sec.sec_08 .elementor-widget-button .elementor-button:hover span.elementor-button-icon:before{
        width: auto;
        height: 24px;
    }
    .main-sec.sec_08 .elementor-widget-button .elementor-button:hover svg{
        display: none;
    }
}
@media (max-width: 1024px){
    .main-sec.sec_08 button.e-n-tab-title{
        min-width: calc(100% / 3.5);
    }
}
@media (max-width: 767px){
    .main-sec.sec_08 button.e-n-tab-title{
        min-width: calc(100% / 2.5);
    }
}

/* ====================================================== */

/* === Sub Page Common === */
.page_nav_wrap .page_nav nav {
    overflow: hidden;
}
.page_nav_wrap .page_nav nav ul {
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}
.page_nav_wrap .page_nav nav ul li {
    min-width: 164px;
}
.page_nav_wrap .page_nav nav ul li a{
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    background-color: var(--color-charcoal-medium);
}
.page_nav_wrap .page_nav nav ul li a.elementor-item-active{
    background-color: var(--color-gold-primary);
}

body:not(.elementor-editor-active) .elementor-menu-anchor:before {
  content: '';
  display: block;
  visibility: hidden;
  pointer-events: none;
}
body:not(.elementor-editor-active) .anchor_120 .elementor-menu-anchor:before {
  height: calc(160px + 120px);
  margin: calc(-160px - 120px) 0 0;
}

@media (hover:hover){
    .page_nav_wrap .page_nav nav ul li a:hover{
        background-color: var(--color-gold-primary) !important;
    }
}
@media (max-width: 1024px){
    body:not(.elementor-editor-active) .anchor_120 .elementor-menu-anchor:before {
    height: calc(160px + 80px);
    margin: calc(-160px - 80px) 0 0;
    }
}
@media (max-width: 767px){
    .page_nav_wrap .page_nav nav ul{
        gap: 8px;
    }
    .page_nav_wrap .page_nav nav ul li {
        min-width: 150px;
    }
}

/* === Implant Advantages Page === */
.implant-sec.sec_01 img, .implant-sec.sec_02 img{
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
.implant-sec.sec_03 img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.implant-sec.sec_04 img, .implant-sec.sec_06 img{
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.implant-sec .sec_num h2{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.implant-sec .sec_num span.num{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    background-color: var(--color-gold-light);
    color: var(--color-charcoal-deep);
}

.implant-sec.sec_07 .elementor-widget-icon-list ul li, .general-sec.sec_07 .elementor-widget-icon-list ul li, .aesthetic-sec.sec_05 .elementor-widget-icon-list ul li{
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
}

/* === General Page === */
.general-sec.sec_05 .content_wrap img{
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
div[class*="sec_"] .e-n-accordion-item-title,
div[class*="sec_"] .e-n-accordion-item summary + div{
    position: relative;
}
div[class*="sec_"] .e-n-accordion-item-title:before,
div[class*="sec_"] .e-n-accordion-item summary + div:before{
    display: inline-block;
    position: absolute;
    left: 20px;
    font-size: clamp(16px, 14.29px + 0.48vw, 20px);
    font-weight: 700;
    line-height: 1.2;
}
div[class*="sec_"] .e-n-accordion-item-title:before{
    content:"Q.";
}
div[class*="sec_"] .e-n-accordion-item summary + div:before{
    content:"A.";
    top: 40px;
}
div[class*="sec_"] .e-n-accordion-item-title .e-n-accordion-item-title-header *{
    font-weight: 700 !important;
}
@media (max-width: 1024px){
    div[class*="sec_"] .e-n-accordion-item-title:before{
        top: 16px;
    }
    div[class*="sec_"] .e-n-accordion-item summary + div:before{
        top: 20px;
    }    
}

.aesthetic-sec.sec_02 .veneer_benefit_wrap .elementor-icon-box-title,
.aesthetic-sec.sec_03 .veneer_benefit_wrap .elementor-icon-box-title{
    font-weight: bold !important;
}


body.page-id-59 .swiper-slide figure {
  overflow: hidden;
  background: #0F0F0F;
  border-radius: 4px;
  aspect-ratio: 16/9;
}
body.page-id-59 .swiper-slide figure img {
  display: block;
  max-width: none;
  width: calc(100% + 1px) !important;
  margin-left: 1px;
  height: auto;
  object-fit: cover;
}

/* Table */
/* 성모치과 수가안내 스타일 */
.sungmo-price-wrap {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0F0F0F;
  padding: 120px 24px 160px;
  color: #EAEAEA;
}

.sungmo-price-wrap * {
  box-sizing: border-box;
}

.sungmo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 0 20px;
}

/* 섹션 타이틀 */
.sungmo-section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 24px;
}

/* 테이블 래퍼 - 모바일 가로 스크롤 */
.sungmo-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sungmo-table-scroll::-webkit-scrollbar {
  height: 6px;
}

.sungmo-table-scroll::-webkit-scrollbar-track {
  background: #2C2C2C;
  border-radius: 3px;
}

.sungmo-table-scroll::-webkit-scrollbar-thumb {
  background: #CBAF34;
  border-radius: 3px;
}

/* 테이블 스타일 */
.sungmo-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}

.sungmo-table th,
.sungmo-table td {
  padding: 20px 24px;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  vertical-align: middle;
  border: none;
}

/* 헤더 스타일 */
.sungmo-table thead th {
  background: #CBAF34;
  color: #0F0F0F;
  font-weight: 700;
  border-left: 1px solid #9D8025;
}

.sungmo-table thead th:first-child {
  border-left: none;
}

/* 바디 스타일 */
.sungmo-table tbody td {
  background: #2C2C2C;
  color: #EAEAEA;
  font-weight: 400;
  border-left: 1px solid var(--color-muted);
  border-top: 1px solid var(--color-muted);
  width: 25%;
}

.sungmo-table tbody tr:first-child td {
  border-top: none;
}
.sungmo-table tbody tr:first-child td:first-child {
  border-left: none;
}

.sungmo-table tbody td.first-col {
  border-left: none;
}

/* 가격 강조 */
.sungmo-table .price {
  color: #E5C55A;
  font-weight: 500;
}

/* 혜택 섹션 */
.sungmo-benefits {
  padding: 40px 0;
  text-align: center;
}

.sungmo-benefits-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #E5C55A;
  margin-bottom: 32px;
}

.sungmo-benefits-box {
  background: #2C2C2C;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.sungmo-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  line-height: 1.4;
  color: #FFFFFF;
}

.sungmo-benefit-check {
  width: 24px;
  height: 24px;
  border: 2.5px solid #E5C55A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sungmo-benefit-check svg {
  width: 14px;
  height: 14px;
  stroke: #E5C55A;
}

/* 반응형 */
@media (max-width: 1024px) {
    .sungmo-table tbody td {
        width: auto;
    }
    .sungmo-table thead th:first-child, .sungmo-table tbody td:first-child{
        width: 160px;
    }
    .sungmo-table thead th:nth-child(2){
        width: 240px;
    }
  .sungmo-price-wrap {
    padding: 80px 16px 100px;
  }
  
  .sungmo-inner {
    gap: 60px;
    padding: 0;
  }
  
  .sungmo-section-title {
    font-size: 24px;
  }
  
  .sungmo-benefits-title {
    font-size: 28px;
  }
  
  .sungmo-benefit-item {
    font-size: 18px;
  }
  
  .sungmo-benefits-box {
    padding: 24px 16px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .sungmo-price-wrap {
    padding: 60px 12px 80px;
  }
  
  .sungmo-inner {
    gap: 48px;
  }
  
  .sungmo-section-title {
    font-size: 22px;
    margin-bottom: 16px;
  }
  
  .sungmo-table th,
  .sungmo-table td {
    padding: 16px 18px;
    font-size: 16px;
  }
/* 
  .sungmo-table thead th:first-child, .sungmo-table tbody td:first-child{
    width: 120px;
  }
  .sungmo-table thead th:nth-child(2){
      width: 180px;
  }
  
  
  .sungmo-table {
    min-width: 680px;
  } */
  
  .sungmo-benefits-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .sungmo-benefits-box {
    padding: 24px 16px;
    gap: 16px;
    align-items: flex-start;
  }
  
  .sungmo-benefit-item {
    font-size: 16px;
    text-align: left;
  }
  
  .sungmo-benefit-check {
    width: 20px;
    height: 20px;
  }
  
  .sungmo-benefit-check svg {
    width: 12px;
    height: 12px;
  }
  .sungmo-table tbody tr:first-child td:first-child {
    display: none;
  }
  table thead:first-child tr:first-child th:first-child {
    display: none;
  }
  .sungmo-table tbody tr:first-child > td:nth-child(2), .sungmo-table tbody tr > td:nth-child(1) {
      border-left: none;
  }
  .sungmo-table {
    min-width: 100%;
    word-break: initial;
    white-space: break-spaces;
  }
  .sungmo-table thead th:nth-child(2){
    width: 40%;
  }
  .sungmo-table thead th:nth-child(3) {
    width: 25%;
  }
  .sungmo-table thead th:last-child {
    width: 35%;
  }
}

@media (max-width: 480px) {
  .sungmo-price-wrap {
    padding: 48px 10px 60px;
  }
  
  .sungmo-inner {
    gap: 40px;
  }
  
  .sungmo-section-title {
    font-size: 20px;
  }
  
  .sungmo-table th,
  .sungmo-table td {
    padding: 14px 12px;
    font-size: 13px;
  }
  
  .sungmo-benefits-box {
    padding: 20px 12px;
    gap: 14px;
    align-items: flex-start;
  }
  
  .sungmo-benefit-item {
    font-size: 14px;
  }
}

/* Policy */
.terms-of-service, .privacy-policy, .email-refusal {
  line-height: 1.6;
}
.terms-of-service h3, .privacy-policy h3, .email-refusal h3{
  margin-block: 1em 0.5em;
}

/* Anchor */
.elementor-element[id*='sec']{
  scroll-margin-top: 160px;
}
@media (max-width: 1024px){
  .elementor-element[id*='sec']{
    scroll-margin-top: 140px;
  }
}