/*
Theme Name: injung-theme
Author: KIM EUN BI
Description: 인정한방병원 리뉴얼 테마
Version: 1.0.0
Text Domain: injung-theme
*/


/* ===============================
   모바일: 메뉴 섹션 2열 배열 (like 샘플)
   =============================== */
/* 모바일: 2열 × 3행 */

@media (max-width: 480px){
.ij-mmenu__logo img{
 width: 170px !important;
}

.m-call{
  width: auto !important;
  font-size: 20px !important;
}
.m-foot-btn1,
.m-foot-btn2,
.m-foot-btn3 {
  width: 80px !important;
  border-radius: 20px !important;
  gap: 0px !important;
}

.f1, .f2, .f3{
  width: 40px !important;
}

.m-foot-actions{
  gap: 10px !important;
}

}

@media (max-width: 720px){
  .mitem .deco{
    display: none;
  }

  .mitem .deco::before{
    width: 100px !important;
  }

/* 2열 3행 */
  .menu-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
  }

  /* 오버레이 기본 */
  .grid-overlay{
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }

  /* ✅ 기존 HTML 선(vline/hline)은 모바일에서 완전 OFF (겹침 방지) */
  .grid-overlay .vline,
  .grid-overlay .hline{
    display: none !important;
  }

  

  /* ✅ 모바일용 선은 ::before로만 그림 */
  .grid-overlay::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* 세로 1줄(50%), 가로 2줄(1/3, 2/3) */
    background:
      linear-gradient(to right,
        transparent calc(50% - .5px),
        var(--line) 0,
        var(--line) calc(50% + .5px),
        transparent 0
      ),
      linear-gradient(to bottom,
        transparent calc(33.333% - .5px),
        var(--line) 0,
        var(--line) calc(33.333% + .5px),
        transparent 0
      ),
      linear-gradient(to bottom,
        transparent calc(66.666% - .5px),
        var(--line) 0,
        var(--line) calc(66.666% + .5px),
        transparent 0
      );
  }

  /* 교차 다이아(세로 1줄 x 가로 2줄 = 2개만) */
  .xdiamond.d1{ left: 50%; top: 33.333%; }
  .xdiamond.d2{ left: 50%; top: 66.666%; }

  /* 혹시 남아있으면 숨김 */
  .xdiamond.d3,
  .xdiamond.d4{ display:none !important; }

}

@media (max-width: 1400px){

  /* ✅ hero-stage를 column으로 바꿔서: 로고(위) + 메뉴(아래) 흐름 고정 */
  .hero-stage{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto !important;
  }

  /* ✅ 메뉴 그리드: 가로 꽉, 높이 “필요한 만큼” */
  .menu-grid{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: 600px !important;
  }

    /* 로고 바 높이 (필요시 74~96px 사이로 조절) */
  :root{ --m-hero-header-h: 84px; }

  .hero{ position: relative;
  min-height: auto !important; }

  .mobile-hero-header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: var(--m-hero-header-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    display: flex !important;
    align-items: center;
    justify-content: center;

    z-index: 50; /* 메뉴 그리드/오버레이보다 위 */
  }

  .sticky-hamburger{
    margin-right: 15%;
  }

  

  .mobile-hero-logo{
    height: 50px;   /* 로고 크기 */
    width: auto;
    max-width: 100%;
    margin-right: 30px;
    margin-left: 5%;
    object-fit: contain;
  }

/* =========================
   모바일 푸터
   ========================= */
.m-footer{
  background:#ffffff;
  position: relative;
  z-index: 5;
  padding: 18px 16px 22px;
}

.m-foot-actions{
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 30px;
}

.m-foot-btn1,
.m-foot-btn2,
.m-foot-btn3{
  width: 110px;
  border-radius: 40px;
  text-decoration: none;
  color:#222;
  aspect-ratio: 1 / 1;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-weight: 700;
}

.m-foot-btn1{ background:#87daab; }
.m-foot-btn2{ background:#79b684; }
.m-foot-btn3{ background:#FFE617; }

.m-foot-btn .ico{ font-size: 26px; line-height: 1; }


.m-foot-divider{
  height:1px;
  background:#e9e9e9;
  margin: 16px 0;
}

.m-foot-bottom{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}

.m-foot-nonpay{
  margin-top: 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 999px;
  background:#eeb784;
  color:#fff;
  text-decoration:none;
  font-size: 15px;
  white-space: nowrap;
  font-weight: 500;
}

.m-foot-biz{
  font-size: 12px;
  line-height: 1.5;
  color:#777;
  text-align: right;
}

.m-foot-copy{
  margin-top: 12px;
  font-size: 11px;
  color:#aaa;
  text-align:center;
}

.m-call::before{
  content:"☎";          /* 이건 문자라 color 적용됨 */
  color:#fff;
  font-size: 30px;
  margin-right: 10px;
  margin-bottom: 3px;
}

.m-call{
  width: 400px;
  display: flex;
  justify-content: center; /* 가로 가운데 */
  align-items: center;     /* 세로 가운데 */
  margin: 20px auto 0px;
  background-color: rgb(255, 174, 109);
  font-size: 25px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.f1{
  width: 50px;
}

.f2{
  width: 50px;
  margin-top: 5px;
}

.f3{
  width: 50px;
}

.f-txt1{ font-size: 16px; color: #1b7238;}
.f-txt2{ font-size: 16px; color: #ffffff; font-weight: 400;}
.f-txt3{ font-size: 17px; color: #3a3131;}
  

  /* ✅ 로고 바만큼 아래 콘텐츠를 내려서 겹치지 않게 */
  .hero-stage{
    padding-top: var(--m-hero-header-h);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;           /* 100vh 강제 때문에 아래가 이상해지는 것 방지 */
  }

  /* 혹시 menu-grid가 위로 붙는다면 안전빵 */
  /* ✅ 메뉴 그리드: 가로 꽉, 높이 “필요한 만큼” */
  .menu-grid{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .hero-panel{
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: min(var(--panel-w), calc(100% - 36px));
    margin: 18px auto 26px;
  }

  .panel-tabs{
    left: 12px;
    top: -20px;
    flex-direction: row;
  }
  .tab::after{ display:none; }


  .hero-panel{
    display: none !important;
  }

  
  .hero-stage{
    width: 100% !important;
  }

  .menu-grid{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* 모바일에서는 위/아래로 쫙 벌리는 대신, 각 칸 중앙정렬이 더 예쁨 */
  .menu-grid .mitem{
    justify-content: center;
  }

  /* 데스크톱용 위/아래 정렬 규칙 무효화 */
  .menu-grid .mitem:nth-child(-n+3),
  .menu-grid .mitem:nth-child(n+4){
    padding-top: 0;
    padding-bottom: 0;
  }

  /*패널 토글 모바일에서 일단 숨김. 개발시 변동*/
  .panel-toggle{ display:none; }

}

@media (min-width: 1401px){
  
  .mobile-hero-header{ display: none !important; }
  .m-footer{ display:none !important; }
}

@media (max-width: 1700px){

  .hero-stage{
    padding-right: 5% !important;
  }

}

@media (min-width: 1401px) and (max-width: 1920px){
  .menu-grid{
    width: min(1000px, calc(100% - var(--panel-w) - clamp(26px, 3vw, 46px))) !important;
  }
}

:root{
  --panel-w: 350px;
  --line: rgba(255,255,255,.25);
  --text: rgba(255,255,255,.88);
  --text-hover: rgba(255,255,255,.98);
  --shadow: 0 18px 45px rgba(0,0,0,.22);
  --panel-reveal: -1px;
}

.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  /* PHP에서 주입: --hero-bg1, --hero-bg2 */
}

/* 두 레이어 공통 */
.hero::before,
.hero::after{
  content:"";
  position:absolute;
  inset:-8%;
  pointer-events:none;
  z-index:0;

  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

/* 1번 이미지 레이어 */
.hero::before{
  background-image:
    var(--hero-bg1),
    radial-gradient(1100px 600px at 35% 55%, rgba(255,255,255,.07), transparent 62%),
    linear-gradient(120deg, #0b0b0b, #111 45%, #0b0b0b);

  animation: heroBg1 10s ease-in-out infinite;
}

/* 2번 이미지 레이어 */
.hero::after{
  background-image:
    var(--hero-bg2),
    radial-gradient(1100px 600px at 35% 55%, rgba(255,255,255,.07), transparent 62%),
    linear-gradient(120deg, #0b0b0b, #111 45%, #0b0b0b);

  animation: heroBg2 10s ease-in-out infinite;
}

/* lobby1: (처음 보임) -> 중간에 사라짐 -> 끝에서 다시 나타나며 루프 연결 */
@keyframes heroBg1{
  0%   { opacity: 1; transform: scale(1.02); }
  45%  { opacity: 1; transform: scale(1.08); }  /* 천천히 확대 */
  55%  { opacity: 0; transform: scale(1.10); }  /* 1->2 전환 페이드아웃 */

  90%  { opacity: 0; transform: scale(1.02); }  /* 2가 보여주는 구간 */
  100% { opacity: 1; transform: scale(1.02); }  /* 2->1 전환 페이드인 */
}

/* lobby2: (처음 안 보임) -> 중간에 나타남 -> 끝에서 다시 사라져 루프 연결 */
@keyframes heroBg2{
  0%   { opacity: 0; transform: scale(1.02); }
  45%  { opacity: 0; transform: scale(1.02); }
  55%  { opacity: 1; transform: scale(1.02); }  /* 1->2 전환 페이드인 */

  90%  { opacity: 1; transform: scale(1.08); }  /* 천천히 확대 */
  100% { opacity: 0; transform: scale(1.10); }  /* 2->1 전환 페이드아웃 */
}



.hero-bg{
  background-image:
    url('<?php echo $bg_url; ?>'),
    url('<?php echo get_theme_file_uri("/assets/img/pattern.png"); ?>');

  background-size: cover, auto;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
}

.hero-stage{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display:flex;
  align-items:center;
}

/* ====== 핵심: 3열×2행을 "정확히" 그리드로 잡기 ====== */
.menu-grid{
  /* 기존 유지 */
  position: relative;
  width: min(1200px, calc(100% - var(--panel-w) - clamp(26px, 3vw, 46px)));
  height: min(100vh);
  min-height: 520px;
  z-index: 1; /* hero 배경 위 */

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: stretch; /* 셀 꽉 채우기 */
  position: relative;
}

.menu-grid::before{
  content:"";
  position:absolute;
  inset:0;                    /* 메뉴 그리드 영역만 */
  background: rgba(109, 83, 75, 0.3); /*메뉴 그리드 색상*/
  z-index: 0;
  pointer-events: none;
}


/* ✅ a(mitem)는 셀 자체가 hit-area가 되되, nav 전체로 늘어나지 않게 */
.mitem{
  position: relative;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* ✅ 패딩으로 밀지 말고 '칸 안에서' 중앙정렬 */
  text-align: center;
  color: #fff !important;
  text-decoration: none !important;

  z-index: 2;
}

.grid-overlay{ z-index: 1; }

.grid-overlay::before{
  content:"";
  position:absolute;
  inset:0;
}

/* 메뉴 내용 래퍼(텍스트+다이아+데코를 묶는 div 하나) */
.mitem .mcontent{
  grid-row: 2; /* 기본은 중앙 */
}

.menu-grid .mitem:focus-visible{
  outline: 2px solid rgba(255,255,255,.45);
  outline-offset: 6px;
  border-radius: 6px;
}

/* ✅ 글씨 위 다이아 */
.top-diamond{
  margin-bottom: 25px !important;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255);
  transform: rotate(45deg);
  display: block;
  margin-bottom: 14px; /* 글씨와 간격 */
  opacity: .85;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease, background-color .25s ease, filter .25s ease;
}

/* 기본은 은은하게 */
.mitem .top-diamond{
  box-shadow: 0 0 0 rgba(255,255,255,0);
  filter: brightness(1);
}

/* 메뉴칸 색상 변화 */
.mitem:hover{
  background-color: rgba(49, 24, 5, 0.1); 
}

/* ✅ “메뉴 상자(칸) 안에 hover”하면 위 다이아가 빛남 */
.mitem:hover .top-diamond{
  background: #ffffff;

  /* 🔥 핵심: 발광 레이어 여러 겹 */
  box-shadow:
    0 0 6px  rgba(255,255,255,.55),
    0 0 14px rgba(255,255,255,.45),
    0 0 30px rgba(255,255,255,.28),
    0 0 48px rgba(255,255,255,.18);

  /* 밝기 + 대비 */
  filter: brightness(1.4) contrast(1.2);

  /* 살짝 커지면서 살아나는 느낌 */
  transform: rotate(45deg) scale(2);
}

/* 아래(기존) 다이아/라인도 같이 빛나게 */
.mitem:hover .deco::before{
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 12px rgba(255,255,255,.12);
}
.mitem:hover .deco::after{
  background: rgba(255,255,255,1);
  box-shadow:
    0 0 10px rgba(255,255,255,.30),
    0 0 22px rgba(255,255,255,.14);
}

.mitem strong{
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  font-size: clamp(26px, 2.2vw, 46px);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: color .2s ease, text-shadow .2s ease;
}

/* 시안처럼 hover 시 살짝 밝아짐 */
.mitem:hover strong{
  color: var(--text-hover);
  text-shadow: 0 14px 34px rgba(0,0,0,.45);
}

/* 아래 라인 + 다이아 */
.mitem .deco{
  margin-top: 25px;
  position: relative;
  width: 80px;      /* 기준 폭 */
  height: 14px;
}

.mitem .deco::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 150px;      /* 기본 짧은 선 */
  height: 2px;
  background: rgba(255,255,255,.55);
  transform: translate(-50%, -50%) scaleX(1);
  transform-origin: center;
  transition:
    transform .28s ease,
    background-color .28s ease,
    box-shadow .28s ease;
}
.mitem .deco::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,.9);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 rgba(255,255,255,0);
  transition:
    box-shadow .28s ease,
    transform .28s ease;
}
.mitem:hover .deco::before{
  transform: translate(-50%, -50%) scaleX(1.5); /* 🔥 길어짐 */ 
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 12px rgba(255,255,255,.18);
}

.mitem:hover .deco::after{
  box-shadow:
    0 0 10px rgba(255,255,255,.35),
    0 0 22px rgba(255,255,255,.18);
  transform: translate(-50%, -50%) rotate(45deg) scale(1.05);
}

/* ====== 라인/다이아 오버레이 ====== */
.grid-overlay{
  position:absolute;
  inset: 0;
  z-index: 1;
  pointer-events:none;
}

/* 세로 라인 (왼쪽 0% 금지! v1/v2/v3만) */
.vline{
  position:absolute;
  top: -60vh;
  bottom: -60vh;
  width: 1px;
  background: var(--line);
}

/* ✅ 가운데 2개 */
.vline.v1{ left: 33.333%; }
.vline.v2{ left: 66.666%; }

/* ✅ 오른쪽 끝 1개만 */
.vline.v3{ left: calc(100% - 1px); }

/* 🔥 혹시 이전 코드에 v0 같은 게 남아있어도 안 보이게 강제 차단 */
.vline.v0,
.vline.left,
.vline.first{ display:none !important; }

/* 가운데 가로 라인 1개 */
.hline{
  position:absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

/* 교차점 다이아 4개(시안 감성) */
.xdiamond{
  position:absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255);
  transform: rotate(45deg) scale(3);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
/* (1/3, 1/2), (2/3, 1/2) + 좌/우 끝 교차 느낌 */
.d1{ left: 33.333%; top: 50%; margin:-5px 0 0 -5px; }
.d2{ left: 66.666%; top: 50%; margin:-5px 0 0 -5px; }

/* ===== 우측 패널 ===== */
.hero-panel{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--panel-w);
  z-index: 20;
  pointer-events: none; /* 패널 외부 클릭 방지 */
  transition: transform .38s cubic-bezier(.22,.8,.2,1);
  will-change: transform;
}

.hero-panel *{ pointer-events: auto; } /* 내부는 클릭 가능 */
.panel-wrap{ position: relative; }
.panel-card{
  position: relative;
  background: rgba(255,255,255,.92);
  height: 750px;
  border-radius: 35px 0 0 35px;
  box-shadow: -6px 0 2px rgba(90, 65, 42, 0.12);
  padding: 16px;
  overflow: visible; /* 탭이 밖으로 나와야 함 */
}

/* 책갈피 탭 컨테이너(패널에 “붙어있게”) */
.panel-tabs{
  position: absolute;
  left: -50px;
  top: 80px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}


/* 탭 본체 */
.tab{
  position: relative;
  width: 50px;
  height: 65px;
  border-radius: 20px 0px 0px 20px;
  text-decoration:none;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 4px;
  font-weight: 900;
  box-shadow: -6px 0 10px rgba(196, 107, 34, 0.2);
}

/* “붙어있는” 느낌의 연결부(오른쪽으로 패널까지 이어지는 조각) */
.tab::after{
  content:"";
  position:absolute;
  right: -14px;
  top: 8px;
  width: 16px;
  height: calc(100% - 16px);
  background: inherit;
  border-radius: 0 10px 10px 0;
}

.tab .t1{ width: 30px; }
.tab .t2{ font-size: 11px; line-height: 1; opacity: .95; font-weight: 500; }

.tab.naver{ background:#1EC800; color:#fff; }
.tab.blog{ background:#22c55e; color:#fff; }
.tab.talk{ background:#FEE500; color:#222; }


/* =========================
   우측 패널 토글: 시안처럼 "패널에 붙는" 형태로 고정
   ========================= */

/* 토글 버튼: 완전 평면(무그림자) + 잔상 제거 */
.hero-panel .panel-wrap{ position: relative; }

.hero-panel .panel-toggle{
  position: absolute !important;
  left: -20px;
  top: 90%;
  transform: translate(-50%, -50%) !important;

  width: 40px;
  height: 50px;
  border-radius: 20px 0px 0px 20px;
  
  box-shadow: -6px 0 10px rgba(196, 107, 34, 0.2);
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: none !important;
  background-image: none !important;

  /* ✅ 혹시 테두리까지 원치 않으면 border:0 으로 */
  border: 0 !important;

  /* ✅ 기본 버튼 잔상 제거 */
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent;

  background: #ffa034 !important;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index: -1 !important;
}

/* ✅ 패널 닫힘 상태 */
.hero.is-panel-closed .hero-panel{
  transform: translate(calc(100% - var(--panel-reveal)), -50%);
}



/* 화살표 */
.hero-panel .panel-toggle::before{
  content: "›";
  color: #fff;
  font-size: 45px;
  line-height: 1;
  transform: translateX(1px);
  margin-bottom: 10px;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* 닫힘 상태일 때 화살표 방향 반대로 */
.hero.is-panel-closed .panel-toggle::before{
  content: "‹";
  transform: translateX(-1px);
}

/* ✅ 패널이 닫히면, 왼쪽(메뉴) 영역이 그만큼 넓어지게 */
.hero.is-panel-closed .hero-stage{
  padding-right: clamp(18px, 2vw, 34px);
}

/* (기존 하단 next 버튼 쓰고 있다면) 패널 닫힐 때 right 값도 줄이기 */
.hero.is-panel-closed .hero-next{
  right: clamp(18px, 2vw, 30px);
}



/* 패널 내부 더미 */
.panel-logo{
  margin: 15px 10px 0px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: rgba(0,0,0,.45);
}

/* 로고 링크/이미지 안정화 */
.panel-logo a{
  display: inline-flex;          /* inline 상태 꼬임 방지 */
  align-items: center;
  justify-content: center;
  height: 100%;                  /* .panel-logo 높이(100px) 안에서 꽉 */
  line-height: 0;                /* 이미지 아래 여백/라인박스 제거 */
  text-decoration: none;
}

.panel-logo a img{
  display: block;                /* inline 이미지로 인한 줄바꿈/여백 제거 */
  height: 65px;                  /* 원하는 로고 높이로 조절 */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}


.panel-links{
  display:flex;
  flex-direction: column;
  gap: 10px;
}


/* =========================
   패널 메인 버튼
   ========================= */

.plink{
  text-decoration:none;
  text-align: end;
  padding: 14px 10px;
  color: #FFAF69;
  /* font-weight: 800; */
  font-size: 25px;
}

/* =========================
   패널 버튼 아래 굵은 오렌지 선 (왼쪽 사선 컷)
   ========================= */

.panel-links .plink.plink-cut{
  position: relative;
  padding-bottom: 18px; /* 선 들어갈 공간 */
}

/* 굵은 선 */
.panel-links .plink.plink-cut::after{
  content:"";
  position:absolute;

  /* 텍스트 아래쪽에 "가운데 정렬"로 놓기 */
  left: 75%;
  bottom: 8px;
  transform: translateX(-50%);

  /* 시안 느낌: 버튼 폭 대비 살짝 짧게 */
  width: min(210px, 100%);
  height: 6px;

  background: #FFAF69;  /* 오렌지 선 */
  opacity: .95;

  /* ✅ 포인트: 왼쪽 끝 사선으로 잘린 형태 */
  clip-path: polygon(
    10px 0,   /* 좌상단이 안쪽으로 들어옴(사선) */
    100% 0,
    100% 100%,
    0 100%,
    0 100%
  );
}

/* (옵션) 줄이 너무 딱딱하면 아주 살짝만 부드럽게 */
.panel-links .plink.plink-cut::after{
  border-radius: 0; /* 시안처럼 각진 선 */
}


.panel-call{
  margin-top: 22px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  width: auto;
  height: auto;
  align-items: flex-end;
}
.call{
  text-decoration:none;
  text-align:center;
  padding: 12px;
  border-radius: 999px;
  background: rgb(104, 100, 96);
  color:#fff;
  font-size: 21px;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width: 220px !important;
  height: 10px !important;
  padding-bottom: 15px;
}

.panel-call .call::before{
  content:"☎";          /* 이건 문자라 color 적용됨 */
  color:#fff;
  font-size: 21px;
}

/* 버튼 자체 폭은 원하는 값으로 */
.panel-call .call,
.panel-call .sub{
  width: 120px;          /* 원하는 폭 */
  height: 10px;
  text-align: center;
}

.sub{
  text-decoration:none;
  text-align:center;
  padding: 12px;
  border-radius: 999px;
  background: #b8b1aa;
  color:#fff;
  font-weight: 400;
  font-size: 18px;
  line-height: 8px;
}

.panel-foot{
  margin-top: 25px;
  text-align: end;
  color: #BFAAAA;
  font-size: 11px;
  font-weight: 500;
}
.doctors-main{
  margin-top: 115px;
  width: 330px;
  height: 10px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}



