/* ================================================================
   OPPORTUNITIES — card grid listing
   Matches the site's established brand: Playfair Display headings,
   Inter body/UI, navy #0a2357 / royal blue #124b98 / gold #fd9f01.
================================================================ */

.ll-opp-page{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px 80px;
}

/* ── Hero — true full browser width via viewport breakout, since
   .ll-opp-page itself is capped at 1180px and a simple negative
   margin can't escape an ancestor's max-width. ── */
.ll-opp-hero{
  background:linear-gradient(135deg,#0a2357 0%,#124b98 100%);
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  margin-bottom:36px;
  padding:52px 24px 44px;
  text-align:center;
}
.ll-opp-hero-inner{max-width:640px;margin:0 auto;}
.ll-opp-hero h1{
  font-family:'Playfair Display',serif;
  font-weight:700;
  color:#fff !important;
  font-size:clamp(28px,4vw,40px);
  margin:0 0 12px;
}
.ll-opp-hero p{
  font-family:'Inter',sans-serif;
  color:#c3d3f0;
  font-size:15.5px;
  max-width:560px;
  margin:0 auto;
  line-height:1.7;
}

/* ── Status filter tabs ── */
.ll-opp-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:0 0 34px;
}
.ll-opp-filter-btn{
  font-family:'Inter',sans-serif;
  font-size:13px;
  font-weight:700;
  color:#124b98;
  background:#edf1fb;
  border:1px solid #dbe4f7;
  border-radius:20px;
  padding:9px 20px;
  cursor:pointer;
  transition:background .15s,color .15s;
}
.ll-opp-filter-btn:hover{background:#dbe4f7;}
.ll-opp-filter-btn.active{background:#124b98;color:#fff;border-color:#124b98;}

.ll-opp-empty{
  text-align:center;
  font-family:'Inter',sans-serif;
  color:#777;
  font-size:15px;
  padding:60px 20px;
}

/* ── List (horizontal rows, not a grid) ── */
.ll-opp-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* ── Row card ── */
.ll-opp-row{
  display:flex;
  align-items:flex-start;
  gap:20px;
  background:#fff;
  border:1px solid #e9edf6;
  border-radius:14px;
  padding:22px 24px;
  box-shadow:0 2px 10px rgba(18,75,152,.05);
  transition:box-shadow .2s,transform .2s;
}
.ll-opp-row:hover{
  box-shadow:0 14px 34px rgba(18,75,152,.11);
  transform:translateY(-2px);
}

.ll-opp-row-icon{
  flex-shrink:0;
  width:52px;
  height:52px;
  border-radius:12px;
  background:linear-gradient(135deg,#124b98,#0a2357);
  color:#fd9f01;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ll-opp-row-body{flex:1 1 auto;min-width:0;}

.ll-opp-row-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:4px;
}

.ll-opp-status{
  flex-shrink:0;
  font-family:'Inter',sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.03em;
  border-radius:20px;
  padding:5px 13px;
  white-space:nowrap;
}
.ll-opp-status-open{background:#e6f6ea;color:#1e7e34;}
.ll-opp-status-soon{background:#fff3e0;color:#b8720a;}
.ll-opp-status-closed{background:#f1f1f4;color:#777;}

.ll-opp-title{
  font-family:'Playfair Display',serif;
  font-weight:700;
  color:#0a2357;
  font-size:18px;
  line-height:1.3;
  margin:0;
}
.ll-opp-title a{color:inherit;text-decoration:none;}
.ll-opp-title a:hover{color:#124b98;text-decoration:underline;}

.ll-opp-org{
  font-family:'Inter',sans-serif;
  font-size:13px;
  font-weight:600;
  color:#124b98;
  margin-bottom:8px;
}

.ll-opp-desc{
  font-family:'Inter',sans-serif;
  font-size:13.5px;
  color:#555;
  line-height:1.6;
  margin:0 0 14px;
}

.ll-opp-row-footer{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 20px;
}

.ll-opp-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
}
.ll-opp-meta-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:'Inter',sans-serif;
  font-size:12.5px;
  color:#555;
}
.ll-opp-meta-item svg{flex-shrink:0;color:#124b98;}

/* Closing date — shown prominently, distinct from the other meta
   items, in the site's gold accent colour. */
.ll-opp-meta-deadline{
  font-weight:700;
  color:#a35c00;
  background:#fff3e0;
  border-radius:6px;
  padding:4px 10px;
}
.ll-opp-meta-deadline svg{color:#fd9f01;}

/* ── Actions ── */
.ll-opp-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.ll-opp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:'Inter',sans-serif;
  font-size:12.5px;
  font-weight:700;
  border-radius:8px;
  padding:10px 16px;
  text-decoration:none;
  cursor:pointer;
  border:none;
  transition:background .15s,color .15s;
  white-space:nowrap;
}
.ll-opp-btn-primary{background:#124b98;color:#fff!important;}
.ll-opp-btn-primary:hover{background:#0a2357;color:#fff;text-decoration:none;}
.ll-opp-btn-outline{background:#fff;color:#124b98;border:1.5px solid #d9e2f5;}
.ll-opp-btn-outline:hover{background:#edf1fb;color:#124b98;text-decoration:none;}

.ll-opp-btn-primary:hover,
.ll-opp-btn-primary:focus,
.ll-opp-btn-primary:active {
    color: #fd9f01 !important;
}
.ll-opp-btn-ghost{background:#f7f9fd;color:#555;}
.ll-opp-btn-ghost:hover{background:#edf1fb;color:#124b98;}

/* ── Share popover ── */
.ll-opp-share{position:relative;}
.ll-opp-share-panel{
  display:none;
  position:absolute;
  bottom:calc(100% + 8px);
  right:0;
  min-width:170px;
  background:#fff;
  border:1px solid #e0e6f2;
  border-radius:10px;
  box-shadow:0 10px 28px rgba(18,75,152,.16);
  padding:6px;
  z-index:40;
}
.ll-opp-share-panel.open{display:flex;flex-direction:column;}
.ll-opp-share-panel a,
.ll-opp-share-panel button{
  display:block;
  width:100%;
  text-align:left;
  font-family:'Inter',sans-serif;
  font-size:12.5px;
  font-weight:600;
  color:#333;
  background:none;
  border:none;
  border-radius:6px;
  padding:8px 10px;
  cursor:pointer;
  text-decoration:none;
}
.ll-opp-share-panel a:hover,
.ll-opp-share-panel button:hover{background:#edf1fb;color:#124b98;}
.ll-opp-share-copy{border-top:1px solid #eef1f8!important;margin-top:2px;padding-top:10px!important;}

@media(max-width:700px){
  .ll-opp-row{flex-direction:column;gap:14px;}
  .ll-opp-row-top{flex-direction:column;align-items:flex-start;gap:8px;}
  .ll-opp-status{align-self:flex-start;}
  .ll-opp-row-footer{flex-direction:column;align-items:stretch;gap:14px;}
  .ll-opp-meta{gap:8px 12px;}
  .ll-opp-actions{width:100%;}
  .ll-opp-actions .ll-opp-btn-primary{flex:1 1 100%;text-align:center;}
}
@media(max-width:480px){
  .ll-opp-page{padding:0 16px 60px;}
  .ll-opp-hero{padding:40px 20px 34px;}
  .ll-opp-row{padding:18px 18px;}
  .ll-opp-actions{flex-direction:column;align-items:stretch;}
  .ll-opp-actions .ll-opp-btn{width:100%;justify-content:center;}
}

/* ── Opportunity article detail page ── */
.ll-opp-detail{max-width:760px;padding-top:24px;}
.ll-opp-detail-head{
  background:#f7f9fd;
  border:1px solid #e9edf6;
  border-radius:14px;
  padding:28px 28px 24px;
  margin:20px 0 32px;
}
.ll-opp-detail-head h1{
  font-family:'Playfair Display',serif;
  font-weight:700;
  color:#0a2357;
  font-size:clamp(24px,3.4vw,32px);
  line-height:1.25;
  margin:12px 0 18px;
}

/* Facts list — Organization / Location / Type / Deadline, each its
   own line with a bold label, matching the requested article flow. */
.ll-opp-facts{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ll-opp-facts li{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:'Inter',sans-serif;
  font-size:14.5px;
  color:#333;
}
.ll-opp-facts li svg{flex-shrink:0;color:#124b98;}
.ll-opp-facts li strong{color:#0a2357;font-weight:700;}
.ll-opp-facts li.ll-opp-fact-deadline{
  font-weight:700;
  color:#a35c00;
  background:#fff3e0;
  border-radius:8px;
  padding:8px 12px;
  width:fit-content;
}
.ll-opp-facts li.ll-opp-fact-deadline svg{color:#fd9f01;}
.ll-opp-facts li.ll-opp-fact-deadline strong{color:#a35c00;}

.ll-opp-detail-body{font-family:'Inter',sans-serif;}
.ll-opp-detail-section{margin-bottom:32px;color:#333;font-size:15.5px;line-height:1.8;}
.ll-opp-detail-section p{margin:0 0 16px;}
.ll-opp-detail-section img{max-width:100%;height:auto;border-radius:8px;margin:8px 0;}
.ll-opp-detail-section h2{
  font-family:'Playfair Display',serif;
  font-weight:700;
  color:#124b98;
  font-size:19px;
  margin:0 0 12px;
  padding-bottom:8px;
  border-bottom:2px solid #fd9f01;
  display:inline-block;
}

/* Download link — plain icon + text link, sitting quietly above the
   final action row rather than its own separate boxed CTA. */
.ll-opp-download-link{margin:0 0 28px;}
.ll-opp-download-link a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Inter',sans-serif;
  font-weight:700;
  font-size:14.5px;
  color:#124b98;
  text-decoration:none!important;
}
.ll-opp-download-link a:hover{color:#fd9f01;text-decoration:underline!important;}
.ll-opp-download-link svg{flex-shrink:0;}

/* Bottom action row — Share on the left, Apply Now as the final,
   most prominent action on the right. */
.ll-opp-detail-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  padding-top:20px;
  border-top:1px solid #eef1f8;
}
.ll-opp-apply-btn{padding:13px 28px;font-size:14px;}

@media(max-width:600px){
  .ll-opp-detail-head{padding:22px 18px 20px;}
  .ll-opp-detail-footer{flex-direction:column-reverse;align-items:stretch;}
  .ll-opp-apply-btn{justify-content:center;}
  .ll-opp-detail-footer .ll-opp-share{align-self:stretch;}
  .ll-opp-detail-footer .ll-opp-share-btn{width:100%;justify-content:center;}
}

