/* Artwork is out of flow: existing heading and search geometry stays intact. */
.books-intro{isolation:isolate}
.books-sappho-art{position:absolute;inset:0 0 0 auto;width:220px;pointer-events:none;overflow:hidden;z-index:-1;mask-image:linear-gradient(to right,transparent,#000 32%);-webkit-mask-image:linear-gradient(to right,transparent,#000 32%)}
.books-sappho-portrait{position:absolute;right:-30px;bottom:0;height:100%;width:auto;max-width:none;object-fit:contain;mask-image:linear-gradient(to bottom,#000 85%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 85%,transparent)}
.books-sappho-flowers{position:absolute;width:80px;height:110px;object-fit:contain;right:-8px;top:0;opacity:.75;transform:rotate(16deg)}
.books-sappho-arch{position:absolute;right:5px;top:0;width:130px;height:230px;border:16px solid #e7d3b53b;border-radius:100px;transform:rotate(-17deg)}
html[data-theme=dark] .books-sappho-portrait{opacity:.75}
html[data-theme=dark] .books-sappho-arch{border-color:#e7d3b514}
@media(max-width:700px){.books-sappho-art{width:125px;opacity:.22;mask-image:linear-gradient(to right,transparent,#000 65%);-webkit-mask-image:linear-gradient(to right,transparent,#000 65%)}.books-sappho-portrait{height:90%;right:-38px}.books-sappho-flowers{width:65px;right:-20px}.books-sappho-arch{right:-25px}html[data-theme=dark] .books-sappho-art{opacity:.17}}
@media(min-width:701px){.books-sappho-art{bottom:-80px;width:300px}.books-sappho-portrait{right:-35px}.books-sappho-flowers{width:115px;height:150px}.books-sappho-arch{width:180px;height:300px}}
@media(max-width:700px){.books-sappho-art{bottom:30px;opacity:.8;mask-image:linear-gradient(to right,transparent,#000 38%);-webkit-mask-image:linear-gradient(to right,transparent,#000 38%)}.books-sappho-portrait{height:100%;right:-32px;mask-image:linear-gradient(to bottom,#000 65%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent)}html[data-theme=dark] .books-sappho-art{opacity:.7}}

/* Full-height editorial crop, from the header edge to the unchanged search. */
@media(min-width:701px){
.books-sappho-art{top:var(--art-top,-24px);bottom:auto;height:var(--art-height,258px);width:42%;min-width:290px;max-width:420px;mask-image:linear-gradient(to right,transparent,#000 27%);-webkit-mask-image:linear-gradient(to right,transparent,#000 27%)}
.books-sappho-portrait{height:106%;right:-66px;bottom:-10px}
.books-sappho-flowers{width:145px;height:195px;right:-24px;top:14px}
.books-sappho-arch{width:240px;height:370px;top:6px;right:14px;border-width:24px}
}
@media(max-width:700px){.books-sappho-art{top:-20px;bottom:24px;width:135px;opacity:.9}.books-sappho-portrait{height:106%;right:-45px;bottom:-8px}.books-sappho-flowers{top:8px;width:82px;height:120px}}
/* Desktop artwork continues beneath the search without changing document flow. */
@media(min-width:701px){
.books-sappho-art{right:-24px;height:calc(var(--art-height,258px) + 78px);width:46%;max-width:460px;mask-image:linear-gradient(to right,transparent,#000 27%,#000 88%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 27%,#000 88%,transparent)}
.books-sappho-portrait{height:100%;right:-78px;bottom:0}
.book-search{position:relative;z-index:2}
}

@media(min-width:701px){.books-sappho-art{clip-path:inset(0 0 max(0px,calc(100% - var(--art-end,326px))) )}}
/* Shared category header treatment; the artwork is the only per-category asset. */
@media(max-width:700px){
 body main#main .category-art-header{width:100%;max-width:none;min-height:185px;padding:0!important;margin-bottom:18px;position:relative;isolation:isolate}
 body main#main .category-art-header h1{font:400 clamp(29px,8vw,34px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.85px;text-wrap:initial;width:calc(100% - 88px);max-width:260px;margin:15px 0 16px;padding:0}
 body main#main .category-description-line{display:block;white-space:nowrap}
 body main#main .category-heading-ending{display:block;white-space:nowrap}
 body main#main .category-art-header .eyebrow{font:600 9px/1.4 Arial,sans-serif;letter-spacing:1.5px;display:block;max-width:calc(100% - 60px)}
 body main#main .category-art-header p{font:400 13px/1.55 Arial,sans-serif;width:calc(100% - 88px);max-width:275px;margin:0}
 body main#main .category-header-art{inset:-20px -19px -64px auto;width:158px;height:auto;min-width:0;max-width:none;opacity:1;mask-image:linear-gradient(to right,transparent 0%,#000 70%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 70%)}
 body main#main .category-header-portrait{height:100%;width:auto;right:-157px;bottom:-10px;max-width:none;opacity:1;mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
 body main#main .category-art-header .books-sappho-flowers{width:110px;height:150px;right:-38px;top:90px;opacity:.8}
 body main#main .category-art-header .books-sappho-arch{right:-45px;width:170px;height:290px;top:-15px;border-width:18px}
 body main#main .book-search{position:relative;z-index:2}
 html[data-theme=dark] body main#main .category-header-portrait{opacity:.72}
}
