/* =========================================================
   SPRINT 11.4 — SHARED PAGE COMPONENT INTEGRATION
========================================================= */

#archive-component-hero,
#photos-component-hero,
#calls-component-hero {
    margin-bottom: var(--mtv-space-4);
}

#archive-component-metrics,
#photos-component-metrics,
#calls-component-metrics {
    margin-bottom: var(--mtv-space-6);
}

.mtv-component-data-bridge {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.archive-v4 .mtv-hero,
.gallery-page .mtv-hero,
.videocalls-page .mtv-hero {
    min-height: 410px;
}

.archive-v4 .mtv-summary-panel,
.gallery-page .mtv-summary-panel,
.videocalls-page .mtv-summary-panel {
    min-height: 100%;
}

.archive-v4 .mtv-metric-card__value,
.gallery-page .mtv-metric-card__value,
.videocalls-page .mtv-metric-card__value {
    font-family: var(--mtv-font-serif);
}

/* Retire old page-specific hero presentation when legacy selectors remain. */
.archive-v4 .hero-secondary.hero-blog,
.gallery-premium-hero,
.hero-videollamadas {
    display: none !important;
}

/* Keep page content aligned with Dashboard. */
.archive-v4 .content,
.gallery-page .content,
.videocalls-page.mtv-content {
    width: min(calc(100% - 48px), var(--mtv-layout-content-max));
    max-width: var(--mtv-layout-content-max);
    margin-inline: auto;
}

@media (max-width: 980px) {
    .archive-v4 .mtv-hero,
    .gallery-page .mtv-hero,
    .videocalls-page .mtv-hero {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .archive-v4 .content,
    .gallery-page .content,
    .videocalls-page.mtv-content {
        width: min(calc(100% - 24px), var(--mtv-layout-content-max));
    }
}
