/* Keep long model/specification terms inside their definition-list column. */
.product-facts dd{min-width:0;overflow-wrap:anywhere}
/* Older bookmarks point just below a care heading. Keep that heading in view. */
.animal-hub .anchor-alias{scroll-margin-top:8rem}
/* Give phone-width animal pictures a full row without cropping the animal. */
@media screen and (max-width:700px){
 .animal-hub .species-hub-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'eyebrow' 'name' 'scientific' 'tags' 'picture' 'topics' 'actions';padding:14px}
 .animal-hub .species-hub-hero>div{display:contents}
 .animal-hub .species-hub-hero .eyebrow{grid-area:eyebrow}
 .animal-hub .species-hub-hero h1{grid-area:name;min-width:0;padding-right:0}
 .animal-hub .species-hub-hero .scientific{grid-area:scientific;min-width:0;padding-right:0;overflow-wrap:anywhere}
 .animal-hub .species-hub-hero .animal-profile-tags{grid-area:tags;margin-top:0}
 .animal-hub .species-hub-hero figure{grid-area:picture;position:static;width:100%;margin:0;align-self:start}
 .animal-hub .species-hub-hero img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
 .animal-hub .species-hub-hero .mobile-hub-shortcuts{grid-area:topics}
 .animal-hub .species-hub-hero .hub-actions{grid-area:actions}
}
@media screen and (max-width:300px){
 .animal-hub .species-hub-hero .mobile-hub-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Sources remain a native, keyboard-accessible disclosure at every width. */
.animal-hub #sources>.sources-disclosure{padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.animal-hub #sources>.sources-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;cursor:pointer}
.animal-hub #sources>.sources-disclosure>summary h2{flex:1;min-width:0;margin:0}
.animal-hub #sources>.sources-disclosure>summary::after{content:'+';flex:none;font-size:1.5rem;line-height:1;color:var(--ink)}
.animal-hub #sources>.sources-disclosure[open]>summary::after{content:'−'}
.animal-hub #sources>.sources-disclosure[open]>.mobile-care-content{padding-top:1rem}
@media print{.animal-hub #sources>.sources-disclosure>summary::after{display:none}}
