.lectures-section__header {

    flex-direction: column;
    align-items: start;
}
/* ========================================
   Videos Grid
   ======================================== */
.videos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.videos-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}


@media (min-width: 1024px) {
  .pagevideo .category-hero__content h2 {
      width: 100%;
      max-width: 33.5625rem !important;
      flex: 0 0 100%;
      display: flex;
      align-items: center;
  }
  .category-hero .container {
      -ms-grid-columns: calc(100%/3) 1fr;
      grid-template-columns: calc(100% / 2) 1fr;
      gap: .625rem;
  }
}
@media (max-width: 600px) {
	.videos-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
.site-navigation__select .custom-combobox-toggle {
    top: 63%;
}
.tags-scroll-btn svg{
    transform: rotate(180deg);
}
/* ========================================
   Video Card
   ======================================== */
.video-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	/* background: #1a1a1a; */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pagevideo .category-list__tags:not(:last-child){
  margin-bottom: unset;
}
.video-card:hover {
	transform: translateY(-4px);
	/* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); */
}

/* ========================================
   Card Media (clickable link)
   ======================================== */
.video-card__media {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border-radius: 40px;
}

.video-card__media img,
.video-card__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.video-card:hover .video-card__media img,
.video-card:hover .video-card__media video {
	transform: scale(1.05);
}

.video-card__media picture {
	display: contents;
}

/* ========================================
   Overlay
   ======================================== */
.video-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 33px;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0) 30%,
		rgba(0, 0, 0, 0) 50%,
		rgba(0, 0, 0, 0.65) 100%
	);
	pointer-events: none;
}

/* Top: play + watch */
.video-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.video-card__play {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.video-card:hover .video-card__play {
	transform: scale(1.1);
}

.video-card__play svg {
	width: 35px;
	height: 35px;
}

.video-card__watch {
	display: inline-flex;
	align-items: center;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

/* Bottom: title + speaker */
.video-card__bottom {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.video-card__title {
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__speaker {
	font-size: 18px;
	font-weight: 700;
	color: white;
}

/* ========================================
   Tags (below image)
   ======================================== */
.video-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 16px 16px;
}

.video-card__tags .tag-item {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 24px;
	/* border: 1px solid rgba(255, 255, 255, 0.25); */
	background: transparent;
	color: white;
	font-size: 1rem;
	font-weight: 400;
	white-space: nowrap;
	transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	border-radius: 40px;
	background: rgba(51, 51, 51, 0.70);
	height: 40px;
}

.video-card:hover .video-card__tags .tag-item {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

/* ========================================
   Category Tags - Scrollable Wrapper
   ======================================== */
.pagevideo .category-list__tags-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 32px;
}

.pagevideo .category-list__tags {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 0;
	flex: 1;
	min-width: 0;
}

.pagevideo .category-list__tags::-webkit-scrollbar {
	display: none;
}

/* Scroll arrow buttons */
.tags-scroll-btn {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
	padding: 0;
	z-index: 2;
}

.tags-scroll-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.5);
}

.tags-scroll-btn.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.tags-scroll-btn svg {
	width: 8px;
	height: 14px;
}

/* Tag items */
.pagevideo .category-list__tags .tag-item {
	display: inline-flex;
	align-items: center;
	padding: 8px 20px;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #ccc;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	outline: none;
	flex-shrink: 0;
}

.pagevideo .category-list__tags .tag-item:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.pagevideo .category-list__tags .tag-item.active {
	background: #fff;
	color: #1a1a1a;
	border-color: #fff;
	font-weight: 600;
}

/* ========================================
   No Results
   ======================================== */
.videos-no-results {
	padding: 60px 20px;
	text-align: center;
}

.videos-no-results p {
	font-size: 18px;
	color: #888;
}

/* ========================================
   Mobile
   ======================================== */
@media (max-width: 600px) {
	.video-card__media {
		aspect-ratio: 3 / 4;
	}

	.video-card__title {
		font-size: 20px;
	}

	.video-card__speaker {
		font-size: 15px;
	}

	.video-card__overlay {
		padding: 14px;
	}

	.video-card__tags {
		justify-content: center;
	}

	.video-card__play svg {
		width: 40px;
		height: 40px;
	}

	.tags-scroll-btn {
		display: none;
	}
}
/* ========================================
   Single Video Page
   ======================================== */

.single-video-page .category-hero .container {
    display: block;
}

/* ========================================
   Video Player
   ======================================== */
.single-video {
    padding: 40px 0 60px;
}

#single-video .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    /* max-width: unset; */
    padding: unset;
}

.single-video__player {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
    background: #111;
}

.single-video__player video,
.single-video__player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.single-video__player picture {
    display: contents;
}

/* ========================================
   Video Info
   ======================================== */
.single-video__info {
    display: flex;
    flex-direction: column;
    /* gap: 16px; */
}

.single-video__title {
    font-size: 39px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    /* margin-bottom: 10px; */
}

.single-video__subtitle {
    font-size: 23px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ========================================
   Meta (Speaker, Tags, Date)
   ======================================== */
.single-video__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.single-video__speaker {
    font-size: 18px;
    color: #fff;
}

.single-video__speaker strong {
    font-weight: 700;
}

.single-video__date {
    font-size: 15px;
    color: #999;
}

.single-video__tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-video__tags .tag-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 40px;
    background: rgba(51, 51, 51, 0.7);
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    height: 40px;
    transition: background 0.3s ease;
}

.single-video__tags .tag-item:hover {
    background: rgba(51, 51, 51, 0.9);
}

/* ========================================
   Content Area
   ======================================== */
.single-video__content {
    font-size: 16px;
    line-height: 1.7;
    color: #ccc;
    margin-top: 8px;
}

.single-video__content p {
    margin: 0 0 12px;
}

.single-video__content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Related Videos
   ======================================== */
.related-videos {
    padding: 40px 0 60px;
}

.related-videos__heading {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px;
}

/* ========================================
   Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .single-video .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-video__player {
        aspect-ratio: 16 / 9;
    }

    .single-video__title {
        font-size: 28px;
    }
}

/* ========================================
   Mobile (max-width: 600px)
   ======================================== */
@media (max-width: 600px) {
    .single-video {
        padding: 24px 0 40px;
    }

    .single-video .container {
        gap: 24px;
    }

    .single-video__player {
        border-radius: 16px;
        aspect-ratio: 16 / 9;
    }

    .single-video__player video,
    .single-video__player img {
        border-radius: 16px;
    }

    .single-video__title {
        font-size: 24px;
    }

    .single-video__subtitle {
        font-size: 16px;
    }

    .single-video__speaker {
        font-size: 16px;
    }

    .related-videos {
        padding: 30px 0 40px;
    }

    .related-videos__heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
}
@media (max-width: 600px) {
    .d-none-mobile { display: none !important; }
}
@media (min-width: 601px) {
    .d-none-desktop { display: none !important; }
}
.single-video__description {
    font-size: 16px;
    line-height: 1.7;
    color: white;
    width: 81%;
}

.single-video__description p {
    margin: 0 0 12px;
}

.single-video__description p:last-child {
    margin-bottom: 0;
}
/* ========================================
   Play Button on Preview
   ======================================== */
.single-video__player {
    position: relative;
    cursor: default;
}

.single-video__player.has-video {
    cursor: pointer;
}

.single-video__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.single-video__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
}

.single-video__play-btn svg {
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* ========================================
   Video Lightbox
   ======================================== */
.video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.video-lightbox.is-open {
    display: flex;
}

.video-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.video-lightbox__wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 960px;
}

.video-lightbox__close {
    position: absolute;
    top: -44px;
    left: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-lightbox__close:hover {
    opacity: 1;
}

.video-lightbox__video {
    width: 100%;
    border-radius: 16px;
    background: #000;
    max-height: 80vh;
}

/* Prevent body scroll when lightbox open */
body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .single-video__play-btn svg {
        width: 52px;
        height: 52px;
    }

    .video-lightbox__wrapper {
        width: 95%;
    }

    .video-lightbox__video {
        border-radius: 10px;
    }

    .video-lightbox__close {
        top: -40px;
    }
}
/* ========================================
   Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    #single-video .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-video__player {
        aspect-ratio: 16 / 9;
    }

    .single-video__title {
        font-size: 28px;
    }
}

/* ========================================
   Mobile (max-width: 600px)
   ======================================== */
@media (max-width: 600px) {
    #single-video {
        padding: 24px 10px 40px;
    }

    #single-video .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Video on top, info below */
    .single-video__player {
        order: -1;
        border-radius: 16px;
        aspect-ratio: 16 / 9;
    }

    .single-video__player video,
    .single-video__player img {
        border-radius: 16px;
    }

    .single-video__info {
        order: 1;
    }

    .single-video__title {
        font-size: 24px;
    }

    .single-video__subtitle {
        font-size: 18px;
    }

    .single-video__speaker {
        font-size: 16px;
    }

    .single-video__description {
        width: 100%;
    }

    .related-videos {
        padding: 30px 0 40px;
    }

    .related-videos__heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
}
.category-list__section h2 {
    font-size: 2.125rem;
}

.category-list__section-header {
    margin-bottom: 1rem;
}

.category-list__section-header p {font-size: 1rem;}

.category-list__section {
    margin-bottom: 3rem;
}
.category-hero__media {
  display: block;
  width: 447px;
  margin-right: auto;
  height: 499px;
  overflow: hidden;
  clip-path: polygon(95.013% 0,5.131% 0,5.131% 0,4.327% .069%,3.564% .269%,2.851% .588%,2.2% 1.016%,1.621% 1.541%,1.123% 2.153%,.719% 2.841%,.416% 3.593%,.228% 4.399%,.162% 5.247%,.162% 49.569%,.162% 49.569%,.228% 50.422%,.416% 51.231%,.719% 51.984%,1.123% 52.672%,1.621% 53.282%,2.2% 53.806%,2.851% 54.232%,3.564% 54.549%,4.327% 54.748%,5.131% 54.816%,26.922% 54.816%,26.922% 54.816%,27.73% 54.885%,28.496% 55.085%,29.21% 55.404%,29.861% 55.832%,30.439% 56.357%,30.935% 56.969%,31.338% 57.657%,31.638% 58.409%,31.826% 59.215%,31.891% 60.063%,31.891% 94.753%,31.891% 94.753%,31.956% 95.606%,32.145% 96.415%,32.447% 97.168%,32.853% 97.855%,33.352% 98.466%,33.933% 98.99%,34.586% 99.416%,35.302% 99.733%,36.069% 99.932%,36.878% 100%,36.878% 100%,47.115% 99.128%,56.827% 96.604%,65.883% 92.565%,74.154% 87.147%,81.51% 80.489%,87.819% 72.727%,92.953% 63.999%,96.781% 54.442%,99.174% 44.192%,100% 33.388%,100% 5.247%,100% 5.247%,99.935% 4.394%,99.746% 3.585%,99.443% 2.832%,99.038% 2.145%,98.539% 1.534%,97.958% 1.01%,97.305% .584%,96.589% .267%,95.822% .068%,95.013% 0);
}

.category-hero__media img,
.category-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .category-list__section h2 {
    font-size: 1.8rem;
}
  .category-hero__media {
    width: 280px;
    height: 312px;
    margin: 0 auto;
    margin-top: 2rem;
  }
}
.naas .category-hero__content h2{
    max-width: unset;
}
.naas    .category-hero__content h1 {
        width: 100%;
        max-width: unset;
    }
.naas  .site-navigation{
  display: none;
}
/* Hero media - desktop */
.category-hero__media {
  display: block;
  width: 447px;
  height: 499px;
  overflow: hidden;
  clip-path: polygon(95.013% 0,5.131% 0,5.131% 0,4.327% .069%,3.564% .269%,2.851% .588%,2.2% 1.016%,1.621% 1.541%,1.123% 2.153%,.719% 2.841%,.416% 3.593%,.228% 4.399%,.162% 5.247%,.162% 49.569%,.162% 49.569%,.228% 50.422%,.416% 51.231%,.719% 51.984%,1.123% 52.672%,1.621% 53.282%,2.2% 53.806%,2.851% 54.232%,3.564% 54.549%,4.327% 54.748%,5.131% 54.816%,26.922% 54.816%,26.922% 54.816%,27.73% 54.885%,28.496% 55.085%,29.21% 55.404%,29.861% 55.832%,30.439% 56.357%,30.935% 56.969%,31.338% 57.657%,31.638% 58.409%,31.826% 59.215%,31.891% 60.063%,31.891% 94.753%,31.891% 94.753%,31.956% 95.606%,32.145% 96.415%,32.447% 97.168%,32.853% 97.855%,33.352% 98.466%,33.933% 98.99%,34.586% 99.416%,35.302% 99.733%,36.069% 99.932%,36.878% 100%,36.878% 100%,47.115% 99.128%,56.827% 96.604%,65.883% 92.565%,74.154% 87.147%,81.51% 80.489%,87.819% 72.727%,92.953% 63.999%,96.781% 54.442%,99.174% 44.192%,100% 33.388%,100% 5.247%,100% 5.247%,99.935% 4.394%,99.746% 3.585%,99.443% 2.832%,99.038% 2.145%,98.539% 1.534%,97.958% 1.01%,97.305% .584%,96.589% .267%,95.822% .068%,95.013% 0);
}

.category-hero__media img,
.category-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero media - mobile */
@media (max-width: 767px) {
  #category-list .swiper-wrapper{
    padding-bottom: 3rem;
  }
  .category-list__section{
        padding-right: 2.5rem;
  }
  .bas  .category-list .container {
    width: 100%;
    padding-inline: unset !important;
}
}
  .category-hero__media {
    width: 400px;
    height: 474px;
    margin: 0 auto;
  }
}

/* Mobile speakers slider */
.category-list__slider {
  overflow: hidden;
}

.category-list__slider .swiper-slide {
  width: auto;
}

.category-list__slider .speakers-mobile-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.category-list__slider .speakers-mobile-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 1;
  transition: background 0.3s;
}

.category-list__slider .speakers-mobile-pagination .swiper-pagination-bullet-active {
  background: #fff;
}
.category-hero__row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  /* margin-bottom: 16px; */
}

.category-hero__row-content {
  flex: 1;
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
}

.category-hero__tag {
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 12px;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 90px;
  flex-shrink: 0;
}

.stat-badge__number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.stat-badge__label {
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 767px) {
    .naas .category-hero__media{
    display: none;
  }
  .category-hero__row {
    gap: 16px;
  }

  .stat-badge {
    min-width: 70px;
    padding: 12px 16px;
  }

  .stat-badge__number {
    font-size: 24px;
  }
}
.stat-badge.a2 {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
}
.stat-badge.a1 {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
}
.category-hero__tag {
    display: inline-block;
    background: #2a2a2a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 12px;
    border-radius: 5px;
    background: #595959;
}
