/* 원본 디자인을 유지하며 파일 운영에 필요한 부분만 추가합니다. */
/* 제품소개 공통 메뉴: 제품 7개를 같은 순서로 표시합니다. */
.header .gnb dl.yh-product-nav{width:160px;left:50%;transform:translateX(-50%)}
.header .gnb dl.yh-product-nav dd a{white-space:nowrap}
@media(min-width:1301px){.header.up,.header:has(.gnb:focus-within){height:420px}}
.yh-product-select .dlst{max-height:min(380px,55vh);overflow-y:auto;overscroll-behavior:contain}
.yh-product-placeholder{display:flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:860px;min-height:220px;margin:0 auto;padding:48px 24px;background:#f8f6fc;border:1px solid #e9e3f1;border-radius:20px;text-align:center}
.yh-product-placeholder p{color:#756c84;font-size:18px;line-height:1.8}
@media(max-width:680px){.yh-product-placeholder{min-height:180px;padding:32px 20px;border-radius:14px}.yh-product-placeholder p{font-size:16px}}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #6d59b7;outline-offset:4px}
.yh-form-note,.yh-inquiry-status{font-size:16px;line-height:1.8;margin-top:20px;color:#5b4a93}
.yh-inquiry-status:empty{display:none}
.yh-board-title{text-align:left!important}
#yh-board-article{max-width:1100px;margin:0 auto;padding:20px 0}
#yh-board-article h2{font-size:30px;color:#333;padding-bottom:20px;border-bottom:2px solid #4c338f}
.yh-post-date{padding:15px 0;color:#777}
.yh-post-body{white-space:pre-wrap;line-height:1.9;padding:35px 0 55px}
.yh-home-posts{margin-top:20px}.yh-home-posts li{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eee}.yh-home-posts time{white-space:nowrap;font-size:14px;color:#777}
.loca_map:empty::after{content:'지도 연결이 지연되면 아래 네이버 지도 또는 카카오 지도 버튼을 이용해 주세요.';display:block;padding:50px 20px;background:#f6f4fa;color:#58498b;text-align:center}
/* 상단 공통 언어 선택 — 지구본은 구매·메뉴 아이콘과 같은 크기와 색상으로 표시 */
.header .header_in .top_util>ul{flex-shrink:0}
.header .header_in .top_util>ul>li.yh-language{display:flex;align-items:center}
.yh-language-toggle{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:#222;cursor:pointer;transition:color .2s,background .2s}
.yh-language-toggle svg{display:block;width:26px;height:26px}
.yh-language-toggle:hover,.yh-language-toggle[aria-expanded=true]{color:#4c338f;background:#f2eef9}
.yh-language-panel{position:fixed;z-index:10000000;box-sizing:border-box;width:184px;padding:10px;background:#fff;border:1px solid #e7e1f0;border-radius:14px;box-shadow:0 12px 36px rgba(41,28,75,.15);text-align:left}
.yh-language-panel[hidden]{display:none}
.yh-language-heading{margin:0;padding:5px 10px 9px;color:#81788e;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:1px}
.yh-language-panel .yh-language-option{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:43px;margin:0;padding:10px;border:0;border-radius:8px;background:transparent;color:#302a39;font:inherit;font-size:15px;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer}
.yh-language-panel .yh-language-option:hover{background:#f6f3fb;color:#4c338f}
.yh-language-panel .yh-language-option:disabled{color:#746d7d;cursor:default;opacity:1}
.yh-language-panel .yh-language-option:disabled:hover{background:transparent}
.yh-language-panel .yh-language-option[aria-current=true]{background:#f2eef9;color:#4c338f;font-weight:600}
.yh-language-hint{color:#8c829a;font-size:11px;white-space:nowrap;font-weight:400}
[aria-current=true]>.yh-language-hint{color:#4c338f;font-size:16px}
@media(min-width:1301px) and (max-width:1500px){.header .header_in .top_util .sponsor_btn{width:200px}.header .gnb ul li{padding-left:16px;padding-right:16px}}

/* Match the centered 90%-wide, 1720px-max header row. */
@media (min-width: 1301px) {
  .header:has(.header_in .en-brand) .gnb {
    --header-inset: max(5%, calc(50% - 860px));
    /* Reserve the 300px logo and 375px utilities, with 16px gaps. */
    left: calc(var(--header-inset) + 316px);
    right: calc(var(--header-inset) + 391px);
    width: auto;
  }
}
@media(max-width:680px){.yh-language-toggle{width:26px;height:30px}.yh-language-toggle svg{width:24px;height:24px}.header .header_in .logo{width:min(231px,calc(100vw - 150px));height:auto;flex-shrink:0}.header .header_in .top_util>ul{margin-left:8px}.header .header_in .top_util>ul>li{margin-left:8px}.header .header_in .top_util>ul>li:first-child{margin-left:0}}

@media (max-width: 360px) {
  .header .header_in .en-brand { gap: 3px; }
  .header .header_in .en-brand-word { font-size: 22px; }
  .header .header_in .en-brand-company { padding-left: 4px; }
}
.yh-product-video{width:calc(100% - 40px);max-width:860px;margin:0 auto 64px}
@media(max-width:600px){.yh-product-video{width:calc(100% - 32px);margin-bottom:32px}}
@media(max-width:600px){.yh-form-note,.yh-inquiry-status{font-size:14px}.btn_set_right .btn{margin:5px 0;max-width:100%}.yh-home-posts li{display:block}}
/* 원본 비율을 유지하는 특허·GMP 증서 갤러리 */
#company.yh-certificates .basic_in{display:block}
#company.yh-certificates .tBox{width:100%;margin-bottom:40px}
#company.yh-certificates .tBox:before{content:none;display:none}
#company.yh-certificates .tBox .tit br{display:none}
#company .imgBox.yh-certificate-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;width:100%;margin:0}
#company .yh-certificate-gallery>li{width:auto;min-width:0}
.yh-certificate-card{display:block;height:100%;color:#292534}
.yh-certificate-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:210/297;padding:10px;background:#fff;border:1px solid #e2dfeb;border-radius:14px;overflow:hidden;box-shadow:0 5px 16px rgba(43,34,79,.06);transition:border-color .2s,box-shadow .2s}
#company .yh-certificate-preview img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.yh-certificate-card:hover .yh-certificate-preview{border-color:#806acc;box-shadow:0 8px 22px rgba(71,50,144,.13)}
.yh-certificate-caption{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;padding:18px 3px 0}
.yh-certificate-caption strong{font-size:20px;color:#2d263e;line-height:1.4}
.yh-certificate-caption>span{font-size:14px;color:#747080;line-height:1.5;overflow-wrap:anywhere}
.yh-certificate-caption small{font-size:13px;color:#68519f;line-height:1.5;margin-top:4px}
@media(max-width:1199px){#company .imgBox.yh-certificate-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}}
@media(max-width:767px){#company .imgBox.yh-certificate-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.yh-certificate-caption strong{font-size:18px}.yh-certificate-caption>span{font-size:13px}.yh-certificate-preview{padding:7px;border-radius:10px}}
@media(max-width:479px){#company .imgBox.yh-certificate-gallery{grid-template-columns:1fr;gap:30px}.yh-certificate-card{max-width:360px;margin:auto}.yh-certificate-caption{padding-top:14px}}

.yh-inquiry-consent {
  padding: 16px 20px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  color: #292534;
  font-size: 1rem;
  line-height: 1.65;
}
.yh-inquiry-consent div + div { margin-top: 8px; }
.yh-inquiry-consent dt { font-weight: 600; }
.yh-inquiry-consent dd { margin: 0; }
.yh-inquiry-policy { max-width: 64rem; margin: 0 auto; line-height: 1.8; }
.yh-inquiry-policy h4 { margin: 1.45em 0 .35em; font-size: 1.12em; }
.yh-inquiry-policy p { margin: 0 0 .6em; }
.yh-inquiry-policy a { text-decoration: underline; }

[data-yh-product-video][hidden] { display: none; }
.yh-video-play,
.yh-video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border: 0;
  border-radius: 12px;
  background: #15121e;
  color: #fff;
}
.yh-video-play {
  padding: 16px;
  font: inherit;
  cursor: pointer;
}
.yh-video-play span { margin-right: .35em; }
.yh-video-play:hover { background: #30264a; }
.yh-video-note { margin: 8px 0 0; }
