/**
 * Article Slider Component
 */

/* ====== Article Slider Container ====== */
.article-slider {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.article-slider .container {
  max-width: auto;
  margin: 0 auto;
  padding: 0;
}

/* ====== Section Header ====== */
.article-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.article-slider-title {
    font-size: 40px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.article-slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: underline;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-family: 'Archivo';
}

.article-slider-cta svg {
  transition: transform 0.3s ease;
}

.article-slider-container .swiper-wrapper {
    padding-bottom: 10px !important;
}

/* ====== Article Vertical List (Style 2) ====== */
/* .article-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: max-content;
  margin: 0 auto;
}

.article-vertical-list .blog-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.article-vertical-list .blog-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: #e0e0e0;
}

.article-vertical-list .blog-card-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.article-vertical-list .blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-vertical-list .blog-card-horizontal:hover .blog-card-image img {
  transform: scale(1.05);
}

article-vertical-list .blog-card-image--placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dee2e6;
}

.article-vertical-list .placeholder-content svg {
  opacity: 0.6;
}

.article-vertical-list .blog-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  justify-content: space-between;
}

.article-vertical-list .blog-card-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: #1a1a1a;
}

.article-vertical-list .blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-vertical-list .blog-card-title a:hover {
  color: #7C3AED;
}

.article-vertical-list .blog-card-excerpt {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
} */

/* Mobile Responsive for Vertical List */
@media (max-width: 768px) {
  .article-vertical-list {
    gap: 24px;
    padding: 0;
  }
  
  .article-vertical-list .blog-card-horizontal {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  
  .article-vertical-list .blog-card-image-wrapper {
    width: 100%;
    height: 240px;
  }
  
  .article-vertical-list .blog-card-content {
    min-height: auto;
  }
  
  .article-vertical-list .blog-card-title {
    font-size: 20px;
  }
  
  .article-vertical-list .blog-card-excerpt {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .article-vertical-list .blog-card-horizontal {
    padding: 20px;
  }
  
  .article-vertical-list .blog-card-image-wrapper {
    height: 200px;
  }
  
  .article-vertical-list .blog-card-title {
    font-size: 18px;
  }
}

/* ====== Style 4: Category Tabs ====== */
.article-slider-with-tabs {
  position: relative;
}

.category-tabs-wrapper {
  margin-bottom: 32px;
  padding: 0;
}

.category-tabs {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 5px 0;
}

.category-tab {
  background: #f8f9fa;
  border: none;
  padding: 2px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 24px;
  white-space: nowrap;
  min-height: 25px;
  display: flex;
  align-items: center;
  margin-right: 12px;
  border: 1px solid #e5e7eb;
}

.category-tab:hover {
  color: #374151;
  background: #f3f4f6;
  border-color: #d1d5db;
}

.category-tab.active {
  color: #ffffff;
  font-weight: 600;
  background: #1f2937;
  border-color: #1f2937;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
}

/* Tab Content Animation */
.article-slider--style4 .swiper-slide {
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.article-slider--style4 .swiper-slide.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.article-slider--style4 .swiper-slide.show {
  opacity: 1;
  transform: scale(1);
}

/* Category Tabs Responsive */
@media (max-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
  }
  
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .category-tab {
    font-size: 14px;
    padding: 12px 18px;
    min-height: 48px;
    flex-shrink: 0;
  }
  
  .category-tabs-wrapper {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .category-tab {
    font-size: 13px;
    padding: 10px 16px;
    min-height: 44px;
  }
  
  .category-tabs-wrapper {
    margin-bottom: 24px;
  }
}

/* Style 4 Event Cards - Location and Date Styling */
.article-slider--style4 .article-location {
  display: flex;
  align-items: center;
}

.article-slider--style4 .location-pill {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: white;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-slider--style4 .event-date {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Style 4 specific slider adjustments */
.article-slider--style4 .article-slider-container {
  margin-top: 0;
}

.article-slider--style4 .swiper-navigation {
  margin-top: 10px;
}

.article-slider--style4 .swiper-pagination {
  position: relative;
  margin-top: 32px;
  bottom: auto;
}

/* ====== Swiper Container ====== */
.article-slider-container {
  position: relative;
}

.article-slider-swiper {
  overflow: visible;
  padding: 0;
}

.article-slider-swiper .swiper-wrapper {
  align-items: stretch;
}

.article-slider-swiper .swiper-slide {
  height: auto;
}

/* ====== Article Cards ====== */
.article-card {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.article-slider--style4  .article-card {
  background: #e6e6e6;
}
.article-slider--style4 .article-content{
  background: #e6e6e6;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 70, 193, 0.15);
}

/* ====== Featured Card ====== */
.article-card__featured {
  background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
  color: white;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Special styling for first card (when it's regular, not featured) */
.swiper-slide:first-child .article-card__regular {
  position: relative;
  overflow: hidden;
}

.swiper-slide:first-child .article-card__regular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.swiper-slide:first-child .article-card:hover .article-card__regular::before {
  opacity: 1;
}

.swiper-slide:first-child .article-card:hover .article-separator {
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.4s ease;
}
.article-slider-container .swiper-slide-prev, .article-slider-container .swiper-slide-next {
    opacity: 1 !important;
}
.article-card__featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: opacity 0.4s ease;
  opacity: 0;
}

.article-card__featured:hover::before {
  opacity: 1;
}

.article-card__content {
  padding: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.article-category {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-read-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.article-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px 0;
  color: white;
}

.article-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.article-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ====== Regular Cards ====== */
.article-card__regular {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.article-image {
  position: relative;
  padding: 10px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 15px;
}

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

/* Placeholder for missing images */
.article-image--placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-placeholder {
  color: #6c757d;
  opacity: 0.5;
}

.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
  opacity: 1;
}

.article-content {
  padding: 10px 30px 30px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-card__regular .article-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  flex-grow: 1;
  text-align: center;
}

.article-separator {
  width: 100%;
  height: 1px;
  background: #9e9b9b;
  margin: 20px 0;
}

.article-card__regular .article-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card__regular .article-read-time {
  color: #666;
  font-size: 14px;
}

/* Case Study Link Overlay */
.article-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  text-decoration: none;
}

/* ====== Tag Pills ====== */
.tag-pill {
  display: inline-block;
  background: rgba(107, 70, 193, 0.1);
  color: #6B46C1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-card__featured .tag-pill {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ====== Animated Button Point ====== */
.article-slider .btn-point {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 20;
  width: 70px;
  height: 70px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show btn-point on card hover */
.article-card:hover .btn-point {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .article-slider .btn-point {
    display: block;
    opacity: 1;
    visibility: visible;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 20;
    width: 70px;
    height: 70px;
  }

  .article-slider .btn-point span:nth-child(1) {
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50% 0 0 0;
    transition: bottom 0.7s cubic-bezier(0.785, 0.135, 0.15, 0.86), 
               right 0.7s cubic-bezier(0.785, 0.135, 0.15, 0.86), 
               transform 0.3s;
  }

  .article-slider .btn-point span:nth-child(1)::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 40px;
    height: 40px;
    border-right: 1px solid #fff;
    box-sizing: content-box;
    background: radial-gradient(circle at 0 0, transparent 71%, #fff 70%);
  }

  .article-slider .btn-point span:nth-child(1)::after {
    content: "";
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid #fff;
    box-sizing: content-box;
    background: radial-gradient(circle at 0 0, transparent 71%, #fff 70%);
  }

  .article-slider .btn-point span:nth-child(2) {
    overflow: hidden;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    transform: scale(0);
    transform-origin: right bottom;
    transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }

  .article-slider .btn-point span:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--taevas-blue);
  }

  .article-slider .btn-point span:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: url('/sites/default/files/2025-09/Taevas_White_Down_Arrow_48_48.webp') no-repeat center center;
    background-size: 24px 24px;
    background-position: center center;
  }

  .article-slider .btn-point span {
    --velocity: 0.8;
  }

  .article-card:hover .btn-point span:nth-child(1) {
    bottom: 0;
    right: 0;
    transition: bottom calc(0.7s * var(--velocity)) cubic-bezier(0.785, 0.135, 0.15, 0.86), 
               right calc(0.7s * var(--velocity)) cubic-bezier(0.785, 0.135, 0.15, 0.86), 
               transform 0.3s;
    animation: btn-point-ani calc(1.4s * var(--velocity)) calc(0s * var(--velocity)) both ease-out;
    transform-origin: right bottom;
  }

  .article-card:hover .btn-point span:nth-child(2) {
    overflow: visible;
    transform: scale(1);
    transition: transform calc(0.7s * var(--velocity)) calc(0.05s * var(--velocity)) cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }

  .article-card:hover .btn-point span:nth-child(2)::before {
    animation: btn-point-ani calc(1.35s * var(--velocity)) calc(0.05s * var(--velocity)) both ease-out;
    transform-origin: right bottom;
  }

  .article-card:hover .btn-point span:nth-child(2)::after {
    /* Keep arrow centered, no animation that conflicts with translate */
    transform: translate(-50%, -50%);
  }
}

@keyframes btn-point-ani {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

/* Legacy btn-point styles for featured cards */
.article-slider .btn-point.legacy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-point.legacy-btn:hover {
  background: white;
  color: #6B46C1;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-point.legacy-btn svg {
  transition: transform 0.3s ease;
}

.btn-point.legacy-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ====== Navigation Controls ====== */
.article-slider-navigation {
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 30px;
}

.swiper-navigation {
  display: flex;
  gap: 15px;
}

.article-slider .swiper-button-prev,
.article-slider .swiper-button-next,
.article-slider-prev,
.article-slider-next {
  position: static !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  color: var(--taevas-blue);
  border: 1px solid var(--taevas-blue) !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
}

.article-slider .swiper-button-prev svg,
.article-slider .swiper-button-next svg,
.article-slider-prev svg,
.article-slider-next svg {
  color: #6B46C1;
  transition: color 0.3s ease;
}

.article-slider .swiper-button-prev:hover,
.article-slider .swiper-button-next:hover,
.article-slider-prev:hover,
.article-slider-next:hover {
  background: #6B46C1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(107, 70, 193, 0.3) !important;
}

.article-slider .swiper-button-prev:hover svg,
.article-slider .swiper-button-next:hover svg,
.article-slider-prev:hover svg,
.article-slider-next:hover svg {
  color: white;
}

.swiper-button-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* ====== Pagination Dots ====== */
.article-slider-pagination {
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

.article-slider-pagination .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #E5E5E5 !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
}

.article-slider-pagination .swiper-pagination-bullet-active {
  background: #6B46C1 !important;
  transform: scale(1.3) !important;
}

/* ====== Responsive Design ====== */
@media (max-width: 1200px) {
  .article-slider .container {
    max-width: 960px;
  }
  
  .article-slider-title {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .article-slider {
    padding: 60px 0;
  }
  
  .article-slider-title {
    font-size: 35px;
  }
  
  .article-slider-header {
    gap: 20px;
    align-items: flex-start;
  }
  
  .article-card__content {
    padding: 30px;
  }
  
  .article-content {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .article-slider {
    padding: 0 15px;
  }
  
  .article-slider-title {
    font-size: 1.5rem;
  }
  
  .article-slider-header {
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: space-between !important;
  }
  
  .article-card__featured {
    min-height: 350px;
  }
  
  .article-card__content {
    padding: 24px;
  }
  
  .article-content {
    padding: 20px;
  }
  
  .article-title {
    font-size: 18px;
  }
  
  .article-card__featured .article-title {
    font-size: 20px;
  }
  
  .article-image {
    height: 200px;
  }
  
  .article-slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .article-slider .swiper-button-prev, .article-slider .swiper-button-next, .article-slider-prev, .article-slider-next {
    width: 36px !important;
    height: 36px !important;
  }
  .swiper-navigation {
    order: 2;
  }
  
  .article-slider-pagination {
    order: 1;
  }
}

@media (max-width: 480px) {
  .article-slider-title {
    font-size: 1.35rem;
  }

  .article-slider-cta {
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
  }

  .article-card__content {
    padding: 20px;
  }
  
  .article-content {
    padding: 16px;
  }
  
  .article-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .article-slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .article-slider .swiper-button-prev, .article-slider .swiper-button-next, .article-slider-prev, .article-slider-next {
    width: 36px !important;
    height: 36px !important;
  }

  .article-card__featured .article-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* Featured overlay that appears on hover for regular cards */
.article-card__regular .article-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--taevas-blue);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 5;
  padding: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
}

.article-card__regular:hover .article-featured-overlay {
  opacity: 1;
  transform: translateY(0);
}

.article-featured-overlay .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.article-featured-overlay .article-category {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.article-featured-overlay .article-read-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.article-featured-overlay .article-title {
  color: white;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: left;
}

.article-featured-overlay .article-excerpt {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-featured-overlay .article-bottom {
  margin-top: auto;
}

.article-featured-overlay .tag-pill {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ====== Style 3: All Cards with Background Images ====== */
.article-slider--style3 .swiper-slide {
  height: auto;
}

.article-slider--style3 .article-card {
  height: 400px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Style 3: All cards have background image layout */
.article-slider--style3 .article-card__regular {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-slider--style3 .article-image {
  display: none !important;
}

/* Style 3: Default content overlay for all cards */
.article-slider--style3 .article-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: all 0.3s ease;
}

/* Style 3: Top section with category and read time */
.article-slider--style3 .article-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.article-slider--style3 .article-category-top {
  color: white;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.article-slider--style3 .article-read-time-top {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 400;
}

/* Style 3: Bottom section with title */
.article-slider--style3 .article-bottom-section {
  margin-top: auto;
}

.article-slider--style3 .article-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Style 3: Hide default separator and bottom in favor of new layout */
.article-slider--style3 .article-separator,
.article-slider--style3 .article-bottom {
  display: none;
}

/* Style 3: Hover state with black overlay and description */
.article-slider--style3 .article-card:hover .article-content {
  background: rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease;
}

/* Style 3: Title animation on hover - moves up first */
.article-slider--style3 .article-card:hover .article-title {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

/* Style 3: Bottom section moves up on hover */
.article-slider--style3 .article-card:hover .article-bottom-section {
  transform: translateY(-20px);
  transition: transform 0.3s ease 0.1s;
}

/* Style 3: Description that shows on hover */
.article-slider--style3 .article-description {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  margin: 16px 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-slider--style3 .article-card:hover .article-description {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease 0.2s;
}

/* Style 3: Enhanced hover effects */
.article-slider--style3 .article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Style 3: Hide featured overlay for style 3 */
.article-slider--style3 .article-featured-overlay {
  display: none;
}

/* Style 3: Responsive adjustments */
@media (max-width: 767px) {
  .article-slider--style3 .article-card {
    min-height: 320px;
    height: 320px;
  }
  
  .article-slider--style3 .article-content {
    padding: 20px;
  }
  
  .article-slider--style3 .article-title {
    font-size: 18px;
  }
  
  .article-slider--style3 .article-category-top {
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .article-slider--style3 .article-read-time-top {
    font-size: 12px;
  }
  
  .article-slider--style3 .article-description {
    font-size: 14px;
    margin: 12px 0 16px 0;
  }
}

/* ====== STYLE 2: Horizontal Blog Cards Layout (Like Vertical Blog Cards) ====== */
.article-slider--style2 .article-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: max-content;
  margin: 0 auto;
}

.article-slider--style2 .article-vertical-list .blog-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.article-slider--style2 .article-vertical-list .blog-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: #e0e0e0;
}

/* .article-slider--style2 .swiper-slide {
  height: auto;
}

.article-slider--style2 .article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: stretch;
  min-height: 200px;
  height: 100%;
}

.article-slider--style2 .article-card:hover {
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
} */

/* Style 2: Image Section - Left Side (50% width) */
.article-slider--style2 .blog-card-image-wrapper {
  flex: 0 0 50%;
  display: flex;
}

.article-slider--style2 .blog-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-slider--style2 .blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-slider--style2 .blog-card-horizontal:hover .blog-card-image img {
  transform: scale(1.02);
}

.article-slider--style2 .blog-card-image:hover img {
  transform: scale(1.05);
}

/* Style 2: Placeholder Image */
.article-slider--style2 .blog-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
}

.article-slider--style2 .placeholder-content {
  opacity: 0.8;
}

/* Style 2: Content Section - Right Side (50% width) */
.article-slider--style2 .blog-card-content {
  flex: 0 0 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-slider--style2 .blog-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #1a1a1a;
}

.article-slider--style2 .blog-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-slider--style2 .blog-card-title a:hover {
  color: #7C3AED;
}

/* Style 2: Excerpt */
.article-slider--style2 .blog-card-excerpt {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

/* Style 2: Footer with Read Full Article Button */
.article-slider--style2 .blog-card-footer {
  margin-top: auto;
}

.article-slider--style2 .read-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--taevas-blue);
    color: white;
    padding: 0px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid var(--taevas-blue);
}

.article-slider--style2 .read-full-btn:hover {
    border-bottom-color: var(--taevas-blue);
    color: #ffffff;
    cursor: pointer;
    transform: scale(1.05);
}

.article-slider--style2 .btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.article-slider--style2 .read-full-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Style 2: Hide elements not needed for this style */
.article-slider--style2 .article-featured-overlay,
.article-slider--style2 .btn-point,
.article-slider--style2 .article-image {
  display: none !important;
}

/* Style 2: Responsive Design */
@media (max-width: 1024px) {
  .article-slider--style2 .blog-card-content {
    padding: 24px;
  }
  
  .article-slider--style2 .blog-card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .article-slider{
    padding: 0 15px;
  }
  .article-slider-swiper{
    padding-bottom: 10px !important;
  }
  .article-slider--style2 .article-card {
    flex-direction: column;
    min-height: auto;
  }
  
  .article-slider--style2 .blog-card-image-wrapper {
    flex: 0 0 180px;
  }
  
  .article-slider--style2 .blog-card-content {
    padding: 0 15px;
  }
  
  .article-slider--style2 .blog-card-title {
    font-size: 1.125rem;
    margin: 0;
  }
  
  .article-slider--style2 .blog-card-excerpt {
    font-size: 0.9rem;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .article-slider--style2 .blog-card-image-wrapper {
    flex: 0 0 160px;
  }
  .article-slider-swiper{
    padding-bottom: 10px !important;
  }
  .article-slider--style2 .blog-card-content {
    padding: 0 15px;
  }
}

/* Essential CSS for category filtering */
.swiper-slide.hidden {
  display: none !important;
}

.swiper-slide.show {
  display: block;
}
