.page-id-124 #primary, .page-id-124 .ast-article-single, .page-id-124 .entry-content { margin: 0; padding: 0; }
.page-id-124 #content > .ast-container, body.single-post #content > .ast-container { max-width: none; padding: 0; display: block; }
.page-id-124 .entry-content > .ab-projects { max-width: none; margin: 0; }
.ab-projects { color: var(--ab-ink, #263f3b); font-size: 16px; line-height: 1.75; }
.ab-projects * { box-sizing: border-box; }
.ab-projects h1, .ab-projects h2, .ab-projects h3 { color: var(--ab-deep, #24675e); font-family: inherit; line-height: 1.25; font-weight: 650; margin: 0 0 20px; }
.ab-projects h1 { font-size: clamp(31px, 3vw, 45px); letter-spacing: -.035em; }
.ab-projects h2 { font-size: clamp(25px, 2.5vw, 33px); letter-spacing: -.025em; }
.ab-projects p { font-size: inherit; line-height: inherit; margin: 0 0 20px; color: var(--ab-muted, #526762); }
.ab-projects .ab-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .12em; color: var(--ab-deep, #24675e); }
.ab-project-hero { padding: 50px 0; background: #fff; border-block: 10px solid var(--ab-green, #3d9788); }
.ab-project-hero .ab-two-columns { gap: 48px; }
.ab-projects .ab-project-lead { font-size: 18px; line-height: 1.7; }
.ab-project-hero-photo { min-width: 0; margin: 0; }
.ab-project-hero-photo img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; background: var(--ab-paper, #f4f8f5); border-radius: 8px; }
.ab-project-hero-photo figcaption { color: var(--ab-muted, #526762); font-size: 11px; line-height: 1.6; margin-top: 10px; }
.ab-project-list, .ab-related { padding-block: 60px; }
.ab-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
.ab-project-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ab-line, #d9e6e1); border-radius: 8px; overflow: hidden; background: #fff; }
.ab-project-card-photo { display: block; position: relative; overflow: hidden; background: var(--ab-paper, #f4f8f5); aspect-ratio: 16 / 10; }
.ab-projects .ab-project-card-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.ab-project-card-copy { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.ab-project-card .ab-project-meta { font-size: 11px; line-height: 1.65; margin-bottom: 14px; color: var(--ab-muted, #526762); }
.ab-project-meta span { margin-inline: 6px; }
.ab-project-card h3 { font-size: 23px; margin-bottom: 14px; }
.ab-project-card h3 a { color: inherit; text-decoration: none; }
.ab-project-card h3 a:hover, .ab-project-read:hover { text-decoration: underline; }
.ab-project-card p { font-size: 14px; }
.ab-project-read { display: inline-flex; gap: 12px; align-items: center; margin-top: auto; color: var(--ab-deep, #24675e); font-size: 13px; font-weight: 700; text-decoration: none; }
.ab-project-pagination { padding-top: 32px; display: flex; gap: 16px; }
.ab-back-projects { display: inline-block; font-size: 12px; color: var(--ab-deep, #24675e); text-decoration: none; margin-bottom: 24px; }
.ab-projects .ab-project-published { font-size: 12px; margin: 0 0 22px; }
.ab-project-facts { display: grid; gap: 12px; border-top: 1px solid var(--ab-line, #d9e6e1); padding-top: 18px; margin: 0; font-size: 13px; }
.ab-project-facts > div { display: grid; grid-template-columns: 115px 1fr; gap: 16px; }
.ab-project-facts dt { font-weight: 650; }
.ab-project-facts dd { margin: 0; }
body.single-post .ab-single-project#primary { width: 100%; margin: 0; padding: 0; }
.ab-story-content { width: min(900px, calc(100% - 80px)); padding-block: 56px; margin-inline: auto; }
.ab-story-content h2 { margin-top: 38px; font-size: 27px; }
.ab-story-content h2::after { content: ''; display: block; width: 90px; height: 3px; background: var(--ab-green, #3d9788); margin-top: 18px; }
.ab-story-content > p { margin-bottom: 20px; }
.ab-story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 30px; }
.ab-story-gallery figure { margin: 0; min-width: 0; }
.ab-story-gallery a { display: block; background: var(--ab-paper, #f4f8f5); border-radius: 6px; overflow: hidden; }
.ab-story-gallery img { display: block; width: 100%; height: 320px; object-fit: contain; margin: 0; }
.ab-story-gallery figcaption, .ab-project-video figcaption { color: var(--ab-muted, #526762); font-size: 11px; line-height: 1.6; margin-top: 10px; }
.ab-clinical-gallery { background: #f7f9f8; border: 1px solid var(--ab-line, #d9e6e1); border-radius: 6px; padding: 22px; margin-block: 30px; }
.ab-clinical-gallery summary { cursor: pointer; font-weight: 650; font-size: 16px; color: var(--ab-deep, #24675e); }
.ab-clinical-gallery .ab-clinical-notice { font-size: 13px; margin-block: 18px; }
.ab-project-video { margin: 30px auto; max-width: 420px; }
.ab-video-frame { position: relative; aspect-ratio: 267 / 476; overflow: hidden; background: #173c36; border-radius: 8px; }
.ab-video-frame > img, .ab-video-frame iframe { width: 100%; height: 100%; object-fit: contain; display: block; border: 0; }
.ab-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; padding: 20px; color: #fff; background: linear-gradient(transparent 30%, #15332de8); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 14px; text-align: center; font: inherit; font-weight: 650; cursor: pointer; }
.ab-video-play:hover { background: linear-gradient(transparent 20%, #15332df5); }
.ab-video-play .ab-play-symbol { display: grid; place-items: center; background: #fff; color: #24675e; width: 58px; height: 58px; border-radius: 50%; font-size: 24px; padding-left: 4px; }
.ab-video-play small { font-size: 11px; font-weight: 400; }
.ab-related { border-top: 1px solid var(--ab-line, #d9e6e1); }
.ab-projects a:focus-visible, .ab-projects button:focus-visible, .ab-clinical-gallery summary:focus-visible { outline: 3px solid var(--ab-deep, #24675e); outline-offset: 4px; }
/* Native Astra search and category cards use the same images without aggressive crops. */
body.search .post-thumb img, body.archive .post-thumb img { max-height: 360px; width: 100%; object-fit: contain; }
@media (max-width: 900px) {
    .ab-project-hero .ab-two-columns { gap: 30px; }
    .ab-story-content { width: calc(100% - 48px); }
    .ab-project-card h3 { font-size: 21px; }
}
@media (max-width: 680px) {
    .ab-project-hero { padding-block: 32px; border-block-width: 7px; }
    .ab-project-hero .ab-two-columns, .ab-project-grid, .ab-story-gallery { grid-template-columns: 1fr; }
    .ab-projects .ab-project-lead { font-size: 16px; }
    .ab-project-list, .ab-related { padding-block: 38px; }
    .ab-project-card-copy { padding: 22px; }
    .ab-project-card-photo { aspect-ratio: 4 / 3; }
    .ab-story-content { width: calc(100% - 40px); padding-block: 36px; }
    .ab-story-content h2 { font-size: 24px; }
    .ab-project-facts > div { grid-template-columns: 1fr; gap: 1px; }
    .ab-story-gallery img { height: auto; max-height: 520px; }
    .ab-clinical-gallery { padding: 20px; }
}
