/* Filled photographic frames, with focal points chosen for each supplied photo. */
/* Share title rows so descriptions align with the longest name in each row. */
.species-caption h3{min-height:2.16em}
@supports(grid-template-rows:subgrid){
 .species-card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
 .species-caption{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
 .species-caption h3{min-height:0}
}
@media(max-width:380px){.species-caption h3{min-height:0}}
.journal-card-image,.feature-image{background:#e9e8dd}
.journal-card-image>img,.feature-image>img,.species-photo>img{width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50% 45%);transform:none!important}
.reading-cover>img{height:clamp(320px,43vw,620px);max-height:none;object-fit:cover;object-position:var(--photo-position,50% 45%);border-radius:4px}
.reading-inline-photo img{width:100%;height:clamp(300px,44vw,520px);max-height:none;object-fit:cover;object-position:var(--photo-position,50% 45%);border-radius:4px}
.journal-intro-image img{object-position:var(--photo-position,50% 38%)}
img[data-photo="lori"]{--photo-position:60% 48%}
img[data-photo="macaw"]{--photo-position:50% 22%}
img[data-photo="cockatoo"]{--photo-position:50% 25%}
img[data-photo="grey"]{--photo-position:60% 45%}
img[data-photo="conure"]{--photo-position:55% 20%}
img[data-photo="macaw-wide"]{--photo-position:64% 28%}
img[data-photo="lori-garden"]{--photo-position:53% 42%}
img[data-photo="macaw-forest"]{--photo-position:48% 34%}
img[data-photo="macaw-preening"]{--photo-position:50% 28%}
img[data-photo="cockatoo-perch"]{--photo-position:50% 8%}
img[data-photo="conure-perch"]{--photo-position:50% 12%}
img[data-photo="conure-sun"]{--photo-position:50% 48%}
img[data-photo="lory-feeding"]{--photo-position:65% 50%}
img[data-photo="parrot-fruit"]{--photo-position:50% 45%}
img[data-photo="cockatoo-canopy"]{--photo-position:55% 40%}
img[data-photo="cockatoo-branch"]{--photo-position:58% 20%}
img[data-photo="cockatoo-sky"]{--photo-position:65% 0%}
img[data-photo="grey-perch"]{--photo-position:62% 57%}
.reading-cover>img[data-photo="macaw"]{height:clamp(360px,58vw,780px);object-position:50% 30%}
.reading-body>p{margin-bottom:24px}.reading-body>h2{margin-top:48px}
.reading-toc ol{max-height:65vh;overflow-y:auto;scrollbar-width:thin}
.species-next-step{margin:40px 0;padding:30px;background:var(--sand,#eeece3);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.species-next-step h2{margin:0 0 18px;font-size:clamp(28px,3vw,38px);line-height:1.2}.species-next-step p{margin-bottom:24px}.species-next-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px}.species-next-actions .button{white-space:normal;text-align:center;line-height:1.5;min-height:48px;max-width:100%}.species-next-actions .icon{flex-shrink:0}.species-next-actions .text-link{min-height:44px}.species-next-actions a{overflow-wrap:anywhere}@media(max-width:650px){.species-next-step{padding:24px 18px}.species-next-actions{align-items:stretch;flex-direction:column;gap:12px}.species-next-actions .button{width:100%}.species-next-actions .text-link{align-self:flex-start}}
.knowledge-species-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:30px}.knowledge-species-links>a{border-top:1px solid var(--line);padding:22px 0;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0}.knowledge-species-links h3{font-size:28px;line-height:1.2}.knowledge-species-links p{font-size:12px;line-height:1.7}.knowledge-species-links .icon{margin-top:auto;color:var(--clay)}.knowledge-species-links>a:hover h3{color:var(--clay)}
@media(max-width:950px){.knowledge-species-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.reading-toc ol{max-height:none;overflow:visible}}
@media(max-width:650px){.reading-cover>img{height:clamp(280px,85vw,420px)}.reading-inline-photo img{height:clamp(260px,75vw,390px)}.reading-body>h2{margin-top:36px}.knowledge-species-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}.knowledge-species-links p{font-size:14px}}
@media(max-width:380px){.knowledge-species-links{grid-template-columns:1fr}}

img[data-photo="species-macaw"]{--photo-position:50% 45%}
.reading-cover>img[data-photo="species-macaw"]{height:clamp(360px,50vw,720px)}
img[data-photo="care-perches"]{--photo-position:50% 23%}
img[data-photo="care-summer"]{--photo-position:50% 46%}
img[data-photo="care-daily"]{--photo-position:62% 45%}
img[data-photo="care-family"]{--photo-position:50% 49%}
img[data-photo="care-housing"]{--photo-position:50% 4%}
img[data-photo="macaw-flock"]{--photo-position:65% 100%}
.reading-cover>img[data-photo="macaw-flock"]{height:clamp(360px,58vw,780px)}
.photo-credit-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 52px;counter-reset:photo-credit}
.photo-credit-list li{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;border-top:1px solid var(--line);padding:18px 0;font-size:13px}
.photo-credit-list li::before{counter-increment:photo-credit;content:counter(photo-credit,decimal-leading-zero);color:var(--muted);font-size:11px}
.photo-credit-list a:last-child{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.photo-credit-list{grid-template-columns:1fr}.photo-credit-list li{font-size:12px}}
