/* ====================
   Blog Page Styles - Spuelkraft
   ==================== */

/* Blog Hero Section */
.spk-blog-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #F8F9FA 0%, #E8EAF0 100%);
  position: relative;
}

.spk-blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 14px;
}

.spk-breadcrumb-link {
  color: #666666;
  transition: color 0.3s ease;
}

.spk-breadcrumb-link:hover {
  color: #FF6B35;
}

.spk-breadcrumb-separator {
  color: #999999;
  font-size: 16px;
}

.spk-breadcrumb-current {
  color: #FF6B35;
  font-weight: 600;
}

.spk-blog-hero-content {
  max-width: 800px;
}

.spk-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #FFFFFF;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
}

.spk-blog-hero-badge img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
}

.spk-blog-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.spk-blog-hero-subtitle {
  font-size: 18px;
  color: #666666;
  line-height: 1.6;
  max-width: 700px;
}

/* Blog Main Content */
.spk-blog-main {
  padding: 80px 0;
}

.spk-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Article Cards */
.spk-article-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.spk-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.spk-article-link-wrapper {
  display: block;
  height: 100%;
}

.spk-article-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFE8E0 0%, #FFD4C4 100%);
}

.spk-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.spk-article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spk-article-placeholder img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
  opacity: 0.3;
}

.spk-article-category {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #FF6B35;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.spk-article-category img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
}

.spk-article-content {
  padding: 25px;
}

.spk-article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.spk-article-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999999;
}

.spk-article-date img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(0%) saturate(0%) hue-rotate(180deg);
}

.spk-article-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}

.spk-article-excerpt {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spk-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #E0E0E0;
}

.spk-article-read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
  transition: gap 0.3s ease;
}

.spk-article-card:hover .spk-article-read-more {
  gap: 12px;
}

.spk-article-read-more img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
  transition: transform 0.3s ease;
}

.spk-article-card:hover .spk-article-read-more img {
  transform: translateX(4px);
}

/* Pagination */
.spk-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 80px;
}

.spk-pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  transition: all 0.3s ease;
}

.spk-pagination-btn:hover {
  background: #FF6B35;
  border-color: #FF6B35;
  color: #FFFFFF;
}

.spk-pagination-btn img {
  filter: brightness(0) saturate(100%);
  transition: filter 0.3s ease;
}

.spk-pagination-btn:hover img {
  filter: brightness(0) invert(1);
}

.spk-pagination-prev img {
  transform: rotate(180deg);
}

.spk-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spk-pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  transition: all 0.3s ease;
}

.spk-pagination-number:hover,
.spk-pagination-active {
  background: #FF6B35;
  border-color: #FF6B35;
  color: #FFFFFF;
}

.spk-pagination-ellipsis {
  padding: 0 8px;
  color: #999999;
  font-size: 18px;
}

/* Popular Articles Section */
.spk-blog-popular {
  margin-bottom: 80px;
}

.spk-popular-header {
  text-align: center;
  margin-bottom: 50px;
}

.spk-popular-title {
  font-size: 36px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.spk-popular-subtitle {
  font-size: 18px;
  color: #666666;
}

.spk-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.spk-popular-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  border: 2px solid #E0E0E0;
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.spk-popular-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6B35 0%, #FF8A5C 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.spk-popular-card:hover::before {
  transform: scaleX(1);
}

.spk-popular-card:hover {
  border-color: #FF6B35;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.spk-popular-link {
  display: block;
}

.spk-popular-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.spk-popular-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFE8E0 0%, #FFD4C4 100%);
  border-radius: 12px;
}

.spk-popular-icon img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
}

.spk-popular-badge {
  padding: 4px 12px;
  background: #FF6B35;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

.spk-popular-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.spk-popular-card-meta {
  margin-bottom: 15px;
}

.spk-popular-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999999;
}

.spk-popular-date img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(0%) saturate(0%) hue-rotate(180deg);
}

.spk-popular-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 15px;
  border-top: 1px solid #E0E0E0;
}

.spk-popular-arrow img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
  transition: transform 0.3s ease;
}

.spk-popular-card:hover .spk-popular-arrow img {
  transform: translateX(5px);
}

/* CTA Section */
.spk-blog-cta {
  padding: 60px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.spk-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.spk-cta-shape-1,
.spk-cta-shape-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
  filter: blur(80px);
}

.spk-cta-shape-1 {
  top: -200px;
  right: -100px;
}

.spk-cta-shape-2 {
  bottom: -200px;
  left: -100px;
}

.spk-cta-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.spk-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
}

.spk-cta-badge img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
}

.spk-cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
}

.spk-cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 30px;
}

.spk-cta-features {
  display: grid;
  gap: 15px;
}

.spk-cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
}

.spk-cta-feature img {
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.spk-cta-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.spk-cta-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #F8F9FA;
}

.spk-cta-card-header img {
  filter: invert(55%) sepia(97%) saturate(2815%) hue-rotate(339deg) brightness(103%) contrast(101%);
}

.spk-cta-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #666666;
}

.spk-cta-phone {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.spk-cta-phone:hover {
  color: #FF8A5C;
}

.spk-cta-card-text {
  font-size: 14px;
  color: #999999;
  margin-bottom: 20px;
  text-align: center;
}

.spk-cta-form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.spk-cta-form-btn:hover {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.spk-cta-form-btn img {
  filter: brightness(0) invert(1);
}

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

/* Tablet */
@media (max-width: 1024px) {
  .spk-blog-hero-title {
    font-size: 40px;
  }

  .spk-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .spk-popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spk-cta-content {
    gap: 40px;
  }

  .spk-cta-title {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .spk-blog-hero {
    padding: 120px 0 40px;
  }

  .spk-blog-hero-title {
    font-size: 32px;
  }

  .spk-blog-hero-subtitle {
    font-size: 16px;
  }

  .spk-blog-main {
    padding: 60px 0;
  }

  .spk-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .spk-article-image-wrapper {
    height: 200px;
  }

  .spk-blog-pagination {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 60px;
  }

  .spk-pagination-numbers {
    order: -1;
  }

  .spk-popular-title {
    font-size: 28px;
  }

  .spk-popular-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spk-blog-cta {
    padding: 40px 25px;
  }

  .spk-cta-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .spk-cta-title {
    font-size: 26px;
  }

  .spk-cta-card {
    padding: 30px;
  }

  .spk-cta-phone {
    font-size: 24px;
  }
}

/* Very Small Mobile */
@media (max-width: 375px) {
  .spk-blog-hero {
    padding: 110px 0 30px;
  }

  .spk-blog-hero-title {
    font-size: 28px;
  }

  .spk-blog-main {
    padding: 50px 0;
  }

  .spk-article-content {
    padding: 20px;
  }

  .spk-popular-card {
    padding: 20px;
  }

  .spk-blog-cta {
    padding: 30px 20px;
  }

  .spk-cta-title {
    font-size: 24px;
  }
}
