/* Newsletters page styles */

/* Remove container constraints for full-width layout */
body.newsletters #main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
}

/* Hero Section - Enhanced and Elegant */
.newsletters-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  overflow: hidden;
}

.newsletters-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.newsletters-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.newsletters-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin: 0 0 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.newsletters-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletters-hero .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Floating particles */
.newsletters-hero .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.newsletters-hero .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.newsletters-hero .particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; }
.newsletters-hero .particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; }
.newsletters-hero .particle:nth-child(4) { left: 50%; top: 10%; animation-delay: 1s; }
.newsletters-hero .particle:nth-child(5) { left: 60%; top: 80%; animation-delay: 3s; }
.newsletters-hero .particle:nth-child(6) { left: 70%; top: 30%; animation-delay: 5s; }
.newsletters-hero .particle:nth-child(7) { left: 80%; top: 70%; animation-delay: 2.5s; }
.newsletters-hero .particle:nth-child(8) { left: 90%; top: 50%; animation-delay: 4.5s; }
.newsletters-hero .particle:nth-child(9) { left: 15%; top: 90%; animation-delay: 1.5s; }
.newsletters-hero .particle:nth-child(10) { left: 85%; top: 15%; animation-delay: 3.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-40px) translateX(-10px); opacity: 0.3; }
  75% { transform: translateY(-20px) translateX(5px); opacity: 0.6; }
}

/* Main Content */
.newsletters-main {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
  padding: 80px 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Category Section */
.category-section {
  margin-bottom: 100px;
  position: relative;
}

.category-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.category-section:last-child::after {
  display: none;
}

.category-section h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 20px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.category-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.category-description {
  font-size: 19px;
  color: #64748b;
  text-align: center;
  margin: 0 0 50px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* Cards Section */
.cards-section .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.article-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

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

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.article-card:hover .article-image::after {
  opacity: 1;
}

.article-content {
  padding: 28px;
}

.article-meta {
  margin-bottom: 12px;
}

.author-date {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.article-content h3 {
  margin: 0 0 14px 0;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.article-content h3 a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.article-content h3 a:hover {
  color: #667eea;
}

.article-content h3 .arrow {
  color: #667eea;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.article-content h3 a:hover .arrow {
  transform: translateX(4px);
}

.article-excerpt {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.coming-soon {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 18px;
}

/* CTA Banner Styles */
.cta-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  margin: 70px 0;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.cta-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-text h3 {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.cta-action {
  text-align: center;
}

.cta-action .btn {
  background: #ffffff;
  color: #667eea;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-action .btn::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.cta-action .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.cta-action .btn:hover::after {
  transform: translateX(4px);
}

.cta-action small {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 12px;
  font-style: italic;
}

/* Specific CTA Variations */
.cards-cta {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cards-cta .cta-action .btn {
  color: #f5576c;
}

/* Play Your Cards Right Banner (BLOCK A) */
.cards-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin: 50px 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.cards-banner:hover {
  box-shadow: 0 20px 50px rgba(240, 147, 251, 0.15);
  transform: translateY(-2px);
}

.cards-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.cards-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  padding: 50px;
  align-items: center;
}

.cards-text h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 20px;
  line-height: 1.3;
}

.cards-text p {
  font-size: 17px;
  color: #64748b;
  margin: 0 0 28px;
  line-height: 1.7;
}

.cards-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cards-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cards-actions .btn-primary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.cards-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.cards-actions .btn-outline {
  background: transparent;
  color: #f5576c;
  border: 2px solid #f5576c;
}

.cards-actions .btn-outline:hover {
  background: #f5576c;
  color: #ffffff;
}

.cards-meta {
  margin-top: 12px;
}

.cards-meta small {
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
}

.cards-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.cards-banner:hover .cards-visual img {
  transform: scale(1.02);
}

.cards-visual a {
  display: block;
  width: 100%;
}

.cards-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 2px dashed rgba(148, 163, 184, 0.3);
}

.cards-placeholder svg {
  opacity: 0.5;
}

/* See All Button */
.cards-see-all,
.econ-see-all {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: #f5576c;
  border: 2px solid #f5576c;
  position: relative;
  overflow: hidden;
}

.btn-see-all:hover {
  background: #f5576c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 87, 108, 0.3);
}

/* Economic section See All button uses different colors */
.econ-see-all .btn-see-all {
  color: #667eea;
  border: 2px solid #667eea;
}

.econ-see-all .btn-see-all:hover {
  background: #667eea;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-see-all::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-see-all:hover::after {
  transform: translateX(4px);
}

/* Economic Outlook Banner (BLOCK B) */
.econ-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin: 50px 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.econ-banner:hover {
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12);
  transform: translateY(-2px);
}

.econ-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.econ-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  padding: 50px;
  align-items: center;
}

.econ-text h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 20px;
  line-height: 1.3;
}

.econ-text p {
  font-size: 17px;
  color: #64748b;
  margin: 0 0 28px;
  line-height: 1.7;
}

.econ-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.econ-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.econ-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.econ-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.econ-actions .btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.econ-actions .btn-outline:hover {
  background: #667eea;
  color: #ffffff;
}

.econ-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.econ-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.econ-banner:hover .econ-visual img {
  transform: scale(1.02);
}

.econ-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 2px dashed rgba(148, 163, 184, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .newsletters-hero {
    padding: 80px 0 100px;
  }

  .newsletters-hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .newsletters-hero p {
    font-size: 18px;
    padding: 0 20px;
  }

  .newsletters-main {
    padding: 50px 0;
  }

  .category-section {
    margin-bottom: 70px;
  }

  .category-section h2 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .category-description {
    font-size: 17px;
    padding: 0 20px;
  }

  .cards-section .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-banner {
    margin: 50px 0;
    padding: 40px 28px;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cta-text h3 {
    font-size: 24px;
  }

  .cta-text p {
    font-size: 17px;
  }

  .econ-banner {
    margin: 40px 0;
  }

  .cards-banner {
    margin: 40px 0;
  }

  .cards-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }

  .cards-visual {
    order: -1;
  }

  .cards-visual img,
  .cards-placeholder {
    height: 200px;
  }

  .cards-actions {
    flex-direction: column;
  }

  .cards-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .econ-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }

  .econ-visual {
    order: -1;
  }

  .econ-visual img,
  .econ-placeholder {
    height: 200px;
  }

  .econ-actions {
    flex-direction: column;
  }

  .econ-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cards-see-all,
  .econ-see-all {
    margin-top: 30px;
  }

  .btn-see-all {
    width: 100%;
    justify-content: center;
  }
}

/* Newsletters All Page Specific Styles */
/* Remove spacing between header and hero on newsletters-all pages */
body.newsletters-all #main,
body.newsletters-econ-all #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.newsletters-all .newsletters-hero,
body.newsletters-econ-all .newsletters-hero {
  margin-top: 0 !important;
  padding-top: 120px;
  position: relative;
}

body.newsletters-all .newsletters-hero::before,
body.newsletters-econ-all .newsletters-hero::before {
  top: 0;
}

.newsletters-all-main {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
  padding: 80px 0;
}

.newsletters-all-main .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

/* Poker Deck Layout Styles */
.poker-deck-section {
  padding: 60px 0;
}

.poker-deck-section.book-two {
  padding-top: 80px;
  border-top: 2px solid #e2e8f0;
  margin-top: 40px;
}

.deck-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

.poker-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.suit-column {
  display: flex;
  flex-direction: column;
}

.suit-title {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suit-subtitle {
  font-size: 16px;
  color: #3b82f6;
  margin-bottom: 24px;
  font-weight: 500;
}

.suit-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-button {
  display: block;
  padding: 14px 18px;
  background: #e0e7ff;
  border-radius: 8px;
  text-decoration: none;
  color: #1e293b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card-button:hover {
  background: #c7d2fe;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.card-button:active {
  transform: translateY(0);
}

.no-cards {
  color: #94a3b8;
  font-style: italic;
  padding: 20px;
  text-align: center;
}

/* Pagination Styles */
.pagination-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pagination-info {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 500;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #667eea;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  min-width: 100px;
}

.pagination-btn:hover:not(.disabled) {
  background: #667eea;
  color: #ffffff;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #94a3b8;
  background: #f1f5f9;
}

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

.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.pagination-number:hover {
  background: #f8fafc;
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.pagination-number.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  cursor: default;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 768px) {
  .newsletters-all-main {
    padding: 50px 0;
  }

  .newsletters-all-main .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .deck-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .poker-deck-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .suit-title {
    font-size: 24px;
  }

  .suit-subtitle {
    font-size: 15px;
  }

  .card-button {
    font-size: 14px;
    padding: 12px 16px;
  }

  .pagination-wrapper {
    margin-top: 40px;
    padding-top: 30px;
  }

  .pagination-info {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .pagination {
    gap: 6px;
  }

  .pagination-btn {
    padding: 8px 16px;
    font-size: 13px;
    min-width: 90px;
  }

  .pagination-number {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .pagination-numbers {
    margin: 0 4px;
    gap: 3px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .poker-deck-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

