/* Approved legacy presentation, scoped to treatments and testimonials. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600&display=swap');
.editorial-theme{--editorial-pink:#c87baa;font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;color:#5d5a58}
.editorial-theme .frontend-main{background:url('../images/editorial/texture.jpg') center top/100% auto repeat}

.editorial-theme .page-shell{width:min(90%,1280px);max-width:1280px;padding:60px 0 100px}
.editorial-theme .page-header{max-width:none;margin:0 auto 40px;text-align:center}
.editorial-theme .page-title{font-size:30px;line-height:1.7;letter-spacing:2px;font-weight:500;color:#53545e;text-align:center}
.editorial-theme .page-title:first-letter{color:var(--editorial-pink)}
.editorial-theme .page-eyebrow,.editorial-theme .page-header .page-intro,.editorial-theme .page-shell>.breadcrumb{display:none}
.editorial-theme .detail-page{max-width:1000px;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.editorial-theme .treatment-detail-page .treatment-detail-hero{margin:0 0 65px;background:transparent;overflow:visible}
.editorial-theme .treatment-detail-hero img{display:block;width:100%;height:auto}
.editorial-theme .trusted-html{font-size:16px;line-height:1.95;font-weight:300;overflow-wrap:anywhere;max-width:960px;margin-right:auto;margin-left:auto;color:#5d5a58}
.editorial-theme .trusted-html h2,.editorial-theme .trusted-html h3{font-weight:500;color:#514c4b;line-height:1.8;margin:30px 0 20px}
.editorial-theme .trusted-html h3{font-size:21px}
.editorial-theme .trusted-html p{margin-bottom:22px}
.editorial-theme .trusted-html .info{margin-bottom:50px}
.editorial-theme .trusted-html img{max-width:100%;height:auto!important;display:block;margin:15px auto}
.editorial-theme .trusted-html .youtube-embed-wrapper{max-width:720px!important;margin:24px auto!important;padding:0!important;height:auto!important;aspect-ratio:16/9}
.editorial-theme .trusted-html .youtube-embed-wrapper iframe{position:static!important;display:block;width:100%!important;height:100%!important;border:0}
.editorial-theme .trusted-html>iframe,.editorial-theme .trusted-html p>iframe{display:block;width:min(100%,720px)!important;max-width:100%;height:auto;aspect-ratio:16/9;margin:24px auto;border:0}
.editorial-theme .trusted-html table{max-width:100%;width:100%!important;border-collapse:collapse;table-layout:fixed}
.editorial-theme .trusted-html td,.editorial-theme .trusted-html th{padding:14px;overflow-wrap:anywhere;word-break:normal;min-width:0}
.editorial-theme .trusted-html a{color:#af6d92}
.editorial-theme .treatment-category-disclosure{margin:0 auto 60px}
.editorial-theme .treatment-catalog-layout{display:block}
.editorial-theme .treatment-category-disclosure__toggle{display:none}
.editorial-theme .treatment-category-disclosure .treatment-category-nav{display:block}
.editorial-theme .treatment-category-nav__roots{max-width:none;gap:10px;display:flex;flex-wrap:wrap;justify-content:center}
.editorial-theme .treatment-category-nav__group{display:flex;align-items:center;border:0;background:transparent;position:relative;z-index:4}
.editorial-theme .treatment-category-nav__root{min-width:142px;min-height:56px;padding:14px 24px;border:1px solid #dfd5da;border-radius:999px;background:#fff;color:#625b62;font-size:16px;font-weight:400;letter-spacing:0;text-align:center}
.editorial-theme .treatment-category-nav__group.is-active .treatment-category-nav__root,.editorial-theme .treatment-category-nav__group:hover .treatment-category-nav__root,.editorial-theme .treatment-category-nav__group:focus-within .treatment-category-nav__root{background:#cb7da8;border-color:#cb7da8;color:#fff}
.editorial-theme .treatment-category-nav__group:hover,.editorial-theme .treatment-category-nav__group:focus-within{z-index:8}
/* Keep the button-to-menu gap inside the group's hover target. */
.editorial-theme .treatment-category-nav__group:has(>.treatment-category-nav__children)::after{content:"";position:absolute;top:100%;left:50%;width:210px;height:8px;transform:translateX(-50%)}
.editorial-theme .treatment-category-nav__children{position:absolute;display:block;top:calc(100% + 8px);left:50%;width:210px;max-height:360px;overflow-y:auto;margin:0;padding:0;opacity:0;pointer-events:none;transform:translate(-50%,10px);background:#cb7da8;border-radius:18px;box-shadow:0 8px 24px #0002;visibility:hidden}
.editorial-theme .treatment-category-nav__group:hover>.treatment-category-nav__children,.editorial-theme .treatment-category-nav__group:focus-within>.treatment-category-nav__children{opacity:1;pointer-events:auto;transform:translate(-50%,0);visibility:visible}
.editorial-theme .treatment-category-nav__children a{color:#fff;padding:11px 15px;font-size:14px;text-align:center;font-weight:400;background:transparent}
.editorial-theme .treatment-category-nav__children a:hover,.editorial-theme .treatment-category-nav__children a[aria-current=page]{background:#aa578b;color:#fff}
.editorial-theme .content-image-grid{gap:50px 30px;grid-template-columns:repeat(3,minmax(0,1fr))}
.editorial-theme .content-image-card{border:0;box-shadow:none;background:transparent;overflow:visible}
.editorial-theme .content-image-card__media{padding:14px;background:#fff;aspect-ratio:auto}
.editorial-theme .content-image-card__media img,.editorial-theme .content-image-card__media .image-placeholder{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:25px}
.editorial-theme .treatment-product-card .content-image-card__media img{aspect-ratio:5/3;border-radius:15px;object-fit:contain}
.editorial-theme .treatment-product-card .content-image-card__media,.editorial-theme .testimonial-card .content-image-card__media{padding:0;background:transparent}
@media(max-width:680px){.editorial-theme .content-image-grid.treatment-product-grid,.editorial-theme .content-image-grid.testimonial-card-grid{grid-template-columns:minmax(0,1fr)}}
.editorial-theme .content-image-card__body{padding:14px 5px 0}
.editorial-theme .content-image-card__body h2{font-size:17px;line-height:1.7;color:var(--editorial-pink);font-weight:500}
.editorial-theme .editorial-case-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;max-width:1150px;margin:60px auto 26px;padding-top:30px}
.editorial-theme .editorial-case-categories>a{display:flex;flex-direction:column;align-items:center;border:0;background:transparent!important;min-width:0;padding:0;color:#676462}
.editorial-theme .editorial-case-categories img{width:110px;height:80px;object-fit:contain;margin:0;flex-shrink:0;clip-path:inset(0 0 17% 0)}
.editorial-theme .editorial-case-categories span{width:100%;display:block;border:1px solid #e2dede;border-bottom:3px solid #d1d1d1;border-radius:40px;box-shadow:0 2px 3px #0002;background:#ffffff50;text-align:center;padding:9px 8px;font-size:16px;letter-spacing:1px;transition:background .2s,color .2s}
.editorial-theme .editorial-case-categories a.is-active span,.editorial-theme .editorial-case-categories a:hover span{background:var(--editorial-pink);color:#fff;border-color:var(--editorial-pink)}
.editorial-theme .editorial-case-all{text-align:center;margin:12px 0 40px;font-size:13px;color:#a15784}
.editorial-theme .editorial-case-all a{border-bottom:1px solid #c8b8c1;padding:3px 0}
.editorial-theme .content-pagination a,.editorial-theme .content-pagination span{border-radius:50%;border-color:#d5b6c8;color:#a65e87;background:#fff8}
.editorial-theme .content-pagination [aria-current=page]{background:var(--editorial-pink);border-color:var(--editorial-pink);color:#fff}
.editorial-theme .case-detail-content{margin-bottom:50px}
.editorial-theme .case-detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}
.editorial-theme .case-detail-gallery figure{background:#fff;margin:0;padding:14px;min-width:0}
.editorial-theme .case-detail-gallery img{border-radius:25px;width:100%;height:auto;margin:0}
.editorial-theme .case-detail-gallery figure:only-child{grid-column:1/-1;max-width:550px;width:100%;margin:auto}
@media(max-width:1199px){.editorial-theme .treatment-category-nav__root{font-size:14px}.editorial-theme .editorial-case-categories{gap:12px}.editorial-theme .editorial-case-categories span{font-size:14px}}
@media(max-width:900px){.editorial-theme .page-shell{padding-top:42px}.editorial-theme .editorial-case-categories{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px;margin-top:20px;padding-top:0}.editorial-theme .editorial-case-categories img{width:90px;height:65px}.editorial-theme .content-image-grid{gap:28px 18px}.editorial-theme .content-image-card__media{padding:10px}.editorial-theme .content-image-card__body h2{font-size:15px}.editorial-theme .page-title{font-size:26px}}
@media(max-width:680px){.editorial-theme .treatment-category-disclosure__toggle{display:block;margin:0 auto 15px}.editorial-theme .treatment-category-disclosure .treatment-category-nav{display:none}.editorial-theme .treatment-category-disclosure.is-open .treatment-category-nav{display:block}.editorial-theme .treatment-category-nav__group{width:calc(50% - 5px);justify-content:center}.editorial-theme .treatment-category-nav__root{font-size:13px;white-space:normal;min-width:0;width:100%;padding:12px 10px}.editorial-theme .content-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.editorial-theme .frontend-main{background-size:auto 900px}.editorial-theme .page-shell{width:90%;padding:35px 0 65px}.editorial-theme .page-title{font-size:24px;margin-bottom:24px;overflow-wrap:anywhere}.editorial-theme .page-header{margin-bottom:24px}.editorial-theme .treatment-category-disclosure{margin-bottom:32px}.editorial-theme .treatment-detail-page .treatment-detail-hero{margin-bottom:35px}.editorial-theme .trusted-html{font-size:15px;line-height:1.9}.editorial-theme .trusted-html h3{font-size:19px}.editorial-theme .trusted-html td,.editorial-theme .trusted-html th{padding:8px!important;font-size:13px}.editorial-theme .editorial-case-categories{gap:20px 8px;margin-bottom:20px}.editorial-theme .editorial-case-categories img{width:72px;height:54px}.editorial-theme .editorial-case-categories span{font-size:12px;letter-spacing:0;padding:8px 2px}.editorial-theme .editorial-case-all{margin-bottom:25px}.editorial-theme .content-image-grid{gap:25px 10px}.editorial-theme .content-image-card__media{padding:6px}.editorial-theme .content-image-card__media img{border-radius:17px}.editorial-theme .content-image-card__body h2{font-size:13px}.editorial-theme .case-detail-gallery{grid-template-columns:1fr;gap:20px}.editorial-theme .case-detail-gallery figure{padding:10px}.editorial-theme .case-detail-gallery img{border-radius:20px}}

.editorial-theme .treatment-category-nav{padding:0;background:transparent;border:0}

/* Give treatment headings more breathing room above and below. */
.editorial-theme .treatment-detail-page{padding-top:92px}
.editorial-theme .treatment-detail-page .page-header{margin-bottom:48px}
@media(max-width:560px){.editorial-theme .treatment-detail-page{padding-top:56px}.editorial-theme .treatment-detail-page .page-header{margin-bottom:32px}}
.editorial-theme .page-shell.editorial-without-banner{padding-top:111px}
