.msma {
  --msma-ink: #301f22;
  --msma-bordeaux: #590c1a;
  --msma-terracotta: #95412e;
  --msma-brown: #85462f;
  --msma-line: #e7ddda;
  --msma-soft: #f8f3f0;
  --msma-muted: #74686a;
  color: var(--msma-ink);
  font-family: inherit;
  max-width: 1160px;
  margin: 24px auto 64px;
  text-align: left;
  line-height: 1.65;
  container-type: inline-size;
}
.msma * { box-sizing: border-box; }
.msma a { color: var(--msma-bordeaux); }
.msma :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--msma-terracotta); outline-offset: 4px; }
.msma-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; background: var(--msma-soft); border-top: 3px solid var(--msma-bordeaux); }
.msma .msma-eyebrow { color: var(--msma-terracotta); font-size: 10px; font-weight: 750; letter-spacing: .13em; margin: 0 0 10px; }
.msma-hero h2 { font: inherit; color: var(--msma-bordeaux); font-size: clamp(26px, 3.5vw, 38px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 13px; }
.msma-hero p:last-child { color: #66575a; font-size: 14px; max-width: 720px; margin: 0; }
.msma-hero-mark { flex-shrink: 0; display: grid; place-items: center; width: 100px; height: 100px; color: var(--msma-bordeaux); background: #fff9; border-radius: 50%; border: 1px solid #e9dad4; }
.msma-filters { display: grid; grid-template-columns: minmax(160px, 1.7fr) minmax(150px, 1.2fr) minmax(110px, .7fr) auto; gap: 16px; align-items: end; margin: 0; padding: 29px 0 26px; border-bottom: 1px solid var(--msma-line); }
.msma-filters label { display: block; color: var(--msma-bordeaux); font-size: 12px; font-weight: 700; margin: 0 0 7px; }
.msma-filters :is(input, select) { width: 100%; min-height: 48px; padding: 10px 12px; margin: 0; border: 1px solid #d9cdca; border-radius: 4px; background: #fff; color: var(--msma-ink); font: inherit; font-size: 13px; box-shadow: none; }
.msma button { font: inherit; cursor: pointer; letter-spacing: 0; text-transform: none; }
.msma .msma-submit { display: flex; align-items: center; justify-content: center; gap: 17px; min-height: 48px; padding: 11px 21px; margin: 0; border: 1px solid var(--msma-bordeaux); border-radius: 4px; background: var(--msma-bordeaux); color: #fff; font-size: 13px; font-weight: 650; }
.msma .msma-submit:hover, .msma .msma-open:hover, .msma-video button:hover { background: #7b2230; color: #fff; }
.msma-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0 18px; color: var(--msma-muted); font-size: 12px; }
.msma-result-heading p { margin: 0; }
.msma-result-heading strong { color: var(--msma-bordeaux); font-size: 17px; margin-right: 3px; }
.msma-result-heading > span { font-size: 11px; }
.msma-reset { display: inline-block; font-size: 11px; margin-left: 15px; text-underline-offset: 3px; }
.msma-reset span { margin-left: 4px; }
.msma-records { display: grid; gap: 14px; }
.msma-record { min-width: 0; border: 1px solid var(--msma-line); border-left: 3px solid #b2624c; border-radius: 5px; background: #fff; }
.msma-record > summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 28px; list-style: none; cursor: pointer; border-radius: 4px; transition: background .15s; }
.msma summary::-webkit-details-marker { display: none; }
.msma-record > summary:hover { background: #fcf9f7; }
.msma-record-heading { min-width: 0; }
.msma .msma-badge { display: inline-block; color: var(--msma-bordeaux); background: #f7eeeb; border-radius: 3px; padding: 4px 8px; margin-bottom: 9px; font-size: 9px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.msma .msma-badge-conseil { background: #f2e9ec; color: #590c1a; }
.msma .msma-badge-bureau { background: #f4eee2; color: #765525; }
.msma-record h3 { font: inherit; color: var(--msma-bordeaux); font-size: 17px; font-weight: 650; line-height: 1.45; margin: 0 0 9px; overflow-wrap: anywhere; }
.msma-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; color: var(--msma-muted); font-size: 12px; }
.msma-meta > span + span::before { content: '·'; color: #b7a4a3; margin-right: 12px; }
.msma-expand { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #e5d3cf; border-radius: 50%; background: #fff; color: var(--msma-bordeaux); font-size: 23px; line-height: 1; }
.msma-record[open] .msma-expand { background: var(--msma-bordeaux); border-color: var(--msma-bordeaux); color: #fff; }
.msma-expand svg { transition: transform .18s ease; }
.msma-record[open] .msma-expand svg { transform: rotate(180deg); }
.msma-record[open] > summary { border-bottom: 1px solid var(--msma-line); background: #fcf9f7; border-radius: 4px 4px 0 0; }
.msma-detail { padding: 4px 28px 24px; }
.msma-documents { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.msma-documents li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 15px; align-items: center; border-bottom: 1px solid #eee5e1; padding: 19px 0; margin: 0; }
.msma-documents li:last-child { border-bottom: 0; }
.msma-file-icon { position: relative; display: grid; place-items: center; width: 33px; height: 43px; border: 1px solid #dcc6c0; border-radius: 3px; background: #fff8f5; color: var(--msma-terracotta); font-size: 8px; font-weight: 800; letter-spacing: .025em; }
.msma-file-icon::before { position: absolute; content: ''; width: 9px; height: 9px; top: -1px; right: -1px; background: linear-gradient(45deg, #eee0db 49%, #fff 50%); border-bottom: 1px solid #dcc6c0; border-left: 1px solid #dcc6c0; }
.msma-documents .msma-document-title { color: var(--msma-ink); font-size: 13px; font-weight: 600; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.msma-documents .msma-document-title:hover { color: var(--msma-bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.msma-documents small { display: block; color: var(--msma-muted); font-size: 11px; margin-top: 4px; }
.msma-document-actions { display: flex; align-items: center; gap: 7px; }
.msma .msma-open { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; background: var(--msma-bordeaux); color: #fff; font-size: 10px; font-weight: 650; text-decoration: none; padding: 8px 12px; border-radius: 3px; }
.msma .msma-download { display: grid; place-items: center; width: 38px; min-height: 38px; border: 1px solid #ddceca; border-radius: 3px; background: #fff; color: var(--msma-bordeaux); }
.msma .msma-download:hover { background: var(--msma-soft); }
.msma-video { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 20px; padding: 20px; margin: 15px 0; border-radius: 4px; background: var(--msma-soft); }
.msma-video button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 15px; border: 0; border-radius: 3px; background: var(--msma-bordeaux); color: #fff; font-size: 12px; font-weight: 650; }
.msma-video small { color: var(--msma-muted); font-size: 10px; }
.msma-video > a { font-size: 11px; text-underline-offset: 3px; }
.msma-video iframe { border: 0; width: 100%; aspect-ratio: 16/9; border-radius: 4px; }
.msma-empty { padding: 38px 25px; text-align: center; border: 1px dashed #dcc6c0; border-radius: 4px; background: #fdfaf8; color: #796367; }
.msma-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.msma-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--msma-line); border-radius: 3px; color: var(--msma-bordeaux); font-size: 12px; text-decoration: none; }
.msma-pagination .current { border-color: var(--msma-bordeaux); background: var(--msma-bordeaux); color: #fff; }
.msma-pagination a:hover { background: var(--msma-soft); }
.msma-folder { margin: 12px 0; padding: 0 15px; border: 1px solid var(--msma-line); border-radius: 4px; }
.msma-folder > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 650; color: var(--msma-bordeaux); }
.msma-folder > summary > small { color: var(--msma-muted); font-size: 11px; font-weight: 400; white-space: nowrap; }
.msma-folder > summary > span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--msma-terracotta); margin-right: 11px; transform: translateY(-2px) rotate(45deg); }
.msma-folder[open] > summary > span::before { transform: translateY(1px) rotate(225deg); }
.msma-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .msma { margin: 20px auto 40px; }
  .msma-hero { padding: 28px; }
  .msma-hero-mark { width: 75px; height: 75px; }
  .msma-hero-mark svg { width: 53px; height: 53px; }
  .msma-filters { grid-template-columns: 1fr 1fr; }
  .msma-filters > div:first-of-type, .msma-filters > .msma-submit { grid-column: 1 / -1; }
  .msma-record > summary { padding: 22px; }
  .msma-detail { padding: 4px 22px 20px; }
}
@media (max-width: 540px) {
  .msma-hero { padding: 24px 22px; }
  .msma-hero-mark { display: none; }
  .msma-hero p:last-child { font-size: 13px; }
  .msma-filters { grid-template-columns: 1fr; gap: 14px; }
  .msma-result-heading > span { display: none; }
  .msma-reset { margin-left: 10px; }
  .msma-record > summary { padding: 19px 17px; gap: 12px; }
  .msma-record h3 { font-size: 16px; }
  .msma-detail { padding: 3px 17px 18px; }
  .msma-documents li { grid-template-columns: 33px minmax(0, 1fr); gap: 10px 13px; align-items: start; }
  .msma-document-actions { grid-column: 2; }
  .msma .msma-open { min-height: 40px; }
  .msma .msma-download { min-height: 40px; width: 40px; }
  .msma-meta { font-size: 11px; gap: 6px 12px; }
  .msma-meta > span + span::before { margin-right: 9px; }
  .msma-expand { width: 30px; height: 30px; font-size: 20px; }
  .msma-video { padding: 15px; }
  .msma-folder > summary { font-size: 11px; }
}
@container (max-width: 850px) {
  .msma-filters { grid-template-columns: 1fr 1fr; }
  .msma-filters > div:first-of-type, .msma-filters > .msma-submit { grid-column: 1 / -1; }
}
@container (max-width: 540px) {
  .msma-filters { grid-template-columns: 1fr; }
  .msma-documents li { grid-template-columns: 33px minmax(0, 1fr); }
  .msma-document-actions { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .msma * { transition: none !important; } }

/* Three entrances to the institutional archives. */
.msma-home .msma-hero { padding: 2px 0 0; background: transparent; border: 0; margin-bottom: 29px; }
.msma-home .msma-hero h2 { font-size: clamp(26px, 3vw, 34px); text-transform: none; }
.msma-home .msma-hero > div { width: 100%; }
.msma-home .msma-hero p:last-child { max-width: none; text-wrap: pretty; }
.msma-family-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 38px; }
.msma a.msma-family-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  min-height: 355px; padding: 29px; border: 1px solid #e7d8d2; border-radius: 7px;
  color: var(--msma-bordeaux); background: #f7f1ec; text-decoration: none;
  box-shadow: 0 5px 18px #45101a06; transition: transform .2s, box-shadow .2s;
}
.msma a.msma-family-card:hover { transform: translateY(-5px); box-shadow: 0 13px 28px #45101a15; }
.msma .msma-family-card h3 { color: inherit; font: inherit; font-size: 24px; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; text-transform: none; margin: 25px 0 13px; }
.msma .msma-family-card p { color: inherit; opacity: .86; font-size: 13px; line-height: 1.75; margin: 0 0 18px; }
.msma .msma-family-card small { color: inherit; opacity: .75; font-size: 12px; font-weight: 650; margin-top: auto; }
.msma-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.msma-card-icon { display: inline-flex; align-items: center; min-height: 62px; }
.msma-card-number { font-size: 38px; line-height: 1.2; font-weight: 350; opacity: .23; letter-spacing: -.07em; }
.msma-card-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 19px; padding-top: 16px; border-top: 1px solid #ad81784d; font-size: 11px; font-weight: 650; }
.msma-card-cta > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; font-size: 17px; font-weight: 400; transition: transform .2s; }
.msma-family-card:hover .msma-card-cta > span { transform: translate(2px, -2px); }
.msma a.msma-family-presidence { background: #580B15; border-color: #580B15; color: #fff; }
.msma a.msma-family-bureau { background: linear-gradient(145deg, #a64c36, #8c392b); border-color: #95412e; color: #fff; }
.msma .msma-family-presidence .msma-card-cta, .msma .msma-family-bureau .msma-card-cta { border-top-color: #ffffff35; }
.msma .msma-family-presidence :is(p,small), .msma .msma-family-bureau :is(p,small) { color: #fff; opacity: 1; }
.msma-home-search { padding: 27px 30px 23px; border: 1px solid var(--msma-line); border-radius: 6px; background: #fff; }
.msma-home-search h3 { color: var(--msma-bordeaux); font: inherit; font-size: 20px; font-weight: 650; letter-spacing: -.015em; text-transform: none; margin: 0 0 6px; }
.msma-home-search > div > p:last-child { color: var(--msma-muted); font-size: 12px; margin: 0; }
.msma-home-search .msma-filters { grid-template-columns: minmax(160px, 1fr) minmax(120px, .32fr) auto; border: 0; padding: 22px 0 0; }
.msma-home-search .msma-eyebrow { font-size: 9px; margin-bottom: 7px; }
.msma .msma-search-help { color: var(--msma-muted); font-size: 10px; margin: 10px 0 0; }
.msma .msma-all-link { display: inline-flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 650; text-underline-offset: 4px; margin-top: 17px; }
.msma .msma-back { display: inline-block; font-size: 11px; font-weight: 600; margin-bottom: 18px; text-decoration: none; }
.msma-back:hover { text-decoration: underline; }
.msma-family-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 0; }
.msma-family-nav a { display: block; padding: 8px 14px; border: 1px solid var(--msma-line); border-radius: 4px; color: #765b60; font-size: 11px; text-decoration: none; }
.msma-family-nav a[aria-current="page"] { background: var(--msma-bordeaux); border-color: var(--msma-bordeaux); color: #fff; }
.msma-family-nav a:hover { border-color: var(--msma-bordeaux); }
.msma .msma-search-query { font-size: 13px; color: var(--msma-muted); margin: 23px 0 -9px; }
.msma-search-query strong { color: var(--msma-bordeaux); }
.msma-results .msma-hero h2 { text-transform: none; }
.msma .msma-record h3 { text-transform: none; }
.msma-home-search .msma-filters > div:first-of-type { grid-column: auto; }
@media (max-width: 920px) {
  .msma-family-cards { gap: 15px; }
  .msma a.msma-family-card { padding: 24px; min-height: 365px; }
  .msma .msma-family-card h3 { font-size: 22px; }
}
@media (max-width: 680px) {
  .msma-family-cards { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .msma a.msma-family-card { min-height: 0; padding: 24px; }
  .msma-card-top { position: absolute; right: 22px; top: 21px; }
  .msma-card-number { display: none; }
  .msma-card-icon svg { width: 43px; height: 43px; }
  .msma .msma-family-card h3 { max-width: calc(100% - 62px); margin: 0 0 12px; font-size: 23px; }
  .msma .msma-family-card p { max-width: calc(100% - 45px); font-size: 12px; margin-bottom: 16px; }
  .msma-card-cta { margin-top: 14px; padding-top: 13px; }
  .msma-home-search { padding: 23px; }
  .msma-home-search .msma-filters { grid-template-columns: 1fr; }
  .msma-home-search .msma-filters > div:first-of-type { grid-column: 1 / -1; }
  .msma-family-nav a { flex: 1 1 auto; padding: 8px 10px; text-align: center; font-size: 10px; }
}
@container (max-width: 680px) {
  .msma-family-cards { grid-template-columns: 1fr; }
  .msma-home-search .msma-filters { grid-template-columns: 1fr; }
}

/* Keep hover and keyboard focus in the site's brown palette. */
.msma .msma-family-nav a:is(:hover,:focus-visible) { color: var(--msma-brown); border-color: var(--msma-brown); background: var(--msma-soft); text-decoration: none; }
.msma .msma-family-nav a[aria-current="page"]:is(:hover,:focus-visible) { color: #fff; background: var(--msma-brown); border-color: var(--msma-brown); }
.msma .msma-back:is(:hover,:focus-visible),
.msma .msma-reset:is(:hover,:focus-visible),
.msma .msma-all-link:is(:hover,:focus-visible),
.msma .msma-documents .msma-document-title:is(:hover,:focus-visible),
.msma .msma-video > a:is(:hover,:focus-visible),
.msma .msma-pagination a:is(:hover,:focus-visible) { color: var(--msma-brown); }
.msma .msma-submit:is(:hover,:focus-visible),
.msma .msma-open:is(:hover,:focus-visible),
.msma .msma-video button:is(:hover,:focus-visible) { color: #fff; background: var(--msma-brown); border-color: var(--msma-brown); }
.msma .msma-download:is(:hover,:focus-visible) { color: var(--msma-brown); border-color: var(--msma-brown); background: var(--msma-soft); }
.msma a.msma-family-presidence:is(:hover,:focus-visible) { color: #fff; background: #580B15; border-color: #580B15; }
.msma a.msma-family-conseil:is(:hover,:focus-visible) { color: var(--msma-bordeaux); background: #f7f1ec; border-color: #e7d8d2; }
.msma a.msma-family-bureau:is(:hover,:focus-visible) { color: #fff; background: linear-gradient(145deg, #a64c36, #8c392b); border-color: #95412e; }
