/*
Theme Name: INXO
Description: Block theme for The INXO Arts & Culture (L) Foundation. Black header and footer, homepage banner slider. Everything (header, footer, menu, pages) is editable in Appearance > Editor.
Template: twentytwentyfive
Version: 3.84
Text Domain: inxo
*/

/* Colours and fonts (as on the old site): Josefin Sans everywhere (body text, headings, page title, menu (header.css), footer);
   PingFang SC for Chinese. The body size (17px) is set in theme.json. The header's own rules are all in assets/header.css. */
:root { --inxo-red:#c8153b; --inxo-head:"Josefin Sans", "PingFang SC", sans-serif; --inxo-body:"Josefin Sans", "PingFang SC", sans-serif; }
body, button, input, select, textarea, .wp-block-button__link, h1, h2, h3, h4, h5, h6 { font-family:var(--inxo-body); }
body { font-weight:300; }
.inxo-page-content :is(h1, h2, h3, h4, h5, h6), .wp-block-post-title, .inxo-section-title { font-weight:700; letter-spacing:.06em; }

/* Footer: black, Josefin Sans Light */
/* no gap between the page and the footer (WordPress adds a block gap above the footer template part) */
.wp-site-blocks > footer.wp-block-template-part { margin-block-start:0; }
/* sticky footer: on short pages the footer sits at the bottom of the window instead of leaving white space under it */
.wp-site-blocks { display:flex; flex-direction:column; min-height:100vh; min-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
.wp-site-blocks > main { flex:1 0 auto; }
/* WooCommerce caps the checkout/cart column at 1000px but leaves it hugging the left edge: centre it so notices line up with the title and steps */
:is(.woocommerce-checkout, .woocommerce-cart) main .woocommerce { margin-left:auto; margin-right:auto; }
/* as a flex item <main> no longer merges its top margin into the title's: drop it on cart/checkout pages so the title keeps its old position */
:is(.woocommerce-checkout, .woocommerce-cart) .wp-site-blocks > main { margin-block-start:0; }
.inxo-footer, .inxo-footer * { font-family:var(--inxo-head); font-weight:300; }
.inxo-footer { background:#000; color:#fff; font-size:.85rem; padding-right:calc(var(--wp--preset--spacing--30) + 84px) !important; } /* the right padding keeps the icons clear of the back-to-top button (46px wide, 24px from the edge) */
.inxo-footer a { color:#fff; text-decoration:none; }
.inxo-footer a:hover { color:var(--inxo-red); }
.inxo-footer p, .inxo-footer .inxo-social { margin:0; }

/* Homepage banner slider (a Group with class "inxo-banner" holding Image blocks) */
.inxo-banner { position:relative; display:flex !important; flex-wrap:nowrap !important; gap:0 !important; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; margin-top:0 !important; margin-bottom:0 !important; max-width:none !important; }
.inxo-banner::-webkit-scrollbar { display:none; }
.inxo-banner > figure, .inxo-banner > .wp-block-image { flex:0 0 100%; margin:0 !important; scroll-snap-align:start; max-width:none !important; }
.inxo-banner img { width:100%; height:auto; aspect-ratio:1920/820; object-fit:cover; display:block; }
/* MetaSlider homepage banner: uses the original files; a few differ slightly in height, so show them all at 1920:820 (centered crop, no re-encoding) */
.inxo-slideshow .metaslider .slides img { width:100%; height:auto; aspect-ratio:1920/820; object-fit:cover; display:block; }
/* MetaSlider arrows + dots: ALWAYS round, arrows ALWAYS with a chevron, whichever MetaSlider theme a slideshow uses (the 18 free themes all draw them
   differently, so their own icon is switched off and one chevron is drawn instead). The SHAPE is forced (!important). Colours and sizes are only
   starting values with a higher specificity than the themes, but lower than the slideshow's Theme Options, which are written with an ID selector:
   so MetaSlider > slideshow > Theme Options can still change colours (and sizes/positions where MetaSlider saves them). */
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav li a, .metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a { height:auto !important; aspect-ratio:1 / 1 !important; min-width:30px !important; max-width:60px !important; border-radius:50% !important; background-image:none !important; -webkit-mask-image:none !important; mask-image:none !important; box-shadow:none !important; text-indent:-9999px !important; font-size:0 !important; line-height:0 !important; overflow:visible !important; padding:0 !important; border-style:solid; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:before { display:none !important; content:none !important; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:after { content:"" !important; display:block !important; position:absolute !important; top:0 !important; left:0 !important; right:auto !important; bottom:auto !important; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important; border:0 !important; text-indent:0 !important; transform:none !important; background-image:none !important; opacity:1 !important;
	-webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:22px 22px; mask-size:22px 22px; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a.flex-prev:after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a.flex-next:after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a { position:absolute; width:44px; top:50%; bottom:auto; margin:0; transform:translateY(-50%); background-color:rgba(0,0,0,.55); border-width:0; opacity:1; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:after { background-color:#fff; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a.flex-prev { left:20px; right:auto; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a.flex-next { right:20px; left:auto; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:hover, .metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:focus { background-color:var(--inxo-red); opacity:1; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:hover:after, .metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:focus:after { background-color:#fff; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:focus, .metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a:focus { outline:0; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-direction-nav a:focus-visible, .metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a { border:0 !important; height:auto !important; aspect-ratio:1 / 1 !important; min-width:6px !important; max-width:20px !important; border-radius:50% !important; box-shadow:none !important; transform:none !important; background-image:none !important; text-indent:-9999px !important; font-size:0 !important; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a { width:10px; background-color:rgba(0,0,0,.55); opacity:1; margin:0 5px; }
.metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a:hover, .metaslider.metaslider.metaslider-flex .flexslider .flex-control-nav li a.flex-active { background-color:var(--inxo-red); opacity:1; }
/* Themes that draw their arrow icon on :before (the rest use :after): put the chevron there, so each theme's own icon colour keeps working. */
.metaslider.metaslider.metaslider-flex:is(.ms-theme-cubic,.ms-theme-outline,.ms-theme-bubble,.ms-theme-jenga,.ms-theme-disjoint,.ms-theme-blend,.ms-theme-precognition,.ms-theme-radix,.ms-theme-highway) .flexslider .flex-direction-nav a:before { content:"" !important; display:block !important; position:absolute !important; top:0 !important; left:0 !important; right:auto !important; bottom:auto !important; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important; border:0 !important; transform:none !important; background-image:none !important; opacity:1 !important;
	-webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:22px 22px; mask-size:22px 22px; }
.metaslider.metaslider.metaslider-flex:is(.ms-theme-cubic,.ms-theme-outline,.ms-theme-bubble,.ms-theme-jenga,.ms-theme-disjoint,.ms-theme-blend,.ms-theme-precognition,.ms-theme-radix,.ms-theme-highway) .flexslider .flex-direction-nav a.flex-prev:before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important; }
.metaslider.metaslider.metaslider-flex:is(.ms-theme-cubic,.ms-theme-outline,.ms-theme-bubble,.ms-theme-jenga,.ms-theme-disjoint,.ms-theme-blend,.ms-theme-precognition,.ms-theme-radix,.ms-theme-highway) .flexslider .flex-direction-nav a.flex-next:before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important; }
.metaslider.metaslider.metaslider-flex:is(.ms-theme-cubic,.ms-theme-outline,.ms-theme-bubble,.ms-theme-jenga,.ms-theme-disjoint,.ms-theme-blend,.ms-theme-precognition,.ms-theme-radix,.ms-theme-highway) .flexslider .flex-direction-nav a:after { display:none !important; content:none !important; }
/* Nexus draws a white button with no icon layer: give its chevron a dark colour so it can be seen. */
.metaslider.metaslider.metaslider-flex.ms-theme-nexus .flexslider .flex-direction-nav a:after { background-color:#222; }
.inxo-banner-wrap { position:relative; }
.inxo-banner-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:2; border:0; background:rgba(0,0,0,.55); color:#fff; width:44px; height:44px; font-size:22px; cursor:pointer; }
.inxo-banner-btn:hover { background:var(--inxo-red); }
.inxo-banner-prev { left:0; } .inxo-banner-next { right:0; }

/* Homepage section heading: small label above a big title */
.inxo-eyebrow { text-align:center; font-size:.8rem; letter-spacing:.2em; text-transform:uppercase; color:#888; margin:0 auto !important; }
.inxo-section-title { text-align:center; font-size:clamp(1.6rem,3vw,2.2rem); margin:.25rem auto 1.75rem !important; }

/* Homepage project rail: posters edge to edge, scroll sideways, title on hover */
/* Homepage project rows: same look as the old site (inxo-eng): 5 / 4 / 3 / 2 / 1 posters per row, dark overlay + centred white title and categories on hover. */
.inxo-projects { position:relative; max-width:none !important; }
.inxo-projects .wp-block-post-template { display:flex !important; flex-wrap:nowrap; gap:0 !important; margin:0; padding:0; list-style:none; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; }
.inxo-projects .wp-block-post-template::-webkit-scrollbar { display:none; }
.inxo-projects .wp-block-post-template > li { flex:0 0 20%; margin:0 !important; position:relative; scroll-snap-align:start; overflow:hidden; }
@media (max-width:1280px) { .inxo-projects .wp-block-post-template > li { flex-basis:25%; } }
@media (max-width:1024px) { .inxo-projects .wp-block-post-template > li { flex-basis:33.3334%; } }
@media (max-width:768px)  { .inxo-projects .wp-block-post-template > li { flex-basis:50%; } }
@media (max-width:680px)  { .inxo-projects .wp-block-post-template > li { flex-basis:100%; } }
/* Grid version (Query Loop sidebar > Display > Grid, which adds the class is-style-inxo-grid; without it the row is a slider): no sideways scrolling, all posters shown, rows wrap; same sizes per screen width, hover look and no arrows / dots. */
/* 4 posters per row (3 / 2 / 1 on smaller screens) with a gap between them; the title and categories scale with the poster. */
.inxo-projects.is-style-inxo-grid { --inxo-gap:20px; --inxo-cols:4; }
.inxo-projects.is-style-inxo-grid .wp-block-post-template { flex-wrap:wrap; overflow:visible; scroll-snap-type:none; gap:var(--inxo-gap) !important; }
.inxo-projects.is-style-inxo-grid .wp-block-post-template > li { flex:0 0 calc((100% - (var(--inxo-cols) - 1) * var(--inxo-gap)) / var(--inxo-cols)); scroll-snap-align:none; container-type:inline-size; }
@media (max-width:1024px) { .inxo-projects.is-style-inxo-grid { --inxo-cols:3; } }
@media (max-width:768px)  { .inxo-projects.is-style-inxo-grid { --inxo-cols:2; --inxo-gap:12px; } }
@media (max-width:680px)  { .inxo-projects.is-style-inxo-grid { --inxo-cols:1; } }
/* Posters per row on wide screens (Query Loop sidebar > Display > Grid > Posters per row: adds inxo-cols-2 / inxo-cols-3; 4 = no class = the default above). The tablet / phone steps stay below the chosen number. */
.inxo-projects.is-style-inxo-grid.inxo-cols-2 { --inxo-cols:2; }
.inxo-projects.is-style-inxo-grid.inxo-cols-3 { --inxo-cols:3; }
/* 2 columns: wide rectangles (2:1). 3 columns: rectangles 300px tall (the width follows the column). Both: title 18px, category line 16px. */
.inxo-projects.is-style-inxo-grid.inxo-cols-2 .wp-block-post-featured-image img { aspect-ratio:2 / 1 !important; }
.inxo-projects.is-style-inxo-grid.inxo-cols-3 .wp-block-post-featured-image img { aspect-ratio:auto !important; height:300px !important; }
.inxo-projects.is-style-inxo-grid:is(.inxo-cols-2, .inxo-cols-3) .inxo-pli-text .wp-block-post-title { font-size:18px; letter-spacing:.16em; }
.inxo-projects.is-style-inxo-grid:is(.inxo-cols-2, .inxo-cols-3) .inxo-pli-cats { font-size:16px; }
@media (max-width:768px)  { .inxo-projects.is-style-inxo-grid.inxo-cols-3 { --inxo-cols:2; } }
@media (max-width:680px)  { .inxo-projects.is-style-inxo-grid.inxo-cols-2, .inxo-projects.is-style-inxo-grid.inxo-cols-3 { --inxo-cols:1; } }
.inxo-projects.is-style-inxo-grid .inxo-pli-text { padding:6cqw; }
.inxo-projects.is-style-inxo-grid .inxo-pli-text .wp-block-post-title { font-size:clamp(14px, 6.5cqw, 34px); letter-spacing:.22em; line-height:1.5; }
.inxo-projects.is-style-inxo-grid .inxo-pli-cats { margin-top:.4em !important; font-size:clamp(13px, 5cqw, 26px); font-weight:300; letter-spacing:.02em; }
/* poster: the artwork's own proportions (800x1132, like the old site); rests slightly zoomed in and eases to normal size on hover */
.inxo-projects .wp-block-post-featured-image { margin:0; overflow:hidden; }
.inxo-projects .wp-block-post-featured-image img { display:block; width:100%; height:auto !important; aspect-ratio:800 / 1132 !important; object-fit:cover; transform:scale(1.03); transition:transform 1s ease; }
.inxo-projects li:hover .wp-block-post-featured-image img, .inxo-projects li:focus-within .wp-block-post-featured-image img { transform:scale(1); }
/* dark overlay fades in over the whole poster */
.inxo-projects li::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.5); opacity:0; transition:opacity .5s ease; pointer-events:none; }
.inxo-projects li:hover::after, .inxo-projects li:focus-within::after { opacity:1; }
/* title + categories: centred, white; they appear with the overlay and rise 5px */
.inxo-projects .inxo-pli-text { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; box-sizing:border-box; padding:20px; margin:0 !important; opacity:0; transition:opacity .5s ease; pointer-events:none; }
.inxo-projects li:hover .inxo-pli-text, .inxo-projects li:focus-within .inxo-pli-text { opacity:1; }
.inxo-projects .inxo-pli-text > * { margin:0 !important; transform:translateY(0); transition:transform .3s ease .2s; }
.inxo-projects li:hover .inxo-pli-text > *, .inxo-projects li:focus-within .inxo-pli-text > * { transform:translateY(-5px); transition-delay:.1s; }
.inxo-projects .inxo-pli-text .wp-block-post-title { font-size:17px; line-height:1.5; letter-spacing:.13em; font-weight:700; text-transform:uppercase; }
.inxo-projects .inxo-pli-text .wp-block-post-title a { color:#fff; text-decoration:none; pointer-events:auto; }
.inxo-projects .inxo-pli-cats { margin-top:2px !important; font-size:16px; line-height:1.5; color:#fff; }
.inxo-projects .inxo-pli-cats a { color:#fff; text-decoration:none; pointer-events:auto; }
.inxo-projects .inxo-pli-cats a:hover { color:rgba(255,255,255,.8); }
.inxo-projects .inxo-pli-cats .inxo-pli-sep { margin:0 .1em; }
.inxo-rail-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border:0; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; padding:0; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background-color .2s; }
.inxo-rail-btn svg { display:block; width:22px; height:22px; pointer-events:none; }
.inxo-rail-btn:hover { background:var(--inxo-red); }
.inxo-rail-btn[hidden] { display:none; }
/* dots under each project row: one per resting position; same round look as the banner dots (grey; red = current) */
.inxo-rail-dots { position:absolute; left:0; right:0; bottom:-34px; display:flex; justify-content:center; gap:12px; z-index:3; }
.inxo-rail-dot { position:relative; width:10px; height:10px; padding:0; border:0; border-radius:50%; background:rgba(0,0,0,.25); cursor:pointer; transition:background-color .2s; }
.inxo-rail-dot::after { content:""; position:absolute; inset:-9px; }
.inxo-rail-dot:hover, .inxo-rail-dot.is-active { background:var(--inxo-red); }
.inxo-rail-dot:focus { outline:0; }
.inxo-rail-dot:focus-visible { outline:2px solid #1d2327; outline-offset:2px; }
.inxo-rail-prev { left:12px; } .inxo-rail-next { right:12px; }
/* Carousel version (Query Loop sidebar > Display > Carousel, class is-style-inxo-carousel; rail.js gives it the arrows, dots and auto-slide like the slider):
   one big poster in the middle, the next / previous ones peeking in at the sides, transparent background, no space above / below. The track has side
   space of (100% - poster width) / 2 (padding on the left, margin on the last poster on the right) so the first and the last poster can also sit in the middle. */
.inxo-projects.is-style-inxo-carousel { background:transparent; padding:0; }
.inxo-projects.is-style-inxo-carousel .wp-block-post-template { padding-inline:21% 0; }
.inxo-projects.is-style-inxo-carousel .wp-block-post-template > li { flex:0 0 58%; box-sizing:border-box; padding-inline:24px; overflow:visible; scroll-snap-align:center; }
.inxo-projects.is-style-inxo-carousel .wp-block-post-template > li:last-child { margin-right:21% !important; }
.inxo-projects.is-style-inxo-carousel .wp-block-post-featured-image img { aspect-ratio:1 / 1 !important; max-height:85vh; }
.inxo-projects.is-style-inxo-carousel li::after { inset:0 24px; } /* the hover shade covers the poster only, not the gap around it */
.inxo-projects.is-style-inxo-carousel .inxo-pli-text { inset:0 24px; }
@media (max-width:1024px) { .inxo-projects.is-style-inxo-carousel .wp-block-post-template { padding-inline:10% 0; } .inxo-projects.is-style-inxo-carousel .wp-block-post-template > li { flex-basis:80%; padding-inline:16px; } .inxo-projects.is-style-inxo-carousel .wp-block-post-template > li:last-child { margin-right:10% !important; } .inxo-projects.is-style-inxo-carousel li::after, .inxo-projects.is-style-inxo-carousel .inxo-pli-text { inset:0 16px; } }
@media (max-width:680px) { .inxo-projects.is-style-inxo-carousel .wp-block-post-template { padding-inline:6% 0; } .inxo-projects.is-style-inxo-carousel .wp-block-post-template > li { flex-basis:88%; padding-inline:8px; } .inxo-projects.is-style-inxo-carousel .wp-block-post-template > li:last-child { margin-right:6% !important; } .inxo-projects.is-style-inxo-carousel li::after, .inxo-projects.is-style-inxo-carousel .inxo-pli-text { inset:0 8px; } }

/* Pages: full width, optional banner */
.inxo-page-content { padding-top:var(--wp--preset--spacing--50); padding-bottom:var(--wp--preset--spacing--60); }
.inxo-page-content.is-flush { padding-top:0; padding-bottom:0; }
.inxo-banner-label { margin:0 0 .6rem; font-family:var(--inxo-head); font-size:.85rem; letter-spacing:.3em; text-transform:uppercase; }
.inxo-hero { position:relative; display:flex; align-items:center; justify-content:center; min-height:clamp(240px, 32vw, 520px); overflow:hidden; background:#000; color:#fff; text-align:center; }
.inxo-hero-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.inxo-hero::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.45); }
.inxo-hero-text { position:relative; z-index:1; padding:2rem var(--wp--preset--spacing--50); }
.inxo-hero h1 { margin:0; color:#fff; font-family:var(--inxo-head); font-size:clamp(2rem, 4.5vw, 3.4rem); font-weight:700; letter-spacing:.12em; text-transform:uppercase; line-height:1.5; }
.inxo-page-title { text-align:center; padding:var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) 0; }
.inxo-page-title h1 { margin:0; font-family:var(--inxo-head); font-size:clamp(1.8rem, 3.5vw, 2.6rem); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.inxo-page-title .inxo-banner-label { color:#888; }
/* Shop pages keep a readable width */
.woocommerce-cart .inxo-page-content, .woocommerce-checkout .inxo-page-content { max-width:1200px; margin-left:auto; margin-right:auto; }
/* WooCommerce notices (block banners + classic messages): one modern look - soft tint, rounded, coloured icon without a filled circle, pill action button, no focus ring */
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error { --n:#2a6fc9; --n-bg:#f3f7fd; --n-line:#cfdff5; }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-error, .woocommerce-error { --n:var(--inxo-red); --n-bg:#fdf2f4; --n-line:#f3c9d1; }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-success, .woocommerce-message { --n:#1e8a4a; --n-bg:#f1faf4; --n-line:#c5e8d0; }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-warning { --n:#b36b00; --n-bg:#fff9ee; --n-line:#f5dfb0; }
.wc-block-components-notice-banner.wc-block-components-notice-banner { border-color:var(--n-line) !important; background-color:var(--n-bg) !important; align-items:center; gap:14px; margin:0 0 1.25rem; padding:14px 18px !important; background-color:var(--n-bg); border:1px solid var(--n-line); border-radius:12px; box-shadow:inset 4px 0 0 var(--n); color:#2f2f2f; font-size:.95rem; }
.wc-block-components-notice-banner.wc-block-components-notice-banner:focus, .wc-block-components-notice-banner.wc-block-components-notice-banner:focus-visible { outline:0 !important; }
.wc-block-components-notice-banner > svg { flex:none; width:24px; height:24px; padding:0; background:none !important; fill:var(--n) !important; border-radius:0; transform:none; }
.wc-block-components-notice-banner.is-error > svg, .wc-block-components-notice-banner.is-warning > svg { transform:rotate(180deg); }
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content { align-self:center; }
.wc-block-components-notice-banner .wc-block-components-notice-banner__summary { margin:0 0 .35rem; color:#1d2327; }
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward, .wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.button, .woocommerce-message .button, .woocommerce-info .button { float:right; margin:-.15rem 0 -.15rem 1.2rem !important; padding:.35rem 1.1rem !important; border:1px solid var(--n) !important; border-radius:99px; background:#fff !important; color:var(--n) !important; font:500 .85rem/1.5 var(--inxo-body); text-decoration:none !important; opacity:1; box-shadow:none; transition:all .15s; }
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward:hover, .wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.button:hover, .woocommerce-message .button:hover, .woocommerce-info .button:hover { background:var(--n) !important; color:#fff !important; }
.wc-block-components-notice-banner > .wc-block-components-button { color:var(--n) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { position:relative; margin:0 0 1.25rem; padding:14px 18px 14px 52px; background:var(--n-bg); border:1px solid var(--n-line); border-top:1px solid var(--n-line); border-radius:12px; box-shadow:inset 4px 0 0 var(--n); color:#2f2f2f; font-size:.95rem; line-height:1.5; list-style:none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content:""; display:block; position:absolute; top:15px; left:20px; width:22px; height:22px; font-family:inherit; background-color:var(--n); -webkit-mask:var(--ico) center / contain no-repeat; mask:var(--ico) center / contain no-repeat; }
.woocommerce-message { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.5'/%3E%3C/svg%3E"); }
.woocommerce-info { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
.woocommerce-error { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
.woocommerce-error li { margin:0; padding:0; list-style:none; }
.woocommerce-error li + li { margin-top:.3rem; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { color:var(--n); }

/* Milestones timeline */
.inxo-ms { --ms-line:#d9d9dc; }
.inxo-ms-nav { position:sticky; top:var(--inxo-overlay-top, 80px); z-index:50; background:#fff; border-bottom:1px solid var(--ms-line); padding:.75rem var(--wp--preset--spacing--50); display:flex; flex-direction:column; gap:.6rem; }
.inxo-ms-nav { flex-direction:row; flex-wrap:wrap; align-items:flex-end; gap:1.1rem 2rem; padding-top:1rem; padding-bottom:1rem; box-shadow:0 10px 22px -8px rgba(0,0,0,.22), 0 2px 5px rgba(0,0,0,.08); }
.inxo-ms-field { display:flex; flex-direction:column; gap:.2rem; min-width:0; }
.inxo-ms-label { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#777; }
.inxo-ms-field { min-width:12rem; } .inxo-ms-field:has([data-filter="cat"]) { min-width:24rem; max-width:100%; } /* the select itself is the site standard select (assets/ui.css) */
.inxo-ms-card[hidden], .inxo-ms-year[hidden] { display:none; }
.inxo-ms-rv { opacity:0; transform:translateY(30px); transition:opacity .8s ease var(--rv-d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s); }
.inxo-ms-rv.is-in { opacity:1; transform:none; }
.inxo-ms-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:.45rem; }
.inxo-ms-body { padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); max-width:none; margin:0; }
.inxo-ms-year { display:grid; grid-template-columns:110px minmax(0, 1fr); gap:1.5rem; position:relative; padding-bottom:2rem; scroll-margin-top:calc(var(--inxo-overlay-top, 80px) + 110px); }
.inxo-ms-year::before { content:""; position:absolute; left:54px; top:2.2rem; bottom:0; width:1px; background:var(--ms-line); }
.inxo-ms-y span { display:block; font-size:2rem; font-weight:500; line-height:1.5; }
.inxo-ms-y::after { content:""; display:block; width:11px; height:11px; border-radius:50%; background:var(--inxo-red); margin:.55rem 0 0 49px; position:relative; }
.inxo-ms-card { border:1px solid var(--ms-line); border-radius:12px; padding:1rem 1.2rem; margin-bottom:.9rem; background:#fff; }
.inxo-ms-tag { display:inline-block; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:.15rem .7rem; border-radius:99px; margin-bottom:.5rem; }
.inxo-ms-row { display:grid; grid-template-columns:7.5rem minmax(0, 1fr); gap:.9rem; padding:.55rem 0; border-top:1px solid #eee; }
.inxo-ms-tag + .inxo-ms-row { border-top:0; }
.inxo-ms-d { color:#777; font-size:.85rem; padding-top:.2rem; }
.inxo-ms-row p { margin:0; line-height:1.5; }
.inxo-ms-link { display:block; width:fit-content; margin:.2rem 0 0; font-size:.85rem; white-space:nowrap; }
.inxo-ms-details { margin-top:.35rem; }
.inxo-ms-row .inxo-ms-details-title { margin:0; color:var(--inxo-red); font-size:.85rem; }
.inxo-ms-more { margin-top:.4rem; color:#555; font-size:.92rem; }
.inxo-ms-more ul, .inxo-ms-more ol { margin:.3rem 0; padding-left:1.2rem; }
.inxo-ms-more p { margin:.3rem 0; }
.c0 { background:#fbe9ed; color:#8c0f29; } .c1 { background:#e8f0fb; color:#1a4f9c; } .c2 { background:#e7f4ea; color:#1f6b36; }
.c3 { background:#fdf1dc; color:#8a5a00; } .c4 { background:#efe9fb; color:#4b2f95; } .c5 { background:#e0f4f3; color:#0f6460; }
.inxo-ms-dot.c0 { background:#c8153b; } .inxo-ms-dot.c1 { background:#2f6fd1; } .inxo-ms-dot.c2 { background:#2e9150; }
.inxo-ms-dot.c3 { background:#d89114; } .inxo-ms-dot.c4 { background:#7352d1; } .inxo-ms-dot.c5 { background:#1b9a94; }
@media (max-width:700px) {
	.inxo-ms-nav { gap:1.25rem; }
	.inxo-ms-field, .inxo-ms-field:has([data-filter="cat"]) { flex:1 1 100%; gap:.4rem; min-width:0 !important; }
	.inxo-ms-select, .inxo-ms-select[data-filter="cat"] { width:100%; min-width:0; }
	.inxo-ms-year { grid-template-columns:minmax(0, 1fr); gap:.6rem; }
	.inxo-ms-year::before, .inxo-ms-y::after { display:none; }
	.inxo-ms-y span { font-size:1.6rem; }
	.inxo-ms-row { grid-template-columns:5.5rem minmax(0, 1fr); gap:.6rem; }
}

/* Past Events */
.inxo-event-terms { margin:.25rem 0 .75rem; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; }
.inxo-event-terms a { color:#888; text-decoration:none; }
.inxo-event-terms a:hover { color:var(--inxo-red); }
.inxo-events-wrap { padding-top:var(--wp--preset--spacing--40); }
.inxo-events .wp-block-query-title { margin-bottom:var(--wp--preset--spacing--50); }
/* Event details: bold label with a thin line to its right, the text (light) under it */
.inxo-event-details { margin:1.5rem 0 1.25rem; padding:0; }
.inxo-event-details > div { display:block; margin:0 0 2rem; padding:0; }
.inxo-event-details dt { display:flex; align-items:center; gap:1rem; margin:0; color:#000; font-family:var(--inxo-head); font-size:1.05rem; font-weight:700; letter-spacing:.2em; line-height:1.5; text-transform:uppercase; }
.inxo-event-details dt::after { content:""; flex:1 1 auto; height:1px; background:#e6e6e6; }
.inxo-event-details dd { margin:.8rem 0 0; color:#777; font-family:var(--inxo-head); font-size:1.05rem; font-weight:300; letter-spacing:.04em; line-height:1.5; }
.inxo-event .wp-block-post-featured-image img { cursor:pointer; }
.inxo-event .wp-block-post-featured-image a { cursor:pointer; }
.inxo-event .wp-block-post-title a { text-decoration:none; color:inherit; }
.inxo-event .wp-block-post-title a:hover { color:var(--inxo-red); }
/* Every picture that opens enlarged (gallery pictures, pictures with the class "inxo-zoom", the event's main picture, WordPress's own "Expand on click") shows the pointer hand. Same list as assets/lightbox.js. */
.wp-block-gallery:not(.no-lightbox) img, .wp-block-image.inxo-zoom img, .inxo-event .wp-block-post-featured-image img, .wp-lightbox-container img { cursor:pointer; }
/* Galleries, everywhere by default: every picture the same size. WordPress stretches the pictures of a short last row to fill the line (so the last 3 came out bigger):
   here they keep the size of the others and sit at the left. Pictures are cropped to one shape (3:2). Past Event galleries have their own square grid below. */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow:0; aspect-ratio:3/2; }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { width:100%; height:100%; object-fit:cover; }
/* Rows of boxes (Row block, wrap + centred, each box a Group with a fixed width such as 31%): one box per line on phones. */
@media (max-width:781px) {
	.wp-block-group.is-layout-flex:has(> .wp-block-group[class*="wp-container-content-"]) { flex-wrap:wrap !important; }
	.wp-block-group.is-layout-flex > .wp-block-group[class*="wp-container-content-"] { flex-basis:100% !important; }
}
/* Person rows (photo column 16.67% + text column 83.33%, e.g. the artists of the Residency page): on phones the columns stack, so the photo is capped at 250px wide (same 3:2 shape) and centred. */
@media (max-width:781px) {
	.wp-block-columns > .wp-block-column[style*="flex-basis:16.67%"] > .wp-block-image { display:block; max-width:250px; width:100%; margin-inline:auto; } /* display:block: a centred image is display:table in WordPress, and a table ignores max-width */
	.wp-block-columns > .wp-block-column[style*="flex-basis:16.67%"] > .wp-block-image img { width:100%; height:auto; }
}
/* Logo galleries ("Supported by" etc.): Gallery > Advanced > Additional CSS class "inxo-gallery-logos" shows every logo whole, not cropped to 3:2. */
.wp-block-gallery.has-nested-images.inxo-gallery-logos figure.wp-block-image:not(#individual-image) { aspect-ratio:auto; }
.wp-block-gallery.has-nested-images.inxo-gallery-logos figure.wp-block-image:not(#individual-image) img { height:auto; object-fit:contain; }
.inxo-event .wp-block-gallery.has-nested-images.inxo-gallery-logos figure.wp-block-image:not(#individual-image) { aspect-ratio:auto; }
.inxo-event .wp-block-gallery.has-nested-images.inxo-gallery-logos figure.wp-block-image img { height:auto !important; object-fit:contain; }
/* Event photos: 8 per row, every photo the same square size; a short last row stays left-aligned with blank space beside it */
.inxo-event .wp-block-gallery.has-nested-images { display:grid !important; grid-template-columns:repeat(8, minmax(0, 1fr)); margin-top:1.25rem; }
/* gap: 8px unless the editor chose a Block spacing on the Gallery (WordPress then adds its own wp-container-core-gallery class, which wins) */
.inxo-event .wp-block-gallery.has-nested-images:not([class*="wp-container-core-gallery"]) { gap:8px; }
.inxo-event .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width:auto !important; margin:0 !important; flex:none !important; aspect-ratio:1/1; }
.inxo-event .wp-block-gallery.has-nested-images figure.wp-block-image img { width:100% !important; height:100% !important; object-fit:cover; cursor:pointer; }
@media (max-width:1000px) { .inxo-event .wp-block-gallery.has-nested-images { grid-template-columns:repeat(4, minmax(0, 1fr)); } }
@media (max-width:600px) { .inxo-event .wp-block-gallery.has-nested-images { grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@media (max-width:781px) { .inxo-event-cols { flex-wrap:wrap !important; } .inxo-event-cols > .wp-block-column { flex-basis:100% !important; } }
/* Event text looks like the old site (inxo-eng): Josefin Sans Light, 17px on a 28px line; justified on phones (centred / right-aligned paragraphs are left alone). */
.inxo-event .wp-block-post-content :is(p, li, h2, h3, h4, h5, h6) { font-family:var(--inxo-head); }
.inxo-event .wp-block-post-content :is(p, li) { font-size:17px; font-weight:300; line-height:1.5; }
@media (max-width:781px) { .inxo-event .wp-block-post-content p:not(.has-text-align-center):not(.has-text-align-right):not([style*="text-align"]) { text-align:justify; text-justify:inter-character; hyphens:auto; } }

/* Past Events list (the Past Events page and the year / category pages): the same rows as 70 Heartfelt Way - full width, picture 23% on the left,
   title and category on the left, text on the right; every second event on light grey. (Events have no page of their own: titles and pictures are not links.) */
.inxo-page-content:has(> .inxo-events-list) { padding-top:0; padding-bottom:0; }
.inxo-events-wrap:has(> .inxo-events-list) { padding:0 !important; }
.inxo-events-list { margin-block:0; }
.inxo-events-list .wp-block-post-template { margin:0; padding:0; list-style:none; }
.inxo-events-list .wp-block-post-template > li { margin:0; }
.inxo-events-list .inxo-event { margin:0; padding:0 !important; border:0 !important; background:#fff; }
.inxo-events-list .wp-block-post-template > li:nth-child(even) .inxo-event { background:#f6f6f6; }
.inxo-events-list .inxo-event-cols { flex-wrap:nowrap; gap:0 !important; margin:0 !important; align-items:flex-start; }
.inxo-events-list .inxo-event-cols > .wp-block-column:first-child { flex:0 0 23% !important; }
.inxo-events-list .inxo-event-cols > .wp-block-column:first-child > * { margin:0; }
.inxo-events-list .inxo-event-cols .wp-block-post-featured-image img { display:block; width:100% !important; height:auto !important; aspect-ratio:auto !important; object-fit:initial !important; }
.inxo-events-list .inxo-event-cols > .wp-block-column:last-child { flex:1 1 0 !important; min-width:0; box-sizing:border-box; padding:1.5rem 1.25rem 3.5rem 1.9rem; }
.inxo-events-list .inxo-event-cols > .wp-block-column:last-child > * { margin-block:0; }
.inxo-events-list .inxo-event-cols > .wp-block-column:last-child > * + * { margin-block-start:1rem; }
.inxo-events-list .wp-block-post-title { margin:0 !important; text-align:left; font-family:var(--inxo-head); font-size:26px !important; text-transform:uppercase; padding-top:10px; }
.inxo-events-list .inxo-event-cols > .wp-block-column:last-child > .inxo-event-terms { margin:0 0 2rem !important; text-align:left; } /* category right under the title, a gap before the speaker / time details */
.inxo-events-list .inxo-event .wp-block-post-content :is(p, li) { color:#666; }
.inxo-events-list .inxo-pager { margin:0; padding:2.5rem var(--wp--preset--spacing--50) 3rem; }
@media (max-width:781px) {
	.inxo-events-list .inxo-event-cols { flex-wrap:wrap; }
	.inxo-events-list .inxo-event-cols > .wp-block-column:first-child, .inxo-events-list .inxo-event-cols > .wp-block-column:last-child { flex:0 0 100% !important; }
	.inxo-events-list .inxo-event-cols > .wp-block-column:last-child { padding:1.5rem var(--wp--preset--spacing--40) 3rem; }
}

/* Photo popup (lightbox) */
.inxo-lb { position:fixed; inset:0; z-index:100000; display:flex; flex-direction:column; justify-content:center; align-items:center; background:rgba(0,0,0,.88); padding:24px; }
.inxo-lb[hidden] { display:none; }
.inxo-lb-frame { position:relative; max-width:min(1100px,94vw); }
.inxo-lb-img { display:block; max-width:100%; max-height:80vh; margin:0 auto; border:5px solid #fff; background:#fff; }
.inxo-lb-bar { display:flex; justify-content:space-between; align-items:center; width:min(1100px,94vw); margin-top:.5rem; color:#fff; font-size:.9rem; }
.inxo-lb-close { border:0; background:none; color:#fff; font-size:40px; line-height:1; cursor:pointer; }
.inxo-lb-close:hover, .inxo-lb-prev:hover, .inxo-lb-next:hover { color:var(--inxo-red); }
.inxo-lb-prev, .inxo-lb-next { position:absolute; top:50%; transform:translateY(-50%); border:0; background:rgba(0,0,0,.5); color:#fff; width:44px; height:64px; font-size:32px; cursor:pointer; }
.inxo-lb-prev { left:0; } .inxo-lb-next { right:0; }
.inxo-lb.is-single .inxo-lb-prev, .inxo-lb.is-single .inxo-lb-next { display:none; }
html.inxo-lb-open { overflow:hidden; }

/* Sticky header: stays visible while scrolling */
.wp-site-blocks > .wp-block-template-part:first-child { position:sticky; top:0; z-index:1000; }
body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top:32px; }
@media (max-width:782px) { body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top:46px; } }

/* Back to top button (bottom right) */
.inxo-top { position:fixed; right:24px; bottom:24px; z-index:999; width:46px; height:46px; border:0; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:0 0 0 1px rgba(255,255,255,.35), 0 2px 10px rgba(0,0,0,.4); opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .25s, transform .25s, visibility .25s, background .2s; }
.inxo-top.is-visible { opacity:1; visibility:visible; transform:none; }
.inxo-top:hover { background:var(--inxo-red); }


/* The About banner is already a dark red picture: no extra dark layer, so it keeps the old site's bright red. */
.inxo-hero:has(img[src*="about-us-hero-image"])::after { background:none; }

/* Pages built from "INXO Section" groups (Group block > Styles > INXO Section; look and spacing are in styles/blocks/section.json): no gap above / below them. */
.inxo-page-content:has(> :is(.is-style-inxo-section, .is-style-inxo-section-gray)) { padding-top:0; padding-bottom:0; }

/* Gray band: pick Styles > "INXO Section Gray" on a Group (same spacing as "INXO Section", light grey #f6f6f6 background). */
/* Phones: columns stack, so a section title beside text is centred, the text loses its vertical line, and left-aligned paragraphs are justified. */
@media (max-width:781px) {
	:is(.is-style-inxo-section, .is-style-inxo-section-gray) .wp-block-column > .wp-block-heading { text-align:center; }
	:is(.is-style-inxo-section, .is-style-inxo-section-gray) .wp-block-column > .wp-block-group { border-left:0 !important; padding-left:0 !important; }
	:is(.is-style-inxo-section, .is-style-inxo-section-gray) p:not(.has-text-align-center):not(.has-text-align-right) { text-align:justify; hyphens:auto; }
}

/* Photo popup: no focus frame around the close button (and the arrows) */
.inxo-lb button:focus, .inxo-lb button:focus-visible { outline:0; box-shadow:none; }

/* Contact Us page (Group "INXO Section" + class inxo-contact; the form is Contact Form 7). Look taken from the old site's Contact page. */
.inxo-hero:has(img[src*="background-hero-image"])::after { background:none; } /* the Contact banner is already a bright red picture, like About */
.inxo-contact a { color:#000; }
.inxo-contact a:hover { color:var(--inxo-red); }
.inxo-contact :is(h2) { font-size:clamp(1.35rem, 1.1rem + .9vw, 1.6rem); } /* "Write To Us" / "Be Our Volunteer": a little smaller than the other section titles */
.inxo-contact .wp-block-social-links { gap:0 1.75rem; }
.inxo-contact .wp-block-social-links .wp-social-link a { padding:0; }
.inxo-contact hr.wp-block-separator { width:100%; max-width:1100px; margin-top:2.5rem; margin-bottom:2.5rem; border:0; border-top:1px solid #e6e6e6; background:none; height:0; opacity:1; }
.inxo-contact hr.wp-block-separator:last-child { margin-bottom:0; }
.inxo-map-wrap { padding:0 !important; } /* margins stay as set: the alignfull negative side margins make it edge to edge */
.wpcf7, .wpcf7 form { width:100%; max-width:none; }
.wpcf7-form p { width:100%; margin:0 0 1.25rem; }
.wpcf7-form-control-wrap { display:block; width:100%; }
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea) { display:block; width:100% !important; max-width:100% !important; box-sizing:border-box; }
.wpcf7 textarea { height:16rem; resize:vertical; }
.wpcf7-not-valid-tip { margin-top:.35rem; font-size:.85em; color:var(--inxo-red); }
.wpcf7 .wpcf7-spinner { display:none !important; } /* the full-page LOADING screen (assets/cf7-loader.js) replaces the little dots beside the button */
/* Contact Form 7 messages: same look as the WooCommerce notices above (soft tint, coloured bar and icon) */
.wpcf7 form .wpcf7-response-output { --n:#2a6fc9; --n-bg:#f3f7fd; --n-line:#cfdff5; position:relative; margin:1.25rem 0 0 !important; padding:14px 18px 14px 52px !important; background:var(--n-bg); border:1px solid var(--n-line) !important; border-radius:12px; box-shadow:inset 4px 0 0 var(--n); color:#2f2f2f; font-size:.95rem; line-height:1.5; }
.wpcf7 form .wpcf7-response-output::before { content:""; position:absolute; top:15px; left:20px; width:22px; height:22px; background-color:var(--n); -webkit-mask:var(--ico) center / contain no-repeat; mask:var(--ico) center / contain no-repeat; }
.wpcf7 form.sent .wpcf7-response-output { --n:#1e8a4a; --n-bg:#f1faf4; --n-line:#c5e8d0; --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); }
.wpcf7 form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output { --n:var(--inxo-red); --n-bg:#fdf2f4; --n-line:#f3c9d1; --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display:none; }
/* Full-width Google map under the page; it touches the black footer, as on the old site */
iframe.inxo-map { display:block; width:100%; height:450px; border:0; margin:0; }
@media (max-width:781px) {
	.inxo-contact .wp-block-column > p { text-align:center; }
	.inxo-contact .wp-block-social-links { justify-content:center; }
	.wpcf7 textarea { height:12rem; }
}

/* Chern Art page (Group "INXO Section" + class inxo-chern). Look taken from the old site. Reusable on other pages:
   heading Style "Subtitle with Line" (Heading block > Styles) = small bold title with a thin line to its right; paragraph class "inxo-sub" = small bold label under a title. */
.inxo-hero:has(img[src*="chern-art-header"])::after { background:rgba(0,0,0,.22); }
.inxo-chern h2 { font-size:clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); }
.inxo-chern a { color:#000; text-decoration:none; }
.inxo-chern a:hover { color:var(--inxo-red); text-decoration:underline; }
.inxo-sub { margin-top:-.3rem !important; font-family:var(--inxo-head); font-size:.85rem; font-weight:700 !important; letter-spacing:.14em; text-transform:uppercase; }
/* Heading style "Subtitle with Line" (registered in inc/contact.php; used on Chern Art, 70 Heartfelt Way ...) */
:is(h1, h2, h3, h4, h5, h6).is-style-inxo-subtitle-line { display:flex; align-items:center; gap:1rem; margin-top:2rem; font-family:var(--inxo-head); font-size:1rem; font-weight:700; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
:is(h1, h2, h3, h4, h5, h6).is-style-inxo-subtitle-line::after { content:""; flex:1 1 auto; height:1px; background:#e6e6e6; }
/* On the light grey (#f6f6f6) section the pale line nearly disappears: darker there (still 1px). */
.is-style-inxo-section-gray :is(h1, h2, h3, h4, h5, h6).is-style-inxo-subtitle-line::after { height:1px; background:#c4c4c4; }
.inxo-media-list > .is-style-inxo-subtitle-line { margin-top:0; }
.inxo-media-list > .is-style-inxo-subtitle-line:not(:first-child) { margin-top:1.75rem; }
.inxo-media-list > p { margin-top:.5rem; }
.inxo-chern .inxo-shop img { box-shadow:0 0 12px rgba(0,0,0,.18); }
.inxo-chern .wp-block-list { margin:0; padding-left:1.2rem; list-style:disc; }
.inxo-chern .wp-block-list li::marker { color:#999; }
.inxo-chern .wp-block-embed { margin:0; }
.inxo-chern .wp-block-embed iframe { display:block; }

/* INXO Arts Fund page: grey About band, then one row per year (picture, title, Read More, big outlined year). Odd rows: picture left / year right; rows with class "is-flipped": the other way round. */
.inxo-hero:has(img[src*="iaf-header"])::after { background:none; }
.inxo-iaf-about, .inxo-iaf-about p { color:#666; }
.inxo-iaf-about .inxo-sub { color:#888; margin-top:-.3rem !important; }
.inxo-iaf-about .wp-block-column > .wp-block-heading { margin-top:0; }
@media (max-width:781px) { .inxo-iaf-about .wp-block-column > .wp-block-heading, .inxo-iaf-about .inxo-sub { text-align:center !important; } } /* phones: title + sub-title centred (desktop: right-aligned beside the text) */
.inxo-iaf-row { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); grid-template-areas:"img year" "title year" "text year" "btn year"; grid-template-rows:auto auto auto 1fr; column-gap:2rem; align-items:start; }
.inxo-iaf-row.is-flipped { grid-template-columns:minmax(0,1fr) minmax(0,3fr); grid-template-areas:"year img" "year title" "year text" "year btn"; }
.inxo-iaf-row + .inxo-iaf-row { margin-top:6rem; }
.inxo-iaf-row > * { margin-block:0; }
.inxo-iaf-row > .wp-block-image { grid-area:img; width:95%; justify-self:start; }
.inxo-iaf-row > .wp-block-image img { display:block; width:100%; height:auto; }
.inxo-iaf-row > h3 { grid-area:title; margin-top:1.4rem; width:100%; text-align:right; font-family:var(--inxo-head); font-size:clamp(1.5rem, 1rem + 1.6vw, 2.1rem); font-weight:900; letter-spacing:.2em; text-transform:uppercase; }
.inxo-iaf-row > p:not(.inxo-iaf-year) { grid-area:text; margin-top:.6rem; text-align:right; color:#666; }
.inxo-iaf-row.is-flipped > p:not(.inxo-iaf-year) { text-align:left; padding-left:5%; }
.inxo-iaf-row > .wp-block-buttons { grid-area:btn; margin-top:1.6rem; justify-content:flex-end; }
.inxo-iaf-row .wp-block-button__link { min-width:13rem; padding:1rem 2.5rem; border:2px solid #000; border-radius:0; background:transparent; color:#000; font-family:var(--inxo-head); font-size:.8rem; font-weight:700; letter-spacing:.25em; text-transform:uppercase; text-align:center; transition:background-color .2s, color .2s; }
.inxo-iaf-row .wp-block-button__link:hover, .inxo-iaf-row .wp-block-button__link:focus-visible { background:#000; color:#fff; }
.inxo-iaf-year { grid-area:year; justify-self:end; align-self:start; writing-mode:vertical-rl; margin:0; font-family:var(--inxo-head); font-size:clamp(7rem, 21vw, 17.5rem); font-weight:700; line-height:1.5; color:transparent; -webkit-text-stroke:1.5px #000; user-select:none; }
.inxo-iaf-row.is-flipped > .wp-block-image { justify-self:end; }
.inxo-iaf-row.is-flipped > h3 { text-align:left; padding-left:5%; box-sizing:border-box; }
.inxo-iaf-row.is-flipped > .wp-block-buttons { justify-content:flex-start; padding-left:5%; }
.inxo-iaf-row.is-flipped > .inxo-iaf-year { justify-self:start; }
@media (max-width:781px) {
	.inxo-iaf-row, .inxo-iaf-row.is-flipped { display:flex; flex-direction:column; align-items:center; text-align:center; }
	.inxo-iaf-row + .inxo-iaf-row { margin-top:4rem; }
	.inxo-iaf-row > .wp-block-image { width:100%; }
	.inxo-iaf-row > h3, .inxo-iaf-row.is-flipped > h3, .inxo-iaf-row > p:not(.inxo-iaf-year), .inxo-iaf-row.is-flipped > p:not(.inxo-iaf-year) { text-align:center; padding:0; }
	.inxo-iaf-row > .wp-block-buttons, .inxo-iaf-row.is-flipped > .wp-block-buttons { justify-content:center; padding:0; }
	.inxo-iaf-year { order:-1; writing-mode:horizontal-tb; font-size:5.5rem; line-height:1; margin-bottom:.5rem; }
}

/* Paragraph / Heading > Styles > "Outline Title": huge hollow text (just the outline). */
.is-style-inxo-outline-title { margin:0; font-family:var(--inxo-head); font-size:clamp(7rem, 21vw, 17.5rem); font-weight:700; line-height:1.5; color:transparent; -webkit-text-stroke:1.5px #000; user-select:none; }

/* Columns block > Styles > "Year Row" (use it anywhere): [ column 1: picture + title + Read More | column 2: year ].
   Put the year in column 2 as a Paragraph with the style "Outline Title". Rows of this style alternate by themselves: every second one
   is mirrored (year on the left, text left-aligned). On phones the columns stack and the year goes on top, centred. */
.is-style-inxo-year-row { margin-bottom:0; column-gap:2rem; }
.is-style-inxo-year-row:nth-child(even) { flex-direction:row-reverse; }
.is-style-inxo-year-row + .is-style-inxo-year-row { margin-top:6rem; }
.is-style-inxo-year-row .wp-block-column > * { margin-block:0; }
.is-style-inxo-year-row .wp-block-image { width:100%; }
.is-style-inxo-year-row .wp-block-image img { display:block; width:100%; height:auto; }
.is-style-inxo-year-row .wp-block-column > h3 { margin-top:1.4rem; font-family:var(--inxo-head); font-size:clamp(1.5rem, 1rem + 1.6vw, 2.1rem); font-weight:900; letter-spacing:.2em; text-transform:uppercase; text-align:right; }
.is-style-inxo-year-row:nth-child(even) .wp-block-column > h3 { text-align:left; padding-left:1%; box-sizing:border-box; }
.is-style-inxo-year-row .wp-block-buttons { display:flex; margin-top:1.6rem; justify-content:flex-end; }
.is-style-inxo-year-row:nth-child(even) .wp-block-buttons { justify-content:flex-start; padding-left:1%; }
.is-style-inxo-year-row .wp-block-button__link { min-width:13rem; padding:1rem 2.5rem; border:2px solid #000; border-radius:0; background:transparent; color:#000; font-family:var(--inxo-head); font-size:.8rem; font-weight:700; letter-spacing:.25em; text-transform:uppercase; text-align:center; transition:background-color .2s, color .2s; }
.is-style-inxo-year-row .wp-block-button__link:hover, .is-style-inxo-year-row .wp-block-button__link:focus-visible { background:#000; color:#fff; }
.is-style-inxo-year-row .wp-block-column > .is-style-inxo-outline-title { writing-mode:vertical-rl; height:max-content; white-space:nowrap; word-break:normal; overflow-wrap:normal; line-height:1; font-size:clamp(7rem, 18vw, 15rem); margin:0; } /* height:max-content = the row grows to the full year instead of the year spilling under the next row */
.is-style-inxo-year-row:nth-child(even) .wp-block-column > .is-style-inxo-outline-title { margin:0 auto 0 0; }
@media (max-width:781px) {
	.is-style-inxo-year-row, .is-style-inxo-year-row:nth-child(even) { flex-direction:row; row-gap:.5rem; }
	.is-style-inxo-year-row + .is-style-inxo-year-row { margin-top:4rem; }
	.is-style-inxo-year-row .wp-block-column:has(> .is-style-inxo-outline-title) { order:-1; }
	.is-style-inxo-year-row .wp-block-column > .is-style-inxo-outline-title { writing-mode:horizontal-tb; height:auto; font-size:5.5rem; line-height:1; text-align:center !important; white-space:normal; margin:0 0 .5rem !important; } /* !important: the site rule that justifies paragraphs inside sections would otherwise win */
	.is-style-inxo-year-row .wp-block-column > h3, .is-style-inxo-year-row:nth-child(even) .wp-block-column > h3 { text-align:center; padding:0; }
	.is-style-inxo-year-row .wp-block-buttons, .is-style-inxo-year-row:nth-child(even) .wp-block-buttons { justify-content:center; padding:0; }
}

/* 70 Heartfelt Way (and any page made the same way): one full-width Group "inxo-hw-row" per event = [Columns: picture 23% | text]. Every second row is light grey
   automatically, so a row can be added, moved or duplicated without setting colours. In the text column: first Heading (H3) = centred event title,
   Heading H4 with Style "Subtitle with Line" = small label with a line (Date & time, Venue ...). */
.inxo-hero:has(img[src*="title-70-heartfelt-way"])::after { background:none; }
.inxo-page-content:has(> .inxo-hw-row) { padding-top:0; padding-bottom:0; }
.inxo-page-content > .inxo-hw-row { margin-block:0; padding:0; }
.inxo-hw-row:nth-of-type(even) { background:#f6f6f6; }
.inxo-hw-cols { margin:0 !important; gap:0 !important; align-items:flex-start; flex-wrap:nowrap; }
.inxo-hw-cols > .wp-block-column:first-child { flex:0 0 23%; }
.inxo-hw-cols > .wp-block-column:first-child > * { margin:0; }
.inxo-hw-cols .wp-block-image img { display:block; width:100%; height:auto; }
.inxo-hw-cols .wp-block-embed iframe { display:block; }
.inxo-hw-cols > .wp-block-column:last-child { padding:1.5rem 1.25rem 3.5rem 1.9rem; box-sizing:border-box; min-width:0; }
.inxo-hw-cols > .wp-block-column:last-child > * { margin-block:0; }
.inxo-hw-cols > .wp-block-column:last-child > * + * { margin-block-start:1rem; }
.inxo-hw-cols h3 { margin:2.25rem 0 2.25rem !important; font-family:var(--inxo-head); font-size:clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight:900; letter-spacing:.14em; line-height:1.5; }
.inxo-hw-cols .is-style-inxo-subtitle-line { margin-top:2rem !important; }
.inxo-hw-cols p { color:#666; }
.inxo-hw-cols a { color:#000; overflow-wrap:anywhere; }
.inxo-hw-cols a:hover { color:var(--inxo-red); }
@media (max-width:781px) {
	.inxo-hw-cols { flex-wrap:wrap; }
	.inxo-hw-cols > .wp-block-column:first-child { flex:0 0 100%; }
	.inxo-hw-cols > .wp-block-column:last-child { flex:0 0 100%; padding:1.5rem var(--wp--preset--spacing--40) 3rem; }
}

/* Projects pages (Arts Fund, Tea Philo, Arts Beyond Distance, Forum, Residency and their sub-pages): banner as tall as on the old site (645px on a wide screen),
   with only a light dark layer so the picture keeps its colours. Each page's own picture + small year text are set on the page (Featured image, "Banner" box). */
:is(.page-id-1421, .page-id-1424, .page-id-1426, .page-id-1428, .page-id-1429, .page-id-1430, .page-id-1431, .page-id-1436, .page-id-1437, .page-id-1438, .page-id-1439, .page-id-1441, .page-id-1442, .page-id-1443, .page-id-1444, .page-id-1445, .page-id-1446, .page-id-1447) .inxo-hero::after { background:rgba(0,0,0,.12); }

/* Information pages (IAF 2020, Arts Beyond Distance ...): sections ("INXO Section" Groups with class inxo-proj) - a title (H2), sub-titles (H3), then the content.
   Backgrounds alternate white / light grey: set in each Group (Color > Background > Light Grey). Class "inxo-center" centres the title and pictures. */
.inxo-proj h2 { font-size:clamp(1.35rem, 1.1rem + 1.1vw, 1.7rem); }
.inxo-proj :is(p, li) { color:#666; }
.inxo-proj a { color:#000; }
.inxo-proj a:hover { color:var(--inxo-red); }
.inxo-proj .wp-block-list { padding-left:1.2rem; }
.inxo-proj .wp-block-list li::marker { color:#999; }
.inxo-proj .wp-block-table table { width:100%; border-collapse:collapse; }
.inxo-proj .wp-block-table :is(th, td) { padding:.65rem .9rem .3rem; border:1px solid #ddd; text-align:center; font-size:.95rem; }
.inxo-proj .wp-block-table thead th, .inxo-proj .wp-block-table tr:first-child th { font-family:var(--inxo-head); font-weight:700; letter-spacing:.06em; }
/* Tables on project pages: never break a word in the middle (WordPress breaks them by default), headings made with a Heading block inside a cell look like the others, wide tables scroll sideways instead of being cut. */
.inxo-proj .wp-block-table { overflow-x:auto; }
.inxo-proj .wp-block-table :is(th, td) { min-width:150px; word-break:normal; overflow-wrap:break-word; hyphens:manual; } /* every column at least 150px; on a narrow screen the table scrolls sideways */
.inxo-proj .wp-block-table th :is(h1, h2, h3, h4, h5, h6) { margin:0; font:inherit; letter-spacing:inherit; text-transform:inherit; }
@media (max-width:600px) {
	.inxo-proj .wp-block-table table { table-layout:auto; }
	.inxo-proj .wp-block-table :is(th, td) { font-size:.78rem; line-height:1.4; }
	.inxo-proj .wp-block-table :is(thead th, tr:first-child th) { font-size:.72rem; letter-spacing:.02em; }
}
.inxo-center :is(h2, h3) { text-align:center; }
.inxo-center .wp-block-image { text-align:center; }
.inxo-center .wp-block-image img { margin-inline:auto; }
.inxo-center .wp-block-columns .wp-block-image img { margin-inline:auto; }
.inxo-center .inxo-sub { margin-top:-.8rem !important; }
.inxo-proj .wp-block-embed { margin:0; }
.inxo-iaf-about h2 { color:#000; }
.inxo-center .inxo-sub { margin-top:-.4rem !important; font-family:inherit; font-size:1rem; font-weight:300 !important; letter-spacing:0; text-transform:none; color:#888; }

/* Donate page: intro (title right-aligned beside the text), grey band with the bank details, centred notes. */
.inxo-donate :is(p, li) { color:#666; }
.inxo-donate p strong { color:#555; }
.inxo-donate a { color:#000; }
.inxo-donate a:hover { color:var(--inxo-red); }
.inxo-donate h2 { color:#000; font-size:clamp(1.3rem, 1rem + 1vw, 1.7rem); }
.inxo-donate .inxo-sub { color:#000; margin-top:-.3rem !important; }
@media (max-width:781px) { .inxo-donate .wp-block-column > .wp-block-heading, .inxo-donate .inxo-sub { text-align:center; } }
.page-id-29 .inxo-page-content { max-width:none; } /* the donation form makes WordPress treat this page as a checkout; keep the bands full width */

/* Donation form (WooCommerce Donation Platform): a white card on the grey band, INXO colours, square black button, no number arrows. */
.inxo-donate .wc-donation-platform { --wcdp-main:#c8153b; --wcdp-main-2:#000; --wcdp-step-2:#c8153b; --wcdp-step-3:#c8153b; --wcdp-label-inactive:#e3e3e3; --wcdp-label-inactive-hover:#cfcfcf; --wcdp-controls:#000; }
.inxo-donate .wcdp-form { max-width:640px; margin:2rem auto 0; padding:2.25rem 2.5rem 2.5rem; box-sizing:border-box; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); font-family:var(--inxo-body); color:#333; }
.inxo-donate .wcdp-form :is(label, .wcdp-step, input, select, textarea) { font-family:var(--inxo-body); }
.inxo-donate .wcdp-divider { display:none; }
.inxo-donate .wcdp-amount { display:grid; grid-template-columns:auto 1fr; align-items:stretch; width:100%; }
.inxo-donate .wcdp-amount > label { grid-column:1 / -1; margin:0 0 .6rem; color:#000; font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.inxo-donate .wcdp-amount > br { display:none; }
.inxo-donate .wcdp-amount > .woocommerce-Price-currencySymbol { display:flex; align-items:center; padding:0 1.1rem; background:#f4f4f4; border:1px solid #cfcfcf; border-right:0; border-radius:8px 0 0 8px; color:#555; font-weight:500; }
.inxo-donate .wcdp-form input.wcdp-donation-amount { width:100%; height:auto; margin:0; padding:.85rem 1.1rem; box-sizing:border-box; border:1px solid #cfcfcf; border-radius:0 8px 8px 0; background:#fff; color:#000; font-size:1.6rem; font-weight:500; line-height:1.5; text-align:left; box-shadow:none; -moz-appearance:textfield; appearance:textfield; }
.inxo-donate .wcdp-form input.wcdp-donation-amount::-webkit-outer-spin-button, .inxo-donate .wcdp-form input.wcdp-donation-amount::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.inxo-donate .wcdp-form input.wcdp-donation-amount:focus { border-color:#000; outline:0; }
.inxo-donate .wcdp-form :is(input.input-text, textarea, select) { width:100%; padding:.8rem 1rem; box-sizing:border-box; border:1px solid #cfcfcf; border-radius:8px; background:#fff; color:#000; font-size:1rem; box-shadow:none; }
.inxo-donate .wcdp-form :is(input.input-text, textarea, select):focus { border-color:#000; outline:0; }
.inxo-donate .wcdp-form .form-row label { margin-bottom:.35rem; color:#555; font-size:.85rem; font-weight:500; }
.inxo-donate .wcdp-form .button-row { margin-top:0px; }
.inxo-donate .wcdp-form .wcdp-arrow { display:none; }
.inxo-donate .wcdp-required-field-notice { color:var(--inxo-red); font-size:.85rem; }
@media (max-width:600px) { .inxo-donate .wcdp-form { padding:1.5rem 1.15rem 1.75rem; border-radius:10px; } }

/* Past Events pager: "Showing 1-5 of 12" on the left, page numbers with chevron arrows on the right (slightly rounded boxes) */
.inxo-pager { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-top:2.5rem; font-family:var(--inxo-head); }
.inxo-pager-count { margin:0; color:#777; font-size:.95rem; font-weight:300; letter-spacing:.06em; }
.inxo-pager .wp-block-query-pagination { margin:0; justify-content:flex-end !important; gap:.5rem; }
.wp-block-query-pagination { font-family:var(--inxo-head); }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next { display:inline-flex; align-items:center; justify-content:center; min-width:2.6rem; height:2.6rem; padding:.45rem .8rem calc(.45rem - 2px); box-sizing:border-box; border:1px solid #d9d9d9; border-radius:6px; color:#000; font-size:.9rem; font-weight:600; line-height:1; text-decoration:none; transition:background-color .2s, color .2s, border-color .2s; }
.wp-block-query-pagination-previous-arrow, .wp-block-query-pagination-next-arrow { margin:0; font-size:1.25rem; line-height:1; }
.wp-block-query-pagination a:hover { border-color:#000; background:#000; color:#fff; }
.wp-block-query-pagination .page-numbers.current { border-color:#000; background:#000; color:#fff; }
.wp-block-query-pagination .wp-block-query-pagination-numbers { display:flex; gap:.5rem; }
.wp-block-query-pagination .page-numbers.dots { border-color:transparent; }
@media (max-width:600px) { .inxo-pager { justify-content:center; } .inxo-pager .wp-block-query-pagination { justify-content:center !important; } }

/* Donation form: bigger steps, no dotted underline on the required star, slightly rounded Next button with equal padding left and right */
.inxo-donate .wcdp-form abbr, .inxo-donate .wcdp-form abbr[title] { text-decoration:none; border:0; cursor:inherit; }

/* Past Events pager on phones: "Showing ..." on one row, the page numbers on the next row */
@media (max-width:781px) {
	.inxo-pager { flex-direction:column; align-items:center; gap:.9rem; }
	.inxo-pager .wp-block-query-pagination { justify-content:center !important; }
}

/* WooCommerce "working" overlay (donation form steps, place order, cart updates): the same full-page loader as when a page loads - black screen, red ring, LOADING... */
.blockUI.blockOverlay { position:fixed !important; inset:0 !important; top:0 !important; left:0 !important; width:100% !important; height:100% !important; z-index:100001 !important; display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:26px; background:rgba(0,0,0,.7) !important; opacity:1 !important; cursor:wait; }
.blockUI.blockOverlay::before { content:"" !important; position:static !important; display:block !important; width:72px !important; height:72px !important; margin:0 !important; box-sizing:border-box; border:8px solid rgba(255,255,255,.14) !important; border-top-color:#c8153b !important; border-radius:50% !important; background:none !important; opacity:1 !important; animation:inxo-spin .9s linear infinite !important; }
.blockUI.blockOverlay::after { content:"LOADING..."; color:#fff; font:400 15px/1 "Josefin Sans", sans-serif; letter-spacing:.14em; }

/* Donation form loading screen: same as the WooCommerce "working" overlay above (shown by assets/donate-loader.js while a step is sent); the plugin's own dots are hidden */
.inxo-working { position:fixed; inset:0; z-index:100001; display:none; flex-direction:column; align-items:center; justify-content:center; gap:26px; background:rgba(0,0,0,.7); cursor:wait; }
.inxo-working.is-on { display:flex; }
.inxo-working .inxo-spin { box-sizing:border-box; width:72px; height:72px; border-radius:50%; border:8px solid rgba(255,255,255,.14); border-top-color:#c8153b; animation:inxo-spin .9s linear infinite; }
.inxo-working .inxo-loading { margin:0; color:#fff; font:400 15px/1 "Josefin Sans", sans-serif; letter-spacing:.14em; }
.inxo-donate #wcdp-spinner { display:none !important; }

/* Donation form, Details step: section headings (Address, Additional information) and the date picker in the site colours */
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper .form-row-wide, .inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper h3 { clear:both; }
.flatpickr-calendar { border-radius:var(--inxo-field-radius, 10px); border:1px solid #d9d9dc; box-shadow:0 12px 32px rgba(0,0,0,.12); font-family:var(--inxo-body); z-index:99999 !important; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display:none; }
.flatpickr-calendar .flatpickr-day.selected, .flatpickr-calendar .flatpickr-day.selected:hover, .flatpickr-calendar .flatpickr-day.today.selected { background:var(--inxo-red); border-color:var(--inxo-red); color:#fff; }
.flatpickr-calendar .flatpickr-day.today:not(.selected) { border-color:var(--inxo-red); }
.flatpickr-calendar .flatpickr-day:hover:not(.selected) { background:#f4f4f6; border-color:#f4f4f6; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill:var(--inxo-red); }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { font-family:var(--inxo-body); font-weight:600; }
span.flatpickr-weekday { color:#7a7a82; font-weight:500; }

/* Donation form, Details step: no "(optional)" text; fields in a grid with bigger row gaps (Donor details: 2 columns, Address: city / state / postcode on one row); gap before Additional information */
.inxo-donate .wcdp-form .optional { display:none; }
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1.35rem 1rem; }
.inxo-donate .wcdp-form .inxo-address-fields .woocommerce-billing-fields__field-wrapper { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper > .form-row { float:none !important; width:auto !important; margin:0 !important; padding:0 !important; }
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper > .clear { display:none; }
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper > :not(.form-row), .inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper > .form-row-wide { grid-column:1 / -1; }
.inxo-donate .wcdp-form .inxo-address-fields .woocommerce-billing-fields__field-wrapper > .form-row-wide { grid-column:auto; }
.inxo-donate .wcdp-form .inxo-address-fields .woocommerce-billing-fields__field-wrapper > :is(#billing_country_field, #billing_address_1_field, #billing_address_2_field) { grid-column:1 / -1; }
.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper > .form-row .woocommerce-input-wrapper { display:block; }
.inxo-donate .wcdp-form .inxo-address-fields, .inxo-donate .wcdp-form .woocommerce-additional-fields { margin-top:2rem; }
.inxo-donate .wcdp-form .woocommerce-additional-fields__field-wrapper > .form-row { margin:0; padding:0; }
/* the two street address lines belong together: closer than the other rows */
.inxo-donate .wcdp-form .inxo-address-fields .woocommerce-billing-fields__field-wrapper > #billing_address_2_field { margin-top:-.85rem !important; }
@media (max-width:600px) {
	.inxo-donate .wcdp-form .woocommerce-billing-fields__field-wrapper, .inxo-donate .wcdp-form .inxo-address-fields .woocommerce-billing-fields__field-wrapper { grid-template-columns:minmax(0, 1fr); }
}

/* Donation form: one error per field. WooCommerce's own message under each field repeats the list at the top and the form's own "This is a required field.", so it is hidden */
.inxo-donate .wcdp-form .checkout-inline-error-message { display:none; }

/* Payment step: no "General Donation" line (only the amount); Back sits on the same row as Donate now, like Next / Back on the other steps */
.inxo-donate .wcdp-form table.shop_table tr.cart_item { display:none; }
.inxo-donate #wcdp #wcdp-step-3 #payment ~ br { display:none; }
.inxo-donate #wcdp #wcdp-step-3 .button-row { position:relative; height:0; margin:0; }
.inxo-donate #wcdp #wcdp-step-3 .button-row .wcdp-button.wcdp-left { position:absolute; left:0; bottom:0; margin:0; }

/* Payment options: the round radio has no square outline / border (the plugin focuses the first option when the step opens, which drew the browser's focus ring); the selected card already shows the choice */
.inxo-donate .wcdp-form #payment li.wc_payment_method > input[type="radio"] { border:0 !important; border-radius:50% !important; outline:0 !important; box-shadow:none !important; }

/* Order received (thank-you) page: centred column on a light grey background; round tick, summary strip, white cards for the details and address */
.woocommerce-order-received main { margin-top:0 !important; padding:3.5rem 1rem 5rem; background:#f6f6f6; }
.woocommerce-order-received main > * { max-width:1100px !important; margin-left:auto !important; margin-right:auto !important; }
.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-billing-wrapper, .woocommerce-order-received main .wc-block-order-confirmation-billing-address, .woocommerce-order-received main .wc-block-order-confirmation-shipping-address { margin:0; padding:0; border:0; background:none; box-shadow:none; }
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper > .wp-block-column { flex-basis:0; flex-grow:1; }
.woocommerce-order-received .wc-block-order-confirmation-status { text-align:center; }
.woocommerce-order-received .wc-block-order-confirmation-status::before { content:""; display:block; width:76px; height:76px; margin:0 auto 1.4rem; border-radius:50%; background:#1e8a4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 40px no-repeat; }
/* status banner colours: green = paid/received (default above), amber = waiting for payment, red = failed, grey = cancelled/refunded */
.woocommerce-order-received .wc-block-order-confirmation-status:is(.is-status-pending, .is-status-on-hold) { background:#fff9ee; border-color:#f5dfb0; }
.woocommerce-order-received .wc-block-order-confirmation-status:is(.is-status-pending, .is-status-on-hold)::before { background-color:#b36b00; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.woocommerce-order-received .wc-block-order-confirmation-status.is-status-failed { background:#fdf2f4; border-color:#f3c9d1; }
.woocommerce-order-received .wc-block-order-confirmation-status:is(.is-status-failed, .is-status-cancelled, .is-status-refunded)::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.woocommerce-order-received .wc-block-order-confirmation-status.is-status-failed::before { background-color:var(--inxo-red); }
.woocommerce-order-received .wc-block-order-confirmation-status:is(.is-status-cancelled, .is-status-refunded) { background:#f4f4f5; border-color:#e0e0e3; }
.woocommerce-order-received .wc-block-order-confirmation-status:is(.is-status-cancelled, .is-status-refunded)::before { background-color:#7a7a82; }
.woocommerce-order-received .wc-block-order-confirmation-status h1 { margin:0 0 .6rem; font-family:var(--inxo-head); font-size:clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); font-weight:700; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
.woocommerce-order-received .wc-block-order-confirmation-status .wc-block-order-confirmation-status__actions { margin-top:1.6rem; }
.woocommerce-order-received .wc-block-order-confirmation-status p { margin:0; color:#666; font-size:1.05rem; font-weight:300; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); margin:2.25rem 0 0; padding:0; list-style:none; overflow:hidden; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item { display:block; margin:0; padding:1.1rem 1.25rem; border-right:1px solid #f0f0f0; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item:last-child { border-right:0; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item__key { display:block; color:#888; font-family:var(--inxo-head); font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item__value { display:block; margin-top:.4rem; color:#000; font-size:1.05rem; font-weight:500; overflow-wrap:anywhere; }
.woocommerce-order-received main h2.wp-block-heading { display:flex; align-items:center; gap:1rem; margin:2.75rem 0 1rem; font-family:var(--inxo-head); font-size:1.05rem; font-weight:700; letter-spacing:.18em; line-height:1.5; text-transform:uppercase; }
.woocommerce-order-received main h2.wp-block-heading::after { content:""; flex:1 1 auto; height:1px; background:#e3e3e3; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table { width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); }
.woocommerce-order-received .wc-block-order-confirmation-totals__table :is(th, td) { padding:1rem 1.25rem; border:0; border-bottom:1px solid #f0f0f0; text-align:left; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table thead th { background:#fafafa; color:#888; font-family:var(--inxo-head); font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table :is(th, td).wc-block-order-confirmation-totals__total, .woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot td { text-align:right; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot :is(th, td) { border-bottom:0; background:#fafafa; font-weight:700; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table a { color:#000; text-decoration:none; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table a:hover { color:var(--inxo-red); }
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper { gap:1.5rem; }
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper .wp-block-column:empty { display:none; }
.woocommerce-order-received :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) address { padding:1.25rem 1.4rem; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); color:#555; font-style:normal; line-height:1.5; }
@media (max-width:600px) { :is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item { border-right:0; border-bottom:1px solid #f0f0f0; } :is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item:last-child { border-bottom:0; } }
:is(.woocommerce-order-received main, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item :is(.wc-block-order-confirmation-summary-list-item__key, .wc-block-order-confirmation-summary-list-item__value) { display:block; }
@media (max-width:600px) { :is(.woocommerce-order-received main, .inxo-dr-pay) .wc-block-order-confirmation-summary-list { grid-template-columns:1fr; } }

/* Donation form, steps 2 and 3 (details, payment): stepper shows progress (red = reached, grey = to come); payment options as selectable cards; buttons all one style */
.inxo-donate .wc-donation-platform { --wcdp-main:#e3e3e6; --wcdp-main-2:#c8153b; --wcdp-step-2:#7a7a82; --wcdp-step-3:#7a7a82; }
.inxo-donate .wcdp-form h3 { margin:0 0 .85rem; color:#000; font-family:var(--inxo-body); font-size:.8rem; font-weight:700; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
.inxo-donate .wcdp-form table.shop_table { width:100%; margin:0 0 1.5rem; border:1px solid #e3e3e3; border-radius:10px; border-collapse:separate; border-spacing:0; overflow:hidden; background:#fff; }
.inxo-donate .wcdp-form table.shop_table :is(th, td) { padding:.9rem 1.1rem; border:0; border-bottom:1px solid #f0f0f0; color:#333; font-size:.95rem; text-align:left; }
.inxo-donate .wcdp-form table.shop_table :is(th, td):last-child { text-align:right; }
.inxo-donate .wcdp-form table.shop_table :is(tr:last-child th, tr:last-child td) { border-bottom:0; background:#fafafa; font-weight:700; }
.inxo-donate .wcdp-form #payment { margin:0; padding:0; border:0; border-radius:0; background:none; }
.inxo-donate .wcdp-form #payment ul.wc_payment_methods { display:grid; gap:.75rem; margin:0 0 1.25rem; padding:0; border:0; list-style:none; }
.inxo-donate .wcdp-form #payment li.wc_payment_method { margin:0; padding:.95rem 1.15rem; background:#fff; border:1px solid #dcdcdc; border-radius:10px; transition:border-color .2s, box-shadow .2s; }
.inxo-donate .wcdp-form #payment li.wc_payment_method:has(input:checked) { border-color:#000; box-shadow:0 0 0 1px #000; }
.inxo-donate .wcdp-form #payment li.wc_payment_method > label { display:inline-flex; align-items:center; gap:.65rem; margin:0; color:#222; font-size:1rem; font-weight:500; cursor:pointer; }
.inxo-donate .wcdp-form #payment li.wc_payment_method > input[type="radio"] { margin:0 .65rem 0 0; accent-color:#c8153b; width:1.1rem; height:1.1rem; vertical-align:middle; }
.inxo-donate .wcdp-form #payment li.wc_payment_method img { max-height:28px; width:auto; border-radius:4px; }
.inxo-donate .wcdp-form #payment div.payment_box { margin:.85rem 0 0; padding:.9rem 1.05rem; background:#f6f6f6; border-radius:8px; color:#666; font-size:.92rem; line-height:1.5; }
.inxo-donate .wcdp-form #payment div.payment_box::before { display:none; }
.inxo-donate .wcdp-form #payment div.payment_box p { margin:0; color:inherit; }
.inxo-donate .wcdp-form #payment .place-order { margin:0; padding:0; background:none; }
.inxo-donate .wcdp-form .woocommerce-privacy-policy-text p { margin:0 0 1.25rem; color:#888; font-size:.85rem; line-height:1.5; }
.inxo-donate .wcdp-form .woocommerce-privacy-policy-text a { color:#000; }
.inxo-donate .wcdp-form #place_order { float:none; display:block; margin:0 0 0 auto; }
/* Back button: the quiet twin of the main button (same size, outlined) */
.inxo-donate .wcdp-form #payment + * , .inxo-donate .wcdp-form .wcdp-divider { margin-top:0; }

/* Donation received page (inc/donation-received.php): white cards like the donation form */
/* the status box, summary strip, cards and buttons all have the same width */
.woocommerce-order-received main > :is(.inxo-dr, .inxo-dr-summary, .inxo-dr-card, .inxo-dr-extra, .inxo-dr-actions) { box-sizing:border-box; width:100%; max-width:1100px !important; }
.woocommerce-order-received .inxo-dr.is-failed::before { background-color:#7a7a82; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-card { margin-top:2rem; padding:1.75rem 2rem; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-card :is(h2, h3) { margin:0 0 1rem; padding:0; border:0; color:#000; font-family:var(--inxo-body); font-size:.8rem; font-weight:700; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-list { display:grid; grid-template-columns:minmax(10rem, 14rem) 1fr; gap:.75rem 1.5rem; margin:0; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-list dt { color:#888; font-size:.9rem; font-weight:500; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-list dd { margin:0; color:#000; overflow-wrap:anywhere; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-extra :is(ul, ol) { margin:0; padding:0; list-style:none; display:grid; gap:.4rem; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-extra :is(.wc-bacs-bank-details-account-name, h3) { margin:1.25rem 0 .5rem; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-extra :is(p, li) { margin:0; color:#666; }
:is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-extra strong { color:#000; }
.woocommerce-order-received .inxo-dr-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin:2.25rem 0 0; }
@media (max-width:600px) { :is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-card { padding:1.4rem 1.2rem; } :is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-list { grid-template-columns:1fr; gap:.15rem; } :is(.woocommerce-order-received, .woocommerce-account, .inxo-dr-pay) .inxo-dr-list dd { margin-bottom:.7rem; } }

/* Cart icon on the checkout-type pages (donate, order received): WooCommerce hides and disables it there; show it and let it open the cart */
.woocommerce-checkout .inxo-header .wp-block-woocommerce-mini-cart { visibility:visible !important; cursor:pointer; }
.woocommerce-checkout .inxo-header .wc-block-mini-cart__button[disabled] { pointer-events:none; opacity:1; }
.woocommerce-checkout .inxo-header .wc-block-mini-cart__badge:empty { display:none; }

/* Donation form stepper (Amount > Details > Payment): the same look as the Cart > Checkout > Order received steps (assets/checkout.css) */
.inxo-donate .wcdp-header { position:relative; display:flex; align-items:flex-start; height:auto; max-width:560px; margin:0 auto 2.2rem; padding:0; overflow:visible; }
.inxo-donate .wcdp-progress-bar, .inxo-donate .wcdp-progress-bar-background { position:absolute; top:17px; left:16.6667%; height:2px; margin:0; }
.inxo-donate .wcdp-progress-bar-background { right:16.6667%; background:#e3e3e6; }
.inxo-donate .wcdp-progress-bar { background:var(--inxo-red); z-index:1; }
.inxo-donate .wcdp-header > .wcdp-step { flex:1; float:none; display:flex; flex-direction:column; align-items:center; gap:.5rem; width:auto; padding:0; color:var(--inxo-muted, #7a7a82); font:500 .85rem/1.5 var(--inxo-body); letter-spacing:.04em; transform:none; }
.inxo-donate .wcdp-header > .wcdp-step::before { display:grid; place-items:center; box-sizing:border-box; width:36px; height:36px; margin:0; line-height:1; border:2px solid #e3e3e6; border-radius:50%; background:#fff; color:var(--inxo-muted, #7a7a82); font:600 .95rem/1 var(--inxo-head); padding-top:3px; }
/* current step: red ring + red number */
.inxo-donate .wc-donation-platform:not(:has(.wcdp-progress-bar:is([style*="33"], [style*="66"], [style*="100"]))) .wcdp-header-step-1,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar[style*="33"]) .wcdp-header-step-2,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="66"], [style*="100"])) .wcdp-header-step-3 { color:var(--inxo-text, #1d2327); }
.inxo-donate .wc-donation-platform:not(:has(.wcdp-progress-bar:is([style*="33"], [style*="66"], [style*="100"]))) .wcdp-header-step-1::before,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar[style*="33"]) .wcdp-header-step-2::before,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="66"], [style*="100"])) .wcdp-header-step-3::before { border-color:var(--inxo-red); background:#fff; color:var(--inxo-red); box-shadow:0 0 0 3px rgba(200, 21, 59, .16); }
/* finished steps: red circle with a tick */
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="33"], [style*="66"], [style*="100"])) .wcdp-header-step-1,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="66"], [style*="100"])) .wcdp-header-step-2 { color:var(--inxo-text, #1d2327); }
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="33"], [style*="66"], [style*="100"])) .wcdp-header-step-1::before,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="66"], [style*="100"])) .wcdp-header-step-2::before { content:"\2713"; border-color:var(--inxo-red); background:var(--inxo-red); color:#fff; box-shadow:none; }
.inxo-donate .wcdp-header .wcdp-step:hover { transform:none; }
/* only finished steps can be clicked (to go back): step 2 > step 1; step 3 > steps 1 and 2. The current and coming steps are not clickable */
.inxo-donate .wcdp-header > .wcdp-step { pointer-events:none; cursor:default; }
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="33"], [style*="66"], [style*="100"])) .wcdp-header-step-1,
.inxo-donate .wc-donation-platform:has(.wcdp-progress-bar:is([style*="66"], [style*="100"])) .wcdp-header-step-2 { pointer-events:auto; cursor:pointer; }
/* buttons: no min-height, padding .7rem 2rem .5rem */
.inxo-donate #wcdp :is(.wcdp-button, #place_order, button.button) { min-height:0; padding:.7rem 2rem .5rem 2rem !important; }

/* Donation form buttons follow the site UI standard (assets/ui.css): Next / Donate now = red pill; Back = the outlined (secondary) pill */
.inxo-donate #wcdp .wcdp-button.wcdp-left { background:transparent !important; color:var(--inxo-red) !important; border:1px solid var(--inxo-red) !important; }
.inxo-donate #wcdp .wcdp-button.wcdp-left:is(:hover, :focus-visible) { background:var(--inxo-red) !important; color:#fff !important; }
.inxo-donate #wcdp .wcdp-button.wcdp-left { margin-top:0; }
/* Next and Back sit on one line and keep the same height (the row stretched Next when Back had a top margin) */
.inxo-donate #wcdp .button-row { align-items:flex-start; }
/* the amount box joins the RM label: keep its flat left edge (the standard field style rounds all corners) */
/* #wcdp is needed so this beats the site-wide field style in ui.css (which rounds all four corners) */
.inxo-donate #wcdp input.wcdp-donation-amount { border-radius:0 var(--inxo-field-radius, 10px) var(--inxo-field-radius, 10px) 0 !important; border-left:0 !important; }
.inxo-donate .wcdp-amount > .woocommerce-Price-currencySymbol { border-radius:var(--inxo-field-radius, 10px) 0 0 var(--inxo-field-radius, 10px); }

/* "Pay for donation" page: the donation form's Payment step (white card from the .inxo-donate .wcdp-form rules above) on the grey band */
.inxo-donation-pay main { margin-top:0 !important; padding:2rem 1rem 5rem; background:#f6f6f6; }
.inxo-donation-pay main h1.wp-block-post-title { margin:1.5rem auto 2rem; }
.inxo-donation-pay .inxo-donate-pay .wcdp-form { margin-top:0; }
.inxo-donation-pay .inxo-donate-pay .wcdp-form h3 + table.shop_table { margin-top:.25rem; }
.inxo-donation-pay .inxo-donate-pay .wcdp-form table.shop_table tr:last-child :is(th, td) { background:#fafafa; font-weight:700; }
.inxo-donation-pay .inxo-donate-pay .wcdp-form table.shop_table th { width:40%; }
.inxo-donation-pay .inxo-donate-pay #payment .form-row.place-order { display:flex; flex-direction:column; }
.inxo-donation-pay .inxo-donate-pay #place_order { align-self:flex-end; }
@media (max-width:600px) { .inxo-donation-pay main { padding-top:1rem; } }

/* 404: an icon and "Page not found" (no picture, no search) */
.inxo-404 { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.5rem; min-height:55vh; padding:5rem var(--wp--preset--spacing--40); }
.inxo-404-icon { display:block; color:var(--inxo-red); }
/* 404 look: a big outlined "404" (same outline lettering as the years on the project pages), a short red bar, a title, one line of text and buttons; it fades in one piece after the other. */
.inxo-404 h1.inxo-404-num { font-size:clamp(7rem, 24vw, 16rem); font-weight:700; letter-spacing:.04em; line-height:1; color:transparent; -webkit-text-stroke:1.5px #000; user-select:none; }
.inxo-404-title { margin:0; font-family:var(--inxo-head); font-size:clamp(1.15rem, 2.2vw, 1.6rem); font-weight:700; letter-spacing:.2em; text-transform:uppercase; text-align:center; }
.inxo-404-title::before { content:""; display:block; width:48px; height:3px; margin:0 auto 1.4rem; background:var(--inxo-red); }
.inxo-404-text { margin:0; max-width:32rem; color:#777; text-align:center; }
.inxo-404 .wp-block-buttons { margin-top:.8rem; }
@media (prefers-reduced-motion: no-preference) {
	.inxo-404 > * { opacity:0; animation:inxo-404-in .8s cubic-bezier(.2,.7,.2,1) forwards; }
	.inxo-404 > :nth-child(2) { animation-delay:.12s; } .inxo-404 > :nth-child(3) { animation-delay:.24s; } .inxo-404 > :nth-child(4) { animation-delay:.36s; }
}
@keyframes inxo-404-in { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
.inxo-404 h1 { margin:0; font-family:var(--inxo-head); font-size:clamp(1.8rem, 3.5vw, 2.6rem); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
/* 404: the page is as tall as the window - the content part grows so the footer sits at the bottom with nothing white below it */
body.error404 .wp-site-blocks { display:flex; flex-direction:column; min-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
body.error404 .wp-site-blocks > main { flex:1 1 auto; display:flex; flex-direction:column; }
body.error404 .inxo-404 { flex:1 1 auto; width:100%; max-width:none !important; min-height:0; box-sizing:border-box; }
/* An empty Project Category page ("404" + "Sorry, but nothing was found.", templates/taxonomy-project_category.html): the whole page is just that message, centred, so the category title and description above it are hidden. */
.inxo-archive:has(.inxo-nothing) > .wp-block-query-title, .inxo-archive:has(.inxo-nothing) > .wp-block-term-description { display:none; }
.inxo-archive:has(.inxo-nothing) { margin-top:0 !important; }
.inxo-nothing { width:100%; max-width:none !important; box-sizing:border-box; }
.inxo-nothing p { margin:0; text-align:center; }
/* ...and like the real 404 page: as tall as the window, the message in the middle, the footer at the bottom. */
body:has(.inxo-nothing) .wp-site-blocks { display:flex; flex-direction:column; min-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
body:has(.inxo-nothing) .wp-site-blocks > main.inxo-archive { flex:1 1 auto; display:flex; flex-direction:column; max-width:none; width:100%; padding:0; }
.inxo-archive:has(.inxo-nothing) > .wp-block-query { flex:1 1 auto; display:flex; flex-direction:column; max-width:none; }
.inxo-archive:has(.inxo-nothing) .inxo-nothing { flex:1 1 auto; }

/* Video thumbnail (Image block with the class "inxo-video", linked to a YouTube address): shows a white play triangle over the picture. */
.wp-block-image.inxo-video { position:relative; }
.wp-block-image.inxo-video a { display:block; position:relative; }
.wp-block-image.inxo-video a::after { content:""; position:absolute; left:50%; top:50%; width:0; height:0; transform:translate(-30%,-50%); border-style:solid; border-width:28px 0 28px 48px; border-color:transparent transparent transparent rgba(255,255,255,.85); filter:drop-shadow(0 0 6px rgba(0,0,0,.35)); transition:transform .25s ease; }
.wp-block-image.inxo-video a:hover::after { transform:translate(-30%,-50%) scale(1.12); }

/* Single project (templates/single-project.html): full-width hero from the Cover block at the top of the content, picture overlapping it, wide grey text, 5 photos per row, NEXT link. */
.inxo-project-content { padding:0 0 var(--wp--preset--spacing--60); }
.inxo-project-content > :not(.alignfull) { max-width:1100px; margin-left:auto !important; margin-right:auto !important; padding-left:var(--wp--preset--spacing--50); padding-right:var(--wp--preset--spacing--50); box-sizing:border-box; }
.inxo-project-content > .wp-block-cover.alignfull { margin-top:0; margin-bottom:0; min-height:clamp(440px, 56.8vw, 790px) !important; align-items:flex-start; padding:clamp(70px, 10vw, 150px) var(--wp--preset--spacing--50) 0; text-align:center; color:#fff; }
.inxo-project-content .wp-block-cover .wp-block-cover__inner-container { width:100%; max-width:1100px; margin:0 auto; text-align:center; color:#fff; }
.inxo-project-content .wp-block-cover h1 { margin:0; color:#fff; font-family:var(--inxo-head); font-size:clamp(1.5rem, 3.4vw, 2.9rem); font-weight:700; letter-spacing:.12em; text-transform:uppercase; line-height:1.2; }
.inxo-project-content .wp-block-cover p { margin:0; color:#fff; font-family:var(--inxo-head); font-size:.85rem; letter-spacing:.3em; text-transform:uppercase; text-align:center; }
.inxo-project-content .wp-block-cover p.inxo-banner-label { margin-bottom:.9rem; color:rgba(255,255,255,.55); }
.inxo-project-content .wp-block-cover h1 + p, .inxo-project-content .wp-block-cover p.inxo-project-sub { margin-top:1rem; color:rgba(255,255,255,.7); }
/* the video picture sits over the bottom of the hero */
.inxo-project-content > .wp-block-image.inxo-video { position:relative; z-index:2; margin-top:calc(-1 * clamp(110px, 19vw, 320px)); margin-bottom:1.5rem; }
.inxo-project-content > .wp-block-image.inxo-video img { width:100%; height:auto; display:block; }
.inxo-project-content > p { color:#777; font-weight:300; line-height:1.8; margin-top:0; margin-bottom:1.1rem; }
.inxo-project-content > p strong { color:#333; font-weight:600; }
.inxo-project-content > p:has(> strong:first-child:last-child) strong { font-weight:600; }
/* photos: inside the text column, 5:4 (about as tall as the full-width 3:2 version); follow the Gallery block's "Columns" setting (5 when not set), wide spacing, 16:9 */
.inxo-project-content .wp-block-gallery.has-nested-images.columns-1 { --inxo-cols:1; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-2 { --inxo-cols:2; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-3 { --inxo-cols:3; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-4 { --inxo-cols:4; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-5 { --inxo-cols:5; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-6 { --inxo-cols:6; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-7 { --inxo-cols:7; }
.inxo-project-content .wp-block-gallery.has-nested-images.columns-8 { --inxo-cols:8; }
.inxo-project-content .wp-block-gallery.has-nested-images { display:grid !important; grid-template-columns:repeat(var(--inxo-cols, 5), minmax(0, 1fr)); margin-top:3.5rem; } /* the gap is the Gallery block's own "Block spacing" setting */
.inxo-project-content .wp-block-gallery.has-nested-images:not([class*="wp-container-core-gallery"]) { gap:16px; }
.inxo-project-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width:auto !important; margin:0 !important; aspect-ratio:5/4; }
.inxo-project-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { width:100%; height:100%; object-fit:cover; }
/* PREV (left) | category (centre) | NEXT (right) */
.inxo-project-next { max-width:1100px; margin:2rem auto 0; padding:0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); box-sizing:border-box; display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:1rem; }
.inxo-pn { display:flex; align-items:flex-end; gap:14px; color:#111; text-decoration:none; }
.inxo-pn.is-next { justify-self:end; } .inxo-pn.is-prev { justify-self:start; }
.inxo-pn-label { font-family:var(--inxo-head); font-size:.8rem; font-weight:700; letter-spacing:.35em; text-transform:uppercase; padding-bottom:2px; }
.inxo-pn img { width:80px; height:48px; object-fit:cover; display:block; }
.inxo-pn-cat { text-align:center; padding-bottom:2px; }
.inxo-project-cat { font-family:var(--inxo-head); font-size:.8rem; font-weight:700; letter-spacing:.35em; text-transform:uppercase; color:#111; text-decoration:none; }
.inxo-project-cat:hover, .inxo-pn:hover .inxo-pn-label { color:var(--inxo-red); }
@media (max-width:600px) { .inxo-project-next { grid-template-columns:1fr 1fr; } .inxo-pn-cat { grid-column:1 / -1; grid-row:1; padding-bottom:.6rem; } .inxo-pn-label { letter-spacing:.2em; } }
@media (max-width:800px) { .inxo-project-content .wp-block-gallery.has-nested-images { grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@media (max-width:480px) { .inxo-project-content .wp-block-gallery.has-nested-images { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
.inxo-project-content .wp-block-cover .wp-block-cover__inner-container { max-width:1100px !important; }
.inxo-project-content .wp-block-cover .wp-block-cover__inner-container > * { max-width:none !important; margin-left:0 !important; margin-right:0 !important; }

/* Video popup (assets/video-popup.js): dark overlay, 16:9 player, × at the top right. */
.inxo-vb { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.85); padding:4vw; }
.inxo-vb[hidden] { display:none; }
.inxo-vb-frame { width:min(1100px, 100%); aspect-ratio:16/9; background:#000; }
.inxo-vb-frame iframe { width:100%; height:100%; border:0; display:block; }
.inxo-vb-close { position:absolute; top:12px; right:18px; border:0; background:none; color:#fff; font-size:44px; line-height:1; cursor:pointer; padding:4px 10px; }
.inxo-vb-close:hover { color:var(--inxo-red); }
html.inxo-vb-open { overflow:hidden; }
.inxo-vb .inxo-vb-close, .inxo-vb .inxo-vb-close:hover, .inxo-vb .inxo-vb-close:focus, .inxo-vb .inxo-vb-close:focus-visible, .inxo-vb .inxo-vb-close:active { border:0 !important; outline:none !important; box-shadow:none !important; background:none !important; border-radius:0 !important; }

/* Social icons under a project (Social Icons block with the class "inxo-project-social"): black, centred, wide spacing. */
.inxo-project-content > .inxo-project-social { margin-top:3rem; margin-bottom:0; gap:0 3rem; }
.inxo-project-social .wp-social-link a { padding:0; }
.inxo-project-social .wp-social-link a:hover { color:var(--inxo-red); }

/* The banner is only as tall as its text + a gap above the picture that overlaps it: 100px on desktop, 50px on iPad and phones (1024px wide or less). */
.inxo-project-content > .wp-block-cover.alignfull { --inxo-hero-gap:100px; min-height:0 !important; padding-bottom:calc(clamp(110px, 19vw, 320px) + var(--inxo-hero-gap)); }
@media (max-width:1024px) { .inxo-project-content > .wp-block-cover.alignfull { --inxo-hero-gap:50px; } }

/* Project with a poster (e.g. Projek Spektrum): poster left, label + title + text + icons + details right (columns block with the class "inxo-split"). */
.inxo-project-content > .inxo-split { margin-top:clamp(2rem, 5vw, 4.5rem); margin-bottom:0; gap:clamp(1.5rem, 3.5vw, 3rem); align-items:flex-start; }
.inxo-split .wp-block-image { margin:0; } .inxo-split .wp-block-image img { width:100%; height:auto; display:block; }
.inxo-split p { color:#777; font-weight:300; line-height:1.8; margin:0 0 1.2rem; }
.inxo-split p.inxo-split-label { font-family:var(--inxo-head); font-size:.75rem; font-weight:700; letter-spacing:.3em; text-transform:uppercase; color:#777; margin:.6rem 0 0; }
.inxo-split h1 { font-family:var(--inxo-head); font-size:clamp(1.4rem, 2.6vw, 2.1rem); font-weight:700; letter-spacing:.14em; text-transform:uppercase; line-height:1.2; margin:.4rem 0 1.8rem; }
.inxo-split .inxo-info { margin:0 0 .8rem; gap:0; }
.inxo-split .inxo-info h6 { font-family:var(--inxo-head); font-size:.75rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#111; margin:.35rem 0 0; }
.inxo-split .inxo-info p { margin:0; }
.inxo-split .wp-block-column > p + .inxo-info { margin-top:2.2rem; padding-top:1.6rem; border-top:1px solid #ddd; }

/* Social links inside a project row (Arts Beyond Distance talks): small black icons under the name, left aligned. */
.inxo-project-content .inxo-row-social { margin:.5rem 0 .8rem; gap:.4rem 1.4rem; font-size:20px; }
.inxo-project-content .inxo-row-social .wp-social-link a { padding:0; }
/* Podcast download link: the Social Icons block has no podcast icon, so a "Link" icon with the class inxo-podcast is drawn as one. */
.wp-block-social-links .wp-social-link.inxo-podcast a svg { display:none; }
.wp-block-social-links .wp-social-link.inxo-podcast a::before { content:""; display:block; width:1em; height:1em; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6.2 18.6A8.6 8.6 0 1 1 17.8 18.6'/%3E%3Cpath d='M8.8 15.4A5 5 0 1 1 15.2 15.4'/%3E%3Ccircle cx='12' cy='10.3' r='1.8' fill='%23000' stroke='none'/%3E%3Cpath d='M12 13.2c-1.2 0-1.9.8-1.9 1.9l.5 4.9c.1.8.6 1.2 1.4 1.2s1.3-.4 1.4-1.2l.5-4.9c0-1.1-.7-1.9-1.9-1.9z' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6.2 18.6A8.6 8.6 0 1 1 17.8 18.6'/%3E%3Cpath d='M8.8 15.4A5 5 0 1 1 15.2 15.4'/%3E%3Ccircle cx='12' cy='10.3' r='1.8' fill='%23000' stroke='none'/%3E%3Cpath d='M12 13.2c-1.2 0-1.9.8-1.9 1.9l.5 4.9c.1.8.6 1.2 1.4 1.2s1.3-.4 1.4-1.2l.5-4.9c0-1.1-.7-1.9-1.9-1.9z' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat; }
/* When the icons are the first thing in a row (e.g. Podcast download) they sit on the same line as the label. */
.inxo-project-content .inxo-row-social { align-items:center; min-height:24px; }
.inxo-project-content .wp-block-column > .inxo-row-social:first-child { margin-top:0; }
/* Organisations at the end of an Arts Beyond Distance talk: name in the label column, large icons centred in the right column. */
.inxo-project-content .inxo-org-row { align-items:center; }
.inxo-project-content .inxo-org-row .inxo-project-social { margin:0; gap:.4rem 3rem; }
/* The banner is already as wide as the page: WordPress' full-width margin (-24px each side) made it 48px wider than the screen, which showed a horizontal scrollbar. */
.inxo-project-content > .wp-block-cover.alignfull { margin-left:0 !important; margin-right:0 !important; width:100% !important; max-width:100% !important; }

/* ======== Order received: round 2 ======== */
/* summary box: compact - the details sit side by side in one tidy row (wrapping when narrow), the note on its own line underneath */
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list { display:flex; flex-wrap:wrap; gap:1rem 2.75rem; margin:1.75rem 0 0; padding:1.1rem 1.5rem; }
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item { flex:1 1 0; min-width:9rem; margin:0; padding:0; border:0 !important; }
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item__key { font-size:.68rem; letter-spacing:.14em; }
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item__value { margin-top:.2rem; font-size:1rem; font-weight:400; overflow-wrap:anywhere; }
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item--note { flex:1 1 100%; padding-top:.9rem; border-top:1px solid #f0f0f0 !important; }
:is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item--note .wc-block-order-confirmation-summary-list-item__value { white-space:pre-line; }
.woocommerce-order-received .wc-block-order-confirmation-order-note { display:none; } /* the note is in the summary box now */
@media (max-width:600px) { :is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list { flex-direction:column; flex-wrap:nowrap; gap:.85rem; padding:1rem 1.2rem; } :is(.woocommerce-order-received, .inxo-dr-pay) .wc-block-order-confirmation-summary-list-item { flex:1 1 100%; } }

/* products: attributes with their labels in one muted line, like the cart ("Size: A3 / Frame: Unframed") */
.woocommerce-order-received .wc-block-order-confirmation-totals__table .wc-item-meta { display:flex; flex-direction:column; gap:.1rem; margin:.35rem 0 0; padding:0; list-style:none; color:#7a7a82; font-size:.88rem; line-height:1.5; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table .wc-item-meta li { display:inline-flex; gap:.25rem; margin:0; padding:0; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table .wc-item-meta .wc-item-meta-label { display:inline; float:none; margin:0; font-weight:400; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table .wc-item-meta p { display:inline; margin:0; }

/* totals rows (discount, shipping, tax, total): regular weight, only the grand total a little heavier */
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot th { font-weight:400; color:#555; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot td { font-weight:500; }
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child :is(th, td) { font-weight:600; color:#000; }

/* addresses: the box is the whole block (name + address + phone), not only the <address> */
.woocommerce-order-received main :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) { box-sizing:border-box; padding:1.25rem 1.4rem; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); color:#555; line-height:1.5; }
.woocommerce-order-received main :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) address { padding:0; background:none; border:0; border-radius:0; box-shadow:none; }
.woocommerce-order-received main :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) .woocommerce-customer-details--phone { margin:.5rem 0 0; color:#555; }
.woocommerce-order-received main :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address):empty { display:none; }

/* bank details: a heading like "Shipping address" / "Billing address", the details in a box under it */
.woocommerce-order-received main .woocommerce-bacs-bank-details { margin:0; }
.woocommerce-order-received main .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading { display:flex; align-items:center; gap:1rem; margin:2.75rem 0 1rem; padding:0; color:inherit; font-family:var(--inxo-head); font-size:1.05rem; font-weight:700; letter-spacing:.18em; line-height:1.5; text-transform:uppercase; }
.woocommerce-order-received main .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading::after { content:""; flex:1 1 auto; height:1px; background:#e3e3e3; }
.woocommerce-order-received main .inxo-bacs-box { box-sizing:border-box; padding:1.25rem 1.4rem; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); color:#555; line-height:1.5; }
.woocommerce-order-received main .inxo-bacs-box .wc-bacs-bank-details-account-name { margin:0 0 .6rem; font-size:1rem; font-weight:600; color:#000; }
.woocommerce-order-received main .inxo-bacs-box ul { margin:0; padding:0; list-style:none; display:grid; gap:.4rem; }
.woocommerce-order-received main .inxo-bacs-box li { margin:0; color:#666; }
.woocommerce-order-received main .inxo-bacs-box li strong { color:#000; font-weight:600; }

/* discount row in green */
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr.inxo-row-discount :is(th, td) { color:#1e8a4a; }

/* Donation received page: "Donor details" has the same heading as "Our bank details" (large title + line), with the details in one white box under it */
:is(.woocommerce-order-received main, .inxo-dr-pay) > section.inxo-dr-card { margin-top:0; padding:0; background:none; border:0; box-shadow:none; border-radius:0; }
:is(.woocommerce-order-received main, .inxo-dr-pay) > section.inxo-dr-card > h3 { display:flex; align-items:center; gap:1rem; margin:2.75rem 0 1rem; padding:0; color:inherit; font-family:var(--inxo-head); font-size:1.05rem; font-weight:700; letter-spacing:.18em; line-height:1.5; text-transform:uppercase; }
:is(.woocommerce-order-received main, .inxo-dr-pay) > section.inxo-dr-card > h3::after { content:""; flex:1 1 auto; height:1px; background:#e3e3e3; }
:is(.woocommerce-order-received main, .inxo-dr-pay) > section.inxo-dr-card > .inxo-dr-list { box-sizing:border-box; padding:1.25rem 1.4rem; background:#fff; border:1px solid #ececec; border-radius:12px; box-shadow:0 10px 34px rgba(0,0,0,.06); }

/* "Pay for donation": same details as the thank-you page (summary strip, Donor details), then the payment options without a card around them */
.inxo-dr-pay { box-sizing:border-box; width:100%; max-width:1100px; margin:0 auto; }
.inxo-donation-pay .inxo-dr-pay .inxo-donate .wcdp-form { max-width:none; margin:0; padding:0; background:none; border:0; border-radius:0; box-shadow:none; }
.inxo-donation-pay .inxo-dr-pay h3.inxo-dr-heading { display:flex; align-items:center; gap:1rem; margin:2.75rem 0 1rem; padding:0; color:inherit; font-family:var(--inxo-head); font-size:1.05rem; font-weight:700; letter-spacing:.18em; line-height:1.5; text-transform:uppercase; }
.inxo-donation-pay .inxo-dr-pay h3.inxo-dr-heading::after { content:""; flex:1 1 auto; height:1px; background:#e3e3e3; }

/* Product options under an item name (Size: A3, Frame: Unframed - one per line) in My Account, the pay page and other order tables: no indent, close together (same as the thank-you page) */
:is(.woocommerce-account, .inxo-pay, .woocommerce-checkout) .wc-item-meta { display:flex; flex-direction:column; gap:.1rem; margin:.35rem 0 0 !important; padding:0 !important; list-style:none; color:#7a7a82; font-size:.88rem; line-height:1.5; }
:is(.woocommerce-account, .inxo-pay, .woocommerce-checkout) .wc-item-meta li { display:inline-flex; gap:.25rem; margin:0 !important; padding:0 !important; }
:is(.woocommerce-account, .inxo-pay, .woocommerce-checkout) .wc-item-meta .wc-item-meta-label { display:inline; float:none; margin:0; font-weight:400; }
:is(.woocommerce-account, .inxo-pay, .woocommerce-checkout) .wc-item-meta p { display:inline; margin:0 !important; padding:0 !important; }
