
.shape-library{max-width:1200px;margin:40px auto;font-family:Arial,Helvetica,sans-serif}
.shape-library-header{text-align:center;margin-bottom:35px}
.shape-library-header p{max-width:700px;margin:auto;color:#5d6b65}
.shape-library-search{max-width:600px;margin:0 auto 35px}
.shape-library-search input{width:100%;padding:15px 22px;border:1px solid #dfe8e3;border-radius:999px;font-size:1rem;box-sizing:border-box}
.shape-library-search input:focus{outline:none;border-color:#295646;box-shadow:0 0 0 4px rgba(41,86,70,.12)}
.shape-library-disclaimer{max-width:900px;margin:20px auto 35px;padding:14px 18px;background:#f7faf8;border:1px solid #dfe8e3;border-left:4px solid #295646;border-radius:12px;font-size:.85rem;line-height:1.6;color:#5d6b65}
.shape-resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px}
.shape-resource-card{background:#fff;border:1px solid #dfe8e3;border-radius:16px;padding:24px;box-shadow:0 4px 12px rgba(0,0,0,.05);transition:.25s ease}
.shape-resource-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(0,0,0,.08)}
.shape-resource-type{display:inline-block;background:#eaf5ef;color:#295646;padding:6px 12px;border-radius:30px;font-size:.8rem;font-weight:600;margin-bottom:12px}
.shape-resource-card h3{font-size:1.15rem;line-height:1.4;margin-bottom:12px}
.shape-resource-card p{color:#5d6b65;line-height:1.6;margin-bottom:18px}
.shape-resource-card a{color:#295646;font-weight:600;text-decoration:none}
.shape-resource-card a:hover{text-decoration:underline}
.shape-no-results{text-align:center;padding:30px;color:#5d6b65}
@media(max-width:768px){.shape-library{margin:20px auto}}

.shape-library .shape-no-results[hidden]{display:none!important}
.shape-resource-citation{font-size:.88rem}
.shape-library .shape-resource-card[hidden]{display:none!important}


.shape-library {width:100%;max-width:1200px;margin:32px auto;padding:0 18px;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;}
.shape-library *, .shape-library *::before,.shape-library *::after {box-sizing:border-box;}
.shape-library .shape-library-header {text-align:center;margin:0 auto 28px;}
.shape-library .shape-library-header h2 {font-family:inherit;font-size:clamp(28px,3vw,38px);line-height:1.2;font-weight:700;color:#295646;margin:0 0 16px;padding:0;text-align:center;letter-spacing:normal;}
.shape-library .shape-library-header p {font-family:inherit;font-size:16px;line-height:1.65;font-weight:400;max-width:760px;margin:0 auto;color:#5d6b65;text-align:center;}
.shape-library .shape-library-search {max-width:600px;margin:0 auto 24px;}
.shape-library .shape-library-search input[type="search"] {display:block;width:100%;height:auto;min-height:48px;padding:12px 20px;border:1px solid #dfe8e3;border-radius:24px;background:#fff;color:#295646;font-family:inherit;font-size:16px;font-weight:400;line-height:1.4;box-shadow:none;}
.shape-library .shape-library-disclaimer {max-width:900px;margin:0 auto 32px;padding:14px 18px;font-family:inherit;font-size:13px;line-height:1.55;font-weight:400;text-align:left;color:#5d6b65;}
.shape-library .shape-resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px;width:100%;}
.shape-library .shape-resource-grid .shape-resource-card {display:flex;flex-direction:column;min-width:0;margin:0;padding:24px;border:1px solid #dfe8e3;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);overflow-wrap:anywhere;}
.shape-library .shape-resource-card .shape-resource-type {align-self:flex-start;flex:none;margin:0 0 15px;padding:6px 12px;font-family:inherit;font-size:12px;line-height:1.4;font-weight:600;color:#295646;}
.shape-library .shape-resource-card h3 {font-family:inherit;font-size:19px;line-height:1.35;font-weight:700;letter-spacing:normal;text-transform:none;color:#295646;margin:0 0 14px;padding:0;text-align:left;overflow-wrap:break-word;}
.shape-library .shape-resource-card p {font-family:inherit;font-size:14px;line-height:1.6;font-weight:400;color:#5d6b65;margin:0 0 14px;padding:0;text-align:left;}
.shape-library .shape-resource-card .shape-resource-citation {font-size:13px;}
.shape-library .shape-resource-card a {font-family:inherit;font-size:14px;line-height:1.5;font-weight:700;color:#295646;margin-top:auto;padding-top:10px;text-decoration:none;align-self:flex-start;}
.shape-library .shape-resource-card a:hover {text-decoration:underline;}
.shape-library .shape-resource-card[hidden],.shape-library .shape-no-results[hidden] {display:none!important;}
@media(max-width:950px){.shape-library .shape-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.shape-library{padding:0 12px;margin:20px auto}.shape-library .shape-resource-grid{grid-template-columns:minmax(0,1fr);gap:16px}.shape-library .shape-resource-grid .shape-resource-card{padding:20px}.shape-library .shape-resource-card h3{font-size:18px}.shape-library .shape-library-header h2{font-size:28px}}


.shape-library .shape-load-more-wrap {text-align:center;margin:24px auto 0;}
.shape-library .shape-load-more-wrap[hidden] {display:none!important;}
.shape-library .shape-result-count {font-size:13px;color:#5d6b65;margin:0 0 10px;}
.shape-library .shape-load-more {background:#295646;color:#fff;border:0;border-radius:24px;padding:11px 22px;font-size:14px;font-weight:600;cursor:pointer;}
.shape-library .shape-load-more:hover,.shape-library .shape-load-more:focus {background:#1d4034;color:#fff;}


.shape-library .shape-load-more {display:inline-block;text-decoration:none!important;line-height:1.5;}
.shape-library .shape-load-more-wrap {display:block;}
.shape-library .shape-load-more-wrap[hidden] {display:none!important;}
.shape-library .shape-resource-card[hidden] {display:none!important;}


.shape-library .shape-resource-grid > article.shape-resource-card[hidden] { display:none!important; }
.shape-library .shape-load-more-wrap:not([hidden]) { display:block!important; visibility:visible!important; opacity:1!important; }
.shape-library .shape-load-more-wrap:not([hidden]) .shape-load-more { display:inline-block!important; visibility:visible!important; opacity:1!important; }
/* v2.0: hide items until explicitly revealed; protects against theme display overrides. */
.shape-library .shape-resource-grid > .shape-resource-card[hidden], .shape-library .shape-no-results[hidden], .shape-library .shape-load-more-wrap[hidden] { display:none!important; }
