.lighting-guide{max-width:880px;margin-inline:auto}
.lighting-guide h2[id]{scroll-margin-top:6rem}
.lighting-guide h2:not(:first-child){margin-block:2.1rem .65rem}
.lighting-guide figure{margin:0;min-width:0}
.lighting-guide figure img,.lighting-guide video{display:block;max-width:100%;width:100%;height:auto;border-radius:17px;background:#ebe7ef}
.lighting-guide figcaption{font-size:.85rem;line-height:1.45;color:var(--muted,#55505c);margin-top:.45rem}
.lighting-guide .lighting-hero{margin-bottom:1.5rem}
.lighting-gallery,.lighting-temperature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1.25rem}
.lighting-gallery figure:only-child{max-width:540px}
.lighting-gallery figure img{max-height:520px;object-fit:contain}
.lighting-temperature{grid-template-columns:repeat(3,minmax(0,1fr))}
.lighting-temperature>div,.lighting-toc{border:1px solid #ded3e7;border-radius:16px;background:#fff;padding:1rem}
.lighting-temperature>div>*{display:block}
.lighting-toc ol{columns:2;padding-inline-start:1.25rem;margin-bottom:0}
.lighting-toc li{break-inside:avoid;margin-bottom:.35rem}
.lighting-table{margin-block:1rem}
.lighting-more{border:1px solid #ded3e7;border-radius:14px;padding:.8rem 1rem;margin:1rem 0}
.lighting-more summary{cursor:pointer;font-weight:650;color:#53266e}
.lighting-guide .lighting-video{max-width:320px;margin:1.3rem auto;text-align:center}
.lighting-guide .lighting-video video{background:#26232b}
.lighting-actions{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;max-width:880px;margin:1.5rem auto 0}
.lighting-feature{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:clamp(14px,4vw,36px);border:1px solid #ded3e7;background:#fff;border-radius:22px;padding:clamp(12px,3vw,24px);margin-bottom:1.5rem;color:inherit;text-decoration:none}
.lighting-feature img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.lighting-feature h2{font-size:clamp(1.25rem,3vw,2rem);line-height:1.15;margin:.45rem 0}
.lighting-feature p{margin:.5rem 0 1rem}
.lighting-feature:hover .textlink{text-decoration:underline}
@media(max-width:600px){.lighting-feature{grid-template-columns:1fr}.lighting-feature img{max-height:200px}.lighting-toc ol{columns:1}.lighting-temperature{grid-template-columns:1fr}.lighting-gallery{gap:.75rem}.lighting-guide figcaption{font-size:.8rem}}
@media(max-width:430px){.lighting-gallery{grid-template-columns:1fr}}
.lighting-guide .lighting-temperature-example{margin:1rem 0 1.4rem}
.lighting-guide .lighting-temperature-example img{border-radius:14px 14px 0 0}
.lighting-temperature-example figcaption{margin-top:0}
.lighting-temperature-labels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;background:#fff;border:1px solid #ded3e7;border-top:0;border-radius:0 0 14px 14px;overflow:hidden}
.lighting-temperature-labels>div{padding:.6rem .14rem}
.lighting-temperature-labels>div+div{border-left:1px solid #ded3e7}
.lighting-temperature-labels strong,.lighting-temperature-labels span{display:block}
.lighting-temperature-labels strong{font-size:clamp(.71rem,2.8vw,1rem);color:var(--ink,#242426)}
.lighting-temperature-labels span{white-space:nowrap;font-size:clamp(.65rem,2.5vw,.85rem)}
.lighting-temperature-example figcaption p{margin:.55rem 0 0;font-size:inherit}

/* Keep the photograph's own aspect ratio; the general prose rules cap image height. */
.lighting-guide figure img{width:100%;height:auto;max-height:none;margin:0}
.lighting-guide .lighting-hero{max-width:800px;margin-inline:auto}
.lighting-photo-row{display:contents}
@media(min-width:760px){
  .lighting-guide .lighting-gallery{display:flex;flex-direction:column;gap:1.25rem;margin-block:1.4rem}
  .lighting-photo-row{display:grid;grid-template-columns:var(--photo-columns);gap:1rem;align-items:start}
  .lighting-guide .lighting-photo-row--single{display:block;width:min(100%,640px);margin-inline:auto}
  .lighting-guide .lighting-photo-row--single > figure{max-width:none}
  .lighting-guide .lighting-photo-row--portrait{width:min(100%,390px)}
}
@media(max-width:759px){
  .lighting-guide .lighting-gallery:has(.lighting-photo-row--single){grid-template-columns:1fr}
  .lighting-guide .lighting-photo-row--single > figure{width:100%;margin-inline:auto}
}

@media(min-width:760px){main:has(.lighting-guide) > .wrap > :is(.breadcrumb,.pagehead){max-width:880px;margin-inline:auto}}
