/* Hevoslistat: sivuston nykyisen pohjan päälle tulevat listan omat tyylit. */
.list-main { width:100%; }
.list-main .intro { margin:0 0 45px; }
.list-main .eyebrow { margin:0 0 7px 50px; color:#8d8d8d; font:11px 'Muli'; letter-spacing:3px; text-transform:uppercase; }
.list-main .eyebrow a { color:#4ecdc4; text-decoration:none; }
.list-main .eyebrow a:hover { text-decoration:underline; }
.list-main h1 { margin:0 0 5px 50px; font:30px 'Nixie One'; letter-spacing:1px; }
.list-main .intro > p:last-child { margin:0 0 0 80px; max-width:670px; color:#777; font:13px/23px 'Muli'; }
.list-main .horse-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.list-main .horse-card { display:grid; grid-template-columns:140px minmax(0,1fr); align-items:center; gap:12px; padding:9px; border:1px solid #e8eeee; background:linear-gradient(90deg,rgba(78,205,196,.13),#f9fcfb 12%,#f9fcfb 88%,rgba(255,230,109,.14)); }
.list-main .horse-photo { width:100%; height:105px; margin:0; background:#f6f6f6; }
.list-main .horse-photo img { display:block; box-sizing:border-box; width:100%; height:100%; object-fit:cover; object-position:center; border:4px solid #f6f6f6; }
.list-main .horse-body { min-width:0; padding:3px 2px; }
.list-main .horse-topline { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:5px 12px; }
.list-main .horse-topline h3 { margin:0; opacity:1; font:18px 'Nixie One'; text-transform:none; }
.list-main .horse-subtype { margin:5px 0 0; color:#888; font:11px 'Muli'; letter-spacing:1px; }
.list-main .horse-topline h3 a { display:inline; padding-bottom:4px; background:linear-gradient(to right,#4ecdc4,#ffe66d) left bottom / 100% 3px no-repeat; text-decoration:none; transition:color .2s ease,background-size .2s ease; }
#content .list-main .horse-topline h3 a { color:#278b86; }
#content .list-main .horse-topline h3 a:hover,
#content .list-main .horse-topline h3 a:focus-visible,
#content .list-main .horse-topline h3 a:active { color:#176e6a; background-size:100% 4px; text-decoration:none; }
.list-main .award { padding:1px 6px; background:rgba(255,230,109,.55); color:#826b00; font:11px 'Muli'; }
.list-main .facts { display:flex; flex-wrap:wrap; gap:3px 12px; margin:10px 0 0; }
.list-main .facts div { min-width:90px; }
.list-main .facts dt { color:#999; font:10px 'Muli'; letter-spacing:2px; text-transform:uppercase; }
.list-main .facts dd { margin:0; font:13px/22px 'Muli'; }
.list-main a:focus-visible { outline:2px solid #e8bf00; outline-offset:3px; }
@media(max-width:1050px) {
  .list-main .horse-list { grid-template-columns:1fr; }
  .list-main .horse-card { grid-template-columns:140px minmax(0,1fr); }
}
@media(max-width:700px) {
  #content { width:96%; padding:35px 18px; }
  .list-main .eyebrow,.list-main h1 { margin-left:0; }
  .list-main .intro > p:last-child { margin-left:0; }
  .list-main .horse-card { grid-template-columns:120px minmax(0,1fr); gap:9px; padding:7px; }
  .list-main .horse-photo { height:90px; }
  .list-main .horse-body { padding:4px; }
  .list-main .horse-topline h3 { font-size:17px; }
  .list-main .facts { margin-top:8px; gap:3px 10px; }
  .list-main .facts div { min-width:95px; }
}
