/* ========================================
   Videos page
   Every local font size is explicitly <= 30px.
   ======================================== */

.videos-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(680px, calc(100svh - var(--header-height)));
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 138px);
  color: #fff;
  background-color: #08122e;
  background-image: var(--videos-hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.videos-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 20, .88) 0%,
      rgba(5, 10, 27, .69) 45%,
      rgba(7, 12, 30, .26) 76%,
      rgba(7, 12, 30, .18) 100%
    ),
    linear-gradient(
      to top,
      rgba(5, 9, 24, .70),
      rgba(5, 9, 24, .06) 58%
    );
}

.videos-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 35%,
      rgba(113, 124, 245, .20),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 70%,
      rgba(151, 91, 244, .17),
      transparent 30%
    );
  pointer-events: none;
}

.videos-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.videos-hero-glow-one {
  top: 8%;
  left: -12%;
  width: 420px;
  height: 420px;
  background: rgba(105, 117, 255, .16);
}

.videos-hero-glow-two {
  right: -8%;
  bottom: -24%;
  width: 520px;
  height: 520px;
  background: rgba(135, 77, 246, .15);
}

.videos-hero-inner {
  display: block;
}

.videos-hero-copy {
  max-width: 610px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(7, 13, 34, .58),
      rgba(14, 19, 47, .28)
    );
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .30),
    inset 0 1px rgba(255, 255, 255, .09);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.videos-hero .section-kicker {
  color: #c2c8ff;
  font-size: 12px;
}

.videos-hero h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(27px, 4vw, 30px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.videos-hero-lead {
  max-width: 550px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.72;
}

.videos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.videos-hero .button-dark {
  color: #11182d;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .17);
  font-size: 13px;
}

.videos-hero .button-dark:hover {
  color: #fff;
  background: #717cf5;
}

.videos-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 17px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  font-size: 13px;
  font-weight: 750;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    transform .25s var(--ease);
}

.videos-channel-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.videos-youtube-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.videos-youtube-mark svg {
  width: 24px;
  height: 24px;
  fill: #ff453a;
}

/* ========================================
   Library surface
   ======================================== */

.videos-library {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 130px);
  background:
    radial-gradient(
      circle at 5% 8%,
      rgba(113, 124, 245, .16),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 31%,
      rgba(153, 92, 246, .13),
      transparent 30%
    ),
    radial-gradient(
      circle at 17% 91%,
      rgba(110, 171, 255, .12),
      transparent 30%
    ),
    linear-gradient(180deg, #f3f6ff 0%, #fbfaff 52%, #f6f9ff 100%);
}

.videos-library::before {
  position: absolute;
  z-index: -1;
  top: 240px;
  right: -230px;
  width: 500px;
  height: 500px;
  content: "";
  border-radius: 50%;
  background: rgba(108, 119, 242, .08);
  pointer-events: none;
}

.videos-library-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.videos-library-header .section-kicker {
  font-size: 12px;
}

.videos-library-header h2 {
  margin: 0;
  color: #172039;
  font-size: clamp(25px, 3vw, 30px);
  line-height: 1.18;
}

.videos-library-note {
  max-width: 390px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ========================================
   Glass filter
   ======================================== */

.videos-filter {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: visible;
  margin-bottom: 60px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 27px;
  background:
    radial-gradient(
      circle at 74% -50%,
      rgba(124, 112, 244, .20),
      transparent 48%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .76),
      rgba(245, 247, 255, .52)
    );
  box-shadow:
    0 24px 65px rgba(32, 43, 92, .10),
    inset 0 1px rgba(255, 255, 255, .96);
  backdrop-filter: blur(30px) saturate(155%);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
}

.videos-filter::before {
  position: absolute;
  top: -85px;
  right: 15%;
  width: 280px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: rgba(105, 117, 245, .13);
  filter: blur(40px);
  pointer-events: none;
}

.videos-filter-copy,
.videos-filter-controls {
  position: relative;
  z-index: 1;
}

.videos-filter-copy {
  display: flex;
  min-width: 180px;
  flex-direction: column;
}

.videos-filter-copy strong {
  color: #182033;
  font-size: 14px;
  letter-spacing: -.01em;
}

.videos-filter-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.videos-filter-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.videos-select-field {
  position: relative;
  min-width: 158px;
}

.videos-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-width: 158px;
  height: 44px;
  padding: 0 10px 0 15px;
  color: #26304a;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  outline: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .68),
      rgba(235, 238, 255, .38)
    );
  box-shadow:
    0 10px 28px rgba(29, 40, 87, .08),
    inset 0 1px rgba(255, 255, 255, .90);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s var(--ease);
}

.videos-select-trigger:hover {
  border-color: rgba(113, 124, 245, .40);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .82),
      rgba(234, 237, 255, .48)
    );
  transform: translateY(-1px);
}

.videos-select-trigger:focus-visible,
.videos-select-field.is-open .videos-select-trigger {
  border-color: rgba(113, 124, 245, .58);
  box-shadow:
    0 0 0 4px rgba(113, 124, 245, .10),
    0 18px 38px rgba(29, 40, 87, .12);
}

.videos-select-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(113, 124, 245, .13);
  border-radius: 9px;
  background: rgba(113, 124, 245, .08);
  pointer-events: none;
  transition:
    background .22s ease,
    transform .25s var(--ease);
}

.videos-select-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #626dcc;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.videos-select-field.is-open .videos-select-arrow {
  background: rgba(113, 124, 245, .15);
  transform: rotate(180deg);
}

.videos-select-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 17px;
  background:
    radial-gradient(
      circle at 80% 0,
      rgba(130, 118, 246, .18),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      rgba(250, 251, 255, .86),
      rgba(231, 235, 252, .76)
    );
  box-shadow:
    0 24px 55px rgba(17, 27, 66, .18),
    inset 0 1px rgba(255, 255, 255, .94);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
}

.videos-select-menu[hidden] {
  display: none;
}

.videos-select-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  color: #313a54;
  border: 0;
  border-radius: 11px;
  outline: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  text-align: left;
  transition:
    color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.videos-select-option:hover,
.videos-select-option:focus-visible {
  color: #35409b;
  background: rgba(255, 255, 255, .67);
  transform: translateX(2px);
}

.videos-select-option[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, #6974e2, #7d69e0);
  box-shadow: 0 8px 18px rgba(77, 87, 183, .22);
}

.videos-filter-reset {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 6px 13px;
  color: #626cc5;
  border: 1px solid rgba(113, 124, 245, .20);
  border-radius: 999px;
  background: rgba(113, 124, 245, .075);
  box-shadow: inset 0 1px rgba(255, 255, 255, .70);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s var(--ease);
}

.videos-filter-reset:hover {
  color: #fff;
  border-color: #6570da;
  background: #6570da;
  transform: translateY(-1px);
}

.videos-filter-reset:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(113, 124, 245, .12),
    inset 0 1px rgba(255, 255, 255, .35);
}

/* ========================================
   Month groups and cards
   ======================================== */

.videos-status[hidden],
.videos-empty[hidden],
.videos-error[hidden],
.videos-load-more-wrap[hidden] {
  display: none !important;
}

.videos-month {
  margin-bottom: clamp(66px, 8vw, 96px);
}

.videos-month:last-child {
  margin-bottom: 0;
}

.videos-month-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}

.videos-month-heading::after {
  height: 1px;
  flex: 1;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(113, 124, 245, .31),
      rgba(113, 124, 245, 0)
    );
}

.videos-month-heading h2 {
  margin: 0;
  color: #172039;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
}

.videos-month-count {
  display: inline-grid;
  min-width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  padding-inline: 9px;
  color: #5c67ca;
  border: 1px solid rgba(113, 124, 245, .19);
  border-radius: 999px;
  background: rgba(113, 124, 245, .08);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  border: 1px solid rgba(60, 70, 145, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(38, 45, 95, .11);
  transform: translate3d(0, 0, 0);
  transition:
    opacity .58s var(--ease),
    transform .28s var(--ease),
    box-shadow .28s ease,
    border-color .28s ease;
}

.video-card.is-entering {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.video-card.is-entering.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.video-card:hover {
  border-color: rgba(63, 72, 160, .27);
  box-shadow: 0 18px 40px rgba(38, 45, 95, .16);
  transform: translateY(-3px);
}

.video-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.video-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(
      105deg,
      #101936 20%,
      #26336b 42%,
      #34417d 50%,
      #26336b 58%,
      #101936 80%
    );
  background-size: 230% 100%;
  animation: videos-thumbnail-shimmer 1.7s ease-in-out infinite;
}

.video-card.is-media-ready .video-card-media {
  background: #101936;
  animation: none;
}

.video-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  filter: blur(10px) saturate(.76);
  transform: scale(1.045);
  transition:
    opacity .55s ease,
    filter .65s ease,
    transform .7s var(--ease);
}

.video-card-media img.is-loaded {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.video-card:hover .video-card-media img.is-loaded {
  transform: scale(1.035);
}

.video-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(5, 8, 20, .34), transparent 56%);
  pointer-events: none;
}

.video-card-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: rgba(4, 7, 21, .65);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .30);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: translate(-50%, -50%);
  transition:
    background .3s ease,
    transform .35s var(--ease);
}

.video-card:hover .video-card-play {
  background: rgba(230, 33, 23, .90);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-card-play svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

.video-card-pinned {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(7, 12, 34, .84);
  box-shadow: 0 7px 17px rgba(7, 12, 36, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.video-card-body {
  min-height: 98px;
  padding: 14px 15px 16px;
}

.video-card-date {
  display: block;
  margin-bottom: 7px;
  color: #717cf5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .025em;
}

.video-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #182033;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@keyframes videos-thumbnail-shimmer {
  from {
    background-position: 130% 0;
  }

  to {
    background-position: -130% 0;
  }
}

/* ========================================
   Status and empty states
   ======================================== */

.videos-status,
.videos-empty,
.videos-error {
  text-align: center;
}

.videos-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 260px;
  color: var(--muted);
  font-size: 14px;
}

.videos-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #717cf5;
  box-shadow:
    17px 0 rgba(113, 124, 245, .45),
    -17px 0 rgba(113, 124, 245, .20);
  animation: videos-loading 1.2s ease-in-out infinite alternate;
}

@keyframes videos-loading {
  from {
    opacity: .42;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1.15);
  }
}

.videos-empty,
.videos-error {
  max-width: 620px;
  margin: 65px auto 0;
  padding: 44px 30px;
  border: 1px solid rgba(70, 83, 119, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
}

.videos-empty h2,
.videos-error h2 {
  margin: 0 0 11px;
  font-size: 23px;
}

.videos-empty p,
.videos-error p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.videos-error .button {
  margin-top: 18px;
  font-size: 13px;
}

.videos-load-more-wrap {
  margin-top: 58px;
  text-align: center;
}

.videos-load-more-wrap .button {
  font-size: 13px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1000px) {
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .videos-hero {
    min-height: auto;
    padding-block: 78px 90px;
  }

  .videos-hero-copy {
    max-width: 630px;
  }

  .videos-library-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .videos-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .videos-filter-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .videos-hero {
    padding-block: 64px 76px;
  }

  .videos-hero-copy {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .videos-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .videos-hero-actions .button,
  .videos-channel-link {
    width: 100%;
    justify-content: center;
  }

  .videos-library {
    padding-block: 70px 90px;
  }

  .videos-filter {
    margin-bottom: 48px;
    padding: 16px;
    border-radius: 20px;
  }

  .videos-filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .videos-select-field,
  .videos-select-trigger {
    width: 100%;
    min-width: 0;
  }

  .videos-filter-reset {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .videos-month {
    margin-bottom: 64px;
  }

  .videos-month-heading {
    gap: 10px;
    margin-bottom: 20px;
  }

  .videos-month-heading h2 {
    font-size: 23px;
  }

  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .video-card {
    border-radius: 15px;
  }

  .video-card-media {
    aspect-ratio: 16 / 10;
  }

  .video-card-body {
    min-height: 88px;
    padding: 11px 11px 13px;
  }

  .video-card-date {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .video-card-title {
    font-size: 12px;
    line-height: 1.48;
  }

  .video-card-play {
    width: 42px;
    height: 42px;
  }

  .video-card-play svg {
    width: 20px;
    height: 20px;
  }

  .video-card-pinned {
    top: 7px;
    left: 7px;
    padding: 4px 6px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .videos-grid {
    gap: 9px;
  }

  .video-card-body {
    padding-inline: 9px;
  }

  .video-card-title {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .videos-loading-dot,
  .video-card-media {
    animation: none;
  }

  .video-card,
  .video-card.is-entering,
  .video-card.is-entering.is-visible,
  .video-card-media img,
  .video-card-play,
  .videos-channel-link,
  .videos-select-trigger {
    transition: none;
  }

  .video-card.is-entering,
  .video-card.is-entering.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   Channel strip
   ======================================== */


.videos-channel-strip {
  position: relative;
  z-index: 5;
  margin-bottom: -1px;
  background:
    linear-gradient(
      180deg,
      #eaf0ff 0%,
      #f3f6ff 100%
    );
}




.videos-channel-card {
  display: grid;
  grid-template-columns:
    auto
    minmax(160px, 1fr)
    auto
    auto;
  align-items: center;
  gap: 15px;
  margin-top: -34px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 23px;
  background: rgba(255, 255, 255, .62);
  box-shadow:
    0 24px 60px rgba(37, 45, 105, .14),
    inset 0 1px rgba(255, 255, 255, .96);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}




.videos-channel-avatar {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(64, 75, 144, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 7px 20px rgba(38, 45, 95, .14);
}




.videos-channel-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.38;
}




.videos-channel-copy strong {
  overflow: hidden;
  color: #182033;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}




.videos-channel-copy span {
  color: var(--muted);
  font-size: 12px;
}




.videos-channel-visit,
.videos-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    transform .25s var(--ease);
}




.videos-channel-visit {
  color: #4e59ac;
  border: 1px solid rgba(88, 99, 186, .20);
  background: rgba(255, 255, 255, .56);
}




.videos-channel-visit:hover {
  color: #34409d;
  border-color: rgba(88, 99, 186, .34);
  background: rgba(255, 255, 255, .86);
  transform: translateY(-2px);
}




.videos-subscribe {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 23px rgba(205, 31, 24, .20);
}




.videos-subscribe:hover {
  color: #fff;
  background: #c91912;
  transform: translateY(-2px);
}




.videos-subscribe-play {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid #fff;
}




/* ========================================
   White glass filter overrides
   ======================================== */


.videos-filter {
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .58);
  box-shadow:
    0 24px 65px rgba(32, 43, 92, .10),
    inset 0 1px rgba(255, 255, 255, .98);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
}




.videos-select-field {
  min-width: 174px;
}




.videos-select-trigger {
  min-width: 174px;
  border-color: rgba(255, 255, 255, .94);
  background: rgba(255, 255, 255, .52);
  box-shadow:
    0 10px 28px rgba(29, 40, 87, .07),
    inset 0 1px rgba(255, 255, 255, .98);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  transition:
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .22s var(--ease);
}




.videos-select-trigger:hover {
  border-color: rgba(113, 124, 245, .32);
  background: rgba(255, 255, 255, .78);
}




.videos-select-trigger:focus-visible,
.videos-select-field.is-open
.videos-select-trigger {
  border-color: rgba(113, 124, 245, .50);
  background: rgba(255, 255, 255, .78);
}




.videos-select-arrow {
  background: rgba(255, 255, 255, .48);
  transition:
    background .25s ease,
    transform .32s cubic-bezier(.22, 1, .36, 1);
}




.videos-select-field.is-open
.videos-select-arrow {
  background: rgba(238, 240, 255, .82);
  transform: rotate(180deg);
}




.videos-select-menu {
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .94);
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 25px 60px rgba(17, 27, 66, .17),
    inset 0 1px rgba(255, 255, 255, .98);
  backdrop-filter: blur(32px) saturate(155%);
  -webkit-backdrop-filter: blur(32px) saturate(155%);
  pointer-events: none;
  transform: translateY(-8px) scale(.985);
  transform-origin: top center;
  transition:
    opacity .22s ease,
    visibility 0s linear .22s,
    transform .30s cubic-bezier(.22, 1, .36, 1);
}




.videos-select-field.is-open
.videos-select-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity .22s ease,
    visibility 0s linear 0s,
    transform .30s cubic-bezier(.22, 1, .36, 1);
}




.videos-select-option {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .24);
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .20s cubic-bezier(.22, 1, .36, 1);
}




.videos-select-option
+ .videos-select-option {
  margin-top: 3px;
}




.videos-select-option:hover,
.videos-select-option:focus-visible {
  color: #35409b;
  border-color: rgba(255, 255, 255, .94);
  background: rgba(255, 255, 255, .78);
}




.videos-select-option[aria-selected="true"] {
  color: #414b9e;
  border-color: rgba(113, 124, 245, .18);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .90),
      rgba(231, 234, 255, .70)
    );
  box-shadow: 0 7px 18px rgba(77, 87, 183, .11);
}




.videos-filter-reset {
  background: rgba(255, 255, 255, .46);
}




/* ========================================
   Speaker/date card fields
   ======================================== */


.video-card-body {
  min-height: 102px;
}




.video-card-date {
  display: block;
  margin-top: 8px;
  margin-bottom: 0;
}




.video-card-speaker {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #68718e;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}




@media (max-width: 760px) {
  .videos-channel-card {
    grid-template-columns: auto 1fr auto;
  }




  .videos-channel-visit {
    display: none;
  }
}




@media (max-width: 620px) {
  .videos-channel-card {
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: -25px;
    padding: 16px;
    border-radius: 20px;
  }




  .videos-channel-avatar {
    width: 50px;
    height: 50px;
  }




  .videos-subscribe {
    grid-column: 1 / -1;
    width: 100%;
  }




  .videos-select-field,
  .videos-select-trigger {
    min-width: 0;
  }




  .video-card-date {
    margin-top: 6px;
  }




  .video-card-speaker {
    margin-top: 6px;
    font-size: 9.5px;
  }
}




@media (prefers-reduced-motion: reduce) {
  .videos-select-menu,
  .videos-select-arrow,
  .videos-select-option,
  .videos-channel-visit,
  .videos-subscribe {
    transition: none;
  }
}

