/*
 * Refresh: Pig Presentations (inc/refresh-presentations.php), board "Presentations C · Meet The Head Hog" (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 7 (steps, format cards, source chips, Yes/No donation buttons).
 * 01 Page   02 Presenter   03 What we cover   04 Photo band   05 Request   06 Form 7   07 Phones
 */

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

/* 02 Presenter: Aaron's photo beside the intro and fact chips */
body.pb-pres-page .pb-pres-feature { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: center; }
body.pb-pres-page .pb-pres-feature img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 32px; box-shadow: 12px 12px 0 var(--pb-sky); }
body.pb-pres-page .pb-pres-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--pb-pale); color: var(--pb-blue); font-weight: 800; font-size: 14px; line-height: 1.4; text-transform: uppercase; }
body.pb-pres-page .pb-pres .pb-pres-feature h2 { margin: 12px 0 14px !important; font-size: 44px !important; line-height: 1.05 !important; color: var(--pb-blue) !important; }
body.pb-pres-page .pb-pres .pb-pres-intro { margin: 0; font-size: 19px; }
body.pb-pres-page .pb-pres ul.pb-pres-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.pb-pres-page .pb-pres ul.pb-pres-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--pb-pale); color: var(--pb-navy); font-weight: 700; font-size: 15px; line-height: 1.3; }
body.pb-pres-page .pb-pres-chips svg { flex: none; color: var(--pb-blue); }

/* 03 What we cover: topics beside the Zoom screenshot */
body.pb-pres-page .pb-pres-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
body.pb-pres-page .pb-pres ul.pb-pres-topics { display: grid; gap: 12px; }
body.pb-pres-page .pb-pres ul.pb-pres-topics li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; line-height: 1.3; }
body.pb-pres-page .pb-pres-zoom { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 2px var(--pb-pale); }

/* 04 Photo band: the register photo under a navy overlay so the white text reads (5.6:1 even over white pixels) */
body.pb-pres-page .pb-pres > section.pb-pres-band { position: relative; isolation: isolate; margin-top: 64px; padding: 72px 0; background-color: var(--pb-navy); background-position: center; background-size: cover; background-repeat: no-repeat; text-align: center; }
body.pb-pres-page .pb-pres-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: rgba(15, 76, 117, 0.82); }
body.pb-pres-page .pb-pres .pb-pres-band h2 { margin: 0 0 12px !important; font-size: 44px !important; line-height: 1.05 !important; color: var(--pb-white) !important; text-align: center !important; }
body.pb-pres-page .pb-pres .pb-pres-band p { max-width: 660px; margin: 0 auto 24px; color: var(--pb-white); }
body.pb-pres-page .pb-pres .pb-pres-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 14px;
	background: var(--pb-white);
	color: var(--pb-blue) !important;
	box-shadow: 0 4px 0 var(--pb-ink);
	font-weight: 900;
	font-size: 18px;
	line-height: 1.25;
	text-decoration: none !important;
}
body.pb-pres-page .pb-pres .pb-pres-btn:hover { background: var(--pb-pale); }
body.pb-pres-page .pb-pres .pb-pres-band a:focus-visible { outline-color: var(--pb-white); }

/* 05 Request: the form in a card */
body.pb-pres-page .pb-pres > section.pb-pres-book { padding: 64px 0 80px; scroll-margin-top: 0; }
body.pb-pres-page .pb-pres-book .pb-pres-wrap { max-width: 920px; } /* form card 800px wide */
body.pb-pres-page .pb-pres .pb-pres-sub { margin-bottom: 18px; }
body.pb-pres-page .pb-pres-note { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; padding: 16px 20px; border-radius: 20px; background: var(--pb-pale); }
body.pb-pres-page .pb-pres-note .pb-pres-badge { width: 48px; height: 48px; background: var(--pb-white); }
body.pb-pres-page .pb-pres .pb-pres-note p { margin: 0; font-size: 16px; line-height: 1.5; }
body.pb-pres-page .pb-pres-form { padding: 36px 40px 40px; border-radius: 28px; background: var(--pb-white); box-shadow: 0 0 0 2px var(--pb-pale), 0 18px 40px rgba(15, 76, 117, 0.08); }
body.pb-pres-page #primary .pb-pres-form .gform_wrapper { max-width: none !important; margin: 0 !important; padding: 0 !important; }

/* 06 Form 7: step headings, format cards, chips, Yes / No */
body.pb-pres-page #primary #gform_fields_7 > * { min-width: 0; }
body.pb-pres-page #primary #gform_fields_7 > .pb-gf-step { margin: 12px 0 18px !important; padding: 0 !important; list-style: none; }
body.pb-pres-page #primary #gform_fields_7 > .pb-gf-step:first-child { margin-top: 0 !important; }
body.pb-pres-page #primary #gform_fields_7 > .pb-gf-step:not(:first-child) { padding-top: 24px !important; border-top: 2px solid var(--pb-pale); }
body.pb-pres-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-pres-page #primary .pb-gf-step__h::before { display: none !important; }
body.pb-pres-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; }

/* the choices: native inputs hidden (still focusable), the label is the button */
body.pb-pres-page #primary :is(#field_7_28, #field_7_7, #field_7_36) .gfield_radio > li { position: relative; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.pb-pres-page #primary :is(#field_7_28, #field_7_7, #field_7_36) .gfield_radio > li > input[type=radio] { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; margin: 0 !important; }
body.pb-pres-page #primary :is(#field_7_28, #field_7_7, #field_7_36) .gfield_radio > li > label {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	background: var(--pb-white);
	color: var(--pb-ink) !important;
	cursor: pointer;
}
body.pb-pres-page #primary :is(#field_7_28, #field_7_7, #field_7_36) .gfield_radio > li > label:hover { border-color: var(--pb-blue); }
body.pb-pres-page #primary :is(#field_7_28, #field_7_7, #field_7_36) .gfield_radio > li > input:focus-visible + label { outline: 3px solid var(--pb-navy); outline-offset: 3px; }

/* presentation type: two cards with an icon */
body.pb-pres-page #primary #field_7_28 .gfield_radio { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
body.pb-pres-page #primary #field_7_28 .gfield_radio > li > label {
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	height: 100%;
	padding: 14px 16px !important;
	border: 3px solid #a7ddef;
	border-radius: 18px;
	font-weight: 700 !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
}
body.pb-pres-page #primary #field_7_28 .gfield_radio > li > label::before {
	content: "";
	flex: none;
	width: 26px;
	height: 26px;
	background: var(--pb-blue);
	-webkit-mask: var(--pb-pres-icon) center / contain no-repeat;
	mask: var(--pb-pres-icon) center / contain no-repeat;
}
body.pb-pres-page #primary #field_7_28 .gchoice_7_28_0 > label { --pb-pres-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0'/%3E%3Cpath d='M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z'/%3E%3C/svg%3E"); }
body.pb-pres-page #primary #field_7_28 .gchoice_7_28_1 > label { --pb-pres-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z'/%3E%3Cpath d='M3 8a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z'/%3E%3C/svg%3E"); }
body.pb-pres-page #primary #field_7_28 .gfield_radio > li > input:checked + label { border-color: var(--pb-blue); background: var(--pb-pale); }

/* how did you hear: chips, "Other" as a pill-shaped text box */
body.pb-pres-page #primary #field_7_7 .gfield_radio { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-pres-page #primary #field_7_7 .gfield_radio > li { flex: 0 1 auto; }
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > label,
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > input[type=text] {
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px; /* tap height */
	padding: 8px 18px !important;
	border: 2px solid #a7ddef !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
}
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > input[type=text] { width: 180px !important; max-width: 100%; margin: 0 !important; background: var(--pb-white); color: var(--pb-ink); }
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > input[type=text]:focus { border-color: var(--pb-blue) !important; outline: 3px solid var(--pb-navy); outline-offset: 3px; }
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > input:checked + input[type=text] { border-color: var(--pb-blue) !important; }
body.pb-pres-page #primary #field_7_7 .gfield_radio > li > input:checked + label { border-color: var(--pb-blue); background: var(--pb-blue) !important; color: var(--pb-white) !important; }

/* donation: Yes / No as buttons */
body.pb-pres-page #primary #field_7_36 .gfield_radio { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-pres-page #primary #field_7_36 .gfield_radio > li { flex: 0 0 auto; min-width: 150px; }
body.pb-pres-page #primary #field_7_36 .gfield_radio > li > label {
	display: block !important;
	padding: 10px 22px !important;
	border: 3px solid #a7ddef;
	border-radius: 16px;
	font-weight: 800 !important;
	text-align: center;
}
body.pb-pres-page #primary #field_7_36 .gfield_radio > li > input:checked + label { border-color: var(--pb-blue); background: var(--pb-blue) !important; color: var(--pb-white) !important; box-shadow: 0 4px 0 var(--pb-navy); }

/* 07 Tablets and phones */
@media (max-width: 900px) {
	body.pb-pres-page .pb-pres-feature, body.pb-pres-page .pb-pres-cover { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	body.pb-pres-page .pb-pres-feature img { max-width: 320px; }
}
@media (max-width: 639px) {
	body.pb-pres-page .pb-pres > section { padding-top: 44px; }
	body.pb-pres-page .pb-pres .pb-pres-h2 { font-size: 30px !important; }
	body.pb-pres-page .pb-pres .pb-pres-feature h2 { font-size: 32px !important; }
	body.pb-pres-page .pb-pres p, body.pb-pres-page .pb-pres .pb-pres-intro { font-size: 17px; }
	body.pb-pres-page .pb-pres-feature img { max-width: calc(100% - 12px); }
	body.pb-pres-page .pb-pres > section.pb-pres-band { margin-top: 44px; padding: 48px 0; }
	body.pb-pres-page .pb-pres .pb-pres-band h2 { font-size: 30px !important; }
	body.pb-pres-page .pb-pres > section.pb-pres-book { padding: 44px 0 56px; }
	body.pb-pres-page .pb-pres-note { align-items: flex-start; padding: 16px; }
	body.pb-pres-page .pb-pres-form { padding: 24px 16px 28px; border-radius: 22px; }
	body.pb-pres-page #primary .pb-gf-step__h { font-size: 20px !important; }
	body.pb-pres-page #primary #field_7_28 .gfield_radio { grid-template-columns: minmax(0, 1fr); }
	body.pb-pres-page #primary #field_7_36 .gfield_radio > li { flex: 1 1 0; min-width: 0; }
	body.pb-pres-page #primary #field_7_36 .gfield_radio > li > label { padding: 10px 8px !important; }
}
