/* responsive.css — tablet (md ≤1024px) and phone (sm ≤480px) behaviour for the HTML kit, derived from the Refoundry
   library's own breakpoint settings (see kit/reference/07-responsive-map.md). Link after proto.css.
   Rules of thumb from the library: three-up grids stack at tablet, icon cards go two-up then one-up, split blocks
   stack with 400px/300px media, two-column content stacks, section padding 112→64→48 and gutters 48→32→16. */

@media (max-width: 1024px) {
  .logo-grid__row { flex-wrap: wrap; height: auto; }   /* logo grid: three to a row at tablet (kit 1.6.76) */
  .logo-grid__row > * { flex-basis: calc((100% - 2 * var(--space-sm)) / 3); height: 100px; }
  :root { --page: 100%; --page-pad: 32px; --container: 100%; }
  html, body { overflow-x: hidden; }
  h1, .banner__title { font-size: 34px; line-height: 1.15; }
  h2 { font-size: 30px; line-height: 1.2; }
  h3 { font-size: 24px; }
  /* canvas + fixed widths become fluid */
  .section, .grid-section, .footer, .banner, .site-header { max-width: none; }
  .section { padding-inline: var(--page-pad) !important; }
  .section--flush { padding-inline: 0 !important; }
  .section[style*="padding:"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  .section[style*="padding-bottom:0"], .section[style*="padding:0 "] { padding-top: 0 !important; padding-bottom: 0 !important; }
  .section--pad-lg, .grid-section { padding-top: 64px; padding-bottom: 64px; }
  [style*="width:1180px"], [style*="width:980px"], [style*="width:780px"], [style*="max-width:980px"], [style*="max-width:780px"], [style*="width:1300px"] { width: 100% !important; max-width: 100% !important; }
  [style*="flex:0 0 380px"], [style*="flex-basis:580px"] { flex-basis: 100% !important; }
  .two-col-block__body, .row, .grid-row, .accordion-2col, .listing-intro, .icon-rows, .res-group, .res-cols, .guidelines, .form-split, .callout--narrow, .callout--contact, .callout-img, .login-split, .promo-acc, .label-row, .footer-actions, .fees__grid, .icon-list-2x2 .row { flex-wrap: wrap; }
  .two-col-block__body, .accordion-2col, .listing-intro, .icon-rows, .res-group, .res-cols, .guidelines, .form-split, .callout--contact, .callout-img, .login-split, .promo-acc, .icon-row, .icon-horizontal { flex-direction: column; gap: 24px; }
  .two-col-block__lead, .accordion-2col .intro, .accordion-2col .accordion, .listing-intro__aside, .icon-rows > h2, .res-group__lead, .res-list, .guidelines__intro, .guidelines__main, .form-split__aside, .callout--contact .callout__main, .callout-img__panel, .callout-img .ph-image, .login-split__join, .login-split__form, .promo-acc__media, .promo-acc__media .ph-image, .method-panel .ph-image { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; }
  .banner--page { height: auto; flex-direction: column; gap: 24px; padding: 32px var(--page-pad) 40px; }
  .banner--page .banner__content { padding-bottom: 0; height: auto; gap: 24px; }
  .banner--page .banner__media, .banner--page .banner__title, .banner--page .banner__lead { width: 100%; max-width: none; flex-basis: auto; }
  .banner--page .banner__media { height: 400px; order: -1; }
  .banner--page.banner--text { height: auto; }
  .banner--hero { height: 460px; padding: 64px var(--page-pad) !important; }
  .banner--hero:not([data-slides]) { height: auto; min-height: 460px; }   /* a hero with real copy grows; a slider hero keeps its height (its slides are absolute) */
  [data-slides] .hero-slide { padding: 64px var(--page-pad); }
  .banner--hero .banner__content { max-width: none !important; }
  .banner--hero .slide-indicator { right: var(--page-pad); width: 240px; }
  /* classes that carry a fixed desktop width become fluid */
  .alert, .alert-bar, .attach, .blog-callout, .callout--contact, .callout--narrow, .callout-img, .content-block, .detail-layout, .detail-main, .embed-box, .embed-ph, .fees, .filter-bar, .form-block, .form-split, .guidelines, .icon-list-2x2 .row, .icon-rows, .itin-row, .itin__map, .job, .jobs-acc, .jobs-acc h2, .label-row, .listing-intro, .login-split, .map-block, .map-shot, .method-panel, .pagination, .promo-acc, .res-group, .small-card, .tabs-btn, .tabs-bubble--full, .team, .testimonial, .testimonial__quote, .video-ph, .webcam-row, .banner__hero, .two-col-block, .image-block, .accordion, .accordion-2col, .logo-scroll, .promo-acc__media .ph-image, .webcam-row .ph-image, .itin-row .ph-image { width: 100% !important; max-width: 100% !important; }
  .webcam-row, .itin-row { flex-direction: column; height: auto; }
  .webcam-row .ph-image, .itin-row .ph-image { height: 240px; }
  .stack, .label-row, .slider-row, .slider-row--overflow { width: 100% !important; max-width: 100% !important; }
  .map-block .map__marker, .map-shot .map__marker, .map-mini .map__marker { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .filter-bar, .tabs-btn, .tabs-btn__list, .jump-menu, .job__links, .actions, .method-tabs, .view-toggle, .footer-actions__pills, .connect, .label-row { flex-wrap: wrap; gap: 12px; }
  .jump-menu { padding: 12px var(--page-pad); }
  .banner--post .banner__hero { width: 100% !important; height: auto; min-height: 320px; }
  .banner--post .banner__overlay { position: static; padding-top: 20px; }
  .banner--hero .banner__title { display: block; }
  .itin__map { position: relative !important; overflow: hidden; }
  .itin { padding: 48px var(--page-pad) !important; width: 100%; }
  .itin__body { padding-right: 0; }
  .webcam-row, .itin-row { align-items: stretch; }
  .webcam-row__body, .itin-row__body { width: 100% !important; padding: 20px 0 !important; }
  .alert-bar, .alert-bar__main { flex-wrap: wrap; }
  /* split image blocks: stack, media first, 400 tall */
  .image-block, .image-block--wide { flex-direction: column; gap: 24px; align-items: stretch; }
  .image-block__media, .image-block--wide .image-block__media { order: -1 !important; flex: 0 0 auto !important; width: 100% !important; height: 400px !important; position: relative !important; margin: 0 !important; }
  .image-block__content, .image-block--wide .image-block__content { flex: 0 0 auto !important; width: 100% !important; padding: 0 !important; }
  .image-block--wide { padding-block: 64px; }
  /* cards and grids: three-up stacks, two-up wraps (library 4→12 / 6→12 / 4→6→12) */
  .grid-row, .grid-row--wrap, .fees__grid, .icon-list-2x2 .row { gap: 20px; }
  .post-card, .event-card, .biz-card, .annual-card, .fee, .icon-left, .icon-horizontal, .guide-card, .method-card { width: calc(50% - 10px); flex: 0 0 calc(50% - 10px); }
  .featured--4col, .package, .small-card, .small-card--6col, .small-card--4col, .package-sm { width: 100%; flex: 0 0 100%; }
  .featured--4col { height: 320px; }
  .slider-row, .slider-row--overflow { width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .slider-row > * { scroll-snap-align: start; }
  .slider-row .featured--4col, .slider-row .featured--stay, .slider-row .package-sm { width: 280px; flex: 0 0 280px; }
  .package { height: auto; flex-direction: column; align-items: flex-start; width: 320px; flex: 0 0 320px; }
  .package .ph-image { width: 100%; height: 200px; }
  .package > .stack { width: 100% !important; }
  .team { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .team__avatar { width: 200px; height: 200px; }
  .callout--narrow { flex-direction: column; align-items: flex-start; }
  .callout--narrow .callout__main { max-width: none; }
  .callout--contact .callout__main { flex-basis: auto !important; }
  .callout-img { height: auto !important; }
  .callout-img .ph-image { height: 300px; }
  .login-split { height: auto; }
  .login-split__form .field, .form-block .field, .form-split__form .field, .form-block .field--w780, .form-split__form .field--w780, .form-split__form .field--w580 { width: 100%; }
  .form-block { padding: 48px 32px; }
  .form-split { padding: 48px 32px !important; }
  .form-block .form-row, .form-split__form .form-row { flex-wrap: wrap; width: 100%; }
  .content-block { padding: 64px 32px; }
  .method-tabs { flex-wrap: wrap; width: 100%; }
  .method-panel { flex-direction: column; width: 100%; }
  .map-block, .map-shot { width: 100%; height: 300px; }
  .tabs-bubble--full, .tabs-bubble { width: 100%; flex-wrap: wrap; }
  .gallery-peek { height: auto; }
  .gallery-peek .ph-image { flex: 0 0 60% !important; width: 60% !important; height: 300px !important; }
  .gallery-peek .ph-image--side { flex: 1 1 0 !important; width: auto !important; height: 240px !important; }
  .jobs-acc { padding: 48px 20px; }
  .jobs-acc h2, .job { width: 100%; }
  .alert-bar { width: 100%; }
  .overview { padding: 40px 24px; }
  .overview__cols { flex-direction: column; }
  .testimonial { width: 100%; padding: 64px 48px; }
  .testimonial .slider-arrow--l { left: 0; } .testimonial .slider-arrow--r { right: 0; }
  .itin { flex-direction: column; }
  .itin__map { position: static; width: 100%; height: 400px; flex: 0 0 auto; }
  .detail-layout { display: flex; flex-direction: column; gap: 32px; }
  .detail-aside, .detail-main { width: 100%; max-width: none; }
  .logo-ticker .logo-scroll { width: 100%; }
  .slider-row--overflow { width: 100%; }
  /* rows that still sat side by side or shrink-wrapped narrower than their column */
  .stack > .package, .stack > .package-sm { width: 100% !important; flex-basis: 100% !important; }
  .blog-callout { flex-wrap: wrap; }
  .blog-callout__aside, .icon-left--tile { flex: 0 0 100% !important; width: 100% !important; max-width: 100%; }
  .form-split__form { flex: 0 0 auto !important; width: 100% !important; }
  .form-split__form .form-row, .form-block .form-row { flex-wrap: wrap; }
  .map-mini { width: 100%; max-width: 100%; }
  .guide-card .ph-image, .res-item .ph-image { width: 100%; max-width: 100%; }
  .callout--contact .callout__aside { width: 100%; }
  .breadcrumb { flex-wrap: wrap; white-space: normal; }
  /* footer */
  .footer { padding: 48px var(--page-pad); }
  .footer-menus { flex-wrap: wrap; gap: 32px 20px; }
  .footer-menus > * { flex: 0 0 calc(50% - 10px); }
  .footer-partners--row .footer-partners__logos { flex-wrap: wrap; }
  .footer-partners--row .ph-logo { flex: 0 0 calc(33.333% - 14px); }
  .footer__bar { flex-wrap: wrap; gap: 20px; }
  /* header: overlay navigation (library pattern) */
  .util-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }   /* scrolls when it overflows, with no bar drawn under two links (James Bird kit request 2026-10-20) */
  .util-nav::-webkit-scrollbar { display: none; }
  .util-nav a, .util-nav span, .util-nav__menu, .util-nav__toggle { flex: 0 0 auto; white-space: nowrap; }   /* no item shrinks or wraps: the phone number broke over three lines and "Toll Free" was cut to "1 (888)" (Cesco 2026-11-02, creative rule 42) */
  .util-nav__drop { right: auto; left: 0; }   /* the bar scrolls from the left on phones, so the panel opens under its toggle, not off the edge */
  .primary-nav { min-height: 80px; }
  .primary-nav__toggle { display: block; }
  .primary-nav__panel { display: none; }
  .site-header.is-open .primary-nav__panel { display: flex; position: fixed; inset: var(--nav-panel-top, 0) 0 0 0; z-index: 1000; flex-direction: column; justify-content: flex-start; gap: 0; padding: 88px var(--page-pad) 48px; background: var(--nav-panel, var(--c-primary)); color: var(--nav-panel-ink, var(--c-white)); overflow: auto; }   /* --nav-panel, --nav-panel-ink, --nav-panel-top (the header's height, to keep the wordmark and utility bar visible) are the UI sheet's; justify-content resets a right-aligned desktop menu (Sacred Heart kit request 2026-10-19) */
  .site-header.is-open .primary-nav__toggle { position: fixed; top: 20px; right: var(--page-pad); z-index: 1001; }
  .site-header.is-open .primary-nav__toggle-lines::before, .site-header.is-open .primary-nav__toggle-lines::after, .site-header.is-open .primary-nav__toggle::before, .site-header.is-open .primary-nav__toggle::after { background: var(--nav-panel-ink, var(--c-white)); }
  .primary-nav__items { flex-direction: column; gap: 0; margin-left: 0; width: 100%; }
  .primary-nav__items > li > a { font-size: 28px; font-weight: 500; color: var(--nav-panel-ink, var(--c-white)); padding: 12px 0; }
  .primary-nav__items > li.is-active > a { color: var(--nav-panel-ink, var(--c-white)); box-shadow: none; text-decoration: underline; }
  .primary-nav__items > li > a .icon { display: none; }
  .primary-nav__sub { display: block; position: static; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 12px 20px; }
  /* opt-in (sitemap site.mobile_submenus: "collapse"): each parent's sub-pages sit behind a toggle beside its link */
  .primary-nav--collapse-sub .primary-nav__items > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .primary-nav--collapse-sub .primary-nav__sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: transparent; border: 1px solid currentColor; border-radius: 4px; color: var(--c-white); cursor: pointer; }
  .primary-nav--collapse-sub .primary-nav__sub-toggle .icon { transition: transform .2s; }
  .primary-nav--collapse-sub li.is-sub-open > .primary-nav__sub-toggle .icon { transform: rotate(180deg); }
  .primary-nav--collapse-sub .primary-nav__sub { display: none; flex-basis: 100%; }
  .primary-nav--collapse-sub li.is-sub-open > .primary-nav__sub { display: block; }
  .primary-nav__sub a { color: var(--c-white); font-size: 18px; padding: 6px 0; white-space: normal; }
  .primary-nav__sub a:hover, .primary-nav__sub .is-active > a { color: var(--c-white); background: transparent; text-decoration: underline; }
  .primary-nav__sub > li.has-sub > a { display: block; }
  .primary-nav__sub > li.has-sub > a .icon { display: none; }
  .primary-nav__sub--flyout { padding: 0 0 6px 20px; }
  .primary-nav__sub--flyout a { font-size: 16px; }
  .primary-nav__widget { margin-top: 24px; align-self: flex-start; }
  /* editor toolbar can't float beside a full-width block */
  .proto-tb { max-width: calc(100vw - 16px); flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .team-card { flex-basis: 100%; }   /* team grid: one to a row (kit 1.6.76) */
  .logo-grid__row > * { flex-basis: calc((100% - var(--space-sm)) / 2); }   /* logo grid: two to a row (kit 1.6.76) */
  :root { --page-pad: 16px; }
  h1, .banner__title { font-size: 28px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  .section[style*="padding:"], .section--pad-lg, .grid-section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .section--lead { padding-bottom: 0 !important; } .section--follow { padding-top: 24px !important; } .section--same-bg { padding-top: 0 !important; }   /* buildlib's intro-over-list pair keeps its pairing at phone (James Bird kit request 2026-10-20) */
  .section[style*="padding-bottom:0"], .section[style*="padding:0 "] { padding-top: 0 !important; padding-bottom: 0 !important; }
  .banner--page .banner__media, .image-block__media, .image-block--wide .image-block__media { height: 300px !important; }
  .banner--hero { height: 420px; }
  .banner--hero:not([data-slides]) { height: auto; min-height: 420px; }
  .post-card, .event-card, .biz-card, .annual-card, .fee, .icon-left, .icon-horizontal, .guide-card, .method-card { width: 100%; flex: 0 0 100%; }
  /* phone: every part of a section is 12 columns. Grids stack; overflow scrollers show one full-width card per swipe. */
  .slider-row .featured--4col, .slider-row .featured--stay, .slider-row .package-sm, .slider-row .package, .slider-row .small-card, .slider-row .small-card--6col, .slider-row .small-card--4col { width: 100% !important; flex: 0 0 100% !important; }
  .package, .package-sm { width: 100%; flex: 0 0 100%; }
  .venue-row { flex-direction: column; }
  .venue-row .map-mini, .venue-row .contact-row { width: 100%; }
  .form-row, .form-split__form .form-row, .form-block .form-row { flex-direction: column; width: 100%; gap: 12px; }
  .form-row > * { width: 100% !important; flex: 0 0 auto !important; }
  .blog-callout .post-card { width: 100%; flex-basis: 100%; }
  .accordion__meta { flex-wrap: wrap; gap: 4px 16px; }
  .accordion__meta h4 { flex: 0 0 100%; }
  .testimonial { padding: 48px 60px; }
  .small-card { flex-direction: column; }
  .small-card .ph-image { width: 100%; flex-basis: auto; height: 160px; }
  .team { grid-template-columns: 1fr; }
  .footer-menus > * { flex: 0 0 100%; }
  .footer-partners--row .ph-logo { flex: 0 0 calc(50% - 10px); }
  .form-block, .form-split { padding: 40px 16px !important; }
  .content-block { padding: 48px 16px; }
  .testimonial { padding: 48px 32px; }
  .gallery-peek .ph-image { flex: 0 0 80% !important; width: 80% !important; height: 240px !important; }
  .gallery-peek .ph-image--side { height: 180px !important; }
  .callout--narrow, .callout--contact, .callout { padding: 32px 20px; }
  .primary-nav__items > li > a { font-size: 24px; }
  .pill { padding: 9px 16px; font-size: 14px; }
  .price-tile { align-items: flex-start; }
  .banner--post .banner__hero { min-height: 240px; }
}

/* blog post: 210px side padding becomes the page gutter below the canvas */
@media (max-width: 1024px) { .blog-post { padding-inline: var(--page-pad); } }

/* Library banners and intro split at tablet/phone (Feature Banner, Image Banner, Basic Banner, Intro – Bullet/Highlights List): stack, media first */
@media (max-width: 1024px) {
  .banner--feature, .banner--image { flex-direction: column; gap: 24px; align-items: stretch; padding: 32px var(--page-pad) 40px; }
  .banner--feature .banner__media, .banner--image .banner__media { order: -1; flex: 0 0 auto !important; width: 100% !important; height: 400px !important; }
  .banner--feature .banner__media { height: auto !important; }   /* the feature banner's photo keeps its own proportions: a portrait loses its head at a forced 400px (James Bird kit request 2026-10-20) */
  .banner--feature .banner__content, .banner--image .banner__content { flex: 0 0 auto; width: 100%; max-width: none; }
  .banner--basic { padding: 32px var(--page-pad) 40px; }
  .intro-split { flex-direction: column; gap: 24px; padding-block: 64px; }
  .intro-split > .intro, .intro-split__aside { flex: 0 0 auto; padding-right: 0; max-width: none; }
  .filter-bar__filters, .filter-bar__actions { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .banner--image .banner__media { height: 300px !important; }
  .intro-split { padding-block: 48px; }
}

/* Post banner (640) and the contact block (1323) at tablet and phone (Kiwassa 2026-09-23) */
@media (max-width: 1024px) {
  .banner--blog { padding: 64px 32px 32px; }
  .contact-block { flex-direction: column; }
  .contact-block__intro, .contact-block__form { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .banner--blog { padding: 48px 16px 16px; }
}

/* ---- Components the build chats met first (Sacred Heart, kit 1.6.80): tablet ≤1024 stacks them, phone ≤480 one across */
@media (max-width: 1024px) {
  /* Timeline – Vertical Scroll: the heading above its card, no rail */
  .timeline-v { padding-inline: var(--page-pad); }
  .timeline-v::before, .timeline-v__connector { display: none; }
  .timeline-v__row { flex-direction: column; gap: 16px; }
  .timeline-v__row .intro { position: static; flex: 0 0 auto; width: 100%; }
  .timeline-v__block, .timeline-v__card { flex: 0 0 auto; width: 100%; }
  /* Banner - Content Tiles: the portrait above the name, tiles two across */
  .banner--quicknav .banner__row { flex-direction: column; height: auto; gap: var(--space-sm); }
  .banner--quicknav .banner__content { height: auto; }
  .banner--quicknav .banner__content, .banner--quicknav .banner__media { flex: 0 0 auto !important; width: 100% !important; max-width: 100%; }
  .banner--quicknav .banner__media { order: -1; height: 400px !important; }
  .banner--quicknav .spec-row { flex-wrap: wrap; }
  .banner--quicknav .spec-row .spec { flex: 1 1 45%; }
  /* Image Callout – Half Width: the image above the callout */
  .callout-row:has(.callout--half) { flex-direction: column; }
  .callout-half__media, .callout--half { flex: 0 0 auto !important; width: 100% !important; max-width: 100%; }
  .callout-half__media { height: 400px; }
}
@media (max-width: 480px) {
  .mosaic { flex-direction: column; }
  .mosaic__col { flex: 0 0 auto; width: 100%; }
  .banner--quicknav .banner__media, .callout-half__media { height: 300px !important; }
  .banner--quicknav .spec-row .spec { flex: 1 1 100%; }
}

/* ---- What the plan-driven builds met next (Broadmoor, James Bird; kit 1.6.82) */
@media (max-width: 1024px) {
  /* Icon Text Blocks: two across, then one */
  .grid-row > .icon-block--fluid, .grid-row > .icon-block--2col, .grid-row > .icon-block--3col, .grid-row > .icon-block--4col, .grid-row > .icon-block--6col { flex: 1 1 calc(50% - 20px); width: auto; min-width: 0; }   /* --2col and --3col too (Refoundry kit request 2026-10-24) */
  /* Callout – Multiple Links: the links under the heading */
  .callout--links { flex-direction: column; align-items: stretch; }
  .callout--links .link-list { flex: 0 0 auto; width: 100%; }
  /* the two-column accordion's fixed column shares the row between 1025 and 1400 */
  .accordion-2col { gap: clamp(40px, 8vw, 120px); }
  .accordion-2col .accordion { flex: 1 1 680px; min-width: 0; }
  /* the contact block's form takes what is left */
  .contact-block__form { flex: 1 1 var(--w-8col); min-width: 0; }
  .contact-block__form .contact-form, .contact-block__form .form-row { width: 100%; }
  /* the footer's newsletter sign-up stacks */
  .newsletter--subscribe .newsletter__row { flex-direction: column; gap: 16px; }
  .newsletter--subscribe .newsletter__row > p { flex: 0 0 auto; }
  .newsletter--subscribe .newsletter__form { width: 100%; flex: 0 0 auto; }
  /* 2 Col Posts rows: the two lists become one, in the records' order */
  .grid-row:has(> .post-list) { flex-direction: column; gap: 0; }
  .grid-row > .post-list, .grid-row > .intro--narrow { flex: 0 0 auto !important; width: 100% !important; max-width: 100%; }
  .grid-row:has(> .post-list + .post-list) > .post-list { display: contents; }
  .list-grid__item { flex-direction: column; gap: 12px; } .list-grid__head { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .link-more { white-space: normal; max-width: 100%; }
  .newsletter--subscribe { padding-inline: var(--page-pad); }
  .newsletter--subscribe .newsletter__form { flex-direction: column; align-items: stretch; }
  .newsletter--subscribe .newsletter__form .field { flex: 0 0 auto; min-width: 0; }
  /* Table: three or more columns, the first takes the row; two columns, the first the wider share */
  .table__row:has(> .table__cell:nth-child(3)) { flex-wrap: wrap; }
  .table__row:has(> .table__cell:nth-child(3)) > .table__cell:first-child { flex: 0 0 100%; padding-bottom: 0; }
  .table__row--head:has(> .table__cell:nth-child(3)) > .table__cell:first-child { padding-bottom: 12px; }
  .table__row > .table__cell:first-child:nth-last-child(2) { flex: 2 1 0; }
  .table__cell { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .grid-row > .icon-block--fluid, .grid-row > .icon-block--2col, .grid-row > .icon-block--3col, .grid-row > .icon-block--4col, .grid-row > .icon-block--6col { flex: 0 0 100%; width: 100%; }
  .location-card .contact-columns { flex-direction: column; gap: 12px; }
  .post-list__item > .post-list__media { flex-basis: 110px; }
  .post-list__item > .post-list__media .ph-image { width: 110px; height: 110px; }
}


/* ---- the fluid band, 1025 to 1400 (Shawn's "everything flexes"; Refoundry and Sacred Heart kit requests, 2026-10-19/24): fixed widths become fractions */
@media (min-width: 1025px) and (max-width: 1400px) {
  .timeline-v__row .intro { flex: 0 0 32%; min-width: 0; }
  .timeline-v__block { flex: 1 1 0; min-width: 0; }
  .timeline-v__card { flex: 1 1 0; min-width: 0; }
  .contact-block__intro { flex: 0 1 33%; min-width: 0; }
  .contact-block__form { flex: 1 1 0; min-width: 0; }
  .list-grid__item { gap: clamp(24px, 6vw, 120px); }
  .list-grid__item > * { min-width: 0; }
}
/* ---- the Contact Form's two fixed columns (380 + 780) need 1160px: between the tablet break and 1180 they share the row; its rows wrap (Dawson kit request 2026-10-20) */
@media (max-width: 1180px) {
  .contact-block__intro { flex: 0 1 320px; min-width: 0; }
  .contact-block__form { flex: 1 1 0; min-width: 0; }
  .contact-form .form-row { flex-wrap: wrap; }
  .contact-form .form-row > .field { flex: 1 1 240px; }
}
/* ---- the horizontal timeline at phone: two blocks to a row instead of clipping the last (Dawson kit request 2026-10-20) */
@media (max-width: 480px) {
  .timeline-h { flex-wrap: wrap; row-gap: var(--space-sm); }
  .timeline-h::before { display: none; }
  .timeline-h__block, .timeline-h.timeline-h--4 .timeline-h__block { flex: 1 1 140px; min-width: 0; width: auto; }
}
