/* ==========================================================================
   DEFAULT THEME — PAGE BUILDER SECTIONS
   Scope: each selector is limited to a supported .pb-block template.
   ========================================================================== */

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) {
	box-sizing: border-box;
	min-width: 0;
	margin: 0 0 clamp(2.75rem, 6vw, 4.75rem);
	padding: clamp(1.25rem, 3.4vw, 2.75rem);
	border: .0625rem solid var(--bs-border-color);
	border-radius: var(--bs-border-radius-xl);
	background: linear-gradient(145deg, var(--bs-body-bg), var(--pastel-blue-bg));
	box-shadow: var(--theme-shadow-sm);
	color: var(--bs-body-color);
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) > [class*="col-"] {
	min-width: 0;
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) :is(h1, h2, h3, h4, h5, h6, p, .badge, figcaption):empty {
	display: none;
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) :is(img, video, iframe) {
	max-width: 100%;
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) :is(a.btn, button.btn) {
	font-weight: 700;
	text-decoration: none;
	transition: var(--theme-transition), transform .2s ease;
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) :is(a.btn, button.btn):hover {
	transform: translateY(-.125rem);
}

:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) :is(a, button):focus-visible {
	outline: .1875rem solid var(--bs-focus-ring-color);
	outline-offset: .1875rem;
}

/* Page heading */
.pb-block.page-header {
	--bs-gutter-x: 0;
	--bs-gutter-y: 0;
	padding: clamp(1.25rem, 3.5vw, 2.5rem) 0 clamp(1.5rem, 3.5vw, 2.25rem);
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
	border: 0;
	border-bottom: .0625rem solid var(--bs-border-color);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.pb-block.page-header > .col-12 { padding-inline: 0; }
.pb-block.page-header h1,
.pb-block.hero-split h1,
.pb-block.hero .col-12 > h1 {
	max-width: 20ch;
	margin: 0 0 .7rem;
	font-family: var(--font-heading);
	font-size: clamp(2.1rem, 5vw, 3.8rem);
	line-height: 1.1;
	letter-spacing: -.04em;
	color: var(--bs-heading-color);
	text-wrap: balance;
}
.pb-block.page-header p.lead,
.pb-block.hero-split p.lead,
.pb-block.hero .col-12 > p.lead,
.pb-block.text-content p.lead,
.pb-block.editorial-split p.lead,
.pb-block.feature-grid p.lead,
.pb-block.stat-grid p.lead,
.pb-block.process-steps p.lead,
.pb-block.quote-grid p.lead,
.pb-block.faq-list p.lead,
.pb-block.image-gallery p.lead,
.pb-block.video-feature p.lead,
.pb-block.widget-header p.lead {
	margin: 0 0 .8rem;
	color: var(--pastel-blue-text);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
	line-height: 1.55;
}
.pb-block.page-header p:not(.lead) {
	max-width: 58rem;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--bs-secondary-color);
	line-height: 1.8;
}

/* Split hero and image slider */
.pb-block.hero-split {
	--bs-gutter-x: 0;
	--bs-gutter-y: 0;
	padding: 0;
	overflow: hidden;
	align-items: stretch !important;
	background: linear-gradient(125deg, var(--pastel-blue-bg), var(--pastel-sage-bg) 42%, var(--bs-body-bg) 78%);
}
.pb-block.hero-split:first-child { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.pb-block.hero-split > .col-12:first-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.75rem, 4vw, 3.25rem); }
.pb-block.hero-split > .col-12:first-child h1 { max-width: 16ch; }
.pb-block.hero-split > .col-12:first-child p:not(.lead) { max-width: 38rem; color: var(--bs-secondary-color); line-height: 1.85; }
.pb-block.hero-split .badge { align-self: flex-start; padding: .45em .8em; border: .0625rem solid var(--pastel-sage-border); border-radius: var(--bs-border-radius-pill); background: var(--pastel-sage-bg); color: var(--pastel-sage-text); }
.pb-block.hero-split > .col-12:last-child { display: flex; padding: 0; }
.pb-block.hero-split .swiper { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bs-tertiary-bg); }
.pb-block.hero-split :is(.swiper-wrapper, .swiper-slide) { height: 100%; }
.pb-block.hero-split .swiper-slide > .ratio { margin: 0; width: 100%; height: 100%; min-height: clamp(18rem, 32vw, 28rem); background: var(--bs-tertiary-bg); }

.pb-block.hero {
	--bs-gutter-x: 0;
	--bs-gutter-y: 0;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--bs-border-radius-xl);
	background: transparent;
	box-shadow: none;
}
.pb-block.hero:has(> .col-12 > :is(h1, p):not(:empty)) { border: .0625rem solid var(--bs-border-color); background: linear-gradient(160deg, var(--pastel-blue-bg), var(--bs-body-bg) 65%); box-shadow: var(--bs-box-shadow-lg); }
.pb-block.hero > .col-12 { padding: 0; }
.pb-block.hero .col-12 > :is(h1, p) { max-width: 56rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); text-align: center; }
.pb-block.hero .col-12 > h1 { margin-top: clamp(1.75rem, 4vw, 3rem); }
.pb-block.hero .col-12 > p:not(.lead) { margin-bottom: 0; color: var(--bs-secondary-color); line-height: 1.75; }
.pb-block.hero .col-12 > :is(h1, p):not(:empty):last-of-type { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.pb-block.hero .swiper {
	position: relative;
	width: 100%;
	overflow: hidden;
	border: .0625rem solid var(--bs-border-color);
	border-radius: var(--bs-border-radius-2xl);
	background: var(--bs-tertiary-bg);
	box-shadow: var(--bs-box-shadow-lg);
}
.pb-block.hero:has(> .col-12 > :is(h1, p):not(:empty)) .swiper { border: 0; border-top: .0625rem solid var(--bs-border-color); border-radius: 0; box-shadow: none; }
.pb-block.hero .swiper-slide > .ratio { margin: 0; min-height: clamp(18rem, 48vw, 40rem); background: var(--bs-tertiary-bg); }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio > :is(img, figure) { position: absolute; inset: 0; width: 100%; height: 100%; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio > figure { overflow: hidden; margin: 0; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide :is(img, figure img) { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease, filter .6s ease; }
:is(.pb-block.hero, .pb-block.hero-split) :is(.swiper-slide-active, .is-theme-active) :is(img, figure img) { transform: scale(1.025); filter: saturate(1.08); }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio > figure > figcaption { display: none; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio > figcaption {
	top: auto;
	height: auto;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 45%;
	padding: clamp(1.25rem, 5vw, 4.5rem);
	background: linear-gradient(180deg, transparent, rgba(var(--bs-dark-rgb), .78));
	color: var(--theme-hero-caption-color);
	text-shadow: var(--theme-hero-caption-shadow);
}
.pb-block.hero-split .swiper-slide > .ratio > figcaption { min-height: 40%; padding: clamp(1.15rem, 2.5vw, 2rem); }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide figcaption h2 { max-width: 20ch; margin: 0 0 .45rem; font-family: var(--font-heading); font-size: clamp(1.8rem, 5vw, 3.8rem); line-height: 1.08; color: var(--theme-hero-caption-color); text-wrap: balance; }
.pb-block.hero-split .swiper-slide figcaption h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide figcaption p { max-width: 44rem; margin: 0; padding-top: .7rem; border-top: .0625rem solid rgba(255,255,255,.42); font-size: clamp(.95rem, 1.8vw, 1.2rem); line-height: 1.65; }
.pb-block.hero-split .swiper-slide figcaption p { padding-top: .5rem; font-size: clamp(.875rem, 1.15vw, 1rem); line-height: 1.55; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide-active > .ratio > figcaption > * { animation: default-hero-copy-in .65s cubic-bezier(.2,.75,.25,1) both; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide-active > .ratio > figcaption > :nth-child(2) { animation-delay: .1s; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper :is(.swiper-button-prev, .swiper-button-next) { width: 3rem; height: 3rem; border: .0625rem solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(var(--bs-dark-rgb),.45); color: var(--theme-hero-caption-color); backdrop-filter: blur(.5rem); transition: var(--theme-transition); }
.pb-block.hero-split .swiper :is(.swiper-button-prev, .swiper-button-next) { width: 2.5rem; height: 2.5rem; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper :is(.swiper-button-prev, .swiper-button-next)::after { font-size: .9rem; font-weight: 700; }
.pb-block.hero-split .swiper :is(.swiper-button-prev, .swiper-button-next)::after { font-size: .75rem; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper :is(.swiper-button-prev, .swiper-button-next):hover { background: var(--bs-primary); color: var(--theme-hero-caption-color); }
:is(.pb-block.hero, .pb-block.hero-split) .swiper .swiper-pagination-bullet { background: var(--theme-hero-caption-color); opacity: .72; }
:is(.pb-block.hero, .pb-block.hero-split) .swiper .swiper-pagination-bullet-active { width: 1.5rem; border-radius: var(--bs-border-radius-pill); background: var(--bs-primary); opacity: 1; }
:is(.pb-block.hero, .pb-block.hero-split).hero-no-slide-copy .swiper-slide > .ratio > figcaption { display: none; }
:is(.pb-block.hero, .pb-block.hero-split).hero-single-slide .swiper :is(.swiper-button-prev, .swiper-button-next, .swiper-pagination) { display: none; }
:is(.pb-block.hero, .pb-block.hero-split).hero-no-slides .swiper { display: none; }

/* Single-column editorial copy */
.pb-block.text-content { border-top: .2rem solid var(--bs-primary); }
.pb-block.text-content > .col-12 { max-width: 68rem; margin-inline: auto; }
.pb-block.text-content h2,
.pb-block.feature-grid h2,
.pb-block.stat-grid h2,
.pb-block.process-steps h2,
.pb-block.quote-grid h2,
.pb-block.faq-list h2,
.pb-block.image-gallery h2,
.pb-block.video-feature h2,
.pb-block.widget-header h2 {
	margin: 0 0 .8rem;
	font-family: var(--font-heading);
	font-size: clamp(1.65rem, 3.2vw, 2.55rem);
	line-height: 1.18;
	letter-spacing: -.025em;
	color: var(--bs-heading-color);
	text-wrap: balance;
}
.pb-block.text-content > .col-12 > p:not(.lead) { color: var(--bs-secondary-color); line-height: 1.85; }
.pb-block.text-content > .col-12 > div { margin-top: 1.25rem; padding: clamp(1rem, 2.4vw, 1.75rem); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); line-height: 1.9; }

/* Editorial split — fixed topic rail on wide screens */
.pb-block.editorial-split { --bs-gutter-y: 1.25rem; align-items: start; }
.pb-block.editorial-split:nth-of-type(even) { background: linear-gradient(145deg, var(--pastel-sage-bg), var(--bs-body-bg) 62%); }
.pb-block.editorial-split > .col-12:first-child { align-self: start; padding: clamp(1rem, 2.4vw, 1.7rem); border-left: .2rem solid var(--bs-primary); border-radius: 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0; background: var(--bs-body-bg); }
.pb-block.editorial-split > .col-12:first-child h2 { margin: 0 0 .75rem; font-family: var(--font-heading); font-size: clamp(1.55rem, 2.8vw, 2.3rem); line-height: 1.17; letter-spacing: -.03em; color: var(--bs-heading-color); text-wrap: balance; }
.pb-block.editorial-split > .col-12:first-child p:not(.lead) { margin: 0; color: var(--bs-secondary-color); font-size: .95rem; line-height: 1.7; }
.pb-block.editorial-split > .col-12:last-child { color: var(--bs-body-color); line-height: 1.9; overflow-wrap: anywhere; }
.pb-block.editorial-split > .col-12:last-child > div + div { margin-top: 1.2rem; }
.pb-block.editorial-split > .col-12:last-child > div:not(:has(figure)) { padding: clamp(1rem, 2vw, 1.5rem); border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); }
.pb-block.editorial-split figure { overflow: hidden; margin: 0; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-tertiary-bg); box-shadow: var(--bs-box-shadow); }
.pb-block.editorial-split figure img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: cover; transition: transform .55s ease; }
.pb-block.editorial-split figure:hover img { transform: scale(1.02); }
.pb-block.editorial-split figcaption { padding: .7rem .9rem; border-top: .0625rem solid var(--bs-border-color); background: var(--bs-body-bg); color: var(--bs-secondary-color); font-size: .88rem; line-height: 1.6; }

/* Image cards */
.pb-block.feature-grid { --bs-gutter-y: 1.5rem; }
.pb-block.feature-grid > .col-12:first-child,
.pb-block.stat-grid > .col-12:first-child,
.pb-block.process-steps > .col-12:first-child,
.pb-block.quote-grid > .col-12:first-child,
.pb-block.faq-list > .col-12:first-child,
.pb-block.image-gallery > .col-12:first-child,
.pb-block.video-feature > .col-12:first-child { max-width: 62rem; margin: 0 auto 1.15rem; text-align: center; }
.pb-block.feature-grid > .col-12:first-child > p:not(.lead),
.pb-block.stat-grid > .col-12:first-child > p:not(.lead),
.pb-block.process-steps > .col-12:first-child > p:not(.lead),
.pb-block.quote-grid > .col-12:first-child > p:not(.lead),
.pb-block.faq-list > .col-12:first-child > p:not(.lead),
.pb-block.image-gallery > .col-12:first-child > p:not(.lead),
.pb-block.video-feature > .col-12:first-child > p:not(.lead) { color: var(--bs-secondary-color); line-height: 1.8; text-align: left; }
.pb-block.feature-grid article.card { height: 100%; overflow: hidden; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); box-shadow: var(--theme-shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pb-block.feature-grid article.card:hover { transform: translateY(-.25rem); border-color: var(--bs-primary-border-subtle); box-shadow: var(--bs-box-shadow-lg); }
.pb-block.feature-grid article.card > .ratio { overflow: hidden; background: var(--bs-tertiary-bg); }
.pb-block.feature-grid article.card > .ratio img { display: block; object-fit: cover; transition: transform .5s ease; }
.pb-block.feature-grid article.card:hover > .ratio img { transform: scale(1.04); }
.pb-block.feature-grid .card-body { padding: clamp(1rem, 2vw, 1.5rem); }
.pb-block.feature-grid .card-title,
.pb-block.image-gallery figcaption h3 { margin: 0 0 .55rem; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.3; color: var(--bs-heading-color); }
.pb-block.feature-grid .card-text,
.pb-block.image-gallery figcaption p { margin: 0; color: var(--bs-secondary-color); font-size: .93rem; line-height: 1.7; }

/* Statistics */
.pb-block.stat-grid { --bs-gutter-y: 1.5rem; }
.pb-block.stat-grid > [class*="col-"]:not(:first-child) > div { height: 100%; padding: clamp(1rem, 2vw, 1.5rem); border: .0625rem solid var(--bs-primary-border-subtle); border-radius: var(--bs-border-radius-lg); background: var(--pastel-blue-bg); text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.pb-block.stat-grid > [class*="col-"]:not(:first-child) > div:hover { transform: translateY(-.2rem); box-shadow: var(--bs-box-shadow); }
.pb-block.stat-grid > [class*="col-"]:not(:first-child) .h2 { margin: 0 0 .5rem; font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; color: var(--bs-primary); }
.pb-block.stat-grid > [class*="col-"]:not(:first-child) p:last-child { margin: 0; color: var(--bs-secondary-color); line-height: 1.6; }

/* Ordered process */
.pb-block.process-steps > .col-12:nth-child(2) { width: min(100%, 62rem); margin-inline: auto; }
.pb-block.process-steps .list-group-numbered { gap: .75rem; padding: 0; }
.pb-block.process-steps .list-group-item { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 1.1rem; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); }
.pb-block.process-steps .list-group-item::before { display: grid; flex: 0 0 2rem; place-items: center; width: 2rem; height: 2rem; margin: 0; border-radius: 50%; background: var(--bs-primary); color: #fff; font-weight: 700; }
.pb-block.process-steps .list-group-item h3 { margin: 0 0 .35rem; font-family: var(--font-heading); font-size: 1.08rem; color: var(--bs-heading-color); }
.pb-block.process-steps .list-group-item p { color: var(--bs-secondary-color); line-height: 1.7; }

/* Quotes */
.pb-block.quote-grid > [class*="col-"]:not(:first-child) figure { height: 100%; margin: 0; padding: clamp(1.25rem, 2.5vw, 2rem); border: .0625rem solid var(--pastel-blue-border); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); box-shadow: var(--theme-shadow-sm); }
.pb-block.quote-grid blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: .2rem solid var(--bs-primary); color: var(--bs-body-color); font-family: var(--font-article); font-size: 1.08rem; line-height: 1.85; }
.pb-block.quote-grid blockquote p { margin: 0; }
.pb-block.quote-grid figure > figcaption { color: var(--pastel-blue-text); font-size: .9rem; font-weight: 700; }

/* FAQ */
.pb-block.faq-list > .col-12:nth-child(2) { width: min(100%, 66rem); margin-inline: auto; }
.pb-block.faq-list .list-group { gap: .7rem; }
.pb-block.faq-list details.list-group-item { padding: 0; overflow: hidden; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); }
.pb-block.faq-list details > summary { position: relative; padding: 1rem 3rem 1rem 1.15rem; color: var(--bs-heading-color); font-weight: 700; cursor: pointer; list-style: none; }
.pb-block.faq-list details > summary::-webkit-details-marker { display: none; }
.pb-block.faq-list details > summary::after { position: absolute; top: 50%; right: 1rem; content: "+"; color: var(--bs-primary); font-size: 1.35rem; transform: translateY(-50%); }
.pb-block.faq-list details[open] > summary { border-bottom: .0625rem solid var(--bs-border-color); background: var(--pastel-blue-bg); }
.pb-block.faq-list details[open] > summary::after { content: "−"; }
.pb-block.faq-list details > p { padding: .85rem 1.15rem 1rem; color: var(--bs-secondary-color); line-height: 1.75; }

/* Gallery and video */
.pb-block.image-gallery { --bs-gutter-y: 1.5rem; }
.pb-block.image-gallery figure.card { height: 100%; overflow: hidden; margin: 0; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-body-bg); box-shadow: var(--theme-shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.pb-block.image-gallery figure.card:hover { transform: translateY(-.2rem); box-shadow: var(--bs-box-shadow-lg); }
.pb-block.image-gallery figure.card > .ratio { overflow: hidden; background: var(--bs-tertiary-bg); }
.pb-block.image-gallery figure.card > .ratio > :is(img, figure) { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-block.image-gallery figure.card > .ratio > figure { overflow: hidden; margin: 0; }
.pb-block.image-gallery figure.card > .ratio > figure > figcaption { display: none; }
.pb-block.image-gallery figure.card > .ratio img { display: block; object-fit: cover; transition: transform .5s ease; }
.pb-block.image-gallery figure.card:hover > .ratio img { transform: scale(1.04); }
.pb-block.image-gallery figure.card > figcaption { padding: 1rem; }
.pb-block.video-feature > .col-12:not(:first-child) figure { max-width: 68rem; margin: 0 auto; }
.pb-block.video-feature .ratio { overflow: hidden; border: .0625rem solid var(--bs-border-color); border-radius: var(--bs-border-radius-xl); background: var(--bs-dark); box-shadow: var(--bs-box-shadow-lg); }
.pb-block.video-feature .ratio > :is(iframe, video) { width: 100%; height: 100%; border: 0; object-fit: cover; }
.pb-block.video-feature figure > figcaption { padding: .75rem 1rem; color: var(--bs-secondary-color); font-size: .9rem; }

/* Widgets */
.pb-block.widget-header > .col-12 { max-width: 68rem; margin-inline: auto; }
.pb-block.widget-header > .col-12 > *:last-child { min-width: 0; }
.pb-block.widget-1col { --bs-gutter-x: 0; --bs-gutter-y: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pb-block.widget-1col > .col-12 { min-width: 0; padding: 0; }
.pb-block.widget-header :is(iframe, img, video),
.pb-block.widget-1col :is(iframe, img, video) { max-width: 100%; }

/* Desktop topic rails; collapse naturally on phones */
@media (min-width: 992px) {
	.pb-block.hero-split { width: auto; margin-right: calc((100% - 100vw) / 2); overflow: hidden; border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
	.pb-block.editorial-split > .col-12:first-child { position: sticky; top: calc(var(--hoi-navbar-height, 4.5rem) + 1.25rem); align-self: start; }
}
@media (max-width: 767.98px) {
	:is(.pb-block.page-header, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) { padding: 1.15rem; margin-bottom: 2.5rem; border-radius: var(--bs-border-radius-lg); }
	:is(.pb-block.hero, .pb-block.hero-split) { width: auto; margin-inline: calc(var(--main-mobile-px, 1rem) * -1); margin-bottom: 2.5rem; padding: 0; border-inline: 0; border-radius: 0; }
	.pb-block.hero .swiper { border-inline: 0; border-radius: 0; }
	.pb-block.hero-split > .col-12:first-child { padding: 1.25rem var(--main-mobile-px, 1rem); }
	.pb-block.page-header { --bs-gutter-x: 0; padding: 1rem 0 1.25rem; margin-bottom: 1.75rem; border-radius: 0; }
	.pb-block.page-header h1 { font-size: clamp(1.75rem, 7vw, 2.35rem); }
	.pb-block.widget-1col { --bs-gutter-x: 0; padding: 0; border-radius: 0; }
	:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio { min-height: 17rem; }
	:is(.pb-block.hero, .pb-block.hero-split) .swiper-slide > .ratio > figcaption { padding: 1.25rem; }
	:is(.pb-block.hero, .pb-block.hero-split) .swiper :is(.swiper-button-prev, .swiper-button-next) { width: 2.4rem; height: 2.4rem; }
	:is(.pb-block.hero, .pb-block.hero-split) .swiper :is(.swiper-button-prev, .swiper-button-next)::after { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
	:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) *,
	:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) *::before,
	:is(.pb-block.page-header, .pb-block.hero-split, .pb-block.hero, .pb-block.text-content, .pb-block.editorial-split, .pb-block.feature-grid, .pb-block.stat-grid, .pb-block.process-steps, .pb-block.quote-grid, .pb-block.faq-list, .pb-block.image-gallery, .pb-block.video-feature, .pb-block.widget-header, .pb-block.widget-1col) *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
@keyframes default-hero-copy-in { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: translateY(0); } }
