/*
 * Refresh: Volunteer (inc/refresh-volunteer.php), board "Volunteer A · Tasks + Reward + 3 Steps" (Aaron, Nov 19, 2026).
 * The banner is pages.css section 01 (pb-std); the form's general look is forms.css; this file lays out the page and
 * form 3 (steps, under-18 hint, Yes/No buttons, interest chips).
 * 01 Page   02 Intro   03 Tasks   04 Hours bar   05 Reward   06 Photos   07 How it works   08 Apply   09 Form 3   10 Phones
 */

/* 01 Page */
body.pb-vol-page .pb-vol { font-family: var(--pb-font); color: var(--pb-ink); font-size: 18px; line-height: 1.7; }
body.pb-vol-page .pb-vol-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; } /* 1140px of content, lined up with the title */
body.pb-vol-page .pb-vol p { margin: 0 0 16px; max-width: none; font-size: 18px; line-height: 1.7; color: var(--pb-ink); }
body.pb-vol-page .pb-vol a:focus-visible { outline: 3px solid var(--pb-navy); outline-offset: 3px; }
body.pb-vol-page .pb-vol > section { padding: 64px 0 0; }
body.pb-vol-page .pb-vol .pb-vol-h2 {
	margin: 0 0 24px !important;
	padding: 0 !important;
	font-family: var(--pb-font) !important;
	font-weight: 900 !important;
	font-size: 40px !important;
	line-height: 1.05 !important;
	text-transform: uppercase;
	color: var(--pb-blue) !important;
	text-align: left !important;
}
body.pb-vol-page .pb-vol .pb-vol-h2::before { display: none !important; }
body.pb-vol-page .pb-vol .pb-vol-h2::after { content: ""; display: block; width: 96px; height: 8px; margin-top: 14px; border-radius: 4px; background: var(--pb-sky); }
body.pb-vol-page .pb-vol .pb-vol-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 14px;
	background: var(--pb-blue);
	color: var(--pb-white) !important;
	box-shadow: 0 4px 0 var(--pb-navy);
	font-weight: 900;
	font-size: 18px;
	line-height: 1.25;
	text-decoration: none !important;
}
body.pb-vol-page .pb-vol .pb-vol-btn:hover { background: var(--pb-navy); }
body.pb-vol-page .pb-vol-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--pb-pale); color: var(--pb-blue); }

/* 02 Intro */
body.pb-vol-page .pb-vol .pb-vol-lead { margin: 0 0 18px; font-family: var(--pb-font-num); font-weight: 900; font-size: 32px; line-height: 1.25; color: var(--pb-blue); max-width: 900px; }
body.pb-vol-page .pb-vol .pb-vol-intro { max-width: 760px; }
body.pb-vol-page .pb-vol-intro-sec p:last-child { margin: 22px 0 0; }

/* 03 Tasks as icon tiles */
body.pb-vol-page .pb-vol ul.pb-vol-tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: none; }
body.pb-vol-page .pb-vol ul.pb-vol-tasks li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 22px 14px;
	border-radius: 22px;
	box-shadow: 0 0 0 2px var(--pb-pale);
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.35;
}
body.pb-vol-page .pb-vol ul.pb-vol-tasks li::before { display: none; }

/* 04 Community service hours */
body.pb-vol-page .pb-vol-hours { display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-radius: 22px; background: var(--pb-pale); }
body.pb-vol-page .pb-vol-hours .pb-vol-badge { background: var(--pb-white); }
body.pb-vol-page .pb-vol .pb-vol-hours p { margin: 0; line-height: 1.55; }

/* 05 Your reward */
body.pb-vol-page .pb-vol-reward { display: flex; align-items: center; gap: 24px; overflow: hidden; border-radius: 28px; border-bottom: 8px solid var(--pb-sky); background: var(--pb-blue); color: var(--pb-white); }
body.pb-vol-page .pb-vol-reward img { display: block; flex: none; width: 42%; height: auto; align-self: stretch; object-fit: cover; }
body.pb-vol-page .pb-vol-reward__text { padding: 32px 36px 32px 8px; }
body.pb-vol-page .pb-vol .pb-vol-reward h2 { margin: 0 0 10px !important; padding: 0 !important; font-family: var(--pb-font) !important; font-size: 30px !important; font-weight: 900 !important; line-height: 1.1 !important; text-transform: uppercase; color: var(--pb-white) !important; }
body.pb-vol-page .pb-vol .pb-vol-reward h2::before, body.pb-vol-page .pb-vol .pb-vol-reward h2::after { display: none !important; }
body.pb-vol-page .pb-vol .pb-vol-reward p { margin: 0; font-size: 18px; color: var(--pb-white); }

/* 06 Photos */
body.pb-vol-page .pb-vol-mosaic { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; }
/* drawn as a Gallery block for the lightbox (pb_lightbox_photos()): core's gallery sizing off */
body.pb-vol-page .pb-vol-mosaic.wp-block-gallery { margin: 0 !important; flex-wrap: nowrap; }
body.pb-vol-page .pb-vol-mosaic.wp-block-gallery figure.wp-block-image { width: auto !important; height: 100% !important; margin: 0 !important; flex: none !important; }

body.pb-vol-page .pb-vol-mosaic img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* 07 How it works */
body.pb-vol-page .pb-vol ol.pb-vol-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: pbvol; max-width: none; }
body.pb-vol-page .pb-vol ol.pb-vol-how li { margin: 0; padding: 24px; border-radius: 24px; background: var(--pb-pale); counter-increment: pbvol; font-size: 17px; line-height: 1.45; }
body.pb-vol-page .pb-vol ol.pb-vol-how li::before {
	content: counter(pbvol);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--pb-blue);
	color: var(--pb-white);
	font-weight: 900;
	font-size: 22px;
}
body.pb-vol-page .pb-vol ol.pb-vol-how b { display: block; font-size: 20px; color: var(--pb-navy); }

/* 08 Apply: the form in a light-blue band */
body.pb-vol-page .pb-vol > section.pb-vol-apply { margin-top: 64px; padding: 64px 0 80px; background: var(--pb-pale); scroll-margin-top: 0; }
body.pb-vol-page .pb-vol-apply .pb-vol-wrap { max-width: 920px; } /* form card 800px wide */
body.pb-vol-page .pb-vol .pb-vol-sub { margin-bottom: 28px; }
body.pb-vol-page .pb-vol-form { padding: 36px 40px 40px; border-radius: 28px; background: var(--pb-white); box-shadow: 0 18px 40px rgba(15, 76, 117, 0.08); }
body.pb-vol-page #primary .pb-vol-form .gform_wrapper { max-width: none !important; margin: 0 !important; padding: 0 !important; }

/* 09 Form 3: step headings, hint, Yes / No buttons, interest chips */
body.pb-vol-page #primary #gform_fields_3 > * { min-width: 0; }
body.pb-vol-page #primary #gform_fields_3 > .pb-gf-step { margin: 12px 0 18px !important; padding: 0 !important; list-style: none; }
body.pb-vol-page #primary #gform_fields_3 > .pb-gf-step:first-child { margin-top: 0 !important; }
body.pb-vol-page #primary #gform_fields_3 > .pb-gf-step:not(:first-child) { padding-top: 24px !important; border-top: 2px solid var(--pb-pale); }
body.pb-vol-page #primary .pb-gf-step__h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--pb-font) !important;
	font-weight: 900 !important;
	font-size: 24px !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	color: var(--pb-navy) !important;
}
body.pb-vol-page #primary .pb-gf-step__h::before { display: none !important; }
body.pb-vol-page #primary .pb-gf-step__h span { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-blue); color: var(--pb-white); font-size: 18px; }
body.pb-vol-page #primary #gform_fields_3 > .pb-vol-hint { margin: 10px 0 20px !important; padding: 10px 14px !important; list-style: none; border-radius: 12px; background: var(--pb-pale); color: #3d4650; font-size: 15px; line-height: 1.5; }
body.pb-vol-page #primary #field_3_12 .gfield_radio { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-vol-page #primary #field_3_12 .gfield_radio > * { position: relative; flex: 0 0 130px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; margin: 0 !important; }
body.pb-vol-page #primary #field_3_12 .gfield_radio > * > label {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 10px 0 !important;
	border: 3px solid #a7ddef;
	border-radius: 16px;
	background: var(--pb-white);
	color: var(--pb-ink) !important;
	font-weight: 800 !important;
	text-align: center;
	cursor: pointer;
}
body.pb-vol-page #primary #field_3_10 .gfield_checkbox { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-vol-page #primary #field_3_10 .gfield_checkbox > * { position: relative; flex: 0 1 auto; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.pb-vol-page #primary #field_3_10 .gfield_checkbox > * > label {
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px; /* tap height */
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 8px 18px !important;
	border: 2px solid #a7ddef;
	border-radius: 999px;
	background: var(--pb-white);
	color: var(--pb-ink) !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	cursor: pointer;
}
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > label:hover { border-color: var(--pb-blue); }
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > input:checked + label { border-color: var(--pb-blue); background: var(--pb-blue) !important; color: var(--pb-white) !important; }
body.pb-vol-page #primary #field_3_12 .gfield_radio > * > input:checked + label { box-shadow: 0 4px 0 var(--pb-navy); }
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > input:focus-visible + label { outline: 3px solid var(--pb-navy); outline-offset: 3px; }
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > label::before,
body.pb-vol-page #primary :is(#field_3_12 .gfield_radio, #field_3_10 .gfield_checkbox) > * > label::after { display: none !important; }
body.pb-vol-page #primary #field_3_9 :is(.gpts-terms, .gfield_description, .gform-field-description) { border-radius: 16px; }

/* 10 Tablets and phones */
@media (max-width: 1023px) {
	body.pb-vol-page .pb-vol ul.pb-vol-tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
	body.pb-vol-page .pb-vol > section { padding-top: 44px; }
	body.pb-vol-page .pb-vol .pb-vol-h2 { font-size: 30px !important; }
	body.pb-vol-page .pb-vol .pb-vol-lead { font-size: 24px; }
	body.pb-vol-page .pb-vol p { font-size: 17px; }
	body.pb-vol-page .pb-vol ul.pb-vol-tasks { grid-template-columns: 1fr 1fr; gap: 10px; }
	body.pb-vol-page .pb-vol ul.pb-vol-tasks li:last-child { grid-column: 1 / 3; }
	body.pb-vol-page .pb-vol-hours { align-items: flex-start; padding: 18px; }
	body.pb-vol-page .pb-vol-reward { flex-direction: column; gap: 0; }
	body.pb-vol-page .pb-vol-reward img { width: 100%; aspect-ratio: 16 / 10; }
	body.pb-vol-page .pb-vol-reward__text { padding: 22px 20px 26px; }
	body.pb-vol-page .pb-vol-mosaic { grid-template-columns: 1fr 1fr; gap: 8px !important; }
	body.pb-vol-page .pb-vol ol.pb-vol-how { grid-template-columns: minmax(0, 1fr); }
	body.pb-vol-page .pb-vol > section.pb-vol-apply { margin-top: 44px; padding: 44px 0 56px; }
	body.pb-vol-page .pb-vol-form { padding: 24px 16px 28px; border-radius: 22px; }
	body.pb-vol-page #primary .pb-gf-step__h { font-size: 20px !important; }
	body.pb-vol-page #primary #field_3_12 .gfield_radio > * { flex: 1 1 0; }
}
