/* =====================================================================
   COMPONENTS — one class family per Figma component.
   Naming: .block, .block__element, .block--modifier
   Figma node ids are noted in comments for traceability.
   ===================================================================== */

/* =========================== BUTTONS & LINKS ======================== */
/* Button Colour 10:9 / Button White 11:30 / Button White Outline 11:31 / Button Colour (outline) 11:13 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  padding: 0 30px; min-height: 45px; border-radius: var(--radius); border: 1px solid transparent;   /* Figma trims the label to cap height (17px above and below the caps = 45px); the browser line box would add 13px, so the height is set instead */
  font: var(--fw-btn) var(--fs-btn)/var(--lh-body) var(--font-body);
  white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }
.btn--primary:hover { background: var(--c-secondary); border-color: var(--c-secondary); }
.btn--white   { background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }
.btn--white:hover { background: var(--c-light); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: var(--c-white); }
.btn--outline-white { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn--outline-white:hover { background: var(--c-white); color: var(--c-primary); }
.btn--disabled, .btn[disabled] { background: var(--c-light); color: var(--c-white); border-color: var(--c-mid); cursor: default; pointer-events: none; }
.btn .icon { width: var(--icon-size); height: var(--icon-size); }

/* Learn More Colour 15:94 / Learn More White 16:109 */
.link-more {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding-bottom: var(--space-xs); border-bottom: 1px solid currentColor;
  font: var(--fw-btn) var(--fs-btn)/var(--lh-body) var(--font-body);
  color: var(--c-primary); white-space: nowrap; cursor: pointer;
}
.link-more:hover { color: var(--c-secondary); }
.link-more--white { color: var(--c-white); }
.link-more--white:hover { color: var(--c-light); }
.link-more--black { color: var(--c-black); }
.link-more--plain { border-bottom: 0; padding-bottom: 0; }
.link-more .icon { width: var(--icon-size); height: var(--icon-size); }

/* Buttons and Links group */
.actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.actions--baseline { align-items: baseline; gap: 25px; }
.actions--center { justify-content: center; }

/* Nav Item 35:95 */
.nav-item { font: var(--fw-btn) var(--fs-nav)/var(--lh-nav) var(--font-body); }

/* Tag 1610:58 */
.tag {
  display: inline-flex; align-items: center; padding: 4px 14px; border-radius: var(--radius-pill);
  background: var(--c-secondary); color: var(--c-white); font-size: var(--fs-small); line-height: var(--lh-body);
  white-space: nowrap;
}
.tag--light { background: var(--c-light); color: var(--c-dark); }
.tag--dark  { background: var(--c-dark); }
.tag-list { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }

/* Breadcrumb 58:75 */
.breadcrumb { display: flex; align-items: center; gap: 6px; font: var(--fw-btn) var(--fs-nav)/var(--lh-nav) var(--font-body); white-space: nowrap; }
.breadcrumb .icon { color: var(--c-dark); }

/* Social Icon 88:2530 */
.social { display: flex; gap: 10px; }
.social__item {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-primary); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.social__item .icon { width: 14px; height: 14px; }
.social--thick .social__item { border-width: 2px; }
.share { display: flex; align-items: center; gap: var(--space-xs); }
.share__label { font-weight: 600; margin-right: var(--space-xs); }

/* Slider Arrow 88:3470 / Slide Indicator 88:3477 / Slider Indicator Control 2155:6129 */
.slider-arrow {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c-light); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow--bare { width: auto; height: auto; background: transparent; }
.slide-indicator { display: flex; gap: 6px; align-items: center; width: 380px; max-width: 100%; }
.slide-indicator__bar { flex: 1 1 0; height: 27px; padding: 12px 0; box-sizing: border-box; background: var(--c-mid); background-clip: content-box; position: relative; overflow: hidden; cursor: pointer; }   /* the line is 3px; the padding is the click target */
.slide-indicator__bar.is-active { background: var(--c-secondary); }
.slide-indicator__bar .fill { position: absolute; top: 12px; bottom: 12px; left: 0; width: 57%; background: var(--c-secondary); }
.slide-indicator--light .slide-indicator__bar { background: var(--c-white); }
.slide-indicator--light .slide-indicator__bar.is-active { background: var(--c-white); }
.slide-indicator__bar, .slide-indicator__bar.is-active, .slide-indicator--light .slide-indicator__bar, .slide-indicator--light .slide-indicator__bar.is-active { background-clip: content-box; }   /* the shorthand above resets the clip; only the 3px line is coloured, the padding stays invisible */
.slide-indicator .icon { color: var(--c-primary); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 30px; }
.slider-controls--wide { gap: 60px; }
.slider-controls--tight { gap: var(--space-sm); }
.slide-buttons { display: flex; gap: 10px; }

/* ================================ FORMS ============================== */
/* Text Field 98:2424 / Text Area 99:3331 / Dropdown 56:375 */
.field { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.field__label { display: flex; gap: var(--space-xs); font-size: var(--fs-small); line-height: var(--lh-body); }
.field__label .req { color: var(--c-secondary); }
.field__input {
  width: 100%; height: 50px; padding: 0 14px; background: var(--c-white);
  border: 1px solid var(--c-mid); border-radius: var(--radius); font: inherit; color: inherit;
}
.field__input:focus { outline: 2px solid var(--c-secondary); outline-offset: 0; }
textarea.field__input { height: 100%; min-height: 200px; padding: 14px; resize: vertical; }
.field--textarea { height: 250px; }
.field--textarea .field__input { flex: 1 1 0; }
.field--select { position: relative; }
.field--select .field__input { appearance: none; padding-right: 40px; }
.field--select .icon { position: absolute; right: 24px; bottom: 19px; color: var(--c-secondary); pointer-events: none; }
.field--on-dark .field__label { color: var(--c-white); }
.form-row { display: flex; gap: var(--space-sm); width: 100%; }
.form-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.form-note { font-size: var(--fs-small); }
.form-note a { font-weight: 700; text-decoration: underline; }

/* Checkbox 1927:9250 / Radio 1927:9301 / Toggle 2035:5787 (simple substitutes) */
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--c-primary); margin: 0; }

/* ================================ BANNERS ============================= */
.banner { width: 100%; max-width: var(--page); margin-inline: auto; position: relative; overflow: hidden; }
.banner__content { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.banner__title { font: var(--fw-h1) var(--fs-h1)/var(--lh-h1) var(--font-heading); }
.banner__lead { font-size: var(--fs-lead); }

/* Feature Banner 68:165 */
.banner--feature { background: var(--c-light); display: flex; align-items: center; gap: var(--space-60); padding: var(--space-md) var(--page-pad); }
.banner--feature .banner__content { flex: 1 1 0; min-width: 0; }
.banner--feature .banner__media { flex: 0 0 639px; height: 540px; }

/* Image Banner 71:198 */
.banner--image { background: var(--c-light); display: flex; align-items: center; gap: 120px; padding: var(--space-md) var(--page-pad); }
.banner--image .banner__content { flex: 1 1 0; min-width: 0; }
.banner--image .banner__media { flex: 0 0 var(--w-6col); height: 400px; }

/* Basic Banner 73:272 */
.banner--basic { padding: var(--space-lg) var(--page-pad); }
.banner--basic .banner__content { max-width: var(--w-8col); }

/* Blog Banner 73:249 */
.banner--blog { padding: var(--space-lg) 280px; text-align: center; }
.banner--blog .banner__content { align-items: center; }

/* Slider Control Banner 2155:6130 / Rotating Text 2155:6131 / Stats 2155:6142 / Image Insert 2155:6132 */
.banner--hero { height: 580px; display: flex; align-items: center; justify-content: center; padding: 200px var(--page-pad); background: var(--c-light); }
.banner--hero .banner__bg { position: absolute; inset: 0; }
.banner--hero .banner__content { position: relative; align-items: center; text-align: center; max-width: var(--w-10col); width: 100%; }
.banner--hero.banner--align-end { align-items: flex-end; }
.banner--hero .slide-indicator { position: absolute; right: 20px; bottom: 30px; }
.banner--hero .banner__title { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); align-items: center; }
.rotator { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; padding: 0 12px; background: var(--c-light); overflow: hidden; }
.rotator span { display: block; line-height: 1.2; }
.rotator span:not(.is-current) { opacity: .3; }
.stat-inline { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0 12px; background: var(--c-light); }
.stat-inline .icon { width: var(--icon-lg); height: var(--icon-lg); color: var(--c-secondary); }
.banner--insert .banner__content { max-width: var(--w-6col); }
.banner--insert .banner__title { gap: var(--space-2); }

/* Image Banner With Quick Nav 1934:4198 */
.banner--quicknav { background: var(--c-light); padding: var(--space-md) var(--page-pad); display: flex; flex-direction: column; gap: var(--space-md); }
.banner--quicknav .banner__row { display: flex; gap: 80px; align-items: center; height: 400px; }
.banner--quicknav .banner__content { flex: 1 1 0; min-width: 0; height: 100%; padding-bottom: var(--space-sm); }
.banner--quicknav .banner__content > .stack { flex: 1 1 0; justify-content: flex-end; }
.banner--quicknav .banner__media { flex: 0 0 var(--w-6col); height: 400px; }

/* Image Banner with Form 2158:11757 */
.banner--form { background: var(--c-light); padding: var(--space-md) var(--page-pad); display: flex; flex-direction: column; gap: var(--space-md); }
.banner--form .banner__row { display: flex; gap: 80px; align-items: center; }
.banner--form .banner__content { flex: 1 1 0; min-width: 0; justify-content: flex-end; min-height: 412px; padding-bottom: var(--space-sm); }
.banner__form { flex: 0 0 480px; background: var(--c-mid); padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }

/* Banner Content Text/Stat/Icon/Tags/Reports 1934:4254..4277 — "spec" boxes */
.spec-row { display: flex; width: 100%; max-width: var(--container); }
.spec-row .spec { flex: 1 1 0; min-width: 0; }
.spec {
  display: flex; flex-direction: column; gap: 6px; min-height: 110px; padding: var(--space-sm);   /* min-height: the copy decides (Sacred Heart kit request 2026-10-19) */
  border: 1px solid var(--c-mid); font-size: var(--fs-small);
}
.spec__body { display: flex; align-items: center; gap: var(--space-3); height: 42px; }
.spec__body--end { align-items: flex-end; }
.spec__num { font: var(--fw-h3) var(--fs-h3)/var(--lh-h3) var(--font-heading); width: 48px; text-align: center; }
.spec--report { background: var(--c-white); border-color: var(--c-dark); }
.spec--report .icon { color: var(--c-primary); }
.spec--prog { background: var(--c-mid); border-color: var(--c-dark); }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 295px)); gap: var(--space-sm); }

/* ================================ INTRO ============================== */
/* Intro 75:207 */
.intro { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; max-width: var(--w-8col); }
.intro--center { align-items: center; text-align: center; margin-inline: auto; }
.intro--narrow { max-width: var(--w-4col); }
.intro--3col { max-width: var(--w-3col); padding-right: var(--space-sm); }
.intro--wide { max-width: 480px; }
.intro__body p + p { margin-top: 16px; }

/* Intro – Bullet List 2158:11723 / Highlights 2158:11724 */
.intro-split { display: flex; gap: var(--space-sm); align-items: flex-start; max-width: var(--container); margin-inline: auto; padding-block: var(--space-lg); }
.intro-split > .intro { flex: 1 1 0; min-width: 0; padding-right: var(--space-sm); }
.intro-split__aside { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-sm); }

/* Bullet - Check 2162:6820 / Round / Square */
.bullets { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.bullets li { display: flex; gap: 10px; align-items: baseline; }
.bullets .icon { color: var(--c-primary); position: relative; top: 1px; }
.bullets li p { margin: 0; }   /* the item's text is a <p> (the edit layer keys it; a span beside the icon was never a field: SWell) */
.bullets--disc { list-style: disc; padding-left: 24px; gap: 0; }
.bullets--disc li { display: list-item; }

/* Highlights list (bordered rows) */
.highlights { display: flex; flex-direction: column; list-style: none; border-top: 1px solid var(--c-mid); }
.highlights li { padding: 10px 0; border-bottom: 1px solid var(--c-mid); font-weight: 600; }

/* ============================= TEXT SECTIONS ========================= */
/* Two Column Block 75:377 */
.two-col-block { display: flex; flex-direction: column; gap: var(--space-sm); max-width: var(--container); margin-inline: auto; padding-block: var(--space-lg); }
.two-col-block__head { max-width: var(--w-10col); }
.two-col-block__body { display: flex; gap: var(--space-60); align-items: flex-start; }
.two-col-block__lead { flex: 0 0 440px; font-size: var(--fs-lead); }
.two-col-block__text { flex: 1 1 0; min-width: 0; }
.two-col-block__text p + p { margin-top: 16px; }

/* Right/Left Image Block 75:457 / 75:655 + Overlapped 2206:8684/8685/8686 */
.image-block { display: flex; gap: var(--space-sm); align-items: center; max-width: var(--container); margin-inline: auto; padding-block: var(--space-lg); }
.image-block__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; padding-right: var(--space-sm); }
.image-block__content p + p { margin-top: 16px; }
.image-block__media { flex: 0 0 var(--w-6col); width: var(--w-6col); height: var(--w-6col); }
.image-block--left .image-block__media { order: -1; }
.image-block--left .image-block__content { padding-right: 0; padding-left: var(--space-sm); }
.image-block--overlap-left { gap: 0; }
.image-block--overlap-left .image-block__media { flex: 1 1 0; width: auto; margin-right: -180px; order: -1; }
.image-block--overlap-left .image-block__content { flex: 0 0 540px; padding: 0; position: relative; z-index: 1; }
.image-block--overlap-right { gap: 0; }
.image-block--overlap-right .image-block__media { flex: 1 1 0; width: auto; margin-left: -180px; }
.image-block--overlap-right .image-block__content { flex: 0 0 540px; padding: 0; position: relative; z-index: 1; }
.image-block--overlap-full { flex-direction: column; align-items: center; }
.image-block--overlap-full .image-block__media { flex: none; width: 100%; height: var(--w-6col); margin-bottom: -180px; }
.image-block--overlap-full .image-block__content { flex: none; width: var(--w-8col); max-width: 100%; padding: 0; position: relative; z-index: 1; }

/* Details Block 84:693 / Text Content Block 88:2945 */
.details { display: flex; flex-direction: column; gap: var(--space-sm); max-width: var(--w-10col); }
.details p + p { margin-top: 16px; }
.details--center { margin-inline: auto; }   /* a rich column centred on the page (the legal stubs; Kiwassa's Participant Rights block) */

/* Text Columns (6) 1731:4381 */
.text-columns { display: flex; gap: var(--space-sm); align-items: flex-start; padding: var(--space-lg) var(--page-pad); max-width: var(--page); margin-inline: auto; }
.text-columns__grid { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.text-columns__item { flex: 0 0 calc(50% - 10px); display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-sm); border-top: 3px solid var(--c-mid); }

/* Blog Post 88:2646 */
.blog-post { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; padding-inline: 210px; max-width: var(--page); margin-inline: auto; }
.blog-post__hero { width: 100%; aspect-ratio: 16 / 9; }
.blog-post__content { width: 100%; max-width: var(--w-8col); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.blog-post__content p + p { margin-top: 16px; }
.image-insert { width: 100%; display: flex; flex-direction: column; }
.image-insert .ph-image { height: 580px; }
.image-insert__caption { background: var(--c-light); padding: 12px 20px; }
.blockquote { width: 100%; background: var(--c-primary); color: var(--c-white); padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-sm); }
.blockquote__text { font: var(--fw-h3) var(--fs-h3)/var(--lh-h3) var(--font-heading); }
.author-slug { width: 100%; max-width: var(--w-10col); background: var(--c-light); padding: var(--space-sm); display: flex; gap: var(--space-sm); align-items: flex-start; }
.author-slug__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.author-slug--small { background: transparent; padding: 0; align-items: center; }

/* ============================= GRID SECTIONS ========================= */
/* Generic grid section wrapper: intro on top, rows of cards */
.grid-section { display: flex; flex-direction: column; gap: var(--space-md); align-items: center; padding: var(--space-lg) var(--page-pad); max-width: var(--page); margin-inline: auto; }
.grid-section--flush { padding-block: 0; }
.grid-row { display: flex; gap: var(--space-sm); align-items: flex-start; justify-content: center; width: 100%; max-width: var(--container); }
.grid-row--wrap { flex-wrap: wrap; }
.grid-row > .grow { flex: 1 1 0; min-width: 0; }

/* Icon blocks (2/3/4/6 col stacked) 75:1012 / 63:297 / 75:966 / 75:962 */
.icon-block { background: var(--c-light); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); padding: var(--space-sm); }
.icon-block--2col { width: var(--w-2col); gap: var(--space-sm); }
.icon-block--3col { width: var(--w-3col); }
.icon-block--4col { width: var(--w-4col); }
.icon-block--6col { width: var(--w-6col); gap: var(--space-sm); padding: var(--space-60); }
.icon-block--6col .icon-block__text { max-width: 460px; }
.icon-block--fluid { width: auto; flex: 1 1 0; min-width: 0; }

/* Icon Above 75:1515 / Icon Left 75:1405 / 6 Col Icon Horizontal 84:352 */
.icon-above { width: var(--w-3col); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.icon-left { width: var(--w-4col); display: flex; gap: var(--space-sm); align-items: flex-start; }
.icon-left__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.icon-left--card { background: var(--c-light); padding: 12px 20px 12px 12px; align-items: center; }
.icon-left--card .icon-left__content { gap: var(--space-xs); }
.icon-left--card > .icon { color: var(--c-primary); }
.icon-horizontal { width: var(--w-6col); display: flex; gap: var(--space-sm); align-items: flex-start; }
.icon-horizontal__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.icon-horizontal__content > .link-more, .team-card__details > .link-more, .post-list__content > .link-more, .list-grid__body > .link-more, .icon-above > .link-more, .icon-block > .link-more, .location-card > .link-more { align-self: flex-start; }   /* a stretched flex child would draw its border-bottom full width (Sacred Heart: the team card's link ran the card's width) */

/* 4 Col Featured 75:1737 / 6 Col Featured 84:353 (image background cards) */
.featured { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.featured .ph-image--fill { z-index: 0; }
.featured__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; }
.featured--4col { width: var(--w-4col); height: 450px; padding: 0 40px 50px; }
.featured--4col .featured__content { gap: var(--space-sm); }
.featured--4col .featured__head { display: flex; flex-direction: column; gap: 10px; }
.featured--6col { width: var(--w-6col); height: var(--w-6col); padding: var(--space-lg) var(--space-sm); }
.featured--left { align-items: flex-start; text-align: left; }
.featured--left .featured__content { align-items: flex-start; gap: 10px; }
.featured--mosaic-lg { width: var(--w-6col); height: var(--w-6col); padding: var(--space-lg) 40px 40px; }
.featured--mosaic-sm { width: var(--w-3col); height: var(--w-3col); padding: var(--space-sm); }
.featured--mosaic-tall { width: var(--w-3col); height: 578px; padding: var(--space-sm); }

/* 4 Col Standard Post 75:1444 / 6 Col Blog List 1980:8782 */
.post-card { width: var(--w-4col); display: flex; flex-direction: column; }
.post-card__content { padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.post-card__category { color: var(--c-dark); }
.post-card--feature { width: var(--w-6col); }
.post-card--feature .ph-image { height: 380px; }
.post-card--feature .post-card__content { padding: 20px 20px 30px; }
.post-list { width: var(--w-6col); display: flex; flex-direction: column; border-top: 1px solid var(--c-mid); }
.post-list__item { display: flex; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--c-mid); }
.post-list__item { text-decoration: none; color: inherit; }   /* a row is a div: the link sits on the image (.post-list__media) and on a link row, never around the heading (Sacred Heart, 2026-10-16) */
.post-list__media { display: block; flex: 0 0 180px; }
.post-list__item .ph-image { flex: 0 0 180px; width: 180px; height: 160px; }
.post-list__content { flex: 1 1 0; min-width: 0; padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-2); }

/* 4 Col Product 75:1481 */
.product-card { width: var(--w-4col); display: flex; flex-direction: column; gap: 10px; }
.product-card .ph-image { height: 300px; }
.product-card__content { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* 4 Col Location 101:2471 / 6 Col Location 101:2011 / Contact Info Row 99:3476 */
.location-card { width: var(--w-4col); background: var(--c-light); padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; }
.contact-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-row .icon { color: var(--c-primary); width: 20px; flex: 0 0 20px; margin-top: 5px; }
.contact-row--primary { color: var(--c-primary); }
.contact-row--bold { font-weight: 700; }
.contact-row--bold p { line-height: 25px; }
.location-card--6col { width: var(--w-6col); background: transparent; padding: 0; gap: var(--space-sm); }
.location-card--6col .ph-image { height: 300px; }
.contact-columns { display: flex; }
.contact-columns > .contact-row { flex: 1 1 0; min-width: 0; }

/* Icon Multi Link Block 1942:3892 */
.multi-link { width: var(--w-4col); height: 435px; background: var(--c-light); padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-3); align-items: center; text-align: center; }
.multi-link__list { flex: 1 1 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.multi-link__list .rule { flex: 0 0 auto; }

/* Statistic 88:3570 / Statistic Block 88:3603 / 2x2 2206:8690 / Narrow 2206:8689 */
.statistic { width: var(--w-3col); background: var(--c-light); padding: var(--space-sm); display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.statistic__num { display: flex; align-items: center; gap: var(--space-2); font: var(--fw-h1) var(--fs-h1)/var(--lh-h1) var(--font-heading); }
.statistic__num .icon { width: var(--icon-lg); height: var(--icon-lg); color: var(--c-secondary); }
.stat-2x2 { width: var(--w-6col); display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.stat-narrow { display: flex; width: 100%; max-width: var(--container); }
.stat-narrow .spec { flex: 1 1 0; }

/* Fullwidth 2 Col List Item 1951:3952 */
.list-grid { display: flex; flex-direction: column; width: 100%; max-width: var(--container); }
.list-grid__item { display: flex; gap: 120px; align-items: flex-start; width: 100%; }
.list-grid__item > * { min-width: 0; }
.list-grid__head { flex: 0 0 480px; display: flex; flex-direction: column; gap: 10px; }
.list-grid__head .label { color: var(--c-dark); }
.list-grid__body { flex: 1 1 0; min-width: 0; }

/* Blog + Navigation 1942:3767 */
.section-callouts { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }

/* Slider (3) 88:5219 */
.slider-row { display: flex; gap: var(--space-sm); width: var(--container); max-width: 100%; overflow: hidden; }
.slider-row > * { flex: 0 0 auto; }
.slider-row > .is-peek { opacity: .3; }

/* ================================ CALLOUTS =========================== */
/* Primary Callout Block 98:2076 / Secondary Callout Block 98:2256 */
.callout-row { display: flex; gap: var(--space-sm); align-items: flex-start; width: 100%; }
.callout-row > .callout { flex: 1 1 0; min-width: 0; }
.callout-row--flush { gap: 0; }   /* a pair that runs as one band with no seam: a replatformed footer call to action (Cesco 2026-11-02, creative rule 4) */
@media (max-width: 480px) { .callout-row { flex-direction: column; } .callout-row > .callout { flex: 0 0 auto; width: 100%; } }   /* the pair stacks on phones instead of two narrow columns of unequal height (creative rules 41, 56) */
.callout { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; text-align: center; padding: var(--space-60); }
.callout--primary { background: var(--c-dark); color: var(--c-white); }
.callout--secondary { background: var(--c-light); }
.callout--secondary .callout__text { font-size: var(--fs-lead); }

/* Image Callout - Half Width 2164:6832 */
.callout--half { max-width: var(--w-6col); min-height: var(--w-6col); background: var(--c-dark); color: var(--c-white); align-items: flex-start; text-align: left; justify-content: flex-end; gap: 180px; padding: var(--space-60); }
.callout--half .callout__group { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; max-width: 460px; }

/* Callout - Multiple Links 2206:7579 */
.callout--links { flex-direction: row; align-items: flex-end; text-align: left; gap: var(--space-sm); padding: var(--space-60) var(--space-md); background: var(--c-dark); color: var(--c-white); width: 100%; max-width: var(--container); margin-inline: auto; }
.callout--links .callout__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.callout--links .callout__main h2 { max-width: 480px; }
.link-list { flex: 0 0 var(--w-4col); display: flex; flex-direction: column; gap: 6px; }
.link-list__item { display: flex; flex-direction: column; gap: var(--space-xs); padding: 0 4px; }
.link-list__head { display: flex; align-items: center; gap: var(--space-2); }
.link-list__head h4 { flex: 1 1 0; }
.link-list__head .icon { color: var(--c-light); }
.link-list__arrow { display: inline-flex; color: inherit; }   /* the link sits on the arrow: a heading inside a link fails the audit */

/* Image Background Callout 75:1269 */
.callout--image-bg { padding: 50px 0; align-items: stretch; text-align: left; gap: 0; }
.callout--image-bg .callout__canvas { position: relative; width: 100%; max-width: var(--page); height: 500px; margin-inline: auto; }
.callout--image-bg .callout__content { position: absolute; left: 732px; top: 124px; width: 576px; display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.callout--image-bg .callout__content p { max-width: 480px; }

/* Newsletter Feature 99:3097 / Subscribe 126:2526 / Half Width 2164:6831 */
.newsletter { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; text-align: center; padding: var(--space-60); background: var(--c-primary); color: var(--c-white); width: 100%; max-width: var(--page); margin-inline: auto; }
.newsletter__head { display: flex; flex-direction: column; gap: 10px; max-width: var(--w-8col); }
.newsletter__lead { font-size: var(--fs-lead); max-width: var(--w-10col); }
.newsletter__form { display: flex; gap: var(--space-sm); align-items: flex-end; justify-content: center; padding: var(--space-sm) 0; width: var(--w-8col); max-width: 100%; }
.newsletter__form .field { flex: 1 1 0; }
.newsletter__form .field__label { color: var(--c-white); }
.newsletter--subscribe { background: var(--c-light); color: var(--c-black); align-items: flex-start; text-align: left; gap: 30px; padding: 50px var(--page-pad); }
.newsletter--subscribe .newsletter__row { display: flex; gap: 30px; align-items: flex-start; width: 100%; }
.newsletter--subscribe .newsletter__row > p { flex: 0 0 408px; }
.newsletter--subscribe .newsletter__form { flex: 1 1 0; width: auto; padding: 0; }
.newsletter--subscribe .newsletter__form .field__label { color: var(--c-black); }
.newsletter-half { display: flex; gap: 112px; align-items: flex-start; height: var(--w-6col); max-width: var(--container); margin-inline: auto; }
.newsletter-half .intro { flex: 0 0 480px; padding: var(--space-md); }
.newsletter-half .newsletter { flex: 1 1 0; min-width: 0; align-items: flex-start; text-align: left; height: 100%; }
.newsletter-half .newsletter__form { flex-direction: column; align-items: flex-start; width: 500px; }
.newsletter-half .newsletter__form .field { width: 100%; }

/* ============================ FEATURE SECTIONS ======================= */
/* Accordion Bar 84:351 / Jobs Accordion 85:858 / FAQs Accordion 85:2259 / 2 Column 2162:6821 */
.accordion { display: flex; flex-direction: column; width: 100%; max-width: var(--w-10col); }
.accordion__item { display: flex; flex-direction: column; }
.accordion__bar {
  display: flex; align-items: center; gap: var(--space-sm); width: 100%; text-align: left;
  padding: 12px var(--space-sm); border-top: 1px solid var(--c-dark); border-bottom: 1px solid var(--c-dark);
}
.accordion__item + .accordion__item .accordion__bar { border-top: 0; }
.accordion__bar-title { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: var(--space-2); }
.accordion__bar .icon { width: 18px; height: 18px; color: var(--c-primary); }
.accordion__bar .icon--minus { display: none; }
.accordion__item.is-open .accordion__bar .icon--plus { display: none; }
.accordion__item.is-open .accordion__bar .icon--minus { display: block; }
.accordion__panel { display: none; padding: var(--space-sm); }
.accordion__item.is-open .accordion__panel { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.accordion__panel p + p { margin-top: 16px; }
.accordion-2col { display: flex; gap: 120px; align-items: flex-start; justify-content: center; max-width: var(--container); margin-inline: auto; }
.accordion-2col .intro { flex: 0 0 var(--w-4col); }
.accordion-2col .accordion { flex: 0 0 680px; }

/* Logo Grid Row 88:3096 / Logo Block (6x2) 88:3426 / Autoscroll Logo Grid 2155:6143 */
.logo-grid { display: flex; flex-direction: column; gap: var(--space-sm); width: 100%; max-width: var(--container); }
.logo-grid__row { display: flex; gap: var(--space-sm); height: 100px; }
.logo-grid__row > * { flex: 0 0 calc((100% - 5 * var(--space-sm)) / 6); min-width: 0; height: 100%; }   /* six equal cells: a short last row keeps the cell width (Cesco's 35 logos, 2026-10-15) */
.logo-grid__row .ph-logo { width: auto; height: 100%; }
.logo-grid__row .logo-link { display: block; }   /* a logo linked to its brand: the link takes the cell, the logo fills it */
.logo-grid__row .logo-link .ph-logo { width: 100%; height: 100%; }
.logo-scroll { display: flex; gap: var(--space-sm); padding: 0 10px; width: 100%; max-width: var(--page); overflow: hidden; }
.logo-scroll .ph-logo { flex: 0 0 180px; }
.logo-list { display: contents; }   /* the editable set of logos (a repeat list for the edit layer); kit.js appends the moving copies after it */
.logo-list .logo-item { flex: 0 0 180px; width: 180px; }
.logo-scroll--animate { position: relative; }
.logo-scroll--animate .logo-scroll__track { display: flex; gap: var(--space-sm); animation: logo-scroll 30s linear infinite; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Map 101:1912 / Map Marker 101:1905 */
.map { position: relative; width: 100%; max-width: var(--container); height: 600px; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map--small { height: 193px; width: var(--w-4col); }
.map__marker { position: absolute; width: 38px; height: 28px; color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.map__marker .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }

/* Contact Block 99:3508 / Contact Form 99:3384 */
.contact-block { display: flex; gap: var(--space-sm); align-items: flex-start; justify-content: center; padding-block: var(--space-lg); max-width: var(--container); margin-inline: auto; }
.contact-block__intro { flex: 0 0 var(--w-4col); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.contact-block__form { flex: 0 0 var(--w-8col); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; width: 100%; }
.contact-form .field--select { width: var(--w-4col); }

/* Table 116:2683 / Comparison Table 1950:10280 / Comparison Chart Simple 1934:2706 */
.table { display: flex; flex-direction: column; width: 100%; max-width: 1020px; }
.table__row { display: flex; align-items: center; border-top: 1px solid var(--c-mid); border-bottom: 1px solid var(--c-mid); }
.table__row + .table__row { border-top: 0; }
.table__row--alt { background: var(--c-light); }
.table__cell { flex: 1 1 0; min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: var(--space-xs); align-self: stretch; }
.table__cell--head { font-weight: 700; }
.table__cell--white { background: var(--c-white); }
.table__cell--highlight { background: var(--c-secondary); color: var(--c-white); }
.table__cell .icon { width: 12px; height: 12px; }
.table--comparison { max-width: var(--container); }
.table--comparison .table__row--head { background: var(--c-light); border: 0; }
.table--comparison .table__row--head .table__cell { gap: 10px; }
.comparison-simple { display: flex; flex-direction: column; width: 100%; max-width: var(--w-8col); }
.comparison-simple__row { display: flex; gap: var(--space-sm); padding: 8px 0; border-top: 1px solid var(--c-mid); border-bottom: 1px solid var(--c-mid); }
.comparison-simple__row + .comparison-simple__row { border-top: 0; }
.comparison-simple__label { flex: 1 1 0; text-align: right; font-weight: 700; }
.comparison-simple__value { flex: 1 1 0; }

/* Tabs/Bubble (Comparison/Plan 1934:3986) / Tab Item 75:1103 */
.tabs-bubble { display: inline-flex; padding: 8px; border: 1px solid var(--c-secondary); }
.tabs-bubble__item { height: 59px; padding: var(--space-sm); display: flex; align-items: center; justify-content: center; font: var(--fw-btn) var(--fs-nav)/var(--lh-nav) var(--font-body); color: var(--c-primary); white-space: nowrap; }
.tabs-bubble__item.is-active { background: var(--c-primary); color: var(--c-white); }
/* Tabs/Underline (74:387 → .tabs-underline, WP 3163 Tabs - Style - Link): the translation map named it since 1.6.62 with no
   rules behind it (Ucluelet 2026-11-03). <div class="tabs-underline" data-tabs="id"><span class="tabs-underline__item is-active"
   data-tab="0" role="button" tabindex="0">…</span>…</div>, then a panel per tab. Scrolls sideways on tablet and phone. */
.tabs-underline { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: var(--space-sm); }
.tabs-underline__item { display: block; padding-bottom: 15px; border-bottom: 3px solid transparent; font: var(--fw-btn) var(--fs-nav)/var(--lh-nav) var(--font-body); color: var(--c-black); white-space: nowrap; cursor: pointer; }
.tabs-underline__item:hover { color: var(--c-primary); }
.tabs-underline__item.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
@media (max-width: 1024px) { .tabs-underline { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; } }

/* Comparison Item 1934:3732 */
.plans { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; padding-inline: var(--page-pad); max-width: var(--page); margin-inline: auto; }
.plans__row { display: flex; gap: var(--space-sm); align-items: flex-start; width: 100%; }
.plan { flex: 1 1 0; min-width: 0; background: var(--c-light); padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.plan .ph-image { height: 180px; width: 100%; }
.plan__head { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; width: 100%; height: 363px; }
.plan__head .plan__desc { flex: 1 1 0; }
.plan__price { display: flex; align-items: flex-end; gap: var(--space-xs); width: 100%; }
.plan__price strong { font: var(--fw-h2) var(--fs-h2)/var(--lh-h2) var(--font-heading); }
.plan__features { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; height: 168px; }

/* Timeline - Vertical Scroll 1951:3804 / Timeline Block/Horizontal 1951:3790 */
.timeline-v { position: relative; display: flex; flex-direction: column; gap: var(--space-60); padding: 30px var(--page-pad) var(--space-lg); max-width: var(--page); margin-inline: auto; background: var(--c-white); }
.timeline-v::before { content: ""; position: absolute; top: 0; bottom: 0; left: 516px; width: 1px; background: var(--c-secondary); }
.timeline-v__row { display: flex; gap: var(--space-sm); align-items: flex-start; }
.timeline-v__row .intro { flex: 0 0 var(--w-4col); position: sticky; top: 0; }
.timeline-v__block { flex: 0 0 var(--w-8col); display: flex; align-items: center; }
.timeline-v__connector { flex: 0 0 100px; height: 14px; position: relative; }
.timeline-v__connector::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--c-secondary); }
.timeline-v__connector::after { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--c-secondary); }
.timeline-v__card { flex: 0 1 680px; min-width: 0; background: var(--c-light); padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-sm); }
.timeline-v__card .ph-image { height: 340px; width: 100%; }
.timeline-v__card-head { display: flex; flex-direction: column; gap: 10px; }

/* Timeline - Horizontal 2206:9284 / Timeline Block/Vertical 2068:5969 */
.timeline-h { position: relative; display: flex; gap: var(--space-sm); align-items: flex-start; padding-inline: var(--page-pad); max-width: var(--page); margin-inline: auto; overflow: hidden; }
.timeline-h::before { content: ""; position: absolute; left: 0; right: 0; top: 48px; height: 1px; background: var(--c-secondary); }
.timeline-h__block { flex: 0 0 var(--w-4col); display: flex; flex-direction: column; gap: var(--space-2); padding-right: var(--space-sm); }
.timeline-h__year { font: var(--fw-h3) var(--fs-h3)/var(--lh-h3) var(--font-heading); }
.timeline-h__connector { width: 14px; height: 53px; position: relative; }
.timeline-h__connector::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--c-secondary); }
.timeline-h__connector::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--c-secondary); }
.timeline-h__body { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.timeline-h__body .ph-image { height: 220px; width: 100%; }

/* Quote Block 2164:6835 / Slider 2164:6837 / Multi 2206:7608 / 2 Column 2164:6836 / Image-Video 2206:8669 */
.quote { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; width: 100%; max-width: var(--w-10col); }
.quote__text { font-size: var(--fs-lead); text-indent: -0.45em; }
.quote__cite { display: flex; align-items: center; gap: var(--space-sm); width: 100%; }
.quote__who { display: flex; flex-direction: column; gap: 5px; font-size: var(--fs-small); }
.quote-block { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; padding: var(--space-sm) 0 var(--space-lg); }
.quote-block .quote { padding-block: var(--space-sm); }
.quote-slider { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; padding: var(--space-lg) var(--page-pad); max-width: var(--page); margin-inline: auto; overflow: hidden; }
.quote-slider__track { display: flex; gap: var(--space-60); justify-content: center; padding-block: var(--space-sm); width: 100%; }
.quote-slider__track .quote { flex: 0 0 var(--w-8col); }
.quote-slider__track .quote.is-peek { opacity: .3; }
.quote-multi { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; width: 100%; max-width: var(--container); overflow: hidden; }
.quote-multi__track { display: flex; gap: var(--space-sm); justify-content: center; padding-block: var(--space-sm); width: 100%; }
.quote-card { flex: 0 0 var(--w-4col); background: var(--c-light); padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-sm); }
.quote-card .quote__cite { gap: 10px; }
.quote-2col { display: flex; gap: var(--space-sm); align-items: flex-start; padding-block: var(--space-lg); max-width: var(--container); margin-inline: auto; }
.quote-2col__aside { flex: 0 0 var(--w-4col); display: flex; flex-direction: column; gap: var(--space-sm); }
.quote-2col .quote { flex: 0 0 var(--w-8col); background: var(--c-light); padding: var(--space-sm); }
.quote-2col .slide-indicator__bar { flex: 0 0 50px; }
.quote-media { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; padding-block: var(--space-lg); max-width: 1140px; margin-inline: auto; }
.quote-media__row { display: flex; gap: var(--space-sm); align-items: center; }
.quote-media__row .ph-image { width: var(--w-6col); height: var(--w-6col); flex: 0 0 auto; }
.quote-media__body { flex: 0 0 540px; padding-left: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }

/* ============================= IMAGE GALLERIES ======================= */
/* Gallery 116:2706 / Left Right Controls 2158:11760 */
.gallery { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; padding-block: var(--space-lg); }
.gallery .ph-image { width: var(--w-10col); height: 580px; max-width: 100%; }
.gallery--lr .gallery__row { display: flex; gap: var(--space-sm); align-items: center; justify-content: center; width: var(--container); max-width: 100%; }
.gallery--lr .ph-image { width: 920px; }

/* Gallery Modular Mosaic Display 2158:11759 */
.mosaic-modular { display: flex; flex-wrap: wrap; gap: var(--space-sm); width: var(--container); max-width: 100%; }
.mosaic-modular__tile { width: var(--w-6col); height: var(--w-6col); }
.mosaic-modular__col { width: var(--w-6col); display: flex; flex-direction: column; gap: var(--space-sm); }
.mosaic-modular__half { width: var(--w-6col); height: var(--w-3col); }
.mosaic-modular__pair { display: flex; gap: var(--space-sm); }
.mosaic-modular__pair .ph-image { width: var(--w-3col); height: var(--w-3col); }

/* Gallery Mosaic Display 2158:11758 (3 masonry columns of 380) */
.mosaic { display: flex; gap: var(--space-sm); width: var(--container); max-width: 100%; align-items: flex-start; }
.mosaic__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-sm); }   /* three masonry columns share the width at every size (Sacred Heart) */
.mosaic__col .ph-image { width: 100%; }

/* ================================= FOOTERS =========================== */
.footer { background: var(--c-light); padding: var(--space-md) var(--page-pad); display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; width: 100%; max-width: var(--page); margin-inline: auto; }
.footer-menu { display: flex; flex-direction: column; gap: 6px; }
.footer-menu h5 { margin: 0; }
.footer-menus { display: flex; gap: var(--space-sm); width: 100%; }
.footer-menus > * { flex: 1 1 0; min-width: 0; }
.footer-column { display: flex; flex-direction: column; gap: var(--space-md); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact .contact-row .icon { width: 30px; flex-basis: 30px; }
.footer-contact .contact-row { gap: 10px; }
.footer-header { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.footer-partners { display: flex; flex-direction: column; gap: 10px; width: 378px; }
.footer-partners__logos { display: flex; gap: var(--space-sm); }
.footer-partners__logos .ph-logo { flex: 1 1 0; width: auto; height: 83px; }

/* Footer Horizontal 126:2439 */
.footer--horizontal .footer__top { display: flex; gap: var(--space-sm); align-items: flex-start; }
.footer--horizontal .footer-header { flex: 0 0 var(--w-3col); }
.footer--horizontal .footer__content { flex: 0 0 880px; display: flex; flex-direction: column; gap: var(--space-md); padding-top: 15px; }

/* Footer Vertical 124:2418 */
.footer--vertical { padding: 80px 0; flex-direction: row; justify-content: center; gap: var(--space-sm); }
.footer--vertical .footer-header { flex: 0 0 480px; }
.footer--vertical .footer__content { flex: 0 0 680px; display: flex; flex-direction: column; gap: var(--space-sm); }
.footer--vertical .footer-end { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }

/* Footer Horizontal 1 2206:8670 / Horizontal 2 2206:8671 */
.footer__bar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.footer__bar--end { align-items: flex-end; justify-content: flex-start; gap: var(--space-sm); }
.footer__bar--end p { flex: 1 1 0; max-width: var(--w-10col); }
.footer p.footer__blurb { max-width: var(--w-10col); }

/* Legal Horizontal 125:2437 / Legal Vertical 127:2239 */
.legal { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--fs-small); flex-wrap: wrap; }
.legal__sep { width: 1px; height: 15px; background: var(--c-mid); }
.legal__item { display: flex; align-items: center; gap: var(--space-xs); white-space: nowrap; }
.legal__item .icon--fill { color: var(--c-secondary); }
.legal__credit { display: flex; align-items: center; gap: var(--space-2); color: var(--c-dark); white-space: nowrap; }
.legal__credit .icon { fill: currentColor; stroke: none; }
.legal--bar { background: var(--c-light); padding: 12px var(--page-pad); width: 100%; }
.legal--vertical { flex-direction: column; gap: var(--space-3); justify-content: center; padding: var(--space-sm) 0; background: var(--c-light); width: 100%; max-width: var(--page); margin-inline: auto; }
.legal--vertical .legal__links { display: flex; align-items: center; gap: var(--space-3); }
.legal--vertical .legal__copy { display: flex; align-items: center; gap: var(--space-2); }

/* ============================== KIT CHROME =========================== */
/* Styling for the living style guide page itself (not part of the client kit) */
.kit-nav { position: sticky; top: 0; z-index: 10; background: var(--c-black); color: var(--c-white); }
.kit-nav__inner { display: flex; align-items: center; gap: var(--space-sm); padding: 12px var(--space-sm); overflow-x: auto; max-width: var(--page); margin-inline: auto; }
.kit-nav__brand { font-weight: 700; white-space: nowrap; margin-right: var(--space-sm); }
.kit-nav a { font-size: var(--fs-small); white-space: nowrap; opacity: .8; }
.kit-nav a:hover { opacity: 1; }
.kit-page { padding: var(--space-md) 0 0; max-width: var(--page); margin-inline: auto; }
.kit-page__head { padding: var(--space-md) var(--page-pad) var(--space-sm); border-top: 4px solid var(--c-primary); }
.kit-page__head .label { color: var(--c-primary); }
.kit-item { margin-bottom: var(--space-md); }
.kit-item__meta { display: flex; align-items: baseline; gap: var(--space-3); padding: 0 var(--page-pad) 12px; font-size: var(--fs-small); color: var(--c-dark); }
.kit-item__meta strong { color: var(--c-black); }
.kit-item__meta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--c-light); padding: 2px 6px; border-radius: 3px; }
.kit-item__frame { outline: 1px dashed var(--c-mid); outline-offset: -1px; }
.kit-swatches { display: flex; gap: var(--space-sm); flex-wrap: wrap; padding: 0 var(--page-pad); }
.kit-swatch { width: 140px; }
.kit-swatch__chip { height: 80px; border: 1px solid var(--c-mid); margin-bottom: 8px; }
.kit-type { padding: 0 var(--page-pad); display: flex; flex-direction: column; gap: var(--space-3); }
.kit-type > div { display: flex; align-items: baseline; gap: var(--space-sm); }
.kit-type code { flex: 0 0 240px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--c-dark); }
.kit-inline { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; padding: var(--space-sm) var(--page-pad); }
.kit-inline--dark { background: var(--c-dark); }

/* ?only=<page-id> shows a single kit page (see js/kit.js) */
body[data-only] .kit-page { display: none; }
body[data-only] .kit-page.is-only { display: block; }

/* 3 Col Team Slideout (1113): the grid's layout (the slideout's motion is in proto.css). From Stanscott §14 / PHS §1. */
.team-section { display: flex; flex-direction: column; gap: var(--space-sm); }
.team-grid { display: flex; flex-direction: column; gap: 40px; }   /* rows keep the row gap between them (Sacred Heart: cards of consecutive rows touched) */
.team-grid__row { display: flex; flex-wrap: wrap; gap: 40px 30px; width: 100%; }
.team-member { display: contents; }
.team-member { display: contents; }   /* a member wraps its card and its slideout: both are items of the row (the slideout spans it) */
.team-card { position: relative; flex: 0 1 calc((100% - 60px) / 3); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.team-card__photo { position: relative; aspect-ratio: 1 / 1; width: 100%; }   /* the member's photo (Cesco 2026-10-15) */
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card__row { display: flex; gap: 12px; align-items: flex-start; }
.team-card__details { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.team-card__details h3, .team-card__details p { margin: 0; }
.team-card__toggle { flex: 0 0 auto; display: inline-flex; cursor: pointer; }
.team-card__toggle::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the bio */
body.proto-editing .team-card__toggle::after { display: none; }
.team-slideout { flex: 0 0 100%; }
.team-slideout[hidden] { display: none; }
.team-slideout__panel { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 30px; }
.team-slideout__details { display: flex; flex-direction: column; gap: 8px; }
.team-slideout__details h4, .team-slideout__details p { margin: 0; }
.team-slideout__close { position: absolute; top: 20px; right: 20px; display: inline-flex; cursor: pointer; }
.team-section .tabs-bubble { align-self: flex-start; }
@media (max-width: 1024px) { .team-card { flex-basis: calc((100% - 30px) / 2); } .team-slideout__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .team-card { flex-basis: 100%; } }

/* Link List - Cards (2184): an intro in 4 columns beside a stack of icon link cards in 8; each card icon | heading | arrow. From PHS §6. */
.link-list-cards { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.link-list-cards__intro { display: flex; flex-direction: column; gap: 16px; }
.link-list-cards__intro h2, .link-list-cards__intro p { margin: 0; }
.link-list-cards__list { display: flex; flex-direction: column; gap: 16px; }
.link-card { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 16px 32px; background: var(--c-light); }
.link-card__icon { width: 80px; height: 80px; }
.link-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.link-card__body h3 { margin: 0; }
.link-card__body a::after { content: ""; position: absolute; inset: 0; }   /* the whole card follows its link */
body.proto-editing .link-card__body a::after { display: none; }
.link-card__arrow { display: inline-flex; color: inherit; }
@media (max-width: 1024px) { .link-list-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .link-card { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; padding: 16px; } .link-card__icon { width: 56px; height: 56px; } }

/* ---- Long values wrap inside their card (an e-mail address in a callout or contact row; Sacred Heart) */
.callout__text, .contact-row p, .comparison-simple__value { overflow-wrap: anywhere; }
.field--select, .field__input { max-width: 100%; min-width: 0; }

/* ---- Jump menu, filter bar, pagination, downloads: the listing furniture the build-from-plan builders emit (from the starter's build.css, kit 1.6.80) */
.jump-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px var(--page-pad); background: var(--c-light); width: 100%; max-width: var(--page); margin-inline: auto; }
.jump-menu .label { margin: 0; }
.jump-menu a { font: 500 16px/1.2 var(--font-body, inherit); color: var(--c-black); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.jump-menu a:hover, .jump-menu a.is-active { border-bottom-color: var(--c-primary); }
.filter-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: var(--container); max-width: 100%; margin-inline: auto; }
.filter-bar__filters { display: flex; flex-wrap: wrap; gap: 20px; flex: 1 1 auto; }
.filter-bar__filters .field { flex: 1 1 180px; min-width: 180px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 30px; width: var(--container); max-width: 100%; margin-inline: auto; }
.pagination__numbers { display: flex; gap: 8px; }
.pagination__num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--c-secondary); border-radius: 3px; color: var(--c-black); text-decoration: none; }
.pagination__num.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.link-more--prev .icon { transform: rotate(180deg); }
.list-grid--downloads .link-more { margin-top: 8px; }

/* ---- fits the flex probe found (Dawson kit request 2026-10-20): a long link label wraps in its card; the gallery's controls and the request form fit narrow widths */
.post-card__content .link-more { white-space: normal; max-width: 100%; }
.post-card, .post-card__content { min-width: 0; }
.gallery .slider-controls { flex-wrap: wrap; max-width: 100%; gap: var(--space-xs); }
.gallery .slide-indicator { flex: 1 1 auto; min-width: 0; }
.contact-block__form, .contact-form, .contact-form .field { min-width: 0; }
.timeline-h__body { min-width: 0; } .timeline-h__body h4 { overflow-wrap: break-word; }
.timeline-h--in-section { padding-inline: 0; }   /* inside a section (buildlib section=True) the section pads it */

/* ---- Video Callout (437, the translation map's .video-ph): a centred intro over a full-width still with a play button (Dawson's build, 2026-10-20) */
.video-callout { align-items: center; }
.video-callout .intro--center { text-align: center; align-items: center; max-width: var(--w-8col); margin-inline: auto; }
.video-ph { position: relative; display: block; width: 100%; color: var(--c-white); }
.video-ph .ph-image { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.video-ph .ph-image img { width: 100%; height: 100%; object-fit: cover; }
.video-ph__play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.video-ph__play .icon { width: 32px; height: 32px; }
.video-ph:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 4px; }
.blog-post .video-ph { margin-block: var(--space-sm); }
/* ---- Gallery (1905): one image at a time; site.js moves is-active between the slides */
.gallery [data-slide-item] { display: none; } .gallery [data-slide-item].is-active { display: flex; }
/* ---- Icon Blocks Row (6): fewer than six wrap into the row */
.icon-blocks-row .grid-row { flex-wrap: wrap; }
