.rw-volunteering__filters{margin-bottom:24px}.rw-volunteering__field{display:grid;gap:6px}.rw-volunteering__field label{font-size:.875rem;font-weight:600;color:var(--rw-ink)}.rw-volunteering__filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rw-volunteering__status{min-height:24px;margin-bottom:12px;color:var(--rw-muted)}.rw-volunteering__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rw-volunteering-card{display:flex;flex-direction:column;min-height:0;padding:18px}.rw-volunteering-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.rw-volunteering-card__tag{border-radius:999px;background:#eff6ff;color:#175cd3;padding:4px 10px;font-size:.8125rem;font-weight:600}.rw-volunteering-card h2{font-size:1.125rem;margin:0 0 6px}.rw-volunteering-card p{color:var(--rw-muted)}.rw-volunteering-card__actions{display:flex;gap:8px;margin-top:auto;padding-top:14px}.rw-volunteering__empty{grid-column:1/-1;padding:48px 24px;text-align:center}.rw-volunteering__pagination{display:flex;justify-content:center;gap:8px;margin-top:24px}.rw-volunteering-drawer{position:fixed;z-index:1060;top:0;right:0;width:80vw;max-width:none;min-width:560px;height:100dvh;background:#fff;box-shadow:-16px 0 40px rgb(16 24 40 / 18%);overflow:auto}.rw-volunteering-drawer__header{position:sticky;top:0;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:#fff;border-bottom:1px solid var(--rw-border);padding:20px 24px;z-index:1}.rw-volunteering-drawer__header h2{margin:2px 0 0}.rw-volunteering-drawer__close{width:44px;height:44px;flex-shrink:0;border:0;border-radius:8px;background:transparent;font-size:1.8rem}.rw-volunteering-drawer__body{padding:24px}.rw-volunteering-scrim{position:fixed;z-index:1059;inset:0;border:0;background:rgb(16 24 40 / 55%)}body.rw-volunteering-open{overflow:hidden}
@media(max-width:1100px){.rw-volunteering__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.rw-volunteering__grid{grid-template-columns:1fr}.rw-volunteering-drawer{width:100%;max-width:none;min-width:0}.rw-volunteering-card{min-height:0}}
.rw-volunteering__my-action{margin:0;align-self:center;text-align:right}.rw-volunteering-drawer .rw-job-detail__hero,.rw-volunteering .rw-job-detail__hero{padding:0 0 20px;border-bottom:1px solid var(--rw-border)}.rw-volunteering-drawer .rw-job-detail__hero>p,.rw-volunteering .rw-job-detail__hero>p{font-size:1.05rem;color:var(--rw-muted)}.rw-volunteering-drawer .rw-job-detail__location,.rw-volunteering .rw-job-detail__location{display:flex;gap:24px;flex-wrap:wrap;margin:20px 0;color:var(--rw-ink)}.rw-volunteering-drawer .rw-job-detail__content-card,.rw-volunteering .rw-job-detail__content-card{margin-top:20px;padding:20px;border:1px solid var(--rw-border);border-radius:14px;background:#fff}@media(max-width:680px){.rw-volunteering__my-action{width:100%;align-self:stretch;text-align:left}.rw-volunteering__my-action .btn{width:100%}.rw-volunteering-drawer .rw-job-detail__location,.rw-volunteering .rw-job-detail__location{flex-direction:column;align-items:flex-start;gap:8px}.rw-volunteering-drawer .rw-job-detail__actions,.rw-volunteering .rw-job-detail__actions{flex-direction:column!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:stretch;gap:8px}.rw-volunteering-drawer .rw-job-detail__actions>.rw-btn,.rw-volunteering .rw-job-detail__actions>.rw-btn{width:100%}}

/* My Volunteering workspace */
.rw-member-enabled .rw-volunteer-hub {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding: 20px 24px 48px;
}

/* Keep volunteering discovery aligned with the Jobs listing experience. */
.rw-volunteering.rw-job-search-page{color:#17233c}
.rw-volunteering.rw-job-search-page .rw-job-search-page__container{max-width:1320px}
.rw-volunteering.rw-job-search-page .rw-job-search-panel,
.rw-volunteering.rw-job-search-page .rw-volunteering__sidebar,
.rw-volunteering.rw-job-search-page .rw-job-search-results{border:1px solid #dbe4f0;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(22,42,76,.06)}
.rw-volunteering.rw-job-search-page .rw-job-search-panel{padding:22px}
.rw-volunteering.rw-job-search-page .rw-job-search-form label,
.rw-volunteering.rw-job-search-page .rw-volunteering__sidebar h2{color:#40516c;font-size:.83rem;font-weight:700}
.rw-volunteering.rw-job-search-page .rw-job-search-form .form-control,
.rw-volunteering.rw-job-search-page .rw-job-search-form .form-select{min-height:44px;border:1px solid #a9b9d2;border-radius:8px}
.rw-volunteering.rw-job-search-page .rw-job-search-form .btn{min-height:44px;border-radius:8px;font-weight:700}
.rw-volunteering.rw-job-search-page .rw-volunteering__sidebar{padding:18px;background:#fff}
.rw-volunteering.rw-job-search-page .rw-job-search-results{padding:8px;background:#f8fafc}
.rw-volunteering.rw-job-search-page .rw-job-search-results__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 12px}
.rw-volunteering.rw-job-search-page .rw-job-search-results__header p{margin:0;color:#10264a;font-weight:700}
.rw-volunteering.rw-job-search-page .rw-volunteering__grid{display:grid;grid-template-columns:1fr;gap:12px}
.rw-volunteering.rw-job-search-page .rw-volunteering-card{margin-bottom:0;padding:18px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(22,42,76,.04)}
.rw-volunteering.rw-job-search-page .rw-volunteering-card h2{color:#0759cf;font-weight:700;line-height:1.25}
.rw-volunteering.rw-job-search-page .rw-volunteering-card p{color:#40516c;line-height:1.55}
.rw-volunteering.rw-job-search-page .rw-volunteering__advanced-panel{margin-top:16px}
.rw-volunteering.rw-job-search-page .rw-volunteering__advanced-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media (max-width:991.98px){.rw-volunteering.rw-job-search-page .rw-job-search-panel{padding:16px}.rw-volunteering.rw-job-search-page .rw-job-search-results__header{align-items:flex-start;flex-direction:column}}

.rw-volunteering-questions{display:grid;gap:12px;margin-top:16px;padding:16px;border:1px solid var(--rw-border);border-radius:12px;background:#fff}.rw-volunteering-question{display:grid;gap:8px;margin:0;padding:0;border:0}.rw-volunteering-question legend{font-weight:600;font-size:.875rem}.rw-volunteering-question input[type=text],.rw-volunteering-question textarea,.rw-volunteering-question select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #9aa9bc;border-radius:8px;background:#fff}.rw-volunteering-question__choice{display:flex;align-items:center;gap:8px;min-height:44px}.rw-volunteering-question__choice input{width:20px;height:20px}

.rw-member-enabled .rw-volunteer-hub__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 22px;
    padding: 0 !important;
}

.rw-member-enabled .rw-volunteer-hub__header h1 {
    margin: 2px 0 6px;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    letter-spacing: -.025em;
}

.rw-member-enabled .rw-volunteer-hub__header p {
    margin: 0;
}

.rw-member-enabled .rw-volunteer-hub__browse {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 18px;
    border-radius: 9px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(7, 89, 207, .16);
}

.rw-member-enabled .rw-volunteer-hub__tabs {
    margin: 0 0 14px;
}

.rw-member-enabled .rw-volunteer-hub__tabs .rw-my-jobs-tabs__list {
    gap: 24px;
}

.rw-member-enabled .rw-volunteer-hub__workspace {
    grid-template-columns: minmax(310px, 380px) minmax(0, 1fr);
    gap: 18px;
}

.rw-member-enabled .rw-volunteer-hub__results {
    background: #f6f9fd;
}

.rw-member-enabled .rw-volunteer-hub__sort {
    color: var(--rw-muted);
    font-size: .8125rem;
    font-weight: 650;
    white-space: nowrap;
}

.rw-member-enabled .rw-volunteer-hub__results .rw-my-jobs-results__list {
    max-height: 720px;
}

.rw-member-enabled .rw-volunteer-activity-card {
    display: flex;
    width: 100%;
    min-height: 154px;
    flex-direction: column;
    gap: 9px;
    padding: 15px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    font: inherit;
    text-align: left;
    box-shadow: 0 2px 8px rgba(23, 35, 60, .035);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.rw-member-enabled .rw-volunteer-activity-card:hover {
    border-color: #9dbff2;
    box-shadow: 0 7px 18px rgba(23, 105, 232, .1);
    transform: translateY(-1px);
}

.rw-member-enabled .rw-volunteer-activity-card:focus-visible {
    outline: 3px solid rgba(23, 105, 232, .22);
    outline-offset: 2px;
}

.rw-member-enabled .rw-volunteer-activity-card[aria-selected="true"] {
    border-color: #1769e8;
    background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
    box-shadow: 0 0 0 2px rgba(23, 105, 232, .09), 0 8px 20px rgba(23, 105, 232, .11);
}

.rw-member-enabled .rw-volunteer-activity-card[aria-selected="true"]::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    margin: 0;
    border-radius: 12px 0 0 12px;
    background: #1769e8;
    content: "";
}

.rw-member-enabled .rw-volunteer-activity-card {
    position: relative;
}

.rw-member-enabled .rw-volunteer-activity-card .rw-job-card__heading {
    width: 100%;
    align-items: flex-start;
}

.rw-member-enabled .rw-volunteer-activity-card .rw-job-card__title {
    max-width: 68%;
    font-size: .96rem;
    line-height: 1.35;
}

.rw-member-enabled .rw-volunteer-activity-card__organization {
    overflow: hidden;
    color: #344054;
    font-size: .82rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rw-member-enabled .rw-volunteer-hub__meta {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.rw-member-enabled .rw-volunteer-hub__meta .rw-my-jobs-ui-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.rw-member-enabled .rw-volunteer-activity-card .rw-job-card__location {
    width: 100%;
    color: #52627a;
}

.rw-member-enabled .rw-volunteer-status {
    display: inline-flex;
    min-height: 26px;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 800;
    white-space: nowrap;
}

.rw-member-enabled .rw-volunteer-status .rw-my-jobs-ui-icon {
    width: 13px;
    height: 13px;
}

.rw-member-enabled .rw-volunteer-status--primary { background: #eaf2ff; color: #0759cf; }
.rw-member-enabled .rw-volunteer-status--success { background: #e8f8ef; color: #167348; }
.rw-member-enabled .rw-volunteer-status--attention { background: #fff4d6; color: #8a5a00; }
.rw-member-enabled .rw-volunteer-status--neutral { background: #f0f2f5; color: #52627a; }

.rw-member-enabled .rw-volunteer-hub__detail {
    min-width: 0;
}

.rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__hero,
.rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__content-card {
    margin: 0 0 14px;
    padding: 20px;
    border: 1px solid #d9e3f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(23, 35, 60, .055);
}

.rw-member-enabled .rw-volunteer-detail__heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.rw-member-enabled .rw-volunteer-detail__heading {
    min-width: 0;
}

.rw-member-enabled .rw-volunteer-detail__organization {
    margin: 0 0 5px;
    color: #52627a;
    font-size: .8125rem;
    font-weight: 700;
}

.rw-member-enabled .rw-volunteer-detail__heading .rw-job-detail__title {
    margin: 0;
    font-size: 1.22rem !important;
    line-height: 1.3;
}

.rw-member-enabled .rw-volunteer-detail__utilities {
    flex-wrap: wrap !important;
}

.rw-member-enabled .rw-volunteer-detail__utility {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #344054;
    font: inherit;
    font-size: .8125rem;
    font-weight: 700;
}

.rw-member-enabled .rw-volunteer-detail__utility:hover,
.rw-member-enabled .rw-volunteer-detail__utility:focus-visible {
    background: #f0f5fc;
    color: #0759cf;
}

.rw-member-enabled .rw-volunteer-detail__metadata {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px !important;
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
}

.rw-member-enabled .rw-volunteer-detail__metadata .rw-volunteer-hub__meta {
    color: #475467;
    font-size: .8125rem;
}

.rw-member-enabled .rw-volunteer-detail__actions {
    justify-content: flex-start;
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
}

.rw-member-enabled .rw-volunteer-detail__actions .btn {
    min-width: 154px;
    text-decoration: none;
}

.rw-member-enabled .rw-volunteer-detail__actions .btn:disabled {
    border-color: #1769e8;
    background: #fff;
    color: #0759cf;
    opacity: 1;
}

.rw-member-enabled .rw-volunteer-detail__content .rw-job-detail__section-nav {
    margin-top: -4px;
}

.rw-member-enabled .rw-volunteer-detail__copy {
    color: #475467;
    font-size: .86rem;
    line-height: 1.7;
    white-space: pre-line;
}

.rw-member-enabled .rw-volunteer-detail__skills-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rw-member-enabled .rw-volunteer-detail__skills-panel p {
    margin: 0;
}

.rw-member-enabled .rw-volunteer-hub__skeleton {
    min-height: 150px;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    background: linear-gradient(100deg, #fff 20%, #f0f4f9 50%, #fff 80%);
    background-size: 250% 100%;
    animation: rw-volunteer-shimmer 1.5s infinite;
}

.rw-member-enabled .rw-volunteer-hub__detail-loading {
    display: grid;
    min-height: 300px;
    place-items: center;
    border: 1px solid #d9e3f0;
    border-radius: 14px;
    background: #fff;
    color: #52627a;
    font-weight: 700;
}

.rw-member-enabled .rw-volunteer-hub__list-empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--rw-muted);
    text-align: center;
}

.rw-member-enabled .rw-volunteer-hub__list-empty .rw-my-jobs-ui-icon {
    width: 26px;
    height: 26px;
    color: #8ca1bd;
}

.rw-member-enabled .rw-volunteer-hub__empty {
    min-height: 360px;
    margin: 0;
    padding: 32px;
    border: 1px solid #d9e3f0;
    border-radius: 14px;
    background: #fff;
}

.rw-member-enabled .rw-volunteer-hub__empty h2 {
    margin: 2px 0 0;
    color: #10264a;
    font-size: 1.15rem;
}

.rw-member-enabled .rw-volunteer-hub__empty p {
    max-width: 440px;
    color: #52627a;
}

.rw-member-enabled .rw-volunteer-hub__empty-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 14px;
    background: #edf4ff;
    color: #0759cf;
}

.rw-member-enabled .rw-volunteer-hub__empty-icon .rw-my-jobs-ui-icon {
    width: 25px;
    height: 25px;
    color: inherit;
}

@keyframes rw-volunteer-shimmer {
    to { background-position-x: -250%; }
}

@media (prefers-reduced-motion: reduce) {
    .rw-member-enabled .rw-volunteer-hub__skeleton { animation: none; }
    .rw-member-enabled .rw-volunteer-activity-card { transition: none; }
}

@media (max-width: 991.98px) {
    .rw-member-enabled .rw-volunteer-hub__workspace { grid-template-columns: 1fr; }
    .rw-member-enabled .rw-volunteer-hub__results .rw-my-jobs-results__list { max-height: 480px; }
}

@media (max-width: 767.98px) {
    .rw-member-enabled .rw-volunteer-hub { padding: 16px 14px 96px !important; }
    .rw-member-enabled .rw-volunteer-hub__header { align-items: stretch; flex-direction: column; gap: 16px; }
    .rw-member-enabled .rw-volunteer-hub__browse { width: 100%; }
    .rw-member-enabled .rw-volunteer-detail__heading-row { flex-direction: column; gap: 12px; }
    .rw-member-enabled .rw-volunteer-detail__utilities { width: 100%; justify-content: space-between !important; }
    .rw-member-enabled .rw-volunteer-detail__metadata { align-items: flex-start; flex-direction: column; }
    .rw-member-enabled .rw-volunteer-detail__actions { align-items: stretch; flex-direction: column; }
    .rw-member-enabled .rw-volunteer-detail__actions .btn { width: 100%; }
    .rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__hero,
    .rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__content-card { padding: 16px; }
}

/* Compact-density overrides for this route stylesheet, which loads after the
   shared member shell. */
.rw-volunteering__filters { margin-bottom: 14px; }
.rw-volunteering__grid { gap: 12px; }
.rw-volunteering-card { min-height: 196px; padding: 12px; }
.rw-volunteering-card__meta { margin-bottom: 8px; }
.rw-volunteering-card h2 { font-size: var(--ts-h3, 1.0625rem); }   /* G42: a card title, bigger than the card text (was 15.3px) */
.rw-volunteering-card__actions { padding-top: 11px; }
.rw-volunteering__empty { padding: 29px 14px; }
.rw-volunteering__pagination { margin-top: 14px; flex-wrap: wrap; }
.rw-volunteering-drawer__header { gap: 10px; padding: 12px 14px; }
.rw-volunteering-drawer__body { padding: 14px; }
.rw-volunteering-drawer .rw-job-detail__hero,
.rw-volunteering .rw-job-detail__hero { padding-bottom: 12px; }
.rw-volunteering-drawer .rw-job-detail__location,
.rw-volunteering .rw-job-detail__location { gap: 14px; margin-block: 12px; }
.rw-volunteering-drawer .rw-job-detail__content-card,
.rw-volunteering .rw-job-detail__content-card { margin-top: 12px; padding: 12px; }

.rw-member-enabled .rw-volunteer-hub__header { gap: 16px; margin-bottom: var(--rw-page-space); }
.rw-member-enabled .rw-volunteer-hub__header h1 {
    font-size: var(--ts-h1, 1.75rem);
}
.rw-member-enabled .rw-volunteer-hub__tabs .rw-my-jobs-tabs__list { gap: 16px; }
.rw-member-enabled .rw-volunteer-hub__workspace { gap: 16px; }
.rw-member-enabled .rw-volunteer-activity-card { min-height: 108px; gap: 8px; padding: 12px; }
.rw-member-enabled .rw-volunteer-activity-card .rw-job-card__title { font-size: var(--ts-h3, 1.0625rem); }
.rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__hero,
.rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__content-card {
    margin-bottom: 12px;
    padding: 16px;
}
.rw-member-enabled .rw-volunteer-detail__heading-row { gap: 12px; }
.rw-member-enabled .rw-volunteer-detail__heading .rw-job-detail__title {
    font-size: var(--ts-h2, 1.25rem) !important;
}
.rw-member-enabled .rw-volunteer-detail__metadata { gap: 8px 16px; margin-top: 12px !important; }
.rw-member-enabled .rw-volunteer-detail__actions { margin-top: 12px !important; }
.rw-member-enabled .rw-volunteer-hub__empty { min-height: 216px; padding: 20px; }
.rw-member-enabled .rw-volunteer-hub__empty h2 { font-size: var(--ts-body, 1rem); }   /* empty-state heading: a plain line, not a card title */

@media (max-width: 767.98px) {
    .rw-member-enabled .rw-volunteer-hub { padding: 10px 8px 96px !important; }
    .rw-member-enabled .rw-volunteer-hub__header { gap: 10px; }
    .rw-member-enabled .rw-volunteer-detail__heading-row { gap: 8px; }
    .rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__hero,
    .rw-member-enabled .rw-volunteer-hub__detail > .rw-job-detail__content-card { padding: 10px; }
}

/* Candidate advanced search */
.rw-volunteering__advanced {
    margin-top: 12px;
    border-top: 1px solid var(--rw-border);
}

.rw-volunteering__advanced > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    color: var(--rw-primary, #0759cf);
    cursor: pointer;
    font-weight: 700;
}

.rw-volunteering__advanced > summary:focus-visible {
    border-radius: 6px;
    outline: 3px solid #8ab4ff;
    outline-offset: 2px;
}

.rw-volunteering__advanced-count {
    color: var(--rw-muted);
    font-size: .8125rem;
    font-weight: 600;
}

.rw-volunteering__advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 10px;
}

.rw-volunteering__check-field {
    min-height: 44px;
    align-content: center;
}

.rw-volunteering__check-field .form-check {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rw-volunteering__check-field .form-check-input {
    box-sizing: border-box;
    width: 20px !important;
    height: 20px !important;
    min-height: 20px;
    flex: 0 0 20px;
    margin: 0;
    transform: none;
}

.rw-volunteering-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.rw-volunteering-card__preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--rw-border);
}

.rw-volunteering-card__preview:empty {
    display: none;
}

.rw-volunteering-card__preview-row h3 {
    margin: 0 0 2px;
    color: var(--rw-ink);
    font-size: .8125rem;
    font-weight: 700;
}

.rw-volunteering-card__preview-row p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: .86rem;
    line-height: 1.4;
}

.rw-volunteering-card__skills li {
    border-radius: 999px;
    padding: 3px 8px;
    background: #f2f4f7;
    color: #344054;
    font-size: .8125rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .rw-volunteering__advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .rw-volunteering__advanced-grid { grid-template-columns: 1fr; }
    .rw-volunteering__advanced-grid .form-control,
    .rw-volunteering__advanced-grid .form-select { font-size: 16px; }
}

.rw-volunteering-card__match {
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    padding: 4px 10px;
    font-size: .8125rem;
    font-weight: 700;
}

.rw-volunteering-card__reasons {
    margin: 8px 0 0;
    padding-left: 20px;
    color: var(--rw-muted);
}

.rw-volunteering-preferences-form,
.rw-volunteering-preferences-grid {
    display: grid;
    gap: 16px;
}

.rw-volunteering-preferences-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rw-volunteering-preferences-choice {
    /* 2026-10-26 (M-12): as a flex container the legend became a flex item sitting on the border
       with a gap beneath it. A block fieldset draws the legend in its normal place. */
    display: block;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--rw-border);
    border-radius: 10px;
}

.rw-volunteering-preferences-choice legend {
    float: none;
    width: auto;
    margin: 0 0 8px;
    font-size: .875rem;
    font-weight: 700;
}

.rw-volunteering-preferences-choice label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 18px 0 0;
}

.rw-volunteering-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 680px) {
    .rw-volunteering-preferences-grid { grid-template-columns: 1fr; }
    .rw-volunteering .rw-page-actions { display: grid; width: 100%; }
    .rw-volunteering .rw-page-actions > * { width: 100%; }
}

/* ==========================================================================
   Public (anonymous) volunteering page
   Scoped to .rw-volunteering--public so the signed-in page is untouched.
   No --rw-ui-scale override here on purpose: rw-design-system.css applies the
   scale only under body.rw-member-enabled, and its comment states the public
   site deliberately keeps a 16px root. This page therefore matches the public
   landing and jobs pages rather than the member shell.
   ========================================================================== */

.rw-volunteering--public .rw-volunteering__back {
    margin: 0 0 16px;
}

.rw-volunteering--public .rw-volunteering__back a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--rw-primary, #0c61e7);
}

.rw-volunteering__signin-note {
    display: block;
    margin: 28px 0 8px;
    padding: 20px 24px;
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius, 12px);
    background: var(--rw-soft, #f5f7fa);
}

.rw-volunteering__signin-note h2 {
    margin: 0 0 6px;
    font-size: var(--ts-h2, 1.25rem);
    font-weight: 700;
    color: var(--rw-ink, #172033);
}

.rw-volunteering__signin-note p {
    margin: 0 0 14px;
    max-width: 60ch;
    color: var(--rw-muted, #5d6678);
}

.rw-volunteering__signin-note .rw-btn {
    min-height: 44px;
}

/* Published opportunity detail sections, shared by the search drawer and the full opportunity page. */
.rw-volunteering-card__tag--spots {
    background: #fff6ed;
    color: #b93815;
}

/* Training category badge (041): distinct from the delivery-mode tag so mixed
   volunteering/training result lists scan at a glance. */
.rw-volunteering-card__tag--training {
    background: #eef4ff;
    color: #1f3a8f;
}

#volunteering-detail-page {
    overflow-wrap: anywhere;
}

#volunteering-detail-page > .rw-card__header {
    flex-wrap: wrap;
}

#volunteering-detail-page > .rw-card__header > h2 {
    flex-basis: 100%;
}

#volunteering-detail-page .rw-page-actions {
    min-width: 0;
    max-width: 100%;
}

.rw-volunteering-detail__section p {
    white-space: pre-line;
    margin: 0 0 12px;
    max-width: 70ch;
    color: var(--rw-muted, #5d6678);
}

.rw-volunteering-detail__section > *:last-child {
    margin-bottom: 0;
}

.rw-volunteering-detail__source-link,
.rw-volunteering-detail__source-dates > summary {
    min-height: 44px;
    padding: 10px 0;
    overflow-wrap: anywhere;
}

.rw-volunteering-detail__source-link {
    display: block;
}

.rw-volunteering-detail__source-dates > summary {
    cursor: pointer;
}

.rw-volunteering-detail__bullets {
    margin: 0;
    padding-left: 20px;
    color: var(--rw-muted, #5d6678);
}

.rw-volunteering-detail__bullets li {
    margin-bottom: 6px;
}

.rw-volunteering-detail__facts {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 8px 20px;
    margin: 0;
}

.rw-volunteering-detail__facts dt {
    font-weight: 600;
    color: var(--rw-ink, #172033);
}

.rw-volunteering-detail__facts dd {
    margin: 0;
    color: var(--rw-muted, #5d6678);
}

.rw-volunteering-detail__chip-group {
    margin-bottom: 12px;
}

.rw-volunteering-detail__chip-label {
    display: block;
    margin-bottom: 6px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--rw-ink, #172033);
}

.rw-volunteering-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rw-volunteering-detail__chips li {
    border-radius: 999px;
    padding: 3px 10px;
    background: #f2f4f7;
    color: #344054;
    font-size: .8125rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .rw-volunteering-detail__facts { grid-template-columns: 1fr; gap: 2px; }
    .rw-volunteering-detail__facts dd { margin-bottom: 10px; }
}

/* --------------------------------------------------------------------------
   Search result card

   The card used to carry a fixed 260px floor with the actions pinned to the
   bottom, so a short listing rendered as a title, a date and a large empty
   block. The floor is gone and the card now says who is running the
   opportunity and how long a session lasts -- both were already in the search
   payload and neither was being shown.
   -------------------------------------------------------------------------- */

.rw-volunteering-card p {
    margin: 0 0 4px;
    line-height: 1.45;
}

/* The organisation carries the trust signal, so it sits directly under the
   title in full ink rather than muted with the rest of the metadata. */
.rw-volunteering-card__org {
    color: var(--rw-ink);
    font-weight: 600;
}

.rw-volunteering-card__when {
    font-size: .9375rem;
}

/* --------------------------------------------------------------------------
   Advanced filters

   Previously a details/summary block sitting alone on the line under the
   search row, which left most of that line empty. The toggle now sits in the
   search row itself and the panel it controls opens full width beneath.
   -------------------------------------------------------------------------- */

.rw-volunteering__sidebar-fields {
    display: grid;
    gap: 14px;
}

.rw-volunteering__advanced-toggle {
    display: inline-flex;
    width: 100%;
    min-height: var(--rw-tap-target);
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

/* Count of applied advanced filters, so a collapsed panel never hides the
   fact that results are being narrowed. */
.rw-volunteering__advanced-count {
    padding: 2px 8px;
    border-radius: var(--rw-radius-pill);
    background: #eff6ff;
    color: #175cd3;
    font-size: .8125rem;
    font-weight: 700;
}

.rw-volunteering__advanced-toggle[aria-expanded="true"] .rw-volunteering__advanced-count {
    background: #fff;
}

.rw-volunteering__advanced-panel {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--rw-border);
}

.rw-volunteering__advanced-panel[hidden] {
    display: none;
}

.rw-volunteering__advanced-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.rw-database-filter-groups {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
}

.rw-search-filter-group {
    min-width: 0;
    margin: 0;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid var(--rw-border);
}

.rw-search-filter-group legend {
    width: 100%;
    margin-bottom: 8px;
    color: var(--rw-ink);
    font-size: .875rem;
    font-weight: 700;
}

.rw-search-filter-choices {
    display: grid;
    gap: 7px;
}

.rw-search-filter-choice {
    display: flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #344054;
    cursor: pointer;
    font-size: .8125rem;
    font-weight: 500;
}

.rw-search-filter-choice input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    accent-color: var(--rw-primary);
}

.rw-search-filter-choice input:focus-visible {
    outline: var(--rw-focus-outline);
    outline-offset: 2px;
}

.rw-filter-loading {
    margin: 0;
    color: var(--rw-muted);
    font-size: .8125rem;
}

@media (max-width: 991.98px) {
    .rw-volunteering__advanced-toggle {
        justify-content: space-between;
    }
}

/* No badge until something is actually applied. */
.rw-volunteering__advanced-count:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   Opportunity detail drawer

   A fully populated opportunity now renders seven sections. Stacked in one
   column inside an 860px drawer that is a long scroll with a wide empty gutter
   beside every fact list, so on a large screen the sections sit two across.
   The hero and the application questions still span the full width -- they are
   the entry and exit of the panel and should not be halved.
   -------------------------------------------------------------------------- */

@media (min-width: 1200px) {
    #volunteering-detail .rw-volunteering-drawer__body {
        display: grid;
        align-items: start;
        gap: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #volunteering-detail .rw-volunteering-drawer__body > .rw-job-detail__hero,
    #volunteering-detail .rw-volunteering-drawer__body > .rw-volunteering-questions {
        grid-column: 1 / -1;
    }

    /* The grid owns the spacing now. */
    #volunteering-detail .rw-job-detail__content-card {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   Standalone opportunity page (/job-seeker/volunteering/details/{id} and the
   anonymous /volunteering/{id}) -- the organization/type summary line under
   the title. Was completely unstyled: two bare <p> tags with default browser
   margins, reading as loose fragments rather than metadata.
   -------------------------------------------------------------------------- */
.rw-volunteering-detail__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 16px;
    color: var(--rw-muted);
    font-size: .9375rem;
}

.rw-volunteering-detail__summary p {
    margin: 0;
}

/* Same two-column treatment as the drawer above (#rw-volunteering-drawer__body), applied to
   the standalone page's own container instead - both member Details.cshtml and the public
   Volunteering/Public/Detail.cshtml render into the same #volunteering-detail-page element, so
   one rule covers both. Without it, a fully populated opportunity is seven cards in a single
   970px column - a long scroll with a wide empty gutter on either side of every fact list and
   chip group on any screen wider than a tablet. The hero (header) and the application
   questions still span the full width - they are the entry and exit of the page and should
   not be halved. */
@media (min-width: 1200px) {
    #volunteering-detail-page {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 16px;
    }

    #volunteering-detail-page > .rw-card__header,
    #volunteering-detail-page > .rw-volunteering-detail__summary,
    #volunteering-detail-page > .rw-volunteering-questions {
        grid-column: 1 / -1;
    }

    /* The grid owns the spacing now. */
    #volunteering-detail-page > .rw-job-detail__content-card {
        margin-top: 0;
    }
}

/* Member hours reporting and evidence upload (049). Mirrors the volunteering
   filter fields so the form reads as part of the same page. */
.rw-volunteer-hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.rw-volunteer-hours__attest {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rw-volunteer-hours__evidence {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.rw-volunteer-hours__status:not(:empty) {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eef4ff;
    color: #1f3a8f;
}

/* Certificate list on the hours block, and the standalone certificate page (051). */
.rw-volunteer-hours__certificates {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.rw-volunteer-hours__certificate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--rw-border);
    border-radius: 8px;
}

.rw-volunteering-certificate__note {
    color: var(--rw-muted);
    margin: 16px 0;
}

.rw-volunteering-certificate__integrity {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .8125rem;
    color: var(--rw-muted);
}

.rw-volunteering-certificate__integrity code {
    word-break: break-all;
}

@media print {
    .rw-page-header, .rw-volunteering-certificate__integrity + button { display: none; }

    /* QA 40: printing the certificate also printed the whole member shell (header, search, left menu, mobile
       bar, footer, side panels) and squeezed the certificate into what was left. Print the certificate alone,
       full width. Scoped to the certificate page, so no other page's print output changes. */
    body:has(#volunteering-certificate-page) :is(#navbar_top, body > nav, .rw-jobseeker-footer, .rw-member-sidebar,
        .rw-member-mobile-nav, .rw-member-nav-scrim, .offcanvas, .modal, #back-to-top,
        .askc-strip, #chatbot-artie, .rw-volunteering-certificate__integrity + button) {
        /* QA 32: the ask bar (G43), the chat button and the page's own Print button printed too. */
        display: none !important;
    }

    body:has(#volunteering-certificate-page) .rw-member-shell {
        display: block;
        padding: 0;
        margin: 0;
    }

    body:has(#volunteering-certificate-page) .rw-member-main {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body:has(#volunteering-certificate-page) .rw-volunteering-certificate {
        box-shadow: none;
        border: 1px solid #98a2b3;
        break-inside: avoid;
    }
}

/* Submission package print summary (059) - same "hide chrome on print" posture as the
   certificate page above, its own utility class since this page has no integrity hash box
   for a `+ button` sibling selector to hook off of. */
@media print {
    .rw-page-header, .rw-print-hide { display: none; }
}
.rw-submission-package-print__month + .rw-submission-package-print__month { margin-top: 20px; }
.rw-submission-package-print__month h3 { margin-bottom: 6px; }

/* External verification entry point and form (053). */
.rw-volunteer-hub__external-verify {
    margin-top: 20px;
    padding: 16px 12px;
    border-top: 1px solid var(--rw-border);
    text-align: left;
    justify-items: start;
}

.rw-volunteer-hub__external-verify > * {
    width: 100%;
}

/* The results panel is a bordered box, but its three children each carried
   their own horizontal inset (0, 6 and 8px), so content sat against the
   border. One inset for all three. */
.rw-volunteer-hub__results > .rw-my-jobs-results__toolbar,
.rw-volunteer-hub__results > .rw-my-jobs-results__list {
    padding-right: 12px;
    padding-left: 12px;
}

/* The request form is built in volunteering-my.js, so it never picked up the
   12px rhythm the sibling hours block uses: fields sat 6px apart, the same
   gap as label-to-input, and the two actions rendered edge to edge. */
.rw-volunteer-hub__external-verify .rw-volunteering__field {
    margin-bottom: 12px;
}

/* Submit and Cancel are appended from script (volunteering-my.js), so there is no whitespace text
   node between them and they render flush against one another. */
.rw-volunteer-hub__external-verify form .btn + .btn {
    margin-left: 10px;
}

/* Character allowance under the description field - quiet, so it reads as guidance rather than
   as another label. */
.rw-volunteering__field-hint {
    color: var(--rw-muted);
    font-size: var(--rw-text-sm, .875rem);
}

.rw-volunteer-hub__external-verify .btn + .btn {
    margin-left: 8px;
}

/* Organization registration (ADR-001). One form, every organization type. */
#organization-register-form {
    padding: 24px;
}

#organization-register-form > .validation-summary-valid {
    display: none;
}

.rw-volunteering__group {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.rw-volunteering__group legend {
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rw-ink);
}

    .rw-volunteering__group .rw-volunteering__field {
        margin-bottom: 14px;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

#organization-register-form .rw-volunteering__group {
    margin-bottom: 32px;
}

#organization-register-form .rw-volunteering__group:last-of-type {
    margin-bottom: 24px;
}

#organization-register-form .rw-volunteering__group legend {
    margin-bottom: 16px;
}

#organization-register-form .rw-volunteering__field {
    margin: 0 0 16px !important;
}

#organization-register-form .rw-volunteering__field:last-child {
    margin-bottom: 0 !important;
}

#organization-register-form .rw-volunteering__filter-actions {
    padding-top: 24px;
    border-top: 1px solid var(--rw-border);
}

@media (max-width: 680px) {
    #organization-register-form {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    #organization-register-form .rw-volunteering__filter-actions {
        grid-template-columns: 1fr;
    }

    #organization-register-form .rw-volunteering__filter-actions .btn {
        width: 100%;
    }
}

/* Type choice reads as a stack of cards; the whole row is the target, not just the radio. */
.rw-volunteering__type-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    min-height: var(--rw-tap-target);
    padding: 12px 14px;
    border: 1px solid var(--rw-border);
    border-radius: 10px;
    cursor: pointer;
}

.rw-volunteering__type-option:hover {
    border-color: #9dbff2;
    background: #f8fbff;
}

.rw-volunteering__type-option:focus-within {
    outline: 3px solid rgba(23, 105, 232, .22);
    outline-offset: 2px;
}

/* Keep the visual control compact; the enclosing label supplies the 44px touch target. */
.rw-volunteering__type-option input {
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    flex: 0 0 20px;
    transform: none;
}

.rw-volunteering__type-option span {
    display: grid;
    gap: 2px;
}

.rw-volunteering__type-option small {
    color: var(--rw-muted);
}

/*
   Touch-target floor (2026-08-27 live responsive/a11y audit). --rw-ui-scale (rw-design-system.css)
   shrinks the root font-size to 80%, which drags every rem-sized Bootstrap control below the 44px
   minimum specifically on the pages that set this file's .rw-volunteering page-shell class - the
   organization Login/Register/ForgotPassword/ResetPassword forms and this search hub's own filter
   bar all share the same .rw-volunteering__field/.rw-volunteering__filter-actions markup, so one
   scoped fix here closes the gap everywhere it was found without touching any other page (this file
   is not loaded outside the volunteering/organization module). Floor only, via min-height - never
   shrinks a control that is already taller (e.g. a multi-row textarea).
*/
.rw-volunteering .form-control,
.rw-volunteering .form-select,
.rw-volunteering .btn {
    min-height: var(--rw-tap-target);
}

/* Same floor for the custom .rw-btn family ("View details" on a result card, Apply/Save/Open full
   page inside the opened detail drawer) - card actions render inside .rw-volunteering; the opened
   detail/preferences/notifications drawers render as later siblings of it (.rw-volunteering-drawer),
   matching this file's own dual-scoping convention for drawer-shared markup used throughout (see
   e.g. the .rw-job-detail__hero rule above). Deliberately placed here rather than in
   volunteering-g3.css: the anonymous public browse page (Views/Volunteering/Public/Index.cshtml)
   loads this file but not that one, and its "View details" button was one of the measured failures. */
.rw-volunteering .rw-btn,
.rw-volunteering-drawer .rw-btn {
    min-height: var(--rw-tap-target);
}

.rw-field-hint {
    display: block;
    font-size: .82rem;
    color: var(--rw-muted);
}

.rw-field-error:not(:empty) {
    display: block;
    margin-top: 4px;
    font-size: .82rem;
    color: #b42318;
}

/* Standalone text links outside the .btn/.rw-btn family (e.g. "Forgot your password?") - the
   surrounding .btn touch-target floor above does not reach these, so they get their own (2026-08-27
   live audit measured this one at 18px). inline-flex + min-height, not just padding, so the whole
   44px box is the actual clickable/measured target, not just its visible text line. */
.rw-volunteering__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--rw-tap-target);
}

/* Pagination page-number buttons (2026-08-27 follow-up live audit): the earlier .rw-volunteering
   .rw-btn floor above already gives these 44px of HEIGHT, but a single digit like "1" has almost no
   intrinsic width, so the button's small horizontal padding alone left it at 31-35px wide. Width
   floor only applies here, not to every .rw-btn on the page - a "View details"/"Send invitation"
   button is already wide enough from its own label. */
.rw-volunteering__pagination .rw-btn {
    min-width: var(--rw-tap-target);
}

/* Pager on one row; wraps only on phones. */
.rw-volunteering__pagination {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px 16px;
}

.rw-volunteering__pagination .rw-volunteering__page-size {
    width: auto;
    flex: 0 0 auto;
    min-height: var(--rw-tap-target);
}

.rw-volunteering__pagination .rw-volunteering__page-count {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--rw-muted);
}

.rw-volunteering__pagination .rw-volunteering__page-buttons {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: auto;
}

.rw-volunteering__pagination .rw-volunteering__page-buttons .rw-btn {
    flex-shrink: 0;
    min-width: var(--rw-tap-target);
    min-height: var(--rw-tap-target);
    padding: 0 8px;
}

@media (max-width: 680px) {
    .rw-volunteering__pagination {
        flex-wrap: wrap;
    }

    .rw-volunteering__pagination .rw-volunteering__page-count {
        flex-basis: 100%;
    }

    /* Wrap instead of scrolling sideways. */
    .rw-volunteering__pagination .rw-volunteering__page-buttons {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        width: 100%;
    }
}

/* Phones: keep first/previous/current/next/last so the pager fits with full-size tap targets. */
@media (max-width: 480px) {
    .rw-volunteering__pagination .rw-volunteering__page-buttons .rw-btn:not([aria-current="page"]):not(.rw-volunteering__page-nav) {
        display: none;
    }
}

/* Organization sign-in uses the volunteering form primitives, but its
   remember-me checkbox is not an opportunity-type card. */
#organization-login-form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

#organization-login-form .organization-login__remember {
    display: flex;
    min-height: var(--rw-tap-target);
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-sm);
    background: var(--rw-soft);
    cursor: pointer;
}

#organization-login-form .organization-login__remember:hover {
    border-color: #9dbff2;
    background: #f8fbff;
}

#organization-login-form .organization-login__remember:focus-within {
    outline: var(--rw-focus-outline);
    outline-offset: 2px;
}

#organization-login-form .organization-login__remember input {
    /* RG-1528: 24px box; the whole 44px label row is the tap target. */
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin: 0;
    accent-color: var(--rw-primary);
}

#organization-login-form .rw-volunteering__filter-actions {
    margin-top: 2px;
}

#organization-login-form > p {
    margin: 0 !important;
}

@media (max-width: 680px) {
    #organization-login-form {
        padding: 18px;
    }

    #organization-login-form .rw-volunteering__filter-actions {
        grid-template-columns: 1fr;
    }
}

/* Training listing mirrors the public Jobs search layout. */
.rw-training-search-page .rw-volunteering__filters {
    margin-bottom: 0;
}

.rw-training-search-page .rw-job-search-panel {
    padding: 22px;
}

.rw-training-search-page__action {
    margin-top: 12px;
}

.rw-training-search-page__filters .responsiveText {
    max-height: 720px;
    overflow-y: auto;
}

.rw-training-search-page .rw-search-filter-choice,
.rw-volunteering--public .rw-search-filter-choice {
    min-height: 44px;
}

.rw-volunteering--public .rw-volunteering__check-field .form-check-label {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.rw-training-search-page__filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rw-training-search-page__filter-heading h2,
.rw-training-search-page__results > .rw-volunteering__status {
    margin: 0;
    color: var(--rw-ink);
    font-size: 1.125rem;
    font-weight: 700;
}

.rw-training-search-page__results > .rw-volunteering__status {
    min-height: 0;
    margin-bottom: 12px;
}

.rw-training-search-page .rw-volunteering__advanced-panel {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.rw-training-search-page__filter-group {
    display: grid;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rw-border);
}

.rw-training-search-page__filter-group:last-child {
    border-bottom: 0;
}

.rw-training-search-page__filter-group h3 {
    margin: 0;
    color: var(--rw-ink);
    font-size: 1rem;
    font-weight: 700;
}

.rw-training-search-page .rw-job-search-results {
    min-height: 220px;
}

.rw-volunteering.rw-training-search-page .rw-volunteering__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.rw-training-search-page .rw-volunteering-card,
.rw-training-search-page .rw-volunteering__empty {
    border: 1px solid var(--rw-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgb(15 23 42 / 6%);
}

.rw-training-search-page .rw-volunteering__empty {
    padding: 48px 24px;
}

@media (min-width: 1400px) {
    .rw-training-search-page__action {
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .rw-training-search-page__filters .responsiveText {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .rw-training-search-page .rw-job-search-panel {
        padding: 16px;
    }

    .rw-training-search-page__action {
        width: 100%;
    }
}

.rw-volunteering.rw-job-search-page .rw-volunteering__advanced-panel {
    max-height: min(52vh, 460px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Room so the scrollbar never sits on top of the focus ring of a field. */
    padding-right: 6px;
}

/* QA 19: on a phone the page itself scrolls, so the advanced filters grow with it instead of scrolling inside a
   second, capped box (two nested scroll areas). Kept in step with volunteering-g3.css. */
@media (max-width: 767.98px) {
    .rw-volunteering.rw-job-search-page .rw-volunteering__advanced-panel {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

/* Per-question validation message in the opportunity details drawer. The text itself carries
   the meaning, so colour here is supplementary rather than the only indicator (WCAG 1.4.1). */
.rw-volunteering-question__error {
    margin: 0;
    color: #b42318;
    font-size: .8125rem;
    font-weight: 600;
}

.rw-volunteering-question [aria-invalid="true"] {
    border-color: #b42318;
}

/* CR-09: Save/Apply result inside the details drawer. It sits in the sticky header as a full-width
   row, so it stays visible on phones where the drawer covers the page status line. It is never
   display:none (a live region must stay in the accessibility tree to announce). */
.rw-volunteering-drawer__header { flex-wrap: wrap; }
/* The title block shrinks so the close button stays on the first row beside it. */
.rw-volunteering-drawer__header > :first-child { flex: 1 1 0; min-width: 0; }
.rw-volunteering-detail__status {
    flex: 1 0 100%;
    order: 3;
    margin: 0;
    min-height: 0;
    color: var(--rw-ink);
    font-weight: 600;
}
.rw-volunteering-detail__status:not(:empty) {
    padding: 8px 12px;
    border-radius: 8px;
    background: #eff6ff;
}

/* CR-09: shown instead of Apply/Save once the application deadline has passed. */
.rw-volunteering-detail__closed {
    margin: 0;
    padding: 10px 12px;
    border-left: 4px solid #b54708;
    border-radius: 6px;
    background: #fffaeb;
    color: var(--rw-ink);
    font-weight: 600;
}

/* QA item E5: "Add more details (optional)" on the organization sign-up form. One column, 44px touch targets. */
.rw-volunteering__more {
    margin: 0 0 16px;
}

.rw-volunteering__more > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    font-weight: 600;
    cursor: pointer;
}

.rw-volunteering__check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    font-weight: 400;
}

.rw-volunteering__check input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
}
