/* Reset and Base Styles 445 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #eff6ff 100%);
  color: #0f172a;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 1.5rem;
  width: 1.5rem;
  background: linear-gradient(135deg, #16a34a 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #16a34a, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}

.logo-svg {
  height: 2.5rem;
  width: auto;
  max-width: 200px;
  display: block;
  vertical-align: middle;
}

.subscribe-btn-container {
  display: none;
}

.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to right, #fff7ed, #fef2f2);
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.subscribe-btn:hover {
  background: linear-gradient(to right, #ffedd5, #fee2e2);
  border-color: #fb923c;
}

.bell-icon {
  height: 0.75rem;
  width: 0.75rem;
}

.search-container {
  flex: 1;
  max-width: 20rem;
  margin: 0 1rem;
}

.search-wrapper {
  position: relative;
  transition: all 0.2s;
}

.search-icon {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  height: 0.875rem;
  width: 0.875rem;
  color: #94a3b8;
}

.search-input {
  width: 100%;
  padding: 0.375rem 0.5rem 0.375rem 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #22c55e;
  background: white;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.search-input:hover {
  background: white;
  border-color: #cbd5e1;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 50;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  margin-top: 0.25rem;
}

.search-result-item {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
  background-color: #f8fafc;
}

.search-result-name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.search-no-results {
  padding: 0.75rem 1rem;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
  font-style: italic;
}

.country-selector {
  position: relative;
  flex-shrink: 0;
}

.country-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.country-btn:hover {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.flag {
  font-size: 1rem;
}

.country-name {
  color: #374151;
}

.chevron-down {
  height: 0.75rem;
  width: 0.75rem;
  color: #6b7280;
}

.country-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  z-index: 60;
  display: none;
  overflow: hidden;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #374151;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background-color: #f9fafb;
}

.country-option.active {
  background-color: #ecfdf5;
  color: #16a34a;
  font-weight: 500;
}

.country-option.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

.country-option.coming-soon:hover {
  background-color: transparent;
}

.coming-soon-badge {
  margin-left: auto;
  padding: 0.125rem 0.5rem;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

/* Category Navigation */
.category-nav {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 3.5rem;
  z-index: 40;
  transition: transform 0.3s ease-in-out;
}

.category-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 500;
}

.category-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.category-btn.active {
  background: linear-gradient(to right, #16a34a, #14b8a6);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-icon {
  height: 0.875rem;
  width: 0.875rem;
}

/* Main Content */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #0f172a, #166534, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.125rem;
  color: #475569;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Sections */
.category-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.category-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  height: 1.5rem;
  width: 1.5rem;
  color: #16a34a;
}

.section-title h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f172a;
}

.publication-count {
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid;
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.more-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: #16a34a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s;
  text-decoration: none;
}

.more-btn:hover {
  color: #166534;
  background: #ecfdf5;
}

.arrow-right {
  height: 1rem;
  width: 1rem;
}

/* See More Button */
.see-more-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.see-more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #16a34a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.see-more-btn:hover {
  background: rgba(22, 163, 74, 0.05);
  border-color: #bbf7d0;
  color: #166534;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.15);
}

.see-more-btn:active {
  transform: translateY(0);
}

.see-more-btn .chevron-down {
  height: 1rem;
  width: 1rem;
  transition: transform 0.3s ease;
}

.hidden-count {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

/* Newspaper Grid */
.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Hidden Items */
.hidden-item {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease-in-out;
}

.hidden-item[style*="block"] {
  opacity: 1;
  transform: scale(1);
}

/* Hidden on desktop - shows 4th item on mobile but hides it on desktop */
.hidden-on-desktop {
  display: block;
}

.newspaper-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  /* Add subtle border for clearer separation between cards */
  border: 1px solid #e2e8f0;
  /* Slightly stronger shadow for better depth */
  box-shadow: 0 6px 12px -3px rgba(0, 0, 0, 0.12);
  /* Inner white spacing between border and image */
  padding: 0.5rem;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.newspaper-card:hover {
  /* Slightly stronger hover shadow only */
  box-shadow: 0 10px 16px -4px rgba(0, 0, 0, 0.16);
}

.newspaper-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.375rem;
  /* Keep margins and radius stable so the card does not move on hover */
}

.newspaper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
  transform-origin: center;
  /* Slightly smaller at rest so hover zoom fits within container */
  transform: scale(0.965);
}

.newspaper-card:hover .newspaper-image img {
  /* Subtle zoom that stays within the card */
  transform: scale(1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Keep overlay unchanged on hover (no extra effects) */

.newspaper-info {
  padding: 1rem;
}

.newspaper-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.newspaper-name {
  font-weight: bold;
  color: #0f172a;
  font-size: 0.875rem;
  line-height: 1.25;
  transition: color 0.2s;
}

/* Keep text color unchanged on hover for simpler interaction */

.category-badge {
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.category-badge.national {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}

.category-badge.sport {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.category-badge.finance {
  background: #faf5ff;
  color: #7c2d12;
  border-color: #e9d5ff;
}

.category-badge.local {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.category-badge.tabloid {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}

.newspaper-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(to right, #4ade80, #10b981);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.date {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
}

/* Newspaper Item Page Styles */
/* Publication Summary */
.publication-summary {
  margin: 0.5rem 0 1rem 0;
  padding: 0.5rem 0 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.publication-date {
  font-size: 1.1rem;
  color: #475569;
  margin: 0 0 0.75rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-style: italic;
}

.publication-date-small {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0.5rem 0 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: normal;
  opacity: 0.8;
}

.publication-description {
  color: #475569;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
}

.publication-location {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.newspaper-main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.newspaper-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.publication-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0f172a;
}

.publication-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.website-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.globe-icon {
  height: 1rem;
  width: 1rem;
  color: #6b7280;
}

.website-link a {
  color: #16a34a;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.website-link a:hover {
  color: #166534;
  text-decoration: underline;
}

.external-link {
  height: 0.75rem;
  width: 0.75rem;
}

.more-info-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.more-info-btn:hover {
  background: #f8fafc;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.building-icon {
  height: 1rem;
  width: 1rem;
}

.more-info-panel {
  display: none;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.more-info-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.publisher-description h4 {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.publisher-description p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.publisher-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: bold;
  color: #0f172a;
}

.stat-label {
  font-size: 0.75rem;
  color: #475569;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.publisher-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.detail-icon {
  height: 1rem;
  width: 1rem;
  color: #6b7280;
}

.detail span {
  color: #475569;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.detail a {
  color: #16a34a;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.detail a:hover {
  color: #166534;
  text-decoration: underline;
}


.front-page-container {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.front-page-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.issue-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chevron-left,
.chevron-right {
  height: 1rem;
  width: 1rem;
}

.current-issue {
  text-align: center;
}

.issue-label {
  font-size: 0.875rem;
  color: #475569;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.issue-date {
  font-weight: bold;
  color: #0f172a;
}

.issue-count {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.issue-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.thumbnail {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.7;
}

.thumbnail:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
  opacity: 1;
}

.thumbnail.active {
  box-shadow: 0 0 0 2px #10b981;
  transform: scale(1.05);
  opacity: 1;
}

.thumbnail img {
  width: 4rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.thumbnail-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.category-sections-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* Site Description */
.site-description {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-description p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.site-description strong {
  color: #1e293b;
  font-weight: 600;
}

/* Footer */
.footer {
  background: linear-gradient(to right, #0f172a, #065f46, #0f766e);
  color: white;
  margin-top: 5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  position: relative;
  margin-right: 0.75rem;
}

.footer-globe {
  height: 1.5rem;
  width: 1.5rem;
  color: #86efac;
}

.footer-dot {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(to right, #fb923c, #ef4444);
  border-radius: 50%;
}

.footer-text {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #86efac;
  text-decoration: underline;
}

/* Social Sharing Styles */
.social-sharing {
  margin: 1.5rem 0;
  text-align: center;
}

.sharing-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
}

.share-btn:hover {
  background: rgba(248, 250, 252, 0.9);
  border-color: #cbd5e1;
  color: #475569;
}

.share-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #94a3b8;
}

.share-btn:hover .share-icon {
  color: #64748b;
}

/* Responsive Design */
@media (min-width: 640px) {
  .title {
    font-size: 3rem;
  }

  .publication-name {
    font-size: 3rem;
  }


  .thumbnail img {
    width: 5rem;
  }
}

@media (min-width: 768px) {
  .subscribe-btn-container {
    display: flex;
  }

  .footer-content {
    flex-direction: row;
  }

  .newspaper-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .hidden-on-desktop {
    display: none;
  }
}

@media (min-width: 1024px) {
  .newspaper-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}



@media (max-width: 640px) {
  .country-name {
    display: none;
  }

  .publication-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .issue-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-btn span {
    display: none;
  }

  /* Hide category badges on mobile */
  .category-badge {
    display: none;
  }

  /* Reduce padding for bigger thumbnails on mobile */
  .container {
    padding: 0 0.5rem;
  }

  .main-content {
    padding: 2rem 0.5rem;
  }

  .newspaper-grid {
    gap: 0.75rem;
  }

  .newspaper-card {
    padding: 0.25rem;
  }

  /* Make page title section much smaller on mobile */
  .page-title {
    margin-bottom: 1.5rem;
  }

  .title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .description {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  /* Mobile social sharing adjustments */
  .social-sharing {
    margin: 1rem 0;
  }

  .sharing-buttons {
    gap: 0.5rem;
  }

  .share-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Category View Styles */
.category-view {
  margin-top: 2rem;
}

.category-view .newspaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.back-to-all {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.back-link:hover {
  color: #334155;
  background-color: #f1f5f9;
}

.back-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state h3 {
  color: #334155;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.empty-state p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

.empty-state a {
  color: #3b82f6;
  text-decoration: none;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* About Page Styles */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.about-title {
  font-size: 3rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-section h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.about-section p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1rem;
}

.about-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.cta-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* Responsive About Page */
@media (max-width: 768px) {
  .about-title {
    font-size: 2.25rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cta {
    padding: 2rem 1rem;
  }
  
  .about-cta h2 {
    font-size: 1.75rem;
  }
}

/* Legal Pages Styles (Terms & Privacy) */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-title {
  font-size: 3rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.legal-subtitle {
  font-size: 1rem;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0 1rem 1.5rem;
  color: #475569;
}

.legal-section li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.legal-section li strong {
  color: #374151;
  font-weight: 600;
}

.legal-footer {
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1rem;
  text-align: center;
}

.legal-footer p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.back-button svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.back-button:hover svg {
  transform: translateX(-4px);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .legal-title {
    font-size: 2.25rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .legal-section h3 {
    font-size: 1.125rem;
  }
  
  .legal-footer {
    padding: 1.5rem 1rem;
  }
  
  .back-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
