/* Photo additions: original aspect ratios, no overlays or forced cropping. */
.lab-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}
.lab-photo-grid figure,.event-photo-gallery figure{margin:0;min-width:0;break-inside:avoid;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.lab-photo-grid img,.event-photo-gallery img{display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain}
.lab-photo-grid figcaption{padding:20px 22px;font-size:16px;line-height:1.5;color:var(--ink)}
.event-photo-gallery{columns:3;column-gap:24px}.event-photo-gallery figure{margin-bottom:24px}
.page-events .event-gallery-section{padding-top:0!important}
.lab-tour{grid-column:1/-1;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}
.lab-tour summary{cursor:pointer;min-height:48px;padding:12px 0;color:var(--accent);font-size:18px}
.lab-tour video{display:block;width:100%;max-width:480px;max-height:75vh;margin:20px auto 0;background:#000;border-radius:12px}
.page-about .about-lab-view figure img{width:100%;height:auto!important;object-fit:contain}
@media(max-width:1100px){.lab-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.event-photo-gallery{columns:2;column-gap:20px}.event-photo-gallery figure{margin-bottom:20px}}
@media(max-width:600px){.lab-photo-grid{grid-template-columns:minmax(0,1fr);gap:20px}.event-photo-gallery{columns:1}.lab-photo-grid figcaption{padding:18px 22px}.lab-tour video{max-height:70vh}.event-gallery-section{padding-left:20px!important;padding-right:20px!important}}

.about-workspace-gallery{grid-column:1/-1;width:100%;margin-top:24px}.page-about .about-workspace-gallery figure{margin:0!important;width:100%;min-width:0}

/* Consistent photo frames and compact captions. */
.action-additions{align-items:start;gap:24px}
.action-additions>figure{display:flex;flex-direction:column;height:auto!important;align-self:start}
.action-additions>figure>img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center}
.action-additions>figure:first-child>img{object-position:50% 28%}
.action-additions>figure>figcaption{box-sizing:border-box;min-height:72px;padding:20px 22px;display:flex;align-items:center}
.page-about .about-workspace-gallery{align-items:start;gap:24px}
.page-about .about-lab-view .about-workspace-gallery>figure{width:100%!important;height:auto!important;aspect-ratio:1!important;align-self:start;display:block;border-radius:16px}
.page-about .about-lab-view .about-workspace-gallery>figure>img{display:block;width:100%!important;max-width:none!important;height:100%!important;aspect-ratio:1!important;object-fit:cover!important;margin:0!important;padding:0!important}
.home-action-v4-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start}
.home-action-v4-card{height:auto!important}
.home-action-v4-media{height:auto!important;aspect-ratio:4/3!important}
.home-action-v4-caption{padding:22px!important}
.home-action-v4-caption p{margin-bottom:0!important}
.event-photo-gallery{column-gap:24px}
.event-photo-gallery figure{display:block;height:auto!important;min-height:0!important}
.event-photo-gallery img{aspect-ratio:auto!important;height:auto!important}
.infra-card-body{min-width:0;overflow-wrap:break-word}
@media(max-width:1100px){
 .action-additions,.page-about .about-workspace-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .action-additions>figure>figcaption{padding:16px;min-height:84px;font-size:15px}
}
@media(max-width:760px){
 .home-action-v4-gallery{grid-template-columns:minmax(0,1fr)!important;gap:24px}
 .action-additions,.page-about .about-workspace-gallery{grid-template-columns:minmax(0,1fr)!important;gap:22px}
 .action-additions>figure>figcaption{min-height:0;padding:18px 22px;font-size:16px}
 .page-about .about-workspace-gallery{max-width:520px;justify-self:center}
 .home-action-v4-caption{padding:22px!important}
}

/* Dark theme CTA states: copper fill and deep-teal lettering. */
html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus-visible,
html[data-theme="dark"] .button:active{
 background:var(--accent,#e6a17c)!important;color:#0b1d21!important;
 border-color:var(--accent,#e6a17c)!important;box-shadow:0 6px 18px rgba(0,0,0,.18)!important;
}
html[data-theme="dark"] .button:hover::before,
html[data-theme="dark"] .button:focus-visible::before,
html[data-theme="dark"] .button:active::before{background:var(--accent,#e6a17c)!important}
html[data-theme="dark"] .button:hover::after,
html[data-theme="dark"] .button:focus-visible::after{background:none!important}
html[data-theme="dark"] .button:hover span,
html[data-theme="dark"] .button:focus-visible span,
html[data-theme="dark"] .button:active span{background:transparent!important;color:#0b1d21!important;border-color:rgba(11,29,33,.4)!important}

/* Main About photograph uses its natural dimensions. */
.page-about .about-lab-view>figure{height:auto!important;min-height:0!important;aspect-ratio:auto!important;align-self:start;padding:0!important;line-height:0}
.page-about .about-lab-view>figure>img{display:block;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0!important}
.workshop-feature{border-bottom:1px solid var(--line)}
.workshop-heading{max-width:980px;margin-bottom:32px}
.workshop-heading h1{font-size:clamp(1.8rem,3.4vw,3.4rem);line-height:1.15;overflow-wrap:break-word;margin:16px 0 24px}
.workshop-heading p:not(.eyebrow){max-width:780px;line-height:1.7;color:var(--muted,var(--ink))}
.workshop-media{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.workshop-media>figure{margin:0;min-width:0;background:transparent;border:0;box-shadow:none}
.workshop-media .workshop-poster img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;border-radius:12px;object-fit:contain}
.workshop-media video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#071318;border-radius:12px;object-fit:contain}
.workshop-media figcaption{font-size:.875rem;line-height:1.5;color:var(--ink);padding:12px 0;margin:0}
.event-gallery-section>h2{font-size:clamp(1.8rem,3vw,3rem);margin:0 0 32px}
@media(max-width:900px){.workshop-media{grid-template-columns:minmax(0,1fr);gap:28px}.workshop-poster{width:100%;max-width:560px;justify-self:center}.workshop-heading .eyebrow{line-height:1.7;letter-spacing:.09em}.workshop-heading{margin-bottom:24px}}

/* Workshop introduction is independent of the site's navigation header. */
.page-events .workshop-feature{padding-top:clamp(40px,6vw,88px)}
.page-events .workshop-heading{display:block;position:static;width:100%;max-width:1040px;padding:0;margin:0 0 36px;border:0;background:transparent;box-shadow:none;text-align:left}
.page-events .workshop-heading>.eyebrow{display:block;width:auto;max-width:none;margin:0 0 16px;line-height:1.7;color:var(--accent)}
.page-events .workshop-heading>h1{display:block;width:100%;max-width:1000px;margin:0 0 20px;font-size:clamp(28px,3.2vw,48px);font-weight:400;line-height:1.17;letter-spacing:-.035em;overflow-wrap:normal;text-wrap:balance;color:var(--ink)}
.page-events .workshop-heading>p:not(.eyebrow){display:block;width:100%;max-width:780px;margin:0;font-size:16px;line-height:1.75}
@media(max-width:600px){.page-events .workshop-feature{padding-top:32px}.page-events .workshop-heading{margin-bottom:28px}.page-events .workshop-heading>.eyebrow{font-size:11px;letter-spacing:.08em}.page-events .workshop-heading>h1{font-size:clamp(26px,7vw,34px);line-height:1.2;text-wrap:pretty}.page-events .workshop-heading>p:not(.eyebrow){font-size:15px;line-height:1.7}}





/* === HOME DDG15 THIRD ROW === */
.action-ddg-row{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin-top:24px!important;
}
.action-ddg-row>figure{
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
}
.action-ddg-row>figure>img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
.action-ddg-row>figure>figcaption{
  padding:20px 22px!important;
  min-height:0!important;
  font-size:16px!important;
  line-height:1.5!important;
}

@media(max-width:1100px){
  .action-ddg-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:20px!important;
  }
  .action-ddg-row>figure{
    grid-column:1!important;
  }
}

@media(max-width:760px){
  .action-ddg-row{
    grid-template-columns:minmax(0,1fr)!important;
    margin-top:22px!important;
  }
  .action-ddg-row>figure{
    grid-column:1!important;
  }
  .action-ddg-row>figure>figcaption{
    padding:18px 22px!important;
    font-size:16px!important;
  }
}
/* === END HOME DDG15 THIRD ROW === */
