/* V1 compact catalogue: thumbnail cards; full copy and original artwork open on demand. */
#writing.ed .ed-topline{margin-bottom:18px}
#writing.ed .ed-identity{gap:26px;padding-bottom:24px}
#writing.ed .ed-main-title{font-size:clamp(30px,3.5vw,44px)}
#writing.ed .ed-statement{font-size:clamp(20px,2vw,27px);margin-top:8px!important}
#writing.ed .ed-identity-aside{font-size:12px;line-height:1.8;gap:10px}
#writing.ed .ed-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-block:22px}
#writing.ed .ed-gallery-grid .ed-gallery-item{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:16px;border:1px solid var(--ed-line);border-radius:8px;background:var(--ed-inset)}
#writing.ed .ed-gallery-grid .ed-feature-art{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;padding:0;min-height:0}
#writing.ed .ed-gallery-grid :is(.ed-gallery-index,.ed-radial,.ed-cover-caption,.ed-cover-language-note){display:none}
#writing.ed .ed-gallery-grid .ed-book-object{display:flex;align-items:center;justify-content:center;width:100%;height:176px;max-width:100%;margin:0;border:0;background:none;box-shadow:none;transform:none;aspect-ratio:auto}
#writing.ed .ed-gallery-grid .ed-book-object img{width:auto;height:auto;max-width:136px;max-height:176px;object-fit:contain;border-radius:3px;aspect-ratio:auto}
#writing.ed .ed-gallery-grid #ed-book-b3 .ed-book-object{height:176px;aspect-ratio:auto;box-shadow:none;transform:none}
#writing.ed .ed-gallery-grid #ed-book-b3 .ed-book-object img{width:100%;height:auto;max-width:230px;max-height:176px;aspect-ratio:3/2;object-fit:contain}
#writing.ed .ed-gallery-grid .ed-reservations{width:100%;margin-top:8px;padding-top:8px;gap:8px;font-size:10px;line-height:1.5}
#writing.ed .ed-gallery-grid .ed-reservations strong{font-size:16px}
#writing.ed .ed-gallery-grid .ed-feature-copy{display:flex;flex:1;gap:8px;align-items:stretch}
#writing.ed .ed-gallery-grid .ed-feature-copy> :not(.ed-meta):not(.ed-book-title):not(.ed-subtitle):not(.ed-gallery-actions){display:none}
#writing.ed .ed-gallery-grid .ed-meta{font-size:10px;justify-content:space-between;gap:5px}
#writing.ed .ed-gallery-grid .ed-meta>span:nth-child(2){display:none}
#writing.ed .ed-gallery-grid .ed-feature-title{font-size:22px;line-height:1.5;min-height:66px;margin:0!important;letter-spacing:0}
#writing.ed .ed-gallery-grid .ed-subtitle{font-size:12px;line-height:1.7;margin:0!important;min-height:41px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#writing.ed .ed-gallery-grid .ed-gallery-actions{display:flex;gap:8px;flex-wrap:wrap;width:100%;margin-top:auto;padding-top:10px}
#writing.ed .ed-gallery-grid .ed-gallery-actions button{min-height:42px;font-size:11px;padding:9px 11px;line-height:1.5}
#writing.ed .ed-gallery-grid .ed-gallery-actions .ed-arrow{width:14px;height:14px}
#writing.ed .ed-gallery-grid #ed-book-b3 .ed-gallery-actions [data-ed-zoom]{display:none}
#writing.ed .ed-gallery-grid .ed-language-options{gap:4px;margin-block:10px 2px;max-width:100%}
#writing.ed .ed-gallery-grid .ed-language-options button{font-size:10px;min-width:40px;min-height:38px;padding:5px 6px}
#writing.ed .ed-gallery-grid .ed-translation-warning{font-size:10px;padding:6px 8px;margin-bottom:8px!important;line-height:1.6}
@media(max-width:1150px){#writing.ed .ed-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#writing.ed .ed-gallery-grid{grid-template-columns:1fr;gap:14px}#writing.ed .ed-gallery-grid .ed-gallery-item{padding:14px;gap:10px}#writing.ed .ed-gallery-grid .ed-book-object,#writing.ed .ed-gallery-grid #ed-book-b3 .ed-book-object{height:120px}#writing.ed .ed-gallery-grid .ed-book-object img{max-height:120px;max-width:88px}#writing.ed .ed-gallery-grid #ed-book-b3 .ed-book-object img{max-width:200px;max-height:120px}#writing.ed .ed-gallery-grid .ed-feature-title{min-height:0;font-size:21px}#writing.ed .ed-gallery-grid .ed-subtitle{min-height:0}#writing.ed .ed-gallery-grid .ed-language-options button{min-height:44px}#writing.ed .ed-identity{gap:14px}}
