/**
 * E-Edition Landing Page Styles
 */

/* Page Layout */
.eedition-page {
  background: #f8fafc;
}

/* Hero Section */
.eedition-hero {
  background: lab(7.78201% -.0000149012 0);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.eedition-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.eedition-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.eedition-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem;
  line-height: 1.6;
}

.eedition-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #A62C00;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.eedition-subscribe-btn:hover {
  background: #8a2500;
  transform: translateY(-2px);
  color: #fff;
}

.eedition-subscriber-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Container */
.eedition-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Latest Section */
.eedition-latest {
  padding: 3rem 0;
}

.eedition-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1.5rem;
}

/* Edition Grid */
.eedition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Edition Card */
.eedition-card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.eedition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.eedition-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Edition Cover */
.eedition-cover {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  overflow: hidden;
}

.eedition-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.eedition-card:hover .eedition-cover img {
  transform: scale(1.05);
}

.eedition-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
}

/* Cover Overlay */
.eedition-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.eedition-card:hover .eedition-cover-overlay {
  opacity: 1;
}

.eedition-read-btn,
.eedition-subscribe-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #A62C00;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.2s;
}

.eedition-read-btn:hover,
.eedition-subscribe-overlay-btn:hover {
  background: #8a2500;
  transform: scale(1.05);
}

/* .eedition-subscribe-overlay-btn {
  background: #374151;
}

.eedition-subscribe-overlay-btn:hover {
  background: #4b5563;
} */

/* Edition Info */
.eedition-info {
  padding: 1rem;
}

.eedition-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}

.eedition-date {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Empty State */
.eedition-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 0.75rem;
  color: #6b7280;
}

.eedition-empty svg {
  margin-bottom: 1rem;
}

/* CTA Section */
.eedition-cta {
  padding: 3rem 0;
}

.eedition-cta-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

.eedition-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.75rem;
}

.eedition-cta-text {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 0 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eedition-cta-pricing {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.eedition-price-card {
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eedition-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #A62C00;
}

.eedition-price-period {
  font-size: 0.875rem;
  color: #6b7280;
}

.eedition-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #A62C00;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.eedition-cta-btn:hover {
  background: #8a2500;
  transform: translateY(-2px);
  color: #fff;
}

/* Archive Section */
.eedition-archive {
  padding: 3rem 0 4rem;
  background: #fff;
}

.eedition-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.eedition-archive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.eedition-archive-card:hover {
  border-color: #A62C00;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.eedition-archive-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.eedition-archive-link {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  .eedition-hero {
    padding: 3rem 1rem;
  }

  .eedition-hero-title {
    font-size: 1.75rem;
  }

  .eedition-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .eedition-cta-pricing {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .eedition-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .eedition-grid {
    grid-template-columns: 1fr;
  }

  .eedition-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.eedition-pager {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.eedition-pager ul,
.eedition-pager ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.eedition-pager > *:not(style) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.eedition-pager li,
.eedition-pager .pager__item {
  display: inline-flex;
}

.eedition-pager a,
.eedition-pager span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  /* border: 1px solid #e5e7eb; */
  background: #f8fafc;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

.eedition-pager a:hover {
  background: #f9fafb;
}

.eedition-pager .is-active a,
.eedition-pager .pager__item--active a,
.eedition-pager .pager__item.is-active a,
.eedition-pager .pager__item--active > span {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.eedition-pager .pager__item--first a,
.eedition-pager .pager__item--last a,
.eedition-pager .pager__item--previous a,
.eedition-pager .pager__item--next a {
  color: #374151;
}

.eedition-pager .pager__item--first,
.eedition-pager .pager__item--last {
  display: none;
}


/* Show only Previous, Next, and the single active page number */
.eedition-pager .pager__item {
  display: none !important;
}
.eedition-pager .pager__item.pager__item--previous,
.eedition-pager .pager__item.pager__item--next,
.eedition-pager .pager__item.is-active,
.eedition-pager .pager__item--active {
  display: inline-flex !important;
}

/* Keep ellipsis, first, and last hidden (optional) */
.eedition-pager .pager__item--ellipsis,
.eedition-pager .pager__item--first,
.eedition-pager .pager__item--last {
  display: none !important;
}

/* Keep active styling intact */
.eedition-pager .is-active a,
.eedition-pager .pager__item--active a,
.eedition-pager .pager__item.is-active a,
.eedition-pager .pager__item--active > span {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}