/* VoteMotta2028 homepage live media — scoped to vm28 classes */
.vm28-live-section,
.vm28-live-section * { box-sizing: border-box; }

.vm28-live-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #101318;
  padding: 40px 0;
  border-top: 1px solid #dce6f2;
  border-bottom: 1px solid #dce6f2;
}

.vm28-live-wrap {
  width: min(1180px, calc(100% - 28px));
  max-width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.vm28-live-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  min-width: 0;
}

.vm28-live-heading > div:first-child { min-width: 0; }

.vm28-live-kicker,
.vm28-card-label {
  color: #06489f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vm28-live-heading h2 {
  margin: 5px 0 6px;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.vm28-live-heading p {
  margin: 0;
  color: #536071;
  max-width: 820px;
}

.vm28-live-arrows {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.vm28-live-arrows button {
  width: 48px;
  height: 48px;
  border: 2px solid #0757c8;
  border-radius: 50%;
  background: #fff;
  color: #063b87;
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
}

.vm28-link-menu {
  display: flex;
  gap: 9px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.vm28-link-menu a {
  flex: 0 0 auto;
  max-width: min(88vw, 390px);
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid #b7cce7;
  border-radius: 999px;
  background: #f5f9ff;
  color: #063b87;
  padding: 9px 13px;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none;
}

.vm28-glider {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  padding: 3px 2px 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.vm28-media-card {
  flex: 0 0 min(360px, calc(100vw - 46px));
  width: min(360px, calc(100vw - 46px));
  max-width: calc(100vw - 46px);
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-radius: 18px;
  background: #fff;
  padding: 17px;
  box-shadow: 0 9px 26px rgba(7, 54, 120, .08);
}

.vm28-media-card h3 {
  margin: 8px 0;
  font-size: 1.15rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.vm28-media-card p {
  color: #536071;
  overflow-wrap: anywhere;
}

.vm28-feature-card {
  background: linear-gradient(145deg, #ffffff, #f4f9ff);
}

.vm28-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: 8px;
  border-radius: 999px;
  background: #0757c8;
  color: #fff !important;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}

.vm28-x-embed {
  width: 100%;
  max-width: 100%;
  min-height: 180px;
  overflow: hidden;
}

.vm28-x-embed iframe {
  max-width: 100% !important;
}

.vm28-video-launch {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: #050b14;
  padding: 0;
  cursor: pointer;
}

.vm28-video-launch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm28-video-launch span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 3px 12px rgba(0,0,0,.7);
}

.vm28-date {
  margin: 0;
  font-size: .84rem;
}

.vm28-embed-note {
  margin: 4px 0 0;
  color: #667285;
  font-size: .82rem;
}

.vm28-video-modal[hidden] { display: none !important; }

.vm28-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(4, 8, 15, .86);
  padding: 14px;
}

.vm28-video-panel {
  width: min(920px, 100%);
  max-width: 100%;
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
}

.vm28-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
}

.vm28-video-head h2 {
  margin: 0;
  min-width: 0;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.vm28-video-head button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.vm28-video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.vm28-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
iframe,
video,
svg {
  max-width: 100%;
}

@media (max-width: 720px) {
  .vm28-live-section { padding: 28px 0; }
  .vm28-live-wrap { width: min(100% - 20px, 1180px); }
  .vm28-live-heading { align-items: flex-start; }
  .vm28-live-arrows { display: none; }
  .vm28-media-card {
    flex-basis: calc(100vw - 34px);
    width: calc(100vw - 34px);
    max-width: calc(100vw - 34px);
    padding: 15px;
  }
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .vm28-glider { scroll-behavior: auto; }
}
