/* v1.3 read-only public recipe discovery, isolated from the tested single-recipe styling. */
body.hk-recipe-library{margin:0;background:#fffbf7;color:#253036}
.hk-library-page{min-height:65vh;background:#fffbf7}
.hk-library-container{max-width:1180px;width:calc(100% - 48px);margin-inline:auto;padding:clamp(26px,4vw,60px) 0 90px}
.hk-library-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:#68767d;margin:0 0 30px}
.hk-library-breadcrumb a{color:#713f55}
.hk-library-header{max-width:810px;margin:0 0 34px}
.hk-library-kicker{font-size:12px;letter-spacing:.12em;color:#a6502d;font-weight:700}
.hk-library-header h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);font-weight:500;line-height:1.09;margin:13px 0 20px}
.hk-library-header p{font-size:clamp(16px,1.5vw,19px);line-height:1.6;color:#5b686d;margin:0}
.hk-library-categories{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}
.hk-library-categories a{color:#713f55;background:#f5ece8;border:1px solid #eaded7;border-radius:50px;padding:8px 15px;text-decoration:none;font-size:14px}
.hk-library-categories a:hover,.hk-library-categories a:focus-visible{background:#e8d7db}
.hk-library-form{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(130px,1fr)) auto auto;gap:12px;align-items:end;border:1px solid #e7dbd2;background:#fff;border-radius:16px;padding:20px;margin:0 0 25px;box-shadow:0 5px 20px rgb(40 30 25 / 3%)}
.hk-library-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650;color:#4d585d;min-width:0}
.hk-library-form :is(input,select){font:inherit;color:#253036;background:#fff;border:1px solid #cec9c4;border-radius:8px;min-width:0;width:100%;min-height:44px;padding:10px}
.hk-library-form button{background:#713f55;color:#fff;border:0;border-radius:9px;min-height:44px;padding:10px 18px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.hk-library-clear{color:#713f55;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;font-size:14px;white-space:nowrap}
.hk-library-count{font-size:14px;color:#647077;margin:14px 0 22px}
.hk-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hk-library-tile{min-width:0;background:#fff;border:1px solid #e7dbd2;border-radius:15px;overflow:hidden;box-shadow:0 8px 27px rgb(40 30 25 / 4%);transition:box-shadow .18s ease}
.hk-library-tile:hover,.hk-library-tile:focus-within{box-shadow:0 6px 19px rgb(22 43 70 / 11%)}
.hk-library-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#f4ede6}
.hk-library-image img{width:100%;height:100%;object-fit:cover;display:block;transition:none}
.hk-library-image:hover img{transform:none}
.hk-library-image .hk-image-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#67767c}
.hk-library-tile-body{padding:19px 20px 22px}
.hk-library-tile-body h2{font-family:Georgia,serif;font-size:clamp(20px,2.2vw,25px);font-weight:500;line-height:1.24;margin:0 0 11px}
.hk-library-tile-body h2 a{color:#253036;text-decoration:none}
.hk-library-tile-body h2 a:hover{text-decoration:underline}
.hk-library-tile-body p{font-size:14px;line-height:1.55;color:#68757a;margin:0 0 12px}
.hk-library-time{font-size:12px;font-weight:650;letter-spacing:.02em;color:#713f55}
.hk-library-pagination{margin:35px 0}
.hk-library-pagination ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0}
.hk-library-pagination a,.hk-library-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid #ded0c6;border-radius:8px;text-decoration:none;color:#713f55}
.hk-library-pagination .current{background:#713f55;color:#fff}
.hk-library-empty{padding:36px;border:1px dashed #d9c9bd;border-radius:15px;background:#fff}
.hk-library-empty h2{margin:0 0 10px;font-size:24px}
.hk-library-empty p{color:#69777c}
.hk-library-empty a{color:#713f55}
.hk-library-caution{font-size:13px;color:#69777c;line-height:1.6;margin:35px 0 0}
.hk-library-page :is(a,button,input,select):focus-visible{outline:3px solid #205db5;outline-offset:3px}
@media(max-width:1050px){.hk-library-form{grid-template-columns:repeat(3,minmax(0,1fr))}.hk-library-search{grid-column:span 3}.hk-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hk-library-container{width:calc(100% - 32px);padding:26px 0 64px}.hk-library-form{grid-template-columns:1fr;padding:16px}.hk-library-search{grid-column:span 1}.hk-library-form button,.hk-library-clear{width:100%}.hk-library-grid{grid-template-columns:1fr;gap:18px}.hk-library-tile-body h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.hk-library-image img{transition:none}}

.hk-library-profile-link{font-size:14px;color:#4b5563;margin:-7px 0 24px}.hk-library-profile-link a{font-weight:650;text-decoration:underline}
