/* Casa Mana: a compact installation gallery with native progressive disclosure. */
.mallorca-project .casa-technical-details > summary {
  cursor: pointer;
  color: var(--ink, #1a2639);
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 16px;
  border: 1px solid var(--line, #d4ccc0);
}
.mallorca-project .casa-technical-details > summary:focus-visible {
  outline: 2px solid var(--ink, #1a2639);
  outline-offset: 4px;
}
.mallorca-project .casa-technical-details[open] > summary { margin-bottom: 20px; }
@media (min-width: 901px) {
  .mallorca-project .casa-technical-details { display: contents; }
  .mallorca-project .casa-technical-details::details-content { display: contents; }
  .mallorca-project .casa-technical-details > summary { display: none; }
}
@media (max-width: 900px) {
  .mallorca-project .project-story-visual > section { margin-bottom: 36px; }
  .mallorca-project .project-story-visual > section > h2 { margin-bottom: 16px; }
  .mallorca-project .project-story-visual .casa-technical-gallery {
    grid-template-columns: minmax(0, 1fr);
    margin: 24px 0 32px;
    gap: 24px;
  }
  .mallorca-project .casa-technical-gallery > figure,
  .mallorca-project .casa-technical-details > figure {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }
  .mallorca-project .casa-technical-details { grid-column: 1 / -1; min-width: 0; }
  .mallorca-project .casa-technical-details > figure + figure { margin-top: 24px; }
}
