/* Novalis Ubuntu Institute — theme styles (layout helpers on top of theme.json) */

:root {
	--nv-ink: #1E2622;
	--nv-body: #46504A;
	--nv-muted: #55605A;
	--nv-orange: #F87524;
	--nv-orange-dark: #B84A0E;
	--nv-sage: #3F5A45;
	--nv-sand: #F5F0E8;
	--nv-line: #E8E2D8;
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group { margin-top: 0; }
.wp-block-post-content > * + * { margin-block-start: 0; }

/* ---------- Text helpers */
.wp-block-post-content p, .nv-body p { color: var(--nv-body); }
.nv-eyebrow, .wp-block-post-content p.nv-eyebrow {
	font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--nv-orange-dark); font-weight: 600; margin: 0 0 14px;
}
.nv-eyebrow a { color: inherit; text-decoration: none; }
.wp-block-post-content p.nv-lead, .nv-lead { font-size: 19px; color: var(--nv-body); }
.nv-intro { max-width: 680px; }
.nv-intro-wide { max-width: 860px; }
.nv-link-arrow a, a.nv-link-arrow { font-weight: 600; text-decoration: none; }
.nv-small, .wp-block-post-content p.nv-small { font-size: 15px; color: var(--nv-muted); }
.nv-capacity, .wp-block-post-content p.nv-capacity { font-weight: 600; color: var(--nv-sage); margin: 0; }
h1, h2, h3 { margin-top: 0; }

/* ---------- Sections */
.nv-section { padding-top: 96px; padding-bottom: 96px; }
.nv-section-sm { padding-top: 72px; padding-bottom: 72px; }
.nv-hero { padding-top: 72px; padding-bottom: 64px; }
.nv-pt-0 { padding-top: 0 !important; }
.nv-pb-0 { padding-bottom: 0 !important; }
.nv-bg-sand { background: var(--nv-sand); }
.nv-bg-orange { background: var(--nv-orange); color: var(--nv-ink); }
.nv-bg-orange p, .wp-block-post-content .nv-bg-orange p { color: #3B2414; }
.nv-bg-sage, .nv-bg-ink { color: #fff; }
.nv-bg-sage { background: var(--nv-sage); }
.nv-bg-ink { background: var(--nv-ink); }
.nv-bg-sage :is(h1, h2, h3), .nv-bg-ink :is(h1, h2, h3) { color: #fff; }
.wp-block-post-content .nv-bg-sage p { color: #DCE5DB; }
.wp-block-post-content .nv-bg-ink p { color: #C9D0C8; }
.nv-bg-ink a:not(.wp-element-button) { color: #fff; }

@media (max-width: 781px) {
	.nv-section { padding-top: 64px; padding-bottom: 64px; }
	.nv-section-sm, .nv-hero { padding-top: 48px; padding-bottom: 48px; }
}

/* ---------- Columns & cards */
.wp-block-columns.nv-gap-lg { gap: 48px; }
.wp-block-columns.nv-gap-md { gap: 28px; }
.wp-block-columns { margin-bottom: 0; }
.nv-stack-gap > * + * { margin-top: 28px; }
.nv-card { background: #fff; border-radius: 20px; overflow: hidden; }
.nv-card-line { border: 1px solid var(--nv-line); border-radius: 20px; overflow: hidden; }
.nv-card-pad { padding: 28px 32px 32px; }
.nv-card-pad > * { margin: 0; }
.nv-card-pad > * + * { margin-top: 10px; }
.nv-padbox { padding: 28px 32px; }
.nv-padbox > * { margin: 0; }
.nv-padbox > * + * { margin-top: 10px; }
.nv-topline { border-top: 2px solid var(--nv-ink); padding-top: 22px; }
.nv-topline > * { margin: 0; }
.nv-topline > * + * { margin-top: 10px; }
.nv-bg-sage .nv-topline, .nv-bg-ink .nv-topline { border-top-color: #fff; }
.nv-panel { background: var(--nv-sand); border-radius: 24px; padding: 36px; }
.nv-panel > * { margin-top: 0; }
@media (max-width: 781px) { .nv-panel { padding: 24px; } }

/* ---------- Images */
.nv-img img { width: 100%; object-fit: cover; display: block; border-radius: 20px; }
.nv-img { margin: 0; }
.nv-img-hero img { height: 500px; }
.nv-img-wide img { height: 460px; }
.nv-img-feature img { height: 380px; }
.nv-img-strip img { height: 300px; border-radius: 16px; }
.nv-img-card img { height: 250px; border-radius: 0; }
.nv-img-short img { height: 300px; border-radius: 16px; }
@media (max-width: 781px) {
	.nv-img-hero img, .nv-img-wide img, .nv-img-feature img { height: 300px; }
}

/* ---------- Stats & quote */
.wp-block-post-content p.nv-stat-num {
	font-family: var(--wp--preset--font-family--display); font-size: 52px; font-weight: 600;
	line-height: 1; margin: 0; color: var(--nv-ink);
}
.nv-stat p + p { margin-top: 8px; }
.wp-block-post-content p.nv-quote {
	font-family: var(--wp--preset--font-family--display); font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.35; font-weight: 500; color: var(--nv-ink); text-align: center; margin: 0 auto 24px; max-width: 880px;
}
.wp-block-post-content p.nv-quote-by { text-align: center; font-size: 15px; color: var(--nv-muted); }
.wp-block-post-content p.nv-testimonial { font-size: 18px; color: var(--nv-ink); }

/* ---------- Lists */
ul.nv-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.nv-chips li { background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 15px; margin: 0; }
ul.nv-ticks { padding-left: 20px; margin: 0; color: var(--nv-body); }
ul.nv-ticks li + li { margin-top: 10px; }
ul.nv-partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
ul.nv-partners li { border: 1px solid var(--nv-line); border-radius: 12px; padding: 20px; font-weight: 600; margin: 0; }
ul.nv-mission { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; }
ul.nv-mission li { padding-left: 22px; border-left: 3px solid var(--nv-sage); margin: 0; }

/* ---------- Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--nv-ink); border: 1.5px solid var(--nv-ink); padding: 14px 27px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--nv-ink); color: #fff; }
.nv-btn-white .wp-block-button__link { background: #fff; color: var(--nv-ink); }
.nv-btn-white .wp-block-button__link:hover { background: var(--nv-sand); }

/* ---------- Header */
.nv-header { border-bottom: 1px solid var(--nv-line); background: #fff; position: relative; z-index: 20; }
.nv-header-inner { padding-top: 18px; padding-bottom: 18px; gap: 16px; }
.nv-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nv-ink); }
.nv-brand img { height: 52px; width: auto; display: block; }
.nv-brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--wp--preset--font-family--logo); color: #555; }
.nv-brand-name { font-size: 22px; }
.nv-brand-sub { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.nv-header .wp-block-navigation { font-size: 15px; font-weight: 500; gap: 4px 24px; }
.nv-header .wp-block-navigation-item__content { color: var(--nv-ink); text-decoration: none; padding: 10px 0; }
.nv-header .wp-block-navigation-item__content:hover { color: var(--nv-orange-dark); }
.nv-header .nv-current > .wp-block-navigation-item__content { color: var(--nv-orange-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--nv-orange); }
.nv-header .nv-nav-donate > .wp-block-navigation-item__content {
	background: var(--nv-orange); color: var(--nv-ink); padding: 11px 22px; border-radius: 999px; font-weight: 600;
}
.nv-header .nv-nav-donate.nv-current > .wp-block-navigation-item__content { background: var(--nv-ink); color: #fff; box-shadow: none; }
.nv-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.nv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 8px; font-size: 20px; }

/* ---------- Footer */
.nv-footer { background: var(--nv-ink); color: #E9E4DA; font-size: 15px; }
.nv-footer-cols { padding-top: 64px; padding-bottom: 36px; gap: 40px; }
.nv-footer p { color: #B9C0B8; margin: 0; }
.nv-footer p.nv-footer-head { color: #fff; font-weight: 600; margin-bottom: 8px; }
.nv-footer a { color: #E9E4DA; text-decoration: none; }
.nv-footer a:hover { color: #fff; text-decoration: underline; }
.nv-footer .nv-footer-coord a { color: #B9C0B8; text-decoration: underline; }
.nv-footer-links p { line-height: 1.9; }
.nv-footer-logo { background: #fff; border-radius: 14px; padding: 14px; width: 132px; margin-bottom: 12px; }
.nv-footer-logo img { width: 104px; height: auto; display: block; }
.nv-footer-bottom { border-top: 1px solid #3A4540; padding-top: 20px; padding-bottom: 32px; gap: 16px; }
.nv-footer-bottom p { font-size: 13px; }
.nv-footer .wp-block-social-links { gap: 10px; margin: 0; }
.nv-footer .wp-block-social-links .wp-social-link { background: transparent; color: #fff; border: 1px solid #55605A; }
.nv-footer .wp-block-social-links .wp-social-link:hover { border-color: var(--nv-orange); color: var(--nv-orange); transform: none; }
.nv-footer .wp-block-social-links .wp-social-link a { padding: 9px; }
.nv-footer .wp-block-social-links .wp-social-link svg { width: 20px; height: 20px; }

/* ---------- Bank details & give panel */
dl.nv-bank { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 16px; }
dl.nv-bank dt { color: var(--nv-muted); }
dl.nv-bank dd { margin: 0; font-weight: 600; }
.nv-give-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; border: 0; padding: 0; }
.nv-give-amounts legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.nv-give-amounts label { display: block; cursor: pointer; }
.nv-give-amounts input { position: absolute; opacity: 0; }
.nv-give-amounts span { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 12px; background: #fff; border: 1.5px solid #CFC7BA; font-size: 18px; font-weight: 600; }
.nv-give-amounts input:checked + span { background: var(--nv-ink); color: #fff; border-color: var(--nv-ink); }
.nv-give-amounts input:focus-visible + span { outline: 3px solid var(--nv-orange); outline-offset: 2px; }

/* ---------- Forms */
.nv-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.nv-field { display: flex; flex-direction: column; gap: 6px; }
.nv-field.is-wide { grid-column: 1 / -1; }
.nv-field.is-check { flex-direction: row; align-items: center; gap: 10px; padding-top: 26px; }
.nv-field label { font-size: 14px; font-weight: 600; }
.nv-field.is-check label { font-weight: 400; font-size: 15px; }
.nv-field input:not([type="checkbox"]), .nv-field select, .nv-field textarea {
	font: inherit; font-size: 16px; min-height: 50px; padding: 12px 16px; border: 1.5px solid #CFC7BA; border-radius: 10px; background: #fff; color: var(--nv-ink); width: 100%; box-sizing: border-box;
}
.nv-field textarea { resize: vertical; }
.nv-field input[type="checkbox"] { width: 22px; height: 22px; }
.nv-bg-ink .nv-field input:not([type="checkbox"]), .nv-bg-ink .nv-field select, .nv-bg-ink .nv-field textarea { border-color: transparent; }
.nv-submit { border: 0; cursor: pointer; background: var(--nv-orange); color: var(--nv-ink); border-radius: 999px; padding: 16px 32px; font-weight: 600; font-size: 16px; justify-self: start; }
.nv-submit:hover { background: #E8651A; }
.nv-form-note { font-size: 14px; margin: 12px 0 0; opacity: 0.85; }
.nv-form-notice { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin: 0 0 18px; }
.nv-form-notice.is-success { background: #E3EEDF; color: #1F3B26; }
.nv-form-notice.is-error { background: #FBE3D6; color: #7A2E08; }
.nv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Map */
.nv-map iframe { width: 100%; height: 340px; border: 0; border-radius: 20px; display: block; }

/* ---------- Posts (News) */
.nv-post-grid { gap: 24px; }
.nv-post-card { border: 1px solid var(--nv-line); border-radius: 18px; padding: 28px; height: 100%; box-sizing: border-box; gap: 10px; }
.nv-post-card .wp-block-post-title { font-size: 21px; line-height: 1.3; margin: 0; }
.nv-post-card .wp-block-post-title a { color: var(--nv-ink); text-decoration: none; }
.nv-post-card .wp-block-post-title a:hover { color: var(--nv-orange-dark); }
.nv-post-card .wp-block-post-date { font-size: 15px; color: var(--nv-muted); margin-top: auto; }
.nv-post-card .wp-block-post-terms { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.nv-post-card .wp-block-post-terms a { color: var(--nv-orange-dark); text-decoration: none; }
.nv-cats .wp-block-categories-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nv-cats .wp-block-categories-list li a { display: block; background: var(--nv-sand); color: var(--nv-ink); border-radius: 999px; padding: 8px 18px; font-size: 15px; text-decoration: none; }
.nv-single { max-width: 760px; margin-inline: auto; }
.nv-single .wp-block-post-content p { color: var(--nv-body); }
.wp-block-query-pagination { margin-top: 48px; gap: 12px; }

/* ---------- 1.0.1 refinements */
.wp-block-column.nv-col-wide { flex-grow: 2 !important; }
.wp-block-column.nv-col-narrow { flex-grow: 0.75 !important; }
.nv-footer { border-top: 1px solid #3A4540; }
.nv-submit { align-self: flex-start; }
.nv-panel h2 { margin-bottom: 24px; }
.nv-single img { max-width: 100%; height: auto; border-radius: 12px; }
.nv-single .wp-block-post-content > * + * { margin-block-start: 1.1em; }

/* ---------- 1.0.2 alignment & spacing */
/* Intro blocks: line up with the 1200px content edge instead of the screen edge */
.nv-intro, .nv-intro-wide {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 1200px)) / 2)) !important;
	margin-right: auto !important;
}
.nv-intro { max-width: 680px !important; }
.nv-intro-wide { max-width: 860px !important; }

/* Breathing room between stacked rows */
.nv-stack-gap > .wp-block-columns.nv-gap-lg + .wp-block-columns.nv-gap-lg { margin-top: 96px; }
.nv-stack-gap > .wp-block-columns.nv-gap-md + .wp-block-columns.nv-gap-md { margin-top: 24px; }
.nv-stack-gap > h2 + p, .nv-stack-gap > h2 + .wp-block-columns { margin-top: 20px; }
.nv-stack-gap > p + .wp-block-columns { margin-top: 40px; }
.nv-stack-gap > .wp-block-columns + p.nv-link-arrow { margin-top: 36px; }
.nv-stack-gap > p.nv-link-arrow + .wp-block-columns { margin-top: 56px; }
.nv-stack-gap > .wp-block-columns + p.nv-small { margin-top: 48px; }
.nv-stack-gap > .wp-block-columns + p.nv-quote { margin-top: 72px; }
.nv-stack-gap > .wp-block-group.nv-intro + .wp-block-columns { margin-top: 48px; }
.wp-block-column > .wp-block-buttons { margin-top: 32px; }
.wp-block-column > .wp-block-image.nv-img-short { margin-top: 32px; }
.nv-hero .wp-block-columns + .wp-block-image { margin-top: 56px; }
.nv-info + .nv-info { margin-top: 28px; }
.nv-info h3 { margin-bottom: 6px; }
.nv-info p { margin: 0; }
@media (max-width: 781px) {
	.nv-stack-gap > .wp-block-columns.nv-gap-lg + .wp-block-columns.nv-gap-lg { margin-top: 56px; }
	.nv-stack-gap > .wp-block-columns + p.nv-quote { margin-top: 48px; }
}

/* Newsletter plugin form, matched to the theme */
.tnp-subscription-minimal, .tnp-subscription { max-width: 100%; margin: 0; }
.tnp-subscription-minimal form, .tnp form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tnp input.tnp-email, .tnp-subscription-minimal input.tnp-email {
	flex: 1 1 240px; height: 52px; padding: 0 18px; border: 1.5px solid #CFC7BA; border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--nv-ink);
}
.tnp input.tnp-submit, .tnp-subscription-minimal input.tnp-submit {
	height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--nv-ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; width: auto;
}
.tnp input.tnp-submit:hover { background: var(--nv-sage); }
.tnp-privacy-field, .tnp .tnp-privacy-field { flex-basis: 100%; font-size: 14px; color: var(--nv-muted); margin: 4px 0 0 18px; }

/* 1.0.3 map under contact details */
.nv-stack-gap > .wp-block-html + * , .nv-info + .wp-block-html { margin-top: 0; }
.wp-block-column.nv-stack-gap > .nv-map, .wp-block-column.nv-stack-gap > div.nv-map { margin-top: 40px; }

/* 1.0.4 call-to-action bands: buttons sit on the right edge */
@media (min-width: 782px) {
	.nv-bg-orange .wp-block-columns > .wp-block-column:last-child > .wp-block-buttons,
	.nv-bg-ink .wp-block-columns > .wp-block-column:last-child > .wp-block-buttons { justify-content: flex-end; margin-top: 0; }
	
	.nv-bg-sand .tnp-subscription-minimal form, .nv-bg-sand .tnp form { justify-content: flex-end; }
}

/* 1.0.6 e-Pollen band in the footer; pill-shaped field and button like the rest of the site */
.nv-newsletter h2 { margin-bottom: 10px; }
.nv-newsletter p { color: var(--nv-body); margin: 0; }
.nv-newsletter .tnp, .nv-newsletter .tnp-subscription-minimal { background: transparent !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.nv-newsletter .tnp form { display: flex !important; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; margin: 0 !important; }
.nv-newsletter .tnp input.tnp-email, .nv-newsletter input[type="email"] {
	flex: 1 1 260px !important; width: auto !important; height: 52px !important; padding: 0 22px !important;
	border: 1.5px solid #CFC7BA !important; border-radius: 999px !important; background: #fff !important;
	font: inherit !important; font-size: 16px !important; color: var(--nv-ink) !important; box-shadow: none !important; margin: 0 !important;
}
.nv-newsletter .tnp input.tnp-submit, .nv-newsletter input[type="submit"], .nv-newsletter button {
	flex: 0 0 auto !important; width: auto !important; height: 52px !important; padding: 0 30px !important;
	border: 0 !important; border-radius: 999px !important; background: var(--nv-orange) !important; color: var(--nv-ink) !important;
	font: inherit !important; font-weight: 600 !important; font-size: 16px !important; cursor: pointer; margin: 0 !important;
}
.nv-newsletter .tnp input.tnp-submit:hover, .nv-newsletter input[type="submit"]:hover { background: #E8651A !important; }
.nv-newsletter .tnp-privacy-field { flex-basis: 100% !important; text-align: right; font-size: 14px; color: var(--nv-muted); margin: 2px 0 0 !important; }
.nv-newsletter .tnp-privacy-field label { display: inline-flex; gap: 8px; align-items: center; }
.nv-newsletter + .nv-footer { border-top: 0; }
@media (max-width: 781px) {
	.nv-newsletter .tnp form { justify-content: flex-start; }
	.nv-newsletter .tnp-privacy-field { text-align: left; }
}

/* 1.0.8 sign-up: field fills the column, privacy line sits under the field's left edge */
.nv-newsletter .tnp form { justify-content: flex-start !important; }
.nv-newsletter .tnp input.tnp-email, .nv-newsletter input[type="email"] { flex: 1 1 260px !important; }
.nv-newsletter .tnp-privacy-field { text-align: left !important; padding-left: 22px; order: 3; }

/* 1.1.0 article body: paragraph rhythm and breathing room around photos */
.wp-block-post-content.nv-single > * + * { margin-block-start: 1.1em; }
.wp-block-post-content.nv-single p { margin-top: 0; margin-bottom: 1.1em; }
.wp-block-post-content.nv-single::after { content: ""; display: table; clear: both; }
.nv-single img { max-width: 100%; height: auto; border-radius: 12px; }
.nv-single p > img, .nv-single p > a > img, .nv-single > a > img { display: inline-block; vertical-align: top; margin: 12px 12px 12px 0; }
.nv-single img.aligncenter, .nv-single .aligncenter { display: block; margin: 28px auto; }
.nv-single img.alignleft, .nv-single .alignleft { float: left; margin: 8px 28px 20px 0; max-width: 50%; }
.nv-single img.alignright, .nv-single .alignright { float: right; margin: 8px 0 20px 28px; max-width: 50%; }
.nv-single img.alignnone { margin: 16px 12px 16px 0; }
.nv-single figure, .nv-single .wp-block-image, .nv-single .wp-caption { margin: 28px 0; max-width: 100%; }
.nv-single figure.alignleft, .nv-single .wp-caption.alignleft { margin: 8px 28px 20px 0; }
.nv-single figure.alignright, .nv-single .wp-caption.alignright { margin: 8px 0 20px 28px; }
.nv-single figcaption, .nv-single .wp-caption-text { font-size: 14px; color: var(--nv-muted); margin-top: 8px; }
.nv-single .wp-block-media-text { margin: 32px 0; gap: 28px; }
/* Classic WordPress galleries */
.nv-single .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 32px 0; }
.nv-single .gallery br { display: none; }
.nv-single .gallery .gallery-item { margin: 0; width: auto !important; }
.nv-single .gallery img { width: 100%; height: 170px; object-fit: cover; margin: 0; border: 0 !important; }
/* FooGallery galleries */
.nv-single .foogallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 32px 0; }
.nv-single .foogallery .fg-item { margin: 0 !important; width: auto !important; position: static !important; }
.nv-single .foogallery .fg-image-wrap img, .nv-single .foogallery img { width: 100%; height: 170px; object-fit: cover; margin: 0; }
@media (max-width: 600px) {
	.nv-single img.alignleft, .nv-single img.alignright, .nv-single .alignleft, .nv-single .alignright { float: none; display: block; max-width: 100%; margin: 20px 0; }
}


/* ---------- Testimonial carousel (each testimonial shown once, no cloned slides) */
.nv-carousel {
	display: flex; flex-wrap: nowrap; gap: 0; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nv-carousel::-webkit-scrollbar { display: none; }
.nv-carousel > * { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; margin: 0 !important; padding: 0 12px; scroll-snap-align: center; }
.nv-carousel:focus-visible { outline: 2px solid var(--nv-orange); outline-offset: 6px; }
.nv-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.nv-carousel-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--nv-ink); background: transparent; color: var(--nv-ink);
	font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.nv-carousel-btn:hover, .nv-carousel-btn:focus-visible { background: var(--nv-ink); color: #fff; }
.nv-carousel-dots { display: flex; gap: 10px; }
.nv-carousel-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--nv-line); cursor: pointer; }
.nv-carousel-dot[aria-current="true"] { background: var(--nv-orange); }
@media (prefers-reduced-motion: reduce) { .nv-carousel { scroll-behavior: auto; } }

/* Multi-up carousel (venue hire testimonials): 3 per view on desktop, 1 on mobile, slides a page at a time */
.wp-block-columns.nv-carousel-3 { flex-wrap: nowrap !important; gap: 28px; }
.wp-block-columns.nv-carousel-3 > .wp-block-column { flex: 0 0 calc((100% - 56px) / 3) !important; min-width: 0; padding: 22px 0 0; scroll-snap-align: start; }
@media (max-width: 781px) {
	.wp-block-columns.nv-carousel-3 > .wp-block-column { flex-basis: 100% !important; }
}
.wp-block-post-content .nv-bg-sage p.nv-testimonial { color: #fff; }
.nv-bg-sage .nv-carousel-btn { border-color: #fff; color: #fff; }
.nv-bg-sage .nv-carousel-btn:hover, .nv-bg-sage .nv-carousel-btn:focus-visible { background: #fff; color: var(--nv-sage); }
.nv-bg-sage .nv-carousel-dot { background: rgba(255,255,255,.35); }
.nv-bg-sage .nv-carousel-dot[aria-current="true"] { background: var(--nv-orange); }
.nv-carousel-nav[hidden] { display: none; }
