/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 27 2026 | 16:58:36 */
@charset "utf-8"; /*
 page-main.css
 약어: mn=main, sp=specialist, int=intro, lnk=link, rvw=review, loc=location, sbj=subject
*/
.con-inner-board.line-x::before {
  background: var(--sub-color01);
  width: 110%;
}

/* ============================
 메인 전용 와이드 컨테이너
============================= */

.mn-con-wide {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--one-space-lg) var(--one-space-safe);
}

/* ============================
 Section 01 · 전문의 탭 (sp)
============================= */

.mn-sp-sec .con-inner {
  padding-bottom: var(--one-space-r);
}

.mn-sp-tab-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.mn-sp-tab-btn.round-btn {
  border-color: var(--gray-color02);
  color: var(--one-txt-color);
  margin: 0 -1em;
  letter-spacing: -0.01em;
  flex: 1;
  padding: var(--one-gap-xl) var(--one-gap-r);
  max-width: 12em;
}

/* ============================
 Section 02 · 인사말 (int)
============================= */

.mn-int-inner {
  align-items: flex-end;
  gap: var(--one-space-r);
}

.mn-int-txt {
  flex: 1;
}

.mn-int-txt h2 {
  margin-bottom: var(--one-space-s);
}

.mn-int-desc {
  display: flex;
  flex-direction: column;
  gap: var(--one-gap-xl);
}

.mn-int-img {
  flex: 0 0 50%;
  max-width: 40em;
}

/* ============================
 Section 03 · 지점 바로가기 (lnk)
 배경: mn-lnk-sec.bg-cv → background-image 적용
============================= */

.mn-lnk-sec {
  position: relative;
  overflow: hidden;
}

.mn-lnk-sec.bg-cv {
  background-image: url("/wp-content/uploads/2026/06/main-btn-bg.jpg");
}

.mn-lnk-sec .con-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--one-space-s);
  padding-bottom: var(--one-space-s);
}

.mn-lnk-btn-wrap {
  gap: var(--one-space-s);
  max-width: 1000px;
  margin: 0 auto;
  width: 80%;
}

.mn-lnk-btn.plus-icon-btn {
  border-color: var(--sub-color04);
  color: #fff;
  font-size: var(--one-p-tit);
}

.mn-lnk-btn.plus-icon-btn::after {
  color: #fff;
}

.mn-lnk-btn.plus-icon-btn:hover {
  background: var(--sub-color04);
  border-color: var(--sub-color04);
  color: var(--one-txt-color);
}

.mn-lnk-btn.plus-icon-btn:hover::after {
  color: var(--one-txt-color);
}

/* ============================
 Section 04 · 리뷰 (rvw)
============================= */
.mn-rvw-sec {
  background-color: #fff;
}

.mn-rvw-slide-wrap {
  position: relative;
  padding: 0 60px;
  margin-bottom: var(--one-space-s);
}

.mn-rvw-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 60px;
  height: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.mn-rvw-nav:hover {
  opacity: 0.7;
}

.mn-rvw-nav .img-box {
  width: 100%;
}

.mn-rvw-nav img {
  width: 100%;
  height: auto;
  display: block;
}

.mn-rvw-next img {
  transform: scaleX(-1);
}

.mn-rvw-prev {
  left: 8px;
}

.mn-rvw-next {
  right: 8px;
}

.mn-rvw-card {
  background: #f0f0f0;
  border-radius: 12px;
  padding: var(--one-gap-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transform: scale(0.82);
  transform-origin: center center;
  transition: transform 0.4s ease;
}

.mn-rvw-slide .swiper-wrapper {
  align-items: stretch;
}

.mn-rvw-slide .swiper-slide {
  height: auto;
}

/* 9줄 말줄임 */
.mn-rvw-txt {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  line-height: var(--one-lh-r);
  margin-bottom: var(--one-gap-lg);
}

.mn-rvw-footer {
  align-items: center;
  gap: var(--one-gap-sm);
}

.mn-rvw-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.mn-rvw-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mn-rvw-name {
  color: var(--one-txt-color02);
}

.mn-rvw-btn-wrap.f-row {
  justify-content: center;
  gap: var(--one-gap-lg);
}

.mn-rvw-btn.round-btn {
  border-color: var(--main-color);
  color: var(--main-color);
  padding: var(--one-gap-sm) var(--one-gap-xl);
  font-size: var(--one-caption);
}

.mn-rvw-btn.round-btn:hover {
  background: var(--sub-color01) !important;
  border-color: var(--sub-color01) !important;
  color: #fff !important;
}

/* ============================
 Section 05 · Locations (loc)
============================= */
.mn-loc-sec {
  background-color: #fff;
}

.mn-loc-hd {
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--one-gap-xl);
}

.mn-loc-row {
  display: flex;
  flex-direction: row;
  gap: var(--one-gap-r);
  min-height: 460px;
  align-items: stretch;
}

.mn-loc-item {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 40em;
}

.mn-loc-item.is-expanded {
  cursor: default;
}

.mn-loc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: var(--one-space-s) var(--one-gap-xl);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: auto;
}

.mn-loc-item.is-expanded .mn-loc-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mn-loc-ol-bg {
  position: absolute;
  inset: 0;
  background-color: var(--main-color);
  z-index: 0;
}

/* 다산점 배경 이미지 */
.mn-loc-item[data-loc-id="mn-ds"] .mn-loc-ol-bg {
  background-image: url("/wp-content/uploads/2026/06/mn-loc-ds-bg.jpg");
  background-size: cover;
  background-position: center;
}

/* 호평점 배경 이미지 */
.mn-loc-item[data-loc-id="mn-hp"] .mn-loc-ol-bg {
  background-image: url("/wp-content/uploads/2026/06/mn-loc-hp-bg.jpg");
  background-size: cover;
  background-position: center;
}

.mn-loc-ol-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(19, 33, 70, 0.45) 0%, rgba(19, 33, 70, 0.88) 100%);
}

.mn-loc-ol-txt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mn-loc-ol-name {
  color: rgba(255, 255, 255, 0.9);
  word-break: keep-all;
  line-height: var(--one-lh-lg);
  white-space: nowrap;
}

.mn-loc-ol-tel {
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--one-gap-xs);
  white-space: nowrap;
}

.mn-loc-tel-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: var(--one-icon-xl);
}

.mn-loc-tel-icon.off {
  max-width: var(--one-icon-r);
}

.mn-loc-tel-icon img,
.mn-loc-tel-icon svg {
  width: 100%;
  height: auto;
  display: block;
  fill: currentColor;
  color: currentColor;
}

.sub-time-hour.r {
  letter-spacing: 0.32em;
}

.sub-time-hour.wd {
  letter-spacing: 0.34em;
}

.mn-loc-overlay .mn-loc-tel-icon img {
  filter: brightness(0) invert(1);
}

.mn-loc-content {
  width: 100%;
  flex: 1;
  display: flex;
  visibility: visible;
  opacity: 1;
}

.mn-loc-content.is-hidden {
  visibility: hidden;
}

.mn-loc-txt-box {
  flex: 0 0 50%;
  position: relative;
  background: var(--sub-color04);
  overflow: hidden;
}

.mn-loc-txt-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--one-gap-xl);
  padding: var(--one-space-s) var(--one-gap-xl) var(--one-space-s) var(--one-space-r);
  overflow-y: auto;
  overflow-x: hidden;
}

.mn-loc-tel {
  margin-top: auto;
}

.mn-loc-branch-nm {
  word-break: keep-all;
  line-height: var(--one-lh-lg);
}

.mn-loc-addr p {
  word-break: keep-all;
  line-height: var(--one-lh-r);
}

.mn-loc-park {
  align-items: flex-start;
  gap: var(--one-gap-sm);
}

.mn-loc-park .badge {
  flex-shrink: 0;
  margin-top: 0.15em;
  font-size: 0.9em;
}

.mn-loc-txt-inner .sub-time-info {
  margin: 0;
}

.mn-loc-txt-inner .sub-time-content {
  flex-direction: column;
}

.mn-loc-txt-inner .sub-time-col {
  margin: 0;
  padding: 0;
  border-right: none;
}

.mn-loc-txt-inner .sub-time-row {
  gap: var(--one-gap-lg);
}

/* loc 내부 sub-time-day 너비 보정 */
.mn-loc-txt-inner .sub-time-day {
  width: 30%;
  min-width: 5.5em;
}

.mn-loc-txt-inner .mn-loc-tel .sub-time-phone {
  display: flex;
  align-items: center;
  gap: var(--one-gap-xs);
}

.mn-loc-map {
  flex: 1;
  position: relative;
  align-self: stretch;
}

.mn-loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mn-loc-item:not(.is-expanded) .mn-loc-map iframe {
  pointer-events: none;
}

/* ============================
 Section 06 · 진료과목 (sbj)
 약어: sbj = subject
============================= */
.mn-sbj-sec {
  background-color: #fff;
}

.mn-sbj-sec .con-inner {
  max-width: 1440px;
  padding-bottom: 98em;
}

.mn-sbj-inner {
  display: flex;
  flex-direction: row;
  gap: var(--one-space-r);
  align-items: flex-start;
}

.mn-sbj-hd {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: var(--one-gap-xl);
}

.mn-sbj-hd h2 {
  line-height: var(--one-lh-lg) !important;
}

.mn-sbj-list {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--one-gap-xl);
  align-items: flex-start;
}

/* 카드 — 50% (2컬럼) */
.mn-sbj-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: calc(50% - var(--one-gap-xl) / 2);
}

/* 짝수 카드 — 엇갈림 효과 */
.mn-sbj-card-even {
  margin-top: 80px;
  margin-bottom: -80px;
}

.mn-sbj-card-even:last-child {
  margin-bottom: 0;
}

.mn-sbj-img-wrap {
  position: relative;
}

.mn-sbj-img-wrap .img-box {
  width: 100%;
}

.mn-sbj-img-wrap .img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.mn-sbj-txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--one-gap-xl);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 60%);
}

.mn-sbj-tit {
  color: #fff;
  margin-bottom: var(--one-gap-xs);
}

.mn-sbj-desc {
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--one-lh-r);
}

/* ============================
 반응형 — 태블릿 (max-width: 1024px)
============================= */

@media all and (max-width: 1024px) {
  /* int */
  .mn-int-inner.f-row {
    flex-direction: column-reverse;
  }

  .mn-int-img {
    flex: none;
    max-width: 100%;
    width: 80%;
    align-self: center;
  }

  /* sp */
  .mn-sp-tab-btn.round-btn {
    margin: 0 -0.8em;
  }

  .mn-sbj-list {
    width: 100%;
  }

  /* lnk */
  .mn-lnk-btn-wrap {
    flex-direction: column;
    gap: var(--one-gap-r);
  }

  /* rvw */
  .mn-rvw-slide-wrap {
    padding: 0 50px;
  }

  .mn-rvw-prev {
    left: -1em;
  }

  .mn-rvw-next {
    right: -1em;
  }

  /* loc */
  .mn-loc-row {
    flex-direction: column;
    min-height: auto;
  }

  .mn-loc-item {
    min-height: 0;
    width: 100% !important;
    height: 33vw;
  }

  .mn-loc-item.is-expanded {
    height: auto;
  }

  .mn-loc-item.is-expanded .mn-loc-content {
    flex-direction: column;
  }

  .mn-loc-item.is-expanded .mn-loc-txt-box {
    flex: none;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .mn-loc-item.is-expanded .mn-loc-txt-inner {
    position: static;
    inset: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
    padding: var(--one-space-s);
  }

  .mn-loc-map {
    flex: none;
    width: 100%;
    height: 360px;
    position: relative;
  }

  /* sbj */
  .mn-sbj-sec .con-inner {
    padding-bottom: var(--one-space-lg);
  }

  .mn-sbj-inner {
    flex-direction: column;
    gap: var(--one-gap-xl);
  }

  .mn-sbj-hd {
    flex: none;
    width: 100%;
  }

  /* GSAP pin spacer 무력화 */
  .mn-sbj-sec .gsap-pin-spacer {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ============================
 반응형 — 모바일 (max-width: 639px)
============================= */

@media all and (max-width: 639px) {
  .mn-con-wide {
    padding-left: 0;
    padding-right: 0;
  }
	.con-inner-board.line-x::before {

  width: 80%;
}
  /* sp */
  .mn-sp-tab-wrap {
    gap: var(--one-gap-xs);
  }

  .mn-sp-tab-btn.round-btn {
    margin: 1vw -2.1vw;
    min-width: 28vw;
  }

  /* int */
  .mn-int-img {
    width: 100%;
  }

  .mn-sbj-hd {
    text-align: center;
  }

  .mn-int-desc {
    text-align: center;
  }

  /* rvw */
  .mn-rvw-sec {
    margin-top: 0;
  }
  .mn-rvw-sec .txt-wrap h2 {
    padding-bottom: var(--one-gap-xl);
  }

  .mn-rvw-slide-wrap {
    padding: 0 30px;
  }
	.mn-rvw-nav {
		width: 45px
	}
  .mn-rvw-prev {
    left: 0;
  }

  .mn-rvw-next {
    right: 0;
  }

  .f-row.mn-rvw-btn-wrap {
    align-items: center;
	flex-direction:row;
  }

  .mn-rvw-btn.round-btn {
    font-size: var(--one-body);
  }

  /* loc */
  .mn-loc-hd.f-row {
    flex-direction: row;
    gap: var(--one-gap-lg);
  }
  .mn-loc-park.f-row {
    flex-direction: row;
  }
  .mn-loc-hd .txt-wrap h2 {
    line-height: var(--one-lh-lg);
    text-align: left;
  }
  .mn-loc-tel-icon {
    max-width: var(--one-icon-l);
  }
  /* sbj */
.mn-sbj-card {
    width: 85%;
    margin: 0 auto;
}

  .mn-sbj-card-even {
    margin-top: 0;
    margin-bottom: 0;
  }
}
