/* Shared books/company identity uses the main site's petrol, sage and warm neutral tokens. */
.resource-main{padding-bottom:14px}.resource-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:32px;padding:32px 36px;border:1px solid var(--line);border-radius:12px;background:var(--soft);position:relative;overflow:hidden}.resource-eyebrow{font-size:11px;color:var(--accent);font-weight:600}.resource-hero h1{font-size:38px;line-height:1.6;font-weight:850;margin:6px 0 12px;color:var(--brand)}.resource-hero p{font-size:15px;line-height:2.15;max-width:640px;color:var(--muted)}.resource-hero-links{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:23px;font-size:12px}.resource-hero-links a{display:flex;gap:22px;align-items:center;padding:8px 0;color:var(--brand)}.resource-hero-links a:first-child{background:var(--strong);color:var(--on-strong);padding:9px 16px;border-radius:5px}.resource-hero-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;border-inline-start:1px solid var(--line);color:var(--brand);background:radial-gradient(ellipse at center,color-mix(in srgb,var(--brand) 9%,transparent),transparent 70%)}.resource-hero-art>svg{width:115px;height:115px;stroke-width:1;opacity:.85}.resource-hero-art>span{font-size:12px;letter-spacing:1px}.resource-main svg,.home-resource-section svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.resource-directory{margin-top:30px;scroll-margin-top:20px}.resource-directory-bar{display:flex;justify-content:space-between;align-items:center;gap:22px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.resource-directory-bar h2{font-size:21px;color:var(--brand)}.resource-directory-bar p{font-size:11px;color:var(--muted);margin-top:5px}.resource-filter{display:grid;gap:5px;font-size:10px;color:var(--muted);width:300px;max-width:100%}.resource-filter input{width:100%;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);padding:10px 12px;font:inherit;font-size:13px}.resource-filter input:focus{outline:2px solid var(--brand);outline-offset:2px}.resource-cards{display:grid;gap:20px}.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.companies-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.resource-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:var(--radius-image);background:var(--surface);overflow:hidden;transition:border-color .2s}.resource-card:hover{border-color:var(--brand)}.resource-card[hidden],.resource-filter[hidden],.resource-filter-status[hidden]{display:none}.resource-image{position:relative;display:block;aspect-ratio:16/9;background:var(--soft)}.resource-image img{width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;border-radius:0}.resource-image>span{position:absolute;bottom:9px;right:10px;background:var(--surface);color:var(--muted);font-size:9px;border:1px solid var(--line);border-radius:4px;padding:2px 7px}.resource-card-body{display:flex;flex-direction:column;flex:1;padding:19px}.resource-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--accent)}.resource-card h3{font-size:19px;font-weight:750;line-height:1.9;margin:7px 0 10px;color:var(--brand)}.resource-card p{font-size:12px;line-height:2.1;color:var(--muted);margin-bottom:20px}.resource-card-bottom{margin-top:auto;padding-top:13px;border-top:1px solid var(--line)}.resource-card-bottom a{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--brand);font-size:12px}.resource-card-bottom a span{color:var(--accent)}.resource-company-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--brand)}.resource-company-icon svg{width:28px;height:28px}.resource-company h3{font-size:18px;min-height:3.8em;margin-bottom:16px}.resource-news-label{font-size:10px;color:var(--muted)}.resource-company-news{font-size:12px;line-height:2.1;margin:6px 0 22px;color:var(--ink)}.resource-filter-status{padding:20px;background:var(--soft);border:1px solid var(--line);border-radius:6px;margin-top:18px;font-size:13px}.resource-editorial-note{display:flex;gap:18px;align-items:center;border-top:1px solid var(--line);margin-top:30px;padding-block:23px}.resource-editorial-note>span{width:45px;flex:none;color:var(--brand)}.resource-editorial-note svg{width:45px;height:45px}.resource-editorial-note h2{font-size:16px;color:var(--brand)}.resource-editorial-note p{font-size:12px;color:var(--muted);line-height:2;margin-top:6px}
.home-resource-section{margin-block:34px}.resource-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:2px solid var(--brand);padding:18px 0;margin-bottom:3px}.resource-section-identity{display:flex;align-items:center;gap:12px}.resource-section-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:8px;color:var(--brand);background:var(--soft);border:1px solid var(--line)}.resource-section-icon svg{width:29px;height:29px}.resource-section-heading h2{font-size:24px;font-weight:800;color:var(--brand);line-height:1.6}.resource-browse{display:flex;gap:22px;align-items:center;font-size:12px;color:var(--brand)}.resource-browse span{color:var(--accent)}.home-resource-section .companies-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-resource-section .resource-company h3{font-size:16px}.resource-main a:focus-visible,.home-resource-section a:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
@media(min-width:701px) and (max-width:1000px){.resource-hero{grid-template-columns:1.6fr 1fr;padding:26px}.resource-hero h1{font-size:32px}.resource-card-body{padding:15px}.resource-card h3{font-size:17px}.companies-grid,.home-resource-section .companies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.resource-hero{grid-template-columns:minmax(0,1fr);padding:23px;gap:0}.resource-hero h1{font-size:29px}.resource-hero p{font-size:13px}.resource-hero-art{display:none}.resource-hero-links{gap:10px 20px;font-size:11px;margin-top:16px}.resource-directory{margin-top:23px}.resource-directory-bar{align-items:stretch;flex-direction:column;gap:15px}.resource-directory-bar h2{font-size:19px}.resource-filter{width:100%}.books-grid,.companies-grid,.home-resource-section .companies-grid{grid-template-columns:1fr}.resource-cards{gap:17px}.resource-card h3{font-size:19px}.resource-company h3{min-height:0;font-size:18px}.resource-company-news{font-size:13px}.resource-card-body{padding:18px}.resource-editorial-note{align-items:start;gap:12px}.resource-editorial-note>span,.resource-editorial-note svg{width:32px;height:32px}.resource-editorial-note h2{font-size:15px}.home-resource-section{margin-block:26px}.resource-section-heading{gap:12px;padding-block:14px}.resource-section-heading h2{font-size:22px}.resource-eyebrow{font-size:10px}.resource-browse{font-size:10px;gap:10px}.resource-section-identity{gap:9px}.home-resource-section .resource-company h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.resource-card{transition:none}}

.resource-company-icon img{width:30px;height:30px;object-fit:contain}
