/* The native gallery, buttons and enquiry form stay in the document's reading flow. */
.page__blocks > .block > .block-layout {
  width: var(--band-width);
  max-width: var(--site-header-max-width);
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, min(69%, 760px)) minmax(0, .3fr);
  grid-template-rows: none;
  gap: 24px clamp(20px, 3vw, 48px);
  align-items: start;
}
.page__blocks .block-layout > .layout-element {
  grid-area: auto / 2;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  opacity: 1;
  transform: none;
}
.page__blocks .layout-element:has(.post-prose),
.page__blocks .text-box:has(.post-prose) { display: contents; }
.page__blocks .block-layout > .layout-element [data-animation-role] { opacity: 1; transform: none; }
.post-hero, .post-outline, .post-prose, .post-related {
  color: var(--band-ink);
  font: 400 1rem/1.5 var(--band-font);
  text-align: left;
  white-space: normal;
}
.post-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  margin: clamp(8px, 1.3vw, 22px) 0 clamp(8px, 1vw, 16px);
  overflow: hidden;
  border: 1px solid #c9dfe9;
  border-radius: 22px;
  background: #edf6fa;
}
.post-lead { align-self: center; padding: clamp(24px, 3.2vw, 50px) var(--band-gutter); }
.text-box .post-hero :where(h1, p) { padding: 0; margin: 0; }
.text-box .post-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--band-blue);
  font: 700 .88rem/1.4 var(--band-font);
}
.post-path a { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; color: inherit; text-decoration: none; }
.post-path a:hover, .post-related header a:hover { text-decoration: underline; text-underline-offset: .2em; }
.post-path > span { padding-inline-start: 14px; border-inline-start: 1px solid #a6c4d2; }
.text-box .post-hero h1 {
  color: var(--band-ink);
  font: 700 clamp(2.15rem, 3.45vw, 3.65rem)/1.07 var(--band-font);
  letter-spacing: -.042em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.text-box .post-summary {
  margin-top: 16px;
  max-width: 63ch;
  color: var(--band-copy);
  font: 400 clamp(1.02rem, 1.3vw, 1.24rem)/1.5 var(--band-font);
}
.text-box .post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 24px;
  color: var(--band-copy);
  font: 400 .9rem/1.4 var(--band-font);
}
.post-byline strong { color: var(--band-ink); }
.post-byline span { border-inline-start: 1px solid #abc8d5; padding-inline-start: 12px; }
.post-hero figure { position: relative; margin: 0; min-height: 100%; background: #d7e8ef; }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.post-outline {
  grid-area: 2 / 1;
  position: sticky;
  top: 150px;
  width: min(100%, 290px);
  max-height: calc(100dvh - 170px);
  overflow-y: auto;
  border-top: 2px solid #155a7c;
}
.post-outline details { display: none; }
.post-outline summary, .text-box .post-outline p { padding: 12px 0; margin: 0; color: var(--band-ink); font-weight: 700; }
.post-outline summary { cursor: pointer; }
.post-outline ul:not(.s) { list-style: none; margin: 0; padding: 0; }
.post-outline a {
  display: block;
  padding: 7px 4px;
  border-top: 1px solid #e0e9ee;
  color: var(--band-copy);
  text-decoration: none;
  font: 400 .92rem/1.4 var(--band-font);
}
.post-outline a:hover { color: var(--band-blue); text-decoration: underline; }
.post-prose {
  grid-column: 2;
  min-width: 0;
  color: #233e51;
  font-size: clamp(1.05rem, 1.3vw, 1.17rem);
  line-height: 1.72;
  overflow-wrap: break-word;
}
.post-prose :is(p, h2, h3, ul, ol) { margin: 0; padding-block: 0; }
.text-box .post-prose > * + * { margin-top: .9em; }
.text-box .post-prose :is(h2,h3) {
  scroll-margin-top: 155px;
  color: var(--band-ink);
  font: 700 clamp(1.36rem, 2vw, 1.85rem)/1.2 var(--band-font);
  letter-spacing: -.024em;
  text-wrap: pretty;
}
.text-box .post-prose > * + :is(h2,h3) { margin-top: 1.65em; }
.text-box .post-prose :is(h2,h3,p) span { color: inherit !important; font-size: inherit; }
.text-box .post-prose a { color: var(--band-blue); text-decoration: underline; text-underline-offset: .18em; }
.text-box .post-community-action { grid-column: 2; margin: 0; text-align: left; }
.post-community-action a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  padding: 10px 18px; border-radius: 9px; background: var(--band-blue);
  color: #fff; font: 700 1rem/1.4 var(--band-font); text-decoration: none;
}
.post-community-action a:hover { background: var(--band-ink); }
.text-box .post-prose > :is(ul,ol):not(.s) { padding-inline-start: 1.35em; }
.post-prose li + li { margin-top: .35em; }
.post-prose p:empty { display: none; }
.page__blocks .layout-element:has(.layout-element__component--GridButton) { justify-self: start; width: auto; }
.page__blocks .layout-element .grid-button { min-height: 44px; height: auto; padding: 10px 20px; }

.page__blocks .block:has(.site-chat-contact) { margin-top: 36px; }
.page__blocks .block:has(.site-chat-contact) > .block-background { background: #f0f7fa; }
.page__blocks .block-layout:has(.site-chat-contact) {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  gap: 12px;
  padding-block: 32px;
}
.block-layout:has(.site-chat-contact) .post-prose { width: 100%; }
.post-prose:has(a[href*="apps.apple.com"]) { padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: #eff6fa; }
.text-box .post-prose:has(a[href*="apps.apple.com"]) h3 + h3,
.block-layout:has(.site-chat-contact) .post-prose h3:has(span) { font: inherit; letter-spacing: normal; }
.post-related {
  width: var(--band-width);
  max-width: var(--site-header-max-width);
  margin: clamp(40px, 5vw, 76px) auto;
  padding-top: clamp(22px, 2.5vw, 36px);
  border-top: 1px solid var(--band-line);
}
.post-related header, .post-related a { display: flex; align-items: center; gap: 12px; }
.post-related header { flex-wrap: wrap; justify-content: space-between; margin-bottom: 16px; }
.post-related h2 { margin: 0; font: 700 clamp(1.65rem, 2.4vw, 2.4rem)/1.15 var(--band-font); letter-spacing: -.035em; }
.post-related a { color: var(--band-blue); text-decoration: none; font-weight: 700; min-height: 44px; }
.post-related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.post-related li a { height: 100%; gap: clamp(12px, 1.5vw, 22px); padding: 12px; border: 1px solid var(--band-line); border-radius: 14px; }
.post-related li a:hover { border-color: var(--band-blue); background: #f3f8fa; }
.post-related li img { align-self: stretch; width: clamp(64px, 8vw, 110px); min-height: 76px; height: auto; object-fit: cover; border-radius: 7px; }
.post-related small { display: block; margin-bottom: 4px; color: var(--band-copy); font-weight: 400; }
.post-related strong { color: var(--band-ink); line-height: 1.3; display: block; }
.post-related b { margin-inline: auto 5px; }
:is(.post-hero,.post-outline,.post-prose,.post-related) :is(a,summary):focus-visible { outline: 3px solid #1675a4; outline-offset: 2px; }

@media (max-width: 820px) {
  .page__blocks > .block > .block-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .page__blocks .block-layout > .layout-element, .post-prose, .post-outline, .text-box .post-community-action { grid-column: 1; }
  .post-outline { position: static; width: 100%; max-height: none; border-bottom: 1px solid var(--band-line); }
  .post-outline > section { display: none; }
  .post-outline details { display: block; }
  .post-outline ul:not(.s) { padding-bottom: 10px; }
  .post-outline a { padding-block: 10px; }
}
@media (max-width: 700px) {
  .post-hero { grid-template-columns: minmax(0, 1fr); margin-top: 8px; border-radius: 16px; }
  .post-lead { padding: 18px 20px 22px; }
  .text-box .post-path { margin-bottom: 6px; }
  .text-box .post-hero h1 { font-size: clamp(1.9rem, 6.8vw, 2.6rem); }
  .text-box .post-byline { margin-top: 14px; }
  .post-hero figure { aspect-ratio: 2.65; }
  .post-related ul { grid-template-columns: minmax(0, 1fr); }
}
