:root { color-scheme: light; }
body { margin: 0; color: #172534; background: #f7f9fc; font-family: system-ui, sans-serif; }
.mp-files { width: min(100% - 2rem, 76rem); margin: 0 auto 3rem; }
.mp-files-intro { padding-block: clamp(1.75rem, 5vw, 3.6rem) 1.25rem; }
.mp-files h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.12; letter-spacing: -.035em; }
.mp-files-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .65rem; max-width: 44rem; }
.mp-files-search label { grid-column: 1 / -1; font-weight: 650; }
.mp-files-search input, .mp-files-search button { box-sizing: border-box; min-height: 46px; padding: .6rem .85rem; border: 1px solid #8196ab; border-radius: 7px; font: inherit; }
.mp-files-search input { width: 100%; min-width: 0; background: #fff; color: inherit; }
.mp-files-search button { border-color: #12436c; background: #12436c; color: #fff; font-weight: 650; cursor: pointer; }
.mp-files-search button:hover { background: #0b3659; }
.mp-files-search :is(input, button):focus-visible, .mp-files-related a:focus-visible, .mp-files-pagination a:focus-visible {
    outline: 2px solid #006aba; outline-offset: 3px;
}
.mp-files-related { margin: .8rem 0 1.8rem; }
.mp-files-related a, .mp-files-pagination a { color: #12436c; text-underline-offset: .15em; }
.mp-files-section-title { margin: 0 0 .75rem; font-size: 1.35rem; }
.mp-files-list { margin: 0; padding: 0; list-style: none; border-radius: 12px; border: 1px solid #dce5ed; background: #fff; }
.mp-files-list > li { padding: 1.05rem clamp(1rem, 2.5vw, 2rem); overflow-wrap: anywhere; }
.mp-files-list > li + li { border-top: 1px solid #e5ebf2; }
.mp-files-list h3 { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.04rem; line-height: 1.4; }
.mp-files-list .mp-filetype-icon { flex: none; object-fit: contain; }
.mp-files-list h3 a { color: #12436c; text-decoration: none; }
.mp-files-list h3 a:hover, .mp-files-list h3 a:focus-visible { text-decoration: underline; }
.mp-files-list p { margin: .3rem 0 0; line-height: 1.55; color: #33485c; }
.mp-file-details { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: .45rem 0 0; padding: 0; list-style: none; color: #546a7d; font-size: .84rem; line-height: 1.45; }
.mp-files-pagination { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0; color: #33485c; }
.mp-files-pagination a { padding-block: .7rem; }

@media (max-width: 480px) {
    .mp-files-search { grid-template-columns: minmax(0, 1fr); }
}

