/**
 * Featured Blog Slider CSS - Exact Gynger Blog Design
 */
.header>.container{
  max-width: 100%;
}
.section_hero-carousel {
    padding-top: 3rem;
    position: relative;
    overflow: hidden;
}
.padding-global {
    z-index: 8;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}
.container-large {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}
/* Container and Layout */
.featured-blog-slider {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

/* Hero Carousel Wrap */
.hero-carousel_wrap {
  grid-column-gap: 2.5rem;
  grid-row-gap: 1.5rem;
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

/* Hero Carousel Slider */
.hero-carousel_slider {
  width: 100%;
}
.hero-carousel_slider .swiper-wrapper {
  padding-bottom: 0px;
}
.swiper-wrapper {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    display: flex;
}
.swiper-slide.is-hero-carousel {
    flex: 1;
    align-self: stretch;
    min-width: 100%;
}
.swiper-slide {
    flex: none;
    transition: filter .4s, opacity .4s;
}

/* Hero Carousel Slide */
.hero-carousel_slide {
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    background-color: #fff;
    border-radius: 1.5rem;
    height: 100%;
    padding: 1.5rem;
    display: flex;
}

.hero-carousel_slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Slide Content */
.hero-carousel_slide-content {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    background-color: #f7fafa;
    text-align: left;
    border-radius: .625rem;
    flex: 1;
    justify-content: space-between;
    align-items: stretch;
    padding: 2.5rem;
}

.w-layout-vflex {
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}

/* Slide Meta */
.margin-bottom {
    margin-top: 0rem !important;
    margin-right: 0rem !important;
    margin-left: 0rem !important;
}

.margin-24 {
    margin: 1.5rem;
}

.hero-carousel_slide-meta {
    justify-content: space-between;
    width: 100%;
    display: flex;
}

/* Product Pill */
.product-pill {
    grid-column-gap: .25em;
    grid-row-gap: .25em;
    background-color: #5519E6;
    color: #ffffff;
    border-radius: 3.2rem;
    justify-content: center;
    align-items: center;
    padding: .25em .5em .25em 1rem;
    display: flex;
    padding-right: 1em;
}

.product-pill.is-simple.is-purple {
    background-color: #A046F0;
    color: #fff;
}

.text-size-tiny {
    font-size: .875rem;
    line-height: 1.4;
}

.text-weight-medium {
  font-weight: 500;
}

/* Blog Tag */
.blog-tag {
  background-color: #f2f2f2;
  color: #000;
    letter-spacing: .02em;
    text-transform: uppercase;
    justify-content: flex-start;
    align-items: center;
    height: 1.5rem;
    padding: .1rem .5rem;
    font-size: .875rem;
    display: inline-flex
;
}

/* Heading Style */
.heading-style-h5 {
  letter-spacing: -.02em;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Blog Card Meta */
.blog-card_meta {
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    display: flex;
}

.blog-card_author {
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.blog-card_avatar {
    border-radius: 50%;
    width: 2.5rem;
}

.blog-card_avatar-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Slide Visual */
.hero-carousel_slide-visual {
    border-radius: .5rem;
    flex: 1;
    height: 21.25rem;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.img-cover {
  object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0%;
}

/* Swiper Navigation */
.swiper-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px auto;
}

.swiper-pagination-bullets {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.swiper-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.swiper-dot:hover {
  background: #9ca3af;
  transform: scale(1.1);
}

.swiper-dot.is-active {
  background: #5519E6;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container-large {
    padding: 0 16px;
  }
  
  .heading-style-h3 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .hero-carousel_slide {
    height: 350px;
  }
  
  .hero-carousel_slide-content {
    padding: 32px;
  }
  
  .hero-carousel_slide-visual {
    flex: 0 0 250px;
  }
}

@media (max-width: 768px) {
  .featured-blog-slider {
    padding: 0;
  }

  .section_hero-carousel {
    padding-top: 1rem;
  }

  .heading-style-h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }
  
  .hero-carousel_slide {
      flex-flow: column;
  }
  
  .hero-carousel_slide-content {
      grid-column-gap: 1.25rem;
      grid-row-gap: 1.25rem;
      background-color: var(--transparent);
      padding: 0;
  }
  .hero-carousel_slide-visual {
      aspect-ratio: 306 / 170;
      flex: 0 auto;
      order: -1;
      height: auto;
      min-height: auto;
  }
  .heading-style-h5 {
    font-size: 1.25rem;
  }
  
  .hero-carousel_slide-meta {
      grid-column-gap: .8rem;
      grid-row-gap: .8rem;
      flex-flow: wrap;
      align-items: center;
  }
  
  .blog-card_meta {
      flex-flow: wrap;
  }
}

@media (max-width: 480px) {
  .container-large {
    padding: 0 12px;
  }
  
  .heading-style-h3 {
    font-size: 1.5rem;
  }
  
  .hero-carousel_slide-content {
    padding: 20px;
  }
  
  .hero-carousel_slide-visual {
    height: 150px;
  }
  
  .heading-style-h5 {
    font-size: 1.125rem;
  }
}

/* Animation Classes */
.swiper-slide {
  transition: all 0.3s ease;
}

.swiper-slide-active {
  transform: scale(1.02);
}

.swiper-slide-prev,
.swiper-slide-next {
  opacity: 0.7;
}

/* Loading State */
.hero-carousel_slider.loading {
  opacity: 0.7;
  pointer-events: none;
}

.hero-carousel_slider.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #10b981;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Accessibility */
.swiper-notification {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Focus States */
.hero-carousel_slide:focus,
.swiper-dot:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero-carousel_slide {
    border: 2px solid #000;
  }
  
  .product-pill.is-simple.is-green {
    background: #000;
    color: #fff;
  }
  
  .swiper-dot.is-active {
    background: #000;
  }
}