.c27-story-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 36px 48px; border-bottom: 1px solid var(--c27-border); }
.c27-story-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 30px; color: var(--c27-secondary) !important; font-size: 14px; }
.c27-story-intro { display: grid; align-items: center; gap: 48px; }
.c27-story-intro.has-apps { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.c27-story-hero h1 { max-width: 820px; font-size: var(--c27-hero-title-size); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.c27-story-hero .c27-story-lede { max-width: 62ch; margin-top: 22px; color: var(--c27-secondary); font-size: var(--c27-hero-description-size); line-height: 1.7; }
.c27-story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 24px; color: var(--c27-secondary); font-size: 14px; }
.c27-story-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.c27-story-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.c27-story-tags li { padding: 4px 10px; border: 1px solid var(--c27-border); border-radius: 5px; background: var(--c27-surface); color: var(--c27-secondary); font-size: 12px; }
.c27-story-connection { text-align: center; }
.c27-story-connection > p { margin-bottom: 24px; color: var(--c27-secondary); font: 10px/1.5 var(--c27-mono); letter-spacing: .06em; }
.c27-story-connection ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 36px; margin: 0; padding: 0; list-style: none; }
.c27-story-connection li { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; width: 110px; font-size: 14px; }
.c27-story-app-mark { display: grid; place-items: center; width: 96px; height: 96px; border: 1px solid var(--c27-border); border-radius: 14px; background: var(--c27-surface); }
.c27-story-app-mark img { width: 56px; height: 56px; object-fit: contain; }
.c27-story-app-plus { position: absolute; left: -28px; top: 38px; color: var(--c27-primary); }
.c27-story-app-plus svg { width: 20px; height: 20px; }
.c27-story-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 64px; padding-block: 56px 64px; }
.c27-story-layout.has-contents { grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; }
.c27-story-contents { min-width: 0; }
.c27-story-contents nav { position: sticky; top: var(--c27-story-offset, 120px); display: grid; gap: 4px; max-height: calc(100dvh - var(--c27-story-offset, 120px) - 24px); overflow-y: auto; padding: 8px 12px 8px 20px; border-left: 1px solid var(--c27-border); scrollbar-width: thin; }
.c27-story-contents nav > p { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.c27-story-contents a { position: relative; display: flex; align-items: center; min-height: 40px; padding-block: 6px; color: var(--c27-secondary); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.c27-story-contents a[aria-current="location"] { color: var(--c27-primary); font-weight: 600; }
.c27-story-contents a[aria-current="location"]::before { content: ''; position: absolute; inset: 8px auto 8px -20px; width: 2px; background: var(--c27-primary); }
.c27-story-body { min-width: 0; color: var(--c27-secondary); font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.c27-story-body > :first-child { margin-top: 0; }
.c27-story-body :is(p, ul, ol, figure, blockquote, table) { margin-block: 22px; }
.c27-story-body :is(h2, .blog__title, b.block.f-bold, b.font-large.f-bold, b.font-normal.f-bold.font-blue-grey) { display: block; margin-block: 44px 18px; color: var(--c27-navy); font-size: 32px; font-weight: 500; line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; scroll-margin-top: var(--c27-story-offset, 120px); }
.c27-story-body h3 { margin-block: 32px 16px; font-size: 25px; line-height: 1.3; }
.c27-story-body :is(h2, h3) strong { font: inherit; }
.c27-story-body strong { color: var(--c27-navy); font-weight: 600; }
.c27-story-body a { color: var(--c27-primary); text-decoration: underline; text-underline-offset: 4px; }
.c27-story-body ul, .c27-story-body ol { padding-left: 26px; }
.c27-story-body li { padding-left: 4px; margin-block: 10px; }
.c27-story-body li::marker { color: var(--c27-primary); }
.c27-story-body .tablist > ul { padding-left: 0; list-style: none; }
.c27-story-body img { margin: 28px auto; border-radius: 10px; }
.c27-story-body .d-none { display: none; }
.c27-story-body .videoWrapper { position: relative; height: auto; aspect-ratio: 16 / 9; margin-block: 28px; padding: 0; overflow: hidden; border-radius: 10px; background: var(--c27-navy); }
.c27-story-body iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.c27-story-body .videoWrapper iframe { position: absolute; inset: 0; height: 100%; }
.c27-story-body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.c27-story-body :is(th, td) { padding: 12px; border: 1px solid var(--c27-border); text-align: left; }
.c27-story-body blockquote { padding: 20px 28px; border-left: 3px solid var(--c27-primary); background: var(--c27-background); color: var(--c27-navy); }
.c27-story-body figcaption { color: var(--c27-secondary); font-size: 14px; text-align: center; }
.c27-story-image-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; margin-block: 28px; padding: 24px; border: 1px solid var(--c27-border); border-radius: 10px; background: radial-gradient(ellipse at top right, #5d67d812, transparent 75%), var(--c27-background); color: var(--c27-primary); font-size: 18px; line-height: 1.5; text-align: center; }
.c27-story-body .post-password-form input { max-width: 100%; padding: 12px 16px; border: 1px solid var(--c27-border); border-radius: 8px; font: inherit; }
.c27-story-body .post-password-form input[type="submit"] { background: var(--c27-primary); color: #fff; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .c27-story-back:hover, .c27-story-contents a:hover { color: var(--c27-primary) !important; }
}
@media (max-width: 1000px) {
  .c27-story-intro.has-apps { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
  .c27-story-layout.has-contents { grid-template-columns: 170px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .c27-story-hero { padding-block: 24px 36px; }
  .c27-story-back { margin-bottom: 24px; }
  .c27-story-intro.has-apps, .c27-story-layout.has-contents { grid-template-columns: minmax(0, 1fr); }
  .c27-story-connection { padding-top: 24px; border-top: 1px solid var(--c27-border); text-align: left; }
  .c27-story-connection > p { margin-bottom: 16px; }
  .c27-story-connection ul { justify-content: flex-start; }
  .c27-story-app-mark { width: 76px; height: 76px; border-radius: 10px; }
  .c27-story-app-plus { top: 28px; }
  .c27-story-connection li { width: 100px; }
  .c27-story-layout { gap: 28px; padding-block: 32px 40px; }
  .c27-story-contents nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 20px; max-height: none; padding: 0 0 20px; border-left: 0; border-bottom: 1px solid var(--c27-border); }
  .c27-story-contents nav > p { flex-basis: 100%; margin-bottom: 4px; }
  .c27-story-contents a[aria-current="location"]::before { display: none; }
  .c27-story-contents a[aria-current="location"] { text-decoration: underline; text-underline-offset: 5px; }
  .c27-story-body :is(h2, .blog__title, b.block.f-bold, b.font-large.f-bold, b.font-normal.f-bold.font-blue-grey) { margin-top: 32px; font-size: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.c27-story, .c27-blog-post, .c27-overview) { scroll-behavior: smooth; }
}
