/* Explore / Discover (Nov 2026 Explore brief). A wider editorial canvas than the Feed. */
:root { --mx-explore-w: 1160px; }
@media (min-width: 1025px) {
  .media-discover__layout.is-explore { --mx-main: var(--mx-explore-w); --mx-right-min: 0px; }
  .media-discover__layout.is-explore > .media-discover__main { max-width: var(--mx-explore-w); width: 100%; }
}
.media-discover__layout.is-explore .media-discover__right { display: none !important; }

.mx-ex { padding: 8px 0 64px; }
.mx-ex__head { margin-bottom: 26px; }
.mx-ex__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #101828; }
.mx-ex__lede { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #667085; }
.mx-ex__chips { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.mx-ex__chips::-webkit-scrollbar { display: none; }
.mx-ex__chip { flex: 0 0 auto; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #F2F4F7; color: #344054; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.mx-ex__chip:hover { background: #EAECF0; color: #101828; }
.mx-ex__chip[aria-current='page'] { background: #0057FF; color: #fff; }
.mx-ex__chip:focus-visible { outline: 2px solid #0057FF; outline-offset: 2px; }

.mx-ex__section { margin-top: 40px; }
.mx-ex__section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mx-ex__h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.25; color: #101828; }
.mx-ex__all { font-size: 14px; font-weight: 600; color: #0057FF; text-decoration: none; white-space: nowrap; }
.mx-ex__all:hover { text-decoration: underline; }
.mx-ex__empty { padding: 48px 0; color: #667085; }

.mx-ex-card { min-width: 0; }
.mx-ex-card__link { display: block; color: inherit; text-decoration: none; }
.mx-ex-card__link:focus-visible { outline: 2px solid #0057FF; outline-offset: 4px; border-radius: 6px; }
.mx-ex-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #F2F4F7; }
.mx-ex-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .18s ease; }
.mx-ex-card__link:hover .mx-ex-card__media img { transform: scale(1.02); }
.mx-ex-card__media.is-text { display: flex; align-items: flex-end; padding: 18px 20px; box-sizing: border-box; background: #F5F7FA; }
.mx-ex-card__text { font-size: 15px; line-height: 1.45; color: #344054; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mx-ex-card__play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 24, 40, .55); color: #fff; }
.mx-ex-card__duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(16, 24, 40, .75); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mx-ex-card__body { display: block; padding-top: 11px; }
.mx-ex-card__meta { display: block; font-size: 12px; line-height: 16px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-ex-card__title { display: -webkit-box; margin-top: 5px; font-size: 15px; font-weight: 600; line-height: 1.38; color: #101828; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-ex__by { display: flex; align-items: center; gap: 3px; margin-top: 6px; font-size: 13px; line-height: 18px; color: #475467; }
.mx-ex__by .media-verified { width: 14px; height: 14px; }

.mx-ex__featured { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; margin-top: 4px; }
.mx-ex__featured-side { display: grid; gap: 18px; align-content: start; }
.mx-ex-card--size-hero .mx-ex-card__title { font-size: 24px; line-height: 1.25; -webkit-line-clamp: 3; letter-spacing: -0.01em; }
.mx-ex-card--size-hero .mx-ex-card__meta { font-size: 13px; }
.mx-ex-card--size-tile .mx-ex-card__link { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 14px; align-items: start; }
.mx-ex-card--size-tile .mx-ex-card__body { padding-top: 0; }
.mx-ex-card--size-tile .mx-ex-card__title { font-size: 15px; -webkit-line-clamp: 3; }
.mx-ex__featured--2 .mx-ex-card--size-tile .mx-ex-card__link { display: block; }
.mx-ex__featured--2 .mx-ex-card--size-tile .mx-ex-card__body { padding-top: 11px; }

.mx-ex__grid { display: grid; gap: 28px 20px; }
.mx-ex__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mx-ex__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mx-ex__shorts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.mx-ex__shorts::-webkit-scrollbar { display: none; }
.mx-ex-card--size-short .mx-ex-card__media { aspect-ratio: 9 / 16; border-radius: 8px; }
.mx-ex-card--size-short .mx-ex-card__title { font-size: 13.5px; }
.mx-ex-card--size-short .mx-ex__by { font-size: 12px; }

.mx-ex__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mx-ex-person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px 16px; border-radius: 10px; background: #F9FAFB; }
.mx-ex-person__open { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; min-width: 0; width: 100%; }
.mx-ex-person__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #EAECF0; margin-bottom: 6px; }
.mx-ex-person__photo.is-org { border-radius: 12px; object-fit: contain; background: #fff; }
.mx-ex-person__photo--initials { display: flex; align-items: center; justify-content: center; font-weight: 600; color: #475467; }
.mx-ex-person__name { display: flex; align-items: center; justify-content: center; gap: 2px; max-width: 100%; font-size: 14px; font-weight: 600; color: #101828; overflow-wrap: anywhere; }
.mx-ex-person__desc { font-size: 12.5px; line-height: 1.35; color: #667085; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-ex-person__follow { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: #0057FF; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.mx-ex-person__follow[aria-pressed='true'] { background: #EAECF0; color: #344054; }

.mx-ex__response-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #0057FF; }

.mx-ex__topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mx-ex-topic { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 14px; overflow: hidden; border-radius: 8px; background: #EEF2F7; color: #101828; text-decoration: none; }
.mx-ex-topic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.mx-ex-topic:not(.is-plain)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 24, 40, .62), rgba(16, 24, 40, 0) 60%); }
.mx-ex-topic__name { position: relative; z-index: 1; font-size: 16px; font-weight: 700; }
.mx-ex-topic:not(.is-plain) .mx-ex-topic__name { color: #fff; }
.mx-ex-topic:hover img { transform: scale(1.03); }

.mx-ex__more { margin-top: 28px; text-align: center; }

@media (max-width: 1280px) { .mx-ex__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .mx-ex__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-ex__topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-ex__featured { grid-template-columns: 1fr; }
  .mx-ex-card--size-tile .mx-ex-card__link { grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .mx-ex { padding-top: 0; }
  .mx-ex__title { font-size: 24px; }
  .mx-ex__section { margin-top: 32px; }
  .mx-ex__h2 { font-size: 19px; }
  .mx-ex__grid--3, .mx-ex__grid--4 { grid-template-columns: 1fr; gap: 24px; }
  .mx-ex__shorts { grid-auto-columns: 42%; }
  .mx-ex__people { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scrollbar-width: none; }
  .mx-ex__topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-ex-card--size-hero .mx-ex-card__title { font-size: 20px; }
  .mx-ex-card--size-tile .mx-ex-card__link { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mx-ex-card__media img, .mx-ex-topic img { transition: none; } }
/* The wider canvas has to beat the social variant's column width. */
@media (min-width: 1025px) { body.media-layout .media-discover__layout.is-explore { --mx-main: var(--mx-explore-w) !important; --mx-right-min: 0px !important; } }

/* Profiles to Follow: room above Follow (JM, 17 Nov). */
.mx-ex .mx-ex-person__follow { margin-top: 12px; }

/* Explore header refinement (Nov 2026): compact header, content higher. */
.mx-ex { padding-top: 0 !important; }
.mx-ex__head { margin-bottom: 24px !important; }
.mx-ex__title { font-weight: 600; }
.mx-ex__lede { margin-top: 8px !important; }
.mx-ex__chips { margin-top: 22px !important; }
@media (max-width: 760px) { .mx-ex__head { margin-bottom: 18px !important; } .mx-ex__title { font-size: 24px; } .mx-ex__lede { font-size: 14px; } .mx-ex__chips { margin-top: 16px !important; } }
