/* Archived homepage structure in the institute palette. */
.m2c-home, .m2c-home * { box-sizing: border-box; }
.m2c-home { color: #292929; background: #fff; font-family: Inter, sans-serif; }
.m2c-home-shell { width: calc(100% - 60px); max-width: 1340px; margin-inline: auto; }
.m2c-home h1, .m2c-home h2 { font-family: Apercu, Inter, sans-serif; font-weight: 500; }
.m2c-home p { font-size: 1.125rem; line-height: 1.65; margin: 0 0 1.25rem; }
.m2c-home-hero { position: relative; isolation: isolate; background: #e4ebe7; }
.m2c-home-hero > img { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.m2c-home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.2); }
.m2c-home-hero-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 460px; padding-block: 3rem 6rem; }
.m2c-home-title-panel { width: min(100%, 40rem); padding: clamp(1.75rem, 4vw, 3rem); border-top: 3px solid #0aa58e; background: #292929; color: #fff; }
.m2c-home h1 { margin: 0 0 1rem; color: #fff; font-size: 2.625rem; line-height: 1.125; }
.m2c-home-title-panel p { margin: 0; font-family: Apercu, Inter, sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.3; }
.m2c-home-topics-wrap { display: flow-root; padding-bottom: 3.5rem; background: #f1f4f2; }
.m2c-home-topics { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: -3rem; }
.m2c-home-topic { display: flex; flex-direction: column; min-width: 0; background: #292929; color: #fff; border-top: 3px solid #0aa58e; }
.m2c-home-topic h2 { margin: 0; padding: 1.2rem 1.5rem; background: #fff; color: #292929; font-size: 2rem; line-height: 1.125; }
.m2c-home-topic-copy { padding: 1.75rem 1.75rem .5rem; }
.m2c-home-topic p { font-size: 1rem; line-height: 1.7; }
.m2c-home-topic > a { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: auto 1.75rem 1.75rem; padding: .75rem 1rem; color: #292929; background: #fff; font-size: 1rem; line-height: 1.5; text-decoration: none; text-align: center; }
.m2c-home-topic > a:hover, .m2c-home-topic > a:focus-visible { background: #b8e6dc; text-decoration: underline; }
.m2c-home-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); padding-block: 3.5rem; }
.m2c-home-secondary section { min-width: 0; }
.m2c-home-secondary h2 { margin: 0 0 1.5rem; padding-top: 1.25rem; border-top: 2px solid #292929; font-size: 2rem; line-height: 1.125; }
.m2c-home-secondary p { max-width: 65ch; }
.m2c-home-secondary a { display: inline-flex; align-items: center; min-height: 44px; color: #007665; font-size: 1rem; text-underline-offset: .2em; }
.m2c-home-secondary a:hover, .m2c-home-secondary a:focus-visible { color: #292929; text-decoration-thickness: 2px; }
@media (max-width: 1000px) {
    .m2c-home-topics { gap: 1rem; }
    .m2c-home-topic h2 { font-size: 1.75rem; padding-inline: 1.25rem; }
    .m2c-home-topic-copy { padding: 1.25rem 1.25rem .5rem; }
    .m2c-home-topic > a { margin-inline: 1.25rem; margin-bottom: 1.25rem; }
}
@media (max-width: 780px) {
    .m2c-home-hero-inner { min-height: 420px; padding-block: 9rem 2rem; }
    .m2c-home-title-panel { width: 100%; }
    .m2c-home-topics { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 0; padding-top: 1.5rem; }
    .m2c-home-topics-wrap { padding-bottom: 2rem; }
    .m2c-home-topic-copy { padding: 1.5rem 1.5rem .5rem; }
    .m2c-home-topic > a { align-self: flex-start; margin: .5rem 1.5rem 1.5rem; }
    .m2c-home-secondary { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; }
}
