/* Only the Amalgam teaching comparison; no global or shared page selectors. */
.amalgam-photo-explorer {
  padding: clamp(56px, 7vw, 96px) 0;
  color: #594f44;
  background: #f3ede3;
  border-block: 1px solid #684e2e24;
}
.amalgam-photo-explorer .amalgam-photo-heading { max-width: 800px; margin-bottom: 36px; }
.amalgam-photo-explorer .amalgam-photo-heading .eyebrow { color: #705434; }
.amalgam-photo-explorer .amalgam-photo-heading h2 {
  margin: 0;
  color: #302820;
  font-size: clamp(32px, 3.65vw, 47px);
  line-height: 1.15;
  text-wrap: balance;
}
.amalgam-photo-explorer .amalgam-photo-heading > p:last-child { max-width: 62ch; margin-top: 20px; font-size: 15.5px; line-height: 1.85; }
.amalgam-photo-explorer .amalgam-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; }
.amalgam-photo-explorer .amalgam-photo-card { min-width: 0; color: #e8ded0; background: #292219; border-top: 2px solid #b59a6e; }
.amalgam-photo-explorer figure { margin: 0; }
.amalgam-photo-explorer .amalgam-photo-stage { position: relative; aspect-ratio: 1; overflow: hidden; background: #292219; }
.amalgam-photo-explorer .amalgam-photo-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amalgam-photo-explorer .amalgam-photo-stage--left img { object-position: 0% 50%; }
.amalgam-photo-explorer .amalgam-photo-stage--center img { object-position: 50% 50%; }
.amalgam-photo-explorer .amalgam-photo-stage--right img { object-position: 100% 50%; }
.amalgam-photo-explorer .amalgam-photo-ai-label { position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; border: 0; color: #efe7db; background: #29231ded; font-size: 12px; line-height: 1.5; }
.amalgam-photo-explorer figcaption { padding: 23px 24px; }
.amalgam-photo-explorer .amalgam-photo-number { display: block; color: #d5b780; font-family: var(--serif); font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.amalgam-photo-explorer figcaption h3 { margin: 0; color: #f1e8da; font-size: clamp(26px, 2.2vw, 31px); font-weight: 400; line-height: 1.15; }
.amalgam-photo-explorer .amalgam-photo-detail { margin: 0 24px; border-top: 1px solid #d5b7804d; }
.amalgam-photo-explorer summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 18px 0; list-style: none; cursor: pointer; color: #f1e8da; font-size: 15px; font-weight: 400; line-height: 1.55; }
.amalgam-photo-explorer summary::-webkit-details-marker { display: none; }
.amalgam-photo-explorer summary::marker { content: ''; }
.amalgam-photo-explorer .amalgam-photo-mark { position: relative; flex: 0 0 16px; width: 16px; height: 16px; color: #d5b780; }
.amalgam-photo-explorer .amalgam-photo-mark::before, .amalgam-photo-explorer .amalgam-photo-mark::after { content: ''; position: absolute; background: currentColor; }
.amalgam-photo-explorer .amalgam-photo-mark::before { width: 16px; height: 1px; left: 0; top: 7px; }
.amalgam-photo-explorer .amalgam-photo-mark::after { width: 1px; height: 16px; left: 7px; top: 0; }
.amalgam-photo-explorer details[open] .amalgam-photo-mark::after { display: none; }
.amalgam-photo-explorer .amalgam-photo-answer { padding-bottom: 26px; }
.amalgam-photo-explorer .amalgam-photo-answer p { margin: 0 0 20px; font-size: 14px; line-height: 1.8; }
.amalgam-photo-explorer .amalgam-photo-answer a { display: inline-block; color: #e3c893; font-size: 14px; line-height: 1.65; text-decoration: underline; text-underline-offset: 5px; }
.amalgam-photo-explorer summary:focus-visible, .amalgam-photo-explorer a:focus-visible { outline: 2px solid #e3c893; outline-offset: 5px; }
.amalgam-photo-explorer .amalgam-photo-note { max-width: 92ch; margin-top: 26px; font-size: 13px; line-height: 1.75; }
@media (max-width: 900px) {
  .amalgam-photo-explorer .amalgam-photo-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; gap: 30px; }
}
@media (forced-colors: active) {
  .amalgam-photo-explorer .amalgam-photo-card { border: 1px solid CanvasText; }
  .amalgam-photo-explorer .amalgam-photo-ai-label { background: Canvas; color: CanvasText; }
  .amalgam-photo-explorer .amalgam-photo-mark { color: ButtonText; }
  .amalgam-photo-explorer summary:focus-visible, .amalgam-photo-explorer a:focus-visible { outline-color: Highlight; }
}
