﻿:root { --blue:#4f819f; --header:#234a73; --paper:#fffaf0; --panel:#f3efe6; --ink:#243b4a; --brown:#3a2f28; --border:#d8cdbb; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html, body { min-width:0; min-height:100%; margin:0; background:var(--blue); color:var(--ink); font-family:Arial,Helvetica,sans-serif; line-height:1.5; }
.opportunities-page { width:min(920px,calc(100% - 40px)); margin:0 auto; padding:0 0 32px; }
.opportunities-header { position:sticky; top:0; z-index:10; min-height:75px; margin:0 0 20px; display:flex; align-items:center; gap:16px; isolation:isolate; }
.opportunities-header::before, .opportunities-header::after { content:""; position:absolute; top:0; bottom:0; left:50%; width:100vw; z-index:0; pointer-events:none; transform:translateX(-50%); }
.opportunities-header::before { background-color:var(--header); background-image:url(/assets/gallery-header-brushes.png); background-position:center; background-size:cover; background-repeat:no-repeat; box-shadow:0 2px 0 #1e66d0; }
.opportunities-header::after { background:linear-gradient(90deg,transparent 0 10%,rgba(35,74,115,.12) 30%,rgba(35,74,115,.36) 46% 67%,rgba(35,74,115,.10) 86%,transparent 100%); }
.opportunities-header > * { position:relative; z-index:1; }
.home-button { width:48px; min-width:48px; height:38px; display:inline-grid; place-items:center; padding:0; border:1px solid var(--brown); border-radius:2px; background:rgba(255,250,240,.70); color:var(--brown); }
.home-button:hover, .home-button:focus-visible { border-color:#2f2721; background:rgba(255,250,240,.85); color:#2f2721; }
.home-button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; }
.opportunities-header h1 { position:relative; height:38px; min-width:0; margin:0; padding:6px 20px; overflow:hidden; border:1px solid var(--brown); border-radius:3px; background:#dbd6a8; color:var(--brown); font:700 1.08rem/1.35 Georgia,"Times New Roman",serif; text-overflow:ellipsis; white-space:nowrap; }
.board-introduction { margin:0 0 20px; text-align:center; }
.board-introduction h2 { margin:0; color:var(--paper); font:700 clamp(1.7rem,4vw,2.25rem)/1.2 Georgia,"Times New Roman",serif; }
.board-introduction p { margin:5px 0 0; color:rgba(255,250,240,.86); font-size:.95rem; }
.status { padding:24px; border:1px solid var(--border); border-radius:10px; background:var(--paper); text-align:center; }
.opportunities-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr)); gap:18px; align-items:stretch; }
.opportunity-card { min-width:0; display:flex; flex-direction:column; padding:20px; border:1px solid var(--border); border-radius:12px; background:var(--paper); box-shadow:0 10px 24px rgba(21,45,61,.16); }
.opportunity-card h2 { margin:0; font:700 1.15rem/1.25 Georgia,"Times New Roman",serif; overflow-wrap:anywhere; }
.story-author, .part-author { margin:5px 0 0; color:#416d86; font-size:.9rem; }
.opportunity-card h3 { margin:16px 0 0; font-size:.96rem; overflow-wrap:anywhere; }
.excerpt { display:-webkit-box; margin:12px 0 18px; overflow:hidden; color:#455b68; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.read-action { min-height:42px; margin-top:auto; display:inline-flex; align-items:center; justify-content:center; padding:9px 14px; border:1px solid var(--brown); border-radius:8px; background:rgba(255,250,240,.70); color:var(--brown); font-weight:700; text-decoration:none; }
.read-action:hover, .read-action:focus-visible { border-color:#2f2721; background:rgba(255,250,240,.85); color:#2f2721; }
.opportunity-story-group { min-height:260px; display:grid; grid-template-columns:82px minmax(0,1fr); gap:14px; align-items:start; border-color:#b79d77; background:#fff8e9; color:var(--ink); text-align:left; }
button.opportunity-story-group { width:100%; appearance:none; font:inherit; cursor:pointer; }
.opportunity-story-group.is-interactive { box-shadow:5px 5px 0 #f2e6d4, 5px 5px 0 1px #d8cdbb, 10px 10px 0 #dec8aa, 10px 10px 0 1px #c9ab82, 0 10px 24px rgba(21,45,61,.16); }
.opportunity-story-group.is-interactive:hover, .opportunity-story-group.is-interactive:focus-visible { border-color:#9e8e77; }
.opportunity-story-group-cover { min-width:0; width:82px; align-self:center; }
.opportunity-story-group-cover.is-empty { height:116px; border:1px dashed var(--border); border-radius:3px; background:var(--panel); }
.opportunity-story-group-copy { min-width:0; display:flex; flex-direction:column; height:100%; }
.opportunity-story-group-label { display:block; align-self:flex-end; margin:0 0 6px 0 auto; padding:2px 6px; border:1px solid #cdb58f; border-radius:999px; background:#f2e6d4; color:#6b5435; font-size:.67rem; font-weight:700; letter-spacing:.08em; line-height:1.2; text-transform:uppercase; }
.opportunity-card .opportunity-story-group-title { margin:0; }
.opportunity-story-group-author { margin:5px 0 0; color:#416d86; font-size:.9rem; }
.opportunity-story-group-description { display:-webkit-box; margin:12px 0; overflow:hidden; color:#455b68; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.opportunity-story-group-count { margin-top:auto; font-size:.95rem; font-weight:700; }
.board-back-button { margin:0 0 18px; padding:8px 0; border:0; background:transparent; color:var(--paper); font:700 .95rem/1.4 Arial,Helvetica,sans-serif; cursor:pointer; }
.board-back-button:hover, .board-back-button:focus-visible { color:#fff; text-decoration:underline; }
@media (max-width:700px) {
  .opportunities-page { width:100%; padding:0 10px 24px; }
  .opportunities-header { min-height:75px; margin-bottom:10px; gap:12px; }
  .home-button { width:42px; min-width:42px; height:34px; }
  .opportunities-header h1 { font-size:.95rem; }
  .opportunities-header::before { background-position:center; background-size:cover; }
  .opportunities-grid { grid-template-columns:1fr; gap:12px; }
  .opportunity-story-group { grid-template-columns:72px minmax(0,1fr); gap:12px; min-height:230px; }
  .opportunity-story-group-cover { width:72px; }
  .board-back-button { margin-bottom:12px; }
}

