/* Insights & Media: its own sizes and crops only (design\components.md, "Inner-page patterns"). */

/* ---------- #top: the words high at left, the studio loop framed wide below them, set to the right ---------- */
.im-head { padding-block: var(--space-5) var(--section-y); }
.im-head__grid { display: grid; gap: var(--space-4); }
.im-head__copy { max-width: 34rem; }
.im-head h1 { font-size: clamp(2.3rem, 1.3rem + 2.2vw, 3.35rem); text-wrap: balance; }
.im-head__proof { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font: 500 var(--fs-small)/1.4 var(--font-ui); color: var(--c-on-ink-soft); }
.im-head__proof > *::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--c-gold); vertical-align: 0.15em; }
.im-head__frame { aspect-ratio: 16 / 9; box-shadow: var(--shadow-l); }
.im-head__frame > video, .im-head__frame > .kit-first { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.im-head__frame > .stop { top: 14px; right: 14px; }
@media (min-width: 1000px) {
  .im-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
  .im-head__frame { margin-top: var(--space-6); }
}

/* ---------- #watch: the tabs, the featured episode large, then every episode or interview ---------- */
.im-tabs { display: inline-flex; gap: 4px; margin: var(--space-4) 0 var(--space-4); padding: 4px; border-radius: 999px; background: var(--c-paper-alt); border: 1px solid var(--c-line); }
.im-tabs [role="tab"] { min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--c-ink-soft); font: 600 var(--fs-ui)/1 var(--font-ui); cursor: pointer; }
.im-tabs [role="tab"] span { font-weight: 400; }
.im-tabs [role="tab"]:hover { color: var(--c-ink); }
.im-tabs [role="tab"][aria-selected="true"] { background: var(--c-navy-900); color: var(--c-on-ink); box-shadow: var(--shadow-s); }
.im-tabs [role="tab"]:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.im-panel[hidden] { display: none; }
.im-feature { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.im-feature__body { align-content: center; gap: 0.7rem; }
.im-feature__line { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); max-width: 30rem; }
.im-feature__media { position: relative; }
.im-feature__media > .vtile__stop { top: 14px; right: 14px; z-index: 5; }
.im-feature .vtile__btn { left: 24px; top: auto; bottom: 24px; margin: 0; }
@media (min-width: 1000px) {
  .im-feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; }
}
@media (max-width: 899px) { .im-grid .vtile__btn, .im-feature .vtile__btn { left: 16px; top: auto; bottom: 16px; margin: 0; } }
.im-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-4) var(--space-3); }
.im-grid .vtile { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0.9rem; }
.im-grid .vtile:not(.vtile--feature) .vtile__btn { left: 16px; top: auto; bottom: 16px; width: 52px; height: 52px; margin: 0; }
.im-grid .vtile:not(.vtile--feature) .vtile__btn svg { width: 18px; height: 18px; }
.im-grid .vtile__title { font-size: 1.15rem; }
.im-guest { margin-top: var(--space-5); }

/* ---------- #close: the show's own art framed beside the words, on the designed ground ---------- */
.im-close__grid { display: grid; gap: var(--space-5); align-items: center; }
.im-close__art { width: min(100%, 440px); aspect-ratio: 1; justify-self: center; box-shadow: var(--shadow-l); }
.im-close__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-close__copy { color: var(--c-on-ink); }
@media (min-width: 1000px) { .im-close__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; } }
