/*
 * Refresh: Guided Tours (inc/refresh-tours.php), board "Tours C · Photos + Tour-at-a-Glance" (Aaron, Nov 18, 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 5 (steps, calendar, guests beside the calendar, Yes/No buttons, answer chips, total card).
 * 01 Page   02 Intro and photos   03 Includes and notes   04 Rules   05 Booking   06 Form 5   07 Calendar   08 Phones
 */

/* 01 Page */
body.pb-tours-page .pb-tours { font-family: var(--pb-font); color: var(--pb-ink); font-size: 18px; line-height: 1.7; }
body.pb-tours-page .pb-tours-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; } /* 1140px of content, lined up with the title */
body.pb-tours-page .pb-tours p { margin: 0 0 16px; max-width: none; font-size: 18px; line-height: 1.7; color: var(--pb-ink); }
body.pb-tours-page .pb-tours a:focus-visible { outline: 3px solid var(--pb-blue); outline-offset: 3px; }
body.pb-tours-page .pb-tours .pb-tours-h2 {
	margin: 0 0 20px !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-tours-page .pb-tours .pb-tours-h2::after { content: ""; display: block; width: 96px; height: 8px; margin-top: 14px; border-radius: 4px; background: var(--pb-sky); }
body.pb-tours-page .pb-tours .pb-tours-sub { font-weight: 700; }
body.pb-tours-page .pb-tours .pb-tours-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-tours-page .pb-tours .pb-tours-btn:hover { background: var(--pb-navy); }
body.pb-tours-page .pb-tours > section { padding: 64px 0 0; }

/* 02 Intro and photos */
body.pb-tours-page .pb-tours .pb-tours-lead { margin: 0 0 16px; font-family: var(--pb-font-num); font-weight: 900; font-size: 36px; line-height: 1.2; color: var(--pb-blue); max-width: 1000px; }
body.pb-tours-page .pb-tours-intro p:not(.pb-tours-lead) { max-width: 760px; }
body.pb-tours-page .pb-tours-mosaic { display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 12px !important; }
/* drawn as a Gallery block for the lightbox (pb_lightbox_photos()): core's gallery sizing off */
body.pb-tours-page .pb-tours-mosaic.wp-block-gallery { margin: 0 !important; flex-wrap: nowrap; }
body.pb-tours-page .pb-tours-mosaic.wp-block-gallery figure.wp-block-image { width: auto !important; height: 100% !important; margin: 0 !important; flex: none !important; }

body.pb-tours-page .pb-tours-mosaic img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 22px; }
body.pb-tours-page .pb-tours-mosaic figure:first-child { grid-row: 1 / 3; }

/* 03 What your tour includes (icons) and the visiting notes */
body.pb-tours-page .pb-tours-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
body.pb-tours-page .pb-tours ul.pb-tours-incl { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; max-width: none; }
body.pb-tours-page .pb-tours ul.pb-tours-incl li { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; font-size: 17px; line-height: 1.45; }
body.pb-tours-page .pb-tours ul.pb-tours-incl li::before { display: none; }
body.pb-tours-page .pb-tours ul.pb-tours-incl .pb-includes__badge { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; border-radius: 50%; background: var(--pb-pale); color: var(--pb-blue); }
body.pb-tours-page .pb-tours ul.pb-tours-incl .pb-includes__badge svg { width: 28px; height: 28px; }
body.pb-tours-page .pb-tours-notes { padding: 28px 32px; border-radius: 26px; background: var(--pb-pale); }
body.pb-tours-page .pb-tours-notes p { font-size: 17px; }
body.pb-tours-page .pb-tours-notes p:last-child { margin-bottom: 0; }

/* 04 Tour rules: two columns with light-blue dots */
body.pb-tours-page .pb-tours ul.pb-tours-rules { columns: 2; column-gap: 40px; list-style: none; margin: 0; padding: 0; max-width: none; }
body.pb-tours-page .pb-tours ul.pb-tours-rules li { break-inside: avoid; position: relative; margin: 0 0 12px; padding: 0 0 0 30px; font-size: 17px; line-height: 1.55; }
body.pb-tours-page .pb-tours ul.pb-tours-rules li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--pb-sky); }

/* 05 Booking: the form beside the tour-at-a-glance card (the card comes first, so it leads on phones) */
body.pb-tours-page .pb-tours > section.pb-tours-book { padding: 64px 0 80px; scroll-margin-top: 16px; }
body.pb-tours-page .pb-tours-book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 8px; }
body.pb-tours-page .pb-tours-form { grid-column: 1; grid-row: 1; min-width: 0; 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-tours-page .pb-tours-glance { grid-column: 2; grid-row: 1; position: sticky; top: 24px; padding: 26px; border-radius: 26px; border-bottom: 8px solid var(--pb-sky); background: var(--pb-blue); color: var(--pb-white); }
body.pb-tours-page .pb-tours .pb-tours-glance h3 { margin: 0 0 14px !important; padding: 0 !important; font-family: var(--pb-font) !important; font-size: 22px !important; font-weight: 900 !important; line-height: 1.2 !important; text-transform: none !important; color: var(--pb-white) !important; }
body.pb-tours-page .pb-tours .pb-tours-glance h3::before { display: none !important; }
body.pb-tours-page .pb-tours-glance dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 16px; line-height: 1.4; }
body.pb-tours-page .pb-tours-glance dt { font-weight: 800; color: #cdeef8; }
body.pb-tours-page .pb-tours-glance dd { margin: 0; }
body.pb-tours-page .pb-tours .pb-tours-glance p { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--pb-white); }

/* 06 Form 5 layout: one column at every width (calendar, then guests, then total; Aaron, Nov 19) */
body.pb-tours-page #primary #gform_fields_5 > li { min-width: 0; }
body.pb-tours-page #primary .pb-tours-form .gform_wrapper { max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.pb-tours-page #primary #gform_fields_5 > li.pb-gf-step { margin: 12px 0 18px !important; }
body.pb-tours-page #primary #gform_fields_5 > li.pb-gf-step:first-child { margin-top: 0 !important; }
body.pb-tours-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-tours-page #primary .pb-gf-step__h::before { display: none !important; }
body.pb-tours-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; }
/* Yes / No questions as two buttons; "How did you hear" answers as chips */
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li {
	position: relative;
	flex: 0 0 130px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li > input {
	position: absolute !important;
	opacity: 0;
	width: 1px !important;
	height: 1px !important;
}
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li > label {
	display: block !important;
	width: 100% !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-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li > label:hover { border-color: var(--pb-blue); }
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .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); }
body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li > input:focus-visible + label { outline: 3px solid var(--pb-navy); outline-offset: 3px; }
body.pb-tours-page #primary #field_5_7 .gfield_radio { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.pb-tours-page #primary #field_5_7 .gfield_radio > li { flex: 0 1 auto; min-height: 44px; box-sizing: border-box; padding: 10px 18px !important; border-radius: 999px !important; } /* 44px tap height */
/* Total as a light-blue card beside the calendar */
body.pb-tours-page #primary #field_5_19 { padding: 18px 20px !important; border-radius: 20px; background: var(--pb-pale); }
body.pb-tours-page #primary #field_5_19 .gfield_label { margin-bottom: 2px !important; font-size: 16px !important; color: var(--pb-navy) !important; }
body.pb-tours-page #primary #field_5_19 .ginput_total { font-size: 40px !important; }
/* The waiver's scroll box */
body.pb-tours-page #primary #field_5_9 :is(.gpts-terms, .gfield_description, .gform-field-description) { border-radius: 16px; }

/* 07 Calendar (Gravity Forms' date picker with the open Sundays from GP Limit Dates). As wide as the form column (Aaron,
   Nov 19): the table is laid out as a 7-column grid (rows display: contents), so every week row is the same height and the
   year/month rows hold round arrow buttons at each end with the select between them. */
body.pb-tours-page #primary #datepicker_5_11 { max-width: none; width: 100%; }
body.pb-tours-page #primary #datepicker_5_11 .gform-datepicker-calendar {
	box-sizing: border-box;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 18px 18px 14px;
	border: 2px solid #a7ddef !important;
	border-radius: 22px !important;
	background: var(--pb-white) !important;
	box-shadow: none !important;
	font-family: var(--pb-font) !important;
}
body.pb-tours-page #primary #datepicker_5_11 .gform-datepicker-calendar > div { width: 100% !important; max-width: none !important; }
body.pb-tours-page #primary #datepicker_5_11 table.calendar { display: block; width: 100% !important; margin: 0; border: 0 !important; background: none !important; }
body.pb-tours-page #primary #datepicker_5_11 table.calendar > tbody { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
body.pb-tours-page #primary #datepicker_5_11 table.calendar tr { display: contents; }
body.pb-tours-page #primary #datepicker_5_11 :is(td, th) { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 !important; border: 0 !important; background: none !important; text-align: center; }
body.pb-tours-page #primary #datepicker_5_11 td[colspan="5"] { grid-column: span 5; }
body.pb-tours-page #primary #datepicker_5_11 tr.monthSelector td { margin-bottom: 6px; }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn {
	justify-self: start;
	width: 44px !important;
	height: 44px !important;
	border: 2px solid var(--pb-blue) !important;
	border-radius: 50% !important;
	background: var(--pb-white) !important;
	color: var(--pb-blue) !important;
	cursor: pointer;
}
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.next { justify-self: end; }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn > span { display: none; } /* the text arrows; the icon below says the same (aria-label names the button) */
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--pb-cal-icon) center / contain no-repeat; mask: var(--pb-cal-icon) center / contain no-repeat; }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.prev.month { --pb-cal-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E"); }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.next.month { --pb-cal-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E"); }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.prev.year { --pb-cal-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 7l-5 5l5 5'/%3E%3Cpath d='M17 7l-5 5l5 5'/%3E%3C/svg%3E"); }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.next.year { --pb-cal-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l5 5l-5 5'/%3E%3Cpath d='M13 7l5 5l-5 5'/%3E%3C/svg%3E"); }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn:hover { background: var(--pb-blue) !important; color: var(--pb-white) !important; }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn.disabled { border-color: #c5ced6 !important; background: var(--pb-white) !important; color: #8a959e !important; cursor: default; }
body.pb-tours-page #primary #datepicker_5_11 td.nav.btn:focus-visible { outline: 3px solid var(--pb-navy) !important; outline-offset: 2px; }
body.pb-tours-page #primary #datepicker_5_11 select.nav.select {
	width: auto !important;
	max-width: 100%;
	min-height: 44px !important;
	margin: 0 auto !important;
	padding: 4px 34px 4px 14px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background-color: transparent !important;
	color: var(--pb-navy) !important;
	font-family: var(--pb-font) !important;
	font-size: 22px !important;
	font-weight: 900 !important;
	text-align: center;
	cursor: pointer;
}
body.pb-tours-page #primary #datepicker_5_11 tr.yearSelector select.nav.select { font-size: 17px !important; color: var(--pb-blue) !important; }
body.pb-tours-page #primary #datepicker_5_11 select.nav.select:hover { background-color: var(--pb-pale) !important; }
body.pb-tours-page #primary #datepicker_5_11 th.week { height: 32px; }
body.pb-tours-page #primary #datepicker_5_11 th.week span { font-size: 13px; font-weight: 800; color: #3d4650; }
body.pb-tours-page #primary #datepicker_5_11 :is(td.day, td.empty) { height: 52px; }
body.pb-tours-page #primary #datepicker_5_11 td.empty > span { display: none; }
body.pb-tours-page #primary #datepicker_5_11 td.day {
	border-radius: 14px !important; /* rounded squares keep their shape at any column width */
	color: #8a959e !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	cursor: default;
}
body.pb-tours-page #primary #datepicker_5_11 td.day:not(.disabled) {
	box-shadow: inset 0 0 0 2px var(--pb-blue);
	border-color: var(--pb-blue) !important;
	border-top: 0 !important;
	color: var(--pb-blue) !important;
	font-size: 17px !important;
	font-weight: 900 !important;
	cursor: pointer;
}
body.pb-tours-page #primary #datepicker_5_11 td.day:not(.disabled):hover { background: var(--pb-pale) !important; }
body.pb-tours-page #primary #datepicker_5_11 td.day.selected { background: var(--pb-blue) !important; box-shadow: 0 3px 0 var(--pb-navy) !important; color: var(--pb-white) !important; font-weight: 900 !important; }
body.pb-tours-page #primary #datepicker_5_11 td.day:focus-visible { outline: 3px solid var(--pb-navy) !important; outline-offset: 2px; }
body.pb-tours-page #primary #datepicker_5_11 td.day.disabled { background: none !important; box-shadow: none !important; }
/* the date picker's keyboard hint ("Press F1 for help"): kept, as a small grey footnote */
body.pb-tours-page #primary #datepicker_5_11 .monthMessage p { margin: 10px 0 0 !important; font-size: 13px !important; line-height: 1.4 !important; color: #5c6670 !important; text-align: center; }

/* 08 Tablets and phones */
@media (max-width: 1023px) {
	body.pb-tours-page .pb-tours-book__grid { grid-template-columns: minmax(0, 1fr); }
	body.pb-tours-page .pb-tours-form, body.pb-tours-page .pb-tours-glance { grid-column: 1; grid-row: auto; }
	body.pb-tours-page .pb-tours-glance { position: static; }
}
@media (max-width: 639px) {
	body.pb-tours-page .pb-tours > section { padding-top: 44px; }
	body.pb-tours-page .pb-tours .pb-tours-h2 { font-size: 30px !important; }
	body.pb-tours-page .pb-tours .pb-tours-lead { font-size: 26px; }
	body.pb-tours-page .pb-tours p { font-size: 17px; }
	body.pb-tours-page .pb-tours-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; gap: 8px !important; }
	body.pb-tours-page .pb-tours-mosaic figure:first-child { grid-column: 1 / 3; grid-row: auto; }
	body.pb-tours-page .pb-tours-mosaic figure:nth-child(n+4) { display: none !important; }
	body.pb-tours-page .pb-tours-about__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	body.pb-tours-page .pb-tours-notes { padding: 22px; }
	body.pb-tours-page .pb-tours ul.pb-tours-rules { columns: 1; }
	body.pb-tours-page .pb-tours > section.pb-tours-book { padding: 44px 0 56px; }
	body.pb-tours-page .pb-tours-form { padding: 24px 16px 28px; border-radius: 22px; }
	body.pb-tours-page #primary .pb-gf-step__h { font-size: 20px !important; }
	body.pb-tours-page #primary :is(#field_5_32, #field_5_28, #field_5_30, #field_5_21) .gfield_radio > li { flex: 1 1 0; }
	body.pb-tours-page #primary #datepicker_5_11 :is(td.day, td.empty) { height: 40px; }
	body.pb-tours-page #primary #datepicker_5_11 table.calendar > tbody { gap: 4px; }
	body.pb-tours-page #primary #datepicker_5_11 .gform-datepicker-calendar { padding: 14px 10px 10px; }
	body.pb-tours-page #primary #datepicker_5_11 select.nav.select { font-size: 19px !important; padding-right: 28px !important; }
}
body.pb-tours-page #primary #field_5_24 .gfield_list { border: 0 !important; }
/* The date picker draws its own small circle inside each day (grey, or #204ce5 when chosen): drop it, the cell is the shape. */
body.pb-tours-page #primary #datepicker_5_11 td.day > span { display: inline !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: inherit !important; font: inherit !important; line-height: 1 !important; }
/* Social handles: no grey row borders */
body.pb-tours-page #primary #field_5_24 :is(tr, td, th, table) { border: 0 !important; }

/* "We can't book" notices (fields 29, 33, 31), design A (Aaron, Nov 21, 2026). */
body.pb-tours-page #primary .pb-tour-stop { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 0; padding: 18px 20px; background: #fef3f2; border: 2px solid #f3b8b2; border-left: 8px solid #b42318; border-radius: 16px; color: #1f2328; font-weight: 400; }
body.pb-tours-page #primary .pb-tour-stop__icon { flex: none; margin-top: 2px; color: #b42318; line-height: 0; }
body.pb-tours-page #primary .pb-tour-stop p { margin: 0 0 8px; color: #1f2328; font-weight: 400; font-size: 17px; line-height: 1.55; }
body.pb-tours-page #primary .pb-tour-stop p.pb-tour-stop__h { color: #b42318; font-weight: 800; font-size: 21px; line-height: 1.3; }
body.pb-tours-page #primary .pb-tour-stop p.pb-tour-stop__more { margin: 0; font-size: 15px; }
body.pb-tours-page #primary .pb-tour-stop a { color: #b42318; font-weight: 700; text-decoration: underline; }
body.pb-tours-page #primary .pb-tour-stop a:focus-visible { outline: 3px solid #b42318; outline-offset: 2px; }
@media (max-width: 600px) {
	body.pb-tours-page #primary .pb-tour-stop { padding: 16px; gap: 10px; }
	body.pb-tours-page #primary .pb-tour-stop p.pb-tour-stop__h { font-size: 19px; }
}
/* The "4 Waiver" step heading hides when the waiver field after it is hidden (a "we can't book" answer). */
body.pb-tours-page #primary #gform_fields_5 > .pb-gf-step:has(+ .gfield[style*="display: none"]),
body.pb-tours-page #primary #gform_fields_5 > .pb-gf-step:has(+ .gfield[style*="display:none"]) { display: none !important; }
