/*** RESEARCH CATALOG (2026-11-07): the new /Research, the publication and edition pages, and the office Research tab. Site palette and type only. ***/

.rs-head {display: flex; align-items: baseline; justify-content: space-between; gap: 15px; flex-wrap: wrap;}
.rs-switch {font-size: 13px; font-size: 1.3rem; color: #686b6b; text-decoration: none; border-bottom: 1px solid rgba(104,107,107,.4);}
.rs-switch:hover {color: #e4002b; border-color: #e4002b;}

/* Filters */
.rs-filters {display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 25px; padding: 15px; background: rgba(193,194,195,.2);}
.rs-filters input[type=search], .rs-filters select {flex: 1 1 160px; min-width: 0; margin: 0; padding: 8px 10px; border: 1px solid #c1c2c3; border-radius: 0; background: #fff; color: #2a2d2d; font-size: 15px; font-size: 1.5rem; height: auto;}
.rs-filters input[type=search] {flex: 2 1 220px;}
.rs-filters .rs-go {flex: 0 0 auto; width: auto; margin: 0; padding: 8px 18px; border: 0; border-radius: 2px; background: #0093b2; color: #fff; font-size: 12px; font-size: 1.2rem; font-weight: 600; text-transform: uppercase; cursor: pointer;}
.rs-filters .rs-go:hover {background: #e4002b;}
.rs-filters .rs-clear {align-self: center; font-size: 14px; font-size: 1.4rem; color: #003865;}

/* Cards */
.rs-top {display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin: 0 0 30px;}
.rs-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;}
.rs-card {display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(104,107,107,.3); color: #2a2d2d; text-decoration: none; transition: box-shadow .15s, border-color .15s;}
.rs-card:hover {border-color: #003865; box-shadow: 0 3px 10px rgba(0,34,70,.15);}
.rs-card .rs-cover {position: relative; display: block; aspect-ratio: 8.5 / 11; max-height: 300px; overflow: hidden; background: #003865;}
.rs-card .rs-cover img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;}
.rs-cover.rs-nocover {background: linear-gradient(160deg, #003865 0%, #4c7393 100%);}
.rs-type {position: absolute; left: 0; bottom: 0; padding: 4px 10px; background: #e4002b; color: #fff; font-size: 11px; font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;}
.rs-card .rs-body {display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 16px;}
.rs-title {font-size: 19px; font-size: 1.9rem; font-weight: 600; line-height: 1.2; color: #003865;}
.rs-period {font-size: 14px; font-size: 1.4rem; color: #686b6b;}
.rs-summary {font-size: 15px; font-size: 1.5rem; line-height: 1.4; color: #2a2d2d;}
.rs-chips {display: flex; flex-wrap: wrap; gap: 6px;}
.rs-chip {padding: 2px 8px; background: rgba(0,147,178,.12); color: #003865; font-size: 12px; font-size: 1.2rem; font-weight: 600;}
.rs-card:hover .rs-title {color: #e4002b;}
.rs-card.rs-large {flex-direction: row;}
.rs-card.rs-large .rs-cover {flex: 0 0 38%; max-height: none; aspect-ratio: auto; min-height: 220px;}
.rs-card.rs-large .rs-title {font-size: 24px; font-size: 2.4rem;}
.rs-empty {padding: 30px 0; color: #686b6b;}

/* Publication and edition pages */
.rs-edition {display: flex; gap: 30px; align-items: flex-start; margin: 10px 0 30px;}
.rs-edition-cover {position: relative; flex: 0 0 280px; aspect-ratio: 8.5 / 11; overflow: hidden; background: #003865; border: 1px solid rgba(104,107,107,.3);}
.rs-edition-cover img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;}
.rs-edition-cover.rs-nocover {background: linear-gradient(160deg, #003865 0%, #4c7393 100%);}
.rs-edition-main {flex: 1 1 auto; min-width: 0;}
.rs-edition-main h2 {margin: 0 0 6px;}
.rs-dateline {margin: 0 0 10px; color: #686b6b;}
.rs-dateline span + span:before {content: "\00b7"; margin: 0 8px;}
.rs-actions {display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin: 20px 0 10px;}
.rs-download {padding: 10px 22px; font-size: 14px; font-size: 1.4rem;}
.rs-secondary {font-size: 14px; font-size: 1.4rem; font-weight: 600; color: #003865;}
.rs-files {margin: 10px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(104,107,107,.3);}
.rs-files li {display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid rgba(104,107,107,.3);}
.rs-filemeta {color: #686b6b; font-size: 13px; font-size: 1.3rem; white-space: nowrap;}
.rs-section {margin: 0 0 30px;}
.rs-authors {display: flex; flex-wrap: wrap; gap: 25px;}
.rs-author {display: flex; gap: 12px; align-items: center;}
.rs-author img {width: 64px; height: 64px; border-radius: 50%; object-fit: cover;}
.rs-author span {display: block; font-size: 14px; font-size: 1.4rem;}
.rs-archive {margin: 0; padding: 0; list-style: none;}
.rs-archive li {display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid rgba(104,107,107,.3);}
.rs-archive li.on a {font-weight: 700; color: #e4002b;}
.rs-share a {margin-right: 20px; font-size: 15px; font-size: 1.5rem; font-weight: 600;}
.rs-office-list {margin-top: 10px;}

@media (max-width: 700px) {
    .rs-card.rs-large {flex-direction: column;}
    .rs-card.rs-large .rs-cover {flex: none; min-height: 0; aspect-ratio: 8.5 / 11; max-height: 300px;}
    .rs-edition {flex-direction: column;}
    .rs-edition-cover {flex: none; width: 60%;}
    .rs-top {grid-template-columns: 1fr;}
}
