.media-page { padding-block: 56px 72px; }
.media-page .shell { max-width: 1120px; }
.media-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.media-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #047857; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.media-eyebrow img { width: 22px; height: 22px; }
.media-heading h1 { max-width: 16ch; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; text-wrap: balance; }
.media-heading h1 em { color: #008568; font-family: 'Instrument Serif', 'Noto Sans Gujarati', serif; font-weight: 400; }
.media-intro { max-width: 48ch; margin: 18px 0 0; color: #526176; font-size: 16px; line-height: 1.7; }
.media-channel { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px; flex-shrink: 0; border: 1px solid #d8e1da; border-radius: 999px; background: #fff; color: #162c24; font-size: 13px; font-weight: 700; text-decoration: none; }
.media-channel img { width: 21px; height: 21px; }
.media-channel:hover { border-color: #008568; background: #eff8f2; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.video-card { min-width: 0; }
.video-card__play { display: block; position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 22px; background: #112b24; color: #fff; text-decoration: none; isolation: isolate; }
.video-card__play > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #10231e; transition: transform .25s ease; }
.video-card--landscape .video-card__play { aspect-ratio: 16 / 9; }
.video-card__play::after { position: absolute; content: ''; inset: 0; background: linear-gradient(transparent 55%, rgba(5, 18, 14, .5)); pointer-events: none; }
.video-card__play:hover > img { transform: scale(1.025); }
.video-card__badge { position: absolute; z-index: 1; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px; background: rgba(11, 23, 19, .78); color: #fff; font-size: 11px; font-weight: 600; }
.video-card__button { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.96); color: #008568; box-shadow: 0 4px 16px #0002; }
.video-card__button svg { margin-left: 3px; }
.video-card__meta { display: flex; align-items: center; gap: 8px; margin: 15px 0 8px; color: #65746c; font-size: 11px; }
.video-card__meta span { color: #008568; font-weight: 700; }
.video-card h2 { margin: 0; font-family: 'Inter', 'Noto Sans Gujarati', sans-serif; font-size: 15px; font-weight: 650; line-height: 1.6; letter-spacing: -.015em; overflow-wrap: anywhere; }
.video-card h2 a { color: #152d24; text-decoration: none; }
.video-card h2 a:hover { color: #008568; text-decoration: underline; text-underline-offset: 4px; }
.media-page :is(a, button):focus-visible, .media-dialog :is(a, button):focus-visible { outline: 3px solid #008568; outline-offset: 4px; }
.media-channel-bottom { display: flex; justify-content: center; margin-top: 42px; padding-top: 32px; border-top: 1px solid #dce4dc; }
.media-dialog { width: min(440px, calc(100vw - 24px)); max-height: calc(100svh - 24px); margin: auto; padding: 14px; border: 1px solid #ffffff20; border-radius: 24px; background: #0f201b; color: #fff; box-shadow: 0 24px 100px #0007; }
.media-dialog::backdrop { background: rgba(6, 15, 12, .8); backdrop-filter: blur(8px); }
.media-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.media-dialog__bar strong { padding-left: 8px; font-size: 15px; }
.media-dialog__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff30; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.media-dialog__player { height: min(72svh, 640px); min-height: 200px; background: #000; border-radius: 12px; overflow: hidden; }
.media-dialog__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.media-dialog__external { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; color: #d1f6e3; font-size: 12px; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .media-page { padding-block: 32px 48px; }
  .media-heading { display: block; margin-bottom: 28px; }
  .media-heading h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .media-intro { margin-top: 14px; font-size: 15px; }
  .media-heading > .media-channel { margin-top: 22px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .video-card__play { border-radius: 16px; }
  .video-card__badge { top: 9px; left: 9px; padding: 5px 7px; font-size: 10px; }
  .video-card__button { width: 42px; height: 42px; left: 10px; bottom: 10px; }
  .video-card__meta { flex-wrap: wrap; gap: 4px 6px; margin-top: 12px; font-size: 10px; }
  .video-card h2 { font-size: 13px; line-height: 1.55; }
}
@media (prefers-reduced-motion: reduce) {
  .video-card__play > img { transition: none; }
  .video-card__play:hover > img { transform: none; }
}
