.resource-top{max-width:1320px;margin:auto;padding:12px 6%;display:flex;align-items:center;justify-content:space-between;gap:20px}.resource-top img{display:block;width:190px;height:auto}.resource-top>a:last-child{font-size:16px;color:var(--green)}.resource-intro{max-width:650px;color:var(--muted)}.resource-library>h1{font-size:54px;margin:0 0 20px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.resource-card{display:flex;flex-direction:column;min-width:0;background:#fffdf6;border:1px solid var(--line);border-radius:7px;overflow:hidden;transition:box-shadow .15s ease}.resource-card:hover{box-shadow:0 5px 22px #4a68351a}.resource-card img{display:block;width:100%;height:155px;object-fit:cover}.resource-card-content{padding:20px;display:flex;flex-direction:column;flex:1}.resource-kicker{text-transform:uppercase;font-size:16px;letter-spacing:1px;color:#7a6b3f}.resource-card h3{font-size:24px;line-height:1.18;margin:12px 0}.resource-card p{font-size:16px;color:var(--muted);line-height:1.65;margin:0 0 18px}.resource-action{font-size:16px;font-weight:bold;color:var(--green);margin-top:auto;display:flex;justify-content:space-between}.resource-bottom-links{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:22px}.resource-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:30px 0 15px}.resource-tools label{font-size:16px;font-weight:bold}.resource-tools input,.resource-tools select,.state-guides select{padding:12px;border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink);font:inherit;font-size:16px;max-width:100%}.resource-tools input{flex:1;min-width:160px}#resource-count{font-size:16px;color:var(--muted)}.state-guides{margin-top:55px;padding:32px;background:#eef3df;border-radius:7px}.state-guides>p:not(.eyebrow){font-size:16px;max-width:800px}.state-guides label{display:block;font-size:16px;font-weight:bold;margin:20px 0 8px}.state-guides select{width:320px}.state-guide-card{padding-top:20px}.state-guide-card h3{font-size:25px;margin:0}.state-guide-card p,#state-guide-result>p{font-size:16px}.directory-status{padding:28px 0;border-bottom:1px solid var(--line)}.directory-status h2{font-size:27px}.directory-status p{font-size:16px;color:var(--muted)}.reading{max-width:850px;margin:auto;padding:25px 30px 70px}.reading>.eyebrow{margin-top:35px}.reading h1{font-size:43px;letter-spacing:-1px;margin:15px 0}.back-link{font-size:16px;color:var(--green)}.edition{padding:15px 18px;background:#edf2df;border-left:3px solid #9cae68;font-size:16px;line-height:1.7}.reading article{font-size:16px;line-height:1.8;margin-top:30px}.reading article h2{font-size:25px;margin:32px 0 13px;line-height:1.3}.reading article p{margin:12px 0;overflow-wrap:anywhere}.reading article li{margin:12px 0}.print-button{margin-top:10px;font-size:16px}.reading article p:first-child{color:var(--muted)}@media(max-width:900px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.resource-grid{grid-template-columns:1fr;gap:16px}.resource-card img{height:170px}.resource-library>h1{font-size:38px}.resource-top{padding:10px 5%;align-items:center}.resource-top img{width:155px}.resource-top>a:last-child{font-size:16px;max-width:130px;text-align:right}.resource-tools{display:grid;grid-template-columns:1fr}.resource-tools input,.resource-tools select{width:100%}.reading{padding:20px 5% 45px}.reading h1{font-size:34px}.state-guides{padding:24px 20px}.resource-card h3{font-size:25px}}@media print{.resource-top,.announcement,.print-button,footer,.back-link{display:none}.reading{max-width:none;padding:0}.reading h1{font-size:28px}.reading article{font-size:11pt;line-height:1.5}.reading article h2{break-after:avoid}.edition{font-size:9pt}.reading article p,.reading article li{orphans:3;widows:3}}

.resource-card img{height:220px}.resource-card[data-resource="producer-template"] img{object-position:50% 38%}.resource-card[data-resource="buyers-guide"] img{object-position:50% 65%}.resource-card[data-resource="buyer-iso-template"] img{object-position:50% 46%}.photo-credit-link{font-size:16px;color:inherit;opacity:.8}.credit-list{padding:0;list-style:none}.credit-list li{padding:20px 0;border-bottom:1px solid var(--line)}.credit-list strong{display:block}.credit-list a{color:var(--green);text-decoration:underline}.credit-list small{color:var(--muted)}

.resource-card[data-resource="beef-cuts"] img,.resource-card[data-resource="pork-cuts"] img,.resource-card[data-resource="lamb-goat-cuts"] img{object-fit:contain;background:white;padding:12px}

.resource-card[data-resource="community-rules"] img{object-position:50% 55%}

/* Two columns keep beef, pork, and lamb/goat resource pairs on the same row. */
.resource-library .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.resource-library .resource-card[data-resource="community-rules"]{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
.resource-library .resource-card[data-resource="community-rules"] img{height:100%;min-height:220px;object-position:center}
@media(max-width:540px){.resource-library .resource-grid{grid-template-columns:1fr}.resource-library .resource-card[data-resource="community-rules"]{display:flex}.resource-library .resource-card[data-resource="community-rules"] img{height:220px;min-height:0}}

.fleece-photo{margin:24px 0}.fleece-photo img{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;object-position:center}.fleece-photo figcaption{font-size:16px;color:var(--muted);margin-top:7px}.fleece-subtitle{font:italic 21px/1.5 Georgia;color:var(--muted)}.guide-lead{font-size:18px}.guide-callout{padding:20px;background:#f8efd2;border-left:4px solid #c4a13e}.guide-callout p{margin-bottom:0}.reading article a{color:#456f34;text-decoration:underline}.guide-table{width:100%;border-collapse:collapse;font-size:16px;margin:22px 0;line-height:1.6}.guide-table caption{text-align:left;font-weight:bold;padding:10px 0}.guide-table th,.guide-table td{padding:12px;border:1px solid var(--line);vertical-align:top;text-align:left}.guide-table th{background:#ecf1de}.guide-table-scroll{overflow-x:auto}.guide-sources{font-size:16px;line-height:1.7}.source-note{font-size:16px}.resource-library .resource-card[data-resource="feeder-template"]{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.resource-library .resource-card[data-resource="feeder-template"] img{height:100%;min-height:220px}.fleece-checklist{list-style:'☐  ';padding-left:24px}@media(max-width:540px){.guide-table{font-size:16px}.guide-table th,.guide-table td{padding:8px}.resource-library .resource-card[data-resource="feeder-template"]{display:flex}.resource-library .resource-card[data-resource="feeder-template"] img{height:220px;min-height:0}.fleece-subtitle{font-size:19px}}@media print{.fleece-photo{display:none}.guide-callout{break-inside:avoid}.guide-table{font-size:10pt}.guide-table tr{break-inside:avoid}}

.resource-card[data-resource="first-raw-fleece"] img,.fleece-photo img{object-position:50% 60%}
.document-cover{margin:24px 0}.document-cover img{display:block;width:100%;height:340px;object-fit:cover;object-position:center;border-radius:5px}.document-cover figcaption{font-size:16px;color:var(--muted);margin-top:7px}.document-cover figcaption a{color:inherit;text-decoration:underline}.document-cover-producer-template img{object-position:50% 38%}.document-cover-buyers-guide img{object-position:50% 65%}.document-cover-buyer-iso-template img{object-position:50% 46%}@media(max-width:540px){.document-cover img{height:240px}}@media print{.document-cover img{height:auto;max-height:260px;object-fit:contain}.document-cover{break-inside:avoid}}

/* Shared web and print layout for the buyer and producer templates. */
.posting-template .template-field{margin:24px 0 30px;break-inside:avoid}
.posting-template .template-field h2{margin:0 0 8px;font-size:24px;line-height:1.3}
.posting-template .template-hint{margin:0;color:var(--muted);font-size:16px;line-height:1.6}
.posting-template .template-blank{min-height:30px}
@media print{.template-preview-link{display:none}.posting-template .template-field{margin:14pt 0 18pt;break-inside:avoid}.posting-template .template-field h2{font-size:14pt;margin-bottom:5pt}.posting-template .template-hint{font-size:10pt;color:#444}.posting-template .template-blank{min-height:20pt}}
