/*
Theme Name: Guy Carnegie
Theme URI: https://www.guycarnegie.com
Author: Guy Carnegie
Description: Custom theme for guycarnegie.com. Fixed side menu, light and dark themes.
Version: 0.7.41
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: guycarnegie
*/

/* ---------- Colour themes ---------- */
:root,
[data-theme="light"] {
	--measure: 900px; /* standard width for all running text */
	--bg: #F4F2EE;
	--text: #1C1B19;
	--muted: #5E5A54;
	--faint: #6E6A64;
	--line: #DDD8D0;
	--border: #C9C3BA;
	--placeholder: #D9D5CE;
	--panel: #EAE7E1;
	--strong: #000000;
	--invert-bg: #1C1B19;
	--invert-text: #F4F2EE;
}
[data-theme="dark"] {
	--bg: #121212;
	--text: #E9E4DC;
	--muted: #A39E97;
	--faint: #8C877F;
	--line: #2A2927;
	--border: #45423E;
	--placeholder: #2B2A28;
	--panel: #1D1C1B;
	--strong: #FFFFFF;
	--invert-bg: #E9E4DC;
	--invert-text: #121212;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.6;
}
a { color: var(--text); text-decoration: none; }
a:hover, a:focus-visible { color: var(--strong); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
	font-family: inherit;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(26px, 2.3vw, 32px); }
h2 { font-size: clamp(24px, 2.4vw, 30px); }
h3 { font-size: 20px; font-weight: 400; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; clip: auto;
	background: var(--invert-bg); color: var(--invert-text); padding: 10px 16px;
}
.label {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--faint);
}

/* ---------- Layout: header band, then side column + content ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
/* Logged in: sit below WordPress's admin bar instead of sliding under it. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } } /* admin bar scrolls away here */
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 40px;
	padding: 24px 48px;
}
.site-header__tools { display: flex; align-items: center; gap: 12px; }
.header-nav { display: none; }
.header-nav .menu { flex-direction: row; flex-wrap: wrap; gap: 28px; font-size: 13px; letter-spacing: 0.08em; }
/* Top menu dropdowns (e.g. About > Testimonials, Release Form, Log In) */
.header-nav .menu > li { position: relative; }
.header-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.header-nav .menu .sub-menu {
	position: absolute; top: 100%; right: -16px; z-index: 30;
	display: none; min-width: 200px; margin: 0; padding: 18px 0 10px;
	background: var(--bg); border: 1px solid var(--line); border-top: 0;
	gap: 0; font-size: 12px; letter-spacing: 0.08em; text-align: left;
}
.header-nav .menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; }
.header-nav .menu .sub-menu a { display: block; padding: 8px 18px; white-space: nowrap; }
.header-nav .menu li:hover > .sub-menu,
.header-nav .menu li:focus-within > .sub-menu { display: flex; }

.site { display: flex; }
.sidebar {
	flex: 0 0 290px;
	width: 290px;
	position: sticky;
	top: var(--header-offset, 0px);
	align-self: flex-start;
	max-height: calc(100vh - var(--header-offset, 0px));
	overflow-y: auto;
	padding: 40px 32px 32px 48px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.site-main {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 1264px; /* 1200px of content plus padding; centred in the space beside the column */
	margin-inline: auto;
	padding: 40px 48px 64px 16px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Brand */
.brand { display: flex; flex-direction: column; gap: 8px; }
.brand__name {
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.28em;
	line-height: 1.15;
}
.brand__tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
/* The logo file is mid grey on transparent: darken it on light, brighten it on dark. */
.brand__logo { width: auto; height: 68px; }
[data-theme="light"] .brand__logo { filter: brightness(0.15); }
[data-theme="dark"] .brand__logo { filter: brightness(1.35); }

/* Menus */
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.menu--primary { gap: 14px; font-size: 14px; letter-spacing: 0.06em; }
.menu--series { gap: 10px; font-size: 13px; letter-spacing: 0.04em; }
.menu--series a { color: var(--muted); }
.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu--primary .current-menu-ancestor > a { color: var(--strong); font-weight: 500; }
.menu .sub-menu { list-style: none; margin: 10px 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.series-block { display: flex; flex-direction: column; gap: 12px; }


/* Buttons */
.button,
.menu-toggle {
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
	background: transparent;
	border: 1px solid var(--border);
	padding: 10px 16px;
	min-height: 44px;
	cursor: pointer;
	align-self: flex-start;
}
.button--solid { background: var(--invert-bg); color: var(--invert-text); border-color: var(--invert-bg); }
.button--solid:hover { color: var(--invert-text); opacity: 0.9; }
.menu-toggle { display: none; }
.site-header__tools .menu-toggle { align-self: center; min-height: 36px; padding: 8px 12px; font-size: 11px; }

/* Display switch: light / dark, plus text only (T) on category pages */
.mode-switch { display: inline-flex; align-self: center; border: 1px solid var(--line); }
.mode-switch__btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: var(--faint); cursor: pointer; }
.mode-switch__btn svg { width: 14px; height: 14px; }
.mode-switch__btn + .mode-switch__btn { border-left: 1px solid var(--line); }
.mode-switch__btn:hover { color: var(--text); }
.mode-switch__btn[aria-pressed="true"] { background: var(--line); color: var(--text); } /* active: a quiet grey, not inverted */

/* ---------- Content ---------- */
.page-head { display: flex; flex-direction: column; gap: 10px; max-width: none; } /* titles use the full width; text below keeps the text width */
.page-head h1 { margin: 0; }
.page-head p { margin: 0; color: var(--muted); }
.entry-meta { font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }
.entry-content { max-width: var(--measure); }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content p { font-size: 15px; }
@media (min-width: 600px) {
	.entry-content p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
	.entry-content p.has-text-align-center { text-align: center; }
	.entry-content p.has-text-align-right { text-align: right; }
	.entry-content .wpcf7 p { text-align: left; hyphens: manual; }
}
.entry-content a { border-bottom: 1px solid var(--border); }
.entry-content .alignwide,
.entry-content .alignfull,
.entry-content .wp-block-gallery,
.entry-content .wp-block-media-text,
.entry-content .wp-block-columns,
.entry-content figure.wp-block-image.size-full,
.entry-content .wpb-content-wrapper { max-width: none; width: 100%; }
.entry-content figcaption { font-size: 13px; color: var(--faint); margin-top: 8px; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 1px solid var(--border); font-size: 17px; color: var(--muted); }
.wide { max-width: none; }

/* Post header */
.entry .page-head { margin-bottom: 32px; }
.entry-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.entry-kicker:hover { color: var(--text); }
/* Date and category share one line under the title, so titles always start at the same height */
.entry-meta__sep { margin: 0 0.5em; }
.entry-meta__cat { color: var(--faint); border-bottom: 1px solid transparent; }
.entry-meta__cat:hover { color: var(--text); border-bottom-color: var(--border); }
.entry-hero { margin: 0 0 32px; max-width: var(--measure); }
.entry-cta { margin: 40px 0 0; }
.entry-hero img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(55vh, 600px); }
/* Category header box: full width, between the title and the two-column description */
.page-head__lead { margin-top: 4px; }
.page-head__lead > * { margin: 0 0 0.6em; }
.page-head__lead > *:last-child { margin-bottom: 0; }
.page-head__lead h2, .page-head__lead h3 { font-size: 21px; font-weight: 300; line-height: 1.3; color: var(--text); }
.page-head__lead h4 { font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.page-head__lead p { color: var(--muted); }
.page-head__lead a { color: var(--text); border-bottom: 1px solid var(--border); }
.page-head__lead a:hover { border-bottom-color: var(--text); }
.page-head__desc { color: var(--muted); margin-top: 8px; }
.page-head__desc > * { margin: 0 0 0.9em; }
.page-head__desc > *:last-child { margin-bottom: 0; }
.page-head .page-head__desc p { margin: 0 0 0.9em; }
.page-head .page-head__desc p:last-child { margin-bottom: 0; }
@media (min-width: 600px) {
	.page-head__desc p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
	.row-item__text, .row-item__text p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}
.page-head__desc a,
.page-head--row > div a { color: var(--text); border-bottom: 1px solid var(--border); }
.page-head__desc ul { padding-left: 1.2em; }
.page-head__desc strong { font-weight: 500; color: var(--text); }

/* Posts: pictures, galleries, image-beside-text, Columns and Group blocks use
   the full 1200px; running text stays at the standard text width. Long
   stretches of text get automatic two-column blocks; a Columns block gives
   exact control. */
.single-post .entry-content { max-width: none; }
.single-post .entry-content > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote, pre, dl, table, .wp-block-quote, .wp-block-list, .wp-block-table, .wp-block-separator, .wp-block-buttons, .wp-block-embed) { max-width: var(--measure); }
/* Long stretches of text: two columns, in blocks sized to fit one screen (inc/columns.php) */
.text-run { column-count: 2; column-gap: 56px; margin-bottom: 1.6em; }
.text-run > *:first-child { margin-top: 0; }
/* Where a long stretch is cut into two blocks with nothing between them, a double
   hairline in a wider gap marks the join, with a small number in the middle
   counting the blocks that have ended: "– 1 –", "– 2 –"…
   (A good place to add a picture instead.) */
.single-post .entry-content { counter-reset: gc-block; }
.text-run + .text-run { margin-top: 3em; }
.text-run + .text-run::before {
	counter-increment: gc-block;
	content: "\2013\00A0" counter(gc-block) "\00A0\2013";
	column-span: all; display: block;
	margin: -1.9em 0 1.6em;
	font-size: 12px; line-height: 20px; letter-spacing: 0.08em; text-align: center; color: var(--faint);
	/* two hairlines either side of the number, with a gap in the middle for it */
	--gap: 34px;
	background:
		linear-gradient(to right, var(--line) calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), var(--line) calc(50% + var(--gap))) 0 8px / 100% 1px no-repeat,
		linear-gradient(to right, var(--line) calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), var(--line) calc(50% + var(--gap))) 0 11px / 100% 1px no-repeat;
}
.text-run > *:last-child { margin-bottom: 0; }
.text-run h3, .text-run h4, .text-run h5 { break-after: avoid; }
.text-run li, .text-run blockquote, .text-run pre, .text-run ul, .text-run ol { break-inside: avoid; }
/* Lists in columns: tighter, so runs of short bullets don't stretch the column */
.entry-content .text-run ul, .entry-content .text-run ol { margin-bottom: 1em; }
.entry-content .text-run li { margin-bottom: 0.15em; line-height: 1.5; }
/* Section headings in posts: a full-width rule and space above every H2-H4, so a
   new section always starts the same way (and never reads as following the left
   column). Skipped at the top of the post and straight after pictures or a
   separator/spacer, which already close things off. */
.single-post .entry-content > :not(figure, .wp-block-gallery, .wp-block-image, .wp-block-embed, .wp-block-media-text, .wp-block-cover, .wp-block-video, hr, .wp-block-separator, .wp-block-spacer) + :is(h2, h3, h4) {
	margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line);
}
/* Long lists (6+ items) may split across the columns, so they don't leave a big gap */
.text-run ul:has(> li:nth-child(6)), .text-run ol:has(> li:nth-child(6)) { break-inside: auto; }
.text-run p:has(+ ul), .text-run p:has(+ ol) { break-after: avoid; }
@media (max-width: 900px) { .text-run { column-count: 1; } }
.single-post .entry-content .wp-block-columns { column-gap: 56px; row-gap: 1.2em; margin-bottom: 1.6em; }
.single-post .entry-content .wp-block-column > *:first-child { margin-top: 0; }
.single-post .entry-content .wp-block-column > *:last-child { margin-bottom: 0; }

/* Block content inside posts and pages */
.entry-content h2, .entry-content h3 { margin-top: 1.8em; margin-bottom: 0.6em; }
.entry-content h2 { font-size: 22px; font-weight: 300; line-height: 1.3; }
.entry-content h3 { font-size: 15px; font-weight: 500; line-height: 1.5; margin-top: 1.6em; margin-bottom: 0.6em; } /* same size as body text, in bold */
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: 0.4em; font-size: 15px; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content .wp-block-image img { display: block; }
.entry-content .wp-block-gallery.has-nested-images { gap: 6px; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; }
.entry-content .wp-block-gallery a { border-bottom: 0; }
.entry-content .wp-block-media-text { gap: 32px; margin-bottom: 2em; }
.entry-content .wp-block-media-text__content { padding: 0 !important; }
.entry-content .wp-block-media-text__content > *:first-child { margin-top: 0; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.entry-content th { font-weight: 500; }
.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
	background: var(--invert-bg); color: var(--invert-text); border: 1px solid var(--invert-bg);
	border-radius: 0; padding: 10px 18px; font-size: 14px; letter-spacing: 0.04em;
}
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--text); border-color: var(--border); }
.entry-content .wp-block-button__link:hover { opacity: 0.9; }
.entry-content code { font-size: 0.9em; background: var(--panel); padding: 1px 5px; }

/* Standard bullet across the site: a hanging en dash, so wrapped lines align
   with the text. Matches the home page panels and the casting lists. */
:where(.entry-content, .page-head__desc, .shoot__text, .row-item__text) ul:not([class*="gallery"]):not(.wp-block-social-links):not(.display-posts-listing) {
	list-style: none; padding-left: 0;
}
:where(.entry-content, .page-head__desc, .shoot__text, .row-item__text) ul:not([class*="gallery"]):not(.wp-block-social-links):not(.display-posts-listing) > li {
	position: relative; padding-left: 16px;
}
:where(.entry-content, .page-head__desc, .shoot__text, .row-item__text) ul:not([class*="gallery"]):not(.wp-block-social-links):not(.display-posts-listing) > li::before {
	content: "\2013"; position: absolute; left: 0; top: 0; color: var(--faint);
}

/* Text-only category view (text mode, or ?view=text): date and title, no images */
.text-index { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: var(--measure); font-size: 15px; line-height: 1.45; }
.text-index li { position: relative; padding-left: 16px; }
.text-index li::before { content: "\2013"; position: absolute; left: 0; top: 0; color: var(--faint); }
.text-index__date { color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 6px; }
.text-index a { color: var(--text); }
.text-index a:hover { color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }
.page-head--archive + .text-index { margin-top: 8px; }

/* Display Posts shortcode lists (castings) */
.display-posts-listing { list-style: none; padding: 0; }
.display-posts-listing .listing-item { position: relative; padding-left: 16px; }
.display-posts-listing .listing-item::before { content: "\2013"; position: absolute; left: 0; top: 0; color: var(--faint); }
.display-posts-listing .image { display: none; }

/* Contact Form 7 */
.wpcf7 form { display: flex; flex-direction: column; gap: 4px; }
.wpcf7 label { display: block; font-size: 14px; color: var(--muted); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"],
.wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
	font: inherit; font-size: 16px; color: var(--text);
	background: var(--bg); border: 1px solid var(--border); border-radius: 0;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.wpcf7 .wpcf7-list-item { margin: 0 16px 6px 0; }
.wpcf7 input[type="submit"] {
	align-self: flex-start; margin-top: 12px; padding: 12px 22px; min-height: 44px;
	font: inherit; font-size: 14px; letter-spacing: 0.04em; cursor: pointer;
	background: var(--invert-bg); color: var(--invert-text); border: 1px solid var(--invert-bg); border-radius: 0;
}
.wpcf7 .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--border); font-size: 14px; }
.wpcf7 canvas { background: #fff; border: 1px solid var(--border); max-width: 100%; }
.wpcf7 input[type="file"] { font: inherit; font-size: 14px; color: var(--muted); max-width: 100%; }
.wpcf7 input[type="file"]::file-selector-button { font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); background: transparent; border: 1px solid var(--border); padding: 9px 14px; margin-right: 12px; cursor: pointer; }
.wpcf7 input[type="file"]::file-selector-button:hover { border-color: var(--text); }
.wpcf7 .file-note { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }

/* Print sizes on print posts ([gc_print_sizes], from the site plugin) */
.gc-print-sizes { margin: 1.4em 0; }
.gc-print-sizes-loading { color: var(--faint); font-size: 13px; }
.entry-content .gc-print-sizes-table { width: auto; font-size: 15px; }
.entry-content .gc-print-sizes-table td { padding: 6px 24px 6px 0; }
.gc-print-sizes-table i { color: var(--faint); font-style: normal; font-size: 13px; }

/* Release links list ([release_links], logged-in only) */
.entry-content .release-links-table { font-size: 13px; }
.entry-content .release-links-table th { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 400; }
.entry-content .release-links-table td { vertical-align: top; white-space: nowrap; }
.entry-content .release-links-table td.release-links-params { white-space: normal; word-break: break-all; color: var(--muted); }
.release-links-actions a { margin-right: 8px; }
.release-links-actions .release-links-delete { color: #B3261E; border-bottom-color: currentColor; }

/* Receipt & Release form (CF7 form "Receipt & Release", a table layout) */
.entry-content .receipt-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.entry-content .receipt-table th,
.entry-content .receipt-table td { padding: 4px 10px 4px 0; border: 0; vertical-align: middle; }
.entry-content .receipt-table td:last-child,
.entry-content .receipt-table th:last-child { padding-right: 0; }
.entry-content .receipt-table p { margin: 0; font-size: 14px; }
.entry-content .receipt-table td > br { display: none; }
.entry-content .receipt-table .label,
.entry-content .receipt-table th {
	width: 120px; font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
.entry-content .receipt-table th { width: auto; padding-top: 6px; padding-bottom: 2px; }
.entry-content .receipt-table .divider-row td { padding: 0; }
.entry-content .receipt-table hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.receipt-table .wpcf7-form-control-wrap { display: block; }
.receipt-table input[type="text"], .receipt-table input[type="email"], .receipt-table input[type="number"],
.receipt-table input[type="date"], .receipt-table select, .receipt-table textarea {
	margin-top: 0; padding: 6px 10px; min-height: 34px; font-size: 14px;
}
.receipt-table textarea { height: 72px; min-height: 72px; resize: vertical; }
.receipt-table input[readonly] { background: var(--panel); border-color: var(--line); }
.receipt-table .rate-wrap { display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; }
.receipt-table .rate-wrap .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.receipt-table .rate-symbol { color: var(--faint); }
.receipt-table .grand-label { text-align: right; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.receipt-table .grand-row input { font-weight: 500; }
.receipt-table details { font-size: 14px; }
.receipt-table summary { cursor: pointer; padding: 4px 0; }
.receipt-table summary strong { font-weight: 500; }
.receipt-table details p { color: var(--muted); }
.receipt-table .wpcf7-list-item { margin: 0; }
/* Consent tick boxes: keep the box on the same line as its question, right-aligned */
.receipt-table td > div[style*="position:absolute"] { align-items: center; }
.receipt-table td > div[style*="position:absolute"] .wpcf7-form-control-wrap,
.receipt-table td > div[style*="position:absolute"] .wpcf7-checkbox,
.receipt-table td > div[style*="position:absolute"] .wpcf7-list-item { display: inline-flex; align-items: center; margin: 0; }
.receipt-table td > div[style*="position:absolute"] input[type="checkbox"] { width: 16px; height: 16px; margin: 0 0 0 6px; }
.receipt-table input[type="submit"] { margin: 4px auto; }
.receipt-table canvas { display: block; margin-top: 6px; }
@media (max-width: 600px) {
	/* Turn the 4-column table into a grid so every row can use the full width */
	.entry-content .receipt-table, .receipt-table tbody { display: block; width: 100%; }
	.receipt-table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; align-items: center; }
	.receipt-table #nudity-row[style*="table-row"] { display: grid !important; }
	.entry-content .receipt-table th, .entry-content .receipt-table td { padding: 3px 0; width: auto; white-space: normal; }
	.receipt-table td[colspan="4"] { grid-column: 1 / -1; }
	.receipt-table td[colspan="3"] { grid-column: span 3; }
	.receipt-table td[colspan="2"] { grid-column: span 2; }
	/* Detail rows: label above, field full width; date and time side by side */
	.receipt-table tr:has(> td.field) { padding-top: 6px; }
	.receipt-table tr:has(> td.field) > td.label { grid-column: 1 / -1; padding-bottom: 0; }
	.receipt-table tr:has(> td.field) > td.field[colspan="3"] { grid-column: 1 / -1; }
	.receipt-table tr:has(> td.field) > td.field[colspan="2"] { grid-column: span 3; }
	.receipt-table td[style*="position:relative"] { padding-right: 0 !important; }
	.receipt-table td[style*="position:relative"] > div[style*="position:absolute"] { position: static !important; justify-content: flex-end; margin-top: 2px; }
}

/* Category page header: title and text at the standard width; a toolbar of
   topic filters ending in a Search button, right-aligned above the grid.
   Search opens a field in the same row. */
.page-head--archive { display: flex; flex-direction: column; max-width: none; gap: 0; }
.page-head__main { display: flex; flex-direction: column; gap: 10px; max-width: var(--measure); }
.page-head__filters { align-self: flex-end; margin-top: 32px; }
/* List-layout categories: hairline under the whole header (text, filters, search), matching the row dividers.
   Grid categories have no line; the filters sit tight on the grid instead. */
.page-head--archive:has(+ .post-list) { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
/* Category descriptions use the full 1200px: two newspaper-style columns
   when the text is long enough, one full-width block when it's short */
.page-head--archive .page-head__main { max-width: none; }
.page-head--archive .page-head__desc { max-width: var(--measure); } /* short descriptions: one column, normal width */
.page-head--archive .page-head__desc--cols { max-width: none; }
/* Manual column breaks: a horizontal line in the description starts the next column */
.page-head--archive .page-head__desc--split { max-width: none; }
.page-head__desc--split { display: grid; grid-template-columns: repeat(var(--desc-cols, 2), minmax(0, 1fr)); column-gap: 56px; }
.page-head__desc--split .desc-col > * { margin: 0 0 0.9em; }
.page-head__desc--split .desc-col > *:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
	.page-head__desc--split { grid-template-columns: minmax(0, 1fr); row-gap: 0.9em; }
}
@media (min-width: 900px) {
	.page-head__desc--cols { column-count: 2; column-gap: 56px; }
	.page-head__desc--cols p, .page-head__desc--cols ul, .page-head__desc--cols li { break-inside: avoid; }
	.page-head__desc--cols p:has(> strong:only-child),
	.page-head__desc--cols p:has(> a:only-child),
	.page-head__desc--cols p:has(+ ul),
	.page-head__desc--cols p:has(+ ol) { break-after: avoid; }
	.page-head__desc--cols ul, .page-head__desc--cols ol { break-inside: avoid; }
}
.page-head__filters:empty { display: none; }
.page-head--row > .filters { align-self: flex-end; }
.filters { align-items: center; }
.filter-search { display: flex; align-items: center; margin: 0; }
.filter-search input[type="search"] {
	width: 0; min-width: 0; padding: 0; border: 0; opacity: 0;
	min-height: 40px; font: inherit; font-size: 14px; color: var(--text); background: var(--bg);
	border-radius: 0; transition: width 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
}
.filter-search.is-open input[type="search"] {
	width: 220px; padding: 8px 12px; opacity: 1;
	border: 1px solid var(--border); border-right: 0;
}
.filter-search input[type="search"]:focus { outline: 2px solid var(--text); outline-offset: -1px; }
.filter--search { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: 0.08em; color: var(--text); background: transparent; }
.filter--search[aria-expanded="true"] { background: var(--invert-bg); color: var(--invert-text); border-color: var(--invert-bg); }
.empty-note { margin-top: 32px; color: var(--muted); }
@media (max-width: 900px) {
	.page-head__filters, .page-head--row > .filters { align-self: flex-start; }
	.page-head__filters { margin-top: 20px; }
	.page-head--archive:has(+ .post-list) { padding-bottom: 20px; }
	.filter-search.is-open { flex: 1 1 100%; }
	.filter-search.is-open input[type="search"] { flex: 1; width: auto; }
}

/* Post grid (archives, blog) */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
/* Filter row sits close to the grid it controls: 16px instead of the page's 40px gap */
.page-head--archive + .post-grid,
.page-head--row + .shoot-grid { margin-top: -24px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card__image { aspect-ratio: 4 / 5; background: var(--placeholder); overflow: hidden; margin-bottom: 4px; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.card:hover .card__image img { opacity: 0.88; }
/* List layout (categories set to List): one post per row, image whole beside the text */
.post-list { display: flex; flex-direction: column; }
/* Every image sits in the same-sized cell: same height, width following the
   picture, centred in the cell, so the text column lines up on every row */
.row-item { --row-h: 300px; --row-cell: 450px; display: grid; grid-template-columns: minmax(0, var(--row-cell)) minmax(0, 1fr); gap: 48px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.row-item:first-child { border-top: 0; padding-top: 8px; }
.row-item__image { display: flex; justify-content: flex-start; align-items: center; height: var(--row-h); position: relative; }
.row-item__image img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }
/* Same faint hairline as the grid cards, so pale images keep an edge against the page */
.row-item__image img { outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
[data-theme="dark"] .row-item__image img { outline-color: rgba(255, 255, 255, 0.08); }
.row-item__body { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.row-item__title { margin: 0; font-size: 22px; font-weight: 300; line-height: 1.3; }
.row-item__title a:hover { color: var(--strong); }
.row-item__meta { font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.row-item__text { color: var(--muted); }
.row-item__text p, .row-item__text ul, .row-item__text ol { margin: 0 0 0.8em; }
.row-item__text li { text-align: left; }
.row-item .gc-print-sizes { margin: 4px 0 0; }
.row-item .gc-print-sizes-table { border-collapse: collapse; font-size: 15px; }
.row-item .gc-print-sizes-table td { padding: 6px 24px 6px 0; border-bottom: 1px solid var(--line); }
.row-item__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
@media (max-width: 900px) {
	.row-item { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
	.row-item__image { height: auto; }
	.row-item__image img { height: auto; width: 100%; max-width: none; }
}

/* A filter button that leads to another page (e.g. Portfolio from Shoots): extra gap after it */
.filter--page { margin-right: 12px; }

/* All list-layout categories share one image size (300px high, 450px cell = a 3:2 landscape at full height, left-aligned).
   To give one category its own size: .post-list.is-cat-<slug> .row-item { --row-h: ...; --row-cell: ...; } */

/* Lightbox: link from a Portfolio image to its shoot */
.lightbox__shoot {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	padding: 8px 14px; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap;
	color: #fff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.35);
}
.lightbox__shoot:hover, .lightbox__shoot:focus { background: rgba(0, 0, 0, 0.8); color: #fff; }

/* Faint hairline so high-key images keep their edges on the pale page */
.card__image, .shoot-card__image { position: relative; }
.card__image::after, .shoot-card__image::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .card__image::after,
[data-theme="dark"] .shoot-card__image::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.card__title { font-size: 15px; font-weight: 400; line-height: 1.35; }
.card__meta { font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.card__excerpt { font-size: 13px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pagination { display: flex; gap: 16px; margin-top: 48px; font-size: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.pagination .current { font-weight: 500; }
.grid-sentinel { height: 1px; }
.grid-status { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--faint); min-height: 1em; }
.grid-status:empty { display: none; }

.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; max-width: var(--measure); padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Portfolio ---------- */
/* Archive headers: title and text at the standard width, filters and search on their own row below */
.page-head--row { flex-direction: column; align-items: stretch; gap: 24px; max-width: none; }
.page-head--row > div { display: flex; flex-direction: column; gap: 10px; max-width: var(--measure); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
	font-size: 12px; letter-spacing: 0.08em;
	border: 1px solid var(--border); padding: 9px 14px; min-height: 40px;
	display: inline-flex; align-items: center;
}
.filter[aria-current="page"] { background: var(--invert-bg); color: var(--invert-text); border-color: var(--invert-bg); }

.shoot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.shoot-card { display: flex; flex-direction: column; gap: 10px; }
.shoot-card__image { aspect-ratio: 4 / 5; background: var(--placeholder); overflow: hidden; }
.shoot-card__image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.shoot-card:hover .shoot-card__image img { opacity: 0.88; }
.shoot-card__title { font-size: 14px; letter-spacing: 0.04em; }

/* One shoot */
.shoot { display: flex; flex-direction: column; gap: 28px; }
.back-link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.shoot__text { max-width: var(--measure); color: var(--muted); }
.shoot__text p { margin: 0 0 0.8em; }
.shoot__text a { border-bottom: 1px solid var(--border); }

/* Tight mosaic, after NYC Dance Project: columns, hairline gaps, mixed shapes side by side. */
.mosaic { columns: 3; column-gap: 6px; }
.mosaic__item { display: block; margin: 0 0 6px; break-inside: avoid; background: var(--placeholder); cursor: zoom-in; }
.mosaic__item img { width: 100%; height: auto; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(12, 12, 12, 0.96);
	display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.lightbox button {
	position: absolute; font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: #E9E4DC; background: transparent; border: 0; padding: 12px 16px; min-height: 44px; min-width: 44px; cursor: pointer;
}
.lightbox button:hover, .lightbox button:focus-visible { color: #ffffff; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 12px; color: #A39E97; letter-spacing: 0.08em; }
body.has-lightbox { overflow: hidden; }
.entry-content img.is-zoomable { cursor: zoom-in; }
.lightbox__count[hidden] { display: none; }

/* ---------- Home ---------- */
.hero {
	position: relative;
	width: 100%;
	aspect-ratio: 2 / 1; /* a banner, not a full screen: 600px high at 1200 wide. Dedicated crops: 2400x1200 */
	max-height: 70vh;
	background: var(--placeholder);
	overflow: hidden;
}
.hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
/* Same faint hairline as the grid cards, drawn over the slides */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
[data-theme="dark"] .hero::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.entry-hero img { outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
[data-theme="dark"] .entry-hero img { outline-color: rgba(255, 255, 255, 0.08); }
/* Portrait, square and letterbox images: shown whole, centred. */
/* theme.js replaces this with each photo's own edge colours, so the sides blend in. */
.hero__slide--whole { object-fit: contain; background: var(--bg); }
/* Slideshow controls: previous, play/pause, next. Fade in on hover; stay visible when paused. */
.hero__controls {
	position: absolute; right: 12px; bottom: 12px; z-index: 2;
	display: flex; gap: 2px;
	opacity: 0; transition: opacity 0.2s;
}
.hero__controls[hidden] { display: none; }
.hero__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 32px; padding: 0; border: 0; cursor: pointer;
	color: #F4F2EE; background: rgba(0, 0, 0, 0.45);
}
.hero__btn:hover { background: rgba(0, 0, 0, 0.7); }
.hero__btn svg { width: 14px; height: 14px; }
.hero__pause .icon-play,
.hero__pause[aria-pressed="true"] .icon-pause { display: none; }
.hero__pause[aria-pressed="true"] .icon-play { display: block; }
.hero:hover .hero__controls,
.hero__controls:focus-within,
.hero__controls:has(.hero__pause[aria-pressed="true"]) { opacity: 1; }
@media (hover: none) { .hero__controls { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.hero__slide { transition: none; }
}
/* Home page editor content between the hero and the panels */
.home-content > :last-child { margin-bottom: 0; }
/* No home page text: panels sit closer under the hero (the panels' own gap) */
.hero + .home-lists { margin-top: -20px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; gap: 14px; }
.door__image { aspect-ratio: 4 / 5; background: var(--placeholder); overflow: hidden; }
.door__image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.door:hover .door__image img { opacity: 0.9; }
.door__label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* Home: three short lists of links under the intro */
.home-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.home-list { display: flex; flex-direction: column; gap: 14px; background: var(--panel); border-radius: 12px; padding: 22px 24px 24px; }
.home-list__label { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.home-list__label a { color: var(--faint); }
.home-list__label a:hover { color: var(--strong); }
.home-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.home-list li { position: relative; padding-left: 16px; }
.home-list li::before { content: "\2013"; position: absolute; left: 0; top: 0; color: var(--faint); } /* en dash, hanging so wrapped lines align with the text */
.home-list ul a { color: var(--text); }
.home-list ul a:hover { color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }
/* Home panels: a 3 x 2 grid, Journal spanning both rows; every panel fills its cell so the edges line up */
.home-lists { grid-template-areas: "prints castings journal" "latest featured journal"; align-items: stretch; }
.home-list--latest { grid-area: latest; }
.home-list--prints { grid-area: prints; }
.home-list--castings { grid-area: castings; }
.home-list--journal { grid-area: journal; }
.home-list--featured { grid-area: featured; }
.featured-project { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; color: var(--text); }
.featured-project__title { font-size: 15px; line-height: 1.45; }
.featured-project:hover .featured-project__title { color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }
.featured-project__image { flex: 0 0 96px; }
.featured-project__image img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer {
	display: flex; flex-direction: column; gap: 20px;
	padding-top: 24px; margin-top: auto; border-top: 1px solid var(--line);
	font-size: 12px; color: var(--faint);
}
.site-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer__badges { justify-content: flex-start; gap: 24px; }
.site-footer__sponsors { display: block; height: auto; max-height: 40px; width: auto; max-width: 100%; }
.site-footer__dda img { display: block; width: 56px; height: 56px; border-radius: 50%; }
.site-footer__dda:hover img { opacity: 0.85; }
.site-footer a { color: var(--faint); }
.menu--footer { flex-direction: row; flex-wrap: wrap; gap: 16px; }

/* ---------- Narrow screens: side column becomes a top bar ---------- */
@media (max-width: 960px) {
	.post-grid, .doors, .shoot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-lists { grid-template-columns: minmax(0, 1fr); grid-template-areas: "prints" "castings" "latest" "featured" "journal"; }
	.mosaic { columns: 2; }
}
@media (max-width: 900px) {
	.site-header__inner { padding: 14px 20px; }
	.brand__name { font-size: 20px; }
	.brand__logo { height: 46px; }
	.brand__tag { display: none; }
	.site-header__tools .menu-toggle { display: inline-block; }
	.site { display: block; }
	.sidebar {
		display: none;
		position: static;
		width: auto;
		max-height: none;
		padding: 24px 20px;
		gap: 32px;
		border-bottom: 1px solid var(--line);
	}
	.sidebar.is-open { display: flex; }
	.site-main { padding: 24px 20px 48px; }
}
@media (min-width: 901px) {
	/* Top bar layout (Appearance > Customise > Layout): menu moves into the header band. */
	/* Contents line up with the content band below (1264px minus 48px padding each side); the band itself spans the full width. */
	.layout-top .site-header__inner { padding: 24px max(48px, calc((100% - 1168px) / 2)); }
	.layout-top .header-nav { display: block; margin-left: auto; }
	.layout-top .sidebar { display: none; }
	.layout-top .site-main { width: 100%; padding: 40px 48px 64px; }
}
@media (max-width: 560px) {
	.post-grid, .doors { grid-template-columns: minmax(0, 1fr); }
	.shoot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.mosaic { column-gap: 4px; }
	.mosaic__item { margin-bottom: 4px; }
	.lightbox__img { max-width: 100vw; max-height: calc(100vh - 120px); }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Phone header: logo and both buttons on one line ---------- */
@media (max-width: 600px) {
	.site-header__inner { flex-wrap: nowrap; gap: 12px; padding: 10px 16px; }
	.brand__logo { height: 36px; }
	.site-header__tools { gap: 6px; flex-shrink: 0; }
	.site-header__tools .menu-toggle { min-height: 34px; padding: 6px 10px; font-size: 10px; }
	.mode-switch__btn { width: 28px; height: 28px; }

	/* Phone type: a step smaller, but body text stays at 16px for reading */
	.site-main, .layout-top .site-main { padding: 20px 16px 40px; }
	h1 { font-size: 24px; line-height: 1.2; }
	h2 { font-size: 21px; }
	.entry-content h2 { font-size: 20px; }
	.entry-content h3 { font-size: 16px; }
	.entry-content p, .entry-content li { font-size: 16px; line-height: 1.6; }
	.entry .page-head { margin-bottom: 20px; }
	.page-head { gap: 6px; }
	.entry-meta, .card__meta { font-size: 12px; }
	.card__title { font-size: 15px; }
	.card__excerpt { font-size: 13px; }
	.post-grid { gap: 28px 14px; }
	.page-head__desc p { font-size: 15px; }

	/* Form: smaller labels and tighter rows, but inputs stay at 16px,
	   because iPhones zoom the whole page in on any field smaller than that */
	.receipt-table input[type="text"], .receipt-table input[type="email"], .receipt-table input[type="number"],
	.receipt-table input[type="date"], .receipt-table select, .receipt-table textarea,
	.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { font-size: 16px; padding: 5px 8px; min-height: 36px; }
	.entry-content .receipt-table .label, .entry-content .receipt-table th { font-size: 10px; }
	.receipt-table details, .receipt-table summary, .entry-content .receipt-table p { font-size: 13px; }
	.receipt-table td > div[style*="position:absolute"] { font-size: 12px !important; }
	.entry-content .receipt-table hr { margin: 6px 0; }

	/* Receipt rows: wider label column, no number spinners, tighter £ */
	.receipt-table tr { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 6px; }
	.entry-content .receipt-table .label { white-space: normal; line-height: 1.3; }
	.receipt-table input[type="number"] { -moz-appearance: textfield; appearance: textfield; padding: 5px 6px; }
	.receipt-table input[type="number"]::-webkit-inner-spin-button,
	.receipt-table input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
	.receipt-table .rate-wrap { gap: 3px; }
	.receipt-table .calc-field, .receipt-table .grand-row input { padding: 5px 6px; }
}

