/* ===== WEBINARS PAGE STYLES - BLOG STYLE ===== */

/* CSS Variables for Webinars */
:root {
  /* Typography */
  --uc-badge-font-size: clamp(12px, 2.5vw, 14px);
  --uc-title-font-size: clamp(32px, 8vw, 64px);
  --uc-description-font-size: clamp(16px, 3.5vw, 18px);
  --uc-description-line-height: clamp(24px, 4.5vw, 27px);
  
  /* Spacing */
  --uc-badge-padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 24px);
  --uc-button-padding: clamp(16px, 4vw, 18px) clamp(12px, 3vw, 24px);
  --uc-element-gap: clamp(16px, 4vw, 24px);
  --uc-buttons-gap: clamp(10px, 2.5vw, 14px);
  --uc-buttons-margin: clamp(32px, 6vw, 44px);
  --uc-sections-gap: clamp(80px, 15vw, 150px);
  
  /* Colors */
  --uc-text-color: #1F1F1F;
  --uc-button-primary-bg: #1F1F1F;
  --uc-button-primary-color: #FFF;
  --uc-button-outline-color: #1F1F1F;
  --uc-button-outline-bg: transparent;
  
  /* Border Radius */
  --uc-button-radius: 50px;
  --uc-badge-radius: 999px;
  
  /* Font Family */
  --uc-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Blog Card Variables */
  --blog-card-bg: transparent;
  --blog-card-border-radius: 0;
  --blog-card-shadow: none;
  --blog-card-hover-transform: none;
  --blog-card-image-height: 240px;
  --blog-card-image-bg: #f8f8f8;
  --blog-card-image-border-radius: 20px;
  --blog-card-image-hover-scale: 1.02;
  --blog-card-title-font-size: 24px;
  --blog-card-title-line-height: 36px;
  --blog-card-title-color: #1a1a1a;
  --blog-card-title-hover-color: #666666;
  --blog-card-arrow-color: #666666;
  --blog-card-arrow-hover-color: #1a1a1a;
  --blog-card-excerpt-color: #666666;
  --blog-card-excerpt-font-size: 1rem;
  --blog-card-excerpt-line-height: 1.6;
  --blog-card-meta-color: #999999;
  --blog-card-meta-font-size: 0.875rem;
  --blog-card-footer-border: 1px solid #f3f4f6;
  --blog-card-footer-padding: 20px 0 0;
}

.webinars {
  background: #fff;
  color: var(--uc-text-color);
  font-family: var(--uc-font-family);
  overflow: hidden;
}

.uc-container {
  max-width: clamp(320px, 90vw, 1400px);
  margin: 0 auto;
  padding: 0;
}

/* Hero Section */
.uc-hero {
  background: #fff;
  color: var(--uc-text-color);
  padding: 50px 0;
  position: relative;
}

.uc-hero__gradient-left,
.uc-hero__gradient-right {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
}

/* Left large soft gradient (green->purple) */
.uc-hero__gradient-left::before {
  content: "";
  position: absolute;
  width: clamp(200px, 40vw, 511.6px);
  height: 382.58px;
  left: -5%;
  top: -22%;
  border-radius: 50%;
  background: linear-gradient(93deg, #9AFFC9 0%, #A756F3 100%);
  opacity: 1;
  z-index: 0;
}

/* Right smaller gradient behind image (blue->purple range) */
.uc-hero__gradient-right::before {
  content: "";
  position: absolute;
  width: clamp(200px, 40vw, 532.57px);
  height: 299.64px;
  right: -4%;
  bottom: 3%;
  border-radius: 50%;
  background: linear-gradient(90deg, #52B3F3 0%, #8856F3 100%);
  opacity: 1;
  transform: rotate(-155.84deg);
}

.uc-hero .uc-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--uc-sections-gap);
  align-items: center;
    position: relative;
}

.uc-hero__content {
    position: relative;
  z-index: 10;
}

.uc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--uc-badge-padding);
  background: var(--uc-button-outline-bg);
  border: 1px solid var(--uc-text-color);
  border-radius: var(--uc-badge-radius);
  font-size: var(--uc-badge-font-size);
  font-weight: 500;
  color: var(--uc-text-color);
  font-family: var(--uc-font-family);
  margin-bottom: var(--uc-element-gap);
}

.uc-hero__badge-icon {
  font-size: 1rem;
}

.uc-hero__title {
  font-size: var(--uc-title-font-size);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 var(--uc-element-gap);
  color: var(--uc-text-color);
  font-family: var(--uc-font-family);
}

.uc-hero__subtitle {
  font-size: var(--uc-description-font-size);
  color: var(--uc-text-color);
  margin: 0 0 var(--uc-element-gap);
  line-height: var(--uc-description-line-height);
  font-weight: 400;
  font-family: var(--uc-font-family);
}

.uc-hero__visual {
  position: relative;
  display: flex;
  justify-content: end;
    align-items: center;
}

.uc-hero__visual img {
  width: clamp(300px, 45vw, 373px);
  height: clamp(280px, 40vw, 352px);
  object-fit: contain;
  border-radius: 16px;
    position: relative;
  z-index: 2;
}

/* Search Results Header */
.search-results-header {
  padding: 40px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.search-results-header .container {
  text-align: center;
}

.search-results-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.search-results-count {
  font-size: 1.1rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

/* Webinar Cards - Blog Style */
.article-card {
  background: var(--blog-card-bg);
  border-radius: var(--blog-card-border-radius);
  overflow: visible;
  border: none;
    transition: all 0.3s ease;
  box-shadow: var(--blog-card-shadow);
  position: relative;
}

.article-card:hover {
  transform: var(--blog-card-hover-transform);
}

.article-card__img-box {
  position: relative;
  overflow: hidden;
  height: var(--blog-card-image-height);
  background: var(--blog-card-image-bg);
  border-radius: var(--blog-card-image-border-radius);
  margin-bottom: 16px;
  box-shadow: none;
}

.article-card__img-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: var(--blog-card-image-border-radius);
}

.article-card:hover .article-card__img-box::before {
  opacity: 1;
}

.article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  transition: transform 0.2s ease;
}

.article-card:hover .article-card__img {
  transform: scale(var(--blog-card-image-hover-scale));
}

.article-card__content {
  padding: 0;
    display: flex;
    flex-direction: column;
  min-height: auto;
}

.article-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  color: #999999;
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 400;
  font-family: "Roboto";
}

.article-card__date {
  color: #999999;
  font-size: clamp(12px, 2.5vw, 14px);
    font-weight: 400;
  font-family: "Roboto";
}

.article-card__separator {
  color: #999999;
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 400;
  font-family: "Roboto";
}

.article-card__category {
  color: #999999;
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 400;
  font-family: "Roboto";
}


.article-card__title {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 500;
  line-height: clamp(27px, 5vw, 36px);
  color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
  font-family: "Roboto";
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.article-card:hover .article-card__title {
  color: var(--blog-card-title-hover-color);
}

.article-card__arrow {
  flex-shrink: 0;
  color: #666666;
  transition: all 0.2s ease;
}

.article-card:hover .article-card__arrow {
  color: #1a1a1a;
  transform: translate(2px, -2px);
}


.article-card__footer {
    display: flex;
  justify-content: space-between;
    align-items: center;
  padding: var(--blog-card-footer-padding);
  border-top: var(--blog-card-footer-border);
}

.article-card__author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.read-more-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4f46e5;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
    transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.read-more-link:hover {
  color: #4338ca;
  transform: translateX(6px);
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* YouTube Play Overlay */
.youtube-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.youtube-play-overlay::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.article-card:hover .youtube-play-overlay {
  background: rgb(255 255 255 / 90%);
  transform: translate(-50%, -50%) scale(1.1);
}

.article-card:hover .youtube-play-overlay::before {
  border-left-color: #4f46e5;
}


/* Controls Section */
.webinars-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    gap: 24px;
    position: sticky;
    top: 120px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    padding: 24px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 250px;
    padding-right: 250px;
}

.webinars-controls.sticky-active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}


.chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chip {
    display: inline-block;
    color: #1F1F1F !important;
    padding: 8px 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid #e5e5e5;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.chip:hover{
    background: #f0f0f0;
    border-color: #d0d0d0;
    color: white;
    
   
}

.chip.active {
    background: #1f1f1f;
    color: #ffffff!important;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

.chip.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.chip.active:hover::before {
    left: 100%;
}

.webinars-search {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Search icon styles */
.search-icon {
    width: 16px;
    height: 16px;
    color: #6c757d;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #212529;
    padding: 0;
    margin: 0;
}

.search-input::placeholder {
    color: #6c757d;
}


/* No results styles */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-results__content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 16px;
    font-weight: 600;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.6;
}

.no-results a {
    color: #8272FE;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.no-results a:hover {
    color: #6a5cff;
    text-decoration: underline;
}


/* Grid Section - Blog Style */
.webinars-grid {
    padding: 60px 0;
    background: #f8f8f8;
}

.webinars-grid .container {
    max-width: 1400px;
    padding: 0;
}

/* Article List - Blog Style */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: 60px;
    list-style: none;
    padding: 0;
}

/* Article Card - Blog Style */
.article-card {
   
    border-radius: 10px;
    overflow: hidden;
   
    position: relative;
}

.article-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.article-card__link:hover {
  text-decoration: none;
  color: inherit;
}


.article-card__img-box {
    position: relative;
    width: 100%;
    /* height: 200px; */
    overflow: hidden;
    box-shadow: none;
}

.article-card__img-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__img {
    transform: scale(1.05);
}


.article-card__img_icon_default {
    object-fit: contain;
    width: 80%;
    height: 80%;
    margin: 10%;
}


.article-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6c757d;
}

.article-card__author {
    font-weight: 500;
}

.article-card__date {
    color: #6c757d;
}



/* YouTube Play Button Overlay */
.youtube-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover .youtube-play-overlay {
    background: rgb(255 255 255 / 90%);
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-play-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions for filtering */
.article-list {
    transition: opacity 0.3s ease;
}

.chip {
    transition: all 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    
    .webinars-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        top: 120px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 15px 20px;
    }
    
    
    .webinars-search {
        width: 100%;
    }
    
    .webinars-search input[type="search"] {
        min-width: auto;
        flex: 1;
    }
    
    .article-list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: clamp(16px, 4vw, 30px);
    }
    
    .chips {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .article-list {
        grid-template-columns: 1fr;
        gap: clamp(16px, 4vw, 24px);
    }
}

@media (max-width: 600px) {
    .webinars-controls {
        gap: 16px;
        top: 120px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 12px 20px;
    }
}

