/* SKF Opportunities — public listing grid */

.skf-opportunities {
  display: grid;
  gap: 18px;
  margin: 8px 0 0;
}

.skf-opportunities--row-1 { grid-template-columns: 1fr; }
.skf-opportunities--row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skf-opportunities--row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.skf-opportunities--row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skf-opportunities--empty {
  display: block;
  padding: 26px 8px 10px;
}

.skf-opp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--skf-border, #dfe8e1);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 30px rgba(10, 61, 46, .06);
}

.skf-opp.is-closed { opacity: .78; }

.skf-opp__title {
  margin: 0;
  font-family: var(--skf-font-head, Georgia, serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--skf-ink, #16352a);
}

a.skf-opp__title-link { text-decoration: none; }
a.skf-opp__title-link:hover .skf-opp__title,
a.skf-opp__title-link:focus .skf-opp__title { color: var(--skf-cta-green, #007a44); }

.skf-opp__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skf-opp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef9f2;
  color: #007a44;
}

.skf-opp-badge--paid { background: #fff4ec; color: #c84f00; }
.skf-opp-badge--virtual { background: #eaf7f6; color: #0f7c74; }
.skf-opp-badge--onsite { background: #fbf7ea; color: #a07a08; }

.skf-opp__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--skf-ink-soft, #4a5a50);
}

.skf-opp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--skf-ink-soft, #4a5a50);
}

.skf-opp-meta__sep { color: #b7c7bd; }

.skf-opp__footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skf-opp__footer .btn { text-decoration: none; }

.skf-opp__closed-label {
  font-size: 13px;
  font-weight: 600;
  color: #a84200;
}

@media (max-width: 900px) {
  .skf-opportunities--row-3,
  .skf-opportunities--row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .skf-opportunities--row-2,
  .skf-opportunities--row-3,
  .skf-opportunities--row-4 { grid-template-columns: 1fr; }
}

/* ---- single role page template ---- */

/* Boxed section layout for role pages:
   deep-green title bar on a lighter card with a layered 3D shadow. */
.skf-role { max-width: 100%; }

.skf-role__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.skf-role-box {
  background: #fbfdf9;
  border: 1px solid #d8e6da;
  border-radius: 18px;
  margin: 0 0 26px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(10, 61, 46, .05),
    0 6px 14px -6px rgba(10, 61, 46, .12),
    0 22px 40px -24px rgba(10, 61, 46, .25);
}

.skf-role-box__bar {
  background: linear-gradient(180deg, #0d4a37 0%, #0a3d2e 100%);
  color: #fff;
  padding: 16px 26px;
}

.skf-role-box__bar h2,
.skf-role-box__bar h3 {
  margin: 0;
  color: #fff;
  font-family: var(--skf-font-head, Georgia, serif);
  font-weight: 600;
  letter-spacing: .01em;
}

.skf-role-box__bar h2 { font-size: 26px; }
.skf-role-box__bar h3 { font-size: 21px; }

.skf-role-box__body {
  padding: 22px 26px 26px;
  background: #f4f8f3;
  color: var(--skf-ink, #16352a);
  font-size: 16px;
  line-height: 1.8;
}

.skf-role-box__body > :first-child { margin-top: 0; }
.skf-role-box__body > :last-child { margin-bottom: 0; }

.skf-role-box__body p { font-size: 16px; line-height: 1.8; color: var(--skf-ink, #16352a); }
.skf-role-box__body ul,
.skf-role-box__body ol { margin: 12px 0 14px; padding-left: 22px; }
.skf-role-box__body li { margin-bottom: 8px; }
.skf-role-box__body a { color: var(--skf-cta-green, #007a44); }
.skf-role-box__apply { font-weight: 700; text-decoration: underline; }

/* The two shared intro boxes read lighter than role sections. */
.skf-role-box--about .skf-role-box__body,
.skf-role-box--vision .skf-role-box__body {
  background: #eef7ef;
}

/* Footer CTA band — deep green with the volunteering quote + buttons. */
.skf-role-cta--footer {
  position: relative;
  margin: 40px 0 6px;
  padding: 44px 34px 40px;
  border-radius: 22px;
  background: linear-gradient(150deg, #0d4a37 0%, #0a3d2e 55%, #062b21 100%);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(246, 201, 69, .28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 26px 60px -28px rgba(10, 61, 46, .55);
  overflow: hidden;
}

.skf-role-cta--footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #f6c945, #ffb27a, #f6c945);
}

.skf-role-cta__quote {
  margin: 0 auto 28px;
  max-width: 860px;
  position: relative;
}

.skf-role-cta__text {
  margin: 0;
  font-family: var(--skf-font-head, Georgia, serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.6;
  color: #fff;
}

.skf-role-cta__author {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--skf-gold, #f6c945);
}

.skf-role-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.skf-role-cta__btn { text-decoration: none; font-size: 17px; padding: 13px 34px; }
.skf-role-cta__btn.btn--outline { border: 2px solid rgba(255, 255, 255, .85); }
.skf-role-cta__btn.btn--outline:hover,
.skf-role-cta__btn.btn--outline:focus { background: #fff; color: #0a3d2e; }
