/*
Theme Name: Bushtucker
Theme URI: https://bushtuckertours.com
Author: Rethink Marketing
Author URI: https://bushtuckertours.com
Description: A standalone block theme for Bushtucker Tours, Margaret River. Colours, fonts and sizes live in theme.json. This file holds only the small amount of CSS that theme.json cannot express.
Version: 0.2.11
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bushtucker
*/

/* =====================================================================
   HOW TO READ THIS FILE (for Ant)
   ---------------------------------------------------------------------
   The block of text above is the "theme header". WordPress reads it to
   learn the theme's name and version. Do not delete it.

   Everything below is normal CSS. CSS is a list of rules. Each rule says
   "find things that look like THIS, and style them like THAT".
   - A selector such as .is-style-stamp means "any block with the class
     is-style-stamp". WordPress adds that class when an editor picks the
     "Stamp" style in the block settings sidebar.
   - var(--wp--preset--color--gold) means "the Gold colour from
     theme.json". If a colour changes in theme.json, it changes here too.
   - @media (max-width: 599px) means "only on phones".
   - @media (min-width: 1024px) means "only on desktop".

   The sections, in order:
     1. Helper classes (hide on phone, and so on)
     2. Focus outlines and tap targets (accessibility)
     3. Links, navigation and buttons
     4. Header
     5. Footer
     6. Block style: Photo print (and its two tilts)
     7. Block style: Handwritten, Note tag, Stamp
     8. Block style: Ruled list
     9. Block style: Tour row
    10. The gold marker underline (highlight trick)
    11. Quick facts table
    12. Details (fold-open) blocks
    13. Sticky booking card
    14. Phone bottom bar
    15. Page layout fixes
    16. Reduced motion
   ===================================================================== */


/* =====================================================================
   1. HELPER CLASSES
   Add these in the block's "Additional CSS class(es)" box to hide a
   block on some screen sizes. Phones are under 600px wide, desktop is
   1024px and wider.
   ===================================================================== */

/* Hide on phones only. */
@media (max-width: 599px) {
	.bt-hide-phone {
		display: none !important;
	}
}

/* Show on phones only (hidden on tablet and desktop). */
@media (min-width: 600px) {
	.bt-only-phone {
		display: none !important;
	}
}

/* Hide on phones and tablets (so it only shows on desktop). */
@media (max-width: 1023px) {
	.bt-hide-below-desktop {
		display: none !important;
	}
}


/* =====================================================================
   2. FOCUS OUTLINES AND TAP TARGETS
   Keyboard users need to see where they are. The design rule is a 3px
   Dark green outline with a 2px gap. Tap targets are at least 44px tall
   so thumbs can hit them.
   ===================================================================== */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-element-button:focus-visible,
.wp-block-navigation-item__content:focus-visible,
.wp-block-navigation__responsive-container-open:focus-visible,
.wp-block-navigation__responsive-container-close:focus-visible {
	outline: 3px solid var(--wp--preset--color--dark-green);
	outline-offset: 2px;
}

/* Dark green does not show up on the Ink footer, so use Gold there. */
.bt-footer a:focus-visible {
	outline-color: var(--wp--preset--color--gold);
}

/* All buttons are at least 44px tall and centre their text. */
.wp-block-button__link,
.wp-element-button {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

/* When someone jumps to an anchor such as #book, leave a little room above it. */
:target {
	scroll-margin-top: 16px;
}


/* =====================================================================
   3. LINKS, NAVIGATION AND BUTTONS
   Basic link colours are set in theme.json (Dark green, hover Ochre
   dark). This section adds the finer details.
   ===================================================================== */

/* Underlines sit a little lower so they do not cut through letters. */
a {
	text-underline-offset: 0.15em;
}

/* Menu links: Ink text, no underline until hovered, big tap target. */
.wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 600;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--ochre-dark);
	text-decoration: underline;
}

/* The page you are on gets a thick Gold underline. WordPress adds the
   class "current-menu-item" to the menu link that matches the page. */
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--gold);
	text-decoration-thickness: 4px;
	text-underline-offset: 6px;
}

/* The "Menu" button on phones is a word, not just an icon. */
.wp-block-navigation__responsive-container-open {
	min-height: 44px;
	padding: 0 12px;
	font-weight: 700;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 3px;
	background: transparent;
	color: var(--wp--preset--color--ink);
	/* Centre the word "Menu" up and down inside the button (review fix). */
	display: inline-flex;
	align-items: center;
}

/* Outlined button (block style "Outlined ink").
   Use for enquiries and links to other pages. Solid green means "book". */
.wp-block-button.is-style-outline-ink .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 2px solid var(--wp--preset--color--ink);
}

.wp-block-button.is-style-outline-ink .wp-block-button__link:hover,
.wp-block-button.is-style-outline-ink .wp-block-button__link:focus {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}


/* =====================================================================
   4. HEADER
   Two rows: a thin top strip (reviews, pickup, phone) and the main row
   (logo, stamp, menu, Book button). A 2px Ink rule sits underneath.
   The files are parts/header.html and parts/header-tour.html.
   ===================================================================== */

/* Both rows line up with the wide column (1280px) and keep a side gutter. */
.bt-top-strip,
.bt-header-main {
	padding-inline: max(
		var(--wp--preset--spacing--gutter),
		calc((100% - var(--wp--style--global--wide-size)) / 2)
	);
}

.bt-top-strip {
	font-size: var(--wp--preset--font-size--small);
	padding-block: 6px;
	gap: 4px 24px;
}

.bt-top-strip p {
	margin: 0;
}

/* Tap-to-call link in the strip needs room for a thumb: at least 44px tall,
   which is the minimum touch target size in the accessibility guidelines. */
.bt-top-strip a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}

/* 5.3 (F6): the "Call" word before the phone number lives in a span. Inside
   an inline-flex link the space after the word is dropped, so the number ran
   into the word ("Call08..."). A small right margin puts the gap back. */
.bt-top-strip a .bt-only-phone {
	margin-right: 0.3em;
}

/* 5.3 (F7): the pickup note names the towns only on wide screens, so the
   strip stays on one line at 1024px. Below 1200px it just says
   "Free pickup on winery and brewery tours". */
@media (max-width: 1199px) {
	.bt-strip-towns {
		display: none;
	}
}

.bt-header-main {
	padding-block: 14px;
	gap: 12px 24px;
	border-bottom: 2px solid var(--wp--preset--color--ink);
}

/* The logo link wraps the inline SVG (see patterns/site-logo.php). */
.bt-logo {
	display: block;
	line-height: 0;
}

.bt-logo svg {
	display: block;
	width: 196px;
	height: auto;
}

@media (min-width: 1024px) {
	.bt-logo svg {
		width: 260px;
	}
}

/* The menu takes the free space and sits to the right of the logo. */
.bt-header-main .wp-block-navigation {
	margin-left: auto;
}

/* The header Book button never wraps onto two lines. */
.bt-header-main .wp-block-button__link {
	white-space: nowrap;
}

/* On phones the logo and "Menu" button share the row. */
@media (max-width: 599px) {
	.bt-header-main {
		flex-wrap: nowrap !important;
	}
}


/* =====================================================================
   5. FOOTER
   Ink background, three columns. Colours come from the block settings
   (Ink background, Footer text colour); this only fixes the links.
   ===================================================================== */

.bt-footer {
	padding-inline: max(
		var(--wp--preset--spacing--gutter),
		calc((100% - var(--wp--style--global--wide-size)) / 2)
	);
	padding-block: var(--wp--preset--spacing--section-m);
}

/* Links in the footer use the light Footer text colour, Gold on hover.
   Each link is at least 44px tall so it is easy to tap on a phone. */
.bt-footer a {
	color: var(--wp--preset--color--footer-text);
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.bt-footer a:hover {
	color: var(--wp--preset--color--gold);
}

.bt-footer h2 {
	color: var(--wp--preset--color--footer-text);
	font-size: var(--wp--preset--font-size--row-title);
	margin-bottom: var(--wp--preset--spacing--30);
}

.bt-footer p {
	margin-block: 0 var(--wp--preset--spacing--20);
}

/* Link lists: a little space so each link is easy to tap. */
.bt-footer .bt-footer-links p {
	margin-block: 0;
}

.bt-footer .bt-footer-links a {
	display: inline-block;
	padding-block: 6px;
}

/* The thin line above the copyright uses the Muted colour. */
.bt-footer .bt-footer-legal {
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}


/* =====================================================================
   6. BLOCK STYLE: PHOTO PRINT
   Makes a photo look like a printed snapshot: white border, a faint
   outline, and (for the tilt styles) a slight turn.
   Three styles are registered in functions.php:
     photo-print             straight, no tilt
     photo-print-tilt-left   turned a little anticlockwise
     photo-print-tilt-right  turned a little clockwise
   They work on Image, Video and Cover blocks.

   Border size is set with a variable (--bt-print-border):
     10px normally, 9px on phones, 8px on small prints.
   To mark a print as small, add the class "bt-print-small".
   ===================================================================== */

.is-style-photo-print,
.is-style-photo-print-tilt-left,
.is-style-photo-print-tilt-right {
	--bt-print-border: 10px;
}

.size-thumbnail.is-style-photo-print,
.size-thumbnail.is-style-photo-print-tilt-left,
.size-thumbnail.is-style-photo-print-tilt-right,
.bt-print-small {
	--bt-print-border: 8px;
}

/* 5.3 (F2): a "small" print must really be small. Before this the class only
   made the white border thinner. The print is held to 300px wide and centred
   in whatever column it sits in (the pages below override the position where
   a print needs to overlap another one). */
.bt-print-small {
	max-width: 300px;
	margin-inline: auto;
}

@media (max-width: 599px) {
	.is-style-photo-print:not(.bt-print-small),
	.is-style-photo-print-tilt-left:not(.bt-print-small),
	.is-style-photo-print-tilt-right:not(.bt-print-small) {
		--bt-print-border: 9px;
	}
}

/* Image and Video: the border goes on the picture itself. */
.wp-block-image:is(.is-style-photo-print, .is-style-photo-print-tilt-left, .is-style-photo-print-tilt-right) img,
.wp-block-video:is(.is-style-photo-print, .is-style-photo-print-tilt-left, .is-style-photo-print-tilt-right) video {
	display: block;
	box-sizing: border-box;
	border: var(--bt-print-border) solid var(--wp--preset--color--white);
	outline: 1px solid var(--wp--preset--color--print-edge);
	background: var(--wp--preset--color--white);
}

/* Embed (the Vimeo hero videos): the border goes on the box that holds the
   video player. Margin is removed so the frame sits like the photo prints. */
.wp-block-embed:is(.is-style-photo-print, .is-style-photo-print-tilt-left, .is-style-photo-print-tilt-right) {
	margin: 0;
}
.wp-block-embed:is(.is-style-photo-print, .is-style-photo-print-tilt-left, .is-style-photo-print-tilt-right) .wp-block-embed__wrapper {
	box-sizing: border-box;
	border: var(--bt-print-border) solid var(--wp--preset--color--white);
	outline: 1px solid var(--wp--preset--color--print-edge);
	background: var(--wp--preset--color--ink);
}

/* Cover: the border goes on the whole block, because the picture is inside it. */
.wp-block-cover:is(.is-style-photo-print, .is-style-photo-print-tilt-left, .is-style-photo-print-tilt-right) {
	box-sizing: border-box;
	border: var(--bt-print-border) solid var(--wp--preset--color--white);
	outline: 1px solid var(--wp--preset--color--print-edge);
}

/* The tilts. These are CSS transforms only, so they never move other content. */
.is-style-photo-print-tilt-left {
	transform: rotate(-1.75deg);
}

.is-style-photo-print-tilt-right {
	transform: rotate(3deg);
}

/* In a tour row on phones the photo sits straight so the row stays tidy. */
@media (max-width: 599px) {
	.is-style-tour-row .is-style-photo-print-tilt-left,
	.is-style-tour-row .is-style-photo-print-tilt-right {
		transform: none;
	}
}


/* =====================================================================
   7. BLOCK STYLES: HANDWRITTEN, NOTE TAG, STAMP
   All three are for Paragraph blocks and use the handwriting font
   (Reenie Beanie). Handwriting is for asides only. Never use it for
   anything a visitor must read to book.

   CONTRAST RULE: Ochre handwriting is only readable on Paper, and only
   at 24px or bigger. All three hand sizes in theme.json are 24px or
   more. On Sand the handwriting switches to Ochre dark. On Gold or Sky
   it switches to Ink. On Ink it switches to Gold.
   If an editor picks a text colour in the sidebar, that choice wins.
   ===================================================================== */

.is-style-handwritten {
	font-family: var(--wp--preset--font-family--hand);
	font-size: var(--wp--preset--font-size--hand-m);
	font-weight: 400;
	line-height: 1.1;
	color: var(--wp--preset--color--ochre);
	transform: rotate(-2deg);
	transform-origin: left center;
}

.has-sand-background-color .is-style-handwritten {
	color: var(--wp--preset--color--ochre-dark);
}

.has-gold-background-color .is-style-handwritten,
.has-sky-background-color .is-style-handwritten {
	color: var(--wp--preset--color--ink);
}

.has-ink-background-color .is-style-handwritten {
	color: var(--wp--preset--color--gold);
}

/* Note tag: white handwriting on an Ink tag, usually laid over a photo.
   Move it onto a photo with negative margins in the block's Spacing settings. */
.is-style-note-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--hand);
	font-size: var(--wp--preset--font-size--hand-m);
	font-weight: 400;
	line-height: 1.15;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--ink);
	padding: 0.15em 0.6em 0.2em;
	transform: rotate(-3deg);
	position: relative;
	z-index: 1;
}

/* Stamp: the "since 1990" mark. Handwriting inside an oval border. */
.is-style-stamp {
	display: inline-block;
	font-family: var(--wp--preset--font-family--hand);
	font-size: var(--wp--preset--font-size--hand-m);
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	color: var(--wp--preset--color--ochre-dark);
	border: 2px solid var(--wp--preset--color--ochre-dark);
	border-radius: 50%;
	padding: 0.2em 0.8em 0.25em;
	transform: rotate(-8deg);
}


/* =====================================================================
   8. BLOCK STYLE: RULED LIST
   A list with a 2px Ink rule at the top and bottom and a 1px rule
   between rows. Works on a Group (each child becomes a row) and on a
   List block (each bullet becomes a row).
   ===================================================================== */

.wp-block-group.is-style-ruled-list,
.wp-block-list.is-style-ruled-list {
	border-top: 2px solid var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--ink);
	margin-block: 0;
}

.wp-block-group.is-style-ruled-list > * {
	margin-block: 0;
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-group.is-style-ruled-list > * + * {
	border-top: 1px solid var(--wp--preset--color--ink);
}

/* On a List block we remove the bullets and rule each item instead. */
.wp-block-list.is-style-ruled-list {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-ruled-list > li {
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-list.is-style-ruled-list > li + li {
	border-top: 1px solid var(--wp--preset--color--ink);
}


/* =====================================================================
   9. BLOCK STYLE: TOUR ROW
   Put on a Columns block with three columns: photo, text, price.
   Desktop (1024px and up): photo 300px, text fills, price 170px.
   Tablet: slightly narrower. Phone: stacks, with the price and the
   Book button side by side on one line.
   We use CSS grid here instead of the normal columns layout so the
   widths are exact.
   ===================================================================== */

.wp-block-columns.is-style-tour-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 150px;
	gap: var(--wp--preset--spacing--50);
	align-items: center;
	padding-block: var(--wp--preset--spacing--50);
}

@media (min-width: 1024px) {
	.wp-block-columns.is-style-tour-row {
		grid-template-columns: 300px minmax(0, 1fr) 170px;
		gap: var(--wp--preset--spacing--60);
	}
}

/* Columns normally set their own widths. Here the grid decides. */
.wp-block-columns.is-style-tour-row > .wp-block-column {
	flex-basis: auto !important;
	width: auto;
	min-width: 0;
}

.is-style-tour-row .wp-block-image img {
	width: 100%;
	height: auto;
}

@media (max-width: 599px) {
	.wp-block-columns.is-style-tour-row {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--30);
	}

	/* The last column holds the price and the button. Put them on one line. */
	.wp-block-columns.is-style-tour-row > .wp-block-column:last-child {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--30);
	}
}


/* =====================================================================
   10. THE GOLD MARKER UNDERLINE
   WordPress already has a Highlight tool for text (select words, open
   the toolbar's "More" menu, choose Highlight). When the highlight
   colour chosen is GOLD, we swap the usual coloured background for a
   thick gold underline, like a marker pen.
   WordPress saves the words as <mark class="has-inline-color has-gold-color">.
   The "!important" is needed because WordPress colour classes use it too.
   The underline is 0.28em thick, so it grows with the font size.
   ===================================================================== */

mark.has-gold-color {
	background: none;
	color: inherit !important;
	/* The line is 0.2 of the text size, but never thinner than 6px or thicker
	   than 9px, so it looks the same weight on body text and on big headings. */
	box-shadow: inset 0 calc(-1 * clamp(6px, 0.2em, 9px)) 0 var(--wp--preset--color--gold);
	/* Keep the underline neat when the words wrap onto a second line. */
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 0;
}


/* =====================================================================
   11. QUICK FACTS TABLE
   Add the class "bt-facts" to a Table block. The left cells are row
   headers in the heading font. 2px Ink rules top and bottom, 1px between
   rows. On phones each row stacks (label above answer).
   ===================================================================== */

.wp-block-table.bt-facts table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--ink);
}

.wp-block-table.bt-facts :is(th, td) {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20);
	text-align: left;
	vertical-align: top;
}

.wp-block-table.bt-facts tr:first-child :is(th, td) {
	border-top: 0;
}

.wp-block-table.bt-facts th {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	width: 9em;
}

/* Phone: stack label and answer. It is still a real table in the code. */
@media (max-width: 599px) {
	.wp-block-table.bt-facts :is(tr, th, td) {
		display: block;
		width: auto;
	}

	.wp-block-table.bt-facts tr {
		border-top: 1px solid var(--wp--preset--color--ink);
	}

	.wp-block-table.bt-facts tr:first-child {
		border-top: 0;
	}

	.wp-block-table.bt-facts :is(th, td) {
		border-top: 0;
		padding-inline: 0;
	}

	.wp-block-table.bt-facts th {
		padding-bottom: 0;
	}

	.wp-block-table.bt-facts td {
		padding-top: 2px;
	}
}


/* =====================================================================
   12. DETAILS (FOLD-OPEN) BLOCKS
   Used for the FAQ and for text folded away on phones. The text stays in
   the page code, so search engines still read it.
   ===================================================================== */

.wp-block-details {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-block: 0;
}

.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.wp-block-details summary {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--lead);
	cursor: pointer;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* Remove the browser's own small triangle; we draw a + and - instead. */
	list-style: none;
	padding-block: var(--wp--preset--spacing--30);
}

/* Safari shows its triangle through a different route, so hide that too. */
.wp-block-details summary::-webkit-details-marker {
	display: none;
}

/* A plus sign at the right of a closed fold tells people they can open it. */
.wp-block-details summary::after {
	content: "+";
	font-size: 1.4em;
	line-height: 1;
	margin-left: 12px;
}

/* When the fold is open the plus becomes a minus sign. */
.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details[open] summary {
	padding-bottom: var(--wp--preset--spacing--20);
}

.wp-block-details > :not(summary) {
	padding-bottom: var(--wp--preset--spacing--30);
}


/* =====================================================================
   13. STICKY BOOKING CARD
   On desktop the booking card stays on screen while the visitor reads.
   Add the class "bt-booking-card" to the card's Group block.
   It only works if no parent block hides overflow. The admin bar
   height is added so it does not hide under it when logged in.
   ===================================================================== */

@media (min-width: 1024px) {
	.bt-booking-card {
		position: sticky;
		top: calc(16px + var(--wp-admin--admin-bar--height, 0px));
		align-self: flex-start;
	}
}


/* =====================================================================
   14. PHONE BOTTOM BAR
   A bar fixed to the bottom of the screen on phones with a price and a
   Book button (parts/bottom-bar.html and parts/bottom-bar-tour.html).
   - Only phones see it.
   - It slides in once the hero button (class "bt-hero-cta") or the
     element with id "top" has scrolled out of view.
   - assets/js/bottom-bar.js adds the class "bt-bar-visible" to <body>.
   - The "bt-site" class on <body> is added by functions.php. It makes
     sure the bar only turns into a fixed bar on the live site, so you
     can still see and edit it normally inside the editor.
   ===================================================================== */

.bt-bottom-bar {
	background: var(--wp--preset--color--card);
	border-top: 2px solid var(--wp--preset--color--ink);
	padding: 10px var(--wp--preset--spacing--gutter);
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	gap: 12px;
}

.bt-bottom-bar p {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--row-title);
	line-height: 1.1;
}

/* All screen sizes (changed at Gate G3: Ant wanted the bar on desktop too).
   Fixed to the bottom, tucked out of sight until needed. */
@media all {
	.bt-site .bt-bottom-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		transform: translateY(100%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0s linear 0.25s;
	}

	.bt-site.bt-bar-visible .bt-bottom-bar {
		transform: none;
		visibility: visible;
		transition: transform 0.25s ease, visibility 0s;
	}

	/* Room at the bottom of the page so the bar never covers the footer. */
	.bt-site.bt-bar-visible {
		padding-bottom: 76px;
	}
}

/* Desktop and tablet: line the bar's price and button up with the 1000px
   page column instead of the screen edges. max() picks the bigger of the
   normal side gap and "half of whatever is left over beside 1000px". */
@media (min-width: 600px) {
	.bt-site .bt-bottom-bar {
		padding-inline: max(var(--wp--preset--spacing--gutter), calc((100vw - 1000px) / 2));
	}
}


/* =====================================================================
   15. PAGE LAYOUT FIXES
   ===================================================================== */

/* Header, main and footer touch each other. Space is set inside them. */
body .wp-site-blocks > * {
	margin-block-start: 0;
}

/* Full-width bands in a page touch each other with no gap between them. */
.wp-block-post-content > .alignfull {
	margin-block: 0;
}

/* Plain text pages (page.html, index.html, 404.html) get breathing room. */
.bt-main-text {
	padding-block: var(--wp--preset--spacing--section-l);
}

/* Smooth scrolling to anchors, but only for people who have not asked
   their device to cut down on motion. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}


/* =====================================================================
   16. REDUCED MOTION
   Some people get dizzy or unwell from movement. If their device says
   "reduce motion", we switch off every tilt, turn and slide.
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
	[class*="is-style-photo-print"],
	.is-style-handwritten,
	.is-style-note-tag,
	.is-style-stamp {
		transform: none !important;
	}

	.bt-bottom-bar {
		transition: none !important;
	}
}


/* =====================================================================
   REVIEW FIXES (task 2.6)
   ===================================================================== */

/* Between 1024px and 1199px the header row is too long for one line
   (logo + stamp + five menu words + button). Hide the stamp, shrink the
   logo a little and close up the menu so it all fits on one row. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.bt-header-main .is-style-stamp {
		display: none;
	}
	.bt-logo svg {
		width: 220px;
	}
	.bt-header-main .wp-block-navigation {
		gap: 16px;
	}
}

/* On the gold and sky bands the orange stamp only just passes contrast,
   so draw it in Ink there instead. */
.has-gold-background-color .is-style-stamp,
.has-sky-background-color .is-style-stamp {
	color: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
}

/* Crisp chat bubble on phones (decision at task 2.6).
   Crisp is a separate plugin, so its class names change between versions.
   We target its stable parts instead: the box with id "crisp-chatbox" and the
   floating launcher inside it, which carries data-maximized="false" while the
   chat is closed. Only the closed launcher moves; the open chat window is left
   alone so it can still fill the screen. */
@media (max-width: 599px) {
	/* Copyright line rule follows below. */
	/* Keep the copyright line clear of the bubble in the bottom-right corner. */
	.bt-footer-legal {
		padding-right: 80px;
	}
}


/* =====================================================================
   PATTERNS (task 3.1 and 3.2)
   ===================================================================== */

/* "Fold on phones, open on desktop" wrapper.
   Some sections (typical day, Helen's story) are wrapped in a Details
   block with the class bt-fold-wrap. On a phone the visitor sees a
   "Read the ..." bar they can tap. On tablet and desktop the content is
   simply shown, so we hide the bar and the box lines around it.
   (A small script closes the fold on phones. The text stays in the page
   either way, so search engines can read it.) */
@media (min-width: 600px) {
	details.wp-block-details.bt-fold-wrap {
		border: 0;
	}

	details.wp-block-details.bt-fold-wrap > summary {
		display: none;
	}
}

/* Tour title on phones and small tablets (lead fix, Phase 3).
   On a wide screen the title area has two columns: text and photos on the
   left, booking card on the right. When the columns stack (below 782px,
   where WordPress stacks Columns blocks), the design wants this order:
   title text first, then the booking card, then the photo.
   How it works: "display: contents" lets the left column's children take
   part in the outer layout directly, and "order" then decides who goes first. */
@media (max-width: 781px) {
	.bt-tour-title {
		display: flex;
		flex-direction: column;
	}
	.bt-tour-title > .bt-title-text {
		display: contents;
	}
	.bt-tour-title > .bt-title-card {
		order: 1;
	}
	.bt-tour-title .bt-title-prints {
		order: 2;
	}

	/* 5.3 (F1, A2): in a column flex box, items may shrink when space is
	   tight. The video box gets its height from percentage padding, so its
	   "minimum" height was almost zero and the browser squashed it to a strip.
	   "flex-shrink: 0" says: never shrink these boxes, keep their natural
	   height. The embed also gets an explicit 16:9 ratio as a second guard. */
	.bt-tour-title > .bt-title-text > *,
	.bt-tour-title > .bt-title-card,
	.bt-tour-title .bt-title-prints,
	.bt-tour-title .bt-title-prints > * {
		flex-shrink: 0;
	}
	.bt-tour-title .wp-block-embed__wrapper {
		aspect-ratio: 16 / 9;
		height: auto;
	}
}


/* Crisp chat bubble, all screen sizes: when the bottom booking bar is
   showing, lift the closed bubble above it so the two never overlap. */
body.bt-bar-visible #crisp-chatbox [data-maximized="false"] {
	bottom: 84px !important;
	transition: bottom 0.2s ease;
}


/* =====================================================================
   WP REVIEW SLIDER (added 19 Nov 2026, decision 19)
   The review plugin draws its own cards. These rules restyle them to the
   field-notebook look: square corners, no shadows, a thin ink rule round
   each card, Ink text (the plugin's grey failed contrast), names in the
   heading font and gold stars.
   The plugin gives each template its own id, matching the template number
   in the plugin: #wprev-slider-1 (Review Slider), #wprev-slider-2 (Reviews
   Page) and #wprev-slider-3 (Review Slider Mobile). Each rule below starts
   with those ids so it is strong enough to win over the plugin's own rules.
   ===================================================================== */

/* The card: Card colour, thin ink rule, square corners, no shadow. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) .indrevdiv.indrevdiv {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	box-shadow: none;
}

/* Template 1 and 3 draw a little speech-bubble tail under each card.
   It does not suit the ruled look, so it is hidden. */
:is(#wprev-slider-1, #wprev-slider-3) .wprev_preview_bg1_T1.indrevdiv::after {
	display: none;
}

/* Review text: Ink, upright, normal body size. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) .indrevtxt.indrevtxt {
	color: var(--wp--preset--color--ink);
	font-style: normal;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.55;
}

/* Reviewer's name in the heading font; the date smaller and muted. */
:is(#wprev-slider-1, #wprev-slider-3) .wprevname.wprevpro_t1_rname,
#wprev-slider-2 #wprev_showname {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 18px;
	color: var(--wp--preset--color--ink);
	text-transform: none;
}
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) .wprevdate,
:is(#wprev-slider-1, #wprev-slider-3) .wprev_showdate_T1 {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	text-transform: none;
}

/* Stars in the site's gold instead of the plugin's yellow. The stars are
   shapes filled with a background colour, so "background" sets them. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) .wprevpro_star_imgs span.svgicons {
	background: var(--wp--preset--color--gold);
}

/* Reviewer photos as small square photo prints with a white border. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) img.wprevpro_avatarimg {
	border-radius: 0;
	border: 3px solid var(--wp--preset--color--white);
	outline: 1px solid var(--wp--preset--color--print-edge);
	box-shadow: none;
}
/* The Reviews Page template uses very large photos: bring them down. */
#wprev-slider-2 img.wpproslider_t3_avatar {
	width: 72px;
	height: 72px;
}
#wprev-slider-2 .wpproslider_t3_DIV_2 {
	background: transparent;
}

/* "Read more" links inside reviews: the site's link green, not blue. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) :is(.wprs_rd_more, .wprs_rd_less, .wprevpro_btn_show_rdpop) {
	color: var(--wp--preset--color--dark-green);
}

/* 5.3 (A1): the plugin adds a link to each review photo (class
   wprev_media_img_a). On this site the photos are squashed to 0px, leaving
   empty invisible links that keyboard users have to Tab through (17 on the
   home page). display:none removes them from the page and the tab order. */
:is(#wprev-slider-1, #wprev-slider-2, #wprev-slider-3) .wprev_media_div {
	display: none;
}

/* Slider arrows: square, 44px (an easy tap), Card colour with an ink rule. */
.wprs_unslider .wprs_unslider-arrow.wprs_nav_arrow_1,
.wprs_unslider .wprs_unslider-arrow {
	width: 44px;
	height: 44px;
	border-radius: 0;
	background-color: var(--wp--preset--color--card);
	border: 2px solid var(--wp--preset--color--ink);
}
.wprs_unslider .wprs_unslider-arrow:focus-visible {
	outline: 3px solid var(--wp--preset--color--dark-green);
	outline-offset: 2px;
}

/* 5.3 (A11): the dots are only 9px wide. An invisible box (the ::after
   below) reaches 8px past each edge, so the tappable area is about 25px
   without changing how the dot looks. */
.wprs_unslider .wprs_unslider-nav ol li button {
	position: relative;
}
.wprs_unslider .wprs_unslider-nav ol li button::after {
	content: "";
	position: absolute;
	inset: -8px;
}

/* Slide dots: small ink squares; the current one filled in gold. */
.wprs_unslider .wprs_unslider-nav ol li button {
	border-radius: 0;
	background: transparent;
	border: 1px solid var(--wp--preset--color--ink);
}
.wprs_unslider .wprs_unslider-nav ol li.wprs_unslider-active button {
	background: var(--wp--preset--color--gold);
}


/* =====================================================================
   GRAVITY FORMS (added 19 Nov 2026)
   Restyles every Gravity Form on the site (the payment form on /pay/ and
   the group enquiry form) to match the field-notebook look.
   Gravity Forms' own CSS is switched off on this site ("no framework"),
   so the theme also supplies the basic layout and must hide the plugin's
   hidden fields, including the anti-spam "honeypot" field.
   Everything is scoped to .gform_wrapper so nothing else is affected.
   ===================================================================== */

/* Fields that must never show. The honeypot catches spam robots: if a
   person could see it, they might fill it in and be marked as spam. */
.gform_wrapper .gform_validation_container,
.gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gform_hidden,
.gform_wrapper .gf_hidden,
.gform_wrapper .gfield_visibility_hidden {
	display: none !important;
}

/* Text only screen readers hear (for example hidden sub-labels). */
.gform_wrapper .screen-reader-text,
.gform_wrapper .hidden_label > .gfield_label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Layout: a 12-column grid, so half-width and third-width fields set in
   the form editor sit side by side. On phones every field is full width. */
.gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 22px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gform_wrapper .gfield {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
@media (min-width: 600px) {
	.gform_wrapper .gfield--width-half { grid-column: span 6; }
	.gform_wrapper .gfield--width-third { grid-column: span 4; }
	.gform_wrapper .gfield--width-two-thirds { grid-column: span 8; }
	.gform_wrapper .gfield--width-quarter { grid-column: span 3; }
	.gform_wrapper .gfield--width-three-quarter { grid-column: span 9; }
}

/* Field labels (and the "legend" used for groups of choices). */
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.25;
	color: var(--wp--preset--color--ink);
}

/* "(Required)" after a label. Ochre dark passes contrast on Paper. */
.gform_wrapper .gfield_required {
	margin-left: 6px;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--ochre-dark);
}

/* Help text under or over a field, and sub-labels such as First / Last. */
.gform_wrapper .gfield_description,
.gform_wrapper .ginput_complex label,
.gform_wrapper .gform-field-label--type-sub {
	display: block;
	margin: 6px 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
}
.gform_wrapper .field_description_above .gfield_description {
	margin: 0 0 6px;
}

/* Text boxes, drop-downs and the message box. 16px text stops phones
   zooming in when a box is tapped; 48px height is an easy tap. */
.gform_wrapper input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"], [type="password"], [type="date"]),
.gform_wrapper select,
.gform_wrapper textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--card);
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 0;
	box-shadow: none;
	appearance: none;
}
.gform_wrapper textarea {
	min-height: 140px;
	resize: vertical;
}
/* Drop-downs need their arrow back after "appearance: none". */
.gform_wrapper select {
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--ink) 50%), linear-gradient(135deg, var(--wp--preset--color--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}
.gform_wrapper :is(input, select, textarea):focus {
	outline: 3px solid var(--wp--preset--color--dark-green);
	outline-offset: 2px;
}

/* Fields made of several boxes (Name: First and Last; card expiry; address)
   sit side by side and wrap on narrow screens. */
.gform_wrapper .ginput_complex,
.gform_wrapper .ginput_container_creditcard .ginput_cardinfo_left,
.gform_wrapper .ginput_card_expiration_container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}
.gform_wrapper .ginput_complex > span,
.gform_wrapper .ginput_complex > div {
	flex: 1 1 200px;
	min-width: 0;
}
.gform_wrapper .ginput_card_expiration_container select {
	width: auto;
	min-width: 110px;
}
.gform_wrapper .ginput_container_creditcard > span {
	display: block;
	margin-bottom: 14px;
}

/* Tick boxes and round choices: one per line, 44px tall, green when ticked. */
.gform_wrapper .gfield_checkbox,
.gform_wrapper .gfield_radio {
	display: grid;
	gap: 4px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.gform_wrapper .gchoice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
}
.gform_wrapper .gchoice input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--wp--preset--color--book-green);
}
.gform_wrapper .gchoice label {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}

/* Section breaks inside a form: a ruled line and a heading. */
.gform_wrapper .gsection {
	padding-top: 18px;
	border-top: 2px solid var(--wp--preset--color--ink);
}
.gform_wrapper .gsection_title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--section-small);
	line-height: 1.1;
}

/* Prices and the booking total in the heading font, like the tour prices. */
.gform_wrapper .ginput_total,
.gform_wrapper .ginput_product_price {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--price);
	color: var(--wp--preset--color--ink);
}

/* The submit button: the site's solid green button. */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
	margin-top: 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button, button[type="submit"], input[type="submit"]) {
	min-height: 48px;
	padding: 13px 24px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--book-green);
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	appearance: none;
}
.gform_wrapper :is(.gform_button, .gform_next_button, button[type="submit"], input[type="submit"]):hover {
	background: var(--wp--preset--color--dark-green);
}
/* "Previous" on multi-page forms is a secondary action, so it is outlined. */
.gform_wrapper .gform_previous_button {
	color: var(--wp--preset--color--ink);
	background: transparent;
	border: 2px solid var(--wp--preset--color--ink);
}
.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button):focus-visible {
	outline: 3px solid var(--wp--preset--color--dark-green);
	outline-offset: 2px;
}

/* Error messages. Ochre dark (5.2:1 on Sand, higher on Paper) marks the
   problem; the words always say what is wrong, so colour is not the only cue. */
.gform_wrapper .gform_validation_errors {
	margin: 0 0 24px;
	padding: 14px 16px;
	background: var(--wp--preset--color--card);
	border: 2px solid var(--wp--preset--color--ochre-dark);
}
.gform_wrapper .gform_validation_errors :is(h2, .gform_submission_error) {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
	color: var(--wp--preset--color--ochre-dark);
}
.gform_wrapper .gfield_error :is(input, select, textarea) {
	border-color: var(--wp--preset--color--ochre-dark);
}
.gform_wrapper .validation_message {
	margin-top: 6px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--ochre-dark);
}

/* The thank-you message after sending. */
.gform_confirmation_wrapper .gform_confirmation_message {
	padding: 18px 20px;
	background: var(--wp--preset--color--card);
	border: 2px solid var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--lead);
}

/* Group enquiry fold (Groups page): the fold's summary reads as a clear
   button-like bar, and the form inside gets breathing room. */
details.bt-enquiry-fold {
	margin-block: 18px;
	border-top: 2px solid var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--ink);
}
details.bt-enquiry-fold > summary {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 20px;
}
details.bt-enquiry-fold[open] > summary {
	border-bottom: 1px solid var(--wp--preset--color--ink);
	margin-bottom: 20px;
}
details.bt-enquiry-fold .gform_wrapper {
	padding-bottom: 24px;
}


/* =====================================================================
   REVIEW FIXES, VERSION 0.2.9 (task 5.3)
   Layout and tap-target fixes from the fidelity and accessibility reviews.
   Each block names the issue it fixes (F = fidelity, A = accessibility).
   ===================================================================== */

/* F2: HOME HERO MEDIA ROW.
   Video on the left (64% of the row, about 640px at 1440), two small prints
   on the right. The row is top aligned so there is no empty paper above the
   video. The second small print overlaps the first, like the design board. */
.bt-hero-media {
	align-items: flex-start;
	margin-bottom: 0;
}
.bt-hero-media .bt-hero-print-1 {
	max-width: 300px;
	margin-inline: auto 0;
}
.bt-hero-media .bt-hero-print-2 {
	max-width: 250px;
	margin: -36px 0 0 auto;
	position: relative;
	z-index: 2;
}
/* The note sits under the first print with the gold arrow beside it. The
   arrow is flipped sideways so it points left, at the video. */
.bt-hero-note-row {
	margin-top: -14px;
	gap: 6px;
}
.bt-hero-arrow {
	transform: scaleX(-1);
	flex-shrink: 0;
}
.bt-hero-note-row .is-style-note-tag {
	margin: 0;
}
@media (max-width: 599px) {
	.bt-hero-media .bt-hero-print-1 {
		margin-inline: auto;
	}
}

/* F3: TOUR TITLE PRINTS (all tour pages and Groups).
   The big print (photo or video) fills the left column. The small print
   sits on its lower right corner (negative top margin) so there is no empty
   block beside the tall booking card.
   0.2.10: the overlap is only 20px. A bigger overlap covered the volume,
   settings and full screen buttons on the Vimeo video's control bar, which
   sits along the bottom 50px or so of the video. */
.bt-title-prints .bt-title-small {
	width: 44%;
	max-width: 260px;
	margin: -20px 0 0 auto;
	position: relative;
	z-index: 2;
}
.bt-title-prints .bt-title-note {
	display: block;
	width: fit-content;
	margin: 6px 14px 0 auto;
}

/* F4: HELEN STORY. The second photo is a small print floated right of the
   awards text. "flow-root" on the wrapper keeps the float inside it, so the
   handwritten "Helen" signature follows the text and is not stranded. */
.bt-helen-more {
	display: flow-root;
}
.bt-helen-photo {
	float: right;
	width: 240px;
	margin: 4px 0 12px 24px;
}
.bt-helen-photo .bt-print-small {
	margin-inline: 0;
}

/* F5: HOME TOUR-ROW PRICES. The adult price (gold marker) and "per adult"
   sit on one line. The price column is narrow, so the line may wrap. */
.bt-price-row {
	gap: 0 8px;
	align-items: baseline;
}

/* F13: tour names in the home rows are Ink; the underline stays so they
   still read as links, and it thickens on hover and focus. */
.is-style-tour-row h3 a {
	color: var(--wp--preset--color--ink);
}
.is-style-tour-row h3 a:is(:hover, :focus-visible) {
	text-decoration-thickness: 3px;
}

/* A4: TAP TARGETS.
   Padding on an inline link makes the area you can tap taller (about 44px)
   without changing the line height, so paragraphs keep their normal flow.
   .bt-tap-link is on single-line paragraphs that hold a link ("Read more
   reviews", "Bus hire and charters", the phone line). The tour names in the
   ruled rows (home rows and "more tours") are linked headings. */
.bt-tap-link a {
	padding-block: 13px;
}
.is-style-ruled-list h3 a {
	padding-block: 8px;
}

/* A10: on phones the closed chat bubble always sits above where the bottom
   bar appears, so it never covers the hero video controls. */
@media (max-width: 599px) {
	#crisp-chatbox [data-maximized="false"] {
		bottom: 84px !important;
	}
}

/* CANOE MAP PRINT (home page, Bushtucker band). Added 2 Dec 2026.
   The hand-drawn canoe route map sits under the band's two columns, centred,
   up to 860px wide. It gets the same white border and thin print edge as the
   photo prints, plus a very slight tilt, so it looks like a sheet of paper
   laid on the gold band. The caption underneath is small text in Ink.
   The map is a link to the full-size file, so phone users can tap and zoom. */
.bt-map-row {
	margin-top: var(--wp--preset--spacing--section-s);
}
.bt-map-row > .is-style-handwritten {
	margin-bottom: 8px;
}
.bt-map-print {
	max-width: 860px;
	margin: 0 auto;
}
.bt-map-print a {
	display: block;
}
.bt-map-print img {
	display: block;
	width: 100%;
	height: auto; /* keeps the 1200 by 879 shape at any width */
	box-sizing: border-box;
	border: var(--bt-print-border, 12px) solid var(--wp--preset--color--white);
	outline: 1px solid var(--wp--preset--color--print-edge);
	background: var(--wp--preset--color--white);
	transform: rotate(-0.6deg);
}
/* Keyboard users: show where the focus is when they Tab onto the map link. */
.bt-map-print a:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 6px;
}
.bt-map-print figcaption {
	margin-top: 14px;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
}
@media (max-width: 599px) {
	/* On phones the map runs edge to edge inside the gutter, with no tilt,
	   so its small writing stays as large as possible. */
	.bt-map-print img {
		transform: none;
	}
}
