/* Model page (Views/Model.cshtml) - a landing page for one pad shape that points
   to its compounds, like the disc pad grid filtered to one model. Each tile: the
   pad photo, then the product lockup and slogan centred beneath it. */

/* header */
.row.mp-head { margin-top: 2.5rem; margin-bottom: 2.5rem; }
h1.mp-title { font-family: 'orgonbold', sans-serif; font-weight: normal; font-size: 56px; line-height: 1; letter-spacing: -.01em; color: #282828; margin: 0; }
.mp-facts { border-top: 1px solid #e2e2e2; margin: 1.8rem 0 0; }
.mp-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e2e2; }
.mp-facts dt { font: 11px 'orgonmedium', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #888; margin: 0; }
.mp-facts dt { flex: 0 0 auto; }
.mp-facts dd { font: 15px/1.35 'orgonbold', sans-serif; color: #282828; margin: 0; text-align: right; }

/* tiles: Foundation columns in a nested row, so gutters and both edges line up with the
   header; flex so tiles in a row share a height */
.row.mp-options { display: flex; flex-wrap: wrap; }
.row.mp-options:before, .row.mp-options:after { display: none; }
.row.mp-options > .columns { display: flex; float: none; padding-bottom: 2.5rem; }
/* highlighted on hover as the compounds page highlights its boxes (.compound-featurebox) */
.mp-tile { display: flex; flex-direction: column; width: 100%; color: #282828; background: #fff; border-radius: 6px; overflow: hidden; padding-bottom: 1rem; transition: box-shadow .2s; }
.mp-tile:hover, .mp-tile:focus { color: #282828; box-shadow: 0 0 8px rgba(33,33,33,.2); }
.mp-tile:focus-visible { outline: 2px solid #282828; outline-offset: 3px; }
.mp-img { position: relative; display: flex; align-items: center; justify-content: center; height: 240px; padding: 20px; background: #f4f4f4; overflow: hidden; }
.mp-img img { max-height: 100%; max-width: 100%; mix-blend-mode: multiply; }
.mp-flag { position: absolute; top: 10px; left: 10px; z-index: 1; font: 10px 'orgonbold', sans-serif; letter-spacing: .1em; text-transform: uppercase; background: #ffe600; color: #221f1f; padding: 3px 7px; }
.mp-flag.retired { background: #888; color: #fff; }
.mp-body { display: flex; flex-direction: column; flex: 1; text-align: center; }
.mp-logo { display: block; margin-top: 1.4rem; height: 36px; text-align: center; }
.mp-logo img { max-height: 36px; width: auto; }
/* the product lockup (ProductLockup.cs): every box is the height of the tallest lockup on
   the page (the two-row EXOTherm2 one) and centres its own lockup in it */
.mp-lockup { display: flex; align-items: center; justify-content: center; margin-top: 1.4rem; }
.mp-lockup svg { display: block; max-width: 100%; height: auto; }
/* rotors and accessories: the size ("Ø 160 mm") in place of a lockup */
.mp-size { display: block; margin-top: 1.4rem; font: 24px/1.15 'orgonbold', sans-serif; color: #282828; padding: 0 12px; }
.mp-slogan { font: 11px/1.45 'orgonmedium', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-top: .8rem; min-height: 2.9em; }
.mp-slogan span { display: block; }
/* mount and weight: not capitalised, so "122 g" stays grams */
.mp-slogan.mp-specs { font-size: 13px; letter-spacing: .02em; text-transform: none; min-height: 0; }
.mp-gap { font-size: 12px; line-height: 1.4; color: #555; margin-top: 1rem; }
.mp-meta:empty { display: none; }
/* Foundation 5 breakpoints */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    h1.mp-title { font-size: 40px; }
    .mp-img { height: 200px; }
}
@media only screen and (max-width: 40em) {
    .row.mp-head { margin-top: 1.6rem; margin-bottom: 1.6rem; }
    .mp-facts { margin-top: 1.4rem; }
    h1.mp-title { font-size: 34px; }
    .row.mp-options > .columns { padding-bottom: 1rem; }
    .mp-tile { flex-direction: row; }
    .mp-img { flex: 0 0 38%; height: auto; min-height: 120px; padding: 10px; }
    .mp-tile { padding-bottom: 0; }
    .mp-body { padding: 10px 12px 10px 12px; }
    .mp-logo { margin-top: 0; height: 28px; }
    .mp-logo img { max-height: 28px; }
    .mp-lockup { margin-top: 0; }
    .mp-size { margin-top: 0; font-size: 20px; padding: 0; }
}
