/* Editorial guides use the existing YES Hair palette and self-hosted Montserrat. */
.knowledge-page [hidden],.knowledge-teaser [hidden]{display:none!important}
.knowledge-hero,.knowledge-article-header{background:var(--surface-dark);color:var(--ivory);padding:36px 0 76px}
.knowledge-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(36px,6vw,96px);align-items:center}
.knowledge-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;line-height:1.6;color:#c4c2bb;margin-bottom:42px}
.knowledge-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.knowledge-page h1{font-size:clamp(34px,4vw,58px);line-height:1.17;font-weight:400;letter-spacing:-.035em;max-width:22ch;margin:18px 0 24px;text-wrap:balance}
.knowledge-intro{font-size:17px;line-height:1.85;max-width:63ch;color:#d2d0c9}
.knowledge-intro p{margin:0}.knowledge-hero .text-link{margin-top:28px}
.knowledge-hero-photo{margin:30px 0 0;position:relative}
.knowledge-hero-photo picture{display:block}.knowledge-hero-photo img{width:100%;height:390px;object-fit:cover}
.knowledge-hero-photo figcaption{position:relative;margin:-36px 22px 0 0;padding:22px 26px;background:var(--surface-dark);font-size:14px;color:#d6bd98;width:fit-content}
.knowledge-library,.knowledge-teaser{padding-block:80px}
.knowledge-library-heading{display:flex;justify-content:space-between;gap:36px;align-items:end;margin-bottom:38px}
.knowledge-library-heading h2,.knowledge-related h2{font-size:clamp(28px,3vw,42px);line-height:1.2;margin:12px 0 0;letter-spacing:-.03em}
.knowledge-library-heading>p{max-width:40ch;font-size:15px;line-height:1.8;margin:0}
.knowledge-controls{border-top:1px solid #cec8bc;padding-top:28px;margin-bottom:24px}
.knowledge-search{display:block;max-width:670px;font-size:13px;font-weight:500}
.knowledge-search>span{display:block;margin-bottom:10px}
.knowledge-search input{display:block;width:100%;min-height:56px;border:1px solid #aaa396;background:#faf8f3;color:#272723;padding:15px 18px;font:inherit;font-size:16px;border-radius:0;box-sizing:border-box}
.knowledge-search input::placeholder{color:#68645c;opacity:1}
.knowledge-filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.knowledge-filters button{font:inherit;font-size:13px;color:#37372f;border:1px solid #aaa396;background:transparent;padding:12px 17px;min-height:44px;cursor:pointer;transition:background .15s,color .15s}
.knowledge-filters button[aria-pressed="true"]{background:#24261f;border-color:#24261f;color:#fffaf0}
.knowledge-filters button:hover{border-color:#24261f}
.knowledge-page a:focus-visible,.knowledge-page button:focus-visible,.knowledge-page input:focus-visible,.knowledge-teaser a:focus-visible{outline:2px solid #977244;outline-offset:5px}
.knowledge-results-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:20px;font-size:13px;min-height:44px}
.knowledge-results-bar p{margin:0}
.knowledge-reset{background:none;border:0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;padding:10px 0;min-height:44px;cursor:pointer}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.knowledge-card{position:relative;display:flex;flex-direction:column;align-items:start;padding:30px 26px;border:1px solid #d2ccc1;background:#faf8f3;min-width:0;transition:border-color .2s}
.knowledge-card:hover,.knowledge-card:focus-within{border-color:#958066}
.knowledge-category{color:#725738;font-size:11px;font-weight:500;letter-spacing:.035em;margin:0 0 24px;line-height:1.6}
.knowledge-card h3{font-size:clamp(21px,1.8vw,26px);line-height:1.4;font-weight:400;letter-spacing:-.025em;margin:0 0 16px}
.knowledge-card h3 a{color:#292b25;text-decoration:none}
.knowledge-card h3 a::after{content:"";position:absolute;inset:0}
.knowledge-card>p:not(.knowledge-category){font-size:14px;line-height:1.85;color:#585950;margin:0 0 26px}
.knowledge-card-tail{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;margin-top:auto;font-size:12px;color:#585043}
.knowledge-card-tail svg{width:22px;height:22px;flex:none}
.knowledge-empty{padding:28px;border:1px solid #cec8bc;max-width:700px}.knowledge-empty h3{font-size:23px}.knowledge-empty p{line-height:1.8}
.knowledge-editorial-note{font-size:13px;line-height:1.9;color:#616257;border-top:1px solid #cec8bc;padding-top:24px;margin:40px 0 0;max-width:90ch}
.knowledge-article-header h1{max-width:26ch;font-size:clamp(32px,3.9vw,54px)}
.knowledge-article-header .knowledge-intro{max-width:78ch}
.knowledge-byline{display:flex;gap:12px 28px;flex-wrap:wrap;font-size:12px;line-height:1.8;margin-top:32px;color:#c4c2bb}.knowledge-byline a{text-decoration:underline;text-underline-offset:4px}
.knowledge-article-layout{display:grid;grid-template-columns:250px minmax(0,760px);gap:clamp(40px,7vw,110px);padding-block:64px 40px;justify-content:space-between;align-items:start}
.knowledge-toc{position:sticky;top:158px;font-size:13px;line-height:1.8}.knowledge-toc nav{border-left:1px solid #b7a58c;padding-left:22px}.knowledge-toc nav p{margin:0 0 14px;font-weight:600}.knowledge-toc nav a{display:block;padding:9px 0;color:#53554b;text-decoration:underline;text-decoration-color:#b8ad9c;text-underline-offset:4px}.knowledge-toc>.text-link{margin-top:28px;font-size:12px}
.knowledge-prose{font-size:16px;line-height:1.9;color:#3a3c33;overflow-wrap:break-word}
.knowledge-prose h2{font-size:clamp(24px,2.2vw,31px);font-weight:400;line-height:1.35;letter-spacing:-.02em;margin:44px 0 20px;color:#252820;scroll-margin-top:165px}.knowledge-prose h2:first-child{margin-top:0}
.knowledge-prose p{margin:0 0 22px}.knowledge-prose ul{padding-left:23px;margin:0 0 24px}.knowledge-prose li{padding-left:5px;margin-bottom:12px}
.knowledge-prose a{color:#725433;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.knowledge-article-cta{background:#e7e1d5;padding:32px;margin-top:34px}.knowledge-article-cta h2{font-size:26px;line-height:1.4;margin:0 0 16px}.knowledge-article-cta p{font-size:15px;line-height:1.8;margin:0 0 22px}
.knowledge-related{padding:26px 0 80px}.knowledge-related h2{margin-bottom:28px}.knowledge-related .knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.knowledge-teaser{border-top:1px solid #cec8bc}.knowledge-teaser .knowledge-library-heading>.text-link{white-space:normal;font-size:13px}
#knowledge-library{scroll-margin-top:145px}
@media(max-width:1100px){.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-article-layout{grid-template-columns:220px minmax(0,1fr);gap:40px}.knowledge-hero-photo img{height:340px}}
@media(max-width:900px){.knowledge-hero-grid{grid-template-columns:1fr;gap:30px}.knowledge-hero-photo{margin:0}.knowledge-hero-photo img{height:280px}.knowledge-page h1{max-width:26ch}.knowledge-article-layout{grid-template-columns:1fr;gap:40px}.knowledge-toc{position:static}.knowledge-toc nav{max-width:620px}.knowledge-breadcrumb{margin-bottom:30px}.knowledge-library-heading{align-items:start;flex-direction:column;gap:20px}}
@media(max-width:600px){.knowledge-hero,.knowledge-article-header{padding:28px 0 42px}.knowledge-hero-photo img{height:225px}.knowledge-intro{font-size:16px;line-height:1.8}.knowledge-hero-photo figcaption{font-size:12px;padding:16px 20px;margin-top:-26px}.knowledge-library,.knowledge-teaser{padding-block:48px}.knowledge-grid,.knowledge-related .knowledge-grid{grid-template-columns:1fr;gap:16px}.knowledge-card{padding:26px 22px}.knowledge-category{margin-bottom:18px}.knowledge-byline{flex-direction:column;gap:5px}.knowledge-filters{gap:8px}.knowledge-filters button{font-size:12px;padding:11px 13px}.knowledge-article-layout{padding-top:38px}.knowledge-article-cta{padding:24px}.knowledge-article-cta h2{font-size:23px}.knowledge-related{padding-bottom:48px}.knowledge-prose h2{scroll-margin-top:136px}}
@media(prefers-reduced-motion:reduce){.knowledge-card,.knowledge-filters button{transition:none}}
