.yd-collection-hero,.yd-record-hero{min-height:320px;display:flex;align-items:flex-end;padding:61px 0 45px;background:var(--yd-forest);color:#fff}
.yd-collection-hero h1,.yd-record-hero h1{max-width:980px;margin:10px 0 18px;font-size:56px;line-height:1.02;letter-spacing:-.035em}
.yd-collection-hero div>div,.yd-record-hero p:last-child{max-width:740px;color:rgba(255,255,255,.82);font-size:18px;line-height:1.65}
.yd-breadcrumb-strip{padding:17px 0;background:var(--yd-warm);border-bottom:1px solid var(--yd-line)}
.yd-breadcrumb-strip .yd-shell{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:baseline;list-style:none;padding:0;margin-block:0;color:var(--yd-muted);font-size:14px}
.yd-breadcrumb-strip li{display:flex;gap:10px;min-width:0;overflow-wrap:anywhere}
.yd-breadcrumb-strip a:focus-visible{outline:2px solid var(--yd-forest);outline-offset:4px}
.yd-breadcrumb-strip a{color:var(--yd-forest)}
/* Source-backed inner Banners; scoped away from the approved homepage. */
.yd-collection-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.yd-collection-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.yd-collection-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.22) 70%, rgba(0,0,0,.12));
}
body .yd-collection-hero.has-image :is(h1, .yd-eyebrow),
body .yd-collection-hero.has-image .yd-shell > div {
    color: #fff;
}
body .yd-collection-hero.has-image { min-height: 320px; }
.yd-collection-hero > .yd-shell { position: relative; }

/* Shared News/Product pagination geometry. */
:is(.yd-n-layout, .yd-pagination) .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 52px;
}
:is(.yd-n-layout, .yd-pagination) .page-numbers {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--yd-line);
    border-radius: 999px;
    background: var(--yd-white);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s, background-color .2s, color .2s;
}
:is(.yd-n-layout, .yd-pagination) .page-numbers.current {
    border-color: var(--yd-forest);
    background: var(--yd-forest);
    color: #fff;
}
:is(.yd-n-layout, .yd-pagination) a.page-numbers:hover {
    border-color: var(--yd-forest);
    color: var(--yd-forest);
}
:is(.yd-n-layout, .yd-pagination) a.page-numbers:focus-visible {
    outline: 2px solid var(--yd-forest);
    outline-offset: 3px;
}
:is(.yd-n-layout, .yd-pagination) a.page-numbers:active {
    background: var(--yd-warm);
}
.yd-collection-body{padding:90px 0 110px}
.yd-filter-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:42px}
.yd-filter-links a{padding:11px 16px;border:1px solid var(--yd-line);color:var(--yd-forest)}
.yd-filter-links a:hover,.yd-filter-links a:focus-visible{background:var(--yd-forest);color:#fff}
.yd-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.yd-product-grid article{min-width:0;border:1px solid var(--yd-line);background:#fff}
.yd-product-grid article>a{display:flex;height:100%;flex-direction:column;color:var(--yd-ink)}
.yd-product-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.yd-product-grid article>a>div{display:flex;flex:1;flex-direction:column;padding:24px}
.yd-product-grid h2{margin:8px 0 12px;font-size:27px;line-height:1.15}
.yd-product-grid p:not(.yd-eyebrow){margin:0 0 22px;color:var(--yd-muted);line-height:1.6}
.yd-product-grid strong{margin-top:auto;color:var(--yd-forest);font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.yd-collection--cases .yd-collection-body{padding:96px 0}
/* Case headers preserve supplied photography instead of enlarging square previews. */
body:is(.post-type-archive-yardex_case,.tax-yardex_case_category) .yd-collection-hero.has-image{min-height:347px;align-items:center;padding:53px 0}
body:is(.post-type-archive-yardex_case,.tax-yardex_case_category) .yd-collection-hero__image{object-position:center 72%}
body:is(.post-type-archive-yardex_case,.tax-yardex_case_category) .yd-collection-hero.has-image::before{background:linear-gradient(90deg,rgba(15,29,19,.8),rgba(15,29,19,.35) 55%,rgba(15,29,19,.08))}
body.single-yardex_case .yd-collection-hero.has-image{display:grid;grid-template-columns:minmax(24px,1fr) minmax(0,720px) minmax(0,720px) minmax(24px,1fr);align-items:center;gap:0;min-height:267px;padding:27px 0;background:var(--yd-warm);color:var(--yd-ink);border-bottom:1px solid var(--yd-line)}
body.single-yardex_case .yd-collection-hero.has-image::before{display:none}
body.single-yardex_case .yd-collection-hero__image{position:relative;inset:auto;grid-column:3;grid-row:1;justify-self:center;z-index:auto;width:213px;max-width:100%;height:213px;object-fit:cover;border-radius:4px}
body.single-yardex_case .yd-collection-hero > .yd-shell{grid-column:2;grid-row:1;max-width:none;width:100%;padding:0 48px 0 8px;margin:0}
body.single-yardex_case .yd-collection-hero.has-image h1{color:var(--yd-ink);font-size:clamp(36px,3.4vw,56px);line-height:1.12;max-width:620px;margin:20px 0 24px}
body.single-yardex_case .yd-collection-hero.has-image .yd-eyebrow{color:var(--yd-forest);border-left:3px solid var(--yd-forest);padding-left:14px}
body.single-yardex_case .yd-collection-hero.has-image .yd-shell > div{color:var(--yd-muted);max-width:530px;font-size:17px}
@media(max-width:700px){
 body:is(.post-type-archive-yardex_case,.tax-yardex_case_category) .yd-collection-hero.has-image{min-height:307px;padding:43px 0 32px;align-items:flex-end}
 body.single-yardex_case .yd-collection-hero.has-image{grid-template-columns:minmax(0,1fr);gap:19px;padding:32px 16px 27px}
 body.single-yardex_case .yd-collection-hero > .yd-shell{grid-column:1;grid-row:1;padding:0}
 body.single-yardex_case .yd-collection-hero__image{grid-column:1;grid-row:2;width:min(100%,213px);height:auto;aspect-ratio:1;max-height:213px;object-fit:cover}
 body.single-yardex_case .yd-collection-hero.has-image h1{font-size:36px;margin:16px 0 20px}
}
.yd-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 32px;counter-reset:case-card}
.yd-case-grid article{min-width:0;counter-increment:case-card;border-bottom:1px solid var(--yd-line)}
.yd-case-grid a{display:block;height:100%;color:var(--yd-ink);text-decoration:none}
.yd-case-card__media{overflow:hidden;border-radius:4px;background:var(--yd-warm)}
.yd-case-grid img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .35s ease}
.yd-case-grid a:hover img{transform:scale(1.025)}
.yd-case-card__copy{display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:16px;padding:24px 0 28px;align-items:start}
.yd-case-card__number{color:var(--yd-forest);font-size:14px;padding-top:5px;font-variant-numeric:tabular-nums}
.yd-case-card__number::before{content:counter(case-card,decimal-leading-zero)}
.yd-case-card__arrow{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--yd-line);border-radius:4px;color:var(--yd-forest);font-size:24px}
.yd-case-grid a:hover .yd-case-card__arrow{background:var(--yd-forest);border-color:var(--yd-forest);color:#fff}
.yd-case-grid a:focus-visible{outline:2px solid var(--yd-forest);outline-offset:6px;border-radius:4px}
.yd-case-grid h2{margin:0}
.yd-case-grid .yd-eyebrow{margin:0 0 8px;color:var(--yd-forest)}
.yd-case-grid p:not(.yd-eyebrow){margin:12px 0 0;color:var(--yd-muted);line-height:1.7}
@media(max-width:900px){.yd-collection--cases .yd-collection-body{padding:72px 0}}
@media(max-width:700px){.yd-collection--cases .yd-collection-body{padding:56px 0}.yd-case-grid{gap:32px}.yd-case-card__copy{grid-template-columns:24px minmax(0,1fr) 40px;gap:12px;padding:20px 0 24px}.yd-case-card__arrow{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.yd-case-grid img{transition:none}.yd-case-grid a:hover img{transform:none}}
.yd-resource-list{display:grid;grid-template-columns:1fr}
.yd-resource-list article{display:grid;grid-template-columns:112px minmax(0,1fr);gap:32px;align-items:center;min-width:0;padding:32px 0;border-top:1px solid var(--yd-line)}
.yd-resource-list article:last-child{border-bottom:1px solid var(--yd-line)}
.yd-resource-list article>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center;min-width:0}
.yd-resource-list article>div:last-child>p,.yd-resource-list article h2{grid-column:1}
.yd-resource-list article>div:last-child>p{margin:0}
.yd-resource-list article>div:last-child>a{grid-column:2;grid-row:1 / 4;margin:0;justify-self:end}
.yd-resource-pdf{display:grid;place-items:center;color:#d93632}
.yd-resource-pdf svg{display:block;width:88px;height:106px}
.yd-resource-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:40px}
.yd-resource-filters a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 18px;border:1px solid var(--yd-line);border-radius:4px;color:var(--yd-ink);font-size:16px;line-height:1.4;text-decoration:none}
.yd-resource-filters svg{width:22px;height:22px;flex-shrink:0;color:var(--yd-forest)}
.yd-resource-filters__count{font-size:13px;min-width:24px;text-align:center;padding:2px 6px;border-radius:4px;background:var(--yd-warm);color:var(--yd-muted)}
.yd-resource-filters a:hover{border-color:var(--yd-forest);color:var(--yd-forest)}
.yd-resource-filters a[aria-current]{background:var(--yd-forest);border-color:var(--yd-forest);color:var(--yd-white)}
.yd-resource-filters a[aria-current] svg{color:inherit}
.yd-resource-filters a:focus-visible{outline:2px solid var(--yd-ink);outline-offset:4px}
.yd-resource-filters a:active{opacity:.8}
.yd-collection--resources .yd-empty-state{border-radius:4px;border-top:2px solid var(--yd-forest);line-height:1.65;color:var(--yd-muted)}
@media(max-width:700px){.yd-resource-filters{display:grid;grid-template-columns:1fr;margin-bottom:32px}.yd-resource-filters__count{margin-left:auto}}
.yd-resource-list h2{margin:8px 0 12px;font-size:30px}
.yd-resource-list p:not(.yd-eyebrow){color:var(--yd-muted)}
.yd-news-index article{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:48px;align-items:center;padding:32px 0;border-top:1px solid var(--yd-line)}
.yd-news-index article:last-child{border-bottom:1px solid var(--yd-line)}
.yd-news-index h2{margin:8px 0 12px;font-size:31px;line-height:1.16}
.yd-news-index h2 a{color:var(--yd-ink)}
.yd-news-index p:not(.yd-eyebrow){color:var(--yd-muted)}
.yd-news-index img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.yd-record-content{margin:0}
.yd-record-content>.alignfull{margin-left:0;margin-right:0}
.yd-prose{padding-top:80px;padding-bottom:110px;max-width:860px;font-size:17px;line-height:1.8}
.yd-empty-state{padding:32px;border:1px solid var(--yd-line);background:var(--yd-warm);color:var(--yd-muted)}
@media(max-width:900px){.yd-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){.yd-collection-hero,.yd-record-hero{min-height:320px;padding:57px 0 33px}
.yd-collection-hero h1,.yd-record-hero h1{font-size:36px}
.yd-collection-body{padding:64px 0 80px}
.yd-product-grid,.yd-case-grid{grid-template-columns:1fr}
.yd-resource-list{grid-template-columns:1fr}
.yd-resource-list article{grid-template-columns:64px minmax(0,1fr);gap:16px;padding:24px 0;align-items:start}
.yd-resource-pdf svg{width:56px;height:68px}
.yd-resource-list article>div:last-child{grid-template-columns:1fr}
.yd-resource-list article>div:last-child>a{grid-column:1;grid-row:auto;justify-self:start;margin-top:24px}
.yd-news-index article{grid-template-columns:1fr;gap:22px}
.yd-news-index article>a{order:-1}
.yd-news-index img{aspect-ratio:16/9}
}




body :is(.yd-product-grid,.yd-case-grid,.yd-resource-list,.yd-news-index) h2 { font-size: 24px; font-weight: 600; line-height: 1.3; }
body :is(.yd-collection-hero,.yd-record-hero) h1 { font-weight: 700; line-height: 1.1; }
body :is(.yd-collection-hero div>div,.yd-record-hero p:last-child) { color: #151515; font-size: 17px; }
body .yd-filter-links a { border-radius: 4px; color: var(--yd-ink); }
body .yd-filter-links a:is(:hover,:focus-visible) { background: var(--yd-ink); color: #fff; }
body .yd-product-grid strong { color: var(--yd-ink); font-size: 14px; font-weight: 600; text-transform: capitalize; letter-spacing: 0; }
@media(max-width:600px) { body :is(.yd-product-grid,.yd-case-grid,.yd-resource-list,.yd-news-index) h2 { font-size: 22px; } }


