/* Independent stylesheet for publications and admin */
.publications-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.publication-card{display:grid;grid-template-columns:minmax(90px,34%) 1fr;gap:20px;align-items:center;padding:24px;border:1px solid #dce3eb;border-radius:18px;background:white;min-width:0}.publication-cover{display:grid;place-items:center;background:#eef2f7;aspect-ratio:2/3;max-height:280px;overflow:hidden;border-radius:8px}.publication-cover img{width:100%;height:100%;object-fit:contain;max-height:280px}.amazon-buy{background:#ff9900!important;color:#17212b!important;border-radius:8px}.fb-feed{max-width:560px;margin:auto;text-align:center;padding:16px;border:1px solid #dce3eb;border-radius:16px}.fb-feed iframe{display:block;margin:12px auto;max-width:100%}.admin-card>summary{font-weight:700;font-size:1.15rem;margin-bottom:14px}.admin-card label{display:block;margin:12px 0;font-weight:600}.admin-card input[type=url],.admin-card select{display:block;width:100%;padding:12px;border:1px solid #aebed0;border-radius:8px;font:inherit;box-sizing:border-box;margin:8px 0}.admin-card button{background:#003b70;color:white;border:0;border-radius:8px;padding:10px 16px;margin:6px 8px 6px 0;font:inherit;cursor:pointer}.admin-card button:disabled{opacity:.55}.admin-row{padding:14px;border:1px solid #ccd6e0;border-radius:8px;margin:10px 0;overflow-wrap:anywhere}.admin-row a{margin:0 10px}@media(max-width:760px){.publications-grid{grid-template-columns:1fr}.publication-card{padding:16px;gap:12px}}

.home-profile{padding:28px 0!important;background:#f4f8fc}.home-profile .profile-layout{grid-template-columns:minmax(0,240px) 1fr;gap:32px}.home-profile .profile-layout img{width:100%;max-width:240px;max-height:310px;object-fit:contain}.home-profile h2{margin:8px 0;font-size:clamp(24px,3vw,38px)}.home-profile .lead{font-size:16px;line-height:1.6}.catalog-link{text-align:center;margin-top:28px}.book-subtitle{font-weight:600}.admin-book-preview{width:90px;height:130px;object-fit:contain;display:block}.admin-card input[type=radio]{width:auto;margin-left:12px}.admin-card input[type=text],.admin-card input:not([type]){padding:12px;border:1px solid #aebed0;border-radius:8px;font:inherit}.admin-card input[type=file]{padding:8px 0}.publication-card h3{overflow-wrap:anywhere}@media(max-width:700px){.home-profile .profile-layout{grid-template-columns:1fr;gap:12px}.home-profile .profile-layout img{max-width:155px;max-height:200px}.home-profile{padding:18px 0!important}}

/* V30: vertical book cards and profile below the institutional banner */
.publication-card{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:24px;min-width:0}.publication-cover{width:100%;height:260px;max-height:none;aspect-ratio:auto;background:#f5f7fa;padding:12px;box-sizing:border-box}.publication-cover img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}.publication-copy{display:flex;flex-direction:column;flex:1;min-width:0;align-items:stretch}.publication-copy .eyebrow{margin:0 0 10px}.publication-copy h3{margin:0 0 8px;font-size:1.25rem;line-height:1.35}.publication-copy .book-subtitle{margin:0 0 10px}.book-description{line-height:1.6;overflow-wrap:anywhere;margin:0 0 20px}.book-description-preview{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.publication-copy .amazon-buy{margin-top:auto;align-self:stretch;min-height:46px;text-align:center}.home-profile .profile-layout{grid-template-columns:minmax(0,1fr) minmax(0,210px);gap:32px}.home-profile .profile-layout img{grid-column:2;grid-row:1;max-width:210px;max-height:280px;justify-self:end}.home-profile .profile-layout>div{grid-column:1;grid-row:1}.home-profile{padding:32px 0!important}.home-profile .eyebrow{margin-bottom:8px}@media(max-width:760px){.publication-card{padding:16px}.publication-cover{height:230px}.home-profile .profile-layout{grid-template-columns:1fr}.home-profile .profile-layout img{grid-column:1;grid-row:1;justify-self:start;max-width:155px;max-height:200px}.home-profile .profile-layout>div{grid-column:1;grid-row:2}}
/* V31: full, compact book covers */
.publications-section .publication-card .publication-cover{display:flex;align-items:center;justify-content:center;width:100%;height:304px;max-height:none;aspect-ratio:auto;padding:12px;box-sizing:border-box;overflow:visible}
.publications-section .publication-card .publication-cover img{display:block!important;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:280px!important;object-fit:contain!important;aspect-ratio:auto!important;margin:0 auto!important;border-radius:3px}
@media(max-width:760px){.publications-section .publication-card .publication-cover{height:244px}.publications-section .publication-card .publication-cover img{max-height:220px!important}}
