/* model-family r1: layout for the /models/ hub and family pages. Colours/type come from feature-landing.css + elabs-ds.css tokens. */
.mf-sec{margin:0 0 40px}
.mf-sec h2{font:700 1.5rem/1.2 Inter,sans-serif;margin:0 0 14px}
.mf-good{color:#B9B9CF;max-width:46em;line-height:1.6;margin:0 0 16px}
.mf-tablewrap{overflow-x:auto;border:1px solid rgba(255,255,255,.12);border-radius:14px}
.mf-table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:720px}
.mf-table th,.mf-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.08)}
.mf-table thead th{color:#9a9ab8;font-weight:600;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.mf-table tbody th{font-weight:700;color:#fff}
.mf-table tr:last-child>*{border-bottom:0}
.mf-na{color:#9a9ab8;font-size:.85rem}
.mf-retire{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:rgba(255,190,80,.14);color:#ffbe50;font-size:.74rem;font-weight:700}
.mf-price-btn{min-height:44px;min-width:44px;padding:0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font:600 .85rem Inter,sans-serif;cursor:pointer}
.mf-price-btn:hover{border-color:#B7F34A}
.mf-pricebox{padding:16px 18px;border:1px solid rgba(183,243,74,.35);border-radius:14px;background:rgba(183,243,74,.05);margin:0 0 24px;max-width:46em}
.mf-pricebox p{margin:0}
.mf-ex{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0;padding:0;list-style:none}
.mf-ex figure{margin:0;position:relative;border-radius:14px;overflow:hidden;background:#000;aspect-ratio:16/9}
.mf-ex video,.mf-ex img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mf-ex figcaption{position:absolute;left:8px;bottom:8px;right:8px;padding:4px 9px;border-radius:999px;background:rgba(10,10,15,.72);font-size:.74rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mf-rel{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.mf-rel a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.25);color:#fff;text-decoration:none;font-weight:600}
.mf-rel a:hover{border-color:#B7F34A}
.mf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.mf-card{display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#111118;color:#fff;text-decoration:none}
.mf-card:hover{border-color:#B7F34A}
.mf-card strong{font-size:1.1rem}.mf-card span{color:#B9B9CF;font-size:.9rem;line-height:1.5}.mf-card em{color:#9a9ab8;font-style:normal;font-size:.8rem}
.mf-hero{display:block;min-height:0;padding:32px 0 24px}
.mf-asof{color:#8A8AA6;font-size:.8rem;margin:8px 0 0}
@media (max-width:640px){
  .fl{padding:0 16px 48px}
  .mf-table{min-width:0}.mf-table thead{position:absolute;left:-9999px}
  .mf-table,.mf-table tbody,.mf-table tr,.mf-table th,.mf-table td{display:block;width:100%;box-sizing:border-box}
  .mf-table tr{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12)}
  .mf-table th,.mf-table td{border:0;padding:5px 14px}
  .mf-table td[data-label]::before{content:attr(data-label) ": ";color:#9a9ab8;font-size:.78rem}
  .mf-table th[data-label]::before{content:none}
}
/* media-fit-r1: a portrait example gets a portrait cell (two rows tall), picture anchored on the head */
.mf-ex figure.is-portrait{aspect-ratio:3/4}
.mf-ex figure.is-portrait img{object-position:50% 12%}
@media (min-width:700px){.mf-ex li:has(>figure.is-portrait){grid-row:span 2}.mf-ex figure.is-portrait{aspect-ratio:auto;height:100%;min-height:100%}}
