body.cmsfc-v3 .cmsfc-videos-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

body.cmsfc-v3 .cmsfc-videos-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

body.cmsfc-v3 .cmsfc-videos-yt-link:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

body.cmsfc-v3 .cmsfc-videos-section {
  padding: clamp(28px, 4vw, 40px) 0 48px;
  display: flow-root;
}

body.cmsfc-v3 .cmsfc-video-featured {
  background: var(--color-surface);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--cmsfc-shadow-card);
}

@media (min-width: 900px) {
  body.cmsfc-v3 .cmsfc-video-featured {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

body.cmsfc-v3 .cmsfc-video-featured__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

body.cmsfc-v3 .cmsfc-video-featured__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.cmsfc-v3 .cmsfc-video-featured__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
}

body.cmsfc-v3 .cmsfc-video-featured__placeholder .ms {
  font-size: 64px;
}

body.cmsfc-v3 .cmsfc-video-featured__body {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

body.cmsfc-v3 .cmsfc-video-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

body.cmsfc-v3 .cmsfc-video-badge {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.cmsfc-v3 .cmsfc-video-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.cmsfc-v3 .cmsfc-video-date .ms {
  font-size: 16px;
}

body.cmsfc-v3 .cmsfc-video-featured__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

body.cmsfc-v3 .cmsfc-video-featured__excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

body.cmsfc-v3 .cmsfc-videos-list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0 16px;
}

body.cmsfc-v3 .cmsfc-archive-results-count {
  font-size: 14.5px;
  color: var(--color-text-muted);
}

body.cmsfc-v3 .cmsfc-videos-list-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--color-primary-dark);
}

body.cmsfc-v3 .cmsfc-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

body.cmsfc-v3 .cmsfc-video-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cmsfc-shadow-card);
}

body.cmsfc-v3 .cmsfc-video-card.is-active {
  box-shadow: 0 0 0 2px var(--color-primary), var(--cmsfc-shadow-card);
}

body.cmsfc-v3 .cmsfc-video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

body.cmsfc-v3 .cmsfc-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.cmsfc-v3 .cmsfc-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 42, 115, 0.25);
}

body.cmsfc-v3 .cmsfc-video-card__play .ms {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

body.cmsfc-v3 .cmsfc-video-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.cmsfc-v3 .cmsfc-video-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

body.cmsfc-v3 .cmsfc-video-card__title a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

body.cmsfc-v3 .cmsfc-video-card__title a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

body.cmsfc-v3 .cmsfc-video-card__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
