/* Newspaper styles */

#newspaper-container {
  background-color: #f9f7f1;
  border: 1px solid #d4c5a0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.newspaper-header {
  background-color: #2c3e50;
  color: white;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 3px solid #34495e;
}

.newspaper-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.newspaper-subtitle {
  font-size: 1.2em;
  font-style: italic;
  opacity: 0.9;
}

/* Tab navigation */
.newspaper-tabs {
  display: flex;
  background-color: #34495e;
  border-bottom: 2px solid #2c3e50;
}

.tab-button {
  flex: 1;
  padding: 15px 10px;
  background-color: transparent;
  color: white;
  border: none;
  border-right: 1px solid #2c3e50;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button:hover {
  background-color: #3d5a73;
}

.tab-button.active {
  background-color: #f9f7f1;
  color: #2c3e50;
  font-weight: 600;
}

/* Newspaper content */
.newspaper-content {
  padding: 30px;
  min-height: 400px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

/* Article styles */
.article-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #1a1a1a;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.article-headline.secondary {
  font-size: 1.5em;
  border-bottom: 1px solid #666;
}

.article-byline {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.article-content {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  columns: 1;
  column-gap: 30px;
}

@media (min-width: 768px) {
  .article-content {
    columns: 2;
  }
}

.article-divider {
  margin: 30px 0;
  border: none;
  border-top: 2px solid #d4c5a0;
}

/* Stock widget in finance section */
.stock-widget {
  background-color: white;
  border: 2px solid #2c3e50;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stock-label {
  font-size: 1.2em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.stock-price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.stock-price {
  font-size: 2.5em;
  font-weight: 700;
  color: #2c3e50;
}

.stock-change {
  font-size: 1.5em;
  font-weight: 600;
}

/* Continue button */
.continue-button-container {
  text-align: center;
  padding: 30px 0;
  margin-top: 30px;
  border-top: 2px solid #d4c5a0;
}

.continue-button {
  padding: 15px 40px;
  font-size: 1.2em;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-weight: 600;
}

.continue-button:hover {
  background-color: #34495e;
}

.continue-button:active {
  background-color: #1a252f;
}

/* Responsive design */
@media (max-width: 768px) {
  .newspaper-title {
    font-size: 2em;
  }

  .newspaper-tabs {
    flex-wrap: wrap;
  }

  .tab-button {
    flex: 1 1 50%;
    border-bottom: 1px solid #2c3e50;
  }

  .newspaper-content {
    padding: 20px;
  }

  .article-headline {
    font-size: 1.5em;
  }

  .article-headline.secondary {
    font-size: 1.2em;
  }

  .article-content {
    font-size: 1em;
    columns: 1;
  }

  .stock-price {
    font-size: 2em;
  }

  .stock-change {
    font-size: 1.2em;
  }
}
