/* Hayvan tesisleri ve yaban hayatı · members-only content pages and the home page's furniture (wildlife; dalga 3).
   Loaded after site.css and wildlife-site.css. Ships only while the site is open (publish-filter closedSiteAsset:
   assets/css/wildlife-pages.css). The accent #8fae5a stays in rules and numbers, never as body text colour. */
:root { --wl: #8fae5a; --wl-soft: rgba(143, 174, 90, 0.14); --wl-line: rgba(143, 174, 90, 0.45); }
.wl-hero .lead { max-width: 62ch; }
.section[id] { scroll-margin-top: calc(var(--header-h, 72px) + 16px); }

/* in-page links */
.wl-jump { position: sticky; top: var(--header-h, 72px); z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.wl-jump ul { display: flex; gap: 4px 18px; overflow-x: auto; list-style: none; margin: 0; padding: 12px 0; scrollbar-width: none; }
.wl-jump a { white-space: nowrap; font-size: 0.88rem; font-weight: 650; color: var(--fg-2); text-decoration: none; }
.wl-jump a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--wl); }

/* two columns */
.wl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .wl-split { grid-template-columns: 1fr; } }
.wl-big { font-size: 1.12rem; line-height: 1.55; }
.wl-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wl-problems li { padding: 12px 14px; border-left: 3px solid var(--wl); background: var(--wl-soft); border-radius: 0 8px 8px 0; }
.wl-terms { margin: 0; display: grid; gap: 14px; }
.wl-terms dt { font-weight: 750; }
.wl-terms dd { margin: 4px 0 0; color: var(--fg-2); }
.wl-deliver { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--wl-line); border-radius: 12px; }
.wl-deliver .h3 { margin-top: 0; }
.wl-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--fg-3); }

/* numbered cards */
.wl-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.wl-cards li { position: relative; padding: 20px 20px 18px; border: 1px solid var(--line); border-top: 3px solid var(--wl); border-radius: 12px; background: #fff; }
.wl-cards .h3 { margin: 8px 0 6px; }
.wl-cards p { margin: 0; color: var(--fg-2); }
.wl-n, .wl-chain-n { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: var(--wl); }
.section.surface .wl-cards li { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); border-top-color: var(--wl); }
.section.surface .wl-cards p { color: inherit; }

/* table */
.wl-table th[scope='row'] { font-weight: 700; }

/* engineering chain */
.wl-chain { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; counter-reset: wl; }
.wl-chain li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding-top: 14px; border-top: 2px solid var(--wl-line); }
.wl-chain .h3 { margin: 0 0 6px; }
.wl-chain p { margin: 0; color: var(--fg-2); }
@media (max-width: 900px) { .wl-chain { grid-template-columns: 1fr; } }

/* questions */
.wl-faq { margin-top: 24px; display: grid; gap: 8px; }
.wl-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: #fff; }
.wl-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.wl-faq summary::-webkit-details-marker { display: none; }
.wl-faq summary svg { width: 14px; height: 14px; flex: none; transition: transform var(--dur-2, 0.2s); }
.wl-faq details[open] summary svg { transform: rotate(180deg); }
.wl-faq details p { margin: 0 0 16px; color: var(--fg-2); }

/* related pages */
.wl-rel-h { margin: 36px 0 10px; }
.wl-related { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* applications list */
.wl-group + .wl-group { margin-top: 36px; }
.wl-gl { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.wl-appcards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.wl-appcards li { position: relative; padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--wl); border-radius: 12px; }
.wl-appcards .h3 { margin: 0 0 8px; }
.wl-appcards p { margin: 0; color: var(--fg-2); }
.wl-card-link { color: inherit; text-decoration: none; }
.wl-card-link::after { content: ''; position: absolute; inset: 0; }
.wl-go { position: absolute; right: 16px; top: 18px; width: 16px; height: 16px; color: var(--wl); }

/* home: three steps */
.wl-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wl-steps li { padding-top: 14px; border-top: 2px solid var(--wl-line); }
.wl-steps .h3 { margin: 6px 0; }
.wl-steps p { margin: 0; color: var(--fg-2); }
.wl-steps-link { margin: 24px 0 0; }
@media (max-width: 900px) { .wl-steps { grid-template-columns: 1fr; } }

/* photograph slot (only once an approved image exists) */
.wl-photo img { width: 100%; height: auto; border-radius: 12px; }
