.hero h1 span[data-copy]{display:inline;font:inherit;line-height:inherit;letter-spacing:inherit;margin:0}
.text-link [data-copy]{color:inherit;font:inherit}.feature h2 span[data-copy]:first-child{color:inherit}
.ticker-track:has(.ticker-cycle){min-width:0;justify-content:flex-start}
.ticker-cycle{display:flex;flex:none}.ticker[hidden],[hidden]{display:none!important}
.atlas-cover{position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:end;min-height:clamp(405px,36vw,660px);padding-block:130px 48px;background:#162729}
.atlas-scenery,.atlas-cover::after{position:absolute;inset:0;z-index:-1}
.atlas-scenery{background:center 52%/cover no-repeat url(td-meadow.webp)}
.atlas-cover::after{content:"";background:linear-gradient(90deg,#061210ef 1%,#0a1512ad 36%,#0a151212 77%),linear-gradient(0deg,#07121260,transparent 55%)}
.atlas-heading h1{font:800 clamp(64px,7.8vw,136px)/.88 var(--head);letter-spacing:-.025em;margin:18px 0}
.atlas-heading h1 em{color:var(--accent);font-style:normal}
.atlas-heading p:last-child{max-width:36ch;color:#edf1e9;line-height:1.5;margin:0}
.dog-library{padding-block:clamp(50px,5.5vw,100px)}.dog-library h2{margin:0 0 .45em}
.atlas-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:20px 0;border-block:1px solid #34423e}
.atlas-filters label{display:grid;gap:7px;font:700 12px var(--body);color:#d1d8d3;min-width:0;flex:1 1 180px}
.atlas-filters label:first-child{flex:2 1 260px}
.atlas-filters input,.atlas-filters select,.atlas-filters button{width:100%;height:44px;border-radius:4px;border:1px solid #465952;background:#14211f;color:var(--white);font:400 15px var(--body);padding:0 12px}
.atlas-filters button{color:var(--accent);width:auto;background:transparent}.atlas-filters input::placeholder{color:#a7b3ab}
.result-summary{color:#b8c4ba;font-size:13px;margin:18px 0 22px}
.atlas-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,2.2vw,37px)}
.breed-tile{display:block;min-width:0}.breed-tile img,.breed-grid img{width:100%;aspect-ratio:1;object-fit:cover;object-position:center;background:#162425}
.breed-tile>div{position:relative;border-bottom:1px solid #33433d;padding:14px 28px 15px 0}
.breed-tile small{font:700 10px var(--body);text-transform:uppercase;letter-spacing:.13em;color:var(--accent)}
.breed-tile h3{font:800 clamp(22px,2.1vw,38px)/1 var(--head);margin:5px 0 0;overflow-wrap:anywhere}
.tile-arrow{position:absolute;right:1px;top:20px;color:var(--accent)}.breed-tile:hover h3{color:var(--accent)}
#more-breeds{display:flex;margin:32px auto 0;border:0}
#breed-detail{max-width:min(870px,calc(100vw - 28px));width:100%;max-height:88svh;padding:0;border:1px solid #50645b;border-radius:12px;background:#101c19;color:var(--white);overflow:auto}
#breed-detail::backdrop{background:#030a09ca;backdrop-filter:blur(5px)}
.close-breed{position:absolute;right:12px;top:12px;border-radius:50%;border:1px solid #9aaca4;background:#0c1818e8;color:white;width:44px;height:44px;font:32px/1 var(--body);z-index:1}
.detail-grid{display:grid;grid-template-columns:.95fr 1fr;align-items:center}.detail-grid>img{width:100%;aspect-ratio:1;object-fit:cover}
.detail-copy{padding:42px clamp(22px,3vw,46px) 26px}.detail-copy h2{font-size:clamp(34px,4vw,65px);margin:8px 0}
.detail-copy h3{font-size:22px;margin:20px 0 6px;color:var(--accent)}.detail-copy p{line-height:1.55;margin-bottom:12px}
.detail-copy dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;border-block:1px solid #35453c;padding:14px 0;font-size:13px}.detail-copy dt,#breed-alias{color:#b5c1ba}.detail-copy dd{margin:0}
body:has(#breed-detail[open]){overflow:hidden}
@media(min-width:1600px){.atlas-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:850px){.atlas-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.atlas-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.atlas-cover{min-height:410px;padding-bottom:34px}.atlas-scenery{background-position:64% center}.atlas-heading h1{font-size:68px}.atlas-heading p:last-child{font-size:.93rem;max-width:28ch}.atlas-filters{gap:12px}.atlas-filters label:first-child{flex-basis:100%}.atlas-filters label{flex-basis:140px}.atlas-filters button{height:40px}.detail-grid{display:block}.detail-grid>img{width:100%;max-height:36svh;object-fit:contain;background:#0a1513}.detail-copy{padding:18px 22px}.breed-tile small{font-size:9px}.tile-arrow{top:14px}.breed-tile>div{padding:8px 18px 12px 0}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none!important}}

/* Reserve space for two lines of title and three lines of summary on each card. */
.breed-grid article, .breed-grid article > a, .breed-tile > div {
  min-width: 0;
}
.breed-grid article > a {
  display: grid;
}
.breed-grid small, .breed-tile small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.breed-grid h3, .breed-tile h3, .breed-grid p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.breed-grid h3, .breed-tile h3 {
  line-height: 1.12;
  height: 2.24em;
  -webkit-line-clamp: 2;
}
.breed-grid h3 {
  font-size: clamp(28px, 2.8vw, 48px);
}
.breed-grid p {
  line-height: 1.45;
  height: 4.35em;
  margin: 0;
  -webkit-line-clamp: 3;
}

/* Scroll the contents of a long detail while keeping its close button in reach. */
#breed-detail {
  overflow: hidden;
}
.detail-grid {
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
}
.detail-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
#breed-description, #breed-fact {
  white-space: pre-line;
}
.detail-copy dl {
  grid-template-columns: auto minmax(0, 1fr);
}
@media (max-width: 760px) {
  .breed-grid article > a {
    grid-template-columns: clamp(88px, 28vw, 155px) minmax(0, 1fr);
    column-gap: 14px;
    align-content: start;
  }
  .breed-grid img {
    grid-row: 1 / 4;
    width: 100%;
    margin: 0;
    float: none;
  }
  .breed-grid small, .breed-grid h3, .breed-grid p {
    grid-column: 2;
  }
  .breed-grid h3 {
    font-size: clamp(22px, 5.5vw, 29px);
    margin-bottom: 6px;
  }
}
