/* The volunteer board has its own compact rhythm within the RenoMe theme. */
.volunteer-page { background: #fff; }
.volunteer-page main > section { padding-inline: var(--gutter); }
.volunteer-page .volunteer-intro { padding-top: 126px; padding-bottom: 36px; }
.volunteer-intro .breadcrumb { margin: 0 0 24px; font-size: 13px; }
.volunteer-page .volunteer-intro h1 { max-width: none; font-size: clamp(36px, 4vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
.volunteer-intro p { max-width: 760px; margin: 18px 0 10px; color: #4a5964; font-size: 17px; line-height: 1.65; }
.volunteer-jump { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #00595b; font-size: 14px; text-underline-offset: 4px; }
.volunteer-arrow { display: block; width: 1.125em; height: 1.125em; flex: none; }
.volunteer-open-roles { padding-bottom: 56px; scroll-margin-top: 110px; }
.volunteer-section-heading { display: flex; align-items: center; gap: 14px; }
.volunteer-page .volunteer-section-heading h2,
.volunteer-page .pathways-intro h2 { max-width: none; margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.opening-count { padding: 3px 10px; border-radius: 20px; background: #edf5f3; color: #315b54; font-size: 12px; font-weight: 600; }
.openings-context { margin: 10px 0 24px; color: #4a5964; font-size: 15px; }
.opening-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.opening-card { --program-color: #036c9f; --program-accent: #0284c7; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #dce4e2; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px #00252604; }
.opening-lead { --program-color: #ac3f27; --program-accent: #ff6645; }
.opening-future { --program-color: #7032cc; --program-accent: #7c3aed; }
.opening-program { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--program-color); font-size: 14px; font-weight: 600; }
.opening-program::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--program-accent); }
.volunteer-page .opening-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; }
.opening-summary { margin: 0 0 20px; color: #4a5964; font-size: 15px; line-height: 1.65; }
.opening-terms { padding: 0; margin: auto 0 24px; list-style: none; color: #42564f; font-size: 13px; line-height: 1.9; }
.opening-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #e7ecea; }
.role-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 17px; border: 1px solid #004145; border-radius: 7px; background: #004145; color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color 150ms; }
.role-button:hover { background: #002526; }
.role-apply-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #004145; font-family: var(--font-display); font-size: 15px; font-weight: 700; text-decoration: none; }
.role-apply-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.volunteer-page .volunteer-pathways { padding-top: 44px; padding-bottom: 56px; background: #f7f9f8; border-top: 1px solid #e6ebe8; scroll-margin-top: 90px; }
.pathways-intro p { max-width: 740px; margin: 14px 0 30px; color: #4a5964; font-size: 15px; }
.pathway-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; padding: 0; margin: 0; list-style: none; }
.pathway-list li { padding: 20px 0; border-top: 1px solid #dbe3de; }
.volunteer-page .pathway-list h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.pathway-list p { margin: 0; color: #4a5964; font-size: 14px; line-height: 1.6; }
.pathways-action { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.pathways-action p { margin: 0; color: #4a5964; font-size: 13px; }
.role-fallback { margin-top: 24px; border-top: 1px solid #dce4e2; padding-top: 20px; scroll-margin-top: 110px; }
.role-fallback summary { cursor: pointer; color: #004145; font-size: 15px; }
.role-fallback[hidden] { display: none; }
.role-fallback .role-copy { max-width: 760px; }
.role-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100dvh - 64px); margin: auto; padding: 0; border: 1px solid #dce4e2; border-radius: 16px; color: #002526; background: #fff; box-shadow: 0 24px 80px #00252633; overflow: hidden; }
.role-dialog[open] { display: flex; flex-direction: column; }
.role-dialog::backdrop { background: #00252699; }
.role-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; flex-shrink: 0; gap: 16px; padding: 24px 30px; border-bottom: 1px solid #e2e8e4; }
.dialog-program { margin: 0 0 6px; color: #49675c; font-size: 13px; font-weight: 600; }
.volunteer-page .role-dialog h2 { max-width: none; margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.role-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #dce4e2; border-radius: 50%; color: #004145; background: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.role-close:hover { background: #edf5f3; }
.role-dialog-content { padding: 24px 30px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-summary { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid #e2e8e4; color: #3e5d51; font-size: 17px; line-height: 1.6; }
.dialog-summary:empty { display: none; }
.volunteer-page .role-copy h3 { margin: 28px 0 10px; font-size: 20px; letter-spacing: -.015em; }
.volunteer-page .role-copy h3:first-child { margin-top: 0; }
.role-copy p, .role-copy ul { margin: 0 0 14px; color: #4a5964; font-size: 15px; line-height: 1.75; }
.role-copy ul { padding-left: 22px; }
.role-copy li { margin-bottom: 8px; padding-left: 4px; }
.role-facts { margin: 24px 0; padding: 18px 20px; border-radius: 8px; background: #f3f7f5; font-size: 14px; line-height: 1.65; }
.role-facts div + div { margin-top: 12px; }
.role-facts dt { color: #004145; font-weight: 700; }
.role-facts dd { margin: 3px 0 0; color: #4a5964; }
.role-dialog-footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 16px; padding: 18px 30px; border-top: 1px solid #e2e8e4; background: #fff; }
.role-dialog-footer > span { color: #4a5964; font-size: 13px; }
.role-dialog-active { overflow: hidden; }
@media (max-width: 980px) {
  .opening-grid { gap: 14px; }
  .opening-card { padding: 20px; }
  .volunteer-page .opening-card h3 { font-size: 23px; }
  .opening-terms { font-size: 12px; }
  .opening-actions .role-button { gap: 8px; padding-inline: 12px; font-size: 14px; white-space: nowrap; }
  .opening-actions .role-apply-link { gap: 6px; font-size: 14px; }
}
@media (max-width: 760px) {
  .volunteer-page .volunteer-intro { padding-top: 112px; padding-bottom: 28px; }
  .volunteer-intro .breadcrumb { margin-bottom: 20px; }
  .volunteer-intro p { font-size: 16px; }
  .opening-grid { grid-template-columns: 1fr; gap: 16px; }
  .opening-card { padding: 24px; }
  .opening-terms { font-size: 13px; }
  .opening-summary { margin-bottom: 16px; }
  .opening-terms { margin-bottom: 18px; }
  .opening-actions { padding-top: 16px; }
  .volunteer-open-roles { padding-bottom: 36px; }
  .pathway-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .pathways-action { align-items: flex-start; flex-direction: column; gap: 14px; }
  .role-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .role-dialog-header { padding: 20px; }
  .volunteer-page .role-dialog h2 { font-size: 24px; }
  .role-dialog-content { padding: 20px; }
  .role-dialog-footer { padding: 16px 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .role-dialog-footer > span { text-align: center; }
}
@media (max-width: 480px) {
  .pathway-list { grid-template-columns: 1fr; }
  .pathway-list li { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .role-button { transition: none; }
}
