/* /mayo-promotion, Felix, November 7 2026: laid out like the online posters
   (poster/poster-full.css): navy hero with a coral rule, cards with a blue
   title bar, a three column grid from 1100px, references spanning the grid.
   Colours follow the site tokens so both themes work. */

.mp { --mp-blue: #1A4269; --mp-navy: #11243A; --mp-dot: #EA5451; --mp-plate: var(--bg); }
[data-theme='light'] .mp { --mp-plate: #FFFFFF; }

.mp-hero { background: var(--mp-navy); color: #F2F4F6; border-bottom: 4px solid #EA5451; padding: 34px 0 38px; }
.mp-hero .mp-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #EA5451; margin: 0 0 14px; }
.mp-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; color: #FFFFFF; text-wrap: balance; }
.mp-hero .mp-sub { margin: 0 0 22px; color: #CBCFD2; font-size: 1.05rem; line-height: 1.5; text-align: left; }
.mp-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-facts li { background: rgba(255,255,255,.08); color: #FFFFFF; border-radius: 4px; padding: 7px 12px; font-size: .95rem; font-weight: 600; line-height: 1.2; }
.mp-facts li.mp-deadline { background: #EA5451; color: #0B1624; }

.mp-main { padding: 32px 0 64px; }
.mp-grid { display: grid; gap: 24px; }
.mp-col { display: flex; flex-direction: column; gap: 24px; }

.mp-card { background: var(--surface); border-radius: 4px; overflow: hidden; }
.mp-card h2 { background: var(--mp-blue); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; padding: 16px 20px; margin: 0; }
.mp-body { padding: 20px; }
.mp-body p { margin: 0 0 1em; }
.mp-body p:last-child { margin-bottom: 0; }

.mp-pts { list-style: none; padding: 0; margin: 0; }
.mp-pts li { position: relative; padding-left: 20px; margin: 0 0 10px; text-align: left; }
.mp-pts li:last-child { margin-bottom: 0; }
.mp-pts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--mp-dot); }
.mp-pts b { font-weight: 700; }

.mp-docs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.mp-docs li { background: var(--mp-plate); border-radius: 4px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.mp-docs li span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--fg-muted); }
.mp-apply { margin: 0 0 16px; }
.mp-soon { font-weight: 700; }
.mp-note { font-size: .92rem; color: var(--fg-muted); }

.mp-stat { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.mp-stat b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #EA5451; }
.mp-stat span { font-weight: 600; line-height: 1.35; text-align: left; }
.mp-more { font-weight: 600; }

.mp-pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: pub; }
.mp-pubs li { background: var(--mp-plate); border-radius: 4px; padding: 14px 16px 14px 56px; position: relative; counter-increment: pub; }
.mp-pubs li::before { content: counter(pub); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--mp-blue); color: #FFFFFF; font-size: .85rem; font-weight: 700; display: grid; place-items: center; }
.mp-pubs a { display: block; font-weight: 700; line-height: 1.35; text-decoration: none; color: var(--fg); text-align: left; hyphens: manual; }
.mp-pubs a:hover, .mp-pubs a:focus-visible { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.mp-pubs .mp-cite { display: block; margin-top: 6px; font-size: .88rem; color: var(--fg-muted); text-align: left; }
.mp-pubs .mp-cite em { font-style: italic; }
.mp-pubs .mp-year { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 3px; background: rgba(234,84,81,.16); color: var(--fg); font-weight: 700; font-style: normal; }
.mp-pubs .mp-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 3px; background: var(--mp-blue); color: #FFFFFF; font-weight: 700; font-size: .78rem; }

@media (min-width: 760px) {
  .mp-pubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .mp-col > .mp-card:last-child { flex: 1 1 auto; }
  .mp-span { grid-column: 1 / -1; }
  .mp-pubs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The site gives every section vertical padding; the cards are sections too. */
.mp section.mp-card { padding: 0; margin: 0; }
.mp section.mp-main { padding: 32px 0 64px; }

/* Rahmen as four small tiles, like the method steps on the P308 poster. */
.mp-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mp-tiles li { background: var(--mp-plate); border-radius: 4px; padding: 14px 10px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mp-tiles svg { width: 34px; height: 34px; fill: none; stroke: #EA5451; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.mp-tiles b { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.mp-tiles span { font-size: .82rem; line-height: 1.3; color: var(--fg-muted); text-align: center; hyphens: manual; }

/* Zeitplan: a Gantt chart on a month grid, November 2026 to March 2028. */
.mp-gantt { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(17, minmax(30px, 1fr)); row-gap: 8px; align-items: center; overflow-x: auto; font-size: .82rem; }
.mp-g-year { grid-row: 1; font-weight: 700; color: var(--fg-muted); border-left: 2px solid var(--rule-strong); padding-left: 6px; }
.mp-g-y26 { grid-column: 2 / span 2; }
.mp-g-y27 { grid-column: 4 / span 12; }
.mp-g-y28 { grid-column: 16 / span 3; }
.mp-g-m { grid-row: 2; color: var(--fg-muted); text-align: center; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.mp-g-pad { border-bottom: 0; }
.mp-g-lab { grid-column: 1; font-weight: 600; font-size: .9rem; text-align: left; padding-right: 10px; }
.mp-g-r1 { grid-row: 3; } .mp-g-r2 { grid-row: 4; } .mp-g-r3 { grid-row: 5; }
.mp-g-bar { height: 28px; border-radius: 4px; display: flex; align-items: center; padding: 0 10px; font-weight: 700; color: #FFFFFF; white-space: nowrap; overflow: visible; }
.mp-g-b1 { grid-row: 3; grid-column: 2 / span 1; background: #EA5451; color: #FFFFFF; }
.mp-g-b2 { grid-row: 4; grid-column: 3 / span 4; background: repeating-linear-gradient(135deg, var(--mp-blue) 0 6px, transparent 6px 12px); border: 1px solid var(--mp-blue); }
.mp-g-b3 { grid-row: 5; grid-column: 7 / span 12; background: var(--mp-blue); }
@media (min-width: 1100px) { .mp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* November 7 2026, alignment pass. */
.mp-stat b { flex: none; }
.mp-stat span { margin: 0; }
.mp-roles { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.mp-roles li { background: var(--mp-plate); border-left: 4px solid #EA5451; border-radius: 4px; padding: 10px 14px; font-weight: 600; line-height: 1.35; text-align: left; }
.mp-roles li span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #EA5451; margin-bottom: 2px; }
.mp-g-bar { box-sizing: border-box; }
.mp-g-lab { line-height: 1.3; }
.mp-docs li { text-align: left; hyphens: manual; }
.mp-docs li span { flex: none; }


/* Newsletter signup for further doctoral offers. */
.mp-nl .newsletter-form { margin-top: 16px; max-width: 34rem; }

/* Felix, November 8 2026: supervision note under the tiles. */
#rahmen .mp-note { margin-top: 14px; }

/* Felix, November 8 2026: one column, read from top to bottom. Applying comes
   after the page has been read. Overrides the three column grid above. */
.mp-grid, .mp-col { gap: 24px; }
.mp .mp-main .mp-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; }
.mp .mp-pubs { grid-template-columns: minmax(0, 1fr); }
.mp .mp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp .mp-tiles.mp-tiles-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 640px) { .mp .mp-tiles, .mp .mp-tiles.mp-tiles-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mp .mp-gantt { grid-template-columns: minmax(130px, 1.6fr) repeat(17, minmax(30px, 1fr)); }
.mp .mp-gantt { grid-template-columns: minmax(110px, 1.6fr) repeat(17, minmax(24px, 1fr)); }
.mp .mp-hero .container-wide { max-width: 860px; margin-inline: auto; }

/* Felix, November 8 2026: the apply button was too red. */
.mp .mp-apply .btn-primary { background: #2F6DA3; border-color: #2F6DA3; color: #FFFFFF; }
.mp .mp-apply .btn-primary:hover, .mp .mp-apply .btn-primary:focus-visible { background: #1A4269; border-color: #1A4269; color: #FFFFFF; }

/* Felix, November 8 2026: the deadline sits to the right of the red bar. */
.mp .mp-g-b1 { position: relative; padding: 0; }
.mp .mp-g-b1 span { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); color: var(--fg); white-space: nowrap; }

/* Felix, November 8 2026: the fact pills run flush with the cards on the right. */
.mp .mp-facts li { flex: 1 1 auto; text-align: center; }

/* Felix, November 8 2026: use the full site width in fullscreen, flush with the header. */
.mp .mp-main .mp-grid, .mp .mp-hero .container-wide { max-width: var(--wide); }
.mp .mp-body p, .mp .mp-body li { max-width: none; }

/* Felix, November 8 2026: Rochester as a collapsible card. */
.mp-city summary { position: relative; cursor: pointer; list-style: none; background: var(--mp-blue); }
.mp-city summary::-webkit-details-marker { display: none; }
.mp-city summary h2 { padding-right: 52px; }
.mp-city summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.mp-city[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.mp-city summary:focus-visible { outline: 2px solid #EA5451; outline-offset: -2px; }
.mp-city h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 22px 0 10px; }
.mp-city h3:first-child { margin-top: 0; }
.mp-city .mp-pts + .mp-note { margin-top: 18px; }

/* Felix, November 8 2026: Rochester reworked with photos and charts. */
.mp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mp-gallery img { display: block; width: 100%; height: 380px; object-fit: cover; }
.mp-gallery img:last-child { object-position: top; }
.mp .mp-lead { font-size: 1.25rem; line-height: 1.45; font-weight: 600; text-align: left; hyphens: manual; margin-bottom: 22px; }
.mp-bigstats { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mp-bigstats li, .mp-rent li { background: var(--mp-plate); border-radius: 4px; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.mp-bigstats b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; color: #EA5451; white-space: nowrap; }
.mp-bigstats span, .mp-rent span { font-size: .88rem; line-height: 1.3; color: var(--fg-muted); hyphens: manual; }
.mp-rent { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mp-rent b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.mp-city h3 { margin-top: 30px; }
.mp-drive, .mp-budget { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mp-drive li, .mp-budget li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 120px; align-items: center; gap: 12px; text-align: left; }
.mp-drive li > span, .mp-budget li > span { font-weight: 600; hyphens: manual; }
.mp-drive li > b, .mp-budget li > b { font-weight: 700; }
.mp-drive i, .mp-budget i { display: block; height: 16px; border-radius: 3px; }
.mp-drive i { background: #EA5451; }
.mp-budget i { background: #2F6DA3; }
.mp-d1 i { width: 30%; } .mp-d2 i { width: 70%; } .mp-d3 i { width: 100%; }
.mp-b800 i { width: 100%; } .mp-b400 i { width: 50%; } .mp-b200 i { width: 25%; } .mp-b120 i { width: 15%; } .mp-b100 i { width: 12.5%; } .mp-b75 i { width: 9.4%; } .mp-b25 i { width: 3.1%; }
.mp .mp-total { margin: 16px 0 0; font-size: 1.05rem; text-align: left; hyphens: manual; }
.mp-total b { color: #EA5451; font-family: var(--font-display); font-size: 1.3rem; }
@media (max-width: 760px) {
  .mp-gallery, .mp-bigstats, .mp-rent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-gallery img { height: 240px; }
  .mp-drive li, .mp-budget li { grid-template-columns: 104px minmax(0, 1fr) 84px; gap: 8px; font-size: .88rem; }
}
.mp-budget li, .mp-drive li { grid-template-columns: 150px minmax(0, 1fr) 140px; }
@media (max-width: 760px) { .mp-budget li, .mp-drive li { grid-template-columns: 104px minmax(0, 1fr) 96px; } }

.mp .mp-bleed { margin: 12px -20px; }
.mp-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chips li { background: var(--mp-plate); border-radius: 4px; padding: 7px 12px; font-size: .92rem; font-weight: 600; text-align: left; hyphens: manual; }
.mp-week { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mp-week li { background: var(--mp-plate); border-radius: 4px; padding: 12px; font-size: .88rem; line-height: 1.35; text-align: left; hyphens: manual; }
.mp-week span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #EA5451; margin-bottom: 6px; }
.mp-week b { display: block; font-weight: 700; }
@media (max-width: 760px) { .mp-week { grid-template-columns: minmax(0, 1fr); } }

/* Publications folded with a fade. */
.mp-fold { position: relative; }
.mp-fold.is-folded .mp-fold-in { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.mp-fold-btn { display: block; margin: 12px auto 0; background: none; border: 1px solid var(--rule-strong); border-radius: 4px; color: var(--fg); font: inherit; font-weight: 600; padding: 9px 18px; cursor: pointer; }
.mp-fold-btn[hidden] { display: none; }
.mp-b120 i { width: 20%; }

/* Felix, November 8 2026: no zoom. Every block spans the same width. */
.mp .mp-nl .newsletter-form { max-width: none; }
.mp-b120 i { width: 15%; }
.mp p.mp-span { max-width: none; width: 100%; }

/* Felix, November 8 2026: real map data in a low strip you can zoom into, */
#rochester.mp-card { overflow: visible; }
.mp-map { background: #0B1624; }
.mp-map-view { position: relative; height: 340px; overflow: hidden; background: #0B1624; cursor: grab; touch-action: pan-y; user-select: none; }
.mp-map-view.is-drag { cursor: grabbing; }
.mp-map-view svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mp-map-tabs, .mp-map-zoom { position: absolute; z-index: 3; top: 10px; display: flex; gap: 4px; }
.mp-map-tabs { left: 10px; } .mp-map-zoom { right: 10px; }
.mp-map-view button { background: #11243A; color: #FFFFFF; border: 0; border-radius: 4px; font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 12px; cursor: pointer; }
.mp-map-view button.is-on { background: #EA5451; color: #0B1624; }
.mp-map-zoom button { width: 34px; padding: 7px 0; font-size: 1.05rem; }
.mp-map-view:focus-visible { outline: 2px solid #EA5451; outline-offset: -2px; }
.mp-map-lab { position: absolute; z-index: 2; transform: translate(-50%, -100%); margin-top: -8px; background: #11243A; color: #FFFFFF; border-radius: 4px; font-size: .82rem; line-height: 1.25; padding: 5px 9px; white-space: nowrap; pointer-events: none; }
.mp-map-lab b { color: #EA5451; }
.mp-map-lab.is-pin b { display: block; }
.mp-map-dot { position: absolute; z-index: 2; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #EA5451; pointer-events: none; }
.mp-attr { position: absolute; z-index: 3; right: 6px; bottom: 4px; font-size: .68rem; color: #CBCFD2; background: rgba(11,22,36,.7); padding: 1px 6px; border-radius: 3px; }
.mp-attr a { color: inherit; }
.mp .mp-map-cap { margin: 0; padding: 12px 20px; background: #11243A; color: #FFFFFF; text-align: left; hyphens: manual; max-width: none; }
.mp-map-lab.is-right { transform: translate(10px, -50%); margin-top: 0; }
.mp-map-lab.is-left { transform: translate(calc(-100% - 10px), -50%); margin-top: 0; }

/* Felix, November 8 2026: map labels on phones, one above and one below their dot. */
@media (max-width: 760px) {
  .mp-map-lab.is-pin { white-space: normal; width: 128px; font-size: .75rem; padding: 4px 7px; text-align: left; hyphens: manual; }
  .mp-map-lab.is-right { transform: translate(-50%, calc(-100% - 10px)); }
  .mp-map-lab.is-left { transform: translate(-50%, 10px); }
  .mp-map-view button { padding: 9px 12px; }
  .mp-map-zoom button { width: 38px; padding: 9px 0; }
}

/* Felix, November 8 2026: phones. Timeline fits without sideways scrolling. */
@media (max-width: 760px) {
  .mp .mp-gantt { grid-template-columns: 80px repeat(17, minmax(0, 1fr)); overflow: visible; font-size: .72rem; }
  .mp .mp-g-m { display: none; }
  .mp .mp-g-lab { font-size: .72rem; padding-right: 6px; hyphens: manual; }
  .mp .mp-g-year { padding-left: 3px; font-size: .68rem; }
  .mp .mp-g-bar { padding: 0 6px; font-size: .75rem; }
  .mp .mp-g-b1 { padding: 0; }
  .mp .mp-budget li, .mp .mp-drive li { grid-template-columns: 122px minmax(0, 1fr) 92px; }
  .mp .mp-budget li > span { font-size: .84rem; }
}

.mp-winter { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 20px; align-items: start; }
.mp-winter img { display: block; width: 100%; height: auto; border-radius: 4px; }
.mp .mp-winter p { margin: 0; }
@media (max-width: 760px) { .mp-winter { grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; } }

@media (max-width: 760px) { .mp-map-view { height: 300px; } }

/* Felix, November 8 2026: monthly budget as a waterfall. Scale: 2,400 USD = 100%.
   Upright columns on wide screens, rows on phones. */
.mp .mp-city h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.25; margin: 34px 0 14px; }
.mp .mp-city h3:first-child { margin-top: 0; }
.mp-w1 { --b: 0%; --h: 33.33%; } .mp-w2 { --b: 33.33%; --h: 16.67%; } .mp-w3 { --b: 50%; --h: 8.33%; } .mp-w4 { --b: 58.33%; --h: 5%; }
.mp-w5 { --b: 63.33%; --h: 4.17%; } .mp-w6 { --b: 67.5%; --h: 3.13%; } .mp-w7 { --b: 70.63%; --h: 1.04%; } .mp-w8 { --b: 0%; --h: 100%; }
.mp-wf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.mp-wf li { display: flex; flex-direction: column-reverse; gap: 8px; text-align: center; }
.mp-wf span { font-size: .85rem; font-weight: 600; line-height: 1.25; hyphens: manual; overflow-wrap: anywhere; }
.mp-wf div { position: relative; height: 300px; border-bottom: 1px solid var(--rule-strong); }
.mp-wf i { position: absolute; left: 10%; right: 10%; bottom: var(--b); height: var(--h); min-height: 4px; background: #2F6DA3; border-radius: 3px; }
.mp-wf b { position: absolute; left: -4px; right: -4px; bottom: calc(var(--b) + var(--h) + 4px); font-size: .82rem; font-weight: 700; line-height: 1.2; }
.mp-w8 i { background: linear-gradient(0deg, #EA5451 66.67%, rgba(234,84,81,.35) 66.67%); }
.mp-w8 b { bottom: auto; top: 8px; left: 10%; right: 10%; color: #FFFFFF; }
@media (max-width: 760px) {
  .mp-wf { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mp-wf li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 8px; text-align: left; }
  .mp-wf div { height: 40px; border-bottom: 0; border-left: 1px solid var(--rule-strong); }
  .mp-wf i { left: var(--b); right: auto; bottom: auto; top: 3px; width: var(--h); min-width: 4px; height: 14px; }
  .mp-wf b { left: 0; right: 0; bottom: 2px; top: auto; text-align: right; font-size: .76rem; }
  .mp-w8 i { background: linear-gradient(90deg, #EA5451 66.67%, rgba(234,84,81,.35) 66.67%); }
  .mp-w8 b { color: inherit; top: auto; left: 0; right: 0; }
}
@media (max-width: 760px) {
  .mp-wf li { grid-template-columns: 120px minmax(0, 1fr); }
  .mp-wf span { font-size: .8rem; overflow-wrap: normal; white-space: nowrap; }
}

/* Felix, November 8 2026: rent 600 to 800 USD, drawn at its midpoint of 700. */
.mp-w1 { --h: 29.17%; } .mp-w2 { --b: 29.17%; } .mp-w3 { --b: 45.84%; } .mp-w4 { --b: 54.17%; }
.mp-w5 { --b: 59.17%; } .mp-w6 { --b: 63.34%; } .mp-w7 { --b: 66.47%; }

/* Felix, November 8 2026: away from the generic card look, towards the site's own
   print language: serif heads on hairlines, rows instead of plates, ink numerals. */
.mp .mp-card{background:transparent;border-radius:0;overflow:visible}
.mp .mp-bleed{margin:12px 0}
.mp-grid,.mp-col{gap:40px}

.mp .mp-tiles li,.mp .mp-bigstats li,.mp .mp-rent li,.mp .mp-docs li,.mp .mp-pubs li,.mp .mp-week li,.mp .mp-roles li{background:transparent;border-radius:0;border-top:1px solid var(--rule);padding:14px 16px 14px 0}
.mp .mp-tiles,.mp .mp-bigstats,.mp .mp-rent,.mp .mp-docs,.mp .mp-pubs,.mp .mp-week,.mp .mp-roles{gap:0}
.mp .mp-tiles li{align-items:flex-start;text-align:left}
.mp .mp-tiles span{text-align:left}
.mp .mp-tiles svg{stroke:var(--fg-muted)}
.mp .mp-roles li{border-left:0}
.mp .mp-docs li:last-child{border-bottom:1px solid var(--rule)}
.mp .mp-pubs li{padding-left:40px}
.mp .mp-pubs li::before{background:transparent;color:var(--fg-faint);width:auto;height:auto;left:0;top:16px;font-size:.75rem;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.mp .mp-pubs .mp-year,.mp .mp-pubs .mp-tag{background:transparent;padding:0;color:var(--fg-muted)}
.mp .mp-pubs .mp-tag{text-transform:uppercase;letter-spacing:.08em}

.mp .mp-stat b,.mp .mp-bigstats b,.mp .mp-total b,.mp .mp-tiles b,.mp .mp-rent b{color:var(--fg);font-family:var(--font-display);font-weight:700}
.mp .mp-roles li span,.mp .mp-week span{color:var(--fg-faint);font-family:var(--font-body);font-size:.75rem;letter-spacing:.14em;text-transform:uppercase}

.mp .mp-facts{gap:8px 28px}
.mp .mp-facts li{background:transparent;border-radius:0;padding:0;flex:none;text-align:left;font-weight:500;color:#CBCFD2}
.mp .mp-facts li.mp-deadline{background:transparent;color:#FFFFFF;font-weight:700;border-bottom:2px solid #EA5451;padding-bottom:2px;margin-left:auto}


.mp .mp-chips{display:block}
.mp .mp-chips li{display:inline;background:transparent;padding:0;font-weight:500;font-size:1rem}
.mp .mp-chips li:not(:last-child)::after{content:" · ";color:var(--fg-faint)}

.mp .mp-g-bar,.mp .mp-wf i,.mp .mp-drive i,.mp .mp-budget i,.mp-winter img,.mp .mp-map-view button{border-radius:0}
.mp .mp-g-bar{height:22px}
.mp .mp-w8 b{color:var(--fg)}

.mp .mp-fold-btn{border:0;border-bottom:1px solid var(--fg);border-radius:0;padding:4px 0;margin:16px 0 0;display:inline-block}
.mp .mp-map-view button{color:#FFFFFF}
.mp .mp-map-view button.is-on{color:#0B1624}

/* Felix, November 8 2026: no serif, colour back through the blue poster title bars,
   red stays rare. Rows instead of plates stay. Text inset matches the bar title. */
.mp .mp-card h2 { padding: 14px 16px; }
.mp .mp-body { padding: 18px 16px 4px; }
.mp .mp-city h3:first-child { margin-top: 0; }
.mp .mp-map-cap { padding-left: 16px; padding-right: 16px; }

/* Budget recomputed: scale 2,000 USD = 100%. Grey shows the span of a range. */
.mp-w1 { --b: 0%; --h: 40%; } .mp-w2 { --b: 40%; --h: 20%; } .mp-w3 { --b: 60%; --h: 10%; } .mp-w4 { --b: 70%; --h: 6%; }
.mp-w5 { --b: 76%; --h: 5%; } .mp-w6 { --b: 81%; --h: 5%; } .mp-w7 { --b: 86%; --h: 1.25%; } .mp-w8 { --b: 0%; --h: 87.25%; }
.mp .mp-w1 i { background: linear-gradient(0deg, #2F6DA3 75%, #6B7A8C 75%); }
.mp .mp-w6 i { background: linear-gradient(0deg, #2F6DA3 50%, #6B7A8C 50%); }
.mp .mp-w8 i { background: linear-gradient(0deg, #2F6DA3 85.67%, #6B7A8C 85.67%); }
.mp .mp-w8 b { top: auto; bottom: calc(var(--b) + var(--h) + 4px); left: -4px; right: -4px; }
@media (max-width: 760px) {
  .mp .mp-w1 i { background: linear-gradient(90deg, #2F6DA3 75%, #6B7A8C 75%); }
  .mp .mp-w6 i { background: linear-gradient(90deg, #2F6DA3 50%, #6B7A8C 50%); }
  .mp .mp-w8 i { background: linear-gradient(90deg, #2F6DA3 85.67%, #6B7A8C 85.67%); }
  .mp .mp-w8 b { left: 0; right: 0; bottom: 2px; }
}

/* Winter: cropped screenshot sits level with the text. */
.mp-winter { grid-template-columns: minmax(0, 1fr) 200px; align-items: center; }
@media (max-width: 760px) { .mp-winter { grid-template-columns: minmax(0, 1fr) 120px; } }

/* Felix, November 8 2026: direct application by mail, next to the form button. */
.mp .mp-apply { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.mp .mp-mail-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; min-height: 44px; border: 1px solid #2F6DA3; border-radius: 6px; color: var(--fg); font-weight: 600; text-decoration: none; }
.mp .mp-mail-btn:hover, .mp .mp-mail-btn:focus-visible { background: #2F6DA3; color: #FFFFFF; }

/* Felix, November 8 2026: phones, the two year labels would collide. */
@media (max-width: 760px) { .mp .mp-g-y26 { display: none; } }

/* Felix, November 8 2026: /promotion, open positions as full width rows. */
.po-list { display: block; padding: 0; border-bottom: 1px solid var(--rule-strong); }
.po-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 48px; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--rule-strong); color: var(--fg); text-decoration: none; }
.po-tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); padding-top: .55em; }
.po-main { display: flex; flex-direction: column; gap: 8px; text-align: left; hyphens: manual; }
.po-main b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); line-height: 1.2; }
.po-main span { color: var(--fg-muted); line-height: 1.5; max-width: 62ch; }
.po-main em { font-style: normal; font-weight: 700; }
.po-go { font-size: 1.8rem; line-height: 1.3; text-align: right; color: #2F6DA3; transition: transform .15s ease; }
.po-row:hover b, .po-row:focus-visible b { color: var(--link); }
.po-row:hover .po-go { transform: translateX(4px); }
@media (max-width: 640px) { .po-row { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 12px; } .po-tag { grid-column: 1 / -1; padding-top: 0; } }
.po-row { padding: 36px 0; }
.po-main b { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
.po-main span { font-size: 1.15rem; max-width: 70ch; }
.po-main em { font-size: 1.15rem; }
.po-tag { font-size: .9rem; }

/* Felix, November 8 2026: scholarships as linked rows. */
.mp-grants { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 1px solid var(--rule); }
.mp-grants li { border-top: 1px solid var(--rule); margin: 0; }
.mp-grants a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; color: var(--fg); font-weight: 600; text-decoration: none; text-align: left; hyphens: manual; }
.mp-grants small { margin-left: 6px; font-size: .82rem; font-weight: 500; color: var(--fg-muted); }
.mp-grants i { font-style: normal; color: #2F6DA3; transition: transform .15s ease; }
.mp-grants a:hover span, .mp-grants a:focus-visible span { color: var(--link); }
.mp-grants a:hover i { transform: translate(2px, -2px); }
@media (max-width: 640px) { .mp-grants { grid-template-columns: minmax(0, 1fr); } }

/* Felix, November 8 2026: portrait beside the roles, credited to Mayo Clinic. */
.mp-person { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.mp-person figure { margin: 0; }
.mp-person img { display: block; width: 100%; height: auto; }
.mp-person figcaption { margin-top: 6px; font-size: .78rem; color: var(--fg-muted); text-align: left; }
@media (max-width: 640px) { .mp-person { grid-template-columns: minmax(0, 1fr); } .mp-person figure { order: -1; max-width: 220px; } }

/* Felix, November 8 2026: DE | EN at the top right of the hero, plain links.
   The hero is navy in both themes, so one set of colours serves both. */
.mp-lang { display: flex; justify-content: flex-end; align-items: center; gap: 2px; margin: 0 0 14px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; line-height: 1; }
.mp-lang a { color: #CBCFD2; text-decoration: none; padding: 8px 6px; min-width: 32px; text-align: center; border-bottom: 2px solid transparent; hyphens: manual; }
.mp-lang a:hover, .mp-lang a:focus-visible { color: #FFFFFF; }
.mp-lang a[aria-current] { color: #FFFFFF; border-bottom-color: #EA5451; }
.mp-lang span { color: #CBCFD2; opacity: .5; }

/* Felix, November 8 2026: newsletter button in the colour of the apply button. */
.mp .mp-nl button[type="submit"] { background: #2F6DA3; border-color: #2F6DA3; color: #FFFFFF; }
.mp .mp-nl button[type="submit"]:hover, .mp .mp-nl button[type="submit"]:focus-visible { background: #1A4269; border-color: #1A4269; color: #FFFFFF; }

/* Felix, November 8 2026: choice of list on /positions. */
.mp .nl-topics { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.mp .nl-topics legend { float: left; padding: 0; margin-right: 24px; font-size: .9rem; color: var(--fg-muted); }
.mp .nl-topic { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.mp .nl-topic input { accent-color: #2F6DA3; }

/* Felix, November 11 2026: closed calls on /positions and a closed apply button. */
.po-closed { margin-top: 48px; }
.po-closed-h { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 12px; }
.po-closed .po-row { opacity: .7; }
.po-closed .po-row:hover, .po-closed .po-row:focus-visible { opacity: 1; }
.mp .mp-apply .mp-closed, .mp .mp-apply .mp-closed:hover { background: var(--rule-strong); border-color: var(--rule-strong); color: var(--fg-muted); cursor: not-allowed; }
.mp-refs { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; text-align: left; hyphens: manual; }
.mp-refs em { font-style: italic; }

/* Felix, November 11 2026: a lower hero on the positions overview. */
.mp .mp-hero.po-hero { padding: 14px 0 18px; }
.mp .mp-hero.po-hero h1 { margin: 0; }

/* Felix, November 20 2026: review date instead of a deadline. */
.mp .mp-review { font-weight: 700; }
