/* Dynamic templates use the approved page styles; only missing template hooks. */
.tp-original-header[hidden] { display: none !important; }
.production-editorial-media-consent {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: fit-content; max-width: calc(100% - 32px); height: fit-content;
  padding: 12px 18px; border: 1px solid currentColor; border-radius: 12px;
  background: #fff; color: #172033; font: inherit; cursor: pointer;
}
.production-editorial-media-consent[hidden], iframe[data-media-src][hidden] { display: none !important; }
body.tp-site[data-editorial="portfolio"] .project-story-card,
body.tp-site[data-editorial="portfolio"] .project-list-card,
body.tp-site[data-editorial="portfolio"] .project-metric-card { min-width: 0; }
body.tp-site[data-editorial="portfolio"] .project-gallery img { max-width: 100%; }
