body:has(.ten4-pattern-directory) #MainContent{background:#f0ece2;color:#242521}
body:has(.ten4-pattern-directory) .page-width--narrow:has(.ten4-pattern-directory){max-width:none;padding:0}
body:has(.ten4-pattern-directory) .main-page-title{font-family:var(--font-heading-family);font-weight:var(--font-heading-weight);font-style:normal;font-size:clamp(38px,4.2vw,68px);line-height:1.12;letter-spacing:.025em;text-transform:uppercase;margin:0;padding:44px clamp(24px,5vw,90px) 18px;background:#252722;color:#f0ece2}
.ten4-pattern-directory #ten4-pattern-intro{max-width:none;margin:0;background:#252722;color:#f0ece2}
.ten4-pattern-directory #ten4-pattern-intro>p{max-width:950px;font-size:15px;line-height:1.65;margin:0;padding:0 clamp(24px,5vw,90px) 36px}
.ten4-pattern-directory .ten4-pattern-nav{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:center;margin:0;padding:18px 20px;background:#e7e3d8;color:#242521;border-bottom:1px solid #d4cfc0}
.ten4-pattern-directory .ten4-pattern-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font-family:var(--font-body-family);font-size:12px;font-weight:400;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;text-decoration:none}
.ten4-pattern-directory .ten4-pattern-nav a:hover{background:transparent;color:inherit;text-decoration:underline;text-underline-offset:5px}
.ten4-pattern-directory .ten4-pattern-group{max-width:1600px;margin:0 auto;padding:30px 24px 42px;scroll-margin-top:140px}
.ten4-pattern-directory .ten4-pattern-group+.ten4-pattern-group{border-top:1px solid #d4cfc0}
.ten4-pattern-directory .ten4-pattern-group>h2{font-family:var(--font-body-family);font-style:normal;font-size:13px;font-weight:700;text-transform:uppercase;line-height:1.3;letter-spacing:.16em;margin:0 0 10px;padding:0;border:0;color:#242521}
.ten4-pattern-directory .ten4-pattern-group>p{font-size:12px;line-height:1.6;margin:0 0 20px;color:#65675b}
.ten4-pattern-directory .ten4-pattern-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 8px}
.ten4-pattern-directory .ten4-pattern-cards li{display:flex;min-width:0}
.ten4-pattern-directory .ten4-pattern-cards a{display:flex;flex-direction:column;width:100%;height:100%;background:transparent;color:#242521;text-decoration:none}
.ten4-pattern-directory .ten4-pattern-cards img{display:block;aspect-ratio:1;width:100%;height:auto;object-fit:cover}
.ten4-pattern-directory .ten4-pattern-cards h3{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 8px 8px;margin:0;font-family:var(--font-body-family);font-style:normal;font-weight:700;font-size:clamp(18px,1.6vw,22px);line-height:1.3;letter-spacing:normal;text-align:center;color:#242521}
.ten4-pattern-directory .ten4-pattern-cards h3 svg{width:18px;height:18px;flex:0 0 18px;color:#b8202b}
.ten4-pattern-directory .ten4-pattern-cards a:hover h3{text-decoration:underline;text-underline-offset:5px}
.ten4-pattern-directory .ten4-pattern-cards a:focus-visible,.ten4-pattern-directory .ten4-pattern-nav a:focus-visible{outline:3px solid #947654;outline-offset:4px}
@media(min-width:1600px){.ten4-pattern-directory .ten4-pattern-group{padding-left:48px;padding-right:48px}}
@media(max-width:749px){body:has(.ten4-pattern-directory) .main-page-title{font-size:40px;padding:32px 22px 16px}.ten4-pattern-directory #ten4-pattern-intro>p{font-size:13px;padding:0 22px 28px}.ten4-pattern-directory .ten4-pattern-nav{gap:10px 18px;padding:14px 12px}.ten4-pattern-directory .ten4-pattern-nav a{font-size:10px;min-height:28px}.ten4-pattern-directory .ten4-pattern-group{padding:22px 10px 28px;scroll-margin-top:100px}.ten4-pattern-directory .ten4-pattern-group>h2,.ten4-pattern-directory .ten4-pattern-group>p{margin-left:5px;margin-right:5px}.ten4-pattern-directory .ten4-pattern-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 6px}.ten4-pattern-directory .ten4-pattern-cards h3{font-size:16px;line-height:1.3;padding:10px 4px 5px;gap:5px}.ten4-pattern-directory .ten4-pattern-cards h3 svg{width:15px;height:15px;flex-basis:15px}}

body:has(#ten4-pattern-grid) #MainContent .page-width--narrow:has(#ten4-pattern-grid){max-width:none;padding:0}
