/* Directory styles are scoped; site chrome uses the shared homepage styles. */
.conservation-page { background: var(--paper); }
.conservation-page [hidden] { display: none !important; }
.conservation-page a { text-decoration: none; }
.conservation-main { max-width: 1440px; margin: auto; line-height: 1.7; }
.conservation-main .directory { padding: 32px 4vw 56px; }
/* A quiet index navigation above a single, compact filter rail. */
.conservation-main .filters fieldset { border: 0; border-bottom: 1px solid rgba(43,61,48,.14); padding: 0; margin: 0 0 20px; display: flex; gap: 32px; }
.mode-option { position: relative; }
.mode-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-option span { display: block; position: relative; padding: 8px 0 17px; font-size: 14px; letter-spacing: .5px; color: #7b8277; cursor: pointer; transition: color .2s; white-space: nowrap; }
.mode-option span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #9c8759; transform: scaleX(0); transition: transform .22s; }
.mode-option input:checked + span { color: var(--forest); font-weight: 600; }
.mode-option input:checked + span::after { transform: scaleX(1); }
.mode-option:hover span { color: var(--forest); }
.mode-option input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
.filter-fields { display: grid; grid-template-columns: 1fr 1.1fr 1.6fr auto; gap: 0; align-items: center; background: rgba(250,248,241,.8); border: 1px solid rgba(43,61,48,.12); border-radius: 6px; padding: 8px 6px; }
.filter-fields label { position: relative; min-width: 0; font-size: 10px; font-weight: 400; color: #898b7d; letter-spacing: .6px; padding: 1px 18px; }
.filter-fields label + label { border-left: 1px solid rgba(43,61,48,.12); }
.filter-fields input, .filter-fields select { display: block; width: 100%; min-width: 0; background: transparent; border: 0; border-radius: 3px; padding: 6px 22px 5px 0; color: #344b3e; height: 31px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.filter-fields select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2377816d' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.filter-fields input::placeholder { color: #9a9d90; font-weight: 400; }
.filter-fields input:focus-visible, .filter-fields select:focus-visible { outline: 1px solid #a48e60; outline-offset: 3px; }
.filter-fields .search-field { padding-left: 42px; }
.search-field::before { content: ''; position: absolute; left: 19px; top: 24px; width: 11px; height: 11px; border: 1.3px solid #8a917e; border-radius: 50%; }
.search-field::after { content: ''; position: absolute; left: 30px; top: 35px; width: 5px; height: 1px; background: #8a917e; transform: rotate(45deg); }
.filter-fields button { cursor: pointer; background: transparent; border: 0; border-left: 1px solid rgba(43,61,48,.12); padding: 0 17px; color: #858975; min-height: 36px; font-size: 11px; white-space: nowrap; transition: color .2s; }
.filter-fields button:hover { color: var(--forest); }
.empty-state button { cursor: pointer; background: none; border: 1px solid var(--line); padding: 11px 17px; color: var(--ink); min-height: 44px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 23px 0 16px; font-size: 12px; color: var(--muted); gap: 12px; }
.results-meta p { margin: 0; }
/* Editorial cards: a quiet frame, photographic lead and a clear reading order. */
.opportunity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; align-items: start; }
.opportunity { background: #faf8f1; border: 1px solid rgba(43,61,48,.1); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 100px; min-width: 0; height: 100%; box-shadow: 0 3px 12px rgba(32,48,35,.025); transition: border-color .25s, box-shadow .25s, transform .25s; }
.op-image { margin: 0; position: relative; overflow: hidden; background: #e7e9e0; }
.op-image img { display: block; width: 100%; aspect-ratio: 8/5; height: auto; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.op-image img.is-logo { object-fit: contain; padding: 52px; background: #e7ede3; }
.op-content { padding: 25px 25px 20px; display: flex; flex-direction: column; flex: 1; }
.op-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 1px; color: #697367; }
.op-meta > span:first-child { display: flex; align-items: center; gap: 7px; }
.op-meta > span:first-child::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #9c8759; }
.op-kind { color: #897950; white-space: nowrap; letter-spacing: .5px; }
.opportunity h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px,1.65vw,25px); letter-spacing: -.5px; margin: 14px 0 7px; line-height: 1.5; text-wrap: balance; }
.op-org { font-size: 11px; color: #737c73; margin: 0 0 17px; line-height: 1.6; }
.op-description { font-size: 13px; line-height: 1.95; color: #526157; margin: 0 0 16px; }
.op-tags { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 21px; }
.op-tags span { font-size: 10px; line-height: 1.5; color: #7b806f; }
.op-tags span + span::before { content: '/'; color: #c1c4b6; padding: 0 8px; }
.opportunity dl { font-size: 11px; margin: auto 0 0; padding: 17px 0 10px; border-top: 1px solid rgba(43,61,48,.12); }
.opportunity dl > div { display: grid; grid-template-columns: 55px 1fr; gap: 10px; margin-bottom: 10px; line-height: 1.8; }
.opportunity dt { color: #8a8e80; }
.opportunity dd { margin: 0; color: #495c4e; }
.opportunity details { font-size: 11px; margin: 0 0 13px; }
.opportunity summary { color: #788173; cursor: pointer; font-size: 10px; padding-block: 5px; }
.opportunity details p { color: var(--muted); line-height: 1.8; }
.opportunity details a { color: var(--ink); text-decoration: underline; }
.op-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(43,61,48,.12); padding: 15px 0 0; margin-top: auto; font-size: 12px; font-weight: 600; gap: 10px; color: var(--forest); }
.op-link > span[aria-hidden] { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #cbd0bd; border-radius: 50%; font-size: 17px; font-weight: 400; transition: color .2s, background .2s, border-color .2s; }
.op-link:hover > span[aria-hidden] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
@media (hover:hover) { .opportunity:hover { border-color: rgba(89,105,72,.32); box-shadow: 0 12px 30px rgba(32,48,35,.07); transform: translateY(-3px); } .opportunity:hover .op-image img:not(.is-logo) { transform: scale(1.025); } }
@media (min-width:761px) and (max-width:1150px) { .opportunity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.empty-state { text-align: center; padding: 65px 20px; border: 1px dashed var(--line); }
.empty-state p { color: var(--muted); }
.editorial-note { margin: 0 4vw 48px; padding: 27px 0 0; border-top: 1px solid rgba(43,61,48,.14); color: #6d766a; }
.note-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 23px; }
.editorial-note .note-heading h2 { font-family: var(--display); font-size: 18px; font-weight: 500; color: #53614f; margin: 0; letter-spacing: .5px; }
.note-heading > span { font-size: 9px; letter-spacing: 1.8px; color: #9b947f; }
.editorial-note > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; counter-reset: note; }
.editorial-note p { position: relative; font-size: 11px; color: #7d8376; line-height: 1.95; margin: 0; padding-left: 25px; }
.editorial-note p::before { counter-increment: note; content: '0' counter(note); position: absolute; left: 0; top: 1px; color: #a29472; font-family: Georgia,serif; font-size: 10px; }
.editorial-note strong { display: block; font-size: 12px; font-weight: 500; margin-bottom: 7px; color: #5d6a57; }
.editorial-note > a { display: inline-block; margin: 22px 0 0 25px; color: #8e8264; font-size: 10px; letter-spacing: .4px; text-decoration: none; padding-block: 6px; }
.editorial-note > a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
 .conservation-main .directory { padding: 24px 20px 38px; }
 .conservation-main .filters fieldset { gap: 24px; margin-bottom: 16px; }
 .mode-option span { padding: 8px 0 14px; font-size: 12px; }
 .filter-fields { grid-template-columns: 1fr 1fr; padding: 10px 0 0; }
 .filter-fields label { padding-inline: 15px; }
 .filter-fields .search-field { grid-column: 1/-1; border-left: 0; border-top: 1px solid rgba(43,61,48,.1); margin-top: 10px; padding: 10px 86px 10px 40px; }
 .search-field::before { left: 17px; top: 32px; }
 .search-field::after { left: 28px; top: 43px; }
 .filter-fields { position: relative; }
 .filter-fields button { position: absolute; right: 0; bottom: 13px; min-height: 32px; padding-inline: 13px; font-size: 10px; }
 .opportunity-grid { grid-template-columns: 1fr; }
 .op-content { padding: 23px 24px 20px; }
 .op-image img { aspect-ratio: 16/10; }
 .opportunity h3 { font-size: 22px; }
 .results-meta { font-size: 11px; }
 .editorial-note { margin: 0 20px 32px; padding-top: 23px; }
 .editorial-note > div { grid-template-columns: 1fr; gap: 18px; }
 .note-heading { gap: 12px; margin-bottom: 20px; }
 .note-heading > span { font-size: 8px; letter-spacing: 1.3px; }
}

/* Official BirdReport mark uses white lettering on a transparent background. */
#birdreport .op-image img { background: #254f61; }

@media (prefers-reduced-motion: reduce) { .opportunity, .op-image img, .op-link > span { transition: none; } .opportunity:hover, .opportunity:hover .op-image img { transform: none; } }

.op-image-link { display: block; }
.op-image-link:focus-visible { outline: 3px solid var(--forest); outline-offset: -5px; }
